/*
Theme Name: Cultiwate
Theme URI: https://cultiwate.com
Author: Cultiwate
Description: Studio site for Cultiwate. AI video advertisements for brands, marketers, and businesses. The green spark in the wordmark is the visual system.
Version: 1.8.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cultiwate
*/

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/instrument-sans.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/dm-mono.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/dm-mono-500.woff2") format("woff2");
}

:root {
  --bg: #07110c;
  --bg-2: #0c1c15;
  --paper: #f2f0ea;
  --dim: #c9c6be;
  --quiet: #9d9a92;
  --line: rgba(242, 240, 234, 0.16);
  --green: #00bf63;
  --ink: #07110c;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(18px, 3.2vw, 40px);
  --header: 72px;
  --bracket: var(--green);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 430;
}

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

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

h1, h2 { text-wrap: balance; }

p { text-wrap: pretty; }

a { color: inherit; }

:focus { outline: none; }

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

[hidden] { display: none !important; }

::selection { background: var(--green); color: var(--ink); }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--green);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.site-header,
main,
.site-footer { position: relative; z-index: 2; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
  padding: 12px var(--pad);
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.logo img { width: auto; height: 36px; }

.site-nav { display: flex; align-items: center; gap: 22px; }

.site-nav a:not(.btn) {
  color: var(--dim);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"]:not(.btn) { color: var(--paper); }

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}

.menu-btn[aria-expanded="false"] .when-open,
.menu-btn[aria-expanded="true"] .when-closed { display: none; }

.spark,
.kicker::before,
.badge::before,
.btn-primary::before,
.close-band .btn::before,
.tally {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--green);
  -webkit-mask: url("assets/spark.svg") center / contain no-repeat;
  mask: url("assets/spark.svg") center / contain no-repeat;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 550;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary,
.close-band .btn {
  background: var(--green);
  color: var(--ink);
}

.btn-primary::before,
.close-band .btn::before {
  content: "";
  background: var(--ink);
}

.btn-primary:hover,
.close-band .btn:hover { filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.btn-ghost:hover { border-color: var(--green); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.8rem; /* 12.8px, was 0.72rem */
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker::before { content: ""; }

.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(12px, 3vw, 28px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.72fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.display,
.page-title,
.statement,
.step h3,
.campaign h2,
.close-band h2,
.success h2,
.legal h1,
.audience h3 {
  font-family: var(--sans);
  font-weight: 520;
  letter-spacing: -0.038em;
  line-height: 1.02;
}

.display {
  max-width: 11ch;
  margin: 16px 0 18px;
  font-size: clamp(3.1rem, 5.6vw, 5.15rem);
}

.lede {
  max-width: 36rem;
  color: var(--dim);
  font-size: 1.125rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mark {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  justify-self: end;
  background:
    linear-gradient(var(--green), var(--green)) left top / 28px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) left top / 2px 28px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 28px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) right top / 2px 28px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 28px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) left bottom / 2px 28px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 28px 2px no-repeat,
    linear-gradient(var(--green), var(--green)) right bottom / 2px 28px no-repeat,
    var(--bg-2);
  display: grid;
  place-items: center;
}

.mark-spark {
  width: 54%;
  height: 54%;
  animation: spark-turn 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.mark-spark line {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: spark-draw 1.15s ease forwards;
}

.mark-spark line:nth-child(2) { animation-delay: 0.12s; }
.mark-spark line:nth-child(3) { animation-delay: 0.24s; }
.mark-spark line:nth-child(4) { animation-delay: 0.36s; }

@keyframes spark-draw { to { stroke-dashoffset: 0; } }

@keyframes spark-turn {
  0%, 18% { transform: rotate(0deg); }
  50%, 68% { transform: rotate(45deg); }
  100% { transform: rotate(90deg); }
}

.reel-section { padding: 8px 0 36px; }

.reel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.reel-note {
  max-width: 38rem;
  margin-top: 10px;
  color: var(--dim);
}

.reel-controls { display: flex; gap: 8px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.icon-btn svg { width: 16px; height: 16px; }

.icon-btn:hover { border-color: var(--green); color: var(--green); }

.reel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 var(--pad) 18px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--pad);
  overscroll-behavior-x: contain;
}

.shot {
  flex: 0 0 auto;
  width: max-content;
  scroll-snap-align: start;
}

.shot-still {
  --bracket: var(--green);
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 320px;
  width: auto;
  aspect-ratio: var(--ratio);
  overflow: hidden;
  padding: 40px 18px 28px 44px;
  container-type: inline-size;
}

.shot-still::before {
  content: "";
  position: absolute;
  inset: 12px;
  pointer-events: none;
  background:
    linear-gradient(var(--bracket), var(--bracket)) left top / 16px 2px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) left top / 2px 16px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) right top / 16px 2px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) right top / 2px 16px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) left bottom / 16px 2px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) left bottom / 2px 16px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) right bottom / 16px 2px no-repeat,
    linear-gradient(var(--bracket), var(--bracket)) right bottom / 2px 16px no-repeat;
}

