/* The Job Doctor, homepage concept, opening screen.
   Sources (receipt in ../SOURCES.json): BYQ Fit Trainer fit-trainer-navbar-1 and fit-trainer-hero-1;
   BYQ gems curtain-image-reveal-01 and odometer-counter-01; the logo marquee of BYQ Genesis Lab genesis-hero-2.
   Her colours: orange-red #FF5100 and charcoal #202020 (thejobdoctor.com CSS). Her site font Rubik; Oswald from Fit Trainer. */

:root {
  --orange: #FF5100;
  --orange-deep: #E64900;
  --char: #202020;
  --char-rgb: 32, 32, 32;
  --white: #FFFFFF;
  --soft: rgba(255, 255, 255, 0.72);
  --hair: rgba(255, 255, 255, 0.12);
  --gutter: 48px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--char); }
body { font-family: Rubik, system-ui, sans-serif; color: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- Nav (Fit Trainer navbar-1: transparent bar over the hero, brand left, links and an outline CTA right) ---------- */
.nav { position: absolute; z-index: 50; inset: 0 0 auto 0; height: 96px; }
.nav-in { height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 38px; width: auto; }
.links { display: flex; align-items: center; gap: 34px; }
.links > a:not(.nav-cta) { position: relative; font: 500 12.5px/1 Rubik, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); transition: color 0.3s; }
.links > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease-out-expo); }
.links > a:not(.nav-cta):hover { color: var(--white); }
.links > a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 1px solid var(--orange); color: var(--white);
  font: 500 12.5px/1 Rubik, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; background: rgba(255, 81, 0, 0); transition: background-color 0.4s; }
.nav-cta:hover { background: rgba(255, 81, 0, 0.2); }
.nav-mobile { display: none; align-items: center; gap: 10px; }
.burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px; width: 44px; height: 44px; border: 0; background: #161617; cursor: pointer; transition: background-color 0.2s; }
.burger span { display: block; height: 2px; background: var(--orange); transition: transform 0.35s var(--ease-out-expo), width 0.35s var(--ease-out-expo), background-color 0.2s; }
.burger span:first-child { width: 24px; }
.burger span:last-child { width: 16px; }
.burger[aria-expanded="true"] { background: var(--orange); }
.burger[aria-expanded="true"] span { background: var(--white); width: 22px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu { display: none; }

/* ---------- Hero (Fit Trainer hero-1: photo behind, solid fading to clear from the left, stacked copy left) ---------- */
.hero { position: relative; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 132px 0 140px; }
/* Her portrait whole, never larger than its true 1400 x 1200 and never wider than the window */
.photo { position: absolute; z-index: 0; right: 0; bottom: 0; margin: 0; overflow: hidden; background: var(--char); }
.photo img { height: min(100vh, 1200px, 85.714vw); height: min(100svh, 1200px, 85.714vw); width: auto; max-width: none; }
/* Eased charcoal fade (many stops, so the edge never shows) plus the source's top and bottom fades */
.shade { position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(var(--char-rgb), 1) 0%, rgba(var(--char-rgb), 1) 27%,
      rgba(var(--char-rgb), 0.97) 31%, rgba(var(--char-rgb), 0.91) 35%, rgba(var(--char-rgb), 0.82) 39%,
      rgba(var(--char-rgb), 0.69) 43%, rgba(var(--char-rgb), 0.54) 47%, rgba(var(--char-rgb), 0.39) 51%,
      rgba(var(--char-rgb), 0.25) 55%, rgba(var(--char-rgb), 0.14) 59%, rgba(var(--char-rgb), 0.06) 63%, rgba(var(--char-rgb), 0) 68%),
    linear-gradient(180deg,
      rgba(var(--char-rgb), 0.78) 0%, rgba(var(--char-rgb), 0.38) 10%, rgba(var(--char-rgb), 0.1) 18%, rgba(var(--char-rgb), 0) 24%,
      rgba(var(--char-rgb), 0) 72%, rgba(var(--char-rgb), 0.28) 82%, rgba(var(--char-rgb), 0.7) 91%, rgba(var(--char-rgb), 1) 100%); }

