/* JimGO Taxis: about page. Surfaces square, buttons pill (design-plan.md). */

/* ---------- opener: H1 left, the four car photos as expanding panels right ---------- */
.ab-open { --rail: 54px; --gap: 6px; position: relative; padding-top: var(--head-h); height: max(600px, 72svh); max-height: 860px; overflow: clip; background: var(--tarmac); isolation: isolate; }
.ab-open::before { content: ''; position: absolute; left: -24vw; top: -30vh; width: 90vw; height: 140%; pointer-events: none; z-index: -1; background: repeating-radial-gradient(ellipse at 36% 58%, rgba(251, 229, 193, .05) 0 2px, transparent 2px 44px); animation: ab-rings 28s ease-in-out infinite alternate; }
@keyframes ab-rings { to { transform: translate(6vw, 4vh) scale(1.1); } }
.ab-open-in { display: grid; grid-template-columns: minmax(0, 4.7fr) minmax(0, 7.3fr); gap: clamp(36px, 4vw, 64px); height: 100%; }
.ab-copy { align-self: center; padding-block: 24px 40px; }
.ab-copy .h1 { font-size: clamp(2.2rem, 3.3vw, 3.4rem); margin-bottom: .36em; }
.ab-copy .lede { margin-bottom: 1.5em; }
.ab-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--fog); font-size: .94rem; }
.ab-trust li { display: flex; align-items: center; gap: 8px; }
.ab-trust .ic { color: var(--amber); }
.ab-road { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }

/* static layout (no JavaScript, reduced motion): all four photos in a grid, every caption showing */
.ap-stage { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: var(--gap); height: 100%; padding-bottom: 4px; }
.ap-panel { position: relative; overflow: hidden; background: var(--asphalt); min-height: 0; }
.ap-rail { display: none; }
.ap-view { position: absolute; inset: 0; overflow: hidden; }
.ap-img { position: absolute; inset: 0; overflow: hidden; }
.ap-img img { width: 100%; height: 100%; object-fit: cover; }
.ap-view::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(14, 13, 12, .88) 0%, rgba(14, 13, 12, .3) 40%, rgba(14, 13, 12, 0) 62%); }
.ap-cap { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 2px; border-left: 3px solid var(--amber); padding-left: 12px; }
.ap-cap b { font: 760 1.2rem/1.1 var(--display); font-stretch: 90%; color: var(--cream); }
.ap-cap span { color: var(--text); font-size: .95rem; line-height: 1.35; }
/* live layout (JavaScript and motion on): expanding panels */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.reveal-all) .ap-stage { display: flex; gap: var(--gap); height: 100%; padding-bottom: 4px; }
  html.js:not(.reveal-all) .ap-panel { position: relative; display: flex; flex: var(--g) 1 0px; min-width: var(--rail); overflow: hidden; background: var(--asphalt); }
  html.js:not(.reveal-all) .ap-rail { position: relative; z-index: 2; flex: none; width: var(--rail); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0 20px; background: #191816; border: 0; border-right: 1px solid rgba(251, 229, 193, .08); color: var(--fog); cursor: pointer; transition: background-color .5s var(--ease), color .4s; }
  html.js:not(.reveal-all) .ap-rail:hover { background: #24221F; }
  html.js:not(.reveal-all) .ap-num { font: 800 1rem/1 var(--display); font-stretch: 80%; color: var(--amber); transition: color .4s; }
  html.js:not(.reveal-all) .ap-label { writing-mode: vertical-rl; transform: rotate(180deg); font: 740 1.15rem/1 var(--display); font-stretch: 90%; color: var(--cream); white-space: nowrap; margin-top: auto; transition: color .4s; }
  html.js:not(.reveal-all) .ap-timer { position: relative; width: 3px; height: 92px; background: rgba(251, 229, 193, .14); overflow: hidden; flex: none; }
  html.js:not(.reveal-all) .ap-timer i { position: absolute; inset: 0; background: var(--amber); transform-origin: 50% 0; transform: scaleY(var(--t, 0)); }
  html.js:not(.reveal-all) .ap-panel.is-open .ap-rail { background: var(--amber); color: var(--ink); }
  html.js:not(.reveal-all) .ap-panel.is-open .ap-num, html.js:not(.reveal-all) .ap-panel.is-open .ap-label { color: var(--ink); }
  html.js:not(.reveal-all) .ap-panel.is-open .ap-timer { background: rgba(29, 28, 26, .2); }
  html.js:not(.reveal-all) .ap-panel.is-open .ap-timer i { background: var(--ink); }
  html.js:not(.reveal-all) .ap-view { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; }
  html.js:not(.reveal-all) .ap-img { position: absolute; left: 0; top: 0; bottom: 0; width: var(--ow, 100%); overflow: hidden; }
  html.js:not(.reveal-all) .ap-img img { width: 110%; max-width: none; height: 100%; margin-left: -5%; object-fit: cover; will-change: transform; }
  html.js:not(.reveal-all) .ap-view::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(14, 13, 12, .88) 0%, rgba(14, 13, 12, .3) 34%, rgba(14, 13, 12, 0) 56%), linear-gradient(180deg, rgba(14, 13, 12, .55), rgba(14, 13, 12, 0) 24%); }
  html.js:not(.reveal-all) .ap-cap { position: absolute; z-index: 1; left: 28px; bottom: 30px; width: calc(var(--ow, 100%) - 56px); display: grid; gap: 4px; border-left: 3px solid var(--amber); padding-left: 16px; }
  html.js:not(.reveal-all) .ap-cap b { font: 760 clamp(1.3rem, 1.7vw, 1.75rem)/1.1 var(--display); font-stretch: 90%; color: var(--cream); }
  html.js:not(.reveal-all) .ap-cap span { color: var(--text); font-size: 1rem; }
  html.js:not(.reveal-all) .ap-view { position: relative; inset: auto; }
  html.js:not(.reveal-all) .ap-cap { right: auto; gap: 4px; padding-left: 16px; }
  /* closed panels drop their caption out of the layout (not just hidden), so no hidden text sits on screen */
  html.js:not(.reveal-all) .ap-panel:not(.cap-on) .ap-cap { display: none; }
  html.js:not(.reveal-all) .ap-view::after { background: linear-gradient(0deg, rgba(14, 13, 12, .88) 0%, rgba(14, 13, 12, .3) 34%, rgba(14, 13, 12, 0) 56%), linear-gradient(180deg, rgba(14, 13, 12, .55), rgba(14, 13, 12, 0) 24%); }
}

