/* orestesmonteagudo.com homepage.
   One world, set by the approved hero: rounded cards on a warm paper ground, a 12px seam between
   them, three grounds (orange gradient, white, ink), Archivo condensed for the big words,
   Archivo for everything else, the owner's own colour cut-outs, Google UI as the recurring motif. */

:root {
  --paper: #f3efe9;
  --white: #ffffff;
  --ink: #141210;
  --ink-2: #2a2622;
  --line: #d9d0c4;          /* hairline on paper */
  --line-on-ink: rgba(246, 241, 234, .16);
  --muted: #6b645c;
  --muted-on-ink: #bfb6ab;
  --orange: #f4630f;
  --orange-deep: #c93f06;
  --orange-text: #b53a07;   /* orange that passes 4.5:1 on white */

  --seam: 12px;
  --r-card: 32px;
  --r-panel: 22px;
  --pad: clamp(24px, 4.4vw, 64px);
  --sec: clamp(56px, 7vw, 112px);   /* vertical room of an open section */

  --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --t-body: clamp(16px, .25vw + 15px, 18px);
  --t-lead: clamp(18px, .6vw + 15.5px, 22px);
  --t-h3: clamp(22px, .6vw + 19px, 28px);
  --t-title: clamp(36px, 3.6vw + 18px, 68px);
  --t-giant: clamp(96px, 13vw, 200px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* transitions-dev — copy this :root block into your project once.
   Every transition snippet reads from these semantic names. */
:root {
  /* Card resize */
  --resize-dur: 300ms;
  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Number pop-in */
  --digit-dur: 500ms;
  --digit-distance: 8px;
  --digit-stagger: 70ms;
  --digit-blur: 2px;
  --digit-ease: cubic-bezier(0.34, 1.45, 0.64, 1);
  --digit-dir-x: 0;
  --digit-dir-y: 1;
  /* Notification badge */
  --badge-slide-dur: 260ms;
  --badge-pop-dur: 500ms;
  --badge-pop-close-dur: 180ms;
  --badge-fade-dur: 400ms;
  --badge-fade-close-dur: 180ms;
  --badge-blur: 2px;
  --badge-offset-x: -8.2px;
  --badge-offset-y: 12.4px;
  --badge-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --badge-pop-ease: cubic-bezier(0.34, 1.36, 0.64, 1);
  --badge-close-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* Text states swap */
  --text-swap-dur: 200ms;
  --text-swap-translate-y: 8px;
  --text-swap-blur: 2px;
  --text-swap-ease: ease-out;
  /* Menu dropdown */
  --dropdown-open-dur: 250ms;
  --dropdown-close-dur: 150ms;
  --dropdown-pre-scale: 0.97;
  --dropdown-closing-scale: 0.99;
  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Modal open / close */
  --modal-open-dur: 250ms;
  --modal-close-dur: 150ms;
  --modal-scale: 0.96;
  --modal-scale-close: 0.96;
  --modal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Panel reveal */
  --panel-open-dur: 400ms;
  --panel-close-dur: 350ms;
  --panel-translate-y: 100px;
  --panel-blur: 2px;
  --panel-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Page side-by-side */
  --page-slide-dur: 200ms;
  --page-fade-dur: 200ms;
  --page-slide-distance: 8px;
  --page-blur: 3px;
  --page-stagger: 0ms;
  --page-exit-enabled: 1;
  --page-slide-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page-fade-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Icon swap */
  --icon-swap-dur: 200ms;
  --icon-swap-blur: 2px;
  --icon-swap-start-scale: 0.25;
  --icon-swap-ease: ease-in-out;
  /* Success check */
  --check-opacity-dur: 550ms;
  --check-rotate-dur: 550ms;
  --check-rotate-from: 80deg;
  --check-bob-dur: 450ms;
  --check-y-amount: 40px;
  --check-blur-dur: 500ms;
  --check-blur-from: 10px;
  --check-path-dur: 550ms;
  --check-path-delay: 80ms;
  --check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);
  --check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);
  --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);
  --check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);
  /* Avatar group hover */
  --avatar-lift: -4px;
  --avatar-dur: 320ms;
  --avatar-scale: 1.05;
  --avatar-falloff: 0.45;
  --avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1);
  --avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1);
  /* Error state shake */
  --shake-distance: 6px;
  --shake-overshoot: 4px;
  --shake-dur-a: 80ms;
  --shake-dur-b: 60ms;
  --shake-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --revert-hold: 3000ms;
  --revert-dur: 280ms;
}

