/* Ask AL AMIN — design system v1
   Hospitality, not tech: linen, forest ink, brass. Editorial serif + tight grotesque. */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic.woff2") format("woff2"); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --linen: #f6f1e8;
  --linen-2: #efe7d9;
  --paper: #fffcf6;
  --ink: #17231f;
  --forest: #1f3a33;
  --forest-2: #2b4c43;
  --brass: #b0813f;
  --brass-2: #d4a866;
  --brass-soft: #f1e3cb;
  --muted: #5f5a4f;
  --line: #e2d7c5;
  --ok: #2f6b4f;
  --warn: #a5582b;
  --bad: #9b3b2f;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.7vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.4vw, 2.7rem);
  --step-4: clamp(2.35rem, 1.8rem + 2.6vw, 4.1rem);
  --step-5: clamp(2.8rem, 2rem + 3.8vw, 5.4rem);

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 35, 31, 0.06), 0 12px 32px -12px rgba(23, 35, 31, 0.18);
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--linen); color: var(--ink); font: 400 var(--step-0)/1.62 var(--sans); font-feature-settings: "ss01", "cv11"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brass-soft); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 450; letter-spacing: -0.015em; line-height: 1.08; margin: 0 0 .5em; font-variation-settings: "opsz" 100, "SOFT" 30; }
h1 { font-size: var(--step-5); font-weight: 400; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
em, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 380; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 600 var(--step--1)/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 1.2rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { --b: var(--forest); display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.45rem; border-radius: 999px; border: 1px solid var(--b); background: var(--b); color: var(--paper); font: 600 var(--step-0)/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { color: var(--paper); background: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(23,35,31,.6); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-brass { --b: var(--brass); color: #fff; }
.btn-brass:hover { background: #9a6f33; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); }
.btn-sm { padding: .65rem 1rem; font-size: var(--step--1); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--linen) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand svg { width: 38px; height: 38px; }
.brand b { font: 500 1.18rem/1 var(--serif); letter-spacing: -.01em; }
.brand small { display: block; font: 600 .62rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-tools { display: flex; align-items: center; gap: .8rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: .8rem; font-weight: 600; }
.lang-switch a { padding: .3rem .55rem; border-radius: 999px; text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current="true"] { background: var(--forest); color: var(--paper); }
.menu-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--ink); }
@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; transform: translateY(-120%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
  .nav-links a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  body.nav-open .nav-links { transform: translateY(0); }
  .menu-toggle { display: block; }
  .nav-tools .btn { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em { color: var(--brass); }
.hero .lede { margin-bottom: 2rem; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--linen-2); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.arch-wrap { position: relative; max-width: 440px; margin-left: auto; }
.arch-wrap::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid var(--brass); border-radius: 999px 999px var(--radius) var(--radius); z-index: -1; }
.hero-tag { position: absolute; left: -2.2rem; bottom: 2.2rem; background: var(--paper); border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow); max-width: 240px; font-size: .88rem; line-height: 1.35; }
.hero-tag b { display: block; font: 500 1.5rem/1.1 var(--serif); color: var(--forest); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .arch-wrap { max-width: 320px; margin: 0 auto; }
  .hero-tag { left: -1rem; }
}

/* ---------- Ask box ---------- */
.ask { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); max-width: 640px; }
.ask-label { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .9rem; margin: .2rem .3rem .8rem; color: var(--forest); }
.ask-label .dot { width: 8px; height: 8px; border-radius: 50%; background: #3c9a6c; box-shadow: 0 0 0 4px rgba(60,154,108,.18); }
.ask-row { display: flex; gap: .6rem; }
.ask input, .field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--linen); border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; transition: border-color .2s, background .2s; }
.ask input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: #fff; }
.ask-or { display: flex; align-items: center; gap: .8rem; margin: .9rem .3rem; color: var(--muted); font-size: .85rem; }
.ask-or::before, .ask-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ask-suggest { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem .2rem .2rem; }
.chip { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: .45rem .8rem; font: 500 .84rem/1.2 var(--sans); color: var(--muted); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--brass); color: var(--ink); background: var(--brass-soft); }
.ask-answer { margin-top: 1rem; border-top: 1px solid var(--line); padding: 1rem .3rem .2rem; animation: rise .45s var(--ease); }
.ask-answer p { margin-bottom: .8rem; }
.ask-answer ul { margin: 0 0 .8rem; padding-left: 1.1rem; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- guest journey line (signature motif) ---------- */
.journey { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 3rem; }
.journey::before { content: ""; position: absolute; top: 22px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, var(--brass) 0 50%, transparent 0) 0 0 / 10px 1px repeat-x; }
.stop { position: relative; text-align: center; padding: 0 .4rem; }
.stop .n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 1rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--brass); font: 500 1rem/1 var(--serif); color: var(--brass); }
.stop h3 { font-size: var(--step-1); margin-bottom: .35rem; }
.stop p { font-size: .93rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 1.4rem; }
  .journey::before { top: 0; bottom: 0; left: 21px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--brass) 0 50%, transparent 0) 0 0 / 1px 10px repeat-y; }
  .stop { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; text-align: left; }
  .stop .n { margin: 0; }
}

