/* ==========================================================================
   MERK Advertising — design tokens
   ========================================================================== */

:root {
  --brand: #ff5100;
  --on-brand: #000000;

  --font-display: "Urbanist", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.75rem, 1.55rem + 5.4vw, 6.25rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.3vw, 3.375rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1.05vw, 2.25rem);
  --fs-h4: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --fs-statement: clamp(1.5rem, 1.2rem + 1.25vw, 2.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));
  --card-pad: clamp(1.5rem, 4.2vw, 3.75rem);
  --section-gap: clamp(1rem, 2vw, 1.5rem);
  --section-space: clamp(4rem, 9vw, 7.5rem);

  --radius-card: clamp(1.5rem, 2.5vw, 2rem);
  --radius-inner: 1.25rem;
  --radius-pill: 999px;

  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --page: #e5e9eb;
  --surface: #ffffff;
  --surface-2: #eff2f3;
  --surface-3: #e5e9eb;
  --ink: #000000;
  --ink-2: #474d51;
  --ink-3: #5f656a;
  --line: #dde2e5;
  --line-strong: #b9c0c4;
  --accent-text: #b83c00;
  --solid: #000000;
  --on-solid: #ffffff;
  --feature: #000000;
  --feature-2: #161616;
  --on-feature: #ffffff;
  --on-feature-2: #a6a6a6;
  --feature-line: #2b2b2b;
  --ph-bg: #eff2f3;
  --ph-hatch: rgba(0, 0, 0, 0.05);
  --ph-ink: #5f656a;
  --focus: #000000;
  --danger: #b42318;
  --success: #1f7a3d;
  --wave-line: var(--brand);
  --wave-echo: rgba(255, 81, 0, 0.32);
  --wave-glow: rgba(255, 81, 0, 0.1);
  --wave-glow-soft: rgba(255, 81, 0, 0.04);
  --wave-spark: #ff7a3d;
}

