/* London Bespoke Tailors — main stylesheet
   1. Fonts  2. Tokens  3. Base  4. Layout  5. Header/nav  6. Components  7. Footer  8. Utilities */

/* 1. Fonts (self-hosted, latin subset) -------------------------------- */
@font-face {
  font-family: "Libre Caslon Display";
  src: url("/fonts/libre-caslon-display-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/libre-caslon-text-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("/fonts/libre-caslon-text-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-400-600-normal.woff2") format("woff2");
  font-weight: 400 600; font-style: normal; font-display: swap;
}

/* 2. Tokens ----------------------------------------------------------- */
:root {
  --ink: #141414;
  --paper: #f7f5f1;
  --white: #ffffff;
  --stone-600: #5e5a55;
  --stone-400: #b4afa7;
  --stone-300: #d9d4cc;
  --stone-200: #e8e4dd;
  --charcoal: #1e1d1b;

  --serif-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-small: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h3: 1.3125rem;
  --fs-h2: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.25rem);

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem; --s8: 8rem;
  --section: clamp(4rem, 2.5rem + 6vw, 9rem);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --max: 78rem;
  --measure: 36rem;
  --rule: 1px solid var(--stone-300);
  --ease: cubic-bezier(.2, .6, .2, 1);
  --bar-h: 0px;
}

/* 3. Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar-h);
}
img, picture { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-family: var(--serif-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.015em; }
h2 { font-family: var(--serif-display); font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.01em; }
h3 { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
em, i { font-family: var(--serif); font-style: italic; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--white); }
::selection { background: var(--ink); color: var(--paper); }

.skip-link {
  position: absolute; left: var(--s2); top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: var(--s1) var(--s2); text-decoration: none;
}
.skip-link:focus { top: var(--s2); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* 4. Layout ----------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section + .section { border-top: var(--rule); }
.section--white { background: var(--white); }
.section--dark { background: var(--charcoal); color: var(--paper); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }

/* Editorial split: text and image on a 12-col grid, with deliberate asymmetry */
.split { display: grid; gap: var(--s5) var(--s6); align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: repeat(12, 1fr); }
  .split > * { grid-row: 1; }
  .split > .split__text { grid-column: 1 / span 5; }
  .split > .split__media { grid-column: 7 / span 6; }
  .split--flip > .split__text { grid-column: 8 / span 5; grid-row: 1; }
  .split--flip > .split__media { grid-column: 1 / span 6; grid-row: 1; }
  .split--top { align-items: start; }
}

.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s6); }
@media (min-width: 56em) {
  .section-head { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .section-head > :first-child { grid-column: 1 / span 6; }
  .section-head > p, .section-head > .section-head__aside { grid-column: 8 / span 5; }
}

.eyebrow {
  display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-600); margin-bottom: var(--s3);
}
.section--dark .eyebrow { color: var(--stone-400); }
.lead { font-size: var(--fs-lead); line-height: 1.55; }
.muted { color: var(--stone-600); }
.section--dark .muted { color: var(--stone-400); }

/* 5. Header & navigation ---------------------------------------------- */
.topline {
  background: var(--charcoal); color: var(--stone-300); font-size: 0.8125rem; letter-spacing: 0.01em;
}
.topline .wrap { display: flex; justify-content: space-between; gap: var(--s3); padding-block: 0.55rem; }
.topline a { color: var(--paper); text-decoration: none; }
.topline a:hover { text-decoration: underline; }
@media (max-width: 47.99em) { .topline { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 4.5rem; }

.wordmark { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.wordmark__name { font-family: var(--serif-display); font-size: 1.4rem; letter-spacing: 0.01em; white-space: nowrap; }
.wordmark__place {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--stone-600); margin-top: 0.4rem;
}

.nav-primary { display: none; }
.nav-primary ul { list-style: none; display: flex; gap: clamp(0.9rem, 0.1rem + 1.1vw, 1.6rem); }
.nav-primary a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 0.35em; font-size: 0.9375rem; padding-block: 0.4rem; white-space: nowrap; }
.nav-primary a:hover, .nav-primary a[aria-current="page"] { text-decoration-color: currentColor; }
.site-header .header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: none; border: 1px solid var(--ink); color: var(--ink);
  font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.7rem 0.9rem; cursor: pointer;
}
.menu-toggle__bars { width: 16px; height: 9px; position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 7.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 3.75px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 3.75px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--paper);
  padding: 6.5rem var(--gutter) var(--s5); overflow-y: auto;
}
.mobile-menu ul { list-style: none; border-top: var(--rule); }
.mobile-menu li { border-bottom: var(--rule); }
.mobile-menu a { display: block; padding: 0.95rem 0; font-family: var(--serif); font-size: 1.375rem; text-decoration: none; }
.mobile-menu a[aria-current="page"] { font-style: italic; }
.mobile-menu__contact { margin-top: var(--s4); display: grid; gap: var(--s2); }
.mobile-menu__contact p { color: var(--stone-600); font-size: var(--fs-small); }
body.menu-open { overflow: hidden; }

