/* ==========================================================================
   SKN Technical Services — Editorial Luxury
   ========================================================================== */

:root {
  --paper: #fbf8f3;
  --cream: #f4eee4;
  --sand: #e9dfcf;
  --oak: #b8976a;
  --oak-deep: #7a5c37;
  --espresso: #1c1714;
  --ink: #2a241f;
  --muted: #6b5f55;
  --muted-light: rgba(244, 238, 228, 0.62);
  --hair: rgba(138, 106, 67, 0.16);
  --hair-light: rgba(244, 238, 228, 0.12);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 13vw, 176px);
  --radius: 2rem;
  --bezel: 6px;

  --shadow-soft: 0 40px 80px -40px rgba(86, 60, 30, 0.28), 0 12px 24px -16px rgba(86, 60, 30, 0.12);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--oak); color: var(--paper); }

/* Scrollbar — oak thumb on a cream track (desktop; touch devices keep their overlay bars) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--oak);
  border-radius: 999px;
  border: 3px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover { background: var(--oak-deep); }
::-webkit-scrollbar-corner { background: var(--cream); }
/* Firefox has no ::-webkit-scrollbar; setting these elsewhere would switch the rules above off */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-width: thin; scrollbar-color: var(--oak) var(--cream); }
}

:focus-visible {
  outline: 2px solid var(--oak);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Film grain — fixed, never scrolls */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: min(1320px, 100% - var(--gutter) * 2); margin-inline: auto; }

.section { padding-block: var(--section); position: relative; }

/* ---------- Typography ---------- */

.display,
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  color: var(--espresso);
}

h1 { font-size: clamp(3.2rem, 8.4vw, 8.75rem); }
h2 { font-size: clamp(2.6rem, 6vw, 6rem); }
h3 { font-size: clamp(2rem, 3.4vw, 3.25rem); line-height: 1; }

em, .italic { font-style: italic; font-weight: 300; color: var(--oak-deep); }

p { margin: 0; }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); color: var(--muted); max-width: 34rem; line-height: 1.75; }

.eyebrow {
  display: inline-flex;
  justify-self: start;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oak-deep);
  background: rgba(184, 151, 106, 0.12);
  box-shadow: inset 0 0 0 1px rgba(184, 151, 106, 0.24);
  line-height: 1.4;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--oak);
  box-shadow: 0 0 0 3px rgba(184, 151, 106, 0.2);
}
.eyebrow.on-dark { color: var(--sand); background: rgba(244, 238, 228, 0.06); box-shadow: inset 0 0 0 1px var(--hair-light); }

.section-head { display: grid; gap: 28px; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head.split {
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
  gap: 24px;
}
.section-head.split > :first-child { grid-column: 1 / 8; display: grid; gap: 28px; }
.section-head.split > :last-child { grid-column: 9 / 13; }

/* ---------- Double bezel ---------- */

.bezel {
  padding: var(--bezel);
  border-radius: var(--radius);
  background: rgba(138, 106, 67, 0.06);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.1), var(--shadow-soft);
}
.bezel > .core {
  position: relative;
  height: 100%;
  border-radius: calc(var(--radius) - var(--bezel));
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7);
}
.bezel.sm { --radius: 1.5rem; --bezel: 5px; }
.bezel.dark { background: rgba(244, 238, 228, 0.05); box-shadow: inset 0 0 0 1px var(--hair-light), 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.bezel.dark > .core { background: #231d19; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06); }

.media { overflow: hidden; }
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.media:hover img { transform: scale(1.045); }

/* ---------- Buttons (button-in-button) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 7px 7px 7px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease), color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
  transition: transform 0.6s var(--ease), background-color 0.6s var(--ease);
}
.btn-ico svg { width: 16px; height: 16px; }
.btn:hover .btn-ico { transform: translate(3px, -1px) scale(1.06); }

.btn-dark { background: var(--espresso); color: var(--paper); box-shadow: 0 18px 30px -18px rgba(28, 23, 20, 0.7); }
.btn-dark .btn-ico { background: rgba(244, 238, 228, 0.12); }
.btn-dark:hover { background: #2c241f; }
.btn-dark:hover .btn-ico { background: var(--oak); }

.btn-ghost { color: var(--espresso); box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.28); }
.btn-ghost .btn-ico { background: rgba(138, 106, 67, 0.1); }
.btn-ghost:hover { background: rgba(138, 106, 67, 0.08); }

.btn-oak { background: var(--oak); color: var(--espresso); }
.btn-oak .btn-ico { background: rgba(28, 23, 20, 0.12); }
.btn-oak:hover { background: #c7a77a; }

.btn-light { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(244, 238, 228, 0.22); }
.btn-light .btn-ico { background: rgba(244, 238, 228, 0.1); }
.btn-light:hover { background: rgba(244, 238, 228, 0.06); }

/* ---------- Floating island nav ---------- */

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 60;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  background: rgba(251, 248, 243, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.14), 0 20px 40px -24px rgba(60, 40, 20, 0.35);
  transition: background-color 0.7s var(--ease), box-shadow 0.7s var(--ease), transform 0.9s var(--ease);
  animation: navIn 1.2s var(--ease) 0.15s both;
}
.nav.scrolled { background: rgba(251, 248, 243, 0.82); }
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -24px); } }

