@font-face {
  font-family: Manrope;
  src: url("assets/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #11231d;
  --muted: #4d6058;
  --paper: #f6f8f6;
  --mint: #bff5d9;
  --green: #24654e;
  --line: #dbe3dd;
  font: 400 1rem/1.6 Manrope, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.shell { width: min(100% - 5rem, 81rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: .7rem; left: 1rem; z-index: 10; transform: translateY(-160%); background: var(--ink); color: white; padding: .6rem 1rem; border-radius: .35rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 4; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: 4.7rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.brand { justify-self: start; display: inline-flex; gap: .57rem; align-items: center; color: var(--ink); text-decoration: none; font-size: 1.14rem; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; }
.brand img { flex: none; }
.brand-subtitle { margin-inline-start: .12em; font-weight: 650; }
.site-nav { display: flex; gap: clamp(1.2rem, 3.6vw, 3.25rem); align-items: center; }
.site-nav a { padding-block: .5rem; color: #34473f; text-decoration: none; font-size: .93rem; font-weight: 750; }
.site-nav a:hover, .footer-inner > a:last-child:hover { color: var(--green); text-decoration: underline; text-underline-offset: .28em; }
.bag-trigger { justify-self: end; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.55rem; padding: .36rem .5rem .36rem .85rem; background: transparent; color: var(--ink); border: 1px solid #c8d5ce; border-radius: 999px; font-size: .89rem; font-weight: 800; }
.bag-trigger:hover { background: #e8efe9; }
.bag-count { min-width: 1.55rem; padding-inline: .3rem; line-height: 1.55rem; border-radius: 999px; background: #e3ece5; color: #1d4938; text-align: center; }

.hero { margin-top: clamp(.9rem, 2.55vw, 2rem); }
.hero-panel { display: grid; align-items: center; position: relative; min-height: clamp(33rem, 44.6vw, 41.5rem); overflow: hidden; isolation: isolate; border-radius: clamp(1rem, 2.3vw, 2rem); background: #071918; color: #f1fff8; }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 24%; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-panel::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #071918 0%, #071918 24%, #071918de 34%, #07191814 58%, transparent 100%); }
.hero-content { padding: clamp(2.3rem, 6vw, 6.25rem); }
.eyebrow { line-height: 1.4; font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .13em; }
.hero-content .eyebrow { color: #9cdebd; }
.hero h1 { margin-block: .3rem .5rem; font-size: clamp(4rem, 8.5vw, 8rem); line-height: 1.02; font-weight: 800; letter-spacing: -.078em; }
.hero h1 span { color: #a8edcc; }
.hero-tagline { color: #e2f2e9; font-size: clamp(1.19rem, 2.25vw, 1.7rem); line-height: 1.35; font-weight: 650; letter-spacing: -.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem 1.5rem; align-items: center; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.05rem; padding: .65rem 1.15rem; border: 0; border-radius: 999px; font-size: .93rem; font-weight: 800; text-decoration: none; text-align: center; }
.button-mint { background: var(--mint); color: #153325; }
.button-mint:hover { background: #e0fff0; }
.hero-link { color: #e1f6eb; font-weight: 800; font-size: .9rem; text-underline-offset: .28em; }
.hero-link:hover { color: #a8edcc; }
.hero :focus-visible { outline-color: #a8edcc; }

.collection { padding-block: clamp(3.25rem, 6.15vw, 6.15rem) clamp(3.75rem, 8vw, 7rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: clamp(1.4rem, 2.65vw, 2.5rem); }
.section-heading .eyebrow, .dialog-content .eyebrow { color: var(--green); }
.section-heading h2 { margin-top: .48rem; font-size: clamp(2.35rem, 5.2vw, 4.8rem); line-height: 1.03; letter-spacing: -.068em; font-weight: 800; }
.section-heading > p { max-width: 25ch; padding-bottom: .2rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 1.75vw, 1.5rem); }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 1.25rem; scroll-margin-top: .5rem; }
.product-card:target { border-color: #4d997b; box-shadow: 0 0 0 2px #c4e9d9; }
.product-card > img { width: 100%; height: auto; aspect-ratio: 1 / 1.06; object-fit: cover; }
.product-shift > img { background: #deeee7; }
.product-strata > img { background: #e9e4f9; }
.product-drift > img { background: #e0edf4; }
.product-copy { display: flex; flex-direction: column; flex: 1; gap: .46rem; padding: clamp(1rem, 2.35vw, 1.9rem); }
.product-category { font-size: .85rem; font-weight: 800; color: var(--green); }
.product-copy h3 { font-size: clamp(1.62rem, 2.7vw, 2.45rem); line-height: 1.08; letter-spacing: -.07em; font-weight: 800; }
.product-description { color: var(--muted); line-height: 1.55; }
.product-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-top: auto; padding-top: .85rem; }
.price { font-weight: 800; }
.detail-link { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .32rem .78rem; border: 1px solid #b8cec1; border-radius: 999px; color: #24543f; font-size: .87rem; font-weight: 800; text-decoration: none; }
.detail-link:hover { background: #e5f4eb; }
.fallback-specs { margin-top: .5rem; }
.fallback-specs summary { cursor: pointer; font-weight: 750; }
.fallback-specs ul { margin: .4rem 0 0; padding-left: 1.2rem; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.3rem; padding-block: 1.7rem; }
.footer-inner p { color: var(--muted); font-size: .86rem; }
.footer-inner > a:last-child { font-size: .88rem; font-weight: 750; text-underline-offset: .25em; }

dialog { position: fixed; width: min(100% - 2rem, 47rem); max-height: calc(100dvh - 2rem); padding: 0; overflow: auto; border: 1px solid var(--line); border-radius: 1.25rem; background: #fff; color: var(--ink); box-shadow: 0 18px 80px #0a1d1b44; }
dialog::backdrop { background: #071918ab; }
body:has(dialog[open]) { overflow: hidden; }
.close-button { position: absolute; z-index: 1; display: grid; place-items: center; top: .7rem; right: .7rem; width: 2.6rem; height: 2.6rem; color: var(--ink); border: 1px solid #aabdb0; background: white; border-radius: 50%; font-size: 1.4rem; line-height: 1; }
.close-button:hover { background: #e5f4eb; }
.product-dialog-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.product-dialog-layout > img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content, .bag-content { padding: 3.1rem clamp(1.25rem, 4vw, 2.5rem) 2.35rem; }
.dialog-content h2, .bag-content h2 { margin-block: .37rem .75rem; font-size: clamp(1.95rem, 4.5vw, 3.15rem); line-height: 1.06; letter-spacing: -.068em; font-weight: 800; }
.dialog-content > p:not(.eyebrow, .dialog-price), .bag-content > p { color: var(--muted); }
.specs { padding-left: 1.15rem; margin: .9rem 0; }
.specs li { margin-block: .15rem; }
.dialog-price { margin-block: .85rem .5rem; font-size: 1.18rem; font-weight: 800; }
.button-dark { background: #153c2b; color: white; }
.button-dark:hover { background: #235d45; }
.bag-dialog { width: min(100% - 2rem, 35rem); }
.bag-items { margin: 0; padding: 0; list-style: none; }
.bag-items:not(:empty) { margin-block: .75rem; }
.bag-row { display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: center; gap: .65rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.bag-row img { width: 3.25rem; height: 3.25rem; border-radius: .4rem; object-fit: cover; }
.bag-row strong, .bag-row small { display: block; }
.bag-row small { color: var(--muted); }
.bag-quantity { display: flex; align-items: center; gap: .4rem; }
.quantity-button { width: 2rem; height: 2rem; padding: 0; border: 1px solid #b8cec1; border-radius: 50%; background: transparent; color: var(--green); }
.quantity-button:hover { background: #e5f4eb; }
.bag-total { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; }
.bag-note { margin-top: .9rem; font-size: .86rem; }

@media (max-width: 950px) {
  .shell { width: calc(100% - 2.5rem); }
  .hero-content { padding-inline: 2.5rem; }
  .product-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  :root { scroll-padding-top: 7rem; }
  .shell { width: calc(100% - 1.5rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .1rem .6rem; padding-top: .65rem; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 1.8rem; height: 1.8rem; }
  .site-nav { grid-column: span 2; grid-row: 2; justify-content: space-between; gap: .2rem 1rem; padding-inline: .3rem; }
  .site-nav a { padding-block: .59rem; font-size: .86rem; }
  .hero-panel { min-height: auto; align-items: end; }
  .hero-image { inset: 0 0 auto; height: clamp(15rem, 65vw, 23.5rem); }
  .hero-image img { object-position: center 53%; }
  .hero-panel::after { background: linear-gradient(180deg, transparent 22%, #0719181c 32%, #071918 61%); }
  .hero-content { padding: clamp(13rem, 59vw, 20rem) 1.25rem 1.85rem; }
  .hero h1 { font-size: clamp(3.45rem, 14vw, 5.65rem); }
  .hero-tagline { font-size: 1.17rem; }
  .hero-actions { margin-top: 1.25rem; }
  .section-heading { display: block; padding-inline: .25rem; }
  .section-heading > p { margin-top: .75rem; max-width: 29ch; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card > img { aspect-ratio: 1 / 1.02; }
  .product-copy { padding: 1.25rem; }
  .product-actions { justify-content: space-between; }
  .footer-inner p { flex-basis: 100%; order: 1; }
  .product-dialog-layout { grid-template-columns: 1fr; }
  .product-dialog-layout > img { height: 14rem; object-fit: contain; background: var(--paper); }
  .dialog-content { padding-top: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
