/* One Clear Minute — Omid Mazdiyasni, PhD
   Mobile-first. No frameworks, no build step. */

:root{
  --navy:#12274a;
  --navy-deep:#0b1a33;
  --ink:#1e2a3d;
  --body:#3c4757;
  --muted:#6b7789;
  --gold:#b8863b;
  --gold-soft:#e6c98c;
  --cream:#fcf9f4;
  --cream-tint:#f6f0e6;
  --line:#e4dbcb;
  --measure:34rem;
  --serif:Georgia,"Iowan Old Style","Palatino Linotype",Palatino,"Times New Roman",serif;
  --sans:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}

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

html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto;}}

body{
  margin:0;
  background:var(--cream);
  color:var(--body);
  font-family:var(--serif);
  font-size:1.0625rem;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

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

a{color:var(--navy);text-decoration:underline;text-underline-offset:.18em;text-decoration-thickness:.06em;text-decoration-color:var(--gold-soft);}
a:hover{text-decoration-color:var(--gold);}

:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:2px;}

.skip{
  position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;
  padding:.6rem 1rem;z-index:100;font-family:var(--sans);text-decoration:none;
}
.skip:focus{left:.5rem;top:.5rem;}

.wrap{width:100%;max-width:64rem;margin:0 auto;padding:0 1.25rem;}
.narrow{max-width:44rem;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(252,249,244,.92);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;flex-direction:column;gap:.4rem;
  align-items:flex-start;padding-top:.7rem;padding-bottom:.7rem;
}
.wordmark{
  display:flex;align-items:center;gap:.55rem;
  font-family:var(--sans);font-size:.9rem;letter-spacing:.09em;text-transform:uppercase;
  color:var(--navy);text-decoration:none;font-weight:600;
}
.wordmark .phd{color:var(--gold);}
.mark{
  width:1.05rem;height:1.05rem;flex:none;border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 22%, var(--gold-soft) 23% 42%, transparent 43%),
    conic-gradient(from 0deg, var(--gold) 0 8%, transparent 8% 25%, var(--gold) 25% 33%, transparent 33% 50%, var(--gold) 50% 58%, transparent 58% 75%, var(--gold) 75% 83%, transparent 83%);
  box-shadow:0 0 0 1px var(--gold-soft) inset;
}
.site-header nav ul{
  list-style:none;display:flex;flex-wrap:wrap;gap:1.1rem;margin:0;padding:0;
}
.site-header nav a{
  font-family:var(--sans);font-size:.82rem;letter-spacing:.05em;
  color:var(--muted);text-decoration:none;
}
.site-header nav a:hover{color:var(--navy);}

