/* ============================================================
   NIKKI LASLEY CONSULTING — Design System
   Grounded in the "Smile" consulting wireframe template DNA:
   professional blue, bold grotesque headings, image-led cards,
   "learn more →" links, multi-column footer + newsletter.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Brand blues / navy */
  --navy:        #0C2233;
  --navy-700:    #143047;
  --navy-600:    #1B3B53;
  --blue:        #1A6CB4;
  --blue-600:    #155EA0;
  --blue-bright: #2E8AD8;
  --blue-tint:   #E9F2FB;
  --blue-tint-2: #F3F8FD;

  /* Ink + neutrals */
  --ink:    #14202B;
  --body:   #3C4B59;
  --muted:  #64727F;
  --line:   #E4EAF0;
  --line-2: #EEF2F6;
  --bg:     #FFFFFF;
  --soft:   #F5F8FB;
  --soft-2: #EDF2F7;

  /* Type */
  --display: 'Archivo', system-ui, sans-serif;
  --sans:    'Hanken Grotesk', system-ui, sans-serif;

  /* Geometry */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --pill: 999px;
  --maxw: 1200px;
  --gut:  clamp(20px, 5vw, 64px);

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(12,34,51,.06), 0 2px 6px rgba(12,34,51,.05);
  --sh:    0 4px 14px rgba(12,34,51,.07), 0 14px 40px rgba(12,34,51,.07);
  --sh-lg: 0 10px 30px rgba(12,34,51,.10), 0 30px 70px rgba(12,34,51,.12);
  --sh-blue: 0 10px 26px rgba(26,108,180,.30);
}

* { box-sizing: border-box; }

