@import url("../fonts/fonts.css");

/* =========================================================================
   t4studios — site styles
   Brand: Night #0B0B0C · Volt Lime #C6FF3D · Chalk #F5F5F0 · Graphite #18181B
   Type:  Outfit ExtraBold (display, lowercase) · Inter (body)
   Rule:  lime is for the tile, the smile, buttons and key words only.
          backgrounds stay night or chalk. never lime text on white.
   ========================================================================= */

/* ---------- tokens: light (Chalk) is the base set ---------- */
:root {
  color-scheme: light dark;

  /* brand constants — identical in every theme */
  --night: #0b0b0c;
  --graphite: #18181b;
  --lime: #c6ff3d;
  --chalk: #f5f5f0;
  --lime-deep: #4e7a00; /* lime darkened for text on chalk — never raw lime on white */

  /* themed roles */
  --bg: #f5f5f0;
  --bg-alt: #ecece4;
  --surface: #ffffff;
  --surface-2: #f0f0e8;
  --text: #0b0b0c;
  --text-2: #46464b;
  --text-3: #70707a;
  --line: rgba(11, 11, 12, 0.14);
  --line-strong: rgba(11, 11, 12, 0.28);
  --accent-text: var(--lime-deep);
  --shadow: 0 1px 2px rgba(11, 11, 12, 0.06), 0 12px 32px -18px rgba(11, 11, 12, 0.3);

  /* the hero + footer are a committed night stage in every theme */
  --stage: #0b0b0c;
  --stage-2: #141416;
  --stage-text: #f5f5f0;
  --stage-text-2: #b2b2ad;
  --stage-line: rgba(245, 245, 240, 0.16);

  --shell: 1400px;
  --gutter: clamp(20px, 4.5vw, 72px);

  /* type roles: a wide display face, the brand face below it, Inter for text */
  --font-display: "Anybody", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-sub: Outfit, Inter, system-ui, sans-serif;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 18px;
  --radius-lg: 26px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0c;
    --bg-alt: #111113;
    --surface: #18181b;
    --surface-2: #1f1f23;
    --text: #f5f5f0;
    --text-2: #b4b4af;
    --text-3: #87878f;
    --line: rgba(245, 245, 240, 0.14);
    --line-strong: rgba(245, 245, 240, 0.3);
    --accent-text: var(--lime);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 44px -22px rgba(0, 0, 0, 0.9);
  }
}

:root[data-theme="dark"] {
  --bg: #0b0b0c;
  --bg-alt: #111113;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --text: #f5f5f0;
  --text-2: #b4b4af;
  --text-3: #87878f;
  --line: rgba(245, 245, 240, 0.14);
  --line-strong: rgba(245, 245, 240, 0.3);
  --accent-text: var(--lime);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 18px 44px -22px rgba(0, 0, 0, 0.9);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; }

button { font: inherit; color: inherit; }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-sub);
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
  margin: 0;
}

/* The two display sizes use the wide face, set in caps. Everything smaller
   stays on Outfit in lowercase, which keeps the logo's voice in the page. */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.86;
}

h1 { font-size: clamp(2.9rem, 8.2vw, 7rem); }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -0.028em; }
p { margin: 0; }

.label {
  font-family: Inter, sans-serif;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  margin: 0;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text-2);
  max-width: 54ch;
}

.hl { color: var(--accent-text); }

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.band { padding-block: clamp(72px, 10vw, 136px); }
.band--alt { background: var(--bg-alt); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 62ch;
}

/* the smile, used as a rule under section headings */
.smile {
  width: 72px;
  height: 22px;
  overflow: visible;
  flex: none;
}
.smile path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 34;
  stroke-linecap: round;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--stage) 86%, transparent);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-head.is-stuck { border-bottom-color: var(--stage-line); }

.site-head__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 74px;
  padding-block: 12px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}
.brand-link img { width: clamp(122px, 15vw, 158px); }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.site-nav a {
  color: var(--stage-text-2);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding-block: 4px;
  transition: color 0.18s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  transition: right 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-nav a:hover { color: var(--stage-text); }
.site-nav a:hover::after { right: 0; }

/* the CTA inside the nav is a button, not a nav link: it keeps its own
   colour and does not get the hover underline. */
.site-nav a.btn { color: var(--night); }
.site-nav a.btn--lime,
.site-nav a.btn--lime:hover { color: var(--night); }
.site-nav a.btn::after { display: none; }

.head-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stage-line);
  background: transparent;
  color: var(--stage-text);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.icon-btn:hover { border-color: var(--lime); background: rgba(198, 255, 61, 0.1); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* the toggle shows the theme you would switch TO.
   order matters: the [data-theme] stamps must come after the media query. */
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }

.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: lowercase;
  letter-spacing: -0.012em;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lime { background: var(--lime); color: var(--night); }
.btn--lime:hover { background: #d4ff6b; }

.btn--ghost-stage { border-color: var(--stage-line); color: var(--stage-text); }
.btn--ghost-stage:hover { border-color: var(--lime); color: var(--lime); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }

.btn--sm { padding: 10px 20px; font-size: 0.93rem; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ---------- hero ---------- */
.hero {
  background: var(--stage);
  color: var(--stage-text);
  overflow: hidden;
  position: relative;
}

/* the stage behind everything: a technical grid, faded in, plus a lime bloom */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__lines {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(to right, rgba(245, 245, 240, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245, 245, 240, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 78% 72% at 64% 46%, #000 18%, transparent 76%);
  mask-image: radial-gradient(ellipse 78% 72% at 64% 46%, #000 18%, transparent 76%);
}
.hero__bloom {
  position: absolute;
  top: -14%;
  right: -8%;
  width: min(880px, 94vw);
  aspect-ratio: 1;
  background: radial-gradient(circle,
    rgba(198, 255, 61, 0.2),
    rgba(198, 255, 61, 0.05) 44%,
    transparent 68%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(54px, 8vw, 104px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero__copy::before {
  content: "";
  position: absolute;
  inset: -10% -18% -10% -44%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 32% 50%,
    rgba(11, 11, 12, 0.94) 36%,
    rgba(11, 11, 12, 0) 76%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stage-text-2);
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}

.hero h1 { color: var(--stage-text); max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--lime); }

.hero__text { color: var(--stage-text-2); max-width: 46ch; font-size: clamp(1.03rem, 1.5vw, 1.16rem); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__slogan {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  color: var(--stage-text);
}
.hero__slogan span { color: var(--lime); }

/* the 3d stage */
.hero__stage {
  position: relative;
  width: 100%;
  max-width: 760px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  justify-self: center;
  z-index: 1;
}
.hero__stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.hero__stage.is-live canvas { opacity: 1; }

/* flat-logo fallback: what the page shows at rest, and if webgl is unavailable */
.stage-fallback {
  position: absolute;
  inset: 12%;
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease;
}
.stage-fallback img { width: 100%; border-radius: 22%; }
.hero__stage.is-live .stage-fallback { opacity: 0; }

.stage-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stage-text-2);
  opacity: 0.75;
}

/* ---------- marquee ---------- */
.marquee {
  background: var(--lime);
  color: var(--night);
  overflow: hidden;
  border-block: 1px solid var(--night);
  padding-block: 14px;
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: slide 38s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  flex: none;
}
.marquee__item {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.5rem);
  text-transform: lowercase;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee__sep { width: 30px; height: 12px; overflow: visible; flex: none; }
.marquee__sep path { fill: none; stroke: var(--night); stroke-width: 34; stroke-linecap: round; }

@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service {
  background: var(--bg);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.22s ease;
}
.band--alt .service { background: var(--bg-alt); }
.service:hover { background: var(--surface); }
.band--alt .service:hover { background: var(--surface); }

.service__no {
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--text-3);
}
.service h3 { color: var(--text); }
.service p { color: var(--text-2); font-size: 0.97rem; }

/* the extra services — pulled out of the grid on purpose */
.extras {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(18px, 2vw, 24px);
}

.extra {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.2vw, 42px);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: perspective(900px) rotateX(0deg) rotateY(0deg);
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
  will-change: transform;
}
.extra:hover { border-color: var(--line-strong); }

.extra--feature {
  background: var(--night);
  color: var(--chalk);
  border-color: rgba(198, 255, 61, 0.42);
}
.extra--feature h3 { color: var(--chalk); }
.extra--feature p { color: #b4b4af; }
.extra--feature .label { color: var(--lime); }

.extra p { color: var(--text-2); }

.extra__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--night);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  font-size: 0.8rem;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  white-space: nowrap;
}
.extra--feature .chip { border-color: rgba(245, 245, 240, 0.26); color: #cfcfca; }

@media (prefers-reduced-motion: reduce) {
  .extra { transition: border-color 0.25s ease; transform: none !important; }
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(24px, 3vw, 36px);
  counter-reset: step;
}
.step {
  padding-top: 22px;
  border-top: 2px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--lime);
}
.step__no {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.22rem; }
.step p { color: var(--text-2); font-size: 0.96rem; }

/* ---------- partners ---------- */
.partner {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.partner__logo {
  width: 148px;
  height: 148px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.partner__logo img { width: 100%; height: 100%; object-fit: cover; }

.partner__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.partner__meta {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.partner__body p { color: var(--text-2); }

.partner__quote {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  text-transform: lowercase;
  letter-spacing: -0.025em;
  color: var(--text);
  padding-left: 16px;
  border-left: 3px solid var(--lime);
}

.partner-note { margin-top: 22px; color: var(--text-3); font-size: 0.92rem; }

/* ---------- contact ---------- */
.contact-card {
  background: var(--night);
  color: var(--chalk);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5.5vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: 420px;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(198, 255, 61, 0.16), transparent 64%);
  pointer-events: none;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-card h2 { color: var(--chalk); }
.contact-card p { color: #b4b4af; }
.contact-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

.contact-list { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.contact-list div { display: flex; flex-direction: column; gap: 3px; }
.contact-list dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #86868c;
}
.contact-list dd { margin: 0; font-size: 1.04rem; }
.contact-list a { color: var(--lime); text-decoration: none; border-bottom: 1px solid rgba(198, 255, 61, 0.35); }
.contact-list a:hover { border-bottom-color: var(--lime); }

/* ---------- footer ---------- */
.site-foot {
  background: var(--stage);
  color: var(--stage-text-2);
  padding-block: clamp(44px, 6vw, 72px);
  border-top: 1px solid var(--stage-line);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
.site-foot img { width: 146px; }
.foot-slogan {
  font-family: Outfit, Inter, sans-serif;
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
  color: var(--stage-text);
}
.foot-slogan span { color: var(--lime); }
.foot-meta { font-size: 0.86rem; }

/* ---------- hero load-in (plays once, from a visible resting state) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__copy > * {
    animation: rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .js .hero__copy > *:nth-child(1) { animation-delay: 0.04s; }
  .js .hero__copy > *:nth-child(2) { animation-delay: 0.1s; }
  .js .hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
  .js .hero__copy > *:nth-child(4) { animation-delay: 0.22s; }
  .js .hero__copy > *:nth-child(5) { animation-delay: 0.28s; }
}

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
  to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { order: -1; max-width: 400px; }
  .hero__copy { align-items: flex-start; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; }

  .site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 74px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--stage);
    border-bottom: 1px solid var(--stage-line);
    padding: 8px var(--gutter) 22px;
    transform: translateY(-120%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 55;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a {
    padding-block: 15px;
    border-bottom: 1px solid var(--stage-line);
    font-size: 1.05rem;
  }
  .site-nav a::after { display: none; }
  .site-nav .btn { margin-top: 18px; }

  .partner { grid-template-columns: 1fr; }
  .partner__logo { width: 116px; height: 116px; }
}

@media (max-width: 420px) {
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
}


/* =========================================================================
   HUD layer — the technical chrome: viewfinder brackets, a live readout,
   floating capability cards and the capability rail.
   ========================================================================= */

.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- viewfinder brackets ---------- */
.hud-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(198, 255, 61, 0.5);
  z-index: 3;
  pointer-events: none;
}
.hud-corner--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hud-corner--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.hud-corner--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.hud-corner--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

.contact-card .hud-corner {
  width: 18px;
  height: 18px;
  top: 16px;
  left: 16px;
  border-color: rgba(198, 255, 61, 0.45);
}
.contact-card .hud-corner--br { top: auto; left: auto; bottom: 16px; right: 16px; }

/* ---------- live readout above the mark ---------- */
.hud-readout {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--stage-text-2);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
}
.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  flex: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hud-dot { animation: ping 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(198, 255, 61, 0); }
}
.hud-clock {
  margin-left: auto;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.hud-zone { opacity: 0.6; }

/* ---------- floating capability cards ---------- */
.float-cards {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.float-card {
  position: absolute;
  width: 212px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border-radius: 15px;
  background: rgba(18, 18, 20, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(245, 245, 240, 0.14);
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.95);
  pointer-events: auto;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}
.float-card:hover { border-color: rgba(198, 255, 61, 0.45); }
.float-card:nth-child(1) { top: 7%; right: -2%; }
.float-card:nth-child(2) { bottom: 13%; right: -5%; }
.float-card h3 {
  font-size: 0.88rem;
  line-height: 1.1;
  color: var(--chalk);
  letter-spacing: -0.022em;
}
.float-card p {
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--stage-text-2);
  margin-top: 3px;
}
.float-card__icon {
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: rgba(198, 255, 61, 0.14);
  display: grid;
  place-items: center;
  flex: none;
}
.float-card__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-linecap: round;
}
.float-card__arrow {
  margin-left: auto;
  color: var(--lime);
  font-size: 0.95rem;
  flex: none;
}

/* ---------- capability rail along the bottom of the hero ---------- */
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: clamp(30px, 4vw, 54px);
}
.hero__foot-label { color: var(--stage-text-2); margin: 0; flex: none; }
.cap-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-pills li {
  position: relative;
  font-size: 0.78rem;
  padding: 6px 14px 6px 23px;
  border-radius: 999px;
  border: 1px solid var(--stage-line);
  color: var(--stage-text-2);
  white-space: nowrap;
}
.cap-pills li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  translate: 0 -50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  opacity: 0.85;
}

/* the contact label is mono on a dark card, so it needs its own colour */
.contact-label { color: #86868c; }

/* ---------- HUD responsive ---------- */
@media (min-width: 1140px) {
  /* pull the mark left so the headline crowds it, the way the references do */
  .hero__stage { transform: translateX(-5%); }
}

@media (max-width: 1100px) {
  .float-card { width: 186px; }
  .float-card:nth-child(1) { right: 0; }
  .float-card:nth-child(2) { right: 0; }
}

@media (max-width: 980px) {
  /* the cards restate services that appear in full below — drop them rather
     than cram them over the mark on a phone */
  .float-cards { display: none; }
  .hero__copy::before { display: none; }
  .hud-corner { width: 18px; height: 18px; top: 12px; left: 12px; }
  .hud-corner--tr { top: 12px; right: 12px; left: auto; }
  .hud-corner--bl { bottom: 12px; left: 12px; top: auto; }
  .hud-corner--br { bottom: 12px; right: 12px; top: auto; left: auto; }
}

@media (max-width: 620px) {
  .hero__foot-label { display: none; }
  .cap-pills li { font-size: 0.73rem; padding: 5px 12px 5px 21px; }
}

/* =========================================================================
   Scaled out — the hero runs to the viewport edges instead of sitting in
   the content column, so elements anchor to the corners of the screen.
   ========================================================================= */

.site-head .shell,
.hero__grid,
.hero__foot {
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
}

.hero__grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(48px, 7vw, 96px);
  align-items: center;
}

.hero h1 {
  max-width: 12ch;
  /* caps this large need the optical tightening the lowercase face did not */
  word-spacing: -0.04em;
}

.hero__text { max-width: 44ch; }

/* the accent word keeps its weight but drops the width, so it reads as a
   different voice rather than just a different colour */
.hero h1 em {
  font-style: normal;
  color: var(--lime);
  font-stretch: 110%;
}

/* section headings get the same caps treatment, one step down */
.section-head h2 { max-width: 16ch; }

/* h1 is sized for the hero — inside a section head it takes the h2 size */
.section-head h1 { font-size: clamp(2.1rem, 5vw, 4rem); max-width: 20ch; }

/* ---------- WordPress plumbing ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--lime);
  color: var(--night);
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

.site-nav .menu-item a,
.site-nav > a { /* nav items come from wp_nav_menu or the anchor fallback */
  text-transform: lowercase;
}
.site-nav ul {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { display: inline-flex; }

/* ---------- partners list ---------- */
.partner-list {
  display: grid;
  gap: clamp(18px, 2vw, 26px);
}

/* ---------- blog + pages ---------- */
.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 2.4vw, 30px);
}
.post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-card__date { color: var(--text-3); }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-text); }
.post-card p { color: var(--text-2); font-size: 0.97rem; }

