/* ============================================================
   LOUVEN — Phase 1
   Pearl + coffee. Calm, editorial, generous space.
   ============================================================ */

:root {
  --pearl: #f4f0e8;
  --pearl-2: #ebe5da;
  --pearl-3: #ddd5c7;
  --coffee: #2b1f18;
  --coffee-2: #3a2b21;
  --coffee-3: #4a382c;
  --coffee-soft: #7a6555;
  --ink: #2b1f18;
  --ink-muted: #6f5e51;
  --on-dark: #f4f0e8;
  --on-dark-muted: rgba(244, 240, 232, 0.68);
  --line: rgba(43, 31, 24, 0.14);
  --line-dark: rgba(244, 240, 232, 0.16);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(24px, 5vw, 96px);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.eyebrow--light { color: var(--on-dark-muted); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 5.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.display em,
.story__head em { font-style: italic; font-weight: 300; }

.lede {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 40ch;
}

/* ---------- Reveal: "raise up" ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 1.1s var(--ease),
    transform 1.3s var(--ease);
  transition-delay: calc(var(--i, 0) * 110ms);
  will-change: transform, opacity;
}
.reveal.is-in { opacity: 1; transform: none; }

.rise-in {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 110%, 0);
  transition:
    opacity 1.2s var(--ease),
    transform 1.6s var(--ease);
  transition-delay: calc(200ms + var(--i, 0) * 180ms);
}
.is-loaded .rise-in { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--on-dark);
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), border-color 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: var(--pearl);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.nav__logo { display: flex; align-items: baseline; gap: 16px; }
.nav__word {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.nav__sub {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}
.nav__links { display: flex; gap: clamp(24px, 3vw, 48px); }
.nav__links a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 0;
  opacity: 0.82;
  transition: opacity 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }

/* ============================================================
   SCRUB STAGES (hero + works intro)
   ============================================================ */
.scrub { position: relative; }
.scrub__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.scrub__media,
.scrub__media img,
.scrub__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scrub__media img,
.scrub__media video { object-fit: cover; }
.scrub__media { will-change: transform; transform-origin: 50% 60%; }

/* ---------- 1. Hero + Story ---------- */
.hero { height: 380vh; background: var(--coffee); }
.hero .scrub__media img,
.hero .scrub__media video { object-position: 50% 50%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 31, 24, 0.5) 0%, rgba(43, 31, 24, 0) 22%),
    linear-gradient(0deg, rgba(43, 31, 24, 0.62) 0%, rgba(43, 31, 24, 0.12) 46%, rgba(43, 31, 24, 0) 70%);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: var(--coffee);
  opacity: 0;
}
.hero__title {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: clamp(56px, 10vh, 120px);
  color: var(--on-dark);
  will-change: transform, opacity;
}
.hero__word {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(96px, 15vw, 260px);
  line-height: 0.86;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero__sub {
  overflow: hidden;
  margin-top: 22px;
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.5em;
  text-transform: uppercase;
}
.hero__sub i { font-style: normal; opacity: 0.6; margin: 0 0.4em; }

.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--on-dark-muted);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero__cue-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--on-dark), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.story {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-h) var(--gutter) 0;
  max-width: calc(720px + var(--gutter) * 2);
  margin-left: max(0px, calc((100vw - 1440px) / 2));
  color: var(--on-dark);
  pointer-events: none;
}
.story [data-story-item] { opacity: 0; will-change: transform, opacity; }
.story__head {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 4.6vw, 76px);
  line-height: 1.04;
  margin-bottom: 40px;
}
.story p:not(.eyebrow) {
  font-size: 19px;
  line-height: 1.8;
  color: rgba(244, 240, 232, 0.86);
  max-width: 52ch;
  margin-bottom: 18px;
}

/* ============================================================
   2. BEYOND PROFITS
   ============================================================ */