.nav-logo { display: flex; align-items: center; margin-right: 18px; }
.nav-logo img { height: 34px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.5s var(--ease), background-color 0.5s var(--ease);
}
.nav-links a:hover { color: var(--espresso); }
.nav-links a.active { color: var(--espresso); background: rgba(138, 106, 67, 0.1); }
.nav .btn { margin-left: 10px; padding-left: 20px; font-size: 13px; }
.nav .btn-ico { width: 34px; height: 34px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; background: var(--espresso); }
.burger span {
  position: absolute;
  left: 15px;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.7s var(--ease), top 0.7s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: rgba(244, 238, 228, 0.86);
  -webkit-backdrop-filter: blur(40px) saturate(1.3);
  backdrop-filter: blur(40px) saturate(1.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 0.7s var(--ease); }
.menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu li { overflow: hidden; }
.menu a.menu-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.6rem, 11vw, 4.5rem);
  line-height: 1.1;
  color: var(--espresso);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
}
.menu a.menu-link small { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--oak-deep); }
.menu-open .menu a.menu-link { transform: none; opacity: 1; transition-delay: calc(0.12s + var(--i) * 0.06s); }
.menu-foot {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.menu-open .menu-foot { opacity: 1; transform: none; transition-delay: 0.5s; }
.menu-foot a { color: var(--espresso); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100dvh;
  padding-top: clamp(128px, 15vh, 168px);
  padding-bottom: clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(184, 151, 106, 0.22), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(184, 151, 106, 0.12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.hero-copy { grid-column: 1 / 8; display: grid; gap: 32px; align-content: center; }
.hero-copy h1 { margin-top: 4px; }
.hero-copy h1 .line { display: block; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.14em; }
.hero-copy h1 .line > span { display: inline-block; animation: rise 1.4s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 0.12s); }
@keyframes rise { from { transform: translateY(130%); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.hero-visual { grid-column: 8 / 13; position: relative; }
.hero-visual > .bezel:not(.hero-chip) { --radius: 2.5rem; --bezel: 8px; }
.hero-visual > .bezel:not(.hero-chip) > .core { aspect-ratio: 4 / 5; }
.hero-visual > .bezel:not(.hero-chip) > .core img { object-position: 30% 50%; }

.hero-chip {
  position: absolute;
  left: -56px;
  bottom: 40px;
  width: 260px;
}
.hero-chip .core { display: flex; gap: 14px; align-items: center; padding: 10px 16px 10px 10px; background: rgba(251, 248, 243, 0.94); }
.hero-chip img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.hero-chip strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.1; color: var(--espresso); }
.hero-chip span { font-size: 12px; color: var(--muted); line-height: 1.45; display: block; margin-top: 2px; }

.badge {
  position: absolute;
  top: -42px;
  right: -26px;
  width: 128px; height: 128px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--espresso);
  color: var(--sand);
  box-shadow: 0 24px 40px -20px rgba(28, 23, 20, 0.6);
}
.badge svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.badge text { font-family: var(--sans); font-size: 9.6px; letter-spacing: 0.24em; fill: currentColor; text-transform: uppercase; }
.badge .arrow { width: 22px; height: 22px; transition: transform 0.6s var(--ease); }
.badge:hover .arrow { transform: translateY(4px); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-meta {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}
.hero-meta > div { grid-column: span 3; display: grid; gap: 4px; }
.hero-meta > div:first-child { grid-column: span 4; }
.hero-meta > div:last-child { grid-column: 11 / 13; justify-self: end; text-align: right; }
.hero-meta dt { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--oak-deep); font-weight: 500; }
.hero-meta dd { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--espresso); }

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding-block: 30px;
  background: var(--espresso);
  color: var(--sand);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.marquee-track li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}
