/* ==========================================================================
   Giant Lygon St — Website · Core
   Shared by every template: tokens, type, link-buttons, header, menus,
   cart drawer, product card, footer, Impulse overlay.
   Figma: "Giant Website Refresh" › Prototype v1.1 › Concept B (964:822)
   ========================================================================== */

/* ---------- Tokens (Figma variables) ---------- */
:root {
  --ann-h: 36px;            /* announcement bar height */
  --asphalt: #0C2340;        /* Giant Primary/Asphalt */
  --velocity: #0050FC;       /* Giant Primary/Velocity Blue */
  --attack: #00EDF0;         /* Giant Primary/Attack Blue */
  --sunset: #FF533A;         /* Giant Extended/Fluoro Sunset */
  --neon: #38F414;           /* Giant Extended/Neon Forest */
  --gray: #CCCCCC;           /* Default Gray (lines, dots, disabled; not for text) */
  --text-muted: rgba(12, 35, 64, .65);  /* 11 Nov a11y: grey TEXT = Asphalt 65% (≥4.5:1 on white and #F7F7F7) */
  --line: #F2F2F2;           /* Gray line */
  --white: #FFFFFF;
  --bg-soft: #F7F7F7;        /* light grey panels: Real riders, Liv tab, Contact form half, cart summary (11 Nov: all grey panels use this) */
  --bg-ice: #F3F6FC;         /* Giant tab / Community wall */
  --bg-sand: #F1D2B3;        /* Gravel Ready */
  --bg-media: #EFEEEC;       /* Product photo background (soft warm grey, ref ERLY) */
  --bg-sage: #D3E6D1;        /* Product story panel (new, approved — not in Figma) */
  --rule-dark: #404040;      /* Spotlight stat rules */

  --font: "Overpass", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 30px;            /* every Figma frame uses 30px padding */
  --gap: 30px;
  --section-y: 120px;        /* section top padding */
  --header-h: 79px;          /* compact header height */
  --max: 1280px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 767px) {
  :root { --ann-h: 32px; --gutter: 16px; --gap: 16px; --section-y: 64px; --header-h: 60px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 21.6px; /* body copy: 16px, line spacing +15% (18.8 → 21.6) */
  color: var(--asphalt);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;   /* clip (not hidden) so position: sticky keeps working — hidden made body a scroll container */
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--velocity); outline-offset: 3px; }

/* ---------- Type styles (one class per Figma text style) ---------- */
.t-display { font-weight: 700; font-size: clamp(44px, 6.47vw, 82.853px); line-height: 1; text-transform: uppercase; letter-spacing: 0; }
.t-h2 { font-weight: 700; font-size: 24px; line-height: 32.2px; text-transform: uppercase; } /* line spacing +15% (was 28px) */          /* H2 Regular C3 */
.t-h3 { font-weight: 700; font-size: 20px; line-height: 1; text-transform: uppercase; }             /* H3 Regular C3 */
.t-body { font-weight: 400; font-size: 16px; line-height: 21.6px; }                                    /* Body C3 */
.t-btn { font-weight: 600; font-size: 13px; line-height: 18.8px; letter-spacing: .5px; text-transform: uppercase; } /* Button C3 */
.t-menu { font-weight: 400; font-size: 14px; line-height: 20px; }                                    /* Menu Regular */
.t-nav { font-weight: 600; font-size: 13px; line-height: normal; }                                   /* Tag C3 active */
.t-price { font-weight: 400; font-size: 12px; line-height: 16px; }                                   /* Price */
.t-tag { font-weight: 400; font-size: 10px; line-height: 1; }                                        /* Details/Tag */
.t-meta { font-weight: 500; font-size: 11px; line-height: 16px; }                                    /* Stock */
.t-eyebrow { font-weight: 600; font-size: 13px; line-height: 18.8px; letter-spacing: .5px; text-transform: uppercase; color: var(--velocity); }
.muted { opacity: .65; }   /* 11 Nov a11y: was .5 (3.2:1) */

/* ---------- Layout helpers ---------- */
.wrap { padding-inline: var(--gutter); }
.section { padding: var(--section-y) var(--gutter); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Link button (Figma "Button" · Variant 1 / Variant 3) ----------
   Uppercase label + 8px Velocity dot. The house CTA everywhere. */
.link-dot {
  display: inline-flex; align-items: flex-start; gap: 6px;
  font-weight: 700; font-size: 13px; line-height: 16.3px; letter-spacing: .5px; text-transform: uppercase; /* Button type: Figma 600/13px → 700/13px (was 15px) */
  color: var(--asphalt); white-space: nowrap;
}
.link-dot::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-top: 4px; border-radius: 50%;
  background: var(--velocity);
  transition: transform .35s var(--ease);
}
.link-dot:hover::after { transform: translateX(4px); }
.link-dot--light { color: var(--white); }
.link-dot--light::after { background: var(--white); }

/* Solid button — used only where Shopify needs a real button (ATC, checkout, forms).
   Same type as Button C3, so it stays in the family. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 28px;
  font-weight: 700; font-size: 15px; letter-spacing: .5px; text-transform: uppercase;
  background: var(--asphalt); color: var(--white);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--velocity); }
.btn--blue { background: var(--velocity); }
.btn--blue:hover { background: var(--asphalt); }
.btn--ghost { background: transparent; color: var(--asphalt); box-shadow: inset 0 0 0 1px var(--asphalt); }
.btn--ghost:hover { background: var(--asphalt); color: var(--white); }
.btn--full { width: 100%; }

/* ---------- Header (Impulse: Header group › Header, overlay + sticky) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 30px var(--gutter);
  color: var(--asphalt); background: var(--white);
  box-shadow: 0 1px 0 var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header__logo { position: relative; display: block; width: 186px; /* -25% (was 248) */ aspect-ratio: 310 / 32; transition: width .45s var(--ease); }
