/* ============================================================
   IUSTORIA — Main Stylesheet
   Extracted from homepage prototype v3.1
   
   Sections:
   1. @font-face (self-hosted, GDPR compliant)
   2. Design tokens (CSS custom properties)
   3. Base & typography
   4. Layout (container, sections)
   5. Navigation
   6. Logo animation
   7. Hero
   8. Segments (Pro koho jsme)
   9. Process (Jak pracujeme)
  10. Team
  11. Why us (Proč my)
  12. CTA section
  13. Footer
  14. Buttons & links
  15. Utility & responsive
   ============================================================ */

  /* EB Garamond — self-hosted, GDPR compliant */
  @font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-ext-regular.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'EB Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-ext-italic.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'EB Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-ext-500.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-ext-600.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'EB Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/eb-garamond-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  /* Inter — self-hosted, GDPR compliant */
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-latin-ext-300.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/inter-latin-300.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-latin-ext-regular.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/inter-latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-latin-ext-500.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/fonts/inter-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-latin-ext-600.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/fonts/inter-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }

  /* ============================================================
     IUSTORIA — Design System v2.0
     Aesthetic: Refined Legal Authority × Strategic Intelligence
     Pattern: Dark/Light alternating sections
     Typography: EB Garamond (serif) + Inter (sans)
     Effects: A-Magnetic CTA, C-Parallax, D-Sticky Process, E-Glow
     ============================================================ */

  :root {
    --ink:        #0B0E11;
    --ink-soft:   #141920;
    --ink-mid:    #1C2330;
    --ink-border: #2A3242;
    --ivory:      #F5F1EB;
    --ivory-soft: #EDE8E0;
    --ivory-mid:  #E5DFD5;
    /* Accent — web UI (NOT logo) */
    --gold:       #C4A265;
    --gold-light: #D4B87A;
    --gold-dim:   rgba(196, 162, 101, 0.15);
    /* Logo uses #FEC812 (hořčicová) — applied in SVG paths, not as CSS variable.
       Logo and web gold intentionally differ: logo = brand identity,
       web gold = premium UI tone. They don't appear side by side.
       Logo SVG animation: see .iu-icon-bulb, .iu-icon-section, .iu-letter keyframes. */
    --text-light:     #F5F1EB;
    --text-light-dim: rgba(245, 241, 235, 0.55);
    --text-dark:      #1C2330;
    --text-dark-dim:  rgba(28, 35, 48, 0.50);
    --font-serif: 'EB Garamond', 'Georgia', serif;
    --font-sans:  'Inter', 'Helvetica Neue', sans-serif;
    --section-pad: clamp(80px, 10vw, 160px);
    --content-max: 1400px;
    --content-narrow: 860px;
    /* Glow tracking vars (set by JS) */
    --mouse-x: 0px;
    --mouse-y: 0px;
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  
  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  body {
    font-family: var(--font-sans);
    font-size: clamp(16px, 1.1vw, 18px);
    line-height: 1.75;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    background: var(--ivory);
    overflow-x: hidden;
  }

  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; display: block; }

  /* ── Focus-visible — keyboard accessibility ── */
  :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
  }

  :focus:not(:focus-visible) {
    outline: none;
  }

  /* Override for elements with custom focus styles */
  .btn-magnetic:focus-visible {
    outline-offset: 6px;
    box-shadow: 0 0 0 1px var(--gold);
  }

  .nav__link:focus-visible,
  .nav__dropdown-link:focus-visible {
    outline-offset: 4px;
  }

  .nav__lang-btn:focus-visible {
    outline-offset: -1px;
  }

  .why-card:focus-visible {
    outline-offset: -1px;
    border-color: rgba(196, 162, 101, 0.3);
  }

  .segment:focus-visible {
    outline-offset: -2px;
  }

  .container {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 60px);
  }

  .container--narrow {
    max-width: var(--content-narrow);
  }

  /* ── Typography ── */
  .heading-xl {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .heading-lg {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
  }

  .heading-md {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 500;
    line-height: 1.3;
  }

  .heading-sm {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .body-lg {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    line-height: 1.8;
    font-weight: 400;
  }

  /* ── Navigation ── */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 clamp(24px, 4vw, 60px);
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
  }

  .nav.scrolled {
    background: rgba(11, 14, 17, 0.92);
    backdrop-filter: blur(20px);
    border-bottom-color: var(--ink-border);
  }

  .nav__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
  }

  .nav__logo {
    display: flex;
    align-items: center;
  }

  .nav__logo .iu-logo { display: block; height: 42px; width: auto; }
  .nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.14em;
    margin-left: 10px;
  }

  /* ============================================================
     IUSTORIA LOGO — SVG Reveal Animation
     Plays once on page load. ~1.5s total, easeOutQuart.
     Phase 1: bulb structure (circle + arcs + socket)
     Phase 2: § section sign (inner curves)
     Phase 3: IUSTORIA letters stagger L→R
     Respects prefers-reduced-motion.
     ============================================================ */

  /* Logo animation — 3× slow (~4.5s total) */
  .iu-icon-bulb {
    opacity: 0;
    animation: iuRevealIcon 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.24s forwards;
  }

  .iu-icon-section {
    opacity: 0;
    animation: iuRevealSection 1.65s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
  }

  .iu-letter {
    opacity: 0;
    animation: iuRevealLetter 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .iu-letter-I1 { animation-delay: 1.65s; }
  .iu-letter-U  { animation-delay: 1.86s; }
  .iu-letter-S  { animation-delay: 2.07s; }
  .iu-letter-T  { animation-delay: 2.28s; }
  .iu-letter-O  { animation-delay: 2.49s; }
  .iu-letter-R  { animation-delay: 2.70s; }
  .iu-letter-I2 { animation-delay: 2.91s; }
  .iu-letter-A  { animation-delay: 3.12s; }

  @keyframes iuRevealIcon {
    from { opacity: 0; transform: scale(0.92) translateY(3px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
  }

  @keyframes iuRevealSection {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
  }

  @keyframes iuRevealLetter {
    from { opacity: 0; transform: translateX(-5px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .iu-icon-bulb, .iu-icon-section, .iu-letter {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }

  .nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
  }

  .nav__link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    line-height: 1;
  }

  .nav__link:hover,
  .nav__link--active {
    color: var(--text-light);
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
  }

  .nav__link:hover::after {
    width: 100%;
  }

  .nav__cta {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(196, 162, 101, 0.3);
    padding: 10px 24px;
    transition: all 0.3s ease;
  }

  .nav__cta:hover {
    background: var(--gold);
    color: var(--ink);
  }

  /* ── Nav dropdown ── */
  .nav__dropdown {
    position: relative;
  }

  .nav__dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }

  .nav__dropdown-trigger svg {
    width: 10px;
    height: 10px;
    opacity: 0.5;
    transition: transform 0.3s ease;
  }

  .nav__dropdown:hover .nav__dropdown-trigger svg,
  .nav__dropdown:focus-within .nav__dropdown-trigger svg {
    transform: rotate(180deg);
  }

  .nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: -16px;
    padding-top: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.25s ease;
    z-index: 50;
  }

  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown:focus-within .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__dropdown-inner {
    background: rgba(11, 14, 17, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--ink-border);
    padding: 12px 0;
    min-width: 280px;
  }

  .nav__dropdown-link {
    display: block;
    padding: 10px 24px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-light-dim);
    letter-spacing: 0.02em;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
  }

  .nav__dropdown-link:hover {
    color: var(--text-light);
    background: rgba(196, 162, 101, 0.06);
  }

  .nav__dropdown-sep {
    height: 1px;
    background: var(--ink-border);
    margin: 8px 24px;
  }

  /* ── Language switcher ── */
  .nav__lang {
    display: flex;
    gap: 0;
    border: 1px solid var(--ink-border);
    margin-left: 12px;
  }

  .nav__lang-btn {
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 10px;
    background: none;
    border: none;
    color: var(--text-light-dim);
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
    text-decoration: none;
    display: block;
  }

  .nav__lang-btn--active {
    color: var(--text-light);
    background: rgba(196, 162, 101, 0.08);
  }

  .nav__lang-btn:hover:not(.nav__lang-btn--active) {
    color: var(--text-light);
  }

  .nav__lang-btn + .nav__lang-btn {
    border-left: 1px solid var(--ink-border);
  }

  .nav__toggle,
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
  }

  .nav__toggle span,
  .nav-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--text-light);
    transition: all 0.3s ease;
  }

  /* ── Mobile nav overlay ── */
  .nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 105;
    background: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 80px 24px 40px;
    overflow-y: auto;
  }

  .nav-mobile.open {
    display: flex;
  }

  .nav-mobile__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
  }

  .nav-mobile a {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-mobile a:hover {
    color: var(--gold);
  }

  .nav-mobile__langs {
    display: flex;
    border: 1px solid var(--ink-border);
    margin-top: 16px;
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .hero__spark-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
  }

  .hero__content {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
    /* Leave room for the absolutely-positioned stat bar */
    padding-bottom: 140px;
  }

  .hero__label {
    color: var(--gold);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
  }

  .hero__title {
    color: var(--text-light);
    max-width: min(900px, 65%);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.5s forwards;
  }

  .hero__title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
  }

  .hero__subtitle {
    color: var(--text-light-dim);
    max-width: min(640px, 50%);
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.7s forwards;
  }

  .hero__actions {
    display: flex;
    align-items: center;
    gap: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.9s forwards;
  }

  /* ── EFFECT A: Magnetic CTA button ── */
  .btn-magnetic {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--gold);
    padding: 16px 36px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    /* Magnetic transform is handled by JS via inline style */
    will-change: transform;
  }

  .btn-magnetic__text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    will-change: transform;
    transition: transform 0.15s ease-out;
  }

  .btn-magnetic:hover {
    background: var(--gold-light);
    box-shadow: 0 8px 30px rgba(196, 162, 101, 0.25);
  }

  .btn-magnetic svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
  }

  .btn-magnetic:hover svg {
    transform: translateX(4px);
  }

  .btn-ghost {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light-dim);
    padding: 16px 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
  }

  .btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--text-light-dim);
    opacity: 0.3;
    transition: opacity 0.3s ease;
  }

  .btn-ghost:hover { color: var(--text-light); }
  .btn-ghost:hover::after { opacity: 0.6; }

  /* Hero stat bar with animated counters */
  .hero__bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: 1px solid var(--ink-border);
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.1s forwards;
  }

  .hero__bar-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 24px clamp(24px, 4vw, 60px);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hero__stat { text-align: center; }

  .hero__stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
    transition: text-shadow 0.5s ease;
  }

  .hero__stat-number.counted {
    text-shadow: 0 0 16px rgba(196, 162, 101, 0.3);
  }

  .hero__stat-number--rate::before {
    content: 'od ';
    font-size: 0.65em;
    opacity: 0.6;
    font-weight: 400;
  }

  .hero__stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light-dim);
  }

  .hero__bar-divider {
    width: 1px;
    height: 40px;
    background: var(--ink-border);
  }

  /* ── SECTION BASES ── */
  .section--light {
    background: var(--ivory);
    padding: var(--section-pad) 0;
  }

  .section--dark {
    background: var(--ink);
    padding: var(--section-pad) 0;
    color: var(--text-light);
  }

  .section__header {
    margin-bottom: clamp(48px, 6vw, 80px);
  }

  .section__label {
    color: var(--gold);
    margin-bottom: 20px;
  }

  .section--light .section__title { color: var(--text-dark); }
  .section--dark .section__title  { color: var(--text-light); }
  .section__title { max-width: 700px; }

  /* ── Segments (Pro koho jsme) ── */
  .segments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .segment {
    padding: clamp(32px, 4vw, 56px);
    background: white;
    position: relative;
    transition: all 0.4s ease;
    cursor: default;
  }

  .segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .segment:hover::before { transform: scaleX(1); }

  .segment:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
  }

  .segment__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    color: var(--gold);
  }

  .segment__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-dark);
  }

  .segment__desc {
    color: var(--text-dark-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .segment__link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
  }

  .segment__link:hover { gap: 14px; }

  .segment__link svg {
    width: 14px;
    height: 14px;
  }

  /* ── EFFECT D: Enhanced sticky process section ── */
  .process {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
    min-height: 100vh;
  }

  .process__intro {
    position: sticky;
    top: 120px;
  }

  .process__intro .section__label { margin-bottom: 20px; }
  .process__intro .heading-lg { margin-bottom: 24px; }

  .process__intro-text {
    color: var(--text-light-dim);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 48px;
  }

  /* Large background step number */
  .process__big-number {
    font-family: var(--font-serif);
    font-size: clamp(8rem, 14vw, 12rem);
    font-weight: 300;
    color: var(--gold);
    opacity: 0.06;
    line-height: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
    user-select: none;
  }

  .process__steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .step {
    padding: clamp(28px, 3vw, 40px) 0;
    border-bottom: 1px solid var(--ink-border);
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    align-items: start;
    transition: opacity 0.4s ease;
  }

  .step:first-child {
    border-top: 1px solid var(--ink-border);
  }

  /* Active step highlight */
  /* Homepage steps — animated via JS (.process wrapper) */
  .process .step.step--active {
    opacity: 1;
  }

  .process .step:not(.step--active) {
    opacity: 0.4;
  }

  .process .step--active .step__number {
    opacity: 1;
    transform: scale(1.05);
  }

  .step__number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .step__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 10px;
  }

  .step__desc {
    color: var(--text-light-dim);
    font-size: 1.05rem;
    line-height: 1.7;
  }

  /* ── EFFECT C: Parallax team photos ── */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2vw, 32px);
  }

  .team-card__link { display: block; text-decoration: none; color: inherit; }

  .team-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .team-card__image {
    aspect-ratio: 3 / 4;
    background: var(--ivory-mid);
    position: relative;
    overflow: hidden;
  }

  /* Parallax inner container — slightly oversized for scroll room */
  .team-card__parallax-inner {
    width: 100%;
    height: 120%;
    position: absolute;
    top: -10%;
    left: 0;
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ink-soft), var(--ink-mid));
    color: var(--text-light-dim);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.1s linear;
  }

  .team-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 20px 20px;
    background: linear-gradient(to top, rgba(11, 14, 17, 0.85) 0%, transparent 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease;
    z-index: 2;
  }

  .team-card:hover .team-card__overlay {
    opacity: 1;
    transform: translateY(0);
  }

  .team-card__overlay-role {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
  }

  .team-card__overlay-contact {
    font-size: 0.82rem;
    color: var(--text-light-dim);
  }

  .team-card__info { padding: 20px 0 0; }

  .team-card__name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
  }

  .team-card__role {
    font-size: 0.82rem;
    color: var(--text-dark-dim);
    letter-spacing: 0.02em;
  }

  /* ── EFFECT E: Glow tracking cards ── */
  .why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .why-card {
    padding: clamp(32px, 4vw, 52px);
    background: var(--ink-soft);
    border: 1px solid var(--ink-border);
    transition: border-color 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  /* The glow effect — radial gradient that follows the mouse */
  .why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
      300px circle at var(--mouse-x) var(--mouse-y),
      rgba(196, 162, 101, 0.08),
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
  }

  /* Glow border effect */
  .why-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: radial-gradient(
      250px circle at var(--mouse-x) var(--mouse-y),
      rgba(196, 162, 101, 0.35),
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
  }

  .why-card:hover::before {
    opacity: 1;
  }

  .why-card:hover::after {
    opacity: 1;
  }

  .why-card:hover {
    border-color: rgba(196, 162, 101, 0.12);
    background: var(--ink-mid);
  }

  .why-card__number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 20px;
    line-height: 1;
    position: relative;
    z-index: 1;
  }

  .why-card__title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
  }

  .why-card__desc {
    color: var(--text-light-dim);
    font-size: 0.92rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
  }

  /* ── CTA Section ── */
  .cta-section {
    background: var(--ink);
    padding: var(--section-pad) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
    pointer-events: none;
  }

  .cta-section .heading-lg {
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
  }

  .cta-section .body-lg {
    color: var(--text-light-dim);
    max-width: 500px;
    margin: 0 auto 44px;
    position: relative;
  }

  .cta-section .btn-magnetic { position: relative; }

  /* ── Footer ── */
  .footer {
    background: var(--ink);
    border-top: 1px solid var(--ink-border);
    padding: 60px 0 40px;
  }

  .footer__inner,
  .footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
    gap: clamp(32px, 4vw, 60px);
    margin-bottom: 60px;
  }

  .footer__brand { max-width: 320px; }

  .footer__logo {
    margin-bottom: 16px;
  }

  .footer__logo .iu-logo { display: block; height: 28px; width: auto; }

  .footer__desc {
    color: var(--text-light-dim);
    font-size: 0.88rem;
    line-height: 1.7;
  }

  .footer__col-title {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
  }

  .footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer__link {
    font-size: 0.88rem;
    color: var(--text-light-dim);
    transition: color 0.3s ease;
  }

  .footer__link:hover { color: var(--text-light); }

  button.footer__link {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
  }

  .footer__bottom {
    border-top: 1px solid var(--ink-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer__copy {
    font-size: 0.78rem;
    color: var(--text-light-dim);
  }

  .footer__social {
    display: flex;
    gap: 20px;
  }

  .footer__social a {
    color: var(--text-light-dim);
    transition: color 0.3s ease;
  }

  .footer__social a:hover { color: var(--gold); }
  .footer__social svg { width: 18px; height: 18px; }

  /* ── Animations ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ── Responsive ── */
  @media (max-width: 1024px) {
    .segments { grid-template-columns: 1fr; gap: 1px; }
    .process { grid-template-columns: 1fr; }
    .process__intro { position: static; }
    .process__big-number { display: none; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; }
    .footer__inner, .footer__grid { grid-template-columns: 1fr 1fr; }
    /* Disable step dimming on mobile */
    .step:not(.step--active) { opacity: 1; }
  }

  @media (max-width: 768px) {
    .nav__links, .nav__cta, .nav__lang { display: none; }
    .nav__toggle, .nav-toggle { display: flex; }
    .hero__bar-inner { flex-wrap: wrap; gap: 24px; justify-content: center; }
    .hero__bar-divider { display: none; }
    .hero__stat { flex: 1; min-width: 120px; }
    .hero__actions { flex-direction: column; align-items: flex-start; }
    .hero__content { padding-bottom: 220px; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .footer__inner, .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  }

  @media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; max-width: 320px; }
  }

  /* ── Wide screens (1600px+) ── */
  @media (min-width: 1600px) {
    :root {
      --content-max: 1520px;
    }
    .heading-xl { font-size: clamp(3.2rem, 4.5vw, 5.5rem); }
    .heading-lg { font-size: clamp(2.2rem, 3vw, 3.6rem); }
    .nav__inner { max-width: var(--content-max); }
    .hero__bar-inner { max-width: var(--content-max); }
    .hero__title { max-width: min(1100px, 72%); }
    .hero__subtitle { max-width: min(740px, 55%); }
  }

  /* Disable magnetic & glow on touch devices */
  @media (hover: none) {
    .btn-magnetic { transform: none !important; }
    .why-card::before, .why-card::after { display: none; }
  }

  /* Respect user preference for reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-delay: 0ms !important;
      transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .btn-magnetic { transform: none !important; }
    html { scroll-behavior: auto; }
  }

  /* ── Accessibility: skip link ── */
  .skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 200;
    padding: 12px 24px;
    background: var(--gold);
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: top 0.2s ease;
  }

  .skip-link:focus {
    top: 16px;
  }

  /* ── Mobile menu overlay ── */
  .nav__mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(11, 14, 17, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }

  .nav__mobile.open {
    display: flex;
  }

  .nav__mobile a {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
  }

  .nav__mobile a:hover {
    color: var(--gold);
  }

  .nav__mobile-close {
    position: absolute;
    top: 24px;
    right: clamp(24px, 4vw, 60px);
    background: none;
    border: none;
    color: var(--text-light-dim);
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
  }

  .nav__mobile-close:hover {
    color: var(--text-light);
  }

  .nav__mobile-close svg {
    width: 24px;
    height: 24px;
  }


