/* Maison Ruwaq · static site styles */
:root {
  --bg: #0b0a08;
  --bg-2: #121009;
  --bg-3: #1a1712;
  --text: #eee7da;
  --muted: #a69c8b;
  --dim: #716a5e;
  --gold: #c8a96e;
  --gold-2: #e0c690;
  --line: rgba(200, 169, 110, 0.18);
  --line-2: rgba(200, 169, 110, 0.42);
  --danger: #e09a84;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
@media (min-width: 760px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 300 16px/1.6 var(--sans); letter-spacing: .005em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.005em; }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--bg); padding: 8px 12px; }
.skip:focus { left: 8px; }

.kicker {
  margin: 0 0 18px; font: 400 11px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.kicker__arch { width: 11px; height: 15px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--gold); transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.btn svg { width: 17px; height: 17px; }
.btn--gold { background: var(--gold); color: #120f0a; }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--line { color: var(--gold); }
.btn--line:hover { background: rgba(200,169,110,.08); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.link-wa { display: inline-flex; align-items: center; gap: 9px; font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.link-wa svg { width: 16px; height: 16px; color: var(--gold); }
.link-wa:hover { color: var(--gold-2); }

.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; color: var(--text); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { color: var(--gold); }

/* Announce + nav */
.announce {
  text-align: center; font: 400 10.5px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); padding: 10px var(--gutter); border-bottom: 1px solid var(--line);
}
.announce__long { display: none; }
@media (min-width: 760px) { .announce__long { display: inline; } }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(11,10,8,.92); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .nav { background: rgba(11,10,8,.78); backdrop-filter: blur(10px); } }
.nav__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav__links { display: none; gap: 28px; }
.nav__links a, .nav__wa, .nav__bag { font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--text); }
.nav__links a:hover, .nav__wa:hover, .nav__bag:hover { color: var(--gold); }
.nav__wa-m { justify-self: start; width: 44px; height: 44px; display: grid; place-items: center; margin-left: -12px; color: var(--gold); }
.nav__wa-m svg { width: 20px; height: 20px; }
.mark { display: grid; justify-items: center; gap: 5px; }
.mark__name { font: 400 15px/1 var(--serif); letter-spacing: .3em; text-transform: uppercase; padding-left: .3em; }
.mark__sub { font: 400 8.5px/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); padding-left: .5em; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 28px; }
.nav__wa { display: none; align-items: center; gap: 8px; }
.nav__wa svg { width: 15px; height: 15px; color: var(--gold); }
.nav__bag { min-height: 44px; }
.nav__count { color: var(--gold); }
@media (min-width: 900px) {
  .nav__in { height: 76px; }
  .nav__links { display: flex; }
  .nav__wa-m { display: none; }
  .nav__wa { display: inline-flex; }
  .mark__name { font-size: 19px; }
  .mark__sub { font-size: 9px; }
}

/* Hero */
.hero { position: relative; background: #060504; }
.hero__media img { width: 100%; height: 64svh; min-height: 400px; max-height: 620px; object-fit: cover; object-position: 50% 30%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 30%; height: calc(64svh - 30% + 2px); max-height: 440px; background: linear-gradient(to bottom, rgba(6,5,4,0) 0%, rgba(11,10,8,.55) 45%, rgba(11,10,8,.92) 78%, var(--bg) 100%); pointer-events: none; }
.hero__rules { display: none; }
.hero__copy { position: relative; z-index: 2; margin-top: -120px; padding-bottom: 64px; }
.hero h1 { font-size: clamp(38px, 10.4vw, 46px); line-height: 1.04; }
.hero h1 em { display: block; color: var(--gold-2); }
.hero__lede { color: var(--muted); max-width: 34em; margin: 20px 0 30px; font-size: 16px; }
.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero__cta .btn { width: 100%; }
@media (min-width: 760px) {
  .hero { min-height: min(86vh, 860px); display: flex; align-items: center; overflow: hidden; }
  .hero__media { position: absolute; inset: 0; }
  .hero__media img { height: 100%; max-height: none; min-height: 0; object-position: 62% 50%; }
  .hero::after { top: 0; height: 100%; max-height: none; background: linear-gradient(90deg, rgba(6,5,4,.92) 0%, rgba(6,5,4,.55) 38%, rgba(6,5,4,0) 62%), linear-gradient(0deg, var(--bg) 0%, rgba(11,10,8,0) 22%); }
  .hero__rules { display: block; position: absolute; inset: 0; z-index: 1; pointer-events: none; max-width: var(--max); margin: 0 auto; }
  .hero__rules i { position: absolute; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, rgba(200,169,110,0) 0%, rgba(200,169,110,.14) 30%, rgba(200,169,110,.14) 70%, rgba(200,169,110,0) 100%); }
  .hero__rules i:nth-child(1) { left: var(--gutter); }
  .hero__rules i:nth-child(2) { left: 50%; }
  .hero__rules i:nth-child(3) { right: var(--gutter); }
  .hero__copy { margin: 0 auto; padding-block: 120px; }
  .hero__copy > * { max-width: 560px; }
  .hero__copy > h1 { max-width: 780px; }
  .hero h1 { font-size: clamp(52px, 5.3vw, 78px); }
  .hero__lede { font-size: 17px; max-width: 30em; }
  .hero__cta { flex-direction: row; align-items: center; gap: 32px; }
  .hero__cta .btn { width: auto; }
}