.container { position: relative; z-index: 10; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.copy { max-width: 760px; }
.label { display: flex; align-items: center; gap: 12px; font: 500 12.5px/1 Rubik, sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: var(--soft); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
h1 { margin-top: 28px; font: 600 96px/0.98 Oswald, sans-serif; letter-spacing: -0.012em; text-transform: uppercase; }
h1 .hot { color: var(--orange); }
.sub { margin-top: 30px; font: 600 17px/1 Rubik, sans-serif; letter-spacing: 0.24em; text-transform: uppercase; color: var(--orange); }
.actions { margin-top: 48px; display: flex; align-items: center; gap: 40px; }
.cta { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 30px 0 32px; background: var(--orange); border: 1px solid var(--orange);
  font: 500 13.5px/1 Rubik, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); transition: background-color 0.4s; }
.cta svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out-expo); }
.cta:hover { background: rgba(255, 81, 0, 0.15); }
.cta:hover svg { transform: translateX(4px); }
.stat { padding-left: 40px; border-left: 1px solid var(--hair); }

/* Odometer gem: reels and timings as the gem; the fade mask is removed so the digits read solid */
.odo { display: flex; align-items: stretch; height: 54px; font: 500 48px/54px Oswald, sans-serif; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--white); }
.odo-digit { position: relative; height: 54px; width: 0.56em; overflow: hidden; text-align: center; }
.odo-reel { display: flex; flex-direction: column; will-change: transform; }
.odo-num { height: 54px; line-height: 54px; }
.odo-sep { width: 0.24em; text-align: center; color: var(--white); }
.stat-label { margin-top: 6px; font: 500 11.5px/1 Rubik, sans-serif; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }

.signature { position: absolute; z-index: 5; width: 176px; height: auto; right: 19%; top: 124px; }

/* Press strip: Genesis Lab hero-2 logo marquee (edge mask 20 to 80 percent, three sets, translateX to -33.333 percent, 30s linear, pause on hover) */
.press { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--hair); }
.press-in { max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); height: 92px; display: flex; align-items: center; gap: 40px; }
.press-label { flex: none; font: 500 11.5px/1 Rubik, sans-serif; letter-spacing: 0.26em; text-transform: uppercase; color: var(--orange); }
.press-mask { position: relative; flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 20%, #000 80%, transparent 100%); }
.press-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.press-track:hover { animation-play-state: paused; }
.press-set { display: flex; align-items: center; gap: 64px; flex: none; }
.press-set img { height: 28px; width: auto; opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-33.333% - 21.33px)); } }

/* Motion. Portrait: the curtain gem (clip-path wipe 0.9s and a settle from scale 1.25, 1.05s, both expo-out).
   Copy: a slow staggered rise (the source's fade-up, lengthened). */
