@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* ------------------------------------------------------------ palette -- */
:root {
  --night: #1c1012;
  --wine: #5a1118;
  --wine-2: #7c1f2a;
  --rose: #efa597;
  --gold: #b8935a;
  --gold-soft: #e2cfa5;
  --paper: #f3ebdd;
  --paper-2: #ebe0cc;
  --card: #fbf7ef;
  --ink: #2a1a1c;
  --muted: #6f5d59;
  --line: #d9c9ad;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper) url("/assets/paper.svg"); color: var(--ink); font: 400 1rem/1.65 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; }
p, figure { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); display: grid; gap: 28px; justify-items: start; padding-bottom: 110px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--card); color: var(--wine); border-radius: 999px; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.kicker { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }

/* ----------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--wine { background: var(--wine); color: var(--card); box-shadow: 0 10px 22px -14px var(--wine); }
.btn--wine:hover { background: var(--wine-2); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--card); }
.btn--ghost { border-color: #e2cfa580; color: var(--card); background: transparent; }
.btn--ghost:hover, .btn--ghost[aria-current="page"] { background: var(--card); color: var(--wine); }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--wine); font-weight: 600; font-size: .9rem; text-decoration: none; }
.link:hover .arrow { transform: translateX(4px); }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }

/* ------------------------------------------------------------ header -- */
.bar { background: var(--night); color: var(--card); }
.bar-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: 76px; }
.bar-nav { display: flex; gap: 28px; }
.bar-nav a { position: relative; padding: 6px 0; text-decoration: none; white-space: nowrap; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.bar-nav a:hover, .bar-nav a[aria-current="page"] { opacity: 1; }
.bar-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-soft); }
.brand { display: grid; justify-items: center; text-decoration: none; line-height: 1; }
.brand img { margin-bottom: 4px; }
.brand-name { font: 400 1.6rem/1 var(--serif); letter-spacing: .22em; text-transform: uppercase; text-indent: .22em; }
.brand-sub { margin-top: 4px; font-size: .58rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); text-indent: .3em; }
.bar-cta { justify-self: end; min-height: 42px; padding: 0 20px; font-size: .7rem; }

/* ------------------------------------------------------------- cover -- */
/* Fond d'affiche : un aplat papier, la grille de 12 colonnes, le symbole de Lanbi en très grand,
   coupé par le bord comme sur une affiche, imprimé en ton sur ton, puis l'encre et le grain par-dessus. */
