/* ==========================================================================
   formalshirtsthane.com — Options Mall
   "The Modern Gentleman" editorial design system
   ========================================================================== */

:root {
  --aubergine: #30202F;
  --aubergine-soft: #3F2B3E;
  --aubergine-deep: #231722;
  --champagne: #D8C6A5;
  --champagne-soft: #E9DFCC;
  --porcelain: #F4F0E9;
  --porcelain-deep: #EAE3D7;
  --sage: #8B9785;
  --sage-ink: #535E4F;
  --ink: #252525;
  --ink-soft: #4C4549;
  --line: rgba(48, 32, 47, 0.16);
  --line-strong: rgba(48, 32, 47, 0.38);
  --line-light: rgba(216, 198, 165, 0.3);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 4rem);
  --max: 1480px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--aubergine); color: var(--champagne); }

:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible, .menu-panel :focus-visible { outline-color: var(--champagne); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--aubergine); color: var(--porcelain);
  padding: .75rem 1.25rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; line-height: 1.4;
  color: var(--sage-ink);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .7; }
.on-dark .eyebrow, .eyebrow--light { color: var(--champagne); }
.eyebrow--plain::before { display: none; }

.display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 7.4vw, 7.8rem);
  line-height: .94; letter-spacing: -.012em;
}
.h-xl { font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 5.2vw, 5.2rem); line-height: 1; letter-spacing: -.01em; }
.h-lg { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.4vw, 3.3rem); line-height: 1.05; }
.h-md { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.15; }
.h-sm { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.italic, em { font-style: italic; }
.lead { font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1.45; font-weight: 400; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.numeral { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--champagne); line-height: 1; }
.prose p + p { margin-top: 1.15em; }
.prose a, .link-inline { border-bottom: 1px solid var(--line-strong); transition: border-color .3s var(--ease), color .3s var(--ease); }
.prose a:hover, .link-inline:hover { border-color: var(--aubergine); color: var(--aubergine); }
.dropcap::first-letter {
  float: left; font-family: var(--serif); font-size: 4.6em; line-height: .8;
  padding: .08em .12em 0 0; color: var(--aubergine); font-weight: 400;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4.5rem, 11vw, 10rem); }
.on-dark { background: var(--aubergine); color: var(--porcelain); }
.on-dark .muted { color: rgba(244, 240, 233, .76); }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.on-dark .rule { background: var(--line-light); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); }

/* Editorial divider: thin rules with a centred mark */
.divider {
  display: flex; align-items: center; gap: 1.25rem;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--sage-ink);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.on-dark .divider { color: var(--champagne); }
.on-dark .divider::before, .on-dark .divider::after { background: var(--line-light); }

/* ---------- Links & CTAs ---------- */
.cta {
  display: inline-flex; align-items: center; gap: 1.1rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  padding: 1.05rem 0; color: var(--aubergine);
  border-bottom: 1px solid var(--aubergine);
  transition: gap .45s var(--ease-out), color .3s var(--ease), border-color .3s var(--ease);
}
.cta svg { width: 26px; height: 10px; flex: none; transition: transform .45s var(--ease-out); }
.cta:hover { gap: 1.6rem; }
.cta:hover svg { transform: translateX(4px); }
.on-dark .cta, .cta--light { color: var(--champagne); border-color: var(--champagne); }

.cta-box {
  display: inline-flex; align-items: center; justify-content: center; gap: 1rem;
  min-height: 56px; padding: 1rem 2rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  background: var(--aubergine); color: var(--porcelain);
  border: 1px solid var(--aubergine);
  transition: background .35s var(--ease), color .35s var(--ease);
}
.cta-box:hover { background: transparent; color: var(--aubergine); }
.cta-box--champagne { background: var(--champagne); color: var(--aubergine); border-color: var(--champagne); }
.cta-box--champagne:hover { background: transparent; color: var(--champagne); }

/* ==========================================================================
   Header / masthead
   ========================================================================== */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 240, 233, .94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease);
}
.masthead.is-scrolled { box-shadow: 0 10px 30px -22px rgba(35, 23, 34, .45); }
.masthead__inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-h);
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
}
.brand { flex: none; display: block; padding: 4px 0; }
.brand img { width: auto; height: 48px; aspect-ratio: 708 / 390; }
.masthead__tagline {
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink-soft);
  padding-left: 1.25rem; border-left: 1px solid var(--line); line-height: 1.2; white-space: nowrap;
}
.primary-nav { margin-left: auto; }
.primary-nav ol { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 2.1rem); }
.primary-nav a {
  position: relative; display: inline-flex; align-items: flex-start; gap: .3rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink); padding: .6rem 0; white-space: nowrap;
}
.primary-nav a .n { font-family: var(--serif); font-style: italic; font-size: .82rem; letter-spacing: 0; color: var(--sage-ink); font-weight: 500; text-transform: none; margin-top: -.3rem; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .25rem; height: 1px;
  background: var(--aubergine); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a[aria-current="page"] { color: var(--aubergine); }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: .85rem;
  min-height: 48px; min-width: 48px; padding: 0 .25rem;
  font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--aubergine);
}
.menu-toggle__lines { position: relative; width: 28px; height: 10px; }
.menu-toggle__lines::before, .menu-toggle__lines::after {
  content: ""; position: absolute; left: 0; height: 1.5px; background: currentColor;
  transition: transform .45s var(--ease-out), width .45s var(--ease-out), top .45s var(--ease-out);
}
.menu-toggle__lines::before { top: 0; width: 28px; }
.menu-toggle__lines::after { top: 8px; width: 18px; }

