/* Texaswide Insurance. Brand colors measured from the Texaswide logo file:
   red #A00805, blue #012269, white #FFFFFF. One more color is allowed in one place only:
   star gold #EFC00C, measured from the stars on the Texaswide agent cards, for the five review stars in room 9.
   Red never sits on blue and blue never sits on red (too little contrast). */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --red: #A00805;
  --blue: #012269;
  --white: #FFFFFF;
  --blue-rgb: 1, 34, 105;
  --white-rgb: 255, 255, 255;
  --gold: #EFC00C;
  /* Three column edges for the whole site. Everything starts on one of them. */
  --edge-1: clamp(20px, 5.5vw, 88px);
  --edge-2: 50%;
  --edge-3: calc(100% - clamp(20px, 5.5vw, 88px) - 28vw);
  --top-h: 80px;
  --bar-h: 0px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  /* Headline font. One place to change it once Trebor picks. */
  --head: var(--serif);
  --head-w: 500;
  --head-scale: 1;
  --head-track: -0.012em;
  --head-lh: 1;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--blue); color: var(--white); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-w); margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--red); color: var(--white); padding: 14px 20px; font-weight: 600; }
.skip:focus { left: var(--edge-1); top: 12px; }

:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.room--white :focus-visible, .top :focus-visible { outline-color: var(--blue); }

/* Buttons. Square corners, never pills. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 2px; border: 2px solid var(--red); font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.btn--red { background: var(--red); color: var(--white); }
.btn--line { background: rgba(var(--blue-rgb), 0.6); color: var(--white); border-color: var(--white); }
@media (hover: hover) {
  .btn--red:hover { background: var(--white); color: var(--red); }
  .btn--line:hover { background: var(--white); color: var(--blue); }
}

/* Always on screen: white top bar carrying the real logo */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--edge-1); background: var(--white); border-bottom: 3px solid var(--red); }
.top__mark { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
.top__mark img { height: 54px; width: auto; }
.top__actions { display: flex; align-items: center; gap: 12px; }
.top__lang { display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; color: var(--blue); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.top__lang:hover { text-decoration: underline; text-underline-offset: 6px; }
.top__call { min-height: 48px; padding: 0 22px; }

/* Rooms */
.room { position: relative; }
.room--blue { background: var(--blue); color: var(--white); }
.room--white { background: var(--white); color: var(--blue); }
.room__inner { position: relative; padding: calc(var(--top-h) + 72px) var(--edge-1) calc(96px + var(--bar-h)); min-height: 100vh; min-height: 100svh; }

/* Room 1. Front door */
.door { height: 100vh; height: 100svh; }
.js:not(.calm) .door { height: 200vh; height: 200svh; }
.door__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film, .film picture, .film__poster, .film__video, .film__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.film__poster, .film__video { object-fit: cover; }
.film__video { opacity: 0; transition: opacity 0.6s ease; }
.film--live .film__video { opacity: 1; }
.calm .film__video { display: none; }
.film__shade { background:
  linear-gradient(to top, rgba(var(--blue-rgb), 0.94) 0%, rgba(var(--blue-rgb), 0.5) 44%, rgba(var(--blue-rgb), 0) 72%),
  linear-gradient(to right, rgba(var(--blue-rgb), 0.55) 0%, rgba(var(--blue-rgb), 0) 62%); }
.film__shade::after { content: ""; position: absolute; inset: 0; background: var(--blue); opacity: var(--dim, 0); }

.door__copy { position: absolute; left: var(--edge-1); right: var(--edge-1); bottom: clamp(72px, 13vh, 150px); max-width: 900px; opacity: var(--copy, 1); transform: translate3d(0, calc((1 - var(--copy, 1)) * -28px), 0); }
.door__copy h1 { font-size: calc(clamp(46px, 7.4vw, 116px) * var(--head-scale)); line-height: var(--head-lh); letter-spacing: var(--head-track); color: var(--white); text-wrap: balance; }
.door__sub { margin-top: 22px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--white); max-width: 34em; }
.door__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Room 2 rises over the dimmed film */
.js:not(.calm) .fork { margin-top: -100vh; margin-top: -100svh; z-index: 2; }
.fork h2 { font-size: calc(clamp(38px, 5.4vw, 84px) * var(--head-scale)); line-height: calc(var(--head-lh) + 0.04); letter-spacing: var(--head-track); color: var(--blue); }

/* The trip across Texas: the place you are looking at, named in the corner */
.trip { position: absolute; left: var(--edge-1); top: calc(var(--top-h) + clamp(22px, 5vh, 56px)); width: min(46vw, 520px); color: var(--white); opacity: var(--copy, 1); pointer-events: none; }
.trip__ticks { display: flex; gap: 6px; }
.trip__ticks i { display: block; width: 22px; height: 3px; background: var(--white); opacity: 0.34; transition: opacity 0.5s ease, width 0.5s ease; }
.trip__ticks i.on { opacity: 1; width: 38px; }
.trip__list { position: relative; margin: 14px 0 0; padding: 0; list-style: none; }
.trip__stop { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 0.5s ease, transform 0.5s ease; }
.trip__stop.on { opacity: 1; transform: none; }
.trip__where { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-wrap: balance; }
.trip__name { display: block; margin-top: 4px; font-family: var(--head); font-weight: var(--head-w); font-size: clamp(30px, 3.5vw, 54px); line-height: 1.04; letter-spacing: var(--head-track); text-wrap: balance; text-shadow: 0 2px 18px rgba(var(--blue-rgb), 0.5); }
.trip__where { text-shadow: 0 1px 10px rgba(var(--blue-rgb), 0.6); }

/* The headline arrives one word at a time, then the line under it, then the buttons */
.js:not(.calm) .door__copy h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.js:not(.calm) .door__copy h1 .w > span { display: inline-block; transform: translate3d(0, 108%, 0); animation: tw-rise 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: calc(var(--i) * 85ms + 250ms); }
.js:not(.calm) .door__sub { opacity: 0; animation: tw-in 0.7s ease forwards; animation-delay: 0.85s; }
.js:not(.calm) .door__actions { opacity: 0; animation: tw-in 0.7s ease forwards; animation-delay: 1.05s; }
@keyframes tw-rise { to { transform: none; } }
@keyframes tw-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }

/* The umbrella from the logo. One fixed layer; the script glides it to a perch in each room. */
/* RULING (Trebor, Nov 14): the umbrella is NEVER recolored. Red top, navy people, exactly as the logo.
   Navy cannot be seen on a dark room, so over dark rooms and photos it sits on a white badge. */
.pal { position: fixed; left: 0; top: 0; z-index: 35; width: 200px; height: 159.375px; pointer-events: none; transform-origin: 50% 50%; will-change: transform; }
.pal::before { content: ""; position: absolute; left: 50%; top: 50%; width: 136%; aspect-ratio: 1; margin: -68% 0 0 -68%; border-radius: 50%; background: var(--white); box-shadow: 0 18px 44px rgba(var(--blue-rgb), 0.45); transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 1.3, 0.4, 1); }
.pal--light::before { opacity: 0; }
.js:not(.calm) .pal:not(.pal--open)::before { transform: scale(0); }
.pal svg { position: relative; display: block; width: 100%; height: 100%; overflow: visible; }
.pal__canopy path { fill: var(--red); }
.pal__p { fill: var(--blue); }
.pal__canopy, .pal__p { transform-box: fill-box; }
.pal__canopy { transform-origin: 50% 100%; }
.js:not(.calm) .pal__canopy { transform: translate3d(0, 46px, 0) scale(0.16, 0.5); opacity: 0; }
.js:not(.calm) .pal__p { transform: translate3d(0, 44px, 0); opacity: 0; }
.js:not(.calm) .pal--open .pal__canopy { transform: none; opacity: 1; transition: transform 0.95s cubic-bezier(0.2, 1.5, 0.4, 1) 0.45s, opacity 0.3s ease 0.45s; }
.js:not(.calm) .pal--open .pal__p { transform: none; opacity: 1; transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.4s ease; }
.js:not(.calm) .pal--open .pal__p1 { transition-delay: 0.95s; }
.js:not(.calm) .pal--open .pal__p2 { transition-delay: 1.1s; }
.js:not(.calm) .pal--open .pal__p3 { transition-delay: 1.25s; }
.js:not(.calm) .pal--open .pal__p4 { transition-delay: 1.45s; }
.door__perch { position: absolute; right: calc(var(--edge-1) + 5vw); top: 26vh; width: min(21vw, 300px); aspect-ratio: 512 / 408; pointer-events: none; }

/* ---------- The canopy. Texaswide's own texture: one big open umbrella over the room: bowed ribs fanning out from the
   corner where the umbrella sits, ending in one scalloped hem. No rings, so it never reads as a web. Tone on tone in the room's own ink. It is the shape of a canopy,
   never the logo and never the umbrella with its people in another color. A fine paper grain sits over the flat color.
   It sways a few degrees by itself, only in the room on screen (each canopy is a large layer). Reduced motion holds it still.
   On every room after the front door. ---------- */
