:root{
  --bg1:#f2f7fb;
  --bg2:#dbeaf6;
  --bg3:#c5ddf0;
  --surface:rgba(255,255,255,.58);
  --surface-strong:rgba(255,255,255,.72);
  --surface-nav:rgba(255,255,255,.68);
  --border:rgba(89,124,153,.16);
  --text:#17324a;
  --muted:#47627b;
  --soft:#698198;
  --gold:#c89a3d;
  --primary:#3a7db8;
  --primary-strong:#2d6ea8;
  --shadow:0 18px 45px rgba(34,74,112,.12);
  --shadow-soft:0 10px 24px rgba(34,74,112,.10);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 12% 12%, rgba(255,255,255,.90), transparent 55%),
    radial-gradient(900px 700px at 88% 18%, rgba(120,182,230,.20), transparent 55%),
    radial-gradient(700px 500px at 20% 88%, rgba(86,150,210,.12), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2) 52%, var(--bg3));
}

body{
  position:relative;
  overflow-x:hidden;
  padding-top:104px;
}

.page-bg{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(900px 600px at 12% 12%, rgba(255,255,255,.90), transparent 55%),
    radial-gradient(900px 700px at 88% 18%, rgba(120,182,230,.20), transparent 55%),
    radial-gradient(700px 500px at 20% 88%, rgba(86,150,210,.12), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2) 52%, var(--bg3));
}

.page-overlay{
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.02));
}

/* top bar */

.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding:16px 18px 0;
}

.topbar-inner{
  width:min(1180px, 100%);
  margin:0 auto;
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 18px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:24px;
  background:var(--surface-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 10px 30px rgba(41,77,110,.10),
    inset 0 1px 0 rgba(255,255,255,.52);
}

.topbar-brand{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:180px;
}

.topbar-kicker{
  font-size:13px;
  font-weight:800;
  color:var(--gold);
  letter-spacing:.2px;
}

.topbar-title{
  font-size:22px;
  font-weight:900;
  color:var(--text);
  line-height:1.05;
}

.topbar-nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.nav-btn{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid var(--border);
  font-size:15px;
  font-weight:800;
  transition:transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
  white-space:nowrap;
}

.nav-btn.ghost{
  background:rgba(255,255,255,.55);
  color:var(--text);
}

.nav-btn.ghost:hover{
  background:rgba(255,255,255,.80);
  border-color:rgba(89,124,153,.24);
  transform:translateY(-1px);
  box-shadow:var(--shadow-soft);
}

.nav-btn.primary{
  color:#fff;
  background:linear-gradient(180deg, var(--primary), var(--primary-strong));
  border-color:rgba(43,96,145,.22);
  box-shadow:0 10px 22px rgba(58,125,184,.24);
}

.nav-btn.primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 26px rgba(58,125,184,.28);
}

/* page */

.wrap{
  position:relative;
  z-index:3;
  width:min(1160px, calc(100% - 32px));
  margin:28px auto 48px;
}

.hero,
.card{
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero{
  display:grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap:34px;
  align-items:center;
  background:var(--surface-strong);
  border:1px solid rgba(255,255,255,.42);
  border-radius:34px;
  padding:30px;
  box-shadow:var(--shadow);
}

.hero-text{
  order:1;
}

.hero-photo{
  order:2;
  display:flex;
  align-items:center;
  justify-content:center;
}

.eyebrow{
  color:var(--gold);
  font-weight:900;
  font-size:16px;
  margin-bottom:10px;
}

.hero h1{
  margin:0;
  font-size:clamp(42px, 5vw, 64px);
  line-height:1.02;
  font-weight:900;
  color:var(--text);
}

.subtitle{
  margin-top:12px;
  color:var(--muted);
  font-size:clamp(21px, 2.3vw, 31px);
  line-height:1.3;
}

.meta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}