/* Full-screen menu */
.menu-panel {
  position: fixed; inset: 0; z-index: 150;
  background: var(--aubergine); color: var(--porcelain);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out), opacity .4s var(--ease), visibility 0s linear .7s;
}
.menu-panel.is-open {
  visibility: visible; opacity: 1; clip-path: inset(0 0 0 0);
  transition: clip-path .7s var(--ease-out), opacity .3s var(--ease), visibility 0s;
}
.menu-panel__top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); padding-inline: var(--gutter);
  border-bottom: 1px solid var(--line-light);
}
.menu-panel__top .brand img { height: 42px; }
.menu-close {
  display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; min-width: 48px;
  font-size: .7rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne);
}
.menu-close span[aria-hidden] { position: relative; width: 22px; height: 22px; }
.menu-close span[aria-hidden]::before, .menu-close span[aria-hidden]::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 22px; height: 1.5px; background: currentColor;
}
.menu-close span[aria-hidden]::before { transform: rotate(45deg); }
.menu-close span[aria-hidden]::after { transform: rotate(-45deg); }
.menu-panel__nav { flex: 1; padding: clamp(1.5rem, 5vh, 3rem) var(--gutter); }
.menu-panel__nav li { border-bottom: 1px solid var(--line-light); }
.menu-panel__nav a {
  display: flex; align-items: baseline; gap: 1.1rem;
  min-height: 56px; padding: .55rem 0;
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 7vw, 3.2rem); line-height: 1.1;
  transform: translateY(14px); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out), color .3s var(--ease);
}
.menu-panel__nav a .n { font-size: .95rem; font-style: italic; color: var(--champagne); min-width: 1.8rem; }
.menu-panel__nav a[aria-current="page"] { color: var(--champagne); font-style: italic; }
.menu-panel__nav a:hover { color: var(--champagne); }
.menu-panel.is-open .menu-panel__nav a { transform: none; opacity: 1; }
.menu-panel.is-open .menu-panel__nav li:nth-child(2) a { transition-delay: .05s; }
.menu-panel.is-open .menu-panel__nav li:nth-child(3) a { transition-delay: .1s; }
.menu-panel.is-open .menu-panel__nav li:nth-child(4) a { transition-delay: .15s; }
.menu-panel.is-open .menu-panel__nav li:nth-child(5) a { transition-delay: .2s; }
.menu-panel.is-open .menu-panel__nav li:nth-child(6) a { transition-delay: .25s; }
.menu-panel.is-open .menu-panel__nav li:nth-child(7) a { transition-delay: .3s; }
.menu-panel__foot {
  display: grid; gap: .4rem; padding: 1.5rem var(--gutter) 2rem;
  font-size: .9rem; color: rgba(244, 240, 233, .8);
  border-top: 1px solid var(--line-light);
}
.menu-panel__foot a { color: var(--champagne); display: inline-block; padding: .35rem 0; }
body.menu-open { overflow: hidden; }

@media (max-width: 1180px) {
  .primary-nav, .masthead__tagline { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  :root { --header-h: 70px; }
  .brand img { height: 40px; }
  .menu-toggle__label { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding-top: 1.4rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--sage); }
.breadcrumbs a { border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.breadcrumbs a:hover { border-color: currentColor; }
.breadcrumbs [aria-current] { color: var(--aubergine); }
.on-dark .breadcrumbs ol, .breadcrumbs--light ol { color: rgba(244, 240, 233, .75); }
.on-dark .breadcrumbs [aria-current], .breadcrumbs--light [aria-current] { color: var(--champagne); }

/* ---------- Figures ---------- */
.fig { position: relative; }
.fig img { width: 100%; height: auto; background: var(--porcelain-deep); }
.fig figcaption, .caption {
  margin-top: .8rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; gap: .75rem; align-items: baseline;
}
.fig figcaption .numeral, .caption .numeral { font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--sage-ink); }
.on-dark .fig figcaption, .on-dark .caption { color: rgba(244, 240, 233, .72); }
.on-dark .fig figcaption .numeral { color: var(--champagne); }
.frame { padding: clamp(.6rem, 1.2vw, 1rem); background: var(--porcelain); box-shadow: 0 30px 60px -35px rgba(35, 23, 34, .45); }
.on-dark .frame { background: var(--porcelain); }

/* ==========================================================================
   Motion — reveal & parallax (only when JS present and motion allowed)
   ========================================================================== */
/* Elements are visible by default; JS arms only below-the-fold items with .will-reveal */
.will-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.will-reveal.is-in { opacity: 1; transform: none; }
.reveal-img.will-reveal { transform: translateY(18px); }
.reveal-img.will-reveal img { transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.reveal-img.will-reveal.is-in img { transform: none; }
.reveal-line { display: block; }
.reveal-line > span { display: block; }
.delay-1 { transition-delay: .12s !important; }
.delay-2 { transition-delay: .24s !important; }
.delay-3 { transition-delay: .36s !important; }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .will-reveal, .will-reveal img, .reveal-line > span { opacity: 1 !important; transform: none !important; animation: none !important; }
  [data-parallax] { transform: none !important; }
}

/* ==========================================================================
   HOME — 1. Editorial introduction
   ========================================================================== */
.intro {
  display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  min-height: calc(100svh - var(--header-h));
}
.intro__visual {
  position: relative; overflow: hidden; background: var(--aubergine);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 4vw, 3rem) clamp(3.5rem, 6vw, 6rem);
  isolation: isolate;
}
.intro__ghost {
  position: absolute; left: -0.06em; bottom: -.16em; z-index: -1;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(9rem, 22vw, 24rem); line-height: .8; color: transparent;
  -webkit-text-stroke: 1px rgba(216, 198, 165, .28);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.intro__vertical {
  position: absolute; left: clamp(1.2rem, 3vw, 2.8rem); top: clamp(2rem, 4vw, 3.5rem);
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: .68rem; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--champagne);
  display: flex; align-items: center; gap: 1rem;
}
.intro__vertical::after { content: ""; width: 1px; height: 4.5rem; background: var(--line-light); }
.intro__plate { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 3vw, 3rem); width: 100%; height: 100%; }
.intro__plate-meta {
  flex: 0 0 13rem; align-self: flex-end; color: var(--champagne-soft);
  font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.35; margin-bottom: 1rem;
}
.intro__plate-meta strong { display: block; font-family: var(--sans); font-style: normal; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); margin-bottom: .75rem; font-weight: 600; }
.intro__photo { flex: 0 1 auto; min-width: 0; display: flex; justify-content: center; }
/* Natural proportions only (no object-fit) so the photograph is never cropped */
.intro__photo img {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: min(calc(100svh - var(--header-h) - 6rem), 760px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
@media (max-width: 1360px) { .intro__plate-meta { display: none; } }
.intro__text {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 3.4vw, 3.6rem);
  border-left: 1px solid var(--line);
}
.intro__headline { font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 4.4vw, 4.9rem); line-height: .98; text-transform: uppercase; letter-spacing: .005em; margin: 1.6rem 0 1.8rem; color: var(--aubergine); }
.intro__headline em { color: var(--sage-ink); font-weight: 300; }
.intro__copy { max-width: 28rem; color: var(--ink-soft); }
.intro__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.scroll-cue { display: inline-flex; align-items: center; gap: .7rem; }
.scroll-cue::after { content: ""; width: 1px; height: 2.2rem; background: linear-gradient(var(--aubergine), transparent); animation: cue 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 960px) {
  .intro { grid-template-columns: 1fr; min-height: 0; }
  .intro__visual { padding: 2.5rem 1.25rem 2.5rem 3.5rem; }
  .intro__photo img { width: min(100%, 460px); max-height: none; }
  .intro__text { border-left: 0; }
}

/* ==========================================================================
   HOME — 2. The Formal Shirt Edit
   ========================================================================== */
.edit__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); align-items: end; margin-bottom: clamp(3.5rem, 8vw, 7rem); }
.edit__head h2 { grid-column: 1 / 9; }
.edit__head p { grid-column: 9 / 13; color: var(--ink-soft); }
.edit__head .eyebrow { grid-column: 1 / -1; margin-bottom: 1.5rem; }
.edit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); row-gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.edit-item { position: relative; }
.edit-item__num { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(3rem, 5vw, 5rem); line-height: .8; color: var(--champagne); display: block; margin-bottom: .6rem; }
.edit-item h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; color: var(--aubergine); margin-bottom: .9rem; }
.edit-item p { color: var(--ink-soft); font-size: .96rem; }
.edit-item__tag { display: block; margin-top: 1rem; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-ink); }