.prose {
  max-width: 68ch;
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  gap: 1.1em;
}
.prose :where(h2, h3, h4) { color: var(--text); margin-top: 0.4em; }
.prose a { color: var(--accent-text); }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--lime);
  color: var(--text);
}
.prose :where(ul, ol) { margin: 0; padding-left: 1.3em; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--chip);
  padding: 0.15em 0.4em;
  border-radius: 5px;
}

.pager { margin-top: 42px; }
.pager .page-numbers {
  display: inline-flex;
  min-width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-right: 7px;
  text-decoration: none;
  font-size: 0.9rem;
}
.pager .page-numbers.current {
  background: var(--lime);
  color: var(--night);
  border-color: var(--lime);
}

/* alignwide / alignfull from the block editor */
.prose .alignfull { width: 100%; }
.prose .alignwide { width: 100%; }

/* ---------- scaled-out responsive ---------- */
@media (max-width: 1240px) {
  .hero__stage { max-width: 620px; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stage { max-width: 420px; transform: none; }
  .hero h1 { max-width: 14ch; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); letter-spacing: -0.005em; }
  h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
}

/* ---------- hero composition corrections ----------
   At full bleed the headline column reaches across the top of the stage, so
   the readout moves out of its path and the headline is given room to hold
   three lines rather than five. */