.shot-meta,
.shot-word { position: relative; z-index: 1; }

.shot-meta {
  position: absolute;
  top: 20px;
  left: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.78rem; /* 12.5px, was 0.68rem */
  letter-spacing: 0.08em;
}

.tally { display: block; }

.shot-word {
  font-size: clamp(1.8rem, 24cqi, 3rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.shot figcaption {
  margin-top: 8px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 0.78rem; /* 12.5px, was 0.68rem */
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grade-heat {
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(0, 191, 99, 0.45), transparent 55%),
    #0e2419;
  color: var(--paper);
}

.grade-night {
  background:
    linear-gradient(var(--green), var(--green)) 0 46% / 100% 1px no-repeat,
    #0a1612;
  color: var(--paper);
}

.grade-lens {
  --bracket: var(--ink);
  background: var(--green);
  color: var(--ink);
}

.grade-lens .tally { background: var(--ink); }

.grade-bone {
  --bracket: var(--green);
  background: var(--paper);
  color: var(--ink);
}

.grade-bone .tally { background: var(--green); }

.block {
  padding-block: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line);
}

.service-grid,
.audience {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.statement { font-size: clamp(2.1rem, 3.6vw, 3.15rem); }

.service-grid .statement,
.audience .statement { margin-top: 12px; }

.stack { display: grid; gap: 0.9rem; color: var(--dim); }

.audience ol { list-style: none; padding: 0; }

.audience li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 8px;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.audience li:last-child { border-bottom: 1px solid var(--line); }

.index {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.audience h3 { font-size: 1.65rem; font-weight: 520; letter-spacing: -0.03em; }

.audience p { margin-top: 4px; color: var(--dim); }

.page-head { padding: clamp(36px, 6vw, 72px) 0 8px; }

.page-title {
  max-width: 14ch;
  margin: 14px 0 16px;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.page-head .lede { max-width: 40rem; }

.steps { list-style: none; padding: 20px 0 0; }

.step {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 8px 18px;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}

.step-no {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.8rem; /* was 0.72rem */
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-label::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--green);
  -webkit-mask: url("assets/spark.svg") center / contain no-repeat;
  mask: url("assets/spark.svg") center / contain no-repeat;
}

.step h3 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }

.step p { max-width: 40rem; margin-top: 8px; color: var(--dim); }

.boundary {
  max-width: 40rem;
  margin: 8px 0 clamp(48px, 7vw, 80px);
  color: var(--quiet);
}

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

.campaigns { padding-bottom: 12px; }

.campaign {
  display: grid;
  grid-template-columns: minmax(200px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.campaign.is-flip { grid-template-columns: minmax(0, 1.18fr) minmax(200px, 0.82fr); }

.campaign.is-flip .shot { order: 2; }

.campaign .shot { width: auto; }

.campaign .shot-still {
  width: 100%;
  height: auto;
  aspect-ratio: var(--ratio);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.8rem; /* was 0.72rem */
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge::before { content: ""; }

.campaign h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.campaign .copy { color: var(--dim); }

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 0.8rem; /* was 0.72rem */
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.honest { margin-top: 12px; font-weight: 550; }

.enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(36px, 6vw, 72px) 0 clamp(64px, 8vw, 96px);
}

.enquiry .page-title { max-width: 10ch; }

.direct { margin-top: 18px; color: var(--dim); }

.direct a { color: var(--paper); text-underline-offset: 0.18em; }

.sheet, .success { display: grid; gap: 16px; }

.field { display: grid; gap: 6px; }

.field span, .check span { color: var(--dim); font-size: 0.92rem; }

.field input, .field textarea {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 1.02rem;
}

.field textarea { min-height: 130px; resize: vertical; }

.field input::placeholder, .field textarea::placeholder { color: var(--quiet); }

.field input:focus-visible, .field textarea:focus-visible {
  outline-offset: 4px;
  border-bottom-color: var(--green);
}

.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: #ff7a64; }

.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.fine { color: var(--quiet); font-size: 0.9rem; }

.cultiwate-form form,
.cultiwate-form .contact-form,
.cultiwate-form .wp-block-jetpack-contact-form {
  display: grid;
  gap: 18px;
}

.cultiwate-form .grunion-field-wrap,
.cultiwate-form .wp-block-jetpack-field-name,
.cultiwate-form .wp-block-jetpack-field-email,
.cultiwate-form .wp-block-jetpack-field-text {
  display: block;
  margin-bottom: 6px;
}

.cultiwate-form label,
.cultiwate-form .grunion-field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 0.92rem;
}

.cultiwate-form input[type="text"],
.cultiwate-form input[type="email"],
.cultiwate-form input[type="url"] {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--paper);
  font: inherit;
  font-size: 1.02rem;
}

.cultiwate-form input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-bottom-color: var(--green);
}

/* v1.8.0: select, textarea, checkboxes and hints in the help form. */
.cultiwate-form select,
.cultiwate-form textarea {
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  color: var(--paper);
  font: inherit;
  font-size: 1.02rem;
}

.cultiwate-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 28px;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.cultiwate-form select option { background: var(--bg); color: var(--paper); }

.cultiwate-form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.cultiwate-form input::placeholder,
.cultiwate-form textarea::placeholder { color: var(--quiet); opacity: 1; }

.cultiwate-form select:focus-visible,
.cultiwate-form textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  border-bottom-color: var(--green);
}

