/* ============================================================
   Onyx theme — bold, high-contrast: black, red, grey, white
   ============================================================ */
:root {
  --ink:        #0D0D0D;
  --ink-line:   #262626;
  --paper:      #FFFFFF;
  --paper-line: #E2E2E2;
  --steel:      #6B6B6B;
  --steel-dim:  #9A9A9A;
  --red:        #E10600;
  --red-dim:    #B00500;
  --grey-panel: #F2F2F2;
  --white:      #FFFFFF;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius: 6px;
  --container: 1160px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--paper); line-height: 1.6; font-size: 16px;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  line-height: 1.08; margin: 0 0 0.5em; letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
p { margin: 0 0 1em; color: var(--steel); }
a { color: var(--red); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red); outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.75rem; color: var(--red);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--red); display: inline-block; }
section.on-dark .eyebrow { color: var(--red); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.03em; }
.nav-links a:hover { color: var(--red); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.85rem;
  padding: 13px 26px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: transform 0.12s ease;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dim); transform: translateY(-1px); }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { border-color: var(--paper-line); color: var(--ink); }
.btn-ghost-light:hover { border-color: var(--ink); }

section { padding: 96px 0; }
section.on-dark { background: var(--ink); color: var(--white); }
section.on-dark p { color: var(--steel-dim); }
section.on-dark h1, section.on-dark h2, section.on-dark h3 { color: var(--white); }
section.tight { padding: 60px 0; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.1rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.card { background: var(--white); border: 1px solid var(--paper-line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 30px; }
section.on-dark .card { background: #161616; border-color: var(--ink-line); border-left-color: var(--red); }
.section-head { max-width: 640px; margin-bottom: 52px; }

.cta-band { background: var(--ink); border-radius: 4px; padding: 60px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--red); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--steel-dim); max-width: 50ch; margin: 0 auto; }

.site-footer { background: var(--ink); color: var(--steel-dim); padding: 56px 0 32px; border-top: 4px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--white); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-family: var(--font-display); }
.footer-grid a { color: var(--steel-dim); display: block; margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--red); }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.footer-bottom { border-top: 1px solid var(--ink-line); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; color: var(--white); transition: background 0.15s; }
.social-icons a:hover { background: var(--red); }
.social-icons svg { width: 17px; height: 17px; }

/* dropdown submenus / language switcher (shared structure across themes) */
.nav-links { position: relative; }
.nav-item-wrap { position: relative; }
.nav-item-wrap > .dropdown-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; background: none; border: none; font: inherit; color: inherit; padding: 0; text-transform: uppercase; font-weight: 600; font-size: 0.88rem; }
.nav-item-wrap > .dropdown-toggle::after { content: "▾"; font-size: 0.7em; }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 190px;
  background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 8px; margin-top: 12px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease; z-index: 60;
}
.nav-item-wrap:hover .nav-dropdown,
.nav-item-wrap:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: 8px 12px; border-radius: 4px; font-weight: 600; font-size: 0.85rem; text-transform: none; }
.nav-dropdown a:hover { background: var(--grey-panel); }
.nav-dropdown .nav-dropdown { top: 0; left: 100%; margin-top: -8px; margin-left: 8px; }

.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border-radius: var(--radius); border: 1px solid var(--paper-line);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 130px; }

.ig-embed { max-width: 540px; margin: 0 auto; }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); }

@media (max-width: 900px) {
  .hero-grid, .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .site-header .container { position: relative; }
  .mobile-menu-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); flex-direction: column; gap: 0; padding: 8px 24px 16px;
    border-bottom: 2px solid var(--ink); max-height: calc(100vh - 78px);
    overflow-y: auto; z-index: 100;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links > a, .nav-links > .nav-item-wrap { padding: 12px 0; border-bottom: 1px solid var(--paper-line); width: 100%; }
  .nav-item-wrap .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; display: none;
    margin-top: 8px; border: none; padding-left: 16px; box-shadow: none;
  }
  .nav-item-wrap.mobile-expanded .nav-dropdown { display: block; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

.footer-grid, .footer-grid a, .footer-bottom { overflow-wrap: break-word; word-break: break-word; }