/* ============================================================
   NEW PAGES — Services, Service Detail, 404
   Added: v3.1 sprint
   ============================================================ */

/* --- Hero compact (no stat bar) --- */
.hero--compact {
  padding-bottom: 60px;
}
.hero--compact .hero__content {
  padding-top: 160px;
}
.hero--compact .hero__title {
  max-width: none;
}
.hero--compact .hero__subtitle {
  max-width: min(800px, 70%);
}

/* --- Services secondary (governance + training cards) --- */
.services-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.services-secondary__card {
  padding: 48px 40px;
  background: var(--ink-soft);
  border: 1px solid var(--ink-border);
  transition: border-color 0.3s ease;
}

.services-secondary__card:hover {
  border-color: var(--gold-dim);
}

.services-secondary__card-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.services-secondary__card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 16px;
}

.services-secondary__card-desc {
  color: var(--text-light-dim);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .services-secondary {
    grid-template-columns: 1fr;
  }
}

/* --- Areas (practice area list) --- */
.areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.areas__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.areas__item-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.areas__item-text {
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .areas {
    grid-template-columns: 1fr;
  }
}

/* --- Case studies --- */
.cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.case-card {
  padding: 40px;
  background: white;
  border-top: 3px solid var(--gold);
}

.case-card__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.case-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.case-card__outcome {
  font-size: 0.92rem;
  color: var(--text-dark-dim);
  line-height: 1.6;
}

