/* Minimal, clean, responsive. No frameworks. */

:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --card:#f8fafc;
  --border:#e2e8f0;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --accent:#0f172a;
  --btn:#0f172a;
  --btnText:#ffffff;
  --focus:#2563eb;
}

:root[data-theme="dark"]{
  --bg:#0b1220;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --card:#0f172a;
  --border:#1f2937;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --accent:#e5e7eb;
  --btn:#e5e7eb;
  --btnText:#0b1220;
  --focus:#60a5fa;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{transition:none !important}
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

.container{
  width:min(980px, calc(100% - 2rem));
  margin:0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:1rem;
  background:var(--bg);
  color:var(--text);
  border:1px solid var(--border);
  padding:.6rem .8rem;
  border-radius:.75rem;
  box-shadow:var(--shadow);
  z-index:9999;
}
.skip-link:focus{left:1rem}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(255,255,255,.75);
  backdrop-filter:saturate(1.8) blur(10px);
  border-bottom:1px solid var(--border);
}
:root[data-theme="dark"] .topbar{
  background:rgba(11,18,32,.75);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.85rem 0;
}
.brand{
  font-weight:700;
  text-decoration:none;
  color:var(--text);
  letter-spacing:.2px;
}
.nav{
  display:flex;
  gap:1rem;
}
.nav a{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
}
.nav a:hover{color:var(--text)}

.theme-toggle{
  border:1px solid var(--border);
  background:transparent;
  color:var(--text);
  border-radius:999px;
  padding:.45rem .6rem;
  cursor:pointer;
}
.theme-toggle:focus{outline:3px solid var(--focus); outline-offset:2px}

.hero{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap:2rem;
  padding:2rem 0 1.25rem;
  align-items:center;
}
@media (max-width: 720px){
  .hero{grid-template-columns: 1fr; text-align:left}
  .hero-media{display:flex; justify-content:flex-start}
}

.portrait{
  width:240px;
  height:240px;
  object-fit:cover;
  border-radius:999px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}

h1{
  margin:0 0 .35rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing:-.02em;
}
.lede{
  margin:.25rem 0 1rem;
  color:var(--muted);
  font-size:1.05rem;
  max-width:60ch;
}

.social{
  display:flex;
  gap:.6rem;
  align-items:center;
  margin: .75rem 0 1.2rem;
}
.icon-link{
  width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid var(--border);
  color:var(--text);
  text-decoration:none;
  background:var(--card);
}
.icon-link:hover{transform: translateY(-1px)}
.icon{
  font-weight:800;
  font-size:1rem;
}
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

.hero-ctas{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.7rem 1rem;
  border-radius:14px;
  border:1px solid var(--btn);
  background:var(--btn);
  color:var(--btnText);
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px)}
.btn:focus{outline:3px solid var(--focus); outline-offset:2px}

.btn-ghost{
  background:transparent;
  color:var(--text);
  border-color:var(--border);
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  margin:1rem 0;
}
.card-inner{padding:1.25rem 1.25rem 1.1rem}

h2{
  margin:0 0 .6rem;
  font-size:1.2rem;
  letter-spacing:-.01em;
}
.prose p{margin:.65rem 0}
.muted{color:var(--muted); margin:.25rem 0 1rem}

.now-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}
.updated{
  margin:0;
  font-size:.9rem;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:.5rem;
}
.dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--muted);
  opacity:.6;
}

.bullets{
  margin:.5rem 0 0 1.1rem;
}
.bullets li{margin:.35rem 0}

.form{
  margin-top:.75rem;
}
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1rem;
}
@media (max-width: 720px){
  .grid{grid-template-columns: 1fr}
}

label span{
  display:block;
  font-size:.95rem;
  font-weight:650;
  margin:0 0 .35rem;
}
input, textarea{
  width:100%;
  border:1px solid var(--border);
  background:var(--bg);
  color:var(--text);
  border-radius:12px;
  padding:.75rem .85rem;
  font-size:1rem;
}
input:focus, textarea:focus{
  outline:3px solid var(--focus);
  outline-offset:2px;
}
.form-row{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  margin-top:1rem;
}
.form-status{
  margin:0;
  color:var(--muted);
  min-height:1.2em;
}

.contact-links{
  margin-top:1rem;
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
  color:var(--muted);
}
.contact-links a{color:var(--muted); font-weight:650; text-decoration:none}
.contact-links a:hover{color:var(--text)}

.footer{
  margin:1.2rem 0 2.5rem;
}
.fineprint{
  font-size:.72rem;
  line-height:1.35;
  color:var(--muted);
  padding: .75rem 0 0;
}
.fineprint a{color:var(--muted)}
.fineprint a:hover{color:var(--text)}

/* honeypot hidden */
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden}


/* Web links list */
.link-list{list-style:none;padding:0;margin:.75rem 0 0}
.link-list li{margin:.35rem 0}
.link-list a{text-decoration:underline;text-underline-offset:3px}
