/* ==========================================================================
   House of Nomique — stylesheet
   Layout idea: a quiet, paper-toned editorial page. Asymmetric two-column
   spreads, generous margins, and two material motifs drawn from the product:
   the saddle-stitch line (leather) and the deckle edge (cotton paper).
   ========================================================================== */

:root {
  /* Colour — paper, ink, leather, thread */
  --paper: #f3ede3;          /* page ground: warm cotton paper */
  --paper-deep: #e8dfd0;     /* beige panels */
  --paper-light: #faf7f1;    /* off-white surfaces, form fields */
  --ink: #2a231e;            /* charcoal-brown text */
  --ink-soft: #62564b;       /* secondary text */
  --leather: #8a5935;        /* natural tan leather — the accent */
  --leather-deep: #3a2a20;   /* dark leather bands, footer */
  --thread: #c9a678;         /* waxed linen thread */
  --rule: rgba(42, 35, 30, 0.14);
  --rule-strong: rgba(42, 35, 30, 0.28);
  --footer: #2b1f18;          /* footer: one step darker than the leather bands */
  --on-dark: #f1e8da;
  --on-dark-soft: rgba(241, 232, 218, 0.72);

  /* Type */
  --font-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;

  --fs-hero: clamp(2.75rem, 1.45rem + 4.9vw, 5.75rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 3.6vw, 4.6rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem);
  --fs-lead: clamp(1.125rem, 1.04rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* Space */
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(4.5rem, 3rem + 7vw, 10rem);
  --max: 1320px;
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(138, 89, 53, 0.22); }
:focus-visible { outline: 2px solid var(--leather); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; font-size: var(--fs-small);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--leather);
  margin-bottom: 1.6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--plain::before { display: none; }

.display { font-family: var(--font-display); line-height: 1.04; letter-spacing: -0.012em; }
.h-hero { font-size: var(--fs-hero); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.08; }
.h3 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; }
.italic { font-family: var(--font-serif); font-style: italic; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); max-width: 34em; }
.prose { max-width: 36em; color: var(--ink-soft); }
.prose strong, .lead strong { color: var(--ink); font-weight: 500; }
.measure { max-width: 34em; }
.muted { color: var(--ink-soft); }
.accent { color: var(--leather); }

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--leather-deep);
  --btn-fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.9rem;
  min-height: 52px; padding: 0.95rem 1.9rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bg); border-radius: 0;
  font-family: var(--font-sans); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn .arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.35s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover { background: var(--leather); border-color: var(--leather); }
.btn:hover .arrow { width: 26px; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--leather-deep); }
.btn--light:hover { background: var(--thread); border-color: var(--thread); color: var(--leather-deep); }

.text-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; padding-block: 0.4rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size 0.4s var(--ease), color 0.3s;
}
.text-link:hover { background-size: 40% 1px; color: var(--leather); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.6rem; }

/* ---------- Material motifs ---------- */
/* Saddle-stitch rule */
.stitch {
  height: 2px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg, var(--thread) 0 11px, transparent 11px 19px);
}
.stitch--dark { background: repeating-linear-gradient(90deg, var(--leather) 0 11px, transparent 11px 19px); opacity: 0.55; }

/* Stitched frame inside dark leather bands */
.stitched { position: relative; isolation: isolate; }
.stitched::before {
  content: ""; position: absolute; inset: 14px; pointer-events: none; z-index: 0;
  --t: rgba(201, 166, 120, 0.55);
  background:
    repeating-linear-gradient(90deg, var(--t) 0 10px, transparent 10px 18px) top / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, var(--t) 0 10px, transparent 10px 18px) bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(180deg, var(--t) 0 10px, transparent 10px 18px) left / 1.5px 100% no-repeat,
    repeating-linear-gradient(180deg, var(--t) 0 10px, transparent 10px 18px) right / 1.5px 100% no-repeat;
}
.stitched > * { position: relative; z-index: 1; }

/* Deckle edge (right side) */
.deckle {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L992 0 L987 12 L984 24 L993 36 L982 48 L991 60 L988 72 L982 84 L990 96 L982 108 L989 120 L994 132 L986 144 L981 156 L996 168 L985 180 L990 192 L983 204 L995 216 L988 228 L992 240 L981 252 L987 264 L994 276 L985 288 L989 300 L982 312 L993 324 L986 336 L990 348 L984 360 L996 372 L987 384 L982 396 L991 408 L985 420 L993 432 L988 444 L981 456 L990 468 L995 480 L984 492 L989 504 L983 516 L992 528 L986 540 L996 552 L982 564 L988 576 L991 588 L985 600 L994 612 L983 624 L989 636 L986 648 L993 660 L981 672 L990 684 L987 696 L995 708 L984 720 L991 732 L982 744 L988 756 L994 768 L985 780 L990 792 L983 804 L996 816 L986 828 L991 840 L982 852 L989 864 L993 876 L985 888 L988 900 L981 912 L994 924 L987 936 L990 948 L984 960 L992 972 L986 984 L992 1000 L0 1000Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L992 0 L987 12 L984 24 L993 36 L982 48 L991 60 L988 72 L982 84 L990 96 L982 108 L989 120 L994 132 L986 144 L981 156 L996 168 L985 180 L990 192 L983 204 L995 216 L988 228 L992 240 L981 252 L987 264 L994 276 L985 288 L989 300 L982 312 L993 324 L986 336 L990 348 L984 360 L996 372 L987 384 L982 396 L991 408 L985 420 L993 432 L988 444 L981 456 L990 468 L995 480 L984 492 L989 504 L983 516 L992 528 L986 540 L996 552 L982 564 L988 576 L991 588 L985 600 L994 612 L983 624 L989 636 L986 648 L993 660 L981 672 L990 684 L987 696 L995 708 L984 720 L991 732 L982 744 L988 756 L994 768 L985 780 L990 792 L983 804 L996 816 L986 828 L991 840 L982 852 L989 864 L993 876 L985 888 L988 900 L981 912 L994 924 L987 936 L990 948 L984 960 L992 972 L986 984 L992 1000 L0 1000Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}