/* --- 404 Error page --- */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  padding: 40px 24px;
}

.error-page__code {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}

.error-page__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-light);
  margin: 16px 0;
}

.error-page__desc {
  color: var(--text-light-dim);
  max-width: 400px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.error-page__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================================================
   GOVERNANCE PAGE — all dark, minimal
   ============================================================ */

.hero--centered .hero__content { text-align: center; }
.hero--centered .hero__title { max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-roles { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.hero-roles .role { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text-light-dim); }
.hero-roles .sep { color: var(--gold); }

.section--dark-deep { background: #080A0D; padding: var(--section-pad) 0; }
.section--slate { background: var(--ink-soft); padding: var(--section-pad) 0; }
.section--slate .section__label { color: var(--gold); }
.section--slate .section__title { color: var(--text-light); }

.intro { max-width: var(--content-narrow); margin: 0 auto; }
.intro-text { font-family: var(--font-serif); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.9; color: var(--text-light-dim); }
.intro-text em { color: var(--text-light); font-style: normal; }

.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 40px; }
.scope-item { padding: 40px; background: var(--ink-soft); border: 1px solid var(--ink-border); }
.scope-item-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.scope-item-text { color: var(--text-light-dim); font-size: 0.95rem; line-height: 1.7; }

.credentials-list { max-width: var(--content-narrow); margin: 0 auto; }
.credentials-list p { color: var(--text-light-dim); line-height: 1.8; font-size: 1rem; }

.governance-contact { margin-top: 32px; text-align: center; }
.contact-email, .contact-phone { font-size: 1.2rem; color: var(--text-light); margin-bottom: 8px; }
.contact-note { font-size: 0.85rem; color: var(--text-light-dim); margin-top: 16px; }

@media (max-width: 768px) {
  .scope-grid { grid-template-columns: 1fr; }
  .hero-roles { flex-direction: column; gap: 8px; }
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.contact-info__group { margin-bottom: 32px; }
.contact-info__label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-dark-dim); margin-bottom: 8px; }
.contact-info__value { font-size: 1.05rem; }
.contact-info__value a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--gold-dim); transition: border-color 0.3s; }
.contact-info__value a:hover { border-color: var(--gold); }

