/* ==========================================================================
   Silk Elegance Lingerie & Swimwear - mockup stylesheet
   Implements the Phase 3 design system. Fonts: Newsreader + Mulish.
   Palette: Raw Silk / Bitter Cocoa / Rosewood. Motif: the Fitting Tape.
   border-radius is 0 on every element (enforced globally, hard constraint).
   ========================================================================== */

/* ---- 4. Global tokens ---- */
:root {
  /* Colour: raw */
  --c-silk:          #F4EEE6;
  --c-silk-light:    #FBF8F3;
  --c-silk-deep:     #EAE1D5;
  --c-cocoa:         #2A2320;
  --c-cocoa-soft:    #4A413B;
  --c-taupe:         #7C7167;
  --c-hairline:      #D8CDBE;
  --c-rosewood:      #9E5C61;
  --c-rosewood-deep: #7E454A;
  --c-rosewood-tint: #EFE0E0;
  --c-sage:          #6E7A63;

  /* Colour: semantic */
  --bg:            var(--c-silk);
  --surface:       var(--c-silk-light);
  --surface-alt:   var(--c-silk-deep);
  --ink:           var(--c-cocoa);
  --ink-soft:      var(--c-cocoa-soft);
  --muted:         var(--c-taupe);
  --line:          var(--c-hairline);
  --accent:        var(--c-rosewood);
  --accent-strong: var(--c-rosewood-deep);
  --accent-wash:   var(--c-rosewood-tint);
  --support:       var(--c-sage);
  --on-dark:       var(--c-silk-light);
  --ink-dark-bg:   var(--c-cocoa);

  /* Type: families */
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body:    "Mulish", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Type: sizes (fluid) */
  --fs-display: clamp(2.125rem, 1.30rem + 3.7vw, 4rem);
  --fs-h1:      clamp(1.75rem, 1.30rem + 2.0vw, 3rem);
  --fs-h2:      clamp(1.5rem, 1.28rem + 1.0vw, 2.25rem);
  --fs-h3:      clamp(1.25rem, 1.16rem + 0.4vw, 1.625rem);
  --fs-h4:      1.25rem;
  --fs-h5:      1.0625rem;
  --fs-h6:      0.9375rem;
  --fs-lead:    clamp(1.1875rem, 1.13rem + 0.25vw, 1.375rem);
  --fs-body:    clamp(1.0625rem, 1.04rem + 0.10vw, 1.125rem);
  --fs-small:   1rem;
  --fs-xs:      0.875rem;
  --fs-overline:0.8125rem;

  /* Type: line-heights */
  --lh-tight:   1.08;
  --lh-heading: 1.16;
  --lh-snug:    1.35;
  --lh-body:    1.65;

  /* Type: weights */
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-x:       800;

  /* Type: tracking */
  --ls-tight:   -0.01em;
  --ls-flat:    0;
  --ls-label:   0.04em;
  --ls-overline:0.14em;

  /* Spacing scale (8px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Layout */
  --maxw:        1280px;
  --maxw-narrow: 760px;
  --gutter:      clamp(16px, 4vw, 48px);
  --section-y:   clamp(48px, 8vw, 112px);

  /* Borders / radius / lines */
  --radius: 0;
  --bw:     1px;
  --bw-2:   2px;
  --bw-3:   3px;

  /* Motif: fitting tape */
  --tick-color: var(--accent);
  --tick-w: 2px;
  --tick-h: 10px;
  --tick-gap: 14px;

  /* Elevation: flat */
  --shadow-card:  0 1px 0 var(--line);
  --shadow-pop:   0 8px 24px rgba(42, 35, 32, 0.12);

  /* Motion */
  --dur-fast:  120ms;
  --dur:       200ms;
  --dur-slow:  320ms;
  --ease:      cubic-bezier(0.2, 0, 0.1, 1);

  /* Focus */
  --focus-ring: 3px;
  --focus-color: var(--accent-strong);

  /* Z-index */
  --z-header: 100;
  --z-drawer: 200;
  --z-skip:   300;
}

