/* ==========================================================================
   Innspire.tv — main stylesheet
   Tokens mirror the Figma styleguide variables (see CLAUDE.md).
   Mobile-first; desktop overrides at min-width: 1024px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Rhymes Display";
  src: url("/assets/fonts/Rhymes%20Display%20Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Söhne";
  src: url("/assets/fonts/soehne-buch.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Söhne";
  src: url("/assets/fonts/soehne-kraftig.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Söhne";
  src: url("/assets/fonts/soehne-halbfett.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-foreground: #171717;
  --color-muted-foreground: #6e6e6e;
  --color-primary: #1f1f1f;
  --color-primary-foreground: #fafafa;
  --color-secondary: #f5f5f5;
  --color-secondary-foreground: #1f1f1f;
  --color-background: #ffffff;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-section-background: #f8f6f4;
  --black-alpha-50: rgba(0, 0, 0, 0.5);

  /* Spacing — base 4 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radii */
  --radius-2: 8px;
  --radius-4: 16px;

  /* Layout */
  --container-max: 1440px;
  --gutter: 16px;

  /* Font families */
  --font-sans: "Söhne", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Rhymes Display", Georgia, "Times New Roman", serif;

  /* Type scale — mobile defaults (per Figma mobile frame) */
  --display-xxl-font-size: 48px;
  --display-xxl-line-height: 52px;
  --display-xxl-letter-spacing: -1.2px;

  --display-lg-font-size: 44px;
  --display-lg-line-height: 50px;
  --display-lg-letter-spacing: -1px;

  --display-md-font-size: 40px;
  --display-md-line-height: 44px;
  --display-md-letter-spacing: -1px;

  --display-sm-font-size: 36px;
  --display-sm-line-height: 40px;
  --display-sm-letter-spacing: -0.8px;

  --heading-lg-font-size: 26px;
  --heading-lg-line-height: 32px;
  --heading-lg-letter-spacing: -0.2px;

  --heading-md-font-size: 22px;
  --heading-md-line-height: 28px;
  --heading-md-letter-spacing: -0.1px;

  --heading-sm-font-size: 18px;
  --heading-sm-line-height: 26px;
  --heading-sm-letter-spacing: 0;

  --body-lg-font-size: 17px;
  --body-lg-line-height: 26px;
  --body-lg-letter-spacing: 0;

  --body-md-font-size: 16px;
  --body-md-line-height: 24px;
  --body-md-letter-spacing: 0;

  --body-sm-font-size: 14px;
  --body-sm-line-height: 20px;
  --body-sm-letter-spacing: 0;

  --body-xs-font-size: 12px;
  --body-xs-line-height: 16px;
  --body-xs-letter-spacing: 0;

  --eyebrow-font-size: 12px;
  --eyebrow-line-height: 16px;
  --eyebrow-letter-spacing: 0;

  /* Font weights (mirroring the Figma weight tokens) */
  --weight-display-light: 300;
  --weight-body-regular: 400;
  --weight-body-medium: 500;
  --weight-heading-medium: 500;
  --weight-body-bold: 600;
}

@media (min-width: 1024px) {
  :root {
    --gutter: 24px;

    --display-xxl-font-size: 96px;
    --display-xxl-line-height: 100px;
    --display-xxl-letter-spacing: -2px;

    --display-lg-font-size: 56px;
    --display-lg-line-height: 62px;
    --display-lg-letter-spacing: -1.2px;

    --display-md-font-size: 56px;
    --display-md-line-height: 62px;
    --display-md-letter-spacing: -1.2px;

    --display-sm-font-size: 48px;
    --display-sm-line-height: 54px;
    --display-sm-letter-spacing: -1px;

    --heading-lg-font-size: 32px;
    --heading-lg-line-height: 40px;
    --heading-lg-letter-spacing: -0.3px;

    --heading-md-font-size: 24px;
    --heading-md-line-height: 32px;
    --heading-md-letter-spacing: -0.2px;

    --heading-sm-font-size: 20px;
    --heading-sm-line-height: 28px;

    --body-lg-font-size: 18px;
    --body-lg-line-height: 28px;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--body-md-font-size);
  line-height: var(--body-md-line-height);
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  display: block;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
}

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

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

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  cursor: pointer;
}

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

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--weight-heading-medium);
}

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

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

.divider {
  width: 100%;
  height: 1px;
  margin: 0;
  border: 0;
  background-color: var(--color-border);
}

/* Line-break helpers — only render the break on the matching breakpoint */
.br-md {
  display: none;
}

@media (min-width: 1024px) {
  .br-md {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   Type utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--eyebrow-font-size);
  line-height: var(--eyebrow-line-height);
  font-weight: var(--weight-body-medium);
  letter-spacing: var(--eyebrow-letter-spacing);
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  margin: 0;
}