.site-header__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left bottom; transition: opacity .35s var(--ease); }
.site-header__logo .logo--white { opacity: 0; }
.site-header__logo .logo--hero-navy { opacity: 0; }
.site-header__nav { display: flex; align-items: center; gap: 28px; }
.site-header__nav a, .site-header__nav button { font-weight: 600; font-size: 13px; line-height: normal; position: relative; white-space: nowrap; }
.site-header__nav a::after, .site-header__nav button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: .112em; /* = stem of lowercase "l" in Overpass SemiBold (1.46px at 13px) */ background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-header__nav a:hover::after, .site-header__nav button:hover::after, .site-header__nav [aria-expanded="true"]::after { transform: scaleX(1); }
.site-header__nav .nav-sale { color: var(--sunset); } /* Sale in Sunset, as in the menu drawer and sale prices (also on the transparent home header) */
.site-header .only-mobile { display: none; }

/* Inner pages: compact header always. Spacer keeps content clear of the fixed bar. */
body:not(.is-home) { padding-top: calc(var(--ann-h) + var(--header-h)); }
.is-home main { padding-top: var(--ann-h); } /* hero starts under the bar */
body:not(.is-home) .site-header { padding-block: 18px; }
/* Compact (sticky) state: nav centred on the logo. Hero state keeps Figma's bottom alignment. */
body:not(.is-home) .site-header, .is-home .site-header.is-solid { align-items: center; }
.site-header__nav { padding-top: 2px; } /* Overpass sits high in its line box — optical centre */

/* Homepage: transparent over the hero with the large white logo (Figma HERO 973:2616) */
.is-home .site-header:not(.is-solid) { background: transparent; color: var(--white); box-shadow: none; }
.is-home .site-header:not(.is-solid) .site-header__logo { width: 560px; aspect-ratio: 560.073 / 71.5; } /* hero: Figma white logo */
.is-home .site-header:not(.is-solid) .logo--white { opacity: 1; }
.is-home .site-header:not(.is-solid) .logo--navy { opacity: 0; }
.is-home .site-header:not(.is-solid) .nav-sale { color: inherit; } /* white over the hero photo: Sunset is too close to the sky to read; Sunset again once the header turns white */
.is-home .site-header.is-solid { padding-block: 18px; }
/* Mega menu open over the hero: header keeps its size, turns white, large logo switches to navy */
.is-home .site-header.is-mega:not(.is-solid) { background: var(--white); color: var(--asphalt); box-shadow: 0 1px 0 var(--line); }
.is-home .site-header.is-mega:not(.is-solid) .logo--white { opacity: 0; }
.is-home .site-header.is-mega:not(.is-solid) .logo--hero-navy { opacity: 1; }

/* Announcement bar (Impulse: Header group › Announcement bar) */
.announce {
  position: absolute; top: 0; left: 0; right: 0; z-index: 52; height: var(--ann-h);
  background: var(--velocity); color: var(--white);
  display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); overflow: hidden;
}
.announce__track { position: relative; width: 100%; height: 100%; }
.announce__msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.announce__msg.is-active { opacity: 1; transform: none; }
a.announce__msg:hover { text-decoration: underline; text-underline-offset: 3px; }
.announce__msg .s { display: none; }
.announce__close {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; margin-right: -6px; display: grid; place-items: center; color: var(--white);
  opacity: .85; transition: opacity .2s, transform .2s;
}
.announce__close:hover { opacity: 1; transform: translateY(-50%) rotate(90deg); }
.announce__track { max-width: calc(100% - 48px); } /* keeps messages clear of the x */
html.ann-closed { --ann-h: 0px; }
html.ann-closed .announce { display: none; }
.site-header { top: var(--ann-h); }
@media (min-width: 901px) { .announce { padding: 0 60px; } .announce__close { right: 60px; } }
@media (max-width: 767px) {
  .announce__msg .l { display: none; }
  .announce__msg .s { display: inline; }
  .announce__msg { font-size: 10.5px; letter-spacing: .2px; justify-content: flex-start; }
  .announce__msg { display: block; line-height: var(--ann-h); text-align: center; overflow: hidden; text-overflow: ellipsis; }
}

/* Mega menu (Impulse: Mega menu block for "Bikes") */
.mega {
  position: fixed; left: 0; right: 0; top: var(--mega-top, var(--header-h)); z-index: 49;
  background: var(--white); color: var(--asphalt);
  padding: 40px var(--gutter) 48px;
  display: grid; grid-template-columns: repeat(4, 1fr) 1.4fr; gap: var(--gap);
  border-top: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__col h3 { margin-bottom: 18px; }
.mega__col li + li { margin-top: 10px; }
.mega__col a:hover { color: var(--velocity); }
.mega__promo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.mega__promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega__promo:hover img { transform: scale(1.04); }
.mega__promo span { position: absolute; left: 20px; bottom: 18px; }

/* Full-height menu drawer (Impulse: drawer menu) */
.drawer {
  position: fixed; inset: 0; z-index: 80; pointer-events: none;
}
.drawer__scrim { position: absolute; inset: 0; background: rgba(12, 35, 64, .4); opacity: 0; transition: opacity .35s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(520px, 100%);
  background: var(--white); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 30px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 30px var(--gutter); }
.drawer__foot { padding: 24px var(--gutter) 30px; border-top: 1px solid var(--line); }

.menu-list a { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; }
.menu-list a:hover { color: var(--velocity); }
.menu-list--primary a { font-weight: 700; font-size: 32px; line-height: 36px; text-transform: uppercase; }
.menu-list--secondary { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); columns: 2; }
.menu-list--secondary a { padding: 6px 0; font-size: 14px; line-height: 20px; }
.menu-store { display: grid; gap: 6px; }