/* Six items on an aligned, staggered 3-column grid; images shown whole in equal frames */
.edit__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1.25rem, 3vw, 3rem); row-gap: clamp(3.5rem, 6vw, 5.5rem); }
.edit-item:nth-child(3n+2) { margin-top: clamp(3rem, 7vw, 6rem); }
.edit-item .fig { aspect-ratio: 1 / 1; background: var(--porcelain-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.edit-item .fig img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.edit-item__text { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line-strong); }
.edit-item__num { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }

@media (max-width: 960px) {
  .edit__head h2, .edit__head p { grid-column: 1 / -1; }
  .edit__head p { margin-top: 1.5rem; }
  .edit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edit-item:nth-child(3n+2) { margin-top: 0; }
  .edit-item:nth-child(even) { margin-top: clamp(2.5rem, 8vw, 4rem); }
}
@media (max-width: 560px) {
  .edit__grid { grid-template-columns: 1fr; }
  .edit-item:nth-child(even) { margin-top: 0; }
}

/* ==========================================================================
   HOME — 3. The Language of Colour
   ========================================================================== */
.colour__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); margin-bottom: clamp(3rem, 6vw, 5rem); }
.colour__head > div:first-child { grid-column: 1 / 7; }
.colour__head > div:last-child { grid-column: 8 / 13; align-self: end; }
.colour__head h2 { margin-top: 1.4rem; }
.palette { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.palette__tabs { display: grid; gap: .55rem; }
.swatch-tab {
  position: relative; display: grid; grid-template-columns: 2.5rem 1fr auto; align-items: center; gap: 1rem;
  width: 100%; min-height: 64px; padding: .5rem 1.25rem .5rem .75rem; text-align: left;
  border: 1px solid var(--line-light); color: var(--porcelain);
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .5s var(--ease-out);
}
.swatch-tab .n { font-family: var(--serif); font-style: italic; color: var(--champagne); font-size: 1.05rem; }
.swatch-tab .name { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 400; line-height: 1.1; }
.swatch-tab .chip { width: clamp(4rem, 9vw, 8rem); height: 34px; border: 1px solid rgba(244, 240, 233, .25); transition: width .6s var(--ease-out); }
.swatch-tab:hover { border-color: var(--champagne); }
.swatch-tab[aria-selected="true"] { background: var(--aubergine-soft); border-color: var(--champagne); padding-left: 1.4rem; }
.swatch-tab[aria-selected="true"] .chip { width: clamp(5rem, 12vw, 11rem); }
.chip--white { background: #F8F6F1; }
.chip--blue { background: linear-gradient(90deg, #7E9CC4, #A9C0DD); }
.chip--grey { background: linear-gradient(90deg, #8E8E8C, #BDBDB9); }
.chip--pastel { background: linear-gradient(90deg, #E9C9CB 0 33%, #CFE0D2 33% 66%, #E8DDBF 66%); }
.chip--stripes { background: repeating-linear-gradient(90deg, #F2F2EE 0 6px, #5E7FAF 6px 8px); }
.chip--checks { background-color: #F1F3F6; background-image: linear-gradient(90deg, rgba(102, 132, 176, .55) 50%, transparent 50%), linear-gradient(rgba(102, 132, 176, .55) 50%, transparent 50%); background-size: 12px 12px; }
.palette__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: end; }
.palette__panel[hidden] { display: none; }
.palette__panel .fig { align-self: start; }
.palette__panel h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; color: var(--champagne); margin-bottom: 1.2rem; }
.palette__panel p { color: rgba(244, 240, 233, .84); }
.palette__panel dl { margin-top: 1.6rem; display: grid; gap: .9rem; }
.palette__panel dt { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); }
.palette__panel dd { font-size: .92rem; color: rgba(244, 240, 233, .82); border-bottom: 1px solid var(--line-light); padding-bottom: .9rem; }
.js .palette__panel:not([hidden]) { animation: panel-in .8s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.colour__foot { margin-top: clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line-light); padding-top: 2.5rem; }
.colour__foot h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--champagne); margin-bottom: .6rem; }
.colour__foot p { font-size: .94rem; color: rgba(244, 240, 233, .8); }

@media (max-width: 960px) {
  .colour__head > div { grid-column: 1 / -1 !important; }
  .colour__head > div:last-child { margin-top: 1.5rem; }
  .palette { grid-template-columns: 1fr; }
  .colour__foot { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .palette__panel { grid-template-columns: 1fr; }
  .swatch-tab { grid-template-columns: 2rem 1fr auto; padding-right: .75rem; }
  .swatch-tab .chip { width: 3.5rem !important; }
}

/* ==========================================================================
   HOME — 4. The Details that Define Style
   ========================================================================== */
.details { background: var(--porcelain-deep); }
.details__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.details__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.details__sticky .fig { max-width: 470px; }
.details__intro { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.details__intro h2 { margin: 1.4rem 0 1.4rem; color: var(--aubergine); }
.details__list li {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem;
  padding: 1.8rem 0; border-top: 1px solid var(--line);
}
.details__list li:last-child { border-bottom: 1px solid var(--line); }
.details__list .numeral { font-size: 2.4rem; color: var(--sage); }
.details__list h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.85rem); color: var(--aubergine); line-height: 1.15; margin-bottom: .5rem; }
.details__list p { color: var(--ink-soft); font-size: .96rem; }
.details__strip { display: grid; grid-template-columns: 1.1fr .9fr 1fr 1fr; gap: clamp(.75rem, 1.6vw, 1.5rem); align-items: start; margin-top: clamp(3rem, 6vw, 5rem); }
.details__strip .fig:nth-child(2) { margin-top: 3rem; }
.details__strip .fig:nth-child(3) { margin-top: 1rem; }
.details__strip .fig:nth-child(4) { margin-top: 4.5rem; }

@media (max-width: 960px) {
  .details__layout { grid-template-columns: 1fr; }
  .details__sticky { position: relative; top: 0; }
  .details__sticky .fig { max-width: 420px; }
  .details__strip { grid-template-columns: 1fr 1fr; }
  .details__strip .fig { margin-top: 0 !important; }
  .details__strip .fig:nth-child(even) { margin-top: 2rem !important; }
}

/* ==========================================================================
   HOME — 5. The Modern Professional (full screen)
   ========================================================================== */
.intention { position: relative; min-height: 100svh; overflow: hidden; background: var(--aubergine-deep); color: var(--porcelain); display: flex; align-items: center; isolation: isolate; }
.intention__bg { position: absolute; inset: -40px; z-index: -2; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(38px) saturate(.7) brightness(.42); }
.intention::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35, 23, 34, .94) 0%, rgba(48, 32, 47, .72) 55%, rgba(48, 32, 47, .35) 100%); }
.intention__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(4rem, 8vw, 6rem); }
.intention h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 9vw, 9.5rem); line-height: .88; text-transform: uppercase; letter-spacing: -.01em; margin: 1.6rem 0 2.4rem; }
.intention h2 em { color: var(--champagne); }
.intention__copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 2.5rem); max-width: 46rem; }
.intention__copy p { color: rgba(244, 240, 233, .84); font-size: .98rem; }
.intention__copy p:first-child { grid-column: 1 / -1; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.4; color: var(--porcelain); }
.intention__photo { justify-self: end; }
.intention__photo img { width: auto; height: auto; max-width: 100%; max-height: min(78svh, 800px); }
@media (max-width: 960px) {
  .intention__inner { grid-template-columns: 1fr; }
  .intention__photo { justify-self: center; order: -1; }
  .intention__photo img { width: min(100%, 440px); max-height: none; }
  .intention__copy { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOME — 6. The Art of Pairing (staggered)
   ========================================================================== */
.pairing__head { max-width: 50rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.pairing__head h2 { margin: 1.4rem 0 1.4rem; color: var(--aubergine); }
.pairing__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 8vw, 9rem); }
.pairing__grid::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line); }
.pair { padding-bottom: clamp(2rem, 4vw, 3rem); }
.pair:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.pair:nth-child(2) { grid-column: 2; grid-row: 2 / 4; }
.pair:nth-child(3) { grid-column: 1; grid-row: 3 / 5; }
.pair:nth-child(4) { grid-column: 2; grid-row: 4 / 6; }
.pair:nth-child(5) { grid-column: 1; grid-row: 5 / 7; }
.pair:nth-child(6) { grid-column: 2; grid-row: 6 / 8; }
.pair__media { width: 62%; }
.pair:nth-child(odd) .pair__media { margin-left: auto; }
.pair:nth-child(1) .pair__media { width: 70%; }
.pair__body { display: grid; grid-template-columns: 3.2rem 1fr; gap: .75rem; margin-top: 1.5rem; }
.pair .numeral { font-size: 2.6rem; color: var(--sage); }
.pair h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 2.2vw, 2rem); color: var(--aubergine); line-height: 1.1; margin-bottom: .5rem; }
.pair p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) {
  .pairing__grid { grid-template-columns: 1fr; }
  .pairing__grid::before { display: none; }
  .pair { grid-column: 1 !important; grid-row: auto !important; padding-bottom: 3rem; }
  .pair__media, .pair:nth-child(1) .pair__media { width: 78%; }
  .pair:nth-child(even) .pair__media { margin-left: 0; }
}

