/* Heritage Media Labs — premium design layer.
   Loaded after style.css, preview-notice.css and page styles; remove the <link> in base.html.twig to roll back. */

:root {
  --color-bg: #0a0908;
  --color-bg-elevated: #0f0d0b;
  --color-surface: #15120f;
  --color-surface-hover: #1c1814;
  --color-text: #f5f0e6;
  --color-text-secondary: #d9d1c2;
  --color-muted: #a59c8c;
  --color-accent: #d6b878;
  --color-accent-hover: #ecd7a6;
  --color-accent-soft: rgba(214, 184, 120, 0.12);
  --color-accent-glow: rgba(214, 184, 120, 0.28);
  --color-gold: #d6b878;
  --color-gold-bright: #ecd7a6;
  --color-gold-deep: #a9874a;
  --color-gold-muted: rgba(214, 184, 120, 0.32);
  --color-gold-soft: rgba(214, 184, 120, 0.08);
  --color-border: rgba(245, 240, 230, 0.08);
  --color-border-hover: rgba(245, 240, 230, 0.16);
  --hairline-gold: linear-gradient(90deg, transparent, rgba(214, 184, 120, 0.5) 50%, transparent);
  --gold-fill: linear-gradient(180deg, #ecd7a6 0%, #d6b878 48%, #b8955a 100%);
  --leading-body: 1.75;
  --tracking-display: 0.004em;
  --space-section-y: clamp(5rem, 11vw, 9rem);
  --space-section-header: clamp(3rem, 6vw, 4.5rem);
  --radius: 4px;
  --radius-sm: 3px;
  --radius-xs: 2px;
  --shadow-glow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  --header-height: 76px;
  --container-width: 1240px;
}

html { background: var(--color-bg); }
body {
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(214, 184, 120, 0.05), transparent 60%),
    var(--color-bg);
}
::selection { background: rgba(214, 184, 120, 0.32); color: #fff; }

h1, h2 { font-weight: 500; }
h1, h2, h3 { letter-spacing: var(--tracking-display); }
a { color: var(--color-gold); }
a:hover { color: var(--color-gold-bright); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--color-gold-bright);
  outline-offset: 3px;
}

.skip-link { left: 1rem; transform: translateY(-110%); background: var(--color-gold); color: #15110a; font-weight: 600; }
.skip-link:focus { left: 1rem; transform: none; }
[dir="rtl"] .skip-link, [dir="rtl"] .skip-link:focus { left: auto; right: 1rem; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  background: rgba(10, 9, 8, 0.74);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(245, 240, 230, 0.05);
  box-shadow: none;
}
.site-header::after { background: var(--hairline-gold); opacity: 0.55; }
.site-header > .container { width: min(1440px, 94vw); }
.site-header .header-inner { min-height: var(--header-height); padding: 0.55rem 0; gap: 0.5rem 1.5rem; }
.site-header .brand .site-logo-wordmark { height: 46px; }
.site-header .brand-text { font-weight: 500; font-size: 1.32rem; letter-spacing: 0.1em; }
.nav-main a {
  font-size: 0.72rem;
  letter-spacing: 0.17em;
  color: var(--color-muted);
  padding: 0.5rem 0.75rem;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--color-text); }
.nav-main a::after { height: 1px; bottom: 0.15rem; background: var(--color-gold); }
.site-header .header-meta { border-left: 0; border-inline-start: 1px solid rgba(245, 240, 230, 0.08); padding-left: 0; padding-inline-start: 1.25rem; margin-left: 0; margin-inline-start: 0.25rem; }
.site-header .phone-block { text-align: end; }
.site-header .phone-label { letter-spacing: 0.2em; }
.site-header .header-cta { padding: 0.7rem 1.25rem; font-size: 0.68rem; letter-spacing: 0.2em; }
.phone-num, .footer-phone-num, .cp-rail-phone { direction: ltr; unicode-bidi: isolate; }