/* ---- 5. Global base styles ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: var(--radius) !important; /* hard constraint, enforced globally */
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  color: var(--ink);
  margin: 0 0 var(--sp-4);
  line-height: var(--lh-heading);
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  color: var(--ink);
  margin: 0 0 var(--sp-3);
  line-height: var(--lh-snug);
}
h4 { font-size: var(--fs-h4); letter-spacing: 0.01em; }
h5 { font-size: var(--fs-h5); letter-spacing: 0.02em; }
h6 { font-size: var(--fs-h6); letter-spacing: var(--ls-label); }

p { margin: 0 0 var(--sp-4); max-width: 68ch; }

a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--ink); }

strong { font-weight: var(--fw-bold); }

img { max-width: 100%; height: auto; display: block; }

.lead {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--ink-soft);
  font-weight: var(--fw-regular);
  max-width: 60ch;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-overline);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 var(--sp-3);
}
/* eyebrow tick (precedes an overline) */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: var(--tick-w);
  margin-right: 10px;
  vertical-align: middle;
  background: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

section { padding-block: var(--section-y); }
.band-silk { background: var(--surface); }
.band-deep { background: var(--surface-alt); }
.band-wash { background: var(--accent-wash); }
.band-dark { background: var(--ink-dark-bg); color: var(--on-dark); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--on-dark); }
.band-dark p { color: rgba(244, 238, 230, 0.86); }
.band-dark .lead { color: rgba(244, 238, 230, 0.86); }

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -64px;
  z-index: var(--z-skip);
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--sp-3) var(--sp-4);
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* Accessibility: visible focus for keyboard users only */
:focus-visible {
  outline: var(--focus-ring) solid var(--focus-color);
  outline-offset: 2px;
}
:focus:not(:focus-visible) { outline: none; }

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---- 3.3 Motif: the Fitting Tape ---- */
.tape-divider {
  height: 12px;
  margin: clamp(40px, 6vw, 72px) 0;
  border: 0;
  background-image:
    linear-gradient(var(--line), var(--line)),
    repeating-linear-gradient(
      to right,
      var(--tick-color) 0,
      var(--tick-color) var(--tick-w),
      transparent var(--tick-w),
      transparent calc(var(--tick-w) + var(--tick-gap))
    );
  background-size:
    100% 1px,
    100% var(--tick-h);
  background-position: left center, left center;
  background-repeat: no-repeat, repeat-x;
}

.tape-mark {
  display: block;
  width: 48px;
  height: var(--tick-h);
  margin-top: 12px;
  background-image:
    linear-gradient(var(--line), var(--line)),
    repeating-linear-gradient(
      to right,
      var(--tick-color) 0, var(--tick-color) var(--tick-w),
      transparent var(--tick-w), transparent calc(var(--tick-w) + var(--tick-gap))
    );
  background-size: 100% 1px, 100% 100%;
  background-position: left center, left center;
  background-repeat: no-repeat, repeat-x;
}
/* mark on a dark band: lighten the baseline */
.band-dark .tape-mark {
  background-image:
    linear-gradient(rgba(244,238,230,0.4), rgba(244,238,230,0.4)),
    repeating-linear-gradient(
      to right,
      var(--tick-color) 0, var(--tick-color) var(--tick-w),
      transparent var(--tick-w), transparent calc(var(--tick-w) + var(--tick-gap))
    );
}

.section-head { margin-bottom: var(--sp-7); }
.section-head--center { text-align: center; }
.section-head--center .tape-mark { margin-inline: auto; }
.section-head--center p { margin-inline: auto; }

/* generic hairline rule */
.rule { border: 0; border-top: var(--bw) solid var(--line); margin: var(--sp-7) 0; }

/* ==========================================================================
   6.1 Navigation
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg);
  border-bottom: var(--bw) solid var(--line);
  transition: box-shadow var(--dur) var(--ease), min-height var(--dur) var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 72px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: min-height var(--dur) var(--ease);
}
/* condensed sticky header on scroll */
.header.is-condensed { box-shadow: 0 1px 0 var(--line); }
.header.is-condensed .header__inner { min-height: 58px; }

.header__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header__logo span { color: var(--accent-strong); }

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-left: auto;
}
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-1);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: var(--bw-2);
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-haspopup]::before {
  content: "";
  margin-left: 4px;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  order: 2;
}