.cultiwate-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.cultiwate-form legend { padding: 0; margin-bottom: 8px; color: var(--dim); font-size: 0.92rem; }

.cultiwate-form fieldset label,
.cultiwate-form .grunion-checkbox-multiple-label,
.cultiwate-form .contact-form__checkbox-wrap label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 8px 0;
  color: var(--paper);
  font-size: 0.98rem;
  cursor: pointer;
}

.cultiwate-form input[type="checkbox"],
.cultiwate-form input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--green);
  flex: none;
}

.cultiwate-form button[type="submit"],
.cultiwate-form input[type="submit"],
.cultiwate-form .pushbutton-wide,
.cultiwate-form .wp-block-jetpack-button button,
.cultiwate-form .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--green);
  color: var(--ink);
  font: inherit;
  font-weight: 550;
  cursor: pointer;
}

.cultiwate-form button[type="submit"]::before,
.cultiwate-form .pushbutton-wide::before,
.cultiwate-form .wp-block-jetpack-button button::before,
.cultiwate-form .wp-block-button__link::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--ink);
  -webkit-mask: url("assets/spark.svg") center / contain no-repeat;
  mask: url("assets/spark.svg") center / contain no-repeat;
}

.cultiwate-form .contact-form-submission h3,
.cultiwate-form .contact-form-submission h4 {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-weight: 520;
  letter-spacing: -0.038em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--paper);
}

.cultiwate-form .contact-form-submission p {
  color: var(--dim);
}

.success h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }

.success p:not(.kicker) { color: var(--dim); }

.success a { color: var(--paper); }

.close-band { border-top: 1px solid var(--line); }

.close-band .wrap {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding-block: clamp(56px, 8vw, 96px);
}

.close-band h2 { max-width: 12ch; font-size: clamp(2.4rem, 4.5vw, 3.6rem); }

.close-band .spark-xl {
  width: 42px;
  height: 42px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer-tag { margin-top: 12px; color: var(--dim); }

.site-footer nav { display: grid; align-content: start; gap: 8px; }

.site-footer a { text-underline-offset: 0.18em; }

.site-footer nav a { color: var(--dim); text-decoration: none; }

.site-footer nav a:hover { color: var(--paper); }

.footer-meta { color: var(--dim); }

.footer-meta p + p { margin-top: 6px; }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.86rem;
}