.display-xxl {
  font-family: var(--font-serif);
  font-weight: var(--weight-display-light);
  font-size: var(--display-xxl-font-size);
  line-height: var(--display-xxl-line-height);
  letter-spacing: var(--display-xxl-letter-spacing);
  color: var(--color-foreground);
}

.display-md {
  font-family: var(--font-serif);
  font-weight: var(--weight-display-light);
  font-size: var(--display-md-font-size);
  line-height: var(--display-md-line-height);
  letter-spacing: var(--display-md-letter-spacing);
  color: var(--color-foreground);
}

.display-sm {
  font-family: var(--font-serif);
  font-weight: var(--weight-display-light);
  font-size: var(--display-sm-font-size);
  line-height: var(--display-sm-line-height);
  letter-spacing: var(--display-sm-letter-spacing);
  color: var(--color-foreground);
}

.heading-lg {
  font-family: var(--font-sans);
  font-weight: var(--weight-heading-medium);
  font-size: var(--heading-lg-font-size);
  line-height: var(--heading-lg-line-height);
  letter-spacing: var(--heading-lg-letter-spacing);
  color: var(--color-foreground);
}

.heading-md {
  font-family: var(--font-sans);
  font-weight: var(--weight-heading-medium);
  font-size: var(--heading-md-font-size);
  line-height: var(--heading-md-line-height);
  letter-spacing: var(--heading-md-letter-spacing);
  color: var(--color-foreground);
}

.heading-sm {
  font-family: var(--font-sans);
  font-weight: var(--weight-heading-medium);
  font-size: var(--heading-sm-font-size);
  line-height: var(--heading-sm-line-height);
  letter-spacing: var(--heading-sm-letter-spacing);
  color: var(--color-foreground);
}

.body-lg {
  font-size: var(--body-lg-font-size);
  line-height: var(--body-lg-line-height);
  letter-spacing: var(--body-lg-letter-spacing);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 40px;
  padding: 10px var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--body-sm-font-size);
  line-height: var(--body-sm-line-height);
  font-weight: var(--weight-body-medium);
  text-align: center;
  border: 0;
  border-radius: var(--radius-2);
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  opacity: 0.9;
}

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

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-secondary-foreground);
}

.btn--small {
  min-height: 32px;
  padding: 6px var(--space-3);
}

.btn--large {
  min-height: 48px;
  padding: var(--space-3) var(--space-8);
  font-size: var(--body-md-font-size);
  line-height: var(--body-md-line-height);
}

.btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Site header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--color-background);
  border-bottom: 1px solid transparent;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-4) var(--gutter);
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__logo img {
  height: 18px;
  width: auto;
}

.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) 10px;
  font-size: var(--body-sm-font-size);
  line-height: var(--body-sm-line-height);
  font-weight: var(--weight-body-medium);
  color: var(--color-foreground);
  border-radius: var(--radius-2);
  transition: background-color 0.15s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  background-color: var(--color-secondary);
  text-decoration: none;
}

.site-header__cta {
  display: inline-flex;
}

.js .site-header__cta {
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.js .site-header[data-cta-revealed="true"] .site-header__cta {
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger toggle */
.site-header__hamburger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: var(--radius-2);
  color: var(--color-foreground);
}

.site-header__hamburger:hover {
  background-color: var(--color-secondary);
}

.site-header__hamburger-icon {
  position: relative;
  width: 22px;
  height: 16px;
}

.site-header__hamburger-icon::before,
.site-header__hamburger-icon::after,
.site-header__hamburger-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.site-header__hamburger-icon::before {
  top: 0;
}

.site-header__hamburger-icon span {
  top: 50%;
  transform: translateY(-50%);
}

.site-header__hamburger-icon::after {
  bottom: 0;
}

.site-header__hamburger[aria-expanded="true"] .site-header__hamburger-icon::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.site-header__hamburger[aria-expanded="true"] .site-header__hamburger-icon span {
  opacity: 0;
}

.site-header__hamburger[aria-expanded="true"] .site-header__hamburger-icon::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 80px var(--gutter) var(--space-8);
  background-color: var(--color-background);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  overflow-y: auto;
}