/* ---------- Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  padding:3.25rem 0 3.5rem;
  background:
    radial-gradient(60rem 32rem at 78% 22%, rgba(230,201,140,.42) 0%, rgba(230,201,140,0) 62%),
    radial-gradient(40rem 26rem at 8% 8%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(180deg,#fdfaf5 0%, var(--cream-tint) 100%);
}
.hero-grid{display:grid;gap:2.5rem;}
.eyebrow{
  font-family:var(--sans);font-size:.74rem;letter-spacing:.17em;text-transform:uppercase;
  color:var(--gold);margin:0 0 1rem;
}
h1{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(2.6rem,10vw,4.4rem);
  line-height:1.04;letter-spacing:-.015em;
  color:var(--navy);margin:0 0 .7rem;
}
h1 em{font-style:italic;color:var(--navy-deep);}
.subtitle{
  font-family:var(--sans);font-size:.95rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--ink);line-height:1.6;margin:0 0 1.6rem;max-width:26rem;
}
.promise{
  font-size:1.2rem;font-style:italic;color:var(--body);
  max-width:26rem;margin:0 0 2rem;
}
.hero-cover img{
  width:100%;max-width:19rem;margin:0 auto;
  border-radius:3px;
  box-shadow:0 1px 2px rgba(18,39,74,.10),
             0 18px 44px -12px rgba(18,39,74,.34);
}

/* ---------- Buttons ---------- */
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;margin:1.75rem 0 0;}
.btn{
  display:inline-block;font-family:var(--sans);font-size:.9rem;font-weight:600;
  letter-spacing:.02em;line-height:1.2;
  padding:.85rem 1.4rem;border-radius:2px;text-decoration:none;
  border:1px solid transparent;transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.btn-primary{background:var(--navy);color:#fff;border-color:var(--navy);}
.btn-primary:hover{background:var(--navy-deep);border-color:var(--navy-deep);}
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--gold);}
.btn-ghost:hover{background:var(--gold);color:#fff;border-color:var(--gold);}

/* ---------- Sections ---------- */
.section{padding:3.5rem 0;}
.section-tint{background:var(--cream-tint);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
h2{
  font-family:var(--sans);font-weight:600;
  font-size:.8rem;letter-spacing:.19em;text-transform:uppercase;
  color:var(--gold);margin:0 0 .9rem;
}
.rule{width:2.5rem;height:1px;background:var(--gold);opacity:.55;margin:0 0 1.75rem;}
h3{
  font-family:var(--serif);font-weight:400;font-size:1.25rem;line-height:1.3;
  color:var(--navy);margin:0 0 .45rem;
}
p{max-width:var(--measure);}
.lede{font-size:1.3rem;line-height:1.5;color:var(--navy);font-style:italic;margin:0 0 1.2rem;}

/* ---------- Themes ---------- */
.themes{list-style:none;margin:0;padding:0;display:grid;gap:2rem;}
.themes li{border-top:1px solid var(--line);padding-top:1.1rem;}
.themes p{margin:0;font-size:1rem;}

/* ---------- Author ---------- */
.author-grid{display:grid;gap:2.25rem;}
.author-photo img{
  width:100%;max-width:20rem;border-radius:3px;
  box-shadow:0 14px 36px -14px rgba(18,39,74,.35);
}
.author-copy p + p{margin-top:1rem;}

/* ---------- Start here ---------- */
.start-list{list-style:none;margin:0;padding:0;display:grid;gap:2.25rem;counter-reset:step;}
.start-list li{display:grid;grid-template-columns:2.4rem 1fr;gap:1rem;align-items:stretch;}
.start-list li > div{display:flex;flex-direction:column;height:100%;}
.start-list .btn{margin-top:auto;align-self:flex-start;text-align:center;}
.num{
  font-family:var(--sans);font-size:.78rem;font-weight:600;letter-spacing:.08em;
  color:var(--gold);border:1px solid var(--gold-soft);border-radius:50%;
  width:2.1rem;height:2.1rem;display:flex;align-items:center;justify-content:center;
  margin-top:.15rem;
}
.start-list p{margin:0 0 1rem;font-size:1rem;}

/* ---------- Footer ---------- */
.site-footer{
  background:var(--navy-deep);color:#c9d2e0;
  padding:2.25rem 0;font-family:var(--sans);font-size:.85rem;
}
.footer-inner{display:flex;flex-direction:column;gap:.4rem;}
.site-footer p{margin:0;max-width:none;}
.site-footer a{color:var(--gold-soft);text-decoration-color:rgba(230,201,140,.45);}
.site-footer a:hover{color:#fff;}

/* ---------- 404 ---------- */
.notfound{
  min-height:78vh;display:flex;align-items:center;
  background:
    radial-gradient(50rem 28rem at 50% 30%, rgba(230,201,140,.4) 0%, rgba(230,201,140,0) 65%),
    var(--cream);
  text-align:center;
}
.notfound .wrap{max-width:34rem;}
.notfound h1{font-size:clamp(2rem,7vw,3rem);margin-bottom:1rem;}
.notfound p{margin:0 auto 1.75rem;}

/* ---------- Larger screens ---------- */
@media (min-width:40rem){
  body{font-size:1.125rem;}
  .wrap{padding:0 2rem;}
  .section{padding:5rem 0;}
  .hero{padding:5rem 0 5.5rem;}
  .themes{grid-template-columns:repeat(2,1fr);gap:2rem 2.75rem;}
  .header-inner{flex-direction:row;align-items:center;justify-content:space-between;gap:1.5rem;}
  .footer-inner{flex-direction:row;justify-content:space-between;align-items:center;}
}

@media (min-width:56rem){
  .hero-grid{grid-template-columns:1.15fr .85fr;align-items:center;gap:4rem;}
  .hero-cover img{max-width:22rem;margin:0;}
  .author-grid{grid-template-columns:.75fr 1.25fr;gap:3.5rem;align-items:start;}
  .themes{grid-template-columns:repeat(3,1fr);}
  .start-list{grid-template-columns:repeat(3,1fr);gap:2.5rem;}
}