.marquee-track li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--oak); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Studio ---------- */

.studio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.studio-statement { grid-column: 1 / 8; display: grid; gap: 32px; align-content: start; }
.studio-statement h2 { font-size: clamp(2.4rem, 4.8vw, 4.75rem); line-height: 1.02; }
.studio-aside { grid-column: 9 / 13; display: grid; gap: 20px; align-content: end; }
.studio-aside .lead { max-width: none; }

.studio-cards { margin-top: clamp(64px, 8vw, 112px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.studio-cards .vision { grid-column: 1 / 8; }
.studio-cards .goal { grid-column: 8 / 13; }
.studio-card .core { padding: clamp(32px, 4vw, 56px); display: grid; gap: 24px; align-content: space-between; min-height: 420px; }
.studio-card.vision .core { background: url("../assets/oak-texture.jpg") center / cover; }
.studio-card.vision .core::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(251, 248, 243, 0.3), rgba(233, 223, 207, 0.1)); }
.studio-card .core > * { position: relative; }
.studio-card .label { font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--oak-deep); display: flex; justify-content: space-between; }
.studio-card p.big { font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 2.6vw, 2.6rem); line-height: 1.12; color: var(--espresso); letter-spacing: -0.01em; }
.studio-card.goal .core { background: var(--espresso); }
.studio-card.goal p.big { color: var(--cream); }
.studio-card.goal .label { color: var(--oak); }

/* ---------- Capabilities ---------- */

.caps { background: var(--cream); }
.cap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.cap-list li { border-bottom: 1px solid var(--hair); }
.cap-row {
  display: grid;
  grid-template-columns: 72px 1fr minmax(0, 340px) 56px;
  align-items: center;
  gap: 24px;
  padding-block: clamp(22px, 2.6vw, 34px);
}
.cap-num { font-size: 12px; letter-spacing: 0.18em; color: var(--oak-deep); font-weight: 500; }
.cap-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1;
  color: var(--espresso);
  letter-spacing: -0.02em;
  transition: transform 0.8s var(--ease), color 0.8s var(--ease);
}
.cap-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.cap-go {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.25);
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.cap-go svg { width: 18px; height: 18px; }
.cap-row:hover .cap-title { transform: translateX(18px); color: var(--oak-deep); font-style: italic; }
.cap-row:hover .cap-go { background: var(--espresso); color: var(--paper); transform: rotate(-45deg); }

.cap-preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 40;
  width: 280px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.85);
  transition: opacity 0.5s var(--ease);
  will-change: transform;
}
.cap-preview .core { aspect-ratio: 4 / 5; }
.cap-preview.show { opacity: 1; }
@media (hover: none), (max-width: 1023px) { .cap-preview { display: none; } }

/* ---------- Process ---------- */

.process-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.process-intro { grid-column: 1 / 6; position: sticky; top: 140px; align-self: start; display: grid; gap: 28px; }
.process-intro .bezel { margin-top: 16px; max-width: 420px; }
.process-intro .core { aspect-ratio: 3 / 2; }
.steps { grid-column: 7 / 13; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding-block: 36px;
  border-top: 1px solid var(--hair);
}
.step:last-child { border-bottom: 1px solid var(--hair); }
.step-n { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 3.4rem; line-height: 0.9; color: var(--oak); }
.step h3 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 30rem; }

/* ---------- Materials bento ---------- */

