:root {
  --black: #261810;
  --brown: #603e1e;
  --panel: #342217;
  --gold: #ffc34d;
  --pale-gold: #f1d9a8;
  --cream: #fff2db;
  --muted: #d1bba1;
  --line: #785235;
}
body { font-size: 1rem; }
::selection { background: var(--gold); color: var(--black); }
.store-header {
  background: #261810f5;
  border-color: var(--line);
}
.store-header .brand, .footer-brand .brand {
  color: var(--pale-gold);
  letter-spacing: .07em;
}
.brand svg { color: var(--gold); }
.store-header nav.menu-open { background: var(--panel); border-color: var(--line); }
.menu-toggle > b { font-size: .75rem; top: 12px; }
.announcement {
  background: #342217;
  color: var(--pale-gold);
  padding: 9px 5%;
  border-bottom: 1px solid var(--line);
}
.announcement a { display: inline-block; font-size: .875rem; }
.announcement span { padding: 0 .4em; color: var(--gold); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(26px, 4.2vw, 72px);
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: hidden;
  padding: clamp(42px, 6vw, 98px) max(5%, calc((100% - 1380px) / 2));
  background-color: #291b14;
  background-image:
    radial-gradient(ellipse at 78% 35%, #8e5d293b, transparent 67%),
    linear-gradient(#f1d9a810 1px, transparent 1px),
    linear-gradient(90deg, #f1d9a810 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
}
.hero::after, .showroom::before { display: none; }
.hero-copy { position: relative; inset: auto; padding: 0; max-width: none; }
.eyebrow { font: 600 .875rem/1.4 'DM Sans', Arial, sans-serif; letter-spacing: .11em; color: var(--gold); }
.hero h1 {
  color: var(--pale-gold);
  font-size: clamp(3.6rem, 6.15vw, 7rem);
  font-style: normal;
  line-height: .86;
  letter-spacing: -.025em;
  margin: 22px 0;
}
.hero h1 em { color: var(--gold); font-style: normal; display: inline; }
.hero .intro { max-width: 34ch; color: var(--cream); font-size: 1rem; }
.hero-actions { flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }
.hero .hero-actions > .button {
  width: auto;
  border-radius: 4px;
  padding: 14px 20px;
  font-size: .9rem;
  box-shadow: 0 0 22px #ffc34d25;
}
.hero-secondary { max-width: none; font-size: .9rem; color: var(--pale-gold); }
.hero-media {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid #a87946;
  border-top-color: var(--gold);
  background: var(--panel);
  box-shadow: 0 18px 45px #10080370;
}
.hero-media .hero-background {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 75% center;
  opacity: 1;
}
.hero-media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  color: var(--pale-gold);
  font: 600 .8125rem/1.4 'DM Sans', Arial, sans-serif;
  letter-spacing: .06em;
}
.hero-media figcaption span { color: var(--muted); }
.campaign-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 19px 5%;
  background: var(--brown);
  border-block: 1px solid var(--line);
}
.campaign-benefits > a { color: var(--cream); font-size: .875rem; }
.campaign-benefits > a + a::before { content: '·'; color: var(--gold); }

.collection-heading h2, .showroom-heading h2, .section-head h2,
.product-info > h2, .faq h2 { color: var(--pale-gold); }
.collection-heading .eyebrow, .showroom-heading .eyebrow { font-size: .875rem; }
.collection-heading > div > p:last-child:not(.eyebrow),
.showroom-heading > p, .feature-grid p { color: var(--muted); font-size: 1rem; }
.collection-tabs, .collection-note, .feature-grid article,
.feature-grid article + article { background: var(--panel); border-color: var(--line); }
.collection-tabs button, .collection-tabs a { font-size: .875rem; }
.collection-tabs .active { color: var(--black); }
.collection-badge { transform: none; }
.collection-photo { border-color: var(--line); }
.collection-card .pill-button { font-size: .75rem; border-color: var(--line); }
.pill-button:hover, .button.gold { color: var(--black); }
.showroom {
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 52% 33%, #603e1e 0%, #372418 55%, #2b1b13 100%);
}
.viewer-shell { background: #2b1b13; border-color: #9b7048; }
.viewer-shell canvas { touch-action: pan-y; }
.viewer-controls button { min-height: 40px; font-size: .8125rem; }
.viewer-controls button.active {
  border-color: var(--gold);
  color: var(--black);
}
.viewer-tag, .viewer-angle { color: var(--pale-gold); font-size: .8125rem; }
.viewer-360 { color: var(--gold); }
.viewer-hint { color: var(--muted); }
.closing { background: var(--pale-gold); color: var(--black); }
.footer-wordmark { color: var(--pale-gold); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 39px 5% 25px; }
  .hero h1 { font-size: clamp(3.35rem, 10.8vw, 5.2rem); }
  .hero-media .hero-background { aspect-ratio: 5 / 4; }
  .campaign-benefits { gap: 8px 16px; }
  .collection-tabs button, .collection-tabs a { padding-inline: 10px; }
  .viewer-controls button { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.impact.section {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(24px, 5vw, 76px);
  max-width: none;
  padding: clamp(40px, 6vw, 84px) max(5%, calc((100% - 1350px) / 2));
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, #f1d9a80b 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(125deg, #39261a, #261810 75%);
}
.impact h2 { color: var(--pale-gold); margin-bottom: 20px; }
.impact h2 em { font-style: normal; }
.impact-copy p { color: var(--cream); max-width: 41ch; line-height: 1.6; }
.impact-copy .impact-partner { color: var(--muted); font-size: .875rem; margin-top: 12px; }
.impact-tracker {
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid var(--line);
  border-top-color: var(--gold);
  background: #261810;
}
.impact-tracker label { color: var(--pale-gold); font-weight: 600; }
.impact-count { color: var(--muted); margin: 10px 0 18px; }
.impact-count strong {
  color: var(--gold);
  font: 700 clamp(2.75rem, 5vw, 4.25rem)/1 'Barlow Condensed', sans-serif;
  font-variant-numeric: tabular-nums;
}
.impact-tracker progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 1px solid #a4774d;
  border-radius: 3px;
  background: var(--panel);
  color: var(--gold);
  accent-color: var(--gold);
}
.impact-tracker progress::-webkit-progress-bar { background: var(--panel); }
.impact-tracker progress::-webkit-progress-value { background: var(--gold); }
.impact-tracker progress::-moz-progress-bar { background: var(--gold); }
.impact-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .875rem;
}
#impact-unlocked { color: var(--pale-gold); }
@media (max-width: 760px) {
  .impact.section { grid-template-columns: 1fr; }
}

/* Collection navigation and compact product browsing */
.store-header .menu-toggle { width: 118px; }
.overview-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  padding: 16px 5%;
  background: var(--panel);
  border-block: 1px solid var(--line);
}
.overview-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--pale-gold);
  font-size: .875rem;
}
.overview-tabs a:hover, .overview-tabs a:focus-visible {
  background: var(--pale-gold);
  color: var(--black);
}
.hero { padding-block: clamp(30px, 3.75vw, 60px); }
.hero-media .hero-background { aspect-ratio: 16 / 8; }
.collection.section { padding-block: clamp(36px, 5vw, 70px); }
.collection-photo { aspect-ratio: 1.36; }
.collection-title h3 { margin-bottom: 0; }
.collection-card .quick-shop {
  background: var(--pale-gold);
  color: var(--black);
  text-transform: none;
  font-size: .8125rem;
}
.collection-card .quick-shop:hover { background: var(--gold); }

