/* ==========================================================
   David Baldes, MD — personal brand site
   Palette: Lake Superior / North Shore, accent "Spruce & lake glass"
   ========================================================== */
:root {
  --navy: #13273A;        /* Lake Navy */
  --navy-2: #1E3F56;
  --lake: #2E5A75;        /* Superior Blue */
  --mist: #C9D6DE;        /* Shoreline Mist */
  --sand: #F5F0E8;        /* Sand (page background) */
  --stone: #E9E1D4;       /* Stone (alt background) */
  --stone-2: #D8CCBA;     /* Stone border */
  --ink: #1B2A3A;         /* Body text */
  --slate: #4A5663;       /* Muted text */
  /* Accent: "Spruce & lake glass" */
  --accent: #1F6A63;          /* Spruce: buttons, links, labels on light */
  --accent-dark: #16534D;     /* hover / pressed */
  --accent-rgb: 31, 106, 99;  /* for rgba() tints */
  --highlight: #8ED3C6;       /* Lake glass: crisis bar, Media pill, labels & dots on navy */
  --highlight-hover: #AADED4; /* lighter hover on navy */
  --highlight-soft: #B6E2DA;  /* placeholder thumbnail sun */
  --highlight-rgb: 142, 211, 198;
  --tint-crisis: #E8F6F4;     /* crisis notice background */
  --tint-you: #EFF9F7;        /* "What you bring" box background */
  /* Focus ring: spruce on light sections (5.8:1 on sand), lake glass on dark sections (set below) */
  --focus-ring: var(--accent);
  --white: #FFFFFF;

  /* Fonts (Google Fonts link in each page <head>): Newsreader 400/500/600 + 400 italic; Source Sans 3 400/500/600/700 */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(19, 39, 58, .06), 0 8px 24px rgba(19, 39, 58, .08);
  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.09rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.012em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 4px; }
