/* =====================================================================
   ADORN WORLD — warm architectural luxury
   ===================================================================== */

:root {
  /* Palette — warm bone / espresso / walnut */
  --bg:            #F3EEE6;
  --bg-2:          #ECE3D5;
  --ink:           #241E18;
  --ink-soft:      #5C5248;
  --ink-faint:     #8B8073;
  --line:          #D8CDBB;
  --accent:        #8A6A46;   /* walnut / bronze */
  --accent-deep:   #5E4A34;
  --dark:          #1B1611;   /* warm near-black */
  --dark-2:        #241D16;
  --cream:         #EEE6D8;   /* text on dark */
  --cream-soft:    #B9AE9C;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Fluid scale */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.88rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --h-lg:    clamp(2.6rem, 1.6rem + 4.6vw, 6rem);
  --h-xl:    clamp(2.8rem, 1.3rem + 5.6vw, 7rem);
  --hero:    clamp(2.6rem, 0.9rem + 6.6vw, 8.4rem);

  /* Space — generous, for stillness */
  --pad-x: clamp(1.4rem, 5vw, 7rem);
  --sect-y: clamp(6rem, 12vw, 15rem);

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-quiet: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain for warmth */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: var(--bg); }

/* =====================================================================
   INTRO — a quiet curtain that lifts to reveal the hero.
   Shown only when JS is present, so no-JS visitors never see a blank panel.
   ===================================================================== */
.intro { display: none; }
html.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg);
  will-change: transform;
  transition: transform 1.15s var(--ease);
}
.intro__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(1.4rem, 3vw, 2.2rem); }
.intro__mark {
  width: clamp(64px, 8vw, 88px); height: auto;
  opacity: 0; transform: translateY(10px);
  transition: opacity 1.1s var(--ease-quiet), transform 1.4s var(--ease-quiet);
}
.intro__rule {
  display: block; width: clamp(140px, 22vw, 240px); height: 1px;
  background: var(--line); position: relative; overflow: hidden;
}
.intro__rule::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.25s var(--ease-quiet) 0.2s;
}
body[data-intro="in"] .intro__mark { opacity: 0.9; transform: none; }
body[data-intro="in"] .intro__rule::after { transform: scaleX(1); }
body[data-intro="out"] .intro { transform: translateY(-100%); }
/* lock scroll while the curtain is up */
body[data-intro="in"] { overflow: hidden; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 1000;
  background: var(--ink); color: var(--bg);
  padding: 0.7rem 1.1rem; border-radius: 2px; font-size: var(--step--1);
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.light { color: var(--cream-soft); }
.eyebrow.center { display: block; text-align: center; }

.h-lg { font-size: var(--h-lg); line-height: 1.02; }
.h-xl { font-size: var(--h-xl); line-height: 0.98; }

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 300;
  max-width: 34ch;
}
.body-copy { color: var(--ink-soft); max-width: 46ch; }

/* Line-reveal primitive */
.line { display: block; overflow: hidden; }
.line > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.05s var(--ease);
}
.line:nth-child(2) > span { transition-delay: 0.09s; }
.line:nth-child(3) > span { transition-delay: 0.18s; }
.line:nth-child(4) > span { transition-delay: 0.27s; }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  display: flex; align-items: center; gap: 1.5rem;
  padding: clamp(1rem, 2vw, 1.9rem) var(--pad-x);
  mix-blend-mode: normal;
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header[data-hidden] { transform: translateY(-100%); }
.site-header[data-scrolled] {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  padding-top: clamp(0.7rem, 1.4vw, 1rem);
  padding-bottom: clamp(0.7rem, 1.4vw, 1rem);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand__mark { width: 40px; height: auto; transition: opacity 0.4s var(--ease); }
.brand__word {
  font-size: var(--step--1); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ink); font-weight: 400;
}
/* Hero is dark → make header contents light until scrolled */
.site-header:not([data-scrolled]) .brand__word { color: var(--cream); }
.site-header:not([data-scrolled]) .brand__mark { filter: invert(1) brightness(2); }
.site-header:not([data-scrolled]) .header__cta { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 45%, transparent); }
.site-header:not([data-scrolled]) .menu-toggle { color: var(--cream); }
.site-header:not([data-scrolled]) .menu-toggle__lines i { background: var(--cream); }

