/* Self-hosted fonts (latin subset, variable weights) — no external requests, GDPR-friendly */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --bg-raised: #111214;
  --surface: #17181c;
  --surface-strong: #202126;
  --text: #f2f0eb;
  --text-soft: #cfcbc3;
  --muted: #9b9891;
  --muted-faint: #6d6b66;
  /* Small form text and links that must reach WCAG AA (4.5:1) on --bg */
  --muted-legible: var(--muted);
  --accent-legible: var(--accent);
  --line: rgba(242, 240, 235, 0.14);
  --line-strong: rgba(242, 240, 235, 0.3);
  --accent: #ff6422;
  --accent-bright: #ff7c3b;
  --accent-soft: rgba(255, 100, 34, 0.14);
  --accent-contrast: #101011;
  --paper: #f4f0e8;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container: 1240px;
  --narrow: 850px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 55%, #ffab3d 100%);
  --gradient-text: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 45%, #ffab3d 100%);
  --glow: 0 6px 26px rgba(255, 100, 34, 0.32);
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f0e8;
  --bg-raised: #ebe5da;
  --surface: #fbfaf7;
  --surface-strong: #e3dbce;
  --text: #14203d;
  --text-soft: #263456;
  --muted: #667087;
  --muted-faint: #6b7385;
  --muted-legible: #5c6680;
  --accent-legible: #b04000;
  --line: rgba(20, 32, 61, 0.14);
  --line-strong: rgba(20, 32, 61, 0.3);
  --accent: #fb6404;
  --accent-bright: #e85a00;
  --accent-soft: rgba(251, 100, 4, 0.12);
  --accent-contrast: #14203d;
  --shadow: 0 24px 70px rgba(20, 32, 61, 0.14);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .nav-actions .theme-toggle {
  opacity: 0;
  pointer-events: none;
}

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

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

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

button {
  border: 0;
  cursor: pointer;
}

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

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

summary {
  cursor: pointer;
}

sup {
  color: var(--accent);
  font-size: 0.55em;
  margin-left: 3px;
}

::selection {
  background: var(--accent);
  color: var(--accent-contrast);
}

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