/* Utility cluster (icons) */
.nav__utility { display: flex; align-items: center; gap: var(--sp-2); margin-left: var(--sp-2); }
.nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  color: var(--ink);
  background: none; border: 0; cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__icon:hover { color: var(--accent-strong); }
.nav__icon svg { width: 22px; height: 22px; }
.nav__cart-count {
  position: absolute;
  top: 4px; right: 2px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--on-dark);
  background: var(--accent);
  min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Dropdown / mega-menu panel */
.nav__panel {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: var(--surface);
  border: var(--bw) solid var(--line);
  box-shadow: var(--shadow-pop);
  padding: var(--sp-5);
  display: none;
}
.nav__panel--mega { min-width: 560px; display: none; }
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel { display: block; }
.nav__panel-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.nav__panel h6 { color: var(--muted); margin-bottom: var(--sp-3); }
.nav__panel a {
  display: block;
  padding: 6px 0;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--ink);
  text-decoration: none;
}
.nav__panel a:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }

/* Mobile toggle */
.nav__toggle { display: none; }
.nav__toggle-bars { display: inline-block; width: 22px; height: 16px; position: relative; }
.nav__toggle-bars span,
.nav__toggle-bars::before,
.nav__toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
}
.nav__toggle-bars::before { top: 0; }
.nav__toggle-bars span { top: 7px; }
.nav__toggle-bars::after { bottom: 0; }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav__utility { margin-left: auto; }
  .nav__toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: none; border: 0; color: var(--ink); cursor: pointer;
  }
}

/* Drawer */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(42, 35, 32, 0.4);
  z-index: var(--z-drawer);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.drawer-overlay[data-open="true"] { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 380px);
  background: var(--surface);
  border-left: var(--bw) solid var(--line);
  box-shadow: var(--shadow-pop);
  z-index: var(--z-drawer);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease);
  display: flex; flex-direction: column;
  padding: var(--sp-6) var(--sp-5);
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-4); }
.drawer__brand { font-family: var(--font-display); font-size: 1.375rem; font-weight: var(--fw-semi); color: var(--ink); text-decoration: none; }
.drawer__brand span { color: var(--accent-strong); }
.drawer__close {
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1;
}
.drawer__link {
  display: block;
  min-height: 44px;
  padding: var(--sp-3) 0;
  border-bottom: var(--bw) solid var(--line);
  font-size: var(--fs-body);
  font-weight: var(--fw-semi);
  color: var(--ink);
  text-decoration: none;
}
.drawer__link:hover,
.drawer__link[aria-current="page"] { color: var(--accent-strong); }
.drawer__sub { padding: var(--sp-2) 0 var(--sp-3) var(--sp-4); display: flex; flex-direction: column; }
.drawer__sub a {
  min-height: 40px; display: flex; align-items: center;
  font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--ink-soft); text-decoration: none;
}
.drawer__sub a:hover { color: var(--accent-strong); }
.drawer__cta {
  margin-top: auto;
  padding-top: var(--sp-5);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.drawer__cta a { font-weight: var(--fw-bold); display: block; min-height: 44px; line-height: 44px; }

/* ==========================================================================
   6.2 Hero
   ========================================================================== */
.hero {
  background: var(--bg);
  border-bottom: var(--bw) solid var(--line);
}
.hero__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: var(--section-y) var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.hero__title {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--sp-5);
}
.hero__sub {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--ink-soft);
  margin-bottom: var(--sp-6);
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.hero__support {
  margin-top: var(--sp-5);
  font-size: var(--fs-small);
  color: var(--ink-soft);
  max-width: none;
}
.hero__support span:not(:last-child)::after {
  content: "\00B7"; color: var(--muted); margin: 0 var(--sp-2);
}
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border: var(--bw) solid var(--line);
  overflow: hidden;
  background: var(--surface-alt);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink-dark-bg);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
}

@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero__media { aspect-ratio: 3 / 2; order: -1; }
}