.header__cta {
  font-size: var(--step--1); letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.55em 1.2em; border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink); transition: all 0.35s var(--ease);
}
.header__cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.menu-toggle {
  position: relative; display: flex; align-items: center; gap: 0.7rem;
  background: none; border: 0; cursor: pointer; color: var(--ink);
  font-family: var(--sans); font-size: var(--step--1);
  letter-spacing: 0.18em; text-transform: uppercase; padding: 0.4em 0;
}
.menu-toggle__label { transition: opacity 0.3s var(--ease); }
.menu-toggle [data-menu-close] { position: absolute; left: 0; opacity: 0; }
.menu-toggle__lines { position: relative; width: 26px; height: 8px; }
.menu-toggle__lines i {
  position: absolute; left: 0; width: 100%; height: 1px; background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle__lines i:nth-child(1) { top: 1px; }
.menu-toggle__lines i:nth-child(2) { top: 6px; }

body[data-menu-open] .menu-toggle [data-menu-open] { opacity: 0; }
body[data-menu-open] .menu-toggle [data-menu-close] { opacity: 1; }
body[data-menu-open] .menu-toggle { color: var(--cream); }
body[data-menu-open] .menu-toggle__lines i { background: var(--cream); }
body[data-menu-open] .menu-toggle__lines i:nth-child(1) { top: 4px; transform: rotate(45deg); }
body[data-menu-open] .menu-toggle__lines i:nth-child(2) { top: 4px; transform: rotate(-45deg); }

/* When the overlay is open, let the dark menu show through behind the top controls */
body[data-menu-open] .site-header,
body[data-menu-open] .site-header[data-scrolled] {
  background: transparent; backdrop-filter: none; border-color: transparent;
}
body[data-menu-open] .brand__word { color: var(--cream); }
body[data-menu-open] .brand__mark { filter: invert(1) brightness(2); }
body[data-menu-open] .header__cta { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 40%, transparent); }

/* =====================================================================
   MENU OVERLAY
   ===================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 150;
  background: var(--dark); color: var(--cream);
  display: flex; align-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}
.overlay[data-open] { clip-path: inset(0 0 0 0); visibility: visible; }
.overlay__inner {
  width: 100%; padding: 8rem var(--pad-x) 3rem;
  display: flex; flex-direction: column; min-height: 100%;
  justify-content: space-between; gap: 3rem;
}
.overlay__nav { list-style: none; }
.overlay__nav li { overflow: hidden; }
.overlay__nav a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 8vw, 6rem); line-height: 1.12;
  color: var(--cream);
  transform: translateY(110%);
  transition: transform 0.8s var(--ease), color 0.3s var(--ease);
  transition-delay: calc(var(--i) * 0.05s);
}
.overlay__nav a span {
  font-family: var(--sans); font-size: var(--step--1); letter-spacing: 0.2em;
  color: var(--accent); transform: translateY(-0.6em);
}
.overlay[data-open] .overlay__nav a { transform: translateY(0); }
.overlay__nav a:hover { color: var(--accent); }

.overlay__foot {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
  opacity: 0; transition: opacity 0.6s var(--ease) 0.4s;
}
.overlay[data-open] .overlay__foot { opacity: 1; }
.overlay__foot .eyebrow { display: block; margin-bottom: 0.6rem; }
.overlay__foot p, .overlay__foot a { color: var(--cream-soft); font-size: var(--step--1); line-height: 1.7; }
.overlay__email { color: var(--cream) !important; font-size: var(--step-0) !important; }
.overlay__email:hover, .overlay__foot a:hover { color: var(--accent) !important; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad-x); padding-bottom: clamp(4.5rem, 9vw, 8rem);
  overflow: hidden; color: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img {
  object-fit: cover; object-position: 60% 35%;
  transform: scale(1.08); transition: transform 8s ease-out;
  will-change: transform;
  filter: grayscale(0.45) brightness(0.66) contrast(1.06); /* cinematic, desaturated */
}
body.loaded .hero__media img { transform: scale(1); }
/* Warm amber colour wash — the "filter" look from the atmosphere prototype */
.hero__wash {
  position: absolute; inset: 0;
  background: rgba(96,64,34,0.52); mix-blend-mode: multiply;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 30%, transparent 32%, rgba(8,6,4,0.6) 100%),
    linear-gradient(180deg, rgba(16,12,8,0.35) 0%, rgba(16,12,8,0) 34%, rgba(12,9,6,0.55) 100%);
}
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 260px 60px rgba(6,4,3,0.9);
}

