/* Englewood Works — site styles
   Palette comes from the logo (charcoal ring, wood-grain tan) and the carved
   Welcome sign (whitewashed board, oak-colored lettering). */

:root {
  --ink: #363636;
  --ink-2: #5d5853;
  --board: #ede8e0;
  --board-2: #ddd4c7;
  --tan: #d6c2ab;
  --oak: #b07634;
  --oak-2: #87591f;
  --white: #ffffff;
  --measure: 62ch;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Lora", Georgia, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

a { color: var(--oak-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--oak);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; margin-top: 2rem; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
ul { padding-left: 1.2rem; max-width: var(--measure); }
li { margin-bottom: 0.4em; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - 2.5rem, 1120px);
  margin-inline: auto;
}

/* Header */
.site-head {
  border-bottom: 1px solid var(--board-2);
  background: var(--white);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-right: auto;
}
.brand img { width: 52px; height: 52px; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
}
.site-nav a:hover { color: var(--ink); text-decoration: underline; }

.button {
  display: inline-block;
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}
.button:hover { background: var(--ink); color: var(--white); }
.button.solid { background: var(--ink); color: var(--white); }
.button.solid:hover { background: var(--oak-2); border-color: var(--oak-2); }
.site-nav .button { padding: 0.5rem 1.05rem; font-size: 0.95rem; }

/* Hero */
.hero { padding: 4.5rem 0 0; }
.hero p.lead { font-size: 1.25rem; max-width: 56ch; color: var(--ink-2); }
.hero .actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin: 1.8rem 0 1.4rem; }
.hero .status {
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 3rem;
}

/* Photo planks: every photo on the site is a wide strip, like a board laid across the page */
.plank { margin: 0 auto; max-width: 1440px; }
.plank img {
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: cover;
  background: var(--board-2);
}
.plank figcaption {
  font-size: 0.9rem;
  color: var(--ink-2);
  padding: 0.6rem 0 0;
  font-style: italic;
}
.hero .plank img { border-top: 6px solid var(--tan); }

/* Sections */
section { padding: 4.5rem 0; }
section.board { background: var(--board); }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 3rem 0; }
  .hero { padding-top: 3rem; }
  .plank img { aspect-ratio: 2 / 1; }
  .site-nav a:not(.button) { display: none; }
  .site-head .wrap { flex-wrap: nowrap; gap: 0.75rem; }
  .brand { font-size: 1.1rem; gap: 0.5rem; letter-spacing: 0.02em; }
  .brand img { width: 44px; height: 44px; }
  .site-nav .button { padding: 0.45rem 0.9rem; font-size: 0.9rem; }
}

/* Facts panel: a short key-value list, set on tan like the logo face */
.facts {
  background: var(--tan);
  padding: 1.6rem 1.7rem;
  border-radius: 6px;
}
.facts dl { margin: 0; }
.facts dt {
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-top: 1rem;
}
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 0.15rem 0 0; }

/* The student path is a real sequence, so it is numbered */
.path { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0; max-width: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2rem 2.5rem; }
.path li { counter-increment: step; margin: 0; }
.path li::before {
  content: counter(step);
  display: block;
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--oak);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.path strong {
  display: block;
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

/* Support section */
.need {
  border-left: 6px solid var(--oak);
  background: var(--white);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
  max-width: 70ch;
}
.need p { margin: 0; }
.need strong {
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.3rem;
}
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem 2.5rem; margin-top: 1rem; }
.ways h3 { margin-top: 0; }
.ways p { margin-bottom: 0.6em; }
address { font-style: normal; }

/* Leadership */
.person { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; max-width: 70ch; }
.person .initials {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--tan); color: var(--ink);
  display: grid; place-items: center;
  font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem; font-weight: 500;
}
.person h3 { margin-top: 0; margin-bottom: 0.1rem; }
.person .role { color: var(--ink-2); font-family: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif; margin-bottom: 0.8rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; }
.contact-grid h3 { margin-top: 0; }

/* Footer */
.site-foot {
  background: var(--ink);
  color: var(--board);
  padding: 2.5rem 0;
  font-size: 0.95rem;
}
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; }
.site-foot img { width: 56px; height: 56px; }
.site-foot p { margin: 0; max-width: 60ch; }
.site-foot a { color: var(--white); }

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

@media (max-width: 400px) {
  .brand { font-size: 0.95rem; white-space: nowrap; }
  .site-nav .button { padding: 0.4rem 0.75rem; font-size: 0.85rem; }
}