/* Archivo, self-hosted (SIL Open Font License): one variable file, latin, wdth 62-100, wght 400-700 */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 62% 100%;
  font-display: swap;
  src: url("/fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
::selection { background: var(--orange-deep); color: #fff; }
html { scrollbar-color: #b9ada0 var(--paper); accent-color: var(--orange-deep); }
input, textarea { caret-color: var(--orange-deep); }
::placeholder { color: #6b645c; opacity: 1; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.card--ink :focus-visible, .card--orange :focus-visible, .hero__text :focus-visible, .foot :focus-visible { outline-color: #fff; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }

/* ---------- the stack: cards where they carry weight, open sections between ---------- */
.stack { width: min(100% - 2 * var(--seam), 1440px); margin: var(--seam) auto 0; display: grid; gap: var(--seam); }
.card { position: relative; border-radius: var(--r-card); padding: var(--pad); overflow: hidden; isolation: isolate; }
.card--white { background: var(--white); }
.card--ink { background: var(--ink); color: #f6f1ea; }
.card--orange, .hero {
  background:
    radial-gradient(42% 70% at 64% 40%, rgba(255, 150, 60, .9) 0%, rgba(255, 130, 40, 0) 100%),
    linear-gradient(100deg, #a83206 0%, #bd3c07 34%, #dc520c 62%, #c4400a 100%);
  color: #fff;
}
.sec { padding: var(--sec) var(--pad); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); }

/* ---------- type ---------- */
.giant {
  display: block; white-space: nowrap; font-size: var(--t-giant); font-weight: 700; font-stretch: 62%; font-variation-settings: "wdth" 62;
  line-height: .86; letter-spacing: -0.01em; text-transform: uppercase;
}
.giant--md { font-size: clamp(72px, 9vw, 150px); }
.title { font-size: var(--t-title); font-weight: 600; font-stretch: 75%; font-variation-settings: "wdth" 75; line-height: .98; letter-spacing: -0.02em; text-wrap: balance; max-width: 18ch; }
.title--sm { font-size: clamp(32px, 2.4vw + 18px, 52px); }
h3 { font-size: var(--t-h3); font-weight: 600; font-stretch: 80%; font-variation-settings: "wdth" 80; line-height: 1.1; letter-spacing: -0.005em; }

/* ---------- buttons and links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.pill svg { width: 16px; height: 16px; flex: none; transition: transform .2s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill:hover svg { transform: translate(2px, -2px); }
.pill:active { transform: translateY(0); }
.pill--white { background: #fff; color: var(--orange-text); box-shadow: 0 10px 30px rgba(90, 24, 0, .25); }
.pill--white:hover { background: #fff4ec; }
.pill--orange { background: var(--orange-deep); color: #fff; }
.pill--orange:hover { background: #a93404; }
.pill--ink { background: var(--ink); color: #fff; min-height: 44px; padding: 0 20px; font-size: 15px; }
.pill--ink:hover { background: #3a332c; }
.pill:disabled { opacity: .6; cursor: progress; transform: none; }
.textlink {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; margin-top: var(--s-6);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: background-size .35s var(--ease);
}
.textlink:hover { background-size: 0% 2px; background-position: 100% 100%; }
.textlink svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.textlink:hover svg { transform: translate(2px, -2px); }

/* ---------- ticks and crosses (drawn icons) ---------- */
.ticks { display: grid; gap: 10px; margin-top: var(--s-5); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ticks__c { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff1e8; color: var(--orange-text); display: grid; place-items: center; margin-top: 1px; }
.ticks__c svg { width: 13px; height: 13px; }

/* ---------- 1. hero ---------- */
.hero { height: calc(100svh - 2 * var(--seam)); min-height: 640px; max-height: 960px; padding: 0; }
.hero__panel { position: absolute; top: 100px; right: var(--seam); bottom: var(--seam); width: 31%; background: #fff; border-radius: var(--r-panel); z-index: 0; }
.hero__glow { position: absolute; left: 44%; top: 10%; width: 36%; height: 90%; background: radial-gradient(closest-side, rgba(255, 196, 120, .75), rgba(255, 140, 40, 0)); z-index: 0; }
.hero__me { position: absolute; bottom: 0; left: 62%; transform: translateX(-50%); z-index: 1; height: 90%; width: auto; max-width: none; filter: drop-shadow(0 24px 48px rgba(90, 24, 0, .35)); }

.bar { position: absolute; z-index: 3; top: var(--seam); left: 0; right: var(--seam); height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 28px 0 48px; }
.bar__name { color: #fff; font-weight: 600; font-size: 19px; letter-spacing: -0.01em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.bar__menu { display: flex; align-items: center; gap: 4px; }
.bar__menu a:not(.pill) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink); transition: background-color .2s var(--ease); }
.bar__menu a:not(.pill):hover { background: var(--paper); }
.bar__menu .pill { margin-left: 8px; }
.bar__toggle { display: none; }

.hero__text { position: absolute; z-index: 2; left: 56px; top: 50%; transform: translateY(-44%); width: 40%; }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 16px; font-weight: 600; letter-spacing: .01em; margin-bottom: 18px; color: #fff; }
.hero__where { display: inline-flex; align-items: center; gap: 6px; background: rgba(64, 14, 0, .5); border-radius: 999px; padding: 5px 12px 5px 9px; font-size: 14px; }
.hero__where svg { width: 15px; height: 15px; }
.hero__h { display: block; margin-top: 22px; font-size: clamp(22px, 1.75vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; max-width: 22ch; }
.hero .giant { filter: drop-shadow(0 12px 28px rgba(90, 24, 0, .28)); }
.hero__btn { margin-top: 30px; min-height: 60px; padding: 0 10px 0 28px; gap: 16px; font-size: 17px; box-shadow: 0 16px 34px -12px rgba(40, 8, 0, .7); }
.hero__btn-ic { width: 42px; height: 42px; border-radius: 50%; background: var(--orange-deep); display: grid; place-items: center; transition: transform .25s var(--ease); }
.hero__btn:hover .hero__btn-ic { transform: rotate(45deg); }
.hero__btn:hover svg { transform: none; }
/* the plan, on the white panel */
.hero__plan { position: absolute; z-index: 2; right: 48px; top: 20%; width: calc(31% - 96px); color: var(--ink); }
.hero__plan-h { font-size: 15px; font-weight: 600; color: var(--muted); }
.hero__plan ol { margin-top: 14px; display: grid; gap: 0; counter-reset: none; border-top: 1px solid #ebe5dd; }
.hero__plan li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid #ebe5dd; font-size: clamp(16px, 1.15vw, 19px); font-weight: 600; line-height: 1.25; }
.hero__plan li span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-deep); color: #fff; font-size: 15px; font-weight: 700; }
.hero .giant { font-size: clamp(88px, 11.5vw, 176px); }
.giant__l { display: block; }
.hero__yes { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; font-weight: 500; }
.hero__yes li { display: inline-flex; align-items: center; gap: 7px; }
.hero__yes svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #fff; color: var(--orange-deep); flex: none; }
.hero__reviews { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; text-decoration: none; }
.hero__reviews svg { width: 20px; height: 20px; }
.hero__stars { color: #e8a200; letter-spacing: 1px; }



/* the one authored moment: the hero assembles on load (src/scripts/motion.ts). Until GSAP takes over,
   the pieces wait hidden; if the script never runs they appear on their own after 3s. */
@keyframes m-show { to { visibility: visible; } }
.motion :is(.hero, .pagehead) :is(.giant, .hero__h, .pagehead__h, .title, .hero__btn, .hero__facts li, .pagehead__lead, .pagehead__meta, .pagehead__actions, .hero__me, .pagehead__me, .hero__panel, .hero__plan, .bar, .hero__eyebrow, .hero__yes li, .hero__reviews) {
  visibility: hidden; animation: m-show 0s 3s forwards;
}
.giant .ch-mask { padding-block: .08em; margin-block: -.08em; }

/* ---------- 2. the challenge ---------- */
.challenge { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--s-8); align-items: start; }
.pains { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-7); border-bottom: 1px solid var(--line); }
.pains li { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding: 20px 0; line-height: 1.35; font-size: clamp(17px, .3vw + 16px, 20px); font-weight: 500; }
.pains__x { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; margin-top: -1px; }
.pains__x svg { width: 11px; height: 11px; }
.challenge__answer {
  grid-column: 1 / -1; padding-top: var(--s-5);
  font-size: clamp(30px, 3.4vw, 56px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600;
  font-stretch: 75%; font-variation-settings: "wdth" 75; max-width: 30ch; text-wrap: balance;
}
.challenge__answer em { font-style: normal; color: var(--orange-text); }

/* ---------- 3. who am I ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); padding-bottom: 0; align-items: end; }
.about__photo { position: relative; align-self: end; }
.about__glow { position: absolute; inset: 18% 0 0; border-radius: var(--r-panel) var(--r-panel) 0 0; background: radial-gradient(120% 95% at 50% 30%, #ff8d2e 0%, var(--orange) 45%, var(--orange-deep) 100%); z-index: -1; }
.about__photo img { width: 100%; max-width: 520px; margin: 0 auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .4)); }
.about__text { padding-bottom: var(--pad); }
.about__lead { margin-top: var(--s-4); font-size: 17px; line-height: 1.5; max-width: 46ch; color: var(--muted-on-ink); }
.about__lead a { color: #ff9a55; display: inline-block; padding-block: 8px; margin-block: -8px; }
.about__body { margin-top: var(--s-6); display: grid; gap: var(--s-4); color: #e9e2d8; font-size: clamp(17px, .3vw + 16px, 19px); max-width: 62ch; line-height: 1.65; letter-spacing: .005em; }

.marks { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.marks li { display: inline-flex; align-items: center; gap: 10px; background: var(--ink-2); border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 15px; }
.marks img, .marks__m { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; }
/* transitions-dev: avatar group hover */
.t-avatar {
  transform-origin: center;
  transform:
    translateY(var(--shift, 0px))
    scale(var(--scale-active, 1));
  transition: transform var(--avatar-dur) var(--avatar-ease-in);
  will-change: transform;
}
.marks__m { display: grid; place-items: center; color: var(--orange-deep); font-weight: 700; font-size: 15px; padding: 0; }

/* ---------- 4. services ---------- */
.services__grid { margin-top: var(--s-7); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--s-8); }
.service { position: relative; display: flex; flex-direction: column; }
.service + .service::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(var(--s-8) / -2); width: 1px; background: var(--line); }
.service h3 { margin-top: var(--s-5); }
.service > p { margin-top: var(--s-2); color: var(--muted); line-height: 1.45; }
.service__ui { min-height: 196px; border-radius: 16px; background: #fff; padding: 16px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(60, 30, 0, .35); transition: transform .3s var(--ease); font-family: Arial, Helvetica, sans-serif; position: relative; overflow: hidden; }
.mini-list { display: grid; gap: 8px; font-size: 13px; color: #202124; }
.mini-list li { display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 10px; padding: 6px 10px; }
.mini-list li span:last-child { margin-left: auto; font-weight: 700; font-size: 12px; color: #4d5156; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--ok { background: #188038; } .dot--warn { background: var(--orange); }
.service:hover .service__ui { transform: translateY(-3px); }
.mini-map { position: absolute; inset: 0; background: #eef1f4; }
.mini-map__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
/* three businesses on the map; yours is the one that lights up */
.biz { position: absolute; display: grid; justify-items: center; }
.biz--a { left: 12%; top: 20%; } .biz--you { left: 50%; top: 22%; margin-left: -17px; } .biz--b { left: 82%; top: 62%; }
.biz__pin { position: relative; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #8a9099; color: #fff; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .18); }
.biz__pin svg { width: 17px; height: 17px; }
.biz--you .biz__pin { background: #ea4335; transform: scale(1.18); }
.biz__ring { position: absolute; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #ea4335; opacity: 0; }
.biz__label { margin-top: 8px; background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; color: #1a0dab; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); }
/* a small site being put together: structure, a clear call to action, a quote request */
.service__ui--web { padding: 14px; }
.mini-site { position: relative; height: 100%; min-height: 166px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px #e6e1da; }
.mini-site__bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: #f1ede8; }
.mini-site__bar i { width: 7px; height: 7px; border-radius: 50%; background: #d3cbc1; }
.mini-site__bar span { margin-left: 8px; flex: 1; background: #fff; border-radius: 999px; padding: 2px 10px; font-size: 11px; color: #5f6368; }
.mini-site__page { display: grid; justify-items: start; gap: 7px; padding: 12px 14px 14px; }
.mini-site__h { font: 700 15px/1.15 var(--font); font-stretch: 80%; font-variation-settings: "wdth" 80; color: var(--ink); }
.mini-site__line { width: 88%; height: 6px; border-radius: 4px; background: #ebe6df; }
.mini-site__line--short { width: 60%; }
.mini-site__btn { margin-top: 3px; background: var(--orange-deep); color: #fff; border-radius: 999px; padding: 6px 12px; font: 600 12px/1 var(--font); }
.mini-site__trust { font-size: 11px; color: #5f6368; } .mini-site__trust b { color: #e8a200; font-weight: 400; letter-spacing: 1px; }
.mini-site__cursor { position: absolute; width: 18px; height: 18px; left: 72%; top: 78%; opacity: 0; }
.mini-site__toast { position: absolute; right: 10px; top: 40px; display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border-radius: 10px; padding: 7px 10px; font: 600 12px/1 var(--font); opacity: 0; }
.mini-site__toast svg { width: 14px; height: 14px; padding: 2px; border-radius: 50%; background: #188038; }
.mini-list li span:last-child { min-width: 26px; text-align: right; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- 5. why me ---------- */
.why { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7) var(--s-8); }
.why__body { border-top: 2px solid var(--ink); padding-top: var(--s-5); }
.why__list { margin-top: 0; }
.why__list li { border-bottom: 1px solid var(--line); padding-bottom: 12px; font-size: clamp(17px, .3vw + 16px, 19px); }
.why__note { margin-top: var(--s-5); color: var(--muted); }
.why__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-7); }
.why__col { border-top: 2px solid var(--ink); padding-top: var(--s-5); }
.why__col .ticks li { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.why__col--studio .ticks__c { background: var(--orange-deep); color: #fff; }

/* ---------- 6. process ---------- */
.steps { margin-top: var(--s-7); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--line-on-ink); }
.steps__track { position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: var(--orange-deep); transform-origin: 0 50%; }
.step { position: relative; padding-top: 0; }
.step__n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-deep); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 0 0 8px var(--ink); }
.step h3 { margin-top: var(--s-5); }
.process__cta { margin-top: var(--s-7); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
.process__cta p { color: var(--muted-on-ink); }
.step p { margin-top: var(--s-2); color: var(--muted-on-ink); line-height: 1.55; letter-spacing: .005em; }

/* ---------- 7. faqs and journal ---------- */
.faqs__intro { margin-top: var(--s-4); color: var(--muted); max-width: 52ch; }
.faqs__list { margin-top: var(--s-6); display: grid; gap: var(--s-2); }
.faqs__list { gap: 0; border-bottom: 1px solid var(--line); }
.faqs details { border-top: 1px solid var(--line); }
.faqs summary { list-style: none; cursor: pointer; padding: 20px 0; min-height: 44px; font-weight: 600; font-size: clamp(17px, .3vw + 16px, 20px); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs__plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); position: relative; }
.faqs__plus::before, .faqs__plus::after { content: ''; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: #fff; border-radius: 2px; }
.faqs__plus::after { transform: rotate(90deg); transition: transform .25s var(--ease); }
.faqs details[open] .faqs__plus::after { transform: rotate(0deg); }
.faqs details p { padding-bottom: 18px; color: var(--muted); max-width: 56ch; }
.faqs details { interpolate-size: allow-keywords; }
.faqs details::details-content {
  height: 0; overflow: clip;
  transition: height var(--resize-dur) var(--resize-ease), content-visibility var(--resize-dur) allow-discrete;
}
.faqs details[open]::details-content { height: auto; }
.faqs summary:hover .faqs__plus { background: var(--orange-deep); }
.faqs__plus { transition: background-color .2s var(--ease); }
.posts { margin-top: var(--s-6); display: grid; border-bottom: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: var(--s-5); align-items: center; border-top: 1px solid var(--line); padding: 14px 0; text-decoration: none; transition: transform .2s var(--ease); }
.posts a:hover { transform: translateY(-2px); }
.posts img { grid-row: 1 / span 2; width: 96px; height: 54px; object-fit: cover; border-radius: 10px; }
.posts__t { font-weight: 600; line-height: 1.25; align-self: end; }
.posts time { font-size: 14px; color: var(--muted); align-self: start; }
.posts a:hover .posts__t { text-decoration: underline; }

/* ---------- 8. contact ---------- */
.contact {
  background:
    radial-gradient(40% 75% at 82% 45%, rgba(255, 150, 60, .8) 0%, rgba(255, 130, 40, 0) 100%),
    linear-gradient(100deg, #a83206 0%, #b43806 45%, #d24a0b 75%, #c4400a 100%);
}
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.contact__lead { margin-top: var(--s-5); font-size: var(--t-lead); max-width: 34ch; line-height: 1.4; }
.contact__lines { margin-top: var(--s-5); display: grid; gap: 0; font-size: var(--t-lead); font-weight: 600; }
.contact__lines a { display: inline-block; padding-block: 8px; text-decoration: underline 2px rgba(255, 255, 255, .5); text-underline-offset: .25em; overflow-wrap: anywhere; transition: text-decoration-color .2s var(--ease); }
.contact__lines a:hover { text-decoration-color: #fff; }
.form { background: #fff; color: var(--ink); border-radius: var(--r-panel); padding: var(--s-6); display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: 6px; }
.form label { font-size: 14px; font-weight: 600; }
.form input, .form textarea, .foot__news input { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 2px solid transparent; border-radius: 14px; padding: 12px 14px; width: 100%; transition: border-color .2s var(--ease); }
.form input:focus, .form textarea:focus, .foot__news input:focus { outline: none; border-color: var(--orange-deep); }
.form textarea { resize: vertical; min-height: 110px; }
.form__fields { display: grid; gap: var(--s-4); }
.form__fields[hidden] { display: none; }
.form .pill { justify-self: start; }
.form__opt { font-weight: 400; color: var(--muted); }
.form__note { font-size: 14px; color: var(--muted); margin-top: -6px; }
.form__status { font-size: 15px; min-height: 1.2em; }
.form__status:empty { display: none; }
.form__done { display: grid; justify-items: start; gap: var(--s-3); padding: var(--s-5) 0; }
.form__done[hidden] { display: none; }
.form__done .t-success-check svg { width: 56px; height: 56px; }
.form__done-h { font-size: var(--t-h3); font-weight: 600; font-stretch: 80%; font-variation-settings: "wdth" 80; line-height: 1.1; outline: none; }
.form__done a { color: var(--orange-text); font-weight: 600; white-space: nowrap; }
.form .t-input.is-error { border-color: #b3261e; }
.form .t-error-msg { font-size: 14px; color: #b3261e; min-height: 1.35em; margin-top: -2px; }
.foot__news .t-input.is-error { border-color: #ff8a7a; }
.foot__news .t-error-msg { font-size: 14px; color: #ffb0a4; margin-top: var(--s-2); }

/* transitions-dev: error state shake */
.t-input {
  transition: border-color 150ms ease-out;
  will-change: transform;
}
.t-input.is-error {
  transition: border-color var(--revert-dur, 280ms) ease-out;
}
.t-error-msg {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity    var(--revert-dur, 280ms) ease-out,
    visibility 0s linear var(--revert-dur, 280ms);
}
.t-input-wrap.is-error .t-error-msg {
  opacity: 1;
  visibility: visible;
  transition:
    opacity    var(--revert-dur, 280ms) ease-out,
    visibility 0s linear 0s;
}
.t-input.is-shaking {
  animation: t-input-shake calc(
      var(--shake-dur-a) * 2 + var(--shake-dur-b) * 2
    ) linear;
}
@keyframes t-input-shake {
  0%      { transform: translateX(0);                                 animation-timing-function: var(--shake-ease); }
  28.57%  { transform: translateX(var(--shake-distance));             animation-timing-function: var(--shake-ease); }
  57.14%  { transform: translateX(calc(var(--shake-distance) * -1)); animation-timing-function: var(--shake-ease); }
  78.57%  { transform: translateX(var(--shake-overshoot));            animation-timing-function: var(--shake-ease); }
  100%    { transform: translateX(0); }
}

/* transitions-dev: success check */
.t-success-check {
  display: inline-block;
  transform-origin: center;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.t-success-check svg { display: block; overflow: visible; }
.t-success-check svg path {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
}
.t-success-check[data-state="in"] {
  animation:
    t-check-fade   var(--check-opacity-dur) var(--check-ease-opacity) forwards,
    t-check-rotate var(--check-rotate-dur)  var(--check-ease-rotate)  forwards,
    t-check-blur   var(--check-blur-dur)    var(--check-ease-out)     forwards,
    t-check-bob    var(--check-bob-dur)     var(--check-ease-bob)     forwards;
}
.t-success-check[data-state="in"] svg path {
  animation: t-check-draw var(--check-path-dur) var(--check-ease-path) var(--check-path-delay, 0ms) forwards;
}
@keyframes t-check-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes t-check-rotate {
  from { transform: rotate(var(--check-rotate-from)); }
  to   { transform: rotate(0deg); }
}
@keyframes t-check-blur {
  from { filter: blur(var(--check-blur-from)); }
  to   { filter: blur(0); }
}
@keyframes t-check-bob {
  from { translate: 0 var(--check-y-amount); }
  to   { translate: 0 0; }
}
@keyframes t-check-draw { to { stroke-dashoffset: 0; } }

/* ---------- footer ---------- */
.foot { width: min(100% - 2 * var(--seam), 1440px); margin: var(--seam) auto; background: var(--ink); color: var(--muted-on-ink); border-radius: var(--r-card); padding: var(--s-7) var(--pad) var(--s-6); }
.foot__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: var(--s-7); }
.foot__name { color: #fff; font-weight: 600; font-size: 22px; margin-bottom: var(--s-2); }
.foot__social { display: flex; gap: 10px; margin-top: var(--s-5); }
.foot__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-2); color: #fff; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.foot__social a:hover { background: var(--orange-deep); transform: translateY(-2px); }
.foot__social svg { width: 19px; height: 19px; }
.foot__links { display: grid; gap: 0; align-content: start; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot__links a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.foot__links a { background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 0% 1px no-repeat; transition: background-size .35s var(--ease); }
.foot__links a:hover { background-size: 100% 1px; }
.foot__news label { display: block; color: #fff; font-weight: 600; margin-bottom: var(--s-3); }
.foot__newsrow { display: flex; gap: var(--s-2); }
.foot__news input { background: var(--ink-2); color: #fff; }
.foot__news input::placeholder { color: var(--muted-on-ink); }
.foot__news .form__status { margin-top: var(--s-2); }
.foot__legal { margin-top: var(--s-7); font-size: 14px; }
.foot__legal a { color: #fff; display: inline-block; min-width: 44px; text-align: center; padding: 12px 4px; margin: -12px 0; }

/* phone call bar */
.callbar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 6px;
  padding: 6px; border-radius: 999px; background: rgba(20, 18, 16, .92); backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(20, 10, 0, .35);
  transform: translateY(calc(100% + 24px)); transition: transform .4s var(--ease);
}
.callbar.is-on { transform: none; }
.callbar a { min-height: 48px; font-size: 15px; padding: 0 18px; white-space: nowrap; }
.callbar svg { width: 18px; height: 18px; }
.pill--dark { background: #2f2a25; color: #fff; }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { .foot { margin-bottom: 84px; } }

/* ---------- mid widths ---------- */
@media (min-width: 900px) and (max-width: 1180px) {
  .bar__menu a:not(.pill) { padding: 0 7px; font-size: 14px; }
  .bar__menu .pill { padding: 0 14px; margin-left: 4px; }
  .bar { padding-left: 36px; padding-right: 20px; }
}
@media (max-width: 1199px) {
  .hero__text { left: 40px; width: 42%; }
  .hero__me { left: 61%; height: 80%; }
  .hero__panel { width: 29%; }
  .hero__plan { right: 28px; width: calc(29% - 56px); top: 18%; }
  .hero__plan li { padding: 11px 0; grid-template-columns: 30px 1fr; gap: 10px; }
  .hero__plan li span { width: 30px; height: 30px; font-size: 14px; }
  .hero { background:
    radial-gradient(30% 60% at 62% 45%, rgba(255, 150, 60, .75) 0%, rgba(255, 130, 40, 0) 100%),
    linear-gradient(100deg, #a03005 0%, #b03606 40%, #d24a0b 70%, #c4400a 100%); }
  .hero__glow { left: 46%; width: 30%; }
  .bar__menu a:not(.pill) { padding: 10px 8px; font-size: 14px; }
  .challenge, .why { grid-template-columns: 1fr; }
  .title { max-width: 22ch; }
}

/* ---------- tablet and phone ---------- */
@media (max-width: 899px) {
  :root { --r-card: 26px; --r-panel: 18px; }
  .hero { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; padding: 92px 24px 12px; }
  .hero__panel { display: none; }
  /* the white panel returns under the photo, as on desktop, carrying the plan */
  .hero__plan { position: relative; order: 3; z-index: 2; inset: auto; width: auto; margin: 0 -12px; background: #fff; border-radius: var(--r-panel); padding: 24px 22px 14px; }
  .hero__plan li { font-size: 17px; }
  .hero__eyebrow { font-size: 14px; margin-bottom: 12px; }
  .hero__glow { left: 10%; width: 80%; top: 55%; height: 45%; }
  .hero, .contact { background:
    radial-gradient(70% 40% at 50% 85%, rgba(255, 150, 60, .75) 0%, rgba(255, 130, 40, 0) 100%),
    linear-gradient(180deg, #a83206 0%, #b43806 45%, #cf4a0b 100%); }
  .bar { left: 0; right: 0; padding: 0 16px 0 24px; }
  .bar__toggle { display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: transparent; cursor: pointer; }
  .bar__toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s var(--ease); }
  .bar__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .bar__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .bar__menu { position: absolute; top: 64px; right: 12px; left: 12px; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 20px 40px rgba(60, 20, 0, .25); display: flex; visibility: hidden; }
  .bar__menu.is-open, .bar__menu.is-closing { visibility: visible; }
  /* transitions-dev: menu dropdown */
  .t-dropdown {
    transform-origin: top left;
    transform: scale(var(--dropdown-pre-scale));
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--dropdown-open-dur) var(--dropdown-ease),
      opacity   var(--dropdown-open-dur) var(--dropdown-ease);
    will-change: transform, opacity;
  }
  .t-dropdown[data-origin="top-right"]     { transform-origin: top right; }
  .t-dropdown.is-open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }
  .t-dropdown.is-closing {
    transform: scale(var(--dropdown-closing-scale));
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--dropdown-close-dur) var(--dropdown-ease),
      opacity   var(--dropdown-close-dur) var(--dropdown-ease);
  }
  .bar__menu a:not(.pill) { padding: 14px 12px; font-size: 17px; }
  .bar__menu .pill { margin: 8px 0 0; }
  .hero__text { position: static; transform: none; width: auto; }
  .hero .giant { font-size: min(30vw, 150px); }
  .hero__h { font-size: 20px; margin-top: 14px; }
  .hero__btn { margin-top: 20px; width: 100%; }
  .hero__yes { margin-top: 22px; gap: 6px 14px; font-size: 14px; }
  .hero__me { position: relative; order: 1; left: auto; transform: none; align-self: center; height: min(112vw, 520px); width: auto; max-width: 100%; object-fit: contain; object-position: bottom; margin-top: 20px; }
  .pains { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: var(--s-6); }
  .about__photo { order: 2; margin: 0 calc(var(--pad) * -1); }
  .about__photo img { max-width: 380px; }
  .about__glow { inset: 22% 0 0; border-radius: 0; }
  .about__text { padding-bottom: 0; }
  .marks { gap: 6px; }
  .marks li { font-size: 14px; gap: 7px; padding: 5px 12px 5px 5px; }
  .marks img, .marks__m { width: 26px; height: 26px; }
  .services__grid, .steps, .why__cols, .pair, .contact, .foot__row { grid-template-columns: 1fr; }
  .pains { column-gap: 0; }
  .service + .service::before { display: none; }
  .service { padding: var(--s-6) 0; border-top: 1px solid var(--line); }
  .service:first-child { border-top: 0; padding-top: 0; }
  .steps { gap: var(--s-6); }
  .steps::before, .steps__track { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps__track { transform-origin: 50% 0; }
  .step { padding-left: 68px; }
  .step__n { position: absolute; left: 0; top: -6px; }
  .step h3 { margin-top: 0; }
  .pair { gap: var(--sec); }
  .contact { gap: var(--s-6); }
  .form .pill { justify-self: stretch; }
  .foot__row { gap: var(--s-6); }
  .foot__newsrow { flex-direction: column; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .services__grid { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); }
  .service:nth-child(2) { border-top: 0; padding-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .t-dropdown { transition: none !important; }
  .t-avatar { transition: none !important; transform: none !important; }
  .t-input { animation: none !important; transform: none !important; }
  .t-success-check { animation: none !important; opacity: 1; }
  .t-success-check svg path { animation: none !important; stroke-dashoffset: 0 !important; }
  .faqs details::details-content { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   Inner pages: the same world. An orange page-head card (the hero's
   little sibling) with the bar, then white and ink cards below.
   ===================================================================== */

/* the bar carries its own white pill (the home panel is narrower than the menu; inner pages have none) */
.bar__menu { background: #fff; border-radius: 999px; padding: 6px 6px 6px 10px; box-shadow: 0 10px 30px rgba(90, 24, 0, .18); }
.bar { right: 0; padding-right: 28px; }

.pagehead {
  background:
    radial-gradient(34% 80% at 84% 70%, rgba(255, 150, 60, .8) 0%, rgba(255, 130, 40, 0) 100%),
    linear-gradient(100deg, #a03005 0%, #ad3506 45%, #cf4a0b 78%, #c4400a 100%);
}
.pagehead { min-height: 440px; padding: 132px var(--pad) var(--pad); display: flex; align-items: flex-end; }
.pagehead__text { position: relative; z-index: 2; max-width: 62%; }
.pagehead__h { display: block; margin-top: 18px; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.2; font-weight: 500; max-width: 26ch; }
.pagehead .title { color: #fff; max-width: 22ch; }
.pagehead__lead { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.45; max-width: 52ch; color: #fff; }
.pagehead__meta { margin-top: var(--s-4); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px; }
.pagehead__meta span { background: rgba(64, 14, 0, .62); border-radius: 999px; padding: 6px 12px; }
.pagehead__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.pagehead .giant { filter: drop-shadow(0 12px 28px rgba(90, 24, 0, .28)); }
.pagehead__glow { position: absolute; right: 4%; bottom: -10%; width: 40%; height: 100%; background: radial-gradient(closest-side, rgba(255, 196, 120, .7), rgba(255, 140, 40, 0)); z-index: 0; }
.pagehead__me { position: absolute; right: 6%; bottom: 0; height: 92%; width: auto; max-width: none; z-index: 1; filter: drop-shadow(0 24px 48px rgba(90, 24, 0, .35)); }
.pill--ghost { background: rgba(64, 14, 0, .62); color: #fff; }
.pill--ghost:hover { background: rgba(120, 30, 0, .45); }

/* journal: a grid of post cards inside a white card */
.postgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--seam); }
.postgrid { column-gap: var(--s-6); row-gap: var(--s-7); }
.postcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.postcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-panel); transition: transform .4s var(--ease); }
.postcard a:hover img { transform: scale(1.02); }
.postcard a:hover h2, .postcard a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.postcard time { margin-top: var(--s-4); font-size: 14px; color: var(--muted); }
.postcard h2, .postcard h3 { margin-top: 6px; font-size: var(--t-h3); font-weight: 600; line-height: 1.2; }
.postcard p { margin-top: 10px; color: var(--muted); line-height: 1.45; }
.card__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-5); margin-bottom: var(--s-6); }

/* article */
.article { padding-top: var(--s-6); }
.article__cover { margin: 0 0 var(--s-7); }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-panel); }
.prose { max-width: 68ch; margin-inline: auto; font-size: clamp(17px, .3vw + 16px, 19px); line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(26px, 1.4vw + 18px, 36px); font-weight: 600; font-stretch: 75%; font-variation-settings: "wdth" 75; line-height: 1.05; letter-spacing: -0.01em; }
.prose ul { list-style: none; padding: 0; display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-deep); }
.prose strong { font-weight: 700; }
.prose a { color: var(--orange-text); }
.ctaband { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); }
.ctaband .title { color: #fff; max-width: 20ch; }
.ctaband p { margin-top: var(--s-3); font-size: var(--t-lead); color: #fff; max-width: 44ch; }

/* plain text card (credits) */
.plainlist { display: grid; max-width: 80ch; border-bottom: 1px solid var(--line); }
.plainlist li { border-top: 1px solid var(--line); padding: 14px 0; line-height: 1.45; }
.plainlist a { color: var(--orange-text); }

@media (max-width: 1199px) {
  .pagehead__text { max-width: 60%; }
  .pagehead__me { right: 2%; height: 84%; }
  .pagehead { background:
    radial-gradient(28% 70% at 86% 75%, rgba(255, 150, 60, .75) 0%, rgba(255, 130, 40, 0) 100%),
    linear-gradient(100deg, #9c2f05 0%, #a83406 55%, #cc490b 85%, #c4400a 100%); }
  .postgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .bar__menu { border-radius: 20px; padding: 10px; }
  .pagehead { min-height: 0; padding: 104px 24px 32px; flex-direction: column; align-items: stretch; }
  .pagehead__text { max-width: none; }
  .pagehead .giant { font-size: min(21vw, 120px); }
  .pagehead__me { position: relative; right: auto; height: 280px; align-self: center; margin: var(--s-5) 0 -32px; }
  .pagehead__glow { right: 10%; width: 80%; height: 40%; bottom: 0; }
  .pagehead { background:
    radial-gradient(70% 30% at 50% 92%, rgba(255, 150, 60, .75) 0%, rgba(255, 130, 40, 0) 100%),
    linear-gradient(180deg, #a03005 0%, #ad3506 55%, #cf4a0b 100%); }
  .postgrid { grid-template-columns: 1fr; }
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.postgrid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 899px) { .postgrid--two { grid-template-columns: 1fr; } }
html.menu-open { overflow: hidden; }

/* a video at the top of an article: its poster and a play button until clicked, then the player */
.article__video .yt, .article__video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-panel); overflow: hidden; background: var(--ink); }
.article__video img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--orange-deep); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6); transition: transform .25s var(--ease); }
.yt__play svg { width: 34px; height: 34px; margin-left: 4px; }
.yt:hover .yt__play { transform: scale(1.08); }

/* figures inside an article: the picture, then a small source line */
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.prose figcaption { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.prose figcaption a { color: inherit; }
.prose .note-box { background: var(--paper); border-radius: 16px; padding: 18px 22px; font-size: .95em; }
