/* Matt Tenney preview site.
   Layout follows an editorial, author-site structure; every color comes from matttenney.com:
   his header cyans, the steel blue under them, the pale sky and ice tints, and white. */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/lato-normal-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-normal-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-normal-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-normal-900.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("../fonts/newsreader-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("../fonts/newsreader-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --white: #FFFFFF;
  --mist: #F1F8FD;
  --ice: #DBEFFF;
  --sky: #8ED1FC;
  --cyan: #00A3DA;
  --cyan-text: #0088BC;
  --blue: #0870AA;
  --blue-dark: #065A8A;
  --steel: #518FC7;
  --navy: #0B3654;
  --ink: #1B2A35;
  --text: #4D5A64;
  --muted: #5F6C76;
  --line: #DCE8F0;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;

  /* One type scale for every page */
  --fs-h1: clamp(2.25rem, 1.2rem + 4.1vw, 4.25rem);
  --fs-h2: clamp(1.85rem, 1.3rem + 2vw, 2.75rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .7vw, 1.6rem);
  --fs-h4: 1.25rem;
  --fs-stat: clamp(1.7rem, 1.3rem + 1.2vw, 2.25rem);
  --fs-lead: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .78rem;

  /* One spacing rhythm */
  --section: clamp(72px, 4rem + 4vw, 112px);
  --head-gap: clamp(32px, 2rem + 1.5vw, 52px);
  --gutter: clamp(20px, 3vw, 24px);

  --wrap: 1180px;
  --radius: 22px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(11, 54, 84, .06), 0 18px 40px -18px rgba(11, 54, 84, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.22; }
h4 { font-size: var(--fs-h4); line-height: 1.3; }
h1 em, h2 em { font-style: italic; color: var(--cyan-text); font-weight: 500; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); padding: 8px 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--sky); }
.lede { font-size: var(--fs-lead); line-height: 1.6; max-width: 34em; color: var(--text); }
.fine { font-size: var(--fs-small); color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1 var(--sans); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 10px 22px -12px rgba(8, 112, 170, .8); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--steel); color: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--ice); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 15px; height: 15px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 78px; }
.nav > .nav-cta, .nav > .nav-toggle { justify-self: end; }
.wordmark {
  justify-self: start;
  display: inline-flex; flex-direction: column; gap: 6px;
  color: var(--ink); text-decoration: none;
  font: 300 1.45rem/1 var(--sans); letter-spacing: .3em; text-transform: lowercase;
}
.wordmark::after { content: ""; height: 2px; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--sky)); }
.wordmark:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 700; font-size: var(--fs-small); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }
.nav-cta { min-height: 44px; padding: 0 22px; font-size: var(--fs-small); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }
.mobile-menu { display: none; }

@media (max-width: 920px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: 0; z-index: 60; background: var(--white);
    padding: calc(env(safe-area-inset-top, 0px) + 18px) max(var(--gutter), env(safe-area-inset-right, 0px)) 32px max(var(--gutter), env(safe-area-inset-left, 0px));
    flex-direction: column; gap: 8px;
  }
  .mobile-menu.is-open { display: flex; }
  .mobile-menu .top { display: flex; justify-content: space-between; align-items: center; height: 58px; margin-bottom: 20px; }
  .mobile-menu a.link { font: 500 2rem/1.25 var(--display); color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 24px; }
}

/* Hero */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 6vw, 84px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -8%; top: -18%; width: 56vw; height: 56vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(142, 209, 252, .38), rgba(142, 209, 252, 0));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(64px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; container-type: inline-size; }
.hero h1 .line { display: block; }
/* Desktop: keep the three lines whole, and shrink the type before the longest line can reach the photo */
@media (min-width: 921px) { .hero h1 { font-size: min(var(--fs-h1), 9.8cqi); } .hero h1 .line { white-space: nowrap; } }

/* Portrait: a straight photo on a tilted card in his cyan, with a thin steel-blue outline */
.portrait { margin: 20px 20px 20px 0; position: relative; justify-self: end; width: min(100%, 390px); }
.portrait-ring {
  position: absolute; inset: -20px; z-index: 1; border-radius: 42px;
  background: var(--cyan); opacity: .95; transform: rotate(-3deg);
  box-shadow: 0 0 0 3px rgba(81, 143, 199, .55);
}
.portrait-frame { position: relative; z-index: 2; }
.portrait-frame img {
  width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: center 22%;
  border-radius: 26px; background: #0b0b0b;
  box-shadow: 0 30px 60px -28px rgba(11, 54, 84, .55);
}