.mobile-menu[data-open="true"] {
  visibility: visible;
  opacity: 1;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.mobile-menu__link {
  display: block;
  padding: var(--space-3) 0;
  font-family: var(--font-serif);
  font-weight: var(--weight-display-light);
  font-size: var(--display-md-font-size);
  line-height: 1.1;
  letter-spacing: var(--display-md-letter-spacing);
  color: var(--color-foreground);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu__link:hover {
  text-decoration: none;
}

.mobile-menu__cta {
  align-self: flex-start;
}

/* No-JS fallback: hamburger and panel both invisible; show text-link nav inline */
.no-js .site-header__hamburger {
  display: none;
}

.no-js .mobile-menu {
  display: none;
}

@media (min-width: 1024px) {
  .site-header__inner {
    padding-block: 0;
  }

  .site-header__logo img {
    height: 16px;
  }

  .site-nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .site-header__cta {
    display: inline-flex;
  }

  .site-header__hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .site-header__inner {
    padding: 0 var(--gutter);
    height: 80px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-6) var(--gutter) var(--space-16);
  text-align: center;
}

.hero__eyebrow {
  margin-bottom: var(--space-2);
}

.hero__headline {
  margin: 0;
  max-width: 16ch;
}

.hero__sub {
  max-width: 38ch;
  color: var(--color-foreground);
}

@media (min-width: 1024px) {
  .hero__sub {
    max-width: 72ch;
  }
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

@media (min-width: 1024px) {
  .hero {
    gap: var(--space-8);
  }

  .hero__headline {
    max-width: 26ch;
  }
}

/* --------------------------------------------------------------------------
   Hero image (photo with TV mock)
   -------------------------------------------------------------------------- */
.hero-image {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  height: clamp(295px, 71vw, 645px);
}

.hero-image__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(250px, 60vw, 540px);
  object-fit: cover;
  pointer-events: none;
  background-color: #1a1a1a;
}

.hero-image__bg::-webkit-media-controls,
.hero-image__bg::-webkit-media-controls-panel,
.hero-image__bg::-webkit-media-controls-play-button,
.hero-image__bg::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.hero-image__tv {
  position: absolute;
  left: 50%;
  top: clamp(62px, 15vw, 81px);
  width: min(960px, 92%);
  aspect-ratio: 960 / 548;
  transform: translateX(-50%);
  background: linear-gradient(240deg, #1f1f1f 0%, #0d0d0d 100%);
  padding: 1.6px;
  box-shadow:
    0 5px 11px rgba(0, 0, 0, 0.25),
    0 20px 20px rgba(0, 0, 0, 0.21),
    0 45px 27px rgba(0, 0, 0, 0.13);
  border-radius: 1px;
}

.hero-image__tv-screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #000;
  display: block;
}

@media (min-width: 1024px) {
  .hero-image__tv {
    padding: 4px;
    box-shadow:
      0 13px 28px rgba(0, 0, 0, 0.25),
      0 51px 51px rgba(0, 0, 0, 0.21),
      0 114px 69px rgba(0, 0, 0, 0.13);
  }
}

/* --------------------------------------------------------------------------
   Customer proof
   -------------------------------------------------------------------------- */
.customer-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-20) var(--gutter);
  text-align: center;
}

.customer-proof__title {
  margin: 0;
}

.customer-proof__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.customer-proof__track {
  display: flex;
  width: max-content;
  animation: customer-proof-scroll 40s linear infinite;
}

.customer-proof__track img {
  flex-shrink: 0;
  height: 63px;
  width: auto;
  max-width: none;
  margin-right: var(--space-24);
}

@keyframes customer-proof-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.customer-proof__marquee:hover .customer-proof__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .customer-proof__track {
    animation: none;
    transform: translateX(0);
  }
}

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

@media (min-width: 1024px) {
  .customer-proof {
    padding: var(--space-32) var(--gutter);
  }
}

/* --------------------------------------------------------------------------
   Section heading (centered, eyebrow + display)
   -------------------------------------------------------------------------- */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-8) var(--gutter);
  text-align: center;
}

.section-heading__title {
  margin: 0;
  max-width: 14ch;
}

.section-heading--wide .section-heading__title {
  max-width: 22ch;
}

/* --------------------------------------------------------------------------
   Product section (image + text two-column)
   -------------------------------------------------------------------------- */
.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-8) var(--gutter);
}

.product-section__image {
  width: 100%;
  aspect-ratio: 640 / 360;
  border-radius: var(--radius-4);
  overflow: hidden;
  background-color: var(--color-secondary);
}

.product-section__image img,
.product-section__image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-section__column {
  display: flex;
  flex-direction: column;
}

.product-section__eyebrow {
  margin-bottom: var(--space-2);
}

.product-section__title {
  margin: 0 0 var(--space-3);
}

.product-section__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0 0 var(--space-8);
  font-size: var(--body-md-font-size);
  line-height: var(--body-md-line-height);
}

.product-section__copy ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: disc;
  padding-left: var(--space-6);
}

.product-section__copy li::marker {
  color: var(--color-foreground);
}

.product-section__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  align-items: flex-start;
}

