:root {
  color-scheme: light;
  --header-h: 92px;
  --page-x: clamp(20px, 4.7vw, 80px);
  --section-y: clamp(88px, 13vw, 190px);
  --line: color-mix(in srgb, var(--ink) 24%, transparent);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: Arial, Helvetica, sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--body); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { color: inherit; font: inherit; }
::selection { color: var(--paper); background: var(--accent); }

.skip-link { position: fixed; z-index: 1000; left: 16px; top: 12px; padding: 10px 14px; color: var(--paper); background: var(--ink); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }
.progress { position: fixed; z-index: 140; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.site-header { position: fixed; z-index: 120; inset: 0 0 auto; height: var(--header-h); padding: 0 var(--page-x); display: flex; align-items: center; justify-content: space-between; color: #fff; transition: color .45s ease, background .45s ease, height .45s var(--ease), backdrop-filter .45s ease; }
.site-header.scrolled { height: 70px; color: var(--ink); background: color-mix(in srgb, var(--paper) 90%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { position: relative; z-index: 2; display: inline-flex; gap: 12px; align-items: center; letter-spacing: .17em; font-size: 13px; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; letter-spacing: 0; }
.desktop-nav { position: absolute; left: 50%; display: flex; gap: clamp(24px, 3vw, 54px); transform: translateX(-50%); }
.desktop-nav a { position: relative; padding: 10px 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav a::after { position: absolute; content: ''; left: 0; bottom: 4px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 10px 0 10px 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.menu-toggle i, .menu-toggle i::before { display: block; width: 28px; height: 1px; background: currentColor; transition: transform .35s var(--ease); }
.menu-toggle i { position: relative; }
.menu-toggle i::before { position: absolute; content: ''; top: -7px; }
.menu-toggle[aria-expanded='true'] i { transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] i::before { top: 0; transform: rotate(90deg); }

.menu { position: fixed; z-index: 110; inset: 0; display: grid; visibility: hidden; color: var(--paper); background: var(--ink); clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease), visibility .75s; }
.menu.open { visibility: visible; clip-path: inset(0); }
.menu-inner { margin-top: var(--header-h); padding: clamp(35px, 7vw, 100px) var(--page-x); display: grid; grid-template-columns: minmax(150px, .6fr) 2fr 1fr; gap: 5vw; align-items: end; }
.menu-inner > p { align-self: start; margin: 0; color: var(--soft); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.menu nav { display: grid; }
.menu nav a { padding: .08em 0; font-family: var(--display); font-size: clamp(42px, 7vw, 108px); line-height: .95; letter-spacing: -.055em; }
.menu nav a:hover { color: var(--accent); }
.menu-cta { padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); font-size: 12px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.concept-note { position: fixed; z-index: 90; right: 0; top: 50%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: var(--paper); background: var(--ink); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; transform: rotate(-90deg) translate(50%, -100%); transform-origin: right top; }
.concept-note a { color: var(--accent); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: #fff; background: #111; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { transform: scale(1.08); animation: hero-in 1.8s var(--ease) forwards; }
.hero-media img { object-position: center; }
.hero-shade { background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.08) 40%, rgba(0,0,0,.76)); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding: calc(var(--header-h) + 70px) var(--page-x) clamp(60px, 7vw, 105px); }
.eyebrow { margin: 0 0 28px; font-size: 10px; line-height: 1.4; letter-spacing: .22em; text-transform: uppercase; }
.hero-eyebrow { opacity: 0; animation: fade-up .8s .6s var(--ease) forwards; }
.hero h1 { max-width: 12ch; margin: 0; font-family: var(--display); font-size: clamp(63px, 11.6vw, 188px); font-weight: 400; line-height: .79; letter-spacing: -.07em; }
.hero h1 > span { display: block; overflow: hidden; }
.hero h1 i { display: block; font-style: normal; transform: translateY(115%); animation: title-in 1.05s var(--ease) forwards; }
.hero h1 span:nth-child(2) i { animation-delay: .12s; }
.hero-detail { margin-top: clamp(35px, 6vw, 78px); display: flex; justify-content: space-between; align-items: end; gap: 25px; }
.hero-detail > p { max-width: 500px; margin: 0; font-size: clamp(15px, 1.45vw, 21px); line-height: 1.5; opacity: 0; animation: fade-up .9s .7s var(--ease) forwards; }
.round-link { flex: 0 0 auto; width: clamp(64px, 7vw, 100px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; font-size: 27px; transition: color .35s ease, background .35s ease, transform .35s var(--ease); }
.round-link:hover { color: var(--ink); background: var(--accent); border-color: var(--accent); transform: rotate(-12deg); }
.scroll-cue { position: absolute; z-index: 3; right: var(--page-x); bottom: 21px; display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { display: block; width: 38px; height: 1px; overflow: hidden; background: rgba(255,255,255,.4); }
.scroll-cue i::after { display: block; width: 100%; height: 100%; content: ''; background: #fff; animation: scroll-line 1.8s ease infinite; }

.ticker { overflow: hidden; color: var(--paper); background: var(--accent); }
.ticker div { width: max-content; display: flex; align-items: center; gap: 25px; padding: 15px 0; animation: ticker 22s linear infinite; }
.ticker span { font-size: 10px; letter-spacing: .23em; text-transform: uppercase; white-space: nowrap; }
.ticker b { color: var(--ink); font-size: 9px; }
.section-pad { padding: var(--section-y) var(--page-x); }
.statement { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: clamp(40px, 8vw, 140px); align-items: end; }
.statement h2 { max-width: 14ch; margin: 0; font-family: var(--display); font-size: clamp(48px, 7.6vw, 122px); font-weight: 400; line-height: .93; letter-spacing: -.055em; }
.statement-aside { max-width: 330px; margin: 0 0 .6em; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }

.story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .75fr); gap: clamp(45px, 9vw, 150px); align-items: center; background: color-mix(in srgb, var(--paper) 88%, var(--soft)); }
.story-image { height: min(76vw, 880px); overflow: hidden; }
.story-image img { height: 112%; transform: translateY(-5%); }
.story-copy .eyebrow { display: flex; gap: 18px; color: color-mix(in srgb, var(--ink) 63%, transparent); }
.story-copy .eyebrow span { color: var(--accent); }
.story-copy h2 { max-width: 9ch; margin: 0 0 34px; font-family: var(--display); font-size: clamp(48px, 6.5vw, 100px); font-weight: 400; line-height: .9; letter-spacing: -.055em; }
.story-copy > p:not(.eyebrow) { max-width: 480px; margin: 0 0 34px; font-size: 15px; line-height: 1.8; }
.text-link { display: inline-flex; gap: 45px; align-items: center; padding: 14px 0; border-bottom: 1px solid currentColor; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translate(5px, 5px); }

.work { padding-top: var(--section-y); overflow: hidden; }
.work-head { padding-top: 0; padding-bottom: clamp(45px, 6vw, 80px); display: grid; grid-template-columns: 1fr 3fr auto; align-items: end; }
.work-head .eyebrow { margin: 0; }
.work-head h2 { margin: 0; font-family: var(--display); font-size: clamp(54px, 8vw, 128px); font-weight: 400; line-height: .85; letter-spacing: -.06em; }
.work-head > span { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.gallery { display: flex; gap: clamp(18px, 2.5vw, 42px); padding: 0 var(--page-x) clamp(50px, 7vw, 100px); overflow-x: auto; overscroll-behavior-inline: contain; cursor: grab; scrollbar-width: none; scroll-snap-type: x mandatory; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery-card { flex: 0 0 min(57vw, 760px); scroll-snap-align: start; }
.gallery-card:nth-child(2) { margin-top: clamp(50px, 9vw, 130px); }
.gallery-image { height: min(72vw, 890px); overflow: hidden; }
.gallery-image img { transition: transform 1.2s var(--ease); }
.gallery-card:hover .gallery-image img { transform: scale(1.04); }
.gallery-caption { padding: 20px 0; display: flex; align-items: baseline; gap: 22px; border-bottom: 1px solid var(--line); }
.gallery-caption span { color: var(--accent); font-size: 9px; }
.gallery-caption h3 { margin: 0; font-family: var(--display); font-size: clamp(26px, 3vw, 48px); font-weight: 400; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 70px; padding-bottom: 70px; border-top: 1px solid var(--line); }
.fact { padding: 0 clamp(15px, 4vw, 70px); display: grid; border-left: 1px solid var(--line); }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact strong { font-family: var(--display); font-size: clamp(46px, 7vw, 105px); font-weight: 400; line-height: 1; letter-spacing: -.05em; }
.fact span { margin-top: 14px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }

.quote { position: relative; min-height: 92svh; display: grid; place-items: center; overflow: hidden; color: #fff; }
.quote-backdrop { position: absolute; inset: -10%; background: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.55)), var(--quote-image) center/cover no-repeat; }
.quote blockquote { position: relative; z-index: 1; max-width: 12ch; margin: 0; padding: 100px var(--page-x); text-align: center; font-family: var(--display); font-size: clamp(50px, 8.5vw, 138px); font-weight: 400; line-height: .9; letter-spacing: -.06em; }

.contact { min-height: 86svh; display: grid; grid-template-columns: 1fr 2fr; align-content: center; gap: 30px; color: var(--paper); background: var(--ink); }
.contact .eyebrow { align-self: start; margin-top: 15px; color: var(--soft); }
.contact h2 { max-width: 13ch; margin: 0; font-family: var(--display); font-size: clamp(53px, 8vw, 130px); font-weight: 400; line-height: .9; letter-spacing: -.06em; }
.primary-cta { grid-column: 2; width: min(100%, 720px); margin-top: clamp(40px, 7vw, 100px); padding: 17px 18px 17px 28px; display: flex; justify-content: space-between; align-items: center; border: 1px solid color-mix(in srgb, var(--paper) 50%, transparent); border-radius: 100px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; transition: color .35s ease, background .35s ease; }
.primary-cta i { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--accent); font-size: 20px; font-style: normal; transition: transform .4s var(--ease); }
.primary-cta:hover { color: var(--ink); background: var(--accent); }
.primary-cta:hover i { color: var(--paper); background: var(--ink); transform: rotate(45deg); }
footer { padding: 28px var(--page-x); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.footer-brand { font-weight: 700; letter-spacing: .2em; }
footer p { margin: 0; color: color-mix(in srgb, var(--ink) 55%, transparent); text-align: center; }
footer > a:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(55px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.image-wrap { background: color-mix(in srgb, var(--paper) 75%, var(--soft)); }
.cursor { position: fixed; z-index: 200; left: 0; top: 0; width: 70px; height: 70px; display: none; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); pointer-events: none; transform: translate(-50%, -50%) scale(0); transition: transform .25s var(--ease); }
.cursor.visible { transform: translate(-50%, -50%) scale(1); }
.cursor span { font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }

.theme-estate { --display: Georgia, 'Times New Roman', serif; }
.theme-estate .hero-media img { object-position: 54% center; }
.theme-editorial { --display: Georgia, 'Times New Roman', serif; }
.theme-editorial .hero h1 { font-style: italic; }
.theme-editorial .brand-mark { border-radius: 0; }
.theme-editorial .ticker { color: var(--ink); }
.theme-kinetic { --display: Arial Black, Arial, Helvetica, sans-serif; }
.theme-kinetic .hero h1, .theme-kinetic .statement h2, .theme-kinetic .story h2, .theme-kinetic .work-head h2, .theme-kinetic .quote blockquote, .theme-kinetic .contact h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -.08em; }
.theme-kinetic .hero h1 { max-width: 9ch; font-size: clamp(68px, 13.4vw, 210px); line-height: .72; }
.theme-kinetic .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.83), rgba(0,0,0,.2)); }
.theme-kinetic .brand-mark { border-radius: 0; color: var(--ink); background: var(--accent); border-color: var(--accent); }
.theme-kinetic .ticker { color: var(--ink); }
.theme-kinetic .gallery-card:nth-child(2) { margin-top: 0; }
.theme-kinetic .gallery-card:nth-child(1), .theme-kinetic .gallery-card:nth-child(3) { margin-top: clamp(50px, 9vw, 130px); }
.theme-kinetic .story { color: var(--paper); background: var(--ink); }
.theme-kinetic .story .eyebrow, .theme-kinetic .story .eyebrow span { color: var(--accent); }
.theme-coastal { --display: Arial, Helvetica, sans-serif; }
.theme-coastal .hero h1, .theme-coastal .statement h2, .theme-coastal .story h2, .theme-coastal .work-head h2, .theme-coastal .quote blockquote, .theme-coastal .contact h2 { letter-spacing: -.075em; }
.theme-coastal .hero h1 { max-width: 8ch; }
.theme-coastal .round-link, .theme-coastal .brand-mark { border-radius: 40% 60% 44% 56%; }
.theme-coastal .ticker { color: var(--ink); }

@keyframes hero-in { to { transform: scale(1); } }
@keyframes title-in { to { transform: translateY(0); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes scroll-line { from { transform: translateX(-110%); } to { transform: translateX(110%); } }

@media (pointer: fine) {
  .cursor { display: grid; }
  .gallery-card, .round-link { cursor: none; }
}

@media (max-width: 850px) {
  :root { --header-h: 76px; --page-x: 21px; --section-y: 96px; }
  .desktop-nav { display: none; }
  .brand b { font-size: 11px; }
  .menu-inner { grid-template-columns: 1fr; align-content: center; align-items: start; }
  .menu-inner > p { display: none; }
  .menu nav a { font-size: clamp(54px, 15vw, 90px); }
  .menu-cta { margin-top: 35px; }
  .concept-note { display: none; }
  .hero { min-height: 820px; }
  .hero-copy { padding-bottom: 72px; }
  .hero h1 { font-size: clamp(62px, 19.2vw, 105px); line-height: .81; }
  .hero-detail { margin-top: 35px; align-items: center; }
  .hero-detail > p { max-width: 32ch; font-size: 14px; }
  .round-link { width: 66px; }
  .scroll-cue { display: none; }
  .statement { min-height: auto; }
  .statement-grid { grid-template-columns: 1fr; }
  .statement h2 { font-size: clamp(45px, 13vw, 73px); }
  .statement-aside { margin-top: 15px; }
  .story { grid-template-columns: 1fr; gap: 55px; }
  .story-image { height: 120vw; max-height: 720px; }
  .story-copy h2 { font-size: clamp(48px, 14vw, 82px); }
  .work-head { grid-template-columns: 1fr auto; gap: 16px; }
  .work-head .eyebrow { grid-column: 1 / -1; }
  .work-head h2 { font-size: clamp(55px, 15vw, 84px); }
  .gallery { padding-right: 50px; }
  .gallery-card { flex-basis: 78vw; }
  .gallery-image { height: 105vw; max-height: 720px; }
  .facts { grid-template-columns: 1fr; padding-top: 25px; padding-bottom: 25px; }
  .fact { padding: 32px 0; grid-template-columns: 1fr 1fr; align-items: end; border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { border-top: 0; }
  .fact strong { font-size: 62px; }
  .fact span { text-align: right; }
  .quote { min-height: 76svh; }
  .quote blockquote { font-size: clamp(51px, 15vw, 90px); }
  .contact { grid-template-columns: 1fr; }
  .contact h2 { font-size: clamp(52px, 15vw, 86px); }
  .primary-cta { grid-column: 1; }
  footer { grid-template-columns: 1fr auto; }
  footer p { display: none; }
  .theme-kinetic .hero h1 { font-size: clamp(65px, 20vw, 110px); }
}

@media (max-width: 520px) {
  .menu-toggle span { display: none; }
  .hero { min-height: 760px; }
  .hero-detail > p { max-width: 24ch; }
  .round-link { width: 58px; }
  .work-head > span { display: none; }
  .work-head { grid-template-columns: 1fr; }
  .gallery-card { flex-basis: 84vw; }
  .primary-cta { padding-left: 21px; font-size: 9px; }
  .primary-cta i { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-media { transform: none; }
  .hero h1 i { transform: none; }
  .hero-eyebrow, .hero-detail > p, .reveal { opacity: 1; transform: none; }
  .ticker div { animation: none; }
}