.legal {
  max-width: 40rem;
  padding: clamp(48px, 8vw, 88px) 0 clamp(72px, 10vw, 110px);
}

.legal h1 { margin: 12px 0 14px; font-size: clamp(2.4rem, 4vw, 3.4rem); }

.legal p { color: var(--dim); }

.legal .flag { margin-bottom: 8px; }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 32px var(--pad) 40px;
    background: var(--bg);
  }

  body.nav-open .site-nav { display: flex; }

  body.nav-open { overflow: hidden; }

  .site-nav a:not(.btn) {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
    font-weight: 520;
    letter-spacing: -0.03em;
    color: var(--paper);
    padding: 4px 0;
  }

  .site-nav .btn { margin-top: 16px; }

  .hero-grid,
  .service-grid,
  .audience,
  .enquiry,
  .footer-grid,
  .campaign,
  .campaign.is-flip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mark { justify-self: stretch; max-width: none; }

  .reel-head, .footer-grid { align-items: start; }

  .campaign.is-flip .shot { order: 0; }

  .step { grid-template-columns: 1fr; gap: 4px; }

  .shot-still { height: 260px; }

  .display { max-width: none; }
}

/* v1.5.0 additions */
.reel-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 18px;
}

.reel-cta-note { color: var(--dim); max-width: 34rem; }

.form-privacy {
  margin-top: 14px;
  color: var(--dim);
  font-size: 0.95rem;
}

.next-steps {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.next-steps ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 12px;
  padding: 0;
  list-style: none;
  color: var(--dim);
}

.next-steps li { display: grid; grid-template-columns: 2.4em 1fr; gap: 8px; }

.next-steps .step-no { font-size: 0.85rem; }

.plain-links {
  display: grid;
  gap: 4px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.plain-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--paper);
  text-underline-offset: 0.18em;
}

@media (max-width: 900px) {
  /* The decorative spark tile was a full-width square; hide it so the reel and offer come sooner. */
  .mark { display: none; }

  /* Footer tap targets at least 44px tall. */
  .site-footer nav { gap: 0; }

  .site-footer nav a,
  .footer-meta a,
  .footer-base a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-meta p + p { margin-top: 0; }

  .reel-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  /* v1.5.0: hero-motion is set in <head> before first paint, so nothing flashes.
     The headline and intro only move; they are never invisible (good for LCP). */
  html.hero-motion .enter {
    animation: cultiwate-rise 0.7s ease both;
  }

  html.hero-motion h1.enter,
  html.hero-motion .lede.enter {
    animation-name: cultiwate-lift;
  }

  html.hero-motion .kicker.enter { animation-delay: 0.05s; }
  html.hero-motion h1.enter { animation-delay: 0s; }
  html.hero-motion .lede.enter { animation-delay: 0.08s; }
  html.hero-motion .actions.enter { animation-delay: 0.3s; }
  html.hero-motion .mark.enter { animation-delay: 0.45s; }

  html.motion .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  html.motion .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  html.motion .btn-primary::before,
  html.motion .close-band .btn::before,
  html.motion .cultiwate-form button[type="submit"]::before {
    transition: transform 0.35s ease;
  }

  html.motion .btn-primary:hover::before,
  html.motion .close-band .btn:hover::before,
  html.motion .cultiwate-form button[type="submit"]:hover::before {
    transform: rotate(45deg);
  }

  html.motion .is-in .shot-still::after,
  html.motion .shot-still.is-in::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 0%, rgba(0, 191, 99, 0.16), transparent 46%);
    animation: cultiwate-light 1.8s ease both;
  }

  html.motion .grade-lens.is-in::after,
  html.motion .grade-bone.is-in::after {
    background: radial-gradient(circle at 20% 0%, rgba(7, 17, 12, 0.12), transparent 46%);
  }
}

@keyframes cultiwate-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes cultiwate-lift {
  from { transform: translateY(10px); }
  to { transform: none; }
}

