/* ==========================================================
   In Conversation... | inconversation.vip
   Textured navy + champagne gold. Text never below 16px.
   ========================================================== */

:root {
  --navy: #0C1A3A;
  --navy-deep: #070F24;
  --navy-band: #08132E;
  --navy-card: #0A1630;
  --navy-raised: #172A54;
  --line: #22315A;
  --gold: #C9A86A;
  --gold-light: #E6CE92;
  --gold-dim: #9C7C5C;
  --text: #C9D2E6;
  --text-soft: #AEB9D4;
  --text-muted: #8A97B8;
  --white: #FFFFFF;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", Arial, Helvetica, sans-serif;

  --body: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); /* 18-20px */
  --small: 1rem;                                     /* 16px floor */
  --wrap: 1120px;
  --narrow: 720px;
  --cdn: "https://cdn.avnirinsights.com/avnir-smr/in-conversation";
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
/* Textured navy from the recap design; a fixed layer so it works on iOS too */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--navy) url("https://cdn.avnirinsights.com/avnir-smr/in-conversation/site/texture-navy.jpg") center / cover no-repeat;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--navy); padding: 12px 18px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 40px, var(--narrow)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--white); margin: 0; line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 2rem + 5vw, 5.5rem); }
h2 { font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); }
h3 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); font-weight: 600; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 300; color: var(--text); line-height: 1.6; }
.soft { color: var(--text-soft); }
.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: var(--small); font-weight: 800;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 18px;
}
.eyebrow .d { color: var(--gold-dim); letter-spacing: 0; }

.rule { width: 70px; height: 1px; background: var(--gold); border: 0; margin: 36px auto; }

/* ---------- header / footer ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(7, 15, 36, 0.55); }
.site-header::before { content: ""; display: block; height: 4px; background: var(--gold); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-block: 10px; }
.wordmark { font-family: var(--serif); font-size: 1.75rem; color: var(--white); text-decoration: none; font-weight: 500; }
.wordmark:hover { color: var(--gold-light); }
.site-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.site-nav a { font-size: var(--small); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-light); }

.site-footer { border-top: 1px solid var(--gold); background: var(--navy-band); padding: 56px 0 48px; margin-top: 0; }
.hosts-line { text-align: center; }
.hosts-line .eyebrow { justify-content: center; }
.logos { display: flex; align-items: center; justify-content: center; gap: 22px 44px; flex-wrap: wrap; margin: 8px 0 34px; padding: 26px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--navy); }
.logos img { height: 56px; width: auto; }
.logos img.wide { height: 34px; }
.logos .sep { color: var(--gold-dim); font-size: 16px; }
.footer-note { font-size: var(--small); color: var(--text-muted); text-align: center; max-width: 760px; margin: 0 auto 10px; line-height: 1.6; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 1.0625rem; font-weight: 900;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  padding: 18px 40px; border-radius: 2px; transition: background-color .3s, color .3s, border-color .3s;
}
.btn-gold { background: var(--gold); color: var(--navy); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-gold:focus-visible { outline-color: var(--white); }
.btn-line { border: 1px solid var(--gold); color: var(--gold-light); }
.btn-line:hover { background: rgba(201, 168, 106, 0.12); color: var(--white); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.band-bg { background: rgba(8, 19, 46, 0.72); }

.hero { padding: clamp(72px, 10vw, 136px) 0 clamp(64px, 8vw, 104px); text-align: center; }
.hero h1 { margin-bottom: 26px; }
.hero .narrow { width: min(100% - 40px, 1040px); }
.hero .lead { max-width: 820px; margin: 0 auto 34px; }
.badge { display: inline-block; border: 1px solid var(--gold); border-radius: 2px; padding: 8px 18px; font-size: var(--small); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 26px; }
.when { font-size: 1.125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 6px; }
.where { font-style: italic; color: var(--text); margin: 0 0 30px; }

/* full-bleed photo band, three across, no gaps */
.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.photo-band img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-band.contained { width: min(100%, var(--wrap)); margin-inline: auto; }

/* facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 34px 28px; text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact h3 { font-size: 1.75rem; margin-bottom: 10px; color: var(--gold-light); }
.fact p { margin: 0; color: var(--text-soft); }

/* people */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 28px; margin-top: 44px; }
.person { text-align: center; }
.person img { width: 132px; height: 132px; margin: 0 auto 16px; }
.person .name { font-weight: 800; color: var(--white); font-size: 1.1875rem; margin: 0 0 4px; }
.person .role { color: var(--text-muted); font-size: var(--small); line-height: 1.5; margin: 0; }
.person .label { display: block; font-size: var(--small); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }

.speaker { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; padding: 32px 0; }
.speaker + .speaker { border-top: 1px solid var(--line); }
.speaker img { width: 150px; height: 150px; }
.speaker .name { font-family: var(--serif); font-size: 2rem; color: var(--white); margin: 0 0 4px; line-height: 1.15; }
.speaker .title { font-size: var(--small); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 14px; line-height: 1.5; }
.speaker p:last-child { margin-bottom: 0; }