.hud-readout {
  left: auto;
  width: auto;
  justify-content: flex-end;
}
.hud-readout .mono:first-of-type { opacity: 0.85; }

.hero h1 {
  /* a ch max-width shrinks with the font size, so it cannot widen the line —
     let the grid column set the measure instead */
  max-width: none;
  font-size: clamp(2.9rem, 6.2vw, 5.3rem);
}

@media (max-width: 980px) {
  .hud-readout { left: 0; width: auto; justify-content: flex-start; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); max-width: 100%; }
}


/* Six services should fill two rows of three, not leave a row half-empty at
   the wider --shell. */
@media (min-width: 1100px) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


/* =========================================================================
   Price list — monthly packages, one-off jobs, the booking bar.
   The "popular" card is the one place a solid lime panel is used: lime is a
   fill here, never text on white.
   ========================================================================= */

.accent-head em { font-style: normal; color: var(--accent-text); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
  margin-top: 46px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 34px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.price-card--pop {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--night);
  /* the lime card carries the eye — lift it out of the row */
  margin-block: clamp(-14px, -1vw, 0px) 0;
}

.price-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--night);
  color: var(--lime);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-card__head { display: flex; flex-direction: column; gap: 6px; }
.price-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.price-card__for { margin: 0; font-size: 0.93rem; color: var(--text-2); }
.price-card--pop h3,
.price-card--pop .price-card__for { color: var(--night); }
.price-card--pop .price-card__for { opacity: 0.72; }

