/* Impact Edge 360
   The world comes from Issam's own hero (October 2026): a dark ground, one ember light on the horizon,
   panels with cut corners and a warm grey hairline, Archivo throughout with Archivo Black Italic in
   orange on one phrase, and IBM Plex Mono only inside the hero card.

   Type scale (px): 12 label · 13 small · 15 nav/button · 16 body · 17 lead · 19 summary · 22 stage
   · fluid h2 · fluid hero headline.
   Layers: hero canvas 0 · hero content 2 · header 50 · menu 51. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/archivo-black-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/plex-mono-500.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #141414;
  --black: #000;
  --panel: #121110;
  --ink: #282828;
  --hair: #45403b;
  --track: #3a3532;
  --text: #f2f1ed;
  --text-2: #cfc7bc;
  --muted: #a39a8f;
  --orange: #d05613;
  --orange-hi: #e0631c;
  --gold: #efbd71;
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(18px, 3.6vw, 56px);
  --maxw: 1480px;
  --edge: max(var(--gutter), (100% - var(--maxw)) / 2);
  --header-top: clamp(14px, 2vw, 26px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  background: var(--bg);
  scrollbar-color: var(--hair) var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  background: url("assets/grain.png") repeat;
  opacity: 0.035;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--orange); color: var(--black); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

em, .em {
  font-style: italic;
  font-weight: 900;
  color: var(--orange);
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 14px;
  background: var(--orange);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.edge { padding-inline: var(--edge); }

/* ---------- The cut ----------
   Every panel, label and button shares the hero card's shape: square sides with the corners cut off,
   drawn as an outer layer in the hairline colour and an inner fill one hairline smaller. */
.cut {
  --c: 9px;
  --hw: 1px;
  --line: var(--hair);
  --fill: var(--panel);
  position: relative;
  isolation: isolate;
  background: var(--line);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
}
.cut::before {
  --ci: calc(var(--c) - var(--hw) * 0.414);
  content: "";
  position: absolute;
  inset: var(--hw);
  z-index: -1;
  background: var(--fill);
  clip-path: polygon(var(--ci) 0, calc(100% - var(--ci)) 0, 100% var(--ci), 100% calc(100% - var(--ci)), calc(100% - var(--ci)) 100%, var(--ci) 100%, 0 calc(100% - var(--ci)), 0 var(--ci));
}
/* Outlines are clipped by the cut, so focus lights the hairline instead. */
.cut:focus-visible { outline: none; --line: var(--gold); --hw: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --c: 8px;
  --line: var(--hair);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 24px;
  background: var(--line);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  transition: transform 0.18s var(--ease);
}
/* The hero card's hairline outside a thin black line, then the orange. */
.btn::before,
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
}
.btn::before {
  inset: 1px;
  background: var(--black);
  clip-path: polygon(7.6px 0, calc(100% - 7.6px) 0, 100% 7.6px, 100% calc(100% - 7.6px), calc(100% - 7.6px) 100%, 7.6px 100%, 0 calc(100% - 7.6px), 0 7.6px);
}
.btn::after {
  inset: 2.5px;
  background: var(--orange);
  clip-path: polygon(7px 0, calc(100% - 7px) 0, 100% 7px, 100% calc(100% - 7px), calc(100% - 7px) 100%, 7px 100%, 0 calc(100% - 7px), 0 7px);
  transition: background-color 0.2s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover::after { background: var(--orange-hi); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; --line: var(--gold); }
.btn:focus-visible::before { inset: 3px; }
.btn:focus-visible::after { inset: 4.5px; }

/* A black button takes orange text: the header's Book a call. */
.btn-dark {
  --c: 6px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  padding: 11px 19px;
  background: var(--orange);
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  transition: color 0.2s;
}
.btn-dark::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  background: var(--black);
  clip-path: polygon(5.6px 0, calc(100% - 5.6px) 0, 100% 5.6px, 100% calc(100% - 5.6px), calc(100% - 5.6px) 100%, 5.6px 100%, 0 calc(100% - 5.6px), 0 5.6px);
  transition: opacity 0.2s;
}
.btn-dark:hover { color: var(--black); }
.btn-dark:hover::before { opacity: 0; }
.btn-dark:focus-visible { outline: none; background: var(--gold); }
.btn-dark:focus-visible::before { inset: 3px; }

