/* ============================================================
   Doubleslash Studio - production stylesheet
   Strict separation of concerns: all presentation lives here.
   ============================================================ */

/* ---- Design tokens ---------------------------------------- */
:root {
  /* Palette: Brand Reference, revised November 2026. */
  --night: #0f0017;      /* main dark background, text on light */
  --light: #f6f5ff;      /* main light background, text on dark */
  --electric: #5500f4;   /* gradient start, links, active states */
  --magenta: #cd246c;    /* gradient end, calls to action */
  --white: #ffffff;      /* card and field surfaces */
  --smoke: #d3d6e0;      /* accent text on dark panels */
  --arsenic: #40424d;    /* body copy on light */
  --gap-section: 88px;   /* the single vertical rhythm between page sections */

  --font: "Manrope", system-ui, sans-serif;

  --maxw: 1360px;
  --pad: 96px;
  --radius: 9px;
  --radius-lg: 20px;

  /* The logo gradient: Electric Purple at the bottom, Magenta at the top. */
  --grad-brand: linear-gradient(to top, var(--electric), var(--magenta));
  /* The same colours from left to right, for shapes that are wider than they are tall. */
  --grad-brand-across: linear-gradient(to right, var(--electric), var(--magenta));
}

/* ---- Reset / base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/* No scroll-behavior here: Lenis owns scrolling and animates anchor jumps
   itself (see initAnchors in main.js). Native smooth fights it. */
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--light);
  color: var(--night);
  font-family: var(--font);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--magenta); color: var(--light); }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; }

/* ---- Utilities -------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.narrow { max-width: 900px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--night); color: var(--light); padding: 12px 18px;
  border-radius: 8px; font: 600 16px var(--font); text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }
.eyebrow {
  font: 500 16px var(--font); text-transform: uppercase; letter-spacing: .22em;
  color: var(--magenta); margin: 0 0 24px;
}
.mark {
  font: 800 28px var(--font); letter-spacing: -.04em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: none;
  font: 600 18px var(--font); color: var(--light); background: var(--magenta);
  padding: 16px 32px; border-radius: var(--radius);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(205, 36, 108, .7); }
.btn:disabled { opacity: .6; transform: none; box-shadow: none; cursor: default; }
.btn--sm { font-size: 16px; padding: 11px 22px; border-radius: 8px; }
/* Border at .55 Light: the scrim on each lamp panel keeps this over the 3:1
   minimum for component boundaries. */
.btn--ghost { background: transparent; border: 1.5px solid rgba(246, 245, 255, .55); box-shadow: none; }
.btn--ghost:hover { border-color: var(--light); background: rgba(246, 245, 255, .08); box-shadow: none; }
/* Secondary button for light backgrounds. A Night border at .6 measures 5.4:1
   against Light. */
.btn--outline { background: transparent; color: var(--night); border: 1.5px solid rgba(15, 0, 23, .6); box-shadow: none; }
.btn--outline:hover { border-color: var(--night); background: rgba(15, 0, 23, .05); box-shadow: none; }
/* ---- Header / nav ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 245, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 0, 23, .09);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.site-header__left { display: flex; align-items: center; gap: 26px; }
/* Without this the button is a flex item that can be squeezed narrower than its
   own text. Keep it on one line. The button leaves the header at 1360px. */
.site-header__left .btn { white-space: nowrap; flex: 0 0 auto; }
.brand { display: flex; align-items: center; text-decoration: none; }
/* Horizontal logo, 1463.69 x 130.89. */
.brand__logo { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { font: 600 16px var(--font); color: var(--night); text-decoration: none; position: relative; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad-brand-across); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.nav__link:not([aria-current="page"]):hover::after { transform: scaleX(1); }
/* The current page. The fill is a pseudo-element, so it does not change the width
   of the nav. Hover keeps the underline, so the current page does not use one. */
.nav__link[aria-current="page"] { color: var(--light); isolation: isolate; }
.nav__link[aria-current="page"]::before {
  content: ""; position: absolute; inset: -6px -10px; z-index: -1;
  background: var(--grad-brand-across); border-radius: 8px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- Mobile nav toggle + panel ------------------------------ */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  flex: none; width: 44px; height: 44px; padding: 0; border: none; background: transparent; cursor: pointer;
}
.nav-toggle__box { width: 24px; height: 18px; position: relative; display: block; }
.nav-toggle__bar,
.nav-toggle__box::before,
.nav-toggle__box::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--night);
  border-radius: 2px; transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle__bar { top: 8px; }
.nav-toggle__box::before { top: 0; }
.nav-toggle__box::after { top: 16px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::before { top: 8px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box::after { top: 8px; transform: rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px var(--pad) 20px;
  border-top: 1px solid rgba(15, 0, 23, .09);
  /* The header is sticky and the drawer sits inside it, so anything past the
     fold cannot be scrolled to: on a phone in landscape the last links were
     simply unreachable. 80px is the header bar above it. dvh rather than vh so
     the mobile browser chrome is accounted for. */
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile__link {
  font: 600 18px var(--font); color: var(--night); text-decoration: none;
  padding: 13px 4px; border-bottom: 1px solid rgba(15, 0, 23, .08);
}
.nav-mobile__link[aria-current="page"] {
  color: var(--light); background: var(--grad-brand-across);
  border-radius: 8px; border-bottom-color: transparent;
  padding-left: 12px; padding-right: 12px; margin-left: -8px; margin-right: -8px;
}
.nav-mobile__cta { margin: 10px 0 12px; text-align: center; }

/* ---- Hero ------------------------------------------------- */
.hero { padding-top: 76px; padding-bottom: 8px; position: relative; overflow: hidden; }

/* ---- Hero lamp --------------------------------------------
   The hero panel itself is the apw-lamp container: a WebGL field of
   drifting "//" marks (js/apw-lamp.standalone.js) painted on an opaque
   dark gradient, so the copy on top runs light. Brand colours are passed
   in per page via the data-lamp-* attributes on the section. */
/* Full-bleed: the section spans the viewport, and the .container lives on
   .hero__panel inside it so the copy still lines up with the rest of the page. */
.hero--lamp {
  /* Low floor so short heroes (portfolio, testimonials) hug their copy instead
     of padding out; the longer ones grow past it on their own. */
  min-height: 440px; display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 76px;
  background: var(--night);        /* WebGL fallback + canvas backdrop */
  color: var(--light);
}
.hero--lamp + .section .split { border-top: none; }
.hero--lamp + .section:not(.pt-56),
.hero--lamp + .prose { margin-top: var(--gap-section); }
.hero--lamp .hero__lead { max-width: 46ch; }
/* .hero__panel's max-width:100% would beat .container's cap and, as a flex item
   with auto margins, shrink to fit-content and centre. Restore the container width. */
.hero--lamp .hero__panel { width: 100%; max-width: var(--maxw); z-index: 1; }
/* Contrast scrim. The brightest marks leave the small copy under WCAG AA, so
   this knocks the lit pixels back where the text sits and clears to
   the right so the marks still read. ::after (not ::before) so it paints over the
   canvas; the panel's z-index lifts the copy back above it. */
.hero--lamp::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to right,
    rgba(15, 0, 23, .56) 0%, rgba(15, 0, 23, .5) 45%, rgba(15, 0, 23, .2) 100%);
}
/* Copy sitting directly on a lamp panel: the heroes and the contact intro.
   Accent text is Smoke, because Magenta and Electric Purple do not meet AA on
   Night. */
.on-lamp { color: var(--light); }
.on-lamp .eyebrow { color: var(--smoke); }
.on-lamp .hero__title,
.on-lamp .page-title { color: var(--light); }
.on-lamp .hero__lead { color: rgba(246, 245, 255, .84); }
.on-lamp .hero__note { color: rgba(246, 245, 255, .68); }
.on-lamp .section-h { color: var(--light); }
.on-lamp .lead-p { color: rgba(246, 245, 255, .84); }
.on-lamp .kicker { color: var(--smoke); }
/* The default Electric Purple focus ring only reaches 2.6:1 on Night, under the
   3:1 minimum for non-text contrast. */
.on-lamp :focus-visible,
.banner :focus-visible,
.aside-card :focus-visible,
.site-footer :focus-visible,
.cookie :focus-visible { outline-color: var(--smoke); }
.hero__panel { position: relative; max-width: 100%; }
/* Home hero: copy on the left, compact enquiry form on a white card right.
   The title drops a size so the narrower column doesn't wrap it to pieces. */
.hero__panel--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.hero__panel--split .hero__title { font-size: clamp(48px, 5vw, 64px); }
/* Glass panel, same recipe as the contact aside-card: heavy tint because the
   marks drift beneath it and the copy on it has to clear AA against the
   brightest pixel the shader produces. Inputs stay white, so field text is
   Night on white regardless of what passes underneath. */
.hero__form {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 32px 34px;
  margin-right: 32px;   /* nudge the card left of the grid's right edge */
  background: rgba(15, 0, 23, .62);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(246, 245, 255, .16);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .6),
              inset 0 1px 0 rgba(246, 245, 255, .18);
}
.hero__form::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(246, 245, 255, .1), rgba(246, 245, 255, 0) 46%);
}
.hero__form-title { font: 600 24px/1.2 var(--font); color: var(--light); letter-spacing: -.02em; margin: 0 0 18px; }
.hero__form .form { gap: 14px; }
.hero__form .field label { color: var(--light); }
.hero__form .form__hint { color: rgba(246, 245, 255, .68); }
/* Send enquiry is the only button in this row now that Book a call has moved
   below the form, so it sits at its own width rather than growing to fill. */
