:root {
    /* atmosphere */
    --bg: #E8EBF1;
    --orb-cool: #C7D3EC;
    --orb-warm: #EADFDD;
    --orb-aqua: #CDE2E6;
    /* ink */
    --ink: #1B232E;
    --muted: #525C6B;
    --muted-soft: #616B7A;
    --line: rgba(27,35,46,0.10);
    /* accent (single, restrained) */
    --accent: #3D5A80;
    --accent-deep: #2C435F;
    --accent-soft: rgba(61,90,128,0.12);
    /* universal shell accent */
    --shell-accent: #3D5A80;
    --shell-accent-deep: #2C435F;
    --shell-accent-soft: rgba(61,90,128,0.12);
    /* glass */
    --glass: rgba(255,255,255,0.45);
    --glass-2: rgba(255,255,255,0.62);
    --glass-3: rgba(255,255,255,0.80);
    --glass-edge: rgba(255,255,255,0.72);
    --glass-shadow: 0 14px 44px rgba(27,35,46,0.10);
    --glass-inset: inset 0 1px 0 rgba(255,255,255,0.85), inset 0 0 0 1px rgba(255,255,255,0.18);
    /* type */
    --serif: 'General Sans', 'Inter', system-ui, sans-serif;
    --sans: 'Satoshi', 'Inter', system-ui, sans-serif;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
  }
  a { text-decoration: none; color: inherit; }
  button { font-family: inherit; cursor: pointer; }
  ::selection { background: rgba(61,90,128,0.20); }

  /* ── Accessibility: visible focus + skip link ── */
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
  .skip-link {
    position: fixed; top: 10px; left: 50%;
    transform: translateX(-50%) translateY(-160%);
    z-index: 9999; background: var(--accent); color: #fff;
    padding: 10px 20px; border-radius: 30px; font-family: var(--sans);
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
    transition: transform 0.2s ease;
  }
  .skip-link:focus { transform: translateX(-50%) translateY(0); }

    /* ── Ambient backdrop so glass has something to refract ── */
  .atmos { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
  .atmos::before {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(165deg, #EEF1F6 0%, #E5E9F0 48%, #E9E8EE 100%);
  }
  .orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
  .orb-1 { width: 46vw; height: 46vw; background: var(--orb-cool); top: -10vw; left: -8vw; }
  .orb-2 { width: 38vw; height: 38vw; background: var(--orb-warm); top: 38%; right: -10vw; opacity: 0.45; }
  .orb-3 { width: 40vw; height: 40vw; background: var(--orb-aqua); bottom: -12vw; left: 22vw; opacity: 0.42; }
  .grain {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  /* ── Shared glass surface ── */
  .glass {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--glass-shadow), var(--glass-inset);
  }

  /* ── Scroll reveal ── */
  .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.22,0.61,0.36,1), transform 0.8s cubic-bezier(0.22,0.61,0.36,1);
    will-change: opacity, transform;
  }
  .reveal.in { opacity: 1; transform: none; }

  /* ── Custom cursor ── */
  .cursor {
    position: fixed; pointer-events: none; z-index: 9999;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  }
  .cursor-ring {
    position: fixed; pointer-events: none; z-index: 9998;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid rgba(61,90,128,0.45);
    transform: translate(-50%, -50%);
    transition: width 0.28s ease, height 0.28s ease, border-color 0.28s ease, opacity 0.25s ease, background 0.28s ease;
  }
  .cursor-ring.lg { width: 58px; height: 58px; background: rgba(61,90,128,0.06); border-color: rgba(61,90,128,0.3); }
  .cursor.hide, .cursor-ring.hide { opacity: 0; }
  @media (max-width: 900px) { .cursor, .cursor-ring { display: none; } }

  /* ── Keyframes ── */
  @keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
  @keyframes spinSeal { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

  /* ── Eyebrows / shared headings ── */
  .eyebrow {
    font-family: var(--sans); font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent);
  }
  .section-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 0.9rem; }
  .section-eyebrow .line { width: 30px; height: 1px; background: var(--accent); display: inline-block; opacity: 0.7; }
  .section-eyebrow .text {
    font-family: var(--sans); font-size: 0.66rem; font-weight: 600;
    letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent);
  }
  .section-h2 {
    font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1.04; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 2.4rem;
  }


  /* ── Container ── */
  .container { max-width: 1120px; margin: 0 auto; padding: 0 3rem; }
  @media (max-width: 720px) { .container { padding: 0 1.5rem; } }

    /* ── SHARED FOOTER COMPONENT (global site navigation) ──
     Identical IA, layout logic, nav structure, interaction & accessibility on
     every page — only the skin (palette + type) changes. Homepage skin below. */
  .site-footer { border-top: 1px solid var(--line); padding: 4.5rem 0 0; }
  .site-footer__inner { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
  @media (max-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 2.4rem 2rem; } .site-footer { padding: 3.5rem 1.5rem 0; } }
  @media (max-width: 480px) { .site-footer__inner { grid-template-columns: 1fr; } }
  .sf-brand .sf-logo { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--ink); display: inline-block; margin-bottom: 0.7rem; }
  .sf-brand .sf-logo em { font-style: italic; color: var(--shell-accent); }
  .sf-brand p { font-family: var(--sans); font-size: 0.88rem; font-weight: 300; line-height: 1.65; color: var(--muted); max-width: 280px; margin: 0; }
  .sf-col h4 { font-family: var(--sans); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--shell-accent); margin: 0 0 1.1rem; }
  .sf-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
  .sf-col a { font-family: var(--sans); font-size: 0.9rem; font-weight: 400; color: var(--muted); background: none; border: none; padding: 0; text-align: left; transition: color 0.2s, padding-left 0.2s; cursor: pointer; }
  .sf-col a:hover { color: var(--shell-accent); padding-left: 4px; }
  .site-footer__bottom { max-width: 1140px; margin: 4rem auto 0; border-top: 1px solid var(--line); padding: 1.8rem 0 2.4rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; }
  .site-footer__bottom .sf-sign { font-family: var(--serif); font-size: 0.94rem; color: var(--ink); }
  .site-footer__bottom .sf-meta { font-family: var(--sans); font-size: 0.72rem; font-weight: 300; color: var(--muted-soft); letter-spacing: 0.02em; }

    /* reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .reveal { opacity: 1; transform: none; }
  }