/* DUKE Gallery: dukegallery.com
   Brand Book v6 (Florence Chong, Sept 2026): Duke Blue, Olympic Gold, Waikīkī Sand,
   Whitewater, Kukui Brown. EB Garamond for headlines, Arial for everything functional.
   Two palette colours plus one neutral per surface. */

:root {
  --blue: #003B5C;
  --blue-deep: #00283F;
  --gold: #AC883F;
  --gold-soft: #C9A55C;
  --sand: #DFD3C3;
  --white: #EDECE6;
  --paper: #F4F2EC;
  --card: #E6E1D6;
  --kukui: #4D3930;
  --ink: #12222C;
  --muted: #5B6770;
  --line: rgba(0, 59, 92, .16);
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.005em; line-height: 1.08; margin: 0; color: var(--blue); }
.display { font-size: clamp(44px, 7.4vw, 112px); line-height: .98; }
.h1 { font-size: clamp(40px, 5.6vw, 84px); }
.h2 { font-size: clamp(32px, 3.8vw, 56px); }
.h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.lede { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.42; color: var(--ink); }
.eyebrow {
  font: 700 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.tagline { font: 600 clamp(15px, 1.4vw, 19px)/1 var(--serif); letter-spacing: .5em; text-transform: uppercase; }
p { margin: 0 0 1.1em; }
.prose p { max-width: 64ch; }
.prose p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.55; }
em, i { font-style: italic; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue h1, .bg-blue h2, .bg-blue h3 { color: var(--white); }
.bg-blue .eyebrow { color: var(--gold-soft); }
.bg-blue .muted { color: rgba(237, 236, 230, .72); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.grid-2.top { align-items: start; }
.split-5-7 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-7-5 { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) {
  .grid-2, .split-5-7, .split-7-5 { grid-template-columns: 1fr; }
}

/* ---------- wave line ---------- */
.wave { display: block; width: 132px; height: 27px; color: var(--gold); margin: 28px 0; }
.wave.center { margin-left: auto; margin-right: auto; }
.wave.lg { width: 220px; height: 45px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px;
  font: 700 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  background: var(--gold); color: var(--blue); border: 1px solid var(--gold);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn.ghost { background: transparent; color: var(--blue); border-color: rgba(0, 59, 92, .45); }
.btn.ghost:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.bg-blue .btn.ghost, .on-dark .btn.ghost { color: var(--white); border-color: rgba(237, 236, 230, .5); }
.bg-blue .btn.ghost:hover, .on-dark .btn.ghost:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.bg-blue .btn:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.link {
  font: 700 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--blue); display: inline-flex; gap: 10px; align-items: center; padding-bottom: 6px;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 40% 1px; }
.bg-blue .link { color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: 36px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 84px;
  display: flex; align-items: center;
  background: rgba(237, 236, 230, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .45s var(--ease), border-color .45s var(--ease), height .45s var(--ease), color .45s var(--ease);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--blue); flex: none; }
.brand svg { display: block; }
.brand .seal { width: 52px; height: 52px; }
.brand .stack { width: 124px; height: 48px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav a.n {
  font: 700 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--blue);
  padding: 10px 0; position: relative;
}
.nav a.n::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--gold); transition: right .4s var(--ease); }
.nav a.n:hover::after, .nav a.n[aria-current="page"]::after { right: 0; }
.nav .btn { padding: 13px 18px; font-size: 11px; }
.hdr.over { --accent: #D8BD8A; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--white); }
.hdr.over .brand, .hdr.over .nav a.n { color: var(--white); }
.hdr.over .nav .btn { background: transparent; color: var(--white); border-color: rgba(237, 236, 230, .6); }
.hdr.over .nav .btn:hover { background: var(--white); color: var(--blue); }
.hdr.over .brand .ring-o, .hdr.over .brand .ring-i { stroke: var(--white); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: inherit; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 7px 0; transition: transform .4s var(--ease), opacity .3s; }
.hdr { color: var(--blue); }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .hdr { height: 72px; }
  .brand .seal { width: 44px; height: 44px; }
  .brand .stack { width: 104px; height: 40px; }
}