.contact-map { margin-top: 16px; display: flex; flex-direction: column; }
.contact-map iframe { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--ivory-mid); background: var(--ivory-mid); display: block; }
.contact-map__link { display: inline-block; margin-top: 8px; font-size: 0.8rem; color: var(--gold); text-decoration: none; letter-spacing: 0.04em; }
.contact-map__link:hover { text-decoration: underline; }

.contact-form { }
.form-field { margin-bottom: 24px; }
.form-field__label { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dark-dim); margin-bottom: 8px; }
.form-field__input,
.form-field__textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--ivory-mid); background: white; font-family: var(--font-sans); font-size: 0.95rem; transition: border-color 0.3s; }
.form-field__input:focus,
.form-field__textarea:focus { border-color: var(--gold); outline: none; }
.form-field__textarea { min-height: 140px; resize: vertical; }
.form-field--hp { position: absolute; left: -9999px; }

.form-submit { margin-top: 8px; }
.form-note { font-size: 0.82rem; color: var(--text-dark-dim); margin-top: 16px; line-height: 1.5; }

@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; }
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */

.story { max-width: var(--content-narrow); margin: 0 auto; }
.story__text { font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.9; color: var(--text-dark-dim); }
.story__text em { color: var(--text-dark); font-style: normal; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.values > :last-child.value-card--wide { grid-column: 1 / -1; }
.value-card { padding: 40px; background: var(--ink-soft); border: 1px solid var(--ink-border); }
.value-card__number { font-family: var(--font-serif); font-size: 2rem; font-weight: 300; color: var(--gold); opacity: 0.4; margin-bottom: 12px; }
.value-card__title { font-family: var(--font-serif); font-size: 1.3rem; color: var(--text-light); margin-bottom: 12px; }
.value-card__desc { font-size: 0.92rem; color: var(--text-light-dim); line-height: 1.7; }

@media (max-width: 768px) {
  .values { grid-template-columns: 1fr; }
  .values > :last-child.value-card--wide { grid-column: auto; }
}


/* ============================================================
   TEAM OVERVIEW
   ============================================================ */

.team-grid--full { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.team-card--large { display: block; text-decoration: none; color: inherit; transition: transform 0.3s ease; }
.team-card--large:hover { transform: translateY(-4px); }
.team-card--large .team-card__image { aspect-ratio: 4/5; background: var(--ivory-mid); overflow: hidden; }
.team-card--large .team-card__info { padding: 24px 0 0; }
.team-card--large .team-card__name { font-family: var(--font-serif); font-size: 1.4rem; color: var(--text-dark); }
.team-card--large .team-card__role { font-size: 0.85rem; color: var(--text-dark-dim); margin-top: 4px; }
.team-card__claim { font-family: var(--font-serif); font-size: 1.05rem; font-style: italic; color: var(--text-dark-dim); margin-top: 8px; line-height: 1.5; }

.collab { max-width: var(--content-narrow); margin: 0 auto; }
.collab__text { font-size: 1.05rem; color: var(--text-light-dim); line-height: 1.8; margin-top: 24px; }

@media (max-width: 768px) {
  .team-grid--full { grid-template-columns: 1fr; }
}


/* ============================================================
   TEAM PROFILE
   ============================================================ */

.hero--profile { padding-bottom: 0; }
.profile-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: end; }
.profile-hero__image { aspect-ratio: 3/4; background: var(--ink-soft); }
.profile-hero__info { padding-bottom: 60px; }
.profile-hero__name { font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: var(--text-light); }
.profile-hero__role { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 8px; }
.profile-hero__motto { font-family: var(--font-serif); font-size: 1.2rem; font-style: italic; color: var(--text-light-dim); margin-top: 24px; line-height: 1.6; }

.profile-bio { max-width: var(--content-narrow); margin: 0 auto; font-size: 1.05rem; line-height: 1.8; color: var(--text-dark-dim); }
.profile-bio p { margin-bottom: 20px; }

.profile-contact { display: flex; gap: clamp(32px, 6vw, 80px); justify-content: center; padding: 60px 0; }
.profile-contact__item { text-align: center; }
.profile-contact__item .contact-info__label { color: var(--text-light-dim); }
.profile-contact__item .contact-info__value { color: var(--text-light); font-size: 1.1rem; }
.profile-contact__item a { color: var(--text-light); text-decoration: none; border-bottom: 1px solid var(--gold-dim); transition: border-color 0.3s; }
.profile-contact__item a:hover { border-color: var(--gold); }

@media (max-width: 768px) {
  .profile-hero { grid-template-columns: 1fr; }
  .profile-hero__info { padding-bottom: 32px; }
  .profile-contact { flex-direction: column; align-items: center; gap: 24px; }
}


/* ============================================================
   LEGAL (VOP + Privacy)
   ============================================================ */

.legal-body { max-width: var(--content-narrow); margin: 0 auto; }
.legal-body h2 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400; margin: 40px 0 12px; }
.legal-body h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; margin: 28px 0 8px; }
.legal-body p { margin-bottom: 16px; font-size: 0.95rem; line-height: 1.8; }
.legal-body ol, .legal-body ul { margin: 0 0 16px 24px; }
.legal-body li { margin-bottom: 8px; font-size: 0.95rem; line-height: 1.7; }
.legal-notice { border-left: 3px solid var(--gold); padding: 24px 32px; margin: 40px 0; background: var(--gold-dim); border-radius: 4px; }
.legal-notice p { font-size: 1rem; line-height: 1.7; }
.legal-notice a { color: var(--gold-light); text-decoration: underline; }


