:root {
  --paper: #f3eee4;
  --paper-2: #e9e2d4;
  --ink: #16191b;
  --mute: #6b6a64;
  --line: #d9d0bf;
  --teal: #4d6972;
  --teal-deep: #2f4850;
  --teal-ink: #1f333a;
  --brass: #c3996b;
  --brass-light: #dcb98f;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --pad: clamp(18px, 4.5vw, 64px);
  --card: clamp(132px, 26vmin, 290px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--paper); border-radius: 4px; transform: translateY(-200%); }
.skip:focus-visible { transform: none; }

.eyebrow {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--teal);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--brass); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center; align-content: center; gap: 22px;
}
.loader__mark { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); font-family: var(--display); font-size: clamp(64px, 16vw, 180px); line-height: 1; color: var(--teal); }
.loader__g, .loader__c { display: inline-block; opacity: 0; }
.loader__bar { width: 2px; height: 1.1em; background: var(--teal); transform: scaleY(0); transform-origin: 50% 0; }
.loader__word { font-family: var(--display); font-size: clamp(14px, 2vw, 20px); letter-spacing: .4em; text-transform: uppercase; color: var(--ink); opacity: 0; display: flex; gap: .5em; }
.loader__word i { font-style: normal; color: var(--brass); }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--teal); display: none; mix-blend-mode: multiply;
}
html.js.fine:not(.rm) .cursor { display: block; }
html.fine:not(.rm) { cursor: none; }
html.fine:not(.rm) a, html.fine:not(.rm) button, html.fine:not(.rm) .piece, html.fine:not(.rm) .row { cursor: none; }
.cursor__label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--paper);
  opacity: 0; white-space: nowrap;
}
.cursor.is-big { width: 72px; height: 72px; margin: -36px 0 0 -36px; mix-blend-mode: normal; background: var(--teal); }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor { transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  color: var(--ink); transition: color .4s;
}
.nav.is-dark { color: var(--paper); }
.nav__mark { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 26px; line-height: 1; }
.nav__mark i { width: 1.5px; height: 24px; background: currentColor; }
.nav__links { display: flex; gap: 28px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }
.nav__cta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--teal); background: var(--teal); color: #fff; border-radius: 999px; padding: 9px 16px; transition: background .3s, color .3s, border-color .3s; }
.nav__cta:hover { background: var(--ink); border-color: var(--ink); }
.nav.is-dark .nav__cta { background: var(--paper); border-color: var(--paper); color: var(--teal-deep); }
.nav.is-dark .nav__cta:hover { background: #fff; border-color: #fff; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: clip; }
.hero__inner { position: relative; height: 100%; padding: calc(var(--pad) + 44px) var(--pad) var(--pad); display: flex; flex-direction: column; }
.hero__kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.hero__kicker i { width: 1px; height: 14px; background: var(--brass); }
.hero__title {
  font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6.4vw, 100px); line-height: .98; letter-spacing: -.015em;
  max-width: 12ch; margin-top: clamp(16px, 3vh, 36px); color: var(--ink);
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.hero__sub { margin-top: clamp(14px, 2.4vh, 26px); font-size: clamp(15px, 1.4vw, 19px); color: var(--mute); max-width: 36ch; }
.hero__hint, .hero__after {
  position: absolute; left: var(--pad); bottom: calc(var(--pad) - 4px);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--teal);
}
.hero__hint::after { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--brass); margin-left: 12px; vertical-align: middle; }
.hero__after { opacity: 0; }

