:root {
  --warm-white: #fcfaf7;
  --ivory: #f3ede2;
  --ivory-deep: #e8dfd2;
  --sage: #7d806b;
  --navy: #182438;
  --burgundy: #651f31;
  --chocolate: #493426;
  --charcoal: #202020;
  --muted: #626262;
  --line: rgba(32, 32, 32, .14);
  --line-light: rgba(255, 255, 255, .22);
  --shadow: 0 24px 70px rgba(24, 36, 56, .15);
  --radius: 2px;
  --header-height: 72px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) { overflow: hidden; }

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

a { color: inherit; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: inherit;
  font-family: Manrope, Inter, sans-serif;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.12;
}
h1 { font-size: clamp(2.55rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }

[hidden] { display: none !important; }

::selection { background: var(--burgundy); color: var(--warm-white); }

:focus-visible {
  outline: 3px solid #2f68c5;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--navy);
  color: white;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 64px, var(--container));
  margin-inline: auto;
}

.announcement {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px 20px;
  background: var(--navy);
  color: var(--warm-white);
  font-size: .73rem;
  letter-spacing: .075em;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(252, 250, 247, .96);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(100% - 64px, var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}
.brand-mark { width: 19px; height: 36px; fill: currentColor; stroke: none !important; }
.brand span { font-family: Manrope, sans-serif; font-size: .95rem; font-weight: 600; letter-spacing: .28em; }

.desktop-nav { display: flex; justify-content: center; gap: clamp(18px, 2.5vw, 36px); }
.desktop-nav a {
  position: relative;
  padding: 24px 0;
  font-size: .76rem;
  letter-spacing: .06em;
  text-decoration: none;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  text-decoration: none;
}
.icon-button:hover { background: rgba(24, 36, 56, .07); }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-button { display: none; }
.count-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--burgundy);
  color: white;
  font-size: .65rem;
  font-weight: 700;
}

dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  box-shadow: var(--shadow);
}
dialog::backdrop { background: rgba(24, 36, 56, .58); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin-bottom: 0; font-size: clamp(1.6rem, 4vw, 2.4rem); }

.mobile-menu {
  width: min(390px, 92vw);
  height: 100dvh;
  margin: 0 auto 0 0;
  padding: 28px;
}
.mobile-menu nav { display: grid; margin-top: 28px; }
.mobile-menu nav a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; font-family: Manrope, sans-serif; font-size: 1.12rem; }

.search-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: 90dvh;
  margin: 5dvh auto;
  padding: clamp(24px, 5vw, 48px);
  overflow-y: auto;
}
.search-input {
  width: 100%;
  height: 60px;
  margin-top: 28px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: white;
  font-size: 1rem;
}
.search-results { margin-top: 10px; max-height: min(52vh, 520px); overflow: auto; }
.search-result { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-result span { display: grid; }
.search-result small { color: var(--muted); }
.search-result svg, .text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: 0 0 auto; }
.search-empty { padding: 24px 4px; color: var(--muted); }

.cart-drawer {
  width: min(470px, 100%);
  height: 100dvh;
  margin: 0 0 0 auto;
  padding: clamp(22px, 4vw, 36px);
  overflow-y: auto;
}
.cart-drawer .notice { margin: 22px 0; }
.drawer-footer { position: sticky; bottom: -36px; margin: 24px -36px -36px; padding: 22px 36px 36px; border-top: 1px solid var(--line); background: var(--warm-white); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }

.page { min-height: 55vh; }
.section { padding: clamp(76px, 9vw, 128px) 0; }
.section-tint { background: var(--ivory); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 42px; }
.section-heading > * { max-width: 650px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading p { max-width: 490px; margin-bottom: 5px; color: var(--muted); }
.section-heading.narrow { max-width: 780px; }
.section-action { display: flex; justify-content: center; margin-top: 42px; }
.eyebrow { margin-bottom: 12px; color: var(--burgundy); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--burgundy); border-color: var(--burgundy); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover, .btn-secondary.active { background: var(--navy); color: white; }
.btn-light { border-color: var(--warm-white); background: var(--warm-white); color: var(--navy); }
.btn-light:hover { border-color: var(--ivory); background: var(--ivory); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .65); color: white; }
.btn-ghost-light:hover { background: white; color: var(--navy); }
.full-button { width: 100%; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.text-link:hover { text-decoration: underline; }
.small-link { margin-top: 12px; font-size: .68rem; }
.text-button { min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--burgundy); font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }

.hero {
  position: relative;
  min-height: min(790px, calc(100dvh - 110px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: white;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 36, 56, .94) 0%, rgba(24, 36, 56, .72) 38%, rgba(24, 36, 56, .16) 70%, rgba(24, 36, 56, .05) 100%); }
.hero-content { position: relative; z-index: 1; padding-block: 60px; }
.hero-content > * { max-width: 720px; }
.hero-content h1 { max-width: 680px; margin-bottom: 20px; font-size: clamp(2.65rem, 4.5vw, 4.5rem); }
.hero-content p { max-width: 600px; margin-bottom: 26px; color: rgba(255, 255, 255, .88); font-size: clamp(1rem, 1.6vw, 1.12rem); }
.hero .eyebrow { color: #f1d8de; }

.page-hero { padding: clamp(72px, 9vw, 120px) 0; background: var(--navy); color: white; }
.page-hero .container { max-width: var(--container); }
.page-hero h1 { max-width: 900px; margin-bottom: 22px; }
.page-hero p { max-width: 690px; margin-bottom: 0; color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.page-hero .eyebrow { color: #f1d8de; }

.colour-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.colour-card { display: grid; gap: 10px; color: var(--charcoal); text-decoration: none; }
.colour-field { aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--colour); border: 1px solid rgba(32, 32, 32, .08); overflow: hidden; }
.colour-field svg { width: 28px; height: 54px; fill: currentColor; transition: transform .3s ease; }
.colour-card:hover .colour-field svg { transform: scale(1.12); }
.colour-card strong { font-family: Manrope, sans-serif; }
.colour-card > span:last-child { color: var(--muted); font-size: .78rem; }

.product-grid, .accessory-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 16px; }
.product-card { min-width: 0; }
.product-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--warm-white); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.025); }
.badge { position: absolute; top: 12px; left: 12px; padding: 7px 10px; background: rgba(252, 250, 247, .92); color: var(--navy); font-size: .61rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wishlist-button { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(252, 250, 247, .9); color: var(--navy); }
.wishlist-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.wishlist-button.active svg { fill: var(--burgundy); stroke: var(--burgundy); }
.product-copy { padding: 18px 4px 4px; }
.product-copy .meta, .meta { margin-bottom: 6px; color: var(--muted); font-size: .72rem; letter-spacing: .04em; }
.product-copy h3 { margin-bottom: 6px; font-size: 1.05rem; }
.product-copy h3 a { text-decoration: none; }
.product-copy p { color: var(--muted); font-size: .9rem; }
.price { color: var(--charcoal) !important; font-weight: 600; }
.swatches, .swatch-options { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0 18px; }
.swatch { width: 18px; height: 18px; border: 1px solid rgba(32, 32, 32, .25); border-radius: 50%; background: var(--swatch); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article { min-height: 280px; padding: clamp(28px, 4vw, 52px); background: var(--warm-white); }
.feature-number { display: block; margin-bottom: 62px; color: var(--burgundy); font-size: .72rem; letter-spacing: .15em; }
.feature-grid h3 { margin-bottom: 12px; }
.feature-grid p { margin-bottom: 0; color: var(--muted); }

.notice { margin: 32px 0 0; padding: 18px 20px; border-left: 3px solid var(--burgundy); background: rgba(101, 31, 49, .07); color: #4d1a28; font-size: .85rem; }
.notice.compact { margin: 16px 0; padding: 14px 16px; font-size: .78rem; }

.story-band { padding: clamp(82px, 10vw, 150px) 0; background: var(--burgundy); color: white; }
.story-band-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: clamp(40px, 8vw, 120px); }
.story-band h2 { margin-bottom: 0; }
.story-band p { color: rgba(255, 255, 255, .82); }
.story-band .eyebrow { color: #f1d8de; }

.editorial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 20px; }
.editorial-card h3 { font-size: 1.2rem; }
.editorial-card h3 a { text-decoration: none; }
.editorial-card p { color: var(--muted); font-size: .9rem; }
.editorial-image { aspect-ratio: 4 / 3; display: block; margin-bottom: 22px; overflow: hidden; background: var(--ivory); }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.editorial-card:hover .editorial-image img { transform: scale(1.025); }

.teams-section { background: var(--warm-white); }
.teams-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(48px, 8vw, 110px); }
.teams-grid > div > p { max-width: 580px; color: var(--muted); }
.surface-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); background: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; align-content: start; gap: 7px; }
.field label, .option-group > label { font-size: .78rem; font-weight: 600; }
.field input, .field select, .field textarea, .option-group select, .newsletter-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid #7b7b7b;
  border-radius: 0;
  background: white;
  color: var(--charcoal);
}
.field textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
.form-note { margin: 9px 0 0; color: var(--muted); font-size: .75rem; }
.check-field { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; }
.check-field input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }

.newsletter { padding: clamp(64px, 8vw, 100px) 0; background: var(--navy); color: white; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 8vw, 100px); }
.newsletter h2 { margin-bottom: 10px; }
.newsletter p { margin-bottom: 0; color: rgba(255, 255, 255, .75); }
.newsletter .eyebrow { color: #f1d8de; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); color: white; }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .68); }

.filters { margin-bottom: 34px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.filter-row { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; }
.filter-row .field { min-width: 190px; }
.filters > p { margin: 16px 0 0; color: var(--muted); font-size: .8rem; }
.chip { min-height: 48px; display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid var(--navy); color: var(--navy); font-size: .75rem; text-decoration: none; }
.chip:hover { background: var(--navy); color: white; }

.breadcrumbs { min-height: 56px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .75rem; }
.breadcrumbs a { color: var(--navy); }
.product-section { padding-top: 40px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); align-items: start; gap: clamp(40px, 7vw, 100px); }
.product-gallery { position: sticky; top: calc(var(--header-height) + 24px); }
.product-gallery > img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ivory); }
.image-note { margin-top: 12px; color: var(--muted); font-size: .75rem; }
.product-detail { max-width: 560px; }
.product-detail h1 { margin-bottom: 12px; font-size: clamp(2.35rem, 5vw, 4.3rem); }
.product-price { margin-bottom: 22px; font-size: 1.05rem; font-weight: 600; }
.product-description { color: var(--muted); font-size: 1.02rem; }
.option-group { margin: 28px 0 0; padding: 0; border: 0; }
.option-group legend { margin-bottom: 12px; font-size: .84rem; }
.swatch-option { position: relative; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.swatch-option input { position: absolute; opacity: 0; }
.swatch-option > span:not(.visually-hidden) { width: 28px; height: 28px; border: 1px solid rgba(32, 32, 32, .3); border-radius: 50%; background: var(--swatch); }
.swatch-option input:checked + span { outline: 2px solid var(--navy); outline-offset: 4px; }
.swatch-option input:focus-visible + span { outline: 3px solid #2f68c5; outline-offset: 4px; }
.size-grid { display: grid; grid-template-columns: repeat(7, minmax(46px, 1fr)); gap: 8px; }
.size-grid label { position: relative; }
.size-grid input { position: absolute; opacity: 0; }
.size-grid span { min-height: 46px; display: grid; place-items: center; border: 1px solid #777; background: white; font-size: .78rem; }
.size-grid input:checked + span { border-color: var(--navy); background: var(--navy); color: white; }
.size-grid input:focus-visible + span { outline: 3px solid #2f68c5; outline-offset: 2px; }
.option-group select { max-width: 120px; display: block; margin-top: 8px; }
.product-actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; margin-top: 18px; }
.product-accordions { margin-top: 34px; border-top: 1px solid var(--line); }
.product-accordions details, .faq details { border-bottom: 1px solid var(--line); }
.product-accordions summary, .faq summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-family: Manrope, sans-serif; font-weight: 600; }
.product-accordions details > p, .product-accordions details > ul, .faq details > div { padding-bottom: 22px; color: var(--muted); }
.product-accordions li { margin-bottom: 10px; }
.product-accordions li strong, .product-accordions li span { display: block; }
.related-grid { grid-template-columns: repeat(3, 1fr); }

.cart-page, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(310px, .6fr); align-items: start; gap: clamp(36px, 6vw, 80px); }
.cart-list { display: grid; }
.cart-item { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-item-image { display: block; aspect-ratio: 1; background: var(--warm-white); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item h3 { margin-bottom: 7px; font-size: 1rem; }
.cart-item h3 a { text-decoration: none; }
.cart-item p { margin-bottom: 5px; color: var(--muted); font-size: .82rem; }
.cart-item-controls { margin-top: 8px; }
.cart-item-controls label { display: flex; align-items: center; gap: 8px; font-size: .78rem; }
.cart-item-controls select { min-width: 68px; min-height: 44px; border: 1px solid #777; background: white; }
.cart-item.compact { grid-template-columns: 78px 1fr; gap: 14px; padding: 15px 0; }
.cart-item.compact .cart-item-copy { min-width: 0; }
.summary-card { position: sticky; top: calc(var(--header-height) + 24px); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); background: var(--warm-white); }
.summary-card h2 { font-size: 1.7rem; }
.summary-line { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.summary-card > p { margin: 20px 0; color: var(--muted); font-size: .82rem; }

.empty-state { max-width: 620px; margin: 0 auto; padding: 70px 24px; text-align: center; }
.empty-state > svg { width: 28px; height: 54px; margin: 0 auto 24px; fill: var(--navy); }
.empty-state p { color: var(--muted); }
.empty-state.compact { padding: 36px 12px; }
.empty-state.compact > svg { display: none; }

.content-page .prose { max-width: 820px; }
.prose-body { padding-top: clamp(60px, 8vw, 100px); padding-bottom: clamp(80px, 10vw, 140px); }
.prose-body > section { margin-bottom: 54px; }
.prose-body h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
.prose-body p, .prose-body li { color: #4e4e4e; }
.prose-body ul { padding-left: 1.3rem; }
.prose-body li { margin-bottom: 10px; }
.article-footer { margin-top: 62px; padding-top: 30px; border-top: 1px solid var(--line); }
.faq details { padding: 0; }
.faq summary { font-size: 1.02rem; }
.faq details > div { padding-right: 28px; }
.content-page .surface-card { margin-top: 24px; }

.footer { padding: 76px 0 24px; background: #101a2a; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 52px; }
.footer .brand { color: white; }
.footer-brand p { max-width: 360px; margin: 22px 0; color: rgba(255, 255, 255, .68); }
.footer nav { display: grid; align-content: start; gap: 8px; }
.footer nav h2 { margin-bottom: 12px; color: rgba(255, 255, 255, .55); font-family: Inter, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer nav a, .footer-brand > a { color: rgba(255, 255, 255, .78); font-size: .83rem; text-decoration: none; }
.footer nav a:hover, .footer-brand > a:hover { color: white; text-decoration: underline; }
.footer-bottom { margin-top: 62px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line-light); color: rgba(255, 255, 255, .52); font-size: .7rem; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 500; max-width: min(420px, calc(100% - 44px)); padding: 15px 18px; background: var(--navy); color: white; box-shadow: var(--shadow); transform: translateY(18px); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.loading { min-height: 60vh; display: grid; place-items: center; color: var(--muted); }
.noscript { padding: 24px; background: #fff2c9; color: #332600; text-align: center; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-inner > .brand { justify-self: center; }
  .product-grid, .accessory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 18px; }
  .colour-grid { grid-template-columns: repeat(3, 1fr); }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 42px; }
  .size-grid { grid-template-columns: repeat(4, minmax(46px, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, 1fr); }
  .footer-grid nav:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --header-height: 64px; }
  .container, .header-inner { width: min(100% - 32px, var(--container)); }
  .announcement { font-size: .65rem; }
  .header-inner { gap: 6px; }
  .header-actions { gap: 0; }
  .header-actions .icon-button { width: 42px; }
  .hero { min-height: 690px; align-items: end; }
  .hero-media { object-position: 67% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(24, 36, 56, .96) 0%, rgba(24, 36, 56, .8) 48%, rgba(24, 36, 56, .12) 90%); }
  .hero-content { padding-block: 76px; }
  .hero-content h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .hero-content p { font-size: .98rem; }
  .button-row { display: grid; }
  .button-row .btn { width: 100%; }
  .section-heading { display: grid; gap: 18px; }
  .colour-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .accessory-grid, .editorial-grid, .feature-grid, .related-grid { grid-template-columns: 1fr; }
  .product-grid, .accessory-grid { gap: 42px; }
  .product-media { aspect-ratio: 4 / 4.5; }
  .feature-number { margin-bottom: 32px; }
  .story-band-inner, .teams-grid, .newsletter-inner, .product-layout, .cart-page, .checkout-grid { grid-template-columns: 1fr; }
  .story-band-inner { align-items: start; }
  .newsletter-form { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .product-gallery, .summary-card { position: static; }
  .product-section { padding-top: 22px; }
  .product-actions { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 105px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid nav:last-child { grid-column: auto; }
  .footer-bottom { display: grid; }
  .drawer-footer { bottom: -22px; margin: 24px -22px -22px; padding: 20px 22px 28px; }
}

@media (max-width: 470px) {
  .brand span { font-size: .82rem; }
  .brand-mark { width: 17px; height: 32px; }
  .header-actions .icon-button { width: 39px; }
  .header-actions .icon-button svg { width: 19px; }
  .colour-grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
  .colour-field { aspect-ratio: 1; }
  .size-grid { grid-template-columns: repeat(4, 1fr); }
  .cart-item, .cart-item.compact { grid-template-columns: 82px 1fr; }
  .drawer-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid nav:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
