*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --blue-deep:   #1a1208;
    --blue-mid:    #7a3d08;
    --blue-bright: #e8900a;
    --blue-light:  #f5b042;
    --blue-pale:   #fef3e0;
    --blue-ghost:  #fffbf0;
    --white:       #ffffff;
    --off-white:   #f7f9fc;
    --slate:       #5c4228;
    --mist:        #c4956a;
    --line:        rgba(120,70,8,0.12);
  }

  html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Manrope', sans-serif;
    background: var(--off-white);
    color: var(--blue-deep);
    overflow-x: hidden;
  }

  /* ─────────────────────────────────────
     NAV
  ───────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 3.5rem;
    /* starts transparent over photo, transitions to frosted */
    background: transparent;
    transition: background .4s, border-color .4s, backdrop-filter .4s;
    border-bottom: 1px solid transparent;
  }
  nav.scrolled {
    background: rgba(247,249,252,0.92);
    backdrop-filter: blur(16px);
    border-color: var(--line);
  }
  .logo {
    display: flex; align-items: center;
    text-decoration: none; position: relative; height: 36px;
  }
  .logo img {
    height: 36px; width: auto; display: block;
    position: absolute; top: 0; left: 0;
    transition: opacity .4s ease;
  }
  .logo .logo-white { opacity: 1; }
  .logo .logo-dark  { opacity: 0; }
  nav.scrolled .logo .logo-white { opacity: 0; }
  nav.scrolled .logo .logo-dark  { opacity: 1; }
  .logo-spacer { height: 36px; width: 160px; display: block; }

  .nav-links {
    display: flex; gap: 2.4rem; list-style: none;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em;
  }
  .nav-links a {
    color: rgba(255,255,255,0.85); text-decoration: none;
    transition: color .2s;
  }
  nav.scrolled .nav-links a { color: var(--slate); }
  .nav-links a:hover { color: var(--white); }
  nav.scrolled .nav-links a:hover { color: var(--blue-bright); }

  .nav-actions { display: flex; align-items: center; gap: 0.75rem; }

  .nav-donate {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem; font-weight: 600;
    color: var(--blue-bright);
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    border: 1.5px solid var(--blue-bright);
    background: rgba(255,255,255,0.92);
    transition: background .2s, border-color .2s;
    white-space: nowrap;
  }
  .nav-donate:hover { background: var(--white); border-color: var(--blue-light); }
  nav.scrolled .nav-donate {
    color: var(--blue-bright); border-color: var(--blue-bright); background: rgba(255,255,255,0.92);
  }
  nav.scrolled .nav-donate:hover { background: var(--blue-pale); }

  .nav-cta {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem; font-weight: 600;
    background: rgba(220,220,220,0.88) !important;
    color: #555 !important;
    padding: 0.5rem 1.3rem; border-radius: 4px;
    border: none !important;
    transition: background .2s !important;
    text-decoration: none; white-space: nowrap;
  }
  .nav-cta:hover { background: rgba(200,200,200,0.95) !important; }
  nav.scrolled .nav-cta {
    background: var(--blue-bright) !important;
    color: var(--white) !important;
  }
  nav.scrolled .nav-cta:hover { background: var(--blue-deep) !important; }

  /* ─────────────────────────────────────
     HERO — full-screen photo
  ───────────────────────────────────── */
  .hero {
    position: relative;
    height: 100vh; min-height: 640px;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
  }

  /* Photo */
  .hero-img {
    position: absolute; inset: 0;
    background-image: url('/images/alpintopo/hero2.jpg');
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.04);
    animation: zoomIn 8s ease forwards;
  }

  @keyframes zoomIn {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
  }

  /* Gradient overlays */
  .hero-gradient {
    position: absolute; inset: 0;
    background:
      linear-gradient(to top,   rgba(26,18,8,0.92) 0%,   rgba(26,18,8,0.45) 45%, transparent 75%),
      linear-gradient(to right, rgba(26,18,8,0.35) 0%, transparent 60%);
  }

  /* Topo line SVG over photo */
  .hero-topo {
    position: absolute; inset: 0; pointer-events: none;
  }
  .hero-topo svg { width: 100%; height: 100%; }
  .htl { fill: none; stroke: #ffd060; stroke-width: 0.8; opacity: 0.18; }

  /* Content */
  .hero-content {
    position: relative; z-index: 10;
    padding: 0 3.5rem 5rem;
    max-width: 820px;
  }

  .hero-tag {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem; letter-spacing: 0.26em;
    color: #ffd060; text-transform: uppercase;
    margin-bottom: 1.4rem;
    opacity: 0; animation: fadeUp .7s .3s forwards;
  }
  .hero-tag::before {
    content: '';
    display: block; width: 28px; height: 1px;
    background: #ffd060;
  }

  .hero-title {
    font-family: 'Google Sans', sans-serif;
    font-size: clamp(2.8rem, 6.5vw, 6rem);
    font-weight: 800; line-height: 1.0; letter-spacing: -0.03em;
    color: var(--white);
    opacity: 0; animation: fadeUp .9s .45s forwards;
  }
  .hero-title .accent { color: #ffd060; }

  .hero-sub {
    margin-top: 1.6rem;
    max-width: 58ch;
    font-size: 1.05rem; line-height: 1.8; font-weight: 300;
    color: rgba(255,255,255,0.75);
    opacity: 0; animation: fadeUp .9s .6s forwards;
  }

  .hero-actions {
    margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap;
    opacity: 0; animation: fadeUp .9s .75s forwards;
  }

  .btn-primary {
    background: var(--blue-bright); color: var(--white);
    padding: 0.9rem 2.1rem; border: none; border-radius: 4px;
    font-family: 'Manrope', sans-serif; font-size: 0.92rem; font-weight: 600;
    letter-spacing: 0.04em; cursor: pointer; text-decoration: none;
    display: inline-block; transition: background .2s, transform .15s;
  }
  .btn-primary:hover { background: #c47208; transform: translateY(-2px); }

  .btn-ghost {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 0.9rem 2.1rem;
    border: 1.5px solid rgba(255,255,255,0.4); border-radius: 4px;
    font-family: 'Manrope', sans-serif; font-size: 0.92rem; font-weight: 600;
    cursor: pointer; text-decoration: none; display: inline-block;
    transition: background .2s, border-color .2s, transform .15s;
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: white; transform: translateY(-2px); }



  /* Scroll cue */
  .scroll-cue {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    opacity: 0; animation: fadeUp .7s 1.3s forwards;
    z-index: 10;
  }
  .scroll-cue span {
    font-family: 'DM Mono', monospace; font-size: 0.6rem;
    letter-spacing: 0.22em; color: rgba(255,255,255,0.4); text-transform: uppercase;
  }
  .scroll-line {
    width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%,100% { opacity: 0.4; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(0.6); }
  }



  /* ─────────────────────────────────────
     BAND
  ───────────────────────────────────── */
  .band {
    background: var(--blue-deep); padding: 1.3rem 3.5rem;
    display: flex; align-items: center; gap: 3rem; overflow: hidden;
  }
  .band-label {
    font-family: 'DM Mono', monospace; font-size: 0.65rem;
    letter-spacing: 0.22em; color: rgba(255,255,255,0.3);
    text-transform: uppercase; white-space: nowrap;
  }
  .band-scroll { display: flex; gap: 3rem; align-items: center; animation: marquee 28s linear infinite; }
  .band-item {
    font-family: 'Manrope', sans-serif; font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.06em; color: rgba(255,255,255,0.5); white-space: nowrap;
  }
  .band-dot { color: var(--blue-light); font-size: 0.45rem; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ─────────────────────────────────────
     FEATURES
  ───────────────────────────────────── */
  .features {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5px; background: var(--line);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .feature-card {
    background: var(--off-white); padding: 3rem 2.5rem;
    position: relative; overflow: hidden; transition: background .25s; cursor: default;
  }
  .feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px; background: var(--blue-bright);
    transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
  }
  .feature-card:hover { background: var(--blue-ghost); }
  .feature-card:hover::after { transform: scaleX(1); }
  .feature-number {
    font-family: 'DM Mono', monospace; font-size: 0.65rem;
    letter-spacing: 0.2em; color: var(--mist); margin-bottom: 2rem;
  }
  .feature-icon { width: 40px; height: 40px; margin-bottom: 1.4rem; color: var(--blue-bright); }
  .feature-title {
    font-family: 'Google Sans', sans-serif; font-size: 1.3rem; font-weight: 700;
    line-height: 1.2; margin-bottom: 0.8rem; color: var(--blue-deep);
  }
  .feature-text { font-size: 0.9rem; line-height: 1.75; color: var(--slate); font-weight: 300; }

  /* ─────────────────────────────────────
     STATEMENT
  ───────────────────────────────────── */
  .statement {
    padding: 9rem 3.5rem; display: flex; align-items: center;
    justify-content: space-between; gap: 4rem; flex-wrap: wrap;
    background: var(--white);
  }
  .statement-left { flex: 1; min-width: 280px; }
  .statement-eyebrow {
    font-family: 'DM Mono', monospace; font-size: 0.66rem;
    letter-spacing: 0.26em; color: var(--blue-light); text-transform: uppercase; margin-bottom: 1.5rem;
  }
  .statement-text {
    font-family: 'Google Sans', sans-serif; font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700; line-height: 1.22; color: var(--blue-deep); letter-spacing: -0.02em;
  }
  .statement-text .hl { color: var(--blue-bright); }
  .statement-right { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 1.8rem; }
  .statement-item { display: flex; gap: 1.2rem; align-items: flex-start; }
  .si-icon {
    width: 36px; height: 36px; flex-shrink: 0; background: var(--blue-pale);
    border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--blue-bright);
  }
  .si-icon svg { width: 18px; height: 18px; }
  .si-title { font-family: 'Google Sans', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--blue-deep); margin-bottom: 0.3rem; }
  .si-text { font-size: 0.86rem; line-height: 1.65; color: var(--slate); font-weight: 300; }

  /* ─────────────────────────────────────
     CTA
  ───────────────────────────────────── */
  .cta {
    background: var(--blue-deep); color: var(--white);
    padding: 8rem 3.5rem; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 3rem;
    position: relative; overflow: hidden;
  }
  .cta-topo { position: absolute; inset: 0; pointer-events: none; }
  .cta-topo svg { width: 100%; height: 100%; }
  .ctl { fill: none; stroke: white; stroke-width: 1; opacity: 0.05; }
  .cta-left { max-width: 580px; position: relative; }
  .cta-tag {
    font-family: 'DM Mono', monospace; font-size: 0.66rem; letter-spacing: 0.24em;
    color: var(--blue-light); text-transform: uppercase; margin-bottom: 1.2rem;
  }
  .cta-title {
    font-family: 'Google Sans', sans-serif; font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800; line-height: 1.1; letter-spacing: -0.025em;
  }
  .cta-text {
    margin-top: 1rem; font-size: 1rem; line-height: 1.75;
    color: rgba(255,255,255,0.65); font-weight: 300;
  }
  .btn-white {
    background: var(--white); color: var(--blue-deep);
    padding: 1rem 2.2rem; border: none; border-radius: 4px;
    font-family: 'Manrope', sans-serif; font-size: 0.92rem; font-weight: 700;
    cursor: pointer; text-decoration: none; display: inline-block;
    white-space: nowrap; transition: opacity .2s, transform .15s;
  }
  .btn-white:hover { opacity: 0.9; transform: translateY(-2px); }

  /* ─────────────────────────────────────
     FOOTER
  ───────────────────────────────────── */
  footer {
    padding: 2.8rem 3.5rem; display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
    border-top: 1px solid var(--line); background: var(--white);
  }
  .footer-logo { display: flex; align-items: center; }
  .footer-logo img { height: 28px; width: auto; display: block; }
  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a { font-size: 0.8rem; color: var(--mist); text-decoration: none; transition: color .2s; }
  .footer-links a:hover { color: var(--blue-bright); }
  .footer-copy { font-size: 0.72rem; color: var(--mist); font-family: 'DM Mono', monospace; }
  .footer-passion { font-size: 0.72rem; color: var(--blue-bright); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; }

  /* ─────────────────────────────────────
     ANIMATIONS
  ───────────────────────────────────── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }

  /* ─────────────────────────────────────
     RESPONSIVE
  ───────────────────────────────────── */
  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .nav-actions { display: flex; gap: 0.5rem; }
    .nav-cta { display: none !important; }
    .nav-donate { font-size: 0.75rem !important; padding: 0.42rem 0.85rem !important; }
    .hero-content { padding: 0 1.5rem 5rem; }
    .features { grid-template-columns: 1fr; }
    .feature-card { padding: 2.5rem 1.5rem; }
    .statement { padding: 5rem 1.5rem; }
    .cta { padding: 5rem 1.5rem; }
    footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
    .scroll-cue { display: none; }
  }
  /* ─────────────────────────────────────
     MODAL
  ───────────────────────────────────── */
  .modal-overlay {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(26,18,8,0.75);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .modal-overlay.active {
    opacity: 1; pointer-events: all;
  }
  .modal-box {
    background: var(--white);
    border-radius: 8px;
    padding: 3rem 2.8rem;
    max-width: 440px; width: 100%;
    position: relative;
    transform: translateY(24px);
    transition: transform .35s ease;
    box-shadow: 0 32px 80px rgba(8,24,44,0.25);
  }
  .modal-overlay.active .modal-box {
    transform: translateY(0);
  }
  .modal-close {
    position: absolute; top: 1.2rem; right: 1.2rem;
    background: none; border: none; cursor: pointer;
    color: var(--mist); padding: 0.3rem;
    transition: color .2s;
  }
  .modal-close:hover { color: var(--blue-deep); }
  .modal-icon {
    width: 52px; height: 52px;
    background: var(--blue-pale); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-bright); margin-bottom: 1.5rem;
  }
  .modal-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 1.6rem; font-weight: 800;
    letter-spacing: -0.02em; color: var(--blue-deep);
    margin-bottom: 0.7rem;
  }
  .modal-sub {
    font-size: 0.92rem; line-height: 1.7;
    color: var(--slate); font-weight: 300;
    margin-bottom: 2rem;
  }
  .modal-form { display: flex; flex-direction: column; gap: 1rem; }
  .modal-field { display: flex; flex-direction: column; gap: 0.4rem; }
  .modal-field label {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem; letter-spacing: 0.16em;
    color: var(--mist); text-transform: uppercase;
  }
  .modal-field input {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem; font-weight: 400;
    color: var(--blue-deep);
    background: var(--blue-ghost);
    border: 1.5px solid transparent;
    border-radius: 4px; padding: 0.75rem 1rem;
    outline: none; transition: border-color .2s, background .2s;
  }
  .modal-field input::placeholder { color: var(--mist); }
  .modal-field input:focus {
    border-color: var(--blue-bright);
    background: var(--white);
  }
  .modal-submit {
    margin-top: 0.5rem;
    background: var(--blue-bright); color: var(--white);
    border: none; border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem; font-weight: 600; letter-spacing: 0.04em;
    padding: 0.9rem; cursor: pointer;
    transition: background .2s, transform .15s;
  }
  .modal-submit:hover { background: var(--blue-deep); transform: translateY(-1px); }
  .modal-note {
    margin-top: 1rem;
    font-size: 0.75rem; color: var(--mist);
    text-align: center; font-weight: 300;
  }