/* ============================================================
   TRAINING PAGE (CS only)
   ============================================================ */

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing__card {
  padding: 40px;
  text-align: center;
  background: white;
  border: 1px solid var(--ivory-mid);
}

.pricing__card-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
}

.pricing__card-label {
  font-size: 0.85rem;
  color: var(--text-dark-dim);
  margin-top: 8px;
}

.training-series {
  padding: 48px 0;
  border-bottom: 1px solid var(--ivory-mid);
}

.training-series__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.training-series__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.training-series__badge {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.training-series__list {
  columns: 2;
  gap: 32px;
  list-style: none;
  padding: 0;
}

.training-series__list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.training-series__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

@media (max-width: 768px) {
  .pricing { grid-template-columns: 1fr; }
  .training-series__list { columns: 1; }
}


/* ============================================================
   BLOG
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  background: white;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.blog-card__image {
  aspect-ratio: 16/9;
  background: var(--ivory-mid);
  overflow: hidden;
}

.blog-card__meta {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 24px 24px 0;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  padding: 8px 24px 0;
  color: var(--text-dark);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-dark-dim);
  padding: 8px 24px 24px;
  line-height: 1.6;
}

/* Blog post */
.post-hero__title {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-hero__meta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-light-dim);
}

.post-hero__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-light-dim);
  opacity: 0.5;
  flex-shrink: 0;
}

