/* Kohvand: direction A+C (Atelier look, Ledger specs) */
:root {
  --lapis: #1B2F6B;
  --lapis-deep: #0F1C45;
  --paper: #F7F3EC;
  --paper-2: #EFE9DF;
  --white: #FFFDF9;
  --emerald: #0E6B4F;
  --emerald-deep: #0A4A37;
  --gold: #B39056;
  --gold-line: rgba(179, 144, 86, .45);
  --ink: #1A1D24;
  --muted: #5B606C;
  --line: #E0D9CC;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: 100px; }
:focus-visible { outline: 2px solid var(--emerald); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }
.mono { font-family: var(--mono); }
.eyebrow { font: 500 12px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.rule { width: 48px; height: 1px; background: var(--gold); border: 0; margin: 0 0 24px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; color: var(--lapis); line-height: 1.08; letter-spacing: -.005em; }
.h1 { font-size: clamp(40px, 5.6vw, 68px); }
.h2 { font-size: clamp(32px, 3.8vw, 46px); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); }
.lead { font-family: var(--serif); font-size: clamp(22px, 2.3vw, 29px); line-height: 1.4; color: var(--lapis); }
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); color: var(--lapis); margin: 1.6em 0 .5em; line-height: 1.15; }
.prose h3 { font-weight: 600; font-size: 18px; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; font: 500 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--lapis); color: var(--lapis); background: transparent; cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.btn:hover { background: var(--lapis); color: var(--white); }
.btn-solid { background: var(--lapis); color: var(--white); }
.btn-solid:hover { background: var(--lapis-deep); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--lapis); }
.link { text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.link:hover { color: var(--emerald); }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--gold-line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { text-decoration: none; color: var(--lapis); font-family: var(--serif); line-height: 1; flex-shrink: 0; }
.logo b { display: block; font-weight: 500; font-size: 25px; letter-spacing: .32em; margin-right: -.32em; }
.logo i { display: block; font-size: 13px; color: #7A5E30; letter-spacing: .05em; margin-top: 5px; }
.nav { display: flex; gap: clamp(14px, 1.6vw, 24px); list-style: none; margin-left: auto; }
.nav a { text-decoration: none; font-size: 14px; white-space: nowrap; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 8px; list-style: none; font: 500 12px var(--mono); }
.lang a { text-decoration: none; color: var(--muted); }
.lang a[aria-current="true"] { color: var(--lapis); border-bottom: 1px solid var(--gold); }
.menu-btn { display: none; background: none; border: 1px solid var(--lapis); color: var(--lapis); padding: 9px 12px; font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 1180px) {
  .menu-btn { display: inline-block; margin-left: auto; }
  .header-tools .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--gold-line); padding: 8px var(--gutter) 20px; }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { display: block; margin-top: 16px; }
  .nav .nav-cta a { border: 1px solid var(--lapis); text-align: center; text-transform: uppercase; font-size: 13px; letter-spacing: .1em; }
}
@media (min-width: 1181px) { .nav .nav-cta { display: none; } }