/* previous conversations */
.evenings { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 48px; }
.evening-card { display: flex; flex-direction: column; background: var(--navy-card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .3s, transform .3s; }
.evening-card:hover { border-color: var(--gold); color: var(--text); }
@media (prefers-reduced-motion: no-preference) { .evening-card:hover { transform: translateY(-3px); } }
.evening-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.evening-card .body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.evening-card .date { font-size: var(--small); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.evening-card h3 { font-size: 1.875rem; margin-bottom: 12px; }
.evening-card .with { color: var(--text-soft); margin: 0 0 22px; }
.evening-card .more { margin-top: auto; font-size: var(--small); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }

/* invitation card (mirrors the email) */
.inv-frame { border: 1px solid var(--gold); border-radius: 11px; padding: 8px; background: var(--navy-card); max-width: 760px; margin: 0 auto; }
.inv-card { border: 2px solid var(--gold); border-radius: 6px; background: var(--navy-raised); text-align: center; padding: 48px 32px 44px; position: relative; }
.inv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--gold-light); border-radius: 4px 4px 0 0; }
.inv-card h2 { font-weight: 600; margin: 4px 0 12px; }
.pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 26px 0 18px; }
.pill { background: var(--gold); color: var(--navy); border: 1px solid var(--gold-dim); border-radius: 2px; padding: 12px 20px; font-size: var(--small); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.sched { font-family: var(--serif); font-style: italic; font-size: 1.75rem; color: var(--gold-light); line-height: 1.5; margin: 0 0 8px; }
.venue { font-size: var(--small); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 30px; }
.fine { font-size: var(--small); font-style: italic; color: var(--text-muted); margin: 16px 0 0; }

.note-card { background: var(--navy); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; padding: 32px 34px; }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); color: var(--white); line-height: 1.45; margin: 0 0 10px; }
.quote-by { font-size: var(--small); color: var(--text-muted); margin: 0 0 26px; }

.contact-box { border: 2px solid var(--gold); border-radius: 8px; background: var(--navy-card); text-align: center; padding: 28px 24px; }
.contact-box .eyebrow { justify-content: center; margin-bottom: 8px; }
.contact-box a { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); font-weight: 700; text-decoration: none; word-break: break-word; }

/* recap takeaways */
.takeaways { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.takeaway { padding: 28px 26px 26px 0; border-bottom: 1px solid var(--line); }
.takeaway .n { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); margin: 0 0 6px; }
.takeaway h4 { font-family: var(--sans); font-size: var(--small); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin: 0 0 10px; }
.takeaway p { margin: 0; color: var(--text-soft); }
.recap-block + .recap-block { margin-top: 84px; }
.recap-block .kicker { font-size: var(--small); font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.recap-block .deck { font-family: var(--serif); font-style: italic; font-size: 1.625rem; color: var(--gold-light); line-height: 1.4; margin: 14px 0 0; }

.recap-hero { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 36px; }
.gallery a { display: block; position: relative; overflow: hidden; border-radius: 2px; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease, opacity .3s; }
@media (prefers-reduced-motion: no-preference) { .gallery a:hover img { transform: scale(1.03); } }
.photo-credit { font-size: var(--small); color: var(--text-muted); margin-top: 16px; }

dialog.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; color: var(--text); }
dialog.lightbox::backdrop { background: rgba(4, 9, 22, 0.94); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; }
.lightbox figcaption { font-size: var(--small); color: var(--text-soft); margin-top: 14px; text-align: center; }
.lb-controls { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }
.lb-controls button { font: 800 var(--small)/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); background: transparent; border: 1px solid var(--gold); border-radius: 2px; padding: 14px 20px; cursor: pointer; min-height: 48px; }
.lb-controls button:hover { background: rgba(201, 168, 106, 0.14); }

.pager { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pager a { font-size: var(--small); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }

/* gate */
.gate { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.gate form { display: flex; flex-direction: column; gap: 14px; width: min(100%, 420px); margin: 30px auto 0; }
.gate label { font-size: var(--small); font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.gate input { font: 400 1.25rem/1.4 var(--sans); padding: 16px 18px; background: var(--navy-deep); color: var(--white); border: 1px solid var(--gold-dim); border-radius: 2px; text-align: center; letter-spacing: 0.06em; }
.gate input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.gate .btn { border: 0; cursor: pointer; }
.gate .error { color: #F2C3B5; font-weight: 600; min-height: 1.6em; margin: 0; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--line); }
  .speaker { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .speaker img { margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .inv-card { padding: 40px 20px 36px; }
  .note-card { padding: 26px 22px; }
  .takeaway { padding-right: 0; }
  .recap-hero { aspect-ratio: 4 / 3; }
  .btn { padding: 17px 26px; }
  .btn-row .btn { width: 100%; text-align: center; }
}
@media (max-width: 420px) {
  .photo-band { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- recap: the designed PDF, page by page ---------- */
.recap-pages { width: min(100% - 40px, 1000px); margin: 0 auto; display: grid; gap: 32px; }
.recap-page { position: relative; border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45); background: var(--navy-deep); }
.recap-page img { width: 100%; height: auto; }
/* invisible link areas that sit over the links printed in the PDF (LinkedIn, survey) */
.recap-page a.hot { position: absolute; display: block; border-radius: 3px; }
.recap-page a.hot:hover { background: rgba(230, 206, 146, 0.16); }
.recap-page a.hot:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; background: rgba(230, 206, 146, 0.2); }
@media (max-width: 760px) { .recap-pages { width: 100%; gap: 14px; } .recap-page { border-left: 0; border-right: 0; } }

/* host logos under each host (same as the email) and the previous-guests list */
.host-logo { height: 62px; display: flex; align-items: center; justify-content: center; margin-top: 14px; }
.host-logo img { height: auto; }
.host-logo img[alt^="California"] { width: 90px; }
.host-logo img[alt^="Buffkin"] { width: 166px; }
.host-logo img[alt="AVNIR"] { width: 80px; }
.guest-list { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.guest-list li { color: var(--text-soft); padding: 6px 0; line-height: 1.55; }
.guest-list strong { color: var(--white); font-weight: 700; }