.photo { clip-path: inset(0 0 0 100%); transition: clip-path 0.9s var(--ease-out-expo) var(--d, 0s); }
.photo img { transform: scale(1.25); transform-origin: 60% 40%; transition: transform 1.05s var(--ease-out-expo) var(--d, 0s); }
.photo.is-revealed { clip-path: inset(0 0 0 0); }
.photo.is-revealed img { transform: scale(1); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.nav { opacity: 0; transition: opacity 0.9s ease 0.15s; }
.nav.in { opacity: 1; }

/* ---------- Mid sizes: a smaller headline and the signature put away so nothing collides ---------- */
@media (max-width: 1279px) {
  h1 { font-size: 88px; }
  .signature { display: none; }
  .links { gap: 26px; }
}
@media (max-width: 1099px) {
  :root { --gutter: 36px; }
  h1 { font-size: 78px; }
  .copy { max-width: 560px; }
  .shade { background:
    linear-gradient(90deg, rgba(var(--char-rgb), 1) 0%, rgba(var(--char-rgb), 0.96) 30%, rgba(var(--char-rgb), 0.86) 40%, rgba(var(--char-rgb), 0.66) 50%, rgba(var(--char-rgb), 0.38) 60%, rgba(var(--char-rgb), 0.12) 70%, rgba(var(--char-rgb), 0) 78%),
    linear-gradient(180deg, rgba(var(--char-rgb), 0.8) 0%, rgba(var(--char-rgb), 0) 22%, rgba(var(--char-rgb), 0) 74%, rgba(var(--char-rgb), 1) 100%); }
}

/* ---------- Tablet portrait and phone: photo first, her face on the first screen, the headline on the photo's dark fade ---------- */
@media (max-width: 991px) {
  :root { --gutter: 28px; }
  .nav { height: 80px; background: var(--char); }
  .links { display: none; }
  .nav-mobile { display: flex; }
  .nav-cta-sm { height: 40px; padding: 0 16px; font-size: 11.5px; letter-spacing: 0.14em; }
  .menu { display: block; position: absolute; top: 84px; left: 0; right: 0; margin: 0 auto; width: calc(100% - 24px); max-width: 520px;
    background: #1d1d1d; border: 1px solid #141414; border-radius: 22px; padding: 0 32px; overflow: hidden;
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 0.3s ease, transform 0.3s ease, padding 0.3s ease; }
  .menu.open { opacity: 1; pointer-events: auto; transform: none; padding: 24px 32px 28px; }
  .menu a { display: block; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font: 500 24px/1.1 Rubik, sans-serif; color: #e7e7e7; }
  .menu a.menu-cta { margin-top: 22px; border: 1px solid var(--orange); background: var(--orange); text-align: center; color: var(--white); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; padding: 18px 0; }

  .hero { display: block; min-height: 0; padding: 80px 0 0; }
  .photo { position: relative; right: auto; bottom: auto; width: 100%; }
  .photo img { width: 100%; height: auto; max-width: 1400px; }
  .shade { inset: 80px 0 auto 0; height: calc(100vw * 1200 / 1400); max-height: 1200px;
    background: linear-gradient(180deg,
      rgba(var(--char-rgb), 0) 0%, rgba(var(--char-rgb), 0) 40%, rgba(var(--char-rgb), 0.12) 50%, rgba(var(--char-rgb), 0.32) 60%,
      rgba(var(--char-rgb), 0.58) 70%, rgba(var(--char-rgb), 0.8) 80%, rgba(var(--char-rgb), 0.94) 90%, rgba(var(--char-rgb), 1) 100%); }
  .container { margin-top: -150px; }
  .copy { max-width: none; }
  h1 { margin-top: 18px; font-size: 76px; }
  .sub { margin-top: 22px; }
  .actions { margin-top: 34px; gap: 28px; flex-wrap: wrap; }
  .stat { padding-left: 28px; }
  .signature { display: block; position: relative; right: auto; top: auto; width: 150px; margin: 36px var(--gutter) 0 auto; }
  .press { position: relative; margin-top: 30px; }
  .press-in { height: auto; padding: 22px var(--gutter) 26px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .press-mask { width: 100%; }
  .press-set img { height: 24px; }
  .press-track, .press-set { gap: 40px; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-33.333% - 13.33px)); } }
}
@media (max-width: 767px) {
  :root { --gutter: 18px; }
  .nav { height: 72px; }
  .brand img { height: 28px; }
  .menu { top: 76px; }
  .hero { padding-top: 72px; }
  .shade { top: 72px; }
  .container { margin-top: -96px; }
  .label { font-size: 11px; letter-spacing: 0.2em; gap: 10px; }
  h1 { margin-top: 14px; font-size: 48px; line-height: 0.97; }
  .sub { margin-top: 18px; font-size: 13px; letter-spacing: 0.22em; }
  .actions { margin-top: 26px; gap: 0; flex-direction: column; align-items: flex-start; }
  .cta { height: 54px; padding: 0 24px 0 26px; font-size: 12.5px; }
  .stat { margin-top: 24px; padding-left: 0; border-left: 0; }
  .odo { height: 42px; font-size: 37px; line-height: 42px; }
  .odo-digit, .odo-num { height: 42px; line-height: 42px; }
  .stat-label { margin-top: 4px; font-size: 10.5px; letter-spacing: 0.18em; }
  .signature { position: absolute; right: var(--gutter); bottom: 128px; width: 104px; margin: 0; top: auto; }
  .press { margin-top: 26px; }
  .press-in { padding: 18px var(--gutter) 22px; gap: 14px; }
  .press-label { font-size: 10.5px; }
  .press-set img { height: 22px; }
}
@media (max-width: 380px) {
  h1 { font-size: 45px; }
  .signature { width: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  .photo, .photo img, .reveal, .nav { transition: none !important; }
  .photo { clip-path: inset(0 0 0 0) !important; }
  .photo img { transform: none !important; }
  .reveal, .nav { opacity: 1 !important; transform: none !important; }
  .press-track { animation: none; }
}

/* =====================================================================================================
   Homepage sections below the kept opening (receipt in ../SOURCES.json):
   About: BYQ Smiling Studio hero-3. Roles: Fit Trainer services-1. Client stories: BYQ gem scroll-stack-01.
   Press: BYQ Nimbus nimbus-hero-11. Book: Fit Trainer combo-1, endorsement Fit Trainer quote-1.
   Close: Fit Trainer contact-1. Footer: Fit Trainer footer-1.
   Fit Trainer's #070708 base and #161617 cards become her charcoal #202020, #2A2A2A cards and #181818 deep bands;
   its #184bcd accent becomes her orange. Her light grey #F0F0F0 carries the light bands.
   ===================================================================================================== */
:root { --grey: #F0F0F0; --card: #2A2A2A; --deep: #181818; --ink-soft: #4a4a4a; }
.hot { color: var(--orange); }
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.h2 { font: 600 40px/1.2 Oswald, sans-serif; text-transform: uppercase; letter-spacing: 0; }
.pill { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 20px; border-radius: 40px; border: 1px solid var(--orange);
  background: rgba(255, 81, 0, 0.15); box-shadow: 0 2px 45px rgba(255, 81, 0, 0.4); font: 500 14px/1 Rubik, sans-serif; text-transform: lowercase; }
.btn-line { display: inline-flex; align-items: center; gap: 14px; height: 60px; padding: 0 30px 0 32px; border: 1px solid var(--orange); background: rgba(255, 81, 0, 0);
  font: 500 13.5px/1 Rubik, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); transition: background-color 0.4s; }
.btn-line.dark { color: var(--char); }
.btn-line svg { width: 18px; height: 18px; color: var(--orange); transition: transform 0.45s var(--ease-out-expo); }
.btn-line:hover { background: rgba(255, 81, 0, 0.2); }
.btn-line:hover svg { transform: translateX(4px); }

/* Source entrance: fade and rise 32px, 700ms ease-out, per-element delays; tiles in contact-1 fade only */
html.js .rise { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease-out var(--d, 0s), transform 0.7s ease-out var(--d, 0s); }
html.js .rise.in { opacity: 1; transform: none; }
html.js .fade { opacity: 0; transition: opacity 0.7s ease-out; }
html.js .fade.in { opacity: 1; }

/* Giant capitals (Smiling Studio hero-3): Anton, 93 percent leading, each line rising from 200 percent inside its own mask, 700ms, 150ms apart */
.caps { font-family: Anton, Oswald, sans-serif; font-weight: 400; font-size: 200px; line-height: 0.93; letter-spacing: -0.02em; text-transform: uppercase; }
.cap-line { display: block; overflow: hidden; }
.cap-in { display: block; }
html.js .cap-in { transform: translate3d(0, 200%, 0); transition: transform 0.7s ease-out; }
html.js .caps.in .cap-in { transform: translate3d(0, 0, 0); }
html.js .caps.in .cap-line:nth-child(2) .cap-in { transition-delay: 0.15s; }
html.js .caps.in .cap-line:nth-child(3) .cap-in { transition-delay: 0.3s; }

/* ---------- About ---------- */
.about { position: relative; overflow: hidden; background: var(--grey); color: var(--char); padding: 120px 0 104px; }
.about-in { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); grid-template-areas: "copy photos" "foot foot"; column-gap: 64px; row-gap: 64px; }
.about-foot { grid-area: foot; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.about .caps { grid-area: caps; flex: none; font-size: min(200px, 13.6vw); color: var(--char); position: relative; z-index: 2; }
.about-copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.about-lead { font: 500 24px/1.45 Rubik, sans-serif; }
.about-body { font: 400 19px/1.55 Rubik, sans-serif; color: var(--ink-soft); }
.about-copy .btn-line { margin-top: 12px; }
.about-photos { position: relative; }
#aboutPhotos { grid-area: photos; min-height: 380px; }
.ap { position: absolute; z-index: 1; margin: 0; }
html.js .ap { transform: translateX(110vw); transition: transform 0.7s ease-out; }
html.js .about-photos.in .ap { transform: translateX(0); }
.ap img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14); }
.ap figcaption { margin-top: 12px; font: 500 11px/1.35 Rubik, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.ap1 { width: 236px; left: 6%; top: 0; }
.ap2 { width: 236px; left: auto; right: 4%; top: 64px; }
.about-nyse { flex: 0 1 340px; min-width: 0; margin-bottom: 10px; }
.ap3 { position: relative; width: 100%; }

/* ---------- Roles ---------- */
.roles { background: var(--char); padding: 120px 0; }
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; margin-bottom: 72px; }
.sec-head .h2 { max-width: 1240px; }
.sec-head .ln { display: block; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.role { display: flex; flex-direction: column; gap: 36px; background: var(--card); padding: 48px; color: var(--white); }
html.js .role.rise.in { transition: opacity 0.7s ease-out var(--d, 0s), transform 0.4s ease-out; }
.role:hover { transform: translateY(-4px) !important; }
.role img { width: 100%; max-width: 405px; height: auto; }
.role-txt { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.role h3 { font: 700 26px/1.2 Oswald, sans-serif; text-transform: uppercase; }
.role p { margin-top: 14px; font: 400 19px/1.45 Rubik, sans-serif; color: var(--soft); }
.more { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 Rubik, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.more svg { width: 18px; height: 18px; transition: transform 0.45s var(--ease-out-expo); }
.role:hover .more svg { transform: translateX(4px); }

/* ---------- Client stories (scroll-stack-01: track, pinned stage, absolute cards scaled from the top centre) ---------- */
.stories { background: var(--deep); }
.stack-track { position: relative; height: 360vh; }
.stack-stage { overflow: hidden; height: 100vh; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; padding: 24px var(--gutter); }
.stack-label { color: var(--soft); }
.stack-cards { position: relative; width: min(1000px, 100%); height: 360px; margin-top: var(--stack-room, 96px); }
.story { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; padding: 52px 56px;
  border-radius: 16px; border: 1px solid #333; background: linear-gradient(160deg, #2e2e2e, #242424); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
  transform-origin: top center; will-change: transform; }
.story-l, .story-r { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.story-n { font: 500 15px/1 Oswald, sans-serif; letter-spacing: 0.12em; color: var(--orange); }
.story-n span { color: rgba(255, 255, 255, 0.4); }
.story-t { font: 600 46px/1.04 Oswald, sans-serif; text-transform: uppercase; }
.story-q { font: 400 19px/1.6 Rubik, sans-serif; color: rgba(255, 255, 255, 0.84); }
.story-by { margin-top: 24px; font: 500 12.5px/1.3 Rubik, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.disclaimer { font: 400 12px/1.4 Rubik, sans-serif; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.5); text-align: center; }
.stories.is-static .stack-track { height: auto; }
.stories.is-static .stack-stage { height: auto; padding: 96px var(--gutter); }
.stories.is-static .stack-cards { height: auto !important; margin-top: 0; display: flex; flex-direction: column; gap: 16px; }
.stories.is-static .story { position: static; will-change: auto; }

/* ---------- Press (Nimbus hero-11: colour block, heading left, line right, two-set image strip 30s linear) ---------- */
.press-band { background: var(--orange); color: var(--white); padding: 96px 0 104px; overflow: hidden; }
.pb-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 80px; }
.pb-h { font: 600 96px/0.98 Oswald, sans-serif; text-transform: uppercase; max-width: 760px; }
.pb-r { max-width: 430px; margin-bottom: 8px; color: var(--char); }
.pb-r p { font: 400 20px/1.45 Rubik, sans-serif; }
.pb-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px/1 Rubik, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--char); }
.pb-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--char); flex: none; }
.covers { overflow: hidden; }
.covers-track { display: flex; align-items: center; gap: 24px; width: max-content; animation: covers 30s linear infinite; }
.covers-set { display: flex; align-items: center; gap: 24px; flex: none; }
.covers img { height: 440px; width: auto; border-radius: 16px; flex: none; }
@keyframes covers { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 12px)); } }

