/* ==========================================================================
   FAQIA RIAZ - HOME (landing) STYLES
   Identity carried over from the initial variant: near-black + orange,
   Outfit + Plus Jakarta Sans, notched "stepped corner" shapes, split-pill
   buttons, dark floating nav. Light theme = cream page with dark "ink" stages.

   1 Tokens  2 Base  3 Shapes  4 Buttons  5 Nav  6 Hero  7 Strip
   8 Services  9 Work  10 About  11 FAQ chat  12 Contact  13 Footer
   14 Motion  15 Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --accent: #FDA10C;
  --accent-soft: rgba(253, 161, 12, 0.16);
  --on-accent: #131313;

  /* "ink" = always-dark stage surfaces (nav, windows, panels, footer) */
  --ink: #141210;
  --ink-2: #1E1B17;
  --ink-3: #2A2621;
  --ink-text: #F5F3EE;
  --ink-muted: #A8A39A;
  --ink-line: rgba(255, 255, 255, 0.1);

  --font-display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;

  --wrap: 75rem;
  --gutter: clamp(1.125rem, 4vw, 2rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --z-nav: 100;
  --z-menu: 90;

  /* dark theme (default) */
  color-scheme: dark;
  --bg: #0F0F0F;
  --bg-2: #151515;
  --surface: #1E1E1E;
  --surface-2: #272727;
  --text: #F5F3EE;
  --text-2: #C9C6BE;
  --muted: #8F8C85;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.22);
  --hl: var(--accent);
  --focus: var(--accent);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F1E7;
  --bg-2: #EAE6D8;
  --surface: #FFFFFF;
  --surface-2: #E4DFCF;
  --text: #171512;
  --text-2: #3F3B33;
  --muted: #666156;
  --line: rgba(23, 21, 18, 0.12);
  --line-2: rgba(23, 21, 18, 0.32);
  --hl: var(--accent);
  --focus: #171512;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
i.ph { line-height: 1; flex: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--bg-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .7rem 1.2rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.hl { color: var(--hl); }
.h2 { font-size: clamp(2.1rem, 1rem + 3.4vw, 3.6rem); }
.lead { color: var(--text-2); max-width: 52ch; font-size: 1.0625rem; }
.sec-head { display: grid; gap: 1rem; justify-items: start; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 1.5rem; height: .75rem; border-radius: 999px;
  background: radial-gradient(circle at 70% 50%, var(--bg) 0 .19rem, transparent .21rem), var(--accent);
}

/* breadcrumb on sub-pages */
.crumbs { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--muted); }
.crumbs a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.crumbs a:hover { color: var(--hl); border-color: currentColor; }
.crumbs i { font-size: .8rem; }

.progress {
  position: fixed; inset: 0 0 auto 0; z-index: calc(var(--z-nav) + 1); height: 3px;
  background: var(--accent); transform-origin: left; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .progress { animation: prog linear both; animation-timeline: scroll(root); }
  @keyframes prog { to { transform: scaleX(1); } }
}

/* 3. SHAPES: stepped notch corners (clip-path) ------------------------------ */
.notch { --nw: 22%; --nh: .6rem; --nd: .9rem; }
.notch-tr { clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw) + var(--nd)) var(--nh), 100% var(--nh), 100% 100%, 0 100%); }
.notch-tl-bl { clip-path: polygon(0 var(--nh), calc(var(--nw) - var(--nd)) var(--nh), var(--nw) 0, 100% 0, 100% 100%, var(--nw) 100%, calc(var(--nw) - var(--nd)) calc(100% - var(--nh)), 0 calc(100% - var(--nh))); }
.notch-tr-bl { clip-path: polygon(0 0, calc(100% - var(--nw)) 0, calc(100% - var(--nw) + var(--nd)) var(--nh), 100% var(--nh), 100% 100%, var(--nw) 100%, calc(var(--nw) - var(--nd)) calc(100% - var(--nh)), 0 calc(100% - var(--nh))); }
.notch-tl-br { clip-path: polygon(0 var(--nh), calc(var(--nw) - var(--nd)) var(--nh), var(--nw) 0, 100% 0, 100% calc(100% - var(--nh)), calc(100% - var(--nw) + var(--nd)) calc(100% - var(--nh)), calc(100% - var(--nw)) 100%, 0 100%); }

.tag {
  display: inline-flex; align-items: center; padding: .32rem .85rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 .9rem; border-radius: 999px;
  border: 1px solid currentColor; font-size: .85rem; font-weight: 500; opacity: .85;
}