/* Cart drawer (Impulse: Theme settings › Cart type: Drawer) */
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line__img { background: var(--white); /* 11 Nov: white, matches product gallery + cards */ aspect-ratio: 1; display: grid; place-items: center; }
.cart-line__img img { width: 88%; height: auto; mix-blend-mode: multiply; }
.cart-line__title { font-size: 16px; line-height: 21.6px; }
.cart-line__meta { font-size: 12px; line-height: 16px; opacity: .65; margin-top: 4px; }
.cart-line__price { font-size: 15px; text-align: right; }
.cart-line__remove { font-size: 11px; text-decoration: underline; opacity: .65; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; margin-top: 12px; box-shadow: inset 0 0 0 1px var(--line); height: 32px; }
.qty button { width: 32px; height: 32px; font-size: 15px; }
.qty input { width: 30px; text-align: center; border: 0; background: none; font-size: 13px; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-sum strong { font-size: 20px; font-weight: 700; }
.cart-note { font-size: 12px; line-height: 16px; opacity: .65; margin-bottom: 18px; }
.cart-ship { display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 16px; padding: 12px 14px; background: var(--bg-ice); margin-bottom: 18px; }
.cart-ship__bar { flex: 1; height: 3px; background: var(--white); position: relative; }
.cart-ship__bar i { position: absolute; inset: 0 auto 0 0; background: var(--velocity); }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: center; margin-top: 16px; }

/* ---------- Product card (Figma "Product C3" 917:1699) ----------
   Impulse: product-grid-item snippet. Sizes + location stock = small snippet edit. */
.pcard {
  position: relative; background: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  padding: 24px; text-align: center; container-type: inline-size;
  /* Card hugs its content (9 Nov, was a fixed 620 height): title, photo and options 30px apart, and the space above the title
     and below View bike equals the space either side of the photo (--pcard-air). 420 card = 66 all round, ~560 tall. */
  --pcard-media: min(288px, 80cqw);
  --pcard-air: calc((100cqw - var(--pcard-media)) / 2);
}
.pcard__head { margin-top: var(--pcard-air); }
.pcard__foot { margin-bottom: var(--pcard-air); }
/* White grids (collection, Similar bikes, Popular right now, home Top Picks): the card edge is invisible on the white page,
   so keep the 40px top/bottom the 120px section rhythm is measured from (24 padding + 16) */
.grid .pcard, .picks__grid .pcard { --pcard-air: 16px; }
.pcard__head { width: 100%; display: grid; gap: 4px; }
.pcard__title { font-size: 16px; line-height: 21.6px; }
.pcard__price { font-size: 12px; line-height: 16px; }
.pcard__price s { opacity: .65; margin-left: 6px; }
.pcard__price .is-sale { color: var(--sunset); opacity: 1; }
.pcard__media { position: relative; width: var(--pcard-media); aspect-ratio: 3 / 2; } /* product image, taller frame so square shots (helmets) read bigger (Figma 224 x 125). 288 = 20% smaller than the 360 that filled the card (9 Nov) */
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.pcard__media img + img { opacity: 0; }
/* Gear (helmets, lights, small parts): inset the image so its visual weight matches the bikes */
.pcard--gear .pcard__media img { padding: 9% 12%; } /* helmets inset inside the frame so they weigh like the bikes; frame 20% smaller (9 Nov) = helmets 20% smaller too */
.pcard:hover .pcard__media img:first-child { transform: scale(1.04); }
.pcard:hover .pcard__media img + img { opacity: 1; }
.pcard__foot { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.pcard__opts { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 85px; } /* colours + sizes + stock: cards without sizes keep the same height, so titles, photos and View bike line up across a row */
.pcard__opts .stock { margin-top: 14px; } /* 20px from colours/sizes to stock (was 6px) */
.pcard__badge { position: absolute; top: 14px; left: 14px; font-size: 10px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; padding: 4px 8px; background: var(--asphalt); color: var(--white); }
.pcard__badge--sale { background: var(--sunset); }
.pcard__badge--new { background: var(--velocity); }
.pcard__wish { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; display: grid; place-items: center; opacity: .35; transition: opacity .2s; }
.pcard__wish:hover, .pcard__wish[aria-pressed="true"] { opacity: 1; }
.pcard__wish[aria-pressed="true"] svg { fill: var(--sunset); stroke: var(--sunset); }
.pcard__quick {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 8px);
  font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  background: var(--white); box-shadow: inset 0 0 0 1px var(--asphalt); padding: 8px 14px;
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.pcard:hover .pcard__quick { opacity: 1; transform: translate(-50%, 0); }

.swatches { display: flex; gap: 6px; justify-content: center; padding: 5px 0; }
.swatch { width: 20px; height: 3px; background: var(--c, var(--gray)); transition: transform .2s var(--ease); }
button.swatch { padding: 0; }
.swatch:hover { transform: scaleY(1.7); }

.sizes { display: flex; background: var(--white); }
.size { display: grid; place-items: center; width: 30px; height: 30px; font-weight: 700; font-size: 11px; } /* +2 (Figma 9px) */
.size.is-out { opacity: .3; text-decoration: line-through; }

.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 11px; line-height: 16px; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); }
.stock--warehouse::before { background: var(--gray); }
.stock--both::before { width: 14px; height: 10px; border-radius: 0; background: url("../assets/svg/stock-both.svg") center / contain no-repeat; }
.stock--out::before { background: var(--sunset); }

