/* ============================================================
   Sealed: store styles
   Colours and fonts live in :root below. Change them there and
   the whole site follows.
   ============================================================ */

/* Fonts are stored in /fonts so the site makes no calls to Google. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-variable.woff2") format("woff2-variations"),
       url("fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-variable.woff2") format("woff2-variations"),
       url("fonts/jetbrains-mono-variable.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --spruce: #11292a;        /* page background */
  --spruce-2: #173637;      /* raised panels */
  --spruce-3: #1f4344;      /* hover / borders on panels */
  --line: #2a4b4b;          /* dividers */
  --frost: #e6eeeb;         /* main text */
  --sage: #9db3ad;          /* secondary text */
  --brass: #d6bb7b;         /* accent */
  --brass-hi: #e6cd93;      /* accent hover */
  --ink: #0d2021;           /* text on brass */

  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 14px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--spruce);
  color: var(--frost);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

svg { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.skip {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 50;
  background: var(--brass);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.text-link {
  color: var(--frost);
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--brass-hi); }

.fine {
  font-size: 0.875rem;
  color: var(--sage);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-hi); }
.btn-ghost { background: transparent; color: var(--frost); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sage); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 41, 42, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--frost);
  text-decoration: none;
  font-weight: 800;
  font-stretch: 125%;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}
.wordmark .seal-mark { color: var(--brass); }
.wordmark-small { font-size: 1.1rem; margin-bottom: 14px; }

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  color: var(--sage);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--frost); }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--frost);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s;
}
.cart-btn:hover { border-color: var(--sage); }
.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--spruce-3);
  color: var(--frost);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  transition: background-color .2s, color .2s;
}
.cart-count.has-items { background: var(--brass); color: var(--ink); }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .cart-btn { margin-left: auto; }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(72px, 10vw, 136px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.hero-title {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(2.9rem, 6.6vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.hero-title .line { display: block; }
.hero-title .word { white-space: nowrap; }
.hero-title .ch { display: inline-block; text-align: center; }
.hero-title .ch.is-cipher { color: var(--brass); }

/* Hide the headline until the decrypt effect has prepared it, so the
   plain text doesn't flash first. app.js removes this. */
.js .hero-title { visibility: hidden; }
.js.title-ready .hero-title { visibility: visible; }

.lede {
  max-width: 44ch;
  margin-top: 32px;
  font-size: clamp(1.125rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--frost);
  opacity: .82;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-fine { margin-top: 22px; }

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(310px, 80vw);
  aspect-ratio: 310 / 650;
  padding: 11px;
  border-radius: 48px;
  background: linear-gradient(150deg, #47514f 0%, #1d2524 38%, #2a3332 70%, #3b4543 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .08),
    0 50px 90px -40px rgba(0, 0, 0, .75),
    0 0 0 1px rgba(0, 0, 0, .35);
}
/* side buttons */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #3a4442;
}
.phone::before { top: 22%; height: 9%; }
.phone::after { top: 34%; height: 15%; }

.phone-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 22px;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(90% 55% at 85% 8%, rgba(214, 187, 123, .16) 0%, transparent 60%),
    radial-gradient(120% 80% at 10% 100%, #1d4746 0%, transparent 60%),
    #0e2223;
}
/* punch-hole camera */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 11px;
  height: 11px;
  margin-left: -5.5px;
  border-radius: 50%;
  background: #040a0a;
  box-shadow: inset 0 0 0 2px #0b1415;
}

.ps-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  opacity: .85;
  padding-inline: 4px;
}
.ps-icons { display: flex; align-items: center; gap: 6px; }
.ps-bars { display: flex; align-items: flex-end; gap: 1.5px; height: 9px; }
.ps-bars b { display: block; width: 2.5px; background: var(--frost); border-radius: 1px; }
.ps-bars b:nth-child(1) { height: 3px; }
.ps-bars b:nth-child(2) { height: 5px; }
.ps-bars b:nth-child(3) { height: 7px; }
.ps-bars b:nth-child(4) { height: 9px; }
.ps-batt {
  position: relative;
  width: 18px;
  height: 9px;
  border: 1.3px solid var(--frost);
  border-radius: 2.5px;
}
.ps-batt::after {
  content: "";
  position: absolute;
  inset: 1px 4px 1px 1px;
  background: var(--frost);
  border-radius: 1px;
}

.ps-clock {
  margin-top: 40px;
  font-size: 3.6rem;
  font-weight: 250;
  font-stretch: 115%;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.ps-date {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--sage);
}

.ps-card {
  margin-top: 28px;
  padding: 14px 16px 16px;
  border-radius: 20px;
  background: rgba(230, 238, 235, .06);
  border: 1px solid rgba(230, 238, 235, .08);
}
.ps-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--brass);
}
.ps-card-sub {
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--sage);
}
.ps-hash {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--frost);
  opacity: .9;
}