/* Blog author */
.post-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
a.post-author:hover { color: var(--gold); }

.post-author__img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.post-author__name {
  font-weight: 500;
}

/* Blog tags */
.post-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid color-mix(in srgb, var(--gold) 35%, transparent);
  padding: 4px 10px;
  border-radius: 2px;
}

.post-tag--sm {
  font-size: 0.65rem;
  padding: 3px 8px;
}

.post-hero__tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Blog card tags */
.blog-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 20px 24px 0;
}

.blog-card__author {
  font-size: 0.8rem;
  color: var(--text-dark-dim);
  padding: 0 24px 20px;
}

/* Blog language switcher */
.post-langs {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 20px;
}

.post-lang {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid color-mix(in srgb, var(--text-light-dim) 30%, transparent);
  text-decoration: none;
  color: var(--text-light-dim);
  transition: color 0.3s, border-color 0.3s;
}

.post-lang:first-child { border-radius: 2px 0 0 2px; }
.post-lang:last-child { border-radius: 0 2px 2px 0; }
.post-lang + .post-lang { border-left: none; }

.post-lang--active {
  color: var(--gold);
  border-color: var(--gold);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
}

a.post-lang:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.post-body {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

.post-body h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 48px 0 16px;
}

.post-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 32px 0 12px;
}

