:root {
  --abyss: #0b1420;
  --deep: #12202f;
  --reef: #1a2e42;
  --line: #2a425a;
  --bone: #ece6da;
  --mist: #a9b8c6;
  --ice: #8fd0ec;
  --ice-strong: #b9e4f6;
  --blood: #c0392b;
  --destructive: #ff8a7a;
  --radius-control: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--abyss); color: var(--bone); font: 16px/1.6 var(--sans); }
a { color: var(--ice); }
a:hover { color: var(--ice-strong); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: var(--mist); }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; color: var(--ice); font-weight: 600; }
.wrap { padding: 0 clamp(1rem, 5vw, 4rem); }
.section { padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem); }
.section.alt { background: var(--deep); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1rem, 5vw, 4rem); background: rgba(11, 20, 32, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--bone); text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--ice); }
.nav { display: flex; gap: clamp(.6rem, 2vw, 1.6rem); align-items: center; flex-wrap: wrap; }
.nav a { color: var(--mist); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.cart-btn { background: none; border: 1px solid var(--line); color: var(--bone); border-radius: var(--radius-control); padding: .4rem .8rem; font: inherit; font-size: .9rem; cursor: pointer; }
.cart-btn:hover { border-color: var(--ice); }
.cart-count { color: var(--ice); font-weight: 700; margin-left: .3rem; }

/* buttons */
.btn { display: inline-block; border: 0; border-radius: var(--radius-control); padding: .8rem 1.4rem; font: 600 1rem var(--sans); cursor: pointer; text-decoration: none; text-align: center; }
.btn-primary { background: var(--ice); color: var(--abyss); }
.btn-primary:hover { background: var(--ice-strong); color: var(--abyss); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--bone); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ice); color: var(--bone); }
.text-btn { background: none; border: 0; color: var(--ice); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.chip { background: var(--reef); color: var(--bone); border: 1px solid var(--line); border-radius: var(--radius-control); padding: .45rem .9rem; font: inherit; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--ice); color: var(--ice); }
.chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.swatch { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { border-color: var(--ice); box-shadow: 0 0 0 2px var(--abyss), 0 0 0 4px var(--ice); }
.swatch:disabled { opacity: .35; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-control); }
.stepper button { background: none; border: 0; color: var(--bone); width: 2.2rem; height: 2.2rem; font-size: 1.1rem; cursor: pointer; }
.stepper button:disabled { opacity: .4; }
.stepper span { min-width: 2rem; text-align: center; }
.ribbon { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; background: var(--blood); color: #fff; padding: .2rem .5rem; border-radius: var(--radius-control); margin-right: .3rem; }
.error { color: var(--destructive); }
select, input, textarea { background: var(--deep); color: var(--bone); border: 1px solid var(--line); border-radius: var(--radius-md); padding: .65rem .8rem; font: inherit; width: 100%; }
select:focus, input:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
input[type="checkbox"] { width: auto; }

/* hero */
.hero { position: relative; min-height: 78vh; display: grid; align-items: end; padding: clamp(3rem, 10vw, 7rem) clamp(1rem, 5vw, 4rem); overflow: hidden;
  background: radial-gradient(120% 80% at 80% 0%, #1e3a52 0%, transparent 60%), linear-gradient(180deg, #0f1c2b 0%, #0b1420 70%); }
.hero svg.waves { position: absolute; inset: auto 0 0 0; width: 100%; height: 45%; }
.hero-inner { position: relative; max-width: 46rem; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--mist); }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero .place { margin-top: 2rem; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.5rem; }
.pillar { border-top: 2px solid var(--ice); padding-top: 1.2rem; }
.pillar.red { border-color: var(--blood); }
.pillar a { font-weight: 600; text-decoration: none; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.5rem; }
.tile { display: flex; flex-direction: column; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s; }
.tile:hover { border-color: var(--ice); }
.tile a.tile-link { color: inherit; text-decoration: none; display: block; }
.tile .img { aspect-ratio: 1; background: var(--reef); }
.tile .img img { width: 100%; height: 100%; object-fit: cover; }
.tile .body { padding: 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.tile h3 { font-size: 1.05rem; margin: 0; }
.tile .price { color: var(--ice); font-weight: 600; }
.tile .price s { color: var(--mist); font-weight: 400; margin-left: .4rem; }
.tile .foot { padding: 0 1rem 1rem; }
.tile .foot .btn { width: 100%; padding: .6rem; font-size: .9rem; }
.dots { display: flex; gap: .3rem; }
.dots i { width: .8rem; height: .8rem; border-radius: 50%; display: inline-block; border: 1px solid var(--line); }
.dim { opacity: .55; transition: opacity .2s; }

/* shop */
.shop-layout { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; }
@media (max-width: 760px) { .shop-layout { grid-template-columns: 1fr; } }
.filters h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mist); margin-top: 1.4rem; }
.filters .facet-choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.price-pair { display: flex; gap: .5rem; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.toolbar select { width: auto; }
.cats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }

/* product page */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; } }
.pdp .main-img { background: var(--deep); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; }
.pdp .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .5rem; margin-top: .6rem; }
.thumbs img { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--line); }
.crumbs { font-size: .85rem; color: var(--mist); margin-bottom: 1rem; }
.crumbs a { color: var(--mist); }
.pdp .price { font-size: 1.6rem; color: var(--ice); font-weight: 700; }
.pdp .price s { color: var(--mist); font-size: 1rem; font-weight: 400; margin-left: .5rem; }
.pdp fieldset { border: 0; padding: 0; margin: 1.2rem 0; }
.pdp legend { font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mist); margin-bottom: .5rem; }
.pdp .choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.buy-row { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin: 1.5rem 0 .5rem; }
.desc { color: var(--mist); }
.info details { border-top: 1px solid var(--line); padding: .9rem 0; }
.info summary { cursor: pointer; font-weight: 600; }

/* club */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; }
.plan { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.plan.featured { border-color: var(--ice); }
.plan .amount { font-family: var(--serif); font-size: 2rem; }
.plan .amount small { font-family: var(--sans); font-size: .9rem; color: var(--mist); margin-left: .3rem; }
.plan ul { padding-left: 1.1rem; margin: .4rem 0 1rem; color: var(--mist); flex: 1; }
.plan li { margin-bottom: .3rem; }

/* form */
.form-wrap { max-width: 42rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .help { font-size: .85rem; color: var(--mist); margin: .3rem 0 0; }
.field.check label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.req { color: var(--ice); }

/* cart drawer */
.backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(26rem, 100%); background: var(--deep); border-left: 1px solid var(--line); z-index: 41; display: flex; flex-direction: column; }
.drawer header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer .lines { flex: 1; overflow: auto; padding: 1rem 1.2rem; }
.line { display: grid; grid-template-columns: 4rem 1fr; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 4rem; height: 4rem; object-fit: cover; border-radius: var(--radius-md); }
.line .row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .4rem; }
.drawer footer { padding: 1rem 1.2rem; border-top: 1px solid var(--line); }
.drawer footer .tot { display: flex; justify-content: space-between; margin-bottom: .3rem; }
.drawer footer .btn { width: 100%; margin-top: .8rem; }
body.locked { overflow: hidden; }

/* footer */
.site-footer { padding: 3rem clamp(1rem, 5vw, 4rem); border-top: 1px solid var(--line); color: var(--mist); font-size: .9rem; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer .brand { font-size: 1.1rem; }
.state { padding: 2rem 0; color: var(--mist); }