/* ---------- Media frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper-deep); margin: 0; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--tall { aspect-ratio: 2 / 3; }
.frame--land { aspect-ratio: 3 / 2; }
.frame--wide { aspect-ratio: 16 / 9; }
.frame--square { aspect-ratio: 1 / 1; }
a:hover .frame img, .frame--hover:hover img { transform: scale(1.025); }
figcaption, .caption {
  margin-top: 0.9rem; font-size: var(--fs-small); color: var(--ink-soft); letter-spacing: 0.01em;
}
.caption--dot { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
.caption--dot span + span::before { content: "·"; margin-right: 0.75rem; color: var(--leather); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: var(--header-h); }

.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; gap: 0.32rem; }
.brand-small { font-size: 0.625rem; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--leather); padding-left: 0.1em; }
.brand-name { font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.01em; color: var(--ink); }

.primary-nav ul { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.75rem); }
.primary-nav a {
  position: relative; display: inline-block; padding-block: 0.5rem;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px;
  background: var(--leather); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--ink); }

.menu-toggle {
  display: none; align-items: center; gap: 0.8rem;
  min-height: 44px; padding: 0 0.25rem; background: none; border: 0; cursor: pointer;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
}
.menu-icon { position: relative; width: 22px; height: 9px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-icon::before { top: 0; }
.menu-icon::after { top: 7.5px; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 3.75px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 3.75px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 99;
  background: var(--paper); border-top: 1px solid var(--rule);
  overflow-y: auto; padding-block: 2rem 3rem;
}
.mobile-menu ul { display: grid; }
.mobile-menu li { border-bottom: 1px solid var(--rule); }
.mobile-menu a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: 1.15rem; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.1;
}
.mobile-menu a[aria-current="page"] { color: var(--leather); }
.mobile-menu a span { font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.mobile-menu .mobile-note { margin-top: 2.5rem; font-family: var(--font-serif); font-style: italic; color: var(--ink-soft); }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Home
   ========================================================================== */
/* Hero slider — full-bleed photographs, crossfade only (no zoom, so images stay pixel-sharp) */
.hero-slider {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(560px, calc(100svh - var(--header-h)), 900px);
  background: var(--leather-deep); color: var(--on-dark);
}
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s linear 1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease), visibility 0s; z-index: 1; }
.slide-media, .slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-media img { object-fit: cover; object-position: center; max-width: none; }
.slide-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 16, 11, 0.78) 0%, rgba(24, 16, 11, 0.55) 34%, rgba(24, 16, 11, 0.12) 68%, rgba(24, 16, 11, 0) 100%),
    linear-gradient(0deg, rgba(24, 16, 11, 0.55) 0%, rgba(24, 16, 11, 0) 30%);
}
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; padding-bottom: 5.5rem; }
.slide-copy { max-width: 37rem; }
.slide--low .slide-content { align-items: flex-end; padding-bottom: 7.5rem; }
.slide--low .slide-shade { background: linear-gradient(0deg, rgba(14, 9, 6, 0.85) 0%, rgba(14, 9, 6, 0.55) 40%, rgba(14, 9, 6, 0) 70%), linear-gradient(90deg, rgba(14, 9, 6, 0.5) 0%, rgba(14, 9, 6, 0) 60%); }
.slide--low .slide-title { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); }
.slide-copy .eyebrow, .slide-text { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); }
.slide-copy .eyebrow { color: var(--thread); }
.slide-title { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.4rem); line-height: 1.04; margin-bottom: 1.5rem; color: var(--on-dark); text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25); }
.slide-title em { font-family: var(--font-serif); font-style: italic; font-size: 0.88em; color: var(--thread); letter-spacing: -0.02em; }
.slide-text { font-size: var(--fs-lead); line-height: 1.6; color: rgba(241, 232, 218, 0.88); max-width: 30em; }
.slide .actions { margin-top: 2.2rem; }
.slide .text-link { color: var(--on-dark); }
.slide .text-link:hover { color: var(--thread); }

