:root{
  --bg: #0b0d12;
  --card: rgba(255,255,255,.06);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --accent: #ff7aa2;
  --border: rgba(255,255,255,.12);
}

[data-theme="light"]{
  --bg: #f7f7fb;
  --card: rgba(0,0,0,.04);
  --text: rgba(0,0,0,.88);
  --muted: rgba(0,0,0,.62);
  --accent: #e11d48;
  --border: rgba(0,0,0,.12);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial; background:var(--bg); color:var(--text); }
a{ color:inherit; text-decoration:none; }

.nav{
  position: sticky; top: 0;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 18px;
  backdrop-filter: blur(10px);
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  border-bottom:1px solid var(--border);
}

.brand{ font-weight:700; letter-spacing:.3px; }
.links{ display:flex; gap:14px; align-items:center; }
.links a{ opacity:.85; }
.links a:hover{ opacity:1; }

main{ max-width: 1050px; margin: 0 auto; padding: 28px 16px 60px; }

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 10px;
}
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
}

.hero-text h1{ font-size: 42px; line-height: 1.05; margin: 0 0 12px; }
.sub{ color: var(--muted); font-size: 16px; margin: 0 0 18px; max-width: 55ch; }
.accent{ color: var(--accent); }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.photo-card .photo{
  height: 260px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px dashed var(--border);
  display:grid; place-items:center;
}
.photo-card img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-placeholder{ color: var(--muted); }

.meta{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.pill{
  border:1px solid var(--border);
  padding:8px 10px;
  border-radius:999px;
  font-size: 13px;
  color: var(--muted);
}

.section{ margin-top: 34px; }
.section h2{ margin: 0 0 12px; font-size: 22px; }

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
}

.list{ margin: 10px 0 0 18px; color: var(--muted); }
.list li{ margin: 6px 0; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  background: var(--accent);
  color: white;
  border: 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 650;
  cursor: pointer;
}
.btn.ghost{
  background: transparent;
  border:1px solid var(--border);
  color: var(--text);
}
.btn.small{ padding: 8px 10px; border-radius: 10px; font-weight: 600; }

.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; }

.timeline{
  display:grid;
  gap: 12px;
}
.t-item{
  display:grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items:flex-start;
}
.dot{
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 4px;
}
.t-title{ font-weight: 700; }
.t-desc{ color: var(--muted); margin-top: 2px; }

.letter p{ margin:0; color: var(--text); line-height: 1.55; }
.sign{ color: var(--muted); }

.modal{
  position: fixed; inset: 0;
  display:none;
  place-items:center;
  background: rgba(0,0,0,.45);
  padding: 18px;
}
.modal.open{ display:grid; }
.modal-card{
  max-width: 520px;
  width: 100%;
  border-radius: 18px;
  background: var(--bg);
  border:1px solid var(--border);
  padding: 16px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.close{
  position:absolute; top: 10px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 10px;
  border:1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor:pointer;
  font-size: 22px;
}