/* Client logos: continuous right-to-left scroll */
.trust { --strip-gap: clamp(32px, 3.6vw, 48px); padding: 0 0 var(--strip-gap); }
.trust .label { font-size: var(--fs-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--strip-gap); text-align: center; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logos { list-style: none; margin: 0; padding: 0 80px 0 0; display: flex; align-items: center; gap: 80px; }
.logos li { flex: none; display: flex; align-items: center; height: 64px; }
/* Each logo gets a height that evens out its visual area (set per logo as --h) */
.logos img { height: calc(var(--h, 30px) * 1.25); width: auto; max-width: none; opacity: .75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Reel card */
.feature { padding: 0 0 var(--section); }
.feature-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: radial-gradient(120% 140% at 85% 10%, #135A86 0%, var(--navy) 55%, #082A42 100%);
  color: #D6E9F6; padding: clamp(28px, 3.5vw, 44px);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 52px); align-items: center;
}
.feature-copy { display: grid; gap: 16px; justify-items: start; }
.feature-copy h2 { color: var(--white); }
.feature-sub { font-family: var(--display); font-style: italic; color: var(--sky); font-size: var(--fs-h4); }
.feature-copy p { max-width: 26em; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.video:hover img { transform: scale(1.025); }
.video .play {
  position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .22);
  transition: transform .2s ease;
}
.video:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.video .play svg { width: 26px; height: 26px; margin-left: 4px; color: var(--blue); }
.video-reel .play { left: 62%; }
.video .badge {
  position: absolute; left: 16px; bottom: 16px; background: rgba(11, 54, 84, .82); color: var(--white);
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Sections */
.section { padding-block: var(--section); }
.section.flush-top { padding-top: 0; }
.section.tight-top { padding-top: clamp(16px, 2vw, 24px); }
.section-mist { background: var(--mist); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: var(--head-gap); justify-items: start; }
.section-head > p:not(.eyebrow) { font-size: var(--fs-lead); }
.copy-stack { display: grid; gap: 22px; justify-items: start; }
.subhead { font-family: var(--display); font-size: var(--fs-h4); line-height: 1.4; color: var(--ink); }

/* Two-column feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.book-stage {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 56px 40px;
  display: grid; place-items: center; min-height: 460px; overflow: hidden;
}
.section:not(.section-mist) .book-stage { background: var(--mist); }
.book-stage::before {
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 163, 218, .2), rgba(0, 163, 218, 0));
}
.book-stage img { position: relative; width: min(250px, 66%); filter: drop-shadow(0 28px 30px rgba(11, 54, 84, .28)); transform: rotate(-4deg); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--ice) no-repeat center / 14px
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230870AA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}
.checks b { color: var(--ink); }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
.stat b { display: block; font: 500 var(--fs-stat)/1 var(--display); color: var(--ink); margin-bottom: 8px; }
.stat span { font-size: var(--fs-small); color: var(--muted); }
.ted-card { display: grid; gap: 14px; }
.ted-card .video { box-shadow: var(--shadow); }
.ted-card .meta { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.ted-card .meta b { font: 500 var(--fs-h4)/1.3 var(--display); color: var(--ink); }
.ted-card .meta span { font-size: var(--fs-small); color: var(--muted); white-space: nowrap; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: grid; gap: 22px; align-content: space-between;
}
.quote blockquote { margin: 0; font: 400 var(--fs-h4)/1.45 var(--display); color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.2rem; line-height: .6; color: var(--cyan); margin-bottom: 10px; }
.quote figcaption { font-size: var(--fs-small); color: var(--muted); }
.quote figcaption b { display: block; color: var(--ink); }
.quote.soft { background: var(--mist); border-color: transparent; }
.after-grid { margin-top: 32px; }

/* Books */
.books { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.book { display: grid; gap: 14px; align-content: start; text-decoration: none; color: inherit; }
.book:hover { color: inherit; }
.book .cover { background: var(--mist); border-radius: var(--radius); height: 320px; display: grid; place-items: center; padding: 28px; margin-bottom: 6px; }
.book .cover img { max-height: 264px; width: auto; filter: drop-shadow(0 18px 20px rgba(11, 54, 84, .22)); transition: transform .3s ease; }
.book:hover .cover img { transform: translateY(-4px) rotate(-1.5deg); }
.book .tag { font-size: var(--fs-label); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.book p { font-size: var(--fs-small); }
.also { margin-top: 32px; padding: 22px 28px; border-radius: var(--radius); background: var(--mist); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.also p { color: var(--ink); }

/* Podcast + newsletter */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.panel { border-radius: var(--radius-lg); padding: clamp(28px, 3.5vw, 44px); display: grid; gap: 16px; align-content: start; justify-items: start; }
.panel-navy { background: var(--navy); color: #D6E9F6; }
.panel-navy h3 { color: var(--white); }
.panel-navy .guests { font-size: var(--fs-small); color: var(--sky); }
.panel-mist { background: var(--mist); }
.signup { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.signup input {
  flex: 1 1 220px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font: 400 1rem var(--sans); color: var(--ink); background: var(--white);
}
.signup input:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px var(--ice); }
.form-note { font-size: var(--fs-small); color: var(--muted); min-height: 1.4em; }
.form-note.ok { color: var(--blue); font-weight: 700; }

/* Booking band in his header gradient */
.cta-band { background: linear-gradient(100deg, #0093CF 0%, var(--cyan) 45%, #0090CE 100%); color: var(--white); padding-block: clamp(64px, 7vw, 88px); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25);
}
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 64px; }
.cta-inner h2 { color: var(--white); max-width: 15em; }
.cta-inner .cta-text { display: grid; gap: 14px; }
.cta-inner .cta-text p, .cta-actions span { font-size: var(--fs-lead); line-height: 1.5; color: var(--ice); }
.cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-actions .email { color: var(--white); font-weight: 700; }

/* Footer */
.site-footer { background: #0A2B43; color: #A9C2D3; padding: 72px 0 40px; font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .wordmark { color: var(--white); }
.site-footer .tagline { margin-top: 18px; max-width: 24em; }
.site-footer .foot-h { margin: 0 0 14px; color: var(--sky); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #D6E9F6; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }

/* Inner page hero */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero.compact { padding-bottom: clamp(24px, 3vw, 32px); }
.page-hero::before {
  content: ""; position: absolute; left: -15%; top: -40%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(142, 209, 252, .32), rgba(142, 209, 252, 0)); pointer-events: none;
}
.page-hero .wrap { position: relative; display: grid; gap: 24px; justify-items: start; }
.page-hero h1 { max-width: 14em; }
.page-hero h1.title-sm { font-size: var(--fs-h2); max-width: 18em; }
.page-hero .lede { max-width: 40em; }

/* Speaking page */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.format { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; align-content: start; background: var(--white); }
.format .num { font: 500 var(--fs-stat)/1 var(--display); color: var(--cyan-text); }
.programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.program { background: var(--white); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; align-content: start; }
.program .len { font-size: var(--fs-label); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.topic { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; font: 500 var(--fs-h4)/1.25 var(--display); background: var(--white); transition: border-color .2s ease, transform .2s ease; }
.topic:hover { border-color: var(--steel); color: var(--blue); transform: translateY(-2px); }
.topic svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }

/* About page */
.prose { display: grid; gap: 20px; max-width: 40em; font-size: var(--fs-body); }
.prose h2 { margin-top: 12px; }
.pull { font: 400 var(--fs-h3)/1.35 var(--display); color: var(--ink); border-left: 3px solid var(--cyan); padding-left: 24px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.about-aside { position: sticky; top: 110px; display: grid; gap: 28px; }
.headshot { position: relative; margin: 16px; }
.headshot .portrait-ring { inset: -16px; border-radius: 36px; }
.headshot img { position: relative; z-index: 2; border-radius: 24px; box-shadow: 0 30px 60px -28px rgba(11, 54, 84, .55); }
.media-logos { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; }
.media-logos img { height: 30px; width: auto; opacity: .7; }
.media-logos img.tall { height: 42px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-info { display: grid; gap: 28px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: step; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--ice); color: var(--blue); display: grid; place-items: center; font: 500 1.2rem var(--display); }
.steps b { color: var(--ink); display: block; }
.direct { background: var(--mist); border-radius: 18px; padding: 20px 22px; display: grid; gap: 4px; }
.direct span { font-size: var(--fs-label); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.direct a { font: 500 var(--fs-h4) var(--display); text-decoration: none; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink); }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  font: 400 1rem var(--sans); color: var(--ink); background: var(--white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px var(--ice); }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.success { display: none; text-align: center; padding: 30px 10px; gap: 14px; justify-items: center; }
.success .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ice); display: grid; place-items: center; color: var(--blue); }
.form-card.is-sent form { display: none; }
.form-card.is-sent .success { display: grid; }

/* Load motion: content is visible at rest; motion only enhances */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-copy > *:nth-child(2) { animation-delay: .07s; }
  .js .hero-copy > *:nth-child(3) { animation-delay: .14s; }
  .js .portrait { animation: settle 1s cubic-bezier(.2, .7, .2, 1) .1s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero-grid, .split, .story, .about-grid, .contact-grid, .feature-card { grid-template-columns: minmax(0, 1fr); }
  .portrait { justify-self: center; width: min(74%, 320px); margin: 28px auto 20px; }
  .formats, .topics, .duo, .programs { grid-template-columns: minmax(0, 1fr); }
  .book-stage { min-height: 340px; }
  .about-aside { position: static; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .books, .quotes {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78%, 340px); gap: 16px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-left: var(--gutter);
  }
  .books::-webkit-scrollbar, .quotes::-webkit-scrollbar { display: none; }
  .books > *, .quotes > * { scroll-snap-align: start; }
  .book .cover { height: 260px; }
  .book .cover img { max-height: 210px; }
}
@media (max-width: 560px) {
  .nav { height: 66px; }
  .wordmark { font-size: 1.12rem; letter-spacing: .26em; }
  .hero-copy .actions { width: 100%; }
  .hero-copy .actions .btn { flex: 1 1 100%; }
  .logos { gap: 48px; padding-right: 48px; }
  .logos img { height: calc(var(--h, 30px) * 1.05); }
  .logos li { height: 54px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .video .play { width: 64px; height: 64px; }
}