/* text settles in gently on the active slide */
.slide-copy > * { transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s; }
.slide:not(.is-active) .slide-copy > * { opacity: 0; transform: translateY(14px); }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: clamp(1.25rem, 3vw, 2.5rem); }
.slider-ui-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
.slider-count { margin: 0; display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; letter-spacing: 0.14em; font-variant-numeric: tabular-nums; color: rgba(241, 232, 218, 0.75); }
.slider-count [data-current] { color: var(--on-dark); font-weight: 600; }
.slider-sep { width: 22px; height: 1px; background: rgba(241, 232, 218, 0.5); }
.slider-dots { display: flex; gap: 0.5rem; flex: 1; max-width: 360px; }
.slider-dot { flex: 1; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.slider-dot span { position: relative; display: block; width: 100%; height: 2px; background: rgba(241, 232, 218, 0.28); overflow: hidden; }
.slider-dot span::after { content: ""; position: absolute; inset: 0; background: var(--on-dark); transform: scaleX(0); transform-origin: left; }
.slider-dot[aria-current="true"] span::after { transform: scaleX(1); }
.slider-dot:hover span { background: rgba(241, 232, 218, 0.5); }
[data-slider].is-playing .slider-dot[aria-current="true"] span::after { animation: slider-progress var(--interval, 6500ms) linear forwards; }
@keyframes slider-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: 0.5rem; margin-left: auto; }
.slider-btn {
  width: 48px; height: 48px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(24, 16, 11, 0.25); color: var(--on-dark); border: 1px solid rgba(241, 232, 218, 0.4); border-radius: 0;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s;
}
.slider-btn:hover { background: var(--on-dark); color: var(--leather-deep); border-color: var(--on-dark); }
.slider-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.slider-btn .i-play { display: none; }
.slider-btn .i-play path { fill: currentColor; stroke: none; }
[data-slider].is-paused .slider-btn .i-play { display: block; }
[data-slider].is-paused .slider-btn .i-pause { display: none; }
.hero-slider :focus-visible { outline-color: var(--thread); }

/* Thoughts — ruled list */
.thoughts-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.thoughts-intro .h2 { margin-bottom: 2rem; }
.ruled {
  position: relative; border-top: 1px solid var(--rule);
  padding-left: clamp(2.25rem, 5vw, 4.5rem);
}
.ruled::before { content: ""; position: absolute; left: clamp(1rem, 2.6vw, 2.4rem); top: 0; bottom: 0; width: 1px; background: rgba(138, 89, 53, 0.35); }
.ruled li {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem);
  line-height: 1.35; padding-block: 1.05rem 0.85rem; border-bottom: 1px solid var(--rule);
}
.ruled li.ruled-close { font-style: normal; font-family: var(--font-display); color: var(--leather); }

/* Spread: image + text */
.spread { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); align-items: center; }
.spread-media { grid-column: 1 / span 5; }
.spread-copy { grid-column: 7 / span 6; }
.spread--flip .spread-media { grid-column: 8 / span 5; order: 2; }
.spread--flip .spread-copy { grid-column: 1 / span 6; order: 1; }

.pair-lines { display: grid; gap: 0.3rem; margin-bottom: 2.2rem; }
.pair-lines span:last-child { font-family: var(--font-serif); font-style: italic; color: var(--leather); font-size: 0.92em; }

.becomes {
  margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--rule);
  display: grid; gap: 0.6rem;
}
.becomes .big { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.2; color: var(--ink); }
.signoff { font-family: var(--font-serif); font-style: italic; color: var(--leather); }

.inset-figure { margin-top: 2.6rem; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.5rem; align-items: end; }
.inset-figure .frame { aspect-ratio: 1 / 1; }

/* Idea panel */
.panel { background: var(--paper-deep); }
.idea-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.idea-head .h2 { margin-bottom: 2.4rem; }
.idea-head .h2 span { display: block; font-family: var(--font-serif); font-style: italic; color: var(--leather); font-size: 0.9em; margin-top: 0.25rem; }
.idea-body .frame { aspect-ratio: 4 / 3; margin-bottom: 2.6rem; }
.idea-steps { display: grid; gap: 1.2rem; color: var(--ink-soft); }
.idea-steps p { margin: 0; }
.idea-steps .short { font-family: var(--font-serif); font-style: italic; color: var(--ink); font-size: 1.15rem; }
.keep-it {
  margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--rule-strong);
  font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.25;
}
.keep-it small { display: block; margin-top: 0.8rem; font-family: var(--font-sans); font-size: var(--fs-body); line-height: 1.7; color: var(--ink-soft); }

/* Made to change — dark leather band */
.leather-band { background: var(--leather-deep); color: var(--on-dark); }
.leather-band .eyebrow { color: var(--thread); }
.leather-band .prose, .leather-band .lead { color: var(--on-dark-soft); }
.change-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: center; }
.change-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.62fr); gap: 1.25rem; align-items: end; }
.change-media .frame:first-child { aspect-ratio: 2 / 3; }
.change-media .frame:last-child { aspect-ratio: 3 / 4; margin-bottom: 3.5rem; }
.change-lines { margin-block: 2rem 2.2rem; display: grid; gap: 0.35rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); color: var(--on-dark); }
.we-like { margin-top: 2rem; font-family: var(--font-display); font-size: var(--fs-h3); color: var(--thread); }