/* Inner-page hero (H1 pages) */
.page-hero {
  border-bottom: var(--bw) solid var(--line);
  padding-block: clamp(40px, 7vw, 88px);
}
.page-hero__inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero .lead { margin-top: var(--sp-4); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

/* Breadcrumbs */
.crumbs { font-size: var(--fs-xs); color: var(--muted); margin-bottom: var(--sp-4); }
.crumbs a { color: var(--ink-soft); text-decoration: none; font-weight: var(--fw-medium); }
.crumbs a:hover { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs .sep { margin: 0 var(--sp-2); color: var(--line); }

/* ==========================================================================
   6.3 Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 0 var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: var(--bw-2) solid transparent;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn--primary {
  background: var(--accent);
  color: var(--on-dark);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); color: var(--on-dark); }
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--secondary:hover { background: var(--ink); color: var(--on-dark); }
.btn--ghost {
  background: transparent;
  color: var(--accent-strong);
  border-color: transparent;
  padding-inline: var(--sp-2);
  min-height: 44px;
}
.btn--ghost:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost::after { content: " \2192"; }
.btn--on-dark {
  background: var(--on-dark);
  color: var(--ink);
  border-color: var(--on-dark);
}
.btn--on-dark:hover { background: var(--accent); color: var(--on-dark); border-color: var(--accent); }
.btn:focus-visible { outline: var(--focus-ring) solid var(--focus-color); outline-offset: 3px; }
.band-dark .btn--secondary { color: var(--on-dark); border-color: var(--on-dark); }
.band-dark .btn--secondary:hover { background: var(--on-dark); color: var(--ink); }

/* ==========================================================================
   6.9 Trust strip
   ========================================================================== */
.trust {
  background: var(--ink-dark-bg);
  color: var(--on-dark);
  border-block: var(--bw) solid var(--ink-dark-bg);
}
.trust__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: var(--sp-5) var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.trust__item {
  display: flex; flex-direction: column; gap: 2px;
  font-size: var(--fs-small);
  color: rgba(244, 238, 230, 0.82);
}
.trust__item b {
  font-family: var(--font-display);
  font-weight: var(--fw-semi);
  font-size: var(--fs-h4);
  color: var(--on-dark);
}
@media (min-width: 768px) {
  .trust__inner { grid-template-columns: repeat(4, 1fr); }
  .trust__item:not(:first-child) {
    border-left: var(--bw) solid rgba(244, 238, 230, 0.2);
    padding-left: var(--sp-5);
  }
}

/* ==========================================================================
   6.5 Service / specialisation cards
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 600px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  background: var(--surface);
  border: var(--bw) solid var(--line);
  padding: var(--sp-6) var(--sp-5) var(--sp-7);
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: background var(--dur) var(--ease);
}
.service-card::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0;
  height: var(--bw-3); background: var(--line);
  transition: background var(--dur) var(--ease);
}
.service-card:hover { background: var(--accent-wash); }
.service-card:hover::before { background: var(--accent); }
.service-card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semi);
  margin-bottom: var(--sp-3);
}
.service-card__body { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: var(--sp-5); max-width: none; }
.service-card__more {
  margin-top: auto;
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  color: var(--accent-strong);
  text-decoration: none;
}
.service-card__more::after { content: " \2192"; }
.service-card:hover .service-card__more { color: var(--ink); }
.service-card__link::after { content: ""; position: absolute; inset: 0; }
.service-card:has(.service-card__link:focus-visible) {
  outline: var(--focus-ring) solid var(--focus-color); outline-offset: 2px;
}

/* ==========================================================================
   Editorial block (Why a fitting...)
   ========================================================================== */
.editorial { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .editorial { grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); } }
.editorial__body p { font-size: var(--fs-lead); font-family: var(--font-display); color: var(--ink-soft); line-height: var(--lh-snug); }
.editorial__body .btn { margin-top: var(--sp-3); }

/* ==========================================================================
   6.4 Product cards + rail
   ========================================================================== */
.rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 768px)  { .rail { grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); } }
@media (min-width: 1080px) { .rail { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1440px) { .rail--6 { grid-template-columns: repeat(6, 1fr); } }

.product-card {
  position: relative;
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-top: var(--bw-3) solid transparent;
  display: flex; flex-direction: column;
  transition: border-top-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover {
  border-top-color: var(--accent);
  box-shadow: var(--shadow-card);
}
.product-card__media {
  aspect-ratio: 1 / 1;
  background: var(--surface-alt);
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.product-card__brand {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--muted);
}
.product-card__name {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-semi);
  color: var(--ink);
  line-height: var(--lh-snug);
  text-decoration: none;
}
.product-card__price {
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  color: var(--ink);
  margin-top: var(--sp-1);
}
.product-card__price .from { font-weight: var(--fw-regular); color: var(--muted); font-size: var(--fs-xs); }
.product-card__price .was { font-weight: var(--fw-regular); color: var(--muted); font-size: var(--fs-xs); text-decoration: line-through; margin-left: var(--sp-2); }
.product-card__link::after { content: ""; position: absolute; inset: 0; }
.product-card__link:focus-visible { outline: none; }
.product-card:has(.product-card__link:focus-visible) {
  outline: var(--focus-ring) solid var(--focus-color); outline-offset: 2px;
}
.product-card__sale {
  position: absolute; top: var(--sp-3); left: var(--sp-3); z-index: 1;
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: var(--on-dark); background: var(--accent-strong);
  padding: 4px var(--sp-2);
}

/* ==========================================================================
   6.6 Category cards
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 768px)  { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }

.category-card {
  position: relative;
  display: block;
  border: var(--bw) solid var(--line);
  background: var(--surface);
  text-decoration: none;
  overflow: hidden;
}
.category-card__media { aspect-ratio: 4 / 5; background: var(--surface-alt); overflow: hidden; }
.category-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.category-card:hover .category-card__media img { transform: scale(1.03); }
.category-card__label {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px;
  padding: var(--sp-3) var(--sp-4);
  border-top: var(--bw) solid var(--line);
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  color: var(--ink);
  background: var(--surface);
}
.category-card__label::after { content: "\2192"; color: var(--accent-strong); }
.category-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: var(--bw-3); background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.category-card:hover::after { transform: scaleX(1); }
.category-card:focus-visible { outline: var(--focus-ring) solid var(--focus-color); outline-offset: 2px; }

/* Three-ways-to-shop entry cards (text) */
.entry-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 768px) { .entry-grid { grid-template-columns: repeat(3, 1fr); } }
.entry-card {
  position: relative;
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-top: var(--bw-3) solid var(--accent);
  padding: var(--sp-6) var(--sp-5);
  display: flex; flex-direction: column;
}
.entry-card h3 { margin-bottom: var(--sp-3); }
.entry-card p { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: var(--sp-5); }
.entry-card__more { margin-top: auto; font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--accent-strong); text-decoration: none; }
.entry-card__more::after { content: " \2192"; }
.entry-card__link::after { content: ""; position: absolute; inset: 0; }

