@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --navy: #163a5f;
  --blue: #2c6da4;
  --charcoal: #111820;
  --ink: #18212b;
  --white: #f7f9fb;
  --mist: #eaf0f5;
  --muted: #9fb0c1;
  --gold: #d8ae73;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 84px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; color: #fff; background: rgba(47,53,60,.98); transition: background .3s ease, height .3s ease; }
.site-header.scrolled { height: 70px; background: rgba(36,42,49,.98); backdrop-filter: blur(12px); }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand span { color: var(--gold); font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.brand small { margin-top: 7px; color: #c5d0db; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; }
.site-navigation { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); }
.site-navigation a { color: #e5ebf1; font-size: .82rem; text-decoration: none; }
.site-navigation a:hover, .site-navigation a:focus-visible { color: #fff; }
.site-navigation .nav-cta { padding: 10px 16px; color: #fff; background: var(--blue); border-radius: 2px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.hero { position: relative; min-height: 640px; height: min(82svh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--charcoal); color: #fff; }
.hero-media { position: absolute; inset: 54px 0 0 40%; overflow: hidden; transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(var(--hero-scale, 1)); transform-origin: 80% 54%; will-change: transform; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: auto; left: auto; width: auto; max-width: none; height: 126%; object-fit: contain; object-position: right top; filter: drop-shadow(-24px 16px 44px rgba(0,0,0,.18)); }
.hero-photo-rest { opacity: 1; }
.hero-photo { clip-path: none; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5,11,17,.99) 0%, rgba(5,11,17,.95) 32%, rgba(5,11,17,.58) 49%, rgba(5,11,17,.08) 67%, transparent 83%), linear-gradient(0deg, rgba(5,11,17,.42), transparent 42%); }
.hero-content { position: relative; z-index: 2; width: min(690px, 52vw); margin-left: clamp(24px, 7.4vw, 120px); padding: 0 0 28px; transform: none; }
.eyebrow { margin: 0 0 16px; color: #91bde5; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; }
h1 { margin-bottom: 24px; font-size: clamp(3.6rem, 6.4vw, 7.2rem); letter-spacing: -.04em; }
h1 span { color: #4b8bc3; }
h2 { margin-bottom: 22px; color: var(--navy); font-size: clamp(2.6rem, 4.5vw, 5rem); letter-spacing: -.035em; }
h3 { margin-bottom: 10px; font-size: 1.45rem; }
.hero-intro { max-width: 590px; color: #ced9e4; font-size: clamp(1rem, 1.35vw, 1.18rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-book-carousel { position: absolute; z-index: 4; right: auto; bottom: 28px; left: 55%; width: 176px; height: 264px; pointer-events: none; transform: translateX(-50%); perspective: 1100px; }
.hero-book-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateX(-55px) rotate(-8deg) scale(.96); transform-style: preserve-3d; border-radius: 2px 5px 5px 2px; background: #dce3e8; box-shadow: 6px 4px 0 #c4cdd4, 9px 7px 0 rgba(255,255,255,.52), 24px 27px 32px rgba(0,0,0,.48); }
.hero-book-slide::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 8px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, rgba(0,0,0,.5), rgba(255,255,255,.2) 42%, rgba(0,0,0,.16)); mix-blend-mode: multiply; }
.hero-book-slide::after { content: ""; position: absolute; z-index: -1; top: 7px; right: -10px; bottom: -7px; width: 14px; transform: rotateY(56deg); transform-origin: left center; border-radius: 0 4px 4px 0; background: repeating-linear-gradient(90deg, #f7f4eb 0 2px, #d8d2c7 2px 3px); box-shadow: 6px 3px 12px rgba(0,0,0,.32); }
.hero-book-slide img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; box-shadow: inset -12px 0 14px rgba(255,255,255,.08); }
.hero-book-slide.is-active { z-index: 2; animation: book-swoosh-in .72s cubic-bezier(.22,.8,.26,1) forwards; }
.hero-book-slide.is-leaving { z-index: 1; animation: book-swoosh-out .62s cubic-bezier(.4,0,.8,.2) forwards; }
@keyframes book-swoosh-in { from { opacity: 0; transform: translateX(-55px) rotateZ(-8deg) rotateY(-18deg) scale(.96); } to { opacity: 1; transform: translateX(0) rotateZ(-1deg) rotateY(-10deg) scale(1); } }
@keyframes book-swoosh-out { from { opacity: 1; transform: translateX(0) rotateZ(-1deg) rotateY(-10deg) scale(1); } to { opacity: 0; transform: translateX(76px) rotateZ(9deg) rotateY(15deg) scale(.94); } }
.button { min-height: 50px; padding: 13px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 2px; font-size: .88rem; font-weight: 600; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: #347db9; }
.button-secondary { color: #fff; border-color: rgba(255,255,255,.48); background: transparent; }
.button-light { color: var(--navy); background: #fff; }
.scroll-cue { position: absolute; z-index: 2; bottom: 30px; right: clamp(24px, 5vw, 76px); color: #cad4de; font-size: .72rem; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }

.section { padding: clamp(80px, 10vw, 150px) clamp(24px, 7.4vw, 120px); }
.about { display: grid; grid-template-columns: .8fr 1fr .8fr; gap: clamp(34px, 5vw, 90px); align-items: start; background: #fff; }
.about-copy p { color: #586776; }
.about-copy .lead { margin-top: 0; color: var(--ink); font-size: 1.2rem; }
.text-link { display: inline-flex; gap: 14px; margin-top: 14px; color: var(--blue); font-weight: 600; text-decoration: none; }
blockquote { margin: 0; padding-left: 28px; border-left: 3px solid var(--blue); color: #334a60; font-family: var(--serif); font-size: clamp(1.4rem, 2.2vw, 2.1rem); line-height: 1.45; }

.books { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(45px, 8vw, 120px); align-items: center; background: var(--mist); }
.home-library { background: #fff; }
.home-library-intro { max-width: 760px; margin-bottom: 55px; }
.home-library-intro > p:not(.eyebrow) { max-width: 650px; color: #586776; }
.home-book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 42px); }
.home-book-card { min-width: 0; }
.home-book-card { perspective: 1000px; text-align: center; }
.home-book-card .cover-crop { position: relative; max-width: 210px; margin: 0 auto 30px; transform: perspective(900px) rotateY(-13deg) rotateX(2deg); transform-origin: left center; border-right: 8px solid rgba(225,231,235,.9); box-shadow: 18px 22px 34px rgba(15,34,52,.24), inset -5px 0 7px rgba(255,255,255,.2); }
.home-book-card:nth-child(2) .cover-crop { transform: perspective(900px) rotateY(10deg) rotateX(2deg); transform-origin: right center; border-right-width: 2px; border-left: 8px solid rgba(225,231,235,.9); }
.home-book-card:nth-child(3) .cover-crop { transform: perspective(900px) rotateY(-11deg) rotateX(2deg); }
.home-book-card .cover-crop:hover { transform: perspective(900px) rotateY(0) rotateX(0) translateY(-5px); box-shadow: 8px 25px 42px rgba(15,34,52,.28); }
.home-book-card .eyebrow { margin-top: 24px; margin-bottom: 10px; color: var(--blue); }
.home-book-card h3 { color: var(--navy); font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
.home-book-card > p:not(.eyebrow) { color: #5d6d7c; }
.cover-crop { display: block; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 4px; background-color: var(--charcoal); background-repeat: no-repeat; background-size: contain; background-position: center; box-shadow: 0 18px 48px rgba(15,34,52,.18); transition: transform .25s ease, box-shadow .25s ease; }
.cover-crop:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(15,34,52,.24); }
.cover-better { background-image: url("assets/cover-a-better-tomorrow.webp"); }
.cover-ends { background-image: url("assets/cover-it-ends-with-me.webp"); }
.cover-life { background-image: url("assets/cover-life-hits-us-all.webp"); }
.transformation { display: block; margin: 18px 0 8px; padding-left: 16px; border-left: 3px solid var(--blue); color: var(--navy); font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; }
.inner-page { padding-top: 84px; }
.page-hero { min-height: 480px; padding: clamp(90px, 11vw, 150px) clamp(24px, 7.4vw, 120px); display: flex; align-items: flex-end; color: #fff; background: radial-gradient(circle at 78% 38%, rgba(44,109,164,.32), transparent 30%), var(--charcoal); }
.page-hero > div { max-width: 880px; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(3.2rem, 7vw, 7rem); }
.page-hero p:not(.eyebrow) { max-width: 680px; color: #ccd7e1; font-size: 1.08rem; }
.content-section { padding: clamp(70px, 9vw, 125px) clamp(24px, 7.4vw, 120px); background: #fff; }
.content-section.alt { background: var(--mist); }
.content-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(38px, 7vw, 100px); align-items: start; }
.content-prose { max-width: 760px; }
.content-prose p { color: #536474; }
.content-prose .lead { color: var(--ink); font-size: 1.22rem; }
.value-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-grid article { padding: 28px; background: var(--mist); }
.value-grid h3 { color: var(--navy); }
.detail-books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.detail-book-card { padding: 28px; background: #fff; box-shadow: 0 14px 44px rgba(17,36,54,.1); }
.detail-book-card .cover-crop { margin-bottom: 28px; }
.detail-book-card h2 { font-size: 2rem; }
.book-detail { display: grid; grid-template-columns: minmax(280px,.72fr) 1.28fr; gap: clamp(46px, 8vw, 110px); align-items: start; }
.book-detail .cover-crop { position: sticky; top: 110px; aspect-ratio: 2/3; }
.book-price { display: inline-block; margin-bottom: 24px; color: var(--blue); font-weight: 600; }
.promise-list { margin: 32px 0; padding: 0; list-style: none; }
.promise-list li { padding: 16px 0 16px 28px; border-bottom: 1px solid #d5dfe8; position: relative; }
.promise-list li::before { content: "→"; position: absolute; left: 0; color: var(--blue); }
.page-cta { padding: 60px clamp(24px, 7.4vw, 120px); display: flex; justify-content: space-between; align-items: center; gap: 28px; color: #fff; background: var(--navy); }
.page-cta h2 { max-width: 700px; margin: 0; color: #fff; font-size: clamp(2.1rem, 4vw, 4rem); }
.contact-card { max-width: 850px; padding: clamp(28px,5vw,60px); background: var(--mist); }
.contact-card p { color: #576979; }
.site-navigation a[aria-current="page"] { color: #fff; border-bottom: 2px solid #6aa8dc; }
.books-copy > p:not(.eyebrow):not(.small-note) { color: #56697a; font-size: 1.06rem; }
.book-list { margin: 32px 0 20px; border-top: 1px solid #c8d4df; }
.book-list div { padding: 15px 0; display: flex; justify-content: space-between; gap: 30px; border-bottom: 1px solid #c8d4df; }
.book-list span { color: var(--blue); font-weight: 600; }
.small-note { margin-bottom: 28px; color: #6a7b8b; font-size: .82rem; }
.books-visual { margin: 0; }
.books-visual img { width: 100%; border-radius: 4px; box-shadow: 0 25px 70px rgba(15,34,52,.22); }
.books-visual figcaption { margin-top: 14px; color: #6c7d8c; font-size: .7rem; letter-spacing: .2em; text-align: right; text-transform: uppercase; }

.speaking { color: #fff; background: var(--navy); }
.speaking h2 { max-width: 840px; color: #fff; }
.topic-grid { margin: 55px 0 44px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.topic-grid article { padding: 34px 34px 20px 0; border-right: 1px solid rgba(255,255,255,.22); }
.topic-grid article + article { padding-left: 34px; }
.topic-grid article:last-child { border-right: 0; }
.topic-grid span { color: #8ebce5; font-size: .72rem; letter-spacing: .16em; }
.topic-grid h3 { margin-top: 28px; color: #fff; }
.topic-grid p { color: #c9d6e1; }

.event { display: grid; grid-template-columns: minmax(260px, .7fr) 1.3fr; gap: clamp(45px, 8vw, 110px); align-items: center; background: #fff; }
.event img { width: min(100%, 430px); margin: auto; box-shadow: 0 24px 60px rgba(14,26,38,.22); }
.event-date { color: var(--blue); font-weight: 600; }
.event-copy > p:not(.eyebrow) { max-width: 650px; }

.contact { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(44px, 8vw, 120px); align-items: end; color: #fff; background: var(--charcoal); }
.contact h2 { margin-bottom: 0; color: #fff; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-actions p { width: 100%; color: #9fadb9; font-size: .82rem; }
footer { padding: 38px clamp(24px, 7.4vw, 120px); display: grid; grid-template-columns: 1fr auto auto auto; gap: 40px; align-items: center; color: #a8b4bf; background: #080d12; font-size: .76rem; }
.footer-signature { display: inline-flex; align-items: center; gap: 8px; padding-left: 18px; border-left: 1px solid rgba(143,161,176,.3); white-space: nowrap; }
.footer-signature span { color: #718696; font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-signature strong { color: var(--gold); font-family: var(--serif); font-size: .96rem; font-weight: 500; letter-spacing: .02em; }

@media (max-width: 900px) {
  .menu-toggle { z-index: 22; display: block; }
  .site-navigation { position: fixed; inset: 0; padding: 120px 30px 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; background: rgba(11,18,26,.98); transform: translateX(100%); transition: transform .25s ease; }
  .site-navigation.open { transform: translateX(0); }
  .site-navigation a { font-family: var(--serif); font-size: 1.7rem; }
  .site-navigation .nav-cta { font-family: var(--sans); font-size: .95rem; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about { grid-template-columns: 1fr 1fr; }
  .about blockquote { grid-column: 1 / -1; }
  .books { grid-template-columns: 1fr; }
  .home-book-grid, .detail-books, .value-grid { grid-template-columns: 1fr; }
  .content-grid, .book-detail { grid-template-columns: 1fr; }
  .book-detail .cover-crop { position: static; }
  .page-cta { align-items: flex-start; flex-direction: column; }
  .books-visual { grid-row: 1; }
  .contact { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 14px; }
  .footer-signature { width: fit-content; margin-top: 6px; padding: 10px 0 0; border-top: 1px solid rgba(143,161,176,.22); border-left: 0; }
}

@media (max-width: 640px) {
  .site-header { height: 72px; padding: 0 20px; }
  .hero { min-height: 760px; height: 100svh; align-items: flex-end; }
  .hero-media { inset: 68px 0 31% 0; transform: translate3d(0, var(--hero-y, 0), 0) scale(var(--hero-scale, 1)); transform-origin: 50% 35%; }
  .hero-photo { inset: 0; width: 100%; max-width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: none; clip-path: none; }
  .hero-photo-rest { opacity: 1; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,12,20,1) 0%, rgba(4,12,20,.97) 32%, rgba(4,12,20,.6) 52%, rgba(4,12,20,.02) 75%); }
  .hero-content { width: 100%; margin: 0; padding: 330px 20px 70px; }
  .hero-content { transform: none; }
  h1 { font-size: clamp(3rem, 13vw, 4.5rem); }
  .hero-intro { font-size: .98rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-book-carousel { top: 285px; right: 18px; bottom: auto; left: auto; width: 60px; height: 90px; transform: none; }
  .hero-actions .button { padding-inline: 12px; }
  .scroll-cue { display: none; }
  .section { padding: 78px 20px; }
  .about { grid-template-columns: 1fr; }
  .about blockquote { grid-column: auto; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-grid article, .topic-grid article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .event { grid-template-columns: 1fr; }
  .event img { max-width: 330px; }
  .contact-actions { display: grid; }
}

/* Clean mobile hero copy */
@media (max-width: 640px) {
  .inner-site main.inner-page > .page-hero > div {
    width: min(82%,330px);
    max-width: 330px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .inner-site main.inner-page > .page-hero > div > * { position: relative; z-index: 1; }
}

/* Reliable full-screen mobile navigation */
@media (max-width: 900px) {
  .site-header,
  .site-header.scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header .brand { position: relative; z-index: 23; }
  .site-header .menu-toggle { position: relative; z-index: 24; flex: 0 0 44px; cursor: pointer; }
  .site-header .site-navigation {
    position: fixed;
    z-index: 21;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    box-sizing: border-box;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    margin: 0;
    padding: max(112px,calc(env(safe-area-inset-top) + 94px)) 30px max(38px,env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(15px,2.8vh,24px);
    background: radial-gradient(circle at 86% 12%,rgba(55,133,189,.24),transparent 28%),linear-gradient(145deg,#07111a 0%,#111f2b 58%,#071019 100%);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(100%,0,0);
    transition: transform .42s cubic-bezier(.22,.8,.25,1),opacity .25s ease,visibility 0s linear .42s;
  }
  .site-header .site-navigation::before {
    content: "";
    position: absolute;
    top: 0;
    right: 14%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,transparent,rgba(113,173,216,.18),transparent);
    pointer-events: none;
  }
  .site-header .site-navigation.open {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0,0,0);
    transition-delay: 0s;
  }
  .site-header .site-navigation > a { position: relative; z-index: 1; }
  .site-header .site-navigation > a:not(.nav-cta) { transition: color .25s ease,transform .25s ease; }
  .site-header .site-navigation > a:not(.nav-cta):hover { transform: translateX(7px); }
  .site-header .menu-toggle[aria-expanded="true"] { color: #fff; }
}

@media (max-width: 420px) {
  .site-header .site-navigation { padding-right: 22px; padding-left: 22px; }
}

/* Cinematic inner-page hero backgrounds */
.page-hero { position: relative; isolation: isolate; overflow: hidden; --pointer-x: 72%; --pointer-y: 42%; }
.page-hero > div { position: relative; z-index: 3; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; pointer-events: none; }

/* Shared paper-texture background for every inner-page hero. */
.page-hero {
  height: 500px;
  min-height: 500px;
  padding-top: 105px;
  padding-bottom: 58px;
  color: var(--navy);
  background-color: #f3f3f1;
  background-image: linear-gradient(90deg, rgba(255,255,255,.2) 0%, rgba(232,237,241,.12) 58%, rgba(223,229,234,.28) 100%), url("assets/hero-texture-1920.webp");
  background-size: cover;
  background-position: center;
}
.page-hero > div { width: min(700px, 54%); max-width: 700px; }
.page-hero h1 { color: var(--navy); text-shadow: 0 1px 0 rgba(255,255,255,.75); }
.page-hero .eyebrow { color: var(--blue); }
.page-hero p:not(.eyebrow) { color: #4d5c68; }
.page-hero::before {
  display: block;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  opacity: 1;
  border-radius: 0;
  filter: none;
  transform: none;
  animation: none;
  background: linear-gradient(90deg, rgba(250,250,248,.98) 0%, rgba(246,247,246,.93) 38%, rgba(218,226,232,.48) 61%, rgba(22,49,72,.18) 100%), radial-gradient(ellipse at 82% 92%, rgba(9,24,36,.5), transparent 34%);
  box-shadow: inset 0 -40px 70px rgba(15,34,52,.16), inset 0 1px rgba(255,255,255,.8);
}
.page-hero::after {
  display: block;
  z-index: 2;
  inset: 0 1.5% 0 auto;
  width: 50%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  opacity: 1;
  border-radius: 0;
  transform: none;
  animation: none;
  background: url("assets/inner-hero-bame-1400.webp") no-repeat right top / auto 118%;
  filter: drop-shadow(-28px 17px 27px rgba(9,24,36,.34)) drop-shadow(0 24px 17px rgba(0,0,0,.2));
}

@media (max-width: 640px) {
  .page-hero {
    height: 530px;
    min-height: 530px;
    padding-top: 110px;
    padding-bottom: 56px;
    background-image: linear-gradient(180deg, rgba(255,255,255,.14), rgba(226,232,237,.22)), url("assets/hero-texture-900.webp");
    background-position: center;
  }
  .page-hero > div { width: 100%; max-width: 100%; }
  .page-hero::before { display: block; background: linear-gradient(90deg, rgba(249,249,247,.97) 0%, rgba(246,247,246,.9) 58%, rgba(33,62,84,.26) 100%); }
  .page-hero::after { display: block; top: 0; right: -25%; bottom: 0; width: 125%; height: 100%; opacity: 1; background-image: url("assets/inner-hero-bame-900.webp"); background-position: right top; background-size: auto 112%; filter: drop-shadow(-18px 13px 20px rgba(9,24,36,.3)); }
}

/* Speaking page is the single visual standard for every inner page. */
main.inner-page > .page-hero {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  height: 640px;
  min-height: 640px;
  max-height: 640px;
  overflow: hidden;
  clip-path: inset(0);
  background-clip: border-box;
  padding: 105px clamp(24px, 7.4vw, 120px) 58px;
}
main.inner-page > .page-hero > div {
  position: absolute;
  top: calc(100% - clamp(380px, 34vw, 520px) - 50px);
  left: clamp(24px, 7.4vw, 120px);
  transform: none;
}
main.inner-page > .page-hero::after {
  top: -60px;
  right: 1.5%;
  bottom: 0;
  width: 50%;
  height: auto;
  opacity: 1;
  background-position: right top;
  background-size: auto 118%;
  transform: none;
}

@media (min-width: 901px) {
  .inner-site .site-navigation > a {
    font-family: var(--sans);
    font-size: .82rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
  }
  .inner-site .site-navigation > .nav-cta { font-size: .82rem; font-weight: 500; }
}

@media (max-width: 900px) {
  .inner-site .site-navigation > a { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; }
  .inner-site .site-navigation > .nav-cta { font-family: var(--sans); font-size: .95rem; }
}

@media (max-width: 640px) {
  main.inner-page > .page-hero {
    flex-basis: auto;
    height: 760px;
    min-height: 760px;
    max-height: 760px;
    padding: 110px 20px 56px;
  }
  main.inner-page > .page-hero > div { top: 290px; left: 20px; right: 20px; width: auto; max-width: none; transform: none; }
  main.inner-page > .page-hero::before {
    z-index: 1;
    background: linear-gradient(90deg, rgba(249,249,247,1) 0%, rgba(248,248,246,.98) 48%, rgba(243,245,244,.72) 68%, rgba(33,62,84,.08) 100%);
  }
  main.inner-page > .page-hero::after {
    z-index: 2;
    top: -40px;
    right: -25%;
    bottom: 0;
    width: 125%;
    height: auto;
    opacity: 1;
    background-position: right top;
    background-size: auto 112%;
    clip-path: none;
    transform: none;
  }
  main.inner-page > .page-hero h1 { font-size: clamp(2.85rem, 14vw, 3.45rem); }
  main.inner-page > .page-hero p:not(.eyebrow) { font-size: .86rem; line-height: 1.55; }
}

/* Cinematic reader testimonials */
.testimonials {
  --testimonial-parallax: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(90px, 11vw, 160px) clamp(24px, 7.4vw, 120px);
  color: #eef4f9;
  background: linear-gradient(145deg, #070d13 0%, #111c27 52%, #07111a 100%);
}
.testimonials::before {
  content: "“";
  position: absolute;
  z-index: -1;
  top: calc(-190px + var(--testimonial-parallax));
  right: -3vw;
  color: rgba(91,160,214,.07);
  font-family: var(--serif);
  font-size: clamp(32rem, 58vw, 65rem);
  line-height: .8;
  transition: transform .08s linear;
}
.testimonials::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -28% -18%;
  background: radial-gradient(circle at 22% 35%, rgba(44,109,164,.3), transparent 24%), radial-gradient(circle at 78% 72%, rgba(83,145,195,.16), transparent 28%);
  transform: translate3d(0, var(--testimonial-parallax), 0);
  will-change: transform;
}
.testimonials-orbit {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 7%;
  width: clamp(190px, 24vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(128,183,225,.18);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(44,109,164,.12), inset 0 0 70px rgba(44,109,164,.06);
  animation: testimonial-orbit 16s ease-in-out infinite alternate;
}
.testimonials-orbit::before, .testimonials-orbit::after { content: ""; position: absolute; border-radius: 50%; }
.testimonials-orbit::before { inset: 18%; border: 1px solid rgba(216,174,115,.2); }
.testimonials-orbit::after { width: 9px; height: 9px; top: 11%; left: 20%; background: var(--gold); box-shadow: 0 0 20px rgba(216,174,115,.75); }
.testimonials-heading { position: relative; z-index: 1; margin-bottom: clamp(58px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .65fr); gap: clamp(35px, 8vw, 130px); align-items: end; }
.testimonials-heading h2 { max-width: 760px; margin: 0; color: #f7fafc; font-size: clamp(3rem, 6.2vw, 7rem); }
.testimonials-heading > p { max-width: 530px; margin: 0 0 10px; color: #aebdca; font-size: 1.02rem; }
.testimonials-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 34px); align-items: start; }
.testimonial-card {
  grid-column: span 5;
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: clamp(30px, 4vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(186,208,225,.18);
  border-radius: 3px;
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025));
  box-shadow: 0 28px 80px rgba(0,0,0,.25), inset 0 1px rgba(255,255,255,.09);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate3d(0, 44px, 0);
  transition: opacity .8s ease var(--reveal-delay), transform .9s cubic-bezier(.22,.8,.25,1) var(--reveal-delay), border-color .3s ease, box-shadow .3s ease;
}
.testimonial-card:nth-child(even) { grid-column: span 7; }
.testimonial-card.testimonial-featured { grid-column: 1 / -1; padding-right: clamp(40px, 12vw, 190px); background: linear-gradient(120deg, rgba(44,109,164,.3), rgba(255,255,255,.04) 70%); }
.testimonial-card.testimonial-wide { grid-column: span 8; }
.testimonial-card:last-child { grid-column: span 4; }
.testimonial-card::before { content: "“"; position: absolute; top: -25px; right: 22px; color: rgba(118,176,220,.16); font-family: var(--serif); font-size: 10rem; line-height: 1; }
.testimonial-card::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--gold)); transition: width .7s ease calc(var(--reveal-delay) + 250ms); }
.testimonial-card.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.testimonial-card.is-visible::after { width: 100%; }
.testimonial-card:hover { border-color: rgba(132,184,224,.42); box-shadow: 0 34px 90px rgba(0,0,0,.34), 0 0 55px rgba(44,109,164,.08); transform: translateY(-5px); }
.testimonial-card blockquote { position: relative; z-index: 1; margin: 0 0 clamp(28px, 4vw, 48px); color: #edf3f7; font-family: var(--serif); font-size: clamp(1.2rem, 1.55vw, 1.65rem); line-height: 1.55; }
.testimonial-featured blockquote { max-width: 1080px; font-size: clamp(1.45rem, 2.3vw, 2.35rem); line-height: 1.42; }
.testimonial-card figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding-left: 20px; border-left: 2px solid var(--blue); }
.testimonial-card figcaption strong { color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .04em; }
.testimonial-card figcaption span { color: #92a8ba; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
@keyframes testimonial-orbit { to { transform: translate3d(-20px, 34px, 0) rotate(12deg) scale(1.06); } }

@media (max-width: 760px) {
  .testimonials-heading { grid-template-columns: 1fr; gap: 24px; }
  .testimonials-heading > p { max-width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card, .testimonial-card:nth-child(even), .testimonial-card.testimonial-featured, .testimonial-card.testimonial-wide, .testimonial-card:last-child { grid-column: 1; padding: 30px 24px; }
  .testimonial-card blockquote, .testimonial-featured blockquote { font-size: 1.18rem; line-height: 1.58; }
  .testimonials-orbit { opacity: .55; right: -24%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero-media { transform: none; }
  .hero-photo-rest { opacity: 1; }
  .hero-book-slide.is-active { opacity: 1; transform: none; }
  .page-hero::before, .page-hero::after { animation: none !important; transition: none !important; }
  .testimonials::before, .testimonials::after, .testimonials-orbit { transform: none !important; animation: none !important; }
  .testimonial-card { opacity: 1; transform: none !important; }
}

/* Writing hub and reading experience */
.writing-page-hero h1 { max-width: 720px; }
.writing-intro { display: grid; grid-template-columns: minmax(260px,.65fr) minmax(420px,1.2fr); gap: clamp(30px,8vw,130px); align-items: end; padding: clamp(90px,11vw,155px) clamp(24px,7.4vw,120px); background: #f5f3ee; }
.writing-intro > .eyebrow { grid-column: 1 / -1; margin-bottom: -35px; }
.writing-intro h2 { margin: 0; max-width: 780px; color: var(--navy); font-size: clamp(3rem,6vw,6.6rem); line-height: .96; }
.writing-intro > p:last-child { max-width: 560px; margin: 0 0 8px; color: #52616d; font-size: 1.08rem; }
.writing-articles { display: grid; grid-template-columns: minmax(260px,.48fr) minmax(0,1fr); gap: clamp(45px,8vw,130px); padding: clamp(90px,10vw,145px) clamp(24px,7.4vw,120px); background: #fff; }
.writing-articles > header { position: sticky; top: 120px; align-self: start; }
.writing-articles > header h2, .poetry-library header h2 { margin: 8px 0 22px; color: var(--navy); font-size: clamp(3rem,5vw,5.5rem); }
.writing-articles > header > p:last-child, .poetry-library header > p:last-child { max-width: 440px; color: #667582; }
.writing-list { border-top: 1px solid #ccd5dc; }
.writing-card { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: clamp(30px,4vw,52px) 0; border-bottom: 1px solid #d8dfe4; transition: transform .35s ease, border-color .35s ease; }
.writing-card:hover { transform: translateX(8px); border-color: var(--blue); }
.writing-number { padding-top: 5px; color: #8ca0af; font-size: .72rem; letter-spacing: .18em; }
.writing-card h3 { margin: 6px 0 15px; font-size: clamp(1.75rem,3vw,3rem); line-height: 1.05; }
.writing-card h3 a { color: var(--navy); text-decoration: none; }
.writing-card p:not(.eyebrow) { max-width: 700px; color: #5c6a75; }
.writing-card-featured { padding-top: clamp(42px,5vw,70px); }
.poetry-library { position: relative; isolation: isolate; overflow: hidden; padding: clamp(95px,11vw,160px) clamp(24px,7.4vw,120px); color: #eaf1f6; background: linear-gradient(145deg,#08111a,#152535 58%,#071019); }
.poetry-library::before { content: "WORDS"; position: absolute; z-index: -1; top: 30px; right: -35px; color: rgba(255,255,255,.025); font-family: var(--serif); font-size: clamp(8rem,22vw,24rem); line-height: .8; }
.poetry-library header { display: grid; grid-template-columns: 1fr .72fr; gap: 28px 80px; align-items: end; margin-bottom: clamp(55px,8vw,100px); }
.poetry-library header .eyebrow { grid-column: 1 / -1; }
.poetry-library header h2 { color: #f6f8fa; }
.poetry-library header > p:last-child { margin: 0 0 10px; color: #9fb0bd; }
.poem-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.poem-card { position: relative; min-height: 230px; padding: 30px; color: #dce8f0; text-decoration: none; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .35s ease, transform .35s ease; }
.poem-card:hover { z-index: 1; background: rgba(55,121,173,.22); transform: translateY(-5px); }
.poem-card > span { color: #6f8ba0; font-size: .7rem; letter-spacing: .16em; }
.poem-card h3 { margin: 26px 0 13px; color: #fff; font-size: clamp(1.35rem,2vw,2rem); }
.poem-card p { margin: 0; overflow: hidden; color: #91a5b4; font-family: var(--serif); font-size: .95rem; white-space: nowrap; text-overflow: ellipsis; }
.poem-card b { position: absolute; right: 28px; bottom: 24px; color: var(--gold); font-weight: 400; }

.home-writing { padding: clamp(90px,10vw,145px) clamp(24px,7.4vw,120px); background: linear-gradient(155deg,#eff3f5,#fff 56%,#edf1f3); }
.home-writing-heading { display: grid; grid-template-columns: 1fr minmax(260px,.55fr); gap: 40px 90px; align-items: end; margin-bottom: clamp(50px,7vw,90px); }
.home-writing-heading h2 { margin: 8px 0 0; color: var(--navy); font-size: clamp(3rem,5.8vw,6.2rem); }
.home-writing-heading > p { max-width: 500px; margin: 0 0 8px; color: #5b6a75; }
.home-writing-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-bottom: 38px; }
.home-writing-grid > * { min-height: 330px; padding: clamp(28px,4vw,55px); }
.home-writing-feature { grid-row: span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; color: #eaf2f7; background: linear-gradient(145deg,rgba(19,65,99,.96),rgba(5,20,31,.98)); box-shadow: 0 30px 70px rgba(11,38,59,.2); }
.home-writing-feature h3 { max-width: 760px; margin: 10px 0 20px; color: #fff; font-size: clamp(2.3rem,4.3vw,4.8rem); line-height: 1; }
.home-writing-feature > p:not(.eyebrow) { max-width: 670px; color: #b8cad7; }
.home-writing-feature .text-link { margin-top: 15px; color: #fff; }
.home-poem-feature { display: flex; flex-direction: column; justify-content: space-between; color: #172b3b; text-decoration: none; background: #e5d8c5; transition: transform .35s ease; }
.home-poem-feature:hover { transform: translateY(-6px); }
.home-poem-feature blockquote { margin: 40px 0; color: var(--navy); font-family: var(--serif); font-size: clamp(1.6rem,2.7vw,2.8rem); line-height: 1.25; }
.home-poem-feature strong { display: flex; justify-content: space-between; }
.home-writing-small { min-height: 240px; border: 1px solid #ced8df; background: rgba(255,255,255,.72); }
.home-writing-small h3 { margin: 9px 0 13px; color: var(--navy); font-size: 1.75rem; }

.reading-progress { position: fixed; z-index: 200; top: 0; left: 0; width: 100%; height: 3px; pointer-events: none; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--blue),var(--gold)); }
.reading-page { min-height: 100vh; padding-top: 86px; background: #f8f7f3; }
.reading-hero { position: relative; overflow: hidden; padding: clamp(90px,11vw,150px) max(24px,calc((100vw - 1060px)/2)); border-bottom: 1px solid #d4dadd; background: linear-gradient(135deg,#eef2f4 0%,#faf9f5 58%,#e5eaed 100%); }
.reading-hero::after { content: "“"; position: absolute; right: 3vw; bottom: -170px; color: rgba(34,91,134,.055); font-family: var(--serif); font-size: clamp(22rem,40vw,42rem); line-height: 1; }
.reading-back { position: relative; z-index: 1; display: inline-block; margin-bottom: clamp(55px,8vw,95px); color: #5b6c78; font-size: .75rem; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.reading-hero h1 { position: relative; z-index: 1; max-width: 990px; margin: 15px 0 24px; color: var(--navy); font-size: clamp(3.2rem,7.5vw,8.2rem); line-height: .93; }
.reading-hero > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 680px; color: #546571; font-size: 1.08rem; }
.reading-meta { position: relative; z-index: 1; display: flex; gap: 26px; margin-top: 38px; color: #71818c; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.reading-body { width: min(760px,calc(100% - 48px)); margin: 0 auto; padding: clamp(75px,10vw,140px) 0; color: #263743; }
.article-body > p { margin: 0 0 1.65em; font-family: var(--serif); font-size: clamp(1.15rem,1.6vw,1.42rem); line-height: 1.85; }
.article-body > p:first-of-type::first-letter { float: left; margin: .05em .13em 0 0; color: var(--blue); font-family: var(--serif); font-size: 4.5em; line-height: .75; }
.article-body blockquote { margin: 0 0 clamp(50px,8vw,85px); padding: 8px 0 8px 30px; color: var(--navy); font-family: var(--serif); font-size: clamp(1.45rem,2.8vw,2.35rem); line-height: 1.45; border-left: 3px solid var(--gold); }
.poem-reading-hero { text-align: center; }
.poem-reading-hero .reading-back { display: table; }
.poem-reading-hero h1, .poem-reading-hero > p { margin-left: auto; margin-right: auto; }
.poem-body { width: min(680px,calc(100% - 48px)); text-align: center; }
.poem-stanza { display: flex; flex-direction: column; gap: .32em; margin-bottom: 2.3em; color: #223441; font-family: var(--serif); font-size: clamp(1.12rem,2vw,1.45rem); line-height: 1.65; }
.reading-next { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; padding: clamp(55px,7vw,95px) max(24px,calc((100vw - 1060px)/2)); color: #9bb0c0; background: #0c1b27; }
.reading-next > span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.reading-next a { max-width: 650px; color: #fff; font-family: var(--serif); font-size: clamp(1.5rem,3vw,3rem); line-height: 1.15; text-align: right; text-decoration: none; }
.reading-next b { color: var(--gold); font-weight: 400; }

@media (max-width: 900px) {
  .writing-intro, .writing-articles, .poetry-library header, .home-writing-heading { grid-template-columns: 1fr; }
  .writing-intro > .eyebrow, .poetry-library header .eyebrow { grid-column: 1; margin-bottom: 0; }
  .writing-articles > header { position: static; }
  .poem-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-writing-grid { grid-template-columns: 1fr; }
  .home-writing-feature { grid-row: auto; min-height: 470px; }
}

@media (max-width: 600px) {
  main.inner-page > .writing-page-hero::before { background: linear-gradient(90deg,rgba(249,249,247,1) 0%,rgba(248,248,246,.98) 48%,rgba(243,245,244,.72) 68%,rgba(33,62,84,.08) 100%); }
  main.inner-page > .writing-page-hero::after { right: -25%; width: 125%; opacity: 1; }
  main.inner-page > .writing-page-hero > div { width: 48%; max-width: 48%; }
  main.inner-page > .writing-page-hero h1 { font-size: 3rem; }
  main.inner-page > .writing-page-hero p:not(.eyebrow) { font-size: .82rem; line-height: 1.52; }
  .writing-intro, .writing-articles, .poetry-library, .home-writing { padding-left: 20px; padding-right: 20px; }
  .writing-card { grid-template-columns: 38px 1fr; gap: 10px; }
  .poem-grid { grid-template-columns: 1fr; }
  .poem-card { min-height: 190px; }
  .home-writing-grid > * { padding: 28px 24px; }
  .home-writing-feature { min-height: 420px; }
  .reading-page { padding-top: 72px; }
  .reading-hero { padding-left: 24px; padding-right: 24px; }
  .reading-meta { flex-direction: column; gap: 8px; }
  .reading-next { align-items: flex-start; flex-direction: column; }
  .reading-next a { text-align: left; }
  .poem-stanza { text-align: left; }
}

/* Elegant social rail for every inner-page hero */
.inner-site .page-hero .eyebrow,
.inner-site .reading-hero .eyebrow { font-weight: 700; letter-spacing: .2em; }
.inner-site .page-hero p:not(.eyebrow),
.inner-site .reading-hero > p:not(.eyebrow) { font-weight: 600; }

.hero-social-rail {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: clamp(13px,2vw,30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
}
.hero-social-line { width: 1px; height: 48px; margin-bottom: 5px; background: linear-gradient(180deg,transparent,rgba(26,67,99,.45)); }
.hero-social-rail a {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid rgba(98,182,235,.72);
  border-radius: 50%;
  background: linear-gradient(145deg,#3d9bd5 0%,#17649a 56%,#0c4772 100%);
  box-shadow: 0 13px 32px rgba(14,78,123,.3),inset 0 1px 1px rgba(255,255,255,.72),inset 0 -9px 18px rgba(4,42,70,.22);
  backdrop-filter: blur(10px);
  transition: color .3s ease,background .3s ease,border-color .3s ease,transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease;
}
.hero-social-rail a::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 68%;
  height: 42%;
  border-radius: 50%;
  background: linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,0));
  opacity: .9;
  z-index: 0;
  pointer-events: none;
  transform: rotate(-12deg);
}
.hero-social-rail a:hover { color: #287db8; border-color: rgba(53,133,188,.5); background: linear-gradient(145deg,#fff,#dceef9); box-shadow: 0 16px 38px rgba(22,101,155,.24),0 0 0 3px rgba(80,163,218,.12),inset 0 1px 1px rgba(255,255,255,1); transform: translateX(4px); }
.hero-social-rail svg { position: relative; z-index: 2; width: 17px; height: 17px; overflow: visible; color: currentColor; fill: currentColor; stroke: currentColor; stroke-width: 1.6; transition: color .3s ease; }
.hero-social-rail a:hover svg,.hero-social-rail a:focus-visible svg { color: #287db8; }
.hero-social-rail svg rect,.hero-social-rail svg circle:not(.icon-fill) { fill: none; }
.hero-social-rail svg .icon-fill { fill: currentColor; stroke: none; }
.hero-social-rail svg .icon-cutout { fill: #fff; stroke: none; }
.hero-social-rail a > span {
  position: absolute;
  left: calc(100% + 11px);
  top: 50%;
  padding: 7px 10px;
  color: #fff;
  font-size: .62rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .12em;
  white-space: nowrap;
  text-transform: uppercase;
  border-radius: 2px;
  background: rgba(8,25,38,.92);
  opacity: 0;
  pointer-events: none;
  transform: translate(-5px,-50%);
  transition: opacity .25s ease,transform .25s ease;
}
.hero-social-rail a:hover > span,.hero-social-rail a:focus-visible > span { opacity: 1; transform: translate(0,-50%); }
.reading-hero .hero-social-rail { top: 48%; }

@media (max-width: 900px) {
  .hero-social-rail,.reading-hero .hero-social-rail {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 24px;
    left: 20px;
    flex-direction: row;
    gap: 9px;
    transform: none;
  }
  .hero-social-line { width: 32px; height: 1px; margin: 0 4px 0 0; background: linear-gradient(90deg,transparent,rgba(26,67,99,.45)); }
  .hero-social-rail a { width: 38px; height: 38px; }
  .hero-social-rail a:hover { transform: translateY(-3px); }
  .hero-social-rail a > span { display: none; }
}

@media (max-width: 420px) {
  .hero-social-rail,.reading-hero .hero-social-rail { bottom: 18px; }
  .hero-social-line { display: none; }
  .hero-social-rail a { width: 36px; height: 36px; }
}

/* Editorial opener on the Writing page */
.writing-intro-editorial {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(165px,.32fr) minmax(420px,1fr) minmax(170px,.32fr);
  gap: clamp(35px,6vw,95px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(95px,11vw,165px) clamp(24px,7.4vw,120px);
  color: #dfe9f0;
  background: linear-gradient(145deg,#08131d 0%,#10283a 54%,#071019 100%);
}
.writing-intro-editorial::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30%;
  background: radial-gradient(circle at 23% 34%,rgba(54,125,179,.28),transparent 25%),radial-gradient(circle at 80% 70%,rgba(215,174,115,.13),transparent 24%);
}
.writing-intro-kicker { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0; border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.14); }
.writing-intro-kicker .eyebrow { margin-top: 22px; color: #8fc2e5; }
.writing-intro-kicker > span { margin-bottom: 22px; color: #708899; font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.writing-intro-statement { position: relative; padding: clamp(25px,4vw,55px) 0; }
.writing-intro-mark { position: absolute; top: -45px; left: -12px; color: rgba(132,190,230,.13); font-family: var(--serif); font-size: clamp(11rem,18vw,20rem); line-height: 1; }
.writing-intro-statement h2 { position: relative; z-index: 1; max-width: 900px; margin: 0 0 clamp(30px,4vw,55px); color: #fff; font-size: clamp(3.4rem,6.4vw,7.2rem); line-height: .94; letter-spacing: -.035em; }
.writing-intro-statement > p { position: relative; z-index: 1; max-width: 700px; margin: 0; color: #aebfcb; font-size: clamp(1rem,1.3vw,1.2rem); line-height: 1.8; }
.writing-intro-signature { display: flex; flex-direction: column; gap: 4px; margin-top: clamp(38px,5vw,65px); padding-left: 22px; border-left: 2px solid var(--gold); }
.writing-intro-signature span { color: #fff; font-family: var(--serif); font-size: 1.35rem; font-style: italic; }
.writing-intro-signature small { color: #708899; font-size: .65rem; letter-spacing: .17em; text-transform: uppercase; }
.writing-intro-index { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.2); }
.writing-intro-index a { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 28px 0; color: #dce8ef; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.14); transition: padding-left .3s ease, color .3s ease; }
.writing-intro-index a:hover { padding-left: 8px; color: #fff; }
.writing-intro-index strong { color: var(--gold); font-family: var(--serif); font-size: clamp(2.3rem,3.5vw,4rem); font-weight: 500; line-height: 1; }
.writing-intro-index span { color: #8fa3b2; font-size: .68rem; line-height: 1.45; letter-spacing: .12em; text-transform: uppercase; }
.writing-intro-index > p { margin: auto 0 0; color: #8296a5; font-family: var(--serif); font-size: 1.05rem; font-style: italic; line-height: 1.5; }

@media (max-width: 900px) {
  .writing-intro-editorial { grid-template-columns: minmax(130px,.28fr) 1fr; }
  .writing-intro-index { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .writing-intro-index a:first-child { border-right: 1px solid rgba(255,255,255,.14); }
  .writing-intro-index a { padding-right: 24px; }
  .writing-intro-index > p { display: none; }
}

@media (max-width: 600px) {
  .writing-intro-editorial { grid-template-columns: 1fr; gap: 38px; padding: 78px 20px 86px; }
  .writing-intro-kicker { min-height: 105px; }
  .writing-intro-statement { padding: 10px 0; }
  .writing-intro-statement h2 { font-size: clamp(3rem,15vw,4.5rem); }
  .writing-intro-statement > p { font-size: .98rem; line-height: 1.75; }
  .writing-intro-index { grid-column: 1; }
  .writing-intro-index strong { font-size: 2.8rem; }
}

/* Clean mobile hero copy without a panel or white fade */
@media (max-width: 640px) {
  .inner-site main.inner-page > .page-hero > div {
    right: auto;
    width: min(82%,330px);
    max-width: 330px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .inner-site main.inner-page > .page-hero > div > * { position: relative; z-index: 1; }
}

/* Contact experience */
.contact-experience {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(520px,1.28fr);
  gap: clamp(45px,7vw,105px);
  align-items: start;
  background: linear-gradient(145deg,#f7f9fa 0%,#fff 55%,#eef4f7 100%);
}
.contact-intro { position: sticky; top: 120px; }
.contact-intro h2,.form-heading h2 { margin: 8px 0 18px; color: #10283a; font-size: clamp(2.5rem,4vw,4.7rem); line-height: 1; }
.contact-intro > p:not(.eyebrow) { max-width: 540px; color: #526675; line-height: 1.8; }
.contact-whatsapp {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 15px;
  align-items: center;
  margin: 30px 0 34px;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  background: linear-gradient(135deg,#0f3f61,#247bb4);
  box-shadow: 0 20px 45px rgba(19,68,101,.2);
  transition: transform .3s ease,box-shadow .3s ease;
}
.contact-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 25px 55px rgba(19,68,101,.28); }
.contact-whatsapp > span { display: grid; place-items: center; width: 48px; height: 48px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; border-radius: 50%; background: rgba(255,255,255,.15); }
.contact-whatsapp small,.contact-whatsapp strong { display: block; }
.contact-whatsapp small { margin-bottom: 3px; color: #cce5f5; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.contact-whatsapp strong { font-size: 1.1rem; }
.enquiry-form { position: relative; padding: clamp(30px,5vw,65px); color: #243846; border: 1px solid rgba(23,79,116,.12); background: rgba(255,255,255,.92); box-shadow: 0 30px 80px rgba(20,56,79,.14); }
.enquiry-form::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg,#164f77,#4d9dce,#d4aa72); }
.form-heading { margin-bottom: 36px; }
.form-heading h2 { max-width: 650px; font-size: clamp(2.2rem,3.8vw,4.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-grid label { display: grid; gap: 9px; color: #173247; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.form-grid label small { color: #83939e; font-size: .62rem; font-weight: 500; }
.form-grid input,.form-grid select,.form-grid textarea { width: 100%; padding: 15px 0; color: #10283a; font: inherit; font-size: 1rem; line-height: 1.4; border: 0; border-bottom: 1px solid #b7c5ce; border-radius: 0; outline: none; background: transparent; transition: border-color .25s ease,box-shadow .25s ease; }
.form-grid textarea { min-height: 135px; resize: vertical; }
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus { border-color: #2b78aa; box-shadow: 0 2px 0 #2b78aa; }
.form-wide { grid-column: 1 / -1; }
.enquiry-form > .button { margin-top: 30px; }
.form-note { margin: 15px 0 0; color: #7b8b96; font-size: .72rem; }
.form-status { display: none; margin: 18px 0 0; padding: 13px 15px; color: #153f5c; font-size: .85rem; line-height: 1.5; border-left: 3px solid #2c7fb5; background: #eaf4fa; }
.form-status.is-visible { display: block; }
@media (max-width: 900px) {
  .contact-experience { grid-template-columns: 1fr; }
  .contact-intro { position: static; }
}
@media (max-width: 600px) {
  .contact-experience { padding-right: 18px; padding-left: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: 1; }
  .enquiry-form { padding: 34px 22px; }
  .contact-whatsapp { grid-template-columns: 44px 1fr auto; padding: 15px; }
  .contact-whatsapp > span { width: 44px; height: 44px; }
}

/* Screenplay portfolio */
.screenplay-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(42px,8vw,125px); padding: clamp(85px,10vw,145px) clamp(24px,7.4vw,120px); background: #f6f4ef; }
.screenplay-intro h2,.screenplay-library header h2,.screenplay-note h2,.writing-screenplay-bridge h2 { margin: 8px 0 0; color: var(--navy); font-size: clamp(3rem,5.7vw,6.2rem); line-height: .98; }
.screenplay-intro .lead { margin-top: 4px; color: #233f54; font-family: var(--serif); font-size: clamp(1.4rem,2.2vw,2rem); line-height: 1.45; }
.screenplay-intro div:last-child p:last-child { color: #63717b; line-height: 1.8; }
.screenplay-library { padding: clamp(90px,10vw,150px) clamp(24px,7.4vw,120px); color: #e7eef3; background: linear-gradient(145deg,#07111a,#112b3e 58%,#071019); }
.screenplay-library > header { display: grid; grid-template-columns: .75fr 1.25fr; column-gap: 70px; align-items: end; margin-bottom: clamp(55px,7vw,90px); }
.screenplay-library > header .eyebrow { grid-column: 1 / -1; color: #78b8e3; }
.screenplay-library header h2 { color: #fff; }
.screenplay-library > header > p:last-child { max-width: 570px; color: #9fb2c0; line-height: 1.7; }
.screenplay-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.screenplay-card { display: flex; flex-direction: column; min-height: 520px; padding: clamp(23px,3vw,38px); border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); transition: transform .35s ease,border-color .35s ease,background .35s ease; }
.screenplay-card:hover { transform: translateY(-7px); border-color: rgba(112,184,230,.5); background: rgba(255,255,255,.06); }
.screenplay-paper { position: relative; width: 100%; aspect-ratio: 8.5 / 11; margin-bottom: 30px; padding: 18% 12%; overflow: hidden; color: #151515; font-family: "Courier New",monospace; background: #fff; box-shadow: 0 22px 45px rgba(0,0,0,.28); }
.screenplay-paper::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg,rgba(255,255,255,.18),transparent 42%,rgba(15,31,43,.05)); pointer-events: none; }
.screenplay-paper span { position: absolute; top: 6%; right: 8%; font-size: .68rem; }
.screenplay-paper b { display: block; margin-top: 22%; font-size: clamp(.55rem,.8vw,.78rem); font-weight: 400; }
.screenplay-paper i { display: block; margin: 42% auto 0; max-width: 74%; font-size: clamp(.5rem,.72vw,.68rem); font-style: normal; text-align: center; text-transform: uppercase; }
.screenplay-card > .eyebrow { color: #75b5df; }
.screenplay-card h3 { margin: 8px 0 13px; color: #fff; font-size: clamp(1.55rem,2.4vw,2.5rem); line-height: 1.05; }
.screenplay-card > p:not(.eyebrow) { flex: 1; color: #9fb0bd; line-height: 1.65; }
.screenplay-card .text-link { margin-top: 18px; color: #fff; }
.screenplay-note,.writing-screenplay-bridge { display: grid; grid-template-columns: 1fr minmax(260px,.65fr) auto; gap: 35px 70px; align-items: end; padding: clamp(80px,9vw,125px) clamp(24px,7.4vw,120px); background: #d9e7f0; }
.screenplay-note h2 { font-size: clamp(2.6rem,4.6vw,5rem); }
.screenplay-note > p { max-width: 470px; color: #536978; line-height: 1.75; }
.screenplay-note .button { white-space: nowrap; }
.writing-screenplay-bridge { grid-template-columns: 1fr .8fr; color: #dce7ef; background: linear-gradient(135deg,#102c40,#061019); }
.writing-screenplay-bridge h2 { color: #fff; }
.writing-screenplay-bridge > div:last-child p { margin: 0 0 30px; color: #a8bbc8; line-height: 1.8; }
.writing-intro-index { gap: 0; }
@media (max-width: 1050px) { .screenplay-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) {
  .screenplay-intro,.screenplay-library > header,.screenplay-note,.writing-screenplay-bridge { grid-template-columns: 1fr; }
  .screenplay-note,.writing-screenplay-bridge { align-items: start; }
}
@media (max-width: 600px) {
  .screenplay-intro,.screenplay-library,.screenplay-note,.writing-screenplay-bridge { padding-left: 20px; padding-right: 20px; }
  .screenplay-grid { grid-template-columns: 1fr; }
  .screenplay-card { min-height: 0; }
  .screenplay-paper { max-height: 390px; }
}
/* In-site screenplay reader */
.screenplay-reader-site{background:#10151c;color:#f7f9fc;min-height:100vh}.screenplay-reader-page{padding:120px clamp(18px,5vw,76px) 70px;max-width:1500px;margin:auto}.screenplay-reader-heading{margin-bottom:28px}.reader-back{display:inline-block;color:#7eb7ff;font-weight:700;margin-bottom:26px}.reader-title-row{display:flex;align-items:end;justify-content:space-between;gap:30px}.reader-title-row h1{font-size:clamp(2.35rem,5vw,5.6rem);line-height:.94;margin:5px 0 16px}.reader-title-row p:last-child{max-width:680px;color:#c8d1dd;font-size:1.05rem}.reader-original,.reader-toolbar a,.reader-toolbar button{border:1px solid rgba(126,183,255,.45);border-radius:999px;color:#eaf3ff;background:rgba(25,96,181,.18);padding:11px 18px;font-weight:700;cursor:pointer;white-space:nowrap}.screenplay-reader-shell{background:#06090d;border:1px solid rgba(126,183,255,.2);border-radius:20px;overflow:hidden;box-shadow:0 28px 80px rgba(0,0,0,.5)}.reader-toolbar{height:66px;padding:0 22px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#182330,#101820);border-bottom:1px solid rgba(255,255,255,.09)}.reader-toolbar>div{display:flex;align-items:center;gap:10px}.reader-toolbar-actions{display:flex;gap:10px}.reader-toolbar button{font:inherit}.reader-status-dot{width:9px;height:9px;background:#338cff;border-radius:50%;box-shadow:0 0 14px #338cff}.reader-frame-wrap{position:relative;background:#333}.reader-frame{display:block;width:100%;height:min(82vh,980px);border:0;background:#fff}.reader-fallback{position:absolute;inset:auto 18px 14px;text-align:center;background:#101820;color:#dbe7f5;padding:10px;border-radius:10px;z-index:-1}.reader-project-nav{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:28px}.reader-project-nav a{display:flex;flex-direction:column;padding:22px;border:1px solid rgba(126,183,255,.18);border-radius:15px;background:#151d27;color:#fff}.reader-project-nav a:last-child{text-align:right}.reader-project-nav small{color:#7eb7ff;text-transform:uppercase;letter-spacing:.12em;font-weight:800;margin-bottom:7px}.reader-project-nav span{font-size:1.12rem;font-weight:800}.screenplay-reader-shell:fullscreen{border-radius:0}.screenplay-reader-shell:fullscreen .reader-frame{height:calc(100vh - 66px)}
@media(max-width:700px){.screenplay-reader-page{padding:98px 14px 42px}.reader-title-row{display:block}.reader-original{display:inline-block;margin-top:20px}.reader-title-row h1{font-size:2.65rem}.reader-toolbar{height:58px;padding:0 13px}.reader-toolbar-actions button{display:none}.reader-toolbar-actions a{padding:8px 12px}.reader-frame{height:68vh}.reader-project-nav{grid-template-columns:1fr}.reader-project-nav a:last-child{text-align:left}}
/* Mobile screenplay reading: use the full screen width and a stable viewport. */
@media (max-width:700px){
  .screenplay-reader-page{padding-top:92px}
  .screenplay-reader-shell{margin-inline:-14px;border-left:0;border-right:0;border-radius:0;box-shadow:0 18px 48px rgba(0,0,0,.38)}
  .reader-toolbar{height:56px;padding-inline:12px}
  .reader-toolbar>div:first-child{min-width:0}
  .reader-toolbar strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .reader-frame-wrap{min-height:72svh}
  .reader-frame{height:72svh;min-height:540px}
}
.events-page-hero{background-color:#0d0f11;background-image:url("assets/events-hero-background-hd.jpg");background-size:cover;background-position:center;background-repeat:no-repeat}
main.inner-page>.events-page-hero::before{display:none!important;background:none!important}
main.inner-page>.events-page-hero::after{display:none!important;background-image:none!important}
@media(max-width:700px){.events-page-hero{background-image:url("assets/events-hero-background-hd.jpg");background-size:contain;background-position:center;background-repeat:no-repeat}}
/* Writing hero — show Bame signing a book in full */
main.inner-page>.writing-page-hero::after{
  display:block!important;
  top:4%;
  right:3%;
  bottom:0;
  width:46%;
  height:96%;
  opacity:1;
  background-image:url("assets/writing-bame-signing.png");
  background-size:contain;
  background-position:right bottom;
  background-repeat:no-repeat;
  filter:drop-shadow(-18px 13px 20px rgba(9,24,36,.28));
}
@media(max-width:700px){
  main.inner-page>.writing-page-hero::after{
    right:-2%;
    width:60%;
    height:92%;
    top:8%;
    background-size:contain;
    background-position:right bottom;
  }
}
/* Books hero — three-book showcase blended into the editorial background */
main.inner-page>.books-page-hero::after{
  display:block!important;
  top:11%;
  right:4%;
  bottom:11%;
  width:50%;
  height:78%;
  opacity:1;
  background-image:url("assets/books-hero-three-books-transparent.png");
  background-size:contain;
  background-position:right center;
  background-repeat:no-repeat;
  filter:none;
  -webkit-mask-image:none;
  mask-image:none;
}
@media(max-width:700px){
  main.inner-page>.books-page-hero::after{
    top:22%;
    right:-8%;
    bottom:8%;
    width:67%;
    height:70%;
    opacity:.82;
    background-size:contain;
    background-position:right bottom;
    -webkit-mask-image:none;
    mask-image:none;
  }
}
@media(min-width:701px){
  main.inner-page>.books-page-hero::after{
    top:19%;
    right:-.5%;
    bottom:auto;
    width:44%;
    height:auto;
    aspect-ratio:1.85/1;
    transform:none;
    filter:none;
    background-size:100% auto;
    background-position:center -8%;
    -webkit-box-reflect:below -18px linear-gradient(to bottom,rgba(255,255,255,.88),rgba(255,255,255,.52) 38%,rgba(255,255,255,.2) 68%,transparent 96%);
  }
}
/* Speaking hero — full photographic room scene without subject distortion */
.speaking-page-hero{
  background-color:#11151b;
  background-image:linear-gradient(90deg,rgba(8,13,20,.72) 0%,rgba(8,13,20,.3) 42%,rgba(8,13,20,.04) 70%,transparent 100%),url("assets/speaking-hero-widescreen.jpg");
  background-size:100% 100%,cover;
  background-position:center,right center;
  background-repeat:no-repeat,no-repeat;
}
main.inner-page>.speaking-page-hero::before,
main.inner-page>.speaking-page-hero::after{display:none!important;background:none!important}
.speaking-page-hero>div,.speaking-page-hero h1,.speaking-page-hero p{color:#fff}
.speaking-page-hero .eyebrow{color:#79b8ff}
@media(max-width:700px){
  .speaking-page-hero{
    background-image:linear-gradient(90deg,rgba(8,13,20,.9) 0%,rgba(8,13,20,.62) 55%,rgba(8,13,20,.2) 100%),url("assets/speaking-hero-room.jpg");
    background-size:100% 100%,cover;
    background-position:center,52% center;
  }
}
/* Performance: postpone layout/paint work for content below the first viewport. */
main.inner-page>section:not(.page-hero),
.site-footer{content-visibility:auto;contain-intrinsic-size:auto 720px}

/* The Events artwork is dark, so its hero copy remains legible on every screen. */
.events-page-hero>div,.events-page-hero h1,.events-page-hero p{color:#fff}
.events-page-hero .eyebrow{color:#79b8ff}

/* Consistent, compact inner-page heroes on phones. Homepage is intentionally excluded. */
@media(max-width:700px){
  main.inner-page>.page-hero{
    height:680px;
    min-height:680px;
    max-height:680px;
    overflow:hidden;
  }
  main.inner-page>.page-hero>div{
    top:250px;
    left:20px;
    right:20px;
    width:auto;
    max-width:none;
  }
  main.inner-page>.page-hero h1{font-size:clamp(2.75rem,14vw,4.5rem);line-height:.92}
  main.inner-page>.page-hero p:not(.eyebrow){max-width:34rem;font-size:.9rem;line-height:1.48}
}
@media(max-width:700px){
  /* Writing: use the full hero height while keeping the complete transparent cutout. */
  main.inner-page>.writing-page-hero::after{
    top:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    background-size:auto 100%;
    background-position:right bottom;
  }

  /* Events: remove mobile letterboxing and fill the complete hero frame. */
  .events-page-hero{
    background-size:cover;
    background-position:center;
  }

  /* Keep social profiles inside the first mobile viewport. */
  .hero-social-rail{
    top:108px!important;
    bottom:auto!important;
    left:10px!important;
    transform:none!important;
    z-index:7;
  }
}
@media(max-width:700px){
  /* Fit every inner hero inside the usable phone viewport. */
  main.inner-page>.page-hero{
    height:min(680px,calc(100svh - 72px));
    min-height:min(680px,calc(100svh - 72px));
    max-height:min(680px,calc(100svh - 72px));
  }
  main.inner-page>.page-hero>div{
    top:clamp(155px,30svh,230px);
    padding-bottom:74px;
  }
  main.inner-page>.page-hero h1{
    font-size:clamp(2.45rem,12vw,3.8rem);
  }
  main.inner-page>.page-hero:not(.speaking-page-hero):not(.events-page-hero) .eyebrow,
  main.inner-page>.page-hero:not(.speaking-page-hero):not(.events-page-hero) p:not(.eyebrow){
    font-weight:800;
    text-shadow:none;
  }

  /* Social profiles: a compact row below the copy, inside the hero. */
  .hero-social-rail{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    gap:8px!important;
    top:auto!important;
    right:auto!important;
    bottom:14px!important;
    left:20px!important;
    width:auto!important;
    height:auto!important;
    transform:none!important;
    z-index:8;
  }
  .hero-social-rail::before,.hero-social-rail::after{display:none!important}

  /* Writing: keep the full-height author cutout centred in the frame. */
  main.inner-page>.writing-page-hero::after{
    background-position:center bottom;
  }

  /* Books: centre the complete three-book composition. */
  main.inner-page>.books-page-hero::after{
    right:0;
    width:100%;
    background-position:center bottom;
  }

  /* Events: display the complete branded composition across the exact hero box. */
  .events-page-hero{
    background-size:cover;
    background-position:center;
  }
}
@media(max-width:700px){
  /* Use one strong supporting-copy colour above and below each hero title. */
  main.inner-page>.page-hero{--mobile-hero-copy:#152b3b}
  main.inner-page>.speaking-page-hero,
  main.inner-page>.events-page-hero{--mobile-hero-copy:#79b8ff}
  main.inner-page>.page-hero .eyebrow,
  main.inner-page>.page-hero p:not(.eyebrow){
    color:var(--mobile-hero-copy)!important;
    font-weight:800!important;
  }

  /* Books: keep artwork in its own band between copy and social profiles. */
  main.inner-page>.books-page-hero>div{
    top:clamp(125px,22svh,170px);
    padding-bottom:0;
  }
  main.inner-page>.books-page-hero::after{
    top:auto;
    right:2%;
    bottom:72px;
    width:64%;
    height:23%;
    opacity:1;
    background-size:contain;
    background-position:right bottom;
    -webkit-box-reflect:none;
  }

  /* The PDF is already embedded; remove the separate-open affordance on phones. */
  .screenplay-reader-page .reader-original{display:none!important}
  .screenplay-reader-page .reader-frame{display:block!important;width:100%}
}
@media(max-width:700px){
  /* Mobile hero copy: stronger contrast without adding a visible panel. */
  main.inner-page>.page-hero p:not(.eyebrow){
    font-size:clamp(.92rem,3.8vw,1.02rem)!important;
    line-height:1.52!important;
    font-weight:850!important;
    max-width:31rem;
  }
  main.inner-page>.page-hero:not(.speaking-page-hero):not(.events-page-hero) .eyebrow,
  main.inner-page>.page-hero:not(.speaking-page-hero):not(.events-page-hero) p:not(.eyebrow){
    text-shadow:0 1px 0 rgba(255,255,255,1),0 0 8px rgba(255,255,255,.96),0 0 18px rgba(255,255,255,.82)!important;
  }
  main.inner-page>.speaking-page-hero .eyebrow,
  main.inner-page>.speaking-page-hero p:not(.eyebrow),
  main.inner-page>.events-page-hero .eyebrow,
  main.inner-page>.events-page-hero p:not(.eyebrow){
    text-shadow:0 2px 4px rgba(0,0,0,.95),0 0 14px rgba(0,0,0,.82)!important;
  }
}
@media(max-width:700px){
  /* Targeted readability for the three light editorial heroes. */
  main.inner-page>.writing-page-hero>div,
  main.inner-page>.about-page-hero>div,
  main.inner-page>.contact-page-hero>div{
    z-index:6;
    padding:18px 26px 76px 0;
    background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.91) 58%,rgba(255,255,255,.58) 82%,transparent 100%);
  }
  main.inner-page>.writing-page-hero .eyebrow,
  main.inner-page>.writing-page-hero p:not(.eyebrow),
  main.inner-page>.about-page-hero .eyebrow,
  main.inner-page>.about-page-hero p:not(.eyebrow),
  main.inner-page>.contact-page-hero .eyebrow,
  main.inner-page>.contact-page-hero p:not(.eyebrow){
    color:#0d2b3d!important;
    font-weight:850!important;
    text-shadow:none!important;
  }
}