.post-body p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  font-style: italic;
  color: var(--text-dark-dim);
  margin: 32px 0;
}

.share-bar {
  display: flex;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--ivory-mid);
}

.share-bar__btn {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-dim);
  padding: 8px 16px;
  border: 1px solid var(--ivory-mid);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}

.share-bar__btn:hover {
  border-color: var(--gold);
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .post-hero__meta { flex-direction: column; gap: 8px; }
  .post-hero__sep { display: none; }
}


/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--ink);
  border-top: 1px solid var(--ink-border);
  padding: 24px 0;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.3);
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 6px;
}

.cookie-banner__desc {
  font-size: 0.85rem;
  color: var(--text-light-dim);
  line-height: 1.5;
}

.cookie-banner__link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink-border);
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.cookie-banner__btn:hover {
  border-color: var(--gold);
}

.cookie-banner__btn--accept {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.cookie-banner__btn--accept:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Granular settings panel */
.cookie-settings {
  border-top: 1px solid var(--ink-border);
  margin-top: 16px;
  padding-top: 16px;
}

.cookie-settings__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  min-width: 200px;
}

.cookie-toggle input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
}

.cookie-toggle__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  display: block;
}

.cookie-toggle__desc {
  font-size: 0.75rem;
  color: var(--text-light-dim);
  display: block;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__btn { flex: 1; text-align: center; }
  .cookie-settings__inner { flex-direction: column; }
}


/* ============================================================
   NEWSLETTER SIGNUP
   ============================================================ */

.newsletter {
  border-top: 1px solid var(--ink-border);
  padding: 40px 0 0;
  margin-top: 40px;
}

.newsletter__inner {
  max-width: 520px;
}

.newsletter__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.newsletter__desc {
  font-size: 0.85rem;
  color: var(--text-light-dim);
  line-height: 1.5;
  margin-bottom: 16px;
}

.newsletter__row {
  display: flex;
  gap: 8px;
}

.newsletter__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--ink-border);
  background: var(--ink-soft);
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.newsletter__input::placeholder {
  color: var(--text-light-dim);
}

.newsletter__input:focus {
  border-color: var(--gold);
  outline: none;
}