.canopy { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.canopy svg { position: absolute; top: calc(var(--top-h) + 96px); right: calc(var(--edge-1) + 66px); width: max(150vw, 135vh); height: max(150vw, 135vh); overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: 0.14; transform-origin: 100% 0; }
.canopy::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.004  0 0 0 0 0.133  0 0 0 0 0.412  1.5 0 0 0 -0.6'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.11; }
.room--blue .canopy svg { opacity: 0.2; }
.room--blue .canopy::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  1.5 0 0 0 -0.6'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: 0.08; }
@keyframes tw-canopy { from { transform: rotate(-2.4deg); } to { transform: rotate(2.4deg); } }
.js:not(.calm) .room.here .canopy svg { animation: tw-canopy 10s ease-in-out infinite alternate; }

/* ---------- Learn More pages (#020). One page per service: the plain answer, the questions people ask, then the form
   already set to that service. Written by tools/make-pages.py. ---------- */
.room__inner > h1 { font-size: calc(clamp(38px, 5.4vw, 84px) * var(--head-scale)); line-height: calc(var(--head-lh) + 0.04); letter-spacing: var(--head-track); max-width: 17em; text-wrap: balance; }
.deep__top .room__inner { min-height: 0; padding-bottom: 96px; }
.deep__qa .room__inner { min-height: 0; padding-top: 96px; }
.deep__folds { max-width: 54em; }
/* ---------- Learn More pages: the opening film (#025). A short silent loop over a still, under the top bar. The headline sits on its shaded foot.
   The script plays it only while it is on screen. Reduced motion shows the still and never fetches the film. ---------- */
.pfilm { position: relative; height: clamp(230px, 36vw, 44vh); margin-top: var(--top-h); overflow: hidden; }
.pfilm__poster, .pfilm__video, .pfilm__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.pfilm__poster, .pfilm__video { object-fit: cover; object-position: 50% 42%; }
.pfilm__video { opacity: 0; transition: opacity 0.6s ease; }
.pfilm--live .pfilm__video { opacity: 1; }
.calm .pfilm__video { display: none; }
.pfilm__shade { background: linear-gradient(to top, rgba(var(--blue-rgb), 1) 0%, rgba(var(--blue-rgb), 0.6) 24%, rgba(var(--blue-rgb), 0) 58%); }
.deep__top--film .room__inner { padding-top: 0; margin-top: -58px; }
/* ---------- Privacy and Terms (#024). Plain words in short parts. ---------- */
.legal .room__inner { padding-top: 72px; }
.legal__date { font-size: 16px; }
.legal__part { max-width: 44em; }
.legal__part + .legal__part { margin-top: 44px; }
.legal__part h2 { font-size: calc(clamp(26px, 2.6vw, 36px) * var(--head-scale)); line-height: 1.15; letter-spacing: var(--head-track); }
.legal__part p, .legal__part ul { margin: 14px 0 0; }
.legal__part ul { padding-left: 1.2em; }
.legal__part li + li { margin-top: 6px; }
.legal__quote { padding: 14px 18px; border-left: 4px solid var(--red); font-weight: 600; }
.legal__part a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-underline-offset: 5px; }
.deep__folds .fold__btn { min-height: 76px; }
.deep__folds .fold__name { font-size: calc(26px * (0.5 + var(--head-scale) / 2)); }
.room--white .tpmo { border-color: var(--blue); }
.lead a { display: inline-flex; align-items: center; min-height: 48px; color: inherit; font-weight: 600; text-underline-offset: 5px; }

/* Room 2. The fork: six doors. The sixth is for someone who only wants to look around. */
.fork h2 { max-width: calc(100% - 170px); }
.fork__perch { position: absolute; right: var(--edge-1); top: calc(var(--top-h) + 58px); width: 132px; aspect-ratio: 512 / 408; pointer-events: none; }
.gates { margin-top: 64px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; perspective: 1500px; }
.gate { position: relative; min-height: 380px; padding: 0; border: 0; border-radius: 2px; background: var(--blue); box-shadow: inset 0 -7px 0 var(--red); color: var(--white); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gate__in, .gate__label { font-family: var(--head); font-weight: var(--head-w); font-size: calc(31px * (0.5 + var(--head-scale) / 2)); line-height: 1.1; letter-spacing: var(--head-track); }
.gate__in { position: absolute; inset: 0; padding: 26px 16px 26px 31%; color: var(--white); }
.gate__leaf { position: absolute; inset: 0; display: block; padding: 24px 20px; background: var(--white); border: 2px solid var(--blue); border-radius: 2px; color: var(--blue); transform-origin: left center; transition: transform 0.75s cubic-bezier(0.3, 0.7, 0.2, 1), box-shadow 0.75s ease; }
.gate__leaf::before { content: ""; position: absolute; left: 16px; right: 16px; bottom: 18px; height: 40%; border: 1px solid rgba(var(--blue-rgb), 0.28); }
.gate__label { display: block; position: relative; }
.gate__knob { position: absolute; right: 16px; top: 50%; width: 15px; height: 15px; margin-top: -7px; border-radius: 50%; background: var(--red); }
.gate[aria-pressed="true"] .gate__leaf { transform: rotateY(-77deg); box-shadow: 22px 0 34px rgba(var(--blue-rgb), 0.3); }
@media (hover: hover) { .gate[aria-pressed="false"]:hover .gate__leaf { transform: rotateY(-12deg); } }
.gate__perch { position: absolute; top: -82px; right: 10px; width: 100px; aspect-ratio: 512 / 408; pointer-events: none; }
.js:not(.calm) .fork .gate { opacity: 0; transform: translate3d(0, 48px, 0); transition: opacity 0.6s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1); transition-delay: calc(var(--i) * 110ms); }
.js:not(.calm) .fork.in .gate { opacity: 1; transform: none; }

/* Always on screen: corner marker */
.marker { position: fixed; right: var(--edge-1); bottom: calc(var(--bar-h) + 20px + env(safe-area-inset-bottom, 0px)); z-index: 41; min-height: 48px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--white); border: 2px solid var(--white); border-radius: 2px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
@media (hover: hover) { .marker:hover { background: var(--white); color: var(--blue); border-color: var(--blue); } }

/* Always on screen: phone bottom bar */
.bar { display: none; }