/* ---------- Book (combo-1) and endorsement (quote-1) ---------- */
.book { background: var(--grey); color: var(--char); padding: 120px 0; }
.book-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: stretch; }
.book-art { display: flex; align-items: center; justify-content: center; background: var(--char); padding: 64px 48px; }
.book-art img { width: min(100%, 340px); height: auto; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.book-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; }
.book-top { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 592px; }
.book .pill { background: rgba(255, 81, 0, 0.1); box-shadow: 0 2px 30px rgba(255, 81, 0, 0.22); color: var(--char); }
.book-lead { font: 400 22px/1.4 Rubik, sans-serif; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font: 400 19px/1.4 Rubik, sans-serif; }
.ticks svg { width: 28px; height: 28px; flex: none; color: var(--orange); margin-top: -1px; }
.quote-grid { display: grid; grid-template-columns: 115px minmax(0, 1fr); margin-top: 120px; }
.quote { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 1090px; }
.quote-ic { width: 56px; height: 56px; color: var(--orange); }
.quote-t { font: 600 77px/1.2 Oswald, sans-serif; text-transform: uppercase; }
.quote-by strong { display: block; font: 600 14px/1.3 Rubik, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); }
.quote-by span { display: block; margin-top: 8px; max-width: 640px; font: 400 16px/1.5 Rubik, sans-serif; color: var(--ink-soft); }