.beyond {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 18vh, 220px) 0;
  background: var(--pearl);
}
.beyond__ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.13;
  filter: grayscale(0.7) contrast(0.9);
  pointer-events: none;
}
.beyond__inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(48px, 7vw, 128px);
  align-items: center;
}
.beyond__images { position: relative; height: clamp(560px, 70vh, 760px); }
.beyond__img { position: absolute; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(43, 31, 24, 0.35); }
.beyond__img img { width: 100%; height: 100%; object-fit: cover; }
.beyond__img--a {
  top: 0; left: 0;
  width: 82%;
  height: 52%;
  border-radius: 0 240px 240px 0;
}
.beyond__img--b {
  bottom: 0; right: 0;
  width: 72%;
  height: 46%;
  border-radius: 240px 0 0 240px;
}
.beyond__text { will-change: transform; }
.beyond__text .display { margin-bottom: 56px; }
.beyond__points { counter-reset: pt; display: grid; gap: 36px; }
.beyond__points li {
  counter-increment: pt;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.beyond__points li::before {
  content: "0" counter(pt);
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--coffee-soft);
  line-height: 1.3;
}
.beyond__points h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.beyond__points p { color: var(--ink-muted); max-width: 46ch; }

/* ============================================================
   3. PRODUCTS
   ============================================================ */
.products { padding: clamp(140px, 18vh, 220px) 0 clamp(120px, 14vh, 180px); background: var(--pearl-2); }
.products__intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 120px;
}
.products__intro .lede { justify-self: end; }

.reasons {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 160px;
}
.reasons__label {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: 8px;
}
.reasons__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.reasons__list li {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
}
.reasons__list span {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--coffee-soft);
  margin-bottom: 14px;
}

.range + .range { margin-top: 160px; }
.range__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 28px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.range__head h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 1;
}
.range__head span {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.range__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.2vw, 40px);
  align-items: start;
}
.range__grid li:nth-child(even) { margin-top: 64px; }
.range__grid figure {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--pearl-3);
  margin-bottom: 24px;
}
.range__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.range__grid li:hover img { transform: scale(1.04); }
.range__grid h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.range__grid p { font-size: 15px; line-height: 1.65; color: var(--ink-muted); }

/* ============================================================
   4. SERVICES
   ============================================================ */
.services {
  padding: clamp(140px, 18vh, 220px) 0;
  background: var(--coffee);
  color: var(--on-dark);
}
.services .lede { color: var(--on-dark-muted); margin-top: 36px; }
.services__intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 96px;
  align-items: end;
  margin-bottom: 140px;
}
.services__why .reasons__label { color: var(--on-dark-muted); margin-bottom: 20px; }
.services__why li {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.35;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.services__why li:first-child { border-top: 1px solid var(--line-dark); }

.services__group {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 36px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.cards + .services__group { margin-top: 120px; }
.card {
  height: 100%;
  background: var(--coffee-2);
  border-radius: 6px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), background-color 0.7s var(--ease);
}
.card:hover {
  transform: translateY(-10px);
  background: var(--coffee-3);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.55);
}
.card figure { aspect-ratio: 4 / 3; overflow: hidden; }
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* tone brochure photos toward the warm palette */
  filter: sepia(0.22) saturate(0.78) contrast(0.96) brightness(0.94);
  transition: filter 0.7s var(--ease), transform 1.2s var(--ease);
}
.card:hover img { filter: sepia(0.08) saturate(0.95) brightness(1); transform: scale(1.03); }
.card h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
  padding: 28px 28px 10px;
}
.card p {
  padding: 0 28px 32px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--on-dark-muted);
}

/* ============================================================
   5. PROJECTS
   ============================================================ */
.works-intro { height: 260vh; background: var(--coffee); }
.works-intro .scrub__media img,
.works-intro .scrub__media video { object-position: 50% 50%; }
.works-intro__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43, 31, 24, 0.82) 0%, rgba(43, 31, 24, 0.5) 45%, rgba(43, 31, 24, 0.05) 80%);
}
.works-intro__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-h) var(--gutter) 0;
  max-width: calc(700px + var(--gutter) * 2);
  margin-left: max(0px, calc((100vw - 1440px) / 2));
  color: var(--on-dark);
}
.works-intro__copy [data-works-item] { opacity: 0; will-change: transform, opacity; }
.works-intro__copy .lede { color: rgba(244, 240, 232, 0.82); margin-top: 32px; }