.materials { background: var(--espresso); color: var(--cream); }
.materials h2 { color: var(--cream); }
.materials em { color: var(--oak); }
.materials .lead { color: var(--muted-light); }

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(180px, 17vw, 240px);
  gap: 18px;
}
.tile { position: relative; }
.tile .core { height: 100%; }
.tile figcaption {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--espresso);
  background: rgba(251, 248, 243, 0.9);
  transform: translateY(6px);
  opacity: 0.94;
  transition: transform 0.7s var(--ease);
}
.tile:hover figcaption { transform: none; }
.t-board { grid-column: span 7; grid-row: span 2; }
.t-stone { grid-column: span 5; }
.t-glass { grid-column: span 5; }
.t-fabric { grid-column: span 4; }
.t-veneer { grid-column: span 4; }
.t-brass { grid-column: span 4; }
.t-pendant { grid-column: span 6; }
.t-plaster { grid-column: span 3; }
.t-block { grid-column: span 3; }
.t-brass .core, .t-pendant .core, .t-block .core { background: #000; }
.t-veneer img { scale: 1.35; transform-origin: 75% 25%; object-position: 80% 20%; }

.mat-note {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--hair-light);
}
.mat-note ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mat-note li { padding: 8px 16px; border-radius: 999px; font-size: 13px; color: var(--sand); box-shadow: inset 0 0 0 1px var(--hair-light); }

/* ---------- Craft (Z-axis cascade) ---------- */

.craft-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.craft-copy { grid-column: 1 / 6; display: grid; gap: 32px; }
.promises { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.promises li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding-block: 18px;
  border-top: 1px solid var(--hair);
  font-size: 16px;
  color: var(--ink);
}
.promises li:last-child { border-bottom: 1px solid var(--hair); }
.promises li span { font-size: 11px; letter-spacing: 0.16em; color: var(--oak-deep); padding-top: 4px; font-weight: 500; }

.cascade { grid-column: 7 / 13; position: relative; height: clamp(560px, 52vw, 720px); }
.cascade .bezel { position: absolute; transition: transform 1s var(--ease); }
.cascade .core { height: 100%; }
.cascade .c1 { width: 58%; height: 56%; top: 0; left: 0; transform: rotate(-3deg); z-index: 1; }
.cascade .c2 { width: 42%; height: 50%; top: 6%; right: 0; transform: rotate(2.5deg); z-index: 2; }
.cascade .c3 { width: 50%; height: 46%; bottom: 0; left: 8%; transform: rotate(2deg); z-index: 3; }
.cascade .c4 { width: 36%; height: 48%; bottom: 4%; right: 4%; transform: rotate(-2deg); z-index: 4; }
.cascade .bezel:hover { transform: rotate(0deg) translateY(-8px); z-index: 5; }
.cascade-quote {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 50%;
  width: min(300px, 70%);
  transform: translate(-50%, -50%);
}
.cascade-quote .core { padding: 22px 24px; background: var(--espresso); }
.cascade-quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 21px; line-height: 1.35; color: var(--cream); }

/* ---------- Projects ---------- */

.projects { background: var(--cream); }
.projects-head-meta { display: flex; gap: 32px; color: var(--muted); font-size: 14px; }
.projects-head-meta strong { display: block; font-family: var(--serif); font-weight: 300; font-size: 44px; line-height: 1; color: var(--espresso); }

.project { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--hair); scroll-margin-top: 80px; }
.project:first-of-type { border-top: 0; padding-top: 0; }
.project-info { grid-column: 1 / 5; position: sticky; top: 120px; align-self: start; display: grid; gap: 22px; }
.project .gallery { grid-column: 5 / 13; }
.project.flip .project-info { grid-column: 9 / 13; grid-row: 1; }
.project.flip .gallery { grid-column: 1 / 9; grid-row: 1; }

