:root {
  --ink: #11191d;
  --paper: #f7f7f3;
  --white: #ffffff;
  --mineral: #2d7184;
  --sea: #44786d;
  --signal: #f0c83e;
  --rust: #b6553d;
  --steel: #d8e0e2;
  --muted: #617078;
}

* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.45; }
body.no-scroll { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.announcement { height: 30px; display: flex; align-items: center; justify-content: center; gap: 11px; background: var(--signal); font-size: 10px; font-weight: 900; }
.site-header { position: sticky; top: 0; z-index: 40; height: 68px; padding: 0 34px; display: grid; grid-template-columns: 190px 1fr 190px; align-items: center; background: rgba(247,247,243,.96); border-bottom: 1px solid #ccd5d7; }
.brand { font-family: Arial Black, Arial, sans-serif; font-size: 24px; font-weight: 900; }
.desktop-nav { height: 100%; display: flex; align-items: center; justify-content: center; gap: 28px; font-size: 12px; font-weight: 800; }
.desktop-nav > a, .nav-trigger { height: 100%; padding: 0; border-bottom: 3px solid transparent; display: inline-flex; align-items: center; gap: 5px; }
.desktop-nav > a:hover, .nav-trigger:hover, .nav-item:focus-within .nav-trigger, .nav-item:hover .nav-trigger { border-color: var(--signal); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .18s ease; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-item:hover .nav-trigger svg, .nav-item:focus-within .nav-trigger svg { transform: rotate(180deg); }
.mega-menu { position: absolute; top: 100%; left: 0; right: 0; padding: 0 34px; visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-7px); transition: opacity .16s ease, transform .16s ease, visibility .16s; background: var(--paper); border-top: 1px solid var(--steel); border-bottom: 1px solid var(--steel); box-shadow: 0 18px 34px rgba(8,18,22,.16); }
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.mega-inner { width: min(1220px, 100%); min-height: 270px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.35fr 270px; gap: 46px; align-items: stretch; }
.mega-intro { padding: 34px 0; align-self: center; }
.mega-intro > span { color: var(--mineral); font-size: 9px; font-weight: 900; }
.mega-intro h2 { margin: 9px 0 10px; font-family: Arial Black, Arial, sans-serif; font-size: 25px; line-height: 1.04; text-transform: uppercase; }
.mega-intro p { margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 400; }
.mega-intro a { display: inline-flex; align-items: center; gap: 7px; color: var(--rust); font-size: 11px; text-transform: uppercase; }
.mega-intro a svg { width: 15px; }
.mega-links { padding: 34px 0; display: grid; grid-template-columns: 1fr 1fr; align-content: center; column-gap: 34px; }
.mega-links a { padding: 10px 0; border-bottom: 1px solid var(--steel); color: var(--ink); font-size: 13px; }
.mega-links a:hover { color: var(--rust); }
.mega-visual { min-height: 270px; background-image: url("assets/categories.png"); background-repeat: no-repeat; background-size: 400% 100%; }
.header-actions { display: flex; justify-content: flex-end; gap: 4px; }
.icon-button { width: 42px; height: 42px; padding: 0; border: 0; display: inline-grid; place-items: center; position: relative; background: transparent; cursor: pointer; }
.icon-button svg { width: 21px; height: 21px; stroke-width: 1.8; }
.cart-button span { position: absolute; right: 1px; top: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; background: var(--signal); font-size: 10px; font-weight: 900; }
.menu-button { display: none; }
.mobile-menu { display: none; position: fixed; z-index: 45; inset: 98px 0 auto 0; max-height: calc(100dvh - 98px); overflow-y: auto; padding: 8px 24px 26px; background: var(--paper); border-bottom: 1px solid var(--steel); }
.mobile-menu details { border-bottom: 1px solid var(--steel); }
.mobile-menu summary { min-height: 54px; display: flex; align-items: center; justify-content: space-between; list-style: none; font-weight: 900; cursor: pointer; text-transform: uppercase; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary svg { width: 18px; transition: transform .18s ease; }
.mobile-menu details[open] summary svg { transform: rotate(180deg); }
.mobile-menu details div { padding: 0 0 10px 16px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }
.mobile-menu details a { padding: 9px 0; color: var(--muted); font-size: 12px; font-weight: 700; }
.mobile-menu .mobile-primary-link { display: block; padding: 15px 0; border-bottom: 1px solid var(--steel); font-weight: 900; text-transform: uppercase; }

.hero { position: relative; min-height: 690px; height: 78vh; max-height: 800px; display: flex; align-items: center; overflow: hidden; color: white; background: url("assets/hero.png") center center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(4,13,17,.46); }
.hero-content { position: relative; z-index: 2; width: min(610px, 48%); margin-left: max(6vw, 58px); }
.eyebrow { display: inline-block; margin-bottom: 18px; font-size: 11px; font-weight: 900; }
.eyebrow.dark { color: var(--mineral); }
.hero h1 { margin: 0 0 20px; font-family: Arial Black, Arial, sans-serif; font-size: 72px; line-height: .97; text-transform: uppercase; }
.hero p { max-width: 550px; margin: 0 0 28px; color: #e5ecee; font-size: 17px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 900; cursor: pointer; }
.button.signal { background: var(--signal); color: var(--ink); }
.button.outline-light { border-color: rgba(255,255,255,.7); background: rgba(17,25,29,.28); color: white; }
.button.dark { background: var(--ink); color: white; }
.button.full { width: 100%; }
.conditions { position: absolute; z-index: 2; right: 32px; bottom: 24px; display: grid; grid-template-columns: repeat(4, auto); gap: 22px; font-size: 9px; font-weight: 900; }
.conditions span { padding-left: 10px; border-left: 2px solid var(--signal); }

.principle-band { padding: 46px max(6vw, 48px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: end; background: var(--signal); }
.principle-band span { font-size: 10px; font-weight: 900; }
.principle-band h2 { margin: 7px 0 0; font-family: Arial Black, Arial, sans-serif; font-size: 34px; line-height: 1.08; text-transform: uppercase; }
.principle-band p { max-width: 520px; margin: 0; font-size: 15px; }

.category-section, .shop-section, .field-notes { padding: 90px 34px; }
.section-heading { width: min(1400px, 100%); margin: 0 auto 30px; display: flex; justify-content: space-between; align-items: end; gap: 34px; }
.section-heading h2, .fit-copy h2, .story-section h2 { margin: 0; font-family: Arial Black, Arial, sans-serif; font-size: 42px; line-height: 1.08; text-transform: uppercase; }
.section-heading p { max-width: 460px; margin: 0; color: var(--muted); font-size: 14px; }
.category-grid { width: min(1400px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.category-tile { min-width: 0; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 390px; background: white; border: 1px solid var(--steel); }
.category-image, .product-photo, .search-thumb { background-image: url("assets/categories.png"); background-size: 400% 100%; background-repeat: no-repeat; }
.crop-thermal { background-position: 0 center; }
.crop-float { background-position: 33.333% center; }
.crop-apparel { background-position: 66.666% center; }
.crop-gear { background-position: 100% center; }
.category-copy { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.category-copy > span { color: var(--mineral); font-size: 9px; font-weight: 900; }
.category-copy h3 { margin: 10px 0; font-size: 27px; line-height: 1.1; }
.category-copy p { margin: 0 0 26px; color: var(--muted); font-size: 13px; }
.category-copy b { display: inline-flex; align-items: center; gap: 6px; color: var(--rust); font-size: 11px; }
.category-copy svg { width: 15px; }

.activity-band { padding: 76px 34px 82px; background: var(--ink); color: white; }
.section-heading.light h2 { color: white; }
.text-button, .text-button.light { padding: 0; border: 0; display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--mineral); font-weight: 900; cursor: pointer; }
.text-button.light { color: var(--signal); }
.text-button svg { width: 16px; }
.activity-grid { width: min(1400px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #405056; border-left: 1px solid #405056; }
.activity-grid button { min-height: 180px; padding: 28px; border: 0; border-right: 1px solid #405056; border-bottom: 1px solid #405056; display: grid; align-content: center; justify-items: start; gap: 8px; background: transparent; color: white; text-align: left; cursor: pointer; }
.activity-grid button:hover { background: #202e33; }
.activity-grid svg { width: 27px; height: 27px; color: var(--signal); }
.activity-grid span { font-size: 18px; font-weight: 900; }
.activity-grid small { color: #91a5ad; }

.shop-section { background: #eef1ef; }
.tabs { width: min(1400px, 100%); margin: 0 auto 22px; display: flex; gap: 6px; overflow-x: auto; }
.tabs button { min-width: 130px; height: 42px; padding: 0 16px; border: 1px solid #ccd5d7; border-radius: 2px; background: white; font-size: 12px; font-weight: 900; cursor: pointer; }
.tabs button.is-active { background: var(--ink); color: white; border-color: var(--ink); }
.product-grid { width: min(1400px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.product-grid[hidden] { display: none; }
.product-card { min-width: 0; background: white; border: 1px solid #d3dbdc; }
.product-photo { position: relative; aspect-ratio: 4 / 4.8; background-color: #d9e1e2; }
.product-photo.alt { background-size: 430% 108%; }
.product-photo.zoom { background-size: 470% 112%; }
.product-photo.far { background-size: 370% 100%; }
.badge { position: absolute; top: 12px; left: 12px; padding: 6px 8px; border-radius: 2px; background: var(--ink); color: white; font-size: 9px; font-weight: 900; }
.badge.yellow { background: var(--signal); color: var(--ink); }
.wish { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); cursor: pointer; }
.wish svg { width: 18px; }
.product-info { padding: 17px; }
.product-info > span { color: var(--mineral); font-size: 9px; font-weight: 900; }
.product-info h3 { min-height: 46px; margin: 7px 0 5px; font-size: 18px; line-height: 1.22; }
.product-info p { min-height: 57px; margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.product-info > div { display: flex; justify-content: space-between; align-items: center; }
.product-info > div b { font-size: 16px; }
.product-info button { min-width: 72px; height: 36px; padding: 0 10px; border: 1px solid var(--ink); border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; background: white; font-size: 11px; font-weight: 900; cursor: pointer; }
.product-info button svg { width: 14px; }
.product-info button.is-added { background: var(--sea); border-color: var(--sea); color: white; }

.fit-section { min-height: 680px; display: grid; grid-template-columns: .95fr 1.05fr; background: var(--signal); }
.fit-copy { padding: 78px max(5vw, 50px); display: flex; flex-direction: column; justify-content: center; }
.fit-copy h2 { font-size: 47px; }
.fit-copy > p { max-width: 590px; color: #34454b; font-size: 15px; }
.fit-facts { margin: 22px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(17,25,29,.3); }
.fit-facts > div { min-width: 0; padding: 18px 16px 0 0; }
.fit-facts span { font-size: 10px; font-weight: 900; }
.fit-facts b { display: block; margin: 7px 0 3px; font-size: 13px; }
.fit-facts p { margin: 0; color: #4e5b60; font-size: 11px; }
.fit-copy .button { align-self: flex-start; }
.fit-image { background-image: url("assets/categories.png"); background-size: cover; background-position: center; }

.story-section { padding: 100px max(8vw, 58px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; background: var(--white); }
.story-section h2 { font-size: 43px; }
.story-section p { margin: 0 0 18px; color: var(--muted); font-size: 16px; }
.story-section blockquote { margin: 30px 0 0; padding-left: 18px; border-left: 4px solid var(--signal); font-family: Arial Black, Arial, sans-serif; font-size: 22px; text-transform: uppercase; }

.field-notes { background: #e7ecea; }
.note-grid { width: min(1400px, 100%); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid #c5d0d0; border-top: 1px solid #c5d0d0; }
.note-grid a { min-height: 220px; padding: 34px; border-right: 1px solid #c5d0d0; border-bottom: 1px solid #c5d0d0; display: flex; flex-direction: column; }
.note-grid span { color: var(--mineral); font-size: 9px; font-weight: 900; }
.note-grid h3 { max-width: 340px; margin: 18px 0 auto; font-size: 24px; }
.note-grid b { display: inline-flex; align-items: center; gap: 6px; color: var(--rust); font-size: 11px; }
.note-grid svg { width: 15px; }

footer { padding: 62px 34px 28px; display: grid; grid-template-columns: 1.4fr .7fr .7fr 1.2fr; gap: 40px; background: var(--ink); color: white; }
footer > div, footer form { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer-brand p { max-width: 350px; color: #9fb0b6; }
footer b { margin-bottom: 7px; }
footer form label { display: flex; margin-top: 10px; }
footer input { min-width: 0; flex: 1; height: 44px; padding: 0 12px; border: 1px solid #435259; border-radius: 2px 0 0 2px; background: #202a2e; color: white; }
footer form button { width: 72px; border: 0; border-radius: 0 2px 2px 0; background: var(--signal); color: var(--ink); font-weight: 900; }
footer small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid #39464b; color: #87999f; font-size: 10px; }

.cart-drawer { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(430px, 100%); padding: 24px; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .25s ease; background: var(--paper); box-shadow: -12px 0 40px rgba(0,0,0,.25); }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-head, .dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.drawer-head span, .dialog-head span { color: var(--mineral); font-size: 9px; font-weight: 900; }
.drawer-head h2, .dialog-head h2 { margin: 4px 0 0; font-size: 28px; text-transform: uppercase; }
.cart-items { flex: 1; overflow-y: auto; padding: 24px 0; }
.empty-state { color: var(--muted); font-size: 14px; }
.cart-line { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--steel); }
.cart-line > div { display: grid; gap: 3px; }
.cart-line span { color: var(--muted); font-size: 11px; }
.cart-line > div:last-child { grid-template-columns: auto 34px; align-items: center; }
.remove-item { width: 34px; height: 34px; }
.cart-footer { padding-top: 18px; border-top: 1px solid var(--steel); }
.cart-footer > div { display: flex; justify-content: space-between; margin-bottom: 16px; }
.cart-footer small { display: block; margin-top: 10px; text-align: center; color: var(--muted); }

dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 28px; border: 0; border-radius: 3px; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgba(3,11,14,.72); }
.search-box { height: 52px; margin: 24px 0 15px; padding: 0 15px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--steel); background: white; }
.search-box svg { width: 19px; }
.search-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; }
.search-results { max-height: 430px; overflow-y: auto; }
.search-result { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--steel); display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: transparent; text-align: left; cursor: pointer; }
.search-thumb { width: 64px; height: 64px; background-size: 400% 100%; }
.search-result span:nth-child(2) { display: grid; }
.search-result small { color: var(--muted); }
.quiz-choices { margin: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quiz-choices button { min-height: 120px; padding: 14px; border: 1px solid var(--steel); border-radius: 2px; display: grid; place-items: center; gap: 8px; background: white; font-weight: 900; cursor: pointer; }
.quiz-choices button:hover { background: #fff7d6; border-color: var(--signal); }
.quiz-choices svg { width: 26px; color: var(--mineral); }
.quiz-result { min-height: 120px; padding: 20px; display: grid; align-content: center; background: #e7ecea; }
.quiz-result span { color: var(--mineral); font-size: 9px; font-weight: 900; }
.quiz-result strong { margin: 4px 0; font-size: 22px; text-transform: uppercase; }
.quiz-result p { margin: 0; color: var(--muted); font-size: 13px; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; padding: 0 20px; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-grid; }
  .mobile-menu.is-open { display: block; }
  .hero { min-height: 620px; height: 74vh; background-position: 60% center; }
  .hero-content { width: min(570px, 64%); margin-left: 38px; }
  .hero h1 { font-size: 58px; }
  .category-tile { grid-template-columns: 1fr; }
  .category-image { min-height: 340px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-section { grid-template-columns: 1fr; }
  .fit-image { min-height: 480px; order: -1; }
  .story-section { grid-template-columns: 1fr; gap: 30px; }
  footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .announcement { font-size: 8px; }
  .site-header { height: 60px; padding: 0 14px; }
  .brand { font-size: 21px; }
  .header-actions { gap: 0; }
  .mobile-menu { top: 90px; }
  .hero { min-height: 620px; height: 72vh; max-height: 680px; align-items: flex-end; background-position: 62% center; }
  .hero::before { background: rgba(4,13,17,.58); }
  .hero-content { width: auto; margin: 0; padding: 0 20px 94px; }
  .hero h1 { font-size: 46px; }
  .hero p { font-size: 14px; }
  .hero-actions .button { width: 100%; }
  .conditions { left: 20px; right: 20px; bottom: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .conditions span { padding-left: 5px; font-size: 7px; }
  .principle-band { padding: 38px 20px; grid-template-columns: 1fr; gap: 20px; }
  .principle-band h2 { font-size: 27px; }
  .category-section, .shop-section, .field-notes { padding: 58px 14px; }
  .section-heading { display: block; }
  .section-heading h2, .fit-copy h2, .story-section h2 { font-size: 33px; }
  .section-heading p, .text-button { margin-top: 14px; }
  .category-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-tile { grid-template-columns: 1fr 1fr; min-height: 270px; }
  .category-image { min-height: 270px; }
  .category-copy { padding: 20px; }
  .category-copy h3 { font-size: 20px; }
  .category-copy p { display: none; }
  .activity-band { padding: 58px 14px; }
  .activity-grid { grid-template-columns: 1fr 1fr; }
  .activity-grid button { min-height: 145px; padding: 20px; }
  .activity-grid span { font-size: 14px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-info { padding: 12px; }
  .product-info h3 { min-height: 44px; font-size: 14px; }
  .product-info p { display: none; }
  .product-info button { min-width: 40px; width: 40px; }
  .product-info button span { display: none; }
  .fit-image { min-height: 330px; }
  .fit-copy { padding: 54px 20px; }
  .fit-facts { grid-template-columns: 1fr; }
  .fit-facts > div { padding-bottom: 14px; }
  .story-section { padding: 68px 20px; }
  .story-section p { font-size: 15px; }
  .story-section blockquote { font-size: 19px; }
  .note-grid { grid-template-columns: 1fr; }
  .note-grid a { min-height: 170px; }
  footer { grid-template-columns: 1fr 1fr; padding: 46px 20px 24px; gap: 30px 18px; }
  .footer-brand, footer form { grid-column: 1 / -1; }
  .quiz-choices { grid-template-columns: 1fr 1fr; }
  dialog { padding: 20px; }
}