.hero__content { position: relative; max-width: min(88rem, 100%); }
.hero__logo {
  width: clamp(120px, 17vw, 210px); height: auto; margin-bottom: clamp(1.6rem, 3vw, 2.8rem);
  opacity: 0; transform: translateY(14px);
  transition: opacity 1s var(--ease) 0.1s, transform 1s var(--ease) 0.1s;
}
body.loaded .hero__logo { opacity: 0.95; transform: none; }
.hero__eyebrow {
  font-size: var(--step--1); letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--cream); opacity: 0; transform: translateY(12px);
  margin-bottom: clamp(1.4rem, 2.4vw, 2rem);
  transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s;
}
body.loaded .hero__eyebrow { opacity: 0.8; transform: none; }
.hero__title {
  font-size: var(--hero); line-height: 1.06; font-weight: 300;
  letter-spacing: -0.015em; max-width: none;
}
.hero__title .line > span { transition-duration: 1.15s; }
.hero__title .line:nth-child(1) > span { transition-delay: 0.35s; }
.hero__title .line:nth-child(2) > span { transition-delay: 0.47s; }
.hero__title .line:nth-child(3) > span { transition-delay: 0.59s; }
body.loaded .hero__title .line > span { transform: none; }
.hero__sub {
  margin-top: clamp(1.8rem, 3.2vw, 2.8rem); max-width: 52ch;
  font-size: var(--step-0); color: var(--cream); font-weight: 300;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.9s var(--ease) 0.9s, transform 0.9s var(--ease) 0.9s;
}
body.loaded .hero__sub { opacity: 0.86; transform: none; }

.hero__chrome {
  position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: clamp(1.4rem, 2.4vw, 2.2rem);
  display: flex; justify-content: space-between; align-items: flex-end;
  opacity: 0; transition: opacity 1s var(--ease) 1.1s;
}
body.loaded .hero__chrome { opacity: 1; }

.hero__clocks { display: flex; flex-wrap: wrap; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.clock { display: flex; flex-direction: column; gap: 0.15rem; }
.clock__label { font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream-soft); }
.clock__time { font-size: var(--step--1); letter-spacing: 0.1em; font-variant-numeric: tabular-nums; }

.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.66rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream);
}
.scroll-cue i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--cream), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--accent); animation: scrolldot 2.2s var(--ease) infinite;
}
@keyframes scrolldot { 0% { top: -50%; } 60%,100% { top: 100%; } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section { padding: var(--sect-y) var(--pad-x); position: relative; }

[data-reveal] { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal].in-view .line > span { transform: none; }

/* THE CRAFT */
.craft {
  display: grid; grid-template-columns: 0.85fr 1.25fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.craft__text .eyebrow { margin-bottom: 1.6rem; }
.craft__text .h-lg { margin-bottom: 2rem; }
.craft__text .lede { margin-bottom: 1.4rem; }
.craft__text .body-copy { margin-bottom: 2.4rem; }
.craft__media { position: relative; }
.craft__media picture { display: block; }
.craft__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* Reusable cinematic treatment — same look as the hero (desaturate + amber wash + vignette) */
.media-treated { position: relative; display: block; overflow: hidden; border-radius: 2px; }
.media-treated img { display: block; filter: grayscale(0.2) brightness(0.92) contrast(1.03); }
.media-treated::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(110,78,44,0.24); mix-blend-mode: multiply;
}
.media-treated::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 110px 26px rgba(6,4,3,0.4);
}
.craft__media figcaption {
  margin-top: 1rem; font-size: var(--step--1); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-faint);
}

/* Link with vertical text-swap */
.link-swap {
  display: inline-flex; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.3rem);
  margin-top: clamp(0.6rem, 1.5vw, 1.2rem);
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
  padding-bottom: 0.5em; border-bottom: 1px solid var(--line);
  transition: border-color 0.4s var(--ease);
}
.link-swap:hover { border-color: var(--accent); }
.link-swap__inner { position: relative; overflow: hidden; height: 1.3em; }
.link-swap__inner span { display: block; transition: transform 0.5s var(--ease); }
.link-swap__inner span:last-child { position: absolute; top: 100%; left: 0; color: var(--accent); }
.link-swap:hover .link-swap__inner span { transform: translateY(-100%); }
.link-swap svg { width: clamp(30px, 2.6vw, 38px); height: auto; transition: transform 0.4s var(--ease); }
.link-swap:hover svg { transform: translateX(6px); color: var(--accent); }