/* ---------- who we are ---------- */
.ab-who { overflow: clip; }
.ab-who-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-who-copy .lede { margin: 18px 0 14px; }
.ab-who-copy p { color: var(--text); }
.ab-towns { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin-top: 6px; }
.ab-towns li { display: flex; align-items: center; }
.ab-towns li + li::before { content: ''; width: 14px; height: 3px; margin: 0 10px 0 6px; background: var(--amber); }
.ab-towns a { display: inline-flex; align-items: center; min-height: 44px; color: var(--cream); font-weight: 600; text-decoration: none; background: linear-gradient(var(--amber), var(--amber)) 0 calc(100% - 9px) / 0 2px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.ab-towns a:hover { color: var(--amber); background-size: 100% 2px; }
.ab-who-photo .frame-img { height: min(68vh, 600px); max-height: none; }
.ab-rate { position: absolute; z-index: 2; left: -34px; top: 9%; display: grid; gap: 2px; padding: 16px 22px 18px; background: #FFFDF8; color: var(--ink); box-shadow: 0 26px 44px -18px rgba(0, 0, 0, .75); will-change: transform; }
.ab-rate .stars { font-size: 1.15rem; gap: 3px; }
.ab-rate b { font: 840 clamp(1.7rem, 2.3vw, 2.2rem)/1 var(--display); font-stretch: 80%; margin-top: 6px; }
.ab-rate span:last-child { font-size: .92rem; color: #4A453D; }

/* ---------- set piece: the client's statement fills with colour as you scroll ---------- */
.ab-stmt { position: relative; overflow: clip; isolation: isolate; background: #121110; padding-block: clamp(110px, 17vh, 190px); }
.ab-stmt::before { content: ''; position: absolute; inset: -20%; z-index: -2; pointer-events: none; background: repeating-radial-gradient(ellipse at 70% 40%, rgba(251, 229, 193, .04) 0 2px, transparent 2px 52px); animation: ab-drift 34s ease-in-out infinite alternate; }
@keyframes ab-drift { to { transform: translate(-5vw, 3vh) scale(1.08); } }
.ab-stmt::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(251, 229, 193, .08); }
.stmt-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stmt-bg svg { width: 100%; height: 100%; }
.sr-base { fill: none; stroke: rgba(251, 229, 193, .07); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.sr-draw { fill: none; stroke: rgba(232, 169, 65, .3); stroke-width: 3; stroke-linecap: round; }
.sr-light { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 8px rgba(232, 169, 65, .8)); }
.stmt-lamp { position: absolute; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(251, 229, 193, .09), rgba(251, 229, 193, 0)); opacity: 0; mix-blend-mode: screen; }
.stmt-in { position: relative; }
.stmt-text { margin: 0; font: 760 clamp(1.9rem, 3.5vw, 3.55rem)/1.18 var(--display); font-stretch: 86%; letter-spacing: -.01em; color: var(--cream); }
.stmt-text .k { background: linear-gradient(var(--amber), var(--amber)) no-repeat 0 96% / var(--u, 100%) .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.stmt-text .k .w { color: var(--amber); }
html.js .stmt-text .w { color: rgba(251, 229, 193, .42); }
html.js .stmt-text .k { --u: 0%; }
.stmt-sign { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: clamp(30px, 5vh, 52px); padding-top: 22px; border-top: 1px solid rgba(251, 229, 193, .12); }
.stmt-sign .stars { font-size: 1.2rem; gap: 4px; }
.stmt-sign p { margin: 0; color: var(--fog); }
.stmt-sign b { color: var(--cream); font-weight: 600; margin-right: 6px; }

/* ---------- the car and its licence (paper band) ---------- */
.ab-car { overflow: clip; padding-block: clamp(72px, 10vh, 120px); }
.ab-car-in { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.car-stage { position: relative; padding-block: 92px 104px; }
.car-rig { position: relative; width: 100%; aspect-ratio: 1409 / 555; will-change: transform; }
.car-body { position: relative; z-index: 1; width: 100%; height: auto; mix-blend-mode: multiply; }
.car-shadow { position: absolute; left: 2%; right: 3%; bottom: -3%; height: 12%; background: radial-gradient(ellipse at 50% 50%, rgba(29, 28, 26, .5), rgba(29, 28, 26, 0) 70%); }
.car-rig .wheel { position: absolute; z-index: 2; width: 10.5%; aspect-ratio: 1; margin: -5.25% 0 0 -5.25%; will-change: transform; }
.car-rig .wheel img { width: 100%; height: 100%; }
.car-rig .w-rear { left: 21.43%; top: 79.8%; }
.car-rig .w-front { left: 80.7%; top: 76.4%; }
.car-glow { position: absolute; z-index: 0; left: 24.5%; top: 12%; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 169, 65, .55), rgba(232, 169, 65, 0)); opacity: .5; }
.car-road { position: absolute; left: calc(-50vw); right: 0; bottom: 90px; height: 4px; overflow: hidden; z-index: 0; }
.car-lane { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 34px, transparent 34px 62px); background-size: 62px 4px; opacity: .5; animation: dash-crawl 1.6s linear infinite; }
.callouts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.co { position: absolute; left: var(--x); margin: 0; width: 0; }
.co-line { position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--ink); transform-origin: 50% 100%; }
.co-pt { position: absolute; left: -7px; width: 14px; height: 14px; background: var(--amber); border: 2px solid var(--ink); }
.co-txt { position: absolute; left: -2px; display: grid; gap: 1px; width: max-content; max-width: 250px; padding: 9px 14px 10px; background: #FFFDF8; border-top: 3px solid var(--amber); box-shadow: 0 14px 28px -16px rgba(29, 28, 26, .55); font-size: .95rem; line-height: 1.3; color: #3D3830; }
.co-txt b { font: 740 1.08rem/1.15 var(--display); font-stretch: 92%; color: var(--ink); }
.co.is-up { top: -78px; bottom: calc(100% - var(--y)); }
.co.is-up .co-line { transform-origin: 50% 100%; }
.co.is-up .co-pt { bottom: -7px; }
.co.is-up .co-txt { bottom: 100%; }
.co.is-down { top: var(--y); bottom: -66px; }
.co.is-down .co-line { transform-origin: 50% 0; }
.co.is-down .co-pt { top: -7px; }
.co.is-down .co-txt { top: 100%; }
.co.is-left .co-txt { left: auto; right: -2px; text-align: right; }
.car-copy .lede { margin: 18px 0 6px; color: #3D3830; }
.paper .car-spec { border-top-color: rgba(29, 28, 26, .16); margin-bottom: 0; }
.paper .car-spec div { border-bottom-color: rgba(29, 28, 26, .16); grid-template-columns: 110px 1fr; padding: 11px 0; }
.paper .car-spec dt { color: #7A5410; }
.paper .car-spec dd { color: var(--ink); }

/* ---------- what we do: the tiles from the old about page ---------- */
.ab-do { overflow: clip; }
.do-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 16px; }
.do-photo { position: relative; margin: 0; overflow: hidden; background: var(--asphalt); min-height: 100%; }
.do-photo img { position: absolute; left: 0; top: 0; width: 100%; height: 118%; object-fit: cover; }
.do-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 17, 16, .7), rgba(18, 17, 16, 0) 40%); pointer-events: none; }
.do-photo figcaption { position: absolute; z-index: 1; left: 0; bottom: 0; padding: 12px 18px; background: rgba(18, 17, 16, .86); border-left: 3px solid var(--amber); color: var(--text); font-size: .92rem; }
.do-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.do-tile { --mx: 50%; --my: 50%; position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; height: 100%; min-height: 250px; padding: 24px 24px 14px; background: var(--asphalt); color: var(--text); text-decoration: none; overflow: hidden; isolation: isolate; transition: background-color .4s; }
.do-tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(232, 169, 65, .16), transparent 70%); opacity: 0; transition: opacity .4s; }
.do-tile:hover::before, .do-tile:focus-visible::before { opacity: 1; }
.do-tile::after { content: ''; position: absolute; top: -40%; bottom: -40%; left: 0; width: 32%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(251, 229, 193, .07), transparent); transform: translateX(-160%) skewX(-12deg); animation: do-sheen 9s var(--ease) infinite; }
.do-grid li:nth-child(2) .do-tile::after { animation-delay: 1.2s; }
.do-grid li:nth-child(3) .do-tile::after { animation-delay: 2.4s; }
.do-grid li:nth-child(4) .do-tile::after { animation-delay: .6s; }
.do-grid li:nth-child(5) .do-tile::after { animation-delay: 1.8s; }
.do-grid li:nth-child(6) .do-tile::after { animation-delay: 3s; }
@keyframes do-sheen { 0%, 55% { transform: translateX(-160%) skewX(-12deg); } 85%, 100% { transform: translateX(420%) skewX(-12deg); } }
.do-ic { display: grid; place-items: center; width: 58px; height: 58px; border: 2px solid rgba(232, 169, 65, .65); color: var(--amber); background: var(--tarmac); transition: background-color .4s, color .4s; }
.do-ic .ic { width: 28px; height: 28px; }
.do-tile:hover .do-ic { background: var(--amber); color: var(--ink); }
.do-txt { display: grid; gap: 6px; align-content: start; }
.do-t { font: 760 clamp(1.45rem, 1.9vw, 1.9rem)/1.05 var(--display); font-stretch: 88%; color: var(--cream); }
.do-l { color: var(--fog); font-size: 1rem; line-height: 1.5; }
.do-go { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: var(--amber); font-weight: 600; border-top: 1px solid rgba(251, 229, 193, .1); }
.do-go .ic { transition: transform .35s var(--ease); }
.do-tile:hover .do-go .ic { transform: translateX(6px); }
.do-tile .do-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--amber); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.do-tile:hover .do-bar, .do-tile:focus-visible .do-bar { transform: scaleX(1); }