/* ---------- cards, grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.1rem); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6c7ad; }
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brass-soft); color: var(--forest); margin-bottom: 1.3rem; }
.card .icon svg { width: 24px; height: 24px; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { color: inherit; }
.card .num-big { font: 400 var(--step-4)/1 var(--serif); color: var(--brass); display: block; margin-bottom: .5rem; }
.tag { display: inline-block; font: 600 .72rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--forest); background: var(--brass-soft); border-radius: 999px; padding: .4rem .65rem; }

/* ---------- dark band ---------- */
.band-dark { background: var(--forest); color: #efe8da; }
.band-dark h2, .band-dark h3 { color: #fffaf0; }
.band-dark .lede, .band-dark .muted { color: #c9c0ae; }
.band-dark .eyebrow { color: var(--brass-2); }
.band-dark .card { background: var(--forest-2); border-color: #3c5f55; color: #efe8da; }
.band-dark .card p { color: #cfc6b4; }
.band-dark a:not(.btn) { color: var(--brass-2); }
.band-dark .btn-ghost { color: #fffaf0; border-color: #6e8a81; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 1.8rem 1.4rem; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats b { display: block; font: 400 var(--step-4)/1 var(--serif); color: var(--forest); margin-bottom: .45rem; letter-spacing: -.02em; }
.stats span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(2) { border-right: 0; } .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- case study feature ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
.quote { font: 400 var(--step-2)/1.35 var(--serif); font-style: italic; color: var(--forest); border-left: 2px solid var(--brass); padding-left: 1.3rem; margin: 0 0 1.5rem; }

/* ---------- the Menu (printed menu card) ---------- */
.menu-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(2rem, 5vw, 4.5rem); box-shadow: var(--shadow); position: relative; }
.menu-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--line); border-radius: 3px; pointer-events: none; }
.menu-head { text-align: center; margin-bottom: 2.5rem; }
.menu-head h1 { font-size: var(--step-4); margin-bottom: .3rem; }
.menu-head .flourish { color: var(--brass); letter-spacing: .5em; font-size: .85rem; }
.course { padding-block: 1.8rem; border-top: 1px solid var(--line); }
.course:first-of-type { border-top: 0; }
.course-name { font: 600 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; text-align: center; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: baseline; margin-bottom: 1.2rem; }
.dish h3 { font-size: var(--step-2); margin: 0; display: flex; align-items: baseline; gap: .8rem; }
.dish h3::after { content: ""; flex: 1; border-bottom: 1px dotted #bfae90; transform: translateY(-.3em); min-width: 1.5rem; }
.dish .price { font: 500 var(--step-1)/1 var(--serif); color: var(--forest); white-space: nowrap; }
.dish .price-suffix { font-size: .82rem; color: var(--muted); margin-left: .25rem; }
.dish p { grid-column: 1 / -1; color: var(--muted); margin: .2rem 0 0; max-width: 62ch; }
.dish .portions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .5rem; font-size: .92rem; }
.dish .portions span b { font-weight: 600; }
.capacity { display: inline-flex; gap: .5rem; align-items: center; font-size: .86rem; color: var(--warn); font-weight: 600; margin-top: .6rem; }
.capacity::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.currency-switch { display: inline-flex; gap: .25rem; flex-wrap: wrap; }
.currency-switch button { border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: .35rem .7rem; font: 600 .78rem/1 var(--sans); color: var(--muted); cursor: pointer; }
.currency-switch button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--paper); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.check input { margin-top: .25rem; accent-color: var(--forest); width: 1rem; height: 1rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: .92rem; padding: .8rem 1rem; border-radius: 10px; display: none; }
.form-msg.error { display: block; background: #f7e3dd; color: var(--bad); }
.form-msg.ok { display: block; background: #e2efe6; color: var(--ok); }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3.5vw, 2.5rem); box-shadow: var(--shadow); }

/* ---------- X-ray report ---------- */
.xr-report { display: none; margin-top: 2rem; }
.xr-report.on { display: block; animation: rise .5s var(--ease); }
.xr-top { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; margin-bottom: 2rem; }
.gauge { width: 150px; height: 150px; }
.gauge circle { fill: none; stroke-width: 10; }
.gauge .bg { stroke: var(--line); }
.gauge .fg { stroke: var(--brass); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.4s var(--ease); }
.gauge text { font: 500 34px var(--serif); fill: var(--ink); }
.leak { font: 400 var(--step-3)/1.1 var(--serif); color: var(--bad); }
.xr-stages { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-bottom: 2rem; }
.xr-stage { background: var(--linen); border-radius: 12px; padding: 1rem; }
.xr-stage b { display: block; font: 500 1.6rem/1 var(--serif); margin-top: .4rem; }
.xr-bar { height: 4px; background: var(--line); border-radius: 4px; margin-top: .6rem; overflow: hidden; }
.xr-bar i { display: block; height: 100%; background: var(--brass); width: 0; transition: width 1.2s var(--ease); }
.xr-checks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.xr-checks li { break-inside: avoid; display: flex; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.xr-checks .ok::before { content: "✓"; color: var(--ok); font-weight: 700; }
.xr-checks .no::before { content: "✕"; color: var(--bad); font-weight: 700; }
.xr-fixes li { margin-bottom: .8rem; }
.loading { display: inline-flex; gap: .4rem; align-items: center; }
.loading i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1s infinite; }
.loading i:nth-child(2) { animation-delay: .15s; } .loading i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 760px) { .xr-top { grid-template-columns: 1fr; } .xr-stages { grid-template-columns: repeat(2, 1fr); } .xr-checks { columns: 1; } }

/* ---------- calculators ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-out { background: var(--forest); color: #efe8da; border-radius: var(--radius); padding: 2rem; position: sticky; top: 96px; align-self: start; }
.calc-out b { display: block; font: 400 var(--step-4)/1 var(--serif); color: #fffaf0; margin: .3rem 0 1rem; }
.calc-out dl { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; margin: 0 0 1.4rem; font-size: .93rem; }
.calc-out dd { margin: 0; text-align: right; font-weight: 600; }
.range-field input[type="range"] { width: 100%; accent-color: var(--brass); }
.range-field output { font-weight: 700; color: var(--forest); }

/* ---------- guides (article) ---------- */
.article-head { padding-block: clamp(2.5rem, 6vw, 5rem) 2rem; }
.article-head h1 { font-size: var(--step-4); max-width: 22ch; }
.byline { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; font-size: .9rem; color: var(--muted); }
.byline img { width: 48px; height: 48px; border-radius: 50%; }
.byline b { color: var(--ink); }
.article-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
.toc { position: sticky; top: 100px; align-self: start; font-size: .88rem; }
.toc p { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; color: var(--brass); }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem 0 .35rem 1rem; text-decoration: none; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--brass); }
@media (max-width: 980px) { .article-grid { grid-template-columns: 1fr; } .toc { display: none; } }
.prose { font-size: 1.1rem; line-height: 1.75; max-width: 70ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.6rem; scroll-margin-top: 100px; }
.prose h3 { font-size: var(--step-2); margin-top: 2rem; scroll-margin-top: 100px; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--brass); }
.prose blockquote { margin: 2rem 0; padding: 1.2rem 1.5rem; background: var(--paper); border-left: 3px solid var(--brass); border-radius: 0 12px 12px 0; font-family: var(--serif); font-size: 1.2rem; font-style: italic; }
.prose blockquote p { margin: 0; }
.prose code { background: var(--linen-2); padding: .1rem .35rem; border-radius: 5px; font-size: .92em; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; background: var(--linen); }
.prose tr:last-child td { border-bottom: 0; }
.guide-block { margin: 2.2rem 0; padding: 1.6rem; border-radius: var(--radius); background: var(--forest); color: #efe8da; display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; }
.guide-block h3 { color: #fffaf0; margin: 0 0 .3rem; font-size: var(--step-1); }
.guide-block p { margin: 0; color: #c9c0ae; font-size: .96rem; }
@media (max-width: 640px) { .guide-block { grid-template-columns: 1fr; } }
.author-box { display: grid; grid-template-columns: 96px 1fr; gap: 1.4rem; align-items: center; padding: 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 3rem; }
.author-box img { border-radius: 50%; }
.guide-list { display: grid; gap: 1rem; }
.guide-item { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.guide-item h3 { font-size: var(--step-1); margin: 0; }
.guide-item p { grid-column: 1; margin: 0; color: var(--muted); font-size: .95rem; }
.guide-item .meta { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: .8rem; color: var(--muted); }
.guide-item:hover h3 { color: var(--brass); }
.soon { opacity: .6; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .84rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font: 450 var(--step-1)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brass); font-family: var(--sans); font-size: 1.4rem; line-height: 1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: calc(var(--radius) * 1.4); background: var(--forest); color: #efe8da; padding: clamp(2.2rem, 6vw, 4.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(212,168,102,.35); }
.cta-band h2 { color: #fffaf0; font-size: var(--step-3); margin: 0 0 .6rem; }
.cta-band p { color: #c9c0ae; margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9c0ae; padding-block: 4.5rem 2rem; margin-top: clamp(4rem, 8vw, 7rem); font-size: .93rem; }
.site-footer a { color: #e9e1d2; text-decoration: none; }
.site-footer a:hover { color: var(--brass-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 1.1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot-brand p { max-width: 36ch; margin-top: 1rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.6rem; border-top: 1px solid #2c3833; font-size: .84rem; }
.foot-base .currency-switch button { color: #c9c0ae; border-color: #3a4842; }
.foot-base .currency-switch button[aria-pressed="true"] { background: var(--brass); border-color: var(--brass); color: #fff; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ---------- consent banner ---------- */
.consent { position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; max-width: 560px; margin-left: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(0,0,0,.35); padding: 1.3rem 1.4rem; font-size: .9rem; display: none; }
.consent.on { display: block; animation: rise .4s var(--ease); }
.consent h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.consent .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.consent .opts { display: none; margin-top: .8rem; gap: .5rem; }
.consent.custom .opts { display: grid; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- misc ---------- */
.list-check { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.list-check li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; }
.list-check li::before { content: ""; width: 18px; height: 18px; margin-top: .25rem; border-radius: 50%; background: var(--brass-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a33' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 100px; }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 3rem 0; }
.portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.notice { background: var(--brass-soft); border-radius: 12px; padding: 1rem 1.2rem; font-size: .92rem; }

/* ---------- fixes v1.1 ---------- */
.mobile-only { display: none; }
@media (max-width: 980px) { .mobile-only { display: block; } }
.btn { white-space: nowrap; }
.stats b { font-size: var(--step-3); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #e9e1d2; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: var(--brass-2); }
@media (max-width: 520px) { .ask-row { flex-direction: column; } .ask-row .btn { justify-content: center; } }

/* case study client card */
.client-card{display:flex;align-items:center;gap:1.1rem;margin:2rem 0 0;padding:1rem 1.25rem 1rem 1rem;max-width:30rem;background:var(--paper);border:1px solid var(--line,rgba(0,0,0,.08));border-radius:18px}
.client-card img{width:120px;height:150px;object-fit:cover;object-position:50% 15%;border-radius:12px;flex:none}
.client-card figcaption{display:flex;flex-direction:column;gap:.2rem}
.client-card strong{font-family:var(--serif,serif);font-size:var(--step-1,1.25rem);font-weight:500}
.client-card .eyebrow{margin:0}
@media (max-width:640px){.client-card img{width:96px;height:120px}}