.cover { position: relative; overflow: clip; isolation: isolate; background:
    linear-gradient(to right, #d9c9ad59 1px, transparent 1px) center top / calc(100% / 12) 100%,
    var(--paper); }
.cover::before { content: ""; position: absolute; z-index: -1; right: -10%; bottom: -18%; width: clamp(380px, 46vw, 700px); aspect-ratio: 1; background: #e4d5bc; pointer-events: none;
  -webkit-mask: url("/assets/lanbi-symbol-burgundy.svg") center / contain no-repeat;
          mask: url("/assets/lanbi-symbol-burgundy.svg") center / contain no-repeat; }
.cover::after { content: ""; position: absolute; z-index: -1; inset: 0; background: url("/assets/grain.svg"), url("/assets/encre.svg"); mix-blend-mode: multiply; pointer-events: none; }
.cover-inner { position: relative; z-index: 1; isolation: isolate; display: grid; justify-items: center; text-align: center; padding: 84px 0 120px; }
.arc { width: min(520px, 86%); overflow: visible; margin-bottom: 6px; }
.wordmark { font-size: clamp(4.6rem, 15vw, 12.5rem); line-height: .86; letter-spacing: .06em; text-indent: .06em; text-transform: uppercase; color: var(--ink); }
.cover-line { display: flex; align-items: center; gap: 22px; margin-top: 18px; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.cover-seal { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); }
.cover-tagline { position: relative; margin-top: 22px; padding: 0 12px 10px; font: italic 400 clamp(1.9rem, 4vw, 2.8rem)/1.1 var(--serif); color: var(--wine); }
.cover-tagline::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--wine) 20%, var(--wine) 80%, transparent); }
.cover-sub { margin-top: 18px; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; }
.cover-sites { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.cover-sites li + li::before { content: "|"; margin: 0 16px; color: var(--line); }
.cover-sites a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.cover-sites a:hover { color: var(--wine); }
.cover-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* -------------------------------------------- cover: sceau, traits de coupe -- */
.deco { position: absolute; z-index: 1; pointer-events: none; animation: stamp-in .7s var(--ease) .3s both; }
@keyframes stamp-in { from { opacity: 0; scale: 1.25; } }
.deco-seal { right: calc(100% / 12); top: 22%; display: grid; place-items: center; width: 116px; aspect-ratio: 1; rotate: 10deg; filter: drop-shadow(0 6px 10px #2a1a1c1f); }
.deco-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.deco-seal img { width: 28px; }
.seal-edge { fill: var(--gold-soft); stroke: var(--gold); }
.seal-ring { fill: none; stroke: var(--wine); stroke-width: 1; }
.seal-text { font: 700 9.4px/1 var(--sans); text-transform: uppercase; fill: var(--wine); }
.crop { position: absolute; width: 28px; height: 28px; fill: none; stroke: var(--muted); stroke-width: 1; opacity: .7; }
.crop--tl { left: 14px; top: 14px; }
.crop--tr { right: 14px; top: 14px; scale: -1 1; }
.crop--bl { left: 14px; bottom: 14px; scale: 1 -1; }
.crop--br { right: 14px; bottom: 14px; scale: -1 -1; }

/* -------------------------------------------------------------- view -- */
.night { position: relative; background: var(--night); color: var(--card); isolation: isolate; }
/* Passage net du papier à la nuit : un filet d'or, puis la photo qui sort de l'ombre. */
.view::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, #b8935a99 18%, #b8935a99 82%, transparent); }
.view { min-height: clamp(620px, 82vh, 820px); display: flex; overflow: hidden; }
.view-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 70%; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
.view::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 45% at 78% 62%, #b8935a2e, transparent 70%), linear-gradient(90deg, #1c1012eb 0%, #1c101299 42%, #1c101240 100%), linear-gradient(0deg, #1c1012e6, transparent 55%), linear-gradient(180deg, #1c1012 0, #1c1012b3 12%, transparent 36%); }
.view-grid { position: relative; width: min(1160px, 100% - 32px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) auto; grid-template-areas: "place place place" "copy ad list" "facts facts facts"; align-items: center; gap: 36px 44px; padding: 96px 0 40px; }
.view-place { grid-area: place; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); opacity: .9; }
.view-copy { grid-area: copy; }
.view-copy h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); max-width: 11ch; }
.view-tagline { margin-top: 14px; font: italic 400 clamp(1.2rem, 2vw, 1.6rem)/1.3 var(--serif); color: var(--gold-soft); }
.view-lead { margin-top: 18px; max-width: 46ch; color: #f3ebddd9; }
.view-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn--gold { background: var(--gold-soft); color: var(--night); box-shadow: 0 14px 30px -16px #000; }
.btn--gold:hover { background: var(--card); }
.ad-demo { grid-area: ad; justify-self: center; width: min(320px, 100%); display: grid; gap: 10px; animation: float 7s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.ad-demo-top { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--card); }
.ad-demo-card { overflow: hidden; border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: 0 30px 60px -30px #000, 0 0 0 1px #e2cfa540; }
.ad-demo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ad-demo-body { display: grid; gap: 2px; padding: 14px 16px 16px; }
.ad-demo-tag { justify-self: start; margin-bottom: 6px; padding: 3px 8px; border-radius: 999px; background: #5a111814; color: var(--wine); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ad-demo-name { font: 400 1.35rem/1.15 var(--serif); }
.ad-demo-shop { font-size: .82rem; color: var(--muted); }
.ad-demo-price { margin-top: 6px; font-weight: 700; color: var(--wine); }
.ad-demo figcaption { font-size: .74rem; color: #f3ebddb3; }
.view-list { grid-area: list; display: grid; gap: 4px; padding-left: 22px; border-left: 1px solid #e2cfa566; }
.view-list a { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; padding: 8px 0; text-decoration: none; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.view-list a:hover { opacity: 1; color: var(--gold-soft); }
.view-list span { font: 400 1rem/1 var(--serif); color: var(--gold-soft); letter-spacing: 0; }
.view-list small { grid-column: 2; font-size: .66rem; letter-spacing: .12em; color: #f3ebdd99; }
.view-facts { grid-area: facts; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #e2cfa54d; }
.view-facts li { display: grid; gap: 4px; padding: 22px 20px 4px 0; }
.view-facts li + li { padding-left: 20px; border-left: 1px solid #e2cfa533; }
.view-facts strong { font: 400 clamp(1.6rem, 2.6vw, 2.1rem)/1 var(--serif); color: var(--gold-soft); white-space: nowrap; }
.view-facts span { font-size: .8rem; color: #f3ebddb3; }
.circle { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid #e2cfa599; transition: background .25s, color .25s; }

/* ---------------------------------------------------------- sections -- */
.section { padding: clamp(80px, 9vw, 120px) 0; }
.section--tint { background: #e9dcc566; border-block: 1px solid #d9c9ad80; }
.section-head { display: grid; justify-items: center; gap: 10px; margin-bottom: 48px; text-align: center; }
.section-head h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.section-head::after { content: ""; width: 56px; height: 1px; margin-top: 6px; background: var(--gold); }

.offers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--card); scroll-margin-top: 24px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.offer-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px #2a1a1c66; }
.offer-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.offer-card-body { display: grid; gap: 10px; padding: 22px 22px 24px; }
.offer-card h3 { font-size: 2rem; color: var(--wine); }
.offer-card p:not(.meta) { color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.status { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .62rem; letter-spacing: .14em; color: var(--muted); background: transparent; }
.status--live { border-color: var(--wine); background: var(--wine); color: var(--card); }

.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.route::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; border-top: 1.5px dashed var(--gold); }
.route li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.route-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--gold); background: var(--paper); font: 400 1.5rem/1 var(--serif); color: var(--wine); }
.route h3, .route h2 { font-size: 1.55rem; }
.route p { color: var(--muted); max-width: 28ch; }
.route--vertical { grid-template-columns: 1fr; gap: 0; width: 100%; }
.route--vertical::before { top: 26px; bottom: 26px; left: 26px; right: auto; border-top: 0; border-left: 1.5px dashed var(--gold); }
.route--vertical li { grid-template-columns: 52px 1fr; justify-items: start; column-gap: 22px; row-gap: 4px; padding-bottom: 30px; text-align: left; }
.route--vertical .route-num { grid-row: span 2; }
.route--vertical h2 { align-self: center; color: var(--wine); }
.route--vertical p { grid-column: 2; max-width: 60ch; }

.pledges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; max-width: 980px; margin-inline: auto; }
.pledges li { padding: 6px 0 6px 22px; border-left: 2px solid var(--gold); }
.pledges h3 { font-size: 1.6rem; color: var(--wine); margin-bottom: 4px; }
.pledges p { color: var(--muted); }

.closing { display: grid; justify-items: center; gap: 14px; margin-bottom: clamp(80px, 9vw, 120px); padding: clamp(40px, 6vw, 64px) 24px; text-align: center; border: 1.5px dashed var(--gold); border-radius: 24px; background: #fbf7efb3; }
.closing h2 { font-size: clamp(2rem, 4vw, 3rem); }
.closing p { color: var(--muted); max-width: 46ch; margin-bottom: 8px; }

/* ------------------------------------------------------------ footer -- */
.foot { background: var(--night); color: #e8dcd2; padding: 34px 0; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.brand--foot { display: flex; align-items: center; gap: 10px; }
.brand--foot img { margin: 0; }
.brand--foot .brand-name { font-size: 1.3rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-nav a, .foot-note { font-size: .82rem; text-decoration: none; }
.foot-nav a:hover { color: var(--gold-soft); }
.foot-note { color: #b9a69e; }
.foot-note a { color: var(--gold-soft); }

/* -------------------------------------------------------- inner pages -- */
.page-head { display: grid; justify-items: center; gap: 12px; padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 5vw, 60px); text-align: center; }
.page-head h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); max-width: 16ch; }
.page-lead { max-width: 56ch; color: var(--muted); }
.ornament { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: var(--gold); }

.offers { display: grid; gap: clamp(56px, 7vw, 96px); padding-bottom: 120px; }
.offer { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px); scroll-margin-top: 24px; }
.offer--flip .offer-photo { order: 2; }
.offer-photo { padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 30px 50px -36px #2a1a1c80; rotate: -1deg; }
.offer--flip .offer-photo { rotate: 1deg; }
.offer-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.offer-copy { display: grid; gap: 14px; justify-items: start; }
.offer-copy .meta { width: 100%; }
.offer-copy h2 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); color: var(--wine); }
.offer-lead { font: italic 400 1.4rem/1.3 var(--serif); }
.facts { display: grid; gap: 10px; width: 100%; margin: 4px 0 8px; }
.facts div { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.facts dt { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }

.card-block { width: 100%; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.card-block h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); color: var(--wine); margin-bottom: 10px; }
.card-block > p { color: var(--muted); }
.table { display: grid; margin: 18px 0 0; }
.table div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.table div:last-child { border-bottom: 0; }
.table dt { color: var(--muted); }
.table dd { margin: 0; font: 400 1.2rem/1.3 var(--serif); color: var(--wine); text-align: right; }

.desk { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; padding-bottom: 120px; }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fffdf8; color: var(--ink); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px #5a111822; }
.form-status { min-height: 1.4em; color: var(--wine); font-size: .9rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.drafts { display: grid; gap: 12px; }
.draft { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fffdf8; }
.draft-site { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.draft h3 { font-size: 1.4rem; color: var(--wine); overflow-wrap: anywhere; }
.draft p { color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.draft-actions { display: flex; gap: 18px; margin-top: 4px; }
.draft-actions button { padding: 0; border: 0; background: none; color: var(--wine); font: 600 .72rem/1.6 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold); }

.terms { display: grid; width: 100%; margin: 0; }
.terms div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.terms div:first-child { border-top: 1px solid var(--line); }
.terms dt { font: 400 1.45rem/1.2 var(--serif); color: var(--wine); }
.terms dd { margin: 0; color: var(--muted); }
.terms a { color: var(--wine); text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* -------------------------------------------------------- responsive -- */
@media (max-width: 1100px) {
  .deco-seal { width: 96px; right: 3%; }
  .view-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "place place" "copy ad" "list list" "facts facts"; }
  .view-list { grid-auto-flow: column; justify-content: start; gap: 28px; }
}

@media (max-width: 900px) {
  .deco-seal { display: none; }
  .offers-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .route { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .route::before { display: none; }
  .route--vertical { grid-template-columns: 1fr; }
  .route--vertical::before { display: block; }
  .desk { grid-template-columns: 1fr; }
  .offer, .offer--flip { grid-template-columns: 1fr; }
  .offer--flip .offer-photo { order: 0; }
}

@media (max-width: 760px) {
  .bar-row { grid-template-columns: auto 1fr; padding: 12px 0; gap: 12px; }
  .brand { justify-items: start; grid-row: 1; }
  .brand img { display: none; }
  .brand-name, .brand-sub { text-indent: 0; }
  .bar-cta { grid-row: 1; grid-column: 2; font-size: .64rem; padding: 0 14px; }
  .bar-nav { grid-row: 2; grid-column: 1 / -1; gap: 20px; overflow-x: auto; scrollbar-width: none; }
  .cover-inner { padding-bottom: 90px; }
  .cover::before { width: 92vw; right: -24%; bottom: -6%; }
  .crop { width: 20px; height: 20px; }
  .cover-line { gap: 14px; }
  .view-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "place" "copy" "ad" "list" "facts"; padding-top: 80px; gap: 30px; }
  .ad-demo { justify-self: start; }
  .view-list { grid-auto-flow: row; }
  .view-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .view-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .route { grid-template-columns: 1fr; }
  .pledges { grid-template-columns: 1fr; }
  .terms div { grid-template-columns: 1fr; gap: 6px; }
  .foot-row { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------ header: account -- */
.bar-side { justify-self: end; display: flex; align-items: center; gap: 18px; }
.bar-side .bar-cta { justify-self: auto; }
.bar-login { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .85; white-space: nowrap; }
.bar-login:hover, .bar-login[aria-current="page"] { opacity: 1; }

/* ----------------------------------------------------------- notices -- */
.notice { width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fffdf8; font-size: .95rem; }
.notice a { color: var(--wine); font-weight: 600; }
.notice--good { border-color: #7a8f5a; background: #f1f4e8; color: #34421f; }
.notice--bad { border-color: #b4545a; background: #fbecea; color: #6b1a20; }
.notice--info { border-color: var(--gold); background: #f8f0df; color: var(--ink); }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.pill--good { border-color: #6f8550; color: #3d4d24; background: #eef2e4; }
.pill--warn { border-color: var(--gold); color: #6d5225; background: #f7eedc; }
.pill--bad { border-color: #b4545a; color: #7a1f26; background: #fbecea; }
.small { font-size: .85rem; }
.plain { font: inherit !important; color: var(--ink) !important; text-align: left !important; white-space: pre-line; overflow-wrap: anywhere; }
.mono { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .85rem; }

/* -------------------------------------------------------- auth pages -- */
.auth { width: min(520px, 100% - 32px); padding-bottom: 110px; }
.auth .card-block { display: grid; gap: 18px; }
.btn--google { width: 100%; gap: 12px; background: #fff; border-color: var(--line); color: var(--ink); letter-spacing: .08em; }
.btn--google:hover { border-color: var(--ink); }
.btn--google svg { flex: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .95rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--wine); }
.check a { color: var(--wine); }
.check .field-error { grid-column: 1 / -1; }
.field-hint { font-size: .82rem; color: var(--muted); }
.field-error { font-size: .85rem; color: #8e1d26; font-weight: 600; }
.field--error input, .field--error select, .field--error textarea { border-color: #b4545a; }
.field input[readonly], .field textarea[readonly], .field select[disabled] { background: #f4ede1; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ----------------------------------------------------------- my space -- */
.space-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.space-nav a { padding: 6px 0; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.space-nav a:hover { color: var(--wine); }
.space-nav a[aria-current="page"] { color: var(--wine); box-shadow: inset 0 -1px 0 var(--wine); }
.space { display: grid; gap: 24px; padding-bottom: 120px; }
.space .desk { padding-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats--small { grid-template-columns: repeat(3, 1fr); margin: 8px 0 18px; }
.stat { display: grid; gap: 6px; align-content: start; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-decoration: none; }
.stat--link { transition: border-color .2s, transform .25s var(--ease); }
.stat--link:hover { border-color: var(--wine); transform: translateY(-2px); }
.stat-label { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.stat-value { font: 400 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--serif); color: var(--wine); }
.stat-value.small-value { font-size: 1.4rem; }
.block-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.block-head h2 { margin-bottom: 0; }
.card-block p + p, .card-block .notice { margin-top: 10px; }
.card-block .form-actions { margin-top: 16px; }
.card-block .form-actions form { display: contents; }
.table-wrap { width: 100%; overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: .93rem; }
.data th, .data td { padding: 11px 12px; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line); }
.data thead th { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--line); }
.data tbody th { font-weight: 600; }
.data a { color: var(--wine); }
.data .num { text-align: right; white-space: nowrap; }
.data .pos { color: #3d4d24; }
.data .neg { color: #7a1f26; }
.instructions { margin: 14px 0; padding: 14px 16px; border-left: 3px solid var(--gold); background: #f8f0df; border-radius: 0 10px 10px 0; }
.inline-form { display: inline-flex; margin-top: 14px; }
.danger { border-color: #d8b1ad; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--muted); background: var(--card); }
.filters a[aria-current="page"] { background: var(--wine); border-color: var(--wine); color: var(--card); }
.search { display: flex; gap: 10px; }
.search input { flex: 1; min-width: 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fffdf8; font: inherit; }
.admin-actions { display: grid; gap: 16px; }
.inline-note { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; }
.inline-note .check { grid-column: 1 / -1; }
.inline-note .field:nth-of-type(2) { grid-column: 1; }
.review-list { display: grid; gap: 18px; }
.plain-list { display: grid; gap: 8px; }
.plain-list a { color: var(--wine); }

@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .bar-side { gap: 12px; grid-column: 2; grid-row: 1; }
  .bar-login { font-size: .64rem; }
  .field-row, .stats--small { grid-template-columns: 1fr; }
  .inline-note { grid-template-columns: 1fr; }
  .data { font-size: .86rem; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .bar-login { display: none; }
}