[hidden] {
  display: none !important;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.container {
  margin-inline: auto;
  width: min(calc(100% - 64px), var(--container));
}

.narrow {
  max-width: var(--narrow);
}

.center {
  text-align: center;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link {
  background: var(--accent);
  color: var(--accent-contrast);
  font-family: var(--font-display);
  font-weight: 600;
  left: 16px;
  padding: 10px 16px;
  position: fixed;
  top: -80px;
  z-index: 300;
}

.skip-link:focus {
  top: 14px;
}

.noise {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  position: fixed;
  z-index: 250;
}

.scroll-progress {
  background: var(--accent);
  height: 3px;
  left: 0;
  position: fixed;
  top: 0;
  transform-origin: left;
  width: 0;
  z-index: 260;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.mono,
.eyebrow,
.portfolio-meta,
.portfolio-file,
.contact-meta,
.breadcrumb {
  text-transform: uppercase;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.65rem;
  line-height: 1.4;
  margin-bottom: 18px;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  display: inline-block;
  height: 7px;
  margin: 0 10px 1px 0;
  width: 7px;
}

.section {
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(96px, 13vw, 180px) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(48px, 7vw, 84px);
  max-width: 780px;
}

.sec-title {
  font-size: clamp(3.3rem, 7.3vw, 7.4rem);
  letter-spacing: -0.085em;
  line-height: 0.86;
  text-transform: uppercase;
}

.title-line {
  display: block;
}

.title-line-accent {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-transform: none;
}

.section-lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  margin-top: 26px;
  max-width: 570px;
}

/* Centered section heads in the style of the original site */
.center-head {
  margin-inline: auto;
  max-width: 820px;
  text-align: center;
}

.center-head .eyebrow::before {
  display: none;
}

.center-head .sec-title {
  font-size: clamp(2.7rem, 5.6vw, 5.1rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
  text-transform: none;
}

.center-head .title-line {
  display: inline;
}

.center-head .title-line:not(:first-child) {
  margin-left: 0.26em;
}

.center-head .title-line-accent {
  background: var(--gradient-text);
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  letter-spacing: inherit;
  text-transform: none;
  -webkit-background-clip: text;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

body:not(.js-ready) .reveal {
  opacity: 1;
  transform: none;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  letter-spacing: -0.015em;
  min-height: 48px;
  padding: 12px 26px;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s, transform 0.3s var(--ease);
  white-space: nowrap;
}

.btn span {
  font-family: var(--font-mono);
  font-size: 0.86em;
  transition: transform 0.3s var(--ease);
}

.btn:hover span {
  transform: translate(3px, -3px);
}

.btn-primary {
  background: var(--gradient-accent);
  box-shadow: 0 2px 12px rgba(255, 100, 34, 0.28);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

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

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-inverse {
  background: var(--text);
  color: var(--bg);
}

.btn-inverse:hover {
  background: var(--accent);
  color: var(--accent-contrast);
  transform: translateY(-3px);
}

.btn-lg {
  min-height: 56px;
  padding: 15px 28px;
}

.btn-sm {
  font-size: 0.77rem;
  min-height: 40px;
  padding: 8px 15px;
}

.btn-block {
  width: 100%;
}

/* Header and navigation — floating pill bar in the style of the original site */
.site-header {
  left: 0;
  padding: 12px 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: padding 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nav {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: flex;
  gap: 24px;
  height: var(--header-h);
  justify-content: space-between;
  padding: 0 12px 0 22px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1), height 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
  padding: 8px 0;
}

.site-header.scrolled .nav {
  backdrop-filter: blur(24px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-color: color-mix(in srgb, var(--accent) 26%, transparent);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12), 0 0 30px rgba(255, 100, 34, 0.14);
  height: 62px;
  -webkit-backdrop-filter: blur(24px);
  width: min(calc(100% - 48px), 1000px);
}

body.menu-open .site-header .nav {
  backdrop-filter: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex-shrink: 0;
  gap: 10px;
}

.brand-mark {
  height: 37px;
  object-fit: contain;
  width: 25px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.065em;
}

.brand-name span {
  color: var(--accent);
}

.brand-name sup {
  color: var(--muted-faint);
  font-size: 0.45em;
}

.desktop-nav {
  margin-left: auto;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(20px, 2.8vw, 42px);
}

.nav-links a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a sup {
  color: var(--accent);
  margin-left: 5px;
}

.nav-actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.nav .nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 55%, #ffab3d 100%);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(255, 100, 34, 0.3);
  color: #fff;
  transition: box-shadow 0.25s, transform 0.25s var(--ease);
}

.nav .nav-cta:hover {
  box-shadow: 0 4px 30px rgba(255, 100, 34, 0.4);
  transform: translateY(-2px);
}

.nav-time {
  color: var(--muted-faint);
  font-size: 0.59rem;
  white-space: nowrap;
}

.theme-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  gap: 7px;
  padding: 8px 12px;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.theme-toggle-label {
  font-size: 0.56rem;
}

.lang-switch {
  position: relative;
}

.lang-switch-btn {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  gap: 7px;
  padding: 8px 12px;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}

.lang-switch-btn:hover,
.lang-switch-btn[aria-expanded="true"] {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switch-btn:hover {
  transform: translateY(-2px);
}

.lang-globe {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 14px;
}

.lang-switch-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.lang-caret {
  fill: none;
  height: 11px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.25s var(--ease);
  width: 11px;
}

.lang-switch-btn[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-switch-menu {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  min-width: 182px;
  padding: 6px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 80;
  animation: langMenuIn 0.22s var(--ease);
}

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

@keyframes langMenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-option {
  align-items: center;
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  font-size: 0.84rem;
  gap: 10px;
  padding: 9px 11px;
  transition: background 0.2s, color 0.2s;
}

.lang-option:hover {
  background: var(--surface);
  color: var(--text);
}

.lang-option-code {
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  padding: 3px 6px;
}

.lang-option.active {
  color: var(--text);
}

.lang-option.active .lang-option-code {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.lang-option.active::after {
  color: var(--accent);
  content: "✓";
  font-size: 0.72rem;
  margin-left: auto;
}

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

.theme-icon {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 14px;
}

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

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

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

.burger {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.burger span {
  background: var(--text);
  display: block;
  height: 1px;
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
  width: 18px;
}

.burger span:nth-child(2) {
  width: 12px;
}

.burger.open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  background: var(--bg);
  inset: var(--header-h) 0 0;
  opacity: 0;
  overflow: auto;
  padding: 30px 0 44px;
  pointer-events: none;
  position: fixed;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 95;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.flyout-inner {
  display: flex;
  flex-direction: column;
  min-height: calc(100% - 30px);
}

.flyout-head,
.flyout-foot {
  align-items: center;
  color: var(--muted-faint);
  display: flex;
  font-size: 0.59rem;
  justify-content: space-between;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flyout-main {
  align-items: flex-start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(200px, 0.7fr) minmax(280px, 1fr);
  margin: auto 0;
  padding: 70px 0;
}

.flyout-intro {
  color: var(--text-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-style: italic;
  line-height: 0.98;
  max-width: 370px;
}

.flyout-links {
  border-top: 1px solid var(--line);
}

.flyout-link {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  font-weight: 600;
  gap: 20px;
  justify-content: flex-start;
  letter-spacing: -0.07em;
  padding: 16px 0;
  transition: color 0.25s, padding 0.35s var(--ease);
}

.flyout-link:hover {
  color: var(--accent);
  padding-left: 12px;
}

.flyout-number {
  color: var(--accent);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  width: 30px;
}

.flyout-arrow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-left: auto;
}

.flyout-foot {
  gap: 24px;
}

.flyout-languages {
  align-items: center;
  display: flex;
  gap: 13px;
}

.flyout-languages a {
  color: var(--muted);
  font-size: 0.6rem;
}

.flyout-languages a:hover,
.flyout-languages a.active {
  color: var(--accent);
}

/* Home hero — centered, in the style of the original site */
.hero {
  background: var(--bg);
  display: block;
  min-height: max(720px, 100svh);
  overflow: hidden;
  padding: var(--header-h) 0 0;
  position: relative;
}

.hero::before {
  background: radial-gradient(circle, rgba(255, 100, 34, 0.2), transparent 68%);
  content: "";
  height: min(70vw, 900px);
  position: absolute;
  right: -22vw;
  top: -30vw;
  width: min(70vw, 900px);
}

.hero-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 84px 84px;
  inset: 0;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, black, transparent 78%);
  opacity: 0.3;
  pointer-events: none;
  position: absolute;
  -webkit-mask-image: radial-gradient(ellipse 90% 75% at 50% 40%, black, transparent 78%);
}

.hero-glow {
  background: radial-gradient(circle, rgba(255, 100, 34, 0.15), transparent 67%);
  filter: blur(45px);
  height: 520px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 10%;
  transform: translateX(-50%);
  width: 720px;
}

.hero-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header-h));
  padding-bottom: clamp(26px, 4vh, 48px);
  padding-top: clamp(20px, 4vh, 48px);
  position: relative;
  text-align: center;
  z-index: 3;
}

.hero-eyebrow {
  align-items: center;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.6rem;
  margin-bottom: clamp(28px, 4.5vh, 46px);
  padding: 9px 18px;
  text-transform: uppercase;
}

.status-dot {
  animation: pulse 2.4s ease-out infinite;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  height: 7px;
  margin-right: 10px;
  width: 7px;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 100, 34, 0.35);
  }
  60% {
    box-shadow: 0 0 0 9px rgba(255, 100, 34, 0);
  }
}

.hero-title {
  font-size: clamp(2.9rem, 7vw, 6.6rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
  max-width: 1060px;
}

.hero-title .h-grad {
  background: var(--gradient-text);
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 100, 34, 0.35));
  -webkit-background-clip: text;
}

.hero-intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  margin-top: 26px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: clamp(30px, 4.5vh, 44px);
}