/* ---------- Footer (Figma Frame 1028 973:3005 · Impulse Footer group) ---------- */
.site-footer { padding: 120px var(--gutter) 30px; display: flex; flex-direction: column; gap: 89px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; min-height: 300px; }
.site-footer__left, .site-footer__right { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.newsletter { width: 387px; max-width: 100%; display: grid; gap: 30px; }
.newsletter__form { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 15px 0; border-bottom: 1px solid var(--line); }
.newsletter__form input { flex: 1; border: 0; background: none; font-size: 14px; line-height: 20px; outline: 0; }
.newsletter__form input::placeholder { color: var(--text-muted); }
.socials { display: flex; gap: 10px; align-items: center; }
.socials a { width: 20px; height: 20px; display: grid; place-items: center; transition: opacity .2s; }
.socials a:hover { opacity: .6; }
.footer-cols { display: flex; gap: 10px; }
.footer-col { display: grid; gap: 30px; align-content: start; }
.footer-col ul { display: grid; gap: 10px; font-size: 14px; line-height: 20px; }
.footer-col a:hover { color: var(--velocity); }
.footer-col address { font-style: normal; display: grid; gap: 10px; font-size: 14px; line-height: 20px; }
.payments { display: flex; gap: 15.6px; align-items: center; flex-wrap: wrap; }
.payments img { height: auto; }
.gpay { position: relative; width: 32.35px; height: 13.32px; }
.gpay img { position: absolute; }
.site-footer__brand { display: grid; gap: 30px; }
.footer-logo { position: relative; }
.footer-logo img { width: 100%; height: auto; }
.footer-logo span { position: absolute; right: 0; bottom: -.28em; /* -.28em = font descent, so the letters (not the line box) sit on the logo baseline */ font-weight: 700; font-size: 18px; line-height: 1; text-transform: uppercase; } /* LYGON ST sits on the logo baseline, under the T's arm (as in the lockup) */
.legal { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 10px; color: var(--text-muted); }   /* 11 Nov a11y: was --gray #CCCCCC (1.6:1) */
.legal nav { display: flex; gap: 8px; justify-content: flex-end; width: 360px; }
.legal a:hover { color: var(--asphalt); }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; line-height: 16px; }
.crumbs a { opacity: .65; } .crumbs a:hover { opacity: 1; }
.crumbs span[aria-hidden] { opacity: .3; }

/* ---------- Form fields (Impulse Contact form, restyled) ---------- */
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.field input, .field textarea, .field select {
  width: 100%; border: 0; border-bottom: 1px solid var(--gray); background: transparent;
  padding: 10px 0 12px; font-size: 16px; line-height: 21.6px; border-radius: 0; outline: 0;
  transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--velocity); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }   /* 11 Nov a11y: was --gray (1.6:1) */

/* ---------- Accordion (Impulse: Tab blocks / FAQ / filter groups) ---------- */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc > summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-weight: 600; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; transition: transform .3s var(--ease); }
.acc[open] > summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 24px; }

/* ---------- Reveal on scroll (Impulse: Theme settings › Animations › "Reveal on scroll") ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; }
.reveal-img img { transform: scale(1.08); transition: transform 1.6s var(--ease); }
.reveal-img.is-in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img img { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Impulse map overlay — toggled with the floating button / "?impulse" URL.
   Each section carries data-impulse="Section name" data-fit="match|close|custom".
   ========================================================================== */