/* The cut label: "Email marketing · Done for you", "Case study". */
.label {
  --c: 6px;
  display: inline-block;
  align-self: flex-start;
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
}

/* ---------- Header ---------- */
.top {
  position: fixed;
  top: var(--header-top);
  left: var(--edge);
  right: var(--edge);
  z-index: 50;
}
.top::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: calc(var(--header-top) + 34px);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.6) 55%, rgba(20, 20, 20, 0) 100%);
}
.bar {
  --c: 10px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 20px;
  font-size: 14px;
}
.bar__brand { display: block; flex: none; }
.bar__brand img { height: 39.6px; width: auto; }
.bar__links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 26px;
}
.bar__links a,
.foot a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  transition: text-decoration-color 0.2s, color 0.2s;
}
.bar__links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.bar__links a:hover,
.foot a:not(.btn):hover { color: #fff; text-decoration-color: var(--orange); }
.bar .btn-dark { margin-left: auto; }

.burger {
  --c: 7px;
  display: none;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0 11px;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.burger i {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu {
  --c: 9px;
  margin-top: 8px;
  padding: 10px 14px 16px;
  max-height: calc(100svh - var(--header-top) - 84px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.menu[hidden] { display: none; }
.menu ul { display: grid; }
.menu li + li { border-top: 1px solid var(--hair); }
.menu a:not(.btn) {
  display: block;
  padding: 14px 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.menu a:not(.btn):hover { color: var(--gold); }
.menu .btn { margin-top: 14px; width: 100%; justify-content: center; }

@media (max-width: 860px) {
  .bar__links { gap: 18px; }
  .bar__links a { font-size: 14px; }
}
/* One switch point, as in Issam's file: under 700px the links fold into the menu icon. */
@media (max-width: 700px) {
  html { scroll-padding-top: 84px; }
  .bar { gap: 10px; padding: 8px 8px 8px 14px; --c: 9px; }
  .bar__brand img { height: 33px; }
  .bar__links { display: none; }
  .burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Issam's hero filled the screen under his toolbar; it fills the window here, within limits. */
  min-height: max(clamp(600px, 54vw, 760px), min(100svh, 920px));
  container-type: inline-size;
  /* Shown until the light is drawn, and kept when it cannot be: the horizon, painted. */
  background:
    radial-gradient(ellipse 34% 9% at 70% 72%, rgba(239, 140, 55, 0.5), rgba(208, 86, 19, 0.12) 55%, rgba(208, 86, 19, 0) 100%),
    linear-gradient(180deg, transparent calc(72% - 1px), rgba(208, 86, 19, 0.55) 72%, transparent calc(72% + 1px)),
    radial-gradient(ellipse 80% 70% at 50% 50%, #141414 40%, #050505 100%);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.hero__canvas.is-on { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 0.7) 60%, var(--bg) 100%);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: calc(var(--header-top) + 60px + clamp(48px, 8vw, 110px));
  padding-bottom: 56px;
}
.hero h1 {
  font-size: clamp(20px, 3.2cqw, 46px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  padding-bottom: 2px;
}
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 .lb { display: none; }
.hero__sub {
  color: var(--text-2);
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 42ch;
}
.cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  margin-top: 6px;
}
.cta small { color: var(--muted); font-size: 13px; }

/* The card: Sending 0% to 100%, with the emblem and the envelope. It sits on the ground under the copy. */
.send {
  --c: 9px;
  --line: var(--hair);
  --fill: linear-gradient(180deg, #303030, #212121);
  position: absolute;
  z-index: 2;
  left: var(--edge);
  top: calc(var(--hz, 72%) + 18px);
  display: flex;
  align-items: center;
  gap: 18px;
  height: 70px;
  padding-right: 26px;
}
.send__emblem { height: 70px; width: 70px; margin: 0 -12px; }
.send__text { display: flex; flex-direction: column; gap: 11px; min-width: 198px; flex: 1; }
.send__line {
  font: 500 13.2px/1 var(--mono);
  letter-spacing: 0.06em;
  white-space: pre;
  color: var(--gold);
}
.send__row { display: flex; align-items: center; gap: 8px; }
.send__track { position: relative; flex: 1; height: 2px; background: var(--track); overflow: hidden; }
.send__fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--orange); }
.send__env { width: 37.5px; height: 30px; flex: none; overflow: visible; }
.send__env .bd { fill: var(--orange); stroke: #141414; stroke-width: 1; stroke-linejoin: round; }
.send__env .fl { fill: none; stroke: #141414; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.send__env .rp { fill: none; stroke: var(--orange); stroke-width: 0.8; opacity: 0; }

/* Portrait tablets keep Issam's own height, so the copy and the horizon stay together. */
@media (min-width: 701px) and (max-width: 900px) and (orientation: portrait) {
  .hero { min-height: max(clamp(600px, 54vw, 760px), min(100svh, 760px)); }
}
@media (max-width: 700px) {
  .hero { min-height: max(760px, min(100svh, 900px)); }
  .hero__copy { padding-top: calc(var(--header-top) + 56px + 44px); align-items: center; text-align: center; }
  .hero .label { align-self: center; }
  .cta { align-items: center; }
  .hero h1 { font-size: min(28px, calc((100cqw - 40px) / 12.6)); }
  .hero h1 > span { white-space: normal; }
  .hero h1 .lb { display: block; }
  .hero { background:
    radial-gradient(ellipse 50% 8% at 50% 62%, rgba(239, 140, 55, 0.5), rgba(208, 86, 19, 0.1) 55%, rgba(208, 86, 19, 0) 100%),
    linear-gradient(180deg, transparent calc(62% - 1px), rgba(208, 86, 19, 0.55) 62%, transparent calc(62% + 1px)),
    radial-gradient(ellipse 80% 70% at 50% 50%, #141414 40%, #050505 100%); }
  .send { top: calc(var(--hz, 62%) + 18px + 12%); right: var(--edge); height: 62px; gap: 15px; }
  .send__emblem { height: 62px; width: 62px; margin: 0 -11px; }
  .send__line { font-size: 12.1px; }
  .send__text { min-width: 0; }
  .send__env { width: 31.9px; height: 25.5px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.h2 {
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-wrap: balance;
  padding-bottom: 0.06em;
}
.lead { color: var(--text-2); font-size: 17px; max-width: 52ch; }

/* ---------- Tool strip ---------- */
.tools { padding-block: 44px 8px; }
.tools__title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  padding-block: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 80s linear infinite; will-change: transform; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.tool {
  --c: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 64px;
  margin: 0 7px;
}
.tool img { flex: none; object-fit: contain; opacity: 0.86; }
@media (max-width: 700px) {
  .tool { width: 128px; height: 56px; margin: 0 5px; }
  .tool img { transform: scale(0.84); }
}

/* ---------- Process ----------
   The four stages run like the hero card: a light fills each stage's bar in turn, and the stage it
   reaches opens its points. Visitors can take over by clicking a stage. */
.process__panel {
  --c: 14px;
  --fill: var(--ink);
  padding: clamp(28px, 5vw, 72px);
}
.process__head { max-width: 760px; }
.flow { margin-top: clamp(36px, 4.5vw, 64px); }
.flow__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 8px; }
.flow__tab {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr auto;
  align-items: baseline;
  gap: 6px 12px;
  padding: 0 0 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.flow__num {
  font-style: italic;
  font-weight: 900;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  color: #5c544d;
  transition: color 0.4s, text-shadow 0.5s;
}
.flow__name {
  font-weight: 800;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--muted);
  transition: color 0.3s;
}
.flow__bar { grid-column: 1 / -1; grid-row: 3; position: relative; height: 2px; margin-top: 16px; background: var(--track); }
.flow__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--orange); }
.flow__fill::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  box-shadow: 0 0 12px 4px rgba(239, 140, 55, 0.65);
  opacity: 0;
  transition: opacity 0.3s;
}
.flow__tab.is-running .flow__fill::after { opacity: 1; }
.flow__tab.is-done .flow__num { color: #8d4a22; }
.flow__tab.is-done .flow__name { color: var(--text-2); }
.flow__tab[aria-selected="true"] .flow__num { color: var(--orange); text-shadow: 0 0 24px rgba(208, 86, 19, 0.6); }
.flow__tab[aria-selected="true"] .flow__name,
.flow__tab:hover .flow__name { color: #fff; }
.flow__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

.flow__panels { margin-top: clamp(28px, 3.4vw, 44px); }
.flow__title { font-size: 19px; font-weight: 800; margin: 24px 0 12px; }
.flow__panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; }
.flow__panel li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 17px; max-width: 46ch; }
.flow__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 1px;
  background: var(--orange);
}
/* Once script.js runs, the panels share one cell (no jump between stages) and the points step in. */
.flow.is-ready .flow__panels { display: grid; }
.flow.is-ready .flow__panel { grid-area: 1 / 1; visibility: hidden; transition: visibility 0s 0.35s; }
.flow.is-ready .flow__panel.is-active { visibility: visible; transition: none; }
.flow.is-ready .flow__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flow.is-ready .flow__panel li { opacity: 0; transform: translateY(12px); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); }
.flow.is-ready .flow__panel.is-active li { opacity: 1; transform: none; }
.flow.is-ready .flow__panel.is-active li:nth-child(2) { transition-delay: 0.07s; }
.flow.is-ready .flow__panel.is-active li:nth-child(3) { transition-delay: 0.14s; }
.flow.is-ready .flow__panel.is-active li:nth-child(4) { transition-delay: 0.21s; }

@media (max-width: 760px) {
  .flow__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .flow__panel ul { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 520px) {
  .process__panel { --c: 10px; padding: 26px 20px; }
}


/* ---------- Results ---------- */
.results__top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.results__head { display: flex; flex-direction: column; gap: 18px; }
.lead strong, .story strong { color: var(--text); font-weight: 700; }
.client {
  --c: 14px;
  --fill: var(--ink);
  display: grid;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
}
.client__count {
  display: flex;
  align-items: flex-start;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(46px, 4.8vw, 68px);
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.client__plus { font-size: 0.6em; margin-left: 0.04em; }
.client__what { color: var(--text); font-size: 17px; max-width: 34ch; }
.client__calls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  color: var(--muted);
  font-size: 14px;
}
.client__calls span:first-child { flex-basis: 100%; }
.client__calls b { font-size: 30px; font-weight: 800; line-height: 1; color: var(--text-2); }
.client__calls b.client__lit { color: var(--gold); font-style: italic; font-weight: 900; }
.client__calls svg { width: 22px; height: 22px; color: var(--orange); }

/* The counter: each digit is a strip of 0 to 9 that rolls to its place, like an odometer. */
.odo { display: inline-flex; height: 1.04em; line-height: 1.04; }
/* The window is wider than the digit so the italic slant is never clipped. */
.odo__d { display: inline-block; height: 1.04em; overflow: hidden; padding: 0 0.08em; margin: 0 -0.08em; }
.odo__strip { display: flex; flex-direction: column; transition: transform 1.8s cubic-bezier(0.12, 0.8, 0.18, 1); }
.odo__strip span { display: block; height: 1.04em; text-align: center; }
.odo__sep { display: inline-block; }

@media (max-width: 900px) {
  .results__top { grid-template-columns: 1fr; }
}
.results .h2 { font-size: clamp(38px, 6vw, 84px); line-height: 1; }
.results__who { color: var(--muted); font-size: 15px; }
.story {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 40px;
}
/* The horizon line runs from the cold list to the lit result. */
.story::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--hair) 0%, var(--hair) 55%, var(--orange) 92%, var(--gold) 100%);
}
.story__step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.story__step::before {
  content: "";
  position: absolute;
  top: -44.5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1px solid var(--hair);
  transform: rotate(45deg);
}
.story__step--after::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(208, 86, 19, 0.25), 0 0 22px 6px rgba(208, 86, 19, 0.55);
}
.story__step h3 { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6f665d; }
.story__step p { color: var(--muted); }
/* What we did: the light is on its way. */
.story__step:nth-child(2) h3 { color: #c98a5a; }
.story__step:nth-child(2) p { color: var(--text-2); }
.story__step:nth-child(2)::before { border-color: var(--orange); background: rgba(208, 86, 19, 0.35); }
/* After: full light. */
.story__step--after h3 { color: var(--gold); font-size: 14px; }
.story__step--after p { color: var(--text); font-size: 17px; }
.story__step--after::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 4.5px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(239, 140, 55, 0.7);
  animation: radiate 2.4s cubic-bezier(0.2, 0.7, 0.3, 1) infinite;
  pointer-events: none;
}
@keyframes radiate {
  0% { box-shadow: 0 0 0 0 rgba(239, 140, 55, 0.75), 0 0 0 0 rgba(208, 86, 19, 0.5); }
  70% { box-shadow: 0 0 0 26px rgba(239, 140, 55, 0), 0 0 0 46px rgba(208, 86, 19, 0); }
  100% { box-shadow: 0 0 0 26px rgba(239, 140, 55, 0), 0 0 0 46px rgba(208, 86, 19, 0); }
}
.story__step--after::before { animation: ember 2.4s ease-in-out infinite; }
@keyframes ember {
  0%, 100% { box-shadow: 0 0 0 4px rgba(208, 86, 19, 0.25), 0 0 22px 6px rgba(208, 86, 19, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(208, 86, 19, 0.35), 0 0 34px 12px rgba(239, 140, 55, 0.7); }
}

@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; padding-top: 0; padding-left: 30px; gap: 34px; }
  .story::before { top: 6px; bottom: 6px; left: 4px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--hair) 0%, var(--hair) 55%, var(--orange) 90%, var(--gold) 100%); }
  .story__step::before { top: 7px; left: -30px; }
  .story__step--after::after { top: 11.5px; left: -25.5px; }
}