.partner-proof {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: clamp(34px, 5vh, 50px);
  text-align: left;
}

.partner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.partner-copy span {
  color: var(--accent);
  font-size: 0.56rem;
  text-transform: uppercase;
}

.partner-copy strong {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hostinger-badge {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), filter 0.3s;
  width: 132px;
}

.hostinger-badge:hover {
  filter: saturate(1.15);
  transform: translateY(-2px);
}

.hostinger-badge img {
  height: auto;
  width: 100%;
}

.hostinger-badge-light {
  display: none;
}

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

html[data-theme="light"] .hostinger-badge-light {
  display: block;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 84px);
  justify-content: center;
  margin-top: clamp(38px, 6vh, 60px);
}

.hero-stat {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hero-stat strong {
  background: var(--gradient-text);
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  letter-spacing: -0.04em;
  -webkit-background-clip: text;
}

.hero-stat span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.trustbar {
  background: var(--surface);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}

.trustbar-label {
  color: var(--muted-faint);
  font-size: 0.55rem;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}

.marquee-track {
  align-items: center;
  animation: marquee 38s linear infinite;
  color: var(--muted);
  display: flex;
  font-size: 0.67rem;
  gap: 34px;
  width: max-content;
}

.marquee-track span {
  white-space: nowrap;
}

.marquee-track i {
  color: var(--accent);
  font-style: normal;
}

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

/* Home service cards */
.services-section {
  background: var(--bg);
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.service-grid > li {
  display: flex;
  min-width: 0;
}

.service-wide {
  grid-column: 1 / -1;
}

.service-span-2 {
  grid-column: span 2;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 24px;
  text-align: left;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s var(--ease);
  width: 100%;
}

.service-card:hover,
.service-card:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22), 0 0 26px rgba(255, 100, 34, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 13px;
  color: var(--accent);
  display: inline-flex;
  flex-shrink: 0;
  height: 47px;
  justify-content: center;
  width: 47px;
}

.service-icon svg {
  fill: none;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 21px;
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}

.service-card h3,
.service-card h2 {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}

.chip {
  background: color-mix(in srgb, var(--text) 5%, transparent);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  text-transform: uppercase;
}

.service-wide .service-card {
  align-items: center;
  flex-direction: row;
  gap: 26px;
  padding: 28px 30px;
}

.deliverable-list li::before {
  color: var(--accent);
  content: "+";
  margin-right: 8px;
}

/* Portfolio carousel */
.work-section {
  background: var(--bg);
}

.portfolio-carousel {
  position: relative;
}

.portfolio-viewport {
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  transition: transform 0.7s var(--ease);
  will-change: transform;
}

.portfolio-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.portfolio-card {
  display: grid;
  gap: clamp(30px, 6vw, 92px);
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}

.portfolio-media {
  aspect-ratio: 1.55 / 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.portfolio-media::after {
  background: linear-gradient(135deg, rgba(255, 100, 34, 0.28), transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.portfolio-media img {
  filter: saturate(0.78);
  height: 100%;
  object-fit: cover;
  transition: filter 0.6s, transform 0.8s var(--ease);
  width: 100%;
}

.portfolio-card:hover .portfolio-media img {
  filter: saturate(1);
  transform: scale(1.04);
}

.portfolio-file,
.portfolio-view {
  font-size: 0.56rem;
  position: absolute;
  z-index: 1;
}

.portfolio-file {
  background: var(--text);
  color: var(--bg);
  left: 16px;
  padding: 7px 9px;
  top: 16px;
}

.portfolio-view {
  bottom: 18px;
  color: var(--paper);
  opacity: 0;
  right: 18px;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-view {
  opacity: 1;
  transform: none;
}

.portfolio-copy {
  align-self: center;
  border-top: 1px solid var(--accent);
  padding-top: 22px;
}

.portfolio-meta {
  color: var(--accent);
  display: flex;
  font-size: 0.57rem;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.portfolio-meta span:first-child {
  max-width: 260px;
}

.portfolio-copy h3 {
  font-size: clamp(2.3rem, 4.7vw, 4.8rem);
  letter-spacing: -0.09em;
  margin-bottom: 18px;
}

.portfolio-copy p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 420px;
}

.portfolio-read {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  gap: 11px;
  margin-top: 30px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.portfolio-read b {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 400;
  transition: transform 0.3s var(--ease);
}

.portfolio-card:hover .portfolio-read {
  color: var(--accent);
}

.portfolio-card:hover .portfolio-read b {
  transform: translateX(5px);
}

.carousel-controls {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 34px;
}

.carousel-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  display: flex;
  font-family: var(--font-mono);
  height: 44px;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
  width: 44px;
}

.carousel-button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.carousel-counter {
  color: var(--muted-faint);
  font-size: 0.58rem;
  min-width: 58px;
  text-align: center;
}

.carousel-dots {
  align-items: center;
  display: flex;
  gap: 7px;
  margin-right: auto;
}

.carousel-dot {
  background: var(--line-strong);
  border-radius: 50%;
  height: 6px;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
  width: 6px;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.5);
}

/* Studio and process */
.about-section {
  background: var(--surface);
}

.about-layout {
  display: grid;
  gap: clamp(50px, 9vw, 130px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.about-copy {
  max-width: 670px;
}

.about-paragraph {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 22px;
  max-width: 580px;
}

.about-paragraph:first-of-type {
  color: var(--text-soft);
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.values {
  border-top: 1px solid var(--line);
  margin-top: 42px;
}

.values li {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  padding: 21px 4px;
  transition: background 0.25s, padding 0.3s var(--ease);
}

.values li:hover {
  background: var(--bg-raised);
  padding-left: 14px;
}

.value-mark {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.2;
}

.values strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin-bottom: 3px;
}

.values p {
  color: var(--muted);
  font-size: 0.88rem;
}

.about-panel {
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  min-height: 500px;
  overflow: hidden;
  padding: 21px;
  position: relative;
}

.about-panel::before {
  background: radial-gradient(circle at 50% 20%, rgba(255, 100, 34, 0.28), transparent 62%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.about-panel-head,
.about-panel-foot {
  color: var(--muted-faint);
  display: flex;
  font-size: 0.57rem;
  justify-content: space-between;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.about-panel-head span:last-child {
  color: var(--accent);
}

.team-mark {
  align-items: center;
  display: flex;
  height: 310px;
  justify-content: center;
  margin: 34px auto;
  position: relative;
  width: 310px;
}

.team-mark img {
  height: 95px;
  object-fit: contain;
  position: relative;
  width: 67px;
  z-index: 1;
}

.team-ring {
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  position: absolute;
}

.team-ring-one {
  height: 260px;
  transform: rotate(18deg) skewX(-10deg);
  width: 260px;
}

.team-ring-two {
  border-color: var(--accent);
  height: 190px;
  transform: rotate(-34deg) skewX(9deg);
  width: 190px;
}

.about-panel-foot {
  align-items: flex-start;
  background: color-mix(in srgb, var(--text) 4%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  flex-direction: column;
  gap: 5px;
  padding: 16px;
}

.about-panel-foot .status-dot {
  height: 6px;
  margin-right: 8px;
  width: 6px;
}

.about-panel-foot strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.035em;
}

.process-section {
  background: var(--bg-raised);
}

.process-grid {
  border-block: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.process-card {
  border-right: 1px solid var(--line);
  min-height: 280px;
  padding: 30px 26px 34px;
  position: relative;
  transition: background 0.3s;
}

.process-card:last-child {
  border-right: 0;
}

.process-card:hover {
  background: var(--surface);
}

.process-number {
  color: var(--accent);
  display: block;
  font-size: 0.62rem;
  margin-bottom: 70px;
}

.process-card h3 {
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  margin-bottom: 12px;
}

.process-card p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 240px;
}

.process-line {
  background: var(--accent);
  bottom: 24px;
  display: block;
  height: 2px;
  left: 26px;
  position: absolute;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  width: calc(100% - 52px);
}

.process-card:hover .process-line {
  transform: scaleX(1);
}

.section-cta {
  margin-top: 42px;
}

/* Testimonials and FAQ */
.testimonial-section {
  background: var(--bg);
}

.quote-viewport {
  display: grid;
}

.quote-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.quote-carousel.has-active .quote-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.quote-grid {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 26px 24px;
}

.quote-stars {
  color: var(--accent);
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
}

.quote-card blockquote {
  flex: 1;
  margin: 0;
}

.quote-card blockquote p {
  color: var(--text-soft);
  font-family: var(--font-serif);
  font-size: 1.07rem;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.quote-card figcaption {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  padding-top: 16px;
}

.quote-avatar {
  align-items: center;
  background: var(--gradient-accent);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.quote-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quote-person strong {
  font-size: 0.88rem;
  letter-spacing: -0.01em;
}

.quote-person span {
  color: var(--muted);
  font-size: 0.72rem;
}

.testimonial-section .carousel-controls {
  justify-content: center;
}

.faq-section {
  background: var(--bg);
}

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

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

.faq-item summary {
  align-items: center;
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 600;
  gap: 20px;
  letter-spacing: -0.045em;
  list-style: none;
  padding: 26px 4px;
  transition: background 0.25s, padding 0.3s var(--ease), color 0.25s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--accent-soft);
  color: var(--accent);
  padding-left: 16px;
}

.faq-number {
  color: var(--accent);
  font-size: 0.59rem;
  min-width: 27px;
}

.faq-icon {
  height: 14px;
  margin-left: auto;
  position: relative;
  width: 14px;
}

.faq-icon::before,
.faq-icon::after {
  background: var(--accent);
  content: "";
  inset: 0;
  margin: auto;
  position: absolute;
  transition: transform 0.3s var(--ease);
}

.faq-icon::before {
  height: 1px;
  width: 14px;
}

.faq-icon::after {
  height: 14px;
  width: 1px;
}

.faq-item[open] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0 4px 28px 51px;
}

.faq-answer p {
  color: var(--muted);
  max-width: 680px;
}

.audit-band {
  background: var(--surface);
  border-block: 1px solid var(--accent);
  overflow: hidden;
  position: relative;
}

.audit-band::after {
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
  height: 440px;
  opacity: 0.35;
  position: absolute;
  right: -150px;
  top: -120px;
  width: 440px;
}

.audit-inner {
  align-items: center;
  display: flex;
  gap: 42px;
  justify-content: space-between;
  padding-block: clamp(70px, 10vw, 125px);
  position: relative;
  z-index: 1;
}

.audit-title {
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  max-width: 720px;
}

.audit-band .section-lead {
  max-width: 560px;
}

/* Contact */
.contact-section {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  gap: clamp(48px, 9vw, 130px);
  grid-template-columns: minmax(270px, 0.75fr) minmax(400px, 1.25fr);
}

.contact-copy {
  min-width: 0;
}

.contact-direct {
  color: var(--muted-faint);
  font-family: var(--font-mono);
  font-size: 0.59rem;
  margin-top: 38px;
  text-transform: uppercase;
}

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

.contact-list a {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 17px 4px;
  transition: background 0.25s, padding 0.3s var(--ease);
}

.contact-list a:hover {
  background: var(--bg);
  padding-left: 14px;
}

.contact-list a span {
  color: var(--accent);
  font-size: 0.57rem;
}

.contact-list a strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-align: right;
}

.contact-meta {
  color: var(--muted-faint);
  font-size: 0.56rem;
  line-height: 1.9;
  margin-top: 30px;
}

.contact-form {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 14px 14px 0;
  padding: clamp(24px, 4vw, 44px);
  position: relative;
  box-shadow: 14px 14px 0 var(--accent);
  z-index: 0;
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 0.57rem;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-height: 49px;
  outline: none;
  padding: 13px 14px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

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

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hp-field {
  height: 1px;
  left: -10000px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.consent {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  gap: 10px;
}

.consent input {
  accent-color: var(--accent);
  flex: 0 0 auto;
  margin-top: 3px;
}

.consent a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  color: var(--muted);
  font-size: 0.83rem;
  min-height: 1.4em;
}

.form-status.success,
.newsletter-status.success {
  color: #51c17d;
}

.form-status.error,
.newsletter-status.error {
  color: #ff9a8d;
}

html[data-theme="light"] .form-status.success,
html[data-theme="light"] .newsletter-status.success {
  color: #1e7c46;
}

html[data-theme="light"] .form-status.error,
html[data-theme="light"] .newsletter-status.error {
  color: #c2402a;
}

.form-note {
  color: var(--muted-faint);
  font-size: 0.53rem;
  text-align: center;
  text-transform: uppercase;
}

.form-required {
  color: var(--muted-legible);
  font-size: 0.65rem;
  margin-bottom: -6px;
  text-align: right;
  text-transform: uppercase;
}

.field label .req,
.form-required span {
  color: var(--accent-legible);
}

.form-notice {
  color: var(--muted-legible);
  font-size: 0.78rem;
}

.form-notice a,
.form-status a,
.newsletter-status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-notice a {
  color: var(--accent-legible);
}

.contact-form.sending .btn {
  opacity: 0.55;
  pointer-events: none;
}

/* Footer */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding-top: 4px;
  position: relative;
}

.site-footer::before {
  background: var(--accent);
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.footer-grid {
  display: grid;
  gap: 38px;
  grid-template-columns: 1.35fr 0.62fr 0.72fr 0.85fr 1.05fr;
  padding: clamp(58px, 9vw, 105px) 0 62px;
}

.footer-brand > p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 18px;
  max-width: 280px;
}

.footer-partner {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 26px;
  max-width: 270px;
  padding-top: 13px;
}

.footer-partner > span {
  color: var(--muted-faint);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.footer-partner a {
  display: block;
  width: 108px;
}

.footer-partner img {
  width: 100%;
}

.footer-col h4,
.footer-col .footer-heading {
  color: var(--accent);
  font-size: 0.59rem;
  font-weight: 500;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  color: var(--muted);
  font-size: 0.84rem;
  transition: color 0.2s, padding 0.25s var(--ease);
}

.footer-col li a:hover {
  color: var(--text);
  padding-left: 5px;
}

.footer-newsletter > p {
  color: var(--muted);
  font-size: 0.83rem;
  margin-bottom: 17px;
}

.newsletter-form {
  align-items: center;
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  gap: 8px;
  padding-bottom: 8px;
}

.newsletter-form input {
  background: transparent;
  border: 0;
  min-width: 0;
  outline: 0;
  padding: 7px 0;
  width: 100%;
}

.newsletter-form input::placeholder {
  color: var(--muted-faint);
}

.newsletter-form button {
  background: var(--gradient-accent);
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
  height: 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.2s;
  width: 30px;
}

.newsletter-form button:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.newsletter-status {
  font-size: 0.75rem;
  min-height: 1.2em;
  padding-top: 8px;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted-faint);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.53rem;
  gap: 18px;
  justify-content: space-between;
  padding: 22px 0 27px;
  text-transform: uppercase;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-languages {
  align-items: center;
  display: flex;
  gap: 13px;
}

.footer-languages a {
  color: var(--muted-faint);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}

.footer-languages a.active {
  color: var(--accent);
}

.whatsapp-fab {
  align-items: center;
  background: #22c55e;
  border-radius: 50%;
  bottom: 22px;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
  color: white;
  display: flex;
  height: 52px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(14px) scale(0.88);
  transition: opacity 0.35s, transform 0.35s var(--ease);
  width: 52px;
  z-index: 80;
}

.whatsapp-fab.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Case studies */
.case-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--header-h) + 54px) 0 clamp(72px, 10vw, 130px);
}

.breadcrumb {
  color: var(--muted-faint);
  font-size: 0.57rem;
  margin-bottom: clamp(56px, 9vw, 105px);
}

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

.case-hero-grid {
  align-items: end;
  display: grid;
  gap: clamp(38px, 8vw, 115px);
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
}

.case-intro h1 {
  font-size: clamp(3.7rem, 8vw, 8.8rem);
  letter-spacing: -0.105em;
  line-height: 0.8;
  margin-bottom: 28px;
}

.case-kicker {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.7vw, 2.5rem);
  font-style: italic;
  line-height: 1;
  margin-bottom: 20px;
}

.case-lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 460px;
}

.case-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 30px;
}

.text-link {
  color: var(--muted);
  font-size: 0.6rem;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.case-facts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px 22px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 54px;
  padding-top: 18px;
}

.case-facts dt {
  color: var(--accent);
  font-size: 0.54rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.case-facts dd {
  color: var(--text-soft);
  font-size: 0.78rem;
}

.case-services {
  border-top: 1px solid var(--line);
  color: var(--muted-faint);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  margin-top: 20px;
  padding-top: 15px;
  text-transform: uppercase;
}

.case-services a {
  color: var(--accent);
  transition: color 0.2s;
}

.case-services a:hover {
  text-decoration: underline;
}

.case-hero-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.case-hero-media img {
  aspect-ratio: 1.55 / 1;
  filter: saturate(0.8);
  object-fit: cover;
  width: 100%;
}

.case-hero-media figcaption {
  bottom: 13px;
  color: var(--paper);
  font-size: 0.54rem;
  left: 15px;
  position: absolute;
}

.case-content {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 12vw, 160px) 0;
}

.case-layout {
  display: grid;
  gap: clamp(44px, 9vw, 125px);
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
}

.case-aside {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.case-index {
  border-top: 1px solid var(--line);
}

.case-index li {
  border-bottom: 1px solid var(--line);
}

.case-index a {
  color: var(--muted);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 12px 0;
  text-transform: uppercase;
  transition: color 0.2s, padding 0.3s var(--ease);
}

.case-index a:hover {
  color: var(--accent);
  padding-left: 7px;
}

.case-copy {
  max-width: 760px;
}

.case-copy > section {
  border-top: 1px solid var(--line);
  padding: 34px 0 54px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.case-copy > section:first-child {
  border-top: 0;
  padding-top: 0;
}

.case-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  margin-bottom: 20px;
}

.case-copy section > p:last-child {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  max-width: 670px;
}

.case-gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin: 10px 0 65px;
}

.case-gallery-item {
  background: var(--surface);
  overflow: hidden;
}

.case-gallery-item:first-child {
  grid-row: span 2;
}

.case-gallery-item img {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  width: 100%;
}

.case-gallery-item:hover img {
  transform: scale(1.04);
}

.case-gallery-item figcaption {
  color: var(--muted-faint);
  font-size: 0.52rem;
  padding: 10px 12px 12px;
  text-transform: uppercase;
}

.deliverable-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.deliverable-list li {
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  padding: 13px 4px;
}

.case-cta {
  background: var(--accent);
  color: var(--accent-contrast);
  padding: clamp(62px, 9vw, 110px) 0;
}

.case-cta-inner {
  align-items: center;
  display: flex;
  gap: 32px;
  justify-content: space-between;
}

.case-cta h2 {
  font-size: clamp(2.6rem, 6vw, 6rem);
  max-width: 720px;
}

.case-cta .btn-primary {
  background: var(--accent-contrast);
  color: var(--accent);
  flex-shrink: 0;
}

.case-cta .btn-primary:hover {
  background: var(--text);
  color: var(--bg);
}

.project-pager {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
}

.next-project {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px 26px;
  transition: border-color 0.25s, background 0.25s;
}

.next-project:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.next-project span {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  font-weight: 600;
  gap: 7px;
  letter-spacing: -0.04em;
}

.next-project span i {
  color: var(--accent);
  font-size: 0.56rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-project b {
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 500;
}

.prev-project span {
  align-items: flex-start;
}

@media (max-width: 820px) {
  .project-pager {
    grid-template-columns: 1fr;
  }
}

/* Service detail pages */
.service-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: calc(var(--header-h) + 54px) 0 clamp(82px, 12vw, 160px);
  position: relative;
}

.service-hero::after {
  border: 1px solid var(--accent);
  border-radius: 50%;
  content: "";
  height: 390px;
  opacity: 0.22;
  position: absolute;
  right: -120px;
  top: 25%;
  width: 390px;
}

.service-hero-inner {
  position: relative;
  z-index: 1;
}

.service-hero h1 {
  font-size: clamp(3.5rem, 8vw, 8.8rem);
  letter-spacing: -0.105em;
  line-height: 0.82;
  max-width: 1050px;
}

.service-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 34px 0 32px;
  max-width: 700px;
}

.service-detail {
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 12vw, 160px) 0;
}

.service-detail-grid {
  display: grid;
  gap: clamp(44px, 9vw, 125px);
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
}

.service-aside {
  align-self: start;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.service-aside-number {
  color: var(--accent);
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 10vw, 10rem);
  font-style: italic;
  line-height: 0.8;
  margin: 28px 0 44px;
}

.service-detail-copy {
  max-width: 790px;
}

.service-detail-section,
.service-deliverables,
.service-process,
.service-faq {
  border-top: 1px solid var(--line);
  padding: 34px 0 54px;
}

.service-faq .faq-list {
  margin-top: 10px;
}

.service-detail-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-detail-copy h2 {
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  margin-bottom: 18px;
}

.service-detail-copy section > p:last-child {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  max-width: 680px;
}

.service-process ol {
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.service-process li {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 22px;
  padding: 14px 4px;
}

.service-process li span {
  color: var(--accent);
  font-size: 0.6rem;
}

.service-process li strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.service-related {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 11vw, 140px) 0;
}

.service-related h2 {
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  margin-bottom: 42px;
}

.related-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 42px;
}