/* ---------- areas: two road tapes crossing ---------- */
.ab-areas { overflow: clip; isolation: isolate; padding-bottom: clamp(64px, 9vh, 110px); }
.ar-map { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 75%, transparent 100%); }
.ar-map .jg-map { width: 110%; height: 130%; margin: -10% 0 0 -5%; max-width: none; will-change: transform; }
.ar-map .m-sea { fill: transparent; }
.ar-map .m-land { fill: rgba(35, 34, 31, .6); }
.ar-map .m-region { display: none; }
.ar-map .m-coastline { stroke: rgba(251, 229, 193, .32); }
.ar-map .m-contour { stroke: rgba(251, 229, 193, .1); }
.ab-areas-head { align-items: center; }
.ab-areas-head p { flex: 1 1 420px; }
.ab-areas-link { flex: none; }
.tapes { position: relative; display: block; margin-top: clamp(24px, 4vh, 44px); padding-block: 26px; }
.tape { position: relative; width: 112vw; margin-left: -6vw; }
.tape-a { z-index: 2; background: var(--amber); transform: rotate(-2deg); box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .8); transition: background-color .4s; }
.tape-b { z-index: 1; margin-top: 14px; background: #141311; border-block: 1px solid rgba(251, 229, 193, .14); transform: rotate(1.6deg); }
.tapes .marquee-track span { font: 820 clamp(1.8rem, 3.4vw, 3.3rem)/1 var(--display); font-stretch: 80%; padding: .32em 0; display: inline-flex; align-items: center; }
.tapes .marquee-track span::after { content: ''; display: inline-block; width: 1.1em; height: .12em; margin: 0 .55em; background: currentColor; opacity: .55; }
.tape-a .marquee-track span, .tape-a .marquee-track span:nth-child(even) { color: var(--ink); -webkit-text-stroke: 0; }
.tape-b .marquee-track span { color: var(--cream); font-size: clamp(1.5rem, 2.7vw, 2.6rem); font-weight: 700; }
.tape-b .marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.3px rgba(251, 229, 193, .6); }
.tape-b .marquee-track span:nth-child(even)::after { background: rgba(251, 229, 193, .6); }

