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

  :root {
    --ink:       #1a1209;
    --deep:      #1c2b4a;
    --deep-2:    #16233d;
    --gold:      #b8862c;
    --gold-lt:   #d4a84b;
    --gold-pale: #f5edda;
    --cream:     #faf6ee;
    --warm-mid:  #e8dcc8;
    --warm-dark: #c9b99a;
    --text:      #3a2e1e;
    --muted:     #7a6a55;
    --rust:      #ab4531;
    --rust-dark: #732510;
    --card-cream: #f8f1e7;
    --heading-warm: #3a1f16;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter',system-ui,-apple-system,sans-serif;
    background: var(--cream);
    color: var(--text);
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
  }

  img { display: block; max-width: 100%; }

  /* ======= NAV ======= */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(6,11,22,0.55) 0%, rgba(6,11,22,0.25) 60%, transparent 100%);
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
  }
  nav.scrolled {
    background: rgba(12, 20, 34, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(184,134,44,0.15);
  }
  .nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
  }
  .nav-brand span { color: var(--gold-lt); }
  .nav-donate {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-lt);
    border: 1px solid rgba(184,134,44,0.4);
    padding: 8px 18px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .nav-donate:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

  /* ======= HERO ======= */
  .hero {
    position: relative;
    min-height: 620px;
    background: #4A6A9C;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 64px;
  }
  .hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../assets/D2.png') center / cover no-repeat;
    z-index: 0;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
      radial-gradient(ellipse 70% 60% at 15% 100%, rgba(184,134,44,0.16) 0%, transparent 65%),
      linear-gradient(120deg, rgba(8,14,28,0.95) 0%, rgba(10,18,34,0.9) 30%, rgba(10,18,34,0.5) 55%, rgba(10,18,34,0.18) 75%, rgba(10,18,34,0.04) 100%);
    z-index: 2;
  }
  .hero-photo {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    z-index: 1;
  }
  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*object-position: 70% 30%;*/
    object-position: 100% 30%;
    mask-image: linear-gradient(to right, transparent 0%, #000 22%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  }
  /* On very wide screens, an edge-to-edge photo forces object-fit:cover to
     zoom in hard to satisfy the width, which crops off the top of the head.
     Capping the panel width keeps the framing consistent on large monitors. */
  @media (min-width: 1200px) {
    .hero-photo { width: min(100%, 900px); }
    .hero-photo img { object-position: 100% 18%; }
  }
  @media (min-width: 1600px) {
    .hero-photo { width: min(100%, 980px); }
  }
  .hero-inner {
    position: relative;
    z-index: 3;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
  }
  .hero-badge {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold-lt);
    border: 1px solid rgba(184,134,44,0.4);
    padding: 6px 20px;
    display: inline-block;
    margin-bottom: 26px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.2s;
  }
  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5.4vw, 68px);
    font-weight: 500;
    color: #fff;
    line-height: 1.08;
    max-width: 620px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.5s;
  }
  .hero-title em { font-style: italic; color: var(--gold-lt); display: block; }

  .hero-rule {
    width: 56px;
    height: 3px;
    background: var(--gold);
    margin: 24px 0 22px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.7s;
  }

  .hero-sub {
    font-weight: 300;
    font-size: clamp(14px, 1.6vw, 17px);
    color: white;
    max-width: 440px;
    line-height: 1.75;
    letter-spacing: 0.2px;
    opacity: 0;
    animation: fadeUp 1s ease forwards 0.9s;
  }

  .hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0;
    animation: fadeUp 1s ease forwards 1.1s;
  }

  .btn-primary {
/*    background: var(--gold);*/
    background: #ab4531;
    color: #fff;
    border: none;
    padding: 15px 34px;
    font-family: 'Raleway', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(-100%) skewX(-15deg);
    transition: transform 0.4s ease;
  }
  .btn-primary:hover::before { transform: translateX(110%) skewX(-15deg); }
  .btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(184,134,44,0.4); }

  .link-secondary {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: underline;
    text-underline-offset: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
  }
  .link-secondary:hover { color: var(--gold-lt); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ======= SECTION WRAPPER ======= */
  .section { padding: 88px 24px; position: relative; }
  .container { max-width: 1180px; margin: 0 auto; }
  .section-label {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
  }
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 500;
    color: var(--ink);
    line-height: 1.15;
  }
  .section-title em { font-style: italic; color: var(--gold); }
  .section-rule {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 20px 0 28px;
  }

  /* icon circle */
  .icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .icon-circle.navy { background: var(--deep); }
  .icon-circle.pale { background: var(--gold-pale); }
  .icon-circle svg { width: 26px; height: 26px; }

  /* ======= ABOUT ======= */
  .about-section { background: #fff; padding-top: 72px; padding-bottom: 56px; }
  .about-inner {
    display: grid;
    /* grid-template-columns: 1.05fr 1fr; */
    gap: 56px;
    align-items: flex-start;
  }
  .about-left { display: flex; gap: 22px; }
  .about-left h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 10px;
  }
  .about-left p {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--muted);
    font-weight: 400;

  }

  .about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--gold-pale);
    border: 1px solid var(--warm-mid);
  }
  .about-card {
    padding: 30px 26px;
    position: relative;
  }
  .about-card + .about-card { border-left: 1px solid var(--warm-dark); }
  .about-card .icon-circle { margin-bottom: 16px; }
  .about-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
  }
  .about-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--deep);
    line-height: 1.4;
  }
  .about-card ul { list-style: none; }
  .about-card li {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--deep);
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .about-card li span {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
    margin-top: 1px;
  }

  @media (max-width: 860px) {
    .about-inner { grid-template-columns: 1fr; }
    .about-cards { grid-template-columns: 1fr; }
    .about-card + .about-card { border-left: none; border-top: 1px solid var(--warm-dark); }
  }

  /* ======= GLANCE ======= */
  .glance-section { background: var(--cream); padding-top: 56px; padding-bottom: 56px; }
  .glance-card {
    background: #fff;
    border: 1px solid var(--warm-mid);
    display: grid;
    grid-template-columns: 300px 1fr;
  }
  .glance-photo { position: relative; overflow: hidden; min-height: 320px; }
  .glance-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
  .glance-body { padding: 40px 44px; }
  .glance-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 6px;
  }
  .glance-body .section-rule { margin: 12px 0 30px; }
  .glance-grid {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    gap: 0;
  }
  .glance-item {
    padding: 0 20px;
    text-align: left;
  }
  .glance-item:not(:first-child) { border-left: 1px solid var(--warm-mid); }
  .glance-item .icon-circle { margin-bottom: 16px; }
  .glance-item h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 8px;
  }
  .glance-item p {
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
  }

  @media (max-width: 860px) {
    .glance-card { grid-template-columns: 1fr; }
/*    .glance-photo { height: 395px; }*/
    .glance-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .glance-item:nth-child(3) { border-left: 1px solid var(--warm-mid); }
    .glance-item:nth-child(odd) { border-left: none !important; }
  }
  @media (max-width: 520px) {
    .glance-grid { grid-template-columns: 1fr; }
    .glance-item { border-left: none !important; }
  }

  /* ======= LEGACY ======= */
  .legacy-section { background: var(--warm-mid); position: relative; overflow: hidden; padding-top: 72px; padding-bottom: 72px; }
  .legacy-section::before {
    content: 'LEGACY';
    position: absolute;
    top: 50%; right: -30px;
    transform: translateY(-50%) rotate(90deg);
    font-family: 'Cormorant Garamond', serif;
    font-size: 110px;
    font-weight: 700;
    color: rgba(184,134,44,0.06);
    pointer-events: none;
    white-space: nowrap;
  }
  .legacy-header { text-align: center; margin-bottom: 56px; }
  .legacy-header .section-rule { margin: 20px auto 0; }

  .legacy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--warm-dark);
  }
  @media (max-width: 900px) { .legacy-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .legacy-grid { grid-template-columns: 1fr; } }

  .legacy-card {
    background: #fff;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: background 0.4s ease;
  }
  .legacy-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--gold);
    transition: height 0.5s ease;
  }
  .legacy-card:hover::before { height: 100%; }
  .legacy-card:hover { background: var(--gold-pale); }
  .legacy-card .icon-circle { margin-bottom: 20px; }
  .card-title {
font-family: 'Cormorant Garamond', serif;
font-size: 19px;
font-weight: 600;
color: #ab4531;
margin-bottom: 12px;
line-height: 1.25;
font-family: 'Fraunces',Georgia,serif;
  }
  .card-desc { font-size: 13.5px; line-height: 1.75; color: var(--muted); }

  /* ======= JOURNEY TIMELINE ======= */
  .journey-section { background: #fff; padding-top: 76px; padding-bottom: 76px; }
  .journey-header { text-align: center; margin-bottom: 64px; }
  .journey-header .section-rule { margin: 20px auto 0; }

  .timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }
  .timeline::before {
    content: '';
    position: absolute;
    top: 34px;
    left: 34px; right: 34px;
    height: 1px;
    background: repeating-linear-gradient(to right, var(--warm-dark) 0 6px, transparent 6px 12px);
  }
  .t-item { position: relative; flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
  .t-dot {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--gold-lt);
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--cream);
  }
  .t-dot svg { width: 26px; height: 26px; }
  .t-node {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--deep);
    margin: 14px 0 10px;
    z-index: 2;
  }
  .t-year {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--deep);
    margin-bottom: 6px;
  }
  .t-desc { font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 130px; }

  @media (max-width: 900px) {
    .timeline { flex-wrap: wrap; row-gap: 40px; }
    .timeline::before { display: none; }
    .t-item { flex: 0 0 33%; }
  }
  @media (max-width: 560px) { .t-item { flex: 0 0 50%; } }

  /* ======= DONATE BANNER ======= */
  .donate-wrap { padding: 88px 24px; background: var(--card-cream); }
  .donate-card {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
  }
  .donate-card .section-label { color: var(--gold); margin-bottom: 12px; }
  .donate-card h3 {
    font-family: 'Fraunces',Georgia,serif;
font-size: clamp(1.85rem,5vw,2.5rem);
font-weight: 400;
line-height: 1.12;
letter-spacing: -.01em;
color: var(--maroon);
  }
  .donate-card h3 em { font-style: italic; color: var(--rust); }
  .donate-card .section-rule { margin: 26px auto 30px; background: var(--rust); }
  .donate-desc {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.85;
    max-width: 620px;
    margin: 0 auto 36px;
    font-weight: 400;
  }

  .donate-desc1 {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.85;
    margin: 0 auto 36px;
    font-weight: 400;
  }

  .donate-card .btn-primary {
    background: var(--rust);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: none;
    padding: 16px 34px;
  }
  .donate-card .btn-primary:hover { background: var(--rust-dark); box-shadow: 0 12px 34px rgba(171,69,49,0.35); }

  .donate-note {
/*    margin: 48px auto 0;*/
    /* max-width: 620px; */
   /* display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
    background: #fff;
    border-radius: 12px;
    padding: 22px 26px;
    box-shadow: 0 10px 34px rgba(58,31,22,0.08);*/

    margin: 48px auto 0;
    /* max-width: 620px; */
    /* display: flex; */
    /* align-items: center; */
    gap: 18px;
    /* text-align: left; */
    background: #fff;
    border-radius: 12px;
    padding: 38px 26px;
    box-shadow: 0 10px 34px rgba(58, 31, 22, 0.08);
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    line-height: 1.85;
    max-width: 620px;
    /* margin: 0 auto 36px; */
    font-weight: 400;
  }
  .donate-note .icon-circle { background: var(--card-cream); }
  .donate-note p {
    font-family: 'Raleway', sans-serif;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--muted);
  }
  .donate-note strong { color: var(--rust); font-weight: 600; }

  @media (max-width: 560px) {
    .donate-note { flex-direction: column; text-align: center; }
  }

  /* ======= FOOTER BAR ======= */
  .footbar {
    background: var(--gold-pale);
    border-top: 1px solid var(--warm-mid);
    padding: 22px 24px;
  }
  .footbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .footbar-left { display: flex; align-items: flex-start; gap: 12px; }
  .footbar-left svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
  .footbar-left p { font-size: 12px; line-height: 1.7; color: var(--muted); }
  .footbar-right {
    color: var(--deep);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    white-space: nowrap;
  }
  .footbar-right:hover { color: var(--gold); }

  /* Reveal */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
