/* ===========================================================
   Emily Brandwin — Improv Comedy
   Design tokens locked through review
=========================================================== */

:root {
  --ink: #1A1418;
  --ink-soft: #3A2E38;
  --text-muted: #5C4E58;
  --text-faint: #8A7D86;
  --eggshell: #F7F6F3;
  --rule: #DDD6CC;

  --pink: #D6197E;
  --pink-soft: #FBD7E8;
  --green: #1F7A3D;
  --green-soft: #CFE8B8;
  --green-wash: rgba(31, 122, 61, 0.06);
  --gold-deep: #B8860B;
  --gold-text: #3A2A05;
  --gold-badge: #F0C05A;
  --plum: #3C2A6B;
  --plum-soft: #D6CFF0;
  --pink-wash: rgba(214, 25, 126, 0.05);

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

  --container: 1080px;
  --radius-tab: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--eggshell);
  background-image: radial-gradient(var(--rule) 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

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

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; flex-direction: column; }
.brand-name {
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.brand-tag {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--pink);
  font-weight: 600;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  letter-spacing: 0.04em;
  align-items: center;
}
.nav-links a { padding: 4px 0; }
.nav-links a.current { border-bottom: 2px solid var(--ink); }
.nav-links a.disabled { color: var(--text-faint); cursor: default; pointer-events: none; }
.nav-contact {
  color: var(--ink);
}
.nav-toggle { display: none; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none; border: none; cursor: pointer;
    flex-direction: column; gap: 4px; padding: 6px;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--eggshell);
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--ink);
    z-index: 10;
  }
  .site-nav { position: relative; }
}

/* ---------- Section wash ---------- */
.section-wash-gold { background: rgba(184, 134, 11, 0.07); }

/* ---------- Larger tile variant (Key Themes, etc.) ---------- */
.tile-grid.tile-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 720px) {
  .tile-grid.tile-grid-5 { grid-template-columns: repeat(2, 1fr); }
}

.tile.tile-lg {
  min-height: 88px;
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tile-lg .tile-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
@media (max-width: 720px) {
  .tile.tile-lg { min-height: 76px; padding: 16px 14px; }
  .tile-lg .tile-title { font-size: 16px; }
}

/* ---------- Kicker badge ---------- */
.badge {
  display: inline-block;
  background: var(--ink);
  color: var(--gold-badge);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  margin-bottom: 18px;
}

/* ---------- Kicker label with bullet ---------- */
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
}
.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  background: currentColor;
  flex-shrink: 0;
}

/* ---------- Hero (full-bleed photo, credentials-led) ---------- */
.hero-full {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
  display: flex;
  align-items: center;
}
.hero-full-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-full-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.hero-full-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(26,20,24,0.94) 34%, rgba(26,20,24,0.6) 66%, rgba(26,20,24,0.15) 100%);
}
.hero-full-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 72px 24px;
}
.hero-credential-badge {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.hero-full-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 50px);
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.hero-full-headline .accent { font-style: italic; color: var(--gold-badge); }
.hero-full-sub {
  font-size: 17px;
  font-weight: 700;
  color: #C9BFC3;
  margin: 0 0 28px;
  max-width: 440px;
  line-height: 1.6;
}
.hero-full-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.link-gold {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-badge);
  border-bottom: 1px solid var(--gold-badge);
  padding-bottom: 2px;
}

@media (max-width: 720px) {
  .hero-full { min-height: 560px; }
  .hero-full-content { padding: 56px 24px; }
}

/* ---------- Credentials strip ---------- */
.credentials-strip {
  padding: 24px;
  border-bottom: 1px solid var(--ink);
  max-width: var(--container);
  margin: 0 auto;
}
.credentials-strip .cred-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0 0 14px;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px 20px;
}
@media (max-width: 900px) {
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); }
}
.credentials-strip .cred-item {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

/* ---------- Pull-quote variants ---------- */
.pull-quote-pink { background: var(--pink); }
.pull-quote-pink p { color: #fff; }

/* ---------- Page hero (light, used on About and similar pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}
.page-hero-mark {
  position: absolute;
  top: -30px;
  right: 4vw;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(110px, 16vw, 160px);
  color: rgba(26, 20, 24, 0.06);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.page-hero-inner { position: relative; z-index: 1; padding: 28px 0 0; }
.page-hero-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 26px);
  margin: 14px 0 4px;
  line-height: 1.15;
}
.page-hero-headline {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 38px);
  margin: 0 0 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.page-hero-headline .accent { font-style: italic; color: var(--pink); }

/* ---------- Bio grid (photo + text) ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: start;
  padding: 0 0 40px;
}
.bio-photo {
  height: 320px;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.bio-photo img { width: 100%; height: 100%; object-fit: cover; }
.bio-text p { font-size: 14.5px; line-height: 1.8; margin: 0 0 16px; }
.bio-text p:last-child { margin-bottom: 0; }

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

/* ---------- Credentials row (inline, bordered) ---------- */
.credentials-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 18px 0;
  margin-bottom: 44px;
}

/* ---------- Callout with photo ---------- */
.callout-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 0 0 48px;
}
.callout {
  border-left: 3px solid var(--gold-deep);
  padding: 4px 0 4px 22px;
}
.callout p { font-size: 14.5px; line-height: 1.8; margin: 0; }
.callout .callout-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; }
.callout-photo { height: 260px; position: relative; overflow: hidden; }
.callout-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.corner-tab-gold {
  position: absolute; top: 0; right: 0;
  width: 20px; height: 20px;
  background: var(--gold-deep);
  z-index: 2;
}

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