.related-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: block;
  overflow: hidden;
}

.related-card img {
  aspect-ratio: 1.4 / 1;
  filter: saturate(0.75);
  object-fit: cover;
  transition: filter 0.4s, transform 0.6s var(--ease);
  width: 100%;
}

.related-card:hover img {
  filter: saturate(1);
  transform: scale(1.04);
}

.related-card > div {
  padding: 17px;
  position: relative;
}

.related-card span {
  color: var(--accent);
  display: block;
  font-size: 0.53rem;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.related-card h3 {
  font-size: 1.45rem;
}

.related-card b {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1rem;
  position: absolute;
  right: 17px;
  top: 43px;
}

.not-found {
  min-height: 70svh;
  padding: calc(var(--header-h) + 130px) 0 100px;
}

.not-found h1 {
  font-size: clamp(4rem, 10vw, 10rem);
  letter-spacing: -0.1em;
  line-height: 0.8;
  margin-bottom: 30px;
}

.not-found h1 em {
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 400;
}

.not-found p {
  color: var(--muted);
  margin-bottom: 28px;
}

.not-found-block {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  max-width: 620px;
  padding-top: 32px;
}

.not-found-block h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  letter-spacing: -0.05em;
  margin-bottom: 10px;
}

.not-found-block h2 em {
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 400;
}

