/* TiE San Diego. Tokens first, then base, layout, components, pages. */
:root {
  --navy: #001f3d;
  --navy-2: #0a2f57;
  --navy-3: #12406f;
  --ink: #0f1729;
  --muted: #55657a;
  --red: #cf2020;
  --red-dark: #a81818;
  --red-text: #b01818;
  --blue: #0673e0;
  --link: #0559b3;
  --sky: #8cc2ff;
  --paper: #f3f6fa;
  --paper-2: #e9eef5;
  --line: #dde4ee;
  --white: #fff;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --radius: 10px;
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { font-variant-numeric: lining-nums; margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -0.005em; color: var(--navy); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.75rem); font-weight: 500; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .section-navy :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--sky); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 8px; text-decoration: none; transition: top .15s; }
.skip:focus { top: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.35rem); line-height: 1.55; color: #33425a; max-width: 62ch; }
.section-navy .lede, .hero .lede { color: #c6d4e6; }
.kicker { font-size: .9rem; font-weight: 600; color: var(--red-text); margin: 0 0 .6rem; letter-spacing: .01em; }
.section-navy .kicker, .hero .kicker { color: #ff9a9a; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.6vw, 26px); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: 8px 2px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--navy); border-color: var(--line); }
.nav a[aria-current="page"] { border-color: var(--red); color: var(--navy); }
.nav a.btn { color: #fff; border-bottom: 2px solid transparent; padding: 10px 20px; }
.nav a.btn:hover { color: #fff; border-color: transparent; background: var(--red-dark); }
.nav-cta { margin-left: 4px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }
@media (max-width: 1120px) {
  .menu-btn { display: inline-flex; gap: 8px; align-items: center; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); margin: 0; display: none; box-shadow: 0 18px 30px -20px rgba(0,31,61,.35); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 0; }
  .nav a[aria-current="page"] { color: var(--red-text); }
  .nav li.nav-cta-li { border: 0; padding-top: 16px; }
  .nav a.btn { margin: 0; width: 100%; justify-content: center; padding: 14px 20px; font-size: 1.05rem; }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--paper); color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: .94rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; align-items: center; }
.textlink { font-weight: 600; }

/* ---- sections ---- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(36px, 5vw, 64px); }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy); color: #e8eef7; }
.section-navy h2, .section-navy h3, .section-navy h4, .hero h1, .hero h2 { color: #fff; }
.section-navy a:not(.btn) { color: var(--sky); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; }
.page-head { background: var(--navy); color: #e8eef7; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head .lede { color: #c6d4e6; margin-bottom: 0; }
.page-head.has-img { background-size: cover; background-position: center; }
.page-head.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,31,61,.94) 30%, rgba(0,31,61,.6)); }
.page-head.has-img > .wrap { position: relative; }
.crumbs { font-size: .92rem; margin-bottom: 1rem; color: #9fb4cf; }
.crumbs a { color: #cfdcee; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr .85fr; }
.split.top { align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split, .split.wide-left { grid-template-columns: 1fr; } .split .reverse-sm { order: -1; } }
.photo { border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 3 / 2; }
.photo.square { aspect-ratio: 1; }
.photo figcaption { display: none; }
figure { margin: 0; }
.caption { font-size: .9rem; color: var(--muted); margin-top: .6rem; }
.on-dark .caption, .section-navy .caption { color: #9fb4cf; }

/* ---- hero ---- */
.hero { background: var(--navy); color: #e8eef7; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.6rem); margin-bottom: .35em; }
.hero h1 em { font-style: italic; font-weight: 500; color: #ffd3d3; }
.hero .lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); }
.hero-photo .frame { position: relative; }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.hero-photo figcaption { margin-top: 4px; font-size: .88rem; color: #9fb4cf; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { max-width: 560px; } }

.ontheway { border-top: 1px solid rgba(255,255,255,.18); padding-block: 28px 44px; }
.ontheway-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ontheway-head h2 { font-size: 1.5rem; margin: 0; }
.ontheway-head a { color: var(--sky); font-weight: 600; }
.ontheway-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); list-style: none; padding: 0; margin: 0; }
.ontheway-item { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; min-width: 0; }
.ontheway-item .dateblock { color: #fff; }
.ontheway-item h3 { color: #fff; font-size: 1.3rem; margin: 2px 0 4px; }
.ontheway-item p { margin: 0; color: #b7c7dd; font-size: .96rem; }
.ontheway-item a { color: #fff; text-decoration: none; }
.ontheway-item a:hover { text-decoration: underline; }
@media (max-width: 900px) { .ontheway-list { grid-template-columns: 1fr; } }

/* date motif */
.dateblock { display: flex; flex-direction: column; align-items: center; line-height: 1; min-width: 64px; font-family: var(--serif); color: var(--navy); }
.dateblock .d { font-size: 3.4rem; font-weight: 600; letter-spacing: -0.02em; }
.dateblock .m { font-family: var(--sans); font-size: .82rem; font-weight: 600; margin-top: 6px; color: var(--red-text); }
.hero .dateblock .m, .section-navy .dateblock .m { color: #ff9a9a; }
.dateblock .y { font-family: var(--sans); font-size: .78rem; color: var(--muted); margin-top: 2px; }

/* ---- partners ---- */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; align-items: center; }
.partners li { list-style: none; width: 132px; height: 64px; display: flex; align-items: center; justify-content: center; }
.partners img { max-height: 54px; max-width: 124px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; mix-blend-mode: multiply; }
.partners li.on-navy img { filter: none; opacity: 1; mix-blend-mode: normal; background: var(--navy); padding: 8px 12px; border-radius: 6px; }
.partners li:hover img { filter: none; opacity: 1; }
.partners { padding: 0; margin: 0; }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.stat { padding: 28px 24px 8px 0; border-right: 1px solid rgba(255,255,255,.18); min-width: 0; }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 500; color: #fff; line-height: 1; display: block; }
.stat .l { display: block; margin-top: 10px; color: #b7c7dd; font-size: .98rem; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat { border-right: 0; padding: 22px 12px 10px 0 !important; border-bottom: 1px solid rgba(255,255,255,.18); } }

/* ---- why-join columns ---- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.pillar { min-width: 0; }
.pillar:nth-child(2n) { margin-top: clamp(0px, 3vw, 44px); }
.pillar .photo { aspect-ratio: 4 / 5; margin-bottom: 16px; }
.pillar h3 { margin-bottom: .3em; }
.pillar p { color: #3d4c63; font-size: 1rem; }
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar:nth-child(2n) { margin-top: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checklist li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.section-navy .checklist li { border-color: rgba(255,255,255,.16); }

/* ---- quotes ---- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px) clamp(28px, 5vw, 80px); }
.quote { margin: 0; min-width: 0; }
.quote blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.3; font-weight: 500; color: var(--navy); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--red); margin-bottom: 8px; }
.quote figcaption { display: flex; gap: 14px; align-items: center; font-size: .95rem; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.quote figcaption strong { display: block; color: var(--navy); }
.quote figcaption span { color: var(--muted); }
@media (max-width: 800px) { .quotes { grid-template-columns: 1fr; } }

/* ---- video facade ---- */
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #0b1b30; border-radius: var(--radius); overflow: hidden; border: 0; padding: 0; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.02); }
.yt .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: var(--red); box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.yt .play::after { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { aspect-ratio: 16 / 9; background: var(--paper); border: 1px dashed #b7c4d6; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); }
.video-placeholder strong { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.4rem; margin-bottom: 4px; }
.video-card { min-width: 0; }
.video-card h3 { font-size: 1.2rem; margin: 12px 0 4px; font-family: var(--sans); font-weight: 600; line-height: 1.3; }
.video-card .tag { font-size: .85rem; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.video-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .video-grid, .video-grid.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .video-grid, .video-grid.four { grid-template-columns: 1fr; } }
.vimeo-link { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #0b1b30; }
.vimeo-link img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.vimeo-link span { position: absolute; left: 12px; bottom: 12px; background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem; padding: 6px 12px; border-radius: 999px; }

/* ---- filters / pills ---- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.pill { font: inherit; font-size: .95rem; font-weight: 500; padding: 8px 16px; border-radius: 999px; border: 1px solid #b7c4d6; background: #fff; color: var(--navy); cursor: pointer; }
.pill:hover { border-color: var(--navy); }
.pill[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill .count { opacity: .7; margin-left: 4px; font-size: .88em; }

/* ---- events ---- */
.month-label { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--navy); margin: 44px 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); display: flex; justify-content: space-between; align-items: baseline; }
.month-label small { font-family: var(--sans); font-weight: 500; font-size: .9rem; color: var(--muted); }
.event { display: grid; grid-template-columns: 84px 1fr auto; gap: 8px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.event > * { min-width: 0; }
.event h3 { margin: 0 0 6px; font-size: 1.55rem; }
.event .meta { color: var(--muted); font-size: .96rem; margin-bottom: 6px; }
.event .cat { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--navy); background: var(--paper-2); padding: 3px 10px; border-radius: 999px; margin-right: 8px; }
.event.feat .cat { background: #ffe3e3; color: var(--red-dark); }
.event p { margin: 0; color: #3d4c63; max-width: 64ch; }
.event .thumb { width: 150px; aspect-ratio: 4/3; border-radius: 8px; object-fit: cover; }
.event.past { opacity: .9; }
.event.past .dateblock .d { color: #6a7b92; }
.event-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
@media (max-width: 700px) {
  .event { grid-template-columns: 64px 1fr; gap: 8px 16px; }
  .event-side { grid-column: 2; align-items: flex-start; }
  .event .thumb { width: 100%; max-width: 280px; }
  .dateblock .d { font-size: 2.6rem; }
}
.empty-state { border: 1px dashed #b7c4d6; border-radius: var(--radius); padding: 36px; background: var(--paper); text-align: center; }
.empty-state h3 { margin-bottom: .3em; }
details.archive > summary { cursor: pointer; font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--navy); padding: 12px 0; }

/* ---- people ---- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; list-style: none; padding: 0; margin: 0; }
.people.three { grid-template-columns: repeat(3, 1fr); }
.person { min-width: 0; overflow-wrap: anywhere; }
.person .avatar { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); margin-bottom: 12px; position: relative; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.person .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--navy-3); background: linear-gradient(135deg, #dfe8f4, #cbd9ec); }
.person h3, .person h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; line-height: 1.3; margin: 0 0 2px; color: var(--navy); }
.person p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.4; }
.person .badge { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 600; background: #ffe3e3; color: var(--red-dark); padding: 2px 10px; border-radius: 999px; }
.person a.in { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; }
.person.compact .avatar { aspect-ratio: 4/3; }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .people, .people.three { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
.leader-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 1000px) { .leader-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .leader-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.search { width: 100%; max-width: 420px; font: inherit; padding: 12px 16px; border: 1px solid #b7c4d6; border-radius: 999px; background: #fff; }
.toolbar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-bottom: 20px; }

/* ---- tiers ---- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tiers.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.tier.featured { border: 2px solid var(--navy); box-shadow: 0 24px 40px -28px rgba(0,31,61,.5); }
.tier h3 { margin-bottom: 2px; }
.tier .price { font-family: var(--serif); font-size: 3rem; font-weight: 600; color: var(--navy); line-height: 1; margin: 6px 0 4px; }
.tier .price small { font-family: var(--sans); font-size: .95rem; font-weight: 500; color: var(--muted); }
.tier .for { color: var(--muted); font-size: .96rem; margin-bottom: 14px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.tier li { padding: 7px 0 7px 22px; position: relative; font-size: .98rem; border-top: 1px solid var(--line); }
.tier li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; background: var(--red); border-radius: 50%; }
.tier .flag { display: inline-block; align-self: flex-start; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
@media (max-width: 980px) { .tiers, .tiers.two { grid-template-columns: 1fr; max-width: 560px; } }
.note { border-left: 4px solid var(--blue); background: var(--paper); padding: 14px 18px; border-radius: 0 8px 8px 0; font-size: .98rem; }
.note.warn { border-color: var(--red); }

/* ---- forms ---- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend, .group-label { font-weight: 600; font-size: .96rem; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid #a8b7cb; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; min-width: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
@media (max-width: 700px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid #c3cfdf; border-radius: 8px; background: #fff; cursor: pointer; }
.check:hover { border-color: var(--navy); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.check:has(input:checked) { border-color: var(--navy); background: #eef4fc; }
.check strong { display: block; font-weight: 600; color: var(--navy); line-height: 1.3; }
.check span { font-size: .9rem; color: var(--muted); line-height: 1.35; display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: .98rem; }
.form-status.error { color: #8a1212; background: #fdeaea; border: 1px solid #f0b7b7; padding: 12px 14px; border-radius: 8px; }
.form-status.info { color: var(--navy); }
.form-done { background: #eaf6ee; border: 1px solid #a9d6b7; border-radius: var(--radius); padding: 24px 26px; color: #12482a; }
.form-done-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin: 0 0 4px; }
.form-done p:last-child { margin: 0; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 50px -40px rgba(0,31,61,.4); }
.section-navy .form-card { color: var(--ink); }
.section-navy .form-card a:not(.btn) { color: var(--link); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.inline-form .field { flex: 1 1 240px; }
.inline-form .btn { flex: none; }

/* ---- gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.gallery button { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; border-radius: 6px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,12,26,.94); display: none; flex-direction: column; }
.lightbox.open { display: flex; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: #cfdcee; font-size: .95rem; gap: 12px; }
.lb-stage { flex: 1; display: grid; place-items: center; min-height: 0; position: relative; padding: 0 56px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-btn { background: rgba(255,255,255,.12); border: 0; color: #fff; font: inherit; font-weight: 600; border-radius: 999px; padding: 10px 16px; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; padding: 0; font-size: 1.4rem; }
.lb-prev { left: 4px; } .lb-next { right: 4px; }
@media (max-width: 640px) { .lb-stage { padding: 0 8px; } .lb-nav { top: auto; bottom: 8px; transform: none; } }

/* ---- cards (generic, used sparingly) ---- */
.cols { display: grid; gap: 28px; }
.cols.c2 { grid-template-columns: repeat(2, 1fr); } .cols.c3 { grid-template-columns: repeat(3, 1fr); } .cols.c4 { grid-template-columns: repeat(4, 1fr); }
.cols > * { min-width: 0; }
@media (max-width: 960px) { .cols.c3, .cols.c4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cols.c2, .cols.c3, .cols.c4 { grid-template-columns: 1fr; } }
.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list > li { padding: 28px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 48px; }
.rule-list > li:last-child { border-bottom: 1px solid var(--line); }
.rule-list h3 { margin: 0; }
.rule-list p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .rule-list > li { grid-template-columns: 1fr; } }
.initiative { scroll-margin-top: 100px; }
.initiative .fact { font-size: .95rem; color: var(--muted); }
.initiative .photo { margin-bottom: 14px; aspect-ratio: 16/9; }
.news-item { display: grid; grid-template-columns: 220px 1fr; gap: 12px 32px; padding: 30px 0; border-top: 1px solid var(--line); }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item img { width: 220px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.news-item h3 { margin: 4px 0 8px; font-size: 1.75rem; }
.news-item .when { font-size: .92rem; color: var(--muted); }
.news-item .when b { color: var(--red-text); font-weight: 600; margin-right: 8px; }
@media (max-width: 720px) { .news-item { grid-template-columns: 1fr; } .news-item img { width: 100%; max-width: 360px; } }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(70px, 9vw, 120px); gap: 10px; }
.mosaic a, .mosaic div { overflow: hidden; border-radius: 8px; display: block; background: var(--paper-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .m1 { grid-column: span 3; grid-row: span 3; } .mosaic .m2 { grid-column: span 3; grid-row: span 2; } .mosaic .m3 { grid-column: span 2; grid-row: span 2; } .mosaic .m4 { grid-column: span 1; grid-row: span 2; } .mosaic .m5 { grid-column: span 2; grid-row: span 1; } .mosaic .m6 { grid-column: span 2; grid-row: span 1; }
@media (max-width: 640px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 110px; } .mosaic > * { grid-column: span 1 !important; grid-row: span 1 !important; } .mosaic .m1 { grid-column: span 2 !important; grid-row: span 2 !important; } }
.speaker-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px 14px; list-style: none; padding: 0; margin: 0; }
.speaker-strip li { min-width: 0; text-align: left; }
.speaker-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: 8px; background: var(--paper-2); }
.speaker-strip strong { display: block; font-size: .95rem; line-height: 1.25; color: var(--navy); }
.speaker-strip span { font-size: .86rem; color: var(--muted); line-height: 1.3; display: block; }
@media (max-width: 960px) { .speaker-strip { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .speaker-strip { grid-template-columns: repeat(3, 1fr); } }
.band { position: relative; color: #fff; background-size: cover; background-position: center; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(0,31,61,.78); }
.band > .wrap { position: relative; }
.band h2 { color: #fff; }
.pad-top { padding-top: clamp(36px, 5vw, 64px); }
.m0 { margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(step); font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--red); line-height: 1; }
.steps h3 { margin-bottom: .25em; }
.steps > li > div { min-width: 0; }
.big-serif { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.22; color: var(--navy); max-width: 30ch; }

/* ---- footer ---- */
.site-footer { background: #00172e; color: #b9c8dd; padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-brand img { height: 52px; width: auto; background: #fff; padding: 6px 12px; border-radius: 8px; margin-bottom: 16px; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cfdcee; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: auto; } }
.nf { text-align: left; }
.nf .big { font-family: var(--serif); font-size: clamp(5rem, 14vw, 10rem); line-height: .9; color: var(--red); margin: 0 0 .1em; font-weight: 500; }
.loading { padding: 120px var(--gutter); text-align: center; color: var(--muted); }
table { border-collapse: collapse; width: 100%; }
@media print { .site-header, .site-footer, .nav { display: none; } }

.conference-address { font-size: 1.125rem; font-weight: 500; line-height: 1.55; }
.event .meta .event-location { font-size: 1.08rem; color: var(--ink); }
.people.principals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .women-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }

/* Shared alignment, including single incomplete rows. */
@keyframes tie-fade { from { opacity: 0; } to { opacity: 1; } }
#main > :not(noscript) { animation: tie-fade .2s ease; }
@media (prefers-reduced-motion: reduce) { #main > :not(noscript) { animation: none; } }
.page-head, .section-head { text-align: center; }
.section-head, .page-head .lede, .center .lede { margin-inline: auto; }
.page-head .actions, .wrap > .actions, .section-head .actions { justify-content: center; }
.section-head .lede { margin-inline: auto; }
.tiers, .hero-photo { margin-inline: auto; }
.tiers { width: 100%; }
.pillars { align-items: stretch; }
.pillar:nth-child(2n) { margin-top: 0; }
.cols, .people, .leader-grid, .speaker-strip { column-gap: 24px; }
.cols > div:not(.tier), .pillar, .video-card { height: 100%; }
.pillar, .video-card { display: flex; flex-direction: column; }
.pillar .photo, .video-card .yt, .video-card .vimeo-link { flex: none; }
.people, .leader-grid { justify-content: center; }
.person, .speaker-strip li { text-align: center; }
.person .avatar { max-width: 280px; margin-inline: auto; }
.people.principals { max-width: 900px; margin-inline: auto; }
.people.principals .avatar { max-width: 240px; }
.speaker-strip img { max-width: 170px; margin-inline: auto; }
.stats { text-align: center; }
.stat, .stat + .stat { padding-inline: 24px; }
.nf { text-align: center; }
.nf .actions { justify-content: center; }
.hero-photo .frame::before, .hero-photo .frame::after { content: none; }
.photo img:not([src*="champion-card"]), .mosaic img, .hero-photo img {
  filter: contrast(1.04) saturate(1.05);
}
.hero-photo img { aspect-ratio: 1; object-position: 58% 42%; }
.photo img[src*="nextgen-healthcare"], .photo img[src*="tie-women-community"],
.photo img[src*="tie-women-group"] { object-position: center 44%; }
.photo:has(img[src*="nextgen-healthcare"]), .photo:has(img[src*="tie-women-community"]),
.photo:has(img[src*="tie-women-group"]) { aspect-ratio: 16 / 10; }
@media (max-width: 900px) {
  .hero-grid > div:first-child { text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero-grid .actions { justify-content: center; }
  .hero-photo { width: 100%; }
}
@media (max-width: 700px) {
  .cols, .people, .leader-grid, .speaker-strip { column-gap: 16px; }
  .pills { justify-content: center; }
  .split > div > .kicker, .split > div > h2, .split > div > .lede { text-align: center; }
  .split > div > .actions { justify-content: center; }
  .news-item > img { margin-inline: auto; }
  .speaker-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .btn { max-width: 100%; overflow-wrap: anywhere; }
  .person h3, .speaker-strip strong { overflow-wrap: anywhere; }
  .stat, .stat + .stat { padding-inline: 12px !important; }
}
/* Fixed card bases keep incomplete and filtered rows centered. */
.people, .leader-grid, .speaker-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --card-columns: 4;
  --card-gap: 24px;
}
.people > .person, .leader-grid > .person, .speaker-strip > li {
  flex: 0 0 calc((100% - (var(--card-columns) - 1) * var(--card-gap)) / var(--card-columns));
  width: calc((100% - (var(--card-columns) - 1) * var(--card-gap)) / var(--card-columns));
}
.people.three { --card-columns: 3; }
.people.principals { --card-columns: 2; }
.speaker-strip { --card-columns: 6; }
.partners > li { flex: 0 0 132px; }
@media (max-width: 1000px) {
  .people, .leader-grid { --card-columns: 3; }
  .people.principals { --card-columns: 2; }
}
@media (max-width: 960px) { .speaker-strip { --card-columns: 4; } }
@media (max-width: 700px) {
  .people, .people.three, .leader-grid, .speaker-strip {
    --card-columns: 2;
    --card-gap: 16px;
  }
}