/* WHAT WE MAKE */
/* Laid out identically to .craft so the two sections read as one system */
.work__intro {
  display: grid; grid-template-columns: 0.85fr 1.25fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center; margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.work__head { max-width: none; }
.work__head .eyebrow { margin-bottom: 1.6rem; }
.work__head .h-lg { margin-bottom: 2rem; }
.work__head .lede { margin-bottom: 0; }
.work__media { position: relative; }
.work__media picture { display: block; }
.work__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.work__media figcaption {
  margin-top: 1rem; font-size: var(--step--1); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-faint);
}
/* Three categories as one compact row, not three tall stacked rows */
.collections {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3.4rem);
  border-top: 1px solid var(--line); padding-top: clamp(1.8rem, 3.5vw, 2.8rem);
}
.collection { display: flex; flex-direction: column; gap: 0.5rem; }
.collection__no { font-size: 0.66rem; letter-spacing: 0.24em; color: var(--accent); font-variant-numeric: tabular-nums; }
.collection__title { font-size: clamp(1.3rem, 2.1vw, 1.85rem); font-weight: 400; line-height: 1.15; }
.collection__desc { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; max-width: 34ch; }

/* =====================================================================
   WHO WE ARE
   ===================================================================== */
.company { background: var(--bg-2); }
.company__grid { margin-bottom: clamp(3.5rem, 7vw, 6rem); }
/* Small, deliberately modest frame — the source photo is not big enough to go full-bleed */
.company__media { width: 100%; max-width: 420px; }
.company__media picture { display: block; }
.company__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.company__media figcaption {
  margin-top: 1.1rem; font-family: var(--serif); font-size: var(--step-1);
  line-height: 1.35; color: var(--ink-soft); max-width: 26ch;
}
.company__media figcaption em { font-style: italic; color: var(--accent); }

.company__text {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.company__lead .eyebrow { margin-bottom: 1.6rem; }
.company__body { display: flex; flex-direction: column; gap: 1.4rem; }
.company__body .body-copy { max-width: 52ch; }

.proof {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line); padding-top: clamp(2rem,4vw,3rem);
}
.proof li { display: flex; flex-direction: column; gap: 0.7rem; }
.proof__k { font-size: clamp(1.5rem, 2.4vw, 2.2rem); color: var(--accent-deep); }
.proof__v { font-size: var(--step--1); color: var(--ink-soft); max-width: 26ch; line-height: 1.55; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { text-align: center; padding-block: clamp(6rem, 12vw, 13rem); }
.contact__inner { max-width: min(64rem, 100%); margin-inline: auto; }
.contact .eyebrow { margin-bottom: 1.6rem; }
.contact .h-xl { margin-bottom: 0; }
.contact__sub { margin: 2rem auto 0; max-width: 44ch; color: var(--ink-soft); font-size: var(--step-1); font-weight: 300; }

.email-btn {
  display: inline-block; margin-top: clamp(2.4rem, 5vw, 4rem);
  font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 3.2rem); font-weight: 400;
  color: var(--ink); border-bottom: 1px solid var(--line);
  padding-bottom: 0.15em; position: relative;
}
.email-btn__inner { display: block; position: relative; overflow: hidden; height: 1.15em; }
.email-btn__inner span { display: block; transition: transform 0.55s var(--ease); }
.email-btn__inner span:last-child { position: absolute; top: 100%; left: 0; width: 100%; color: var(--accent); }
.email-btn:hover .email-btn__inner span { transform: translateY(-100%); }

.contact__ig {
  display: inline-block; margin-top: clamp(2rem, 4vw, 3rem);
  font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint);
  transition: color 0.3s var(--ease);
}
.contact__ig:hover { color: var(--accent); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--dark); color: var(--cream); padding: clamp(3.5rem, 7vw, 6rem) var(--pad-x) 2rem; }
.footer__top {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__mark { width: 64px; height: auto; opacity: 0.9; }
.footer__nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); flex-wrap: wrap; }
.footer__nav a { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream-soft); transition: color 0.3s var(--ease); }
.footer__nav a:hover { color: var(--cream); }