/* mobile menu */
.drawer {
  --accent: #D8BD8A;
  position: fixed; inset: 0; z-index: 60; background: var(--blue); color: var(--white);
  display: flex; flex-direction: column; padding: 22px var(--gutter) 36px;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s;
}
.drawer.open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.drawer .top { display: flex; justify-content: space-between; align-items: center; height: 50px; }
.drawer .close { background: none; border: 0; color: var(--white); font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; padding: 12px 0; }
.drawer nav { margin: auto 0; display: grid; gap: 6px; }
.drawer nav a { font: 400 clamp(36px, 10vw, 54px)/1.15 var(--serif); color: var(--white); text-decoration: none; display: flex; align-items: baseline; gap: 16px; }
.drawer nav a small { font: 700 11px/1 var(--sans); letter-spacing: .2em; color: var(--gold-soft); }
.drawer .foot { display: grid; gap: 18px; font-size: 14px; color: rgba(237, 236, 230, .78); }
.drawer .foot .btn { justify-self: start; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100vh, 1100px); min-height: min(100svh, 1100px); display: flex; align-items: flex-end; color: var(--white); background: var(--blue-deep); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture img { object-position: 50% 45%; transform: scale(1.04); animation: heroIn 2.6s var(--ease) forwards; }
@keyframes heroIn { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 25, 40, .55) 0%, rgba(0, 25, 40, 0) 26%),
    linear-gradient(90deg, rgba(0, 25, 40, .62) 0%, rgba(0, 25, 40, .25) 42%, rgba(0, 25, 40, 0) 62%),
    linear-gradient(0deg, rgba(0, 25, 40, .82) 0%, rgba(0, 25, 40, .35) 38%, rgba(0, 25, 40, 0) 64%);
}
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 8vh, 96px); padding-top: 140px; }
.hero h1 { color: var(--white); }
.hero .tagline { color: rgba(237,236,230,.9); text-shadow: 0 1px 12px rgba(0,0,0,.35); margin-bottom: 26px; display: block; }
.hero .sub { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); line-height: 1.4; max-width: 34ch; margin: 22px 0 0; color: rgba(237, 236, 230, .92); }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; align-items: center; font: 700 11.5px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(237, 236, 230, .85); }
.hero .meta .dot { width: 4px; height: 4px; background: var(--gold-soft); border-radius: 50%; }
.status { display: inline-flex; align-items: center; gap: 10px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #7FB685; box-shadow: 0 0 0 0 rgba(127, 182, 133, .6); animation: pulse 2.4s infinite; font-style: normal; }
.status.closed i { background: var(--gold-soft); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(127, 182, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 182, 133, 0); } }
.hero .scroll { position: absolute; right: var(--gutter); bottom: clamp(40px, 8vh, 96px); z-index: 2; writing-mode: vertical-rl; font: 700 10.5px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(237, 236, 230, .7); display: flex; gap: 14px; align-items: center; }
.hero .scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(rgba(237, 236, 230, .7), transparent); }
@media (max-width: 700px) { .hero .scroll { display: none; } }

/* page hero (inner pages) */
.phero { position: relative; color: var(--white); background: var(--blue-deep); min-height: min(78vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.phero picture, .phero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 25, 40, .55), rgba(0, 25, 40, 0) 60%), linear-gradient(0deg, rgba(0, 25, 40, .85), rgba(0, 25, 40, .2) 55%, rgba(0, 25, 40, .45)); }
.phero .wrap { position: relative; z-index: 2; padding-top: 150px; padding-bottom: clamp(48px, 8vh, 96px); }
.phero h1 { color: var(--white); max-width: 16ch; }
.phero .sub { font-family: var(--serif); font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; max-width: 46ch; margin-top: 22px; color: rgba(237, 236, 230, .9); }
.phero .eyebrow { color: var(--gold-soft); }
.phero.plain { min-height: 0; background: var(--blue); }
.phero.plain::after { display: none; }