.hero__form .form__submit-row .btn { flex: 0 0 auto; text-align: center; padding-left: 20px; padding-right: 20px; }
.hero__form .form__submit-row .form__hint { flex-basis: 100%; }
.hero__form textarea.control { min-height: 88px; }
.hero__form .form__alert { background: rgba(246, 245, 255, .12); border-color: rgba(246, 245, 255, .55); color: var(--light); }
.hero__form .form-success { padding: 24px 8px; }
.hero__form .form-success h2 { color: var(--light); }
.hero__form .form-success p { color: rgba(246, 245, 255, .84); }
/* The brand gradient is hard to read on the dark glass, so the mark is one colour. */
.hero__form .form-success__mark { background: var(--light); }
/* No backdrop-filter: opaque Night panel, never a see-through box with no blur. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero__form { background: var(--night); }
}

.hero__title { font: 800 64px/1.02 var(--font); color: var(--night); letter-spacing: -.03em; margin: 0 0 24px; max-width: 32ch; text-wrap: balance; }
/* The two slashes animate in individually (see initHeroIntro). inline-block so
   they can take a transform; the wrapper keeps them from breaking across lines. */
.hero__slashes {
  --slash-h: .72em;
  display: inline-block; position: relative; vertical-align: -.04em;
  width: calc(var(--slash-h) * 1.263); height: calc(var(--slash-h) * 1.17);
}
.hero__slash {
  position: absolute; left: 0; bottom: 0;
  width: calc(var(--slash-h) * .726); height: var(--slash-h);
  background: var(--grad-brand); will-change: transform;
}
.hero__slash:nth-child(2) { left: calc(var(--slash-h) * .537); bottom: calc(var(--slash-h) * .17); }
/* One stroke of the logo mark. The second stroke sits .537 of the stroke height
   to the right and .17 higher, as in the logo. */
.hero__slash, .seam__slot {
  -webkit-mask: url("../assets/slash.svg") center / 100% 100% no-repeat;
  mask: url("../assets/slash.svg") center / 100% 100% no-repeat;
}
/* The whole logo mark as one shape. Each rule below sets the height and the colour. */
.slash-list li::before, .quote__mark, .form-success__mark, .aside-card__mark, .dont-item__mark,
.article-body blockquote::before {
  aspect-ratio: 599.81 / 555.44;
  -webkit-mask: url("../assets/logo-mark.svg") center / contain no-repeat;
  mask: url("../assets/logo-mark.svg") center / contain no-repeat;
}
.hero__lead { font: 400 18px/1.62 var(--font); color: var(--arsenic); max-width: 62ch; margin: 0 0 34px; }
.hero__actions { display: flex; align-items: center; gap: 26px; margin-bottom: 30px; flex-wrap: wrap; }
.hero__note { font: 500 16px/1.6 var(--font); color: rgba(15, 0, 23, .6); max-width: 74ch; margin: 0; }
.page-title { font: 800 64px/1.04 var(--font); color: var(--night); letter-spacing: -.03em; margin: 0 0 22px; max-width: 17ch; text-wrap: balance; }

/* ---- Split seam ------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 160px 1fr; align-items: stretch; border-top: 1px solid rgba(15, 0, 23, .12); }
/* Flex column with the button pushed to the bottom, so the two "Explore"
   buttons align across columns whose copy runs to different lengths. */
.split__col { padding: 28px 0; display: flex; flex-direction: column; align-items: flex-start; }
.split__col .btn { margin-top: auto; }
.split__col--left { padding-right: 48px; }
.split__col--right { padding-left: 48px; }
.seam { position: relative; --slash-h: 140px; --seam-shift: 0px; }
/* The logo mark at 140px per stroke. It is 177px wide, and the clear gap between
   the two columns' copy is 256px (48px padding + 160px seam + 48px padding).
   Each stroke is a bar inside its own slot. The slot carries the shape, so the
   bar can slide down inside it (see initSplitIntro). --seam-shift moves the
   mark onto the midpoint of the copy (see initSeamCentre). */
.seam__slot {
  position: absolute; top: 50%; left: calc(50% + var(--seam-shift) - var(--slash-h) * .6315);
  height: var(--slash-h); width: calc(var(--slash-h) * .726);
  overflow: hidden;
  transform: translateY(calc(-50% + var(--slash-h) * .085));
}
.seam__slot:nth-child(2) {
  left: calc(50% + var(--seam-shift) - var(--slash-h) * .0945);
  transform: translateY(calc(-50% - var(--slash-h) * .085));
}
.seam__bar {
  position: absolute; inset: 0;
  background: var(--grad-brand);
}
.kicker { font: 600 16px var(--font); text-transform: uppercase; letter-spacing: .18em; margin: 0 0 18px; }
.kicker--electric { color: var(--electric); }
.kicker--magenta { color: var(--magenta); }
.kicker--muted { color: rgba(15, 0, 23, .62); }
.section-h { font: 700 48px/1.1 var(--font); color: var(--night); letter-spacing: -.02em; margin: 0 0 16px; }
.lead-p { font: 400 18px/1.6 var(--font); color: var(--arsenic); margin: 0 0 26px; max-width: 44ch; }
.slash-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.slash-list li { font: 600 16px var(--font); color: var(--night); padding-left: 24px; position: relative; }
.slash-list li::before { content: ""; position: absolute; left: 0; top: 4px; height: 14px; background: var(--electric); }
.slash-list--magenta li::before { background: var(--magenta); }

/* ---- Generic sections ------------------------------------- */
.section { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
/* Full-bleed lamp band behind a section's content (the contact intro + form).
   Same apw-lamp panel as the heroes; the inner .container/.section keeps the
   content on grid. */
.section-lamp {
  position: relative; overflow: hidden;
  padding-bottom: 88px;
  background: var(--night);        /* WebGL fallback + canvas backdrop */
}
/* Same contrast scrim as the heroes - the intro copy sits straight on the lamp. */
.section-lamp::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to right,
    rgba(15, 0, 23, .56) 0%, rgba(15, 0, 23, .5) 45%, rgba(15, 0, 23, .2) 100%);
}
.section-lamp > .section,
.section-lamp > .hero { position: relative; z-index: 1; }
.hero--on-lamp { padding-bottom: 56px; }
/* Standalone band (the "Web + software" block): padded top and bottom, since
   it sits between two light sections rather than running into the footer. */
/* No margin-top: the light section above supplies the gap with its padding.
   The 88px here is the panel's internal breathing room, not section spacing. */