/* What will you put in yours */
.questions-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(2.5rem, 7vw, 8rem); align-items: start; }
.questions { margin-top: 2.6rem; border-top: 1px solid var(--rule); }
.questions li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1rem;
  padding-block: 1.15rem; border-bottom: 1px solid var(--rule);
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.2;
  transition: padding 0.45s var(--ease), color 0.3s;
}
.questions li::after { content: "?"; font-family: var(--font-serif); font-style: italic; color: var(--thread); font-size: 0.8em; opacity: 0; transition: opacity 0.4s; }
.questions li:hover { padding-left: 0.75rem; color: var(--leather); }
.questions li:hover::after { opacity: 1; }
.questions-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.questions-aside .frame { aspect-ratio: 3 / 4; }
.questions-aside .quiet { margin-top: 1.8rem; }
.quiet { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); }
.quiet strong { font-style: normal; font-family: var(--font-display); font-weight: 400; color: var(--ink); display: block; font-size: 1.35rem; margin-top: 0.5rem; }

/* Closing CTA */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; background: var(--leather-deep); color: var(--on-dark); }
.closing .frame { height: 100%; min-height: 360px; }
.closing-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 6vw, 6.5rem); }
.closing-copy .eyebrow { color: var(--thread); }
.closing-copy .h1 { margin-bottom: 1.6rem; }
.closing-copy p { color: var(--on-dark-soft); max-width: 28em; }

/* ==========================================================================
   Inner page heads
   ========================================================================== */
.page-head { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 5rem); }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; }
.page-head .h1 { margin-bottom: 1.8rem; }
.page-head .h1 em { font-family: var(--font-serif); font-style: italic; color: var(--leather); }
.page-head-note { color: var(--ink-soft); max-width: 30em; padding-bottom: 0.6rem; }
.breadcrumb { display: flex; gap: 0.6rem; font-size: var(--fs-label); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 2rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--leather); }

.full-bleed { width: 100%; }
.full-bleed .frame { aspect-ratio: 21 / 9; }

/* ==========================================================================
   Collection
   ========================================================================== */
.features-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.features-intro .h2 { margin-bottom: 1.6rem; }
.features-intro .frame { margin-top: 2.8rem; aspect-ratio: 3 / 2; }
.feature-list { border-top: 1px solid var(--rule); }
.feature {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  padding-block: 1.4rem; border-bottom: 1px solid var(--rule);
}
.feature-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  border: 1px solid var(--rule-strong); color: var(--leather); background: var(--paper-light);
}
.feature-icon svg { width: 30px; height: 30px; }
.feature h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); line-height: 1.2; }
.feature-index { font-family: var(--font-serif); font-style: italic; color: var(--ink-soft); font-size: 0.95rem; }

/* Size chooser — drawn to scale */
.chooser { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.chooser-copy .h2 { margin-bottom: 1.6rem; }
.size-readout { margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); display: grid; gap: 0.25rem; }
.size-readout .value { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1.05; }
.size-readout .metric { color: var(--ink-soft); font-size: var(--fs-small); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.scale-note { margin-top: 1.4rem; font-size: var(--fs-small); color: var(--ink-soft); }

.sizes {
  --u: clamp(5px, calc((100cqi - 4 * clamp(8px, 2vw, 22px) - 5rem) / 32), 19px);
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(8px, 2vw, 22px);
  padding: clamp(1.5rem, 3vw, 3rem) clamp(0.75rem, 2.5vw, 2.5rem) 1.25rem;
  background: var(--paper-light); border: 1px solid var(--rule);
  min-height: calc(13 * var(--u) + 7.5rem);
}
/* the sizes box measures its own column so the drawing always fits */
.sizes-wrap { container-type: inline-size; min-width: 0; }
.size {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-soft);
}
.size-book {
  position: relative; display: block;
  width: calc(var(--w) * var(--u)); height: calc(var(--h) * var(--u));
  background: linear-gradient(90deg, #6e4429 0 9%, #8a5935 9% 100%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 10px 18px -12px rgba(58, 42, 32, 0.6);
  transition: transform 0.45s var(--ease), background 0.4s;
}
.size-book::after {
  content: ""; position: absolute; inset: 5px 5px 5px calc(9% + 4px);
  border: 1px dashed rgba(201, 166, 120, 0.6);
}
.size-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.size:hover .size-book, .size[aria-pressed="true"] .size-book { transform: translateY(-6px); }
.size[aria-pressed="true"] .size-book { background: linear-gradient(90deg, #2f2119 0 9%, #3a2a20 9% 100%); }
.size[aria-pressed="true"] .size-label { color: var(--ink); }

/* Pages chooser */
.pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); margin-top: 3rem; }
.page-option { border-top: 1px solid var(--rule-strong); padding-top: 1.6rem; }
.page-block {
  height: calc(var(--n) * 38px); margin-bottom: 1.4rem;
  background:
    repeating-linear-gradient(180deg, rgba(42,35,30,0.13) 0 1px, transparent 1px 3px),
    var(--paper-light);
  border-left: 5px solid var(--leather);
  box-shadow: inset 0 1px 0 var(--rule), inset 0 -1px 0 var(--rule);
}
.page-option .count { font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); line-height: 1; }
.page-option .count small { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-left: 0.5rem; }