@media (min-width: 1081px) {
  .nav-main ul { gap: 0; }
}
@media (min-width: 1081px) and (max-width: 1599px) {
  .site-header .phone-block { display: none; }
  .site-header .header-meta { padding-inline-start: 1rem; gap: 0; }
}
@media (min-width: 1081px) and (max-width: 1439px) {
  .nav-main a { padding: 0.45rem 0.55rem; font-size: 0.68rem; letter-spacing: 0.13em; }
  .nav-main a:hover::after, .nav-main a[aria-current="page"]::after { width: calc(100% - 1.1rem); left: 0.55rem; }
}
@media (min-width: 1081px) and (max-width: 1280px) {
  .site-header .brand-text { display: none; }
}
@media (max-width: 1080px) {
  .nav-main { background: rgba(10, 9, 8, 0.97); border-bottom: 1px solid var(--color-gold-muted); }
  .nav-main a { padding: 0.95rem 1.5rem; letter-spacing: 0.18em; border-bottom: 1px solid rgba(245, 240, 230, 0.04); }
  .nav-main a[aria-current="page"] { color: var(--color-gold); }
  .nav-mobile-cta { margin-inline: 1.5rem; border-top-color: var(--color-gold-muted); }
  .nav-mobile-cta .phone-block { text-align: start; }
  .nav-toggle { border-radius: var(--radius-sm); border-color: var(--color-gold-muted); color: var(--color-gold); background: transparent; width: 44px; height: 44px; }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  border-radius: var(--radius-sm);
  padding: 0.95rem 2rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.25;
  min-height: 3rem;
  transition: background-color 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft), color 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), transform 0.4s var(--ease-soft);
}
.btn-lg { padding: 1.1rem 2.4rem; font-size: 0.76rem; }
.btn-gold, .btn-primary {
  background: var(--gold-fill);
  color: #16110a;
  border: 1px solid rgba(236, 215, 166, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 34px -16px rgba(214, 184, 120, 0.6);
}
.btn-gold::before, .btn-primary::before {
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-soft);
}
.btn-gold:hover, .btn-primary:hover {
  background: var(--gold-fill);
  color: #16110a;
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 20px 44px -16px rgba(214, 184, 120, 0.7);
}
.btn-gold:hover::before, .btn-primary:hover::before { transform: translateX(120%); }
.btn-outline, .hero-cta-secondary {
  border: 1px solid rgba(214, 184, 120, 0.45);
  color: var(--color-text);
  background: rgba(10, 9, 8, 0.25);
}
.btn-outline:hover, .hero-cta-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-bright);
  background: rgba(214, 184, 120, 0.07);
  transform: translateY(-1px);
}
.btn:focus-visible { outline: 2px solid var(--color-gold-bright); outline-offset: 3px; }
.site-header .header-cta, .site-header .header-cta:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4); }

/* ── Hero ───────────────────────────────────────────────── */
.hero-bg img { opacity: 0.62; filter: saturate(0.55) sepia(0.18) contrast(1.12) brightness(0.82); }
.hero::before {
  background:
    radial-gradient(ellipse 72% 85% at 16% 55%, rgba(10, 9, 8, 0.92) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.6) 0%, rgba(10, 9, 8, 0.2) 40%, rgba(10, 9, 8, 0.85) 100%);
}
.hero-vignette { background: radial-gradient(ellipse 45% 55% at 72% 42%, rgba(214, 184, 120, 0.07), transparent 70%); }
.hero-content { max-width: 44rem; }
.hero-brand {
  font-weight: 500;
  font-size: clamp(3rem, 7.6vw, 6.25rem);
  line-height: 0.96;
  letter-spacing: 0.02em;
  color: var(--color-gold);
  background: var(--gold-fill);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  padding-bottom: 0.06em;
}
.hero-rule { width: 4.5rem; margin: 1.75rem 0 1.6rem; background: linear-gradient(90deg, var(--color-gold), transparent); }
.hero h1 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); color: var(--color-text); max-width: 32rem; }
.hero-lead { color: var(--color-text-secondary); font-size: 1.05rem; line-height: 1.8; max-width: 31rem; margin-bottom: 2.75rem; }
.hero-actions { gap: 1rem 1.25rem; }

/* ── Stats ──────────────────────────────────────────────── */
.stats-bar::before, .stats-bar::after { background: var(--hairline-gold); }
.stat-number { font-size: clamp(2.2rem, 3.8vw, 3.1rem); font-weight: 500; }
.stat-label { letter-spacing: 0.24em; font-size: 0.66rem; }
.stat-item:not(:last-child)::after { inset-inline-end: 0; }