.ps-rows {
  margin-top: 14px;
  display: grid;
  gap: 1px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(230, 238, 235, .06);
}
.ps-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.72rem;
  background: #10292a;
}
.ps-row span:first-child { color: var(--sage); }
.ps-row span:last-child { font-weight: 600; }

.ps-lock {
  margin-top: auto;
  display: flex;
  justify-content: center;
  color: var(--frost);
  opacity: .75;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .hero-phone { justify-content: center; }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(80px, 10vw, 136px);
  border-top: 1px solid var(--line);
}

.section-head h2 {
  font-weight: 760;
  font-stretch: 118%;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.section-head p {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--sage);
  font-size: 1.125rem;
}

/* ---------- Comparison table ---------- */

.compare {
  width: 100%;
  margin-top: 56px;
  border-collapse: separate;
  border-spacing: 0;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 20px 24px;
}
.compare thead th {
  padding-top: 22px;
  padding-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 650;
}
.compare thead .col-stock { color: var(--sage); }
.compare thead .col-sealed {
  color: var(--brass);
  background: var(--spruce-2);
  border-radius: var(--radius) var(--radius) 0 0;
}
.compare tbody th,
.compare tbody td { border-top: 1px solid var(--line); }
.compare tbody th {
  width: 26%;
  padding-left: 0;
  font-weight: 650;
}
.compare td.stock { width: 33%; color: var(--sage); }
.compare td.sealed {
  background: var(--spruce-2);
  border-top-color: var(--spruce-3);
  padding-left: 54px;
  position: relative;
}
.compare td.sealed::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 16px;
  height: 16px;
  background: var(--brass);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.compare tbody tr:last-child td.sealed {
  border-radius: 0 0 var(--radius) var(--radius);
}

@media (max-width: 760px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare tbody tr {
    padding: 22px 0;
    border-top: 1px solid var(--line);
  }
  .compare tbody th,
  .compare tbody td { border-top: 0; }
  .compare tbody th { width: auto; padding: 0 0 12px; font-size: 1.1rem; }
  .compare td.stock { width: auto; padding: 0 0 10px; }
  .compare td.stock::before {
    display: block;
    font-size: 0.8rem;
    color: var(--sage);
    opacity: .8;
  }
  .compare td.stock::before { content: attr(data-label); margin-bottom: 2px; }
  .compare td.sealed {
    border-radius: 12px;
    padding: 12px 14px 12px 42px;
  }
  .compare tbody tr:last-child td.sealed { border-radius: 12px; }
  .compare td.sealed::before { left: 15px; top: 16px; }
}

/* ---------- Catalog ---------- */

.catalog {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.product {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3.2fr) minmax(0, 4.8fr);
  grid-template-areas:
    "name  name  price"
    "blurb specs buy";
  gap: 22px 44px;
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}

.product-name {
  grid-area: name;
  font-weight: 750;
  font-stretch: 125%;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-price {
  grid-area: price;
  justify-self: end;
  align-self: end;
  font-weight: 700;
  font-stretch: 110%;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}

.product-blurb {
  grid-area: blurb;
  max-width: 38ch;
  color: var(--sage);
}

.product-specs {
  grid-area: specs;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0 28px;
}
.product-specs div { min-width: 0; }
.product-specs dt { font-size: 0.8rem; color: var(--sage); }
.product-specs dd { margin: 2px 0 0; font-weight: 600; white-space: nowrap; }

.product-buy {
  grid-area: buy;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.storage {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color .15s, color .15s, background-color .15s;
}
.chip:hover span { border-color: var(--sage); color: var(--frost); }
.chip input:checked + span {
  border-color: var(--brass);
  color: var(--frost);
  background: rgba(214, 187, 123, .1);
}
.chip input:focus-visible + span {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.product .add { min-height: 48px; }

@media (max-width: 980px) {
  .product {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name  price"
      "blurb blurb"
      "specs specs"
      "buy   buy";
    gap: 18px 24px;
  }
  .product-buy { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .product {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "price" "blurb" "specs" "buy";
  }
  .product-price { justify-self: start; }
  .product .add { width: 100%; }
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  counter-reset: step;
}
.step {
  counter-increment: step;
  padding-top: 26px;
  border-top: 2px solid var(--line);
}
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 22px;
  font-weight: 800;
  font-stretch: 125%;
  font-size: 3rem;
  line-height: 1;
  color: var(--brass);
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.25;
  margin-bottom: 10px;
}
.step p { color: var(--sage); font-size: 1rem; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 48px 72px;
  align-items: start;
}
.faq-head { position: sticky; top: calc(var(--nav-h) + 32px); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 650;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--brass), var(--brass)) center / 100% 2px no-repeat,
    linear-gradient(var(--brass), var(--brass)) center / 2px 100% no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--brass-hi); }