/* ==========================================================================
   HOME — 7. Options Mall
   ========================================================================== */
.house { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.house__panel { background: var(--sage); color: var(--ink); padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; }
.house__panel .eyebrow { color: var(--ink); }
.house__logo { width: min(100%, 340px); padding: clamp(1rem, 2vw, 1.75rem); background: var(--porcelain); }
.house__logo img { width: 100%; height: auto; aspect-ratio: 708 / 390; }
.house__panel address { font-size: .95rem; line-height: 1.7; }
.house__panel address strong { display: block; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; margin-bottom: .5rem; }
.house__body { padding: clamp(3rem, 7vw, 7rem) var(--gutter) clamp(3rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.house__body h2 { color: var(--aubergine); margin: 1.4rem 0 1.6rem; }
.house__body .prose { color: var(--ink-soft); }
.house__body .cta { margin-top: 2rem; }
.house__media { display: grid; gap: 1.25rem; }
.house__media .fig:nth-child(2) { width: 72%; margin-left: -18%; }
@media (max-width: 960px) {
  .house { grid-template-columns: 1fr; }
  .house__body { grid-template-columns: 1fr; padding-inline: var(--gutter); }
  .house__media { grid-template-columns: 1fr 1fr; align-items: start; }
  .house__media .fig:nth-child(2) { width: auto; margin: 3rem 0 0; }
}

/* ==========================================================================
   HOME — 8. Final campaign
   ========================================================================== */
.finale { position: relative; overflow: hidden; text-align: center; padding-block: clamp(5rem, 10vw, 9rem); }
.finale__title { position: relative; font-family: var(--serif); font-weight: 300; text-transform: uppercase; line-height: .84; font-size: clamp(3rem, 12vw, 13rem); letter-spacing: -.015em; }
.finale__title .line { display: block; position: relative; }
.finale__title .line--top { z-index: 1; }
.finale__title .line--bottom { z-index: 3; color: var(--champagne); font-style: italic; }
.finale__photo { position: relative; z-index: 2; width: min(380px, 62vw); margin: -0.25em auto -0.32em; }
.finale__photo img { width: 100%; aspect-ratio: 500 / 643; box-shadow: 0 50px 90px -45px rgba(0, 0, 0, .7); }
.finale__sub { margin: 2.6rem auto 2rem; max-width: 32rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--champagne-soft); }

/* ==========================================================================
   Shared internal page hero bits
   ========================================================================== */
.page-intro { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.kicker { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; border-block: 1px solid var(--line); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.on-dark .kicker { border-color: var(--line-light); color: rgba(244, 240, 233, .75); }

/* Next-chapter band (bottom of internal pages) */
.next-band { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.next-band a { display: block; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter); transition: background .5s var(--ease); }
.next-band a + a { border-left: 1px solid var(--line); text-align: right; }
.next-band a:hover { background: var(--porcelain-deep); }
.next-band .eyebrow { margin-bottom: 1rem; }
.next-band .h-lg { color: var(--aubergine); }
@media (max-width: 700px) { .next-band { grid-template-columns: 1fr; } .next-band a + a { border-left: 0; border-top: 1px solid var(--line); text-align: left; } }

/* ==========================================================================
   FORMAL SHIRTS — collection catalogue
   ========================================================================== */
.cat-cover { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(1.5rem, 3vw, 3rem); padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); align-items: end; }
.cat-cover__title h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7vw, 7.4rem); line-height: .9; color: var(--aubergine); margin: 1.5rem 0 2rem; }
.cat-cover__title h1 em { display: block; color: var(--sage-ink); }
.cat-cover__title p { color: var(--ink-soft); max-width: 30rem; }
.cat-cover__image { background: var(--champagne); padding: clamp(.75rem, 1.6vw, 1.4rem); }
.cat-cover__index h2 { font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--sage-ink); padding-bottom: .9rem; border-bottom: 1px solid var(--aubergine); margin-bottom: .25rem; font-family: var(--sans); }
.cat-cover__index a { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: baseline; gap: .5rem; padding: .62rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.18rem; transition: padding .4s var(--ease-out), color .3s var(--ease); }
.cat-cover__index a .n { font-style: italic; color: var(--sage-ink); font-size: .95rem; }
.cat-cover__index a::after { content: "→"; font-family: var(--sans); font-size: .8rem; color: var(--sage-ink); opacity: 0; transition: opacity .3s var(--ease); }
.cat-cover__index a:hover { padding-left: .5rem; color: var(--aubergine); }
.cat-cover__index a:hover::after { opacity: 1; }
@media (max-width: 1100px) { .cat-cover { grid-template-columns: 1fr 1fr; } .cat-cover__title { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cat-cover { grid-template-columns: 1fr; } .cat-cover__image { max-width: 420px; } }

.plate { padding-block: clamp(4rem, 9vw, 8rem); border-top: 1px solid var(--line); }
.plate__label { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.plate__label .numeral { font-size: clamp(3.5rem, 7vw, 6.5rem); color: var(--champagne); }
.plate__label h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1; color: var(--aubergine); }
.on-dark .plate__label h2 { color: var(--porcelain); }
.plate__lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.4; color: var(--aubergine); margin-bottom: 1.5rem; }
.on-dark .plate__lead { color: var(--champagne); }
.plate .prose { color: var(--ink-soft); }
.on-dark .plate .prose, .plate.on-dark .prose { color: rgba(244, 240, 233, .84); }
.notes { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--aubergine); }
.on-dark .notes { border-color: var(--champagne); }
.notes div { padding: 1rem 1rem 0 0; }
.notes div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.on-dark .notes div + div { border-color: var(--line-light); }
.notes dt { font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: .35rem; }
.on-dark .notes dt { color: var(--champagne); }
.notes dd { font-size: .9rem; line-height: 1.55; }