.product-section__partners {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.product-section__partners img {
  height: 24px;
  width: auto;
}

.product-section__partners img[src*="logo-samsung"] {
  height: 24px;
}

.product-section__partners img[src*="logo-lg"] {
  height: 32px;
}

@media (min-width: 1024px) {
  .product-section {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    padding: var(--space-24) var(--gutter);
    align-items: start;
  }

  .product-section--reversed .product-section__image {
    order: 2;
  }

  .product-section__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Working surface (3-card grid on beige)
   -------------------------------------------------------------------------- */
.working-surface {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  background-color: var(--color-section-background);
}

.working-surface__heading {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-12) var(--gutter) var(--space-8);
}

.working-surface__title {
  margin: 0;
  max-width: 22ch;
}

.working-surface__subtitle {
  margin: 0;
  max-width: 60ch;
  color: var(--color-foreground);
}

.working-surface__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-8) var(--gutter) var(--space-32);
}

.working-surface__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.working-surface__card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-4);
  overflow: hidden;
  background-color: var(--color-secondary);
}

.working-surface__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.working-surface__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.working-surface__card-eyebrow {
  margin-bottom: var(--space-1);
}

.working-surface__card-title {
  margin: 0;
}

.working-surface__card-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--body-md-font-size);
  line-height: var(--body-md-line-height);
}

.working-surface__card-copy ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  list-style: disc;
  padding-left: var(--space-6);
}

@media (min-width: 1024px) {
  .working-surface__heading {
    flex-direction: row;
    gap: var(--space-12);
    padding: var(--space-32) var(--gutter) var(--space-8);
  }

  .working-surface__heading-eyebrow {
    flex: 0 0 calc((1440px - 48px) * 0.32);
    max-width: 448px;
  }

  .working-surface__heading-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .working-surface__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    padding-bottom: var(--space-32);
  }
}

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-12) var(--gutter);
}

.stats__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-row__label {
  font-size: var(--body-lg-font-size);
  line-height: var(--body-lg-line-height);
  color: var(--color-foreground);
}

.stat-row__value {
  font-family: var(--font-sans);
  font-weight: var(--weight-heading-medium);
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.2px;
  color: var(--color-foreground);
}

@media (min-width: 1024px) {
  .stats {
    padding: var(--space-32) var(--gutter);
  }

  .stat-row {
    flex-direction: row;
    align-items: center;
    gap: var(--space-12);
  }

  .stat-row__label {
    flex: 1 0 0;
  }

  .stat-row__value {
    flex: 0 0 480px;
    font-size: 96px;
    letter-spacing: -0.3px;
  }
}

/* --------------------------------------------------------------------------
   Testimonial
   -------------------------------------------------------------------------- */
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-16) var(--gutter);
  text-align: center;
}

.testimonial__eyebrow {
  margin-bottom: var(--space-2);
}

.testimonial__quote {
  margin: 0;
  max-width: 32ch;
}

.testimonial__attribution {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-6);
}

.testimonial__logo {
  height: 51px;
  width: auto;
}

.testimonial__attribution-text {
  font-size: var(--body-sm-font-size);
  line-height: var(--body-sm-line-height);
}

.testimonial__attribution-text strong {
  display: block;
  font-weight: var(--weight-body-regular);
  color: var(--color-foreground);
}

.testimonial__attribution-text span {
  color: var(--color-muted-foreground);
}

/* --------------------------------------------------------------------------
   Case photo
   -------------------------------------------------------------------------- */
.case-photo {
  position: relative;
  width: 100%;
  margin: 0;
  padding: var(--space-4) var(--gutter) var(--space-16);
}

.case-photo__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-4);
  overflow: hidden;
  background-color: var(--color-secondary);
}

.case-photo__frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .case-photo__frame {
    aspect-ratio: 640 / 274;
  }
}

.case-photo__caption {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  padding: var(--space-2);
  background-color: var(--black-alpha-50);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-2);
  color: #fff;
  font-size: var(--body-xs-font-size);
  line-height: var(--body-xs-line-height);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-16) var(--gutter);
}

.cta-band__title {
  margin: 0;
}

@media (min-width: 1024px) {
  .cta-band {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
  }
}

/* --------------------------------------------------------------------------
   Site footer (minimal)
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  background-color: var(--color-foreground);
  color: var(--color-primary-foreground);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-16) var(--gutter);
}

.site-footer__logo img {
  height: 18px;
  width: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4) var(--space-6);
}

.site-footer__link {
  font-size: var(--body-sm-font-size);
  line-height: var(--body-sm-line-height);
  font-weight: var(--weight-body-medium);
  color: var(--color-primary-foreground);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--body-sm-font-size);
  line-height: var(--body-sm-line-height);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer__contact {
  color: var(--color-primary-foreground);
  font-weight: var(--weight-body-medium);
}

@media (min-width: 1024px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-8) var(--space-12);
  }

  .site-footer__bottom {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* --------------------------------------------------------------------------
   Print / reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