.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.footer__grid .eyebrow { display: block; margin-bottom: 0.8rem; }
.footer__grid p, .footer__grid a { color: var(--cream-soft); font-size: var(--step--1); line-height: 1.8; }
.footer__grid a:hover { color: var(--accent); }
.footer__email { color: var(--cream) !important; font-size: var(--step-0) !important; }
.footer__clocks { display: flex; flex-direction: column; gap: 1.1rem; }
.footer__clocks .clock__label { color: var(--cream-soft); }
.footer__clocks .clock__time { color: var(--cream); font-size: var(--step-0); }

.footer__base {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--step--1); color: var(--cream-soft);
}
.footer__top-link { transition: color 0.3s var(--ease); }
.footer__top-link:hover { color: var(--accent); }


/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lb {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14, 10, 7, 0.97);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.lb[hidden] { display: none; }
.lb[data-open] { opacity: 1; }
.lb__img {
  max-width: 92vw; max-height: 86vh; object-fit: contain;
  opacity: 0; transform: scale(0.985);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
.lb[data-open] .lb__img { opacity: 1; transform: none; }
.lb__btn {
  position: absolute; background: none; border: 0; cursor: pointer;
  color: var(--cream); font-family: var(--sans);
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1rem; opacity: 0.72; transition: opacity 0.3s var(--ease);
}
.lb__btn:hover, .lb__btn:focus-visible { opacity: 1; }
.lb__close { top: clamp(0.5rem, 2vw, 1.6rem); right: clamp(0.5rem, 2vw, 1.6rem); }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); font-size: 1.7rem; letter-spacing: 0; }
.lb__prev { left: clamp(0.2rem, 2vw, 1.6rem); }
.lb__next { right: clamp(0.2rem, 2vw, 1.6rem); }
.lb__n {
  position: absolute; bottom: clamp(0.8rem, 2.4vw, 1.8rem); left: 50%; transform: translateX(-50%);
  color: var(--cream); opacity: 0.55; font-size: 0.66rem; letter-spacing: 0.24em;
  font-variant-numeric: tabular-nums;
}


/* =====================================================================
   PAST WORK — dark CTA band leading to the project page
   ===================================================================== */
.past {
  background: var(--dark); color: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  padding: var(--sect-y) var(--pad-x);
}
.past .eyebrow { color: var(--cream-soft); margin-bottom: 1.6rem; }
.past .h-lg { margin-bottom: 2rem; }
.past .lede { color: var(--cream); opacity: 0.86; margin-bottom: 2.6rem; }
.past .link-swap { color: var(--cream); }
.past .link-swap__inner span:last-child { color: var(--accent); }
.past__thumb { display: block; overflow: hidden; }
.past__thumb img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.2s var(--ease); }
.past__thumb:hover img { transform: scale(1.04); }

/* =====================================================================
   PROJECT PAGE — hero, intro, plates
   ===================================================================== */
.phero {
  position: relative; min-height: 82vh; min-height: 82svh;
  display: flex; align-items: flex-end; overflow: hidden;
  color: var(--cream); padding: var(--pad-x);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.phero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.phero__media picture, .phero__media img { width: 100%; height: 100%; }
.phero__media img {
  object-fit: cover; filter: grayscale(0.35) brightness(0.7) contrast(1.05);
  transform: scale(1.06); transition: transform 9s ease-out;
}
body.loaded .phero__media img { transform: scale(1); }
.phero__content { position: relative; max-width: min(60rem, 100%); }
.phero__eyebrow {
  font-size: var(--step--1); letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--cream); opacity: 0.8; margin-bottom: clamp(1rem, 2vw, 1.6rem);
}
.phero__title { font-size: var(--hero); line-height: 1.02; font-weight: 300; letter-spacing: -0.015em; }
.phero__sub {
  margin-top: clamp(1.4rem, 2.6vw, 2.2rem); max-width: 46ch;
  color: var(--cream); opacity: 0.86;
}

.pintro__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.pintro__body { display: flex; flex-direction: column; gap: 1.4rem; }
.pintro__body .body-copy { max-width: 52ch; }
.pintro__body em { font-style: italic; color: var(--accent); }