/* Section rhythm */
section { position: relative; }
.families { padding-block: 72px 24px; }
.families__head h2, .collection__head h2, .house h2, .ordering h2 { font-size: clamp(30px, 7.6vw, 52px); line-height: 1.08; }
.families__head { margin-bottom: 36px; }
.families__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.families__list li { border-bottom: 1px solid var(--line); }
.families__list button {
  width: 100%; text-align: left; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; row-gap: 6px; padding: 22px 0; align-items: baseline;
}
.families__no { font: 400 11px/1 var(--sans); letter-spacing: .18em; color: var(--dim); }
.families__name { font: 400 26px/1.1 var(--serif); }
.families__desc { grid-column: 2; color: var(--muted); font-size: 14.5px; }
.families__count { grid-column: 2; display: inline-flex; align-items: center; gap: 8px; font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.families__count svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.families__list button:hover .families__name { color: var(--gold-2); }
.families__list button:hover .families__count svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .families { padding-top: 128px; display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
  .families__list button { grid-template-columns: 60px 260px 1fr 140px; align-items: center; padding: 30px 0; }
  .families__desc, .families__count { grid-column: auto; margin: 0; }
  .families__count { justify-self: end; }
  .families__name { font-size: 32px; }
}

/* Collection */
.collection { padding-block: 72px 96px; }
.collection__head { margin-bottom: 28px; max-width: 760px; }
.tabs {
  display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line);
  margin: 0 calc(var(--gutter) * -1) 36px; padding: 0 var(--gutter);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 14px 0 13px; font: 400 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tab sup { font-size: 9px; letter-spacing: .05em; color: var(--dim); margin-left: 3px; }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--gold); }
