:root {
  --navy: #0b2032;
  --navy-deep: #071927;
  --navy-ink: #04121d;
  --cream: #f2ede4;
  --paper: #faf7f1;
  --ink: #142738;
  --ink-soft: #55626b;
  --gold: #a88a53;
  --gold-deep: #8a6f3e;
  --gold-light: #d8c49a;
  --line: rgba(20, 39, 56, .14);
  --line-light: rgba(242, 237, 228, .16);
  --font-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(22px, 5.4vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: var(--gold) var(--navy-deep); }
body { margin: 0; min-width: 320px; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--gold); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
svg { width: 1em; height: 1em; flex: none; }
::selection { color: var(--navy-deep); background: var(--gold-light); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: #5b5240; border: 3px solid var(--navy-deep); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.page-gutter { padding-inline: var(--gutter); }
.section-pad { padding-block: clamp(96px, 10vw, 160px); }
.skip-link { position: fixed; z-index: 100; left: 24px; top: -60px; padding: 12px 18px; color: var(--navy); background: var(--cream); transition: top .2s; }
.skip-link:focus { top: 12px; }
.scroll-progress { position: fixed; z-index: 101; inset: 0 0 auto; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Shared type */
.display-title, .section-title { margin: 0; font-family: var(--font-display); font-weight: 400; }
.display-title { font-size: clamp(3.4rem, 7vw, 6rem); letter-spacing: -.035em; line-height: 1; }
.section-title { font-size: clamp(2.6rem, 4.4vw, 4.4rem); letter-spacing: -.03em; line-height: 1.06; }
.display-title em, .section-title em, .hero h1 em { font-style: italic; color: var(--gold); }
.body-copy { max-width: 34rem; margin: 28px 0 0; color: var(--ink); font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.75; }
.body-copy--muted { margin-top: 18px; color: var(--ink-soft); }

/* Links and buttons */
.button { display: inline-flex; align-items: center; gap: 44px; min-height: 58px; padding: 0 22px 0 26px; font-size: .875rem; font-weight: 500; letter-spacing: .06em; transition: color .4s var(--ease-out), background-color .4s var(--ease-out), border-color .4s var(--ease-out); }
.button svg { font-size: 20px; transition: transform .5s var(--ease-out); }
.button:hover svg { transform: translate(3px, -3px); }
.button:active { transform: scale(.98); }
.button--cream { color: var(--navy-deep); background: var(--cream); }
.button--cream:hover { background: #fff; }
.button--outline { color: #fff; box-shadow: inset 0 0 0 1px rgba(242,237,228,.5); }
.button--outline:hover { color: var(--navy-deep); background: var(--cream); }
.button--outline:hover svg { transform: translateY(-3px); }
.text-link { position: relative; display: inline-block; padding: 6px 0; color: var(--navy); font-size: .875rem; font-weight: 500; letter-spacing: .06em; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .35; transform-origin: right; transition: transform .6s var(--ease-out), opacity .3s; }
.text-link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); z-index: 1; }
.text-link:hover::before { transform: scaleX(1); }
.text-link--light { color: #fff; }
.text-link--light::before { background: var(--gold-light); }

/* Header */
.site-header { position: fixed; z-index: 50; inset: 0 0 auto; color: #fff; transition: background-color .5s var(--ease-out), transform .6s var(--ease-out); }
.site-header.is-scrolled, .site-header.menu-active { background: rgba(7,25,39,.9); backdrop-filter: blur(16px) saturate(1.2); }
.site-header.is-hidden:not(.menu-active) { transform: translateY(-100%); }
.header-inner { height: 96px; display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line-light); transition: height .5s var(--ease-out); }
.site-header.is-scrolled .header-inner { height: 72px; border-color: transparent; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; }
.brand-mark { font-family: var(--font-display); font-size: 40px; line-height: .8; color: var(--gold-light); }
.brand-name { display: flex; flex-direction: column; gap: 5px; font-family: var(--font-display); font-size: 21px; letter-spacing: .16em; text-transform: uppercase; }
.brand-name small { font-family: var(--font-body); font-size: 8px; font-weight: 500; letter-spacing: .52em; opacity: .75; }
.desktop-nav { display: flex; gap: clamp(26px, 3vw, 52px); margin-left: auto; }
.desktop-nav a, .header-link { position: relative; font-size: .8125rem; font-weight: 400; letter-spacing: .04em; white-space: nowrap; }
.desktop-nav a { opacity: .78; transition: opacity .3s; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.desktop-nav a:hover { opacity: 1; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-link { display: inline-flex; align-items: center; gap: 14px; margin-left: clamp(16px, 2vw, 36px); padding: 13px 18px; box-shadow: inset 0 0 0 1px rgba(242,237,228,.4); transition: color .4s var(--ease-out), background-color .4s var(--ease-out), box-shadow .4s; }
.header-link svg { font-size: 16px; }
.header-link:hover { color: var(--navy-deep); background: var(--cream); box-shadow: inset 0 0 0 1px var(--cream); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 7px auto; background: #fff; transition: transform .45s var(--ease-out); }
.site-header.menu-active .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.site-header.menu-active .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 680px; height: 100svh; max-height: 1080px; overflow: hidden; color: #fff; background: var(--navy-ink); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 42%; transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06); animation: hero-arrive 1.8s var(--ease-out) both; will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,18,29,.55) 0%, rgba(4,18,29,.05) 26%, rgba(4,18,29,.1) 50%, rgba(4,18,29,.86) 100%), linear-gradient(90deg, rgba(4,18,29,.55), rgba(4,18,29,0) 60%); }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(104px, 13vh, 150px); }
.hero h1 { margin: 0; font-family: var(--font-display); font-size: clamp(3.6rem, 9vw, 9.5rem); font-weight: 400; letter-spacing: -.04em; line-height: .95; }
.hero h1 em { color: var(--gold-light); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: line-rise 1.4s var(--ease-out) both; }
.hero h1 .line:nth-child(1) > span { animation-delay: .35s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .5s; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 60px; margin-top: clamp(32px, 4.5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line-light); animation: fade-in 1.4s 1s var(--ease-out) both; }
.hero-description { max-width: 27rem; margin: 0; color: rgba(255,255,255,.86); font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 36px; }
.hero-bottom { position: absolute; z-index: 2; inset: auto 0 34px; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.78); font-size: .8125rem; letter-spacing: .08em; animation: fade-in 1.4s 1.3s var(--ease-out) both; }
.hero-bottom a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(242,237,228,.35); transition: box-shadow .4s, color .4s; }
.hero-bottom a:hover { color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--gold-light); }
.hero-bottom svg { font-size: 16px; animation: nudge 2.4s 2.4s var(--ease-in-out) infinite; }

/* Manifesto */
.manifesto { position: relative; overflow: hidden; background: var(--cream); }
.manifesto-lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: clamp(40px, 7vw, 140px); }
.manifesto .display-title { max-width: 11ch; }
.manifesto-detail { max-width: 26rem; padding-bottom: 10px; }
.manifesto-detail p { margin: 0 0 28px; font-family: var(--font-display); font-size: clamp(1.25rem, 1.6vw, 1.6rem); line-height: 1.5; color: var(--ink); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 7vw, 104px); border-top: 1px solid var(--line); }
.principle { padding: 34px clamp(20px, 3vw, 48px) 0 0; }
.principle + .principle { padding-left: clamp(20px, 3vw, 48px); border-left: 1px solid var(--line); }
.principle-index { display: block; margin-bottom: 28px; color: var(--gold-deep); font-family: var(--font-display); font-size: 1.05rem; font-style: italic; }
.principle h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(1.75rem, 2.3vw, 2.4rem); font-weight: 400; letter-spacing: -.02em; }
.principle p { max-width: 18rem; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

/* Essence */
.essence { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.essence-visual { position: relative; min-height: min(92vh, 900px); overflow: hidden; background: #cbbda6; }
.essence-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 2.4s var(--ease-out); }
.essence-visual.is-visible img { transform: scale(1); }
.essence-visual figcaption { position: absolute; left: 32px; bottom: 30px; color: rgba(255,255,255,.9); font-family: var(--font-display); font-size: 1rem; font-style: italic; }
.essence-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(80px, 9vw, 150px) var(--gutter) clamp(80px, 9vw, 150px) clamp(48px, 7vw, 132px); }
.essence .section-title { max-width: 12ch; }
.signature { display: flex; align-items: center; gap: 16px; margin: 52px 0 0; color: var(--gold-deep); font-family: var(--font-display); font-size: 1.05rem; font-style: italic; }
.signature span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(168,138,83,.5); font-style: normal; font-size: 28px; line-height: 1; }

/* Places */
.neighborhoods { color: #fff; background: var(--navy); }
.neighborhoods .section-title em { color: var(--gold-light); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 40px clamp(40px, 7vw, 140px); }
.section-heading .section-title { max-width: 14ch; }
.section-heading .body-copy { margin: 0; color: rgba(242,237,228,.72); }
.places-explorer { display: grid; grid-template-columns: minmax(260px, 34%) 1fr; gap: clamp(28px, 4vw, 72px); margin-top: clamp(64px, 8vw, 120px); }
.places-nav { display: flex; flex-direction: column; }
.places-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-light); }
.place-tab { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 26px 0; border: 0; border-bottom: 1px solid var(--line-light); color: rgba(242,237,228,.5); background: none; text-align: left; cursor: pointer; transition: color .5s var(--ease-out); }
.place-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out); }
.place-tab strong { font-family: var(--font-display); font-size: clamp(1.9rem, 2.8vw, 2.9rem); font-weight: 400; letter-spacing: -.025em; transition: transform .6s var(--ease-out); }
.place-tab svg { font-size: 22px; color: var(--gold-light); opacity: 0; transform: translate(-8px, 8px); transition: opacity .4s, transform .6s var(--ease-out); }
.place-tab:hover { color: rgba(242,237,228,.85); }
.place-tab.is-active { color: #fff; }
.place-tab.is-active::after { transform: scaleX(1); }
.place-tab.is-active strong, .place-tab:hover strong { transform: translateX(10px); }
.place-tab.is-active svg { opacity: 1; transform: none; }
.places-extra { max-width: 20rem; margin: 28px 0 0; color: rgba(242,237,228,.74); font-size: 1rem; line-height: 1.65; }
.places-stage { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 44vw, 680px); overflow: hidden; background: var(--navy-deep); }
.stage-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s var(--ease-out), transform 2.2s var(--ease-out); }
.stage-media img.is-active { opacity: 1; transform: scale(1); }
.places-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,18,29,.82) 0%, rgba(4,18,29,.2) 50%, rgba(4,18,29,0) 75%); pointer-events: none; }
.places-stage-content { position: relative; z-index: 1; max-width: 36rem; padding: clamp(28px, 4vw, 56px); transition: opacity .35s var(--ease-out), transform .6s var(--ease-out), filter .35s; }
.places-stage.is-changing .places-stage-content { opacity: 0; transform: translateY(12px); filter: blur(4px); }
.stage-overline { display: block; margin-bottom: 14px; color: var(--gold-light); font-family: var(--font-display); font-size: 1.05rem; font-style: italic; }
.places-stage h3 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(3.4rem, 6.4vw, 6rem); font-weight: 400; letter-spacing: -.04em; line-height: .95; }
.places-stage-content p { max-width: 26rem; margin: 0; color: rgba(255,255,255,.86); font-size: 1.0625rem; line-height: 1.6; }