.plate--a .plate__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); align-items: start; }
.plate--a .plate__main { grid-column: 1 / 7; }
.plate--a .plate__side { grid-column: 8 / 13; }
.plate--a .plate__side .fig { width: 70%; margin-bottom: 2.5rem; }
.plate--b .plate__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); align-items: start; }
.plate--b .plate__text { grid-column: 1 / 6; position: sticky; top: calc(var(--header-h) + 2rem); }
.plate--b .plate__media { grid-column: 7 / 13; position: relative; padding-bottom: 12%; }
.plate--b .plate__media .fig:first-child { width: 78%; }
.plate--b .plate__media .fig:last-child { position: absolute; right: 0; bottom: 0; width: 48%; border: clamp(.5rem, 1vw, .9rem) solid var(--porcelain); }
.plate--c { border-top: 0; }
.plate--c .plate__pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.4vw, 2.5rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.plate--c .plate__pair .fig:last-child { width: 80%; }
.plate--c .plate__cols { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 4rem); }
.plate--c .prose { columns: 2; column-gap: clamp(1.5rem, 3vw, 3rem); }
.plate--c .prose p { break-inside: avoid; }
@media (max-width: 960px) {
  .plate--a .plate__main, .plate--a .plate__side, .plate--b .plate__text, .plate--b .plate__media { grid-column: 1 / -1; }
  .plate--a .plate__side { margin-top: 2.5rem; }
  .plate--b .plate__text { position: relative; top: 0; margin-bottom: 2.5rem; }
  .plate--c .plate__cols { grid-template-columns: 1fr; }
  .plate--c .prose { columns: 1; }
}
@media (max-width: 600px) {
  .notes { grid-template-columns: 1fr; }
  .notes div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .on-dark .notes div + div { border-color: var(--line-light); }
  .notes div { padding-bottom: .9rem; }
}

.glance { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.glance table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .92rem; }
.glance caption { text-align: left; caption-side: top; padding-bottom: 1.5rem; }
.glance th, .glance td { text-align: left; padding: 1rem 1.25rem 1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.glance thead th { font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sage-ink); border-bottom: 1px solid var(--aubergine); }
.glance tbody th { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--aubergine); white-space: nowrap; }
.glance td { color: var(--ink-soft); }

/* ==========================================================================
   STYLING GUIDE — chaptered handbook
   ========================================================================== */
.sg-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.sg-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7.5vw, 8rem); line-height: .88; color: var(--aubergine); margin: 1.4rem 0 2rem; }
.sg-hero h1 span { display: block; padding-left: 12%; font-style: italic; color: var(--sage-ink); }
.sg-hero__lede { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; color: var(--ink-soft); max-width: 44rem; }
.sg-hero__photo { position: relative; justify-self: center; }
.sg-hero__photo::before { content: ""; position: absolute; inset: 7% -8% 3.4rem 14%; background: var(--aubergine); z-index: -1; }
.sg-hero__photo img { width: min(420px, 70vw); aspect-ratio: 500 / 643; }
.sg-hero__photo figcaption { color: var(--ink-soft); }
@media (max-width: 900px) { .sg-hero { grid-template-columns: 1fr; } .sg-hero__lede { grid-template-columns: 1fr; } .sg-hero__photo::before { inset: 7% -5% 3.4rem 10%; } }

.handbook { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.handbook__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); padding-top: 2rem; }
.handbook__toc p { font-size: .66rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 1rem; }
.handbook__toc a { display: flex; gap: .75rem; padding: .45rem 0 .45rem .9rem; border-left: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); transition: color .3s var(--ease), border-color .3s var(--ease); }
.handbook__toc a .n { font-family: var(--serif); font-style: italic; color: var(--sage-ink); }
.handbook__toc a:hover, .handbook__toc a.is-active { color: var(--aubergine); border-left-color: var(--aubergine); }
.handbook__toc a.is-active { font-weight: 600; }
.chapter { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.chapter__head { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: 2rem; }
.chapter__head .numeral { font-size: clamp(2.6rem, 4.5vw, 4.2rem); color: var(--champagne); }
.chapter__head h2 { color: var(--aubergine); }
.chapter__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.chapter--flip .chapter__body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.chapter--flip .chapter__body .fig { order: 2; }
.chapter .prose { color: var(--ink-soft); }
.chapter .lead { color: var(--aubergine); margin-bottom: 1.25rem; }
.style-notes { margin-top: 1.75rem; padding: 1.5rem 1.6rem; background: var(--porcelain-deep); border-left: 2px solid var(--sage); }
.style-notes h3 { font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: .8rem; font-family: var(--sans); }
.style-notes li { position: relative; padding-left: 1.3rem; font-size: .92rem; color: var(--ink); }
.style-notes li + li { margin-top: .45rem; }
.style-notes li::before { content: ""; position: absolute; left: 0; top: .78em; width: .6rem; height: 1px; background: var(--aubergine); }
.combo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); margin-top: 2rem; }
.combo { display: grid; gap: .75rem; }
.combo__dots { display: flex; }
.combo__dots span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--porcelain); margin-right: -8px; box-shadow: 0 0 0 1px var(--line); }
.combo p { font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }
.combo strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--aubergine); font-weight: 600; }
.daynight { display: grid; grid-template-columns: 1fr 1fr; margin-top: 2rem; border: 1px solid var(--line); }
.daynight > div { padding: 1.5rem; }
.daynight > div + div { background: var(--aubergine); color: var(--porcelain); }
.daynight h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: .6rem; }
.daynight > div + div h3 { color: var(--champagne); }
.daynight li { font-size: .9rem; padding: .35rem 0; border-top: 1px solid var(--line); }
.daynight > div + div li { border-color: var(--line-light); color: rgba(244, 240, 233, .86); }
@media (max-width: 1000px) {
  .handbook { grid-template-columns: 1fr; }
  .handbook__toc { display: none; }
}
@media (max-width: 760px) {
  .chapter__body, .chapter--flip .chapter__body { grid-template-columns: 1fr; }
  .chapter--flip .chapter__body .fig { order: 0; }
  .combo-row { grid-template-columns: 1fr 1fr; }
  .daynight { grid-template-columns: 1fr; }
}
.chapter__mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.5rem, 1.5vw, 1rem); margin-top: 2rem; }
@media (max-width: 600px) { .chapter__mini { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   FABRICS — material ledger
   ========================================================================== */
.fab-hero { position: relative; overflow: hidden; }
.fab-hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.fab-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 8vw, 8.4rem); line-height: .86; margin: 1.4rem 0 2rem; }
.fab-hero h1 em { color: var(--champagne); }
.fab-hero__weave { position: absolute; inset: auto 0 0 0; height: 14px; background-image: repeating-linear-gradient(45deg, rgba(216, 198, 165, .5) 0 2px, transparent 2px 8px), repeating-linear-gradient(-45deg, rgba(216, 198, 165, .3) 0 2px, transparent 2px 8px); }
.fab-hero .lead { color: var(--champagne-soft); max-width: 38rem; }
.fab-hero__photo { justify-self: end; width: min(100%, 400px); }
@media (max-width: 860px) { .fab-hero__grid { grid-template-columns: 1fr; } .fab-hero__photo { justify-self: start; width: min(100%, 360px); } }