.section-lamp--band { padding-top: var(--gap-section); padding-bottom: var(--gap-section); }
.section--gap { margin-top: var(--gap-section); }
.section--gap-lg { margin-top: var(--gap-section); }

/* ---- Cards ------------------------------------------------ */
.card { background: var(--white); border: 1px solid rgba(15, 0, 23, .1); border-radius: 16px; }
.card--pad { padding: 36px 38px; }
.quote { display: flex; flex-direction: column; gap: 22px; margin: 0; }
/* align-self keeps the mark at its own width. Stretched, the box fills the card. */
.quote__mark { display: block; align-self: flex-start; height: 32px; background: var(--magenta); }
.quote blockquote { font: 400 18px/1.6 var(--font); color: var(--night); margin: 0; }
.quote figcaption { display: flex; flex-direction: column; gap: 3px; margin-top: auto; }
.quote__name { font: 600 16px var(--font); color: var(--night); }
.quote__role { font: 400 16px var(--font); color: rgba(15, 0, 23, .62); }
/* Same treatment as a prose link, so an attribution that happens to point at
   the client's site still reads as attribution rather than a call to action. */
.quote__role a { color: var(--electric); text-decoration: none; border-bottom: 1px solid rgba(85, 0, 244, .35); }
.quote__role a:hover { border-bottom-color: var(--electric); }
/* The same two-column pair as .grid-2--wide, except that a lone quote spans the
   row and sits centred rather than stranding an empty column beside it. Keyed
   off :only-child so the page needs no edit when a second testimonial lands. */
.quote-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quote-set .quote:only-child { grid-column: 1 / -1; max-width: 760px; margin-left: auto; margin-right: auto; }
.service-card { background: var(--white); border: 1px solid rgba(15, 0, 23, .1); border-radius: 14px; padding: 28px 30px; border-left: 3px solid var(--electric); }
.service-card--magenta { border-left-color: var(--magenta); }
.service-card h3 { font: 600 24px var(--font); color: var(--night); margin: 0 0 8px; }
.service-card p { font: 400 16px/1.62 var(--font); color: var(--arsenic); margin: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-2--wide { gap: 28px; }
.covers-label { font: 600 16px var(--font); text-transform: uppercase; letter-spacing: .16em; color: rgba(15, 0, 23, .62); margin: 44px 0 22px; }

.work-card { text-decoration: none; border-radius: 16px; overflow: hidden; border: 1px solid rgba(15, 0, 23, .1); background: var(--white); display: block; transition: transform .3s ease, box-shadow .3s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -26px rgba(15, 0, 23, .5); }
.work-card__art { height: 280px; position: relative; overflow: hidden; }
.work-card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-card__art .streak { position: absolute; inset: 0; }
.work-card__art .watermark { position: absolute; left: 32px; bottom: 20px; font: 800 90px var(--font); color: rgba(246, 245, 255,.16); letter-spacing: -.05em; }
.work-card__body { padding: 28px 30px 30px; }
.work-card__tag { font: 600 16px var(--font); margin: 0 0 10px; }
.work-card__body h3 { font: 600 24px var(--font); color: var(--night); margin: 0 0 8px; }
.work-card__body p { font: 400 16px/1.6 var(--font); color: var(--arsenic); margin: 0; }

/* ---- Full-bleed dark banners ------------------------------ */
.banner { position: relative; overflow: hidden; background: var(--night); }
.banner__mark { position: absolute; font: 800 340px/1 var(--font); color: var(--light); opacity: .06; letter-spacing: -.06em; pointer-events: none; }
.banner__mark--bl { left: -24px; bottom: -150px; }
.banner__mark--tr { right: -30px; top: -90px; }
.banner__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 80px var(--pad); }
/* Lamp behind the CTA. The banner was already a full-bleed dark panel with light
   copy, so it only needs the canvas, the same contrast scrim as the other lamp
   panels, and the accent kicker. */
/* Flat, not clearing to the right like the heroes: this CTA has copy on both
   sides (the price block sits far right), so the scrim is even to keep "Fixed
   fee, from" over AA. */
.banner.apw-lamp::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(15, 0, 23, .52);
}
.banner.apw-lamp > .banner__inner { z-index: 1; }
.banner__row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
/* Both are dark panels. Scoped because Smoke on Light does not meet contrast. */
.banner .kicker--on-dark,
.aside-card .kicker--on-dark { color: var(--smoke); }
.banner__title { font: 700 48px/1.1 var(--font); color: var(--light); letter-spacing: -.02em; margin: 0 0 16px; }
.banner__text { font: 400 18px/1.65 var(--font); color: rgba(246, 245, 255, .82); margin: 0; max-width: 54ch; }
.price-block { text-align: right; }
.price-block__label { font: 500 16px var(--font); color: rgba(246, 245, 255, .6); margin: 0 0 8px; }
.price-block__value { font: 700 48px var(--font); color: var(--light); letter-spacing: -.02em; margin: 0 0 22px; }

/* ---- Prose (privacy) -------------------------------------- */
.prose h2 { font: 600 32px/1.16 var(--font); color: var(--night); letter-spacing: -.02em; margin: 44px 0 14px; }
.prose p { font: 400 18px/1.72 var(--font); color: var(--arsenic); margin: 0 0 14px; max-width: 70ch; }
.prose ul { margin: 0 0 14px; padding-left: 22px; max-width: 70ch; }
.prose li { font: 400 18px/1.7 var(--font); color: var(--arsenic); margin: 0 0 8px; }
.prose a { color: var(--electric); text-decoration: none; border-bottom: 1px solid rgba(85, 0, 244, .35); }

/* ---- Articles --------------------------------------------- */
/* StoryChief publishes the articles. A Lambda fills templates/article.html and
   templates/articles.html and writes the pages to articles/ in the bucket (see
   docs/storychief.md). The Lambda renders the list markup and the article
   body, so the class names below are a contract with it. Change a name here
   only together with the Lambda. */

/* The list page. auto-fill keeps each card at a readable width and drops to
   one column on a phone without a breakpoint. min() stops a 340px track from
   overflowing a narrower viewport. */
.article-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px;
}
.article-card { display: flex; }
/* The whole card is the link. Same surface and hover as .work-card. */
.article-card__link {
  display: flex; flex-direction: column; width: 100%; text-decoration: none;
  background: var(--white); border: 1px solid rgba(15, 0, 23, .1); border-radius: 16px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.article-card__link:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -26px rgba(15, 0, 23, .5); }
.article-card__link:focus-visible { border-radius: 16px; }
/* StoryChief images come in any shape. A fixed ratio keeps the titles in a row. */
.article-card__image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card__title { font: 600 24px/1.2 var(--font); color: var(--night); letter-spacing: -.01em; margin: 28px 30px 10px; }
.article-card__excerpt { font: 400 16px/1.6 var(--font); color: var(--arsenic); margin: 0 30px 18px; }
/* margin-top: auto puts the date at the foot of the card, so dates line up
   across a row whatever the length of the excerpt. */
.article-card__date { font: 500 16px var(--font); color: rgba(15, 0, 23, .62); margin: auto 30px 28px; padding-top: 8px; }
/* The category row above the list (articles.html and category.html). The
   Lambda writes the markup. The pills wrap onto more lines on a narrow screen,
   as the portfolio filters do, so the page never scrolls sideways. */
.category-nav { margin: 0 0 38px; }
.category-nav__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.category-nav__link {
  display: inline-block; font: 600 16px var(--font); color: var(--night); text-decoration: none;
  border: 1px solid rgba(15, 0, 23, .18); border-radius: 999px; padding: 9px 20px;
  transition: background .25s, color .25s, border-color .25s;
}
.category-nav__link:hover { border-color: rgba(15, 0, 23, .42); background: rgba(15, 0, 23, .04); }
.category-nav__link[aria-current="page"] { background: var(--night); color: var(--light); border-color: var(--night); }
.category-nav__link:focus-visible { border-radius: 999px; }
.articles-empty {
  font: 400 18px/1.6 var(--font); color: var(--arsenic); text-align: center;
  border: 1px dashed rgba(15, 0, 23, .28); border-radius: 18px; padding: 48px 32px;
}