@keyframes cultiwate-light {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

  .mark-spark,
  .mark-spark line,
  .enter,
  .reveal,
  .shot-still::after { animation: none; }

  .mark-spark line { stroke-dashoffset: 0; }

  .reveal,
  .enter {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .btn, .spark, .tally, .kicker::before { border: 1px solid ButtonText; }
}

/* v1.5.1: About, legal documents, hero second line */
.lede-sub { margin-top: 12px; font-size: 1rem; color: var(--quiet); }

html.hero-motion .lede-sub.enter { animation-delay: 0.16s; }

.legal-doc { max-width: 44rem; }

.legal-doc .updated {
  margin-bottom: 20px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.legal-doc h2 {
  margin: 30px 0 8px;
  font-size: 1.25rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.legal-doc ul { margin: 0 0 8px; padding-left: 1.2em; color: var(--dim); }

.legal-doc li { margin-top: 8px; }

.legal-doc li strong { color: var(--paper); font-weight: 560; }

.legal-doc p { margin-top: 8px; }

.legal-doc a { color: var(--paper); text-underline-offset: 0.18em; }

.about-hero .page-title { max-width: 18ch; }

.beliefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.beliefs li {
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--dim);
}

.beliefs strong { display: block; margin-bottom: 4px; color: var(--paper); font-weight: 560; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.team-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.team-card.is-human { border-color: var(--green); }

.team-card h3 { font-size: 1.4rem; font-weight: 540; letter-spacing: -0.02em; line-height: 1.15; }

.team-card p { color: var(--dim); }

.team-card .team-role {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.monogram {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  background: var(--green);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 500;
  -webkit-mask: none;
  mask: none;
}

.is-human .monogram { background: var(--paper); }

.team-note { max-width: 40rem; margin-top: 22px; color: var(--dim); }

.mini-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mini-steps li {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-top: 2px solid var(--green);
  background: var(--bg-2);
}

.mini-steps p { color: var(--paper); }

.fine-print p { max-width: 40rem; margin-top: 14px; color: var(--dim); }

.close-band .close-note { color: var(--dim); }

.close-note a { color: var(--paper); text-underline-offset: 0.18em; }

@media (max-width: 900px) {
  .beliefs, .mini-steps { grid-template-columns: 1fr; }
  .close-note a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ==========================================================================
   v1.7.0 motion layer. CSS-first: works without JS; every animation is off
   under prefers-reduced-motion (see the block at the end of this section).
   ========================================================================== */

:root {
  --bg-3: #10241a;
  --glow: rgba(0, 191, 99, 0.35);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Sticky translucent header. The blur sits on a pseudo-element so the fixed
   mobile menu inside the header is not trapped by backdrop-filter. */
.site-header { background: transparent; isolation: isolate; }

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 17, 12, 0.94);
  transition: background 0.3s ease;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before {
    background: rgba(7, 17, 12, 0.66);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
  }
}

body.nav-open .site-header::before { background: var(--bg); }

.site-nav a:not(.btn) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }

/* Buttons: bigger, glowing primary, sheen on hover, press feedback. */
.btn {
  position: relative;
  min-height: 52px;
  padding: 0 20px;
  overflow: hidden;
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn-primary,
.close-band .btn { box-shadow: 0 0 0 0 var(--glow), 0 8px 30px -12px var(--glow); }

.btn-primary:hover,
.close-band .btn:hover,
.btn-primary:focus-visible,
.close-band .btn:focus-visible { box-shadow: 0 0 0 4px rgba(0, 191, 99, 0.18), 0 10px 40px -8px var(--glow); }

.btn-primary::after,
.close-band .btn::after,
.float-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn:active { transform: translate(var(--mx, 0px), var(--my, 0px)) scale(0.97); }

/* Hero: full-bleed living background behind big type. */
.hero-live {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(86vh, 860px);
  padding: clamp(48px, 9vw, 120px) 0 clamp(48px, 7vw, 96px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(38% 42% at 72% 38%, rgba(0, 191, 99, 0.42), transparent 70%),
    radial-gradient(30% 34% at 22% 78%, rgba(0, 191, 99, 0.22), transparent 70%),
    radial-gradient(26% 30% at 88% 86%, rgba(242, 240, 234, 0.07), transparent 70%),
    radial-gradient(44% 40% at 40% 12%, rgba(16, 60, 38, 0.9), transparent 72%);
  will-change: transform;
}

.hero-pulse {
  position: absolute;
  right: 8%;
  top: 50%;
  width: min(52vw, 640px);
  aspect-ratio: 1;
  margin-top: calc(min(52vw, 640px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 99, 0.28), transparent 62%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-bg.is-playing .hero-video { opacity: 1; }

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 12, 0.88) 0%, rgba(7, 17, 12, 0.55) 55%, rgba(7, 17, 12, 0.25) 100%),
    linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}

.hero-bg.is-playing .hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 17, 12, 0.9) 0%, rgba(7, 17, 12, 0.7) 55%, rgba(7, 17, 12, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 17, 12, 0.2) 0%, transparent 40%, var(--bg) 100%);
}

.hero-grain {
  position: absolute;
  inset: -50%;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-live .wrap { position: relative; }

.hero-live .display {
  max-width: 10ch;
  font-size: clamp(3.3rem, 8.6vw, 7.6rem);
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero-live .lede { color: var(--paper); font-size: clamp(1.15rem, 1.6vw, 1.35rem); }

.hero-live .lede-sub { color: var(--dim); font-size: 1.02rem; }

.mark { background-color: transparent; }

.mark-glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 99, 0.45), transparent 65%);
}