/* ── Sections ───────────────────────────────────────────── */
.section-kicker, .page-header .page-kicker, .cp-kicker, .founders-mark, .about-services-mark, .footer-heading, .founder-role {
  letter-spacing: 0.3em;
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--color-gold);
}
.section-kicker::before, .section-kicker::after { width: 2.25rem; background: var(--color-gold-muted); }
.section h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); font-weight: 500; line-height: 1.06; margin-bottom: 1rem; }
.section-subtitle { color: var(--color-muted); font-size: 1.08rem; line-height: 1.8; max-width: 40rem; }
.section--alt, .news-teaser { background: var(--color-bg-elevated); }

.features-grid { border-top-color: var(--color-gold-muted); }
.feature-card { padding: clamp(2rem, 3vw, 2.75rem) clamp(1.5rem, 2.4vw, 2.25rem) clamp(2.25rem, 3.4vw, 3rem); border-color: var(--color-border); }
.feature-card::before { background: linear-gradient(90deg, var(--color-gold), transparent); }
.feature-card:hover { background: linear-gradient(180deg, rgba(214, 184, 120, 0.05), transparent 70%); }
.feature-index { color: var(--color-gold); opacity: 0.75; letter-spacing: 0.24em; }
.feature-card h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); font-weight: 500; }
.feature-card p { color: var(--color-muted); font-size: 0.96rem; line-height: 1.75; }

.news-item__media::after, .yt-channel__thumb::after { border-color: rgba(214, 184, 120, 0.16); }
.news-item__body h3 { font-weight: 500; font-size: clamp(1.3rem, 1.9vw, 1.55rem); }
.news-item__link { letter-spacing: 0.22em; font-size: 0.68rem; }

.process { background: radial-gradient(ellipse 70% 45% at 50% 8%, rgba(214, 184, 120, 0.06), transparent 60%), var(--color-bg); }
.process-reveal { direction: ltr; }
.process-reveal__pane--after::before { background: radial-gradient(ellipse at 70% 35%, rgba(214, 184, 120, 0.1), transparent 50%); }
.process-step__title { font-weight: 500; }

.cta-banner {
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(214, 184, 120, 0.12), transparent 60%),
    linear-gradient(180deg, #13100d 0%, #0b0a08 100%);
  border-block: 1px solid var(--color-gold-muted);
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.5rem, 4vw, 3rem);
}
.cta-banner h2 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 500; }
.cta-banner p { color: var(--color-text-secondary); font-size: 1.1rem; max-width: 34rem; }