/* ---------- Testimonials ---------- */
.voices { background: var(--black); position: relative; }
.voices::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208, 86, 19, 0.7) 50%, transparent);
}
.voices .h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.voices__grid {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.film { display: flex; flex-direction: column; gap: 14px; container-type: inline-size; }
.film__pull {
  white-space: nowrap;
  font-size: min(28px, calc(100cqi / 15.4));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.quote blockquote em { color: var(--orange); }
.film__frame {
  --c: 12px;
  --fill: var(--panel);
  aspect-ratio: 9 / 16;
  padding: 1px;
}
.film__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--panel);
  clip-path: polygon(11.6px 0, calc(100% - 11.6px) 0, 100% 11.6px, 100% calc(100% - 11.6px), calc(100% - 11.6px) 100%, 11.6px 100%, 0 calc(100% - 11.6px), 0 11.6px);
}
.film__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.55));
  cursor: pointer;
}
.film__play[hidden] { display: none; }
.film__play span {
  --c: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  background: var(--orange);
  color: var(--black);
  font-weight: 800;
  font-size: 15px;
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c));
  transition: background-color 0.2s, transform 0.25s var(--ease);
}
.film__play svg { width: 16px; height: 16px; }
.film__play:hover span { background: var(--orange-hi); transform: scale(1.04); }
.film__play:focus-visible { outline: none; }
.film__play:focus-visible span { box-shadow: inset 0 0 0 3px var(--black); }
.film figcaption { display: flex; flex-direction: column; font-size: 15px; }
.film figcaption b { font-weight: 700; }
.film figcaption span { color: var(--muted); }