/* Personalisation methods */
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.method .frame { aspect-ratio: 4 / 5; margin-bottom: 2rem; }
.method h3 { margin-bottom: 0.9rem; }
.method p { color: var(--ink-soft); max-width: 30em; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.tags li {
  padding: 0.4rem 0.9rem; border: 1px solid var(--rule-strong);
  font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--ink);
}

/* Four-step line */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.step { padding: 1.8rem 1.5rem 0 0; }
.step + .step { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.step-num { font-family: var(--font-serif); font-style: italic; color: var(--leather); font-size: 0.95rem; display: block; margin-bottom: 0.9rem; }
.step-text { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); line-height: 1.2; }
.leather-band .steps { border-top-color: rgba(241, 232, 218, 0.25); }
.leather-band .step + .step { border-left-color: rgba(241, 232, 218, 0.15); }
.leather-band .step-num { color: var(--thread); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: clamp(0.75rem, 1.6vw, 1.5rem); align-items: end; }
.gallery .frame:nth-child(1) { aspect-ratio: 4 / 5; }
.gallery .frame:nth-child(2) { aspect-ratio: 2 / 3; }
.gallery .frame:nth-child(3) { aspect-ratio: 3 / 4; margin-bottom: 4rem; }

.statement { text-align: left; max-width: 18em; }
.statement-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: end; }

/* ==========================================================================
   Personalisation page
   ========================================================================== */
.emboss-studio { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.emboss-stage {
  position: relative; aspect-ratio: 5 / 4; overflow: hidden;
  display: grid; place-items: center; background: #7a4c2c;
}
.emboss-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.emboss-stage::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(30, 18, 10, 0.35) 100%); pointer-events: none; }
.emboss-text {
  position: relative; z-index: 2; max-width: 86%;
  font-family: var(--font-display); font-size: clamp(2.4rem, 1.3rem + 4.4vw, 5.4rem); line-height: 1.1;
  text-align: center; overflow-wrap: anywhere;
  color: rgba(62, 30, 10, 0.78);
  text-shadow: 0 1px 1px rgba(255, 210, 160, 0.45), 0 -1px 1px rgba(20, 8, 2, 0.6), 0 0 18px rgba(40, 18, 6, 0.25);
  transition: letter-spacing 0.4s var(--ease);
}
.emboss-text.is-caps { font-family: var(--font-sans); font-weight: 500; text-transform: uppercase; letter-spacing: 0.32em; font-size: clamp(1.4rem, 0.9rem + 2.4vw, 2.9rem); padding-left: 0.32em; }
.emboss-text.is-italic { font-family: var(--font-serif); font-style: italic; }
.stage-note { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(241, 232, 218, 0.75); }

.studio-controls { display: grid; gap: 1.8rem; }
.field { display: grid; gap: 0.55rem; }
.field label, .field-label { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.input, .textarea {
  width: 100%; min-height: 52px; padding: 0.85rem 1rem;
  background: var(--paper-light); border: 1px solid var(--rule-strong); border-radius: 0;
  font-size: 1rem; line-height: 1.5; color: var(--ink);
  transition: border-color 0.3s var(--ease), background-color 0.3s;
}
.input::placeholder, .textarea::placeholder { color: rgba(98, 86, 75, 0.7); }
.input:hover, .textarea:hover { border-color: var(--ink-soft); }
.input:focus, .textarea:focus { outline: none; border-color: var(--leather); background: #fff; box-shadow: 0 0 0 3px rgba(138, 89, 53, 0.14); }
.textarea { min-height: 170px; resize: vertical; }
.field-hint { font-size: 0.8125rem; color: var(--ink-soft); }

.segmented { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.segmented button {
  min-height: 44px; padding: 0.55rem 1.05rem; background: transparent; border: 1px solid var(--rule-strong);
  font-size: 0.875rem; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.segmented button:hover { border-color: var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--leather-deep); color: var(--on-dark); border-color: var(--leather-deep); }

.ideas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); }
.idea-col { padding: clamp(2rem, 4vw, 3.5rem) clamp(0rem, 3vw, 3rem) 0 0; }
.idea-col + .idea-col { padding-left: clamp(1.5rem, 4vw, 3.5rem); border-left: 1px solid var(--rule); }
.idea-col h3 { margin-bottom: 0.4rem; }
.idea-col .sub { color: var(--ink-soft); margin-bottom: 1.8rem; }
.word-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-block: 0.95rem; border-bottom: 1px solid var(--rule);
  font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem); line-height: 1.2;
}
.word-list li span { font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; color: var(--ink-soft); }

.craft-strip { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: clamp(0.75rem, 1.6vw, 1.5rem); align-items: center; }
.craft-strip .frame:nth-child(1) { aspect-ratio: 3 / 4; }
.craft-strip .frame:nth-child(2) { aspect-ratio: 4 / 3; }
.craft-strip .frame:nth-child(3) { aspect-ratio: 3 / 4; }

.custom-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem); background: var(--paper-deep);
}

/* ==========================================================================
   About — long-form
   ========================================================================== */
