@font-face {
  font-family: Barlow Condensed;
  src: url('./assets/barlow-condensed.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: DM Sans;
  src: url('./assets/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --paper: #f6f5ee;
  --sand: #ebe9e1;
  --ink: #18201e;
  --soft-ink: #525a54;
  --line: #d0d1c6;
  --acid: #e7f785;
  --blue: #172c30;
  --gutter: clamp(20px, 4.45vw, 88px);
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
  font-synthesis: none;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
:focus-visible { outline: 2px solid #41635c; outline-offset: 4px; }
main:focus { outline: none; }
::selection { background: var(--acid); color: var(--ink); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 4; padding: 8px 14px; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.018em;
  line-height: .86;
  text-transform: uppercase;
}
.overline {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 11px/1.4 var(--mono);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.signal { width: 7px; height: 7px; background: currentColor; transform: skewX(-14deg); display: inline-block; flex: 0 0 auto; }
.arrow { display: inline-block; font: 500 23px/1 'DM Sans', sans-serif; transition: transform .2s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }
.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  padding: 0 17px;
  border: 1px solid transparent;
  background: var(--acid);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.button:hover { background: #f0fbae; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: #35423a; }
.button-outline { border-color: var(--line); background: transparent; }
.button-outline:hover { background: var(--sand); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 5px 0;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.announcement {
  background: var(--acid);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  height: 33px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .025em;
  text-decoration: none;
}
.announcement:hover { text-decoration: underline; }
.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
  height: 76px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font: 800 33px/.9 var(--display);
  letter-spacing: -.035em;
  width: fit-content;
}
.brand-mark {
  display: inline-block;
  width: .7em;
  height: .57em;
  transform: skewX(-25deg);
  background: linear-gradient(to right, currentColor 0 28%, transparent 28% 40%, currentColor 40% 68%, transparent 68% 80%, currentColor 80% 100%);
}
.site-nav { display: flex; gap: clamp(22px, 3.1vw, 55px); align-self: stretch; }
.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.site-nav a:hover::after, .site-nav [aria-current]::after { position: absolute; content: ''; inset: auto 0 20px; height: 1px; background: currentColor; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.icon-button, .bag-toggle {
  border: 0;
  background: transparent;
  min-width: 40px;
  min-height: 44px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: 800;
  font-size: 14px;
}
.bag-count { display: grid; place-items: center; min-width: 21px; height: 21px; border-radius: 50%; background: var(--acid); font-size: 11px; }
.icon-search { display: block; position: relative; width: 14px; height: 14px; border: 1.6px solid; border-radius: 50%; margin: 0 3px 3px 0; }
.icon-search::after { content: ''; position: absolute; width: 7px; height: 1.6px; background: currentColor; transform: rotate(46deg); top: 11px; left: 9px; }
.icon-bag { display: block; position: relative; border: 1.5px solid; width: 14px; height: 13px; margin-top: 4px; }
.icon-bag::before { content: ''; position: absolute; width: 6px; height: 6px; border: 1.5px solid; border-bottom: 0; border-radius: 5px 5px 0 0; left: 2.6px; top: -6px; }
.icon-close, .icon-menu { position: relative; display: block; width: 19px; height: 16px; }
.icon-close::before, .icon-close::after, .icon-menu::before, .icon-menu::after { content: ''; position: absolute; height: 1.5px; width: 19px; background: currentColor; left: 0; }
.icon-close::before { top: 7px; transform: rotate(45deg); }
.icon-close::after { top: 7px; transform: rotate(-45deg); }
.icon-menu::before { top: 4px; }
.icon-menu::after { bottom: 4px; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  height: clamp(590px, 42vw, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px var(--gutter) 72px;
  color: var(--paper);
  background: var(--blue);
}
.hero picture, .hero::after { position: absolute; inset: 0; z-index: -1; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 26%; }
.hero::after {
  content: '';
  background: linear-gradient(90deg, #0d2329bd 0%, #11272b81 28%, #102a2e13 61%, transparent 80%),
              linear-gradient(0deg, #071c24a0, transparent 27%);
}
.hero .overline { color: var(--acid); margin-bottom: 23px; }
.hero h1 { font-size: clamp(96px, 9.8vw, 166px); }
.hero h1 span { display: block; }
.hero .hero-description {
  max-width: 34ch;
  margin-top: 23px;
  margin-bottom: 24px;
  font-size: clamp(15px, 1.18vw, 18px);
  line-height: 1.45;
}
.hero .button { min-width: 195px; }
.hero-meta {
  position: absolute;
  inset: auto var(--gutter) 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid #f6f5ee58;
  font: 500 10px/1.35 var(--mono);
  letter-spacing: .10em;
  text-transform: uppercase;
}
.hero-meta span:last-child { text-align: right; }

.collection { padding: 41px var(--gutter) clamp(57px, 7vw, 110px); }
.section-head {
  display: flex;
  align-items: end;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 25px;
}
.section-head .overline { margin-bottom: 13px; }
.section-head .display { font-size: clamp(50px, 6.1vw, 103px); }
.section-head .text-link { margin-bottom: 3px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card { display: block; text-decoration: none; }
.product-media { display: block; position: relative; overflow: hidden; isolation: isolate; background: var(--sand); }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s cubic-bezier(.2,.75,.25,1); }
.product-card:hover img { transform: scale(1.045); }
.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--paper);
  padding: 5px 7px;
  font: 600 10px/1.2 var(--mono);
  letter-spacing: .035em;
  text-transform: uppercase;
}
.product-arrow {
  position: absolute;
  bottom: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  background: var(--paper);
  font-size: 20px;
  transition: background .2s ease;
}
.product-card:hover .product-arrow { background: var(--acid); }
.product-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 11px 0 2px; }
.product-meta h3 { font-size: clamp(14px, 1.3vw, 19px); font-weight: 850; line-height: 1.2; }
.product-meta span { font-weight: 800; font-size: 14px; }
.product-color { color: var(--soft-ink); font-size: 13px; }

.story-feature {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  background: var(--blue);
  color: var(--paper);
}
.story-feature img { height: 100%; min-height: 435px; object-fit: cover; object-position: 40% center; }
.story-copy { padding: clamp(40px, 6vw, 100px) var(--gutter); align-self: center; }
.story-copy .overline { color: var(--acid); margin-bottom: 20px; }
.story-copy .display { font-size: clamp(57px, 6.7vw, 122px); }
.story-copy .display span { display: block; }
.story-copy p:not(.overline) { max-width: 35ch; margin: 20px 0 28px; color: #e0e4da; }
.story-copy :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--acid); }

.newsletter {
  padding: clamp(32px, 5.5vw, 85px) var(--gutter);
  background: var(--acid);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: end;
  gap: 35px;
}
.newsletter .display { font-size: clamp(52px, 7.15vw, 120px); margin-top: 13px; }
.newsletter label { display: block; font-weight: 700; margin-bottom: 8px; }
.newsletter form { position: relative; }
.newsletter-field { display: flex; border-bottom: 1px solid var(--ink); }
.newsletter-field input { width: 100%; border: none; background: transparent; border-radius: 0; min-width: 0; min-height: 48px; }
.newsletter-field input::placeholder { color: #424939; }
.newsletter-field button { border: 0; background: transparent; font-size: 28px; width: 48px; min-height: 48px; }
.form-status { font-size: 13px; }
.newsletter .form-status { position: absolute; top: 100%; margin-top: 5px; }

.site-footer { background: var(--ink); color: var(--paper); padding: 49px var(--gutter) 19px; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 23px; }
.footer-main p { margin-top: 10px; color: #c4cbc0; }
.footer-main h2 { font: 600 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--acid); }
.footer-main nav a { display: block; width: fit-content; margin-top: 8px; font-size: 14px; text-decoration: none; }
.footer-main nav a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; border-top: 1px solid #ffffff38; padding-top: 16px; margin-top: 45px; color: #c4cbc0; font-size: 12px; }

.page-head { padding: clamp(39px, 6.3vw, 105px) var(--gutter) 34px; }
.page-head .overline { margin-bottom: 15px; }
.page-head .display { font-size: clamp(73px, 12vw, 181px); }
.page-head .intro { max-width: 49ch; margin-top: 21px; font-size: 17px; }
.catalog { padding-top: 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 21px; padding: 8px 0; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-buttons a { display: inline-flex; align-items: center; font-size: 13px; font-weight: 750; padding: 0 13px; min-height: 42px; text-decoration: none; }
.filter-buttons a:hover { background: var(--sand); }
.filter-buttons [aria-current] { background: var(--ink); color: var(--paper); }
.filter-buttons [aria-current]:hover { background: #35423a; }
.result-count { font: 500 11px/1.4 var(--mono); text-transform: uppercase; color: var(--soft-ink); }

.product-page { padding: 26px var(--gutter) clamp(55px, 6vw, 95px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; font-size: 13px; color: var(--soft-ink); margin-bottom: 22px; }
.breadcrumb a { text-underline-offset: 3px; }
.product-detail { display: grid; grid-template-columns: 1.27fr 1fr; gap: clamp(24px, 6vw, 102px); align-items: start; }
.product-detail > img { aspect-ratio: 1; background: var(--sand); }
.product-copy { padding: 18px 0 0; }
.product-copy .display { font-size: clamp(62px, 7.4vw, 130px); margin: 12px 0 13px; }
.price { font-size: 21px; font-weight: 800; }
.product-description { margin: 19px 0; max-width: 50ch; color: var(--soft-ink); }
.color-choice { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.swatch { display: inline-block; border-radius: 50%; border: 1px solid #0004; width: 15px; height: 15px; background: var(--swatch); }
.size-form { margin: 20px 0 26px; }
.size-form fieldset { padding: 0; margin: 0 0 15px; border: 0; }
.size-form legend { margin-bottom: 7px; font-weight: 750; }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes label { display: block; cursor: pointer; }
.sizes span { border: 1px solid var(--line); min-width: 44px; padding: 0 12px; min-height: 44px; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.sizes input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.sizes input:focus-visible + span { outline: 2px solid #41635c; outline-offset: 2px; }
.sizes input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-guide { display: inline-block; margin-top: 9px; font-size: 13px; }
.size-form > .button { width: 100%; }
.size-form .form-status { min-height: 1.5em; margin-top: 4px; color: #8c3427; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; min-height: 53px; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 19px; }
details[open] summary::after { content: '−'; }
details > div { padding: 0 0 18px; color: var(--soft-ink); }
details p + p { margin-top: 10px; }

.editorial-image { padding: 0 var(--gutter); }
.editorial-image img { height: clamp(285px, 47vw, 695px); object-fit: cover; object-position: center 47%; }
.editorial-image figcaption { font: 500 10px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-top: 9px; }
.editorial-text { padding: clamp(36px, 6vw, 90px) var(--gutter); max-width: 53rem; margin: auto; }
.editorial-text p { font-size: clamp(17px, 1.6vw, 22px); margin-bottom: 1.25em; }
.editorial-text .text-link { margin-top: 1em; }
.support-panels { max-width: 780px; padding: 0 var(--gutter) 70px; }
.size-chart { border-collapse: collapse; width: 100%; margin-top: 12px; font-size: 13px; }
.size-chart th, .size-chart td { text-align: left; padding: 6px 2px; border-bottom: 1px solid var(--line); }

.drawer {
  width: min(450px, 100%);
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
}
.drawer[open] { animation: slide-in .28s cubic-bezier(.2,.75,.25,1) both; }
.drawer::backdrop { background: #10201f77; }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 21px 24px; }
.drawer-top .display { font-size: 44px; }
.drawer-content { padding: 22px 24px; }
.drawer-nav { display: grid; }
.drawer-nav a { font-size: 20px; font-weight: 800; text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--line); }
.drawer-nav .button-outline { width: fit-content; margin-top: 17px; }
.drawer-message { color: var(--soft-ink); margin-bottom: 16px; }
.drawer-search label { display: block; font-weight: 750; margin-bottom: 7px; }
.drawer-search input { width: 100%; background: transparent; border: 1px solid var(--line); padding: 12px; border-radius: 0; margin-bottom: 16px; color: var(--ink); }
.search-result { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 800; text-decoration: none; }
.search-result:hover { text-decoration: underline; }
.search-result img { aspect-ratio: 1; }
.search-result small { display: block; color: var(--soft-ink); font-weight: 500; }
.bag-items { display: grid; gap: 15px; }
.bag-item { display: grid; grid-template-columns: 78px 1fr auto; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--line); align-items: start; }
.bag-item img { aspect-ratio: 1; }
.bag-item p { font-size: 13px; color: var(--soft-ink); }
.bag-item a { font-weight: 800; text-decoration: none; }
.bag-item a:hover { text-decoration: underline; }
.bag-quantity { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.bag-quantity button { display: grid; place-items: center; background: transparent; border: 1px solid var(--line); width: 34px; height: 34px; }
.bag-quantity button:hover { background: var(--sand); }
.bag-quantity button:disabled { opacity: .45; cursor: default; }
.bag-quantity output { min-width: 11px; text-align: center; font-size: 13px; }
.line-price { font-size: 14px; font-weight: 800; }
.bag-total { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 4px; font-size: 17px; font-weight: 850; }
.bag-caption { margin-bottom: 14px; color: var(--soft-ink); font-size: 13px; }
.drawer-content > .button { width: 100%; }
.checkout { padding: 0 var(--gutter) 75px; }
.checkout-summary { max-width: 630px; padding: 20px; border: 1px solid var(--line); }
.checkout-summary .button { margin-top: 8px; }
.checkout-summary .bag-caption { margin-top: 12px; }
.empty-page .button { margin-top: 20px; }

@media (max-width: 950px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 12px; }
  .hero img { object-position: 69% 26%; }
  .story-feature img { min-height: 360px; }
  .product-detail { gap: 27px; }
}
@media (max-width: 680px) {
  .announcement { height: 29px; font-size: 10px; }
  .site-header { height: 60px; padding: 0 max(11px, calc(var(--gutter) - 8px)); }
  .site-header .wordmark { font-size: 28px; }
  .site-nav, .bag-label, .search-toggle { display: none; }
  .menu-toggle { display: inline-flex; justify-self: start; }
  .bag-toggle { padding: 0 5px; gap: 7px; }
  .hero { height: clamp(600px, 154vw, 735px); min-height: 0; padding-bottom: 61px; justify-content: end; }
  .hero img { object-position: center 40%; }
  .hero::after { background: linear-gradient(0deg, #0d2026f0 0%, #0c2228bf 28%, #0d222844 49%, transparent 66%); }
  .hero .overline { margin-bottom: 13px; }
  .hero h1 { font-size: clamp(71px, 14.8vw, 115px); }
  .hero .hero-description { margin: 16px 0 17px; }
  .hero .button { min-height: 46px; min-width: 169px; }
  .hero-meta { inset: auto var(--gutter) 13px; font-size: 9px; padding-top: 10px; }
  .collection { padding-top: 32px; }
  .section-head { position: relative; display: block; margin-bottom: 19px; }
  .section-head .overline { padding-right: 85px; }
  .section-head .display { font-size: clamp(40px, 10.9vw, 62px); }
  .section-head .text-link { position: absolute; top: -6px; right: 0; font-size: 12px; gap: 5px; margin: 0; }
  .section-head .text-link .arrow { font-size: 17px; }
  .product-meta { margin-top: 8px; }
  .product-meta span { font-size: 13px; }
  .product-tag { top: 7px; left: 7px; font-size: 8px; }
  .product-arrow { width: 29px; height: 29px; bottom: 7px; right: 7px; font-size: 17px; }
  .story-feature { grid-template-columns: 1fr; }
  .story-feature img { min-height: 0; height: auto; aspect-ratio: 1.35; }
  .story-copy { padding: 33px var(--gutter) 43px; }
  .newsletter { grid-template-columns: 1fr; gap: 21px; padding-bottom: 48px; }
  .site-footer { padding-top: 35px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div { grid-column: 1 / -1; }
  .footer-base { margin-top: 28px; }
  .catalog { padding-top: 0; }
  .product-detail { grid-template-columns: 1fr; gap: 18px; }
  .product-copy { padding-top: 0; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 18.7vw; }
  .product-meta { align-items: start; }
  .product-meta h3 { font-size: 13px; }
  .filter-buttons a { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