.not-found-block p {
  margin-bottom: 20px;
}

/* Legal page */
.legal-page {
  padding: calc(var(--header-h) + 90px) 0 110px;
}

.legal-page h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  letter-spacing: -0.06em;
  margin: 20px 0 18px;
}

.legal-block {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding-top: 36px;
}

.legal-block h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.legal-block > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.legal-item {
  margin-bottom: 26px;
}

.legal-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.legal-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-item.legal-highlight {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.legal-item.legal-highlight p {
  color: var(--text);
}

/* Locations + Insights */
.footer-grid-locations {
  grid-template-columns: 1.35fr 0.62fr 0.72fr 0.85fr 0.72fr 1.05fr;
}

.post-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 10px 22px;
  letter-spacing: 0.08em;
  margin-top: 20px;
  text-transform: uppercase;
}

.post-body .case-services {
  margin-top: 34px;
}

.post-body .section-cta {
  margin-top: 30px;
}

/* Sponsorship — prominent band on its location page, small badge in every footer */
.sponsor-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(46px, 6vw, 72px) 0;
}

.sponsor-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.sponsor-copy {
  flex: 1 1 340px;
  max-width: 620px;
}

.sponsor-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 10px 0 12px;
}

.sponsor-copy p:last-child {
  color: var(--muted);
  max-width: 52ch;
}