.essay { max-width: 760px; margin-inline: auto; }
.essay-section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 7rem); }
.essay-section + .essay-section { border-top: 1px solid var(--rule); }
.essay .eyebrow { margin-bottom: 1.4rem; font-size: var(--fs-label); line-height: 1.7; color: var(--leather); }
.leather-band .essay .eyebrow { color: var(--thread); }
.essay .h2 { margin-bottom: 2.2rem; }
.essay p { font-size: clamp(1.08rem, 1.02rem + 0.25vw, 1.2rem); line-height: 1.8; color: var(--ink-soft); }
.essay .pull {
  margin-block: 2.4rem; padding-left: clamp(1.25rem, 3vw, 2rem); border-left: 2px solid var(--leather);
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.85rem); line-height: 1.45; color: var(--ink);
}
.essay-figure { margin-block: clamp(3rem, 6vw, 5rem); }
.wide-figure { max-width: 1120px; margin-inline: auto; }
.wide-figure .frame { aspect-ratio: 16 / 8; }
.about-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.5rem); }
.about-split .frame { aspect-ratio: 4 / 5; }
.inline-list { display: grid; gap: 0.2rem; margin-block: 1.6rem; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--ink); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; }
.ask-list { display: grid; gap: 0.3rem; margin-block: 0 2rem; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; }
.details { border-top: 1px solid var(--rule-strong); margin-top: 3rem; }
.detail { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1rem; padding-block: 1.15rem; border-bottom: 1px solid var(--rule); align-items: baseline; }
.detail dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.detail dd { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.detail a { text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.detail a:hover { background-size: 100% 1px; }
.placeholder { color: var(--leather); font-style: italic; font-family: var(--font-serif); }

.form-card { background: var(--paper-light); border: 1px solid var(--rule); padding: clamp(1.75rem, 4vw, 3.5rem); }
.form-card .h3 { margin-bottom: 0.6rem; }
.form-card > p { color: var(--ink-soft); margin-bottom: 2.2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-card .input, .form-card .textarea { background: var(--paper); }
.form-card .input:focus, .form-card .textarea:focus { background: #fff; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; }
.form-status { font-size: 0.9rem; color: var(--ink-soft); min-height: 1.5em; }
.form-status.is-error { color: #8c2f1f; }
.field-error { font-size: 0.8125rem; color: #8c2f1f; min-height: 0; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #8c2f1f; }

.bulk { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: center; }
.bulk .frame { aspect-ratio: 4 / 5; }
.bulk-for { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1.8rem; }
.bulk-for li { padding: 0.45rem 1rem; border: 1px solid rgba(241, 232, 218, 0.3); font-size: 0.875rem; color: var(--on-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--footer); color: var(--on-dark); padding-top: clamp(4rem, 3rem + 4vw, 7rem); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)); gap: clamp(2.5rem, 5vw, 5rem); padding-bottom: clamp(3rem, 5vw, 5rem); }
.footer-brand .brand-small { color: var(--thread); }
.footer-brand .brand-name { color: var(--on-dark); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); }
.footer-brand .brand { margin-bottom: 1.6rem; }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); color: var(--on-dark); max-width: 20em; }
.footer-sub { margin-top: 0.6rem; color: var(--on-dark-soft); font-size: 0.95rem; }
.footer-col h2 { font-family: var(--font-sans); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--thread); margin-bottom: 1.4rem; }
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a { text-decoration: none; color: var(--on-dark-soft); transition: color 0.3s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col .placeholder { color: var(--thread); }
.footer-stitch { opacity: 0.5; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding-block: 1.8rem 2.2rem; font-size: 0.8125rem; color: var(--on-dark-soft); }
.credit { color: rgba(241, 232, 218, 0.55); letter-spacing: 0.02em; }
.credit a { text-decoration: none; color: rgba(241, 232, 218, 0.72); }
.credit a:hover { color: var(--on-dark); }

/* ==========================================================================
   Motion
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-img img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.js .reveal-img.is-in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal-img img { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .primary-nav { display: none; }
  .menu-toggle { display: inline-flex; }

  .spread-media { grid-column: 1 / span 6; }
  .spread-copy { grid-column: 7 / span 6; }
  .spread--flip .spread-media { grid-column: 7 / span 6; }
  .spread--flip .spread-copy { grid-column: 1 / span 6; }
  .chooser { grid-template-columns: minmax(0, 1fr); }
  .emboss-studio { grid-template-columns: minmax(0, 1fr); }
  .studio-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (max-width: 860px) {
  .thoughts-grid,
  .idea-grid,
  .change-grid,
  .questions-grid,
  .page-head-grid,
  .features-grid,
  .contact-grid,
  .bulk { grid-template-columns: minmax(0, 1fr); }

  .hero-slider { height: clamp(540px, 78svh, 760px); }
  .slide-shade {
    background:
      linear-gradient(90deg, rgba(24, 16, 11, 0.7) 0%, rgba(24, 16, 11, 0.4) 55%, rgba(24, 16, 11, 0.15) 100%),
      linear-gradient(0deg, rgba(24, 16, 11, 0.6) 0%, rgba(24, 16, 11, 0) 35%);
  }

  .spread { grid-template-columns: minmax(0, 1fr); }
  .spread-media, .spread-copy, .spread--flip .spread-media, .spread--flip .spread-copy { grid-column: 1 / -1; order: initial; }
  .spread-media .frame { aspect-ratio: 4 / 3; }

  .change-media { order: 2; }
  .questions-aside { position: static; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: 1.5rem; align-items: end; }
  .questions-aside .quiet { margin-top: 0; }

  .closing { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .closing .frame { aspect-ratio: 16 / 10; min-height: 0; }

  .methods { grid-template-columns: minmax(0, 1fr); gap: 4rem; }
  .method .frame { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--rule); margin-top: 1.8rem; }
  .leather-band .step:nth-child(n + 3) { border-top-color: rgba(241, 232, 218, 0.15); }

  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .frame:nth-child(3) { display: none; }
  .statement-wrap { grid-template-columns: minmax(0, 1fr); }

  .ideas-grid { grid-template-columns: minmax(0, 1fr); }
  .idea-col + .idea-col { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); margin-top: 2.5rem; }
  .idea-col { padding-right: 0; }

  .craft-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .craft-strip .frame:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .custom-card { grid-template-columns: minmax(0, 1fr); }
  .wide-figure .frame { aspect-ratio: 4 / 3; }
  .full-bleed .frame { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  /* phones get their own 4:5 crops; copy sits low over a soft shade */
  .hero-slider { width: 100%; height: min(max(580px, 125vw), 780px); }
  .slide-shade, .slide--low .slide-shade { background: linear-gradient(0deg, rgba(24, 16, 11, 0.92) 0%, rgba(24, 16, 11, 0.8) 42%, rgba(24, 16, 11, 0.4) 72%, rgba(24, 16, 11, 0.12) 100%); }
  .slide--low .slide-content { padding-bottom: 5.25rem; }
  .slide-content { align-items: flex-end; padding-bottom: 5.25rem; }
  .slide-title { font-size: clamp(2.15rem, 1.4rem + 4vw, 2.8rem); margin-bottom: 1rem; }
  .slide-text { font-size: 1rem; }
  .slide .actions { margin-top: 1.5rem; flex-direction: row; align-items: center; }
  .slide .actions .btn { width: auto; }
  .slider-dots { display: none; }
  .slider-btn { width: 44px; height: 44px; }
  body { font-size: 1rem; }
  .brand-name { font-size: 1.5rem; }
  .brand-small { font-size: 0.5625rem; }

  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .actions .text-link { align-self: flex-start; }

  .inset-figure { grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; }
  .change-media { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); gap: 0.75rem; }
  .change-media .frame:last-child { margin-bottom: 2rem; }

  .questions-aside { grid-template-columns: minmax(0, 1fr); }
  .questions-aside .frame { aspect-ratio: 4 / 3; }

  .feature { grid-template-columns: 52px minmax(0, 1fr); gap: 1.1rem; }
  .feature-icon { width: 52px; height: 52px; }
  .feature-icon svg { width: 26px; height: 26px; }
  .feature-index { display: none; }

  .sizes { gap: 8px; }
  .size-label { font-size: 0.625rem; letter-spacing: 0; }

  .pages { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .page-option { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1.25rem; align-items: center; }
  .page-block { margin-bottom: 0; }
  .page-option .count small { display: block; margin: 0.4rem 0 0; }

  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step + .step { padding: 1.4rem 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--rule); margin-top: 0; }
  .leather-band .step + .step { border-top-color: rgba(241, 232, 218, 0.15); }
  .step:nth-child(n + 3) { margin-top: 0; }

  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .frame:nth-child(2) { display: none; }

  .studio-controls { grid-template-columns: minmax(0, 1fr); }
  .emboss-stage { aspect-ratio: 4 / 3; }

  .craft-strip { grid-template-columns: minmax(0, 1fr); }
  .craft-strip .frame:nth-child(3) { display: none; }
  .craft-strip .frame:nth-child(1) { aspect-ratio: 4 / 3; }

  .about-split { grid-template-columns: minmax(0, 1fr); }
  .about-split .frame:last-child { display: none; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  .detail { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }

  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; }
  .stitched::before { inset: 8px; }
}

