/* Overalls Premium Brands — tier 0 stylesheet.
   Built to the client Figma (Overalls.pdf, 53 frames, read 16-17 Sep 2026).
   Palette sampled from the exported frames, not guessed:
     ink   #000000   page black, header, Popular band
     cocoa #311F20   announcement bar, marquee serif fill
     gold  #C39A70   accents, "Sign up", hairline highlights
     paper #FFFFFF
     tile  #F2F2F2   product tile ground
   TYPE IS PROVISIONAL — the Figma exports outlined Type3 glyphs, so the real
   family names are not recoverable from the file. Ask the client. Inter is a
   near-neighbour standing in for the grotesque; the fat didone marquee is
   standing in on a local serif. Swapping both is a one-line change here. */

@font-face {
  font-family: 'Questrial';
  src: url('/fonts/questrial-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;              /* text is readable before the font lands */
}

:root {
  --ink: #000;
  --cocoa: #311f20;
  --gold: #c39a70;
  --paper: #fff;
  --tile: #f2f2f2;
  --line: #e3e3e3;
  --muted: #6d6d6d;

  --sans: Inter, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* Headings: the client named Century Gothic and holds no web licence for it,
     so this is the nearest freely-licensed geometric — Questrial, whose
     proportions track it most closely of the candidates tested.
     Swapping it is one line here plus the @font-face below. */
  --display: Questrial, 'Century Gothic', 'URW Gothic', Futura, sans-serif;
  --serif: 'Playfair Display', 'Times New Roman', Times, serif;

  /* The Figma frame is 1728 wide with content inset 64px. Reproducing that
     literally, rather than capping at an arbitrary max-width, is what makes the
     side-by-side comparison hold — architects will do that comparison. */
  --gut: clamp(16px, 3.7vw, 64px);
  --max: 1728px;
  --bar: 42px;   /* announcement bar */
  --hdr: 96px;   /* logo row */
  --cat: 46px;   /* category row */
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------------------------------------------------------------- header */

.announce {
  background: var(--cocoa);
  color: #fff;
  height: var(--bar);
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.announce__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  padding-left: 60px;
  will-change: transform;
}
.announce__item { display: flex; align-items: center; gap: 10px; opacity: .92; }
.announce__item svg { width: 13px; height: 13px; flex: none; }

.masthead { background: var(--ink); color: #fff; }

.masthead__row {
  height: var(--hdr);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.masthead__links { display: flex; gap: 26px; font-size: 13px; }
.masthead__links a:hover { color: var(--gold); }

.mark { display: block; text-align: center; line-height: 1; }
.mark__crest { display: block; margin: 0 auto 6px; width: 34px; height: auto; }
.mark__name {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: .42em;
  text-indent: .42em;
  color: var(--gold);
}
.mark__sub {
  display: block;
  font-size: 6.5px;
  letter-spacing: .34em;
  text-indent: .34em;
  color: var(--gold);
  opacity: .8;
  margin-top: 4px;
}

.masthead__tools { display: flex; justify-content: flex-end; gap: 22px; }
.masthead__tools a, .masthead__tools button { display: block; line-height: 0; }
.masthead__tools svg { width: 17px; height: 17px; stroke: #fff; fill: none; stroke-width: 1.4; }
.masthead__tools a:hover svg { stroke: var(--gold); }

.cats {
  border-top: 1px solid rgba(255,255,255,.14);
  height: var(--cat);
}
.cats__list {
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.cats__list a:hover { color: var(--gold); }

/* ------------------------------------------------------------------- hero */

.hero { position: relative; background: var(--tile); }
.hero__slide { position: relative; }
.hero__slide[hidden] { display: none; }
/* The hero photograph is portrait (3220×4024) dropped into a landscape band,
   so object-fit crops it. Centred, the crop lands squarely on the white wedge
   between the model's legs and the headline becomes unreadable. 62% moves the
   window down. At 78% the whole shoe is in frame with floor beneath it —
   measured from the source, where the shoes end at 82% of the image height.
   Showing a cropped shoe on a shoe brand's hero is the wrong compromise. */
.hero__img { width: 100%; height: clamp(420px, 56vw, 760px); object-fit: cover;
  object-position: center 78%; }

/* The Figma lays a scrim over the photograph so the headline holds against
   whatever is behind it. Without it the white wedge burns through — which is
   exactly what went wrong. It fades out by 60% so the shoes stay bright. */
.hero__slide--full::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  /* Fitted to the Figma by measuring luminance down both heroes: theirs is
     near-black under the nav and does not clear until about two-thirds down.
     The first attempt was less than half this strength. */
  background: linear-gradient(to bottom,
    rgba(10,10,10,.88) 0%,
    rgba(10,10,10,.62) 20%,
    rgba(10,10,10,.36) 40%,
    rgba(10,10,10,.14) 55%,
    rgba(10,10,10,0)   68%);
}
.hero__copy { position: relative; z-index: 1; }
.hero__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(40px, 7vw, 92px);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 24px rgba(0,0,0,.28);
}
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0;
}
.hero__sub { margin: 16px 0 0; font-size: 18px; }   /* Figma: 19% wider than 15px gave */
.hero__dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 7px; }
.hero__dots i { display: block; width: 34px; height: 2px; background: rgba(255,255,255,.45); }
.hero__dots i[aria-current] { background: #fff; }

.btn {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 34px;
  border: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .18s, color .18s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn--ink { border-color: var(--ink); color: var(--ink); }
.btn--ink:hover { background: var(--ink); color: #fff; }

/* ---------------------------------------------------------------- feature */

.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.feature__img { width: 100%; height: clamp(360px, 40vw, 620px); object-fit: cover; }
.feature__body { padding: 0 clamp(24px, 6vw, 96px); }
.feature__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.feature__body p { margin: 0; max-width: 40ch; color: #222; }

/* ----------------------------------------------------------------- rails */

/* Measured off the Figma frame (New Arrivals, recording at 0:11): the heading
   is roughly one seventh of a card's width, the row starts about half a heading
   below it, and the section carries noticeably more air beneath the prices than
   above the heading. Reproducing that ratio rather than a round number is what
   makes the side-by-side hold. */
.rail { padding: clamp(56px, 6.5vw, 104px) 0 clamp(72px, 8vw, 132px); }
.rail__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: clamp(28px, 3.4vw, 50px); }
.rail__title { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.2vw, 46px); letter-spacing: -.02em; margin: 0; }
.rail__more { font-size: 13px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.rail--dark { background: var(--ink); color: #fff; }
.rail--dark .card__name, .rail--dark .card__price { color: #fff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px clamp(12px, 1.2vw, 18px); }

.card { position: relative; }
/* display:block matters — .card__media is an <a>, and aspect-ratio is ignored
   on an inline box, which silently let the tiles run portrait. */
/* The Figma tile is portrait, not square — 297x425 on the frame, so 0.7. A
   square tile crops a shoe photographed side-on far tighter than the design
   does, which is why the live row read as cramped against it. */
.card__media { display: block; position: relative; background: var(--tile); aspect-ratio: 0.7 / 1; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.card:hover .card__media img { transform: scale(1.035); }
.card__name { margin: 16px 0 4px; font-size: 15px; }
.card__price { margin: 0; font-size: 15px; }

.chip {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.chip svg { width: 15px; height: 15px; fill: none; stroke: #1a1a1a; stroke-width: 1.5; }
.chip--cart { top: auto; bottom: 12px; opacity: 0; transition: opacity .2s; }
.card:hover .chip--cart { opacity: 1; }
.chip:hover svg { stroke: var(--gold); }

/* ----------------------------------------------------------------- promo */

.promo { position: relative; }
.promo__img { width: 100%; height: clamp(380px, 42vw, 640px); object-fit: cover; }
.promo__copy {
  position: absolute;
  left: clamp(24px, 6vw, 96px);
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
.promo__title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; margin: 0; }

/* --------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  padding: clamp(34px, 4vw, 64px) 0;
  background: #fff;
}
.marquee__track { display: flex; gap: 54px; white-space: nowrap; align-items: center; will-change: transform; }
.marquee__word {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(46px, 7vw, 104px);
  letter-spacing: .01em;
  color: var(--cocoa);
  line-height: 1;
}
.marquee__word--ghost {
  color: transparent;
  -webkit-text-stroke: 1px var(--cocoa);
  opacity: .55;
}
.marquee__star { color: var(--cocoa); font-size: clamp(20px, 2vw, 34px); }

/* ---------------------------------------------------------------- signup */

.signup { background: var(--ink); color: #fff; text-align: center; padding: clamp(60px, 7vw, 110px) 0; }
.signup__title { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); color: var(--gold); margin: 0; font-weight: 400; }
.signup__sub { font-family: var(--display); font-size: clamp(24px, 2.8vw, 38px); margin: 2px 0 0; font-weight: 400; }
.signup__form { display: flex; gap: 16px; align-items: center; max-width: 420px; margin: 34px auto 0; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 8px; }
.signup__form input { flex: 1; background: none; border: 0; color: #fff; font: inherit; font-size: 13px; outline: none; }
.signup__form input::placeholder { color: rgba(255,255,255,.55); }
.signup__form button { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ---------------------------------------------------------------- footer */

.foot { background: var(--ink); color: #fff; padding: clamp(40px, 5vw, 76px) 0 34px; }
/* Four columns since the Collections column was dropped — the client runs
   neither collection. */
.foot__grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr 1fr; gap: 30px; align-items: start; }
.foot h4 { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; font-weight: 500; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 13px; }
.foot ul a:hover { color: var(--gold); }
.foot__mark { text-align: center; }
.foot__copy { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 18px; }
.foot__legal {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 11.5px;
  color: rgba(255,255,255,.75);
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 38px;
  padding-top: 22px;
}

/* ------------------------------------------------------------ breakpoints */

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

@media (max-width: 860px) {
  :root { --hdr: 70px; }
  .cats, .masthead__links { display: none; }
  .masthead__row { grid-template-columns: auto 1fr auto; }
  .feature { grid-template-columns: 1fr; }
  .feature__body { padding: 30px var(--gut) 44px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .promo__copy { left: var(--gut); right: var(--gut); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .announce__track, .marquee__track { animation: none !important; transform: none !important; }
  .card__media img { transition: none; }
}

/* ==========================================================================
   Mobile navigation — bottom bar and categories drawer.
   Both are phone-only; the desktop category bar already covers this above 860px.
   ========================================================================== */

.tabbar, .drawer, .drawer__veil { display: none; }

@media (max-width: 860px) {
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.12);
    /* Sits above the iPhone home indicator rather than under it. */
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .tabbar__i {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 2px 8px; color: rgba(255,255,255,.72);
    font-size: 9px; letter-spacing: .08em; text-transform: uppercase;
    min-height: 48px;                      /* comfortable thumb target */
  }
  .tabbar__i svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; }
  .tabbar__i.is-on, .tabbar__i:active { color: var(--gold); }

  /* Keep the last of the footer clear of the fixed bar. */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0)); }

  .drawer__veil:not([hidden]) { display: block; }
  .drawer__veil {
    position: fixed; inset: 0; z-index: 45;
    background: rgba(0,0,0,.5);
  }
  .drawer:not([hidden]) { display: flex; }
  .drawer {
    flex-direction: column;
    position: fixed; inset: 0 0 0 auto; z-index: 46;
    width: min(88vw, 380px);
    background: var(--paper); color: var(--ink);
    transform: translateX(100%);
    transition: transform .26s cubic-bezier(.2,.7,.3,1);
    overscroll-behavior: contain;
  }
  .drawer[data-open] { transform: none; }

  .drawer__top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px var(--gut); border-bottom: 1px solid var(--line); flex: none;
  }
  .drawer__title { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
  .drawer__x { padding: 8px; margin: -8px; line-height: 0; }
  .drawer__x svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.6; }

  .drawer__find { padding: 12px var(--gut); border-bottom: 1px solid var(--line); flex: none; }
  .drawer__find input {
    width: 100%; font: inherit; font-size: 15px;      /* 16px-ish stops iOS zooming on focus */
    padding: 11px 12px; border: 1px solid var(--line); background: #fff; border-radius: 2px;
  }

  .drawer__list { list-style: none; margin: 0; padding: 4px 0 20px; overflow-y: auto; flex: 1; }
  .drawer__row { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .drawer__row a {
    flex: 1; padding: 15px var(--gut); font-size: 14px;
    letter-spacing: .1em; text-transform: uppercase;
  }
  .drawer__row a[aria-current] { color: var(--gold); }
  .drawer__more { padding: 15px var(--gut); line-height: 0; }
  .drawer__more svg { width: 16px; height: 16px; fill: none; stroke: #777; stroke-width: 1.6;
    transition: transform .2s; }
  .drawer__more[aria-expanded="true"] svg { transform: rotate(90deg); }

  .drawer__sub { list-style: none; margin: 0; padding: 4px 0 10px; background: #fff;
    border-bottom: 1px solid var(--line); }
  .drawer__sub a { display: block; padding: 10px var(--gut) 10px calc(var(--gut) + 14px); font-size: 14px; }
  .drawer__all a { color: var(--muted); font-size: 12.5px; letter-spacing: .06em; }

  .drawer__none { padding: 22px var(--gut); color: var(--muted); font-size: 14px; }
  .drawer__foot {
    flex: none; display: flex; gap: 18px; flex-wrap: wrap;
    padding: 14px var(--gut) calc(14px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--line); font-size: 12.5px;
  }

  /* The drawer is open: stop the page behind it scrolling. */
  body[data-locked] { overflow: hidden; }
}

/* Nothing may make a hidden overlay clickable. This is the rule that stops the
   whole page being covered by an invisible layer. */
.drawer[hidden], .drawer__veil[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .drawer { transition: none; }
}

/* Their own lockup, supplied 24 September, replacing the placeholder mark. */
.mark img { display: block; height: 76px; width: auto; }
.foot__logo { height: 84px; width: auto; margin: 0 auto 6px; display: block; }
@media (max-width: 860px) { .mark img { height: 50px; } }

/* The hero call to action is wider than a standard button: measured at 247px
   against the Figma at this breakpoint, where ours was 144px. */
.hero .btn { padding-left: 86px; padding-right: 86px; margin-top: 30px; }

/* ---- hero carousel ------------------------------------------------------
   Two slides with different shapes: slide 1 is a full-bleed photograph with
   white text over a scrim; slide 2 is a 50/50 split with dark text on a light
   panel, as Figma frame 27 draws it. Slides are swapped by toggling [hidden],
   so with no JavaScript the first slide simply stays — a complete hero, not a
   broken one. */
.hero__slide--split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--paper); }
.hero__slide--split .hero__img { height: clamp(420px, 56vw, 760px); object-position: center 60%; }
.hero__panel { display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 5vw, 80px); }
.hero__title--dark { color: var(--ink); text-shadow: none; text-align: left; }
.hero__title--dark em { font-family: var(--serif); font-style: italic; color: var(--gold); }
.hero__sub--dark { color: #3a3a3a; text-shadow: none; text-align: left; max-width: 34ch; }
.hero__panel .btn { align-self: flex-start; padding-left: 48px; padding-right: 48px; }

/* Slide 3 reverses slide 2: copy on the left, photograph on the right. The
   source frame set the copy white on black; inverted here on the client's
   instruction so the two split slides read as a pair. Below 860px the grid
   collapses to one column and `order` puts the photograph first, so every
   slide still opens on an image rather than on text. */
.hero__slide--flip .hero__img { object-position: center 50%; }

/* Slide change. The slides share the flow rather than being stacked absolutely,
   so the outgoing one cannot cross-fade under the incoming one without the band
   collapsing mid-transition. Fading the incoming slide in over the hero's own
   dark ground reads as a dissolve and costs no layout. Under
   prefers-reduced-motion the class is never applied, so the change is instant. */
@keyframes heroEnter {
  from { opacity: 0; transform: scale(1.012); }
  to   { opacity: 1; transform: none; }
}
.hero__slide.is-entering { animation: heroEnter .6s cubic-bezier(.4, 0, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-entering { animation: none; }
}

.hero__dots { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 2; }
.hero__dots button { display: block; width: 34px; height: 12px; padding: 5px 0 0; background: none; border: 0; cursor: pointer; }
.hero__dots button::before { content: ""; display: block; height: 2px; background: rgba(255,255,255,.45); }
.hero__dots button[aria-selected="true"]::before { background: #fff; }
/* Slides 2 and 3 sit on a light panel, so the dots need dark rules there. */
.hero[data-slide="1"] .hero__dots button::before,
.hero[data-slide="2"] .hero__dots button::before { background: rgba(10,10,10,.30); }
.hero[data-slide="1"] .hero__dots button[aria-selected="true"]::before,
.hero[data-slide="2"] .hero__dots button[aria-selected="true"]::before { background: var(--ink); }
.hero__dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 860px) {
  .hero__slide--split { grid-template-columns: 1fr; }
  .hero__slide--flip .hero__half { order: -1; }
  .hero__slide--split .hero__img { height: clamp(260px, 52vw, 420px); }
  .hero__panel { padding: 26px var(--gut) 60px; }
  .hero__title--dark, .hero__sub--dark { text-align: center; }
  .hero__panel .btn { align-self: center; }
  .hero__dots { bottom: 14px; }
}


/* ---------------------------------------------------------------- account */

.formerr {
  margin: 0 0 18px;
  padding: 11px 14px;
  border-left: 3px solid #b3261e;
  background: #fdf2f1;
  color: #8c1d18;
  font-size: 14px;
}
.fld__hint { display: block; margin-top: 5px; font-size: 12px; color: var(--muted); }
.acct__h { font-family: var(--display); font-weight: 400; font-size: 20px; margin: 38px 0 14px; }
.acct__dl { display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; margin: 0 0 30px; font-size: 14px; }
.acct__dl dt { color: var(--muted); }
.acct__dl dd { margin: 0; }
@media (max-width: 560px) { .acct__dl { grid-template-columns: 1fr; gap: 2px 0; }
  .acct__dl dd { margin-bottom: 10px; } }

/* Made to order. Said before the money, not after: these are cut on order and
   do not ship from stock, and a customer expecting next-day delivery on a
   bespoke pair is a complaint waiting to happen. No lead time is quoted
   because the client has not given one — the FAQ answer is still blank. */
.pdp__mto {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: var(--tile);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.55;
  max-width: 46ch;
}
.card__mto {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}


/* Contact methods. On a phone the first thing a customer wants is to call or
   message, so these are large tap targets (44px minimum) rather than inline
   links buried in a paragraph. */
.hours__h { font-family: var(--display); font-weight: 400; font-size: 18px; margin: 28px 0 10px; }
.ways { list-style: none; margin: 0; padding: 0; }
.ways li + li { border-top: 1px solid var(--line); }
.ways__a {
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline;
  min-height: 44px; padding: 11px 0;
}
.ways__k {
  flex: 0 0 84px;
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.ways__v { font-size: 15px; }
a.ways__a:hover .ways__v { color: var(--gold); }
.ways__a--plain { cursor: default; }

/* Page-level styles: PLP and PDP. Appended to base.css at build time. */

.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;
}

.crumb {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #3a3a3a;
  margin: clamp(26px, 4vw, 54px) 0 26px;
}

/* -------------------------------------------------------------------- PLP */

.plp { padding-bottom: 60px; }
.plp__layout { display: grid; grid-template-columns: 250px 1fr; gap: 54px; align-items: start; }

.facet__head, .facet > summary {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  font-weight: 500;
}
.facet > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.facet > summary::-webkit-details-marker { display: none; }
.facet > summary::after { content: '⌄'; font-size: 14px; line-height: 1; transform: translateY(-3px); color: #555; }
.facet[open] > summary::after { content: '⌃'; transform: translateY(3px); }
.facet__list { margin: 0; padding: 12px 0 16px; list-style: none; display: grid; gap: 10px; font-size: 13px; }
.facet__list label { display: flex; gap: 9px; align-items: center; cursor: pointer; }
.facet__list input { accent-color: var(--ink); }

.plp__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; gap: 20px; flex-wrap: wrap; }
.plp__count { margin: 0; font-size: 13px; color: #333; }
.plp__count b { font-weight: 600; }
.plp__sort { font-size: 12px; display: flex; gap: 10px; align-items: center; color: #555; }
.plp__sort select {
  font: inherit; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 5px 2px; cursor: pointer;
}

/* -------------------------------------------------------------------- PDP */

.pdp { padding-bottom: 20px; }
.pdp__top { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pdp__shot { display: block; background: var(--tile); aspect-ratio: 1 / 1; overflow: hidden; }
.pdp__shot img { width: 100%; height: 100%; object-fit: cover; }

.pdp__name { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); margin: 0; letter-spacing: -.01em; }
.pdp__price { font-size: 19px; margin: 6px 0 30px; }

.pdp__label {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #4a4a4a; margin: 0 0 10px;
}
.pdp__label--row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 26px; }
.pdp__label--row a { font-size: 11px; text-transform: none; letter-spacing: 0; border-bottom: 1px solid currentColor; }

.pdp__swatches { display: flex; gap: 10px; }
.swatch { width: 21px; height: 21px; background: var(--c); border: 1px solid rgba(0,0,0,.18); outline-offset: 3px; }
.swatch.is-on { outline: 1px solid var(--ink); }

.pdp__size {
  width: 100%; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 11px 2px; cursor: pointer;
}

.qty { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.qty button { width: 40px; padding: 10px 0; font-size: 17px; line-height: 1; }
.qty input { flex: 1; text-align: center; font: inherit; border: 0; background: none; outline: none; width: 100%; }

.pdp__add, .pdp__buynow {
  display: block; width: 100%; margin-top: 16px; padding: 15px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  transition: background .18s, color .18s;
}
.pdp__add { border: 1px solid var(--ink); }
.pdp__add:hover { background: var(--ink); color: #fff; }
.pdp__buynow { background: var(--ink); color: #fff; margin-top: 10px; }
.pdp__buynow:hover { background: var(--cocoa); }

.pdp__desc { padding: clamp(48px, 6vw, 96px) 0 0; }
.pdp__desc-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 80px); margin-top: 26px; }
.pdp__desc-grid p { margin: 0 0 16px; max-width: 62ch; color: #1c1c1c; }
.pdp__desc-grid h3 { font-size: 14px; margin: 0 0 12px; font-weight: 600; }
.pdp__specs { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: #1c1c1c; }

@media (max-width: 1100px) {
  .plp__layout { grid-template-columns: 210px 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .plp__layout { grid-template-columns: 1fr; gap: 20px; }
  .pdp__top { grid-template-columns: 1fr; }
  .pdp__gallery { grid-template-columns: 1fr; }
  .pdp__desc-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Cart, wishlist, checkout, account and content pages
   ========================================================================== */

/* padding-block only — .tablepage sits on the same element as .wrap, and a
   shorthand `padding` here silently wiped .wrap's horizontal gutter. */
.tablepage { padding-top: clamp(34px, 5vw, 70px); padding-bottom: clamp(50px, 7vw, 100px); }
.tablepage.narrow { max-width: 900px; }

.ptitle {
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
}

.lede { font-size: 16px; max-width: 54ch; margin: 0 0 34px; color: #1c1c1c; }
.prose p { margin: 0 0 18px; max-width: 68ch; color: #1c1c1c; }

.todo {
  background: #fbf7ef;
  border-left: 2px solid var(--gold);
  padding: 14px 16px;
  font-size: 13px;
  color: #5a4a2f;
  max-width: 68ch;
}

/* ------------------------------------------------------------ list tables */

.ltable { width: 100%; border-collapse: collapse; font-size: 14px; }
.ltable th {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: #6a6a6a; font-weight: 500; text-align: left;
  padding: 0 10px 14px; border-bottom: 1px solid var(--line);
}
.ltable td { padding: 18px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ltable__pick { width: 36px; }
.ltable__thumb { width: 64px; height: 56px; object-fit: cover; background: var(--tile); }
.ltable__name { display: flex; align-items: center; gap: 16px; }
.ltable__x { color: #999; font-size: 17px; line-height: 1; }
.ltable__x:hover { color: var(--ink); }
.ltable__empty { padding: 40px 0; color: #6a6a6a; font-size: 14px; }
.ltable__empty a { border-bottom: 1px solid currentColor; }
.instock { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.instock::before { content: '✓'; display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; }

.cart__layout { display: grid; grid-template-columns: 1fr 330px; gap: clamp(28px, 5vw, 70px); align-items: start; }

.coupon { display: flex; gap: 22px; align-items: center; margin-top: 30px; max-width: 520px; }
.coupon input { flex: 1; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 11px 2px; outline: none; }
.coupon input:focus { border-bottom-color: var(--ink); }

.btn--flat { margin-top: 0; padding: 12px 26px; }

/* ----------------------------------------------------------------- totals */

.totals__head { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; margin: 0 0 4px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.totals__row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.totals__row > span:first-child { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #6a6a6a; }
.totals__row b { font-size: 15px; font-weight: 500; }
.totals__row--label { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #6a6a6a; }
.totals__row--label > span { font-size: 10px !important; letter-spacing: .16em; }
.totals__ship { text-align: right; max-width: 22ch; color: #333; }
.totals__ship a { border-bottom: 1px solid currentColor; }
.totals__row--grand b { font-size: 18px; }

.solidbtn {
  display: block; width: 100%; margin-top: 26px; padding: 16px;
  background: var(--ink); color: #fff; text-align: center;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid var(--ink);
}
.solidbtn:hover { background: var(--cocoa); border-color: var(--cocoa); }

/* --------------------------------------------------------------- wishlist */

.wishbar { display: flex; gap: 16px; align-items: center; margin-top: 30px; flex-wrap: wrap; }
.wishbar__spacer { flex: 1; }
.wishbar select { font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 11px 2px; min-width: 210px; }

/* --------------------------------------------------------------- checkout */

.checkout__layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(28px, 5vw, 70px); align-items: start; }
.billing__head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.billing__head .ptitle { flex: 1; }
.billing__login { font-size: 13px; margin: 0 0 18px; }
.billing__login a { color: #2f5fa8; border-bottom: 1px solid currentColor; }
.billing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 26px; }

.order { background: #faf8f5; padding: 26px; }

.fld { margin: 0 0 14px; display: grid; gap: 2px; }
.fld label { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6a6a6a; }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: 14px; border: 0; border-bottom: 1px solid var(--line);
  background: none; padding: 9px 2px; outline: none; width: 100%; border-radius: 0;
}
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-bottom-color: var(--ink); }

.checkbox { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; margin: 18px 0 0; }
.checkbox input { margin-top: 3px; accent-color: var(--ink); }
.checkbox a { border-bottom: 1px solid currentColor; }

.fineprint { font-size: 12px; color: #555; line-height: 1.55; margin: 16px 0 0; }
.fineprint a { border-bottom: 1px solid currentColor; }
.paylogos { display: flex; gap: 14px; align-items: center; margin: 22px 0 0; }
.paylogos span { font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 5px 9px; border: 1px solid var(--line); border-radius: 3px; color: #444; }

/* --------------------------------------------------------- account, forms */

.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 30px; }
.tabs a { font-size: 13px; color: #8a8a8a; }
.tabs a.is-on { color: var(--ink); }
.stack { max-width: 520px; }
.stack .solidbtn { max-width: 260px; margin-top: 28px; }
.muted { font-size: 13px; color: #6a6a6a; margin: 16px 0 0; }
.muted a { border-bottom: 1px solid currentColor; }

/* ---------------------------------------------------------- faq, services */

.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 15px; display: flex; justify-content: space-between; gap: 20px; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: '+'; color: #777; }
.faq__item[open] > summary::after { content: '–'; }
.faq__item p { margin: 0 0 20px; max-width: 70ch; color: #1c1c1c; }

.svcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 60px; }
.svc h2 { font-family: var(--display); font-weight: 400; font-size: 21px; margin: 0 0 14px; letter-spacing: -.01em; }
.svc ul { margin: 0 0 20px; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; color: #1c1c1c; }

.contact__layout { display: grid; grid-template-columns: 1fr 300px; gap: clamp(28px, 5vw, 70px); align-items: start; }
.hours h2 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; margin: 0 0 16px; }
.hours dl { margin: 0; font-size: 14px; display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.hours dt { color: #6a6a6a; }
.hours dd { margin: 0; }

@media (max-width: 960px) {
  .cart__layout, .checkout__layout, .contact__layout { grid-template-columns: 1fr; }
  .billing__grid { grid-template-columns: 1fr; }
  .svcs { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 720px) {
  /* Tables become stacked rows — a 6-column cart does not survive 390px. */
  .ltable thead { display: none; }
  .ltable, .ltable tbody, .ltable tr, .ltable td { display: block; width: 100%; }
  .ltable tr { border-bottom: 1px solid var(--line); padding: 14px 0; position: relative; }
  .ltable td { border: 0; padding: 4px 0; }
  .ltable td[data-l]::before { content: attr(data-l); display: inline-block; min-width: 92px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #6a6a6a; }
  .ltable__pick { position: absolute; right: 0; top: 14px; width: auto; }
  .coupon { flex-direction: column; align-items: stretch; gap: 14px; }
  .wishbar { flex-direction: column; align-items: stretch; }
  .wishbar__spacer { display: none; }
}

/* ------------------------------------------------------------ toast, misc */

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 14px);
  background: var(--ink); color: #fff; padding: 13px 22px;
  font-size: 12px; letter-spacing: .06em;
  opacity: 0; transition: opacity .22s, transform .22s; z-index: 50;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.qty--sm { max-width: 118px; }
.qty--sm button { width: 30px; padding: 6px 0; font-size: 15px; }
.qty--sm input { font-size: 13px; }

.solidbtn--sm { width: auto; margin: 0; padding: 11px 24px; }

.cartcount {
  position: absolute; top: -6px; right: -8px; min-width: 15px; height: 15px;
  padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--ink);
  font-size: 9px; font-weight: 600; line-height: 15px; text-align: center;
}
.masthead__tools a { position: relative; }

@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* Gallery sized to the photographs that exist — see gallery() in build.js. */
.pdp__gallery--n1 { grid-template-columns: 1fr; }
.pdp__gallery--n1 .pdp__shot { aspect-ratio: 4 / 3.4; }
.pdp__gallery--n2 { grid-template-columns: 1fr 1fr; }
.pdp__gallery--n4 { grid-template-columns: 1fr 1fr; }
.pdp__shot--empty { background: var(--tile); }

/* The size select's underline sat directly on the QUANTITY label. */
.pdp__size + .pdp__label, .pdp__swatches + .pdp__label--row { margin-top: 26px; }
/* Three views: the lead shot full width, the other two beneath — no empty cell. */
.pdp__gallery--n3 { grid-template-columns: 1fr 1fr; }
.pdp__gallery--n3 .pdp__shot:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
/* Whatever precedes QUANTITY — swatches, size select or a bare colour line — keep it clear. */
.pdp__buy .pdp__label { margin-top: 26px; }
.pdp__buy .pdp__price + .pdp__label { margin-top: 0; }

/* ---- category pages ---- */
.plp__title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -.02em; margin: -6px 0 26px; }
.crumb a { border-bottom: 1px solid transparent; }
.crumb a:hover { border-bottom-color: currentColor; }
.facet > summary a { flex: 1; }
.facet > summary a[aria-current], .facet__head a[aria-current] { color: var(--ink); font-weight: 600; }
.facet__head a { display: block; }
.facet__n { font-size: 10px; color: #8a8a8a; margin-right: 8px; letter-spacing: 0; }
.plp__empty { padding: 40px 0; color: #555; font-size: 14px; }
.plp__empty button { border-bottom: 1px solid currentColor; font-size: 14px; }
.card[hidden] { display: none; }
.cats__list a[aria-current] { color: var(--gold); }
.pdp__specs--plain { margin-top: 18px; padding-left: 18px; }
.coupon__msg { font-size: 12.5px; margin-top: 8px; min-height: 18px; color: var(--muted); }
.coupon__msg.is-good { color: #2E7D52; }
.coupon__msg.is-bad { color: #B3261E; }
.totals__row--save b { color: #2E7D52; }

/* ---- size chart ---- */
.tablescroll { overflow-x: auto; margin-top: 18px; }
.sizes { width: 100%; border-collapse: collapse; min-width: 420px; }
.sizes th { text-align: left; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); font-weight: 600; padding: 0 12px 10px 0; border-bottom: 1px solid var(--ink); }
.sizes__note { display: block; font-size: 9px; letter-spacing: .1em; color: var(--muted); font-weight: 400; margin-top: 3px; }
.sizes td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sizes__eu { font-weight: 600; font-family: 'JetBrains Mono', Menlo, monospace; }
.sizes td.muted { color: var(--muted); }
.hintline { font-size: 13px; color: #444; margin-top: 14px; max-width: 62ch; }
.hintline a { border-bottom: 1px solid currentColor; }
.howto { margin: 16px 0 0 18px; display: grid; gap: 9px; font-size: 14.5px; color: #1c1c1c; max-width: 64ch; }

/* ---- search ---- */
.searchbox { display: flex; gap: 12px; align-items: stretch; margin: 6px 0 4px; max-width: 640px; }
.searchbox input {
  flex: 1; font: inherit; font-size: 16px;      /* 16px keeps iOS from zooming on focus */
  padding: 13px 14px; border: 1px solid var(--line); background: #fff; border-radius: 2px; outline: none;
}
.searchbox input:focus { border-color: var(--ink); }
.searchbox .btn { white-space: nowrap; }
.searchcount { font-size: 13px; color: var(--muted); margin: 14px 0 18px; }
.searchcats { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 22px; }
.searchcats a {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line); padding: 8px 14px; border-radius: 2px;
}
.searchcats a:hover { border-color: var(--ink); }
.searchnone { padding: 30px 0 50px; }
.searchnone p { margin-bottom: 10px; font-size: 15px; }
.searchnone .hintline a { border-bottom: 1px solid currentColor; }
@media (max-width: 560px) { .searchbox { flex-direction: column; } }
.soldout { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.pdp__soldnote { font-size: 14px; color: #444; margin: 14px 0 22px; max-width: 46ch; line-height: 1.6; }
.pdp__soldnote a { border-bottom: 1px solid currentColor; }
a.pdp__add { display: block; text-align: center; text-decoration: none; }

/* ---- legal pages ---- */
.legal__date { font-size: 12px; color: var(--muted); margin: -10px 0 22px; }
.legal__s { margin-top: 30px; }
.legal__s h2 { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: -.01em;
  margin-bottom: 8px; }
.legal__s p { margin-bottom: 12px; max-width: 68ch; color: #1c1c1c; font-size: 14.5px; line-height: 1.65; }
.legal__foot { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); line-height: 1.8; }
.legal__foot a { border-bottom: 1px solid currentColor; }
mark.tbc { background: #FFF1DC; color: #8A5A12; padding: 1px 7px; border-radius: 2px;
  font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; }

/* Colour swatches that actually mean something. A sold-out colourway is struck
   through rather than hidden: the customer learns the shoe exists in that
   colour and can ask for it, instead of wondering why it is missing. */
.swatch--out { position: relative; opacity: .45; }
.swatch--out::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; top: 50%;
  height: 1px;
  background: var(--ink);
  transform: rotate(-45deg);
}
.pdp__colournote {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 42ch;
}
.pdp__colournote--out { color: #8c1d18; }
.pdp__add[disabled] { opacity: .4; cursor: not-allowed; }