.plates {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1rem, 2vw, 2rem);
  row-gap: clamp(2.5rem, 6vw, 7rem);
  padding: 0 var(--pad-x) var(--sect-y);
}
.plate { position: relative; }
.plate__btn {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  overflow: hidden; cursor: zoom-in; border-radius: 2px;
}
.plate__btn img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.plate__btn:hover img, .plate__btn:focus-visible img { transform: scale(1.03); }

.p-full     { grid-column: 1 / -1; }
.p-inset    { grid-column: 2 / 12; }
.p-half-l   { grid-column: 1 / 7; }
.p-half-r   { grid-column: 7 / -1; }
.p-narrow-l { grid-column: 1 / 6; }
.p-narrow-c { grid-column: 4 / 10; }


/* =====================================================================
   DOOR PROFILES
   ===================================================================== */
/* pages without a dark hero need dark header text from the start */
/* Must carry :not([data-scrolled]) too, or the dark-hero rules above out-specify
   this and the header renders cream-on-cream (i.e. invisible) on light pages. */
.site-header--solid:not([data-scrolled]) .brand__word,
.site-header--solid:not([data-scrolled]) .menu-toggle { color: var(--ink); }
.site-header--solid:not([data-scrolled]) .brand__mark { filter: none; }
.site-header--solid:not([data-scrolled]) .menu-toggle__lines i { background: var(--ink); }
.site-header--solid:not([data-scrolled]) .header__cta {
  color: var(--ink); border-color: var(--line);
}
.site-header--solid:not([data-scrolled]) .header__cta:hover {
  background: var(--accent); border-color: var(--accent); color: var(--bg);
}

.phead { padding: calc(var(--sect-y) * 0.8) var(--pad-x) clamp(2.5rem, 5vw, 4rem); }
.phead__inner { max-width: 60ch; }
.phead .eyebrow { margin-bottom: 1.6rem; }
.phead .lede { margin-top: 1.8rem; max-width: 56ch; }

.pgrid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem) clamp(1.2rem, 2.5vw, 2.4rem);
  padding: 0 var(--pad-x) var(--sect-y);
}
.pf { display: flex; flex-direction: column; }
.pf__btn {
  display: block; width: 100%; padding: clamp(0.9rem, 2vw, 1.6rem); border: 0;
  overflow: hidden; cursor: zoom-in; border-radius: 2px; background: var(--bg-2);
}
/* contain, not cover — the frame edge and reveal ARE the profile, so never crop them */
.pf__btn img {
  width: 100%; height: 100%; aspect-ratio: 2/3; object-fit: contain; display: block;
  transition: transform 1.1s var(--ease);
}
.pf__btn:hover img, .pf__btn:focus-visible img { transform: scale(1.035); }

.pf__meta { padding-top: 1.1rem; }
.pf__name {
  font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: 0.06em;
  display: flex; align-items: baseline; gap: 0.55rem;
}
.pf__kanji { font-size: 0.72em; color: var(--accent); letter-spacing: 0; }
.pf__desc { color: var(--ink-soft); font-size: var(--step--1); margin-top: 0.35rem; }
.pf__count {
  color: var(--ink-faint); font-size: 0.66rem; letter-spacing: 0.2em;
  text-transform: uppercase; margin-top: 0.5rem;
}

.pf__swatches { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.pf__sw {
  width: 46px; height: 58px; padding: 0; border: 0; background: var(--bg-2);
  overflow: hidden; cursor: zoom-in; border-radius: 2px; opacity: 0.85;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.pf__sw img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pf__sw:hover, .pf__sw:focus-visible { opacity: 1; transform: translateY(-2px); }


/* =====================================================================
   HOMEPAGE — door profiles teaser
   ===================================================================== */
.doors__head { max-width: 52ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.doors__head .eyebrow { margin-bottom: 1.6rem; }
.doors__head .h-lg { margin-bottom: 1.8rem; }
.doors__head .lede { margin-bottom: 2.4rem; }
.doors__row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.7rem, 1.6vw, 1.4rem);
}
.doors__tile { display: block; }
.doors__tile img {
  width: 100%; aspect-ratio: 2/3; object-fit: contain;
  background: var(--bg-2); padding: clamp(0.5rem, 1.2vw, 0.9rem);
  border-radius: 2px; transition: transform 0.9s var(--ease);
}
.doors__tile:hover img { transform: translateY(-4px); }
.doors__name {
  display: block; margin-top: 0.7rem;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-faint); transition: color 0.3s var(--ease);
}
.doors__tile:hover .doors__name { color: var(--accent); }