/* ==========================================================================
   6.8 Testimonials / honest quote band (Mode A)
   ========================================================================== */
.quote-band { background: var(--surface-alt); }
.quote-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-5);
}
@media (min-width: 768px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-left: var(--bw-3) solid var(--accent);
  padding: var(--sp-6) var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin: 0;
}
.quote__text {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: var(--lh-snug);
  color: var(--ink);
}
.quote__cite {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}
.quote-band__note { margin-top: var(--sp-6); font-size: var(--fs-xs); color: var(--muted); max-width: 80ch; }

/* ==========================================================================
   Single feature quote (service pages)
   ========================================================================== */
.feature-quote {
  border-left: var(--bw-3) solid var(--accent);
  padding: var(--sp-2) 0 var(--sp-2) var(--sp-5);
  margin: var(--sp-7) 0;
  max-width: var(--maxw-narrow);
}
.feature-quote p {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  color: var(--ink);
  margin-bottom: var(--sp-3);
}
.feature-quote cite { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); font-style: normal; }

/* ==========================================================================
   Editorial prose column (service pages)
   ========================================================================== */
.prose { max-width: var(--maxw-narrow); }
.prose h2 { margin-top: var(--sp-8); }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: var(--fs-body); color: var(--ink-soft); }
.prose .lead { color: var(--ink-soft); margin-bottom: var(--sp-6); }

/* tick-bullet lists (motif) */
.tick-list { list-style: none; margin: 0 0 var(--sp-6); padding: 0; max-width: var(--maxw-narrow); }
.tick-list li {
  position: relative;
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-body);
  color: var(--ink-soft);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 14px; height: var(--tick-w);
  background: var(--accent);
}
.tick-list li strong { color: var(--ink); }