/* Desktop navigation takes over from the menu button (must come after .menu-toggle) */
@media (min-width: 78em) {
  .nav-primary { display: block; }
  .site-header .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
}
@media (min-width: 48em) and (max-width: 77.99em) {
  .site-header .header-cta { display: inline-flex; margin-left: auto; }
}

/* 6. Components ------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.5rem;
  font: 600 0.8125rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--ink); color: var(--paper); text-decoration: underline; text-underline-offset: 0.25em; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.section--dark .btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--dark .btn--solid:hover { background: var(--paper); color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }
.section--dark .btn--line { color: var(--paper); border-color: var(--paper); }
.section--dark .btn--line:hover { background: transparent; color: var(--paper); text-decoration: underline; text-underline-offset: 0.25em; }
.btn--small { min-height: 2.5rem; padding: 0.6rem 1rem; font-size: 0.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

.text-link {
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link::after { content: " →"; }
.text-link:hover { border-bottom-width: 2px; }

/* Images */
.frame { position: relative; overflow: hidden; background: var(--stone-200); display: block; }
.frame picture { width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame > .ph { position: absolute; inset: 0; }
a.frame:hover img, .frame--zoom:hover img { transform: none; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--square { aspect-ratio: 1; }
.frame--wide { aspect-ratio: 4 / 3; }
.frame--pano { aspect-ratio: 16 / 9; }
figcaption, .caption {
  font-size: var(--fs-small); color: var(--stone-600); margin-top: var(--s2); max-width: 30rem; line-height: 1.5;
}
.section--dark figcaption { color: var(--stone-400); }

/* Photograph placeholder — deliberate, named, not a broken image */
.ph {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 16rem; padding: 3.5rem var(--s3) var(--s3);   background: var(--stone-200);
  border: 1px solid var(--stone-300); color: var(--stone-600);
}
.ph::before {
  content: "Photograph to come"; position: absolute; top: var(--s3); left: var(--s3);
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.ph__file { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--ink); }
.ph__note { font-size: 0.8125rem; line-height: 1.45; margin-top: 0.35rem; max-width: 22rem; }
.section--dark .ph { background-color: #2a2926; border-color: #3a3935; color: var(--stone-400); }
.section--dark .ph__file { color: var(--paper); }

/* Hero */
.hero { padding-block: clamp(2.5rem, 1rem + 5vw, 6rem) var(--section); }
.hero__grid { display: grid; gap: var(--s5); }
.hero__text h1 { margin-bottom: var(--s4); }
.hero__facts {
  list-style: none; display: grid; gap: var(--s2) var(--s4); margin-top: var(--s5);
  padding-top: var(--s3); border-top: var(--rule); font-size: var(--fs-small);
}
.hero__facts dt { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.6875rem; color: var(--stone-600); }
.hero__facts dd { margin: 0.2rem 0 0; }
@media (min-width: 36em) { .hero__facts { grid-template-columns: repeat(3, auto); justify-content: start; } }
@media (min-width: 56em) {
  .hero__grid { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .hero__text { grid-column: 1 / span 6; padding-bottom: var(--s3); }
  .hero__media { grid-column: 8 / span 5; }
}

/* Page intro (inner pages) */
.page-intro { padding-block: clamp(2.5rem, 1rem + 5vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); border-bottom: var(--rule); }
.page-intro__grid { display: grid; gap: var(--s4); }
.page-intro h1 { max-width: 16ch; }
@media (min-width: 56em) {
  .page-intro__grid { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .page-intro__grid > :first-child { grid-column: 1 / span 7; }
  .page-intro__grid > :last-child { grid-column: 8 / span 5; }
}
.breadcrumb { font-size: 0.8125rem; color: var(--stone-600); margin-bottom: var(--s4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--stone-400); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Two-column "what we make" */
.makes { display: grid; gap: var(--s6); }
@media (min-width: 56em) { .makes { grid-template-columns: 1fr 1fr; gap: var(--s5); } .makes > :last-child { margin-top: var(--s7); } }
.makes__item h3 { font-family: var(--serif-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); margin: var(--s3) 0 var(--s2); }
.garment-inline { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0; margin: var(--s2) 0 var(--s3); color: var(--stone-600); }
.garment-inline li:not(:last-child)::after { content: "·"; margin-inline: 0.55rem; color: var(--stone-400); }

/* Detail strip (craft close-ups) */
.details { display: grid; gap: var(--s4) var(--s3); grid-template-columns: repeat(2, 1fr); }
.details figure { margin: 0; }
@media (max-width: 55.99em) { .details > :nth-child(even) { margin-top: var(--s5); } }
@media (min-width: 56em) {
  .details { grid-template-columns: repeat(4, 1fr); gap: var(--s4); align-items: start; }
  .details > :nth-child(even) { margin-top: var(--s7); }
  .details--two { grid-template-columns: repeat(2, 1fr); }
  .details--two > :nth-child(even) { margin-top: var(--s5); }
}

/* Price list (packages) */
.price-list { list-style: none; border-top: 1px solid var(--ink); }
.price-row {
  display: grid; gap: var(--s2) var(--s4); padding-block: var(--s4);
  border-bottom: var(--rule); grid-template-columns: 1fr auto;
}
.price-row__name { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.25; }
.price-row__price { font-family: var(--serif-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1; white-space: nowrap; text-align: right; }
.price-row__price small { display: block; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-600); margin-top: 0.4rem; }
.price-row__contents { grid-column: 1 / -1; color: var(--stone-600); }
.price-row__contents ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0; }
.price-row__contents li:not(:last-child)::after { content: "·"; margin-inline: 0.55rem; color: var(--stone-400); }
.price-row__cta { grid-column: 1 / -1; }
@media (min-width: 56em) {
  .price-row { grid-template-columns: 5fr 5fr 2fr; align-items: baseline; }
  .price-row__contents { grid-column: 2; grid-row: 1; }
  .price-row__price { grid-column: 3; grid-row: 1; }
  .price-row__cta { grid-column: 2 / -1; }
  .price-row--compact .price-row__cta { display: none; }
}

/* Package detail blocks (packages page) */
.packages { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.package { display: grid; gap: var(--s3) var(--s5); padding-block: var(--s5); border-bottom: var(--rule); }
.package__head { display: grid; gap: var(--s2); }
.package__name { font-family: var(--serif-display); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.1; }
.package__for { color: var(--stone-600); margin-top: var(--s2); }
.package__price { font-family: var(--serif-display); font-size: clamp(2rem, 1.6rem + 1.5vw, 3rem); line-height: 1; }
.package__price small { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.12em; color: var(--stone-600); margin-left: 0.3rem; }
.package__list { list-style: none; border-top: var(--rule); }
.package__list li { display: flex; justify-content: space-between; gap: var(--s2); padding-block: 0.7rem; border-bottom: var(--rule); }
.package__list li span:last-child { color: var(--stone-600); text-align: right; }
@media (min-width: 56em) {
  .package { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .package > .package__intro { grid-column: 1 / span 5; }
  .package > .package__list { grid-column: 7 / span 6; }
}

/* Simple data table (shirts) */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-body); }
.table caption { text-align: left; font-size: var(--fs-small); color: var(--stone-600); padding-bottom: var(--s2); }
.table th, .table td { text-align: left; padding: 1rem 0; border-bottom: var(--rule); vertical-align: baseline; }
.table thead th { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-600); font-weight: 600; border-bottom-color: var(--ink); }
.table td:last-child, .table th:last-child { text-align: right; }
.table td:last-child { font-family: var(--serif-display); font-size: 1.5rem; white-space: nowrap; }
/* Package comparison: all columns equal, centred values */
.table--compare { min-width: 44rem; }
.table--compare th, .table--compare td { text-align: center; padding-inline: var(--s1); }
.table--compare th[scope="row"] { text-align: left; font-weight: 600; font-size: 0.9375rem; }
.table--compare thead th { font-family: var(--serif); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; }
.table--compare thead th:first-child { text-align: left; font-family: var(--sans); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-600); font-weight: 600; }
.table--compare td, .table--compare td:last-child { font-family: var(--sans); font-size: 0.9375rem; text-align: center; }
.table--compare .table__total td { font-family: var(--serif-display); font-size: 1.625rem; }
.table--compare th:last-child { text-align: center; }

/* Numbered steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid currentColor; }
.steps > li {
  counter-increment: step; display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--s2);
  padding-block: var(--s3); border-bottom: var(--rule);
}
.section--dark .steps > li { border-bottom-color: #3a3935; }
.steps > li::before {
  content: counter(step, decimal-leading-zero); font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--stone-600); line-height: 1.5;
}
.section--dark .steps > li::before { color: var(--stone-400); }
.steps h3 { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; line-height: 1.5; margin-bottom: 0.25rem; }
.steps p { color: var(--stone-600); margin: 0; }
.section--dark .steps p { color: var(--stone-300); }
@media (min-width: 56em) {
  .steps--row { grid-template-columns: repeat(4, 1fr); border-top: 0; gap: var(--s4); }
  .steps--row > li { grid-template-columns: 1fr; border-bottom: 0; border-top: 1px solid currentColor; padding-top: var(--s3); }
}

/* Two services side by side (hotel / remote) */
.duo { display: grid; gap: var(--s6); }
@media (min-width: 56em) { .duo { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.duo__item h3 { font-family: var(--serif-display); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin: var(--s3) 0 var(--s2); }

/* Garment index (men/women pages): typographic list, not cards */
.garments { list-style: none; border-top: 1px solid var(--ink); }
.garment { display: grid; gap: var(--s2) var(--s5); padding-block: var(--s4); border-bottom: var(--rule); }
.garment h3 { font-family: var(--serif-display); font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); }
.garment p { color: var(--stone-600); }
.garment .garment__choices { font-size: var(--fs-small); color: var(--stone-600); }
.garment .garment__choices strong { color: var(--ink); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.6875rem; margin-right: 0.5rem; }
@media (min-width: 56em) {
  .garment { grid-template-columns: repeat(12, 1fr); align-items: baseline; }
  .garment > h3 { grid-column: 1 / span 4; }
  .garment > div { grid-column: 5 / span 8; }
}

/* Fabric entries */
.cloth-list { list-style: none; border-top: 1px solid var(--ink); }
.cloth { display: grid; gap: var(--s1) var(--s4); padding-block: var(--s3); border-bottom: var(--rule); }
.cloth h3 { font-family: var(--serif); font-size: 1.25rem; }
.cloth p { color: var(--stone-600); margin: 0; }
.cloth__spec { font-size: var(--fs-small); color: var(--ink); letter-spacing: 0.02em; }
@media (min-width: 48em) {
  .cloth { grid-template-columns: 14rem 1fr; }
  .cloth > h3 { grid-row: span 2; }
  /* inside a narrow split column, stack the name above the description */
  .split__text .cloth, .split__media .cloth { grid-template-columns: 1fr; }
  .split__text .cloth > h3, .split__media .cloth > h3 { grid-row: auto; }
}
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.swatches figure { margin: 0; }
.swatches .frame { aspect-ratio: 2 / 5; }
@media (max-width: 35.99em) { .swatches { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline;
  padding-block: 1.3rem; font-family: var(--serif); font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; line-height: 1; flex: none; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.faq__answer { padding: 0 0 var(--s4); max-width: 42rem; color: var(--stone-600); }
.faq__answer p { color: inherit; }
.faq-group + .faq-group { margin-top: var(--s6); }
.faq-group > h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: var(--s3); }

/* Reviews */
.reviews { display: grid; gap: var(--s4); }
@media (min-width: 56em) { .reviews { grid-template-columns: repeat(12, 1fr); align-items: center; } .reviews > :first-child { grid-column: 1 / span 6; } .reviews > :last-child { grid-column: 8 / span 5; } }
.pending {
  border: 1px dashed var(--stone-400); padding: var(--s3); font-size: var(--fs-small); color: var(--stone-600);
}
.pending strong { display: block; color: var(--ink); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.6875rem; margin-bottom: 0.4rem; }
.section--dark .pending { border-color: var(--stone-600); color: var(--stone-400); }
.section--dark .pending strong { color: var(--paper); }

/* Contact / visit block */
.visit { display: grid; gap: var(--s5); }
@media (min-width: 56em) { .visit { grid-template-columns: repeat(12, 1fr); } .visit > :first-child { grid-column: 1 / span 6; } .visit > :last-child { grid-column: 8 / span 5; } }
.contact-list { list-style: none; border-top: 1px solid currentColor; }
.contact-list li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s2); padding-block: 1rem; border-bottom: var(--rule); }
.contact-list a, .footer-list a { overflow-wrap: anywhere; }
.visit > *, .split > *, .duo > *, .hero__grid > * { min-width: 0; }
.section--dark .contact-list li { border-bottom-color: #3a3935; }
.contact-list .label { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-600); padding-top: 0.25rem; }
.section--dark .contact-list .label { color: var(--stone-400); }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--stone-400); }
.contact-list a:hover { border-bottom-color: currentColor; }
address { font-style: normal; }

/* Big WhatsApp panel on contact page */
.primary-contact { border: 1px solid var(--ink); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); background: var(--white); }
.primary-contact h2 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); margin-bottom: var(--s2); }
.primary-contact .btn { width: auto; }
@media (min-width: 36em) { .primary-contact .btn { width: auto; } }