.tab:hover { color: var(--text); }
@media (min-width: 760px) { .tabs { margin-inline: 0; padding: 0; gap: 40px; } }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 28px; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__img { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; }
.card__img:hover img { transform: scale(1.035); }
.card__tag { position: absolute; left: 10px; top: 10px; font: 400 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); border: 1px solid var(--line-2); padding: 6px 7px 5px; background: rgba(11,10,8,.5); }
.card__meta { margin: 16px 0 6px; font: 400 9.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card__type { display: none; }
@media (min-width: 760px) { .card__type { display: inline; } }
.card__name { font: 400 21px/1.15 var(--serif); text-align: left; }
.card__name:hover { color: var(--gold-2); }
.card__line { margin: 6px 0 16px; color: var(--muted); font: italic 400 14.5px/1.4 var(--serif); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.card__price { font: 400 12.5px/1.2 var(--sans); letter-spacing: .04em; color: var(--text); }
.card__price span { color: var(--dim); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; margin-right: 4px; }
.card__add { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 2px 0 10px; font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card__add svg { width: 16px; height: 16px; }
.card__add:hover { color: var(--gold-2); }
@media (max-width: 420px) { .card__add .lbl { display: none; } .card__add { width: 40px; justify-content: center; padding: 0; border: 1px solid var(--line-2); } }
@media (min-width: 760px) { .card__name { font-size: 24px; } .card__line { font-size: 16px; } .card__meta { font-size: 10px; } .card__price { font-size: 13.5px; } }

/* House */
.house { display: grid; border-block: 1px solid var(--line); background: var(--bg-2); }
.house__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.house__copy { padding: 56px var(--gutter) 64px; max-width: 640px; }
.house__copy > p { color: var(--muted); margin: 0 0 16px; }
.house h2 { margin-bottom: 26px; }
.facts { margin: 36px 0 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 400 10.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.facts dd { margin: 0; font-size: 15px; }
@media (min-width: 960px) {
  .house { grid-template-columns: 55% 45%; }
  .house__copy { padding: 112px 64px 112px 72px; align-self: center; }
  .facts div { grid-template-columns: 170px 1fr; align-items: baseline; }
}

/* Ordering */
.ordering { padding-block: 80px 104px; display: grid; gap: 48px; }
.ordering__media { display: none; }
.steps { list-style: none; margin: 32px 0 40px; padding: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 52px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps__no { font: italic 400 22px/1.1 var(--serif); color: var(--gold); }
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 900px) {
  .ordering { grid-template-columns: 5fr 6fr; gap: 88px; align-items: center; padding-block: 128px; }
  .ordering__media { display: block; }
  .ordering__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 28px; background: #080706; }
.foot__in { display: grid; gap: 36px; }
.foot__arch { width: 18px; height: 24px; color: var(--gold); margin-bottom: 14px; }
.foot__name { margin: 0; font: 400 20px/1 var(--serif); letter-spacing: .28em; text-transform: uppercase; }
.foot__line { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.foot__label { margin: 0 0 12px; font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.foot__col > a:not(.link-wa) { color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.foot__col > a:not(.link-wa):hover { color: var(--text); }
.foot__small { margin: 48px auto 0; color: var(--dim); font-size: 12px; padding-bottom: 72px; }
@media (min-width: 900px) { .foot__in { grid-template-columns: 2fr 1fr 1fr; } .foot__small { padding-bottom: 0; } }

/* Floating basket */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 18px;
  background: var(--gold); color: #120f0a; box-shadow: 0 10px 30px rgba(0,0,0,.45);
  font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: transform .35s var(--ease), opacity .35s;
}
.fab svg { width: 20px; height: 20px; }
.fab__count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; background: #120f0a; color: var(--gold-2); border-radius: 10px; font-size: 11px; letter-spacing: 0; padding: 0 5px; }
.fab.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-4px); } }
body.locked .fab { opacity: 0; pointer-events: none; }

/* Toast */
.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 45; max-width: 420px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); font-size: 14px;
}
.toast button { font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); white-space: nowrap; min-height: 32px; }
@media (min-width: 760px) { .toast { left: auto; right: 24px; bottom: 88px; margin: 0; } .fab { right: 24px; bottom: 24px; } }

/* Scrim, sheet, drawer */
.scrim { position: fixed; inset: 0; z-index: 50; background: rgba(4,3,2,.7); opacity: 0; transition: opacity .35s var(--ease); }
.scrim.on { opacity: 1; }

.sheet {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; max-height: 94svh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-2); border-top: 1px solid var(--line-2); transform: translateY(100%); transition: transform .45s var(--ease);
}
.sheet.on { transform: none; }
.sheet__close { position: absolute; right: 8px; top: 8px; z-index: 2; background: rgba(11,10,8,.6); }
.sheet__media img { width: 100%; height: 44svh; object-fit: cover; object-position: 50% 62%; }
.sheet__body { padding: 26px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.sheet__name { font-size: 34px; line-height: 1.05; }
.sheet__char { color: var(--muted); margin: 12px 0 22px; font-size: 15.5px; }
.notes { margin: 0 0 24px; border-top: 1px solid var(--line); }
.notes div { display: grid; grid-template-columns: 74px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.notes dt { font: 400 10px/1.9 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.notes dd { margin: 0; }
.sizes { border: 0; margin: 0 0 22px; padding: 0; }
.sizes legend, .field > label:not(.opt), .choice legend { font: 400 10.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.sizes__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; }
.size span { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s; }
.size b { font: 400 18px/1 var(--serif); }
.size small { font-size: 13px; color: var(--muted); }
.size input:checked + span { border-color: var(--gold); background: rgba(200,169,110,.06); }
.size input:checked + span small { color: var(--gold-2); }
.size input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }
.sheet__buy { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); height: 52px; }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; color: var(--text); }
.qty button svg { width: 15px; height: 15px; }
.qty button:hover { color: var(--gold); }
.qty output { min-width: 22px; text-align: center; font-size: 15px; }
.qty--sm { height: 36px; }
.qty--sm button { width: 34px; }
.qty--sm output { font-size: 14px; min-width: 18px; }
@media (min-width: 900px) {
  .sheet { left: 50%; top: 50%; bottom: auto; right: auto; width: min(980px, calc(100vw - 64px)); max-height: min(720px, calc(100vh - 64px));
    transform: translate(-50%, -46%); opacity: 0; transition: transform .45s var(--ease), opacity .35s; border: 1px solid var(--line-2);
    display: grid; grid-template-columns: 46% 54%; overflow: hidden; }
  .sheet.on { transform: translate(-50%, -50%); opacity: 1; }
  .sheet__media img { height: 100%; }
  .sheet__body { padding: 52px 48px 40px; overflow-y: auto; }
  .sheet__name { font-size: 44px; }
}