/* Map of the 12 rooms */
.map { width: min(560px, 100vw); max-width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 3px solid var(--red); background: var(--white); color: var(--blue); }
.map::backdrop { background: rgba(var(--blue-rgb), 0.72); }
.map__inner { padding: 28px var(--edge-1) 40px 36px; }
.map__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.map__title { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin: 0; }
.map__close { min-height: 48px; min-width: 48px; padding: 0 16px; background: var(--white); border: 2px solid var(--blue); border-radius: 2px; color: var(--blue); font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.map__list { list-style: none; margin: 22px 0 0; padding: 0; counter-reset: room; }
.map__list li { counter-increment: room; border-top: 1px solid rgba(var(--blue-rgb), 0.2); }
.map__list a, .map__list span { display: flex; align-items: baseline; gap: 18px; min-height: 56px; padding: 12px 0; font-family: var(--head); font-weight: var(--head-w); font-size: calc(28px * (0.5 + var(--head-scale) / 2)); line-height: 1.1; color: var(--blue); text-decoration: none; }
.map__list a::before, .map__list span::before { content: counter(room, decimal-leading-zero); font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; color: var(--red); min-width: 28px; }
.map__list span { color: rgba(var(--blue-rgb), 0.45); }
.map__list span::before { color: rgba(var(--blue-rgb), 0.45); }
.map__list a[aria-current="true"] { color: var(--red); }
@media (hover: hover) { .map__list a:hover { color: var(--red); } }
.map__stamp { margin-top: 26px; font-size: 14px; letter-spacing: 0.06em; color: rgba(var(--blue-rgb), 0.6); }

/* ---------- Rooms 3 to 12 ---------- */
.room__inner > h2:not(#fork-h) { font-size: calc(clamp(38px, 5.4vw, 84px) * var(--head-scale)); line-height: calc(var(--head-lh) + 0.04); letter-spacing: var(--head-track); max-width: min(calc(100% - 190px), 17em); min-height: 1.9em; text-wrap: balance; }
h3 { margin-top: 56px; font-size: calc(clamp(28px, 3vw, 44px) * var(--head-scale)); line-height: 1.1; letter-spacing: var(--head-track); }
.room__perch { position: absolute; right: calc(var(--edge-1) + 18px); top: calc(var(--top-h) + 44px); width: 104px; aspect-ratio: 512 / 408; pointer-events: none; }
.lead { margin-top: 22px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.5; max-width: 34em; }
.note { margin-top: 16px; max-width: 40em; }
.room__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn--more { background: transparent; border-color: currentColor; color: inherit; }
@media (hover: hover) {
  .room--blue .btn--more:hover { background: var(--white); color: var(--blue); border-color: var(--white); }
  .room--white .btn--more:hover, .lead-form .btn--more:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
}

/* Each room's pieces arrive one after another when you reach it */
@keyframes tw-up { from { opacity: 0; transform: translate3d(0, 34px, 0); } to { opacity: 1; transform: none; } }
.js:not(.calm) .room:not(.in) .rise { opacity: 0; }
.js:not(.calm) .room.in .rise { animation: tw-up 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* Cards that open one at a time (Medicare parts, kinds of life insurance, home and auto) */
.folds { margin-top: 44px; display: grid; gap: 14px; align-items: start; }
.parts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.halves { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
.fold { border: 2px solid currentColor; border-radius: 2px; transition: background-color 0.3s ease, color 0.3s ease; }
.fold__btn { width: 100%; min-height: 104px; display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: transparent; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.fold__letter { font-family: var(--head); font-weight: var(--head-w); font-size: 68px; line-height: 0.9; }
.fold__name { flex: 1; font-family: var(--head); font-weight: var(--head-w); font-size: calc(30px * (0.5 + var(--head-scale) / 2)); line-height: 1.1; letter-spacing: var(--head-track); }
.fold__sign { position: relative; flex: none; width: 20px; height: 20px; transition: transform 0.35s ease; }
.fold__sign::before, .fold__sign::after { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: currentColor; }
.fold__sign::after { transform: rotate(90deg); }
.fold[data-open] .fold__sign { transform: rotate(45deg); }
.fold__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s ease; }
.fold__body > p { min-height: 0; overflow: hidden; padding: 0 20px; visibility: hidden; transition: visibility 0s linear 0.45s, padding 0.45s ease; }
.fold[data-open] .fold__body, html:not(.js) .fold__body { grid-template-rows: 1fr; }
.fold[data-open] .fold__body > p, html:not(.js) .fold__body > p { padding-bottom: 22px; visibility: visible; transition-delay: 0s; }
.room--blue .fold[data-open] { background: var(--white); color: var(--blue); border-color: var(--white); }
.room--white .fold[data-open] { background: var(--blue); color: var(--white); }

/* Room 3. Medicare: the seven month window */
.months { margin-top: 22px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; max-width: 1040px; }
.month { min-height: 60px; padding: 0; border: 2px solid rgba(var(--white-rgb), 0.5); border-radius: 2px; background: transparent; color: var(--white); font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; transition-delay: calc(var(--k, 0) * 55ms); }
.month.lit { background: var(--white); color: var(--blue); border-color: var(--white); }
.month[aria-pressed="true"] { box-shadow: inset 0 -7px 0 var(--red); }
.months__out { margin-top: 20px; min-height: 2.5em; font-family: var(--head); font-weight: var(--head-w); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.2; max-width: 26em; }
.asks { margin: 16px 0 0; padding-left: 1.2em; max-width: 36em; }
.asks li + li { margin-top: 8px; }
.tpmo { margin-top: 56px; padding: 22px 24px; border: 2px solid var(--white); border-radius: 2px; max-width: 62em; }
.tpmo p + p { margin-top: 12px; }
.tpmo__else { font-weight: 600; }

/* Room 4. Family health: what to bring */
.ticks { margin-top: 20px; display: grid; gap: 12px; max-width: 760px; }
.tick { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 18px; border: 2px solid var(--blue); border-radius: 2px; background: var(--white); color: var(--blue); font: inherit; text-align: left; cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease; -webkit-tap-highlight-color: transparent; }
.tick__box { position: relative; flex: none; width: 28px; height: 28px; border: 2px solid currentColor; }
.tick[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.tick[aria-pressed="true"] .tick__box::after { content: ""; position: absolute; left: 8px; top: 2px; width: 8px; height: 15px; border: solid currentColor; border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Room 7. How it works: three steps that take turns */
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step { padding: 28px 24px 36px; border-top: 3px solid rgba(var(--white-rgb), 0.35); transition: border-color 0.6s ease, background-color 0.6s ease; }
.step.on, .calm .step { border-top-color: var(--white); background: rgba(var(--white-rgb), 0.08); }
.step__n { display: block; font-family: var(--head); font-weight: var(--head-w); font-size: clamp(84px, 9vw, 150px); line-height: 1.1; opacity: 0.4; transition: opacity 0.6s ease; }
.step.on .step__n, .calm .step__n { opacity: 1; }
.step__t { display: block; margin-top: 18px; font-family: var(--head); font-weight: var(--head-w); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: var(--head-track); }

/* Room 8. The people: tap a face for the role and a direct line */
.team { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .team { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .gates { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 96px; } .gate { min-height: 240px; } }
.agent { overflow: hidden; }
.agent .fold__btn { position: relative; display: block; min-height: 0; padding: 0; }
/* Brand stripes behind every agent. The photos are cut out, so the stripes are drawn here and stay sharp. Red and blue never touch: white sits between them. */
.agent__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--white) linear-gradient(125deg, var(--red) 6.9%, var(--white) 7.1%, var(--white) 9.9%, var(--blue) 10.1%, var(--blue) 18.9%, var(--white) 19.1%, var(--white) 21.9%, var(--red) 22.1%, var(--red) 25.4%, var(--white) 25.6%); }
.agent__img--none { display: flex; align-items: center; justify-content: center; color: var(--blue); font-family: var(--head); font-weight: var(--head-w); font-size: 96px; line-height: 1; }
.agent__name { display: block; min-height: 3.1em; padding: 14px 42px 12px 14px; font-family: var(--head); font-weight: var(--head-w); font-size: calc(24px * (0.5 + var(--head-scale) / 2)); line-height: 1.1; letter-spacing: var(--head-track); }
.agent .fold__sign { position: absolute; right: 14px; bottom: 22px; }
.agent .fold__body > p { padding: 0 14px; }
.agent[data-open] .fold__body > p { padding-bottom: 12px; }
.agent__role { display: block; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.agent__call { display: inline-flex; align-items: center; min-height: 48px; color: inherit; font-weight: 600; text-underline-offset: 5px; }

/* Room 9. The proof: gold stars fill in one at a time, then all five flash, then it starts over */
.stars { margin-top: 44px; display: flex; gap: clamp(8px, 1.6vw, 22px); }
.star { width: clamp(46px, 9vw, 120px); height: auto; overflow: visible; }
.star__base { fill: var(--gold); stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; transition: fill-opacity 0.3s ease; }
/* Cut like a medal: ten faces, lit from the upper left with white and shaded with navy over the gold, then a fine grain. No new colors. */
.star__lit { fill: var(--white); }
.star__dark { fill: var(--blue); }
.star__grain { fill: var(--white); opacity: 0.2; }
.star__cut, .star__grain { transition: opacity 0.3s ease; }
.defs { position: absolute; width: 0; height: 0; }
@keyframes tw-pop { 0% { transform: scale(0.82); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes tw-flash { 0%, 100% { opacity: 1; } 50% { opacity: 0.18; } }
.js:not(.calm) .proof .star .star__base { fill-opacity: 0; }
.js:not(.calm) .proof .star.on .star__base { fill-opacity: 1; }
.js:not(.calm) .proof .star .star__cut, .js:not(.calm) .proof .star .star__grain { opacity: 0; }
.js:not(.calm) .proof .star.on .star__cut { opacity: 1; }
.js:not(.calm) .proof .star.on .star__grain { opacity: 0.2; }
.js:not(.calm) .proof .star.on { animation: tw-pop 0.4s ease; }
.js:not(.calm) .proof .stars.flash .star.on { animation: tw-flash 0.5s ease-in-out 3; }

/* Room 10. Texas draws itself, then home lights up */
/* Room 9. Review cards: real lines from Google, drifting across in one row. THE ROW NEVER STOPS AND TAKES NO TAPS (#031, Trebor, Nov 17 2026):
   while it runs, a finger or a pointer goes straight through it, so nothing can hold it. The only thing to tap in this room is Read them on Google.
   Without the script, or with reduced motion, the row stands still and swipes by hand. The red rule sits inside the white card, never on blue. */
.quotes { margin: 44px calc(-1 * var(--edge-1)) 0; padding: 0 var(--edge-1) 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quotes__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.quote { flex: none; width: min(78vw, 400px); margin-right: 20px; padding: 26px 26px 22px; display: flex; flex-direction: column; justify-content: space-between; background: var(--white); color: var(--blue); border-radius: 2px; scroll-snap-align: start; }
.quote::before { content: ""; display: block; width: 40px; height: 3px; margin-bottom: 18px; background: var(--red); }
.quote__text { margin: 0; }
.quote__text p { font-family: var(--head); font-weight: var(--head-w); font-size: calc(27px * (0.5 + var(--head-scale) / 2)); line-height: 1.2; letter-spacing: var(--head-track); }
.quote__by { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 14px; }
.quote__name { font-weight: 600; }
.quote__src { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.js:not(.calm) .quotes.run { overflow: hidden; pointer-events: none; }
.js:not(.calm) .room.in .quotes.run .quotes__track { animation: tw-quotes var(--q-dur, 60s) linear infinite; }
@keyframes tw-quotes { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* Other states the agency is licensed in. Names come up one after another. Square tags, never pills. */
.states { margin-top: 22px; }
.states__lead { font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.states__list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.state { padding: 9px 16px; border: 2px solid var(--blue); border-radius: 2px; font-weight: 600; line-height: 1.3; }
.texas__grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.texas__map { width: 100%; height: auto; max-height: 78vh; overflow: visible; }
.texas__line { fill: rgba(var(--blue-rgb), 0.05); stroke: var(--blue); stroke-width: 4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.texas__stop { fill: var(--blue); }
.texas__home { fill: var(--red); }
.texas__ring { fill: none; stroke: var(--red); stroke-width: 3; transform-box: fill-box; transform-origin: center; opacity: 0; }
@keyframes tw-ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(3.4); opacity: 0; } }
.js:not(.calm) .texas .texas__line { transition: stroke-dashoffset 2.4s ease 0.2s; }
.js:not(.calm) .texas .texas__stop, .js:not(.calm) .texas .texas__home { transition: opacity 0.5s ease 2.3s; }
.js:not(.calm) .texas:not(.in) .texas__line { stroke-dashoffset: 1; }
.js:not(.calm) .texas:not(.in) .texas__stop, .js:not(.calm) .texas:not(.in) .texas__home { opacity: 0; }
.js:not(.calm) .texas.in .texas__ring { animation: tw-ping 2.2s ease-out 2.7s infinite; }
.texas__photo { width: 100%; height: auto; border-radius: 2px; }
.texas__side h3 { margin-top: 30px; font-size: calc(clamp(26px, 2.4vw, 36px) * var(--head-scale)); }
.offices { list-style: none; margin: 12px 0 0; padding: 0; }
.office { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 4px 18px; padding: 14px 0; border-top: 1px solid rgba(var(--blue-rgb), 0.2); }
.office__city { font-weight: 600; }
.office--soon .office__city { align-self: center; color: var(--red); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.office__link { grid-column: 2; display: inline-flex; align-items: center; min-height: 48px; color: var(--blue); font-weight: 600; text-underline-offset: 5px; }

/* Room 11. Talk to us: the number, then three short steps */
.talk__phone { margin-top: 20px; }
.talk__phone a { display: inline-flex; align-items: center; min-height: 56px; font-family: var(--head); font-weight: var(--head-w); font-size: clamp(44px, 6vw, 92px); line-height: 1; color: var(--white); text-decoration: none; }
.lead-form { margin-top: 36px; max-width: 720px; padding: 28px; background: var(--white); color: var(--blue); border-radius: 2px; }
.lead-form :focus-visible { outline-color: var(--blue); }
.lf__step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.lf__step.on { display: block; }
html:not(.js) .lf__step { display: block; margin-bottom: 26px; }
/* The questionnaire (#019). Stage 1 is short and required; the lead is sent at the end of it. Stage 2 is optional and comes after.
   With scripts off there are no question screens: the need, the name, the phone and the ZIP are enough. */
html:not(.js) .lf__q, .lf__more, .lf__end { display: none; }
.lead-form.more .lf__more { display: block; margin-top: 16px; font-weight: 600; }
.lead-form.ended .lf__end { display: block; margin-top: 16px; font-weight: 600; }
.lead-form.sent .lf__q { margin-top: 22px; }
.lf__short { display: none; margin-top: 14px; line-height: 1.5; }
.lf__short a { display: inline-flex; align-items: center; min-height: 48px; color: var(--blue); font-weight: 600; text-underline-offset: 5px; }
.lead-form.lf--short .lf__short { display: block; }
.lead-form.lf--short .lf__zip { display: none; }
.lf__note { margin-top: 12px; line-height: 1.5; }
.lf__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.lf__pair .lf__lab { grid-row: 1; }
.lf__pair .lf__in { grid-row: 2; }
select.lf__in { cursor: pointer; }
.lf__what { margin-top: 14px; }
.lf__what summary { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; cursor: pointer; list-style: none; }
.lf__what summary::-webkit-details-marker { display: none; }
.lf__what summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 2px solid var(--blue); border-radius: 2px; font-size: 20px; line-height: 1; }
.lf__what[open] summary::before { content: "\2212"; }
.lf__what p { margin-top: 6px; line-height: 1.5; }
.lf__step legend { padding: 0; font-family: var(--head); font-weight: var(--head-w); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: var(--head-track); }
.lf__count { display: block; margin-bottom: 8px; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.lf__needs { margin-top: 18px; display: grid; gap: 10px; }
.lf__needs--row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lf__needs--row .need { justify-content: center; padding: 0 8px; text-align: center; }
.lf__needs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.need { position: relative; display: flex; align-items: center; min-height: 56px; padding: 0 18px; border: 2px solid var(--blue); border-radius: 2px; font-weight: 600; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
.need input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.need:has(input:checked) { background: var(--blue); color: var(--white); }
.need:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.lf__lab { display: block; margin-top: 18px; font-weight: 600; }
.lf__in { display: block; width: 100%; min-height: 60px; margin-top: 12px; padding: 0 16px; border: 2px solid var(--blue); border-radius: 2px; background: var(--white); color: var(--blue); font: inherit; font-size: 22px; }
.lf__err { min-height: 1.6em; margin-top: 6px; color: var(--red); font-weight: 600; }
.lf__perm { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.lf__perm a { display: inline-flex; align-items: center; min-height: 48px; color: var(--blue); font-weight: 600; text-underline-offset: 5px; }
.lf__nav { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
/* A question goes straight to the phone (Trebor, Nov 15, 11:40 PM): one Call now button, flashing so it is the thing to tap.
   It dials the office. Reduced motion holds it still. */
.lf__call { display: none; }
.lf__call.on { display: block; }
html:not(.js) .lf__call { display: block; margin-bottom: 26px; }
.lead-form.sent .lf__call { display: none; }
.lf__callq { font-family: var(--head); font-weight: var(--head-w); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: var(--head-track); }
.lf__callbtn { position: relative; margin-top: 22px; min-height: 68px; padding: 0 44px; font-size: 19px; }
.lf__callbtn::after { content: ""; position: absolute; inset: -2px; border: 2px solid var(--red); border-radius: 2px; opacity: 0; pointer-events: none; }
.lf__callnum { margin-top: 14px; font-size: 22px; font-weight: 600; }
@keyframes tw-call { from { background-color: var(--red); color: var(--white); } to { background-color: var(--white); color: var(--red); } }
@keyframes tw-call-ring { from { transform: scale(1); opacity: 0.85; } to { transform: scale(1.14, 1.5); opacity: 0; } }
.js:not(.calm) .lf__call.on .lf__callbtn { animation: tw-call 0.55s ease-in-out infinite alternate; }
.js:not(.calm) .lf__call.on .lf__callbtn::after { animation: tw-call-ring 1.1s ease-out infinite; }
.lf__done { display: none; }
/* Bot protection (#028). One field no person sees or reaches: off the screen, out of the tab order, hidden from screen readers. Only a bot fills it. */
.lf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form.sent .lf__step:not(.lf__q) { display: none; }
.lead-form.sent .lf__done { display: block; font-family: var(--head); font-weight: var(--head-w); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
.lead-form.failed .lf__done { display: block; margin-top: 18px; color: var(--red); font-weight: 600; }

/* Room 12. The Acuna family: five doors out */
.kin { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.kin__door { position: relative; display: flex; align-items: flex-start; min-height: 240px; padding: 22px 40px 22px 18px; border: 2px solid var(--blue); border-radius: 2px; background: var(--white); box-shadow: inset 0 -7px 0 var(--red); color: var(--blue); font-family: var(--head); font-weight: var(--head-w); font-size: calc(28px * (0.5 + var(--head-scale) / 2)); line-height: 1.1; letter-spacing: var(--head-track); text-decoration: none; transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s ease; }
.kin__knob { position: absolute; right: 16px; top: 50%; width: 15px; height: 15px; margin-top: -7px; border-radius: 50%; background: var(--red); }
@media (hover: hover) { .kin__door:hover { background: var(--blue); color: var(--white); transform: translate3d(0, -6px, 0); } }

/* ---------- Footer. Blue, after the white room 12. Office details, the Medicare disclaimer by county, privacy and terms. ---------- */
.foot { position: relative; background: var(--blue); color: var(--white); }
.foot__inner { padding: 72px var(--edge-1) calc(96px + var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
.foot__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot__plate { display: inline-flex; padding: 12px 18px; background: var(--white); border-radius: 2px; }
.foot__plate img { height: 54px; width: auto; }
.foot__line { font-family: var(--head); font-weight: var(--head-w); font-size: calc(30px * (0.5 + var(--head-scale) / 2)); line-height: 1.15; letter-spacing: var(--head-track); max-width: 22em; }
.foot__cols { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; max-width: 62em; }
.foot__h { margin: 0 0 4px; font-family: var(--sans); font-size: 14px; font-weight: 600; line-height: 1.55; letter-spacing: 0.14em; text-transform: uppercase; }
.foot__h--med { margin-top: 44px; }
.foot__hours { margin-top: 10px; max-width: 24em; }
.foot__link { display: inline-flex; align-items: center; min-height: 48px; color: var(--white); font-weight: 600; text-underline-offset: 5px; }
.foot__tpmo { margin-top: 10px; }
.foot__legal { margin-top: 40px; padding-top: 10px; max-width: 1116px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 28px; border-top: 1px solid rgba(var(--white-rgb), 0.3); font-size: 16px; }
.foot__c { padding: 12px 0; }
.foot__pol { display: flex; flex-wrap: wrap; gap: 0 28px; }

/* Phone */
@media (max-width: 720px) {
  :root { --top-h: 68px; --bar-h: 60px; }
  .top__call { display: none; }
  .top__mark img { height: 46px; }
  .top__lang { padding: 0 4px 0 14px; }
  .door__copy { bottom: calc(var(--bar-h) + 92px + env(safe-area-inset-bottom, 0px)); }
  .door__copy h1 { font-size: calc(clamp(44px, 13.2vw, 64px) * var(--head-scale)); }
  .door__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .film__shade { background: linear-gradient(to top, rgba(var(--blue-rgb), 0.96) 0%, rgba(var(--blue-rgb), 0.62) 48%, rgba(var(--blue-rgb), 0) 80%), linear-gradient(to bottom, rgba(var(--blue-rgb), 0.5) 0%, rgba(var(--blue-rgb), 0) 34%); }
  .bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--blue); border-top: 2px solid var(--white); }
  .bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; color: var(--white); font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
  .bar a:first-child { background: var(--red); }
  /* #032 (Trebor, Nov 17 2026). On a phone the room counter lives IN the bottom bar, between Call and Talk to us, and shows the number only.
     Before, it floated above the bar, 200 wide on a 390 screen, and sat on top of buttons in most rooms (found on Read them on Google in room 9).
     Now it covers nothing the bar does not already cover. The room's name is in the map it opens. Wider screens keep the corner counter. */
  .marker { right: auto; left: 50%; bottom: env(safe-area-inset-bottom, 0px); width: 76px; height: var(--bar-h); margin-left: -38px; padding: 0; justify-content: center; background: var(--white); color: var(--blue); border: 0; border-top: 2px solid var(--white); border-radius: 0; letter-spacing: 0.04em; }
  .marker__name, .marker > span[aria-hidden] { display: none; }
  .marker ~ .bar { grid-template-columns: 1fr 76px 1fr; }
  .marker ~ .bar a:last-child { grid-column: 3; }
  .door__perch { right: calc(var(--edge-1) + 22px); top: calc(var(--top-h) + 9vh); width: 34vw; }
  .trip { top: calc(var(--top-h) + 22px); width: 42vw; }
  .trip__ticks { gap: 4px; }
  .trip__ticks i { width: 12px; }
  .trip__ticks i.on { width: 24px; }
  .trip__where { letter-spacing: 0.1em; }
  .trip__name { font-size: 30px; }
  .fork h2 { max-width: calc(100% - 100px); }
  .fork__perch { top: calc(var(--top-h) + 30px); width: 84px; }
  .gates { margin-top: 44px; grid-template-columns: 1fr; gap: 14px; perspective: 900px; }
  .gate { min-height: 96px; }
  .gate__leaf { padding: 20px 52px 20px 18px; }
  .gate__in { padding: 20px 18px 20px 19%; }
  .gate__in, .gate__label { font-size: calc(26px * (0.5 + var(--head-scale) / 2)); }
  .gate__leaf::before { display: none; }
  .gate[aria-pressed="true"] .gate__leaf { transform: rotateY(-83deg); }
  .gate__perch { top: -56px; right: 14px; width: 74px; }
  .room__inner > h2:not(#fork-h) { max-width: calc(100% - 112px); min-height: 0; }
  .room__perch { right: var(--edge-1); top: calc(var(--top-h) + 30px); width: 84px; }
  h3 { margin-top: 44px; }
  .room__actions { flex-direction: column; align-items: stretch; }
  .parts, .kinds, .halves { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .agent .fold__btn { min-height: 0; }
  .agent__name { font-size: calc(22px * (0.5 + var(--head-scale) / 2)); padding-right: 38px; }
  .agent__call { font-size: 16px; }
  .fold__btn { min-height: 84px; }
  .fold__letter { font-size: 54px; }
  .months { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .tpmo { padding: 18px 16px; }
  .steps { display: flex; gap: 14px; margin-right: calc(var(--edge-1) * -1); padding-right: var(--edge-1); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .step { flex: 0 0 78%; scroll-snap-align: start; }
  .texas__grid { grid-template-columns: 1fr; }
  .office { grid-template-columns: 1fr; }
  .office__link { grid-column: 1; }
  .lead-form { padding: 20px 16px; }
  .lf__nav .btn { flex: 1; }
  .lf__callbtn { width: 100%; padding: 0 16px; }
  .kin { grid-template-columns: 1fr; gap: 12px; }
  .kin__door { min-height: 76px; align-items: center; }
  .foot__inner { padding-top: 56px; }
  .foot__plate img { height: 46px; }
  .foot__cols { margin-top: 36px; grid-template-columns: 1fr; gap: 28px; }
  .canopy svg { top: calc(var(--top-h) + 72px); right: calc(var(--edge-1) + 42px); }
  .map { width: 100vw; border-left: 0; }
  .map__inner { padding: 20px var(--edge-1) 40px; }
  .map__list a, .map__list span { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gate__leaf, .pal::before, .trip__stop, .trip__ticks i, .fold, .fold__body, .fold__body > p, .fold__sign, .month, .tick, .step, .step__n, .kin__door { transition: none; }
}

/* ---------- The front door on real phone screens (#026) ----------
   A phone browser shows about 560 to 780 pixels of height once its own bars are on screen. At that height the headline block,
   which is pinned from the bottom, used to climb into the place name and the umbrella. Found by Trebor on the first live walk.
   Here the three share the screen: the place name on one line at the left, a smaller umbrella at the right, a smaller headline below. */
@media (max-width: 720px) and (max-height: 830px) {
  .door__copy h1 { font-size: calc(clamp(34px, 10.6vw, 44px) * var(--head-scale)); }
  .door__sub { margin-top: 14px; }
  .door__actions { margin-top: 22px; gap: 10px; }
  .door__perch { right: calc(var(--edge-1) + 14px); top: calc(var(--top-h) + 34px); width: 19vw; }
  .trip { top: calc(var(--top-h) + 16px); width: 60vw; }
  .trip__list { margin-top: 10px; }
  .trip__name { font-size: 24px; }
}
@media (max-width: 720px) and (max-height: 610px) {
  .door__sub { display: none; }
  .door__actions { margin-top: 18px; }
}