.hero__stage { position: absolute; inset: 0; perspective: 1600px; pointer-events: none; }
.hero__deck {
  position: absolute; left: 50%; top: 68%; width: var(--card); height: var(--card);
  transform-style: preserve-3d; margin-left: calc(var(--card) / -2); pointer-events: auto;
}
.card {
  position: absolute; inset: 0; border-radius: 6px; overflow: hidden; background: var(--paper-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 40px -18px rgba(22,25,27,.45), 0 2px 6px rgba(22,25,27,.12);
  will-change: transform;
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(22,25,27,.08); }

/* no-JS / reduced motion: deck laid out as a grid, headline visible */
html:not(.js) .hero, html.rm .hero { height: auto; min-height: 0; }
html:not(.js) .hero__stage, html.rm .hero__stage { position: static; perspective: none; margin-top: 32px; }
html:not(.js) .hero__deck, html.rm .hero__deck {
  position: static; width: auto; height: auto; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
html:not(.js) .card, html.rm .card { position: relative; inset: auto; aspect-ratio: 1; transform: none !important; }
html:not(.js) .hero__hint, html.rm .hero__hint, html:not(.js) .hero__after, html.rm .hero__after { display: none; }
@media (min-width: 720px) { html:not(.js) .hero__deck, html.rm .hero__deck { grid-template-columns: repeat(9, 1fr); } }

/* ---------- about ---------- */
.about { position: relative; padding: clamp(80px, 14vh, 160px) 0 0; background: var(--paper); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, 7fr) 1px minmax(0, 4fr); gap: clamp(28px, 5vw, 80px);
  padding: 0 var(--pad); align-items: start;
}
.about__lead { font-family: var(--display); font-size: clamp(28px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.01em; margin-top: 22px; }
.about__body { margin-top: 26px; font-size: clamp(16px, 1.3vw, 19px); color: var(--mute); max-width: 52ch; }
[data-words] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-words] .w > span { display: inline-block; }
html.js:not(.rm) [data-words] .w > span { transform: translateY(110%); }
.about__bar { align-self: stretch; width: 1px; background: var(--line); position: relative; }
.about__bar i { position: absolute; inset: 0; background: var(--teal); transform: scaleY(0); transform-origin: 50% 0; display: block; }
html:not(.js) .about__bar i, html.rm .about__bar i { transform: none; }
.about__facts { padding-top: 6px; }
.about__facts dl { display: block; }
.fact { border-top: 1px solid var(--line); padding: 20px 0; }
.fact dt { font-family: var(--display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; color: var(--teal); }
.fact dd { margin-top: 8px; color: var(--mute); font-size: 15px; }
.facts__note { border-top: 1px solid var(--line); padding-top: 14px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__bar { display: none; }
}

.ticker { margin-top: clamp(70px, 10vh, 120px); padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; display: grid; gap: 18px; }
.ticker__row { overflow: hidden; }
.ticker__track { display: flex; gap: 48px; width: max-content; will-change: transform; }
.quote { white-space: nowrap; font-family: var(--display); font-size: clamp(18px, 2.2vw, 30px); color: var(--ink); }
.quote b { font-family: var(--body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-left: 14px; vertical-align: middle; }
html:not(.js) .ticker__track, html.rm .ticker__track { width: auto; flex-wrap: wrap; gap: 14px 48px; padding: 0 var(--pad); }
html:not(.js) .quote, html.rm .quote { white-space: normal; }

/* ---------- work ---------- */
.work { padding: clamp(90px, 16vh, 180px) 0 0; }
.work__head { padding: 0 var(--pad); }
.work__title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 92px); line-height: 1; letter-spacing: -.015em; margin-top: 18px; max-width: 16ch; }
.work__title em { font-style: italic; color: var(--teal); }

.group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); padding: clamp(60px, 10vh, 120px) var(--pad) 0; }
.group__head { position: sticky; top: 22vh; align-self: start; }
.group__num { font-family: var(--display); font-size: 14px; letter-spacing: .3em; color: var(--teal); display: block; }
.group__head h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -.01em; margin-top: 10px; }
.group__head p { margin-top: 10px; color: var(--mute); font-size: 14px; }
.group__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); align-items: start; }
.col { display: grid; gap: clamp(14px, 2vw, 28px); will-change: transform; }
.col[data-speed="1"] { padding-top: clamp(40px, 8vw, 120px); }
.piece { position: relative; border-radius: 4px; overflow: hidden; background: var(--paper-2); }
.piece__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: inherit; }
.piece__btn:focus-visible { outline-offset: -3px; }
.piece img { width: 100%; height: auto; transition: transform .9s var(--ease); }
html.js:not(.rm) .piece { clip-path: inset(100% 0 0 0); }
html.js:not(.rm) .piece img { transform: scale(1.12); }
html.js:not(.rm) .piece.is-in { clip-path: inset(0 0 0 0); }
html.js:not(.rm) .piece.is-in img { transform: scale(1); }
.piece figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  font-size: 12px; letter-spacing: .06em; font-weight: 600; color: var(--paper);
  background: linear-gradient(to top, rgba(22,25,27,.72), rgba(22,25,27,0));
  transform: translateY(100%); transition: transform .5s var(--ease);
}
.piece:hover figcaption, .piece:focus-within figcaption { transform: none; }
.piece:hover img { transform: scale(1.04); }
html.rm .piece figcaption, html:not(.js) .piece figcaption { transform: none; position: static; background: none; color: var(--mute); padding: 8px 0 0; }
@media (max-width: 860px) {
  .group { grid-template-columns: 1fr; gap: 22px; }
  .group__head { position: static; }
  .col[data-speed="1"] { padding-top: clamp(30px, 10vw, 60px); }
}

