@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #003362;
  --blue-deep: #00264a;
  --orange: #d8620f;
  --orange-ink: #9e4300;
  --orange-soft: #fbe6d4;
  --cream: #fbf7f0;
  --paper: #ffffff;
  --ink: #1b2430;
  --muted: #566170;
  --line: #e7dfd2;
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

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

img { display: block; max-width: 100%; height: auto; -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--blue);
  line-height: 1.15;
  margin: 0 0 0.6rem;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin: 0 0 0.75rem;
}
.lede { font-size: 1.2rem; max-width: 34em; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 2.25rem; }
.section-head p { color: var(--muted); }

figure { margin: 0; }
figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.45; }
figure img { border-radius: var(--radius); background: var(--line); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--blue); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 1.4rem; font-size: 0.95rem; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--orange-ink); text-decoration: underline; }

/* Status banner */
.status { background: var(--blue); color: #fff; }
.status .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem; padding-block: 0.85rem; font-size: 0.98rem; }
.pill {
  background: var(--cream);
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}
.status p { margin: 0; flex: 1 1 18rem; }
.status .links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.status a { color: #fff; font-weight: 700; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.status a:hover { color: var(--orange-soft); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 18px -14px -14px 18px;
  border: 3px solid var(--orange);
  border-radius: calc(var(--radius) + 4px);
  z-index: 0;
}
.hero-photo figure { position: relative; z-index: 1; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.stats {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}
.stats li { padding: 1.25rem 1rem; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--blue); line-height: 1.1; }
.stats span { font-size: 0.92rem; color: var(--muted); }

.sign { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--orange-ink); margin: 1.25rem 0 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; }
.stop {
  display: grid;
  grid-template-columns: 150px 34px 1fr;
  position: relative;
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.stop::before {
  content: "";
  position: absolute;
  left: calc(150px + 16px);
  top: 12px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.stop:last-child::before { display: none; }
.when { text-align: right; padding-right: 0.5rem; padding-top: 0.15rem; }
.when strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--blue); line-height: 1.2; }
.when span { font-size: 0.88rem; color: var(--muted); }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--orange); margin: 0.4rem auto 0; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--cream); }
.section.alt .dot { box-shadow: 0 0 0 5px var(--paper); }
.dot.end { background: var(--blue); }
.what { padding-left: 0.5rem; }
.what p { max-width: 38em; }

.photos { display: grid; gap: 1rem; margin-top: 1.25rem; align-items: start; }
.photos img { width: 100%; height: auto; }
.photos.a { grid-template-columns: 1.7fr 1fr; }
.photos.b { grid-template-columns: minmax(0, 0.62fr) minmax(0, 2fr); }
.photos.c { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; }
.photos.c figure:first-child img { aspect-ratio: 4 / 5; object-fit: cover; }
.photos.d { grid-template-columns: 1fr 1fr; }
.photos.e { grid-template-columns: 1.7fr 1fr; }

/* Learned */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.card { grid-column: span 2; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.card.wide img { margin-top: 0; aspect-ratio: 16 / 10; }
.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 1.2rem; }
.card p { color: var(--ink); margin: 0; font-size: 1rem; }
.card .n { font-family: var(--serif); color: var(--orange); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.card img { border-radius: 10px; margin-top: 1rem; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }

/* Bakes strip */
.strip-wrap { position: relative; }
.strip {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.25rem 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--line);
}
.strip figure { flex: 0 0 min(300px, 72vw); scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.strip-controls { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.strip-controls[hidden] { display: none; }
.strip-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--blue); background: transparent; color: var(--blue);
  font-size: 1.2rem; cursor: pointer; line-height: 1;
}
.strip-controls button:hover { background: var(--blue); color: #fff; }

/* Collabs */
.collabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.collab { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.collab img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: 0; }
.collab .body { padding: 1.25rem 1.4rem 1.5rem; }
.collab h3 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.collab p { margin: 0; font-size: 0.98rem; color: var(--muted); }

/* Giving back + press */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.give { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.give img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: 0; }
.give .body { padding: 1.25rem 1.5rem 1.5rem; }
.give p { margin: 0; color: var(--muted); }

.press {
  margin-top: 2.5rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}
.press h3 { color: #fff; margin-bottom: 0.5rem; font-size: 1.6rem; }
.press p { color: #dbe6f2; margin: 0 0 1.25rem; }
.press .eyebrow { color: #ffd2b0; margin-bottom: 0.5rem; }
.press-view .strip { padding-bottom: 0.5rem; }
.press-view .strip figure { flex: 0 0 100%; }
.press-view .strip img { aspect-ratio: auto; object-fit: contain; border-radius: 8px; background: #fff; }
.press-view figcaption { color: #dbe6f2; }
.press-view .strip-controls { margin-bottom: 0.75rem; }
.press-view .strip-controls button { border-color: #fff; color: #fff; }
.press-view .strip-controls button:hover { background: #fff; color: var(--blue); }

.btn {
  display: inline-block;
  background: var(--cream);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: 2px solid var(--cream);
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--orange); border-color: var(--orange); color: #1b0d00; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn.ghost:hover { background: #fff; color: var(--blue); border-color: #fff; }

/* Family */
.family { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.family img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.names { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 1.25rem 0 0; }
.names li { background: var(--orange-soft); color: var(--orange-ink); font-weight: 700; padding: 0.35rem 0.95rem; border-radius: 999px; font-size: 0.95rem; }

/* Next */
.next { background: var(--blue); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.next h2 { color: #fff; }
.next .eyebrow { color: #ffd2b0; }
.next p { color: #dbe6f2; max-width: 36em; }
.next .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.5rem; }
.next .small { margin-top: 1.5rem; font-size: 0.95rem; }

footer { padding: 1.75rem 0 2.25rem; font-size: 0.9rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; align-items: center; }
footer img { width: 28px; height: 28px; border-radius: 7px; display: inline-block; vertical-align: middle; margin-right: 0.5rem; }

/* Tablet and phone */
@media (max-width: 900px) {
  .hero-grid, .family, .press { grid-template-columns: 1fr; }
  .hero-photo { margin-right: 14px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
  .card.wide { grid-column: 1 / -1; }
  .collabs { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .two { grid-template-columns: 1fr; }
  .stop { grid-template-columns: 26px 1fr; }
  .stop::before { left: 7px; }
  .when { grid-column: 2; grid-row: 1; text-align: left; padding: 0 0 0.35rem 0.5rem; }
  .when strong, .when span { display: inline; }
  .when span::before { content: " · "; }
  .dot { grid-column: 1; grid-row: 1; margin: 0.35rem 0 0; }
  .what { grid-column: 2; grid-row: 2; padding-left: 0.5rem; }
  .photos.a, .photos.b, .photos.c, .photos.d, .photos.e { grid-template-columns: 1fr; }
  .photos.b figure:first-child, .photos.c figure:first-child { max-width: 260px; }
}

@media (max-width: 560px) {
  .cards, .collabs { grid-template-columns: 1fr; }
  .card.wide { grid-template-columns: 1fr; gap: 1rem; }
  .card.wide img { margin-top: 0.5rem; }
}

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