.mark-spark { position: relative; filter: drop-shadow(0 0 18px rgba(0, 191, 99, 0.55)); }

/* Marquee strip. */
.marquee {
  overflow: hidden;
  background: var(--green);
  color: var(--ink);
  border-block: 1px solid rgba(7, 17, 12, 0.2);
}

.mq-track { display: flex; width: max-content; }

.mq-group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 22px;
  padding: 14px 11px;
}

.mq-item {
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mq-spark {
  width: 18px;
  height: 18px;
  flex: none;
  background: var(--ink);
  -webkit-mask: url("assets/spark.svg") center / contain no-repeat;
  mask: url("assets/spark.svg") center / contain no-repeat;
}

/* Section rhythm: alternate bands, one paper band, green hairline dividers. */
.band-alt { background: var(--bg-2); }

.block { position: relative; }

.block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: min(220px, 40%);
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.band-paper {
  background: var(--paper);
  color: var(--ink);
  border-top-color: transparent;
}

.band-paper::before { background: linear-gradient(90deg, var(--ink), transparent); }

.band-paper .statement,
.band-paper h3,
.band-paper .index,
.band-paper .step-no,
.band-paper .mini-steps p { color: var(--ink); }

.band-paper p,
.band-paper .team-note { color: #2f3d36; }

.band-paper .audience li { border-color: rgba(7, 17, 12, 0.16); }

.band-paper .mini-steps li { background: #e6e3da; border-top-color: var(--ink); }

.band-paper a { color: var(--ink); }

.band-alt-soft { background: linear-gradient(180deg, rgba(16, 36, 26, 0.55), transparent); }

/* Cards: lift and glow on hover, press on tap. */
.team-card,
.beliefs li,
.mini-steps li,
.audience li {
  transition: transform 0.35s var(--ease-out), border-color 0.25s ease, box-shadow 0.35s ease, background-color 0.25s ease;
}

.team-card:hover,
.beliefs li:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 18px 40px -24px var(--glow);
}

.mini-steps li:hover { transform: translateY(-4px); }

.audience li:hover { transform: translateX(6px); }

.team-card:active,
.beliefs li:active { transform: scale(0.985); }

.monogram { border-radius: 14px; }

/* Concept frames: living placeholders that read as a reel. */
.reel { gap: 18px; }

.shot-still {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
  background-size: 180% 180%;
}

.shot:hover .shot-still { box-shadow: 0 24px 50px -28px var(--glow); }

.grade-heat {
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(0, 191, 99, 0.5), transparent 55%),
    linear-gradient(135deg, #0e2419, #133b26 50%, #0a1a12);
  background-size: 180% 180%;
}

.grade-night {
  background:
    linear-gradient(var(--green), var(--green)) 0 46% / 100% 1px no-repeat,
    radial-gradient(60% 80% at 80% 20%, rgba(0, 191, 99, 0.22), transparent 60%),
    linear-gradient(160deg, #0a1612, #0f2a1d 55%, #07110c);
  background-size: 100% 100%, 180% 180%, 180% 180%;
}

.grade-lens {
  background:
    radial-gradient(70% 70% at 30% 30%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, #00bf63, #00a656 50%, #19d27a);
  background-size: 180% 180%;
}

.grade-bone {
  background:
    radial-gradient(70% 70% at 80% 80%, rgba(0, 191, 99, 0.18), transparent 60%),
    linear-gradient(135deg, #f2f0ea, #e8e4da 50%, #f6f4ef);
  background-size: 180% 180%;
}

.shot-word { translate: calc(var(--ty, 0) * 1px) calc(var(--tx, 0) * 1px); transition: translate 0.4s var(--ease-out); }

.shot-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.shot-still.is-playing .shot-video { opacity: 1; }

.shot-still.is-playing .shot-word { opacity: 0; transition: opacity 0.6s ease; }

.shot-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-110%);
}

.shot-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: rgba(7, 17, 12, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0.85;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.shot-play::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--paper);
}

.grade-bone .shot-play,
.grade-lens .shot-play { background: rgba(7, 17, 12, 0.7); color: var(--ink); }

.shot-soon {
  position: absolute;
  top: calc(50% + 36px);
  left: 0;
  right: 0;
  z-index: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shot:hover .shot-play { transform: scale(1.08); opacity: 1; }

.shot:hover .shot-soon { opacity: 0.9; }

.shot-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  height: 2px;
  background: currentColor;
  opacity: 0.35;
  transform-origin: left;
  transform: scaleX(0.35);
}

/* Close bands glow. */
.close-glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(60% 120% at 90% 100%, rgba(0, 191, 99, 0.22), transparent 65%), var(--bg);
}

.close-glow h2 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 13ch; }

