/* The Forbes Group: site styles (matches the original Elementor/Kadence look) */
:root {
  --teal: #02769c;
  --teal-btn: #02769c;
  --teal-dark: #025f7e;
  --teal-light: #65aec8;
  --sky: #b3e4f5;
  --sky-pale: #d1f3ff;
  --mist: #edf2f7;
  --mist-2: #f7fafc;
  --ink: #141414;
  --text: #2d3748;
  --muted: #556068;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 4px 18px rgba(0, 0, 0, 0.1);
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 15px; line-height: 1.75; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 0.6em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); text-transform: uppercase; color: var(--white); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.75rem); text-transform: uppercase; color: var(--teal); letter-spacing: 0.01em; }
h3 { font-size: 1.15rem; color: var(--teal); }
h4 { font-size: 1.05rem; color: var(--teal); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: 0.25em; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 24px; } }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--teal); margin-bottom: 0.4em; }
.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: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.h3 { font-size: 1.15rem; }
.lead { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; }

/* Buttons: small square teal, like the original */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px; border: 0; border-radius: 3px; background: var(--teal-btn); color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; text-decoration: none; text-align: center; cursor: pointer; transition: background 0.2s; }
.btn:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal-btn); }
.btn-outline:hover { background: var(--teal-btn); color: var(--white); }
.btn-light { background: var(--white); color: var(--teal); }
.btn-light:hover { background: var(--sky-pale); color: var(--teal-dark); }
.btn-small { min-height: 40px; padding: 8px 16px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.2em; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* Header: transparent over the hero */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 112px; max-width: 1400px; }
.brand img { width: 92px; height: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav li { margin: 0; }
.site-nav a:not(.btn) { position: relative; display: block; padding: 10px 10px; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.02em; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--white); transform: scaleX(0); transition: transform 0.2s; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav { display: flex; align-items: center; gap: 12px; }
.nav-cta { display: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: transform 0.2s, opacity 0.2s; }
.no-hero .site-header { position: relative; background: #0b2f3d; }
@media (max-width: 980px) {
  .header-inner { min-height: 84px; }
  .brand img { width: 70px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: rgba(6, 40, 54, 0.97); flex-direction: column; align-items: stretch; padding: 8px 16px 20px; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: 14px 6px; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--sky); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hero with duotone background and the layered wave divider */
.hero { position: relative; color: var(--white); background: #0b2f3d; overflow: hidden; text-align: center; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-tint::after { content: ""; position: absolute; inset: 0; background: rgba(16, 66, 105, 0.55); }
.hero-dim::after { content: ""; position: absolute; inset: 0; background: rgba(0, 20, 30, 0.35); }
.hero .container { position: relative; z-index: 2; }
.hero-content { padding: 210px 0 150px; max-width: 900px; margin: 0 auto; }
.hero-home .hero-content { padding: 250px 0 170px; }
.hero h1 { color: var(--white); margin-bottom: 0.4em; }
.hero-home h1 { text-transform: none; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.hero p { font-family: var(--font-head); font-weight: 600; color: var(--white); font-size: 0.98rem; }
.hero .btn-row { justify-content: center; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.wave svg { width: 100%; height: 70px; display: block; }
@media (max-width: 700px) { .hero-content, .hero-home .hero-content { padding: 140px 0 90px; } .wave svg { height: 36px; } }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.section-tint { background: var(--mist); }
.section-pale { background: var(--mist-2); }
.section-sky { background: var(--sky); }
.section-dark { position: relative; color: var(--white); background: linear-gradient(120deg, #06374b 0%, #04617f 100%); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4, .section-dark .eyebrow { color: var(--white); }
.section-dark a:not(.btn) { color: var(--sky); }
.section-head { max-width: 860px; margin: 0 auto 36px; text-align: center; }

/* Image + text rows */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; } .split-reverse > :first-child { order: 2; } }
.split-media img, .shadow-img { box-shadow: var(--shadow); border-radius: 3px; width: 100%; }
.grid-3 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 36px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card { background: var(--white); border-radius: 6px; padding: 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; color: var(--ink); }
.card h3 { margin-bottom: 0.5em; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-media { margin: -26px -26px 20px; }
.card-media img { border-radius: 6px 6px 0 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-num { font-family: var(--font-head); font-weight: 700; color: var(--teal); font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 0.5em; }
.card-icon { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid var(--teal); display: grid; place-items: center; color: var(--teal); font-family: var(--font-head); font-weight: 700; }
.card-center { text-align: center; align-items: center; }
.card-center .btn { align-self: center; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 26px; margin-bottom: 0.5em; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 7px; height: 12px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.section-dark .checklist li::before { border-color: var(--sky); }
.checklist strong { color: var(--ink); }
.section-dark .checklist strong { color: var(--white); }

/* Author block */
.author { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .author { grid-template-columns: 1fr 1fr; gap: 48px; } }
.author-photo img { box-shadow: var(--shadow); border-radius: 3px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }

/* Book */
.book-cover img { max-width: 360px; width: 100%; margin: 0 auto; box-shadow: var(--shadow); }
.buy-grid { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.buy-grid li { margin: 0; }
.buy-btn { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 92px; padding: 14px 18px; border-radius: 6px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-soft); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.buy-btn:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--ink); }
.buy-store { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--teal); overflow-wrap: anywhere; }
.buy-format { font-size: 0.8rem; color: var(--muted); }
.details { display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; margin: 0 0 1em; }
.details dt { font-weight: 600; }
.details dd { margin: 0; }

/* Logo strip */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; list-style: none; padding: 0; margin: 0; }
.logo-strip li { margin: 0; }
.wordmark { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; background: var(--white); border-radius: 3px; box-shadow: var(--shadow-soft); font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: 0.88rem; text-decoration: none; }
.wordmark:hover { color: var(--teal-dark); background: var(--sky-pale); }
.conf-logos { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); list-style: none; padding: 0; }
.conf-logos li { margin: 0; background: var(--white); border-radius: 4px; box-shadow: var(--shadow-soft); padding: 10px; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; }
.conf-logos img { max-height: 100%; width: auto; object-fit: contain; }

/* Quote band and testimonials */
.quote-band { font-size: 1.05rem; }
.quote-band .mark { font-family: Georgia, serif; font-size: 4rem; line-height: 0.6; color: var(--teal); display: block; margin-bottom: 8px; }
.quotes { display: grid; gap: 22px; }
@media (min-width: 900px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { position: relative; margin: 0; padding: 30px 28px 26px; background: var(--sky-pale); border-radius: 6px; text-align: center; box-shadow: var(--shadow-soft); overflow: hidden; }
.quote::before { content: "\201D"; position: absolute; top: 0; right: 0; width: 56px; height: 56px; background: var(--teal); color: var(--white); font-family: Georgia, serif; font-size: 2.4rem; line-height: 1.4; border-bottom-left-radius: 56px; padding-left: 14px; }
.quote blockquote { margin: 0; font-size: 0.85rem; line-height: 1.7; }
.quote figcaption { order: -1; margin-bottom: 12px; font-size: 0.85rem; color: var(--muted); }
.quote figcaption strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.stars { color: #a8650a; letter-spacing: 3px; font-size: 0.9rem; margin-bottom: 12px; }
.quote { display: flex; flex-direction: column; }

/* Media */
.media-list { display: grid; gap: 22px; }
.media-item { display: grid; gap: 20px; background: var(--white); border-radius: 6px; padding: 24px; box-shadow: var(--shadow-soft); }
@media (min-width: 800px) { .media-item.has-image { grid-template-columns: 260px 1fr; align-items: start; } }
.media-item img { border-radius: 3px; width: 100%; box-shadow: var(--shadow); }
.media-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.3em; }
.media-item h3 { text-transform: none; }
.media-item audio { width: 100%; margin-top: 6px; }
.video-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.video-card { display: block; text-decoration: none; color: var(--ink); background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-soft); }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card span { display: block; padding: 12px 14px; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; line-height: 1.4; }

/* Reach out band (city background with dark box) */
.reach { position: relative; padding: 110px 0; color: var(--white); text-align: center; overflow: hidden; }
.reach .hero-media { z-index: 0; }
.reach-box { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; padding: 36px 32px; background: rgba(12, 20, 24, 0.82); }
.reach-box h2 { color: var(--white); }

/* Form section */
.form-section { background: var(--mist); }
.form-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-form { display: grid; gap: 12px; text-align: left; }
.form-row label { display: block; font-size: 0.82rem; font-weight: 500; margin-bottom: 4px; }
input[type="text"], input[type="email"], select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cfd8e0; border-radius: 3px; font: inherit; font-size: 0.9rem; color: var(--ink); background: var(--white); }
textarea { resize: vertical; }
.contact-form .btn { width: 100%; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.inline-form input[type="email"] { flex: 1 1 260px; max-width: 420px; }

/* Resources */
.gate { margin-top: auto; display: grid; gap: 10px; }
.gate .btn { margin-top: 0; width: 100%; }
.soon { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); background: var(--sky-pale); padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; align-self: flex-start; }
a.card { text-decoration: none; transition: transform 0.2s; }
a.card:hover { transform: translateY(-2px); }
a.card h3 { text-transform: none; }
a.card span { margin-top: auto; color: var(--teal); font-weight: 500; font-size: 0.88rem; }

.link-list { list-style: none; padding: 0; margin: 0 0 1em; }
.link-list a { display: inline-block; padding: 5px 0; font-weight: 500; }

.prose { max-width: 860px; }
.prose h1 { color: var(--teal); }

/* Footer: solid teal */
.site-footer { background: var(--teal); color: var(--white); padding: 56px 0 0; font-size: 0.85rem; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { width: 110px; margin-bottom: 14px; }
.footer-brand p { max-width: 300px; }
.footer-heading { font-size: 0.9rem; color: var(--white); text-transform: none; margin-bottom: 0.8em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-legal a { color: var(--white); text-decoration: none; display: inline-block; padding: 3px 0; font-weight: 500; }
.footer-links a:hover, .footer-legal a:hover { text-decoration: underline; color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 18px; padding-bottom: 24px; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 20px; padding: 0; margin: 0; }
.footer-legal li { margin: 0; }

/* Reveal animation (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.notice-top { margin-top: 130px; }
.notice { padding: 14px 18px; border-radius: 4px; background: var(--sky-pale); color: var(--ink); margin-bottom: 20px; }
.stack > * + * { margin-top: 18px; }
.no-hero main h1 { color: var(--teal); }
.no-hero main { padding-top: 10px; }
.quote figcaption .stars { display: block; margin: 6px 0 0; }
.buy-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.buy-grid li { flex: 1 1 180px; max-width: 220px; }
@media (max-width: 480px) { .buy-grid li { max-width: none; } }

/* LinkedIn latest + archive */
.li-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .li-grid { grid-template-columns: 1fr 1fr; } }
.li-col h3 { text-align: center; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.02em; }
.li-post { margin: 0; background: var(--white); border-radius: 6px; box-shadow: var(--shadow-soft); overflow: hidden; }
.li-frame { background: var(--mist-2); }
.li-frame iframe { display: block; width: 100%; height: 620px; border: 0; }
.li-post figcaption { padding: 12px 16px 16px; font-size: 0.85rem; }
.li-meta { display: block; color: var(--muted); }
.li-summary { margin: 6px 0; color: var(--ink); }
.li-follow { display: block; text-align: center; margin-top: 12px; font-weight: 500; font-size: 0.88rem; }
.li-empty { background: var(--mist); border-radius: 6px; padding: 40px 24px; text-align: center; }
.li-list { display: grid; gap: 24px; margin-bottom: 40px; }
@media (min-width: 900px) { .li-list { grid-template-columns: 1fr 1fr; } }
.folders { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.folders li { margin: 0; }
.folder { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 16px; background: var(--white); border-radius: 6px; box-shadow: var(--shadow-soft); text-decoration: none; color: var(--ink); transition: transform 0.2s; }
.folder:hover { transform: translateY(-2px); color: var(--ink); }
.folder-icon { position: relative; width: 64px; height: 46px; margin-top: 8px; background: var(--teal-btn); border-radius: 3px 6px 6px 6px; }
.folder-icon::before { content: ""; position: absolute; left: 0; top: -8px; width: 26px; height: 10px; background: var(--teal-btn); border-radius: 4px 4px 0 0; }
.folder-label { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--teal); }
.folder-count { font-size: 0.82rem; color: var(--muted); }
.crumbs { margin-bottom: 28px; font-size: 0.88rem; color: var(--muted); }
.crumbs a { font-weight: 500; }
.form-note { font-size: 0.78rem; color: var(--muted); margin: 0; }

/* ===== Motion ===== */
/* Header: fixed, turns solid once the page scrolls */
.site-header { position: fixed; transition: background 0.35s ease, box-shadow 0.35s ease; }
.header-inner { transition: min-height 0.35s ease; }
.brand img { transition: width 0.35s ease; }
.site-header.is-scrolled { background: rgba(6, 40, 54, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.site-header.is-scrolled .header-inner { min-height: 74px; }
.site-header.is-scrolled .brand img { width: 62px; }
.no-hero .site-header { position: fixed; background: rgba(6, 40, 54, 0.96); }
.no-hero main { padding-top: 120px; }
@media (max-width: 980px) { .no-hero main { padding-top: 92px; } .site-header.has-open-nav { background: rgba(6, 40, 54, 0.97); } }

/* Scroll progress line */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--teal-light), var(--sky)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Hero: slow zoom on the photo, text rises in */
.hero-media img { animation: tfg-kenburns 16s ease-out both; }
.hero-content > * { animation: tfg-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-content > :nth-child(2) { animation-delay: 0.18s; }
.hero-content > :nth-child(3) { animation-delay: 0.34s; }
.hero-content > :nth-child(4) { animation-delay: 0.5s; }
.wave path { animation: tfg-wave 7s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.wave path:nth-child(2) { animation-duration: 9s; }
.wave path:nth-child(3) { animation-duration: 11s; }
.wave path:last-child { animation: none; }
@keyframes tfg-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes tfg-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes tfg-wave { from { transform: scaleY(1); } to { transform: scaleY(1.35); } }

/* Scroll reveals: rows slide in from their side, grids stagger */
.js .split > .reveal:first-child, .js .author > .reveal:first-child { transform: translateX(-36px); }
.js .split > .reveal:last-child, .js .author > .reveal:last-child { transform: translateX(36px); }
.js .split-reverse > .reveal:first-child { transform: translateX(36px); }
.js .split-reverse > .reveal:last-child { transform: translateX(-36px); }
.js .reveal { transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Photos: gentle zoom on hover */
.split-media, .author-photo { overflow: hidden; border-radius: 3px; box-shadow: var(--shadow); }
.split-media img, .author-photo img { box-shadow: none; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.split-media:hover img, .author-photo:hover img { transform: scale(1.04); }
.book-cover img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.6s; }
.book-cover img:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35); }

/* Buttons: light sweep and lift */
.btn { position: relative; overflow: hidden; transition: background 0.25s, transform 0.25s, box-shadow 0.25s; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); transition: left 0.6s ease; pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(2, 118, 156, 0.28); }
.btn:hover::after { left: 120%; }
.card, .folder, .quote, .media-item, .video-card, .buy-btn, .conf-logos li { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s; }
.card:hover, .media-item:hover, .video-card:hover, .quote:hover, .conf-logos li:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12); }

/* Stats band with count-up numbers */
.stats { display: grid; gap: 22px; text-align: center; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.1; color: var(--white); }
.stat-label { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--sky); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-head); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .split > .reveal, .js .author > .reveal { opacity: 1; transform: none; }
}
.contact-alt { margin-top: 18px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.reach-form { max-width: 680px; text-align: left; }
.reach-form h2, .reach-form > p { text-align: center; }
.reach-form .form-row label { color: #e3eef2; }
.reach-form .form-note { color: #b9cbd3; }

/* Figures: no default margins */
figure.img { margin: 0; }
.hero-media .img, .hero-media .img img { width: 100%; height: 100%; }
.conf-logos li { padding: 0; }
.conf-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 10px; border-radius: 4px; }
.conf-link .img { height: 100%; display: flex; align-items: center; justify-content: center; }
.conf-link img { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1); }
.conf-link:hover img { transform: scale(1.06); }
.book-link { display: block; border-radius: 4px; }
.book-link:focus-visible { outline-offset: 6px; }
.avatar-fig { display: inline-block; }
.card-media .img img, .media-item .img img, .video-card .img img { width: 100%; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 0.78rem; line-height: 1.5; color: var(--muted); text-align: left; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--teal); }

/* Buy the Book popup */
.book-popup { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: 8px; background: var(--white); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overflow: auto; }
.book-popup::backdrop { background: rgba(6, 30, 40, 0.6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.book-popup[open] { animation: tfg-pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.book-popup[open]::backdrop { animation: tfg-fade 0.45s ease both; }
@keyframes tfg-pop { from { opacity: 0; transform: translateY(24px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes tfg-fade { from { opacity: 0; } to { opacity: 1; } }
.book-popup-inner { display: grid; gap: 24px; padding: 34px 30px 30px; align-items: center; background: linear-gradient(135deg, var(--white) 55%, var(--sky-pale)); }
@media (min-width: 620px) { .book-popup-inner { grid-template-columns: 200px 1fr; padding: 40px 40px 36px; } }
.book-popup .book-link { max-width: 200px; margin: 0 auto; }
.book-popup .book-link img { box-shadow: var(--shadow); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.book-popup .book-link:hover img { transform: translateY(-6px) rotate(-1deg); }
.book-popup-kicker { margin: 0 0 6px; font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-btn); }
.book-popup h2 { margin-bottom: 0.4em; }
.book-popup-close { position: absolute; top: 10px; right: 12px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s; }
.book-popup-close:hover { background: var(--mist); color: var(--ink); }
@media (max-width: 619px) { .book-popup-text { text-align: center; } .book-popup .btn-row { justify-content: center; } .book-popup .book-link { max-width: 150px; } }
.li-connect { background: var(--white); border-radius: 6px; box-shadow: var(--shadow-soft); padding: 32px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.li-connect .img { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow); }
.li-connect img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.li-connect p { margin: 0; max-width: 320px; }

/* Fix: side-in rows must land at 0 once visible (needs the same specificity as the start offsets) */
.js .split > .reveal.is-visible:first-child, .js .author > .reveal.is-visible:first-child,
.js .split > .reveal.is-visible:last-child, .js .author > .reveal.is-visible:last-child,
.js .split-reverse > .reveal.is-visible:first-child, .js .split-reverse > .reveal.is-visible:last-child { transform: none; }
/* Content sliding in from the side never creates sideways scrolling */
main { overflow-x: clip; }
.book-facts { font-size: 0.85rem; color: var(--muted); margin-top: -6px; }

/* Press kit crops */
.card-media-portrait img { object-position: 50% 18%; }
.card-media-contain { background: var(--mist); padding: 16px 0; }
.card-media-contain .book-link { max-width: 150px; margin: 0 auto; }
.card-media-contain img { aspect-ratio: auto; object-fit: contain; border-radius: 0; box-shadow: var(--shadow); }

/* Slim callout band (Resources > LinkedIn Insights) */
.section-callout { padding: 0 0 72px; }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; background: linear-gradient(120deg, #06374b, #04617f); color: #e3eef2; border-radius: 6px; padding: 32px 36px; }
.callout h2 { color: var(--white); margin-bottom: 0.3em; }
.callout .card-num { color: var(--sky); }
.callout p { margin: 0; max-width: 620px; }
.callout .btn { background: var(--white); color: var(--teal); }

/* Keyboard focus: strong teal ring on light areas, white on dark ones */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .section-dark :focus-visible, .reach :focus-visible,
.site-footer :focus-visible, .callout :focus-visible { outline-color: var(--white); }
.h4 { font-size: 1.05rem; }

/* Three-up testimonials (homepage) */
@media (min-width: 1000px) { .quotes-3 { grid-template-columns: repeat(3, 1fr); } }
.section-sky .quote { background: var(--white); }

/* Speaker reel (click to play) */
.video { position: relative; margin: 28px auto 0; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); background: #000; }
.video iframe, .video-poster, .video-poster .img, .video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster img { object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s; }
.video-poster:hover img { transform: scale(1.03); filter: brightness(0.85); }
.video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(2, 118, 156, 0.92); box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.18); transition: transform 0.3s, box-shadow 0.3s; }
.video-play::after { content: ""; position: absolute; left: 34px; top: 26px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.video-poster:hover .video-play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.2); }
.video-note { margin-top: 12px; font-size: 0.78rem; color: #b9cbd3; }
@media (max-width: 600px) { .video-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .video-play::after { left: 25px; top: 19px; border-width: 13px 0 13px 21px; } }

/* Awards */
.awards { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 18px; }
.award { display: flex; gap: 20px; align-items: flex-start; background: var(--white); border-radius: 6px; padding: 26px; box-shadow: var(--shadow-soft); border-left: 4px solid var(--teal); margin: 0; }
.award h3 { margin-bottom: 0.3em; }
.award p:last-child { margin-bottom: 0; }
.award-cat { font-weight: 500; color: var(--text); margin-bottom: 0.4em; }
.award-icon { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); display: grid; place-items: center; }
.award-links { font-size: 0.9rem; }
.award-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.2em; padding: 7px 14px 7px 8px; border-radius: 999px; background: var(--mist); color: var(--teal-dark); font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; line-height: 1.35; text-decoration: none; transition: background 0.25s, transform 0.25s; }
.award-badge:hover { background: var(--sky-pale); color: var(--teal-dark); transform: translateY(-2px); }
.award-badge-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-btn); color: var(--white); display: grid; place-items: center; }
@media (max-width: 560px) { .award { flex-direction: column; gap: 12px; padding: 22px; } }
/* Keep anchored sections clear of the fixed header */
section[id], [id].media-item { scroll-margin-top: 84px; }