.ledger__row { display: grid; grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: clamp(1rem, 3vw, 2.5rem); padding-block: clamp(2.2rem, 4vw, 3.5rem); border-top: 1px solid var(--line); align-items: start; }
.ledger__row:last-child { border-bottom: 1px solid var(--line); }
.ledger__row .numeral { font-size: 2.2rem; color: var(--sage); }
.ledger__row h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1; color: var(--aubergine); }
.ledger__row h3 + p { margin-top: .9rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--sage-ink); }
.ledger__row .prose { color: var(--ink-soft); font-size: .96rem; }
.specs { margin-top: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem 1.25rem; }
.specs div { padding: .6rem 0; border-top: 1px solid var(--line); }
.specs dt { font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--sage-ink); }
.specs dd { font-size: .88rem; }
.ledger__row .fig { max-width: 260px; justify-self: end; width: 100%; }
@media (max-width: 1000px) {
  .ledger__row { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1fr); }
  .ledger__row .fig { grid-column: 2 / -1; justify-self: start; max-width: 300px; }
}
@media (max-width: 640px) {
  .ledger__row { grid-template-columns: 1fr; }
  .ledger__row .fig { grid-column: 1; max-width: 280px; }
}

.weight__scale { margin-block: clamp(2.5rem, 5vw, 4rem); }
.scale-bar { position: relative; height: 2px; background: var(--line-light); margin: 3rem 0 1.5rem; }
.scale-bar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--champagne-soft), var(--champagne) 50%, var(--sage)); }
.scale-bar span { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--aubergine); border: 2px solid var(--champagne); transform: translate(-50%, -50%); }
.scale-labels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); }
.scale-labels h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--champagne); margin-bottom: .4rem; }
.scale-labels p { font-size: .93rem; color: rgba(244, 240, 233, .82); }
.scale-labels > div:nth-child(2) { text-align: center; }
.scale-labels > div:nth-child(3) { text-align: right; }
.weight__pair { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: clamp(1.25rem, 3vw, 3rem); align-items: end; }
.weight__pair .fig:nth-child(2) { margin-bottom: 4rem; }
.weight__pair .prose { color: rgba(244, 240, 233, .84); }
.weight__pair h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--champagne); margin-bottom: 1rem; line-height: 1.05; }
@media (max-width: 860px) {
  .scale-labels { grid-template-columns: 1fr; }
  .scale-labels > div { text-align: left !important; }
  .weight__pair { grid-template-columns: 1fr 1fr; }
  .weight__pair .prose-wrap { grid-column: 1 / -1; }
  .weight__pair .fig:nth-child(2) { margin-bottom: 0; }
}

.care { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.care__steps { counter-reset: care; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 3vw, 3rem); }
.care__steps li { counter-increment: care; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.care__steps li::before { content: counter(care, upper-roman) "."; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--sage-ink); display: block; margin-bottom: .3rem; }
.care__steps h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--aubergine); margin-bottom: .35rem; }
.care__steps p { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 860px) { .care { grid-template-columns: 1fr; } .care .fig { max-width: 380px; } }
@media (max-width: 560px) { .care__steps { grid-template-columns: 1fr; } }

.build { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.build__item { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.4vw, 2.5rem); align-items: center; }
.build__item .fig { grid-column: 1 / 6; }
.build__item .build__text { grid-column: 7 / 13; }
.build__item:nth-child(2) .fig { grid-column: 8 / 13; order: 2; }
.build__item:nth-child(2) .build__text { grid-column: 1 / 7; }
.build__item:nth-child(3) .fig { grid-column: 2 / 6; }
.build__text h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--aubergine); line-height: 1; margin: 1rem 0 1.25rem; }
.build__text .prose { color: var(--ink-soft); }
.glyphs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.glyphs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.glyph { text-align: center; }
.glyph svg { width: 100%; max-width: 110px; height: auto; margin: 0 auto .6rem; color: var(--aubergine); }
.glyph span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 860px) {
  .build__item .fig, .build__item .build__text, .build__item:nth-child(n) .fig, .build__item:nth-child(n) .build__text { grid-column: 1 / -1; order: 0; }
  .build__item .fig { max-width: 420px; margin-bottom: 2rem; }
}
@media (max-width: 480px) { .glyphs { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   FIT — blueprint
   ========================================================================== */
.blueprint-bg {
  background-color: var(--porcelain);
  background-image: linear-gradient(rgba(139, 151, 133, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 151, 133, .18) 1px, transparent 1px);
  background-size: 32px 32px;
}
.fit-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem); }
.fit-hero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7vw, 7.6rem); line-height: .88; color: var(--aubergine); margin: 1.4rem 0 1.8rem; }
.fit-hero h1 em { color: var(--sage-ink); }
.fit-hero p { color: var(--ink-soft); }
.fit-hero__photo { justify-self: center; background: var(--porcelain); padding: .75rem; border: 1px solid var(--line); }
.fit-hero__photo img { width: min(380px, 70vw); aspect-ratio: 500 / 643; }
.fit-hero__points li { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; padding: .8rem 0; border-top: 1px dashed var(--line-strong); font-size: .9rem; }
.fit-hero__points li:last-child { border-bottom: 1px dashed var(--line-strong); }
.fit-hero__points b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--aubergine); }
@media (max-width: 1000px) { .fit-hero { grid-template-columns: 1fr 1fr; } .fit-hero > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .fit-hero { grid-template-columns: 1fr; } }