.close-glow .spark-xl { width: 56px; height: 56px; }

/* Step numbers on How it works: big, with an underline that draws in. */
.steps .step-no {
  position: relative;
  display: inline-block;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
  padding-bottom: 10px;
}

.steps .step-no::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform-origin: left;
}

/* Floating CTA pill: phones only, only with JS (it appears after scrolling). */
.float-cta { display: none; }

@media (max-width: 900px) {
  html.js .float-cta {
    position: fixed;
    left: 50%;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 35;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    overflow: hidden;
    background: var(--green);
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(0, 191, 99, 0.18);
    transform: translate(-50%, 160%);
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  html.js .float-cta.is-on {
    transform: translate(-50%, 0);
    visibility: visible;
    transition: transform 0.4s var(--ease-out), visibility 0s;
  }

  body.nav-open .float-cta { visibility: hidden !important; }

  .hero-live { min-height: 0; padding: 56px 0 48px; }

  .hero-pulse { right: -30%; width: 110vw; margin-top: -55vw; }

  .hero-shade {
    background: linear-gradient(180deg, rgba(7, 17, 12, 0.55) 0%, rgba(7, 17, 12, 0.75) 60%, var(--bg) 100%);
  }

  .btn { min-height: 52px; }

  .actions .btn { flex: 1 1 auto; }

  .close-glow h2 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
}

@media (max-width: 420px) {
  .hero-live .display { font-size: clamp(2.8rem, 14vw, 3.6rem); }
  .mq-group { gap: 16px; }
}

/* Motion, only when the visitor has not asked for less. */
@media (prefers-reduced-motion: no-preference) {
  .hero-mesh { animation: cw-mesh 22s ease-in-out infinite alternate; }

  .hero-pulse { animation: cw-pulse 6s ease-in-out infinite; }

  .hero-grain { animation: cw-grain 1.2s steps(4) infinite; }

  .mark-glow { animation: cw-pulse 5s ease-in-out infinite; }

  .mq-track { animation: cw-marquee 32s linear infinite; }

  .marquee:hover .mq-track { animation-play-state: paused; }

  .btn-primary:hover::after,
  .close-band .btn:hover::after { transform: translateX(120%); transition: transform 0.7s ease; }

  .hero .btn-primary,
  .reel-cta .btn-primary { animation: cw-cta-glow 3.2s ease-in-out infinite; }

  .float-cta.is-on::after { animation: cw-sheen 4s ease-in-out 1s infinite; }


  .shot-sweep { animation: cw-sweep 5.5s ease-in-out infinite; }

  .shot:nth-child(2) .shot-sweep { animation-delay: 1.4s; }
  .shot:nth-child(3) .shot-sweep { animation-delay: 2.8s; }
  .shot:nth-child(4) .shot-sweep { animation-delay: 4.2s; }

  .shot-bar { animation: cw-bar 6s linear infinite; }

  .shot-word { transform-origin: left bottom; animation: cw-breathe 7s ease-in-out infinite; }

  .close-glow .spark-xl { animation: cw-spin 14s linear infinite; }

  /* Team: the bots bob and blink; the human stays put (someone has to). */
  .team-card:not(.is-human) .monogram { animation: cw-bob 4.2s ease-in-out infinite; }
  .team-card:nth-child(3) .monogram { animation-delay: -1s; }
  .team-card:nth-child(4) .monogram { animation-delay: -2s; }
  .team-card:nth-child(5) .monogram { animation-delay: -3s; }
  .team-card:hover .monogram { animation: cw-wink 0.6s ease; }

  /* Staggered card reveal inside a revealed section (JS adds html.motion). */
  html.motion .reveal .stagger > * {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s var(--ease-out);
  }

  html.motion .reveal.is-in .stagger > * { opacity: 1; transform: none; }

  html.motion .reveal.is-in .stagger > *:nth-child(2) { transition-delay: 0.08s; }
  html.motion .reveal.is-in .stagger > *:nth-child(3) { transition-delay: 0.16s; }
  html.motion .reveal.is-in .stagger > *:nth-child(4) { transition-delay: 0.24s; }
  html.motion .reveal.is-in .stagger > *:nth-child(5) { transition-delay: 0.32s; }
  html.motion .reveal.is-in .stagger > *:nth-child(n+6) { transition-delay: 0.4s; }

  /* After the reveal, hover transforms must not wait on the stagger delay. */
  html.motion .reveal.is-in .stagger > *:hover { transition-delay: 0s; }

  html.motion .step .step-no::after { transform: scaleX(0); transition: transform 0.9s var(--ease-out) 0.2s; }
  html.motion .step.is-in .step-no::after { transform: scaleX(1); }
  html.motion .step .step-no { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s var(--ease-out); }
  html.motion .step.is-in .step-no { opacity: 1; transform: none; }
}

@keyframes cw-mesh {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(-4%, 3%, 0) rotate(8deg) scale(1.08); }
  100% { transform: translate3d(3%, -2%, 0) rotate(-6deg) scale(1.02); }
}

