/* CASUAL — storefront styles. Tokens follow the CASUAL White / Black brand book. */
:root {
  --brand-black: #070707;
  --paper: #ffffff;
  --surface: #f5f3ef;
  --linen: #e9e4dc;
  --taupe: #8c7f70;
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #d9d6d0;
  --sale: #b3261e;
  --dark-paper: #070707;
  --dark-surface: #151515;
  --dark-muted: #a3a3a3;
  --dark-line: #2e2e2e;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s4: 16px; --s6: 24px; --s8: 32px; --s12: 48px; --s16: 64px; --s24: 96px;
  --r-sm: 2px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 24px; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Type */
.eyebrow { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.h1 { font-size: clamp(28px, 4.2vw, 48px); line-height: 1.12; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.h2 { font-size: clamp(20px, 2.4vw, 24px); line-height: 30px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.small { font-size: 13px; line-height: 18px; }
.muted { color: var(--muted); }
.price { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 8px; }
.price.is-sale { color: var(--sale); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 52px; padding: 0 var(--s8); border-radius: var(--r-sm);
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn:hover { background: #2a2a2a; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--linen); border-color: var(--linen); }
.btn--line-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--line-light:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--taupe); }

/* Announcement + header */
.announce { background: var(--brand-black); color: #fff; text-align: center; padding: 10px var(--gutter); }
.announce .eyebrow { font-size: 11px; letter-spacing: .2em; }
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); }
.logo { display: block; width: 148px; aspect-ratio: 788 / 214; background: currentColor;
  -webkit-mask: url(/logo.svg) center / contain no-repeat; mask: url(/logo.svg) center / contain no-repeat; }
.header .logo { justify-self: center; }
.nav { display: flex; gap: var(--s6); }
.nav a, .nav-about { white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav-about:hover, .nav-about[aria-current="page"] { border-bottom-color: currentColor; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.header__tools { display: flex; justify-content: flex-end; align-items: center; gap: var(--s4); }
.icon-btn { display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; justify-content: center; }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.burger { display: none; justify-self: start; }

@media (max-width: 1240px) {
  .header__in { grid-template-columns: 44px 1fr 44px; }
  .nav, .nav-about { display: none; }
  .burger { display: inline-flex; }
  .header__tools .label { display: none; }
}
@media (max-width: 860px) { .logo { width: 120px; } }

/* Mobile menu */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--paper); display: none; flex-direction: column; padding: var(--s4) var(--gutter) var(--s8); }
.menu.is-open { display: flex; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menu__links { display: flex; flex-direction: column; margin-top: var(--s8); border-top: 1px solid var(--line); }
.menu__links a { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; display: flex; justify-content: space-between; }
.menu__foot { margin-top: auto; display: grid; gap: 8px; }

/* Hero */
.hero { background: var(--dark-paper); color: #fff; }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(78vh, 760px); }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: var(--s6); padding: var(--s16) var(--gutter) var(--s16) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.hero__text p { max-width: 440px; color: var(--dark-muted); margin: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s2); }
.hero__media { position: relative; overflow: hidden; background: var(--dark-surface); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media .tag { position: absolute; left: var(--s6); bottom: var(--s6); background: rgba(7,7,7,.78); color: #fff; padding: 14px 18px; display: grid; gap: 2px; max-width: calc(100% - 48px); }
.hero__media .tag:hover { background: #000; }
.hero .rule { width: 48px; height: 1px; background: var(--taupe); }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { aspect-ratio: 4 / 5; order: -1; }
  .hero__text { padding: var(--s12) var(--gutter); }
}

/* Sections */
.section { padding: var(--s24) 0; }
.section--tight { padding: var(--s16) 0; }
.section--surface { background: var(--surface); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); margin-bottom: var(--s8); flex-wrap: wrap; }
.section__head .eyebrow { color: var(--muted); display: block; margin-bottom: 10px; }
@media (max-width: 700px) { .section { padding: var(--s16) 0; } }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: var(--s4); }
.cat { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--linen); display: flex; align-items: flex-end; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat:hover img { transform: scale(1.04); }
.cat__label { position: relative; z-index: 1; width: 100%; padding: var(--s6); display: flex; justify-content: space-between; align-items: center; gap: 8px; background: linear-gradient(to top, rgba(7,7,7,.55), transparent); color: #fff; }
.cat--empty .cat__label { background: none; color: var(--ink); }
.cat--empty .cat__mark { position: absolute; inset: 0; display: grid; place-items: center; }
.cat--empty .cat__mark span { width: 52%; opacity: .14; }
.cat__count { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr 1fr; } .cats > :first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .cat__label { flex-direction: column; align-items: flex-start; gap: 4px; padding: var(--s4); } .cat__label .h2 { font-size: 18px; } .cat__count { font-size: 11px; } }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s12) var(--s4); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr 1fr; gap: var(--s8) 12px; } }
.card { display: flex; flex-direction: column; gap: 12px; }
.card__media { position: relative; aspect-ratio: 3 / 4; background: var(--surface); overflow: hidden; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.card__media img + img { opacity: 0; }
@media (hover: hover) { .card:hover .card__media img + img { opacity: 1; } }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--paper); padding: 6px 10px; font-size: 10px; line-height: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.card__badge--sale { background: var(--sale); color: #fff; }
.card__name { font-size: 14px; line-height: 20px; }
.card__meta { font-size: 12px; color: var(--muted); }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card .price { font-size: 15px; }

/* Catalog page */
.page-head { padding: var(--s12) 0 var(--s8); border-bottom: 1px solid var(--line); }
.crumbs { font-size: 12px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s4); }
.crumbs a:hover { color: var(--ink); }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-top: var(--s6); padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; background: var(--paper); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s4) 0 var(--s8); flex-wrap: wrap; }
.select { min-height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); padding: 0 36px 0 14px; font-size: 13px;
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.empty { padding: var(--s24) 0; text-align: center; display: grid; gap: var(--s4); justify-items: center; }
.empty p { margin: 0; color: var(--muted); max-width: 420px; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--s12); padding: var(--s8) 0 var(--s16); align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__thumbs { display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
.gallery__thumbs button { aspect-ratio: 3 / 4; background: var(--surface); outline-offset: -2px; opacity: .55; transition: opacity .2s; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 1px var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--surface); }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__main img { flex: 0 0 100%; aspect-ratio: 3 / 4; object-fit: cover; scroll-snap-align: start; }
.gallery__dots { display: none; }
.pdp__info { display: grid; gap: var(--s6); }
.pdp__title { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.opt { display: grid; gap: 12px; }
.opt__label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.opt__label b { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.opt__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); height: 52px; }
.qty button { width: 44px; height: 100%; font-size: 18px; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.perks { display: grid; gap: 10px; padding: var(--s6) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks div { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.perks svg { width: 20px; height: 20px; flex: none; color: var(--taupe); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 400; }
.acc[open] summary::after { content: "–"; }
.acc .acc__body { padding: 0 0 var(--s6); white-space: pre-line; color: #333; font-size: 15px; }
.msg { font-size: 13px; min-height: 18px; }
.msg--err { color: var(--sale); }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; gap: var(--s6); padding-top: 0; }
  .pdp .crumbs { display: none; }
  .gallery { grid-template-columns: 1fr; position: static; margin: 0 calc(var(--gutter) * -1); }
  .gallery__thumbs { display: none; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
  .gallery__dots span { width: 6px; height: 6px; border-radius: 9999px; background: var(--line); }
  .gallery__dots span.on { background: var(--ink); }
}

/* Drawer (cart) */
.drawer { position: fixed; inset: 0; z-index: 70; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(7,7,7,.45); animation: fade .2s; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); display: flex; flex-direction: column; animation: slide .28s cubic-bezier(.2,.7,.2,1); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 0 var(--s6); height: 64px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 0 var(--s6); }
.drawer__foot { padding: var(--s6); border-top: 1px solid var(--line); display: grid; gap: var(--s4); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 76px; aspect-ratio: 3 / 4; object-fit: cover; background: var(--surface); }
.line__name { font-size: 14px; line-height: 20px; }
.line__opts { font-size: 12px; color: var(--muted); margin-top: 2px; }
.line .qty { height: 36px; margin-top: 10px; }
.line .qty button { width: 34px; }
.line__rm { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 10px; min-height: 24px; }
.progress { display: grid; gap: 8px; }
.progress__bar { height: 2px; background: var(--line); }
.progress__bar i { display: block; height: 100%; background: var(--ink); transition: width .3s; }
.sum { display: flex; justify-content: space-between; align-items: baseline; }

/* Checkout */
.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s12); padding: var(--s8) 0 var(--s16); align-items: start; }
.form { display: grid; gap: var(--s6); }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s4); }
.fieldset legend { padding: 0; margin-bottom: var(--s4); }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.input { width: 100%; min-height: 52px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); padding: 0 16px; font-size: 16px; }
textarea.input { padding: 14px 16px; min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--sale); }
.err { color: var(--sale); font-size: 13px; }
.radios { display: grid; gap: 8px; }
.radio { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; cursor: pointer; }
.radio:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; }
.radio b { font-weight: 600; display: block; font-size: 14px; }
.radio span { font-size: 13px; color: var(--muted); }
.summary { background: var(--surface); padding: var(--s8); display: grid; gap: var(--s4); position: sticky; top: calc(var(--header-h) + 16px); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; padding: var(--s6); } }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }

/* Visit / about */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center; }
.visit__facts { display: grid; gap: var(--s6); }
.visit__facts dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.visit__facts dd { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.visit__img { aspect-ratio: 4 / 5; background: var(--linen); overflow: hidden; position: relative; }
.visit__img img { width: 100%; height: 100%; object-fit: cover; }
.quote { font-size: clamp(20px, 2.6vw, 30px); line-height: 1.35; font-weight: 400; margin: 0; max-width: 820px; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* About page */
.about-hero { background: var(--dark-paper); color: #fff; }
.about-hero__in { display: grid; gap: var(--s6); padding: var(--s24) var(--gutter); justify-items: start; }
.about-hero p { max-width: 620px; color: var(--dark-muted); margin: 0; font-size: 17px; line-height: 28px; }
.about-hero .rule { width: 48px; height: 1px; background: var(--taupe); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: var(--s8) var(--s6); display: grid; gap: 8px; align-content: start; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { font-size: clamp(24px, 3vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.facts span { font-size: 14px; color: var(--muted); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s12); align-items: center; }
.about-split--rev .about-img { order: 2; }
.about-img { aspect-ratio: 4 / 5; background: var(--linen); overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-text { display: grid; gap: var(--s4); max-width: 520px; }
.about-text p { margin: 0; }
.about-manifest { display: grid; gap: var(--s6); justify-items: center; text-align: center; max-width: 860px; }
.about-manifest p { margin: 0; max-width: 640px; }
@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; gap: var(--s8); }
  .about-split--rev .about-img { order: 0; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .about-hero__in { padding: var(--s16) var(--gutter); }
}

/* Legal page */
.legal { max-width: 760px; padding-top: var(--s12); padding-bottom: var(--s16); display: grid; gap: var(--s4); }
.legal .h2 { font-size: 16px; margin-top: var(--s6); }
.legal p { margin: 0; }

/* Values strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values > * { padding: var(--s8) var(--s6); display: grid; gap: 6px; }
.values > * + * { border-left: 1px solid var(--line); }
.values a:hover b { text-decoration: underline; }
.values b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.values span { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } .values > * + * { border-left: 0; border-top: 1px solid var(--line); } }

/* Footer */
.footer { background: var(--dark-paper); color: #fff; padding: var(--s16) 0 var(--s8); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s8); }
.footer h3 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin: 0 0 var(--s4); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a, .footer p { color: var(--dark-muted); font-size: 14px; margin: 0; }
.footer a:hover { color: #fff; }
.footer .logo { width: 170px; margin-bottom: var(--s6); color: #fff; }
.footer__bottom { margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; color: var(--dark-muted); font-size: 12px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; padding: 14px 20px; font-size: 14px; display: none; align-items: center; gap: 16px; max-width: calc(100% - 32px); }
.toast.is-on { display: flex; animation: fade .2s; }
.toast a { text-decoration: underline; white-space: nowrap; }

/* Skeleton */
.sk { background: linear-gradient(90deg, var(--surface), #ece9e3, var(--surface)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* Done page */
.done { padding: var(--s24) 0; text-align: center; display: grid; gap: var(--s6); justify-items: center; }
.done .mark { width: 64px; height: 64px; border: 1px solid var(--ink); border-radius: 9999px; display: grid; place-items: center; }

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