/* Closing call to action band */
.closing { text-align: left; }
.closing__grid { display: grid; gap: var(--s4); }
@media (min-width: 56em) { .closing__grid { grid-template-columns: repeat(12, 1fr); align-items: end; } .closing__grid > :first-child { grid-column: 1 / span 7; } .closing__grid > :last-child { grid-column: 9 / span 4; justify-self: end; } }
.closing .actions { margin-top: 0; }

/* Pull quote style statement (not a testimonial) */
.statement { font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); line-height: 1.35; max-width: 34ch; }

/* Mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr; background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateY(0); transition: transform .3s var(--ease);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.5rem;
  color: var(--paper); text-decoration: none; font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
}
.action-bar a + a { border-left: 1px solid #3a3935; }
.action-bar svg { width: 18px; height: 18px; }
body.menu-open .action-bar { transform: translateY(110%); }
@media (max-width: 67.99em) { :root { --bar-h: calc(3.5rem + env(safe-area-inset-bottom, 0px)); } }
@media (min-width: 68em) { .action-bar { display: none; } }

/* Wordmark image (SVG lockup from tools/make_wordmark.py) */
.wordmark img { height: 3rem; width: auto; }
@media (min-width: 48em) { .wordmark img { height: 3.1rem; } }
.nowrap { white-space: nowrap; }
.footer-brand .wordmark img { height: 3.6rem; }

