/* v29 (2 November) — the inner-page top section, as approved in the before-and-after review.
   Loaded by every inner page (V29_SCOPE in site_pages.py); every rule is scoped to .inner-v29.
   - The header with the logo and the sky is untouched (only its picture file is lighter: change 3).
   - The section under it (breadcrumb, title, subtitle) is lighter and brighter.
   - Compact on computers and phones (change 7); no button at the top.
   - Phones: no sunset strip; two figures from the homepage under the section (change 7).
   Animations are untouched: the rising tide still plays in the photo on computers. */

/* Change 3 (lighter picture files) is site-wide: styles.css, pages.css and render.py lighten(). */

/* Phones only: the two figures under the section. */
.inner-v29 .hero-facts{display:none}

/* ---------------------------------------------------------------- computers (761 px and up) */
@media (min-width:761px){
  /* Lighter and brighter: a lighter twilight blue over the photo, less opaque, same direction. */
  .inner-v29 .page-hero:after{background:linear-gradient(90deg,rgba(25,64,107,.80) 0%,rgba(25,64,107,.62) 44%,rgba(25,64,107,.32) 66%,rgba(25,64,107,.08) 82%,transparent 94%)}
  /* Compact: no fixed minimum height, tighter spacing, as on phones. */
  .inner-v29 .page-hero .hero-inner{min-height:0}
  .inner-v29 .page-hero .hero-copy{padding:40px 0 48px}
  .inner-v29 .page-hero .breadcrumb{margin-bottom:20px}
  .inner-v29 .page-hero .small-rule{margin:18px 0}
  .inner-v29 .page-hero .hero-deck{margin-bottom:0}
}