.callout-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

/* ---------- Numbered hero background mark (used on content pages) ---------- */
.page-hero-num {
  position: absolute;
  top: -30px;
  right: 4vw;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(110px, 16vw, 150px);
  color: rgba(26, 20, 24, 0.06);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.mission {
  background: var(--ink);
  padding: 56px 24px;
  text-align: center;
}
.mission p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 23px);
  color: var(--gold-badge);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.5;
}
.mission .plain { color: #fff; }

/* ---------- Tag chips (Key Themes) ---------- */
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--ink);
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Contact layout ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
.contact-field { margin-bottom: 22px; }
.contact-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--ink);
  background: transparent;
  border-radius: 0;
}
.contact-field textarea { resize: vertical; min-height: 70px; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-bottom-color: var(--pink);
}
.contact-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.contact-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin: 0 0 6px;
}
.contact-info-value { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; }

.btn {
  display: inline-block;
  font-size: 15.5px;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-dark { background: var(--ink); color: var(--gold-badge); }
.link-underline {
  font-size: 15.5px;
  font-weight: 600;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  display: inline-block;
}

/* ---------- Dark pull-quote (one per page) ---------- */
.pull-quote {
  background: var(--ink);
  padding: 64px 24px;
  text-align: center;
}
.pull-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.6vw, 26px);
  color: var(--gold-badge);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.45;
}
.pull-quote .plain { color: #fff; }

/* ---------- Tile grid (Who I Teach) ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
@media (max-width: 720px) {
  .tile-grid { grid-template-columns: 1fr 1fr; }
}
.tile {
  padding: 28px 18px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tile-num { font-family: var(--serif); font-size: 26px; margin: 0; opacity: 0.85; }
.tile-title { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.tile-desc { font-size: 11px; margin: 0; }
.tile a { display: block; height: 100%; }

/* Modifier: Home's primary 4 tiles (no numbers, larger text) */
.tile-title-lg { font-size: 18px; }
.tile-desc-strong { font-size: 14px; font-weight: 700; }

/* Modifier: teaser tiles (Looking for Something Else) */
.tile-teaser .tile-title { font-size: 16.8px; color: #fff; }
.tile-teaser .tile-desc { font-size: 14.4px; color: rgba(255,255,255,0.9); }
.tile-teaser a > p:last-child { color: #fff; }
.tile-gold.tile-teaser .tile-title,
.tile-gold.tile-teaser .tile-desc { color: #fff; }
.tile-gold.tile-teaser .tile-desc { color: rgba(255,255,255,0.9); }

.tile-pink { background: var(--pink); color: #fff; }
.tile-pink .tile-desc { color: var(--pink-soft); }
.tile-green { background: var(--green); color: #fff; }
.tile-green .tile-desc { color: var(--green-soft); }
.tile-gold { background: var(--gold-deep); color: var(--ink); }
.tile-gold .tile-num { opacity: 0.7; }
.tile-gold .tile-desc { color: var(--gold-text); }
.tile-plum { background: var(--plum); color: #fff; }
.tile-plum .tile-desc { color: var(--plum-soft); }

/* ---------- Trust / two-column section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
  border-top: 1px solid var(--ink);
  padding: 56px 0;
}
.split.reverse { grid-template-columns: 1fr 1.3fr; align-items: start; }
.split-photo { position: relative; height: 220px; overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split-text p { font-size: 16px; line-height: 1.75; margin: 0 0 14px; max-width: 460px; }

@media (max-width: 720px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split-text p { max-width: none; }
}

/* ---------- As Seen In strip ---------- */
.strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--ink);
}
@media (max-width: 720px) {
  .strip-grid { grid-template-columns: 1fr; }
}
.strip-item { background: var(--eggshell); }
.strip-item img { width: 100%; height: 180px; object-fit: cover; }
.strip-caption { padding: 14px 18px; font-size: 12.5px; font-weight: 700; text-align: center; }

/* ---------- Closing CTA ---------- */
.closing {
  padding: 64px 0;
  border-top: 1px solid var(--ink);
  text-align: center;
}
.closing p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 24px;
}
.closing .accent { color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.site-footer .handle { font-weight: 600; color: var(--pink); }
.site-footer .copy { color: var(--text-muted); }
.year-badge {
  font: inherit;
  color: inherit;
}

/* ---------- Section base ---------- */
section { padding: 0; }
.section-pad { padding: 56px 0 48px; }

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