@keyframes cw-pulse {
  0%, 100% { opacity: 0.7; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes cw-grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-1%, 3%); }
  100% { transform: translate(3%, 1%); }
}

@keyframes cw-marquee { to { transform: translateX(-50%); } }

@keyframes cw-cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 191, 99, 0), 0 8px 30px -12px var(--glow); }
  50% { box-shadow: 0 0 0 6px rgba(0, 191, 99, 0.16), 0 10px 36px -10px var(--glow); }
}

@keyframes cw-sheen {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes cw-grade {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

@keyframes cw-sweep {
  0%, 60% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}

@keyframes cw-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes cw-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

/* Gradient drift on the frames: desktop pointers only (background-position repaints). */
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .shot-still { animation: cw-grade 14s ease-in-out infinite alternate; }
  .shot:nth-child(2) .shot-still { animation-delay: -4s; }
  .shot:nth-child(3) .shot-still { animation-delay: -8s; }
  .shot:nth-child(4) .shot-still { animation-delay: -11s; }
}

@keyframes cw-spin { to { transform: rotate(360deg); } }

@keyframes cw-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes cw-wink {
  0%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.15); }
}

/* Reduced motion: everything above stands still; video never starts (site.js). */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh, .hero-pulse, .hero-grain, .mark-glow, .mq-track, .btn-primary, .reel-cta .btn-primary,
  .shot-still, .shot-sweep, .shot-bar, .shot-word, .close-glow .spark-xl, .monogram,
  .float-cta::after { animation: none !important; }

  .btn, .shot-still, .shot-word, .team-card, .beliefs li, .mini-steps li, .audience li, .float-cta { transition: none !important; }

  .shot-sweep { display: none; }

  .mq-track { flex-wrap: wrap; width: auto; }

  .mq-group + .mq-group { display: none; }
}
