/* ============================================================
   First Annual Power of Caring Celebration — David Lynch Foundation
   Pixel-perfect responsive rebuild. No frameworks.
   Full-bleed color bands (backgrounds span the full viewport width);
   content is centered inside a max-width wrapper.
   ============================================================ */

/* ---------- Rawson Pro (self-hosted) ---------- */
@font-face {
  font-family: "Rawson Pro"; font-style: normal; font-weight: 200; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-ExtraLight.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-ExtraLight.woff") format("woff");
}
@font-face {
  font-family: "Rawson Pro"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-Light.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-Light.woff") format("woff");
}
@font-face {
  font-family: "Rawson Pro"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-Regular.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-Regular.woff") format("woff");
}
@font-face {
  font-family: "Rawson Pro"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-Medium.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-Medium.woff") format("woff");
}
@font-face {
  font-family: "Rawson Pro"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-Bold.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-Bold.woff") format("woff");
}
@font-face {
  font-family: "Rawson Pro"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-Black.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-Black.woff") format("woff");
}
@font-face {
  font-family: "Rawson Pro"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-RegularIt.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-RegularIt.woff") format("woff");
}
@font-face {
  font-family: "Rawson Pro"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("poc-assets/fonts/RawsonPro-BoldIt.woff2") format("woff2"),
       url("poc-assets/fonts/RawsonPro-BoldIt.woff") format("woff");
}

:root {
  --teal:        #249898;
  --peach:       #ffd08f;   /* invite band */
  --orange-21:   #f0924a;   /* solid orange "21 years" band */
  --red:         #ed1a3b;   /* button text */
  --title-teal:  #1c8a8c;   /* hero serif title */
  --ink:         #20302f;   /* near-black text */
  --cream:       #fff;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Rawson Pro", "Segoe UI", Arial, sans-serif;
  --font-body:  "Rawson Pro", "Segoe UI", Arial, sans-serif;

  --maxw: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0 auto;
  max-width: var(--maxw);   /* cap the whole page (incl. color bands) at 1200px */
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;          /* white gutters show left/right beyond 1200px */
  line-height: 1.4;
}

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

/* ---------- Band = full-bleed color; wrap = centered content ---------- */
.band { width: 100%; }
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Band background colors ---------- */
.band--white     { background: #fff; }
.band--invite    { background: var(--peach); }
.band--teal-top,
.band--teal      { background: var(--teal); }
.band--hero      { background: linear-gradient(180deg, #f7a45b 0%, #fcd08a 100%); }
.band--book      { background: linear-gradient(180deg, #fbb05c 0%, #fdcb84 100%); }
.band--orange    { background: var(--orange-21); }
.band--footer    { background: linear-gradient(180deg, #f6a860 0%, #ffe3bc 100%); }

/* ============================================================
   TOP — three headshots on teal
   ============================================================ */
.people {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 26px;
  padding-top: 4px;
  min-height: 236px;
}
.people__img { width: auto; align-self: flex-end; }
.people__img--1 { height: 214px; }
.people__img--2 { height: 200px; margin: 0 -6px; }
.people__img--3 { height: 206px; }

/* ============================================================
   INVITE band
   ============================================================ */
.band--invite .wrap { padding-top: 26px; padding-bottom: 26px; }
.invite__text {
  margin: 0;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(0.95rem, 2.1vw, 1.35rem);
  line-height: 1.5;
}
.br-mobile { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { text-align: center; padding: 30px 24px 44px; }
.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--title-teal);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 7vw, 5.4rem);
}
.hero__date {
  margin: 20px 0 24px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
}

/* ---------- Pill button (white bg, red text) ---------- */
.pill {
  display: inline-block;
  background: #fff;
  color: var(--red);
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  padding: 0.62em 1.5em;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pill:hover, .pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  outline: none;
}

/* ============================================================
   Section labels ("IN CONVERSATION", etc.)
   ============================================================ */
.band--white .wrap { padding-top: 40px; padding-bottom: 40px; }
.label {
  margin: 0;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
}

/* ============================================================
   SPEAKER bands (teal)
   ============================================================ */
.band--teal { margin: 11px 0; overflow: visible; }   /* head may poke above the band */
.speaker__wrap {
  display: flex;
  align-items: flex-end;
  gap: 34px;
  min-height: 285px;
}
.speaker__wrap--right { justify-content: flex-start; }
.speaker__photo {
  flex: 0 0 auto;
  align-self: flex-end;
  --ph: 285px;   /* photo area = teal band height */
  --r: 1;        /* per-person: cutout native height / band height */
  height: var(--ph);
}
.speaker__photo img {
  display: block;
  height: calc(var(--ph) * var(--r));
  width: auto;
  max-width: none;
  /* bottom-align the cutout; when it is taller than the band the head
     overflows the top edge (matching the mockup), shoulders clip at bottom */
  margin-top: calc(var(--ph) * (1 - var(--r)));
}
.speaker__text {
  flex: 1 1 auto;
  align-self: center;
  padding-bottom: 8px;
}
.speaker__wrap--right .speaker__text { padding-left: 10%; }
.speaker__name {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
}
.speaker__bio {
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  line-height: 1.35;
  max-width: 34ch;
}

/* ============================================================
   BOOK band
   ============================================================ */
.book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 24px;
}
.book__text {
  flex: 0 1 380px;
  text-align: center;
}
.book__blurb {
  margin: 0 0 26px;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.95rem);
  line-height: 1.3;
}
.book__blurb strong { font-weight: 700; }
.book__img { flex: 0 0 auto; }
.book__img img { height: clamp(260px, 34vw, 420px); width: auto; }

/* ============================================================
   21 YEARS band
   ============================================================ */
.years { text-align: center; padding-top: 40px; }
.years__big {
  margin: 0 0 4px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
}
.years__sub {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.5;
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
}
.years__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  line-height: 1.7;
}
.years__list span { margin: 0 0.4em; }
.years__woman {
  margin: 10px auto -1px;
  height: clamp(300px, 42vw, 430px);
  width: auto;
  position: relative;
  z-index: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { text-align: center; padding: 34px 24px 44px; }
.footer .pill { margin-bottom: 26px; }
.footer__label {
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(1rem, 2.3vw, 1.35rem);
}
.footer__sponsors {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .people { gap: 10px; min-height: 150px; }
  .people__img--1 { height: 132px; }
  .people__img--2 { height: 146px; }
  .people__img--3 { height: 128px; }

  .speaker__wrap { gap: 18px; min-height: 210px; }
  .speaker__photo { --ph: 210px; }
  .speaker__bio { max-width: 26ch; }

  .book { gap: 22px; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .br-mobile { display: inline; }

  .people { gap: 6px; min-height: 118px; }
  .people__img--1 { height: 104px; }
  .people__img--2 { height: 116px; }
  .people__img--3 { height: 100px; }

  /* speakers keep photo + text side by side, but tighter */
  .speaker__wrap { gap: 12px; min-height: 168px; align-items: flex-end; }
  .speaker__photo { --ph: 168px; }
  .speaker__text { align-self: center; padding-bottom: 6px; }
  .speaker__bio { font-size: 0.98rem; max-width: 22ch; }
  .speaker__name { font-size: 1.05rem; }

  .book { flex-direction: column; }
  .book__text { flex-basis: auto; }
}