.faq-item p {
  max-width: 62ch;
  padding-bottom: 26px;
  color: var(--sage);
}

@media (max-width: 860px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 64px;
  color: var(--sage);
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.footer p + p { margin-top: 4px; }
.legal { max-width: 52ch; }

/* ---------- Cart drawer ---------- */

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(440px, 100vw);
  max-width: 100vw;
  height: 100%;
  max-height: 100%;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--spruce-2);
  color: var(--frost);
}
.drawer[open] {
  display: flex;
  flex-direction: column;
  animation: drawer-in .28s cubic-bezier(.2, .8, .2, 1);
}
.drawer::backdrop {
  background: rgba(4, 14, 14, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
@keyframes drawer-in {
  from { transform: translateX(32px); opacity: 0; }
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px 18px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 {
  font-size: 1.3rem;
  font-weight: 750;
  font-stretch: 118%;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--frost);
  cursor: pointer;
}
.icon-btn:hover { background: var(--spruce-3); }

.view { display: none; flex: 1; min-height: 0; flex-direction: column; }
.drawer[data-view="cart"] .view-cart,
.drawer[data-view="form"] .view-form,
.drawer[data-view="sent"] .view-sent { display: flex; }

.drawer-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 8px 24px 24px;
}
.drawer-foot {
  display: grid;
  gap: 10px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
}
.subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.05rem;
}
.subtotal strong {
  font-size: 1.4rem;
  font-weight: 750;
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
}
.drawer-foot .fine { margin-bottom: 6px; }

.cart-items { list-style: none; margin: 0; padding: 0; }
.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-name { font-weight: 700; font-stretch: 110%; font-size: 1.05rem; }
.cart-item-opt { color: var(--sage); font-size: 0.9rem; }
.cart-item-price {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.cart-item-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.qty button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--frost);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
}
.qty button:hover { background: var(--spruce-3); }
.qty output { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.remove {
  border: 0;
  background: none;
  padding: 6px 0;
  color: var(--sage);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.remove:hover { color: var(--frost); }

.cart-empty { padding: 28px 0; color: var(--sage); }

/* order form */
.form-intro { padding: 14px 0 22px; color: var(--sage); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-size: 0.9rem; font-weight: 600; }
.optional { color: var(--sage); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--spruce);
  color: var(--frost);
  font: inherit;
  font-size: 1rem;
}
.field textarea { resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%), linear-gradient(135deg, var(--sage) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 1px; border-color: var(--brass); }
.field-error { display: none; font-size: 0.85rem; color: #f0a58f; }
.field.has-error input { border-color: #f0a58f; }
.field.has-error .field-error { display: block; }

.sent-body { padding-top: 40px; }
.sent-body svg { color: var(--brass); margin-bottom: 20px; }
.sent-body h3 { font-size: 1.5rem; font-weight: 750; font-stretch: 115%; margin-bottom: 10px; }
.sent-body p { color: var(--sage); }
.sent-body p + p { margin-top: 16px; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 32px);
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: var(--frost);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.toast.is-on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.toast button {
  flex: none;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--frost);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Coming-soon models ---------- */
.product-note {
  color: var(--sage);
  font-size: 0.9rem;
  max-width: 34ch;
  text-align: right;
}
.product.is-soon .product-name,
.product.is-soon .product-price { opacity: .55; }
@media (max-width: 980px) {
  .product-note { text-align: left; }
}