/* Method */
.method { background: var(--paper); }
.method-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(56px, 8vw, 150px); }
.method-intro { position: sticky; top: 140px; align-self: start; }
.method-intro .section-title { max-width: 10ch; }
.method-intro .body-copy { color: var(--ink-soft); max-width: 24rem; }
.method-list { position: relative; }
.method-list::before, .method-list::after { content: ""; position: absolute; top: 44px; left: 21px; width: 1px; }
.method-list::before { bottom: 60px; background: var(--line); }
.method-list::after { height: var(--method-progress, 0%); max-height: calc(100% - 104px); background: var(--gold); }
.method-item { position: relative; display: grid; grid-template-columns: 43px 1fr; gap: clamp(22px, 3vw, 44px); padding: 22px 0 64px; }
.method-number { position: relative; z-index: 1; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: var(--gold-deep); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(168,138,83,.45); font-family: var(--font-display); font-size: .95rem; font-style: italic; }
.method-item h3 { margin: 6px 0 14px; font-family: var(--font-display); font-size: clamp(1.75rem, 2.4vw, 2.5rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
.method-item p { max-width: 30rem; margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }

/* Closing and footer */
.closing { position: relative; display: flex; align-items: flex-end; min-height: min(100svh, 860px); overflow: hidden; color: #fff; background: var(--navy-deep); }
.closing-media { position: absolute; inset: 0; }
.closing-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.closing-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,18,29,.92) 0%, rgba(4,18,29,.45) 55%, rgba(4,18,29,.2) 100%), linear-gradient(90deg, rgba(4,18,29,.6), transparent 70%); }
.closing-content { position: relative; z-index: 1; width: 100%; padding-block: 160px clamp(80px, 10vw, 140px); }
.closing .display-title { max-width: 14ch; margin-bottom: 28px; }
.closing .display-title em { color: var(--gold-light); }
.closing-content > p { max-width: 30rem; margin: 0 0 40px; color: rgba(255,255,255,.8); font-size: 1.0625rem; line-height: 1.65; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 150px; color: rgba(242,237,228,.72); background: var(--navy-ink); }
.site-footer .brand { color: #fff; }
.site-footer .brand-mark { font-size: 32px; }
.site-footer .brand-name { font-size: 17px; }
.site-footer p { margin: 0; font-size: .875rem; line-height: 1.6; letter-spacing: .03em; font-variant-numeric: tabular-nums; }

/* Reveal: content is visible by default, motion only enhances */
.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }
.js-motion .reveal-image { clip-path: inset(8% 0 8% 0); transition: clip-path 1.6s var(--ease-out); }
.js-motion .reveal-image.is-visible { clip-path: inset(0); }