.sponsor-badge {
  display: block;
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
  width: min(340px, 100%);
}

.sponsor-badge:hover {
  transform: translateY(-3px);
}

.sponsor-badge img {
  height: auto;
  width: 100%;
}

.footer-sponsor {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
}

.footer-sponsor > span {
  color: var(--muted-faint);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-sponsor a {
  display: block;
  flex: 0 0 auto;
  opacity: 0.72;
  transition: opacity 0.25s;
  width: 132px;
}

.footer-sponsor a:hover {
  opacity: 1;
}

.footer-sponsor img {
  height: auto;
  width: 100%;
}

.sponsor-badge-light {
  display: none;
}

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

html[data-theme="light"] .sponsor-badge-light {
  display: block;
}

@media (max-width: 640px) {
  .sponsor-inner {
    gap: 24px;
  }

  .footer-sponsor {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

.newsletter-consent {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: 0.74rem;
  gap: 8px;
  line-height: 1.5;
  margin-top: 12px;
}

.newsletter-consent input {
  flex: none;
  margin-top: 2px;
}

.newsletter-consent a {
  color: var(--text);
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .desktop-nav {
    margin-left: 0;
  }

  .nav-links {
    gap: 20px;
  }

  .nav-time {
    display: none;
  }

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

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

@media (max-width: 820px) {
  :root {
    --header-h: 72px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .desktop-nav,
  .nav-cta,
  .lang-switch {
    display: none;
  }

  .burger {
    display: flex;
  }

  .site-header {
    padding: 10px 0;
  }

  .nav {
    padding: 0 8px 0 16px;
  }

  .site-header.scrolled .nav {
    height: 56px;
    width: calc(100% - 40px);
  }

  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    padding: 8px;
  }

  .hero {
    min-height: 0;
    padding-top: calc(var(--header-h) + 30px);
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-grid {
    background-size: 58px 58px;
  }

  .hero-title {
    font-size: clamp(2.35rem, 9.4vw, 4.4rem);
    line-height: 1.05;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat strong {
    font-size: 1.5rem;
  }

  .flyout-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 45px 0;
  }

  .flyout-intro {
    font-size: 2rem;
  }

  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-wide .service-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 26px 24px;
  }

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

  .portfolio-card,
  .about-layout,
  .contact-layout,
  .case-hero-grid,
  .case-layout,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-copy {
    border-top: 0;
    padding-top: 0;
  }

  .about-panel {
    min-height: 430px;
  }

  .process-card {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 220px;
  }

  .process-card:last-child {
    border-bottom: 0;
  }

  .process-number {
    margin-bottom: 42px;
  }

  .audit-inner,
  .case-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .audit-inner .btn,
  .case-cta-inner .btn {
    width: 100%;
  }

  .case-aside,
  .service-aside {
    position: static;
  }

  .case-index {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }

  .case-index li {
    flex: 1 1 140px;
  }

  .service-aside-number {
    font-size: 6rem;
    margin: 20px 0 28px;
  }

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

@media (max-width: 540px) {
  .section {
    padding: 82px 0;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10.5vw, 3.4rem);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    flex-direction: row;
    width: 100%;
  }

  .partner-proof {
    flex-direction: column;
    text-align: center;
  }

  .partner-copy {
    align-items: center;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .service-card {
    padding: 24px 20px;
  }

  .portfolio-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .portfolio-copy h3 {
    font-size: 2.45rem;
  }

  .team-mark {
    height: 245px;
    width: 245px;
  }

  .team-ring-one {
    height: 210px;
    width: 210px;
  }

  .team-ring-two {
    height: 150px;
    width: 150px;
  }

  .form-row,
  .related-grid,
  .case-gallery {
    grid-template-columns: 1fr;
  }

  .case-gallery-item:first-child {
    grid-row: auto;
  }

  .case-facts {
    grid-template-columns: 1fr;
  }

  .case-hero {
    padding-top: calc(var(--header-h) + 38px);
  }

  .case-hero-media img {
    aspect-ratio: 1.25 / 1;
  }

  .faq-item summary {
    align-items: flex-start;
    gap: 12px;
    padding-block: 22px;
  }

  .faq-answer {
    padding-left: 42px;
  }

  .contact-list a {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .contact-list a strong {
    text-align: left;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.7;
  }

  .footer-bottom p:last-child {
    max-width: 100%;
  }

  .flyout-link {
    font-size: 2rem;
  }
}

/* Consent banner for the reach measurement — fixed to the bottom, so it never shifts the layout.
   Both buttons share one class on purpose: declining must be exactly as easy as accepting. */
.consent-banner {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  bottom: 0;
  box-shadow: var(--shadow);
  left: 0;
  padding: 18px 0 max(18px, env(safe-area-inset-bottom));
  position: fixed;
  right: 0;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  z-index: 95;
}

.consent-banner.open {
  transform: none;
}

.consent-banner:focus {
  outline: none;
}

.consent-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
}

.consent-copy {
  flex: 1 1 380px;
  min-width: 0;
}

.consent-title {
  color: var(--accent-legible);
  font-size: 0.68rem;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.consent-text {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  max-width: 70ch;
}

.consent-text a {
  color: var(--accent-legible);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.consent-btn {
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  flex: 1 1 auto;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 46px;
  min-width: 132px;
  padding: 11px 22px;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.consent-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-legible);
}

.consent-btn[aria-pressed="true"] {
  border-color: var(--accent);
}

/* The banner takes the bottom-right corner while it is open. */
body.consent-open .whatsapp-fab {
  opacity: 0;
  pointer-events: none;
}

/* Control on the privacy page */
.consent-control {
  align-items: center;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: space-between;
  margin-top: 16px;
  padding: 16px 18px;
}

.consent-control-status {
  color: var(--text);
  flex: 1 1 260px;
  font-size: 0.72rem;
  line-height: 1.6;
  margin: 0;
}

.consent-control-status:empty {
  display: none;
}

.consent-control-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent-control-actions:empty {
  display: none;
}

@media (max-width: 640px) {
  /* Stays a bar, never a full-screen wall: it is capped and scrolls if the text needs more room. */
  .consent-banner {
    max-height: 72svh;
    overflow-y: auto;
    padding: 14px 0 max(14px, env(safe-area-inset-bottom));
  }

  .consent-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  /* The column direction would turn the flex basis above into a height. */
  .consent-copy {
    flex: 0 0 auto;
  }

  .consent-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .consent-actions {
    width: 100%;
  }

  .consent-btn {
    flex: 1 1 0;
    font-size: 0.8rem;
    min-height: 44px;
    min-width: 0;
    padding: 10px 14px;
    white-space: nowrap;
  }

  .consent-control {
    padding: 14px;
  }
}

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

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

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

  .marquee-track {
    animation: none;
  }
}
