/* ══════════════════════════════════════════════════════════════
   עֵדֵי צֶדֶק | משרד עורכי דין — site.css (home pages: / and /en/)
   Navy & ivory. Assistant throughout; Frank Ruhl Libre for the wordmark only.
   Logical properties: one file serves RTL (he) and LTR (en).
   CSP: no inline styles — every style lives here.
══════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted, OFL) ─────────────────────────────── */
@font-face { font-family: 'Assistant'; src: url('../fonts/assistant-200.woff') format('woff'); font-weight: 200; font-display: swap; }
@font-face { font-family: 'Assistant'; src: url('../fonts/assistant-300.woff') format('woff'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Assistant'; src: url('../fonts/assistant-400-hebrew.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-2010, U+20AA, U+25CC; }
@font-face { font-family: 'Assistant'; src: url('../fonts/assistant-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Assistant'; src: url('../fonts/assistant-600-hebrew.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-2010, U+20AA, U+25CC; }
@font-face { font-family: 'Assistant'; src: url('../fonts/assistant-600-latin.woff2') format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bellefair"; src: url("../fonts/bellefair-brand.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Frank Ruhl Libre'; src: url('../fonts/frank-ruhl-libre-500-hebrew.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F, U+200C-2010, U+20AA, U+25CC; }

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  --navy:      #0A162E;
  --navy-2:    #13254A;
  --navy-deep: #07101F;
  --ivory:     #F6F2EA;
  --paper:     #FFFFFF;
  --ink:       #0E1D3A;
  --muted:     #4A5468;
  --gold:      #C9AE7E;   /* on navy */
  --bronze:    #8A6A3E;   /* on ivory (AA contrast) */
  --line:      #DCD3C2;
  --navy-line: #2B3B5C;
  --on-navy:   #E4DED2;
  --error:     #9B2C2C;

  --font: 'Assistant', 'Segoe UI', Arial, sans-serif;
  --font-brand: 'Bellefair', 'Assistant', serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(88px, 11vw, 140px);
  --header-h: 88px;
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font); font-size: 17px; font-weight: 400; line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-family: var(--font); font-weight: 200; line-height: 1.15; color: inherit; }
p { margin: 0; }
img, video { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 300; background: var(--gold); color: var(--navy); padding: 10px 18px; }
.skip-link:focus { top: 16px; }
main:focus { outline: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 36px; border: 1px solid transparent;
  font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #D8C196; color: var(--navy); }
.btn--line { border-color: rgba(246, 242, 234, .6); color: var(--ivory); font-weight: 400; }
.btn--line:hover { background: rgba(246, 242, 234, .1); border-color: var(--ivory); }
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); font-weight: 400; background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn:disabled, .btn--loading { opacity: .6; cursor: wait; }

/* Section heading: centered title + short rule */
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.sec-head--start { align-items: flex-start; text-align: start; }
.sec-title { font-size: clamp(36px, 4.4vw, 54px); }
.sec-rule { width: 56px; height: 1px; background: var(--bronze); }
.sec-lead { color: var(--muted); max-width: 40em; }
.eyebrow { color: var(--bronze); font-size: 15px; letter-spacing: .04em; }

/* ── Header ───────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--ivory); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.is-scrolled { border-bottom-color: var(--navy-line); }
.nav { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo-link { display: flex; flex-direction: column; line-height: 1.25; color: var(--ivory); }
.nav__logo-name { font-family: var(--font-brand); font-weight: 400; font-size: 27px; letter-spacing: .03em; }
.nav__logo-en { font-weight: 300; font-size: 12px; letter-spacing: .32em; color: var(--gold); white-space: nowrap; direction: ltr; }
[dir="rtl"] .nav__logo-en { text-align: right; }
.nav__logo-name { white-space: nowrap; }
.nav__logo-sep { color: var(--gold); font-weight: 400; padding: 0 2px; }
.nav__menu { display: flex; align-items: center; gap: 36px; }
.nav__link { font-weight: 300; font-size: 16px; color: var(--ivory); padding-block: 6px; position: relative; }
.nav__link::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .3s ease; }
.nav__link:hover, .nav__link--active { color: var(--ivory); }
.nav__link:hover::after, .nav__link--active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 10px;
  border: 1px solid var(--navy-line); color: var(--gold); letter-spacing: .12em; font-size: 15px;
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.nav__bar { display: block; width: 24px; height: 1px; background: var(--ivory); transition: transform .3s ease, opacity .3s ease; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; justify-content: flex-start; gap: 28px; padding-top: 56px;
    background: var(--navy); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; }
  .nav__link { font-size: 24px; font-weight: 200; }
}
@media (max-width: 420px) { .nav__logo-en { font-size: 9px; letter-spacing: .14em; } .nav__logo-name { font-size: 19px; } }

/* ── Hero with video ──────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--ivory); height: min(calc(100vh - var(--header-h)), 820px); min-height: 560px; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,22,46,.92) 0%, rgba(10,22,46,.55) 26%, rgba(10,22,46,0) 52%); }
.hero__content {
  position: absolute; inset-inline: 0; bottom: 0; padding: 0 var(--gutter) clamp(40px, 6vh, 64px);
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
}
.hero__pause { position: absolute; z-index: 3; top: 16px; inset-inline-end: 16px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(10,22,46,.55); border: 1px solid rgba(201,174,126,.6); color: var(--ivory); cursor: pointer; }
.hero__pause:hover, .hero__pause:focus-visible { background: rgba(10,22,46,.85); }
.hero__pause:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hero__pause svg { width: 14px; height: 14px; fill: currentColor; }
.hero__play-icon { display: none; }
.hero__pause[aria-pressed="true"] .hero__pause-icon { display: none; }
.hero__pause[aria-pressed="true"] .hero__play-icon { display: block; }
.hero__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 200; color: var(--ivory); }
.hero__sub { color: var(--on-navy); max-width: 36em; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
@media (max-width: 600px) {
  .hero { height: auto; min-height: 0; aspect-ratio: auto; }
  .hero__video { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .hero__shade { display: none; }
  .hero__content { position: relative; padding: 32px var(--gutter) 44px; background: var(--navy); }
  .hero__actions .btn { width: 100%; }
}

/* ── Practice areas ───────────────────────────────────────── */
.section { padding-block: var(--section); }
.practice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.practice__card { background: var(--paper); border-top: 2px solid var(--navy); padding: 44px 36px; display: flex; flex-direction: column; gap: 16px; }
.practice__num { color: var(--bronze); font-weight: 300; }
.practice__title { font-size: clamp(24px, 2.2vw, 28px); font-weight: 300; }
.practice__desc { color: var(--muted); }
@media (max-width: 900px) { .practice { grid-template-columns: minmax(0, 1fr); } }

/* ── About the office (navy) ──────────────────────────────── */
.about-office { background: var(--navy); color: var(--on-navy); }
.about-office .sec-title { color: var(--ivory); }
.about-office .sec-rule { background: var(--gold); }
.about-office__body { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; text-align: center; font-size: 18px; }
.about-office__lead { color: var(--ivory); }

/* ── Profile ──────────────────────────────────────────────── */
.profile__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.profile__content { display: flex; flex-direction: column; gap: 20px; }
.profile__role { color: var(--bronze); font-size: 18px; font-weight: 600; }
.profile__text { color: var(--muted); }
.profile__creds { list-style: none; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(138,106,62,.25); color: var(--bronze); font-size: 15px; line-height: 1.9; }
.profile__creds bdi { white-space: nowrap; }
.profile__portrait { margin: 0; }
.profile__img { width: 100%; height: auto; aspect-ratio: 930 / 1214; object-fit: cover; }
@media (max-width: 860px) {
  .profile__inner { grid-template-columns: minmax(0, 1fr); }
  .profile__portrait { order: -1; max-width: 420px; }
}

/* ── Contact (navy) ───────────────────────────────────────── */
.contact { background: var(--navy); color: var(--on-navy); }
.contact .sec-title { color: var(--ivory); }
.contact .sec-rule { background: var(--gold); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 88px); align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 18px; }
.contact__meta { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.contact__meta-item { display: flex; flex-direction: column; }
.contact__meta-label { color: var(--gold); font-size: 15px; }
.contact__meta-value { color: var(--ivory); }
.contact__meta-value:hover { color: var(--gold); }
[dir="rtl"] .contact__meta-value[dir="ltr"] { text-align: right; }
.contact__panel { background: var(--ivory); color: var(--ink); padding: clamp(28px, 4vw, 48px); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }

.cform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; }
.cform__group { display: flex; flex-direction: column; gap: 6px; }
.cform__group--full { grid-column: 1 / -1; }
.cform__label { color: var(--muted); font-size: 15px; }
.cform__req { color: var(--bronze); }
.cform__input { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 8px 0; min-height: 46px; color: var(--ink); font-size: 17px; }
.cform__input::placeholder { color: #8A8F99; }
.cform__input:focus { outline: none; border-bottom: 2px solid var(--bronze); }
.cform__input.is-err { border-bottom-color: var(--error); }
.cform__err { color: var(--error); font-size: 15px; }
.cform__err:empty { display: none; }
.cform__notice { grid-column: 1 / -1; color: var(--muted); font-size: 15px; }
.cform__consent-label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.cform__consent-check { width: 18px; height: 18px; margin: 5px 0 0; flex: none; accent-color: var(--navy); }
.cform__privacy-link { border-bottom: 1px solid currentColor; }
.cform button[type="submit"] { justify-self: start; }
.cform__honeypot { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform__alert { display: flex; gap: 10px; align-items: center; color: var(--error); }
.cform__alert[hidden] { display: none; }
.cform__alert svg { width: 20px; height: 20px; flex: none; }
.cform__success { padding-block: 32px; display: flex; flex-direction: column; gap: 10px; }
.cform__success[hidden] { display: none; }
.cform__success h3 { font-size: 30px; font-weight: 300; }
.cform__success-icon { color: var(--bronze); font-size: 26px; }
@media (max-width: 600px) { .cform { grid-template-columns: minmax(0, 1fr); } .cform button[type="submit"] { width: 100%; } }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--navy-deep); color: #A9B1C2; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding-block: 48px 36px; }
.site-footer__brand { display: flex; flex-direction: column; line-height: 1.3; }
.site-footer__name { font-family: var(--font-brand); font-weight: 400; font-size: 21px; color: var(--ivory); }
.site-footer__en { font-weight: 300; font-size: 11px; letter-spacing: .32em; color: var(--gold); direction: ltr; }
[dir="rtl"] .site-footer__en { text-align: right; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__bottom { border-top: 1px solid #1C2A45; }
.site-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 32px; padding-block: 20px; font-size: 15px; }

/* ── Floating elements ────────────────────────────────────── */
.whatsapp-btn {
  position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 90;
  width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold); border: 1px solid var(--navy-line); border-radius: 50%;
  box-shadow: 0 8px 24px rgba(7, 16, 31, .25);
}
.whatsapp-btn:hover { color: var(--ivory); }
.whatsapp-btn svg { width: 24px; height: 24px; }
.back-to-top {
  position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--ivory); color: var(--navy); border: 1px solid var(--line);
}
.back-to-top[hidden] { display: none; }
.back-to-top svg { width: 20px; height: 20px; }
.cookie-banner {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 150; max-width: 760px; margin-inline: auto;
  background: var(--ivory); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 40px rgba(7, 16, 31, .25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 22px 26px; }
.cookie-banner__text { flex: 1 1 320px; color: var(--muted); font-size: 15px; }
.cookie-banner__link { border-bottom: 1px solid currentColor; }
.cookie-banner__actions { display: flex; gap: 10px; }
.cookie-banner .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }

/* ── Reveal (JS-guarded) ──────────────────────────────────── */
.js-ready .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-ready .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Day theme (set by JS from local time) ---------- */
.theme-day .site-header { background: var(--ivory); color: var(--navy); }
.theme-day .site-header.is-scrolled { border-bottom-color: rgba(10,22,46,.12); }
.theme-day .nav__logo-name, .theme-day .nav__link { color: var(--navy); }
.theme-day .nav__logo-en { color: var(--bronze); }
.theme-day .lang-switch { border-color: rgba(10,22,46,.2); color: var(--bronze); }
.theme-day .lang-switch:hover { border-color: var(--bronze); }
.theme-day .nav__bar { background: var(--navy); }
.theme-day .hero { background: var(--ivory); }
.theme-day .hero__shade { background: linear-gradient(0deg, rgba(10,22,46,.78) 0%, rgba(10,22,46,.35) 24%, rgba(10,22,46,0) 46%); }
@media (max-width: 960px) {
  .theme-day .nav__menu { background: var(--ivory); }
}
@media (max-width: 600px) {
  .theme-day .hero__content { background: var(--ivory); }
  .theme-day .hero__sub { color: var(--navy); }
  .theme-day .hero__actions .btn--line { border-color: rgba(10,22,46,.4); color: var(--navy); }
  .theme-day .hero__actions .btn--line:hover { background: rgba(10,22,46,.05); border-color: var(--navy); }
}

/* ---------- Hero brand (office logo over the video) ---------- */
.hero__brand { position: absolute; z-index: 2; inset-inline: 0; top: 9%; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.hero__mark { width: clamp(64px, 7vw, 96px); height: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.25)); }
.hero__brand-name { font-family: "Bellefair", var(--font-brand); font-size: clamp(38px, 4.6vw, 62px); line-height: 1.1; letter-spacing: .06em; color: var(--ivory); margin-top: 18px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero__brand-sub { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 15px; color: #E3CF9F; letter-spacing: .08em; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero__brand-sub i { display: block; width: 1px; height: 14px; background: var(--gold); }
.hero__brand-sub .en { direction: ltr; letter-spacing: .42em; font-size: 12px; }
.theme-day .hero__brand-name { color: var(--navy); text-shadow: 0 1px 14px rgba(255,255,255,.45); }
.theme-day .hero__brand-sub { color: var(--bronze); text-shadow: 0 1px 10px rgba(255,255,255,.5); }
.theme-day .hero__brand-sub i { background: var(--bronze); }
@media (max-width: 600px) {
  .hero__brand { top: 0; height: calc(100vw * 9 / 16); justify-content: center; }
  .hero__mark { width: 44px; }
  .hero__brand-name { font-size: 28px; margin-top: 8px; }
  .hero__brand-sub { font-size: 11px; gap: 8px; margin-top: 6px; }
  .hero__brand-sub .en { font-size: 9px; }
}
.theme-day .hero__mark { filter: brightness(.62) saturate(1.35) drop-shadow(0 1px 8px rgba(255,255,255,.5)); }
.theme-day .hero__brand-sub { color: #6E5230; font-weight: 400; }

/* hero brand v2 */
.hero__brand { top: 7%; }
.hero__mark { width: clamp(72px, 7.6vw, 108px); }
.hero__brand-name { font-size: clamp(44px, 5.2vw, 70px); margin-top: 16px; }
.hero__orn { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.hero__orn i { display: block; width: 64px; height: 1px; background: linear-gradient(90deg, rgba(201,174,126,0), #C9AE7E); }
.hero__orn i:last-child { background: linear-gradient(90deg, #C9AE7E, rgba(201,174,126,0)); }
.hero__orn em { display: block; width: 7px; height: 7px; background: #D9C08F; transform: rotate(45deg); }
.hero__brand-sub { margin-top: 12px; }
.hero__spec { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 10px 22px; font-size: 16px; font-weight: 300; letter-spacing: .04em; color: var(--ivory);
  border-top: 1px solid rgba(201,174,126,.45); border-bottom: 1px solid rgba(201,174,126,.45); background: rgba(10,22,46,.28); backdrop-filter: blur(2px); }
.hero__spec b { display: block; width: 5px; height: 5px; background: #C9AE7E; transform: rotate(45deg); }
.theme-day .hero__spec { color: var(--navy); background: rgba(246,242,234,.55); border-color: rgba(138,106,62,.45); font-weight: 400; }
.theme-day .hero__spec b, .theme-day .hero__orn em { background: var(--bronze); }
.theme-day .hero__orn i { background: linear-gradient(90deg, rgba(138,106,62,0), #8A6A3E); }
.theme-day .hero__orn i:last-child { background: linear-gradient(90deg, #8A6A3E, rgba(138,106,62,0)); }
@media (max-width: 600px) {
  .hero__brand { top: 0; }
  .hero__mark { width: 40px; }
  .hero__brand-name { font-size: 26px; margin-top: 6px; }
  .hero__orn { margin-top: 6px; } .hero__orn i { width: 36px; }
  .hero__spec { display: none; }
}
.hero__spec { background: none; backdrop-filter: none; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.theme-day .hero__spec { background: none; text-shadow: 0 1px 10px rgba(255,255,255,.6); }
@media (max-width: 600px) {
  .hero__brand { justify-content: flex-start; padding-top: 16px; }
  .hero__brand-sub { display: none; }
  .hero__brand-name { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
}
.hero__brand-name { margin-top: 0; }
.hero__brand { top: 12%; }
@media (max-width: 600px) { .hero__brand { top: 0; padding-top: 0; justify-content: center; } .hero__brand-name { font-size: 32px; } }
.hero__tagline { font-family: var(--font-brand); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.35; letter-spacing: .02em; color: var(--ivory); margin: 0 auto 14px; max-width: 30em; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
@media (max-width: 600px) { .hero__tagline { font-size: 22px; } .theme-day .hero__tagline { color: var(--navy); text-shadow: none; } }
.hero__tagline--m { display: none; }
.hero__tagline--d { margin: 22px auto 0; font-size: clamp(22px, 2vw, 28px); }
.theme-day .hero__tagline { color: #111; text-shadow: 0 1px 12px rgba(255,255,255,.55); }
@media (max-width: 600px) { .hero__tagline--d { display: none; } .hero__tagline--m { display: block; } }
.hero__tagline { font-family: var(--font); font-weight: 400; letter-spacing: .02em; }
.hero__tagline--d { font-size: clamp(20px, 1.7vw, 24px); }
/* ---------- Hero still image (day / evening) ---------- */
.hero__bg { position: absolute; inset: 0; background: #0A162E url("../images/hero-evening.jpg") center 62% / cover no-repeat; }
.theme-day .hero__bg { background-image: url("../images/hero-day.jpg"); background-position: center 70%; }
@media (max-width: 600px) {
  .hero__bg { position: relative; aspect-ratio: 16 / 9; height: auto; }
}

/* ---------- Legal pages (privacy / terms / accessibility / 404) ---------- */
.page-legal main { background: var(--ivory); }
.policy-wrap { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; color: var(--navy); }
.policy-eyebrow { font-size: 13px; letter-spacing: .14em; color: var(--bronze); margin: 0 0 10px; }
.policy-title { font-weight: 200; font-size: clamp(34px, 4vw, 48px); line-height: 1.2; margin: 0; color: var(--navy); }
.policy-title::after { content: ""; display: block; width: 56px; height: 1px; background: var(--bronze); margin-top: 18px; }
.policy-updated { font-size: 14px; color: #5b6070; margin: 16px 0 28px; }
.policy-lead { font-size: 18px; line-height: 1.85; color: #2a3247; margin: 0 0 8px; }
.policy-divider { border: 0; border-top: 1px solid rgba(138,106,62,.22); margin: 30px 0; }
.policy-section__title { font-weight: 400; font-size: 22px; color: var(--navy); margin: 0 0 12px; }
.policy-text { font-size: 16.5px; line-height: 1.9; color: #343c51; margin: 0 0 12px; }
.policy-list { margin: 0 0 12px; padding-inline-start: 22px; line-height: 1.9; color: #343c51; }
.policy-list li::marker { color: var(--bronze); }
.policy-wrap a { color: var(--navy); text-decoration: underline; text-decoration-color: rgba(138,106,62,.5); text-underline-offset: 3px; }
.policy-wrap a:hover { text-decoration-color: var(--bronze); }
.policy-contact-card { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; background: #fff; border-top: 2px solid var(--navy); padding: 22px 26px; margin: 14px 0 0; }
.policy-contact-card dt { color: var(--bronze); font-size: 14px; }
.policy-contact-card dd { margin: 0; }
.policy-footer-links { margin-top: 40px; }
.policy-back-link { font-size: 15px; }
html.js .policy-section { opacity: 1; transform: none; }
.page-404 { background: var(--ivory); min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.page-404__num { font-family: var(--font-brand); font-size: 96px; color: var(--bronze); margin: 0; line-height: 1; }
.page-404__title { font-weight: 200; font-size: 40px; color: var(--navy); margin: 12px 0; }
.page-404__text { color: #343c51; line-height: 1.8; margin: 0 0 28px; }
.page-404__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn--outline-navy { border: 1px solid rgba(10,22,46,.4); color: var(--navy); }
.btn--outline-navy:hover { border-color: var(--navy); background: rgba(10,22,46,.04); }
@media (max-width: 600px) { .policy-wrap { padding: 48px 20px 72px; } .policy-contact-card { grid-template-columns: 1fr; gap: 2px; } .policy-contact-card dd { margin-bottom: 10px; } }
.policy-wrap a[href^="tel:"], .policy-wrap a[href^="mailto:"] { white-space: nowrap; }
/* ---------- Day / evening toggle ---------- */
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-inline-end: 10px; background: transparent; border: 1px solid rgba(201,174,126,.45); color: var(--gold); cursor: pointer; transition: border-color .2s, background .2s; }
.theme-toggle:hover { border-color: var(--gold); background: rgba(201,174,126,.08); }
.theme-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ico-moon { display: none; }
.theme-day .theme-toggle { color: var(--bronze); border-color: rgba(10,22,46,.2); }
.theme-day .theme-toggle:hover { border-color: var(--bronze); }
.theme-day .theme-toggle .ico-moon { display: block; }
.theme-day .theme-toggle .ico-sun { display: none; }
.hero__brand-en { font-family: var(--font); direction: ltr; font-size: clamp(14px, 1.25vw, 18px); letter-spacing: .55em; padding-left: .55em; color: #E3CF9F; margin-top: 10px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.theme-day .hero__brand-en { color: #6E5230; text-shadow: 0 1px 10px rgba(255,255,255,.5); }
@media (max-width: 600px) { .hero__brand-en { font-size: 11px; margin-top: 4px; } }
