/* Brushwell — direction A, "Parcel label".
   White label cards on a cool sorting-table grey, hairline rules, Archivo, one cobalt accent. */

@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../assets/fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --table: #e6e9ed;
  --label: #ffffff;
  --well: #f3f5f7;
  --ink: #14171d;
  --ink-2: #3d4452;
  --rule: #c9ced6;
  --rule-soft: #dde1e7;
  --field: #8d95a3;
  --cobalt: #1f3fd1;
  --cobalt-deep: #1832a8;
  --cobalt-tint: #e9edfc;
  --error: #b3261e;
  --error-tint: #fdeceb;
  --shadow: 0 1px 2px rgb(20 23 29 / .06), 0 8px 24px -12px rgb(20 23 29 / .18);
  --shadow-up: 0 1px 2px rgb(20 23 29 / .06), 0 16px 32px -14px rgb(20 23 29 / .28);
  --r: 6px;
  --gutter: 1rem;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--table); color: var(--ink); font: 400 1rem/1.55 "Archivo", system-ui, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
::selection { background: var(--cobalt); color: #fff; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 3px; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums; }
.caps { font-stretch: 75%; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .8rem; color: var(--ink-2); }
.fine { font-size: .9rem; color: var(--ink-2); margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: var(--label); padding: .7rem 1rem; border-radius: 4px; z-index: 10; }
.skip:focus { top: 1rem; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
@media (min-width: 700px) { :root { --gutter: 1.5rem; } }

/* ---------------------------------------------------------------- header / footer */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .5rem; padding: .75rem 0; }
.mark { display: inline-flex; align-items: flex-end; min-height: 44px; padding: .55rem 0 4px; font-stretch: 125%; font-weight: 600; font-size: clamp(.9rem, 3.6vw, 1.05rem); letter-spacing: clamp(.18em, 1.2vw, .32em); text-transform: uppercase; text-decoration: none; border-bottom: 3px double var(--ink); line-height: 1.2; }
.top nav { display: flex; flex-wrap: wrap; }
.top nav a { text-decoration: none; padding: .75rem .55rem; color: var(--ink-2); font-size: .95rem; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
@media (max-width: 360px) { .top nav a { padding-inline: .4rem; } }

.foot { border-top: 1px solid var(--rule); margin-top: 0; padding: 1.75rem 0 3rem; font-size: .9rem; color: var(--ink-2); }
.foot-grid { display: grid; gap: 1.25rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 .25rem; margin-left: -.5rem; }
.foot nav a { padding: .75rem .5rem; color: var(--ink); display: inline-flex; min-height: 44px; align-items: center; }
.foot p { margin: 0; max-width: 60ch; }
.foot .credit { margin-top: .4rem; font-size: .85rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1fr auto; align-items: start; } }

/* ---------------------------------------------------------------- the label */
.label { background: var(--label); border-radius: var(--r); box-shadow: var(--shadow); }
.label > * + * { border-top: 1px solid var(--rule); }
.cell { padding: 1rem 1.1rem; }
@media (min-width: 700px) { .cell { padding-inline: 1.4rem; } }
.cell-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; }

.kit-title { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.3rem); font-weight: 600; letter-spacing: -.01em; }

/* ---------------------------------------------------------------- buttons */
.btn, .thumb, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.btn { appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; min-height: 48px; padding: .75rem 1.4rem; border-radius: 4px; background: var(--cobalt); color: var(--label); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background-color .2s ease, transform .2s var(--ease); }
.btn:hover { background: var(--cobalt-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.wide { width: 100%; }
.btn.quiet { background: var(--label); color: var(--ink); box-shadow: inset 0 0 0 1px var(--field); }
.btn.quiet:hover { background: var(--well); }

/* ---------------------------------------------------------------- homepage hero */
.hero { display: grid; gap: 1.25rem; padding: .25rem 0 3rem; }
.hero h1 { font-size: clamp(1.95rem, 7.4vw, 4.2rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 500; font-stretch: 88%; margin: 0; max-width: 14ch; }
.hero .lede { margin: .9rem 0 0; color: var(--ink-2); max-width: 44ch; font-size: 1.05rem; }
.hero .intro { padding-block: 1.5rem 1.4rem; }
.contents { list-style: none; margin: 0; padding: 0; }
.contents li + li { border-top: 1px dashed var(--rule); }
.contents a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .6rem 1.1rem; text-decoration: none; }
@media (min-width: 700px) { .contents a { padding-inline: 1.4rem; } }
.contents a:hover .name { text-decoration: underline; }
.contents img { width: 56px; height: 56px; object-fit: cover; border-radius: 4px; background: var(--well); }
.contents .name { font-weight: 500; line-height: 1.3; }
.contents .for { display: block; font-size: .88rem; color: var(--ink-2); }
.contents .arrow { color: var(--ink-2); font-size: .9rem; }
.sum { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.sum > div { padding: .85rem 1.1rem; }
.sum > div + div { border-left: 1px solid var(--rule); }
.sum dt { font-size: .8rem; color: var(--ink-2); }
.sum dd { margin: .1rem 0 0; font-size: 1.15rem; font-weight: 500; }
.sum .kit dd { font-size: 1.5rem; font-weight: 600; color: var(--cobalt); }
@media (max-width: 520px) {
  .hero .contents .for { display: none; }
  .hero .contents a { padding-block: .45rem; }
  .hero .intro { padding-block: 1.2rem 1.1rem; }
  .hero .lede { font-size: 1rem; margin-top: .7rem; }
  .sum > div { padding-block: .65rem; }
  .sum { grid-template-columns: 1fr 1fr; }
  .sum .kit { grid-column: 1 / -1; grid-row: 1; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--rule); }
  .sum > div + div { border-left: 0; }
  .sum > div:last-child { border-left: 1px solid var(--rule); }
}
.act { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.act .fine, .price-row a { display: inline-flex; min-height: 44px; align-items: center; }
.hero-photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--well); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items: stretch; }
  .hero-photo img { aspect-ratio: auto; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: 1rem 0 3.5rem; }
.sect { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--ink); padding-bottom: .55rem; margin: 0 0 1.25rem; }
.sect h2 { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.3rem); font-weight: 600; letter-spacing: -.015em; }
.sect .fine { white-space: nowrap; }

