/* ---------------------------------------------------------
   Lauren Chickneas, Ph.D. — site styles
   No external fonts, icons, or frameworks. System fonts only.
--------------------------------------------------------- */

:root {
  --bg: #F1F4EF;
  --surface: #FFFFFF;
  --text: #242821;
  --text-muted: #5B6058;
  --accent: #3F5A45;
  --accent-soft: #D7E3D2;
  --line: #D8DED3;

  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 760px;
  --max-wide: 980px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: normal;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
}

a:hover,
a:focus {
  color: var(--text);
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Signature brand element: a single hairline band, used once. */
.top-bar {
  height: 6px;
  background: var(--accent);
}

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

.hero {
  padding: 64px 0 56px;
}

.hero__inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.hero__photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 6px solid var(--surface);
  outline: 1px solid var(--line);
  box-shadow: 10px 10px 0 var(--accent-soft);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero h1 {
  font-size: 2.25rem;
}

.hero__role {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1em;
}

.hero__lede {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 1rem;
}

.btn:hover,
.btn:focus {
  background: var(--text);
  color: #fff;
}

/* ---------- Areas of focus ---------- */

.focus {
  padding: 48px 0;
}

.focus .wrap {
  max-width: var(--max);
}

.focus h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.focus__item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.focus__item:last-child {
  border-bottom: 1px solid var(--line);
}

.focus__item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5em;
}

.focus__item p {
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--surface);
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.contact__item p {
  margin: 0 0 4px;
}

.contact__label {
  font-family: var(--serif);
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

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

.site-footer {
  padding: 28px 0 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0;
}

/* ---------- Layout breakpoints ---------- */

@media (min-width: 680px) {
  .hero__inner {
    flex-direction: row;
    text-align: left;
    gap: 48px;
  }

  .hero__photo {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
  }

  .hero__lede {
    margin-left: 0;
  }

  .contact__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 860px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