/* ── Inner page hero ────────────────────────────────────── */
.page-hero, .page-hero--editorial { background: var(--color-bg-elevated); }
.page-hero::before, .page-hero--editorial::before {
  background:
    radial-gradient(ellipse 60% 80% at 85% -10%, rgba(214, 184, 120, 0.11), transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 110%, rgba(214, 184, 120, 0.05), transparent 55%),
    linear-gradient(180deg, #0f0d0b 0%, #0b0a08 100%);
}
.page-hero::after { background: var(--hairline-gold); }
.page-hero--editorial { padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.page-header h1, .page-header--editorial h1 { font-weight: 500; font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; }
.page-header .lead { color: var(--color-text-secondary); }
.page-header .page-kicker::before { width: 2.25rem; background: var(--color-gold-muted); }
.page-body { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* ── About / founders ───────────────────────────────────── */
.founders-header h2, .about-services-header h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.about-pullquote { border-left: 0; border-inline-start: 1px solid var(--color-gold); padding-inline-start: clamp(1.25rem, 3vw, 2rem); padding-left: 0; }
.about-pullquote p { font-size: clamp(1.45rem, 3vw, 2.1rem); font-style: italic; }
.founders-grid { gap: clamp(3.5rem, 8vw, 6.5rem); }
@media (min-width: 961px) {
  .founder { grid-template-columns: minmax(14rem, 0.85fr) 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
}
.founder-portrait {
  aspect-ratio: 4 / 5;
  overflow: visible;
  background: #14110e;
  isolation: isolate;
}
.founder-portrait::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--color-gold-muted);
  z-index: -1;
  pointer-events: none;
}
.founder--reverse .founder-portrait::before { inset: 1rem 1rem -1rem -1rem; }
.founder-portrait::after { box-shadow: inset 0 0 0 1px rgba(214, 184, 120, 0.22); background: linear-gradient(180deg, transparent 70%, rgba(10, 9, 8, 0.28)); }
.founder-portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; filter: contrast(1.03) saturate(0.95); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.founder-name { font-size: clamp(2.1rem, 3.8vw, 3rem); font-weight: 500; }
.founder-bio { color: var(--color-text-secondary); line-height: 1.85; }
.about-services { border-top-color: var(--color-gold-muted); }
.about-services-list li { grid-template-columns: 3rem 1fr; padding: 1.35rem 0; }

/* ── Vision ─────────────────────────────────────────────── */
.vision-pullquote p { font-size: clamp(2rem, 4.8vw, 3.2rem); font-style: italic; }
.vision-pullquote::before { width: 3.5rem; }
.vision-statement { border-top-color: var(--color-gold-muted); padding: clamp(2.25rem, 4vw, 3rem) 0; }
.vision-statement:last-child { border-bottom-color: var(--color-gold-muted); }
.vision-statement h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }

/* ── Partners / FAQ / news list ─────────────────────────── */
.partners-page .partner-card, .partner-card { background: linear-gradient(180deg, #16130f 0%, #0e0c0a 100%); border-color: rgba(214, 184, 120, 0.16); border-radius: var(--radius); }
.partner-card__title a:hover, .news-list h2 a:hover, .news-related-body h3 a:hover { color: var(--color-gold); }
.faq-item { background: linear-gradient(180deg, #15120f, #0e0c0a); border-color: var(--color-border); border-radius: var(--radius); }
.faq-item[open] { border-color: var(--color-gold-muted); }
.faq-q { font-weight: 500; font-size: 1.2rem; }
.faq-q:hover { color: var(--color-gold-bright); }
.faq-footer-cta { background: linear-gradient(145deg, rgba(214, 184, 120, 0.08), transparent 55%), #0f0d0b; border-color: var(--color-gold-muted); border-radius: var(--radius); }
.news-read-more { color: var(--color-gold); }
.prose li::before { background: var(--color-gold); }
.news-cover-frame { background: linear-gradient(145deg, rgba(214, 184, 120, 0.08), transparent 50%), #0f0d0b; }
.legal-section-body code { background: rgba(214, 184, 120, 0.08); }
.error-code { background: var(--gold-fill); -webkit-background-clip: text; background-clip: text; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: linear-gradient(180deg, rgba(214, 184, 120, 0.035), transparent 30%), #080706; padding-top: clamp(4.5rem, 9vw, 7rem); }
.site-footer::before { background: var(--hairline-gold); animation: none; }
.footer-brand-text { font-weight: 500; font-size: 1.35rem; letter-spacing: 0.08em; }
.footer-col, .footer-nav, .footer-bottom { text-align: start; }
.footer-nav::before { background: var(--color-gold-muted); }
.footer-nav a { font-size: 0.92rem; }
.footer-nav a::after { background: var(--color-gold-muted); }
.footer-social__link { border-radius: 50%; border-color: var(--color-gold-muted); background: transparent; }
.footer-social__link:hover { background: var(--color-gold-soft); border-color: var(--color-gold); }
.footer-bottom { border-top-color: rgba(214, 184, 120, 0.12); }

/* ── Forms ──────────────────────────────────────────────── */
.form-row label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-muted); font-weight: 600; }
.form-row--check label, .form-check .form-label { text-transform: none; letter-spacing: 0.01em; font-size: 0.92rem; color: var(--color-text-secondary); font-weight: 500; }
.form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.form-row textarea,
.form-row .form-control,
.cp-form .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.cp-form .form-row textarea,
.cp-form .form-row select,
.cp-form .form-row .form-control {
  min-height: 3.25rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(245, 240, 230, 0.12);
  border-radius: var(--radius-sm);
  background-color: rgba(245, 240, 230, 0.025);
  color: var(--color-text);
  transition: border-color 0.3s var(--ease-soft), box-shadow 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft);
}
.form-row select.form-control, .form-row select.form-select,
.cp-form .form-row select.form-control, .cp-form .form-row select.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23d6b878' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-color: rgba(245, 240, 230, 0.025);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.75rem;
}
.form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,
.form-row textarea:hover, .form-row .form-control:hover { border-color: rgba(245, 240, 230, 0.22); }
.form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.form-row textarea:focus-visible, .form-row .form-control:focus-visible,
.cp-form .form-row input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus-visible,
.cp-form .form-row textarea:focus-visible, .cp-form .form-row select:focus-visible, .cp-form .form-row .form-control:focus-visible {
  outline: none;
  border-color: var(--color-gold);
  background-color: rgba(214, 184, 120, 0.04);
  box-shadow: 0 0 0 3px rgba(214, 184, 120, 0.18);
}
.form-row--error .form-control, .cp-form .form-row--error .form-control { border-color: rgba(232, 140, 120, 0.7) !important; }
.form-field-errors, .cp-form .form-field-errors { color: #f0b3a4; }
.form-check-input, .cp-form .form-check-input { accent-color: var(--color-gold); }
.form-alert-success, .cp-alert--ok { background: rgba(214, 184, 120, 0.08); border-color: var(--color-gold-muted); }
.cp-alert--ok .cp-alert-mark { background: rgba(214, 184, 120, 0.2); color: var(--color-gold-bright); }

/* ── Contact page ───────────────────────────────────────── */
.cp { --cp-line: rgba(214, 184, 120, 0.2); --cp-line-soft: rgba(245, 240, 230, 0.08); --cp-surface-soft: rgba(245, 240, 230, 0.025); }
.cp-hero {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(2.75rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 60% 90% at 85% -10%, rgba(214, 184, 120, 0.11), transparent 60%),
    linear-gradient(180deg, #0f0d0b 0%, transparent 100%);
}
.cp-hero::after { background: var(--hairline-gold); }
.cp-hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); font-weight: 500; line-height: 1.02; }
.cp-trust li { padding-left: 0; padding-inline-start: 1.1rem; letter-spacing: 0.04em; }
.cp-trust li::before { left: auto; inset-inline-start: 0; width: 0.35rem; height: 0.35rem; transform: rotate(45deg); border-radius: 0; box-shadow: none; }
.cp-body { padding-top: clamp(2.5rem, 5vw, 4rem); }
.cp-main {
  border-radius: var(--radius);
  border-color: rgba(214, 184, 120, 0.16);
  background: linear-gradient(180deg, #16130f 0%, #0e0c0a 100%);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-glow);
}
.cp-rail {
  border-radius: var(--radius);
  border-color: var(--color-gold-muted);
  background: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(214, 184, 120, 0.1), transparent 70%), #110f0c;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  top: calc(var(--header-height) + 1.5rem);
}
.cp-main-title, .cp-step-legend, .cp-rail-title, .cp-map-title { font-weight: 500; }
.cp-main-title { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.cp-step-legend { font-size: clamp(1.3rem, 2.2vw, 1.55rem); }
.cp-step-num { letter-spacing: 0.24em; }
.cp-rail-phone { color: var(--color-gold); font-weight: 500; }
.cp-rail-phone:hover { color: var(--color-gold-bright); }
.cp-dept-btn, .contact-dept-btn {
  min-height: 3rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245, 240, 230, 0.12);
  background: rgba(245, 240, 230, 0.025);
  color: var(--color-text-secondary);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}
.cp-dept-btn:hover, .contact-dept-btn:hover { border-color: var(--color-gold-muted); color: var(--color-text); }
.cp-dept-btn.is-active, .contact-dept-btn.is-active {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, rgba(214, 184, 120, 0.2), rgba(214, 184, 120, 0.08));
  color: var(--color-gold-bright);
  transform: none;
}
.contact-subject-other { border-left: 0; padding-left: 0; border-inline-start: 1px solid var(--color-gold-muted); padding-inline-start: 1rem; }
.cp-form .form-row--check > .form-help, .cp-form .cp-privacy > .form-help { padding-left: 0; padding-inline-start: calc(1.1rem + 0.65rem); }
.cp-map-frame { border-color: var(--color-gold-muted); border-radius: var(--radius); }
.cp-map-frame .leaflet-control-attribution a { color: #6b5320; }

/* ── Cookie banner ──────────────────────────────────────── */
.cookie-banner {
  background: rgba(12, 10, 9, 0.97);
  border-top: 1px solid var(--color-gold-muted);
  box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, 0.7);
  padding: 1.5rem 0 1.75rem;
}
.cookie-banner-heading { font-weight: 500; font-size: 1.4rem; }
.cookie-banner-body { color: var(--color-muted); }
.cookie-banner-actions .btn { padding: 0.85rem 1.6rem; }

/* ── Language selector ──────────────────────────────────── */
.lang-floating-trigger {
  background: rgba(15, 13, 11, 0.94);
  border: 1px solid var(--color-gold-muted);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.lang-floating-trigger:hover { border-color: var(--color-gold); }
.lang-floating-globe { color: var(--color-gold); }
.lang-floating-title { letter-spacing: 0.2em; }
.lang-floating-panel, .lang-floating-search { background: rgba(15, 13, 11, 0.98); }
.lang-floating-panel { border-color: var(--color-gold-muted); border-radius: var(--radius); }
.lang-floating-search-input { border-radius: var(--radius-sm); background: rgba(245, 240, 230, 0.03); }
.lang-floating-option:hover, .lang-floating-option:focus-visible, .lang-floating-option.is-active { background: rgba(214, 184, 120, 0.1); }
.lang-floating-label { text-align: start; align-items: flex-start; }

/* ── Preview notice dialog ──────────────────────────────── */
.hml-preview {
  background: rgba(6, 5, 4, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: clamp(0.75rem, 3vw, 2rem);
}
.hml-preview-dialog {
  width: min(42rem, 100%);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.35rem, 4vw, 2.75rem) clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--color-gold-muted);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #17140f 0%, #0d0b09 100%);
  color: var(--color-text);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  scrollbar-color: rgba(214, 184, 120, 0.4) transparent;
}
.hml-preview-dialog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--hairline-gold);
}
.hml-preview-dialog:focus { outline: none; }
.hml-preview-dialog h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  font-weight: 500;
  margin: 0 0 1rem;
  padding-inline-end: 4.5rem;
}
.hml-preview-dialog p { color: var(--color-text-secondary); line-height: 1.7; }
.hml-preview-links { gap: 0.75rem 1.75rem; margin: 1.1rem 0 1.25rem !important; padding: 1rem 0; border-block: 1px solid rgba(214, 184, 120, 0.16); }
.hml-preview-links a {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold-muted);
  padding-bottom: 0.1rem;
  transition: color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}