.project-idx { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--oak-deep); }
.project-idx span { color: var(--muted); font-style: normal; font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; margin-left: 6px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.project-meta span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  background: rgba(251, 248, 243, 0.8);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.16);
}
.project-meta svg { width: 16px; height: 16px; color: var(--oak-deep); }
.project-info p { color: var(--muted); }
.project-info ul.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.project-info ul.ticks li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--ink); }
.project-info ul.ticks li::before { content: ""; flex: none; width: 14px; height: 1px; background: var(--oak); transform: translateY(-4px); }

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: clamp(120px, 11.5vw, 168px);
  gap: 14px;
}
.gallery .g { grid-column: var(--c); grid-row: var(--r); }
.gallery .g .core { height: 100%; }
.gallery button.media { display: block; width: 100%; height: 100%; cursor: zoom-in; }

/* ---------- Furniture ---------- */

.furniture-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.furn-a { grid-column: 1 / 6; }
.furn-a .core { aspect-ratio: 1 / 1; }
.furn-copy { grid-column: 6 / 13; display: grid; gap: 32px; padding-left: clamp(0px, 3vw, 48px); }
.furn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.furn-b .core { aspect-ratio: 4 / 3; }

/* ---------- Contact ---------- */

.contact { background: var(--espresso); color: var(--cream); overflow: hidden; isolation: isolate; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28, 23, 20, 0.86) 0%, rgba(28, 23, 20, 0.94) 60%, var(--espresso) 100%), url("../assets/craftsman.jpg") center 30% / cover;
}
.contact h2 { color: var(--cream); font-size: clamp(2.8rem, 7vw, 7rem); }
.contact em { color: var(--oak); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.contact-copy { grid-column: 1 / 7; display: grid; gap: 40px; }
.contact-copy .lead { color: var(--muted-light); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; }
.contact-list li { border-top: 1px solid var(--hair-light); }
.contact-list li:last-child { border-bottom: 1px solid var(--hair-light); }
.contact-list a, .contact-list div {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 16px;
  padding-block: 18px;
}
.contact-list .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(244, 238, 228, 0.06); color: var(--oak); }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light); }
.contact-list strong { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--cream); line-height: 1.2; }
.contact-list .go { width: 18px; height: 18px; color: var(--muted-light); transition: transform 0.6s var(--ease), color 0.6s var(--ease); }
.contact-list a:hover .go { transform: translate(3px, -3px); color: var(--oak); }

.contact-form { grid-column: 8 / 13; }
.contact-form .core { padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.contact-form h3 { color: var(--cream); font-size: 32px; }
.contact-form .hint { font-size: 13px; color: var(--muted-light); margin-top: -6px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-light); font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--cream);
  background: rgba(244, 238, 228, 0.04);
  border: 0;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: inset 0 0 0 1px var(--hair-light);
  transition: box-shadow 0.5s var(--ease), background-color 0.5s var(--ease);
  appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b8976a' stroke-width='1.2' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { color: var(--espresso); }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 238, 228, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--oak); background: rgba(244, 238, 228, 0.07); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-actions .btn { flex: 1 1 auto; justify-content: space-between; }

/* ---------- Footer ---------- */