/* ---------------------------------------------------------------- phones (760 px and below) */
@media (max-width:760px){
  /* Lighter and brighter: twilight blue instead of near-black navy, with a soft light at the top right. */
  .inner-v29 .page-hero{background:radial-gradient(120% 85% at 100% 0%,rgba(92,140,190,.30) 0%,rgba(92,140,190,0) 62%),linear-gradient(180deg,#204c7b 0%,#183f69 100%)}
  /* Change 7: tighter spacing and a slightly smaller title. */
  .inner-v29 .page-hero .hero-copy{padding:22px 0 26px}
  .inner-v29 .page-hero .breadcrumb{margin-bottom:14px}
  .inner-v29 .page-hero h1{font-size:33px;line-height:1.1}
  .inner-v29 .page-hero .small-rule{margin:14px 0}
  .inner-v29 .page-hero .hero-deck{font-size:16px;line-height:1.5;margin-bottom:0}
  /* No sunset strip on phones. */
  .inner-v29 .page-hero .hero-scene{display:none}
  /* Change 7: 30+ years, 70+ Legal MSOs evaluated. */
  .inner-v29 .hero-facts{display:grid;grid-template-columns:1fr 1fr;background:#fff;border-bottom:1px solid var(--line)}
  .inner-v29 .hero-facts p{margin:0;padding:16px 18px;display:flex;flex-direction:column;gap:4px}
  .inner-v29 .hero-facts p+p{border-left:1px solid var(--line)}
  .inner-v29 .hero-facts b{font:400 30px/1 var(--serif);color:var(--ink)}
  .inner-v29 .hero-facts span{font:13px/1.4 var(--sans);color:var(--muted)}
}

/* ---------------------------------------------------------------- About: the top section still settles into the ring */
@media (min-width:761px){
  /* The lighter tint fades out at the foot of the section, so the photo's own fade into the ring's navy shows as before. */
  .inner-v29 .page-hero.hero-to-cinema:after{-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}
}
@media (max-width:760px){
  /* No photo strip on phones: the section itself ends in the ring's opening navy, with no seam. */
  .inner-v29 .page-hero.hero-to-cinema{background:radial-gradient(120% 70% at 100% 0%,rgba(92,140,190,.30) 0%,rgba(92,140,190,0) 60%),linear-gradient(180deg,#204c7b 0%,#183f69 58%,#071d38 100%)}
  .inner-v29 .page-hero.hero-to-cinema .hero-copy{padding-bottom:56px}
}

/* ---------------------------------------------------------------- change 11: a visible way past the ring */
.inner-v29 .cinema-section.is-live .cinema-skip{left:0;right:auto;top:auto;bottom:calc(6% + 4px);align-items:center;gap:10px;padding:13px 20px;border-radius:999px;background:#061c36d9;border:1px solid #d6b879aa;color:#f4ead6;font:600 13px/1 var(--sans);letter-spacing:.08em;text-transform:uppercase;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.inner-v29 .cinema-section.is-live .cinema-skip .ss-arrow{width:14px;height:14px;stroke:#d6b879}
/* 5 November: the small S&S logo just before "Skip to our story". */
.inner-v29 .cinema-skip .cinema-skip-logo{width:24px;height:auto;flex:none;margin:-4px 0 -4px -6px;filter:drop-shadow(0 1px 2px #0006)}
@media (max-width:760px){.inner-v29 .cinema-section.is-live .cinema-skip{bottom:calc(4% + 4px);font-size:12px;padding:12px 16px}}

/* ---------------------------------------------------------------- change 1: the contact page takes a note */
.inner-v29 .contact-v29{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:56px;align-items:start;padding:64px 0 80px}
.inner-v29 .cf-form{background:#fff;border:1px solid var(--line);padding:38px 42px 34px;box-shadow:0 22px 60px #061c3614}
.inner-v29 .cf-form h2{font:400 34px/1.15 var(--serif);color:var(--ink);margin:4px 0 24px;text-wrap:balance}
.inner-v29 .cf-topics{border:0;margin:0 0 22px;padding:0;min-width:0}
.inner-v29 .cf-topics legend,.inner-v29 .cf-field>span{display:block;font:12px/1.4 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 10px;padding:0}
.inner-v29 .cf-chips{display:flex;flex-wrap:wrap;gap:8px}
.inner-v29 .cf-chip{position:relative;cursor:pointer}
.inner-v29 .cf-chip input{position:absolute;opacity:0;width:1px;height:1px}
.inner-v29 .cf-chip span{display:inline-block;font:14px/1 var(--sans);padding:12px 15px;border:1px solid var(--line);border-radius:999px;color:var(--ink);background:var(--paper)}
.inner-v29 .cf-chip input:checked+span{background:var(--navy);color:#fff;border-color:var(--navy)}
.inner-v29 .cf-chip input:focus-visible+span{outline:2px solid #2f6fa8;outline-offset:3px}
.inner-v29 .cf-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.inner-v29 .cf-field{display:block;margin-bottom:16px;min-width:0}
.inner-v29 .cf-field>span{margin-bottom:7px}
.inner-v29 .cf-field input,.inner-v29 .cf-field textarea{display:block;width:100%;box-sizing:border-box;min-height:48px;border:1px solid #cfc2a9;border-radius:0;background:#fff;padding:12px 14px;font:16px/1.4 var(--sans);color:var(--ink)}
.inner-v29 .cf-field textarea{min-height:112px;resize:vertical}
.inner-v29 .cf-field input:focus-visible,.inner-v29 .cf-field textarea:focus-visible{outline:2px solid #2f6fa8;outline-offset:1px}
.inner-v29 .cf-send{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:8px}
.inner-v29 .cf-send button.btn-metal{border:0;cursor:pointer}
.inner-v29 .cf-small{font:14px/1.6 var(--sans);color:var(--muted);margin:0}
.inner-v29 .cf-note{font:13px/1.55 var(--sans);color:var(--muted);margin:10px 0 0}
.inner-v29 .cf-note a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.inner-v29 .cf-status{font:15px/1.5 var(--sans);color:var(--ink);margin:14px 0 0;min-height:1.5em}
.inner-v29 .cf-side .section-label{margin-bottom:12px}
.inner-v29 .cf-people{list-style:none;margin:0 0 30px;padding:0}
.inner-v29 .cf-person{display:grid;grid-template-columns:76px minmax(0,1fr);gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}
.inner-v29 .cf-photo{width:76px;height:76px;border-radius:50%;background:url('../bio/assets/ocean-sunset.webp') 72% 62%/cover;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.inner-v29 .cf-photo img{width:94%;height:auto;display:block}
.inner-v29 .cf-person h3{font:400 21px/1.2 var(--serif);color:var(--ink);margin:0}
.inner-v29 .cf-person p{font:13px/1.5 var(--sans);color:var(--muted);margin:3px 0 8px}
@media (max-width:760px){
  .inner-v29 .contact-v29{grid-template-columns:1fr;gap:40px;padding:36px 0 56px}
  .inner-v29 .cf-form{padding:26px 20px}
  .inner-v29 .cf-form h2{font-size:27px}
  .inner-v29 .cf-row{grid-template-columns:1fr;gap:0}
  .inner-v29 .cf-chip span{font-size:14px;padding:11px 13px}
}

/* ---------------------------------------------------------------- the five former Rising Tide pages (3–4 November)
   Client's answers: the lighter photo from the start, no transition, on computers and phones.
   site_pages.py swaps the photo and drops the tide; on phones these pages keep a short, still strip. */
@media (max-width:760px){
  .inner-v29 .page-hero .hero-scene[data-lighter]{display:block;height:120px}
}

/* ===== 18 Nov 2026: About page refinements (Ayven, after seeing the test copy) ===== */
/* 1. "Skip to our story": no pill. A slim navy glass tag with a fine gold edge, like the chapter cards on the ring:
      the gold logo, small spaced capitals and a gold arrow. It sits above the ring's progress line instead of on
      it, stays readable over light and dark panels, and fades away at the very end of the ring. */
.inner-v29 .cinema-section.is-live .cinema-skip{left:0;right:auto;top:auto;bottom:calc(6% + 24px);gap:11px;padding:8px 14px 8px 9px;
  border:1px solid #d6b87966;border-radius:2px;background:linear-gradient(180deg,#0b2848e0,#061c36eb);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 10px 24px -14px #000c;color:#f4ead6;font:600 11px/1 var(--sans);letter-spacing:.2em;text-transform:uppercase;
  transition:opacity .5s ease,transform .5s cubic-bezier(.2,.7,.2,1),border-color .3s,color .3s}
.inner-v29 .cinema-section.is-live .cinema-skip:hover,.inner-v29 .cinema-section.is-live .cinema-skip:focus-visible{color:#fff;border-color:#e2c88f}
.inner-v29 .cinema-section.is-live .cinema-skip .cinema-skip-logo{width:22px;margin:0;filter:drop-shadow(0 1px 3px #0009)}
.inner-v29 .cinema-section.is-live .cinema-skip .ss-arrow{width:12px;height:12px;stroke:#d6b879;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.inner-v29 .cinema-section.is-live .cinema-skip:hover .ss-arrow,.inner-v29 .cinema-section.is-live .cinema-skip:focus-visible .ss-arrow{transform:translateY(3px)}
.inner-v29 .cinema-section.is-live.is-ending .cinema-skip{opacity:0;transform:translateY(6px);pointer-events:none}
/* 2. The counter leaves room for the back-to-top button, which now also shows while the ring plays. */
.inner-v29 .cinema-section.is-live .cinema-progress{right:max(0px,calc(84px - (100vw - 100%) / 2))}
#thirty-years:focus{outline:none}
@media (max-width:760px){
  .inner-v29 .cinema-section.is-live .cinema-skip{bottom:calc(5% + 20px);font-size:10px;letter-spacing:.16em;padding:7px 12px 7px 8px;gap:9px}
  .inner-v29 .cinema-section.is-live .cinema-skip .cinema-skip-logo{width:20px}
}
@media (prefers-reduced-motion:reduce){.inner-v29 .cinema-section.is-live .cinema-skip,.inner-v29 .cinema-section.is-live .cinema-skip .ss-arrow{transition:none}}

/* ===== 18 Nov 2026 (v2): lighter dusk-to-night transition into the About ring ===== */
/* The top of the ring stage starts as a lighter twilight blue that matches the header, then darkens to the night
   sky as you scroll into the ring (about-cinema.js sets --cinema-p, 0 to 1, as you go). */
.inner-v29 .cinema-section.is-live .cinema-sticky:before{content:'';position:absolute;left:0;right:0;top:0;height:64%;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,#2d5d8f 0%,rgba(45,93,143,.78) 26%,rgba(45,93,143,.36) 56%,rgba(45,93,143,0) 100%);
  opacity:calc(1 - min(1, var(--cinema-p, 0) * 7))}
.inner-v29 .cinema-section.is-live .cinema-wrap{z-index:2}
/* Computers: the header sunset and sea reach 180px down over the top of the stage and dissolve into it (no dark band). */
@media (min-width:761px){
  .inner-v29 .page-hero.hero-to-cinema{--blend:180px;position:relative;z-index:2;padding-bottom:var(--blend);margin-bottom:calc(var(--blend) * -1);pointer-events:none;
    -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - var(--blend) - 40px),rgba(0,0,0,.8) calc(100% - var(--blend) * .7),rgba(0,0,0,.42) calc(100% - var(--blend) * .4),rgba(0,0,0,.12) calc(100% - var(--blend) * .14),transparent 100%);
    mask-image:linear-gradient(180deg,#000 calc(100% - var(--blend) - 40px),rgba(0,0,0,.8) calc(100% - var(--blend) * .7),rgba(0,0,0,.42) calc(100% - var(--blend) * .4),rgba(0,0,0,.12) calc(100% - var(--blend) * .14),transparent 100%)}
  .inner-v29 .page-hero.hero-to-cinema .hero-inner{pointer-events:auto}
  .inner-v29 .page-hero.hero-to-cinema .hero-fade{display:none}
}
/* Phones: the header's blue now ends in the same lighter twilight instead of dark navy. */
@media (max-width:760px){
  .inner-v29 .page-hero.hero-to-cinema{background:radial-gradient(120% 70% at 100% 0%,rgba(92,140,190,.30) 0%,rgba(92,140,190,0) 60%),linear-gradient(180deg,#204c7b 0%,#21507f 60%,#2d5d8f 100%)}
}
/* While the ring is starting (see apply_18nov_flash.py), the empty stage uses the same lighter evening sky. */
.cinema-pending .cinema-section:not(.is-live){background:linear-gradient(180deg,#2d5d8f 0%,#1d4573 34%,#0f2f55 70%,#132f52 100%)}

/* ===== 18 Nov 2026, change 22: About ring sits higher, plus a "Scroll to continue" cue ===== */
/* The cue shows as soon as the ring appears and stays on while the ring comes in. After the first panel is up,
   it fades out while the reader scrolls, comes back 1 s after they stop, and is gone at the end of the ring.
   Petite, with no box behind it: small spaced capitals over a slim gold arrow that drifts down. A soft navy
   shadow around the letters and the arrow keeps them readable over light and dark panels.
   Computers: "Scroll to continue", centred on the Skip row. Phones: "Scroll", on the right of that row. */
.cinema-cue{display:none}
.inner-v29 .cinema-section.is-live .cinema-cue{display:flex;position:absolute;left:50%;bottom:calc(6% + 28px);transform:translateX(-50%);
  flex-direction:column;align-items:center;gap:5px;margin:0;padding:0;pointer-events:none;
  color:#f6eedd;font:600 10px/1 var(--sans);letter-spacing:.24em;text-transform:uppercase;white-space:nowrap;
  text-shadow:0 0 2px #061c36,0 1px 3px #061c36d9,0 0 12px #061c3699;
  opacity:0;transition:opacity .35s ease}
.inner-v29 .cinema-section.is-live.is-ready:not(.is-scrolling):not(.is-ending) .cinema-cue{opacity:1;transition:opacity .7s ease .1s}
.inner-v29 .cinema-cue>span{margin-right:-.24em}
.inner-v29 .cinema-cue .ss-arrow{width:16px;height:16px;flex:none;fill:none;stroke:#e2c88f;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 0 1.5px #061c36) drop-shadow(0 1px 3px #061c36b3);animation:ss-cue 1.6s cubic-bezier(.45,0,.3,1) infinite}
@keyframes ss-cue{0%{transform:translateY(-3px);opacity:0}20%{opacity:1}75%{opacity:1}100%{transform:translateY(5px);opacity:0}}
@media (max-width:760px){
  .inner-v29 .cinema-section.is-live .cinema-cue{left:auto;right:6px;bottom:calc(5% + 23px);transform:none;gap:4px;font-size:9px;letter-spacing:.2em}
  .inner-v29 .cinema-cue>span{margin-right:-.2em}
  .inner-v29 .cinema-cue .cinema-cue-more{display:none}
  .inner-v29 .cinema-cue .ss-arrow{width:14px;height:14px}
}
@media (prefers-reduced-motion:reduce){.inner-v29 .cinema-cue .ss-arrow{animation:none}}

/* 30 Nov (d): the button under the page title gets room above it and one size on every page */.inner-v29 .page-hero .hero-actions{margin-top:30px}.inner-v29 .page-hero .hero-actions .btn-line{min-height:48px;padding:12px 22px;gap:14px;font-size:14px}@media(max-width:760px){.inner-v29 .page-hero .hero-actions{margin-top:22px}}@media(max-width:650px){.inner-v29 .page-hero .hero-actions .btn-line{min-height:46px;padding:11px 20px;font-size:13.5px}}