:where([data-impulse]) { position: relative; } /* zero specificity: never beats fixed/absolute components */
.impulse-on [data-impulse] { outline: 2px dashed var(--fit-c, var(--velocity)); outline-offset: -2px; }
.impulse-on [data-fit="match"]  { --fit-c: #1DB954; }
.impulse-on [data-fit="close"]  { --fit-c: #F5A300; }
.impulse-on [data-fit="custom"] { --fit-c: #E5266E; }
.impulse-tag {
  display: none; position: absolute; z-index: 40; top: 8px; left: 8px; max-width: min(460px, calc(100% - 16px));
  font: 500 11px/15px var(--font); color: #fff; background: var(--fit-c, var(--velocity));
  padding: 6px 9px 6px; letter-spacing: 0; text-transform: none; text-align: left; pointer-events: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.impulse-tag b { font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-right: 6px; }
.impulse-tag em { display: block; font-style: normal; opacity: .9; margin-top: 2px; }
.impulse-on .impulse-tag { display: block; }
.impulse-on .site-header .impulse-tag { top: auto; bottom: -34px; }

.impulse-dock {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font: 500 12px/16px var(--font);
}
.impulse-dock__toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--asphalt); color: #fff;
  font-weight: 600; letter-spacing: .5px; text-transform: uppercase; font-size: 11px; box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.impulse-dock__toggle i { width: 8px; height: 8px; border-radius: 50%; background: var(--gray); }
.impulse-on .impulse-dock__toggle i { background: var(--neon); }
.impulse-dock__panel { display: none; background: #fff; color: var(--asphalt); padding: 14px 16px; box-shadow: 0 6px 24px rgba(0,0,0,.18); width: 260px; }
.impulse-on .impulse-dock__panel { display: block; }
.impulse-dock__panel h4 { font-size: 11px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 8px; }
.impulse-dock__panel li { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.impulse-dock__panel li i { width: 10px; height: 10px; flex: none; }
.impulse-dock__panel nav { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.impulse-dock__panel nav a { text-decoration: underline; text-underline-offset: 2px; }
.impulse-dock__panel nav a[aria-current] { color: var(--velocity); }

/* ---------- Responsive: core ---------- */
@media (max-width: 1100px) {
  .site-footer__top { flex-direction: column; }
  .footer-cols { flex-wrap: wrap; gap: 30px 10px; }
  .mega { grid-template-columns: repeat(3, 1fr); }
  .mega__promo { display: none; }
}
@media (max-width: 900px) {
  .site-header .only-desktop { display: none; }
  .site-header .only-mobile { display: inline; }
  .is-home .site-header:not(.is-solid) .site-header__logo { width: min(340px, 58vw); }
  .site-header__nav { gap: 18px; }
}
@media (max-width: 767px) {
  .site-header, body:not(.is-home) .site-header, .is-home .site-header.is-solid { padding: 16px var(--gutter); align-items: center; }
  .site-header__logo { width: 128px; } /* -25% (was 170) */
  .is-home .site-header:not(.is-solid) { align-items: flex-end; padding-top: 20px; }
  .is-home .site-header:not(.is-solid) .site-header__logo { width: 46vw; }
  .site-header__nav { gap: 14px; }
  .menu-list--primary a { font-size: 26px; line-height: 30px; }
  .site-footer { padding-top: 64px; gap: 48px; }
  .footer-col { width: calc(50% - 5px); gap: 16px; }
  .footer-col--visit { width: 100%; }
  .legal { flex-direction: column; align-items: flex-start; }
  .legal nav { width: auto; justify-content: flex-start; flex-wrap: wrap; }
  .footer-logo span { font-size: 12px; bottom: auto; top: 100%; margin-top: 6px; } /* phone: too little room under the T, so it sits below the logo */
  .pcard { gap: 18px; padding: 12px; } /* photo is 80% of the card on phones; same equal-air rule */
  .grid .pcard, .picks__grid .pcard { --pcard-air: 8px; } /* 20px top/bottom in white grids, as before */
  .impulse-tag { font-size: 10px; line-height: 13px; }
}

/* Header (hero + reduced) and Bikes mega menu: 60px side padding on desktop, matching homepage sections */
@media (min-width: 901px) {
  .site-header, body:not(.is-home) .site-header, .is-home .site-header.is-solid { padding-left: 60px; padding-right: 60px; }
  .mega { padding-left: 60px; padding-right: 60px; }
}

/* Footer: 120px top, 60px sides, 30px bottom (desktop) */
@media (min-width: 901px) {
  .site-footer { padding: 120px 60px 30px; }   /* 120px top on every page */
}

/* Site-wide 60px side margins on desktop (homepage rule applied to every page) */
@media (min-width: 901px) {
  :root { --gutter: 60px; }
}

/* Cart drawer cleanup */
#cartDrawer .acc, [data-cart-foot] ~ * .acc, .drawer .drawer__body > details.acc { border-top: 0; }   /* no line above "Add order note" */
[data-cart-foot] { border-top: 0; }                                                                    /* no line above the free-shipping block */
.cart-line__price { text-align: left; }                                                                /* price + Remove share one left edge */

/* Drawer that slides in from the left (main collection filter, 10 Nov) */
.drawer--left .drawer__panel { right: auto; left: 0; transform: translateX(-100%); }
.drawer--left.is-open .drawer__panel { transform: none; }

/* ---------- Services mega menu (11 Nov): 3 boxes in the homepage service colours, title top / line bottom (icons removed 11 Nov); the panel copies the Bikes panel height when it opens (site.js), boxes fill it ---------- */
.mega.mega--services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.svc-box { --ink: var(--white); --dot: var(--white); position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 0; padding: 30px; color: var(--ink); background: var(--velocity); transition: filter .3s var(--ease); }
.svc-box--rent { background: var(--sunset); }
.svc-box--fitting { background: var(--attack); --ink: var(--asphalt); --dot: var(--velocity); }
.svc-box__line { max-width: 340px; }
.svc-box:hover { filter: brightness(.96); }
.svc-box:focus-visible { outline: 2px solid var(--asphalt); outline-offset: 3px; }

/* ---------- Bikes mega menu v3 (11 Nov): the site's 6 columns × 30 gap ----------
   Four lists in columns 1–4 · RIDE UNLEASHED action photo (3:2) over columns 5–6 ·
   ALL BIKES • under Road & Gravel, on the photo's bottom line. 60 top/bottom. Services copies this height. */
.mega { padding-top: 60px; padding-bottom: 60px; }
.mega.mega--bikes { grid-template-columns: repeat(4, max-content) minmax(0, 1fr) minmax(260px, calc((100% - 150px) / 3 + 30px)); grid-template-rows: auto 1fr; gap: 0 48px; align-items: start; }   /* 11 Nov: lists sit 60 apart (not spread over 4 grid columns); photo keeps the width of 2 site columns */
.mega--bikes .mega__col { grid-row: 1; }
.mega--bikes .mega__col h3 { margin-bottom: 24px; }
.mega--bikes .mega__col li + li { margin-top: 12px; }
.mega--bikes .mega__all { grid-column: 1; grid-row: 2; align-self: end; }
.mega--bikes .mega__promo { grid-column: 6; grid-row: 1 / span 2; aspect-ratio: 3 / 2; }
.mega--bikes .mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.8)); pointer-events: none; }   /* black fade from the bottom (11 Nov, stronger) so RIDE UNLEASHED stands out */
.mega--bikes .mega__promo-title { position: absolute; left: 30px; bottom: 26px; z-index: 1; color: var(--white); }
@media (max-width: 1100px) {   /* small laptops: the 4 lists only (the live 3-level labels need the room), photo hidden */
  .mega.mega--bikes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; }
  .mega--bikes .mega__promo { display: none; }
  .mega--bikes .mega__all { margin-top: 30px; }
}

/* ---------- Bikes mega menu v4 (11 Nov): the live site's 3 levels, unchanged (Bikes → type → sub-type) ----------
   Level 2 = caps label (link to its collection), level 3 = list under it. Groups without sub-types stack in column 1. */
.mega--bikes .mega__group + .mega__group { margin-top: 30px; }
.mega--bikes .mega__group h3 { margin-bottom: 0; }
.mega--bikes .mega__group h3 + ul { margin-top: 18px; }
.mega--bikes .mega__col h3 a:hover { color: var(--velocity); }
.mega--bikes .mega__col h3 + ul li + li { margin-top: 10px; }
.mega--bikes .mega__col:first-child .mega__group:not(:has(ul)) + .mega__group:not(:has(ul)) { margin-top: 16px; }   /* Road · Cyclocross gravel · Triathlon read as one short list */
.mega--bikes .mega__promo { aspect-ratio: auto; align-self: stretch; min-height: 240px; }   /* fills the lists' height, so ALL BIKES sits on its bottom line */
.mega--bikes .mega__promo::before { content: ""; display: block; padding-top: 66.67%; }   /* at least 3:2 */
.mega--bikes .mega__promo img { position: absolute; inset: 0; }

/* ---------- 11 Nov · Drawers: one start line ----------
   Every side drawer (Menu, Search, Cart, Filters, Size guide, Store availability) starts its first line of content
   where the Menu starts: cap top of the first word 45px under the drawer head's keyline (30 padding + the Menu link's
   own 10 + half-leading). Only the first element is nudged; the drawer padding stays 30 / gutter. Impulse: Close (CSS). */
.drawer__panel[aria-label="Search"] .drawer__body > :first-child { margin-top: 14px; }
.drawer__panel[aria-label="Size guide"] .drawer__body > :first-child,
.drawer__panel[aria-label="Store availability"] .drawer__body > :first-child { margin-top: 10px; }
.drawer__panel[aria-label="Filters"] .drawer__body > :first-child { margin-top: -10px; }   /* no keyline above CATEGORY (11 Nov) */
[data-cart-body] > .cart-line:first-child { padding-top: 12px; }   /* cart title on the start line, like every drawer */
[data-cart-body] > .cart-line:has(+ .cart-note-acc) { padding-bottom: 36px; }   /* 11 Nov, later: air below the last product (qty box → ADD ORDER NOTE keyline) = air above the first (head keyline → title), 45 each */

/* 11 Nov · Menu drawer: no keyline above VISIT US (first inset, then removed). Cart drawer foot keeps its full-width line. Impulse: Close (CSS). */
.drawer__foot.menu-store { border-top: 0; position: relative; }
/* keyline above VISIT US removed (11 Nov, later): no ::before line */
.menu-store .t-eyebrow { margin-bottom: 5px; }   /* 11 Nov · 5px more air under VISIT US (gap 6 → 11); address lines keep 6 */
.cart-sum { margin-bottom: 11px; }   /* 11 Nov · SUBTOTAL row: air below (price baseline → note cap) = air above (shipping box → price cap), ~23 each */

/* ---------- Mobile header (12 Nov): Menu + Cart only, compact logo from the start (white over the hero, navy once it scrolls), same size in both states; nav text sits on the logo's bottom line ---------- */
.site-header__logo .logo--compact-white { opacity: 0; }
@media (max-width: 767px) {
  .site-header [data-open="search"] { display: none; }                                            /* 12 Nov: Search hidden in the phone header (Bruno). NOTE: the Menu drawer has no search yet */
  .site-header, body:not(.is-home) .site-header, .is-home .site-header.is-solid, .is-home .site-header:not(.is-solid) { padding: 16px var(--gutter); align-items: flex-end; }
  .site-header__logo, .is-home .site-header:not(.is-solid) .site-header__logo { width: 128px; aspect-ratio: 310 / 32; }   /* one size: the compact logo, ~25% smaller than the old hero logo, LYGON ST readable */
  .is-home .site-header:not(.is-solid) .logo--white { opacity: 0; }
  .is-home .site-header:not(.is-solid) .logo--compact-white { opacity: 1; }
  .site-header__nav { padding-top: 0; gap: 18px; transform: translateY(5px); }   /* text baseline on the logo's bottom line (the line box keeps ~5px for descenders) */
}

/* 12 Nov · Menu drawer search line (phones only: the phone header has no Search). Looks like the site's underlined fields; tapping it opens the Search drawer. */
.menu-search { display: none; }
@media (max-width: 767px) {
  .menu-search { display: block; width: 100%; text-align: left; padding: 12px 0 12px; margin-bottom: 20px; border-bottom: 1px solid var(--gray); color: var(--text-muted); font: var(--t-body); }
  .menu-search:hover, .menu-search:focus-visible { border-color: var(--velocity); color: var(--asphalt); }
}

/* 12 Nov, later · phone logo +25% (Bruno): 128 → 160px, both states (hero white / scrolled navy). Menu + Cart stay on the logo's bottom line. */
@media (max-width: 767px) {
  .site-header__logo, .is-home .site-header:not(.is-solid) .site-header__logo { width: 160px; }
}
/* 12 Nov · phone Menu drawer fits a 375×812 screen: caps list rows 46 (was 50), second list 20 + 20 under it (was 30 + 24). Smaller phones still scroll inside the drawer. */
@media (max-width: 767px) {
  .menu-list--primary a { padding: 8px 0; }
  .menu-list--secondary { margin-top: 20px; padding-top: 20px; }
}
/* 12 Nov, later again · phone logo +25% more (Bruno): 160 → 200px, both states */
@media (max-width: 767px) { .site-header__logo, .is-home .site-header:not(.is-solid) .site-header__logo { width: 200px; } }
/* 12 Nov, later · phone header: Menu + Cart centred vertically in the bar (Bruno), replaces "on the logo's bottom line". Logo centred too. */
@media (max-width: 767px) {
  .site-header, body:not(.is-home) .site-header, .is-home .site-header.is-solid, .is-home .site-header:not(.is-solid) { align-items: center; }
  .site-header__nav { transform: translateY(1.5px); }   /* optical: middle of the capitals on the bar's centre line */
}

/* 12 Nov · MOBILE SECTION RHYTHM = 50 (Bruno): every section's top and bottom padding on phones is 50 (was 64, plus a few 30s). One variable for inner pages; explicit values below where a section had its own number. Desktop unchanged (120). */
@media (max-width: 767px) {
  :root { --section-y: 50px; }
  .site-footer { padding-top: 50px; }
}

/* ---------- 12 Nov · PHONE PRODUCT-GRID STANDARD (Bruno): every product grid on phones (Bikes, Similar bikes, Popular right now; homepage Top picks uses the same values in home.css)
   2 columns · keyline between rows with 50 above (VIEW BIKE → line) and 50 below (line → next name) · names reserve 2 lines and VIEW BIKE sits on the card's bottom line, so a row always lines up.
   Card has 20 inside (12 padding + 8 air), so rows are 60 apart with the line in the middle. No line under the last row. Impulse: Close (product-grid CSS). ---------- */
@media (max-width: 767px) {
  html body .grid { row-gap: 60px; }
  html body .grid .pcard { position: relative; justify-content: flex-start; }
  html body .grid .pcard__head { min-height: calc(2 * 21.6px + 4px + 18px); align-content: start; }
  html body .grid .pcard__foot { margin-top: auto; }
  html body .grid .pcard:nth-child(n of .pcard)::after { content: ""; display: block; position: absolute; bottom: -30.5px; height: 1px; background: var(--line); pointer-events: none; }
  html body .grid .pcard:nth-child(odd of .pcard)::after { left: 0; right: calc(-1 * var(--gap) / 2); }
  html body .grid .pcard:nth-child(even of .pcard)::after { left: calc(-1 * var(--gap) / 2); right: 0; }
  html body .grid .pcard:nth-last-child(1 of .pcard)::after,
  html body .grid .pcard:nth-last-child(2 of .pcard):nth-child(odd of .pcard)::after { display: none; }
}
/* 12 Nov · phones: footer VISIT US sits to the right of GET TO KNOW US (half width, like the other footer columns; was full width on its own row) */
@media (max-width: 767px) { .footer-col--visit { width: calc(50% - 5px); } }
@media (max-width: 767px) { .footer-cols .footer-col { width: calc(50% - 5px) !important; } }   /* all 4 footer columns = equal halves on phones, so the right-hand columns line up (inline desktop widths were 140 / 160) */
/* 12 Nov · phones: LYGON ST back on the GIANT baseline, under the T's arm (as on desktop), at 12px (was pushed below the logo) */
@media (max-width: 767px) { .footer-logo span { top: auto; margin-top: 0; bottom: -.28em; } }
/* 12 Nov, later · phones: the gap under the T's arm is only ~23px at phone size (LYGON ST needs 56), so the logo is 64px narrower and LYGON ST sits beside it, letters on the GIANT baseline */
@media (max-width: 767px) {
  .footer-logo { display: block; }
  .footer-logo img { width: calc(100% - 64px); }
  .footer-logo span { right: 0; bottom: -.28em; }
}
/* 12 Nov · phones: newsletter field (SUBMIT • and its keyline) runs the full width to the 16 margin (was capped at 387) */
@media (max-width: 767px) { .newsletter { width: 100%; } .newsletter__form { padding-right: 0; } }
/* 12 Nov · footer top padding = 100 on every layout (desktop was 120, phones 50) */
.site-footer, html body .site-footer { padding-top: 100px; }
.stock::before { position: relative; top: -.1em; }   /* 12 Nov · stock dot on the middle of the capitals (was on the line box middle, which sits low in Overpass): -1.6px at 16px, -1.1px at 11px */
.link-dot::after { margin-top: 2.6px; }   /* 16 Nov · dot centred on the middle of the capitals on every dot button (was 4px = 1.4px low) */

/* 16 Nov · Services menu: photos instead of colour blocks (same images as the homepage Services tabs), title + line together at the bottom, black fade so the white text reads (same fade as RIDE UNLEASHED) */
.svc-box, .svc-box--rent, .svc-box--fitting { --ink: var(--white); --dot: var(--white); background: var(--asphalt); overflow: hidden; justify-content: flex-end; gap: 15px; min-height: 240px; }
.svc-box__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.8)); pointer-events: none; }
.svc-box__title, .svc-box__line { position: relative; z-index: 1; }
.svc-box:hover { filter: none; }
.svc-box:hover .svc-box__img { transform: scale(1.04); }
/* 16 Nov, later · Services menu: title and line closer (15 → 6px), stronger black fade (Bruno) */
.svc-box, .svc-box--rent, .svc-box--fitting { gap: 6px; }
.svc-box::after { background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.6) 60%, rgba(0,0,0,.9)); }