.quotes { display: grid; gap: 16px; }
.quote {
  --c: 12px;
  --fill: #0f0e0d;
  display: grid;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 32px);
}
.quote blockquote { font-size: 17px; line-height: 1.6; color: var(--text); max-width: 68ch; }
.quote blockquote::before {
  content: none;
  display: block;
  height: 0.62em;
  margin-bottom: 4px;
  font-size: 54px;
  line-height: 1;
  font-style: italic;
  font-weight: 900;
  color: var(--orange);
}
.who { display: flex; align-items: center; gap: 14px; }
.who img,
.who .who__mono {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px var(--hair), 0 0 0 3px #0f0e0d, 0 0 0 4px rgba(208, 86, 19, 0.6);
}
.who .who__mono { display: grid; place-items: center; background: var(--ink); color: var(--gold); font-weight: 800; font-size: 17px; letter-spacing: 0.02em; line-height: 1; }
.who b { display: block; font-weight: 700; color: var(--text); }
.who span { display: block; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .voices__grid { grid-template-columns: 1fr; }
  .film { max-width: 320px; width: 100%; margin-inline: auto; }
}

/* ---------- Book a call ---------- */
.book {
  position: relative;
  color: var(--text);
  /* The orange field as light, not paint: an ember glow rising behind the calendar, falling to
     burnt umber at the edges, so the heading sits on dark and the calendar floats on the light. */
  background:
    radial-gradient(ellipse 120% 90% at 50% 82%, #d05613 0%, #bd4a0e 30%, #96380b 56%, #6a2708 80%, #4a1b06 100%);
}
.book__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.book .h2 em { color: var(--gold); }
.book .lead { color: var(--text); font-size: 18px; max-width: 58ch; }
.ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.tick {
  --c: 8px;
  --line: rgba(239, 189, 113, 0.28);
  --fill: rgba(16, 8, 4, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 11px;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  text-align: left;
}
.tick__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--black);
  box-shadow: 0 0 0 3px rgba(208, 86, 19, 0.22);
}
.tick__mark svg { width: 14px; height: 14px; }
.cal {
  --c: 14px;
  --line: rgba(0, 0, 0, 0.6);
  --fill: #1b1b1b;
  width: 100%;
  max-width: 1080px;
  margin-top: clamp(28px, 4vw, 44px);
  filter: drop-shadow(0 30px 50px rgba(20, 6, 0, 0.6));
}
.cal__mount { position: relative; z-index: 1; width: 100%; min-height: 560px; overflow: hidden; padding: 1px; }
/* Sits under the calendar: once the calendar draws it covers this, so nothing ever blocks it. */
.cal__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--muted);
  font-size: 15px;
}
.cal__fallback a { color: var(--gold); }
.cal.is-loaded .cal__fallback { visibility: hidden; }
.cal.is-failed .cal__fallback { visibility: visible; z-index: 2; background: #101010; }

@media (max-width: 700px) {
  /* Cal.com leaves a scrollbar gutter on the right inside its frame on phones; the frame clips it. */
  .cal .cal__mount iframe.cal-embed { flex: none; width: calc(100% + 10px) !important; max-width: none !important; }
  .tick { width: 100%; }
  .cal__mount { min-height: 640px; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
.faq__head { align-self: start; position: sticky; top: 120px; display: flex; flex-direction: column; gap: 18px; }
.faq__list details { border-top: 1px solid var(--hair); }
.faq__list details:last-child { border-bottom: 1px solid var(--hair); }
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: #fff; }
.ripples { flex: none; width: 28px; height: 22px; overflow: visible; }
.ripples path { fill: none; stroke: #6f665d; stroke-width: 2.4; stroke-linejoin: miter; stroke-linecap: butt; transition: stroke 0.3s, transform 0.45s var(--ease); }
.faq__list summary:hover .ripples path { stroke: var(--text-2); }
/* Open: the ripples light from the top down and spread a little, like the emblem catching the light. */
.faq__list details[open] .ripples path { stroke: var(--orange); }
.faq__list details[open] .ripples path:nth-child(2) { transition-delay: 0.06s; transform: translateY(1px); }
.faq__list details[open] .ripples path:nth-child(3) { transition-delay: 0.12s; stroke: var(--gold); transform: translateY(2px); }
.faq__list details p { padding: 0 40px 24px 0; color: var(--text-2); max-width: 64ch; }
.faq__list details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq__list details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--black); padding-block: clamp(64px, 8vw, 104px) 40px; overflow: hidden; }
/* The horizon from the hero, still: one line of ember light across the top. */
.foot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(208, 86, 19, 0) 0%, rgba(208, 86, 19, 0.5) 40%, var(--gold) 70%, rgba(208, 86, 19, 0.5) 85%, rgba(208, 86, 19, 0) 100%);
}
.foot::after {
  content: "";
  position: absolute;
  left: 70%;
  top: 0;
  width: 520px;
  height: 160px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(239, 140, 55, 0.32), rgba(208, 86, 19, 0) 70%);
  pointer-events: none;
}
.foot__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}
.foot__brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.foot__brand img { height: 64px; width: 111px; }
.foot__tag { color: var(--text-2); max-width: 34ch; }
.foot__h { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot nav ul,
.foot__col ul { display: grid; gap: 10px; }
.foot__col a { font-size: 15px; }
.foot__hours { color: var(--muted); font-size: 14px; margin-top: 14px; }
.foot__base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 22px;
  border-top: 1px solid #221f1c;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 900px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
@media (max-width: 460px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Legal and not-found pages ---------- */
.page { padding-top: calc(var(--header-top) + 60px + 56px); padding-bottom: 96px; }
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 12px; }
.legal h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin: 44px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 28px 0 8px; }
.legal p,
.legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal a:not(.btn) { color: var(--gold); text-underline-offset: 0.2em; }
.legal__meta { color: var(--muted); font-size: 14px; }
.legal .btn { margin-top: 24px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .story__step--after::after,
  .story__step--after::before { animation: none; }
  .hero__canvas { transition: none; }
  .flow__panel li,
  .faq__list details::details-content { transition: none; }
  /* The tool strip keeps rolling, as on pulsift.com: it is slow, linear and carries no information. */
}
.foot__gap { margin-top: 28px; }

/* The brand board's clean diagonal cut, once: the orange field's top edge. */
.book { padding-top: calc(clamp(72px, 9vw, 128px) + clamp(18px, 3vw, 44px)); }
.book::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: calc(clamp(18px, 3vw, 44px) + 1px);
  background: var(--black);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* On phones the strike's sparks pass behind the audience line; a dark halo keeps it readable. */
@media (max-width: 700px) {
  .cta small { text-shadow: 0 0 6px var(--bg), 0 0 2px var(--bg); }
}

/* The contact address is an image, copied on click, so scrapers reading the page never see it as text. */
.mail { display: inline-flex; align-items: center; gap: 0; padding: 0; border: 0; background: none; cursor: pointer; vertical-align: middle; }
.mail img { display: block; height: auto; opacity: 0.92; transition: opacity 0.2s; }
.mail:hover img { opacity: 1; }
.mail:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.mail__note:not(:empty) { margin-left: 10px; }
.mail__note { font-size: 13px; font-weight: 700; color: var(--gold); }
.legal .mail img { height: 1.1em; width: auto; }