/* ---------- photo placeholders (no AI images) ---------- */
.ph { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 14px; color: rgba(255,255,255,.88); font: 500 12px/1.3 var(--mono); letter-spacing: .03em; }
.ph::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px); pointer-events: none; }
.ph span { position: relative; z-index: 1; }
.ph-emerald { background: radial-gradient(120% 90% at 30% 30%, #2E9B74, #0B4A37 60%, #062A20); }
.ph-lapis { background: radial-gradient(120% 90% at 70% 30%, #3A5BC0, #1B2F6B 55%, #0B1433); }
.ph-emerald-l { background: linear-gradient(160deg, #E3ECE6, #C9DAD0); color: #4B5A54; }
.ph-lapis-l { background: linear-gradient(160deg, #E2E6F0, #C9D1E5); color: #4A5470; }
.ph-person { background: linear-gradient(160deg, #E9E2D6, #D7CDBE); color: #6A604F; }
.ph-land { background: linear-gradient(175deg, #CDD6DA 0%, #A9B4B5 45%, #8A8578 46%, #6E6A60 100%); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--white); }
.section-lapis { background: var(--lapis-deep); color: #ECE7DD; }
.section-lapis .display, .section-lapis .lead { color: #fff; }
.section-lapis .eyebrow, .section-lapis .muted { color: #B9B7C4; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { max-width: 52ch; margin: 12px 0 0; color: var(--muted); }

/* ---------- hero: two routes ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; }
.route { overflow: hidden; position: relative; min-height: min(78vh, 680px); display: flex; text-decoration: none; color: #fff; }
.route .ph { position: absolute; inset: 0; align-items: flex-start; justify-content: flex-end; }
.route-cap { position: relative; z-index: 2; margin-top: auto; padding: clamp(28px, 4vw, 56px); }
.route-cap .eyebrow { color: rgba(255,255,255,.8); }
.route-cap h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.02; margin: 10px 0 18px; }
.route-cap p { max-width: 36ch; color: rgba(255,255,255,.86); margin-bottom: 22px; }
.route-cap .go { font-size: 14px; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.route:hover .go { border-color: #fff; }
.hero-intro { text-align: center; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero-intro h1 { margin: 0 auto 22px; max-width: 18ch; }
.hero-intro .lead { max-width: 44ch; margin: 0 auto; }

/* ---------- stock cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.card { text-decoration: none; display: block; }
.card .ph { aspect-ratio: 1; }
.card-body { padding-top: 14px; }
.card-code { font: 500 12px var(--mono); color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 23px; color: var(--lapis); margin: 4px 0 4px; line-height: 1.2; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }
.card:hover h3 { color: var(--emerald); }
.badge { display: inline-block; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border: 1px solid var(--gold); color: #7A5E30; background: rgba(179,144,86,.08); }
.ph .badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,253,249,.92); }

/* ---------- ledger table ---------- */
.ledger-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ledger { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.ledger th { text-align: left; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding: 10px 12px; white-space: nowrap; }
.ledger td { border-bottom: 1px solid var(--line); padding: 14px 12px; vertical-align: top; }
.ledger tr:hover td { background: rgba(179,144,86,.06); }
.ledger td.mono { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.ledger a { text-decoration: none; color: var(--lapis); font-weight: 500; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

.view-toggle { display: inline-flex; border: 1px solid var(--line); }
.view-toggle button { background: none; border: 0; padding: 9px 14px; font: 500 12px var(--mono); color: var(--muted); cursor: pointer; }
.view-toggle button[aria-pressed="true"] { background: var(--lapis); color: #fff; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip { background: none; border: 1px solid var(--line); padding: 8px 12px; font: 500 12px var(--mono); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { border-color: var(--lapis); background: rgba(27,47,107,.06); color: var(--lapis); }
.toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
[hidden] { display: none !important; }

/* ---------- feature columns / steps ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gold-line); }
.cols > div { padding: 32px 28px 8px 0; }
.cols h3 { font-family: var(--serif); font-size: 26px; color: var(--lapis); margin-bottom: 10px; font-weight: 500; }
.section-lapis .cols { border-color: rgba(179,144,86,.35); }
.section-lapis .cols h3 { color: #fff; }
.section-lapis .cols p { color: #C4C1CC; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--gold-line); padding-top: 22px; }
.steps li::before { content: "0" counter(s); display: block; font: 500 12px var(--mono); color: #8A6D3B; margin-bottom: 14px; }
.steps h3 { font-family: var(--serif); font-size: 24px; color: var(--lapis); margin-bottom: 8px; font-weight: 500; }
.steps p { font-size: 15px; color: var(--muted); }
.checklist { list-style: none; }
.checklist li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 12px; height: 1px; background: var(--gold); }

/* ---------- founder ---------- */
.founder .ph { aspect-ratio: 4 / 5; max-height: 620px; width: 100%; max-width: 520px; }
.quote { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.3; color: var(--lapis); margin: 0 0 22px; }
.placeholder-note { font: 400 12px/1.5 var(--mono); color: #7A5E30; background: rgba(179,144,86,.1); border-left: 2px solid var(--gold); padding: 8px 12px; margin: 16px 0; }

/* ---------- page header & breadcrumb ---------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--gold-line); }
.page-head .lead { max-width: 50ch; margin-top: 18px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font: 400 12px var(--mono); color: var(--muted); margin-bottom: 22px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--lapis); }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(64px, 8vw, 104px); align-items: start; }
.gallery { position: sticky; top: 108px; }
.gallery .main { aspect-ratio: 1; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumbs .ph { aspect-ratio: 1; padding: 6px; font-size: 9px; }
.product h1 { margin: 10px 0 6px; }
.spec { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.spec caption { text-align: left; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.spec th { text-align: left; font-weight: 400; color: var(--muted); width: 42%; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec td { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 14px; }
.price-box { border: 1px solid var(--gold-line); background: var(--white); padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.price-box .price { font-family: var(--serif); font-size: 30px; color: var(--lapis); line-height: 1.1; }
.doc-note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 500; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px var(--sans); padding: 12px 14px; border: 1px solid #CFC6B6; background: var(--white); color: var(--ink); border-radius: 0; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lapis); outline: none; box-shadow: 0 0 0 3px rgba(27,47,107,.12); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.radios label { font-weight: 400; display: flex; gap: 8px; align-items: center; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.consent input { margin-top: 4px; }
.form-status { grid-column: 1 / -1; padding: 14px 16px; border-left: 2px solid var(--emerald); background: rgba(14,107,79,.07); font-size: 15px; }
.contact-aside { border-left: 1px solid var(--gold-line); padding-left: clamp(24px, 3vw, 40px); }
.contact-aside dl { margin: 0; }
.contact-aside dt { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 22px; }
.contact-aside dd { margin: 4px 0 0; }
.layout-form { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 24px var(--sans); color: #8A6D3B; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: #3D414B; max-width: 70ch; }

/* ---------- doc table (origin) ---------- */
.doc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc-table th { text-align: left; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--ink); padding: 10px 12px 10px 0; }
.doc-table td { border-bottom: 1px solid var(--line); padding: 14px 12px 14px 0; vertical-align: top; }
.doc-table td:first-child { font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band .display { max-width: 22ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--lapis-deep); color: #C9C6D1; padding: 72px 0 32px; font-size: 14px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo { color: #fff; }
.site-footer .logo i { color: #CDB487; }
.site-footer h2 { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #CDB487; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-base { border-top: 1px solid rgba(179,144,86,.3); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #A6A3B0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3, .cols, .steps { grid-template-columns: 1fr 1fr; }
  .product, .layout-form, .grid-2 { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--gold-line); padding-top: 8px; }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; }
  .route { min-height: 420px; }
  .grid-3, .cols, .steps, .form { grid-template-columns: 1fr; }
  .grid-4 { gap: 20px 14px; }
  .card h3 { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; }
  .lang { display: none; }
  .header-in { min-height: 72px; }
  .logo b { font-size: 21px; }
  .logo i { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .site-footer, .btn, .toolbar { display: none !important; } body { background: #fff; } }

/* ---------- WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: var(--emerald); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(15,28,69,.25); transition: background .2s, transform .2s; }
.wa-float:hover { background: var(--emerald-deep); transform: translateY(-2px); }
.wa-float svg { width: 28px; height: 28px; }
.btn-wa { border-color: var(--emerald); color: var(--emerald); }
.btn-wa:hover { background: var(--emerald); color: #fff; }
.btn-wa svg { width: 16px; height: 16px; }
.price-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 700px) { .wa-float { right: 16px; bottom: 16px; width: 50px; height: 50px; } }
@media print { .wa-float { display: none; } }

/* ---------- photos ---------- */
.photo { margin: 0; position: relative; }
.photo img { width: 100%; height: auto; display: block; background: var(--paper-2); }
.photo figcaption { font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.photo figcaption a { color: inherit; }
.photo.tall img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }
.photo.wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.photo.square img { aspect-ratio: 1; object-fit: cover; }
.route-img { position: absolute; inset: 0; }
.route-img img { width: 100%; height: 100%; object-fit: cover; }
.route::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,16,40,.12) 0%, rgba(10,16,40,.42) 42%, rgba(10,16,40,.82) 100%); }
.route:hover .route-img img { transform: scale(1.02); }
.route-img img { transition: transform .6s ease; }
.stock-empty { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; border: 1px solid var(--gold-line); background: var(--white); padding: clamp(24px, 4vw, 40px); }
.stock-empty > div:first-child { max-width: 60ch; }
.stock-empty h3 { margin-bottom: 10px; }
.stock-empty p { margin: 0; }

/* ---------- footer contact + mobile contact bar ---------- */
.foot-contact { display: inline-flex; align-items: center; gap: 10px; }
.foot-contact svg { width: 16px; height: 16px; color: #CDB487; }
.foot-wa { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; padding: 10px 16px 10px 12px; border: 1px solid rgba(205,180,135,.45); border-radius: 999px; color: #fff; transition: background .2s, border-color .2s; }
.foot-wa:hover { background: #0E7A41; border-color: #0E7A41; }
.foot-wa svg { width: 26px; height: 26px; color: #25D366; flex-shrink: 0; }
.foot-wa:hover svg { color: #fff; }
.foot-wa span { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
.foot-wa small { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #CDB487; }
.foot-wa:hover small { color: #E8F5EC; }
.mobile-bar { display: none; }
@media (max-width: 700px) {
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--paper); border-top: 1px solid var(--gold-line); box-shadow: 0 -6px 20px rgba(15,28,69,.10); padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; text-decoration: none; font: 600 15px var(--sans); border-radius: 999px; }
  .mobile-bar svg { width: 20px; height: 20px; }
  .mb-call { border: 1px solid var(--lapis); color: var(--lapis); background: var(--white); }
  .mb-wa { background: #0E7A41; color: #fff; }
  .mb-wa svg { width: 22px; height: 22px; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
@media print { .mobile-bar { display: none !important; } }

/* ---------- signature boxes ---------- */
/* Emerald-cut facet: chamfered corners with a hairline gold edge. */
.facet { --cut: 18px; position: relative; isolation: isolate; border: 0 !important; background: none !important; }
.facet::before, .facet::after { content: ""; position: absolute; z-index: -1; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.facet::before { inset: 0; background: linear-gradient(135deg, var(--gold), rgba(179,144,86,.35) 40%, rgba(179,144,86,.35) 60%, var(--gold)); }
.facet::after { inset: 1px; background: var(--white); clip-path: polygon(calc(var(--cut) - .5px) 0, calc(100% - var(--cut) + .5px) 0, 100% calc(var(--cut) - .5px), 100% calc(100% - var(--cut) + .5px), calc(100% - var(--cut) + .5px) 100%, calc(var(--cut) - .5px) 100%, 0 calc(100% - var(--cut) + .5px), 0 calc(var(--cut) - .5px)); }
.section-alt .facet::after { background: var(--paper); }
.cta-band.facet { padding: clamp(28px, 4vw, 48px); }

/* Certificate card: double frame, header strip and seal. */
.cert { position: relative; background: var(--white); border: 1px solid var(--gold-line); outline: 1px solid var(--gold-line); outline-offset: 5px; padding: 28px 28px 36px; margin: 6px; }
.cert-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #7A5E30; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.cert-head span:last-child:not(:first-child) { color: var(--muted); letter-spacing: .06em; text-transform: none; }
.cert .checklist li:last-child { border-bottom: 0; }
.cert .seal { position: absolute; right: -18px; bottom: -26px; width: 104px; height: 104px; color: var(--gold); background: var(--white); border-radius: 50%; transform: rotate(-12deg); }

/* Geological label above region headings. */
.coord { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #7A5E30; margin: 18px 0 0; display: flex; align-items: center; gap: 10px; }
.coord::before { content: ""; width: 22px; height: 1px; background: var(--gold); }

/* Octagonal step numbers. */
.steps li::before { content: "0" counter(s); display: grid; place-items: center; width: 46px; height: 46px; margin: 0 0 18px; font: 500 13px var(--mono); color: var(--lapis); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 46'%3E%3Cpolygon points='14,0.5 32,0.5 45.5,14 45.5,32 32,45.5 14,45.5 0.5,32 0.5,14' fill='%23FFFDF9' stroke='%23B39056'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.steps li { border-top: 0; padding-top: 0; position: relative; }
.steps li::after { content: ""; position: absolute; top: 22px; left: 56px; right: -14px; height: 1px; background: var(--gold-line); }
.steps li:last-child::after { display: none; }

/* Cards on the dark lapis band. */
.section-lapis .cols { border-top: 0; gap: 20px; }
.section-lapis .cols > div { padding: 28px 26px 18px; border: 1px solid rgba(179,144,86,.32); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,0) 60%); transition: border-color .3s, transform .3s; position: relative; }
.section-lapis .cols > div::before { content: ""; position: absolute; top: -1px; left: 26px; width: 36px; height: 2px; background: var(--gold); }
.section-lapis .cols > div:hover { border-color: rgba(179,144,86,.7); transform: translateY(-3px); }

@media (max-width: 980px) {
  .steps li::after { display: none; }
}
@media (max-width: 700px) {
  .cert .seal { width: 80px; height: 80px; right: -6px; bottom: -22px; }
  .facet { --cut: 12px; }
}
@media (prefers-reduced-motion: reduce) { .section-lapis .cols > div:hover { transform: none; } }

/* ---------- articles & guides ---------- */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.article-body { max-width: 72ch; }
.article-body > .photo { margin-bottom: 32px; }
.article-body h2 { margin-top: 1.8em; }
.article-meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 40px; }
.article-aside { position: sticky; top: 112px; }
.article-aside .cert p { font-size: 15px; color: #3D414B; margin: 14px 0 18px; }
.aside-actions { display: flex; flex-direction: column; gap: 10px; }
.aside-actions .btn { justify-content: center; }
.in-short { padding: 26px 28px 14px; margin: 0 0 8px; }
.in-short .eyebrow { margin-bottom: 4px; color: #7A5E30; }
.in-short .checklist li { padding-top: 10px; padding-bottom: 10px; font-size: 15px; }
.in-short .checklist li:last-child { border-bottom: 0; }
.prose a { color: var(--lapis); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--emerald); }
.guide-card .card-body p { margin-top: 6px; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.guide-card .card-code span { color: #7A5E30; }
.origin-link { display: grid; grid-template-columns: 2fr 3fr; text-decoration: none; color: inherit; overflow: hidden; }
.origin-link .photo { margin: 1px 0 1px 1px; }
.origin-link .photo img { height: 100%; aspect-ratio: auto; object-fit: cover; min-height: 260px; clip-path: polygon(17px 0, 100% 0, 100% 100%, 17px 100%, 0 calc(100% - 17px), 0 17px); }
.origin-link-text { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 48px); }
.origin-link-text .link { align-self: flex-start; }
.origin-link:hover .display { color: var(--emerald); }
@media (max-width: 980px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .origin-link { grid-template-columns: 1fr; }
  .origin-link .photo img { min-height: 200px; max-height: 260px; width: 100%; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%, 0 12px); }
  .origin-link .photo { margin: 1px 1px 0; }
}

/* language links inside the mobile menu */
.nav-lang { display: none; }
@media (max-width: 1180px) {
  .nav .nav-lang { display: block; margin-top: 16px; }
  .nav .nav-lang ul { display: flex; gap: 10px; list-style: none; padding: 0; }
  .nav .nav-lang li { list-style: none; }
  .nav .nav-lang a { display: inline-block; border: 1px solid var(--line); padding: 8px 14px; font: 500 13px var(--mono); }
  .nav .nav-lang a[aria-current="true"] { border-color: var(--lapis); color: var(--lapis); }
}

/* narrow desktops: keep the full menu on one line */
@media (min-width: 1181px) and (max-width: 1400px) {
  .header-in { gap: 18px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .header-tools { gap: 12px; }
  .header-tools .btn { padding: 12px 16px; }
}

/* ---------- language switcher (globe + code, dropdown with native names) ---------- */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid transparent; color: var(--lapis); font: 500 13px var(--mono); letter-spacing: .04em; cursor: pointer; user-select: none; transition: border-color .2s, background .2s; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--gold-line); background: var(--white); }
.lang-switch summary svg { width: 18px; height: 18px; }
.lang-switch summary svg:last-child { width: 14px; height: 14px; transition: transform .2s; }
.lang-switch[open] summary svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; list-style: none; padding: 6px 0; margin: 0; background: var(--white); border: 1px solid var(--gold-line); border-top: 2px solid var(--gold); box-shadow: 0 12px 32px rgba(15,28,69,.14); z-index: 80; }
.lang-menu a, .nav-lang a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.lang-menu a { padding: 11px 16px; min-height: 44px; font-size: 15px; }
.lang-menu a:hover { background: var(--paper); color: var(--lapis); }
.lang-menu a[aria-current="true"], .nav-lang a[aria-current="true"] { color: var(--lapis); font-weight: 500; }
.lang-code { font: 500 12px var(--mono); color: var(--muted); margin-left: auto; }
.lang-menu svg, .nav-lang a svg { width: 16px; height: 16px; color: var(--emerald); }
@media (max-width: 700px) { .lang-switch { display: none; } }

/* mobile menu: language block */
@media (max-width: 1180px) {
  .nav .nav-lang { display: block; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
  .nav-lang-title { display: flex; align-items: center; gap: 8px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
  .nav-lang-title svg { width: 16px; height: 16px; }
  .nav .nav-lang ul { display: flex; flex-direction: column; gap: 0; padding: 0; }
  .nav .nav-lang a { display: flex; align-items: center; gap: 10px; border: 0; border-bottom: 1px solid var(--line); padding: 12px 0; font: 400 17px var(--sans); }
  .nav .nav-lang a[aria-current="true"] { border-color: var(--line); }
}
@media (min-width: 701px) and (max-width: 1180px) { .nav .nav-lang { display: none; } }

/* tablet/mobile header order: logo … language, menu (menu at the far right) */
@media (max-width: 1180px) {
  .menu-btn { order: 3; margin-left: 8px; }
  .header-tools { margin-left: auto; }
}

/* logo tagline: larger, medium-weight italic for legibility on small screens */
.logo i { font-size: 15px; font-weight: 500; letter-spacing: .02em; margin-top: 6px; }
@media (max-width: 700px) { .logo i { font-size: 14px; } }
.site-footer .logo i { font-size: 15px; }

/* ---------- typography refinements ---------- */
html { font-synthesis: none; text-rendering: optimizeLegibility; }
.site-footer, .section-lapis, .route-cap, .btn-solid, .mb-wa, .wa-float { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* comfortable measure: ~60–75 characters per line */
.prose { max-width: 62ch; }
.article-body { max-width: 620px; }
@media (min-width: 1024px) {
  .article-body > p, .article-body > ul li, .article-body > ol li { font-size: 17px; line-height: 1.7; }
}
/* long German/Dutch compounds never overflow small screens */
h1, h2, h3, .display { overflow-wrap: break-word; }
@media (max-width: 700px) { h1, h2, h3, .display, .prose p, .faq summary { hyphens: auto; -webkit-hyphens: auto; } }
/* figures that line up in tables and specs */
.ledger td, .spec td, .doc-table td, .card-code, .coord { font-variant-numeric: tabular-nums; }

/* desktop header spacing: fits the longest (EN) menu at every width */
@media (min-width: 1401px) {
  .header-in { gap: 20px; }
  .nav { gap: clamp(14px, 1.25vw, 20px); }
  .header-tools { gap: 12px; }
}