/* ---------- Close (contact-1: image slot left, tile right with icon, heading, line, divider, contact rows) ---------- */
.close { background: var(--char); padding: 120px 0; }
.close-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 16px; align-items: stretch; }
.close-art { width: 100%; max-width: 590px; display: flex; align-items: flex-end; background: var(--orange); padding: 56px 48px; min-height: 560px; }
.close-art .caps { color: var(--white); font-size: 150px; }
.close-tile-wrap { width: 100%; max-width: 606px; margin: 0 auto; padding: 52px 0; display: flex; }
.close-tile { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; background: var(--card); padding: 64px 56px; }
.close-ic { width: 64px; height: 40px; color: var(--orange); }
.close-top { display: flex; flex-direction: column; gap: 24px; }
.close-top p, .close-bottom p { font: 400 19px/1.5 Rubik, sans-serif; color: var(--soft); }
.rule { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.24); }
.close-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

/* ---------- Footer (footer-1) ---------- */
.foot { background: var(--deep); padding: 120px 0 64px; color: var(--white); }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.foot-left { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; max-width: 400px; }
.foot-logo img { height: 44px; width: auto; }
.foot-about { font: 400 16px/1.55 Rubik, sans-serif; color: var(--soft); }
.foot-rule { width: 100%; height: 1px; background: #fffbf0; opacity: 0.4; }
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.socials a { display: flex; width: 24px; height: 24px; color: rgba(255, 255, 255, 0.82); transition: color 0.3s; }
.socials a:hover { color: var(--orange); }
.socials svg { width: 100%; height: 100%; }
.foot-nav { display: flex; justify-content: flex-end; gap: 120px; flex: 1; max-width: 640px; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.foot-h { font: 500 12.5px/1 Rubik, sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); }
.foot-col a { font: 400 16px/22px Rubik, sans-serif; color: var(--white); transition: color 0.3s; }
.foot-col a:hover { color: var(--orange); }
.foot-line { height: 1px; background: rgba(255, 255, 255, 0.3); margin: 80px 0 56px; }
.foot-legal { display: flex; justify-content: space-between; align-items: center; gap: 24px; font: 400 15px/1.4 Rubik, sans-serif; color: var(--soft); }
.foot-legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover { color: var(--orange); }

/* ---------- Section breakpoints (the sources' 1280, 991, 767 and 479 steps) ---------- */
@media (max-width: 1279px) {
  .about-in { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
  .ap1 { width: 190px; left: 0; } .ap2 { width: 200px; left: auto; right: 0; }
  .story-t { font-size: 40px; }
  .pb-h { font-size: 80px; }
  .quote-t { font-size: 64px; }
  .close-art .caps { font-size: 124px; }
  .role { padding: 40px; }
}
@media (max-width: 1099px) {
  .about-lead { font-size: 21px; }
  .ap1 { width: 170px; } .ap2 { width: 180px; }
  .role { padding: 32px; gap: 28px; }
  .role p { font-size: 17px; }
  .close-tile { padding: 52px 44px; }
}
@media (max-width: 991px) {
  .about .caps { font-size: 96px; }
  .about { padding: 96px 0 88px; }
  .about-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; row-gap: 48px; }
  #aboutPhotos { min-height: 360px; }
  .ap1 { width: 160px; } .ap2 { width: 170px; left: auto; right: 0; top: 96px; }
  .about-nyse { flex-basis: 260px; margin-bottom: 4px; }
  .roles, .book, .close { padding: 96px 0; }
  .role-grid { grid-template-columns: minmax(0, 1fr); max-width: 501px; margin: 0 auto; }
  .role { padding: 48px; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 40px 40px; }
  .story-l { gap: 18px; }
  .story-t { font-size: 36px; }
  .story-q { font-size: 18px; }
  .pb-row { flex-direction: column; align-items: flex-start; gap: 28px; margin-bottom: 56px; }
  .pb-h { font-size: 72px; }
  .covers img { height: 340px; }
  .book-grid { grid-template-columns: minmax(0, 1fr); }
  .book-art { max-width: 520px; width: 100%; margin: 0 auto; padding: 56px 40px; }
  .book-copy { align-items: center; text-align: center; }
  .book-top { align-items: center; }
  .ticks { text-align: left; }
  .quote-grid { margin-top: 96px; }
  .quote-t { font-size: 52px; }
  .close-grid { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .close-art { max-width: 500px; min-height: 0; margin: 0 auto; }
  .close-tile-wrap { padding: 0; }
  .foot { padding: 96px 0 56px; }
  .foot-nav { gap: 64px; }
}
@media (max-width: 767px) {
  .about .caps { font-size: 15vw; }
  .about { padding: 80px 0 72px; }
  .about-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "caps" "copy" "photos" "nyse"; row-gap: 36px; }
  .about-foot { display: contents; }
  .about-nyse { grid-area: nyse; width: 62%; margin: -12px 0 0 auto; }
  .about-lead { font-size: 19px; }
  .about-body { font-size: 17px; }
  #aboutPhotos { min-height: 0; height: 60vw; max-height: 400px; }
  .ap1 { width: 40%; left: 0; top: 0; } .ap2 { width: 38%; left: auto; right: 0; top: 6vw; }
  .ap figcaption { font-size: 10px; letter-spacing: 0.1em; }
  .roles, .book, .close { padding: 80px 0; }
  .sec-head { margin-bottom: 48px; }
  .h2 { font-size: 30px; }
  .role { padding: 28px; }
  .stack-stage { gap: 18px; }
  .story { padding: 28px 24px; gap: 16px; border-radius: 14px; }
  .story-t { font-size: 28px; line-height: 1.06; }
  .story-q { font-size: 16px; line-height: 1.55; }
  .story-by { margin-top: 16px; font-size: 11px; letter-spacing: 0.16em; }
  .press-band { padding: 72px 0 80px; }
  .pb-h { font-size: 56px; }
  .pb-r p { font-size: 18px; }
  .covers img { height: 300px; border-radius: 12px; }
  .covers-track, .covers-set { gap: 16px; }
  @keyframes covers { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
  .book-art { padding: 44px 28px; }
  .book-lead { font-size: 19px; }
  .ticks li { font-size: 17px; }
  .quote-grid { grid-template-columns: minmax(0, 1fr); margin-top: 80px; }
  .quote-sp { display: none; }
  .quote-t { font-size: 40px; }
  .quote-ic { width: 44px; height: 44px; }
  .close-art { width: 100%; max-width: 420px; padding: 40px 32px; }
  .close-art .caps { font-size: 22vw; }
  .close-tile { padding: 44px 32px; gap: 32px; align-items: center; text-align: center; }
  .close-bottom { align-items: center; }
  .foot-top { flex-direction: column; align-items: center; gap: 64px; text-align: center; }
  .foot-left { align-items: center; }
  .socials { justify-content: center; }
  .foot-nav { flex-direction: column; align-items: center; gap: 56px; max-width: none; }
  .foot-col { align-items: center; }
  .foot-legal { flex-direction: column; text-align: center; gap: 14px; }
}
@media (max-width: 479px) {
  .about-lead { font-size: 18px; }
  .h2 { font-size: 28px; }
  .role { padding: 24px; gap: 24px; }
  .role h3 { font-size: 24px; }
  .story { padding: 24px 20px; }
  .story-t { font-size: 25px; }
  .story-q { font-size: 15px; }
  .pb-h { font-size: 46px; }
  .covers img { height: 260px; }
  .quote-t { font-size: 28px; }
  .close-art .caps { font-size: 23vw; }
  .close-tile { padding: 44px 24px; }
  .btn-line { height: 54px; padding: 0 22px 0 24px; font-size: 12px; letter-spacing: 0.14em; }
}

@media (prefers-reduced-motion: reduce) {
  html.js .rise, html.js .fade, html.js .cap-in, html.js .ap { opacity: 1 !important; transform: none !important; transition: none !important; }
  .covers-track { animation: none; }
}