.footer { background: var(--espresso); color: var(--muted-light); padding-block: 64px 40px; }
.footer-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid var(--hair-light); }
.footer-top img { height: 64px; width: auto; grid-column: 1 / 5; }
.footer-nav { grid-column: 6 / 13; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-nav a { transition: color 0.5s var(--ease); }
.footer-nav a:hover { color: var(--oak); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 12.5px; }

/* ---------- Lightbox ---------- */

.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}
.lightbox::backdrop { background: rgba(20, 16, 13, 0.9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn 0.6s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.lb-stage { display: grid; gap: 16px; justify-items: center; padding: 72px 16px; }
.lb-stage img { max-width: min(92vw, 1100px); max-height: 76dvh; border-radius: 1.25rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); animation: lbIn 0.8s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(0.96) translateY(12px); } }
.lb-cap { font-size: 13px; letter-spacing: 0.08em; color: var(--muted-light); }
.lb-btn {
  position: fixed;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(244, 238, 228, 0.08);
  box-shadow: inset 0 0 0 1px var(--hair-light);
  color: var(--cream);
  transition: background-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.lb-btn:hover { background: rgba(244, 238, 228, 0.16); }
.lb-btn:active { transform: scale(0.95); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(48px);
  filter: blur(8px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }
/* cascade cards keep their tilt */
.js .cascade [data-reveal].in.c1 { transform: rotate(-3deg); }
.js .cascade [data-reveal].in.c2 { transform: rotate(2.5deg); }
.js .cascade [data-reveal].in.c3 { transform: rotate(2deg); }
.js .cascade [data-reveal].in.c4 { transform: rotate(-2deg); }
.js .cascade [data-reveal].in:hover { transform: rotate(0deg) translateY(-8px); }
.js .cascade-quote[data-reveal] { transform: translate(-50%, calc(-50% + 48px)); }
.js .cascade-quote[data-reveal].in { transform: translate(-50%, -50%); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav-links a { padding-inline: 10px; }
  .hero-chip { left: -24px; }
}

@media (max-width: 960px) {
  .nav { padding-left: 18px; }
  .nav-links, .nav .btn { display: none; }
  .burger { display: block; }
  .nav-logo { margin-right: 32px; }
}

@media (max-width: 767px) {
  body { font-size: 15px; }

  .section-head.split > :first-child,
  .section-head.split > :last-child,
  .hero-copy, .hero-visual,
  .studio-statement, .studio-aside,
  .studio-cards .vision, .studio-cards .goal,
  .process-intro, .steps,
  .craft-copy, .cascade,
  .project-info, .project .gallery,
  .project.flip .project-info, .project.flip .gallery,
  .furn-a, .furn-copy,
  .contact-copy, .contact-form,
  .footer-top img, .footer-nav { grid-column: 1 / -1; grid-row: auto; }

  .section-head.split, .hero-grid, .studio-grid, .studio-cards, .process-grid, .craft-grid,
  .project, .furniture-grid, .contact-grid, .footer-top { grid-template-columns: 1fr; }

  .hero { padding-top: 112px; }
  .hero-grid { gap: 48px; }
  .hero-visual { margin-inline: 4px; }
  .hero-visual > .bezel:not(.hero-chip) > .core { aspect-ratio: 4 / 4.4; }
  .hero-chip { left: 12px; bottom: -28px; width: auto; right: 12px; }
  .badge { width: 104px; height: 104px; top: -36px; right: -4px; }
  .badge text { font-size: 8px; }
  .hero-meta { grid-template-columns: 1fr; gap: 20px; margin-top: 72px; }
  .hero-meta > div, .hero-meta > div:first-child, .hero-meta > div:last-child { grid-column: 1 / -1; justify-self: start; text-align: left; }

  .studio-aside { align-content: start; }
  .studio-card .core { min-height: 320px; }

  .cap-row { grid-template-columns: 36px 1fr 44px; gap: 14px; }
  .cap-desc { grid-column: 2 / 3; grid-row: 2; margin-top: -8px; }
  .cap-go { width: 44px; height: 44px; grid-column: 3; grid-row: 1; }
  .cap-row:hover .cap-title { transform: none; }

  .process-intro { position: static; }
  .step { grid-template-columns: 64px 1fr; gap: 12px; padding-block: 28px; }
  .step-n { font-size: 2.6rem; }

  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .bento .tile { grid-column: span 1; grid-row: span 1; }
  .bento .t-board { grid-column: 1 / -1; grid-row: span 1; }
  .tile figcaption { left: 10px; bottom: 10px; font-size: 11px; padding: 6px 11px; }

  /* cascade → plain stack, no rotation or overlap */
  .cascade { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cascade .bezel, .js .cascade [data-reveal].in.c1, .js .cascade [data-reveal].in.c2,
  .js .cascade [data-reveal].in.c3, .js .cascade [data-reveal].in.c4 { position: relative; inset: auto; width: auto; height: 220px; transform: none; }
  .cascade .c1, .cascade .c4 { grid-column: 1 / -1; }
  .cascade-quote, .js .cascade-quote[data-reveal], .js .cascade-quote[data-reveal].in { position: relative; left: auto; top: auto; width: auto; transform: none; grid-column: 1 / -1; order: 5; height: auto; }

  .project { padding-block: 64px; }
  .project-info { position: static; }
  .project .gallery {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 16px;
    scrollbar-width: none;
  }
  .project .gallery::-webkit-scrollbar { display: none; }
  .gallery .g { flex: 0 0 78%; height: 380px; scroll-snap-align: center; }

  .furn-row { grid-template-columns: 1fr; }
  .furn-copy { padding-left: 0; }

  .contact-form .core { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-list strong { font-size: 19px; }
  .contact-list a, .contact-list div { grid-template-columns: 44px 1fr auto; gap: 12px; }

  .footer-nav { justify-content: flex-start; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; margin-top: 0; }
  .lb-prev { left: calc(50% - 62px); }
  .lb-next { right: calc(50% - 62px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
}

/* ==========================================================================
   Multipage additions — page hero, chips, work cards, catalogue, video
   ========================================================================== */

.project[hidden] { display: none; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  padding-top: clamp(150px, 20vh, 220px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(184, 151, 106, 0.22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(184, 151, 106, 0.12), transparent 70%);
}
.page-hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.page-hero-copy { grid-column: 1 / 9; display: grid; gap: 28px; }
.page-hero-aside { grid-column: 9 / 13; display: grid; gap: 24px; }
.page-hero-aside .lead { max-width: none; }
.page-hero h1 { font-size: clamp(3rem, 7.2vw, 7.25rem); }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.14em; }
.page-hero h1 .line > span { display: inline-block; animation: rise 1.4s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 0.12s); }
.page-hero .hero-meta { margin-top: clamp(48px, 6vw, 80px); }

/* ---------- Chips (filters and jump links) ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink);
  background: rgba(251, 248, 243, 0.8);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.2);
  transition: background-color 0.6s var(--ease), color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.chip small { font-size: 11px; letter-spacing: 0.12em; color: var(--oak-deep); transition: color 0.6s var(--ease); }
.chip:hover { background: rgba(138, 106, 67, 0.1); }
.chip.active,
.chip[aria-pressed="true"] { background: var(--espresso); color: var(--paper); box-shadow: none; }
.chip.active small,
.chip[aria-pressed="true"] small { color: var(--oak); }

/* ---------- Selected work cards (home) ---------- */

.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 64px) 24px; }
.work { display: grid; gap: 18px; align-content: start; grid-column: span 5; }
.work:nth-child(4n + 1),
.work:nth-child(4n + 4) { grid-column: span 7; }
.work:last-child:nth-child(odd) { grid-column: 1 / -1; }
.work .core { height: clamp(280px, 34vw, 520px); }
.work-cap { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding-inline: 6px; }
.work-cap small { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak-deep); }
.work-cap h3 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); transition: color 0.8s var(--ease); }
.work:hover .work-cap h3 { color: var(--oak-deep); }
.work:hover .media img { transform: scale(1.045); }
.work:hover .cap-go { background: var(--espresso); color: var(--paper); transform: rotate(-45deg); }
.work-more { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.work-more p { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.2; color: var(--espresso); }

/* ---------- Video tiles ---------- */

.media.is-video { position: relative; }
.play {
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251, 248, 243, 0.92);
  color: var(--espresso);
  box-shadow: 0 18px 30px -14px rgba(28, 23, 20, 0.6);
  transition: transform 0.7s var(--ease), background-color 0.7s var(--ease), color 0.7s var(--ease);
}
.play svg { width: 22px; height: 22px; margin-left: 2px; }
.is-video:hover .play { transform: scale(1.08); background: var(--espresso); color: var(--paper); }
.media-tag {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--espresso);
  background: rgba(251, 248, 243, 0.9);
}
.lb-stage video { max-width: min(92vw, 1100px); max-height: 76dvh; border-radius: 1.25rem; background: #000; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); animation: lbIn 0.8s var(--ease); }
.lb-stage [hidden] { display: none; }

/* ---------- Furniture: further pieces ---------- */

.furn-more { margin-top: clamp(64px, 8vw, 112px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--hair); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.furn-more-copy { grid-column: 1 / 5; display: grid; gap: 18px; }
.furn-more-copy h3 { font-size: clamp(1.75rem, 2.6vw, 2.5rem); }
.furn-more-copy p { color: var(--muted); }
.furn-more-media { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.furn-more-media .core { aspect-ratio: 4 / 3; }
.furn-more-media button.media { display: block; width: 100%; height: 100%; cursor: zoom-in; }

/* ---------- Catalogue ---------- */

.cat-bar { position: sticky; top: 96px; z-index: 30; margin-top: clamp(40px, 5vw, 64px); }
.cat-bar .chips {
  margin-inline: auto;
  width: max-content;
  max-width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 4px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(251, 248, 243, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.14), 0 20px 40px -24px rgba(60, 40, 20, 0.35);
}
.cat-bar .chips::-webkit-scrollbar { display: none; }
.cat-bar .chip { background: transparent; box-shadow: none; }
.cat-bar .chip:hover { background: rgba(138, 106, 67, 0.1); }
.cat-bar .chip.active { background: var(--espresso); }

.catalogue { padding-bottom: var(--section); }
.swatch-group { padding-block: clamp(64px, 8vw, 112px); border-top: 1px solid var(--hair); scroll-margin-top: 130px; }
.swatch-group:first-of-type { border-top: 0; }
.swatch-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.swatch-title { grid-column: 1 / 8; display: flex; align-items: baseline; gap: clamp(16px, 2vw, 28px); }
.swatch-title span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 0.9; color: var(--oak); }
.swatch-title h2 { font-size: clamp(2.4rem, 4.6vw, 4.5rem); }
.swatch-note { grid-column: 9 / 13; display: grid; gap: 10px; color: var(--muted); }
.swatch-note small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak-deep); }