[data-theme="dark"] {
  color-scheme: dark;
  --page: #000000;
  --surface: #121212;
  --surface-2: #1b1b1b;
  --surface-3: #262626;
  --ink: #f4f4f4;
  --ink-2: #bdbdbd;
  --ink-3: #959595;
  --line: #272727;
  --line-strong: #3d3d3d;
  --accent-text: #ff6a26;
  --solid: #f4f4f4;
  --on-solid: #000000;
  --feature: #1b1b1b;
  --feature-2: #262626;
  --on-feature: #f4f4f4;
  --on-feature-2: #a6a6a6;
  --feature-line: #333333;
  --ph-bg: #1b1b1b;
  --ph-hatch: rgba(255, 255, 255, 0.045);
  --ph-ink: #9a9a9a;
  --focus: #ff6a26;
  --danger: #ff8a7a;
  --success: #6fd394;
  --wave-line: var(--brand);
  --wave-echo: rgba(255, 81, 0, 0.3);
  --wave-glow: rgba(255, 81, 0, 0.16);
  --wave-glow-soft: rgba(255, 81, 0, 0.06);
  --wave-spark: #ffb089;
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

svg {
  flex-shrink: 0;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

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

::selection {
  background: var(--brand);
  color: var(--on-brand);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--solid);
  color: var(--on-solid);
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* ==========================================================================
   Shared components
   ========================================================================== */

/* Section label — the three bars echo the "E" in the MERK mark */
.label {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.label::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 0.8125rem;
  background:
    linear-gradient(var(--brand), var(--brand)) top / 100% 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 100% 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) bottom / 100% 2px no-repeat;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 18ch;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.h4 {
  font-size: var(--fs-h4);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.statement {
  font-family: var(--font-display);
  font-size: var(--fs-statement);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 24ch;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34rem;
}

.body {
  color: var(--ink-2);
  max-width: 34rem;
}

.small {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--ink-3);
}

.stack > * + * {
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.875rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn--primary:hover {
  background: var(--solid);
  color: var(--on-solid);
}

.btn--solid {
  background: var(--solid);
  color: var(--on-solid);
}

.btn--solid:hover {
  background: var(--brand);
  color: var(--on-brand);
}

.btn--soft {
  background: var(--surface-3);
  color: var(--ink);
}

.btn--soft:hover {
  background: var(--solid);
  color: var(--on-solid);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline:hover {
  border-color: var(--ink);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.text-link:hover {
  text-decoration-thickness: 2px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

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

.icon-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.icon-btn--filled {
  border-color: transparent;
  background: var(--surface);
}

.icon-btn--filled:hover {
  background: var(--solid);
  color: var(--on-solid);
}

.icon-btn--filled[disabled] {
  opacity: 0.45;
  cursor: default;
  background: var(--surface);
  color: var(--ink);
}

/* Cards & split layout */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: var(--card-pad);
}

.section {
  margin-top: var(--section-gap);
}

.section--spaced {
  margin-top: var(--section-space);
}

.split {
  display: grid;
  gap: 1.5rem;
}

.split__aside {
  min-width: 0;
}

.split__main {
  min-width: 0;
}

.section-head {
  padding-block: 0 clamp(2rem, 4vw, 3rem);
}

.section-head .split__main > * + * {
  margin-top: 1.25rem;
}

.section-head--center {
  text-align: center;
}

.section-head--center > * {
  margin-inline: auto;
}

.section-head--center > * + * {
  margin-top: 1.25rem;
}

.divider {
  height: 1px;
  border: 0;
  margin: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: var(--line);
}

/* Image placeholder — swap the <div> for an <img> with the same class when assets arrive */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: var(--ratio, 4 / 3);
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-inner);
  border: 1px solid var(--line);
  background-color: var(--ph-bg);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    var(--ph-hatch) 14px 15px
  );
  color: var(--ph-ink);
  text-align: center;
  padding: 1.25rem;
}

img.ph {
  padding: 0;
  object-fit: cover;
  background: none;
}

.project__img--dark {
  display: none;
}

[data-theme="dark"] .project__img--light {
  display: none;
}

[data-theme="dark"] .project__img--dark {
  display: block;
}

.ph__label {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  max-width: 24ch;
}

.ph__spec {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  opacity: 0.85;
}

.ph--dark {
  --ph-bg: #0d0d0d;
  --ph-hatch: rgba(255, 255, 255, 0.05);
  --ph-ink: #a3a3a3;
  border-color: #262626;
}

/* ==========================================================================
   Header & navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  flex: none;
}

.logo {
  width: auto;
  height: 2.25rem;
}

.logo--dark {
  display: none;
}

[data-theme="dark"] .logo--light {
  display: none;
}

[data-theme="dark"] .logo--dark {
  display: block;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__cta {
  display: none;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.menu-toggle .icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  overflow-y: auto;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 1.5rem var(--gutter) 2.5rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__list {
  display: grid;
}

.mobile-menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.75rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.mobile-menu__list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-text);
}

.mobile-menu .btn {
  margin-top: 2rem;
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  overflow: hidden;
}

.hero__content,
.hero .marquee {
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: clamp(4rem, 12vw, 9rem) clamp(2.5rem, 6vw, 4rem);
}

.hero__eyebrow {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-2);
}

.hero__title {
  margin-top: 1.25rem;
  font-size: var(--fs-hero);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero__title span {
  display: block;
}

.hero__lead {
  margin-top: 1.75rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36rem;
}

.hero__actions {
  margin-top: 2.25rem;
}

.scroll-cue {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  border-radius: 50%;
  background: var(--solid);
  color: var(--on-solid);
  transition: background-color 0.25s var(--ease);
}

.scroll-cue:hover {
  background: var(--brand);
  color: var(--on-brand);
}

.scroll-cue svg {
  width: 1rem;
  height: 1rem;
}

/* Page-load reveal: the one orchestrated motion moment */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal 0.9s var(--ease) forwards;
    animation-delay: calc(var(--i, 0) * 90ms + 80ms);
  }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero wave: one orange line with a soft glow and a faint echo, set beneath the copy.
   --wave-p (0-1) is the eased scroll progress through the hero, written by main.js.
   --wave-k is SVG user units per screen pixel at each composition's typical
   scale, so strokes stay ~1px-scale. (non-scaling-stroke would break the
   pathLength-based draw-in.) */
.hero__wave {
  --wave-p: 0;
  --wave-k: 1;
  --wave-travel: 70px;
  --wave-glow-w: 4;
  --wave-glow-soft-w: 10;
  /* Sized to the hero copy (not the ticker) and widened to the full viewport; .hero clips the overflow */
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  z-index: -1;
  pointer-events: none;
}

.wave {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(to top, transparent, #000 12%);
  mask-image: linear-gradient(to top, transparent, #000 12%);
}

.wave--wide {
  display: none;
}

.wave__line {
  stroke: var(--wave-line);
  stroke-width: calc(var(--wave-k) * 1.5px);
}

.wave__glow {
  stroke: var(--wave-glow);
  stroke-width: calc(var(--wave-k) * var(--wave-glow-w) * 1px);
}

.wave__glow--soft {
  stroke: var(--wave-glow-soft);
  stroke-width: calc(var(--wave-k) * var(--wave-glow-soft-w) * 1px);
}

.wave__echo {
  stroke: var(--wave-echo);
  stroke-width: calc(var(--wave-k) * 1px);
}

.wave__spark {
  display: none;
  stroke: var(--wave-spark);
  stroke-width: calc(var(--wave-k) * 2px);
}

.wave__spark--echo {
  stroke-width: calc(var(--wave-k) * 1.5px);
  opacity: 0.7;
}

.wave__line--top {
  stroke-width: calc(var(--wave-k) * 1.2px);
  opacity: 0.85;
}

.wave__glow--top {
  opacity: 0.7;
}

.wave__flow {
  stroke: var(--wave-echo);
  stroke-width: calc(var(--wave-k) * 1px);
  opacity: 0.85;
}

.wave__flow--reverse {
  opacity: 0.55;
}

@media (min-width: 37.5em) {
  .hero__wave {
    --wave-k: 1.3;
    --wave-travel: 120px;
    --wave-glow-w: 6;
    --wave-glow-soft-w: 16;
  }

  .wave--narrow {
    display: none;
  }

  .wave--wide {
    display: block;
  }
}

@media (min-width: 75em) {
  .hero__wave {
    --wave-k: 1;
    --wave-travel: 160px;
  }
}

@media (min-width: 100em) {
  .hero__wave {
    --wave-k: 0.8;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Scrolling sinks the line, flattens its curve and lets the echo drift apart */
  .wave__scroll {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    transform: translate3d(0, calc(var(--wave-p) * var(--wave-travel)), 0) scaleY(calc(1 - var(--wave-p) * 0.4));
  }

  .wave__echo-scroll {
    opacity: calc(1 - var(--wave-p) * 0.6);
    transform: translate3d(0, calc(var(--wave-p) * var(--wave-travel) * 0.6), 0);
  }

  /* The top arc rises as the lower curve sinks, so the frame opens up on scroll */
  .wave__top-scroll {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    opacity: calc(1 - var(--wave-p) * 0.5);
    transform: translate3d(0, calc(var(--wave-p) * var(--wave-travel) * -0.7), 0) scaleY(calc(1 - var(--wave-p) * 0.3));
  }

  .wave__line,
  .wave__glow {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: wave-draw 2.2s cubic-bezier(0.33, 1, 0.68, 1) 0.3s forwards;
  }

  .wave__glow {
    animation:
      wave-draw 2.2s cubic-bezier(0.33, 1, 0.68, 1) 0.45s forwards,
      wave-breathe 5s ease-in-out 2.7s infinite alternate;
  }

  .wave__echo {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation:
      wave-draw 2.4s cubic-bezier(0.33, 1, 0.68, 1) 0.7s forwards,
      wave-float 14s ease-in-out infinite alternate-reverse;
  }

  .wave__drift {
    animation: wave-float 11s ease-in-out infinite alternate;
  }

  .wave__spark {
    display: inline;
    stroke-dasharray: 0.07 0.93;
    animation: wave-spark 9s linear 2.6s infinite both;
  }

  .wave__spark--late {
    animation-delay: 7.1s;
  }

  .wave__line--top {
    animation-delay: 0.6s;
  }

  .wave__drift--top {
    animation: wave-float 13s ease-in-out infinite alternate-reverse;
  }

  .wave__spark--top {
    animation: wave-spark 11s linear 4.8s infinite reverse both;
  }

  /* Rides the echo (same float as .wave__echo) and runs the other way */
  .wave__spark--echo {
    animation:
      wave-spark 12s linear 3.5s infinite reverse both,
      wave-float 14s ease-in-out infinite alternate-reverse;
  }

  /* Each flow line moves exactly one period per loop, so the repeat is seamless */
  .wave__flow {
    animation:
      wave-fade-in 2s ease-out 1s both,
      wave-flow 22s linear infinite;
  }

  .wave__flow--reverse {
    animation:
      wave-fade-in 2s ease-out 1.3s both,
      wave-flow 30s linear infinite reverse;
  }

  .hero__wave.is-paused .wave__glow,
  .hero__wave.is-paused .wave__echo,
  .hero__wave.is-paused .wave__drift,
  .hero__wave.is-paused .wave__spark,
  .hero__wave.is-paused .wave__flow {
    animation-play-state: paused;
  }

  .scroll-cue svg {
    animation: cue-bob 2.4s ease-in-out 1.6s infinite;
  }
}

@keyframes wave-breathe {
  to {
    opacity: 0.5;
  }
}

@keyframes wave-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes wave-flow {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(var(--flow-period) * -1), 0, 0);
  }
}

@keyframes cue-bob {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(3px);
  }
}

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

@keyframes wave-float {
  from {
    transform: translate3d(0, calc(var(--wave-k) * -6px), 0);
  }
  to {
    transform: translate3d(0, calc(var(--wave-k) * 6px), 0);
  }
}

@keyframes wave-spark {
  from {
    stroke-dashoffset: 0.07;
  }
  to {
    stroke-dashoffset: -0.93;
  }
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding-block: 1.25rem 2rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee__group {
  display: flex;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  padding-right: 1.6em;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 0.95rem + 1.9vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item::before {
  content: "/";
  color: var(--brand);
}

@media (prefers-reduced-motion: no-preference) {
  .marquee__track {
    animation: marquee var(--marquee-speed, 38s) linear infinite;
  }

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

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

/* ==========================================================================
   About
   ========================================================================== */

.showreel {
  margin-top: 2rem;
  max-width: 22rem;
  padding: 0.75rem 0.75rem 1rem;
  border-radius: var(--radius-inner);
  background: var(--surface-2);
}

.showreel__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 0.875rem;
  border: 1px solid var(--line);
}

.showreel__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showreel__poster--dark {
  display: none;
}

[data-theme="dark"] .showreel__poster--light {
  display: none;
}

[data-theme="dark"] .showreel__poster--dark {
  display: block;
}

.showreel__title {
  margin-top: 0.85rem;
  padding-inline: 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}

.about__body > * + * {
  margin-top: 1.25rem;
}

.about__body .btn {
  margin-top: 2rem;
}

.principles {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.principle p {
  margin-top: 0.5rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Selected work
   ========================================================================== */

.work {
  display: grid;
  gap: clamp(3.5rem, 8vw, 6rem);
}

.project {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.project__meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: var(--fs-small);
  font-weight: 500;
}

.project__num {
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}

.project__title {
  margin-top: 1rem;
}

.project__text {
  margin-top: 1.25rem;
}

.project__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
}

.work__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

/* ==========================================================================
   Industries
   ========================================================================== */

.industries__row {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  margin-inline: calc(var(--card-pad) * -1);
}

.industries__row .marquee {
  padding-block: 0.25rem;
}

.industries__row .marquee__item {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

.industries__row .marquee__item::before {
  content: "";
  align-self: center;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--brand);
}

/* ==========================================================================
   Services
   ========================================================================== */

.services-list {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
}

.service-row {
  border-bottom: 1px solid var(--line);
}

.service-row__link {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) 2.75rem;
  gap: 0.25rem 1rem;
  align-items: start;
  padding-block: 1.5rem;
}

.service-row__num {
  padding-top: 0.45rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.service-row__title {
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.service-row__desc {
  grid-column: 2 / -1;
  margin-top: 0.5rem;
  color: var(--ink-2);
  max-width: 32rem;
}

.service-row__cta {
  grid-column: 2;
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--accent-text);
}

.service-row__arrow {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--surface-2);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.service-row__arrow svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.35s var(--ease);
}

.service-row__link:hover .service-row__arrow {
  background: var(--brand);
  color: var(--on-brand);
}

.service-row__link:hover .service-row__arrow svg {
  transform: rotate(-45deg);
}

.service-row__link:hover .service-row__title {
  color: var(--accent-text);
}

/* ==========================================================================
   Packages
   ========================================================================== */

.packages {
  display: grid;
  gap: var(--section-gap);
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.package--recommended {
  border-color: var(--brand);
}

.package__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2rem;
}

.package__name {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: var(--on-brand);
  font-size: var(--fs-micro);
  font-weight: 700;
}

.package__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.75rem;
}

.package__amount {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.9rem + 1.2vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.package__currency {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.package__period {
  color: var(--ink-3);
  font-size: var(--fs-small);
}

.package__features {
  display: grid;
  gap: 0.85rem;
  margin-block: 2rem 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.package__features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--ink-2);
}

.package__features svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
  color: var(--accent-text);
}

.package .btn {
  margin-top: auto;
}

.packages__note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 1.5rem;
  padding-inline: 0.25rem;
  font-size: var(--fs-small);
  color: var(--ink-2);
}

.packages__note button {
  text-align: left;
}

/* ==========================================================================
   Digital presence (feature card)
   ========================================================================== */

.feature {
  background: var(--feature);
  color: var(--on-feature);
}

.feature .label {
  color: var(--on-feature);
}

.feature .lead {
  color: var(--on-feature-2);
}

.touchpoints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.touchpoint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--feature-line);
  border-radius: 1rem;
  background: var(--feature-2);
  font-weight: 500;
  font-size: 0.9375rem;
}