.toe-details {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.toe-details h2 { margin-bottom: 16px; color: var(--pale-gold); }
.toe-details h2 em { font-style: normal; }
.toe-copy > p, .toe-copy dd { color: var(--muted); line-height: 1.6; }
.toe-copy dl { margin: 24px 0; }
.toe-copy dl > div { border-top: 1px solid var(--line); padding: 14px 0; }
.toe-copy dt { color: var(--pale-gold); font-weight: 700; margin-bottom: 5px; }
.toe-copy dd { margin: 0; }
.toe-details figure { margin: 0; border: 1px solid var(--line); }
.toe-details img { width: 100%; height: auto; }
.toe-copy .text-link { display: inline-block; text-underline-offset: 4px; text-decoration: underline; }

.viewer-shell > canvas { display: block; width: 100%; height: 100%; }
.viewer-controls { bottom: 47px; }
.viewer-hint { bottom: 20px; }
.viewer-angle { bottom: 18px; }
@media (min-width: 761px) {
  .store-header nav.menu-open > a { padding-block: 15px; }
}
@media (max-width: 760px) {
  .store-header .menu-toggle { width: 28px; }
  .overview-tabs { justify-content: flex-start; padding-block: 12px; gap: 7px; }
  .overview-tabs a { min-height: 36px; padding: 6px 10px; }
  .hero-media .hero-background { aspect-ratio: 1.76; }
  .toe-details { grid-template-columns: 1fr; }
  .viewer-shell { height: 470px; }
  .viewer-controls { bottom: 47px; }
  .viewer-angle { bottom: 8px; }
}

/* Visual-first storefront */
.hero {
  gap: clamp(24px, 5vw, 76px);
  background: #2a1b13;
  padding-block: clamp(28px, 4vw, 65px);
}
.hero-media { border-color: var(--line); box-shadow: none; }
.hero-media .hero-background { aspect-ratio: 3 / 2; }
.hero-secondary { text-decoration: none; border-bottom: 1px solid var(--line); }
.hero-actions { margin-top: 24px; }
.hero .hero-actions > .button { box-shadow: none; }
.collection-heading { margin-bottom: 18px; }
.collection-heading h2 { margin: 0; }
.collection-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}
.collection-product {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.collection-product img { width: 100%; height: auto; }
.collection-grid { grid-template-columns: 1fr; gap: 10px; }
.collection-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 14px;
  padding: clamp(12px, 2vw, 21px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
.collection-title { grid-column: 1; margin-top: 0; gap: 8px; }
.collection-title h3 { margin: 0; font-size: 1.05rem; }
.collection-card .bundle-unit { grid-column: 1; font-size: .875rem; color: var(--muted); }
.collection-card .quick-shop {
  grid-area: 1 / 2 / 3 / 3;
  position: static;
  display: inline-flex;
  justify-content: center;
  margin: 0;
  min-height: 42px;
  border-color: var(--line);
  background: transparent;
  color: var(--pale-gold);
}
.collection-card .quick-shop:hover { color: var(--black); }

.details.section { padding-top: 20px; }
.details > h2 { margin-bottom: 20px; color: var(--pale-gold); }
.detail-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 28px); }
.detail-gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--panel);
}
.detail-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.detail-photo img { position: absolute; max-width: none; }
.detail-photo--toes img { width: 210%; left: -34%; bottom: -2%; }
.detail-photo--sole img { width: 225%; left: -100%; bottom: -15%; }
.detail-gallery figcaption { display: grid; gap: 4px; padding: 14px 16px; line-height: 1.45; }
.detail-gallery strong { color: var(--pale-gold); }
.detail-gallery figcaption span { color: var(--muted); font-size: .9rem; }

