/* etin.ca — Roni Etin, Calgary REALTOR®. Design system: "thread" (heritage textile geometry) + Calgary dusk. */
@import url("/assets/fonts/fonts.css");

:root {
  --ink: #0e1726;
  --ink-2: #16213a;
  --ink-3: #243457;
  --navy: #1b2a4a;
  --cream: #f7f1e6;
  --paper: #fcf9f3;
  --wheat: #eadbbd;
  --sand: #d9c3a0;
  --camel: #b5722f;
  --camel-2: #9b5f24;
  --honey: #d9a24e;
  --gold: #c9a24d;
  --gold-2: #e6c678;
  --rose: #c96a5a;
  --text: #1a1f2b;
  --muted: #5b6475;
  --line: rgba(14, 23, 38, 0.12);
  --shadow: 0 18px 50px rgba(14, 23, 38, 0.16);
  --shadow-sm: 0 6px 18px rgba(14, 23, 38, 0.1);
  --radius: 18px;
  --radius-sm: 10px;
  --font-display: "Playfair Display", "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
html[lang="he"] {
  --font-display: "Frank Ruhl Libre", "Playfair Display", Georgia, serif;
  --font-body: "Heebo", "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--camel-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.005em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-3); line-height: 1.55; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--camel); margin: 0 0 .9em; display: flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
html[lang="he"] .eyebrow { letter-spacing: .04em; }
html[lang="ru"] .eyebrow { letter-spacing: .12em; }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(252, 249, 243, .86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand b { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: .01em; }
.brand small { display: none; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
html[lang="he"] .brand small { letter-spacing: .02em; }
.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 11px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .93rem; white-space: nowrap; }
html[lang="ru"] .nav a, html[lang="he"] .nav a { padding: 8px 8px; font-size: .88rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(181, 114, 47, .12); color: var(--camel-2); }
.hdr-cta { display: none; align-items: center; gap: 8px; }
.langs { display: flex; gap: 4px; margin-inline-start: auto; }
.langs a { font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 6px 9px; border-radius: 999px; text-decoration: none; color: var(--ink-3); border: 1px solid transparent; }
.langs a[aria-current="true"] { background: var(--ink); color: #fff; }
.langs a:not([aria-current="true"]):hover { border-color: var(--line); color: var(--ink); }
.burger { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; display: grid; place-items: center; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
@media (min-width: 480px) { .brand small { display: block; } }
@media (min-width: 980px) {
  .nav { display: flex; }
  .hdr-cta { display: flex; }
  .langs { margin-inline-start: 0; }
  .burger { display: none; }
}
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(14, 23, 38, .55); display: none; }
.drawer[open] { display: block; }
.drawer-panel { position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(360px, 88vw); background: var(--paper); padding: 22px; overflow: auto; box-shadow: var(--shadow); }
.drawer-panel a { display: block; padding: 12px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.drawer-close { float: inline-end; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 1.2rem; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--camel); color: #fff; box-shadow: 0 10px 24px rgba(181, 114, 47, .28); }
.btn-primary:hover { background: var(--camel-2); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 9px 15px; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg, .hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 23, 38, .15) 0%, rgba(14, 23, 38, .05) 40%, rgba(14, 23, 38, .75) 100%); }
.hero-in { display: grid; gap: 28px; padding: clamp(40px, 8vw, 96px) 0 0; align-items: end; min-height: min(92vh, 860px); }
.hero-copy { padding-bottom: clamp(40px, 7vw, 90px); max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: .25em; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero .lede { color: rgba(255, 255, 255, .9); }
.hero .eyebrow { color: var(--gold-2); }
@media (max-width: 600px) { .hero .eyebrow { font-size: .68rem; letter-spacing: .12em; } }
.hero .eyebrow::before { background: var(--gold-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-portrait { position: relative; align-self: end; justify-self: center; width: min(78vw, 440px); margin-bottom: -2px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero-portrait img { width: 100%; }
.hero-portrait::before { content: ""; position: absolute; inset: 10% -8% -4% -8%; background: radial-gradient(ellipse at 50% 90%, rgba(217, 162, 78, .55), rgba(217, 162, 78, 0) 65%); z-index: -1; filter: blur(12px); }
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lang-chips span { font-size: .85rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.15fr .85fr; gap: 20px; }
  .hero-portrait { width: min(38vw, 520px); justify-self: end; }
}
.hero-mini { padding: clamp(48px, 9vw, 120px) 0 clamp(36px, 6vw, 70px); }
.hero-mini .hero-copy { padding-bottom: 0; max-width: 760px; }
.hero-mini h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); }

/* ---------- Thread band (heritage textile motif) ---------- */
.thread { height: 18px; background-repeat: repeat-x; background-size: 72px 18px; opacity: .9; }
.thread-gold { background-image: url("/assets/art/thread-gold.svg"); }
.thread-ink { background-image: url("/assets/art/thread-ink.svg"); }
.thread-wrap { background: var(--cream); padding: 10px 0; }

/* ---------- Sections ---------- */
.sec { padding: clamp(48px, 7vw, 96px) 0; }
.sec-tight { padding: clamp(28px, 4vw, 56px) 0; }
.sec-cream { background: var(--cream); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-ink .lede, .sec-ink p { color: rgba(255, 255, 255, .86); }
.sec-ink a { color: var(--gold-2); }
.sec-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 44px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 rgba(14, 23, 38, .03); transition: transform .2s ease, box-shadow .2s ease; position: relative; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(181, 114, 47, .4); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--wheat), #fff); display: grid; place-items: center; margin-bottom: 16px; color: var(--camel-2); border: 1px solid var(--line); }
.card .ico svg { width: 22px; height: 22px; }
.card-link { font-weight: 700; color: var(--camel-2); display: inline-flex; align-items: center; gap: .4em; margin-top: 10px; }
.card-link::after { content: "→"; }
html[dir="rtl"] .card-link::after { content: "←"; }
.card-ink { background: var(--ink-2); border-color: rgba(255, 255, 255, .12); color: #fff; }
.card-ink h3 { color: #fff; }
.card-ink p { color: rgba(255, 255, 255, .82); }

.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.05rem; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-inline-start: 4px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; }
html[dir="rtl"] .prose blockquote { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .97rem; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); background: var(--cream); }
.note { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; font-size: .95rem; color: var(--ink-3); }
.note b { color: var(--ink); }

.split { display: grid; gap: 28px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--wheat); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.rev .media { order: 2; } }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.stat { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--camel-2); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
.sec-ink .stat { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.sec-ink .stat b { color: var(--gold-2); }
.sec-ink .stat span { color: rgba(255, 255, 255, .72); }

.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-family: var(--font-display); font-size: 1.3rem; display: grid; place-items: center; }
.step h3 { font-size: 1.15rem; margin-bottom: .3em; }
.step p:last-child { margin: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; color: var(--camel); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 16px; color: var(--ink-3); max-width: 760px; }

.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.quote::before { content: "“"; position: absolute; top: 6px; inset-inline-start: 18px; font-family: var(--font-display); font-size: 4rem; color: var(--gold); line-height: 1; opacity: .7; }
.quote p { font-size: 1.05rem; margin: 14px 0 12px; }
.quote .by { font-weight: 700; color: var(--ink); font-size: .95rem; }
.quote .src { color: var(--muted); font-size: .85rem; }
.stars { color: var(--honey); letter-spacing: .1em; font-size: .95rem; }

.videos { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.video { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; width: 100%; text-align: start; color: #fff; }
.video.short { aspect-ratio: 9 / 16; max-height: 540px; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .3s ease, opacity .3s ease; }
.video:hover img { transform: scale(1.03); opacity: 1; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow); }
.video .play svg { width: 26px; height: 26px; margin-inline-start: 3px; }
.video .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75)); font-weight: 600; font-size: .95rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.places { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.place { padding: 18px 20px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.place b { display: block; color: var(--ink); font-size: 1.02rem; }
.place .addr { color: var(--muted); font-size: .9rem; }
.place p { margin: 8px 0 0; font-size: .95rem; }
.place a { font-size: .9rem; }

.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tile { padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.tile:hover { border-color: var(--camel); color: var(--camel-2); }
.tile small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }

.badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.badges img { height: 120px; width: auto; }
.logos { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.logos img { height: 44px; width: auto; }

.cta-band { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); color: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); display: grid; gap: 22px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: auto -40px -60px auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 162, 78, .45), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 880px) { .cta-band { grid-template-columns: 1.4fr 1fr; } .cta-band .actions { justify-content: flex-end; } }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 36px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--camel); outline-offset: 1px; border-color: var(--camel); }
.field textarea { min-height: 110px; resize: vertical; }
.field .err { display: none; color: #b42318; font-size: .85rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-3); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-ok, .form-fail { display: none; padding: 18px; border-radius: var(--radius-sm); margin-top: 12px; }
.form-ok { background: #ecf7ee; border: 1px solid #b7e0c0; color: #15532b; }
.form-fail { background: #fdf0ec; border: 1px solid #f1c3b8; color: #8a2a1b; }
form[data-state="ok"] .form-ok, form[data-state="fail"] .form-fail { display: block; }
form[data-state="ok"] .form-grid, form[data-state="ok"] .form-actions { display: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.form-actions .alt { color: var(--muted); font-size: .9rem; }

/* ---------- Contact strip ---------- */
.contact-strip { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.contact-strip a { display: flex; gap: 14px; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 700; }
.contact-strip a small { display: block; font-weight: 500; color: var(--muted); }
.contact-strip svg { width: 24px; height: 24px; color: var(--camel); flex: none; }

/* ---------- Landing (hidden) pages ---------- */
.landing .hdr-in { min-height: 60px; }
.landing-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.landing-hero .hero-art::after { background: linear-gradient(180deg, rgba(14, 23, 38, .3), rgba(14, 23, 38, .85)); }
.landing-grid { display: grid; gap: 28px; padding: clamp(36px, 6vw, 72px) 0; align-items: start; }
@media (min-width: 900px) { .landing-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; } }
.landing-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.landing-hero .lede { color: rgba(255, 255, 255, .88); }
.landing-hero ul.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.landing-hero ul.ticks li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .92); }
.landing-hero ul.ticks li::before { content: "✓"; color: var(--gold-2); font-weight: 800; flex: none; }
.landing-hero .form-card { color: var(--text); }
.agent-pill { display: flex; gap: 14px; align-items: center; margin-top: 24px; }
.agent-pill img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--wheat); border: 2px solid rgba(255, 255, 255, .5); }
.agent-pill b { display: block; }
.agent-pill span { color: rgba(255, 255, 255, .75); font-size: .9rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 56px 0 28px; margin-top: 0; }
.ftr a { color: #fff; }
.ftr-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.ftr h4 { color: var(--gold-2); font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="he"] .ftr h4 { letter-spacing: .03em; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr ul a { text-decoration: none; }
.ftr ul a:hover { text-decoration: underline; }
.ftr-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 36px; padding-top: 20px; font-size: .84rem; color: rgba(255, 255, 255, .6); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.ftr-bottom a { color: rgba(255, 255, 255, .75); }
.ftr .brand b { color: #fff; }
.ftr .brand small { color: rgba(255, 255, 255, .6); }

/* ---------- Dock (mobile call/message) ---------- */
.dock { position: fixed; bottom: 12px; inset-inline: 12px; z-index: 45; display: flex; gap: 10px; }
.dock a { flex: 1; }
@media (min-width: 980px) { .dock { display: none; } }
body { padding-bottom: 76px; }
@media (min-width: 980px) { body { padding-bottom: 0; } }

/* ---------- Language bar ---------- */
.langbar { background: var(--ink-2); color: #fff; font-size: .9rem; padding: 10px 0; display: none; }
.langbar[data-show] { display: block; }
.langbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: center; }
.langbar a { color: var(--gold-2); font-weight: 700; }
.langbar button { background: transparent; border: 0; color: rgba(255, 255, 255, .7); cursor: pointer; font-size: 1.1rem; }

/* ---------- Heritage art plates ---------- */
.plate { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.plate img, .plate svg { width: 100%; display: block; }
.plate-cap { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 8px; }

/* ---------- Table of contents (long guides) ---------- */
.toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin: 0 0 28px; }
.toc b { display: block; margin-bottom: 8px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--camel-2); }
.toc ol { margin: 0; padding-inline-start: 1.2em; columns: 2; column-gap: 24px; font-size: .95rem; }
@media (max-width: 600px) { .toc ol { columns: 1; } }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--camel-2); }

/* ---------- Print ---------- */
@media print {
  .hdr, .dock, .drawer, .langbar, .ftr, .cta-band, .form-card, .hero-art { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .hero { color: #000; background: #fff; }
  .hero h1 { color: #000; text-shadow: none; }
  .sec { padding: 16px 0; }
}