/* ---------- reduced motion: the full page, nothing moving ---------- */
@media (prefers-reduced-motion: reduce) {
  .ab-open::before, .ab-stmt::before, .car-lane, .do-tile::after { animation: none; }
  html.js .stmt-text .w { color: var(--cream); }
  html.js .stmt-text .k .w { color: var(--amber); }
  html.js .stmt-text .k { --u: 100%; }
}
.no-js .stmt-text .w, .reveal-all .stmt-text .w { color: var(--cream); }
.reveal-all .stmt-text .k .w { color: var(--amber); }
.reveal-all .stmt-text .k { --u: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .ab-open { height: auto; max-height: none; }
  .ab-open-in { grid-template-columns: 1fr; gap: 24px; height: auto; }
  .ab-copy { padding-block: 28px 0; }
  .ap-stage { height: 460px; margin-right: 0; padding-bottom: 28px; }
  .ab-who-in, .ab-car-in { grid-template-columns: 1fr; }
  .car-stage { order: 2; }
  .do-wrap { grid-template-columns: 1fr; }
  .do-photo { min-height: 0; height: 320px; }
  .do-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ab-open { --rail: 46px; }
  .ab-trust { display: none; }
  .co-cabin, .co-door { display: none; }
  .co-plate .co-txt { left: auto; right: -2px; text-align: right; }
  .ab-copy .h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .ab-copy .lede { font-size: 1rem; margin-bottom: 1.1em; }
  .ab-copy .btn-row .btn { flex: 1 1 auto; padding: 0 1.1em; }
  .ap-stage { grid-template-columns: 1fr; grid-auto-rows: 210px; height: auto; }
  .ab-rate { left: 10px; top: auto; bottom: 64px; padding: 12px 16px 14px; }
  .ab-who-photo .frame-img { height: min(56vh, 420px); }
  .stmt-text { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .car-stage { padding-block: 84px 96px; }
  .co-txt { max-width: 150px; padding: 7px 10px 8px; font-size: .88rem; }
  .co-txt b { font-size: .95rem; }
  .co.is-up { top: -70px; }
  .co.is-down { bottom: -58px; }
  .car-road { bottom: 70px; }
  .paper .car-spec div { grid-template-columns: 1fr; }
  .do-grid { grid-template-columns: 1fr; }
  .do-tile { min-height: 0; padding: 20px 20px 10px; grid-template-columns: 50px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 16px; }
  .do-go { grid-column: 1 / -1; }
  .do-photo { height: 240px; }
  .do-ic { width: 50px; height: 50px; }
  .tape { width: 130vw; margin-left: -15vw; }
}

@media (max-width: 1080px) and (prefers-reduced-motion: no-preference) {
  html.js:not(.reveal-all) .ap-stage { height: 460px; padding-bottom: 28px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  html.js:not(.reveal-all) .ap-stage { flex-direction: column; height: 400px; padding-bottom: 28px; }
  html.js:not(.reveal-all) .ap-panel { flex-direction: column; min-width: 0; min-height: var(--rail); }
  html.js:not(.reveal-all) .ap-rail { width: 100%; height: var(--rail); flex-direction: row; padding: 0 14px; gap: 14px; border-right: 0; border-bottom: 1px solid rgba(251, 229, 193, .08); }
  html.js:not(.reveal-all) .ap-label { writing-mode: horizontal-tb; transform: none; margin-top: 0; font-size: 1.1rem; }
  html.js:not(.reveal-all) .ap-timer { width: 72px; height: 3px; margin-left: auto; }
  html.js:not(.reveal-all) .ap-timer i { transform-origin: 0 50%; transform: scaleX(var(--t, 0)); }
  html.js:not(.reveal-all) .ap-img { right: 0; bottom: auto; width: 100%; height: var(--oh, 100%); }
  html.js:not(.reveal-all) .ap-img img { width: 100%; height: 110%; margin: -5% 0 0; }
  html.js:not(.reveal-all) .ap-cap { left: 14px; bottom: 16px; width: calc(100% - 28px); }
  html.js:not(.reveal-all) .ap-cap b { font-size: 1.2rem; }
  html.js:not(.reveal-all) .ap-cap span { font-size: .95rem; }
}