/* One article. Titles are often longer than the other page titles, so the
   size is a step down. Two classes, so the tablet .page-title size cannot
   override it. */
.page-title.article-title { font-size: clamp(36px, 5vw, 56px); max-width: 24ch; }
.article-byline { margin-bottom: 0; }
.article-byline time { white-space: nowrap; }
/* The categories of one article, under the byline on the dark hero. */
.article-categories {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.article-category {
  display: inline-block; font: 500 15px/1.4 var(--font); color: var(--light); text-decoration: none;
  background: rgba(246, 245, 255, .08); border: 1px solid rgba(246, 245, 255, .32);
  border-radius: 999px; padding: 5px 14px;
  transition: background .25s, border-color .25s;
}
.article-category:hover { background: rgba(246, 245, 255, .16); border-color: var(--light); }
.article-category:focus-visible { border-radius: 999px; }
.article-main { margin-top: var(--gap-section); }
.article-hero { margin: 0 0 44px; }
.article-hero img { width: 100%; height: auto; border-radius: var(--radius-lg); }
.article-back { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(15, 0, 23, .12); font: 600 16px var(--font); }
.article-back a { color: var(--electric); text-decoration: none; border-bottom: 1px solid rgba(85, 0, 244, .35); }
.article-back a:hover { border-bottom-color: var(--electric); }

/* The article body. The Lambda strips every class and style attribute, so
   these rules style the bare elements. The sizes follow .prose. */
.article-body { font: 400 18px/1.72 var(--font); color: var(--arsenic); overflow-wrap: break-word; }
.article-body > :first-child { margin-top: 0; }
.article-body > :last-child { margin-bottom: 0; }
.article-body p { margin: 0 0 20px; }
.article-body h2 { font: 600 32px/1.16 var(--font); color: var(--night); letter-spacing: -.02em; margin: 48px 0 16px; }
.article-body h3 { font: 600 24px/1.25 var(--font); color: var(--night); letter-spacing: -.01em; margin: 36px 0 12px; }
.article-body h4 { font: 600 20px/1.3 var(--font); color: var(--night); margin: 28px 0 10px; }
.article-body h5,
.article-body h6 { font: 700 18px/1.4 var(--font); color: var(--night); margin: 24px 0 8px; }
.article-body strong,
.article-body b { font-weight: 700; color: var(--night); }
.article-body a { color: var(--electric); text-decoration: none; border-bottom: 1px solid rgba(85, 0, 244, .35); }
.article-body a:hover { border-bottom-color: var(--electric); }
.article-body ul,
.article-body ol { margin: 0 0 20px; padding-left: 26px; }
.article-body li { margin: 0 0 8px; }
.article-body li > ul,
.article-body li > ol { margin: 8px 0 0; }
.article-body li::marker { color: var(--magenta); }
/* The same treatment as .quote: the magenta mark above Night copy. The mark
   is a pseudo-element because the body has no markup of its own. */
.article-body blockquote { margin: 36px 0; font: 400 20px/1.6 var(--font); color: var(--night); }
.article-body blockquote::before { content: ""; display: block; height: 32px; background: var(--magenta); margin: 0 0 18px; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body figure { margin: 36px 0; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-body figcaption { font: 400 16px/1.5 var(--font); color: rgba(15, 0, 23, .62); margin-top: 10px; }
.article-body hr { border: 0; height: 1px; background: rgba(15, 0, 23, .12); margin: 44px 0; }
.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em;
  color: var(--night); background: rgba(85, 0, 244, .07); padding: .12em .36em; border-radius: 5px;
}
.article-body pre {
  margin: 0 0 24px; padding: 20px 24px; overflow-x: auto;
  background: var(--night); color: var(--light); border-radius: var(--radius);
  font-size: 15px; line-height: 1.6;
}
.article-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.article-body sup,
.article-body sub { font-size: .75em; line-height: 0; }
/* The Lambda cannot wrap a table, so the table itself scrolls sideways on a
   narrow screen. display: block makes overflow work; the rows inside still lay
   out as a table. */
.article-body table {
  display: block; max-width: 100%; overflow-x: auto; margin: 0 0 24px;
  border-collapse: collapse; font-size: 16px; line-height: 1.5;
}
.article-body th,
.article-body td { padding: 10px 14px; border-bottom: 1px solid rgba(15, 0, 23, .12); text-align: left; vertical-align: top; }
.article-body th { font-weight: 600; color: var(--night); border-bottom-color: rgba(15, 0, 23, .3); }

/* ---- Forms ------------------------------------------------ */
.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 16px var(--font); color: var(--night); }
.field .optional { color: rgba(15, 0, 23, .6); font-weight: 400; }
.control {
  width: 100%; font: 400 16px var(--font); color: var(--night); background: var(--white);
  border: 1.5px solid rgba(15, 0, 23, .2); border-radius: 10px; padding: 14px 16px;
}
.control:focus { border-color: var(--electric); outline: none; box-shadow: 0 0 0 3px rgba(85, 0, 244, .18); }
textarea.control { resize: vertical; min-height: 130px; line-height: 1.55; }
select.control {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--electric) 50%), linear-gradient(135deg, var(--electric) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 15px) 22px;
  background-size: 7px 7px, 7px 7px; background-repeat: no-repeat;
}
/* Honeypot. Moved off-screen rather than display:none, because the cruder
   bots skip anything explicitly hidden - this still keeps it out of sight,
   out of the tab order and out of the accessibility tree. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Turnstile is set to interaction-only, so it occupies nothing until it
   actually needs to challenge someone. The cap stops it overflowing the
   narrow hero column on the occasions it does appear. */
.cf-turnstile { max-width: 100%; }
.form__submit-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form__hint { font: 400 16px var(--font); color: rgba(15, 0, 23, .6); }
.form__alert { background: rgba(205, 36, 108, .08); border: 1px solid rgba(205, 36, 108, .35); border-radius: 10px; padding: 14px 16px; font: 400 16px/1.55 var(--font); color: var(--night); }
.form__alert a { color: var(--electric); font-weight: 600; text-decoration: none; }
.form-success { text-align: center; padding: 36px 12px; }
.form-success__mark { display: block; height: 52px; margin: 0 auto 20px; background: var(--grad-brand); }
.form-success h2 { font: 600 32px var(--font); color: var(--night); letter-spacing: -.02em; margin: 0 0 12px; }
.form-success p { font: 400 18px/1.6 var(--font); color: var(--arsenic); margin: 0 auto; max-width: 44ch; }
/* The other way to get in touch. It sits outside the <form>, so the rule above
   it is doing real work: it separates a different action from the one the form
   performs, rather than decorating. */
.form-alt { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(15, 0, 23, .12); }
.form-alt__lead { font: 400 16px var(--font); color: rgba(15, 0, 23, .6); margin: 0 0 14px; }
.hero__form .form-alt { border-top-color: rgba(246, 245, 255, .16); }
.hero__form .form-alt__lead { color: rgba(246, 245, 255, .68); }
.is-hidden { display: none !important; }

/* ---- Contact layout --------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.form-panel { background: var(--white); border: 1px solid rgba(15, 0, 23, .1); border-radius: var(--radius-lg); padding: 44px; }
.aside-stack { display: flex; flex-direction: column; gap: 20px; }
/* Glass card over the lamp. The tint is deliberately heavy (62%): a lighter
   glass would drop the kicker and the muted copy below AA over the brightest
   marks. The blur only ever averages the backdrop, so it can't push
   contrast below the flat-colour worst case measured here. */
.aside-card {
  position: relative; overflow: hidden; border-radius: 18px; padding: 36px;
  background: rgba(15, 0, 23, .62);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(246, 245, 255, .16);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .6),
              inset 0 1px 0 rgba(246, 245, 255, .18);
}
/* Frosted top-edge sheen - the "2.0" bit: a soft light gradient rather than a
   flat translucent slab. */