.jump { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.jump a {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid rgba(244, 240, 232, 0.4);
  border-radius: 999px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.jump a:hover { background: var(--pearl); color: var(--coffee); border-color: var(--pearl); }

.hscroll { position: relative; background: var(--pearl); }
.hscroll__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-h);
}
.hscroll__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 0 var(--gutter);
  margin-bottom: 4vh;
}
.hscroll__head h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 3.6vw, 60px);
  line-height: 1;
}
.hscroll__count {
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}
.hscroll__count span { color: var(--ink); }
.hscroll__track {
  display: flex;
  gap: clamp(28px, 3vw, 56px);
  padding: 0 var(--gutter);
  width: max-content;
  will-change: transform;
}
.pcard { flex: none; width: 27vw; }
.pcard--wide { width: 42vw; }
.pcard figure {
  height: 58vh;
  overflow: hidden;
  background: var(--pearl-3);
}
.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.pcard:hover img { transform: scale(1.03); }
.pcard__meta {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-top: 22px;
}
.pcard__meta span {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--coffee-soft);
}
.pcard__meta h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.1;
}
.hscroll__bar {
  margin: 5vh var(--gutter) 0;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.hscroll__bar span {
  display: block;
  height: 100%;
  background: var(--coffee);
  transform-origin: left;
  transform: scaleX(0);
}

/* ============================================================
   6. CONTACT
   ============================================================ */
.contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 0;
  overflow: hidden;
  background: var(--coffee);
}
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(43, 31, 24, 0.35) 0%, rgba(43, 31, 24, 0) 60%);
}
.contact__panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin-left: max(0px, calc((100vw - 1440px) / 2));
  margin-top: auto;
  padding: 52px 56px 48px;
  background: var(--coffee);
  color: var(--on-dark);
}
.contact__panel .eyebrow { margin-bottom: 20px; }
.contact__panel .display { font-size: clamp(44px, 4.2vw, 68px); margin-bottom: 32px; }
.contact__info { display: grid; gap: 6px; margin-bottom: 28px; }
.contact__info strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.02em;
}
.contact__reg { font-size: 13px; letter-spacing: 0.1em; color: var(--on-dark-muted); }
.contact__info span:last-child { color: rgba(244, 240, 232, 0.82); }
.contact__person {
  display: grid;
  gap: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: rgba(244, 240, 232, 0.82);
}
.contact__name { font-family: var(--serif); font-size: 22px; color: var(--on-dark); }
.contact__links { display: flex; gap: 14px; margin-top: 28px; }
.contact__links a {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(244, 240, 232, 0.35);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.contact__links a:hover {
  background: var(--coffee-3);
  border-color: var(--pearl);
  transform: translateY(-3px);
}
.contact__links img { width: 22px; height: 22px; object-fit: contain; }

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  margin: auto calc(var(--gutter) * -1) 0;
  padding: 24px var(--gutter);
  background: var(--coffee);
  color: var(--on-dark-muted);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Focus ---------- */
a:focus-visible,
button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

/* ============================================================
   RESPONSIVE (tablet + phone). Desktop rules above are untouched.
   ============================================================ */

/* Menu button: hidden on desktop. */
.nav__toggle { display: none; }

/* Mobile browsers: keep sticky stages inside the visible viewport. */
@supports (height: 100svh) {
  .scrub__stage,
  .hscroll__stage { height: 100svh; }
}

/* ---------- Tablet (≤1024px) ---------- */
@media (max-width: 1024px) {
  .nav__sub { display: none; }
  .nav__links { gap: 28px; }

  .beyond,
  .products,
  .services { padding: 120px 0; }

  .beyond__inner { grid-template-columns: 1fr; gap: 72px; }
  .beyond__images { height: min(64vw, 620px); }

  .products__intro,
  .services__intro { grid-template-columns: 1fr; gap: 40px; align-items: start; }
  .products__intro { margin-bottom: 80px; }
  .services__intro { margin-bottom: 96px; }
  .products__intro .lede { justify-self: start; }

  .reasons { grid-template-columns: 1fr; gap: 24px; margin-bottom: 110px; }
  .reasons__list { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }

  .range + .range { margin-top: 110px; }
  .range__grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .pcard { width: 48vw; }
  .pcard--wide { width: 64vw; }
}

/* ---------- Hamburger menu (≤900px) ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__logo { position: relative; z-index: 2; }

  .nav__toggle {
    position: relative;
    z-index: 2;
    display: grid;
    place-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
  }
  .nav__toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 0.5s var(--ease);
  }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav__menu {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 96px var(--gutter) 48px;
    background: var(--pearl);
    color: var(--ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0s linear 0.5s;
  }
  .nav.is-open { color: var(--ink); }
  .nav.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s var(--ease), visibility 0s;
  }
  .nav__links { flex-direction: column; gap: 6px; }
  .nav__links li {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
  }
  .nav.is-open .nav__links li { opacity: 1; transform: none; }
  .nav.is-open .nav__links li:nth-child(2) { transition-delay: 60ms; }
  .nav.is-open .nav__links li:nth-child(3) { transition-delay: 120ms; }
  .nav.is-open .nav__links li:nth-child(4) { transition-delay: 180ms; }
  .nav.is-open .nav__links li:nth-child(5) { transition-delay: 240ms; }
  .nav__links a {
    font-family: var(--serif);
    font-size: clamp(40px, 11vw, 64px);
    font-weight: 300;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.2;
    opacity: 1;
  }
  .nav__links a::after { display: none; }
  .nav__links a.is-active { font-style: italic; }
}

/* ---------- Phone (≤640px) ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }

  .display { font-size: clamp(38px, 10.5vw, 52px); }
  .lede { font-size: 16px; }
  .eyebrow { margin-bottom: 20px; }

  /* Hero: title always fits the screen width. */
  .hero__title { bottom: max(64px, 12svh); }
  .hero__word { font-size: 19.5vw; letter-spacing: 0.02em; }
  .hero__sub { margin-top: 16px; font-size: 11px; letter-spacing: 0.34em; }
  .hero__cue { display: none; }

  .story { padding-top: 64px; }
  .story__head { font-size: clamp(34px, 9.5vw, 44px); margin-bottom: 28px; }
  .story p:not(.eyebrow) { font-size: 16px; line-height: 1.7; margin-bottom: 14px; }

  .beyond,
  .products,
  .services { padding: 96px 0; }
  .beyond__inner { gap: 56px; }
  .beyond__images { height: 112vw; }
  .beyond__img--a { width: 92%; height: 50%; }
  .beyond__img--b { width: 84%; height: 44%; }
  .beyond__text .display { margin-bottom: 40px; }
  .beyond__points { gap: 28px; }
  .beyond__points li { grid-template-columns: 36px 1fr; padding-top: 22px; }
  .beyond__points h3 { font-size: 24px; }

  .products__intro { margin-bottom: 64px; }
  .reasons { padding: 32px 0; margin-bottom: 88px; }
  .reasons__list { grid-template-columns: 1fr; row-gap: 0; }
  .reasons__list li {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 14px 0;
    font-size: 22px;
    border-top: 1px solid var(--line);
  }
  .reasons__list li:first-child { border-top: 0; padding-top: 0; }
  .reasons__list span { margin: 0; flex: none; width: 24px; }

  .range + .range { margin-top: 88px; }
  .range__head { margin-bottom: 32px; padding-bottom: 20px; }
  .range__head h3 { font-size: 52px; }
  .range__grid { gap: 32px 14px; }
  .range__grid li:nth-child(even) { margin-top: 36px; }
  .range__grid figure { margin-bottom: 16px; }
  .range__grid h4 { font-size: 19px; margin-bottom: 6px; }
  .range__grid p { font-size: 13px; line-height: 1.55; }

  .services__why li { font-size: 20px; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .cards + .services__group { margin-top: 80px; }
  .card h4 { padding: 24px 24px 8px; }
  .card p { padding: 0 24px 28px; }

  .works-intro__copy .lede { margin-top: 24px; }
  .jump { margin-top: 36px; gap: 10px; }
  .jump a { padding: 12px 20px; font-size: 11px; }

  .hscroll__head { margin-bottom: 3svh; }
  .hscroll__head h3 { font-size: 34px; }
  .pcard,
  .pcard--wide { width: 80vw; }
  .pcard figure { height: 54svh; }
  .pcard__meta { gap: 14px; margin-top: 16px; }
  .pcard__meta h4 { font-size: 24px; }

  .contact { padding: calc(var(--nav-h) + 32px) var(--gutter) 0; }
  .contact__bg { object-position: 72% 50%; }
  .contact__panel { padding: 40px 28px 36px; }
  .contact__panel .display { margin-bottom: 28px; }
  .contact__info strong { font-size: 22px; }
  .contact__person span:last-child { font-size: 15px; }
  .footer {
    flex-direction: column;
    gap: 6px;
    margin-top: 48px;
    font-size: 11px;
  }
}

/* Touch screens: no sticky hover lift after a tap (desktop keeps the hover). */
@media (hover: none) {
  .card:hover { transform: none; background: var(--coffee-2); box-shadow: none; }
  .card:hover img { filter: sepia(0.22) saturate(0.78) contrast(0.96) brightness(0.94); transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .rise-in { opacity: 1; transform: none; transition: none; }
  .hero__cue-line { animation: none; }
}