.meta-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 15px;
  border-radius:999px;
  background:rgba(255,255,255,.56);
  border:1px solid rgba(89,124,153,.14);
  color:var(--text);
  font-size:15px;
  font-weight:800;
  box-shadow:0 8px 16px rgba(65,103,139,.06);
}

.lead{
  margin:24px 0 0;
  font-size:24px;
  line-height:1.8;
  color:var(--text);
}

.hero-photo img{
  width:100%;
  max-width:320px;
  aspect-ratio:3 / 4;
  object-fit:cover;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.55);
  box-shadow:0 18px 42px rgba(40,75,105,.18);
  background:#d8e6f1;
}

.card{
  margin-top:22px;
  background:var(--surface);
  border:1px solid rgba(255,255,255,.38);
  border-radius:28px;
  padding:26px 28px;
  box-shadow:var(--shadow-soft);
}

.card h2{
  margin:0 0 16px;
  font-size:36px;
  font-weight:900;
  color:var(--text);
}

.card p{
  margin:0 0 14px;
  font-size:21px;
  line-height:1.9;
  color:var(--text);
}

.grid-two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:22px;
}

.memorial{
  border-color:rgba(200,154,61,.20);
}

.quote-card{
  text-align:center;
}

.quote-card blockquote{
  margin:0;
  font-size:32px;
  line-height:1.7;
  font-weight:900;
  color:var(--text);
}

.quote-source{
  margin-top:16px;
  color:var(--soft);
  font-size:17px;
  font-weight:700;
}

.memorial-candle{
  position:fixed;
  top:160px;
  right:34px;
  z-index:2;
  pointer-events:none;
  opacity:.92;
  filter:
    drop-shadow(0 0 8px rgba(255,170,60,.14))
    drop-shadow(0 0 18px rgba(255,120,20,.08));
}

.memorial-candle img{
  width:96px;
  height:150px;
  display:block;
  mix-blend-mode:screen;
}

/* responsive */

@media (max-width: 1120px){
  .memorial-candle{
    right:16px;
  }
}

@media (max-width: 980px){
  body{
    padding-top:124px;
  }

  .topbar-inner{
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }

  .topbar-brand{
    min-width:auto;
  }

  .topbar-nav{
    width:100%;
    justify-content:flex-start;
  }

  .hero{
    grid-template-columns:1fr;
    gap:24px;
    padding:24px;
  }

  .hero-text{
    order:2;
  }

  .hero-photo{
    order:1;
  }

  .card h2{
    font-size:31px;
  }

  .lead,
  .card p{
    font-size:19px;
  }

  .grid-two{
    grid-template-columns:1fr;
  }

  .quote-card blockquote{
    font-size:27px;
  }

  .memorial-candle{
    top:150px;
    left:14px;
    right:auto;
    opacity:.90;
  }

  .memorial-candle img{
    width:74px;
    height:120px;
  }
}

@media (max-width: 640px){
  body{
    padding-top:136px;
  }

  .wrap{
    width:min(100% - 18px, 1160px);
    margin:18px auto 30px;
  }

  .topbar{
    padding:10px 10px 0;
  }

  .topbar-inner{
    min-height:auto;
    padding:12px;
    border-radius:20px;
  }

  .topbar-title{
    font-size:19px;
  }

  .topbar-nav{
    gap:8px;
  }

  .nav-btn{
    min-height:40px;
    padding:0 14px;
    font-size:14px;
  }

  .hero,
  .card{
    padding:18px;
    border-radius:22px;
  }

  .hero h1{
    font-size:34px;
  }

  .subtitle{
    font-size:19px;
  }

  .meta-pill{
    font-size:13px;
    min-height:38px;
    padding:0 12px;
  }

  .lead,
  .card p{
    font-size:18px;
    line-height:1.8;
  }

  .quote-card blockquote{
    font-size:23px;
  }

  .memorial-candle{
    top:144px;
    left:10px;
  }

  .memorial-candle img{
    width:66px;
    height:108px;
  }
}