/* ---------- rate card ---------- */
.rates { position: relative; margin-top: clamp(100px, 16vh, 200px); background: var(--teal-deep); color: var(--paper); padding: clamp(80px, 14vh, 160px) var(--pad); }
.rates .eyebrow { color: var(--brass-light); }
.rates__title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 6vw, 92px); line-height: 1; letter-spacing: -.015em; margin-top: 18px; }
.rates__title em { font-style: italic; color: var(--brass-light); }
.rates__note { margin-top: 18px; color: rgba(243,238,228,.7); max-width: 48ch; }
.ledger { list-style: none; margin-top: clamp(40px, 7vh, 80px); border-top: 1px solid rgba(243,238,228,.22); }
.row {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 6fr);
  gap: 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(243,238,228,.22);
  counter-increment: ledger; transition: padding-left .5s var(--ease);
}
.row::before { content: counter(ledger, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-size: 11px; letter-spacing: .2em; color: var(--brass-light); font-variant-numeric: tabular-nums; }
.row__name { font-family: var(--display); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; padding-left: 38px; }
.row__price { font-family: var(--display); font-size: clamp(22px, 2.6vw, 38px); line-height: 1.05; font-variant-numeric: tabular-nums; color: #fff; }
.row__price small { font-family: var(--body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin-right: 6px; vertical-align: middle; }
.row__unit { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,228,.7); }
.row__note { font-size: 14px; color: rgba(243,238,228,.78); }
html.fine .row:hover { padding-left: 10px; }
html.fine .row::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
html.fine .row:hover::after { transform: scaleX(1); }
.peek {
  position: fixed; top: 0; left: 0; z-index: 70; width: clamp(140px, 16vw, 240px); aspect-ratio: 1; pointer-events: none;
  border-radius: 4px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scale(.9);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: none;
}
html.js.fine:not(.rm) .peek { display: block; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.rates__cta { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(40px, 7vh, 80px); font-family: var(--display); font-size: clamp(24px, 3vw, 40px); color: #fff; }
.rates__cta i { width: 48px; height: 1px; background: var(--brass); transition: width .5s var(--ease); }
.rates__cta:hover i { width: 96px; }
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr auto; grid-template-areas: "name price" "unit unit" "note note"; gap: 6px 18px; }
  .row__name { grid-area: name; } .row__price { grid-area: price; } .row__unit { grid-area: unit; padding-left: 38px; } .row__note { grid-area: note; padding-left: 38px; }
}
@media (hover: none) {
  .row { grid-template-columns: 56px 1fr auto; grid-template-areas: "thumb name price" "thumb unit unit" "thumb note note"; }
  .row::before { display: none; }
  .row__name, .row__unit, .row__note { padding-left: 0; }
  .row__thumb { grid-area: thumb; width: 56px; height: 56px; border-radius: 3px; object-fit: cover; align-self: start; }
}
.row__thumb { display: none; }
@media (hover: none) { .row__thumb { display: block; } }

/* ---------- contact ---------- */
.contact { padding: clamp(100px, 18vh, 220px) var(--pad) clamp(60px, 10vh, 120px); }
.contact__title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 9vw, 150px); line-height: .96; letter-spacing: -.02em; margin-top: 20px; max-width: 10ch; }
.contact__sub { margin-top: 24px; color: var(--mute); max-width: 44ch; font-size: clamp(15px, 1.3vw, 18px); }
.contact__links { list-style: none; margin-top: clamp(40px, 6vh, 70px); border-top: 1px solid var(--line); max-width: 760px; }
.contact__links li { border-bottom: 1px solid var(--line); }
.contact__links a { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; padding: 20px 0; transition: padding-left .5s var(--ease); }
.contact__links a:hover { padding-left: 12px; }
.link__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.link__value { font-family: var(--display); font-size: clamp(24px, 3vw, 44px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.contact__where { margin-top: 32px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
@media (max-width: 560px) { .contact__links a { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- footer ---------- */
.footer { padding: 0 var(--pad) 28px; }
.mark { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.6vw, 24px); font-family: var(--display); font-size: clamp(44px, 10.4vw, 170px); line-height: 1; color: var(--teal); text-transform: uppercase; letter-spacing: .02em; }
.mark__half { overflow: hidden; flex: 0 0 auto; }
.mark__half span { display: inline-block; will-change: transform; }
.mark__half--l { text-align: right; }
.mark__bar { width: 2px; height: .95em; position: relative; background: transparent; }
.mark__bar i { position: absolute; inset: 0; background: var(--teal); transform: scaleY(0); transform-origin: 50% 0; display: block; }
html.js:not(.rm) .mark__half--l span { transform: translateX(104%); }
html.js:not(.rm) .mark__half--r span { transform: translateX(-104%); }
html:not(.js) .mark__bar i, html.rm .mark__bar i { transform: none; }
.footer__concept { margin: 28px auto 0; max-width: 72ch; text-align: center; font-size: 12px; line-height: 1.7; color: var(--mute); }
.footer__concept a { text-decoration: underline; text-underline-offset: 3px; }
.footer__studio { display: block; margin: 14px auto 0; width: max-content; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--teal); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(22,25,27,.92); display: grid; place-items: center; padding: var(--pad); }
.lightbox[hidden] { display: none; }
.lightbox__close { position: absolute; top: 18px; right: var(--pad); color: var(--paper); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding: 10px 0; }
.lightbox__close i { font-style: normal; color: var(--brass-light); margin-left: 8px; border: 1px solid rgba(243,238,228,.3); border-radius: 3px; padding: 2px 6px; }
.lightbox__fig { max-width: min(92vw, 1000px); max-height: 100%; display: grid; justify-items: center; gap: 14px; }
.lightbox__fig img { max-height: 78vh; width: auto; height: auto; max-width: 100%; border-radius: 4px; }
.lightbox__fig figcaption { color: var(--paper); font-size: 13px; letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
