/* assets/styles.css */

/* === NEWSPAPER THEME === */
:root{
  --bg:#F5F2E8;                /* paper */
  --panel: rgba(255,255,255,.62); /* glass */
  --text:#111111;
  --muted:#3b3b3b;
  --line:rgba(0,0,0,.12);
  --shadow: 0 10px 28px rgba(0,0,0,.10);

  --max: 1080px;
  --radius: 16px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: "Times New Roman", Times, serif;
  background: var(--bg); /* solid, no gradients */
  color:var(--text);
  line-height:1.65;
}

/* Links */
a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.85; }

/* Layout */
.container{
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

/* === NAV (narrower + mobile friendly) === */
header{
  position: sticky;
  top:0;
  z-index: 100;

  /* keep glass effect */
  backdrop-filter: blur(10px);
  background: rgba(245,242,232,.70);
  border-bottom: 1px solid var(--line);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 0; /* narrower */
}

.brand{
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 18px;
  white-space: nowrap;
}

.navlinks{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:flex-end;
}

.navlinks a{
  padding: 6px 2px;        /* no bubble */
  border: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}

.navlinks a.active{
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.40);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.btn.primary{
  background: rgba(0,0,0,.88);
  color: #fff;
  border-color: rgba(0,0,0,.88);
}

.btn.ghost{
  background: transparent;
}

/* Mobile nav stacks */
@media (max-width: 720px){
  .nav{
    flex-direction: column;
    align-items: flex-start;
  }
  .navlinks{
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }
  .navlinks a{
    font-size: 16px;
    padding: 8px 2px;
  }
}

/* === HERO / SECTIONS (more whitespace) === */
.hero{
  padding: 70px 0 34px;
}

.section{
  padding: 38px 0;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.38);
  color: var(--muted);
  width: fit-content;
}

.dot{
  width:10px; height:10px; border-radius:99px;
  background: rgba(0,0,0,.6);
}

/* Typography */
h1{
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  margin: 16px 0 12px;
  letter-spacing: -.2px;
}

.lede{
  font-size: 18px;
  color: var(--muted);
  max-width: 78ch;
}

.section h2{
  font-size: 26px;
  margin: 0 0 12px;
}

.section p{ color: var(--muted); margin: 0 0 10px; }

.hr{
  height:1px;
  background: var(--line);
  margin: 28px 0;
}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.col-4{ grid-column: span 4; }
.col-6{ grid-column: span 6; }
.col-8{ grid-column: span 8; }
.col-12{ grid-column: span 12; }
@media (max-width: 900px){
  .col-4,.col-6,.col-8{ grid-column: span 12; }
}

/* Cards (glass) */
.card{
  background: var(--panel);
  border:1px solid rgba(0,0,0,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px; /* premium whitespace */
}

.small{ color: var(--muted); font-size: 14px; }

/* Pills */
.pills{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top: 10px;
}
.pill{
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.35);
  color: var(--muted);
  font-size: 14px;
}

/* Forms */
.formRow{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top: 12px;
}
input[type="email"], input[type="text"]{
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.16);
  background: rgba(255,255,255,.55);
  color: var(--text);
  outline: none;
}
input::placeholder{ color: rgba(0,0,0,.45); }

.notice{
  border-left: 3px solid rgba(0,0,0,.35);
  padding: 12px 14px;
  background: rgba(255,255,255,.40);
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
footer{
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin-top: 34px;
}
.footerGrid{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.footerGrid a{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === About page: photo next to name === */
.aboutHero{
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 22px;
  align-items: start;
}
.profilePhoto{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.35);
}
@media (max-width: 900px){
  .aboutHero{
    grid-template-columns: 1fr;
  }
  .profilePhoto{
    max-width: 360px;
  }
}