/* ---------- figures ---------- */
figure { margin: 0; }
.fig { position: relative; overflow: hidden; background: var(--card); }
.fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a:hover .fig img, .fig.zoom:hover img { transform: scale(1.035); }
figcaption { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 14px; max-width: 60ch; }
figcaption b { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--blue); margin-right: 8px; }
.bg-blue figcaption { color: rgba(237, 236, 230, .7); }
.bg-blue figcaption b { color: var(--gold-soft); }
.r-wide { aspect-ratio: 16 / 9; }
.r-pano { aspect-ratio: 21 / 9; }
.r-land { aspect-ratio: 4 / 3; }
.r-port { aspect-ratio: 4 / 5; }
.r-tall { aspect-ratio: 3 / 4.4; }
.r-sq { aspect-ratio: 1; }

/* ---------- home: intro ---------- */
.intro .statement { font: 400 clamp(30px, 3.6vw, 52px)/1.16 var(--serif); color: var(--blue); max-width: 22ch; }
.intro .statement em { color: var(--gold); font-style: italic; }

/* mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.mosaic .a { grid-column: 1 / span 8; }
.mosaic .b { grid-column: 9 / span 4; }
.mosaic .c { grid-column: 1 / span 4; }
.mosaic .d { grid-column: 5 / span 8; }
.mosaic .a .fig, .mosaic .d .fig { aspect-ratio: 16 / 10; }
.mosaic .b .fig, .mosaic .c .fig { aspect-ratio: 4 / 5; height: 100%; }
.mosaic .b, .mosaic .c { display: flex; flex-direction: column; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic .a, .mosaic .d { grid-column: 1 / -1; }
  .mosaic .b, .mosaic .c { grid-column: span 1; }
}

/* three things */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.trio a { text-decoration: none; color: inherit; display: block; }
.trio .num { font: 400 15px/1 var(--serif); font-style: italic; color: var(--gold); display: block; margin: 26px 0 10px; }
.trio h3 { margin-bottom: 12px; }
.trio p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; gap: 56px; } }

/* duke band */
.duke-band .figwrap { position: relative; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(237, 236, 230, .2); margin-top: clamp(56px, 7vw, 96px); }
.facts div { padding: 32px 22px 0 0; }
.facts div + div { padding-left: 22px; border-left: 1px solid rgba(237, 236, 230, .2); }
.facts strong { display: block; font: 400 clamp(40px, 4.6vw, 68px)/1 var(--serif); color: var(--gold-soft); margin-bottom: 12px; }
.facts span { font-size: 14px; line-height: 1.5; color: rgba(237, 236, 230, .78); display: block; max-width: 24ch; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts div { padding-bottom: 28px; }
}

/* objects */
.objects { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 32px); }
.obj { text-decoration: none; color: inherit; display: block; }
.obj .fig { aspect-ratio: 4 / 5; background: var(--card); }
.obj .t { font: 400 22px/1.2 var(--serif); color: var(--blue); margin: 18px 0 6px; }
.obj .m { font: italic 400 16px/1.4 var(--serif); color: var(--muted); }
.obj .p { font-size: 15px; margin-top: 8px; color: var(--ink); }
@media (max-width: 860px) { .objects { grid-template-columns: 1fr 1fr; } }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.cat { position: relative; display: block; text-decoration: none; color: var(--white); overflow: hidden; aspect-ratio: 4 / 5; background: var(--blue); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 25, 40, .82), rgba(0, 25, 40, 0) 58%); }
.cat:hover img { transform: scale(1.05); }
.cat .in { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 2; }
.cat h3 { color: var(--white); font-size: clamp(26px, 2.4vw, 34px); }
.cat p { margin: 8px 0 0; font-size: 14px; color: rgba(237, 236, 230, .82); max-width: 32ch; }
.cat .go { margin-top: 16px; font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); display: inline-flex; gap: 8px; }
.cat.wide { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr 1fr; } .cat.wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
@media (max-width: 520px) { .cats { grid-template-columns: 1fr; } .cat { aspect-ratio: 5 / 4; } }