@media (max-width: 380px) {
  .slide .btn { padding-inline: 1.2rem; letter-spacing: 0.12em; white-space: nowrap; }
  .slide .actions { flex-direction: column; align-items: flex-start; }
  .slide-text { font-size: 0.9375rem; }
  :root { --gutter: 16px; }
  .sizes { gap: 5px; }
  .size-label { font-size: 0.5625rem; }
}

@media (min-width: 1600px) {
  :root { --max: 1440px; }
}

.statement-wrap > .text-link { justify-self: start; }

/* ==========================================================================
   Products — every design on one page
   Chapters by collection, a quiet sticky filter, square "plates" that never
   crop the photograph (object-fit: contain), thumbnails for every photo,
   and a full-size viewer.
   ========================================================================== */
.filter-bar {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40;
  background: var(--paper); border-block: 1px solid var(--rule);
}
.filter-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 64px; }
.chips { display: flex; gap: 0.25rem clamp(1rem, 2.4vw, 2.2rem); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-block: 0.5rem; margin-inline: -4px; padding-inline: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 0.45rem;
  min-height: 44px; padding: 0.5rem 0; background: none; border: 0; cursor: pointer;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.chip span { font-family: var(--font-serif); font-style: italic; text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--leather); }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.45rem; height: 1px; background: var(--leather); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--ink); }