.price-card__tag {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.price-card--pop .price-card__tag { border-bottom-color: rgba(11, 11, 12, 0.22); }

.price-card__cur {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.price-card--pop .price-card__cur { color: rgba(11, 11, 12, 0.6); }

.price-card__fig {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.price-card__per { font-size: 0.9rem; color: var(--text-3); }
.price-card--pop .price-card__per { color: rgba(11, 11, 12, 0.6); }

.price-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.price-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.97rem;
  color: var(--text-2);
}
.price-card--pop .price-list li { color: var(--night); }

.tick {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--accent-text);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-card--pop .tick { stroke: var(--night); }

.price-card__cta { align-self: stretch; justify-content: center; margin-top: 4px; }
.btn--night { background: var(--night); color: var(--chalk); }
.btn--night:hover { background: var(--graphite); }

/* ---------- one-off jobs ---------- */
.oneoffs { margin-top: clamp(52px, 7vw, 86px); }
.oneoffs__lead { margin: 10px 0 0; color: var(--text-2); max-width: 52ch; }

.oneoff-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 26px 0 0;
}
.oneoff {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 22px;
  border-left: 1px solid var(--line);
}
.oneoff:first-child { padding-left: 0; border-left: 0; }
.oneoff dt { font-size: 0.93rem; color: var(--text-3); }
.oneoff dd {
  margin: 0;
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: clamp(1.16rem, 2vw, 1.42rem);
  letter-spacing: -0.03em;
}

/* ---------- booking bar ---------- */
.book-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(52px, 7vw, 86px);
  padding: clamp(26px, 3vw, 40px) clamp(26px, 3.4vw, 46px);
  background: var(--lime);
  border-radius: var(--radius-lg);
  color: var(--night);
}
.book-bar__copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.book-bar h2 {
  font-family: var(--font-sub);
  font-weight: 800;
  font-stretch: normal;
  text-transform: lowercase;
  letter-spacing: -0.035em;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--night);
}
.book-bar p { margin: 0; font-size: 0.93rem; color: rgba(11, 11, 12, 0.72); }

.book-bar__phone {
  flex: none;
  padding: 18px 34px;
  border-radius: 999px;
  background: var(--night);
  color: var(--chalk);
  font-family: var(--font-sub);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease;
}
.book-bar__phone:hover { background: var(--graphite); transform: translateY(-2px); }

/* ---------- price list responsive ---------- */
@media (max-width: 980px) {
  .price-grid { grid-template-columns: 1fr; gap: 30px; }
  .price-card--pop { margin-block: 0; }
  .oneoff-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; }
  .oneoff:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .oneoff-row { grid-template-columns: 1fr; gap: 18px; }
  .oneoff { padding-left: 0; border-left: 0; }
  .book-bar { flex-direction: column; align-items: stretch; }
  .book-bar__phone { text-align: center; }
}