/* Full-bleed photograph band */
.bleed { position: relative; }
.bleed .frame { aspect-ratio: 4 / 3; }
@media (min-width: 48em) { .bleed .frame { aspect-ratio: 21 / 8; } }
.bleed figcaption { padding-inline: var(--gutter); max-width: none; }
.wrap.bleed figcaption { padding-inline: 0; }
.bleed--overlay figcaption {
  position: absolute; left: 0; bottom: 0; margin: 0; padding: var(--s4) var(--gutter);
  color: var(--white); font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); line-height: 1.3;
  background: rgba(20, 20, 20, .55); max-width: 40rem;
}

/* Photo sequence: a row of garments (scrolls sideways on phones) */
.sequence { display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s2); scrollbar-width: thin; }
.sequence > * { scroll-snap-align: start; }
.sequence .frame { aspect-ratio: 3 / 4; }
@media (min-width: 48em) { .sequence { grid-auto-columns: 40%; } }
@media (min-width: 68em) {
  .sequence { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; }
  .sequence--5 { grid-template-columns: repeat(5, 1fr); }
  .sequence > :nth-child(even) { margin-top: var(--s5); }
}
.sequence figcaption strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.9375rem; }

/* Asymmetric mosaic: one large image with two smaller */
.mosaic { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; }
.mosaic > :first-child { grid-column: 1 / -1; }
@media (max-width: 55.99em) {
  /* phones/tablets: text never squeezed into a half column; a photo after text goes full-width landscape */
  .mosaic > :not(figure) { grid-column: 1 / -1; }
  .mosaic > :not(figure) + figure { grid-column: 1 / -1; }
  .mosaic > :not(figure) + figure .frame { aspect-ratio: 4 / 3; }
}
@media (min-width: 56em) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; gap: var(--s4); }
  .mosaic > :first-child { grid-column: 1 / span 7; grid-row: 1 / span 2; }
  .mosaic > :nth-child(2) { grid-column: 8 / span 5; }
  .mosaic > :nth-child(3) { grid-column: 8 / span 5; }
}