.aside-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(246, 245, 255, .1), rgba(246, 245, 255, 0) 46%);
}
/* No backdrop-filter (older Firefox, some Android): fall back to the opaque Night
   card, which is what it was before - never a see-through box with no blur. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .aside-card { background: var(--night); }
}
.aside-card__mark { position: absolute; right: -20px; bottom: -40px; height: 180px; background: var(--light); opacity: .07; }
.aside-card__content { position: relative; }
.aside-card__title { font: 600 24px/1.18 var(--font); color: var(--light); letter-spacing: -.02em; margin: 0 0 12px; }
.aside-card__text { font: 400 16px/1.6 var(--font); color: rgba(246, 245, 255, .82); margin: 0 0 18px; }
.aside-card__price-label { font: 500 16px var(--font); color: rgba(246, 245, 255, .6); margin: 0; }
.aside-card__price { font: 600 32px var(--font); color: var(--light); letter-spacing: -.02em; margin: 0; }
.aside-card__note { font: 400 16px/1.55 var(--font); color: rgba(246, 245, 255, .6); margin: 14px 0 0; }
.reach-card { background: var(--white); border: 1px solid rgba(15, 0, 23, .1); border-radius: 18px; padding: 32px 34px; }
.reach-card__head { font: 600 16px var(--font); text-transform: uppercase; letter-spacing: .14em; color: rgba(15, 0, 23, .62); margin: 0 0 16px; }
.reach-card__email { font: 600 18px var(--font); color: var(--electric); text-decoration: none; display: block; margin-bottom: 14px; }
.reach-card__loc { font: 400 16px/1.55 var(--font); color: var(--arsenic); margin: 0; }

/* ---- Founder bios ----------------------------------------- */
.bio { display: grid; grid-template-columns: 380px 1fr; gap: 52px; align-items: start; }
.bio--reverse { grid-template-columns: 1fr 380px; }
.bio--reverse > div:first-child { order: 2; }
.bio--reverse > .bio__body { order: 1; }
.bio__heading-right { text-align: right; margin-left: auto; width: fit-content; max-width: 100%; }
/* Glass panel framing each founder photo. On the Light background the frost reads
   through the translucent surface, the light border, the inset top-edge sheen
   and the lifted shadow; the photo is inset with its own radius. */
.bio__art {
  height: 380px; border-radius: 20px; position: relative; padding: 12px;
  background: linear-gradient(150deg, rgba(246, 245, 255, .6), rgba(246, 245, 255, .32));
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(246, 245, 255, .55);
  box-shadow: 0 22px 50px -24px rgba(15, 0, 23, .4),
              inset 0 1px 0 rgba(246, 245, 255, .7);
}
.bio__art img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
/* No backdrop-filter: a solid light panel rather than a near-invisible
   translucent one with no blur. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bio__art { background: rgba(246, 245, 255, .85); border-color: rgba(15, 0, 23, .12); }
}
.bio__art .monogram { position: absolute; left: 28px; bottom: 20px; font: 800 88px var(--font); color: rgba(246, 245, 255,.9); letter-spacing: -.04em; }
.bio__caption { font: 400 16px var(--font); color: rgba(15, 0, 23, .62); margin: 10px 2px 0; }
.bio__body p { font: 400 18px/1.72 var(--font); color: var(--arsenic); margin: 0 0 18px; max-width: 62ch; }
.bio__body p:last-child { margin-bottom: 0; }
.stat-value { font: 700 48px/1 var(--font); letter-spacing: -.03em; margin: 0 0 10px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-value--sm { font-size: 32px; line-height: 1.2; }
.stat p { font: 400 16px/1.6 var(--font); color: var(--arsenic); margin: 0; }

/* ---- Footer ----------------------------------------------- */
.site-footer { background: var(--night); color: var(--light); margin-top: 96px; }
.site-footer--flush { margin-top: 0; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 64px var(--pad) 40px; }
/* Brand takes the free space; Services and Studio hug the right edge. */
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 40px 72px; }
.footer-brand { display: flex; align-items: center; margin-bottom: 16px; text-decoration: none; width: fit-content; }
.footer-brand img { height: 26px; width: auto; }
.footer-tagline { font: 400 16px/1.6 var(--font); color: rgba(246, 245, 255, .6); margin: 0; max-width: 34ch; }
.footer-col__head { font: 600 16px var(--font); color: var(--smoke); margin-bottom: 16px; }
.footer-col__links { display: flex; flex-direction: column; gap: 12px; }
.footer-col__links a, .footer-col__links span { font: 400 16px var(--font); color: rgba(246, 245, 255, .78); text-decoration: none; }
.footer-col__links span { color: rgba(246, 245, 255, .6); }
/* Copyright and Privacy/Manage cookies sit together on the left; the strap
   pushes itself to the right. */
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(246, 245, 255, .12); display: flex; align-items: center; justify-content: flex-start; gap: 16px 28px; flex-wrap: wrap; }
.footer-bottom .footer-fsb { margin-left: auto; display: inline-flex; align-items: center; }
.footer-bottom span { font: 400 16px var(--font); color: rgba(246, 245, 255, .5); }
.footer-bottom a { color: rgba(246, 245, 255, .5); }
.footer-fsb img { display: block; height: 26px; width: auto; }
.footer-fsb:focus-visible { outline: 3px solid var(--light); outline-offset: 4px; border-radius: 2px; }
.link-btn {
  font: inherit; color: inherit; background: none; border: none; padding: 0;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}

/* ---- Cookie banner ---------------------------------------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300;
  max-width: 600px; margin: 0 auto; background: var(--night);
  border: 1px solid rgba(246, 245, 255, .16); border-radius: 14px; padding: 20px 24px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .6); flex-direction: column; gap: 14px; display: none;
}
.cookie.is-visible { display: flex; }
.cookie p { font: 400 16px/1.6 var(--font); color: rgba(246, 245, 255, .85); margin: 0; }
.cookie p a { color: var(--smoke); text-decoration: none; border-bottom: 1px solid rgba(246, 245, 255, .4); }
.cookie__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie__actions button { font: 600 16px var(--font); color: var(--light); border-radius: 8px; padding: 11px 24px; cursor: pointer; border: none; }
.cookie__actions .accept { background: var(--magenta); }
.cookie__actions .reject { background: transparent; border: 1.5px solid rgba(246, 245, 255, .32); }

/* ---- Live chat launcher ----------------------------------- */
/* Our own round chat button in front of Tawk.to (js/chat.js): the logo
   gradient, a white chat icon, and a shadow tinted to match.
   z-index 250: above the sticky nav (100), below the cookie bar (300)
   and the work-tile overlay (400). */