/* 4. BUTTONS: split pill ---------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 52px; padding: 0 .5rem 0 1.6rem; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn__dot {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font-size: 1.1rem; transition: transform .45s var(--ease);
}
.btn:hover .btn__dot { transform: rotate(45deg); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary .btn__dot { background: var(--on-accent); color: var(--accent); }
.btn--primary:hover { background: #FFB02E; }
.btn--ink { background: var(--ink); color: var(--ink-text); }
.btn--ink .btn__dot { background: var(--accent); color: var(--on-accent); }
.btn--ghost { padding: 0 1.6rem; border-color: var(--line-2); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--hl); }
.btn--sm { min-height: 44px; padding-left: 1.2rem; font-size: .92rem; }
.btn--sm .btn__dot { width: 32px; height: 32px; font-size: 1rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 600;
  border-bottom: 2px solid currentColor; padding-bottom: .15rem; transition: gap .3s var(--ease);
}
.link-arrow:hover { gap: .85rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--ink-line); background: transparent; color: var(--ink-text); font-size: 1.2rem;
  transition: background-color .2s, transform .3s var(--ease);
}
.icon-btn:hover { background: var(--ink-3); }
.icon-btn:active { transform: scale(.92); }

/* 5. NAV: dark floating pill ------------------------------------------------ */
.nav { position: fixed; inset: .9rem 0 auto 0; z-index: var(--z-nav); padding-inline: var(--gutter); pointer-events: none; }
.nav__pill {
  pointer-events: auto; max-width: var(--wrap); height: 62px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 .6rem 0 1rem; border-radius: 999px; border: 1px solid var(--ink-line);
  background: color-mix(in srgb, var(--ink) 92%, transparent); color: var(--ink-text);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .55);
}
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav__links { display: flex; gap: .15rem; }
.nav__links a { padding: .55rem 1rem; border-radius: 999px; color: var(--ink-muted); font-weight: 500; font-size: .95rem; transition: color .2s, background-color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink-text); background: var(--ink-3); }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.theme-btn .ph-sun { display: none; }
:root[data-theme="dark"] .theme-btn .ph-moon { display: none; }
:root[data-theme="dark"] .theme-btn .ph-sun { display: block; }
.menu-btn { display: none; }
.menu-btn .ph-x { display: none; }
.nav.is-open .menu-btn .ph-x { display: block; }
.nav.is-open .menu-btn .ph-list { display: none; }
.mobile-menu {
  pointer-events: auto; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + .5rem); z-index: var(--z-menu);
  display: grid; gap: .1rem; padding: .75rem 1.25rem 1.25rem; border-radius: 1.5rem; background: var(--ink); color: var(--ink-text);
  border: 1px solid var(--ink-line); visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav.is-open .mobile-menu { visibility: visible; opacity: 1; transform: none; }
.mobile-menu a:not(.btn) { padding: .85rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; border-bottom: 1px solid var(--ink-line); }
.mobile-menu .btn { margin-top: 1rem; justify-self: start; }