/* 16 Nov · PHONE HEADER, two rows (Bruno): 1) Giant Lygon St logo edge to edge (full width inside the 16px gutters),
   2) Menu · Bikes · Services · Cart spread across the same width underneath (Sale + Search stay in the Menu drawer).
   The bar slides away when the visitor scrolls down and comes back as soon as they scroll up (js: .is-hidden).
   --header-h on phones = the real bar height (set by js), so inner pages and banners still start right under it. */
@media (max-width: 767px) {
  .site-header, body:not(.is-home) .site-header, .is-home .site-header.is-solid, .is-home .site-header:not(.is-solid) {
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 16px; padding: 16px var(--gutter);
    transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .4s var(--ease); }
  .site-header__logo, .is-home .site-header:not(.is-solid) .site-header__logo { width: 100%; }
  .site-header__nav { justify-content: space-between; gap: 0; transform: none; }
  .site-header .only-desktop[data-mega] { display: inline; }
  .site-header .nav-sale { display: none; }
  .site-header.is-hidden { transform: translateY(calc(-100% - 2px)); }
}
/* 16 Nov · phone pages whose top photo used to tuck under the old one-row bar start right under the new two-row bar instead (Bikes banner, Contact photo) */
@media (max-width: 767px) {
  body .coll-banner, body .contact-grid--top { margin-top: 0; }   /* body = beats templates.css, which loads after core.css */
}
/* 16 Nov, later · phones: the two-row bar is only the TOP state. As soon as the visitor scrolls (.is-scrolled, every page)
   it becomes the reduced one-row bar from before (200px compact logo, Menu · Cart centred in the bar) and stays stuck to
   the top whether they scroll down or up (Bruno; replaces hide-on-scroll). */