/* Skip to content (keyboard / screen-reader users) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 11px 18px;
  border-radius: var(--r-sm); font-family: var(--sans); font-weight: 600;
  font-size: 15px; box-shadow: var(--sh); transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: none; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 800;
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.wrap-wide { max-width: 1360px; margin: 0 auto; padding: 0 var(--gut); }

section { position: relative; }
.pad   { padding: clamp(64px, 9vw, 130px) 0; }
.pad-sm { padding: clamp(48px, 6vw, 84px) 0; }
.bg-soft { background: var(--soft); }
.bg-tint { background: var(--blue-tint-2); }
.bg-navy { background: var(--navy); color: #C9D6E2; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--blue);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: #7FB6E6; }
.eyebrow.on-dark::before { background: #7FB6E6; }

.h-xl  { font-size: clamp(40px, 6.2vw, 78px); }
.h-lg  { font-size: clamp(33px, 4.6vw, 56px); }
.h-md  { font-size: clamp(27px, 3.2vw, 40px); }
.h-sm  { font-size: clamp(21px, 2.1vw, 26px); }
.lead  { font-size: clamp(18px, 1.6vw, 21px); color: var(--body); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.measure-sm { max-width: 48ch; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15.5px;
  padding: 14px 26px; border-radius: var(--pill);
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--sh-blue); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.btn-on-dark { background: rgba(255,255,255,.08); color:#fff; border-color: rgba(255,255,255,.22); }
.btn-on-dark:hover { background:#fff; color: var(--navy); }

/* "learn more" signature link with circle-chevron */
.more {
  display: inline-flex; align-items: center; gap: 11px;
  font-weight: 600; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--blue);
  transition: gap .2s ease, color .2s ease;
}
.more .circ {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid currentColor; display: grid; place-items: center;
  transition: background .2s ease, color .2s ease;
}
.more .circ svg { width: 12px; height: 12px; }
.more:hover { gap: 15px; }
.more:hover .circ { background: var(--blue); color: #fff; }

/* ============================================================
   TOP UTILITY BAR + HEADER NAV
   ============================================================ */
.topbar {
  background: var(--navy);
  color: #9FB3C6;
  font-size: 13.5px;
}
.topbar .wrap-wide {
  display: flex; align-items: center; justify-content: space-between;
  height: 42px;
}
.topbar a { color: #9FB3C6; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .tb-left { display: flex; gap: 26px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .tb-item svg { width: 14px; height: 14px; color: #5FA0D6; }
.topbar .tb-social { display: flex; gap: 16px; align-items: center; }
.topbar .tb-social svg { width: 15px; height: 15px; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand .name {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  color: var(--navy); letter-spacing: -0.02em;
}
.brand .name b { color: var(--blue); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500; font-size: 15.5px; color: var(--ink);
  padding: 9px 16px; border-radius: var(--r-sm);
  transition: color .18s, background .18s; position: relative;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content:""; position:absolute; left:16px; right:16px; bottom:2px;
  height:2px; background: var(--blue); border-radius:2px;
}
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-search {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: border-color .2s, color .2s;
}
.nav-search:hover { border-color: var(--blue); color: var(--blue); }
.nav-search svg { width: 17px; height: 17px; }

.nav-toggle { display: none; }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.phero {
  background: linear-gradient(120deg, var(--blue-600), var(--blue));
  color: #fff; text-align: center;
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative; overflow: hidden;
}
.phero::after {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(700px 360px at 85% -10%, rgba(255,255,255,.16), transparent 60%),
    radial-gradient(560px 320px at 8% 120%, rgba(255,255,255,.10), transparent 60%);
  pointer-events:none;
}
.phero h1 { color: #fff; position: relative; }
.phero .lead { color: rgba(255,255,255,.86); position: relative; }
.phero .crumbs {
  position: relative; display: inline-flex; gap: 10px; align-items: center;
  font-size: 14px; color: rgba(255,255,255,.75); margin-top: 22px;
}
.phero .crumbs a:hover { color:#fff; }
.phero .crumbs span { opacity: .6; }

/* dark gray variant hero (template used neutral gray on some pages) */
.phero.alt { background: linear-gradient(120deg, #56606A, #6E7A85); }

/* ============================================================
   PLACEHOLDER IMAGES (swap real photos in)
   ============================================================ */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r);
  background:
    linear-gradient(135deg, #EDF1F5 0%, #DCE5EE 100%);
  display: grid; place-items: center; color: #9DB0C2;
}
.ph::before {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 26px 26px;
  mask: radial-gradient(circle at 50% 45%, #000, transparent 78%);
  opacity:.5;
}
.ph .ph-ico { position: relative; width: 40px; height: 40px; opacity: .55; }
.ph .ph-lbl {
  position: absolute; bottom: 12px; left: 14px;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #8AA0B5; font-weight: 600;
}
.ph.navy { background: linear-gradient(135deg, #18324A, #0C2233); color:#3F5A72; }
.ph.navy .ph-lbl { color:#4E6982; }
.ratio-43  { aspect-ratio: 4 / 3; }
.ratio-32  { aspect-ratio: 3 / 2; }
.ratio-169 { aspect-ratio: 16 / 9; }
.ratio-11  { aspect-ratio: 1 / 1; }
.ratio-54  { aspect-ratio: 5 / 4; }

/* ============================================================
   CARDS
   ============================================================ */
.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.card .card-body { padding: 26px 26px 30px; display:flex; flex-direction:column; gap:14px; flex:1; }
.card h3 { font-size: 21px; line-height: 1.18; }
.card p { color: var(--body); font-size: 15.5px; line-height: 1.6; margin:0; }
.card .more { margin-top: auto; }
.card .ph { border-radius: 0; }

/* numbered service card (icon tile) */
.svc {
  background:#fff; border:1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative; overflow:hidden;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: transparent; }
.svc .tile {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: background .25s, color .25s;
}
.svc .tile svg { width: 28px; height: 28px; }
.svc:hover .tile { background: var(--blue); color:#fff; }
.svc h3 { font-size: 21px; margin-bottom: 12px; }
.svc p { font-size: 15.5px; color: var(--body); margin-bottom: 20px; }
.svc .idx {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--display); font-weight: 800; font-size: 40px;
  color: var(--soft-2); letter-spacing: -.03em; line-height:1;
}

/* feature row (alternating image/text) */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.frow.rev .frow-media { order: 2; }

/* stat band */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat .num {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 5vw, 60px); color: var(--ink);
  letter-spacing: -.03em; line-height: 1;
}
.stat.on-dark .num { color:#fff; }
.stat .lbl { margin-top: 10px; font-size: 15px; color: var(--muted); }
.stat.on-dark .lbl { color:#9FB3C6; }
.stat .num b { color: var(--blue); }

/* check list */
.checks { list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.checks li { display:flex; gap:13px; align-items:flex-start; font-size:16px; color: var(--body); }
.checks li .ck {
  flex:none; width:24px; height:24px; border-radius:50%;
  background: var(--blue-tint); color: var(--blue); display:grid; place-items:center; margin-top:1px;
}
.checks li .ck svg { width:13px; height:13px; }
.checks.on-dark li { color:#CFE0EF; }
.checks.on-dark li .ck { background: rgba(255,255,255,.14); color:#fff; }

/* testimonial */
.quote {
  background:#fff; border:1px solid var(--line); border-radius: var(--r);
  padding: 34px 32px 30px; display:flex; flex-direction:column; gap:20px; height:100%;
}
.quote .mark { font-family: var(--display); font-size: 56px; line-height:.6; color: var(--blue); opacity:.25; }
.quote p { font-size: 17px; color: var(--ink); line-height:1.6; flex:1; }
.quote .who { display:flex; align-items:center; gap:14px; }
.quote .who .av { width:46px; height:46px; border-radius:50%; background: var(--blue-tint); flex:none; overflow:hidden; }
.quote .who .nm { font-weight:700; color: var(--ink); font-size:15.5px; }
.quote .who .rl { font-size:13.5px; color: var(--muted); }

/* logo strip */
.logos { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap: 18px 34px; }
.logos .lg {
  font-family: var(--display); font-weight: 800; font-size: clamp(17px, 1.6vw, 21px);
  color: #64727F; letter-spacing:-.02em; display:flex; align-items:center; gap:9px;
  transition: color .2s; white-space: nowrap;
}
.logos .lg:hover { color: var(--navy); }
.logos .lg .dot { width:13px; height:13px; border-radius:50%; background: currentColor; opacity:.55; }

/* pill chips */
.chips { display:flex; flex-wrap:wrap; gap:10px; }
.chip {
  border:1px solid var(--line); border-radius: var(--pill);
  padding:9px 18px; font-size:14.5px; font-weight:500; color: var(--ink);
  background:#fff; cursor:pointer; transition: all .18s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color:#fff; }

/* CTA band */
.cta-band {
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--navy), var(--navy-600));
  color:#fff; padding: clamp(44px, 6vw, 76px);
  position: relative; overflow:hidden;
}
.cta-band::after {
  content:""; position:absolute; inset:0; pointer-events: none;
  background: radial-gradient(520px 300px at 88% -20%, rgba(46,138,216,.45), transparent 60%);
}
.cta-band > * { position: relative; }

/* ============================================================
   FORMS
   ============================================================ */
.field { display:flex; flex-direction:column; gap:8px; }
.field label { font-size:13.5px; font-weight:600; color: var(--ink); letter-spacing:.01em; }
.field input, .field textarea, .field select {
  font-family: var(--sans); font-size:16px; color: var(--ink);
  padding: 14px 16px; border:1.5px solid var(--line); border-radius: var(--r-sm);
  background:#fff; transition: border-color .18s, box-shadow .18s; width:100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline:none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint);
}
.field textarea { resize: vertical; min-height: 130px; }

.icon-card { display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; }
.icon-card .ring {
  width: 76px; height:76px; border-radius:50%; background: var(--blue);
  color:#fff; display:grid; place-items:center; margin-bottom:14px; box-shadow: var(--sh-blue);
}
.icon-card .ring svg { width:30px; height:30px; }
.icon-card .t { font-weight:700; color: var(--ink); font-size:18px; }
.icon-card a { color: var(--blue); font-weight:600; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #9FB3C6; padding-top: clamp(64px,8vw,96px); }
.foot-grid {
  display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.6fr; gap: 44px;
  padding-bottom: 56px; border-bottom:1px solid rgba(255,255,255,.10);
}
.site-footer .brand .name { color:#fff; }
.site-footer .brand .name b { color: var(--blue-bright); }
.foot-about { font-size:15px; line-height:1.7; margin:20px 0 24px; max-width: 32ch; }
.foot-social { display:flex; gap:12px; }
.foot-social a {
  width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.08);
  display:grid; place-items:center; color:#C9D6E2; transition: background .2s, color .2s, transform .2s;
}
.foot-social a:hover { background: var(--blue); color:#fff; transform: translateY(-3px); }
.foot-social a svg { width:16px; height:16px; }
.foot-col h3 { color:#fff; font-size:17px; margin-bottom:20px; font-family: var(--display); font-weight: 800; }
.foot-col ul { list-style:none; margin:0; padding:0; display:grid; gap:12px; }
.foot-col a { font-size:15px; color:#9FB3C6; transition: color .2s, padding .2s; }
.foot-col a:hover { color:#fff; padding-left:4px; }
.foot-news p { font-size:15px; line-height:1.7; margin-bottom:18px; }
.news-form { display:flex; background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); border-radius: var(--r-sm); overflow:hidden; }
.news-form input { flex:1; background:transparent; border:none; color:#fff; padding:14px 16px; font-family:var(--sans); font-size:15px; }
.news-form input::placeholder { color:#7A8EA1; }
.news-form input:focus { outline:none; }
.news-form button { background: var(--blue); border:none; color:#fff; width:54px; display:grid; place-items:center; cursor:pointer; transition: background .2s; }
.news-form button:hover { background: var(--blue-bright); }
.news-form button svg { width:18px; height:18px; }
.foot-bottom {
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding: 24px 0 30px; font-size:14px; color:#7A8EA1; flex-wrap:wrap;
}
.foot-bottom a:hover { color:#fff; }
.foot-bottom .fb-links { display:flex; gap:24px; }

/* ============================================================
   MISC
   ============================================================ */
.divider { height:1px; background: var(--line); border:0; margin:0; }
.tag {
  display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color: var(--blue); background: var(--blue-tint);
  padding:5px 12px; border-radius: var(--pill);
}
.tag.gray { color: var(--muted); background: var(--soft-2); }
.meta { font-size:13.5px; color: var(--muted); display:flex; gap:14px; align-items:center; }
.meta .dot { width:3px; height:3px; border-radius:50%; background: currentColor; }

.reveal { opacity:1; transform:none; }
.reveal.in { opacity:1; transform:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats { grid-template-columns: repeat(2,1fr); gap:36px 24px; }
}
@media (max-width: 860px) {
  .topbar { display:none; }
  .nav-links, .nav-search { display:none; }
  .nav-toggle {
    display:grid; place-items:center; width:44px; height:44px; border-radius:10px;
    border:1px solid var(--line); background:#fff; cursor:pointer;
  }
  .nav-toggle svg { width:22px; height:22px; color: var(--ink); }
  .g-3, .g-4 { grid-template-columns: repeat(2,1fr); }
  .frow { grid-template-columns: 1fr; gap: 32px; }
  .frow.rev .frow-media { order: 0; }
  .mobile-menu.open { display:block; }
  .hero-grid, .cta-grid, .contact-grid, .feat-article { grid-template-columns: 1fr !important; }
  .feat-article .ph { min-height: 260px !important; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stat { text-align:center; }
  .form-row { grid-template-columns: 1fr !important; }
}

/* mobile menu */
.mobile-menu { display:none; border-top:1px solid var(--line-2); background:#fff; }
.mobile-menu ul { list-style:none; margin:0; padding:14px var(--gut) 22px; display:grid; gap:4px; }
.mobile-menu a { display:block; padding:12px 8px; font-weight:500; font-size:17px; color:var(--ink); border-radius:8px; }
.mobile-menu a:hover { background: var(--soft); color: var(--blue); }
.mobile-menu .btn { margin-top:10px; justify-content:center; }

/* ---------- "Good fit if" callout ---------- */
.fitbox {
  background: var(--blue-tint-2);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px;
  font-size: 15.5px;
  color: var(--body);
  line-height: 1.6;
}
.fitbox strong { color: var(--ink); }

/* ---------- Results rows ---------- */
.result-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: clamp(24px, 3vw, 38px);
}
.result-row .result-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
}
@media (max-width: 700px) {
  .result-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Speaking list ---------- */
.talks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.talks li {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 22px 4px; border-bottom: 1px solid var(--line);
}
.talks .talk-main { display: flex; flex-direction: column; gap: 4px; }
.talks .title {
  font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 21px);
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.2;
}
.talks .venue-sub { font-size: 15px; color: var(--muted); }
.talks .venue {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  color: var(--blue); white-space: nowrap;
}
@media (max-width: 560px) {
  .talks li { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Real images sit above the placeholder grid overlay ---------- */
.ph > img { position: relative; z-index: 1; }
.ph:has(img)::before { display: none; }

/* ---------- Photo gallery ---------- */
.gallery { display:grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.gallery figure {
  margin:0; border-radius: var(--r); overflow:hidden;
  border:1px solid var(--line); box-shadow: var(--sh-sm); background:#0C2233;
}
.gallery img { width:100%; aspect-ratio: 3 / 2; object-fit: cover; display:block; }
.gallery figcaption { font-size:13.5px; color: var(--muted); padding:13px 16px; background:#fff; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE HARDENING
   ============================================================ */
/* Never allow horizontal scroll from decorative overhang */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; }

/* Tablet / large phone */
@media (max-width: 700px) {
  .hero-float { left: 8px !important; bottom: 14px !important; max-width: 80% !important; padding: 14px 16px !important; }
  .feat-float { right: 8px !important; bottom: 10px !important; max-width: 64% !important; padding: 16px 18px !important; }
  .feat-float > div:first-child { font-size: 22px !important; }
}

/* Phones */
@media (max-width: 560px) {
  /* Right-size oversized hero headings */
  .h-xl { font-size: clamp(31px, 8.6vw, 44px) !important; }
  .h-lg { font-size: clamp(27px, 7vw, 36px) !important; }
  /* Slightly tighter vertical rhythm */
  .pad   { padding: 56px 0; }
  .pad-sm { padding: 40px 0; }
  /* Hero side-by-side stat dividers can look odd when wrapped — hide the thin rules */
  .hero-grid > div:first-child > div[style*="margin-top:48px"] > div[style*="width:1px"] { display: none; }
  /* Keep the topbar from crowding on tiny screens */
  .topbar { font-size: 12.5px; }
  .topbar .tb-item svg { display: none; }
}