/* 6. HERO ------------------------------------------------------------------- */
.hero { padding: 6.25rem 0 3rem; }
.hero__kicker { display: flex; align-items: center; gap: .85rem; font-family: var(--font-display); font-weight: 500; color: var(--text-2); }
.hero__kicker img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; border: 2px solid var(--accent); }
.hero__title { margin-top: 1rem; font-size: clamp(2.35rem, .8rem + 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; max-width: 18ch; }
.hero__grid { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.hero__lead { color: var(--text-2); font-size: 1.0625rem; max-width: 36ch; }
.situations { margin-top: 1.25rem; display: grid; gap: .5rem; }
.sit {
  --nw: 28%; --nh: .4rem; --nd: .65rem;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; width: 100%; min-height: 56px;
  padding: .4rem 1.1rem .4rem .4rem; border: 0; background: var(--surface); color: var(--text); text-align: left;
  font-family: var(--font-display); font-weight: 500; font-size: 1.02rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .35s var(--ease);
}
.sit:hover { transform: translateX(4px); }
.sit:focus-visible { outline-offset: -4px; }
.sit__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-2); color: var(--hl); font-size: 1.25rem; transition: background-color .3s, color .3s; }
.sit__go { font-size: 1.1rem; opacity: .5; transition: transform .35s var(--ease), opacity .3s; }
.sit.is-active { background: var(--accent); color: var(--on-accent); }
.sit.is-active .sit__icon { background: var(--on-accent); color: var(--accent); }
.sit.is-active .sit__go { opacity: 1; transform: rotate(-45deg); }
.hero__do { margin-top: 1.25rem; min-height: 5.2em; color: var(--text-2); max-width: 40ch; }
.hero__cta { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__facts { margin-top: 1.1rem; color: var(--muted); font-size: .92rem; font-weight: 500; }
.hero__facts i { color: var(--hl); font-size: 1.1rem; }

/* the stage: a site travelling from stuck to live */
.stage { --p: 0; --hl: var(--accent); min-width: 0; }
.stage__shell { filter: drop-shadow(0 30px 36px rgba(0, 0, 0, .38)); }
.win { --nw: 26%; --nh: .6rem; --nd: .9rem; background: var(--ink); color: var(--ink-text); border-radius: 1.25rem; overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: .9rem; height: 46px; padding: 0 1rem; background: var(--ink-2); border-bottom: 1px solid var(--ink-line); }
.win__dots { display: flex; gap: .35rem; }
.win__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); }
.win__url { flex: 1; min-width: 0; display: flex; align-items: center; gap: .45rem; height: 28px; padding: 0 .8rem; border-radius: 999px; background: var(--ink-3); font-family: var(--font-mono); font-size: .76rem; color: var(--ink-muted); overflow: hidden; white-space: nowrap; }
.win__url span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.win__url i { color: #FF8A65; font-size: .95rem; }
.win__url.is-secure i { color: #7FD6A0; }
.win__status { padding: .28rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 700; font-family: var(--font-display); letter-spacing: .02em; background: rgba(255, 255, 255, .08); color: var(--ink-muted); white-space: nowrap; transition: background-color .3s, color .3s; }
.win__status[data-state="progress"] { background: var(--accent-soft); color: var(--accent); }
.win__status[data-state="live"] { background: var(--accent); color: var(--on-accent); }

.win__body { position: relative; aspect-ratio: 1064 / 656; overflow: hidden; background: #0C0B0A; container-type: inline-size; }
.layer { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.layer[data-layer="blank"] { opacity: 1; }
.layer--live img { width: 100%; height: 100%; object-fit: cover; }

.wf { position: absolute; border: 1.5px dashed rgba(253, 161, 12, .5); border-radius: 6px; }
.wf--nav { left: 5%; right: 5%; top: 6%; height: 9%; }
.wf--hero { left: 5%; right: 5%; top: 20%; height: 38%; display: grid; place-items: center; align-content: center; gap: .4rem; }
.wf--hero span { font-family: var(--font-display); font-size: clamp(.75rem, .4rem + 1.4cqw, 1.05rem); color: var(--ink-muted); }
.wf--c1, .wf--c2, .wf--c3 { top: 64%; height: 28%; width: 28%; }
.wf--c1 { left: 5%; } .wf--c2 { left: 36%; } .wf--c3 { left: 67%; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
.wf--hero .caret { position: absolute; margin: 0; right: 30%; top: 50%; display: none; }

.codebar { display: flex; align-items: center; justify-content: space-between; padding: .6rem 1.1rem; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-muted); border-bottom: 1px solid var(--ink-line); }
.codebar b { color: var(--accent); font-weight: 600; }
.code { margin: 0; padding: .9rem 1.1rem; font: 500 clamp(.64rem, .5rem + .55cqw, .84rem)/1.75 var(--font-mono); color: #E8E4DA; overflow: hidden; }
.ln { display: inline-block; width: 1.6em; margin-right: .8em; color: #5C574E; text-align: right; user-select: none; }
.c-tag { color: var(--accent); } .c-attr { color: #D9B382; } .c-str { color: #8FD19E; }

.layer--builder { display: grid; grid-template-columns: 22% 1fr; background: var(--ink-2); }
.bld__panel { padding: .9rem; border-right: 1px solid var(--ink-line); }
.bld__title { display: block; margin-bottom: .6rem; font-family: var(--font-display); font-size: clamp(.62rem, .4rem + .9cqw, .8rem); font-weight: 600; color: var(--ink-muted); }
.bld__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem; }
.bld__grid i { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: var(--ink-3); color: var(--ink-muted); font-size: clamp(.9rem, .5rem + 1.8cqw, 1.3rem); }
.bld__canvas { padding: 1rem; display: grid; gap: .8rem; align-content: start; background: #E9E5D8; }
.bld__block { position: relative; display: grid; gap: .5rem; padding: 1rem; border-radius: 8px; background: #F7F5EE; outline: 2px solid transparent; }
.bld__block--sel { outline-color: var(--accent); }
.bld__tag { position: absolute; top: -.6rem; left: .6rem; padding: .1rem .5rem; border-radius: 4px; background: var(--accent); color: var(--on-accent); font-size: .62rem; font-weight: 700; }
.bld__h { height: .9rem; width: 62%; border-radius: 4px; background: #25211B; }
.bld__p { height: .5rem; width: 82%; border-radius: 4px; background: #B9B3A3; }
.bld__btn { height: 1.1rem; width: 26%; border-radius: 999px; background: var(--accent); }
.bld__block--row { grid-template-columns: repeat(3, 1fr); }
.bld__card { height: clamp(1.8rem, 1rem + 5cqw, 3.4rem); border-radius: 6px; background: #D9D3C2; }

.layer--checks { display: flex; align-items: flex-end; padding: .9rem; opacity: 0; }
.layer--checks ul { display: grid; gap: .45rem; padding: .8rem 1rem; border-radius: 12px; background: rgba(20, 18, 16, .92); border: 1px solid var(--ink-line); }
.layer--checks li { display: flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 600; color: var(--ink-muted); transition: color .3s; }
.layer--checks li i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink-3); color: transparent; font-size: .7rem; transition: background-color .3s, color .3s; }
.layer--checks li.is-done { color: var(--ink-text); }
.layer--checks li.is-done i { background: var(--accent); color: var(--on-accent); }

.layer--flags { padding: .9rem; }
.flag { position: absolute; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; font-size: .76rem; font-weight: 700; background: var(--ink); color: var(--ink-text); border: 1px solid var(--ink-line); opacity: 0; }
.flag--bad { top: .9rem; left: .9rem; border-color: #B5502F; } .flag--bad i { color: #FF8A65; }
.flag--bad2 { top: 3.2rem; }
.flag--good { right: .9rem; bottom: .9rem; background: var(--accent); color: var(--on-accent); border-color: transparent; }

.slider {
  position: relative; height: 64px; margin-top: 1.1rem; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--line-2); touch-action: none; user-select: none; cursor: grab; overflow: hidden;
}
.slider:active { cursor: grabbing; }
.slider__fill { position: absolute; inset: 4px auto 4px 4px; width: calc(56px + (100% - 64px) * var(--p)); border-radius: 999px; background: var(--accent); }
.slider__hint { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; color: var(--muted); opacity: calc(1 - var(--p) * 4); padding-left: 3rem; }
.slider__end { position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 700; color: var(--muted); }
.slider__handle {
  position: absolute; top: 4px; left: calc(4px + (100% - 64px) * var(--p)); width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--on-accent); color: var(--accent); font-size: 1.4rem;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .5);
}
.slider:focus-visible { outline-offset: 4px; }
.slider__done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; padding-right: 3.5rem; font-family: var(--font-display); font-weight: 700; color: var(--on-accent); opacity: 0; transition: opacity .4s var(--ease); }
.stage[data-done="true"] .slider__done { opacity: 1; }
.stage[data-done="true"] .slider__end { opacity: 0; }

/* 7. STRIP: the one marquee --------------------------------------------------- */
.strip { position: relative; z-index: 1; padding-block: 1.5rem; overflow: clip; }
.strip__band { margin-inline: -4%; padding-block: 1.1rem; background: var(--accent); color: var(--on-accent); transform: rotate(-1.4deg); overflow: hidden; }
.strip__track { display: flex; align-items: center; gap: 2rem; width: max-content; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 2vw, 2.6rem); letter-spacing: -.02em; white-space: nowrap; animation: marquee 38s linear infinite; }
.strip__track i { font-size: 1.1em; }
.strip:hover .strip__track { animation-play-state: paused; }

/* 8. SERVICES: stacking panels ---------------------------------------------- */
.panels { display: grid; gap: 1.5rem; }
.panel {
  --nw: 20%; --nh: .7rem; --nd: 1rem; --hl: var(--accent);
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  min-height: clamp(26rem, 62vh, 31rem); padding: clamp(1.5rem, 3.6vw, 3.25rem); border-radius: 1.75rem; overflow: hidden;
}
.panel__text { display: grid; gap: 1.1rem; justify-items: start; }
.panel h3 { font-size: clamp(1.9rem, 1rem + 2.6vw, 3rem); max-width: 14ch; }
.panel p { max-width: 38ch; font-size: 1.0625rem; }
.panel .panel__start { display: flex; gap: .65rem; align-items: flex-start; max-width: 40ch; padding-top: 1rem; border-top: 1px solid currentColor; border-top-color: color-mix(in srgb, currentColor 18%, transparent); font-size: .98rem; }
.panel__start i { margin-top: .2rem; font-size: 1.15rem; color: var(--hl); }
.panel--2 .panel__start i { color: var(--on-accent); }
.panel__lead { font-family: var(--font-display); font-weight: 700; }
.panel--1 .panel__lead, .panel--4 .panel__lead { color: var(--ink-text); }
.panel--2 .panel__lead { color: var(--on-accent); }
.panel--3 .panel__lead { color: var(--text); }
.panel--1 { background: var(--ink); color: var(--ink-text); }
.panel--1 p { color: var(--ink-muted); }
.panel--2 { background: var(--accent); color: var(--on-accent); }
.panel--2 .tag { background: var(--on-accent); color: var(--accent); }
.panel--2 p { color: #2D2812; }
.panel--3 { background: var(--surface); color: var(--text); --hl: var(--hl); }
.panel--3 p { color: var(--text-2); }
.panel--4 { background: var(--ink-2); color: var(--ink-text); }
.panel--4 p { color: var(--ink-muted); }
.panel__visual { position: relative; display: grid; place-items: center; }

/* 1: structure -> design -> build */
.stairs { position: relative; width: 100%; max-width: 30rem; aspect-ratio: 1.15; }
.fr { position: absolute; width: 62%; aspect-ratio: 1.5; border-radius: .9rem; overflow: hidden; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 20px 34px -16px rgba(0, 0, 0, .7); }
.fr--1 { left: 0; top: 0; } .fr--2 { left: 19%; top: 26%; } .fr--3 { left: 38%; top: 52%; }
.fr img { width: 100%; height: 100%; object-fit: cover; }
.fr__cap { position: absolute; top: .55rem; left: .55rem; z-index: 2; padding: .18rem .6rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: .66rem; font-weight: 700; font-family: var(--font-display); }
.fr .wf { border-width: 1px; }
.fr .wf--hero span { display: none; }
.dz { position: absolute; }
.dz--nav { left: 5%; right: 5%; top: 14%; height: 7%; border-radius: 999px; background: var(--ink-3); }
.dz--h { left: 5%; top: 30%; width: 52%; height: 10%; border-radius: 5px; background: #F5F3EE; }
.dz--p { left: 5%; top: 46%; width: 40%; height: 5%; border-radius: 4px; background: #6B655B; }
.dz--btn { left: 5%; top: 58%; width: 20%; height: 10%; border-radius: 999px; background: var(--accent); }
.dz--img { right: 5%; top: 28%; width: 30%; height: 50%; border-radius: 8px; background: linear-gradient(135deg, #FDA10C, #7A3E00); }

/* 2: AI output -> editable blocks */
.xfer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .8rem; width: 100%; max-width: 30rem; }
.xfer__box { position: relative; padding: 1rem 1rem 2.2rem; border-radius: 1rem; background: var(--ink); color: var(--ink-text); min-height: 11.5rem; box-shadow: 0 20px 34px -18px rgba(0, 0, 0, .55); }
.xfer__box pre { margin: 0; font: 500 .72rem/1.7 var(--font-mono); }
.xfer__box small { position: absolute; left: 1rem; bottom: .75rem; font-size: .7rem; font-weight: 700; color: var(--accent); font-family: var(--font-display); }
.xfer__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--on-accent); color: var(--accent); font-size: 1.2rem; }
.xfer__tree ul { display: grid; gap: .45rem; }
.xfer__tree li { display: flex; align-items: center; gap: .4rem; padding: .45rem .6rem; border-radius: 8px; background: var(--ink-3); font-size: .78rem; font-weight: 600; }
.xfer__tree li.d1 { margin-left: .9rem; background: var(--ink-2); border: 1px solid var(--ink-line); }
.xfer__tree li i { color: var(--ink-muted); }

/* 3: go-live checklist */
.golive { width: 100%; max-width: 26rem; display: grid; gap: 1rem; padding: 1.4rem; border-radius: 1.25rem; background: var(--ink); color: var(--ink-text); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .55); }
.golive ul { display: grid; gap: .8rem; }
.golive li { display: flex; align-items: center; gap: .8rem; font-weight: 500; }
.golive__tick { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink-3); color: transparent; font-size: .9rem; transform: scale(.85); }
.golive__url { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-radius: 999px; background: var(--ink-3); font-family: var(--font-mono); font-size: .82rem; }
.golive__url i { color: #7FD6A0; }
.golive__url span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.golive__url b { padding: .15rem .65rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: .72rem; }

/* 4: before / after */
.cmp { --pos: 50%; position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 1rem; overflow: hidden; background: var(--ink); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__before img { filter: grayscale(1) blur(2.5px) contrast(.75) brightness(.7); transform: scale(1.03); }
.cmp__bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--accent); }
.cmp__knob { position: absolute; top: 50%; left: var(--pos); width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 1.2rem; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6); }
.cmp__lab { position: absolute; top: .8rem; padding: .25rem .7rem; border-radius: 999px; background: var(--ink); color: var(--ink-text); font-size: .72rem; font-weight: 700; font-family: var(--font-display); }
.cmp__lab--b { left: .8rem; } .cmp__lab--a { right: .8rem; background: var(--accent); color: var(--on-accent); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:focus-within .cmp__knob { outline: 3px solid #fff; outline-offset: 2px; }

/* 9. WORK -------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tab {
  display: inline-flex; align-items: baseline; gap: .6rem; min-height: 52px; padding: 0 1.4rem; border-radius: 999px; align-items: center;
  border: 1px solid var(--line-2); background: transparent; color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.tab small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; opacity: .7; }
.tab:hover { border-color: var(--accent); }
.tab.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.showcase__stage { --nw: 24%; --nh: .7rem; --nd: 1rem; position: relative; aspect-ratio: 1376 / 768; border-radius: 1.75rem; overflow: hidden; background: var(--ink); }
.proj { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.proj.is-active { opacity: 1; visibility: visible; }
.proj[hidden] { display: block; }
.proj img { width: 100%; height: 100%; object-fit: cover; }
.pin {
  position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  font: 700 .9rem/1 var(--font-display); box-shadow: 0 0 0 4px rgba(19, 19, 19, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pin.is-lit { transform: scale(1.3); box-shadow: 0 0 0 4px rgba(19, 19, 19, .55), 0 0 0 10px var(--accent-soft); }
.meta { display: none; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; margin-top: 1.75rem; }
.meta.is-active { display: grid; }
.meta h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); margin-bottom: .6rem; }
.meta p { color: var(--text-2); max-width: 52ch; }
.meta .chips { margin-top: 1.25rem; }
.meta .chips li { color: var(--text-2); }
.notes { display: grid; }
.notes li { display: flex; align-items: center; gap: .9rem; padding-block: .8rem; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.notes li + li { border-top: 1px solid var(--line); }
.notes__n { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: .85rem; font-weight: 700; }

/* 10. ABOUT ------------------------------------------------------------------ */
.statement { margin-top: 1.5rem; max-width: 62rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, .8rem + 3.2vw, 3.6rem); line-height: 1.3; letter-spacing: -.03em; }
.pill-img { display: inline-block; vertical-align: middle; width: 2.1em; height: 1.1em; margin: -.1em .05em 0; border-radius: 999px; overflow: hidden; border: 2px solid var(--accent); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.pill-img--wide { width: 2.6em; }
.pill-img--wide img { object-position: 60% 40%; }
.word-chip { display: inline-flex; align-items: center; gap: .3em; padding: 0 .55em; border-radius: 999px; font-size: .8em; vertical-align: .06em; line-height: 1.45; }
.word-chip i { font-size: .9em; }
.word-chip--stuck { border: 2px dashed var(--line-2); color: var(--muted); }
.word-chip--live { background: var(--accent); color: var(--on-accent); }
.about__more { margin-top: 2rem; }
.about__foot { margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 2.25rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 1.5rem + 3.4vw, 4.4rem); letter-spacing: -.045em; line-height: 1; color: var(--hl); }
.stat__label { color: var(--muted); font-size: .95rem; }
.roles li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-block: 1rem; }
.roles li + li { border-top: 1px solid var(--line); }
.roles b { display: block; font-family: var(--font-display); font-weight: 600; }
.roles span, .roles time { color: var(--muted); font-size: .95rem; }
.roles time { white-space: nowrap; }

/* 11. FAQ as chat ------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq .sec-head { margin-bottom: 0; position: sticky; top: 7rem; }
.faq__more { max-width: 34ch; margin-top: .75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--text-2); }
.faq__more a { color: var(--hl); font-weight: 600; border-bottom: 2px solid currentColor; }
.chat { --nw: 24%; --nh: .65rem; --nd: .95rem; --hl: var(--accent); display: none; flex-direction: column; gap: 1rem; padding: 1.25rem; border-radius: 1.75rem; background: var(--ink); color: var(--ink-text); min-height: 30rem; }
.js .chat { display: flex; }
.chat__head { display: flex; align-items: center; gap: .85rem; padding: .25rem .25rem 1rem; border-bottom: 1px solid var(--ink-line); }
.chat__head img, .msg__av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; border: 2px solid var(--accent); flex: none; }
.chat__head b { display: block; font-family: var(--font-display); }
.chat__head span { color: var(--ink-muted); font-size: .88rem; }
.chat__log { flex: 1; display: flex; flex-direction: column; gap: .8rem; padding: .5rem .25rem; }
.msg { display: flex; align-items: flex-end; gap: .6rem; animation: pop .45s var(--ease) both; }
.msg__av { width: 32px; height: 32px; border-width: 1.5px; }
.msg__b { max-width: min(34rem, 86%); padding: .85rem 1.15rem; border-radius: 1.2rem 1.2rem 1.2rem .35rem; background: var(--ink-3); line-height: 1.6; }
.msg--me { justify-content: flex-end; }
.msg--me .msg__b { background: var(--accent); color: var(--on-accent); border-radius: 1.2rem 1.2rem .35rem 1.2rem; font-weight: 600; }
.typing { display: inline-flex; gap: .3rem; padding-block: .35rem; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-muted); animation: bounce 1s var(--ease) infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.chat__ask { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--ink-line); }
.ask { padding: .6rem 1rem; border-radius: 999px; border: 1px solid rgba(253, 161, 12, .55); background: transparent; color: var(--accent); font-size: .9rem; font-weight: 600; text-align: left; line-height: 1.35; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.ask:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.ask:active { transform: scale(.97); }
.ask--cta { background: var(--accent); color: var(--on-accent); }
.faq-src { grid-column: 1 / -1; display: grid; gap: .75rem; color: var(--text-2); }
.faq-src dt { font-weight: 700; color: var(--text); }
.js .faq-src { display: none; }

/* 12. CONTACT: complete the sentence ------------------------------------------ */
.contactpanel { --nw: 22%; --nh: .75rem; --nd: 1.05rem; background: var(--accent); color: var(--on-accent); border-radius: 1.75rem; padding: clamp(1.75rem, 5vw, 4.5rem); }
.madlib { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.55rem, .8rem + 2.7vw, 3.2rem); line-height: 1.6; letter-spacing: -.025em; }
.ml {
  font: inherit; color: inherit; letter-spacing: inherit; background: transparent; border: 0; border-bottom: 3px solid var(--on-accent);
  border-radius: 0; padding: 0 .2em; max-width: 100%; field-sizing: content; min-width: 7ch; outline: none; appearance: none; -webkit-appearance: none;
  transition: background-color .25s, border-color .25s;
}
.ml::placeholder { color: rgba(19, 19, 19, .6); opacity: 1; }
.ml:hover, .ml:focus { background: rgba(19, 19, 19, .1); }
.ml:focus-visible { outline: 3px solid var(--on-accent); outline-offset: 3px; }
.ml.is-invalid { border-bottom-color: #8A1212; background: rgba(138, 18, 18, .12); }
.ml--name { width: 9ch; } .ml--email { width: 12ch; }
.ml-select { position: relative; display: inline-block; }
.ml-select select { padding-right: 1.4em; cursor: pointer; width: 12ch; }
.ml-select option { font-family: var(--font-body); font-size: 1rem; color: #131313; background: #fff; }
.ml-select i { position: absolute; right: .2em; top: 50%; transform: translateY(-50%); font-size: .7em; pointer-events: none; }
.more { margin-top: 1.75rem; display: grid; gap: .5rem; max-width: 46rem; }
.more label { font-weight: 600; }
.more textarea { width: 100%; padding: .85rem 1rem; border: 2px solid var(--on-accent); border-radius: 14px; background: rgba(255, 255, 255, .28); color: var(--on-accent); resize: vertical; min-height: 5.5rem; }
.more textarea:focus-visible { outline: 3px solid var(--on-accent); outline-offset: 2px; background: rgba(255, 255, 255, .45); }
.contactpanel__foot { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-weight: 600; }
.facts li { display: inline-flex; align-items: center; gap: .5rem; }
.facts i { font-size: 1.2rem; }
.facts a { border-bottom: 2px solid currentColor; }
.form-status { display: none; margin-top: 1.25rem; padding: .85rem 1.1rem; border-radius: 12px; font-weight: 600; border: 2px solid var(--on-accent); }
.form-status.is-ok { display: block; background: var(--on-accent); color: var(--accent); }
.form-status.is-error { display: block; color: #6B0F0F; border-color: #6B0F0F; }
.next { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.next li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding-top: 1.5rem; border-top: 1px solid var(--line-2); }
.next__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--hl); font-size: 1.4rem; border: 1px solid var(--line); }
.next b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .2rem; }
.next p { color: var(--text-2); font-size: .98rem; }

/* 13. FOOTER ------------------------------------------------------------------ */
.footer { --hl: var(--accent); background: var(--ink); color: var(--ink-text); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer__grid { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1fr; gap: 2.5rem; }
.footer__about { display: grid; gap: 1.25rem; justify-items: start; max-width: 26rem; }
.footer__about p { color: var(--ink-muted); }
.footer h3 { font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 1rem; }
.footer li + li { margin-top: .55rem; }
.footer li a:hover { color: var(--accent); }
.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink-line); font-size: 1.15rem; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.social a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.footer__legal { margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.5rem; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem; color: var(--ink-muted); font-size: .92rem; }
.footer__legal div { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__legal a:hover { color: var(--accent); }

/* 13b. 404 -------------------------------------------------------------------- */
.lost { min-height: 100svh; display: grid; align-items: center; padding: 7.5rem 0 4rem; }
.lost__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lost__text { display: grid; justify-items: start; }
.lost__title { font-size: clamp(2.5rem, 1rem + 4.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; max-width: 12ch; margin-bottom: 1rem; }
.lost__sub { margin-top: 2.5rem; font-size: 1.1rem; letter-spacing: -.01em; color: var(--text-2); }
.lost .situations { width: 100%; }
.lost .sit { text-decoration: none; }
.lost__body { background: #0C0B0A; }
.lost__code { gap: .2rem; }
.lost__code b { font-family: var(--font-display); font-weight: 800; font-size: clamp(3.5rem, 1rem + 16cqw, 9rem); line-height: 1; letter-spacing: -.06em; color: var(--accent); }
.lost__code span { text-align: center; padding-inline: 1rem; }
.lost .stage .win__url i { color: #FF8A65; }
@media (prefers-reduced-motion: no-preference) {
  .lost__text { animation: rise .8s var(--ease) both; }
  .lost .stage { animation: rise 1s var(--ease) .15s both; }
}
@media (max-width: 62rem) {
  .lost { min-height: 0; padding-top: 6.5rem; }
  .lost__grid { grid-template-columns: 1fr; }
  .lost .stage { order: -1; width: 100%; max-width: 26rem; }
}

/* 14. MOTION ------------------------------------------------------------------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes tick { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (prefers-reduced-motion: no-preference) {
  .hero__kicker { animation: rise .8s var(--ease) both; }
  .hero__title { animation: rise .9s var(--ease) .08s both; }
  .hero__left { animation: rise .9s var(--ease) .2s both; }
  .stage { animation: rise 1s var(--ease) .32s both; }
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .golive li .golive__tick { transition: background-color .3s, color .3s; }
  .is-in .golive__tick { animation: tick .5s var(--ease) both; background: var(--accent); color: var(--on-accent); }
  .is-in .golive li:nth-child(1) .golive__tick { animation-delay: .2s; }
  .is-in .golive li:nth-child(2) .golive__tick { animation-delay: .5s; }
  .is-in .golive li:nth-child(3) .golive__tick { animation-delay: .8s; }
  .is-in .golive li:nth-child(4) .golive__tick { animation-delay: 1.1s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip__track, .caret { animation: none; }
  .is-in .golive__tick { background: var(--accent); color: var(--on-accent); }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* 15. RESPONSIVE ---------------------------------------------------------------- */
@media (min-width: 62.0625rem) {
  .panel { position: sticky; top: calc(6.25rem + var(--i) * 1.1rem); }
}
@media (max-width: 62rem) {
  .nav__links { display: none; }
  .menu-btn { display: inline-grid; }
  .hero { padding-top: 6.25rem; }
  /* minmax(0, 1fr): the column never grows to fit content, so the stage's changing text can't push the page sideways */
  .hero__grid, .faq, .about__foot, .meta.is-active { grid-template-columns: minmax(0, 1fr); }
  .hero__title { max-width: 14ch; }
  .hero__do { min-height: 0; }
  /* show the thing you drag right under the choice you made */
  .hero__left { display: contents; }
  .hero__grid { gap: 0; }
  .hero__lead { order: 1; } .hero .situations { order: 2; } .hero .stage { order: 3; margin-top: 1.5rem; }
  .hero__do { order: 4; } .hero .hero__cta { order: 5; } .hero__facts { order: 6; }
  .faq .sec-head { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
}
/* Touch: every link is a 44px target. Padding grows the hit area without moving the layout. */
@media (pointer: coarse), (max-width: 48rem) {
  .link-arrow { min-height: 44px; padding-block: .6rem .45rem; }
  .brand { min-height: 44px; }
  .footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer li + li { margin-top: 0; }
  .footer__legal a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* The page is long on a phone: keep the main action in the bar, in thumb reach of the menu button. */
@media (max-width: 30rem) {
  .nav__pill { gap: .4rem; padding: 0 .5rem 0 .7rem; }
  .brand { gap: .45rem; font-size: .95rem; white-space: nowrap; }
  .nav__cta { padding: 0 .85rem; }
  .nav__cta .btn__dot { display: none; }
  .nav__actions { gap: .3rem; }
}
/* Below ~360px the wordmark gives way to the logo so the CTA still fits */
@media (max-width: 22.5rem) {
  .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 48rem) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .social { gap: .4rem; }
  .social a { width: 38px; height: 38px; font-size: 1.05rem; }
  .panel { grid-template-columns: 1fr; min-height: 0; }
  .panel__visual { order: 2; }
  .stairs { max-width: 24rem; }
  .next { grid-template-columns: 1fr; gap: 1.25rem; }
  .showcase__stage { aspect-ratio: 4 / 3; }
  .showcase__stage .proj img { object-position: 50% 50%; }
  .pin { width: 28px; height: 28px; margin: -14px 0 0 -14px; font-size: .78rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  /* 2x2 picker instead of four full-width rows */
  .situations { grid-template-columns: 1fr 1fr; }
  .sit { --nw: 34%; grid-template-columns: 1fr; align-content: start; gap: .6rem; min-height: 0; padding: .75rem .85rem .9rem; font-size: .95rem; line-height: 1.3; }
  .sit:hover { transform: none; }
  .sit__icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .sit__go { display: none; }
  .xfer { grid-template-columns: 1fr; justify-items: stretch; }
  .xfer__arrow { justify-self: center; transform: rotate(90deg); }
  .madlib { line-height: 1.7; }
  .ml--name, .ml--email, .ml-select select { width: 100%; max-width: 100%; }
  .ml-select { display: block; }
  .ml-punct { display: none; }
  .madlib { font-size: 1.45rem; }
}