.hml-preview-links a:hover { color: var(--color-gold-bright); border-bottom-color: var(--color-gold); }
.hml-preview-offer { color: var(--color-text) !important; font-weight: 600; margin-bottom: 1.25rem !important; }
.hml-preview-close {
  top: 1.1rem;
  right: auto;
  inset-inline-end: 1.1rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(245, 240, 230, 0.14);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font: inherit;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.hml-preview-close:hover { border-color: var(--color-gold); color: var(--color-gold-bright); }
.hml-preview-form { gap: 0; }
.hml-preview-form .form-row { margin-bottom: 1rem; }
.hml-preview-form .form-control,
.hml-preview-form select,
.hml-preview-form textarea { background-color: rgba(245, 240, 230, 0.03); border-color: rgba(245, 240, 230, 0.12); border-radius: var(--radius-sm); }
.hml-preview-form .cp-dept-segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.5rem; margin-bottom: 0.25rem; }
.hml-preview-form .cp-dept-btn {
  appearance: none;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-soft), background-color 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.hml-preview-form .has-segments .cp-dept-select--enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  min-height: 0;
}
.hml-preview-form .form-check { display: flex; align-items: flex-start; gap: 0.65rem; }
.hml-preview-form .form-check-input { width: 1.1rem; height: 1.1rem; min-height: 0; margin-top: 0.2rem; flex-shrink: 0; }
.hml-preview-actions { gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(214, 184, 120, 0.16); }
.hml-preview-alert { border-radius: var(--radius-sm); border: 1px solid var(--color-gold-muted); }
.hml-preview-alert--ok { background: rgba(214, 184, 120, 0.1); }
@media (max-width: 560px) {
  .hml-preview-actions .btn { width: 100%; }
  .hml-preview-dialog h2 { padding-inline-end: 0; margin-top: 1.75rem; }
}