/* Editorial package blocks (Packages page) */
.collection { display: grid; gap: var(--s4) var(--s6); padding-block: var(--s6); border-bottom: var(--rule); }
.collection:first-child { border-top: 1px solid var(--ink); }
.collection__media .frame { aspect-ratio: 4 / 5; }
.collection__media--pair { display: grid; grid-template-columns: 3fr 2fr; gap: var(--s2); align-items: end; }
.collection__media--pair > :last-child .frame { aspect-ratio: 3 / 4; }
.collection__index { font-family: var(--serif); font-style: italic; color: var(--stone-600); }
.collection__name { font-family: var(--serif-display); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.05; margin: var(--s2) 0 var(--s3); }
.collection__price { font-family: var(--serif-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 1; }
.collection__price small { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--stone-600); margin-left: 0.4rem; }
.collection__for { margin-top: var(--s3); }
.collection__for strong, .collection__cloth strong { display: block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-600); font-weight: 600; margin-bottom: 0.3rem; }
.collection__cloth { margin-top: var(--s3); }
.collection .package__list { margin-top: var(--s4); }
@media (min-width: 56em) {
  .collection { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .collection__media { grid-column: 1 / span 6; }
  .collection__body { grid-column: 8 / span 5; }
  .collection--flip .collection__media { grid-column: 7 / span 6; grid-row: 1; }
  .collection--flip .collection__body { grid-column: 1 / span 5; grid-row: 1; }
}

/* Compact package teaser (homepage): photo + name + price, typographic */
.teasers { display: grid; gap: var(--s5) var(--s4); grid-template-columns: 1fr 1fr; }
@media (min-width: 56em) { .teasers { grid-template-columns: repeat(4, 1fr); } .teasers > :nth-child(even) { margin-top: var(--s6); } }
@media (min-width: 56em) { .teasers--three { grid-template-columns: repeat(3, 1fr); } .teasers--three > :nth-child(even) { margin-top: var(--s6); } }
@media (max-width: 55.99em) { .teasers--three { grid-template-columns: 1fr; } .teasers--three .frame { aspect-ratio: 4 / 5; } }
@media (min-width: 56em) { .teasers--six { grid-template-columns: repeat(6, 1fr); } .teasers--six > :nth-child(even) { margin-top: var(--s5); } }
.teaser { display: block; text-decoration: none; }
.teaser .frame { aspect-ratio: 3 / 4; }
.teaser__name { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.3; margin-top: var(--s2); }
.teaser__price { font-family: var(--serif-display); font-size: 1.75rem; line-height: 1.1; margin-top: 0.3rem; }
.teaser__contents { font-size: var(--fs-small); color: var(--stone-600); margin-top: 0.3rem; }
.teaser:hover .teaser__name { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* Numbered advantages / reasons (typographic, two columns) */
.points { list-style: none; counter-reset: pt; display: grid; gap: var(--s4) var(--s6); }
@media (min-width: 48em) { .points { grid-template-columns: 1fr 1fr; } }
.points > li { counter-increment: pt; border-top: 1px solid currentColor; padding-top: var(--s3); }
.points > li::before { content: counter(pt, upper-roman) "."; font-family: var(--serif); font-style: italic; color: var(--stone-600); display: block; margin-bottom: var(--s1); }
.section--dark .points > li::before { color: var(--stone-400); }
.points h3 { font-family: var(--serif); font-size: 1.3125rem; margin-bottom: var(--s1); }
.points p { color: var(--stone-600); }
.section--dark .points p { color: var(--stone-300); }

/* Cloth by occasion */
.occasions { list-style: none; border-top: 1px solid var(--ink); }
.occasion { display: grid; gap: var(--s1) var(--s4); padding-block: var(--s3); border-bottom: var(--rule); }
.occasion h3 { font-family: var(--serif); font-size: 1.25rem; }
.occasion p { color: var(--stone-600); margin: 0; }
@media (min-width: 48em) { .occasion { grid-template-columns: 12rem 1fr; } }

/* Guides index: editorial rows */
.stories { list-style: none; border-top: 1px solid var(--ink); }
.story { border-bottom: var(--rule); }
.story a { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s3); padding-block: var(--s3); text-decoration: none; align-items: center; }
.story .frame { aspect-ratio: 1; }
.story__kicker { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--stone-600); font-weight: 600; }
.story__title { font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.25; margin: 0.25rem 0; }
.story__dek { color: var(--stone-600); font-size: 0.9375rem; margin: 0; }
.story a:hover .story__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
@media (min-width: 48em) { .story a { grid-template-columns: 11rem 1fr; gap: var(--s5); } }
.stories--featured .story:first-child a { grid-template-columns: 1fr; }
@media (min-width: 56em) { .stories--featured .story:first-child a { grid-template-columns: 1.2fr 1fr; gap: var(--s6); } .stories--featured .story:first-child .frame { aspect-ratio: 4 / 3; } }

