/* ===========================================================
   Amanda L. Townley, Ph.D. — site stylesheet
   Palette: field-guide editorial. Ink + bone paper + specimen teal + ochre.
   Type: Fraunces (display serif, has optical-size character) + Inter (body/UI)
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

:root{
  --ink:        #14171C;
  --paper:      #F6F3EC;
  --paper-dim:  #EDE8DB;
  --teal:       #1F6F63;
  --teal-dark:  #164F46;
  --ochre:      #C98A3D;
  --line:       #D9D2BF;
  --slate:      #55575C;
  --slate-soft: #83807A;
  --white:      #FFFDF9;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a{ color: inherit; }
a:focus-visible, button:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; }

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

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / Nav ---------- */

header.site{
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(246,243,236,0.94);
  backdrop-filter: blur(6px);
  z-index: 50;
}

.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand{
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand span{ color: var(--teal); }

nav.primary{
  display: flex;
  gap: 30px;
}

nav.primary a{
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--slate);
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

nav.primary a:hover,
nav.primary a[aria-current="page"]{
  color: var(--ink);
  border-color: var(--ochre);
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 760px){
  nav.primary{
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 6px 28px 18px;
  }
  nav.primary.open{ display: flex; }
  nav.primary a{ padding: 12px 0; border-bottom: 1px solid var(--paper-dim); }
  .nav-toggle{ display: block; }
}

/* ---------- Buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}

.btn-primary{
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover{ background: var(--teal-dark); }

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--white); }

.btn-row{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Hero ---------- */

.hero{
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
}

.kicker{
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin: 0 0 18px;
}

h1{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.hero p.lede{
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-art{
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 28px;
}

.hero-art.hero-photo{
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.hero-art.hero-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  filter: grayscale(8%);
}

.about-photo{
  width: 100%;
  border-radius: 3px;
  margin-bottom: 20px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
}

/* ---------- Sections ---------- */

section{
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

section:last-of-type{ border-bottom: none; }

h2{
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}

.section-intro{
  color: var(--slate);
  max-width: 60ch;
  margin: 0 0 40px;
  font-size: 1.05rem;
}

.eyebrow{
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin: 0 0 10px;
}

/* card grid used for "why it matters" / topics */

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

@media (max-width: 860px){
  .grid-3{ grid-template-columns: 1fr; }
}

.item-num{
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ochre);
  margin: 0 0 12px;
}

.item h3{
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.item p{
  color: var(--slate);
  margin: 0;
  font-size: 0.98rem;
}

/* ---------- As-seen-in strip ---------- */

.press-strip{
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.press-strip .label{
  font-size: 0.82rem;
  color: var(--slate-soft);
  margin-bottom: 18px;
}

.press-marks{
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--slate);
}

/* ---------- Quote / pull ---------- */

.pull{
  border-left: 3px solid var(--ochre);
  padding: 4px 0 4px 26px;
  margin: 40px 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 62ch;
}

/* ---------- CTA banner ---------- */

.cta-band{
  background: var(--ink);
  color: var(--white);
  padding: 64px 0;
}

.cta-band h2{ color: var(--white); }
.cta-band p{ color: #C7C4BB; max-width: 56ch; }

.cta-band .btn-ghost{
  color: var(--white);
  border-color: #6b6d73;
}
.cta-band .btn-ghost:hover{ background: var(--white); color: var(--ink); }

.cta-band .btn-primary{ background: var(--ochre); color: var(--ink); }
.cta-band .btn-primary:hover{ background: #b87a2f; }

/* ---------- Two column layout (about page) ---------- */

.two-col{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
}

@media (max-width: 860px){
  .two-col{ grid-template-columns: 1fr; }
}

.prose p{ margin: 0 0 20px; color: var(--ink); font-size: 1.03rem; }
.prose p:first-of-type::first-letter{
  font-family: var(--serif);
  font-size: 3.4rem;
  float: left;
  line-height: 0.8;
  padding: 8px 8px 0 0;
  color: var(--teal-dark);
  font-weight: 600;
}

.fact-box{
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  padding: 26px;
  height: fit-content;
}

.fact-box dt{
  font-size: 0.78rem;
  text-transform: none;
  color: var(--slate-soft);
  margin: 18px 0 3px;
}
.fact-box dt:first-child{ margin-top: 0; }
.fact-box dd{ margin: 0; font-size: 0.95rem; }

/* ---------- List rows (speaking topics / press items) ---------- */

.row-list{ border-top: 1px solid var(--line); }

.row-item{
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 640px){
  .row-item{ grid-template-columns: 1fr; gap: 6px; }
}

.row-item .tag{
  font-size: 0.85rem;
  color: var(--slate-soft);
}

.row-item h3{
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.row-item p{ color: var(--slate); margin: 0; font-size: 0.97rem; }

/* ---------- Footer ---------- */

footer.site{
  padding: 48px 0 60px;
  border-top: 1px solid var(--line);
}

.footer-grid{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.92rem;
  color: var(--slate);
}

.footer-grid a{ text-decoration: none; color: var(--slate); }
.footer-grid a:hover{ color: var(--teal-dark); }

.footer-note{
  margin-top: 26px;
  font-size: 0.82rem;
  color: var(--slate-soft);
}

/* ---------- Placeholder marker (visible only so Amanda can find things to fill in) ---------- */

.fill-in{
  background: #FBEFD9;
  border: 1px dashed var(--ochre);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.88em;
}