.touchpoint svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--brand);
}

.touchpoint:last-child {
  grid-column: 1 / -1;
}

.touchpoint--hub {
  grid-column: 1 / -1;
  justify-content: center;
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* ==========================================================================
   Web development + Advertising
   ========================================================================== */

.duo {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.duo__text > * + * {
  margin-top: 1.25rem;
}

.duo__text .btn {
  margin-top: 2rem;
}

.emphasis {
  color: var(--ink);
  font-weight: 500;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.6rem 1rem;
  border-radius: 0.875rem;
  background: var(--surface-2);
  font-size: 0.9375rem;
  font-weight: 500;
}

.feature-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-text);
}

.path {
  counter-reset: stage;
}

.path__title {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-3);
}

.path__list {
  display: grid;
  margin-top: 1rem;
}

.path__step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 3.5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.path__step::before {
  counter-increment: stage;
  content: counter(stage, decimal-leading-zero);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink-3);
}

.path__step:last-child {
  color: var(--accent-text);
  border-bottom: 0;
}

.channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 2rem;
}

.channel {
  padding: 1.1rem 1.1rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface-2);
}

.channel svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent-text);
}

.channel h4 {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.channel p {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-block {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding-block: var(--card-pad);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: inherit;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 5rem;
  padding-block: 1.25rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.faq-q__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--surface-3);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.faq-q__icon svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.4s var(--ease);
}

.faq-q:hover .faq-q__icon {
  background: var(--solid);
  color: var(--on-solid);
}

.faq-q[aria-expanded="true"] .faq-q__icon {
  background: var(--brand);
  color: var(--on-brand);
}

.faq-q[aria-expanded="true"] .faq-q__icon svg {
  transform: rotate(45deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 1fr;
}

.js .faq-a {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows 0.45s var(--ease),
    visibility 0s linear 0.45s;
}

.js .faq-a.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows 0.45s var(--ease),
    visibility 0s;
}

.faq-a__inner {
  overflow: hidden;
}

.faq-a p {
  padding: 0 4rem 1.75rem 0;
  color: var(--ink-2);
  max-width: 38rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.carousel {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(85%, 24rem);
  gap: 0.625rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding-inline: var(--edge);
  padding-block: 0.25rem;
  scrollbar-width: none;
  cursor: grab;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.carousel__track:focus-visible {
  outline-offset: -2px;
  border-radius: 0;
}

.quote {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-inner);
  background: var(--surface);
}

.quote blockquote p {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.avatar-ph {
  display: grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  background: var(--ph-bg);
  color: var(--ph-ink);
}

.avatar-ph svg {
  width: 1.25rem;
  height: 1.25rem;
}

.quote__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.quote__role {
  display: block;
  font-size: var(--fs-small);
  color: var(--ink-3);
  line-height: 1.4;
}

.carousel__controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.carousel__progress {
  position: relative;
  flex: 1;
  height: 2px;
  background: var(--line-strong);
  overflow: hidden;
}

.carousel__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 25%;
  background: var(--ink);
  transition: left 0.15s linear;
}

.carousel__buttons {
  display: flex;
  gap: 0.5rem;
}

.preview-note {
  margin-top: 1.25rem;
  font-size: var(--fs-micro);
  color: var(--ink-3);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-card {
  display: grid;
  gap: 3rem;
}

.contact__intro > * + * {
  margin-top: 1.25rem;
}

.contact__title {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

.contact__alt {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.contact__alt p {
  color: var(--ink-2);
}

.contact__alt .text-link {
  min-height: 2.75rem;
}

.contact__methods {
  display: grid;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.contact__methods .text-link svg {
  width: 1.125rem;
  height: 1.125rem;
}

.btn--whatsapp:hover svg {
  transform: none;
}

.form__alt {
  margin-top: 0.75rem;
}

.form__note {
  margin-top: 0.5rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
  text-align: center;
}

/* Floating WhatsApp button: below the header (50) and mobile menu (49). */
.wa-float {
  position: fixed;
  right: max(var(--gutter), env(safe-area-inset-right));
  bottom: max(1.25rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--solid);
  color: var(--on-solid);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    visibility 0.3s;
}

.wa-float[hidden] {
  display: none;
}

.wa-float:hover {
  background: var(--brand);
  color: var(--on-brand);
}

.wa-float svg {
  width: 1.625rem;
  height: 1.625rem;
}

.wa-float:focus-visible {
  border-radius: 50%;
}

.wa-float.is-tucked {
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
}

body.is-locked .wa-float {
  display: none;
}

.form {
  display: grid;
  gap: 1.75rem 1.5rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.field label,
.field legend {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
  padding: 0;
}

.field .optional {
  font-weight: 400;
  color: var(--ink-3);
}

.input {
  width: 100%;
  min-height: 3rem;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease);
}

.input::placeholder {
  color: var(--ink-3);
  opacity: 0.8;
}

.input:hover {
  border-bottom-color: var(--ink-3);
}

.input:focus {
  outline: none;
  border-bottom-color: var(--brand);
  box-shadow: 0 1px 0 var(--brand);
}

textarea.input {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.55;
}

.input[aria-invalid="true"] {
  border-bottom-color: var(--danger);
}

.field__error {
  font-size: 0.8125rem;
  color: var(--danger);
}

.field__error:empty {
  display: none;
}

fieldset.field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  pointer-events: none;
}

.choice span {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.choice span:hover {
  border-color: var(--ink);
}

.choice input:checked + span {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  font-size: var(--fs-small);
  line-height: 1.55;
}

.form__status:empty {
  display: none;
}

.form__status.is-error {
  color: var(--danger);
}

.form__status.is-info {
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface-2);
  color: var(--ink);
}

.form__status a {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.form-success {
  padding: 2rem 0;
}

.form-success svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent-text);
}

.form-success .btn svg {
  width: 1rem;
  height: 1rem;
  color: inherit;
}

.form-success h3 {
  margin-top: 1.25rem;
  font-size: var(--fs-h3);
  letter-spacing: -0.03em;
}

.form-success p {
  margin-top: 0.5rem;
  color: var(--ink-2);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding-block: clamp(3.5rem, 8vw, 5rem) 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer__brand {
  grid-column: 1 / -1;
}

.footer__brand .logo {
  height: 3rem;
}

.footer__tagline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}

.footer__list {
  display: grid;
  margin-top: 0.75rem;
}

.footer__list a,
.footer__list button {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  text-align: left;
  transition: color 0.2s var(--ease);
}

.footer__list a:hover,
.footer__list button:hover {
  color: var(--accent-text);
}

.footer__email {
  overflow-wrap: anywhere;
}

.footer__contact {
  grid-column: 1 / -1;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-weight: 500;
}

.footer__legal a:hover {
  color: var(--accent-text);
}

.to-top {
  background: var(--solid);
  color: var(--on-solid);
  border-color: transparent;
}

.to-top:hover {
  background: var(--brand);
  color: var(--on-brand);
}

/* ==========================================================================
   Privacy page
   ========================================================================== */

.legal {
  max-width: 46rem;
}

.legal__updated {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.legal__section {
  margin-top: 2.75rem;
}

.legal__section h2 {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.legal__section p {
  margin-top: 0.9rem;
  color: var(--ink-2);
}

.legal__section a,
.legal a.inline {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */

@media (min-width: 37.5em) {
  .touchpoints {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .touchpoint--hub {
    grid-column: 2 / 4;
    grid-row: 2;
  }

  .touchpoint:last-child {
    grid-column: 2 / 4;
    justify-content: center;
  }

  .channels {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form .field--full {
    grid-column: 1 / -1;
  }

  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__contact {
    grid-column: auto;
  }

  .service-row__link {
    grid-template-columns: 3.5rem minmax(0, 1fr) 2.75rem;
  }
}

@media (min-width: 48em) {
  .package__features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 56.25em) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem clamp(2rem, 5vw, 4rem);
  }

  .split > .split__main {
    grid-column: 2;
  }

  .section-head .split__aside {
    padding-top: 0.6rem;
  }

  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.5rem;
  }

  .project {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 5vw, 4rem);
  }

  .project--flip .project__media {
    order: -1;
    align-self: end;
  }

  .project--flip .project__body {
    padding-left: clamp(0rem, 4vw, 5rem);
  }

  .packages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package__features {
    grid-template-columns: 1fr;
  }

  .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  .duo--flip .duo__visual {
    order: -1;
  }

  .feature-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .touchpoints {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(4.5rem, auto));
  }

  .touchpoint--hub {
    grid-column: 2 / 4;
    grid-row: 2;
    font-size: 1.75rem;
  }

  .contact-card {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 6vw, 5rem);
  }

  .contact__intro {
    display: flex;
    flex-direction: column;
  }

  .contact__alt {
    margin-top: 2.5rem;
  }

  .service-row__link {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2.75rem;
    column-gap: clamp(2rem, 5vw, 4rem);
    padding-block: 1.75rem;
  }

  .service-row__num {
    grid-row: 1 / span 3;
  }

  .service-row__title,
  .service-row__desc,
  .service-row__cta {
    grid-column: 2;
  }

  .service-row__desc {
    padding-right: 1rem;
  }

  .service-row__desc {
    margin-top: 0.6rem;
  }

  .faq-layout .split__aside .h2 {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .footer__grid {
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: auto;
  }
}

@media (min-width: 64em) {
  .nav {
    display: block;
  }

  .header__cta {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .carousel__track {
    grid-auto-columns: calc((min(100vw - 2 * var(--gutter), var(--container)) - 1.25rem) / 3.15);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .marquee__track {
    flex-wrap: wrap;
  }

  .marquee__group[aria-hidden="true"] {
    display: none;
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    width: 100%;
  }

  .marquee__track {
    width: 100%;
  }
}