.chat-launch {
  position: fixed; right: 24px; bottom: 24px; z-index: 250;
  width: 60px; height: 60px; padding: 0; cursor: pointer;
  display: grid; place-items: center;
  color: var(--white); background: var(--grad-brand);
  border: none; border-radius: 50%;
  box-shadow: 0 14px 30px -12px rgba(85, 0, 244, .7);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.chat-launch[hidden] { display: none; }
.chat-launch:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(205, 36, 108, .7); }
.chat-launch:active { transform: translateY(0) scale(.96); }
.chat-launch:focus-visible { outline-offset: 4px; }
.chat-launch[aria-busy="true"] { cursor: progress; }
.chat-launch[aria-busy="true"] .chat-launch__icon { opacity: .55; }
/* The chat window covers this corner while it is open. */
.chat-launch.is-open { opacity: 0; pointer-events: none; transform: translateY(8px); }
.chat-launch__icon { width: 30px; height: 30px; fill: currentColor; transition: opacity .2s ease; }
/* Unread replies, on the top-right edge of the circle. */
.chat-launch__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 6px;
  display: grid; place-items: center; border-radius: 11px;
  font: 700 13px var(--font); font-variant-numeric: tabular-nums;
  color: var(--night); background: var(--light);
  box-shadow: 0 0 0 2px var(--magenta);
}
.chat-launch__count[hidden] { display: none; }
@media (max-width: 600px) {
  .chat-launch { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

/* ---- Reveal animation ------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }

/* ---- Page utilities --------------------------------------- */
/* Light section between two lamp panels: its own padding is the gap on both
   sides, so the panels either side need no margin. The split's own 28px block
   padding would stack on top of that (making the gap 116px), and it has nothing
   to space from here since the top border is suppressed under the lamp hero. */
.pt-56 { padding-top: var(--gap-section); padding-bottom: var(--gap-section); }
.pt-56 .split__col { padding-block: 0; }
.measure-52 { max-width: 52ch; }
.measure-56 { max-width: 56ch; }
.measure-58 { max-width: 58ch; }
.measure-60 { max-width: 60ch; }
.measure-66 { max-width: 66ch; }
.measure-68 { max-width: 68ch; }
.section-h--flush { margin: 0; }
.section-h--intro { max-width: 20ch; margin: 0 0 20px; }
#web-h, #soft-h { scroll-margin-top: 110px; }
.tag--electric { color: var(--electric); }
.tag--magenta { color: var(--magenta); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.combined-card { display: flex; gap: 48px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 56px; }
/* On the lamp band the card is just a layout row - the panel is the background,
   so drop the card padding back to the page gutter to stay on grid. */
.section-lamp > .combined-card { padding: 0 var(--pad); }
.combined-mark { position: relative; width: 130px; height: 120px; flex: 0 0 auto; color: transparent; font-size: 0; }
.combined-mark::before, .combined-mark::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 44px;
  background: var(--grad-brand);
  transform: skewX(-16deg);
}
.combined-mark::before { left: 12px; }
.combined-mark::after { left: 64px; }
.banner__col { max-width: 58ch; }

/* services */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.intro-p { font: 400 18px/1.68 var(--font); color: var(--arsenic); margin: 0; max-width: 52ch; }
.dont-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.dont-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(15, 0, 23, .12); }
.dont-item__mark { flex: none; height: 16px; margin-top: 4px; background: var(--magenta); }
.dont-item h3 { font: 600 18px var(--font); color: var(--night); margin: 0 0 6px; }
.dont-item p { font: 400 16px/1.6 var(--font); color: rgba(15, 0, 23, .68); margin: 0; }
.dont-closing { display: flex; align-items: center; padding: 18px 0; border-top: 1px solid rgba(15, 0, 23, .12); }
.dont-closing p { font: 500 16px/1.6 var(--font); color: var(--night); margin: 0; }
.dont-closing a { color: var(--electric); text-decoration: none; border-bottom: 2px solid rgba(85, 0, 244, .3); }

/* work / case studies */
.case__art { height: 440px; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.case__art a { display: block; width: 100%; height: 100%; }
.case__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__art .streak--a { position: absolute; inset: 0; background: linear-gradient(112deg, transparent 0 40%, rgba(246, 245, 255,.12) 40% 43%, transparent 43% 58%, rgba(246, 245, 255,.5) 58% 61%, transparent 61% 74%, rgba(246, 245, 255,.08) 74% 76%, transparent 76%); }
.case__art .streak--b { position: absolute; inset: 0; background: linear-gradient(112deg, transparent 0 36%, rgba(246, 245, 255,.12) 36% 39%, transparent 39% 54%, rgba(15, 0, 23,.42) 54% 58%, transparent 58% 72%, rgba(246, 245, 255,.08) 72% 74%, transparent 74%); }
.case__art .watermark { position: absolute; left: 44px; bottom: 24px; font: 800 150px/1 var(--font); color: rgba(246, 245, 255,.14); letter-spacing: -.05em; }
.case__body { display: grid; grid-template-columns: 340px 1fr; gap: 56px; margin-top: 40px; }
.case__meta { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.case__meta dt { font: 600 16px var(--font); color: rgba(15, 0, 23, .62); }
.case__meta dd { margin: 2px 0 0; font: 500 16px var(--font); color: var(--night); }
.case__narrative { display: flex; flex-direction: column; gap: 26px; }
.case__step-label { font: 600 16px var(--font); margin: 0 0 8px; }
.case__step p { font: 400 16px/1.66 var(--font); color: var(--arsenic); margin: 0; max-width: 60ch; }
.tag-title { font: 600 16px var(--font); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 14px; }
.case__title { font: 600 32px/1.1 var(--font); color: var(--night); letter-spacing: -.02em; margin: 0 0 20px; }

/* ---- Portfolio work grid + expand-to-panel morph ----------- */
/* Each project is a card in a responsive grid. Clicking one morphs it into a
   centred overlay panel (see initWorkGrid): GSAP Flip animates the box from its
   grid slot out to the overlay, and the case study fades in. The full case study
   is already in the markup, so with JavaScript off every panel is simply shown
   in place under its card. z-index layer: backdrop 400, open card 401, both above
   the sticky header (100) and the cookie notice (300). */

/* auto-fit tracks in a fixed width band keep cards a sensible size whether there
   are two projects or twenty, and centre a short final row instead of stretching
   it edge to edge. */
/* Filter pills, built by JS above the grid (see initWorkFilters). */
.work-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 38px; }
.work-filter {
  appearance: none; cursor: pointer; font: 600 16px var(--font); letter-spacing: .01em;
  color: var(--night); background: transparent;
  border: 1px solid rgba(15, 0, 23, .18); border-radius: 999px; padding: 9px 20px;
  transition: background .25s, color .25s, border-color .25s, transform .08s;
}
.work-filter:hover { border-color: rgba(15, 0, 23, .42); background: rgba(15, 0, 23, .04); }
.work-filter:active { transform: translateY(1px); }
.work-filter.is-active { background: var(--night); color: var(--light); border-color: var(--night); }
.work-filter:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; }

.work-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 440px));
  justify-content: center;
  /* Containing block for the tiles Flip positions absolutely while filtering,
     so the grid's own overflow:hidden clips them during the height animation. */
  position: relative;
}
/* Hidden by a filter. Flip animates the leave before this fully applies. */
.work-tile.is-filtered-out { display: none; }

.work-tile { display: flex; }
.work-tile__card {
  position: relative; display: flex; flex-direction: column;
  width: 100%; background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  /* Night-tinted shadow, not flat black, to sit in the brand rather than on top. */
  box-shadow: 0 1px 0 rgba(15, 0, 23, .04), 0 18px 40px -28px rgba(15, 0, 23, .5);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s cubic-bezier(.2,.7,.2,1);
}
/* Accent edge keyed to the discipline, reusing the tag colours. */
.work-tile__card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; z-index: 2;
  background: var(--electric); pointer-events: none;
}
.work-tile[data-tag="Web App"] .work-tile__card::before,
.work-tile[data-tag="Software"] .work-tile__card::before { background: var(--magenta); }