/* ── RTL ────────────────────────────────────────────────── */
[dir="rtl"] .hero::before {
  background:
    radial-gradient(ellipse 72% 85% at 84% 55%, rgba(10, 9, 8, 0.92) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 9, 8, 0.6) 0%, rgba(10, 9, 8, 0.2) 40%, rgba(10, 9, 8, 0.85) 100%);
}
[dir="rtl"] .hero-rule { background: linear-gradient(270deg, var(--color-gold), transparent); }
[dir="rtl"] .nav-main { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav-toggle { margin-left: 0; margin-right: auto; }
[dir="rtl"] .site-header .brand .site-logo-wordmark,
[dir="rtl"] .footer-logo.site-logo-wordmark { object-position: right center; }
[dir="rtl"] .stat-item:not(:last-child)::after { right: auto; left: 0; }
[dir="rtl"] .feature-card { border-right: 0; border-left: 1px solid var(--color-border); }
[dir="rtl"] .feature-card:nth-child(3n) { border-left: 0; }
[dir="rtl"] .feature-card::before { left: auto; right: 0; background: linear-gradient(270deg, var(--color-gold), transparent); }
[dir="rtl"] .founder--reverse { direction: ltr; }
[dir="rtl"] .founder--reverse > * { direction: rtl; }
[dir="rtl"] .founder-portrait::before { inset: 1rem 1rem -1rem -1rem; }
[dir="rtl"] .founder--reverse .founder-portrait::before { inset: 1rem -1rem -1rem 1rem; }
[dir="rtl"] .page-header .page-kicker::before, [dir="rtl"] .vision-pullquote::before { margin-inline: 0; }
[dir="rtl"] .vision-pullquote { text-align: right; }
[dir="rtl"] .vision-pullquote p, [dir="rtl"] .about-pullquote p, [dir="rtl"] .hero h1 { font-style: normal; }
[dir="rtl"] .footer-nav a::after { transform-origin: right center; }
[dir="rtl"] .faq-q { padding: 1.15rem 1.2rem 1.15rem 2.75rem; }
[dir="rtl"] .faq-q::after { right: auto; left: 1.25rem; }
[dir="rtl"] .faq-a { padding: 0 3.1rem 1.35rem 1.2rem; }
[dir="rtl"] .prose li { padding-left: 0; padding-right: 1.5rem; }
[dir="rtl"] .prose li::before { left: auto; right: 0; }
[dir="rtl"] .form-row select.form-control, [dir="rtl"] .form-row select.form-select,
[dir="rtl"] .cp-form .form-row select.form-control, [dir="rtl"] .cp-form .form-row select.form-select {
  background-position: left 1rem center;
  padding-right: 1.05rem;
  padding-left: 2.75rem;
}
[dir="rtl"] .cp-dept-btn, [dir="rtl"] .contact-dept-btn { text-align: center; }
[dir="rtl"] .lang-floating { left: auto; right: max(0.75rem, env(safe-area-inset-right)); }
[dir="rtl"] .lang-floating-panel { left: auto; right: 0; }
[dir="rtl"] .news-item__link { align-self: flex-start; }
@media (max-width: 960px) {
  [dir="rtl"] .feature-card:nth-child(3n) { border-left: 1px solid var(--color-border); }
  [dir="rtl"] .feature-card:nth-child(2n) { border-left: 0; }
  [dir="rtl"] .founder--reverse { direction: rtl; }
  [dir="rtl"] .process-step { text-align: right; }
  [dir="rtl"] .process-steps::before { left: auto; right: 1.35rem; }
}
@media (max-width: 600px) {
  [dir="rtl"] .feature-card { border-left: 0; }
  .founder-portrait { max-width: 19rem; margin-inline: 0 1rem; }
}
@media (max-width: 960px) {
  .founder-portrait { max-width: 22rem; }
}
@media (max-width: 400px) {
  [dir="rtl"] .stat-item { text-align: right; }
}

/* ── Motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn-gold:hover, .btn-primary:hover, .btn-outline:hover { transform: none; transition: none; }
  .btn-gold::before, .btn-primary::before { transition: none; }
}