/* Q&A pair blocks */
.qa { max-width: var(--maxw-narrow); }
.qa__item { padding: var(--sp-5) 0; border-bottom: var(--bw) solid var(--line); }
.qa__item:first-child { border-top: var(--bw) solid var(--line); }
.qa__q { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: var(--fs-h4); color: var(--ink); margin-bottom: var(--sp-2); }
.qa__a { color: var(--ink-soft); margin-bottom: 0; }

/* ==========================================================================
   6.12 Brand strip
   ========================================================================== */
.brand-strip {
  border-block: var(--bw) solid var(--line);
  padding-block: var(--sp-6);
}
.brand-strip__head { text-align: center; margin-bottom: var(--sp-5); }
.brand-strip__head h2 { font-size: var(--fs-h3); margin-bottom: 0; }
.brand-strip__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 56px);
}
.brand-strip__row img {
  height: 28px; width: auto;
  opacity: 0.7;
  filter: grayscale(1);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.brand-strip__row img:hover { opacity: 1; filter: none; }
.brand-strip__more { text-align: center; margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: var(--ls-label); }

/* word-mark brand chips fallback (when no logo image) */
.brand-chips { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; max-width: 900px; margin-inline: auto; }
.brand-chips span {
  font-family: var(--font-body); font-weight: var(--fw-bold); font-size: var(--fs-small);
  color: var(--ink-soft); border: var(--bw) solid var(--line); background: var(--surface);
  padding: var(--sp-2) var(--sp-4); letter-spacing: 0.02em;
}

/* ==========================================================================
   Visit page: address / hours / facts
   ========================================================================== */
.visit-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } }

.info-card {
  background: var(--surface);
  border: var(--bw) solid var(--line);
  border-top: var(--bw-3) solid var(--accent);
  padding: var(--sp-6) var(--sp-5);
}
.info-card h3 { margin-bottom: var(--sp-4); }
.info-card address { font-style: normal; color: var(--ink-soft); margin-bottom: var(--sp-5); }
.info-card address strong { color: var(--ink); display: block; font-size: var(--fs-h4); margin-bottom: var(--sp-2); font-family: var(--font-display); font-weight: var(--fw-semi); }

.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.hours-table caption { text-align: left; font-weight: var(--fw-bold); margin-bottom: var(--sp-3); color: var(--ink); }
.hours-table th, .hours-table td { text-align: left; padding: var(--sp-3) 0; border-bottom: var(--bw) solid var(--line); }
.hours-table th { font-weight: var(--fw-semi); color: var(--ink); }
.hours-table td { color: var(--ink-soft); text-align: right; }
.hours-table tr.is-closed td { color: var(--accent-strong); font-weight: var(--fw-bold); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: var(--sp-3); padding: var(--sp-3) 0; border-bottom: var(--bw) solid var(--line); align-items: baseline; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list dt, .contact-list .key { min-width: 84px; font-weight: var(--fw-bold); font-size: var(--fs-small); color: var(--ink); }
.contact-list a { font-weight: var(--fw-semi); }

/* Map placeholder block (CSS-only, hard-edged) */
.map-block {
  border: var(--bw) solid var(--line);
  background:
    repeating-linear-gradient(0deg, var(--surface-alt) 0, var(--surface-alt) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, var(--surface-alt) 0, var(--surface-alt) 1px, transparent 1px, transparent 28px),
    var(--surface);
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-top: var(--sp-6);
}
.map-block__pin {
  text-align: center; max-width: 30ch;
  background: var(--ink-dark-bg); color: var(--on-dark);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-small);
}
.map-block__pin strong { display: block; font-family: var(--font-display); font-weight: var(--fw-semi); font-size: var(--fs-h4); margin-bottom: var(--sp-2); color: var(--on-dark); }
.map-block__pin a { color: var(--on-dark); font-weight: var(--fw-bold); }

/* ==========================================================================
   6.11 Forms
   ========================================================================== */