.fit-ladder__scale { display: flex; justify-content: space-between; font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); padding-bottom: 1rem; border-bottom: 1px solid var(--line-light); margin-bottom: 2.5rem; }
.fit-ladder__scale span:nth-child(2) { flex: 1; margin: 0 1rem; align-self: center; height: 1px; background: linear-gradient(90deg, transparent, var(--champagne), transparent); }
.fit-ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); }
.fit-type { display: flex; flex-direction: column; }
.fit-type:nth-child(even) { margin-top: 3rem; }
.fit-type__sil { height: 130px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 1.25rem; color: var(--champagne); }
.fit-type__sil svg { height: 120px; width: auto; }
.fit-type h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.4vw, 2.2rem); color: var(--champagne); line-height: 1; margin: 1.25rem 0 .75rem; }
.fit-type p { font-size: .92rem; color: rgba(244, 240, 233, .84); }
.fit-type dl { margin-top: 1rem; font-size: .85rem; }
.fit-type dt { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); margin-top: .6rem; }
.fit-type dd { color: rgba(244, 240, 233, .8); }
@media (max-width: 1000px) { .fit-ladder { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fit-ladder { grid-template-columns: 1fr; } .fit-type:nth-child(even) { margin-top: 0; } .fit-type .fig { max-width: 320px; } }

.measure { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.measure__diagram { position: sticky; top: calc(var(--header-h) + 2rem); background: var(--porcelain); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 2rem); }
.measure__diagram svg { width: 100%; height: auto; }
.measure__diagram figcaption { margin-top: 1rem; font-size: .8rem; color: var(--ink-soft); }
.measure__list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.measure__list li:last-child { border-bottom: 1px solid var(--line); }
.measure__key { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--aubergine); color: var(--champagne); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.measure__list h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--aubergine); line-height: 1.1; margin-bottom: .4rem; }
.measure__list p { font-size: .95rem; color: var(--ink-soft); }
.measure__list .check { margin-top: .6rem; font-size: .85rem; color: var(--sage-ink); font-weight: 600; }
@media (max-width: 900px) { .measure { grid-template-columns: 1fr; } .measure__diagram { position: relative; top: 0; max-width: 520px; } }

.mistakes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.mistake { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.mistake:last-child { border-bottom: 1px solid var(--line); }
.mistake > div { padding: 1.3rem 1.25rem 1.3rem 0; }
.mistake > div + div { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.mistake h3 { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--aubergine); margin-bottom: .3rem; display: flex; gap: .5rem; align-items: baseline; }
.mistake p { font-size: .9rem; color: var(--ink-soft); }
.mark { font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 2px; flex: none; }
.mark--no { background: var(--aubergine); color: var(--champagne); }
.mark--yes { background: var(--sage); color: var(--ink); }
.mistakes__media { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 2rem); }
.mistakes__media .fig:last-child { width: 70%; margin-left: auto; }
@media (max-width: 900px) { .mistakes { grid-template-columns: 1fr; } .mistakes__media { position: relative; top: 0; grid-template-columns: 1fr 1fr; } .mistakes__media .fig:last-child { width: auto; margin-top: 3rem; } }
@media (max-width: 560px) { .mistake { grid-template-columns: 1fr; } .mistake > div + div { border-left: 0; padding-left: 0; padding-top: 0; } }

/* ==========================================================================
   ABOUT — personal letter
   ========================================================================== */
.letter-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.letter-hero blockquote { font-family: var(--serif); font-weight: 300; font-size: clamp(2.3rem, 5.2vw, 5.4rem); line-height: 1.02; color: var(--aubergine); }
.letter-hero blockquote::before { content: "“"; display: block; font-size: 2.2em; line-height: .5; color: var(--champagne); margin-bottom: .1em; }
.letter-hero h1 { margin-top: 2rem; }
.letter-hero__media { position: relative; padding: 0 0 12% 12%; }
.letter-hero__media .fig:first-child { transform: rotate(-1.5deg); }
.letter-hero__media .fig:last-child { position: absolute; left: 0; bottom: 0; width: 46%; transform: rotate(2deg); }
@media (max-width: 900px) { .letter-hero { grid-template-columns: 1fr; } .letter-hero__media { max-width: 480px; } }

.essays { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.essay .numeral { font-size: 3.4rem; color: var(--sage); display: block; margin-bottom: 1rem; }
.essay h3 { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; color: var(--aubergine); margin-bottom: 1rem; }
.essay .prose { font-size: .96rem; color: var(--ink-soft); }
.essay:nth-child(2) { margin-top: 4rem; }
.essay:nth-child(3) { margin-top: 8rem; }
@media (max-width: 900px) { .essays { grid-template-columns: 1fr; } .essay:nth-child(n) { margin-top: 0; padding-top: 2rem; border-top: 1px solid var(--line); } }

.house-letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.house-letter__logo { background: var(--porcelain); padding: clamp(1.25rem, 3vw, 2.5rem); max-width: 440px; }
.house-letter__logo img { width: 100%; aspect-ratio: 708 / 390; }
.house-letter .prose { color: rgba(244, 240, 233, .86); font-size: 1.02rem; }
.house-letter .prose p:first-child { font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.4; color: var(--porcelain); }
.signature { margin-top: 2.5rem; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--champagne); }
.visit-facts { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border-top: 1px solid var(--line-light); }
.visit-facts > div { padding: 1.25rem 1.25rem 1.25rem 0; }
.visit-facts > div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--line-light); }
.visit-facts > div:last-child { padding-left: 1.25rem; border-left: 1px solid var(--line-light); }
.visit-facts dt { font-size: .62rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); margin-bottom: .4rem; }
.visit-facts dd { font-size: .92rem; overflow-wrap: anywhere; }
.visit-facts a { border-bottom: 1px solid var(--line-light); }
.visit-facts a:hover { border-color: var(--champagne); }
@media (max-width: 900px) { .house-letter { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .visit-facts { grid-template-columns: 1fr; } .visit-facts > div:last-child { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); } }