.chip[aria-pressed="true"]::after { transform: scaleX(1); }
.filter-status { margin: 0; flex: none; font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; color: var(--ink-soft); }

.products { padding-bottom: var(--section); }
.chapter { padding-top: clamp(3.5rem, 2.5rem + 4vw, 7rem); scroll-margin-top: calc(var(--header-h) + 72px); }
.chapter[hidden] { display: none; }
.chapter-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.5rem clamp(1.25rem, 3vw, 2.75rem); align-items: end;
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--rule-strong); position: relative;
}
.chapter-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: repeating-linear-gradient(90deg, var(--leather) 0 11px, transparent 11px 19px); opacity: 0.4; }
.chapter-num { font-family: var(--font-serif); font-style: italic; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); line-height: 0.9; color: var(--thread); }
.chapter-title { font-size: var(--fs-h2); line-height: 1.05; }
.chapter-line { margin: 0.6rem 0 0; color: var(--ink-soft); max-width: 34em; }
.chapter-count { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 0.35rem; white-space: nowrap; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(3rem, 5vw, 4.5rem) clamp(1.25rem, 2.6vw, 2.5rem); }
.product { display: flex; flex-direction: column; min-width: 0; }
.product-main {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  background: var(--paper-deep);
}
.product-main::before { /* thin inset line, like a mount around a plate */
  content: ""; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
  border: 1px solid rgba(255, 252, 245, 0.0); transition: border-color 0.5s var(--ease);
}
.product-main:hover::before, .product-main:focus-visible::before { border-color: rgba(255, 252, 245, 0.7); }
.product-main img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.4s var(--ease), opacity 0.35s var(--ease); }
.product-main:hover img { transform: scale(1.025); }
.product-main img.is-swapping { opacity: 0.25; }
.product-zoom {
  position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(250, 247, 241, 0.92); color: var(--ink); opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.product-zoom svg, .lightbox-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.product-main:hover .product-zoom, .product-main:focus-visible .product-zoom { opacity: 1; transform: none; }

.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; cursor: pointer;
  background: var(--paper-deep); overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; opacity: 0.72; transition: opacity 0.3s var(--ease); }
.thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--leather); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.thumb:hover img { opacity: 1; }
.thumb[aria-current="true"] img { opacity: 1; }
.thumb[aria-current="true"]::after { transform: scaleX(1); }

.product-info { padding-top: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.7rem; font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.product-no { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0.02em; text-transform: none; font-size: 0.95rem; color: var(--leather); }
.product-title { font-family: var(--font-display); font-size: clamp(1.35rem, 1.15rem + 0.6vw, 1.7rem); line-height: 1.2; text-wrap: balance; }
.product-sub { display: block; margin-top: 0.3rem; font-family: var(--font-serif); font-style: italic; font-size: 0.72em; line-height: 1.35; color: var(--leather); }
.product-link { align-self: flex-start; margin-top: auto; padding-top: 1.1rem; background-position: left bottom; font-size: 0.75rem; }
.product-info .product-title { margin-bottom: 0.2rem; }

/* Full-size viewer */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: #1a120d; color: var(--on-dark);
  padding: max(12px, env(safe-area-inset-top)) clamp(12px, 3vw, 32px) max(12px, env(safe-area-inset-bottom));
}
.lightbox[hidden] { display: none; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; }
.lightbox-caption { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; font-family: var(--font-display); font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem); line-height: 1.3; min-width: 0; }
.lightbox-count { font-family: var(--font-sans); font-size: var(--fs-label); letter-spacing: 0.2em; color: var(--thread); font-variant-numeric: tabular-nums; }
.lightbox-stage { position: relative; margin: 0.5rem 0; min-height: 0; }
.lightbox-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.lightbox-nav { display: flex; justify-content: center; gap: 0.75rem; padding-top: 0.5rem; }
.lightbox-btn {
  flex: none; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; cursor: pointer;
  background: transparent; color: var(--on-dark); border: 1px solid rgba(241, 232, 218, 0.35); border-radius: 0;
  transition: background-color 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.lightbox-btn:hover { background: var(--on-dark); color: var(--leather-deep); border-color: var(--on-dark); }
.lightbox :focus-visible { outline-color: var(--thread); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-status { display: none; }
}
@media (max-width: 640px) {
  .filter-inner { min-height: 56px; }
  .chips { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 2.5rem; }
  .chip { font-size: 0.75rem; letter-spacing: 0.1em; }
  .chapter-head { grid-template-columns: auto minmax(0, 1fr); }
  .chapter-count { grid-column: 2; padding-bottom: 0; }
  .chapter-num { align-self: start; }
  .product-grid { grid-template-columns: minmax(0, 1fr); gap: 3.25rem; }
  .product-zoom { opacity: 1; transform: none; width: 36px; height: 36px; }
  .thumbs { gap: 6px; margin-top: 6px; }
}