.form { max-width: 560px; }
.field { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.field__label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--ink);
}
.field__label .req { color: var(--accent-strong); margin-left: 2px; }
.input, .textarea, .select {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--surface);
  border: var(--bw) solid var(--line);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 140px; padding: var(--sp-4); resize: vertical; line-height: var(--lh-body); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-soft); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 var(--bw-2) var(--accent-strong);
}
.field__hint { font-size: var(--fs-xs); color: var(--muted); }
.form__note { font-size: var(--fs-xs); color: var(--muted); margin-top: var(--sp-3); }

/* ==========================================================================
   CTA band (service pages)
   ========================================================================== */
.cta-band__inner { max-width: var(--maxw-narrow); margin-inline: auto; text-align: center; }
.cta-band__inner .tape-mark { margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; margin-top: var(--sp-6); }

/* related links row */
.related-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.related-row a {
  display: inline-flex; align-items: center; min-height: 44px;
  border: var(--bw) solid var(--line); background: var(--surface);
  padding: 0 var(--sp-5); text-decoration: none; font-weight: var(--fw-bold); color: var(--ink);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.related-row a:hover { border-color: var(--accent); color: var(--accent-strong); }
.related-row a::after { content: " \2192"; margin-left: var(--sp-2); color: var(--accent-strong); }

/* shipping note panel */
.note-panel {
  background: var(--accent-wash);
  border: var(--bw) solid var(--line);
  border-left: var(--bw-3) solid var(--accent);
  padding: var(--sp-5);
  max-width: var(--maxw-narrow);
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
.note-panel strong { color: var(--ink); }

/* ==========================================================================
   6.10 Footer
   ========================================================================== */
.footer {
  background: var(--ink-dark-bg);
  color: var(--on-dark);
  padding-top: var(--sp-9);
}
.footer__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
}
@media (min-width: 600px) { .footer__inner { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px){ .footer__inner { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer__brand-name { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--on-dark); margin-bottom: var(--sp-3); }
.footer__brand-name span { color: var(--accent); }
.footer__brand p { color: rgba(244, 238, 230, 0.7); font-size: var(--fs-small); max-width: 34ch; }
.footer h4 {
  color: var(--on-dark);
  font-size: var(--fs-h6);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a {
  display: inline-block;
  min-height: 36px;
  padding: 4px 0;
  color: var(--on-dark);
  text-decoration: none;
  font-size: var(--fs-small);
  opacity: 0.86;
}
.footer a:hover { opacity: 1; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer__contact { font-size: var(--fs-small); color: rgba(244, 238, 230, 0.78); line-height: var(--lh-body); }
.footer__contact a { display: inline; min-height: 0; padding: 0; }
.footer__social { display: flex; gap: var(--sp-4); margin-top: var(--sp-4); }
.footer__social a { min-height: 44px; display: inline-flex; align-items: center; gap: var(--sp-2); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  margin-top: var(--sp-8);
  border-top: var(--bw) solid rgba(244, 238, 230, 0.18);
  padding: var(--sp-5) var(--gutter);
}
.footer__bottom-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  justify-content: space-between;
  font-size: var(--fs-xs); color: rgba(244, 238, 230, 0.7);
}
.footer__bottom-inner p { margin: 0; max-width: none; }

/* ==========================================================================
   6.13 Sticky mobile action bar
   ========================================================================== */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: var(--z-header);
  display: none;
  border-top: var(--bw) solid var(--line);
  background: var(--surface);
}
@media (max-width: 768px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; }
  body { padding-bottom: 56px; }
}
.action-bar a {
  min-height: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-body); font-weight: var(--fw-bold); font-size: var(--fs-small);
  text-decoration: none;
}
.action-bar a.call { background: var(--surface); color: var(--ink); border-right: var(--bw) solid var(--line); }
.action-bar a.fitting { background: var(--accent); color: var(--on-dark); }

/* ==========================================================================
   Scroll-reveal (one effect, IntersectionObserver-driven)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   7. Motion: prefers-reduced-motion kill switch
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   8. Print stylesheet
   ========================================================================== */
@media print {
  .header, .drawer, .drawer-overlay, .action-bar, .footer__social, .nav__panel { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; padding-bottom: 0; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .tape-divider, .tape-mark { background: none; border-top: 1px solid #000; height: 1px; }
  section { padding-block: 12pt; }
  .map-block { background: none; border: 1px solid #000; }
}