.rail-wrap { position: relative; }
.rail { display: flex; gap: clamp(1rem, 2vw, 1.75rem); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 2rem var(--gutter) 2rem; scrollbar-width: thin; scrollbar-color: var(--aubergine) transparent; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 2rem; height: 2px; background: var(--aubergine); opacity: .55; }
.rail .fig { flex: 0 0 clamp(210px, 24vw, 320px); scroll-snap-align: start; padding-top: 0; }
.rail .fig:nth-child(even) { margin-top: 2rem; }
.rail-hint { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

/* ==========================================================================
   CONTACT — split
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: calc(100svh - var(--header-h)); }
.contact__dark { background: var(--aubergine); color: var(--porcelain); padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem); display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 4rem); }
.contact__dark h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 7vw, 7.4rem); line-height: .88; margin-top: 1.4rem; }
.contact__dark h1 em { color: var(--champagne); }
.contact__dark .lead { color: rgba(244, 240, 233, .86); max-width: 36rem; margin-top: 1.5rem; }
.contact-lines { display: grid; gap: 0; }
.contact-line { display: grid; grid-template-columns: minmax(7rem, 1fr) minmax(0, 3fr); gap: 1.5rem; padding: 1.6rem 0; border-top: 1px solid var(--line-light); align-items: baseline; }
.contact-line:last-child { border-bottom: 1px solid var(--line-light); }
.contact-line dt { font-size: .66rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--champagne); }
.contact-line dd { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 2.1rem); line-height: 1.25; color: var(--porcelain); overflow-wrap: anywhere; }
.contact-line dd a { border-bottom: 1px solid var(--line-light); transition: border-color .3s var(--ease), color .3s var(--ease); }
.contact-line dd a:hover { color: var(--champagne); border-color: var(--champagne); }
.contact-line .small-action { display: inline-flex; margin-top: .9rem; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--champagne); border-bottom: 1px solid var(--champagne); padding-bottom: .2rem; }
.contact__light { padding: clamp(2rem, 5vw, 5rem) clamp(1.25rem, 4vw, 4rem); display: flex; flex-direction: column; gap: 2.5rem; }
.contact__light .fig { max-width: 360px; }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--porcelain-deep); border: 1px solid var(--line); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.6) sepia(.15); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-line { grid-template-columns: 1fr; gap: .5rem; } }

.letter-form { display: grid; gap: 1.25rem; }
.letter-form h2 { color: var(--aubergine); }
.field { display: grid; gap: .4rem; }
.field label { font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  padding: .7rem 0; border-radius: 0; transition: border-color .3s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--aubergine); box-shadow: 0 1px 0 var(--aubergine); }
.field.has-error input, .field.has-error textarea { border-bottom-color: #8A2F3B; }
.field__error { font-size: .8rem; color: #8A2F3B; min-height: 1.1em; }
.form-note { font-size: .82rem; color: var(--ink-soft); }
.form-status { font-size: .9rem; color: var(--sage-ink); font-weight: 600; min-height: 1.4em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--aubergine-deep); color: var(--porcelain); position: relative; overflow: hidden; }
.site-footer__band { border-bottom: 1px solid var(--line-light); }
.site-footer__band .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }
.site-footer .footer-word { font-family: var(--serif); font-weight: 300; font-size: clamp(3.2rem, 10vw, 10rem); line-height: .82; letter-spacing: -.02em; color: var(--porcelain); }
.footer-word em { color: var(--champagne); }
.footer-logo { flex: none; width: clamp(130px, 16vw, 200px); padding: .5rem; background: var(--porcelain); }
.footer-logo img { width: 100%; aspect-ratio: 708 / 390; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer h2 { font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1rem; }
.site-footer address, .site-footer p, .site-footer li { font-size: .92rem; line-height: 1.75; color: rgba(244, 240, 233, .82); }
.site-footer a:not(.footer-logo) { transition: color .3s var(--ease); }
.site-footer a:hover { color: var(--champagne); }
.footer-contact a { display: inline-block; padding: .15rem 0; border-bottom: 1px solid var(--line-light); overflow-wrap: anywhere; }
.footer-contact div + div { margin-top: 1.1rem; }
.footer-contact strong { display: block; font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--champagne); font-weight: 700; }
.footer-nav a { display: inline-block; padding: .2rem 0; }
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social__icon { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; color: var(--champagne); font-size: 1rem; }
.social__note { margin-top: 1rem; font-size: .8rem !important; color: rgba(244, 240, 233, .6) !important; }
.site-footer__base { border-top: 1px solid var(--line-light); }
.site-footer__base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; font-size: .78rem; color: rgba(244, 240, 233, .7); }
.site-footer__base a { color: var(--champagne); border-bottom: 1px solid var(--line-light); }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__band .wrap { flex-direction: column; align-items: flex-start; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; place-items: center; text-align: center; }
.notfound .display { color: var(--aubergine); margin: 1.5rem 0; }

/* ==========================================================================
   Alignment pass — uniform frames for multi-image rows (images shown whole)
   ========================================================================== */
.frame-square, .details__strip .fig > img, .pair__media > img {
  aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: contain;
  background: var(--porcelain); border: 1px solid var(--line);
}
.details__strip { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
.details__strip .fig { margin-top: 0 !important; }
.pair__media, .pair:nth-child(1) .pair__media { width: 78%; margin-left: 0 !important; }
.pair:nth-child(1) .pair__media > img { aspect-ratio: auto; object-fit: initial; border: 0; }
@media (max-width: 960px) { .details__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Collection plates: every photo in an equal square mat, pairs aligned on one line */
.plate .fig > img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: contain; background: var(--porcelain-deep); }
.plate.on-dark .fig > img { background: var(--aubergine-soft); }
.plate--a .plate__grid { align-items: start; }
.plate--a .plate__side .fig { width: 72%; }
.plate--b .plate__text { position: static; }
.plate--b .plate__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2vw, 1.5rem); padding-bottom: 0; align-items: start; }
.plate--b .plate__media .fig:first-child, .plate--b .plate__media .fig:last-child { position: static; width: auto; border: 0; }
.plate--c .plate__pair { align-items: start; }
.plate--c .plate__pair .fig:last-child { width: auto; }
@media (max-width: 960px) { .plate--a .plate__side .fig { width: 100%; max-width: 420px; } }

/* Site-wide: list & gallery photos share one square mat so rows line up (photos never cropped) */
.chapter__body .fig > img, .chapter__mini .fig > img, .ledger__row .fig > img, .fit-type .fig > img,
.care .fig > img, .build__item .fig > img, .weight__pair .fig > img, .mistakes__media .fig > img,
.rail .fig > img, .house__media .fig > img, .letter-hero__media .fig > img, .palette__panel .fig > img,
.contact__light .fig > img {
  aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: contain; background: var(--porcelain-deep);
}
.on-dark .weight__pair .fig > img, .on-dark .fit-type .fig > img { background: var(--aubergine-soft); }
.chapter__body .fig { max-width: none !important; }
.weight__pair { align-items: start; }
.weight__pair .fig:nth-child(2) { margin-bottom: 0; }
.house__media .fig:nth-child(2) { width: 72%; margin: 0 0 0 auto; }
.rail .fig:nth-child(even) { margin-top: 0; }
.fit-type:nth-child(even) { margin-top: 0; }
.mistakes__media .fig:last-child { width: 100%; }
.letter-hero__media .fig:first-child, .letter-hero__media .fig:last-child { transform: none; }
.weight__pair { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.weight__pair .prose-wrap .fig { display: none; }
@media (max-width: 860px) { .weight__pair { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .weight__pair { grid-template-columns: 1fr; } }