/* =====================================================================
   HAND-MADE VENEER
   ===================================================================== */
.veneer { padding: 0 var(--pad-x) var(--sect-y); }
.veneer__head { max-width: 56ch; margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.veneer__head .eyebrow { margin-bottom: 1.6rem; }
.veneer__head .lede { margin-top: 1.8rem; max-width: 54ch; }
.vgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(0.7rem, 1.6vw, 1.4rem); }
.vn__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--bg-2);
  overflow: hidden; cursor: zoom-in; border-radius: 2px; }
.vn__btn img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block;
  transition: transform 1.1s var(--ease); }
.vn__btn:hover img, .vn__btn:focus-visible img { transform: scale(1.05); }


/* =====================================================================
   MATERIALS  — headline left, the four facts as a 2x2 block on the right
   ===================================================================== */
/* Dark spec-sheet moment — restores the page's mid-scroll tonal contrast */
.materials { background: var(--dark); color: var(--cream); }
.materials .eyebrow { color: var(--cream-soft); }
.materials .lede { color: var(--cream); opacity: 0.85; }
.materials__img { display: block; overflow: hidden; border-radius: 2px; margin-bottom: 1rem; }
.materials__img img { width: 100%; aspect-ratio: 3/1; object-fit: cover; display: block;
  filter: saturate(0.92); transition: transform 1.2s var(--ease); }
.materials__list li:hover .materials__img img { transform: scale(1.04); }
.materials__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.materials__head .eyebrow { margin-bottom: 1.6rem; }
.materials__head .lede { margin-top: 1.8rem; max-width: 30ch; }
.materials__list {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 3.5vw, 3.4rem);
}
.materials__list li {
  display: flex; flex-direction: column; gap: 0.6rem;
  padding-top: clamp(1.2rem, 2vw, 1.6rem); border-top: 1px solid rgba(238,230,216,0.18);
}
.materials__k {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem); color: #C79A63;
  line-height: 1.1; letter-spacing: -0.01em;
}
.materials__v { font-size: var(--step-0); color: var(--cream-soft); line-height: 1.6; max-width: 30ch; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 860px) {
  .craft { grid-template-columns: 1fr; }
  .craft__media { order: -1; max-width: none; }
  .work__intro { grid-template-columns: 1fr; }
  .collections { grid-template-columns: 1fr; gap: 1.6rem; }
  .work__media { order: -1; max-width: none; }
  .company__text { grid-template-columns: 1fr; }
  .proof { grid-template-columns: 1fr; gap: 1.8rem; }
  .materials__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__cta { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .doors__row { grid-template-columns: repeat(3, 1fr); }
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .past { grid-template-columns: 1fr; }
  .past__thumb { order: -1; }
  .pintro__grid { grid-template-columns: 1fr; }
  .plates { row-gap: clamp(1.8rem, 6vw, 3rem); }
  .plate { grid-column: 1 / -1 !important; }
}
@media (max-width: 540px) {
  .materials__list { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__top { justify-content: flex-start; }
  .brand__word { display: none; }
  .overlay__foot { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__chrome .clock { display: none; }
  .scroll-cue { margin-inline: auto; }
  .hero__chrome { justify-content: center; }
}

/* =====================================================================
   NO-JS SAFETY NET — never leave content hidden if scripts fail
   ===================================================================== */
html:not(.js) [data-reveal],
html:not(.js) .hero__logo,
html:not(.js) .hero__eyebrow,
html:not(.js) .hero__sub,
html:not(.js) .hero__chrome { opacity: 1 !important; transform: none !important; }
html:not(.js) .line > span { transform: none !important; }
html:not(.js) .hero__media img { transform: scale(1) !important; }

/* =====================================================================
   REDUCED MOTION
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .line > span { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__logo, .hero__eyebrow, .hero__sub, .hero__chrome { opacity: 1 !important; transform: none !important; }
  .hero__media img { transform: none !important; }
  .scroll-cue i::after { display: none; }
}