/* Article (guides) */
.article { padding-block: var(--s5) var(--section); }
.article__head { max-width: 46rem; }
.article__head h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.75rem); }
.article__dek { font-size: var(--fs-lead); color: var(--stone-600); margin-top: var(--s3); }
.article__meta { font-size: 0.8125rem; color: var(--stone-600); margin-top: var(--s3); }
.prose { max-width: 40rem; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p { max-width: none; margin-bottom: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose figure { margin-block: 2.2em; }
@media (min-width: 68em) { .prose figure.wide { margin-inline: -8rem -12rem; } }
.prose a { text-decoration-thickness: 1px; }
.prose .note { border-left: 2px solid var(--ink); padding-left: var(--s3); font-family: var(--serif); font-style: italic; font-size: 1.1875rem; }
.article__foot { max-width: 40rem; margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--ink); }

/* Credit line for licensed photographs */
.credit { font-size: 0.75rem; color: var(--stone-400); }

/* Shopfront hero: landscape photograph of the real shop, shown first on phones */
.hero--shop .frame { aspect-ratio: 4 / 3; }
.hero--shop .hero__media { order: -1; }
.hero--shop .hero__text h1 { font-size: clamp(2.35rem, 1.5rem + 3.2vw, 3.9rem); }
@media (min-width: 56em) {
  .hero--shop .hero__grid { align-items: center; }
  .hero--shop .hero__media { order: 0; grid-column: 6 / span 7; }
  .hero--shop .hero__text { grid-column: 1 / span 5; padding-bottom: 0; }
}

/* Introduction statement under the hero */
.intro { display: grid; gap: var(--s4) var(--s6); }
.intro .statement { max-width: 30ch; }
@media (min-width: 56em) {
  .intro { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .intro > :first-child { grid-column: 1 / span 6; }
  .intro > :last-child { grid-column: 8 / span 5; }
}

/* Illustrated process: alternating image / text stages */
.stages { list-style: none; counter-reset: stage; }
.stage { counter-increment: stage; display: grid; gap: var(--s3) var(--s6); padding-block: var(--s5); border-top: var(--rule); }
.stage:first-child { border-top: 1px solid var(--ink); }
.stage__media .frame { aspect-ratio: 4 / 3; }
.stage__body h3 { font-family: var(--serif-display); font-size: clamp(1.625rem, 1.3rem + 1.1vw, 2.25rem); line-height: 1.12; margin-bottom: var(--s2); }
.stage__body h3::before { content: counter(stage, decimal-leading-zero); display: block; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--stone-600); margin-bottom: var(--s2); }
.stage__body p { color: var(--stone-600); }
@media (min-width: 56em) {
  .stage { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .stage > .stage__media { grid-column: 1 / span 5; grid-row: 1; }
  .stage > .stage__body { grid-column: 7 / span 6; grid-row: 1; }
  .stage:nth-child(even) > .stage__media { grid-column: 8 / span 5; }
  .stage:nth-child(even) > .stage__body { grid-column: 1 / span 6; }
}

/* Package price index (top of Packages page) */
.price-index { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.price-index a { display: block; padding: var(--s3) var(--s2) var(--s3) 0; text-decoration: none; border-bottom: var(--rule); }
.price-index__name { display: block; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.3; }
.price-index__price { display: block; font-family: var(--serif-display); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.375rem); line-height: 1.1; margin-top: 0.3rem; }
.price-index__contents { display: block; font-size: var(--fs-small); color: var(--stone-600); margin-top: 0.2rem; }
.price-index a:hover .price-index__name { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
@media (min-width: 56em) {
  .price-index { grid-template-columns: repeat(4, 1fr); }
  .price-index a { padding: var(--s4) var(--s3); border-right: var(--rule); }
  .price-index a:first-child { padding-left: 0; }
  .price-index a:last-child { border-right: 0; }
}

/* Label for editorial (licensed) imagery groups */
.editorial-note { font-size: 0.8125rem; color: var(--stone-600); border-left: 2px solid var(--stone-300); padding-left: var(--s2); margin-top: var(--s4); max-width: 34rem; }

/* 7. Footer ----------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--stone-300); padding-block: var(--s7) var(--s4); font-size: 0.9375rem; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 68em) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer-brand .wordmark__name { color: var(--paper); font-size: 1.75rem; }
.footer-brand .wordmark__place { color: var(--stone-400); }
.footer-brand p { margin-top: var(--s3); color: var(--stone-400); max-width: 22rem; }
.footer-head { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-400); margin-bottom: var(--s2); }
.footer-list { list-style: none; display: grid; gap: 0.45rem; }
.footer-base { margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid #3a3935; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); font-size: 0.8125rem; color: var(--stone-400); }

/* 8. Utilities / motion ----------------------------------------------- */
.mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); } .mt-5 { margin-top: var(--s5); } .mt-6 { margin-top: var(--s6); }
.stack > * + * { margin-top: var(--s3); }
.center-narrow { max-width: 44rem; }

@media (prefers-reduced-motion: no-preference) {
  /* main.js adds .pre only to elements that start below the fold, so nothing flashes on load */
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Print: keep it readable */
@media print {
  .site-header, .topline, .action-bar, .mobile-menu, .site-footer .footer-base { display: none !important; }
  body { background: #fff; padding: 0; }
}