.newsletter__btn {
  padding: 12px 24px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.newsletter__btn:hover {
  background: var(--gold-light);
}

.newsletter__consent {
  margin-top: 12px;
}

.newsletter__status {
  font-size: 0.82rem;
  margin-top: 8px;
  min-height: 1.2em;
}

.newsletter__status--ok { color: #4ade80; }
.newsletter__status--err { color: #f87171; }

@media (max-width: 480px) {
  .newsletter__row { flex-direction: column; }
}


/* ============================================================
   CONSENT CHECKBOX (shared: newsletter + contact form)
   ============================================================ */

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.consent-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.consent-checkbox__text {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-light-dim);
}

.consent-checkbox__text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Light-bg variant (contact form) */
.section--light .consent-checkbox__text {
  color: var(--text-dark-dim);
}


/* ============================================================
   TESTIMONIALS MARQUEE
   ============================================================ */

.testimonials {
  padding: 80px 0 60px;
  overflow: hidden;
}

.testimonials .section__header {
  margin-bottom: 40px;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee__track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee__slide {
  flex-shrink: 0;
  width: 380px;
}

.testimonial-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--ivory-mid);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-card__text::before {
  content: '\201E';
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.3em;
  color: var(--gold);
  margin-right: 4px;
}

.testimonial-card__text::after {
  content: '\201C';
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.3em;
  color: var(--gold);
  margin-left: 4px;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
  color: var(--text-dark);
}

.testimonial-card__role {
  font-size: 0.75rem;
  color: var(--text-dark-dim);
}

@media (max-width: 768px) {
  .marquee__slide { width: 300px; }
  .testimonial-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; }
  .marquee { mask-image: none; -webkit-mask-image: none; overflow-x: auto; }
}


/* ============================================================
   CLIENT LOGOS BAR
   ============================================================ */

.clients {
  padding: 60px 0;
}

.clients .section__header {
  margin-bottom: 40px;
}

.logo-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
}

.logo-bar__item {
  flex-shrink: 0;
}

.logo-bar__item img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.logo-bar__item img:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .logo-bar { gap: 24px; }
  .logo-bar__item img { height: 28px; }
}


/* ============================================================
   Events (training events system)
   ============================================================ */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.events-grid__empty {
  color: var(--text-light-dim, #b9b4aa);
  font-style: italic;
  grid-column: 1 / -1;
}

.event-card {
  background: var(--bg-light, #f5f1eb);
  border: 1px solid rgba(196, 162, 101, 0.15);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.event-card__date {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
}

.event-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
}

.event-card__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.event-card__meta {
  font-size: 0.85rem;
  color: var(--text-dark-dim, #6b6560);
}

.event-card__desc {
  font-size: 0.9rem;
  color: var(--text-dark-dim, #6b6560);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card__footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.event-card__price {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}

.event-card__seats {
  font-size: 0.8rem;
  color: var(--text-dark-dim, #6b6560);
  margin-top: 4px;
}

.event-card__seats--low {
  color: #c44;
  font-weight: 600;
}

.event-card__seats--full {
  color: #c44;
  font-weight: 700;
}

.event-card--full {
  opacity: 0.7;
}

/* Events archive */
.events-archive {
  margin-top: 48px;
}

.events-archive__toggle {
  cursor: pointer;
  color: var(--text-light-dim, #b9b4aa);
  list-style: none;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.events-archive__toggle::-webkit-details-marker { display: none; }
.events-archive__toggle::marker { display: none; content: ''; }

.events-archive__toggle::before {
  content: '▸ ';
}

details[open] > .events-archive__toggle::before {
  content: '▾ ';
}

.events-archive__list {
  padding: 16px 0;
}

.events-archive__item {
  padding: 8px 0;
  color: var(--text-light-dim, #b9b4aa);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Event detail page */
.event-detail__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-detail__split { grid-template-columns: 1fr; gap: 40px; }
}

.event-detail__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.event-detail__past-notice {
  background: rgba(196, 68, 68, 0.1);
  border: 1px solid rgba(196, 68, 68, 0.3);
  color: #c44;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.event-detail__meta-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-detail__meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark-dim, #6b6560);
}

.event-detail__meta-value {
  font-size: 1rem;
  color: var(--text-dark);
}

.event-detail__meta-value--price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 600;
}

.event-detail__meta-note {
  font-size: 0.8rem;
  color: var(--text-dark-dim, #6b6560);
}

.event-detail__closed {
  background: var(--bg-light, #f5f1eb);
  border: 1px solid rgba(196, 162, 101, 0.15);
  padding: 32px;
  text-align: center;
  color: var(--text-dark-dim, #6b6560);
}

/* Event form */
.event-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.event-form__honeypot { display: none !important; }

.event-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.event-form__input {
  padding: 12px 16px;
  border: 1px solid rgba(196, 162, 101, 0.3);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
}

.event-form__input:focus {
  outline: none;
  border-color: var(--gold);
}

.event-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.event-form__field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.event-form__checkbox-label {
  font-size: 0.85rem;
  color: var(--text-dark-dim, #6b6560);
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.event-form__checkbox {
  margin-top: 3px;
  flex-shrink: 0;
}

.event-form__checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
}

.btn-magnetic--sm {
  font-size: 0.85rem;
  padding: 8px 20px;
}

/* container--narrow */
.container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* prose block for event description */
.prose {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-light, #f5f1eb);
}

.prose p + p { margin-top: 1.2em; }