/* Dark sections switch the ring to lake glass; the light crisis bar uses navy */
.site-header, .site-nav, .hero, .page-hero, .topics, .bridge-band, .expertise, .cta-panel, .site-footer { --focus-ring: var(--highlight); }
.crisis-bar, .skip-link { --focus-ring: var(--navy); }
/* Crisis bar is too thin for an outside ring: the focused link becomes a navy chip instead (8.9:1 against the bar) */
.crisis-bar a:focus-visible { outline: none; background: var(--navy); color: var(--highlight); box-shadow: 0 0 0 3px var(--navy); border-radius: 3px; }
/* The current-page Media pill already wears a 4px highlight halo; push the focus ring outside it */
.site-nav a.nav-cta:focus-visible { outline-offset: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

/* Placeholder styling: obvious but tidy */
.ph { font-style: normal; color: var(--accent); font-weight: 500; }
.ph-light, .social-sub { display: block; color: var(--mist); font-size: .82em; }

/* ---------- Crisis bar ---------- */
.crisis-bar { background: var(--highlight); color: var(--navy); text-align: center; font-size: .92rem; font-weight: 500; }
.crisis-bar p { margin: 0; padding: .55rem 1rem; }
.crisis-bar a { color: var(--navy); font-weight: 700; }
.crisis-bar a:hover { color: var(--navy-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(19, 39, 58, .96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; color: var(--sand); text-decoration: none; font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.01em; }
.wordmark:hover { color: var(--white); }
/* "Common Ground" mark (on-dark colours: header, footer and mobile menu are all navy) */
.wordmark-mark { width: 32px; height: 32px; flex: none; }
.site-nav ul { display: flex; align-items: center; gap: .35rem; }
.site-nav a { display: block; color: var(--mist); text-decoration: none; font-weight: 500; font-size: .98rem; padding: .5rem .85rem; border-radius: 999px; }
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.site-nav a.nav-cta { color: var(--navy); background: var(--highlight); font-weight: 600; margin-left: .4rem; }
.site-nav a.nav-cta:hover { background: var(--highlight-hover); color: var(--navy); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.1rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { border-color: rgba(201, 214, 222, .55); color: var(--sand); }
.btn-ghost:hover { border-color: var(--sand); color: var(--white); background: rgba(255,255,255,.06); }
.btn-block { width: 100%; margin-top: .5rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--sand);
  background:
    radial-gradient(520px 420px at 76% 42%, rgba(var(--highlight-rgb), .12), transparent 70%),
    radial-gradient(900px 500px at 100% 0%, rgba(46, 90, 117, .45), transparent 65%),
    radial-gradient(700px 500px at 10% 100%, rgba(46, 90, 117, .55), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, #183248 100%);
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(6rem, 10vw, 8rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: 1; }
.eyebrow { font-family: var(--font-sans); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; color: var(--highlight); margin-bottom: 1rem; }
.eyebrow-dark { color: var(--accent); }
.hero h1 { color: var(--sand); font-size: clamp(3.2rem, 8vw, 5.6rem); font-weight: 500; line-height: 1; margin-bottom: 1.4rem; letter-spacing: -0.02em; }
.hero-tagline { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.35; color: var(--sand); max-width: 30ch; margin-bottom: 1rem; font-weight: 400; }
.hero-sub { color: var(--mist); max-width: 56ch; }
.hero-note { font-size: .88rem; color: var(--mist); margin: 0; }

.hero-portrait { position: relative; justify-self: center; width: min(100%, 380px); }
.portrait-frame { margin: 0; position: relative; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); outline: 1px solid rgba(var(--highlight-rgb), .35); outline-offset: 10px; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.placeholder-tag { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); background: rgba(19, 39, 58, .82); color: var(--sand); font-weight: 600; font-size: .95rem; padding: .45rem .9rem; border-radius: 999px; white-space: nowrap; border: 1px dashed rgba(245,240,232,.6); }
.portrait-badge { position: absolute; left: -1.5rem; bottom: 1.75rem; display: inline-flex; align-items: center; gap: .55rem; background: var(--sand); color: var(--navy); font-size: .85rem; font-weight: 600; padding: .6rem 1rem; border-radius: 999px; box-shadow: var(--shadow); }
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 110px); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head p:last-child { color: var(--slate); font-size: 1.1rem; }
.lead { font-size: 1.2rem; color: var(--ink); }

/* About */
.about { background: var(--sand); padding-top: clamp(2.5rem, 5vw, 4rem); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-copy p:not(.eyebrow):not(.lead) { color: var(--slate); }
.about-card { background: var(--white); border: 1px solid var(--stone-2); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); position: relative; }
.about-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--lake), var(--highlight)); }
.about-card h3 { font-size: 1.2rem; }
.cred-list { margin: 0 0 1.75rem; }
.cred-list div { display: grid; grid-template-columns: 8.25rem 1fr; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--stone); }
.cred-list div:last-child { border-bottom: 0; }
.cred-list dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--slate); padding-top: .15rem; }
.cred-list dd { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.45; }
.cred-list dd.ph { color: var(--accent); }
.dd-sub { display: block; font-size: .88rem; font-weight: 400; color: var(--slate); }
.focus-title { margin-top: .25rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-list li { background: var(--stone); color: var(--navy); border: 1px solid var(--stone-2); padding: .35rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 500; }

/* Content hub */
.content-hub { background: var(--stone); }
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.platform-card { background: var(--white); border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; border-top: 4px solid var(--c, var(--lake)); }
.platform-youtube { --c: #B3261E; }
.platform-instagram { --c: #B4467A; }
.platform-facebook { --c: #1F5FA8; }
.platform-x { --c: #1B2A3A; }
.platform-top { display: flex; align-items: center; gap: .85rem; }
.platform-top h3 { margin: 0; font-size: 1.2rem; }
.platform-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 10%, white); color: var(--c); }
.platform-icon svg { width: 24px; height: 24px; }
.platform-linkedin { --c: #0A66C2; }
/* LinkedIn profile row (Media page contact card) */
.profile-link { display: flex; align-items: center; gap: .85rem; margin: .9rem 0 1.25rem; padding: .7rem .9rem; border: 1px solid var(--stone-2); border-radius: var(--radius-sm); background: var(--white); color: var(--navy); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.profile-link:hover { border-color: var(--accent); box-shadow: 0 4px 14px rgba(19,39,58,.08); color: var(--navy); }
.profile-link .platform-icon { width: 40px; height: 40px; border-radius: 10px; }
.profile-link .platform-icon svg { width: 20px; height: 20px; }
.profile-link-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.profile-link-title { font-weight: 700; }
.profile-link-sub { font-size: .9rem; color: var(--slate); }
.profile-link-arrow { margin-left: auto; color: var(--accent); font-weight: 700; }
.handle { font-weight: 600; font-size: .95rem; }
.embed-slot { display: grid; place-items: center; border: 2px dashed var(--stone-2); border-radius: var(--radius-sm); background: repeating-linear-gradient(135deg, var(--sand) 0 12px, #F0E9DE 12px 24px); color: var(--slate); font-size: .88rem; font-weight: 600; text-align: center; padding: .5rem; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.platform-desc { margin: 0; color: var(--slate); font-size: .95rem; }

.latest { margin-top: 3.5rem; }
.latest-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.latest-head h3 { font-size: 1.6rem; margin: 0; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.video-link { display: block; text-decoration: none; color: inherit; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.video-link:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(19,39,58,.06), 0 16px 32px rgba(19,39,58,.12); color: inherit; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.thumb-1 { background: radial-gradient(circle at 70% 35%, var(--highlight-soft) 0 14%, transparent 15%), linear-gradient(180deg, var(--highlight) 0 52%, #2E5A75 52% 100%); }
.thumb-2 { background: radial-gradient(circle at 25% 30%, #DDE6EB 0 10%, transparent 11%), linear-gradient(160deg, #1E3F56 0%, #13273A 60%, #2E5A75 100%); }
.thumb-3 { background: linear-gradient(180deg, #C9D6DE 0 45%, #8FA7B6 45% 60%, #2E5A75 60% 100%); }
.play { width: 58px; height: 58px; border-radius: 50%; background: rgba(245, 240, 232, .92); color: var(--navy); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.duration { position: absolute; right: .6rem; bottom: .6rem; background: rgba(19,39,58,.85); color: var(--sand); font-size: .78rem; font-weight: 600; padding: .15rem .5rem; border-radius: 6px; }
.video-meta { padding: 1.1rem 1.25rem 1.3rem; }
.video-topic { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--accent); margin-bottom: .35rem; }
.video-meta h4 { font-size: 1.2rem; margin-bottom: .35rem; }
.video-date { color: var(--slate); font-size: .9rem; margin: 0; }

/* Topics */
.topics {
  background:
    radial-gradient(900px 460px at 100% 0%, rgba(46, 90, 117, .40), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, #172F44 100%);
  color: var(--sand);
}
.section-head-light h2 { color: var(--sand); }
.section-head-light p:last-child { color: var(--mist); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.topic-card { background: rgba(255,255,255,.04); border: 1px solid rgba(201,214,222,.18); border-radius: var(--radius); padding: 1.75rem; transition: background-color .2s ease, border-color .2s ease; }
.topic-card:hover { background: rgba(255,255,255,.07); border-color: rgba(var(--highlight-rgb), .45); }
.topic-num { display: inline-block; font-family: var(--font-serif); color: var(--highlight); font-size: 1.05rem; margin-bottom: .9rem; padding-bottom: .35rem; border-bottom: 2px solid rgba(var(--highlight-rgb), .5); }
.topic-card h3 { color: var(--sand); font-size: 1.35rem; }
.topic-card p { color: var(--mist); margin: 0; font-size: 1rem; }

/* Contact */
.contact { background: var(--sand); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--slate); font-size: 1.1rem; }
.inquiry-list { margin-top: 1.5rem; display: grid; gap: .75rem; }
.inquiry-list li { position: relative; padding-left: 2rem; }
.inquiry-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 18px; height: 10px; border-radius: 0 0 10px 10px; border: 2px solid var(--lake); border-top: 0; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); border: 1px solid var(--stone-2); }
.contact-card h3 { font-size: 1.5rem; }
.contact-email { display: inline-block; font-family: var(--font-serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 500; margin-bottom: 1rem; word-break: break-word; }
.contact-meta { color: var(--slate); font-size: .98rem; margin-bottom: .5rem; }
.notice { border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-top: 1.25rem; font-size: .95rem; }
.notice p { margin: 0; }
.notice-info { background: #EAF0F3; border-left: 4px solid var(--lake); color: var(--ink); }
.notice-crisis { background: var(--tint-crisis); border-left: 4px solid var(--accent); color: var(--ink); font-weight: 500; }
.notice-crisis a { font-weight: 700; color: var(--accent-dark); }
.disclaimer-small { margin: 1.1rem 0 0; font-size: .85rem; color: var(--slate); line-height: 1.55; }

/* Footer */
.site-footer { background: #0E1E2D; color: var(--mist); padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--highlight); text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(201,214,222,.15); }
.footer-brand p { margin: .75rem 0 0; }
.wordmark-light { color: var(--sand); }
.footer-nav ul { display: grid; gap: .5rem; }
.footer-social { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; align-content: start; }
.footer-social a { display: inline-block; line-height: 1.35; }
.footer-disclaimer { padding: 2rem 0; border-bottom: 1px solid rgba(201,214,222,.15); }
.footer-disclaimer-title { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--highlight); font-weight: 600; margin-bottom: .75rem; }
.footer-disclaimer p { max-width: 80ch; }
.footer-crisis { color: var(--sand); font-weight: 600; margin: 0; }
.footer-crisis a { color: var(--highlight) !important; text-decoration: underline !important; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: transparent; border: 1px solid rgba(201,214,222,.35); color: var(--sand); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; }
  .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); padding: .75rem 1.25rem 1.25rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: .8rem 1rem; }
  .site-nav a.nav-cta { margin: .5rem 0 0; text-align: center; }

  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; width: min(62%, 250px); justify-self: start; margin-left: .5rem; }
  .hero-copy { text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .platform-grid, .video-grid, .topic-grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 auto; }
  .portrait-badge { display: none; }
  .hero-portrait { width: min(56%, 210px); margin-bottom: .5rem; }
  .hero { padding-top: 2.5rem; }
  .topic-card { padding: 1.4rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-social { grid-template-columns: 1fr 1fr; }
  .cred-list div { grid-template-columns: 1fr; gap: .15rem; }
  .crisis-bar { font-size: .85rem; }
}

.past { margin-top: 2rem; padding: 1.25rem 1.4rem; border: 1px dashed var(--stone-2); border-radius: var(--radius-sm); background: rgba(255,255,255,.5); }
.past h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.past p { margin: 0; color: var(--slate); font-size: .98rem; }

/* Hero credibility line */
.cred-line { display: flex; flex-wrap: wrap; gap: .4rem 0; margin: 1.1rem 0 0; font-size: .92rem; font-weight: 600; color: var(--sand); letter-spacing: .01em; }
.cred-line li { display: inline-flex; align-items: center; }
.cred-line li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--highlight); margin: 0 .75rem; }

/* About: experience tags */
.exp-title { font-size: 1.2rem; margin-top: 1.75rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { background: #EAF0F3; color: var(--navy); border: 1px solid var(--mist); padding: .35rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 500; }
@media (max-width: 640px) {
  .cred-line { gap: .35rem 1.1rem; }
  .cred-line li::before, .cred-line li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--highlight); margin: 0 .5rem 0 0; }
}

/* ---------- Approach ---------- */
.approach { background: linear-gradient(180deg, #EEF2F3 0%, #E7EDF0 100%); }
.principle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: none; }
.principle { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.principle-num { display: inline-block; font-family: var(--font-serif); color: var(--accent); font-size: 1rem; margin-bottom: .6rem; padding-bottom: .3rem; border-bottom: 2px solid rgba(var(--accent-rgb), .35); }
.principle-head h3 { font-size: clamp(1.45rem, 2.2vw, 1.75rem); margin-bottom: .4rem; }
.principle-head p { margin: 0; color: var(--slate); }
.principle-exchange { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: .75rem; }
.exchange-side { border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; }
.exchange-side p { margin: 0; line-height: 1.55; }
.exchange-side p + p { margin-top: .35rem; }
.exchange-me { background: #EAF0F3; border-left: 4px solid var(--lake); }
.exchange-you { background: var(--tint-you); border-right: 4px solid var(--highlight); }
.exchange-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.exchange-me .exchange-label { color: var(--lake); }
.exchange-you .exchange-label { color: var(--accent); }
.exchange-icon { align-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--highlight); }
.exchange-icon svg { width: 20px; height: 20px; }
.approach-note { margin: 1.75rem 0 0; font-size: .9rem; color: var(--slate); text-align: center; }

@media (max-width: 960px) {
  .principle { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .principle-exchange { grid-template-columns: 1fr; justify-items: stretch; }
  .exchange-icon { justify-self: center; transform: rotate(90deg); margin: -.2rem 0; }
  .exchange-you { border-right: 0; border-left: 4px solid var(--highlight); }
  .approach-note { text-align: left; }
}

section[id] { scroll-margin-top: 72px; }

/* Approach: shared-expertise statement */
.expertise { margin: 0 0 3.25rem; background: radial-gradient(600px 300px at 100% 0%, rgba(46,90,117,.55), transparent 70%), linear-gradient(180deg, var(--navy), #183248); color: var(--sand); border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: 0 24px 48px -24px rgba(19,39,58,.45); }
.expertise-split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: clamp(1rem, 3vw, 2.5rem); }
.expertise-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin: 0 0 .6rem; }
.expertise-you .expertise-label { color: var(--highlight); }
.expertise-me .expertise-label { color: var(--mist); }
.expertise-text { font-family: var(--font-serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.3; margin: 0; color: var(--sand); }
.expertise-half { padding: .15rem 0 .15rem 1.1rem; }
.expertise-you { border-left: 3px solid var(--highlight); }
.expertise-me { border-left: 3px solid var(--mist); }
.expertise-join { align-self: center; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.6rem; line-height: 1; color: var(--navy); background: var(--highlight); }
.expertise-close { margin-top: clamp(1.5rem, 3vw, 2.25rem); padding-top: 1.25rem; border-top: 1px solid rgba(201,214,222,.2); text-align: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--mist); }

.approach-subhead { font-size: clamp(1.3rem, 2vw, 1.55rem); margin-bottom: 1.25rem; }

/* Approach: how I practice */
.practice { margin-top: 3.25rem; }
.practice-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.practice-item { padding-top: 1.25rem; border-top: 2px solid var(--stone-2); }
.practice-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--accent); background: var(--white); border: 1px solid var(--mist); margin-bottom: .85rem; }
.practice-icon svg { width: 22px; height: 22px; }
.practice-item h4 { font-size: 1.25rem; margin-bottom: .3rem; }
.practice-item p { margin: 0; color: var(--slate); }
.practice + .approach-note { margin-top: 2.75rem; }

@media (max-width: 760px) {
  .expertise-split { grid-template-columns: 1fr; }
  .expertise-join { justify-self: start; margin-left: .25rem; width: 38px; height: 38px; font-size: 1.35rem; }
  .expertise-close { text-align: left; }
  .practice-list { grid-template-columns: 1fr; }
  .practice-item { display: grid; grid-template-columns: 44px 1fr; column-gap: 1rem; }
  .practice-icon { grid-row: span 2; margin: 0; }
}

/* ==========================================================
   Multi-page additions
   ========================================================== */
/* Keep the footer at the bottom on short pages */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }

/* Current-page nav state */
.site-nav a { position: relative; }
.site-nav a[aria-current="page"]:not(.nav-cta) { color: var(--white); }
.site-nav a[aria-current="page"]:not(.nav-cta)::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--highlight); }
.site-nav a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--highlight); }
@media (max-width: 860px) {
  .site-nav a[aria-current="page"]:not(.nav-cta) { background: rgba(255,255,255,.07); }
  .site-nav a[aria-current="page"]:not(.nav-cta)::after { left: 0; right: auto; top: .6rem; bottom: .6rem; width: 3px; height: auto; }
}

/* Heading-level adjustments (content headings moved up a level on sub-pages) */
.about-card h2 { font-size: 1.2rem; }
.platform-top h2 { margin: 0; font-size: 1.2rem; }
.latest-head h2 { font-size: 1.6rem; margin: 0; }
.video-meta h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.practice-item h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.topic-card h2 { color: var(--sand); font-size: 1.35rem; }
.contact-card h2 { font-size: 1.5rem; }
.past h2 { font-size: 1.1rem; margin-bottom: .35rem; }

/* Sub-page hero */
.page-hero {
  position: relative; overflow: hidden; color: var(--sand);
  background:
    radial-gradient(420px 320px at 84% 40%, rgba(var(--highlight-rgb), .14), transparent 70%),
    radial-gradient(900px 500px at 100% 0%, rgba(46, 90, 117, .45), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, #183248 100%);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(5rem, 9vw, 7rem);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--sand); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: .6rem; max-width: 22ch; letter-spacing: -0.015em; }
.page-lede { color: var(--mist); font-size: 1.15rem; max-width: 60ch; margin: .4rem 0 0; }
.page-hero + .section { padding-top: clamp(2.25rem, 5vw, 3.75rem); }

/* Home: story teaser */
.home-story { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.home-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.home-story-grid h2 { margin-bottom: 0; }
.home-story-sub { color: var(--slate); }

/* Section head with a link on the right */
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head-row h2 { margin-bottom: 0; }
.home-approach .expertise { margin-bottom: 0; }
.home-latest .latest-head { margin-bottom: 1.5rem; }

/* Home: explore cards */
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.explore-card { position: relative; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.explore-card:hover { transform: translateY(-3px); }
.explore-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .5rem; }
.explore-card h2 a { color: inherit; text-decoration: none; }
.explore-card p:not(.eyebrow) { margin-bottom: 1.25rem; }
.explore-more { margin-top: auto; font-weight: 600; }
.explore-topics { background: linear-gradient(160deg, var(--navy), #1E3F56); color: var(--sand); }
.explore-topics h2 { color: var(--sand); }
.explore-topics p:not(.eyebrow) { color: var(--mist); }
.explore-topics .explore-more { color: var(--highlight); }
.explore-media { background: var(--white); border: 1px solid var(--stone-2); box-shadow: var(--shadow); }
.explore-media p:not(.eyebrow) { color: var(--slate); }
.explore-media .explore-more { color: var(--accent); }
.stretched-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: var(--radius); }

/* CTA panel (about, topics) */
.cta-panel { margin-top: clamp(3rem, 6vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; background: radial-gradient(500px 260px at 100% 0%, rgba(46,90,117,.55), transparent 70%), linear-gradient(180deg, var(--navy), #183248); color: var(--sand); border-radius: calc(var(--radius) + 6px); padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem); }
.cta-panel h2 { color: var(--sand); font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .35rem; }
.cta-panel p { color: var(--mist); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Topics page */
.topics-page { position: relative; overflow: hidden; padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(7rem, 11vw, 9rem); }
.topics-page h1 { color: var(--sand); font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: .75rem; }
.topics-next { padding-top: clamp(1rem, 3vw, 2rem); }
.topics-next .cta-panel { margin-top: 0; }

@media (max-width: 860px) {
  .home-story-grid { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 640px) {
  .explore-grid { grid-template-columns: 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
}

/* Nicer line breaks for headings and ledes */
h1, h2, h3 { text-wrap: balance; }
.page-lede, .section-head p, .cta-panel p { text-wrap: pretty; }

/* Real-name hero headline: one line on desktop, "David / Baldes, MD" on narrow screens */
.nowrap { white-space: nowrap; }
.hero h1.hero-name { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; }

/* ---------- Real headshot ---------- */
.portrait-photo { background: #5d6670; }
.portrait-photo picture, .portrait-photo img { display: block; width: 100%; height: 100%; }
.portrait-photo img { object-fit: cover; object-position: 50% 30%; }
/* Soft navy fade at the bottom so the photo settles into the hero */
.portrait-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(180deg, rgba(19,39,58,0) 58%, rgba(19,39,58,.35) 82%, rgba(19,39,58,.8) 100%); }

/* About card profile */
.about-card-profile { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--stone); }
.about-portrait { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--stone-2), 0 8px 20px rgba(19,39,58,.15); }
.about-card-name { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; color: var(--navy); margin: 0 0 .15rem; line-height: 1.2; }
.about-card-role { margin: 0; font-size: .9rem; color: var(--slate); }

/* ==========================================================
   Duluth photography (all crops/tints are CSS-only; files unmodified)
   ========================================================== */
/* Home hero flows straight into the Lift Bridge band */
.hero--flow { padding-bottom: clamp(3.5rem, 6vw, 5rem); background:
    radial-gradient(520px 420px at 76% 42%, rgba(var(--highlight-rgb), .12), transparent 70%),
    radial-gradient(900px 500px at 100% 0%, rgba(46, 90, 117, .45), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, #152D42 100%); }

.bridge-band { position: relative; overflow: hidden; background: #152D42; color: var(--sand); min-height: clamp(520px, 44vw, 600px); display: flex; align-items: center; }
.bridge-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; }
.bridge-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.bridge-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, #152D42 0%, #152D42 8%, rgba(21,45,66,.82) 20%, rgba(21,45,66,.35) 38%, rgba(21,45,66,0) 58%),
    linear-gradient(180deg, #152D42 0%, rgba(21,45,66,0) 18%); }
.bridge-content { position: relative; z-index: 2; width: min(100% - 2.5rem, var(--container)); }
.bridge-copy { max-width: 430px; padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(5rem, 8vw, 6.5rem); }
.bridge-copy h2 { color: var(--sand); font-size: clamp(2rem, 3.6vw, 3rem); }
.bridge-lead { font-size: 1.2rem; color: var(--sand); }
.bridge-sub { color: var(--mist); }
.text-link-light { color: var(--highlight); }
.text-link-light:hover { color: var(--highlight-hover); }
.photo-credit { position: absolute; z-index: 2; right: 1rem; bottom: clamp(3.75rem, 6vw, 5.5rem); font-size: .72rem; line-height: 1; color: rgba(245,240,232,.92); background: rgba(19,39,58,.6); padding: .35rem .6rem; border-radius: 999px; text-decoration: none; }
.photo-credit:hover { color: var(--white); background: rgba(19,39,58,.8); text-decoration: underline; }
.bridge-waves { z-index: 3; }

@media (max-width: 860px) {
  .bridge-band { display: block; min-height: 0; }
  .bridge-media { position: relative; width: 100%; aspect-ratio: 3 / 2; }
  .bridge-media::before { background: linear-gradient(0deg, #152D42 0%, rgba(21,45,66,.6) 18%, rgba(21,45,66,0) 45%), linear-gradient(180deg, #152D42 0%, rgba(21,45,66,0) 20%); }
  .photo-credit { bottom: .75rem; right: .75rem; }
  .bridge-content { margin-inline: auto; }
  .bridge-copy { max-width: none; padding: .5rem 0 5.5rem; }
}

/* Sub-page photo banners */
.page-hero--photo > .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19,39,58,.93) 0%, rgba(19,39,58,.86) 50%, rgba(19,39,58,.62) 100%),
    linear-gradient(0deg, rgba(19,39,58,.55) 0%, rgba(19,39,58,0) 45%); }
.page-hero--photo .container { z-index: 2; }
.page-hero--photo .hero-waves { z-index: 2; }

/* Topics: photo behind the top of the navy section, fading into solid navy */
.topics-page .topics-bg { position: absolute; top: 0; left: 0; right: 0; height: min(640px, 70%); z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 45%, transparent 100%); }
.topics-bg-img { width: 100%; height: 100%; object-fit: cover; }
.topics-page .topics-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,39,58,.92) 0%, rgba(19,39,58,.84) 55%, rgba(19,39,58,.66) 100%); }
.topics-page > .container { position: relative; z-index: 1; }
.topics-page .hero-waves { z-index: 2; }

/* About: captioned Lift Bridge photo */
.about-photo { margin: 2.25rem 0 0; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo figcaption { margin-top: .6rem; font-size: .88rem; color: var(--slate); }
.about-photo-credit { white-space: nowrap; }

/* Footer credit link */
.footer-sep { margin: 0 .35rem; opacity: .6; }

/* Credits page */
.credit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.credit-card { display: grid; grid-template-columns: 180px 1fr; gap: 1.25rem; background: var(--white); border: 1px solid var(--stone-2); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); align-items: start; }
.credit-thumb { width: 180px; height: 120px; object-fit: cover; border-radius: var(--radius-sm); }
.credit-body h2 { font-size: 1.15rem; margin-bottom: .2rem; }
.credit-used { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--accent); margin-bottom: .6rem; }
.credit-meta { margin: 0 0 .6rem; font-size: .9rem; }
.credit-meta div { display: grid; grid-template-columns: 4.5rem 1fr; gap: .5rem; padding: .15rem 0; }
.credit-meta dt { color: var(--slate); font-weight: 600; }
.credit-meta dd { margin: 0; overflow-wrap: anywhere; }
.credit-note { margin: 0; font-size: .82rem; color: var(--slate); }
.credits-note { margin: 2rem 0 0; font-size: .9rem; color: var(--slate); max-width: 80ch; }
@media (max-width: 1024px) { .credit-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .credit-card { grid-template-columns: 1fr; } .credit-thumb { width: 100%; height: auto; aspect-ratio: 3 / 2; } }
/* Narrow screens: text spans the full width, so use an even (not left-weighted) overlay */
@media (max-width: 860px) {
  .page-hero--photo::before { background: linear-gradient(0deg, rgba(19,39,58,.9), rgba(19,39,58,.86)); }
  .topics-page .topics-bg::after { background: rgba(19,39,58,.88); }
}

/* ==========================================================
   Soft launch: two platforms + "first videos coming soon" state
   ========================================================== */
.platform-grid--two { grid-template-columns: repeat(2, 1fr); }
.platform-cta { align-self: flex-start; margin-top: auto; }
.btn-outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: rgba(var(--accent-rgb), .08); color: var(--accent-dark); border-color: var(--accent-dark); }
.coming-soon { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; background: var(--white); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.5rem); box-shadow: var(--shadow); }
.coming-soon-art { border-radius: var(--radius-sm); }
.coming-soon-title { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .4rem; }
.coming-soon-body > p { color: var(--slate); margin: 0 0 1.2rem; max-width: 52ch; }
.coming-soon-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 760px) {
  .coming-soon { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .platform-grid--two { grid-template-columns: 1fr; }
  .coming-soon-actions .btn { flex: 1 1 auto; }
}

/* ==========================================================
   From Instagram: carousel previews (Home + Watch)
   Vanilla scroll-snap carousel; behavior in script.js ([data-carousel])
   ========================================================== */
.content-hub + .ig-section { padding-top: 0; }
.ig-section .latest-head { margin-bottom: 1.5rem; }
.ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.ig-post { background: var(--white); border-radius: var(--radius); padding: clamp(.85rem, 2vw, 1.1rem); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ig-carousel { position: relative; }
.ig-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; border-radius: var(--radius-sm); background: var(--navy); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ig-track::-webkit-scrollbar { display: none; }
.ig-track:focus-visible { outline-offset: 3px; }
.ig-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 4 / 5; }
.ig-slide img { width: 100%; height: 100%; object-fit: cover; }
/* top: centered on the image, excluding the 28px dots row below it */
.ig-btn { position: absolute; top: calc(50% - 14px); transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; background: rgba(245, 240, 232, .94); color: var(--navy); box-shadow: 0 4px 14px rgba(19, 39, 58, .28); transition: background-color .15s ease, opacity .15s ease; }
.ig-btn svg { width: 22px; height: 22px; }
.ig-btn:hover { background: var(--white); }
.ig-btn:disabled { opacity: 0; pointer-events: none; }
.ig-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 50%; box-shadow: 0 0 0 5px var(--white); }
.ig-prev { left: .7rem; }
.ig-next { right: .7rem; }
.ig-dots { display: flex; justify-content: center; gap: 6px; height: 28px; align-items: center; }
.ig-dots:empty { display: none; }
.ig-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mist); transition: background-color .2s ease, transform .2s ease; }
.ig-dot.is-active { background: var(--accent); transform: scale(1.2); }
.ig-meta { padding: .35rem .35rem .25rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.ig-title { font-size: clamp(1.3rem, 2.2vw, 1.55rem); margin-bottom: .35rem; }
.ig-summary { color: var(--slate); margin-bottom: .6rem; }
.ig-source { color: var(--slate); font-size: .88rem; line-height: 1.5; margin-bottom: .8rem; overflow-wrap: anywhere; }
.ig-link { display: inline-block; margin-top: auto; }
@media (prefers-reduced-motion: reduce) {
  .ig-track { scroll-behavior: auto; }
}
@media (max-width: 760px) {
  .ig-grid { grid-template-columns: 1fr; }
}
