/* Saltwell storefront */
:root {
  --paper: #f5f0e7; --paper-2: #ebe4d6; --ink: #10201f; --ink-soft: #4d5a57; --line: rgba(16,32,31,.14);
  --sea: #0f3836; --sea-2: #175450; --gold: #b58a3c; --gold-soft: #e7cf9a; --blush: #ead8cc; --sage: #d3dccb; --sand: #e9dfca;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: min(1240px, 100% - 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-style: italic; }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* announcement + header */
.announce { background: var(--sea); color: var(--paper); text-align: center; font-size: .8rem; letter-spacing: .06em; padding: 8px 16px; }
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { font-family: var(--serif); font-size: 1.55rem; letter-spacing: -.03em; font-style: italic; }
.logo b { font-weight: 400; font-style: normal; color: var(--gold); }
.nav { display: flex; gap: 28px; font-size: .92rem; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.bag-btn { font-size: .92rem; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 99px; transition: background .25s, color .25s; }
.bag-btn:hover { background: var(--ink); color: var(--paper); }
.bag-count { min-width: 20px; height: 20px; border-radius: 99px; background: var(--gold); color: #fff; font-size: .72rem; display: grid; place-items: center; padding: 0 5px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: .95rem; letter-spacing: .02em; transition: transform .3s var(--ease), background .3s; }
.btn:hover { background: var(--sea-2); transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.block { width: 100%; }
.link-arrow { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: .95rem; }

/* hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 9.2vw, 8.4rem); margin: 18px 0 26px; }
.hero h1 em { color: var(--sea-2); }
.hero p.lede { max-width: 30em; font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.arch { position: relative; aspect-ratio: 4 / 5.2; border-radius: 999px 999px 18px 18px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, #1f6f69 0%, var(--sea) 55%, #082221 100%); box-shadow: 0 40px 80px -40px rgba(8,34,33,.7); }
.arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ripple { fill: none; stroke: rgba(231,207,154,.5); stroke-width: 1; transform-origin: 200px 430px; animation: ripple 6s linear infinite; opacity: 0; }
.ripple:nth-of-type(2) { animation-delay: 1.5s; } .ripple:nth-of-type(3) { animation-delay: 3s; } .ripple:nth-of-type(4) { animation-delay: 4.5s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.sway { transform-origin: 200px 40px; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.drop { animation: drop 6s cubic-bezier(.6,0,.9,.4) infinite; }
@keyframes drop { 0%, 20% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 55% { transform: translateY(150px); opacity: 1; } 58%, 100% { transform: translateY(150px); opacity: 0; } }
.arch-tag { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--gold-soft); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--paper-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 36s linear infinite; font-family: var(--serif); font-style: italic; font-size: 1.35rem; }
.marquee-track span::after { content: "✦"; font-style: normal; color: var(--gold); margin-left: 48px; font-size: .9rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section.block { padding: clamp(56px, 8vw, 120px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); max-width: 12em; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); }
.card { display: block; }
.card-art { aspect-ratio: 1 / 1.12; border-radius: 16px; display: grid; place-items: center; overflow: hidden; position: relative; }
.card-art svg { width: 78%; transition: transform .7s var(--ease); filter: drop-shadow(0 10px 14px rgba(0,0,0,.18)); }
.card:hover .card-art svg { transform: scale(1.08) rotate(-3deg); }
.card-art::after { content: "View"; position: absolute; right: 12px; bottom: 12px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; background: var(--paper); color: var(--ink); padding: 6px 12px; border-radius: 99px; opacity: 0; transform: translateY(8px); transition: .35s var(--ease); }
.card:hover .card-art::after { opacity: 1; transform: none; }
.card-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; align-items: baseline; }
.card-meta h3 { font-size: 1.22rem; }
.card-type { font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.tone-sea { background: linear-gradient(160deg, #1b5b56, var(--sea)); }
.tone-ink { background: linear-gradient(160deg, #24393a, #0c1a1a); }
.tone-sand { background: linear-gradient(160deg, #f1e8d6, var(--sand)); }
.tone-blush { background: linear-gradient(160deg, #f3e5db, var(--blush)); }
.tone-sage { background: linear-gradient(160deg, #e0e7d9, var(--sage)); }

/* proof */
.proof { background: var(--sea); color: var(--paper); border-radius: 28px; padding: clamp(32px, 6vw, 80px); }
.proof .eyebrow { color: var(--gold-soft); }
.proof h2 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); margin: 14px 0 clamp(28px, 4vw, 56px); max-width: 13em; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.proof-item { border-top: 1px solid rgba(245,240,231,.25); padding-top: 20px; }
.proof-item .num { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--gold-soft); line-height: 1; }
.proof-item h3 { font-size: 1.5rem; margin: 12px 0 8px; }
.proof-item p { color: rgba(245,240,231,.74); font-size: .96rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.split h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin: 14px 0 20px; }
.split p + p { margin-top: 14px; }
.split .muted { color: var(--ink-soft); }
.spec { margin-top: 26px; border-top: 1px solid var(--line); }
.spec div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spec dt { color: var(--ink-soft); } .spec dd { margin: 0; text-align: right; }
.layers { aspect-ratio: 1; border-radius: 28px; background: var(--paper-2); display: grid; place-items: center; }
.layers svg { width: 82%; }

/* newsletter */
.signup { text-align: center; }
.signup h2 { font-size: clamp(2.2rem, 5.6vw, 4.8rem); margin: 14px auto 18px; max-width: 12em; }
.signup p { color: var(--ink-soft); max-width: 34em; margin: 0 auto 26px; }
.signup form { display: flex; gap: 10px; max-width: 470px; margin: 0 auto; }
.signup input { flex: 1; min-width: 0; padding: 15px 20px; border-radius: 99px; border: 1px solid var(--ink); background: transparent; font: inherit; color: inherit; }
.form-note { margin-top: 14px; font-size: .9rem; color: var(--sea-2); min-height: 1.4em; }

/* footer */
.site-foot { background: var(--ink); color: var(--paper); padding: clamp(44px, 6vw, 80px) 0 28px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-foot .logo { font-size: 2.6rem; }
.site-foot p { color: rgba(245,240,231,.62); font-size: .92rem; max-width: 26em; margin-top: 12px; }
.site-foot h4 { font: 500 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 14px; }
.site-foot li { margin-bottom: 9px; font-size: .94rem; } .site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot a:hover { color: var(--gold-soft); }
.foot-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(245,240,231,.16); font-size: .8rem; color: rgba(245,240,231,.5); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* page head, shop */
.page-head { padding: clamp(40px, 6vw, 84px) 0 clamp(24px, 3vw, 40px); }
.page-head h1 { font-size: clamp(2.8rem, 8vw, 6.6rem); margin-top: 14px; }
.page-head p { color: var(--ink-soft); max-width: 36em; margin-top: 18px; font-size: 1.05rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: .9rem; transition: .25s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* product page */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); padding: clamp(24px, 4vw, 56px) 0 clamp(48px, 6vw, 96px); align-items: start; }
.pdp-art { position: sticky; top: 92px; aspect-ratio: 1 / 1.08; border-radius: 24px; display: grid; place-items: center; overflow: hidden; }
.pdp-art svg { width: 72%; filter: drop-shadow(0 18px 22px rgba(0,0,0,.22)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(-6px) rotate(-1.5deg); } 50% { transform: translateY(6px) rotate(1.5deg); } }
.crumbs { font-size: .84rem; color: var(--ink-soft); margin-bottom: 18px; } .crumbs a:hover { color: var(--ink); }
.pdp h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.pdp-price { font-size: 1.4rem; margin: 14px 0 18px; }
.pdp-blurb { color: var(--ink-soft); font-size: 1.05rem; max-width: 32em; }
.opt { margin-top: 26px; } .opt-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.opt-label b { color: var(--ink); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .94rem; margin-left: 6px; }
.swatches, .sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.swatch[data-finish="gold"] { background: linear-gradient(135deg, #f3d996, #b58a3c); } .swatch[data-finish="silver"] { background: linear-gradient(135deg, #f4f6f8, #98a3ac); }
.swatch[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border: 1px solid var(--ink); border-radius: 50%; }
.size { min-width: 48px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .92rem; transition: .2s; }
.size:hover { border-color: var(--ink); } .size[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pdp .btn.block { margin-top: 28px; }
.pdp-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; font-size: .95rem; }
.pdp-points li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: .8rem; }
details { border-bottom: 1px solid var(--line); } details:first-of-type { border-top: 1px solid var(--line); margin-top: 30px; }
summary { list-style: none; cursor: pointer; padding: 17px 0; display: flex; justify-content: space-between; font-size: 1rem; }
summary::-webkit-details-marker { display: none; } summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details .body { padding: 0 0 18px; color: var(--ink-soft); font-size: .96rem; } details .body p + p { margin-top: 10px; }

/* prose pages */
.prose { max-width: 760px; padding-bottom: clamp(48px, 6vw, 96px); }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 48px 0 14px; scroll-margin-top: 92px; }
.prose p, .prose li { color: var(--ink-soft); } .prose p + p { margin-top: 12px; } .prose ul { padding-left: 20px; }
.prose a { border-bottom: 1px solid currentColor; color: var(--ink); }
mark.todo { background: #fbe9a8; color: #4a3b00; padding: 1px 6px; border-radius: 4px; font-size: .92em; }

/* cart drawer */
.scrim { position: fixed; inset: 0; background: rgba(8,20,20,.45); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 60; }
.drawer { position: fixed; top: 0; right: 0; height: 100dvh; width: min(440px, 100%); background: var(--paper); z-index: 70; transform: translateX(102%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
body.bag-open .scrim { opacity: 1; pointer-events: auto; } body.bag-open .drawer { transform: none; } body.bag-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; } .drawer-head button { font-size: .9rem; border-bottom: 1px solid currentColor; }
.ship-bar { padding: 14px 24px; font-size: .86rem; border-bottom: 1px solid var(--line); }
.ship-bar i { display: block; height: 4px; background: var(--paper-2); border-radius: 9px; margin-top: 8px; overflow: hidden; }
.ship-bar i b { display: block; height: 100%; background: var(--gold); border-radius: 9px; transition: width .5s var(--ease); }
.drawer-items { flex: 1; overflow-y: auto; padding: 6px 24px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-art { width: 76px; height: 84px; border-radius: 10px; display: grid; place-items: center; } .line-art svg { width: 76%; }
.line h3 { font-size: 1.1rem; } .line small { color: var(--ink-soft); font-size: .82rem; display: block; margin: 2px 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; } .qty button { width: 30px; height: 28px; } .qty span { min-width: 22px; text-align: center; font-size: .88rem; }
.line-price { text-align: right; font-size: .95rem; } .line-price button { display: block; margin: 8px 0 0 auto; font-size: .78rem; color: var(--ink-soft); border-bottom: 1px solid currentColor; }
.empty { text-align: center; padding: 60px 10px; color: var(--ink-soft); } .empty .btn { margin-top: 18px; }
.drawer-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.subtotal { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 6px; } .drawer-foot small { color: var(--ink-soft); display: block; margin-bottom: 16px; }
.co-note { margin-top: 12px; font-size: .86rem; color: #7a4b00; background: #fbe9a8; padding: 10px 12px; border-radius: 10px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--ink); color: var(--paper); padding: 12px 22px; border-radius: 99px; font-size: .9rem; opacity: 0; transition: .4s var(--ease); z-index: 80; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero .wrap, .split, .pdp { grid-template-columns: 1fr; }
  .arch { max-width: 420px; margin-inline: auto; width: 100%; }
  .pdp-art { position: static; }
  .proof-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .signup form { flex-direction: column; }
  .card-meta { flex-direction: column; gap: 0; }
  .card-meta h3 { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================== Hailstone theme (overrides the base above) ===================== */
:root {
  --paper: #0a0a0b; --paper-2: #141416; --ink: #f4f2ed; --ink-soft: #a29f98; --line: rgba(244,242,237,.14);
  --sea: #141416; --sea-2: #e6c66e; --gold: #d2a84a; --gold-soft: #f0dca3;
  --serif: "Archivo", "Arial Narrow", Arial, sans-serif;
}
h1, h2, h3 { font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: .98; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
.announce { background: var(--gold); color: #0a0a0b; font-weight: 500; }
.logo { font-style: normal; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; }
.logo b { font-weight: 900; }
.btn { font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .84rem; }
.btn:hover { background: var(--gold); color: #0a0a0b; }
.bag-btn { border-color: var(--line); } .bag-count { color: #0a0a0b; }
.hero h1 { font-size: clamp(3.2rem, 10vw, 9rem); }
.hero h1 em { color: var(--gold); }
.arch { border-radius: 22px; background: radial-gradient(90% 70% at 50% 35%, #2a2416 0%, #111 55%, #050505 100%); border: 1px solid var(--line); box-shadow: none; display: grid; place-items: center; }
.arch svg { position: static; width: 86%; height: auto; filter: drop-shadow(0 0 28px rgba(210,168,74,.35)); animation: float 7s ease-in-out infinite; }
.arch-tag { color: var(--gold-soft); }
.marquee { background: var(--paper-2); } .marquee-track { font-weight: 800; text-transform: uppercase; font-style: normal; font-size: 1.15rem; letter-spacing: .02em; }
.card-art { border: 1px solid var(--line); }
.card-art svg { filter: drop-shadow(0 0 14px rgba(255,255,255,.14)); }
.card-art::after { background: var(--ink); color: #0a0a0b; }
.card-meta h3 { font-size: 1.02rem; letter-spacing: 0; line-height: 1.2; }
.badge { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; background: var(--gold); color: #0a0a0b; padding: 5px 10px; border-radius: 99px; font-weight: 500; }
.tone-a { background: radial-gradient(80% 80% at 50% 40%, #23201a, #0d0d0e); }
.tone-b { background: radial-gradient(80% 80% at 50% 40%, #1b2026, #0c0d0f); }
.tone-c { background: radial-gradient(80% 80% at 50% 40%, #26211c, #0e0d0c); }
.tone-d { background: radial-gradient(80% 80% at 50% 40%, #1f1f22, #0c0c0d); }
.tone-m { background: radial-gradient(80% 80% at 50% 40%, #1a2530, #0a0d11); }
.proof { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); }
.proof-item { border-top-color: var(--line); } .proof-item p { color: var(--ink-soft); }
.proof-item .num { font-style: normal; font-weight: 800; color: var(--gold); }
.spec dd b { color: var(--gold); font-weight: 500; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.compare > div { border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 40px); background: var(--paper-2); }
.compare h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 10px 0 12px; }
.compare p { color: var(--ink-soft); } .compare .spec { margin-top: 18px; } .compare .btn { margin-top: 22px; }
.signup input { border-color: var(--line); }
.site-foot { background: #050505; color: var(--ink); border-top: 1px solid var(--line); }
.site-foot .logo { font-size: 1.8rem; }
.pdp h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.swatch[data-finish="white"] { background: linear-gradient(135deg, #ffffff, #98a3ac); }
.co-note { color: #3b2a00; }
.prose h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
.prose b { color: var(--ink); }
@media (max-width: 980px) { .compare { grid-template-columns: 1fr; } }
