:root {
  --ink: #0f1b2a;
  --muted: #5d6978;
  --blue: #1ca6fe;
  --line: #e2e7ec;
  --paper: #f4f6f8;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--ink);
  background: white;
}
* { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
:focus-visible { outline: 3px solid #1678b5; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 10; padding: 16px; background: white; }
.skip:focus { top: 10px; }
.preview { padding: 7px 16px; background: var(--paper); color: var(--muted); text-align: center; font-size: .66rem; }
.preview:empty { display: none; }
.brand-bar { background: var(--ink); color: #c2ceda; }
.brand-bar .wrap { display: flex; justify-content: flex-end; gap: 26px; padding-block: 10px; }
.brand-bar a { font-size: .66rem; text-decoration: none; letter-spacing: .05em; }
.top { background: white; border-bottom: 3px solid var(--blue); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 94px; }
.wordmark { display: block; flex: none; }
.wordmark img { width: 100px; height: auto; }
.top nav { display: flex; gap: 36px; }
.top nav a { text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: .77rem; letter-spacing: .07em; }
.top nav a:hover { color: #0878bd; }
.top button { background: transparent; border: 1px solid var(--line); border-radius: 3px; padding: 10px 14px; font-size: .8rem; color: var(--ink); }
.top button span { display: inline-grid; place-items: center; margin-left: 8px; min-width: 22px; height: 22px; background: var(--ink); color: white; border-radius: 50%; font-size: .68rem; }
.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(500px, 42vw, 660px); background: var(--ink); color: white; }
.hero > img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero > img { object-position: center 52%; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(335deg, #0f1b2aeb, #0f1b2a75 25%, #0f1b2a15 54%, transparent 75%); }
.hero-content { padding: 36px 0; }
.eyebrow { margin: 0 0 12px; font-size: .67rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 750; color: var(--muted); }
h1, h2 { margin: 0; letter-spacing: -.035em; font-weight: 800; }
.hero h1 { max-width: 19ch; font-size: clamp(1.7rem, 2.5vw, 2.6rem); line-height: 1.08; text-transform: uppercase; }
.hero .eyebrow { font-size: .62rem; color: #75cdff; }
.hero p:not(.eyebrow) { max-width: 36ch; margin: 12px 0 18px; font-size: .82rem; line-height: 1.65; }
.action { display: inline-flex; align-items: center; justify-content: flex-start; gap: 0; min-height: 48px; padding: 14px 20px; background: var(--blue); color: var(--ink); border: 0; border-radius: 2px; font-size: .83rem; font-weight: 750; text-decoration: none; }
.action:hover { background: #79ccff; }
.hero .action { min-height: 42px; padding: 11px 15px; font-size: .78rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; }
.collections { padding-block: 82px 0; }
.collection-heading { margin-bottom: 30px; padding-left: 20px; border-left: 3px solid var(--blue); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.category { display: block; background: var(--paper); border-radius: 3px; text-decoration: none; overflow: hidden; }
.category img { aspect-ratio: 1.45; object-fit: contain; padding: 24px; mix-blend-mode: multiply; transition: transform .25s; }
.category:hover img { transform: scale(1.04); }
.category span { display: flex; align-items: center; justify-content: flex-start; padding: 20px 24px; border-top: 1px solid var(--line); font-size: .86rem; font-weight: 700; }
.category b { font-size: 1.35rem; font-weight: 400; color: #0878bd; }
.shop { padding-block: 90px; }
.shop-title { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.search { display: grid; gap: 7px; font-size: .7rem; color: var(--muted); font-weight: 650; }
input, select { min-height: 44px; border: 1px solid #ccd4dc; background: white; border-radius: 3px; color: var(--ink); padding: 10px 12px; }
.search input { width: 250px; font-size: .8rem; }
.shop-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 28px 0; padding-block: 18px; border-block: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 38px; padding: 9px 13px; border: 1px solid transparent; border-radius: 2px; background: transparent; font-size: .75rem; color: var(--muted); }
.filters button:hover { background: var(--paper); }
.filters button[aria-pressed="true"] { background: var(--ink); color: white; }
.sort-label { display: flex; align-items: center; gap: 10px; font-size: .72rem; color: var(--muted); white-space: nowrap; }
.sort-label select { font-size: .73rem; }
.notice { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.notice:empty { display: none; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.card { display: block; width: 100%; padding: 0; text-align: left; border: 0; background: transparent; color: inherit; }
.card-image { display: grid; place-items: center; aspect-ratio: 4/5; background: var(--paper); border-radius: 3px; overflow: hidden; }
.card-image img { height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; transition: transform .25s; }
.card:hover img { transform: scale(1.035); }
.card-title { margin: 15px 0 7px; font-size: .84rem; font-weight: 700; line-height: 1.5; }
.card > span { font-size: .83rem; color: #465567; font-variant-numeric: tabular-nums; }
.photo-pending { padding: 20px; text-align: center; font-size: .75rem; line-height: 1.8; color: var(--muted); }
.story { padding-block: 64px; background: var(--ink); color: white; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.story .eyebrow { color: #75cdff; }
.story p:not(.eyebrow) { max-width: 44ch; margin-block: 22px; font-size: .93rem; line-height: 1.85; color: #c2ceda; }
.story a { color: #75cdff; font-weight: 650; font-size: .85rem; text-underline-offset: 6px; }
.story img { aspect-ratio: 1.55; border-radius: 3px; }

.site-footer { background: #0f1b2a; color: #c2ceda; border-top: 3px solid #1ca6fe; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-bottom: 54px; }
.footer-brand .wordmark { display: inline-block; background: transparent; padding: 0; }
.footer-brand .wordmark img { width: 112px; }
.footer-brand p { margin: 22px 0 10px; font-size: .8rem; line-height: 1.7; }
.footer-contact { color: #c2ceda; font-size: .8rem; text-underline-offset: 5px; }
.footer-nav h2, .footer-social h2 { margin: 0 0 22px; color: white; font-size: .9rem; letter-spacing: .02em; font-weight: 700; }
.footer-nav > a { display: block; width: fit-content; padding-block: 10px; font-size: .8rem; text-decoration: none; }
.footer-nav > a:hover, .footer-contact:hover { color: #75cdff; }
.footer-social > a { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 46px; padding: 12px 16px; margin-bottom: 10px; border: 1px solid #435872; border-radius: 3px; color: white; text-decoration: none; font-size: .8rem; font-weight: 650; }
.footer-social > a:hover { border-color: #1ca6fe; background: #10263b; }
.footer-social > a > span:last-child { color: #75cdff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #354459; padding-block: 24px; font-size: .7rem; color: #aebbc9; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 850px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer { padding-top: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-nav h2, .footer-social h2 { margin-bottom: 14px; }
}
dialog { width: min(920px, calc(100% - 32px)); max-height: 92dvh; padding: 0; border: 0; border-radius: 5px; background: white; color: var(--ink); box-shadow: 0 24px 100px #0004; }
dialog::backdrop { background: #0f1b2aa6; }
#cart { inset: 0 0 0 auto; width: min(100%, 480px); height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
.drawer { padding: 32px; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.dialog-head h2 { font-size: 1.8rem; }
.dialog-head button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); }
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; }
.detail-image { display: grid; place-items: center; min-height: 420px; background: var(--paper); }
.detail-image img { height: 100%; object-fit: contain; padding: 30px; mix-blend-mode: multiply; }
.detail-copy { padding: 38px 32px; }
.detail-copy > p { color: var(--muted); font-size: .85rem; line-height: 1.8; white-space: pre-line; }
.detail-copy form:not([method="dialog"]) { display: grid; gap: 14px; margin-top: 30px; }
.detail-copy label { font-size: .75rem; font-weight: 700; }
#detail-price { margin-block: 8px; font-size: 1.3rem; }
#product-message, #cart-message { font-size: .8rem; color: var(--muted); line-height: 1.7; }
.cart-line { display: grid; grid-template-columns: 66px 1fr auto; gap: 14px; align-items: start; padding-block: 22px; border-bottom: 1px solid var(--line); font-size: .8rem; }
.cart-line img { aspect-ratio: 1; object-fit: contain; background: var(--paper); }
.cart-line p { margin: 0 0 8px; line-height: 1.5; }
.cart-line button { min-width: 32px; min-height: 32px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 2px; }
.cart-line button + span { padding-inline: 7px; }
.cart-muted { font-size: .72rem; color: var(--muted); }
#totals { padding-top: 22px; }
#totals > p { display: flex; justify-content: space-between; gap: 20px; font-size: .9rem; }
.drawer .action { width: 100%; margin-top: 14px; }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; }
  .story-grid { gap: 32px; }
  .shop-tools { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .top-inner { min-height: 76px; gap: 12px; }
  .wordmark img { width: 76px; }
  .top nav { gap: 14px; }
  .top nav a { font-size: .62rem; letter-spacing: 0; }
  .top button { padding: 6px 8px; font-size: .72rem; white-space: nowrap; }
  .top button span { margin-left: 3px; }
  .hero { min-height: 520px; }
  .hero > img { object-position: 60% center; }
  .hero-content { padding: 26px 0; }
  .hero h1 { font-size: 1.7rem; }
  .hero .eyebrow { font-size: .57rem; }
  .hero::after { background: linear-gradient(335deg, #0f1b2af0, #0f1b2a70 38%, transparent 72%); }
  .collections { padding-top: 48px; }
  .category-grid { gap: 10px; }
  .category img { aspect-ratio: .9; padding: 8px; }
  .category span { min-height: 66px; padding: 12px; font-size: .68rem; }
  .category b { display: none; }
  .shop { padding-block: 50px; }
  .shop-title { display: grid; gap: 24px; }
  .search input { width: 100%; }
  .shop-tools { gap: 14px; margin-block: 22px; }
  .filters { gap: 4px; }
  .filters button { padding-inline: 9px; font-size: .69rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .card-image img { padding: 10px; }
  .card-title { font-size: .76rem; }
  .story { padding-block: 42px; }
  .story-grid, .detail-layout { grid-template-columns: 1fr; }
  .detail-image { min-height: 0; height: 280px; }
  .detail-copy, .drawer { padding: 24px; }
  .detail-copy .dialog-head h2 { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 390px) {
  .top nav a:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .category img, .card-image img { transition: none; }
}

.card-image { position: relative; }
.card-alternate { position: absolute; inset: 0; opacity: 0; background: var(--paper); transition: opacity .2s; }
.card-alternate img { width: 100%; height: 100%; }
@media (hover: hover) {
  .card:hover .card-alternate, .card:focus-visible .card-alternate { opacity: 1; }
}
.photo-options { display: flex; gap: 10px; padding: 14px; background: var(--paper); }
.photo-options button { width: 68px; height: 76px; padding: 4px; border: 1px solid #ccd4dc; border-radius: 3px; background: white; }
.photo-options button[aria-pressed="true"] { border: 2px solid #0878bd; }
.photo-options img { width: 100%; height: 100%; object-fit: contain; }
.top nav { gap: 22px; }
.top nav a { font-size: .7rem; }
@media (max-width: 1000px) {
  .top-inner { flex-wrap: wrap; padding-top: 16px; gap: 12px; }
  .top nav { order: 3; width: 100%; overflow-x: auto; padding-block: 16px; gap: 24px; }
  .top nav a { flex: none; display: inline-flex; align-items: center; min-height: 32px; font-size: .7rem; }
}
@media (max-width: 390px) {
  .top nav a:first-child { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .card-alternate { transition: none; }
}

/* Race photography and a darker editorial layout. */
:root {
  --heading-font: "Barlow Condensed", "Arial Narrow", sans-serif;
}
body {
  background: #0c1420;
  color: #f0f4fa;
}
.preview {
  background: #111e2e;
  color: #a9b8c9;
}
.brand-bar {
  background: #080f18;
}
.top {
  background: #0f1b2a;
  border-bottom: 1px solid #29425c;
}
.top-inner {
  min-height: 88px;
}
.top .wordmark {
  padding: 0;
  background: transparent;
}
.top .wordmark img {
  width: 88px;
}
.top nav a {
  color: #e6edf5;
  font-size: .73rem;
}
.top nav a:hover {
  color: #75cdff;
}
.top button {
  color: #f0f4fa;
  border-color: #42546a;
}
.top button span {
  background: #1ca6fe;
  color: #0f1b2a;
}
h1, h2 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: .005em;
}
h2 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: .98;
  font-weight: 700;
}
.eyebrow {
  color: #7acfff;
}
.hero {
  min-height: clamp(530px, 43vw, 700px);
}
.hero > img {
  object-position: center 66%;
}
.hero::after {
  background: linear-gradient(335deg, #07121feb, #07121f70 28%, transparent 66%);
}
.hero h1 {
  max-width: 21ch;
  font-size: clamp(2.1rem, 3.5vw, 3.25rem);
  line-height: .99;
  font-weight: 700;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  transform: translateX(clamp(8px, 2vw, 24px));
  padding-block: 34px;
}
.hero-content h1 { width: min(21ch, 100%); margin-left: auto; text-align: right; }
.hero p:not(.eyebrow) {
  width: min(36ch, 100%);
  margin-left: auto;
  text-align: right;
  color: #e5edf5;
}
.collections {
  padding-block: 64px;
}
.collection-heading {
  padding-left: 0;
  border-left: 0;
}
.category-grid {
  gap: 18px;
}
.category {
  background: #e8edf2;
  color: #0f1b2a;
  border-radius: 2px;
}
.category img {
  aspect-ratio: 1.6;
  padding: 18px;
}
.category span {
  padding-block: 16px;
  border-top-color: #ccd5df;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.race-editorial {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #13273d;
}
.race-editorial__photo {
  min-width: 0;
}
.race-editorial__photo img {
  height: 100%;
  min-height: 470px;
  object-position: 56% center;
}
.race-editorial__copy {
  align-self: center;
  padding: clamp(32px, 5vw, 80px);
}
.race-editorial__copy h2 {
  font-size: clamp(3rem, 5.6vw, 5.4rem);
}
.race-editorial__copy h2 span {
  color: #73caff;
}
.race-editorial__copy > p:not(.eyebrow) {
  max-width: 38ch;
  margin-block: 24px;
  color: #c1cfdf;
  font-size: .88rem;
  line-height: 1.8;
}
.shop {
  padding-block: 76px 84px;
}
.shop-title .search {
  color: #b6c4d4;
}
.search input, .sort-label select {
  background: #142236;
  color: #edf4fc;
  border-color: #41536a;
}
.search input::placeholder {
  color: #aebdce;
}
.shop-tools {
  border-color: #2c3e52;
}
.filters button {
  color: #b7c6d7;
}
.filters button:hover {
  background: #192a40;
}
.filters button[aria-pressed="true"] {
  background: #1ca6fe;
  color: #0b1c2c;
}
.sort-label, .notice {
  color: #b6c4d4;
}
.products {
  gap: 34px 20px;
}
.card-image, .card-alternate {
  background: #e8edf2;
}
.card-title {
  color: #f0f4fa;
  font-size: .86rem;
}
.card > span {
  color: #90d7ff;
  font-weight: 650;
}
.story {
  padding-block: 0;
  background: #101f31;
}
.story-grid {
  width: 100%;
  grid-template-columns: .8fr 1.2fr;
  gap: 0;
}
.story-grid > div {
  padding: clamp(32px, 5vw, 80px);
}
.story img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 420px;
  border-radius: 0;
}
.site-footer {
  background: #080f18;
}
.site-footer h2 {
  font-family: "Open Sans", system-ui, sans-serif;
  text-transform: none;
}
dialog {
  color: #0f1b2a;
}
dialog h2 {
  color: #0f1b2a;
  font-size: 2.1rem;
}
@media (max-width: 1000px) {
  .top-inner {
    min-height: auto;
  }
}
@media (max-width: 700px) {
  .race-editorial {
    grid-template-columns: 1fr;
  }
  .race-editorial__photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.5;
  }
  .race-editorial__copy {
    padding: 32px 24px 40px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-grid > div {
    padding: 40px 24px;
  }
  .story img {
    min-height: 0;
    height: auto;
    aspect-ratio: 1.5;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 520px;
  }
  .hero > img {
    object-position: 53% 68%;
  }
  .hero h1 {
    font-size: 2.15rem;
  }
  .hero::after {
    background: linear-gradient(335deg, #07121fef, #07121f55 40%, transparent 76%);
  }
  .collections {
    padding-block: 42px;
  }
  .category img {
    aspect-ratio: .85;
    padding: 8px;
  }
  .category span {
    padding: 12px 10px;
    min-height: 60px;
    font-size: 1rem;
  }
  .shop {
    padding-block: 44px 54px;
  }
}

/* Cart drawer matches the dark storefront. */
#cart {
  background: #0f1b2a;
  color: #f0f4fa;
  width: min(100%, 500px);
  border-left: 1px solid #31445b;
}
#cart .drawer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 30px;
}
#cart .dialog-head {
  align-items: center;
  padding-bottom: 24px;
  margin-bottom: 0;
  border-bottom: 1px solid #31445b;
}
#cart .dialog-head h2 {
  color: #f0f4fa;
  font-size: 2rem;
}
#cart .dialog-head button {
  background: #192b40;
  border-color: #42546b;
  color: white;
  flex: none;
}
#cart #lines {
  padding-block: 6px 24px;
}
#cart .cart-line {
  grid-template-columns: 90px minmax(0, 1fr) auto;
  gap: 16px;
  padding-block: 24px;
  border-color: #31445b;
}
#cart .cart-line img {
  background: #e8edf2;
  border-radius: 3px;
  padding: 5px;
  aspect-ratio: 4/5;
}
#cart .cart-line strong {
  font-size: .82rem;
  line-height: 1.5;
}
#cart .cart-line > strong {
  color: #90d7ff;
  white-space: nowrap;
}
#cart .cart-muted {
  color: #b4c4d6;
}
#cart .cart-line button {
  background: #192b40;
  color: white;
  border-color: #42546b;
  min-width: 34px;
  min-height: 34px;
}
#cart .cart-line button:hover {
  border-color: #1ca6fe;
}
#cart #totals:not(:empty) {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #31445b;
}
#cart #totals > p {
  align-items: center;
  color: #c2ceda;
  margin: 0 0 20px;
}
#cart #totals > p strong {
  color: white;
  font-size: 1.2rem;
  font-variant-numeric: tabular-nums;
}
#cart .action {
  min-height: 54px;
  margin-top: 0;
  padding-inline: 20px;
  background: #1ca6fe;
  color: #0f1b2a;
  font-size: .9rem;
}
#cart .action:hover {
  background: #79ccff;
}
#cart #cart-message {
  color: #b4c4d6;
}
#cart #cart-message:empty {
  display: none;
}
@media (max-width: 390px) {
  #cart .drawer { padding: 20px; }
  #cart .cart-line { grid-template-columns: 66px minmax(0, 1fr) auto; gap: 10px; }
  #cart .cart-line strong { font-size: .75rem; }
}

/* Header photography slider. */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* About page */
[hidden] { display: none !important; }
#about-page { background: #101d2b; color: #edf3f8; }
.about-hero { position: relative; min-height: 460px; display: flex; align-items: end; isolation: isolate; }
.about-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 65%; z-index: -2; }
.about-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#0b1629dd,transparent),linear-gradient(0deg,#101d2b,transparent 70%); z-index: -1; }
.about-hero-copy { padding-top: 70px; padding-bottom: 48px; }
.about-hero h1 { font-size: clamp(64px,8vw,112px); line-height: .95; text-transform: uppercase; margin: 14px 0 20px; }
.about-hero-copy > p:last-child { font-size: 21px; line-height: 1.5; color: #e2eaf2; }
.about-story,.about-contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: 70px; padding-top: 80px; padding-bottom: 80px; }
#about-page h2 { font-size: clamp(38px,4vw,60px); text-transform: uppercase; line-height: 1.03; margin: 14px 0 28px; }
.about-location { display: block; border-top: 1px solid #34475b; padding-top: 22px; color: #9cabbc; font-size: 14px; }
.about-prose p,.about-values-copy > p:last-child { line-height: 1.9; color: #bccbd9; font-size: 16px; margin: 0 0 26px; }
.about-prose a:not(.action) { color: #6fc7ff; text-underline-offset: 4px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; background: #172a3d; }
.about-values-photo { min-height: 480px; }
.about-values-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-values-copy { padding: clamp(30px,5vw,80px); }
.about-contact { border-bottom: 1px solid #34475b; }
@media(max-width: 800px) {
 .about-hero { min-height: 370px; }
 .about-story,.about-contact { grid-template-columns: 1fr; gap: 24px; padding-top: 42px; padding-bottom: 42px; }
 .about-values { grid-template-columns: 1fr; }
 .about-values-photo { min-height: 0; height: 280px; }
}

.footer-brand > h2 { font-size: 24px; margin: 24px 0 14px; line-height: 1.2; }
.footer-brand > p { line-height: 1.8; max-width: 560px; font-size: 14px; }

.product-page { padding-top: 30px; padding-bottom: 80px; min-height: 65vh; }
.product-breadcrumb { padding: 0 0 28px; font-size: 14px; display:flex; gap:12px; }
.product-page .detail-layout { gap: 36px; }
.product-page .detail-copy { padding: 20px 0; }
.product-page h1 { font-size: clamp(32px,4vw,54px); line-height:1.05; text-transform:uppercase; margin:0 0 22px; }
.product-page .detail-image { height: 550px; }
a.card { display:block; text-decoration:none; color:inherit; }
@media(max-width:800px) { .product-page .detail-layout { grid-template-columns:1fr; gap:20px; } .product-page .detail-image { height:360px; } }

.category-page-heading { padding-top:56px; padding-bottom:32px; border-bottom:1px solid #34475b; }
.category-page-heading > a { font-size:13px; color:inherit; }
.category-page-heading .eyebrow { margin-top:32px; }
.category-page-heading h1 { font-size:clamp(40px,6vw,76px); line-height:1.05; text-transform:uppercase; margin:12px 0; }
#category-page { min-height:65vh; }
#category-page .shop { padding-top:32px; }

/* Keep the large product image inside its own frame, clear of thumbnails. */
.detail-gallery { min-width: 0; }
.product-page .detail-image { position: relative; overflow: hidden; min-height: 0; }
.product-page .detail-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; box-sizing: border-box; object-fit: contain; }
.product-page .photo-options { position: relative; z-index: 1; flex-wrap: wrap; }
.product-page .photo-options button { cursor: pointer; flex-shrink: 0; }
.product-page .photo-options button:focus-visible { outline: 3px solid #1ca6fe; outline-offset: 3px; }

#open-cart { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; }
#open-cart svg { flex-shrink: 0; }

.social-label {display:inline-flex;align-items:center;gap:12px}.social-label svg{flex-shrink:0}.language-picker{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}.language-picker select{background:#0f1b2a;color:#fff;border:1px solid #42576b;border-radius:3px;padding:8px;font-size:12px;max-width:115px}.top-inner{flex-wrap:wrap}

.language-flags{display:flex;align-items:center;gap:3px;margin-left:auto;flex-shrink:0}.language-flags button{display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:4px;min-height:40px;min-width:36px;padding:5px;cursor:pointer}.language-flags svg{border-radius:2px;overflow:hidden}.language-flags button:hover,.language-flags button[aria-pressed="true"]{background:#213a50;border-color:#1ca6fe}.language-flags button:focus-visible{outline:2px solid #1ca6fe;outline-offset:2px}.top .top-inner{max-width:none;padding-left:24px;padding-right:18px}.top-inner > nav{margin-left:auto}.top-inner > #open-cart{margin-left:auto}@media(max-width:700px){.top .top-inner{padding-left:12px;padding-right:8px}.language-flags{gap:0}.language-flags button{min-width:30px;padding:3px}.language-flags svg{width:24px}}

.language-dropdown{position:relative;margin-left:auto;flex-shrink:0}#language-toggle{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 10px;background:transparent;color:#fff;border:1px solid #42576b;border-radius:4px;cursor:pointer}#language-toggle svg,.language-menu svg{border-radius:2px;overflow:hidden;flex-shrink:0}.language-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:100;width:180px;padding:6px;background:#0f1b2a;border:1px solid #42576b;border-radius:5px;box-shadow:0 12px 32px #0006}.language-menu button{display:flex;align-items:center;gap:12px;width:100%;padding:10px;background:transparent;color:#fff;border:0;border-radius:3px;cursor:pointer;text-align:left}.language-menu button:hover,.language-menu button[aria-pressed="true"]{background:#213a50}.language-menu button:focus-visible,#language-toggle:focus-visible{outline:2px solid #1ca6fe;outline-offset:2px}

/* Compact language trigger: flag only. */
#language-toggle > span { display: none; }
#language-toggle { min-width: 44px; justify-content: center; }

/* Flag-only language dropdown. */
.language-menu button > span { display: none; }
.language-menu { width: 60px; box-sizing: border-box; }
.language-menu button { justify-content: center; min-height: 44px; padding: 8px 4px; gap: 0; }

/* Mobile layout: give navigation, shopping and product controls room to breathe. */
@media (max-width: 680px) {
  html { scroll-padding-top: 12px; }
  .wrap { width: calc(100% - 32px); }
  .top { border-bottom-width: 2px; }
  .top .top-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand language cart" "nav nav nav";
    align-items: center;
    gap: 8px 12px;
    min-height: 0;
    padding: 12px 16px 0;
  }
  .top-inner > .wordmark { grid-area: brand; }
  .top-inner > .language-dropdown { grid-area: language; margin: 0; }
  .top-inner > #open-cart { grid-area: cart; margin: 0; min-width: 44px; min-height: 44px; }
  .top-inner > nav {
    grid-area: nav;
    display: flex;
    width: calc(100% + 32px);
    margin-inline: -16px;
    padding: 2px 16px 12px;
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .top-inner > nav::-webkit-scrollbar { display: none; }
  .top-inner > nav a { min-height: 40px; font-size: .72rem; white-space: nowrap; }

  .hero { min-height: min(76svh, 620px); min-height: clamp(420px, 76svh, 620px); }
  .hero-slide { object-position: center 62%; }
  .hero-content { padding: 28px 0 30px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero p:not(.eyebrow) { font-size: .95rem; }
  .hero .action { min-height: 48px; }

  .collections { padding-top: 50px; }
  .collection-heading { margin-bottom: 20px; padding-left: 14px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .category img { aspect-ratio: 1.35; padding: 12px; }
  .category span { min-height: 56px; padding: 11px 12px; font-size: .83rem; line-height: 1.3; }
  .category b { display: inline; font-size: 1.1rem; }

  .shop { padding-block: 54px; }
  .shop-title { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .shop-title h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .search { width: 100%; font-size: .8rem; }
  .search input { width: 100%; min-height: 48px; font-size: 1rem; }
  .shop-tools { display: grid; grid-template-columns: 1fr; gap: 12px; margin-block: 18px; padding-block: 12px; }
  .filters { display: flex; flex-wrap: nowrap; gap: 6px; margin-inline: -16px; padding: 2px 16px 6px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: 0 0 auto; min-height: 44px; padding: 10px 13px; border-color: #31445b; border-radius: 3px; font-size: .82rem; white-space: nowrap; }
  .sort-label { justify-content: space-between; gap: 12px; font-size: .85rem; }
  .sort-label select { flex: 1; min-height: 46px; min-width: 0; font-size: .9rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .card-image { aspect-ratio: 4 / 4.8; }
  .card-image img { padding: 10px; }
  .card-title { margin: 10px 0 5px; font-size: .86rem; line-height: 1.4; overflow-wrap: anywhere; }
  .card > span { font-size: .85rem; }

  .story { padding-block: 42px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .story-grid h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .story-grid img { order: -1; }

  .category-page-heading { padding-top: 34px; padding-bottom: 22px; }
  .category-page-heading .eyebrow { margin-top: 22px; }
  .category-page-heading h1 { font-size: clamp(2.2rem, 10vw, 4rem); overflow-wrap: anywhere; }
  #category-page .shop { padding-top: 24px; }

  .product-page { padding-top: 22px; padding-bottom: 48px; }
  .product-breadcrumb { gap: 8px; padding-bottom: 18px; font-size: .85rem; }
  .product-page .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .product-page .detail-image { height: clamp(280px, 88vw, 460px); border-radius: 4px; }
  .product-page .detail-image img { padding: 16px; }
  .product-page .photo-options { flex-wrap: nowrap; gap: 8px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
  .product-page .photo-options::-webkit-scrollbar { display: none; }
  .product-page .photo-options button { width: 64px; height: 70px; }
  .product-page .detail-copy { padding: 10px 0 0; }
  .product-page h1 { font-size: clamp(2rem, 9vw, 3.1rem); margin-bottom: 12px; overflow-wrap: anywhere; }
  .product-page #detail-price { font-size: 1.35rem; }
  .product-page .detail-copy > p { font-size: 1rem; }
  .product-page .detail-copy form:not([method="dialog"]) { gap: 12px; margin-top: 22px; }
  .product-page .detail-copy label { display: grid; gap: 8px; font-size: .9rem; }
  .product-page .detail-copy select,
  .product-page .detail-copy input,
  .product-page .detail-copy form button,
  .product-page .detail-copy .action { width: 100%; min-height: 48px; font-size: 1rem; }

  #cart { width: 100%; height: 100dvh; max-height: 100dvh; }
  #cart .drawer { height: 100%; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: max(18px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom)); }
  #cart .dialog-head { position: sticky; top: 0; z-index: 2; padding: 10px 0 16px; background: #0f1b2a; }
  #cart .dialog-head h2 { font-size: 1.7rem; }
  #cart .cart-line { grid-template-columns: 68px minmax(0, 1fr) auto; gap: 10px; padding-block: 18px; }
  #cart .cart-line strong { font-size: .82rem; overflow-wrap: anywhere; }
  #cart .cart-line button { min-width: 40px; min-height: 40px; }
  #cart #totals > p { font-size: .95rem; }
  #cart .action { min-height: 52px; }

  .footer-grid { gap: 26px; }
  .footer-brand > h2 { font-size: 1.4rem; }
  .footer-brand > p { font-size: .95rem; }
  .footer-social > a { min-height: 50px; }
  .footer-bottom { flex-direction: column; gap: 10px; padding-block: 20px; font-size: .8rem; }
}

@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .top .top-inner { padding-inline: 12px; }
  .top-inner > nav { width: calc(100% + 24px); margin-inline: -12px; padding-inline: 12px; }
  .top-inner > nav { gap: 16px; }
  .top-inner > nav a { font-size: .68rem; }
  .products { gap: 22px 9px; }
  .card-title { font-size: .8rem; }
  #cart .drawer { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .top-inner > nav, .filters, .product-page .photo-options { scroll-behavior: auto; }
}