@media (max-width: 767px) {
  .site-header.is-scrolled, body:not(.is-home) .site-header.is-scrolled, .is-home .site-header.is-solid.is-scrolled {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .site-header.is-scrolled .site-header__logo, .is-home .site-header.is-scrolled .site-header__logo { width: 200px; }
  .site-header.is-scrolled .site-header__nav { justify-content: flex-end; gap: 18px; transform: translateY(1.5px); }
  .site-header.is-scrolled .only-desktop[data-mega] { display: none; }
  .site-header.is-hidden { transform: none; }
}
/* 16 Nov · phones: single-column product cards (homepage shoppable photo card, Giant/Liv carousel, product page Complete your ride)
   show the product image 20% smaller (Bruno). The frame shrinks (255 → 204 wide at 375, so the card gets shorter); the card's
   air above the title / below the button and the 30px gaps stay as they were. 2-column grids unchanged. */
@media (max-width: 767px) {
  .shoppable .pcard .pcard__media, .brandtabs .pcard .pcard__media { width: calc(var(--pcard-media) * .8); }
}

/* 17 Nov · Desktop hero logo grows with the screen (Bruno/Trav: "really small on big screens vs Figma").
   Figma = 560px on a 1440 frame (38.9% of the width): 560px up to 1440, then 38.9vw (≈747 at 1920, ≈996 at 2560). */
@media (min-width: 901px) { .is-home .site-header:not(.is-solid) .site-header__logo { width: max(560px, 38.9vw); } }
/* 17 Nov · Desktop hero header: nav text on the exact same baseline as LYGON ST (= the logo's bottom edge). Measured: the nav
   letters sat 5.3px above it at every width (13px text, so the gap is constant). Reduced sticky bar unchanged (centred). */
@media (min-width: 768px) { .is-home .site-header:not(.is-solid) .site-header__nav { transform: translateY(5.3px); } }   /* tablet too: same 5.3px gap there */
/* 17 Nov · phones, HOMEPAGE top state only: the edge-to-edge logo is the desktop hero logo (GIANT with the small LYGON ST
   under the T's arm) instead of the compact lockup, whose LYGON ST felt too large at full width (Bruno/Trav).
   Scrolled bar and every other page keep the compact logo. */
@media (max-width: 767px) {
  .is-home .site-header:not(.is-scrolled):not(.is-solid) .site-header__logo { aspect-ratio: 560.073 / 71.5; }
  .is-home .site-header:not(.is-scrolled):not(.is-solid) .logo--compact-white { opacity: 0; }
  .is-home .site-header:not(.is-scrolled):not(.is-solid) .logo--white { opacity: 1; }
}
/* 17 Nov · phones, footer on every page: the same Giant Lygon St logo as the phone hero (GIANT with the small LYGON ST under
   the T's arm, navy), full width inside the gutters; replaces GIANT + the separate 12px LYGON ST beside it (Bruno). */
.footer-logo__phone { display: none; }
@media (max-width: 767px) {
  .footer-logo img { display: none; }
  .footer-logo img.footer-logo__phone { display: block; width: 100%; height: auto; }
  .footer-logo span { display: none; }
}