.showroom { padding-block: clamp(32px, 5vw, 68px); }
.showroom-heading { margin-bottom: 18px; }
.showroom-heading h2 { font-size: clamp(2.75rem, 5.2vw, 4rem); }
.showroom-heading > p { max-width: 34ch; }
.shop-panel { border-bottom: 1px solid var(--line); }
.shop-panel > summary {
  width: fit-content;
  margin: 26px auto;
  cursor: pointer;
  color: var(--pale-gold);
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.shop-panel .shop { border-top: 0; padding-top: 20px; }
.site-footer { justify-content: center; align-items: center; gap: 12px 26px; padding: 24px 5%; }
.site-footer .brand { color: var(--pale-gold); font-size: 1.4rem; }
.site-footer .brand svg { width: 24px; }
.impact.section { padding-block: clamp(30px, 4vw, 58px); background: var(--panel); }
.impact h2 { font-size: clamp(2.6rem, 4vw, 3.5rem); margin-bottom: 10px; }
.faq.section { padding-block: clamp(35px, 5vw, 62px); }

@media (max-width: 700px) {
  .collection-layout { grid-template-columns: 1fr; }
  .detail-gallery figcaption { padding: 10px; }
  .detail-gallery figcaption span { font-size: .8125rem; }
}

/* Display selected parts of the supplied campaign image at their own proportions. */
.poster-crop {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--crop-w) / var(--crop-h);
  background: #080604;
}
.poster-crop > img,
.collection-product.poster-crop > img {
  position: absolute;
  width: calc(100% * 642 / var(--crop-w));
  height: auto;
  max-width: none;
  left: calc(-100% * var(--crop-x) / var(--crop-w));
  top: calc(-100% * var(--crop-y) / var(--crop-h));
}
.poster-logo { --crop-x: 96; --crop-y: 17; --crop-w: 474; --crop-h: 121; }
.poster-socks, .shop-product { --crop-x: 139; --crop-y: 214; --crop-w: 375; --crop-h: 427; }
.poster-toes { --crop-x: 140; --crop-y: 510; --crop-w: 225; --crop-h: 128; }
.poster-sole { --crop-x: 277; --crop-y: 662; --crop-w: 105; --crop-h: 112; }
.poster-mesh { --crop-x: 513; --crop-y: 662; --crop-w: 104; --crop-h: 112; }
.poster-cuff { --crop-x: 41; --crop-y: 662; --crop-w: 104; --crop-h: 112; }
.shop .zoom-toe .shop-product { --crop-x: 140; --crop-y: 510; --crop-w: 225; --crop-h: 128; }
.shop .zoom-grip .shop-product { --crop-x: 277; --crop-y: 662; --crop-w: 105; --crop-h: 112; }

.store-header .brand > .poster-logo, .site-footer .brand > .poster-logo {
  width: clamp(96px, 13vw, 154px);
  margin: 0;
  mix-blend-mode: screen;
}
.hero {
  gap: clamp(18px, 5vw, 76px);
  background: radial-gradient(ellipse at 73% 38%, #322217 0%, #20150f 55%, #170f0b 100%);
}
.hero .campaign-title {
  margin: 0;
  line-height: 1;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
}
.hero .hero-copy { z-index: auto; }
.campaign-title .poster-logo {
  width: min(100%, 475px);
  margin-bottom: 10px;
  mix-blend-mode: screen;
}
.campaign-product-title {
  display: block;
  font-size: .7em;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.campaign-slogan { margin-top: 14px; color: var(--gold); }
.hero .hero-media {
  width: min(100%, 390px);
  justify-self: center;
  margin: 0;
  border: 0;
  mix-blend-mode: screen;
}
.collection-product.poster-socks { width: min(100%, 345px); justify-self: center; }
.detail-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.detail-gallery .poster-toes { --crop-x: 165; --crop-y: 475; --crop-w: 160; --crop-h: 171; }
.cart-item > .poster-crop, .quick-product > .poster-crop { width: 100%; }
@media (max-width: 760px) {
  .hero .hero-media { width: min(100%, 290px); }
  .detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