.work-tile__art { aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.work-tile__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.work-tile__body { padding: 22px 24px 26px; }
.work-tile__lead .tag-title { margin: 0 0 10px; }
.work-tile__title { font: 600 24px/1.12 var(--font); color: var(--night); letter-spacing: -.02em; margin: 0; }
/* The trigger is only the title text, but its stretched overlay makes the whole
   card face clickable while the title stays a real <h2> in the outline. */
.work-tile__trigger {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; letter-spacing: inherit; text-align: left; cursor: pointer;
}
.work-tile__trigger::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.work-tile__trigger:focus-visible { outline: 3px solid var(--electric); outline-offset: 4px; border-radius: 4px; }

/* Hover / focus / press: the tactile feel before the click. Suppressed once the
   card is the open overlay, where it is fixed-positioned and Flip owns transform. */
.work-tile__card:not(.is-open):hover,
.work-tile__card:not(.is-open):focus-within {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(15, 0, 23, .04), 0 30px 60px -30px rgba(15, 0, 23, .6);
}
.work-tile__card:not(.is-open):hover .work-tile__art img { transform: scale(1.05); }
.work-tile__card:not(.is-open):active { transform: translateY(-1px) scale(.985); }
/* While Flip drives the transform frame by frame, the hover transition above
   must be off, or it lags every frame and animates the hand-off at the end.
   z-index keeps a shrinking card above its neighbours for the whole morph:
   is-open (which carries the stacking) is removed before the close animates,
   so without this the closing card would drop behind the next card. */
.work-tile__card.is-morphing { transition: none; z-index: 401; }

.work-tile__close { display: none; }

/* Once JavaScript takes over, the small card is just the image and the title
   (the accent edge carries the category); the tag line, the meta and the story
   collapse away until the card is opened. */
.work-grid.is-enhanced .work-tile__lead .tag-title,
.work-grid.is-enhanced .work-tile__lead .case__meta,
.work-grid.is-enhanced .work-tile__story { display: none; }

/* Open (overlay) state. Placed after the is-enhanced collapse so it wins.
   An equal inset on all four sides gives an even margin around the card and
   lets it sit at roughly the viewport's own proportions, like a lightbox. */
.work-tile__card.is-open {
  --m: clamp(24px, 12vmin, 140px);
  position: fixed; inset: var(--m); z-index: 401;
  /* The body below asks the card how wide it is rather than asking the
     viewport. The card's width comes from its insets and its height cap, so
     a short wide window gives a narrow card at a wide viewport, and a
     viewport query would read that wrong. */
  container-type: inline-size;
  /* Equal margins give the lightbox the viewport's proportions, but the width
     is capped at 16:9 (derived from the pinned height) so a wide desktop
     browser does not stretch the card too wide. margin auto re-centres it,
     growing the side margins past the top and bottom ones only once that cap
     engages. */
  margin: 0 auto;
  width: auto; max-width: calc((100dvh - 2 * var(--m)) * 16 / 9);
  height: auto; max-height: none;
  display: flex; flex-direction: column; overflow: hidden;
}
/* The hero grows to fill whatever height the body does not use, so the card
   always reads full rather than leaving empty space below short case studies. */
.work-tile__card.is-open .work-tile__art { flex: 0 0 44%; aspect-ratio: auto; min-height: 160px; }
/* The body splits into two columns: the lead (tag, title, meta) on the left,
   the story (problem / approach / result) on the right. It takes its natural
   height, capped so a long case study scrolls inside rather than starving the
   hero. */
.work-tile__card.is-open .work-tile__body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-gutter: stable;
  /* The page centres its text on mobile for the hero; the case study must stay
     left-aligned so the paragraphs read properly. */
  text-align: left;
  /* The story column fills the remaining card width, and its paragraphs fill
     the column (the 60ch measure is lifted for the open card, below), so the
     text runs to the column edge instead of leaving slack on the right. */
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 8px 56px; padding: 32px 40px; align-content: safe center; align-items: start;
}
/* Two columns need about 780px of card before the story has a readable
   measure: the lead takes a fixed 320, the gap 56 and the padding 80. The
   old collapse waited for a 640px viewport, by which point the story column
   had been squeezed to roughly 30px and was setting one word to a line. */
@container (max-width: 800px) {
  .work-tile__card.is-open .work-tile__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px; padding: 26px 28px 32px;
  }
  .work-tile__card.is-open .case__meta { margin-top: 16px; }
}
.work-grid.is-enhanced .work-tile__card.is-open .work-tile__lead .tag-title { display: block; }
.work-grid.is-enhanced .work-tile__card.is-open .work-tile__lead .case__meta { display: flex; }
.work-grid.is-enhanced .work-tile__card.is-open .work-tile__story { display: block; }
/* Lift the 60ch measure so the story text fills its column edge to edge. */
.work-tile__card.is-open .case__step p { max-width: none; }
.work-tile__card.is-open .work-tile__title { font-size: 32px; margin-bottom: 4px; }
.work-tile__card.is-open .case__meta { margin-top: 24px; }
.work-tile__card.is-open .work-tile__visit { margin-top: 28px; }
/* The stretched trigger must not sit over the panel controls once open. */
.work-tile__card.is-open .work-tile__trigger::after { display: none; }
.work-tile__card.is-open .work-tile__close {
  display: grid; place-items: center; position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(246, 245, 255, .16); color: var(--light); font: 400 28px/1 var(--font);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .2s;
}
.work-tile__card.is-open .work-tile__close:hover { background: rgba(246, 245, 255, .3); }

.work-backdrop {
  position: fixed; inset: 0; z-index: 400; background: rgba(15, 0, 23, .55);
  opacity: 0; transition: opacity .3s;
}
@supports (backdrop-filter: blur(2px)) {
  .work-backdrop { background: rgba(15, 0, 23, .42); backdrop-filter: blur(4px); }
}
.work-backdrop.is-visible { opacity: 1; }
/* Lock scroll on the body (the effective scroll container with Lenis) and
   replace the width the vanished scrollbar was taking with an equal padding,
   measured at open time, so the page behind does not shift right. Zero on
   overlay-scrollbar systems, so it is a no-op there. */
body.work-open { overflow: hidden; padding-right: var(--modal-sbw, 0px); }