.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 14px; }
.swatches.lg { grid-template-columns: repeat(4, 1fr); gap: 26px 18px; }
.swatch { margin: 0; display: grid; gap: 10px; align-content: start; }
.swatch .bezel { --radius: 1.1rem; --bezel: 4px; box-shadow: inset 0 0 0 1px rgba(138, 106, 67, 0.12), 0 18px 30px -22px rgba(86, 60, 30, 0.32); }
.swatches.lg .swatch .bezel { --radius: 1.5rem; --bezel: 5px; }
.swatch .core { aspect-ratio: 5 / 6; }
.swatch button.media { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.swatch figcaption { padding-inline: 6px; font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.4; color: var(--ink); }
.cat-foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cat-foot p { color: var(--muted); max-width: 40rem; }

@media (max-width: 1100px) {
  .swatches { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 767px) {
  .page-hero { padding-top: 128px; }
  .page-hero-grid, .swatch-head, .furn-more, .work-grid { grid-template-columns: 1fr; }
  .page-hero-copy, .page-hero-aside, .swatch-title, .swatch-note, .furn-more-copy, .furn-more-media,
  .work, .work:nth-child(4n + 1), .work:nth-child(4n + 4) { grid-column: 1 / -1; }
  .work .core { height: 300px; }
  .cat-bar { top: 90px; margin-inline: calc(var(--gutter) * -0.5); }
  .swatches { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
  .swatches.lg { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
  .swatch .bezel { --radius: 0.9rem; --bezel: 3px; }
  .swatch figcaption { font-size: 10.5px; letter-spacing: 0.04em; padding-inline: 3px; }
  .furn-more-media { grid-template-columns: 1fr; }
}

/* ---------- Footer link + legal pages ---------- */

.footer-bottom a { transition: color 0.5s var(--ease); }
.footer-bottom a:hover { color: var(--oak); }

.legal-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.legal-aside { grid-column: 1 / 5; position: sticky; top: 140px; align-self: start; display: grid; gap: 18px; color: var(--muted); }
.legal-aside small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oak-deep); }
.legal-body { grid-column: 6 / 13; }
.legal-item { display: grid; gap: 12px; padding-block: 32px; border-top: 1px solid var(--hair); }
.legal-item:last-child { border-bottom: 1px solid var(--hair); }
.legal-item h2 { font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.05; }
.legal-item p { color: var(--muted); max-width: 38rem; }
.legal-item a { color: var(--oak-deep); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 767px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-aside, .legal-body { grid-column: 1 / -1; }
  .legal-aside { position: static; }
}