/* product cards */
.cards { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; height: 100%; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.card .win { aspect-ratio: 1; background: var(--well); border-radius: var(--r) var(--r) 0 0; overflow: hidden; }
.card .win img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: .75rem .85rem .9rem; display: grid; gap: .25rem; flex: 1; align-content: start; }
.card h3 { margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.card .for { font-size: .88rem; color: var(--ink-2); margin: 0; }
.card .foot-row { padding: .6rem .85rem; display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.card .price { font-weight: 600; }
.card .more { font-size: .88rem; color: var(--cobalt); font-weight: 500; }
@media (min-width: 700px) { .card .body, .card .foot-row { padding-inline: 1rem; } }

/* how reserving works: one plain card */
.how .cell > * + * { margin-top: .75rem; }
.how p { margin: 0; max-width: 46rem; color: var(--ink-2); }
.how p:first-child { color: var(--ink); }

/* delivery + about */
.duo { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo h2 { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.3rem); font-weight: 600; }
.duo p { margin: 0; }
.duo .cell > * + * { margin-top: .75rem; }
.countries { list-style: none; margin: 0; padding: 0; }
.countries li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px dashed var(--rule); }
.countries li:first-child { border-top: 0; }
.countries .code { font-stretch: 75%; font-weight: 600; letter-spacing: .08em; color: var(--ink-2); }
.about-photo { margin: 0; overflow: hidden; border-radius: 0 0 var(--r) var(--r); }
.about-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* FAQ */
.faq { max-width: 52rem; }
.faq-end { margin-top: 1.5rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; min-height: 48px; font-weight: 500; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .answer { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 62ch; }
.faq .answer p { margin: 0; }
.faq .answer p + p { margin-top: .6rem; }

/* ---------------------------------------------------------------- product page */
.pp { display: grid; gap: 1.5rem; padding: .5rem 0 2rem; }
.crumb { font-size: .9rem; color: var(--ink-2); margin: 0 0 .75rem; }
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumb a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; }
.crumb li { display: flex; align-items: center; gap: .4rem; }
.gallery { display: grid; gap: .5rem; }
.kit-sum .contents { min-height: 207px; }
.gallery-thumbs:empty { aspect-ratio: 5 / 1; }
.gallery-thumbs { display: grid; gap: .5rem; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gallery .main { aspect-ratio: 1; background: var(--label); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery .main img.cover { object-fit: cover; }
.thumb { padding: 0; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; background: #fff; cursor: pointer; aspect-ratio: 1; min-height: 44px; transition: border-color .2s; }
.thumb:hover { border-color: var(--field); }
.thumb[aria-pressed="true"] { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-info > * + * { margin-top: 1rem; }
.pp h1 { font-size: clamp(1.75rem, 4.8vw, 2.7rem); line-height: 1.06; letter-spacing: -.02em; font-weight: 500; font-stretch: 90%; margin: 0; }
.price-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; }
.big { font-size: 1.65rem; font-weight: 600; }
.pp .short { font-size: 1.08rem; margin-bottom: 0; }
.jump-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
@media (max-width: 899px) { .gallery .main { aspect-ratio: 4 / 3; } }
.pp .desc p { margin: 0; }
.pp .desc p + p { margin-top: .7rem; }
.facts { margin: 0; display: grid; grid-template-columns: 6.5rem 1fr; }
.facts dt, .facts dd { padding: .65rem 0; margin: 0; border-top: 1px dashed var(--rule); }
.facts dt { color: var(--ink-2); font-size: .92rem; }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
@media (min-width: 900px) { .pp { grid-template-columns: 1.05fr 1fr; align-items: start; gap: 2.5rem; } .pp-media { position: sticky; top: 1rem; } }

/* kit block on the kit page */
.kit-sum .sum { border-top: 1px solid var(--rule); }

/* reserve */
.reserve-card .lead { margin: 0; }
.open-row { margin: .9rem 0 0; }
.field { display: grid; gap: .35rem; }
.field label, .field .legend { font-size: .9rem; font-weight: 500; }
.field .hint { font-size: .85rem; color: var(--ink-2); margin: 0; }
.field .err { font-size: .88rem; color: var(--error); margin: 0; font-weight: 500; }
input[type="email"], select { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--field); border-radius: 4px; min-height: 48px; padding: .6rem .75rem; width: 100%; }
select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 50%, calc(100% - .8rem) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
input[type="email"]:focus-visible, select:focus-visible { border-color: var(--cobalt); outline: 2px solid var(--cobalt); outline-offset: 2px; }
[aria-invalid="true"]:not([type="checkbox"]) { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.grid2 { display: grid; gap: .9rem; }
@media (min-width: 520px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .65rem; align-items: start; font-size: .92rem; color: var(--ink-2); padding: .3rem 0; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--cobalt); cursor: pointer; }
.check[data-invalid] { color: var(--error); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.promise { margin: 0; padding: .85rem .95rem; background: var(--cobalt-tint); border-radius: 4px; font-weight: 500; }
.form-status { margin: 0; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--error); background: var(--error-tint); padding: .7rem .85rem; border-radius: 4px; font-weight: 500; }
.stack > * + * { margin-top: .9rem; }
.done:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 6px; }
.done h3 { margin: 0 0 .5rem; font-size: 1.6rem; font-weight: 500; letter-spacing: -.01em; }
.done dl { margin: .75rem 0; display: grid; grid-template-columns: 6rem minmax(0, 1fr); }
.done dd { overflow-wrap: anywhere; }
.done dt, .done dd { margin: 0; padding: .45rem 0; border-top: 1px dashed var(--rule); }
.done dt { color: var(--ink-2); font-size: .9rem; }
.done p { margin: 0; }
.done p + p { margin-top: .5rem; }

/* video */
.pp-info > .video, .pp-media > .video { margin: 1.5rem 0 0; }
.video { display: grid; gap: .5rem; justify-items: start; }
.video video { --ar: 16 / 9; display: block; aspect-ratio: var(--ar); height: min(70vh, 620px); width: auto; max-width: 100%; object-fit: contain; border-radius: var(--r); background: var(--rule-soft); box-shadow: var(--shadow); }
.video video[width] { height: auto; max-height: min(70vh, 620px); width: min(100%, calc(min(70vh, 620px) * var(--ar))); }
.video figcaption { max-width: 60ch; }
@media (min-width: 900px) { .pp-media.has-video { position: static; } .pp-media .video video { max-height: 480px; width: min(100%, calc(480px * var(--ar))); } }

/* reading pages: about, privacy, contact */
.page { padding: .5rem 0 3.5rem; display: grid; gap: 1.25rem; }
.page-head h1 { font-size: clamp(1.9rem, 5.4vw, 3rem); line-height: 1.05; letter-spacing: -.025em; font-weight: 500; font-stretch: 90%; margin: 0; max-width: 18ch; }
.page-head p { margin: .75rem 0 0; color: var(--ink-2); max-width: 52ch; font-size: 1.05rem; }
.prose { max-width: 46rem; }
.prose .cell > * { margin: 0; }
.prose .cell > * + * { margin-top: .75rem; }
.prose p, .prose dd { max-width: 68ch; text-wrap: pretty; }
.page-end { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.prose h2 { font-size: clamp(1.15rem, 2.6vw, 1.3rem); font-weight: 600; letter-spacing: -.01em; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.prose dl { display: grid; grid-template-columns: minmax(7rem, auto) minmax(0, 1fr); gap: 0 1rem; }
.prose dt, .prose dd { margin: 0; padding: .55rem 0; border-top: 1px dashed var(--rule); }
.prose dt { color: var(--ink-2); font-size: .92rem; }
.prose dt:first-of-type, .prose dt:first-of-type + dd { border-top: 0; }
.prose .updated { color: var(--ink-2); font-size: .9rem; }
.prose code { white-space: nowrap; font-size: .92em; }
.page-photo { margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); max-width: 46rem; }
.page-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mailto { font-size: clamp(1.15rem, 3.6vw, 1.5rem); font-weight: 600; color: var(--cobalt); overflow-wrap: anywhere; display: inline-flex; min-height: 44px; align-items: center; }

/* entrance: content is visible from the first frame; it only settles */
@keyframes settle { from { opacity: .35; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.enter > * { animation: settle .7s var(--ease) both; }
.enter > *:nth-child(2) { animation-delay: .08s; }
.enter > *:nth-child(3) { animation-delay: .16s; }
@keyframes reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.revealed { animation: reveal .45s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* page-level notice (404, no JS) */
.notice { padding: 3rem 0 2rem; max-width: 40rem; }
.notice h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 500; letter-spacing: -.02em; margin: 0 0 .75rem; }
.notice p { margin: 0 0 1rem; color: var(--ink-2); }

/* privacy table stacks on phones (kept last so it wins over .prose dl) */
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; } .prose dd { border-top: 0; padding-top: 0; } }