.drawer {
  position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.on { transform: none; }
.drawer__head { display: flex; align-items: center; gap: 4px; height: 64px; padding: 0 8px 0 var(--gutter); border-bottom: 1px solid var(--line); flex: none; }
.drawer__back { margin-left: -12px; }
.drawer__title { flex: 1; font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.drawer__view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.drawer__scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 24px; }
.drawer__foot { flex: none; border-top: 1px solid var(--line); padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); background: var(--bg-2); }
.drawer__fine { margin: 10px 0 0; text-align: center; color: var(--dim); font-size: 12.5px; }
@media (min-width: 760px) { .drawer__scroll, .drawer__foot { padding-inline: 28px; } .drawer__head { padding-left: 28px; } }

.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 96px; object-fit: cover; background: var(--bg); }
.line__top { display: flex; justify-content: space-between; gap: 10px; }
.line__name { font: 400 19px/1.15 var(--serif); }
.line__size { margin: 4px 0 12px; font-size: 13px; color: var(--muted); }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.line__total { font-size: 14px; white-space: nowrap; }
.line__rm { font: 400 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); min-height: 32px; align-self: flex-start; }
.line__rm:hover { color: var(--danger); }

.empty { text-align: center; padding: 64px 0; color: var(--muted); }
.empty svg { width: 28px; height: 38px; color: var(--gold); margin: 0 auto 18px; display: block; }
.empty .btn { margin-top: 16px; }

.freebar { margin-bottom: 14px; }
.freebar p { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.freebar p b { color: var(--gold-2); font-weight: 400; }
.freebar__track { display: block; height: 1px; background: var(--line); }
.freebar__track i { display: block; height: 1px; background: var(--gold); width: 0; transition: width .5s var(--ease); }

.sum { margin: 0 0 16px; }
.sum div { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--muted); }
.sum dd { margin: 0; color: var(--text); }
.sum__total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px !important; }
.sum__total dt, .sum__total dd { font: 400 20px/1.2 var(--serif); color: var(--text); }
.sum--compact div { font-size: 13.5px; padding: 2px 0; }
.sum--compact .sum__total { margin-top: 6px; padding-top: 8px !important; }
.sum--compact .sum__total dt, .sum--compact .sum__total dd { font-size: 18px; }
@media (max-width: 759px) { .sum--compact { margin-bottom: 12px; } .drawer__fine { font-size: 12px; margin-top: 8px; } }

/* Form */
.form { padding-top: 22px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field > label:not(.opt) { display: block; }
.opt-tag { color: var(--dim); letter-spacing: .12em; text-transform: none; font-size: 11px; margin-left: 4px; }
.field input:not([type=radio]), .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 14px; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 0;
  font: 400 16px/1.3 var(--sans); appearance: none; -webkit-appearance: none; transition: border-color .2s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 72px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select:invalid { color: var(--dim); }
.field select option { color: var(--text); background: var(--bg-2); }
.field.bad input, .field.bad select, .field.bad .opt span { border-color: var(--danger); }
.field__err { margin: 6px 0 0; font-size: 12.5px; color: var(--danger); min-height: 0; }
.field__err:empty { display: none; }
.choice { display: grid; gap: 8px; }
.choice legend { margin-bottom: 10px; }
.choice--2 { grid-template-columns: 1fr 1fr; }
.choice--2 legend, .choice--2 .field__err { grid-column: 1 / -1; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt span { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 10px 14px; border: 1px solid var(--line-2); cursor: pointer; font-size: 15px; }
.opt small { color: var(--dim); font-size: 12.5px; }
.opt input:checked + span { border-color: var(--gold); background: rgba(200,169,110,.07); }
.opt input:checked + span::after { content: ""; width: 7px; height: 7px; background: var(--gold); border-radius: 50%; flex: none; }
.choice--2 .opt span { justify-content: center; gap: 12px; }
.opt input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 2px; }

.done { text-align: center; padding-top: 56px; display: flex; flex-direction: column; align-items: center; }
.done__arch { width: 30px; height: 40px; color: var(--gold); margin-bottom: 22px; }
.done .kicker { justify-content: center; }
.done h3 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; max-width: 12em; }
.done p { color: var(--muted); margin: 0 0 28px; max-width: 26em; }
.done strong { color: var(--text); font-weight: 400; }
.done .btn { margin-bottom: 12px; }

.noscript { color: var(--muted); }
.noscript a { color: var(--gold); }

/* Reveal (only applied by JS) */
.js-reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-reveal { opacity: 1; transform: none; }
  .card__img:hover img { transform: none; }
}