@media (max-width: 640px) {
  .work-tile__card.is-open { --m: 12px; }
  /* The case images are wide landscape screenshots. In a narrow phone box a
     cover crop would keep the height and chop the sides, showing only a centre
     strip. Instead let the whole shot show at its natural landscape shape:
     full width, height from the image, nothing cropped. */
  .work-tile__art { aspect-ratio: auto; }
  .work-tile__art img { height: auto; }
  .work-tile__card.is-open .work-tile__art { flex: 0 0 auto; height: auto; min-height: 0; }
  .work-tile__card.is-open .work-tile__body { grid-template-columns: 1fr; gap: 18px; padding: 22px 20px 28px; }
  .work-tile__card.is-open .case__meta { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-tile__card, .work-tile__art img, .work-backdrop { transition: none; }
}

.dashed-cta { border: 1px dashed rgba(15, 0, 23, .28); border-radius: 18px; padding: 48px 52px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.dashed-cta h2 { font: 600 32px/1.16 var(--font); color: var(--night); letter-spacing: -.02em; margin: 0 0 10px; }
.dashed-cta p { font: 400 16px/1.62 var(--font); color: var(--arsenic); margin: 0; }
/* On a lamp band the panel is the frame, so drop the dashed box back to a plain
   layout row on the page gutter and flip the copy to light. */
.section-lamp > .dashed-cta { border: none; border-radius: 0; padding: 0 var(--pad); }
.on-lamp .dashed-cta h2 { color: var(--light); }
.on-lamp .dashed-cta p { color: rgba(246, 245, 255, .84); }
.on-lamp .dashed-cta p a { color: var(--smoke); }

/* about */
.together-title { font: 700 48px/1.14 var(--font); color: var(--light); letter-spacing: -.02em; margin: 0 0 18px; }
.light-cta { position: relative; overflow: hidden; background: var(--light); border: 1px solid rgba(15, 0, 23,.12); border-radius: var(--radius-lg); padding: 56px; }
.light-cta__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.light-cta h2 { font: 600 32px/1.14 var(--font); color: var(--night); letter-spacing: -.02em; margin: 0 0 10px; }
.light-cta p { font: 400 16px/1.62 var(--font); color: var(--arsenic); margin: 0; }
/* Same as .dashed-cta on a lamp band: the panel is the frame, so drop the box's
   own Light background and border and flip the copy to light. */
.section-lamp > .light-cta { background: none; border: none; border-radius: 0; padding: 0 var(--pad); }
.on-lamp .light-cta h2 { color: var(--light); }
.on-lamp .light-cta p { color: rgba(246, 245, 255, .84); }

/* privacy */
.qa { border: 1px solid rgba(15, 0, 23, .12); border-radius: 16px; padding: 36px 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.qa h2 { font: 600 24px/1.16 var(--font); color: var(--night); letter-spacing: -.02em; margin: 0 0 8px; }
.qa p { font: 400 16px/1.6 var(--font); color: var(--arsenic); margin: 0; }
/* Same as .dashed-cta on a lamp band: the panel is the frame, so drop the box's
   border and flip the copy to light. */
.section-lamp > .qa { border: none; border-radius: 0; padding: 0 var(--pad); }
.on-lamp .qa h2 { color: var(--light); }
.on-lamp .qa p { color: rgba(246, 245, 255, .84); }

/* ---- Responsive ------------------------------------------- */
/* The header needs about 1330px for all of its items:
   the logo is 313px, the gap 26px, the CTA 194px, the nav 586px at a 24px gap,
   the 16px gap before the nav, and --pad takes 96px off each edge. The
   container stops at 1360px, so the nav gap is 28px at full width (34px no
   longer fits with seven links) and 24px below 1380px. The breakpoints sit
   about 15px wide of the sums to allow for a desktop scrollbar. Below 1360px
   the header CTA is removed, and below 1180px the nav gap drops to 16px so the
   nav still fits beside the logo down to 1080px. Without these the flex row
   squeezes the logo instead.
   The Contact nav link stays, and the burger takes over at 1080px. */
@media (max-width: 1380px) {
  .nav { gap: 24px; }
}
@media (max-width: 1360px) {
  .site-header__left .btn { display: none; }
}
@media (max-width: 1180px) {
  .nav { gap: 16px; }
}

/* Tablet and below. This used to be 900px, chosen because that is where the
   layout collapses to one column, with the nav collapsing separately at 1080.
   That split left 900-1080 as a burger menu sitting over a desktop layout, and
   more importantly it meant an iPad Pro 12.9 in portrait (1024px) got neither
   the stacking nor the centring: the hero title broke to five lines in a 433px
   column and the email field clipped its own placeholder. 1080 is where the
   burger already appears, so the whole tablet treatment now arrives at once.
   Landscape iPads start at 1180px and keep the desktop layout, which at that
   width reads as a small laptop rather than a tablet. */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }

  :root {
    /* 96px is a desktop gutter and 24px is a phone one. A 1024px tablet wants
       neither: 24px puts the copy almost on the bezel. */
    --pad: 48px;
    /* 88px is a desktop rhythm and was never reduced, so a stacked page
       inherited it whole. Sections pad top and bottom, so two neighbours put
       88 + 88 between their content: 176px of nothing, a fifth of a phone
       screen. Scaling the token keeps every gap in proportion. */
    --gap-section: 64px;
  }
  /* Stacked columns need real separation: without the seam between them the
     web column's button otherwise runs straight into the software kicker. */
  .split { grid-template-columns: 1fr; row-gap: 40px; }
  .split .seam { display: none; }
  .split__col--left, .split__col--right { padding-left: 0; padding-right: 0; }
  .hero__title, .hero__panel--split .hero__title { font-size: clamp(40px, 10vw, 64px); }
  .hero--lamp { min-height: 0; padding-bottom: 56px; }
  .hero__panel--split { grid-template-columns: 1fr; gap: 40px; }
  /* Stacked, both enquiry forms would otherwise take the whole column: a 913px
     Name field on a 1024px tablet. Capped and centred like every other block
     here, and 560px doesn't bind under 600px, so phones are untouched. The
     margin-right on .hero__form is a desktop nudge off the grid edge, which
     has nothing to push against once the form is the only thing in the row.
     Both are grid items, and auto margins alone stop one stretching, so it
     collapses to its content width instead. width:100% keeps it filling the
     track up to the cap, and the margins then centre what's left over. */
  .hero__form, .form-panel { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
  /* Copy spans the full width here, so the scrim can't clear to the right. */
  .hero--lamp::after,
  .section-lamp::after { background: rgba(15, 0, 23, .55); }
  .page-title { font-size: clamp(40px, 10vw, 64px); }
  .grid-2, .quote-set, .footer-grid, .contact-grid, .bio, .intro-grid, .dont-grid, .case__body { grid-template-columns: 1fr; }
  .section-h--intro { max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .price-block { text-align: center; }
  .banner__row { flex-direction: column; align-items: center; }
  .bio__art { max-width: 380px; }
  .bio--reverse > div:first-child, .bio--reverse > .bio__body { order: initial; }
  .bio__heading-right { text-align: center; margin-left: 0; width: auto; }

  /* ---- Centred layout ----------------------------------------
     Everything stacks to a single column here, and left-aligned copy under a
     centred hero reads as a ragged edge rather than a decision. So the page
     centres as a whole, with the exceptions called out at the end. */
  main, .site-footer { text-align: center; }

  /* The brand lockup is a fit-content flex row and the tagline is capped in
     ch, so both need centring as blocks, not just inside. */
  .footer-brand, .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-bottom { justify-content: center; }
  /* This auto margin pushes the logo to the far right, which is the whole
     point at desktop and fights the centring here. */
  .footer-bottom .footer-fsb { margin-left: 0; }

  /* These are capped in ch, so without auto margins the block itself stays
     pinned left while only the text inside it centres. */
  .hero__title, .hero__lead, .hero__note, .page-title,
  .lead-p, .banner__text, .bio__body p, .section-h--intro, .bio__art,
  .measure-52, .measure-56, .measure-58,
  .measure-60, .measure-66, .measure-68 { margin-left: auto; margin-right: auto; }

  /* Two buttons still fit on one line here; centring the line is enough. */
  .hero__actions { justify-content: center; }
  /* These put copy on one side and a button on the other, and at this width
     they still fit as a row - which would leave the copy centred inside its
     own half, reading as neither aligned nor centred. Stacked, they match
     everything around them. */
  .section-head, .combined-card, .dashed-cta,
  .light-cta__row, .qa { flex-direction: column; align-items: center; justify-content: center; }
  /* Column flex, so the horizontal axis is the cross axis. */
  .split__col { align-items: center; }

  /* The "//" is positioned against the item's left edge, which is the full
     column width. Shrinking each item to its content keeps the mark with the
     line it belongs to, and centres the lines as a group. */
  .slash-list li { width: fit-content; margin-left: auto; margin-right: auto; }
  .quote__mark { align-self: center; }

  /* The two exceptions. Policy paragraphs lose the reading edge that makes a
     wall of text scannable, and a centred label drifts away from the field it
     names, so the enquiry forms keep their own alignment. */
  .prose, .hero__form, .form-panel { text-align: left; }
  /* Articles are prose too, and a card reads down its own left edge. */
  .article-main, .article-list { text-align: left; }
  /* The hero centres here, so the category pills under the byline centre too. */
  .article-categories { justify-content: center; }
}

/* Phones only. The 1080px breakpoint above is where columns stack; this one is
   narrower on purpose, because the hero buttons only stack (and so only look
   ragged) once the viewport is about phone width. Centring them at tablet
   width would strand the pair under copy that is still firmly left-aligned. */
@media (max-width: 600px) {
  :root {
    --pad: 24px;
    /* Tighter again on a phone, where the same gap eats a larger share of the
       screen than it does on a tablet. */
    --gap-section: 48px;
  }

  /* These three only need cutting down for phones. Left in the tablet query
     they shrank a 976px-wide card's padding to 32px and squashed the case
     image to a 300px letterbox, neither of which is a tablet problem. */
  .case__art { height: 300px; }
  .combined-card, .light-cta, .form-panel { padding: 32px; }
  /* A 48px heading breaks long words at phone width. Use the next size down. */
  .section-h, .banner__title, .together-title, .price-block__value, .stat-value { font-size: 32px; }
  /* 246 x 22. The logo can shrink further to clear the menu button. */
  .brand__logo { height: 22px; }

  /* Stacked, the two buttons size to their own labels and leave a ragged
     edge. One max-content column makes both as wide as the longer label, and
     centring the track keeps the pair reading as a single block. minmax
     guards the case where that label outgrows a narrow phone. */
  .hero__actions { display: grid; grid-template-columns: minmax(0, max-content); justify-content: center; }
  .hero__actions .btn { text-align: center; }

  /* Same in the enquiry forms: a button sized to its own label, against the
     left edge of a panel whose fields are left-aligned, reads as ragged rather
     than deliberate. Filling the line puts the label on the panel's centre
     line, with the hint underneath. The alternative action below the form gets
     the same treatment so the two line up rather than stepping.
     (max-content is no use here: the hint shares the row, and sizing the
     track to the longest thing in it would size it to the sentence.) */
  .form__submit-row .btn,
  .form-alt .btn { flex: 1 1 100%; width: 100%; text-align: center; }
  .form__submit-row .form__hint { flex-basis: 100%; text-align: center; }
  .form-alt { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chat-launch { transition: none; }
  .chat-launch:hover, .chat-launch:active { transform: none; }
  /* apw-lamp handles prefers-reduced-motion itself: one still frame, no loop. */
}