@keyframes hero-arrive { from { opacity: .25; transform: translate3d(0, 0, 0) scale(1.12); } to { opacity: 1; transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1.06); } }
@keyframes line-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }

@media (max-width: 1100px) {
  .desktop-nav { gap: 24px; }
  .manifesto-lead, .section-heading { grid-template-columns: 1fr; align-items: start; }
  .manifesto-detail { max-width: 32rem; }
}
@media (max-width: 860px) {
  .header-inner, .site-header.is-scrolled .header-inner { height: 72px; }
  .desktop-nav, .header-link { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: fixed; top: 72px; left: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; width: 100%; height: calc(100dvh - 72px); padding: 30px var(--gutter) 60px; background: var(--navy-deep); opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); transition: opacity .4s, visibility .6s, clip-path .7s var(--ease-out); }
  .site-header.menu-active .mobile-nav { opacity: 1; visibility: visible; clip-path: inset(0); }
  .mobile-nav a { font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 3.4rem); letter-spacing: -.02em; line-height: 1.1; }
  .mobile-nav p { margin: 32px 0 0; color: rgba(242,237,228,.6); font-size: .8125rem; letter-spacing: .06em; }
  .essence { grid-template-columns: 1fr; }
  .essence-visual { min-height: 75vw; }
  .essence-content { padding: 88px var(--gutter) 100px; }
  .places-explorer { grid-template-columns: minmax(0, 1fr); }
  .places-nav { min-width: 0; }
  .places-tabs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .place-tab { padding: 16px 0; }
  .place-tab strong { font-size: 1.6rem; }
  .place-tab svg { display: none; }
  .place-tab.is-active strong, .place-tab:hover strong { transform: none; }
  .places-extra { order: 2; }
  .method-layout { grid-template-columns: 1fr; }
  .method-intro { position: static; }
  .site-footer { flex-wrap: wrap; padding-block: 48px; }
}
@media (max-width: 600px) {
  .section-pad { padding-block: 96px; }
  .hero { min-height: 620px; }
  .hero-media img { object-position: 62% 40%; }
  .hero h1 { font-size: clamp(3.3rem, 15vw, 4.6rem); }
  .hero-content { padding-bottom: 100px; }
  .hero-actions { gap: 24px; }
  .hero-bottom { bottom: 26px; }
  .principles { grid-template-columns: 1fr; margin-top: 72px; }
  .principle, .principle + .principle { display: grid; grid-template-columns: 40px 1fr; padding: 26px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .principle-index { grid-row: span 2; margin: 6px 0 0; }
  .places-stage { min-height: 480px; }
  .method-item { gap: 20px; padding-bottom: 48px; }
  .closing-content { padding-top: 120px; }
  .site-footer { display: grid; gap: 12px; }
  .site-footer .brand { margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
  .js-motion .reveal-image { clip-path: none; }
  .hero-media img { transform: scale(1.06) !important; }
}