/* visit band */
.hours-big { font: 400 clamp(56px, 8vw, 128px)/.95 var(--serif); color: var(--blue); }
.hours-big small { display: block; font: 700 12px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 18px; }
.bg-blue .hours-big { color: var(--white); }
.dl { display: grid; gap: 0; margin: 0; }
.dl div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.dl div:last-child { border-bottom: 1px solid var(--line); }
.dl dt { font: 700 11px/1.7 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.dl dd { margin: 0; }
.dl a { text-decoration: none; border-bottom: 1px solid rgba(172, 136, 63, .5); }
.dl a:hover { border-color: var(--blue); }
.bg-blue .dl div { border-color: rgba(237, 236, 230, .18); }
@media (max-width: 520px) { .dl div { grid-template-columns: 1fr; gap: 4px; } }

/* hours table */
.week { width: 100%; border-collapse: collapse; font-size: 16px; }
.week td { padding: 13px 0; border-bottom: 1px solid var(--line); }
.week td:last-child { text-align: right; font-family: var(--serif); font-size: 19px; color: var(--blue); }
.week tr.today td { color: var(--blue); font-weight: 700; }
.week tr.today td:first-child::after { content: "Today"; margin-left: 12px; font: 700 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- gallery page ---------- */
.chapter { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.chapter.flip { grid-template-columns: 8fr 4fr; }
.chapter.flip .txt { order: 2; }
.chapter .num { font: italic 400 18px/1 var(--serif); color: var(--gold); display: block; margin-bottom: 18px; }
.chapter h2 { margin-bottom: 22px; }
.chapter p { color: #33444F; }
@media (max-width: 900px) { .chapter, .chapter.flip { grid-template-columns: 1fr; } .chapter.flip .txt { order: 0; } }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
@media (max-width: 760px) { .quad { grid-template-columns: 1fr 1fr; } }
.full-bleed { width: 100%; }
.full-bleed .fig { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .full-bleed .fig { aspect-ratio: 4 / 3; } }

/* contact sheet + lightbox */
.sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.2vw, 16px); }
.sheet button { all: unset; display: block; cursor: zoom-in; position: relative; overflow: hidden; background: var(--card); aspect-ratio: 4 / 3; }
.sheet button:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.sheet button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sheet button:hover img { transform: scale(1.04); }
.sheet button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 760px) { .sheet { grid-template-columns: 1fr 1fr; } }
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(0, 20, 32, .96); display: none; align-items: center; justify-content: center; padding: 64px 16px 88px; }
.lb.open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.lb .cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; color: rgba(237, 236, 230, .8); font-size: 14px; padding: 0 70px; }
.lb button { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 16px; }
.lb .x { top: 10px; right: 10px; }
.lb .pv { left: 6px; top: 50%; transform: translateY(-50%); font: 400 40px/1 var(--serif); }
.lb .nx { right: 6px; top: 50%; transform: translateY(-50%); font: 400 40px/1 var(--serif); }

/* ---------- duke page ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 4vw, 64px); padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); }
.tl .yr { font: 400 clamp(34px, 3.6vw, 52px)/1 var(--serif); color: var(--gold); }
.tl h3 { margin-bottom: 12px; }
.tl p { color: #33444F; max-width: 62ch; margin-bottom: 0; }
@media (max-width: 700px) { .tl { grid-template-columns: 1fr; gap: 10px; } }
.pull { font: italic 400 clamp(28px, 3.2vw, 44px)/1.25 var(--serif); color: var(--blue); max-width: 26ch; }
.pull::before { content: ""; display: block; width: 44px; height: 1px; background: var(--gold); margin-bottom: 28px; }
.bg-blue .pull { color: var(--white); }

.notes { border-top: 1px solid var(--line); }
.notes li { padding: 16px 0; border-bottom: 1px solid var(--line); }
ul.clean { list-style: none; margin: 0; padding: 0; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: 14px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1px; background: var(--gold); }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative; font: 400 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 28px/1 var(--sans); color: var(--gold); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; margin: 0; max-width: 66ch; color: #33444F; }

/* map card */
.mapcard { position: relative; background: var(--blue); color: var(--white); padding: clamp(32px, 4vw, 56px); overflow: hidden; }
.mapcard svg.bgmap { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .22; }
.mapcard > * { position: relative; }

/* ---------- footer ---------- */
.ftr { background: var(--blue-deep); color: rgba(237, 236, 230, .78); padding: clamp(72px, 9vw, 120px) 0 36px; font-size: 15px; }
.ftr a { text-decoration: none; color: var(--white); }
.ftr a:hover { color: var(--gold-soft); }
.ftr .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.ftr h4 { font: 700 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 22px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr .seal { width: 128px; height: 128px; margin-bottom: 26px; }
.ftr .tag { margin-top: 18px; color: var(--gold-soft); }
.ftr .base { margin-top: 72px; padding-top: 26px; border-top: 1px solid rgba(237, 236, 230, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 12.5px; color: rgba(237, 236, 230, .55); }
@media (max-width: 960px) { .ftr .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr .top { grid-template-columns: 1fr; } }

/* ---------- reveal (progressive) ---------- */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv.d1 { transition-delay: .12s; } html.js .rv.d2 { transition-delay: .24s; } html.js .rv.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .rv { opacity: 1; transform: none; }
}

.center { text-align: center; }
.mt0 { margin-top: 0; } .mt1 { margin-top: 16px; } .mt2 { margin-top: 32px; } .mt3 { margin-top: 56px; } .mt4 { margin-top: clamp(64px, 8vw, 112px); }
.mb2 { margin-bottom: 32px; } .mb3 { margin-bottom: 56px; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.note { font-size: 13.5px; color: var(--muted); border-left: 1px solid var(--gold); padding-left: 16px; max-width: 60ch; }

@media (max-width: 600px) {
  .tagline { letter-spacing: .32em; font-size: 13px; }
  .hero .meta { gap: 8px 16px; }
  .hero .meta .dot { display: none; }
  .actions .btn { padding: 16px 22px; }
  .head-row .btn { width: 100%; justify-content: center; }
}

/* creed */
.creed .creed-text { margin: 8px auto 0; font: 400 clamp(23px, 2.5vw, 34px)/1.5 var(--serif); color: var(--blue); max-width: 30ch; }
.creed .creed-text span { display: inline; }
.bg-blue .creed-text { color: var(--white); }
.creed-sign { margin-top: 40px; display: grid; gap: 12px; justify-items: center; }
.creed-sign .tagline { color: var(--gold); }
.bg-blue .creed-sign .tagline { color: var(--gold-soft); }
.creed-sign .who { font: italic 400 20px/1.2 var(--serif); color: var(--muted); }
.bg-blue .creed-sign .who { color: rgba(237, 236, 230, .75); }

/* Japanese */
html[lang="ja"] body { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, var(--sans); line-height: 1.85; }
.ja-h { font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", var(--serif); letter-spacing: .02em; line-height: 1.3; }
html[lang="ja"] .lede, html[lang="ja"] .sub { font-family: "Hiragino Mincho ProN", "Yu Mincho", var(--serif); }
html[lang="ja"] .faq summary { font-family: "Hiragino Mincho ProN", "Yu Mincho", var(--serif); }
.phero h1.ja-h { font-size: clamp(30px, 4.2vw, 60px); max-width: 22em; word-break: auto-phrase; line-break: strict; }
.ja-h { word-break: auto-phrase; }
