/* Black Factories — static site */

:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #2c2c2c;
  --muted: #f5f5f5;
  --muted-foreground: #6f6f6f;
  --border: #e5e5e5;
  --off-white: #f8f8f8;
  --anthracite: #2c2c2c;
  --anthracite-light: #555555;
  --accent: #FFC21F;
  --accent-rgb: 255 194 31;
  --radius: 1rem;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

ul {
  list-style: none;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: #2c2c2c;
}

.font-display {
  font-family: var(--font-display);
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* ── Layout ── */

.page {
  background: #fff;
  min-height: 100vh;
}

.page--padded {
  padding-top: 4rem;
}

/* The homepage terminal is the full-viewport opening scene; the fixed nav
   overlays it instead of reserving a white strip above the hero. */
.page--home {
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

.page--home .site-header {
  order: 0;
}

.page--home .ai-intro-stack {
  order: 1;
}

.page--home [data-home-section="case-study"] {
  order: 2;
}

.page--home [data-home-section="come-lavoriamo"] {
  order: 3;
}

.page--home #contatto {
  order: 4;
  scroll-margin-top: 5.5rem;
}

.page--home #faq {
  order: 5;
}

.page--home .site-footer {
  order: 6;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: 4rem;
}

.section--lg {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

/* The opening scene on the AI automation page fills the viewport left below
   the fixed navigation, so the following section starts only after the fold. */
.ai-hero {
  position: relative;
  display: flex;
  max-width: none;
  min-height: calc(100svh - 4rem);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.ai-hero__field {
  position: absolute;
  z-index: 0;
  inset: -24% -16%;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.86;
  -webkit-mask-image:
    radial-gradient(ellipse 48% 55% at 100% 0%, #000 0%, #000 31%, rgba(0, 0, 0, 0.55) 65%, transparent 91%),
    radial-gradient(ellipse 48% 55% at 0% 100%, #000 0%, #000 31%, rgba(0, 0, 0, 0.55) 65%, transparent 91%);
  -webkit-mask-composite: source-over;
  mask-image:
    radial-gradient(ellipse 48% 55% at 100% 0%, #000 0%, #000 31%, rgba(0, 0, 0, 0.55) 65%, transparent 91%),
    radial-gradient(ellipse 48% 55% at 0% 100%, #000 0%, #000 31%, rgba(0, 0, 0, 0.55) 65%, transparent 91%);
  mask-composite: add;
}

.ai-hero__field .faulty-terminal-container {
  transform: rotate(-14deg);
  transform-origin: center;
}

.ai-hero .page-hero {
  position: relative;
  z-index: 1;
}

/* The problem section is a physical layer that crosses the opening scene,
   while the animated hero remains behind it during the transition. */
.ai-intro-stack {
  position: relative;
}

.ai-intro-stack__hero {
  position: sticky;
  top: 4rem;
  z-index: 0;
  background: var(--background);
}

/* On the unified home, the existing opening scene replaces the old AI hero.
   It remains behind the Tetris section until the second scene takes over. */
.page--home .ai-intro-stack__hero {
  position: sticky;
  top: 0;
  min-height: 100svh;
}

.ai-intro-stack__details {
  position: relative;
  z-index: 1;
  min-height: 300svh;
  box-shadow: 0 -1rem 2rem -1.75rem rgb(44 44 44 / 28%);
}

/* ── AI manifesto scene ── */

.ai-tetris {
  --tetris-intro-x: 0vw;
  --tetris-intro-y: 0vh;
  --tetris-intro-scale: 1;
  --tetris-arena-opacity: 1;
  --unit: clamp(1.5rem, 2.55vw, 2.6rem);
  --tetris-board-right: calc(26% - 5 * var(--unit));
  --tetris-board-bottom: 41%;
  position: relative;
  width: 100%;
}

.ai-tetris {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100svh;
  align-items: center;
}

.ai-tetris > .section-title,
.ai-tetris > .section-sub,
.ai-tetris > .compare {
  display: none;
}

.ai-tetris__scene {
  position: relative;
  width: 100%;
  min-height: min(42rem, calc(100svh - 8rem));
  overflow: hidden;
}

.ai-tetris__intro {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  width: min(33rem, 46%);
  padding: 1.25rem 2rem 1.25rem 0;
  color: var(--anthracite);
  text-align: left;
  opacity: var(--step-opacity, 1);
  background: linear-gradient(90deg, var(--off-white) 0%, rgb(248 248 248 / 96%) 80%, transparent 100%);
  transform: translate3d(calc(-50% + var(--tetris-intro-x)), calc(-50% + var(--tetris-intro-y)), 0) scale(var(--tetris-intro-scale));
  transform-origin: left center;
  will-change: transform, opacity;
}

.ai-tetris__kicker {
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--anthracite-light);
}

.ai-tetris__intro h2 {
  max-width: 31rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.85vw, 3.05rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: pretty;
}

/* Each word resolves from graphite grey while its statement holds the scene. */
.ai-tetris [data-tetris-word] {
  color: #858581;
  transition: color 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-tetris [data-tetris-word].is-revealed {
  color: var(--anthracite);
}

/* Statements after the opening one share the same left-hand reading column. */
.ai-tetris__line {
  position: absolute;
  z-index: 7;
  top: 50%;
  left: 0;
  width: min(33rem, 46%);
  max-width: 31rem;
  margin: 0;
  padding-right: 2rem;
  color: var(--anthracite);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.85vw, 3.05rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: pretty;
  opacity: var(--step-opacity, 0);
  pointer-events: none;
  transform: translate3d(0, calc(-50% + var(--step-y, 0px)), 0);
  will-change: transform, opacity;
}

.ai-tetris__arena {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: var(--tetris-arena-opacity);
  background-image:
    linear-gradient(rgb(44 44 44 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(44 44 44 / 7%) 1px, transparent 1px);
  background-position: right var(--tetris-board-right) bottom var(--tetris-board-bottom);
  background-size: var(--unit) var(--unit);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 37%, #000 48%, #000 100%);
  will-change: opacity;
}

/* One pixel symbol per statement, living in the field beside the copy. */
.ai-tetris__glyphs {
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 10%;
  width: min(15rem, 26%);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.ai-tetris__glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: var(--glyph-opacity, 0);
  transform: translate3d(0, var(--glyph-y, 0px), 0) scale(var(--glyph-scale, 1));
  will-change: transform, opacity;
}

.ai-tetris__glyph svg {
  width: 100%;
  height: 100%;
  /* Parts that travel in or out of frame must not be clipped mid-animation. */
  overflow: visible;
  fill: var(--anthracite);
  shape-rendering: crispEdges;
}

.ai-tetris__glyph-cut {
  fill: var(--off-white);
}

/* Each symbol plays its own micro-story on --glyph-phase, which runs 0 → 1
   while the matching statement holds the scene. */

/* Smoke keeps rising and the gear keeps turning: the plant is running. */
.ai-tetris__glyph .g-puff {
  --local: clamp(0, calc((var(--glyph-phase, 0) - var(--delay, 0)) / 0.5), 1);
  opacity: min(1, calc(var(--local) * 5), calc((1 - var(--local)) * 5));
  transform: translate(calc(var(--local) * 5px), calc(var(--local) * -16px));
}

.ai-tetris__glyph .g-puff--b {
  --delay: 0.25;
}

.ai-tetris__glyph .g-puff--c {
  --delay: 0.5;
}

.ai-tetris__glyph .g-gear {
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(calc(var(--glyph-phase, 0) * 150deg));
}

/* The two founders walk in, then build the stack between them. */
.ai-tetris__glyph .g-figure {
  --local: clamp(0, calc((var(--glyph-phase, 0) - var(--delay, 0)) / 0.34), 1);
  opacity: min(1, calc(var(--local) * 2.5));
  transform: translateX(calc((1 - var(--local)) * var(--from, -18px)));
}

.ai-tetris__glyph .g-figure--right {
  --from: 18px;
  --delay: 0.12;
}

.ai-tetris__glyph .g-block {
  transform-box: fill-box;
  transform-origin: bottom;
  transform: scaleY(clamp(0, calc((var(--glyph-phase, 0) - var(--delay, 0.46)) / 0.13), 1));
}

.ai-tetris__glyph .g-block--b {
  --delay: 0.61;
}

.ai-tetris__glyph .g-block--c {
  --delay: 0.76;
  fill: var(--accent);
}

/* Scattered systems settle in one by one, then the core comes alive. */
.ai-tetris__glyph .g-node {
  --local: clamp(0, calc((var(--glyph-phase, 0) - var(--delay, 0)) / 0.28), 1);
  opacity: var(--local);
  transform: translate(calc((1 - var(--local)) * var(--dx, -7px)), calc((1 - var(--local)) * var(--dy, -7px)));
}

.ai-tetris__glyph .g-node--tr {
  --dx: 7px;
  --delay: 0.09;
}

.ai-tetris__glyph .g-node--bl {
  --dy: 7px;
  --delay: 0.18;
}

.ai-tetris__glyph .g-node--br {
  --dx: 7px;
  --dy: 7px;
  --delay: 0.27;
}

.ai-tetris__glyph .g-link {
  opacity: clamp(0, calc((var(--glyph-phase, 0) - 0.5) / 0.12), 1);
}

.ai-tetris__glyph .g-link--in {
  opacity: clamp(0, calc((var(--glyph-phase, 0) - 0.64) / 0.12), 1);
}

.ai-tetris__glyph .g-core {
  fill: var(--accent);
  opacity: clamp(0, calc((var(--glyph-phase, 0) - 0.8) / 0.14), 1);
  filter: drop-shadow(0 0 5px rgb(var(--accent-rgb) / 28%));
}

/* The light goes out: rays fade one by one, then the glass empties. */
.ai-tetris__glyph .g-ray {
  fill: var(--accent);
  opacity: calc(1 - clamp(0, calc((var(--glyph-phase, 0) - var(--delay, 0.04)) / 0.12), 1));
}

.ai-tetris__glyph .g-ray--b { --delay: 0.1; }
.ai-tetris__glyph .g-ray--c { --delay: 0.16; }
.ai-tetris__glyph .g-ray--d { --delay: 0.22; }
.ai-tetris__glyph .g-ray--e { --delay: 0.28; }
.ai-tetris__glyph .g-ray--f { --delay: 0.34; }
.ai-tetris__glyph .g-ray--g { --delay: 0.4; }
.ai-tetris__glyph .g-ray--h { --delay: 0.46; }

.ai-tetris__glyph .g-glow {
  fill: var(--accent);
  opacity: calc(1 - clamp(0, calc((var(--glyph-phase, 0) - 0.5) / 0.26), 1));
  filter: drop-shadow(0 0 7px rgb(var(--accent-rgb) / 24%));
}

.ai-tetris__glyph .g-bulb {
  --bulb-off: clamp(0, calc((var(--glyph-phase, 0) - 0.55) / 0.38), 1);
  fill: color-mix(in srgb, var(--accent) calc((1 - var(--bulb-off)) * 100%), #000);
}

@media (max-width: 767px) {
  .ai-tetris {
    --unit: clamp(1.45rem, 8.3vw, 2rem);
    --tetris-board-right: calc(50% - 5 * var(--unit));
    --tetris-board-bottom: 24%;
    --tetris-copy-top: 6.75rem;
  }
  .ai-tetris__scene { min-height: calc(100svh - 8rem); }
  .ai-tetris__intro {
    /* The copy begins in the visual centre, then JS carries it toward the
       reading position as the board enters. */
    top: var(--tetris-intro-top, 50%);
    left: 50%;
    width: calc(100% - 1.5rem);
    padding: 0 0 0.75rem;
    background: var(--off-white);
    transform: translate3d(calc(-50% + var(--tetris-intro-x)), calc(-50% + var(--tetris-intro-y)), 0) scale(var(--tetris-intro-scale));
    transform-origin: left top;
  }
  .ai-tetris__intro h2 { max-width: none; font-size: clamp(1.78rem, 7.2vw, 2.45rem); }
  .ai-tetris__kicker { margin-bottom: 0.65rem; }
  .ai-tetris__arena { background-position: right var(--tetris-board-right) bottom var(--tetris-board-bottom); background-size: var(--unit) var(--unit); mask-image: linear-gradient(180deg, transparent 0%, transparent 22%, #000 36%, #000 100%); }
  .ai-tetris__line {
    top: var(--tetris-copy-top);
    left: 0;
    width: calc(100% - 1.5rem);
    max-width: none;
    padding-right: 0;
    font-size: clamp(1.78rem, 7.2vw, 2.45rem);
    transform: translateY(var(--step-y, 0px));
  }
  .ai-tetris__glyphs {
    top: auto;
    right: 50%;
    bottom: 30%;
    width: min(11.5rem, 48%);
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Without scroll motion the statements simply stack and stay readable. */
  .ai-intro-stack__details {
    min-height: 0;
  }

  .ai-tetris {
    position: static;
    min-height: 0;
  }

  .ai-tetris__scene {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    min-height: 0;
    overflow: visible;
  }

  .ai-tetris__intro,
  .ai-tetris__line {
    position: static;
    width: auto;
    max-width: 34rem;
    padding: 0;
    background: none;
    opacity: 1;
    transform: none;
  }

  .ai-tetris [data-tetris-word] {
    color: var(--anthracite);
    transition: none;
  }

  .ai-tetris__glyphs {
    display: none;
  }
}

@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }

  .section--lg {
    padding-top: 6rem;
    padding-bottom: 7rem;
  }
}

.border-t {
  border-top: 1px solid var(--border);
}

.bg-off {
  background: var(--off-white);
}

.bg-dark {
  background: var(--anthracite);
}

/* ── Navbar ── */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 0.75rem 0.75rem 0;
  transition: all 0.3s;
}

@media (min-width: 768px) {
  .site-header {
    padding-inline: 1.5rem;
  }
}

.nav-bar {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  display: flex;
  height: 4rem;
  max-width: 72rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: 0;
  transition: all 0.3s;
}

.nav-bar.is-solid {
  background: transparent;
  box-shadow: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  padding: 0.625rem 0;
}

.nav-logo img {
  height: 2.25rem;
  width: 6rem;
  object-fit: cover;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: var(--muted);
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.nav-desktop a:hover {
  background: rgb(255 255 255 / 70%);
  color: var(--foreground);
}

.nav-desktop a.is-active {
  background: #fff;
  font-weight: 600;
  color: var(--foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--accent);
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--anthracite);
  white-space: nowrap;
  transition: box-shadow 0.2s, filter 0.2s, transform 0.2s;
}

.nav-call:hover {
  filter: brightness(0.96);
  box-shadow: 0 0.35rem 1rem rgb(var(--accent-rgb) / 22%);
  transform: translateY(-1px);
}

.nav-call:focus-visible {
  outline: 3px solid rgb(var(--accent-rgb) / 38%);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .nav-call {
    margin-left: auto;
    margin-right: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

.nav-toggle {
  position: relative;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  place-content: center;
  padding: 0;
  margin-right: -0.25rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1rem;
  height: 1px;
  background: var(--anthracite);
  transition: background-color 0.25s ease, transform 0.3s ease, opacity 0.25s ease;
  transform: translate(-50%, -50%);
  transform-origin: center;
}

.nav-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 0.28rem));
}

.nav-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 0.28rem));
}

.nav-toggle.is-open {
  background: var(--anthracite);
}

.nav-toggle.is-open span {
  background: #fff;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.bubble-menu {
  position: absolute;
  z-index: 0;
  top: calc(100% + 0.4rem);
  right: 0.75rem;
  width: min(19rem, calc(100vw - 1.5rem));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  visibility: hidden;
}

.bubble-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.bubble-menu__backdrop {
  display: none;
}

.bubble-menu__items {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.bubble-menu__link {
  display: inline-flex;
  min-height: 3.85rem;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  border: 1px solid rgb(44 44 44 / 14%);
  border-radius: 999px;
  padding: 0.75rem 1.25rem 0.75rem 1.5rem;
  background: #fff;
  box-shadow: 0 0.65rem 1.65rem rgb(44 44 44 / 12%);
  color: var(--anthracite);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 6.2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
  opacity: 0;
  text-decoration: none;
  transform: translateY(2.25rem) rotate(var(--bubble-rotation)) scale(0.2);
  transform-origin: 50% 50%;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.22s ease,
    box-shadow 0.2s ease;
}

.bubble-menu.is-open .bubble-menu__link {
  opacity: 1;
  transform: translateY(0) rotate(var(--bubble-rotation)) scale(1);
}

.bubble-menu.is-open .bubble-menu__link:nth-child(1) { transition-delay: 0.02s; }
.bubble-menu.is-open .bubble-menu__link:nth-child(2) { transition-delay: 0.14s; }
.bubble-menu.is-open .bubble-menu__link:nth-child(3) { transition-delay: 0.26s; }
.bubble-menu.is-open .bubble-menu__link:nth-child(4) { transition-delay: 0.38s; }
.bubble-menu.is-open .bubble-menu__link:nth-child(5) { transition-delay: 0.5s; }

.bubble-menu__link small {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0;
}

.bubble-menu__link:focus-visible {
  outline: 3px solid rgb(44 44 44 / 28%);
  outline-offset: 0.3rem;
}

@media (hover: hover) {
  .bubble-menu__link:hover {
    box-shadow: 0 0.9rem 1.9rem rgb(44 44 44 / 18%);
  }
}

.bubble-menu__link:active {
  box-shadow: 0 0.35rem 0.9rem rgb(44 44 44 / 13%);
  transform: translateY(0.12rem) rotate(var(--bubble-rotation)) scale(0.98);
}

@media (min-width: 768px) {
  .bubble-menu {
    display: none;
  }
}

/* ── Call nudge ── */

.call-nudge {
  --call-nudge-rotation: -6deg;
  position: fixed;
  z-index: 60;
  top: 4.65rem;
  left: 0.5rem;
  right: 0.5rem;
  width: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  border: 1px solid rgb(44 44 44 / 15%);
  border-radius: 1.5rem;
  padding: 0.9rem 0.95rem 0.9rem 1.05rem;
  background: #fff;
  box-shadow: 0 0.65rem 1.5rem rgb(44 44 44 / 14%);
  color: var(--anthracite);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.75rem) rotate(var(--call-nudge-rotation)) scale(0.96);
  transform-origin: 50% 50%;
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.22s ease;
}

.call-nudge.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) rotate(var(--call-nudge-rotation)) scale(1);
}

.call-nudge--cases {
  --call-nudge-rotation: 5deg;
}

.call-nudge__content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.call-nudge__mark {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  image-rendering: pixelated;
}

.call-nudge p {
  min-width: 0;
  max-width: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.call-nudge--cases p {
  max-width: 13rem;
}

.call-nudge__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 0;
}

.call-nudge__cta,
.call-nudge__dismiss {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.call-nudge__cta {
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  background: var(--anthracite);
  color: #fff;
}

.call-nudge__cta svg {
  display: none;
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.call-nudge__dismiss {
  border: 1px solid rgb(44 44 44 / 20%);
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: var(--anthracite);
  cursor: pointer;
}

.call-nudge__cta:hover,
.call-nudge__dismiss:hover {
  transform: translateY(-2px);
}

.call-nudge__cta:hover {
  background: var(--anthracite-light);
}

.call-nudge__dismiss:hover {
  background: var(--muted);
}

.call-nudge__cta:focus-visible,
.call-nudge__dismiss:focus-visible {
  outline: 3px solid rgb(44 44 44 / 28%);
  outline-offset: 3px;
}

@media (min-width: 768px) {
  .call-nudge {
    top: 6rem;
    left: 2rem;
    right: auto;
    width: 20.5rem;
    display: block;
    border-radius: 2.35rem;
    padding: 1.15rem 1.25rem 1.1rem;
    box-shadow: 0 1.15rem 2.6rem rgb(44 44 44 / 17%);
    transform: translateY(2.25rem) rotate(var(--call-nudge-rotation)) scale(0.2);
    transform-origin: 50% 50%;
  }

  .call-nudge.is-visible {
    transform: translateY(0) rotate(var(--call-nudge-rotation)) scale(1);
  }

  .call-nudge p {
    max-width: 17rem;
    font-size: clamp(0.98rem, 1.35vw, 1.1rem);
    letter-spacing: -0.03em;
    line-height: 1.25;
  }

  .call-nudge--cases p {
    max-width: 13.25rem;
  }

  .call-nudge__mark {
    width: 3.75rem;
    height: 3.75rem;
  }

  .call-nudge__actions {
    justify-content: flex-start;
    gap: 0.55rem;
    margin-top: 0.85rem;
    margin-left: 0;
  }

  .call-nudge__cta,
  .call-nudge__dismiss {
    min-height: 2.5rem;
    font-size: 0.72rem;
  }

  .call-nudge__cta {
    gap: 0.42rem;
    padding: 0.7rem 0.9rem 0.7rem 1rem;
  }

  .call-nudge__cta svg {
    display: block;
  }

  .call-nudge__dismiss {
    padding: 0.7rem 0.92rem;
  }
}

/* ── Home ── */

.home-scroll {
  height: 100svh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  .home-scroll {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }
}

.home-hero {
  display: flex;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 0;
}

@media (min-width: 768px) {
  .home-hero {
    height: auto;
    min-height: 40vh;
    gap: 2rem;
    padding: 7rem 2rem 2rem;
  }
}

.home-hero__inner {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .home-hero__inner {
    flex: none;
    gap: 0.75rem;
  }
}

.home-logo {
  height: 8rem;
  width: 18rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .home-logo {
    width: 20rem;
  }
}

@media (min-width: 768px) {
  .home-logo {
    height: 10rem;
    width: 25rem;
  }
}

@media (min-width: 1024px) {
  .home-logo {
    width: 29rem;
  }
}

.home-title {
  max-width: 32rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.625;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .home-title {
    font-size: 1.25rem;
  }
}

.scroll-hint {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s, background 0.2s;
}

.scroll-hint:hover {
  background: var(--muted);
  color: var(--foreground);
}

@media (min-width: 768px) {
  .scroll-hint {
    display: none;
  }
}

.scroll-hint svg {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-15%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.services {
  display: flex;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  align-items: center;
  padding: 5rem 1.25rem;
}

@media (min-width: 768px) {
  .services {
    height: auto;
    min-height: 52vh;
    padding: 0 2rem 6rem;
  }
}

.services__grid {
  margin-inline: auto;
  display: grid;
  width: 100%;
  max-width: 72rem;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: 2fr 1fr;
  }
}

.service-card {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.75rem;
  box-shadow: 0 2px 16px rgba(44, 44, 44, 0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card > :not(.pixel-card__canvas) {
  position: relative;
  z-index: 1;
}

.pixel-card__canvas {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
}

.service-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(circle at center, rgba(44, 44, 44, 0.14), transparent 76%);
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.5, 1, 0.89, 1);
  pointer-events: none;
}

.service-card:hover::before,
.service-card:focus-visible::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(44, 44, 44, 0.12);
}

@media (min-width: 768px) {
  .service-card {
    min-height: 18rem;
    padding: 2.25rem;
  }
}

.service-card__eyebrow {
  width: fit-content;
  border-radius: 999px;
  background: var(--muted);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}

.service-card__title {
  font-family: var(--font-display);
  margin-top: 1rem;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .service-card__title {
    font-size: 2.25rem;
  }
}

.service-card__desc {
  margin-top: 1rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.service-card__cta {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 600;
}

.service-card__arrow {
  display: flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--foreground);
  color: #fff;
  transition: transform 0.3s;
}

.service-card:hover .service-card__arrow {
  transform: translateX(4px);
}

.service-card--primary {
  border-color: var(--anthracite);
}

@media (min-width: 768px) {
  .service-card--primary {
    min-height: 22rem;
  }

  .service-card--primary .service-card__title {
    font-size: 2.75rem;
  }
}

.home-footer-wrap {
  padding-top: 0;
}

@media (min-width: 768px) {
  .home-footer-wrap {
    padding-top: 4rem;
  }
}

/* ── Page hero ── */

.page-hero {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
}

.page-hero--center {
  margin-inline: auto;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 48rem;
  gap: 1.5rem;
}

.page-hero--center > * {
  min-width: 0;
  max-width: 100%;
}

.page-hero__logo {
  height: 5.75rem;
  width: min(19rem, 100%);
  object-fit: cover;
}

@media (min-width: 768px) {
  .page-hero__logo {
    height: 8rem;
    width: min(32rem, 100%);
  }
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.page-hero h1 {
  font-size: clamp(1.85rem, 8vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3rem;
  }

  .page-hero--center h1 {
    font-size: 3.75rem;
  }
}

.lede {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
  max-width: 32rem;
}

.page-hero--center .lede {
  max-width: 36rem;
}

.page-hero__payoff {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.8vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--anthracite);
}

/* ── Home intro ── */

.home-intro {
  position: relative;
  display: flex;
  max-width: none;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.home-intro .page-hero {
  position: relative;
  z-index: 1;
  width: min(100%, 48rem);
  padding-inline: 0.25rem;
}

.home-intro__field {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 1;
}

.faulty-terminal-container,
.faulty-terminal-container canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.faulty-terminal-container {
  overflow: hidden;
}

.faulty-terminal-container canvas {
  display: block;
}

/* ── Stats ── */

.stats {
  margin-top: 2rem;
  margin-inline: auto;
  display: grid;
  max-width: 64rem;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.stat {
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .stat {
    padding: 1.5rem;
  }
}

.stat__value {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.stat__label {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.stat__detail {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.stat__detail--stars {
  color: var(--foreground);
  letter-spacing: 0.16em;
}

/* ── Cards / compare ── */

.compare {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.panel--dark {
  border-color: var(--anthracite);
  background: var(--anthracite);
}

.panel__label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.panel--dark .checklist li {
  color: #fff;
}

.checklist svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.icon-muted {
  color: #ccc;
}

.icon-white {
  color: #fff;
}

/* ── Section titles ── */

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-title--sm {
  margin-bottom: 1rem;
}

.section-title--hero {
  font-size: 2.25rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section-title--hero {
    font-size: 3.75rem;
  }
}

.section-sub {
  margin-inline: auto;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ── Hero reviews (siti-web) ── */

.hero-reviews {
  width: min(640px, 100%);
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  min-height: 214px;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 18px 20px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.hero-reviews__kicker {
  margin: 0 0 14px;
  color: var(--muted-foreground);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.hero-reviews__body {
  position: relative;
  flex: 1;
  min-height: 132px;
}

.hero-review {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0 6px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-review.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-review__stars {
  margin-bottom: 12px;
  color: var(--anthracite);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.hero-review blockquote {
  margin: 0;
  color: var(--foreground);
  font-size: 15px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 500;
}

.hero-review figcaption {
  margin-top: 14px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 600;
}

.hero-reviews__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.hero-reviews__dots span {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-reviews__dots span.is-active {
  width: 28px;
  background: var(--anthracite);
}

/* ── Portfolio carousel (v-2.1 dimensions) ── */

.portfolio-carousel {
  position: relative;
  margin: 0 -1.5rem;
  padding: 4px 1.5rem 18px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(44, 44, 44, 0.22) transparent;
}

.portfolio-carousel::-webkit-scrollbar {
  height: 6px;
}

.portfolio-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(44, 44, 44, 0.22);
}

.portfolio-track {
  display: flex;
  gap: 12px;
  width: max-content;
  padding-right: 20px;
}

@media (min-width: 900px) {
  .portfolio-carousel:has(.portfolio-track--three) {
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .portfolio-track--three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    max-width: none;
    padding-right: 0;
    gap: 1rem;
  }

  .portfolio-track--three .portfolio-card {
    flex: none;
    width: auto;
    min-width: 0;
  }
}

.portfolio-card {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 44, 44, 0.1);
}

.portfolio-preview {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #f0f0f0;
}

.portfolio-preview iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 900px;
  border: 0;
  transform: translateX(-50%) scale(0.24);
  transform-origin: top center;
  pointer-events: none;
  background: #fff;
}

.portfolio-meta {
  padding: 18px 20px 20px;
}

.portfolio-meta strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}

.portfolio-meta span {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.4;
}

/* ── Cases / products ── */

.automation-accordion {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  height: 34rem;
  margin-top: 2.5rem;
  contain: layout paint;
}

.automation-accordion__panel {
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #dcdcdc;
  border-radius: 1.25rem;
  padding: 1.25rem;
  background: #f5f5f4;
  color: var(--anthracite);
  cursor: pointer;
  outline: none;
  transition:
    flex-grow 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.45s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.automation-accordion__panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(44 44 44 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(44 44 44 / 5%) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.8;
  transition: opacity 0.45s ease;
}

.automation-accordion__panel.is-active {
  flex-grow: 4.6;
  border-color: var(--anthracite);
  background: var(--anthracite);
  color: #fff;
}

.automation-accordion__panel.is-active::before {
  opacity: 0.18;
}

.automation-accordion__panel:focus-visible {
  box-shadow: 0 0 0 3px rgb(44 44 44 / 22%);
}

.automation-accordion__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.automation-accordion__top span:first-child {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.625rem;
  letter-spacing: 0;
}

.automation-accordion__panel.is-active .automation-accordion__top span:first-child {
  border-color: #000;
  background: #000;
  color: #fff;
  box-shadow: none;
}

.automation-accordion__top span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.automation-accordion__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: auto 0 1.25rem;
  flex: 0 0 auto;
  fill: currentColor;
  shape-rendering: crispEdges;
  transition:
    width 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1);
}

.automation-accordion__icon-cutout {
  fill: #f5f5f4;
}

.automation-accordion__panel.is-active .automation-accordion__icon-cutout {
  fill: var(--anthracite);
}

.automation-accordion__panel.is-active .automation-accordion__icon {
  width: 6.5rem;
  height: 6.5rem;
  transform: translateX(0.25rem);
}

/* Each active case reveals one yellow operational detail; the selected state
   stays otherwise monochrome and its numbered circle remains black. */
.automation-accordion__panel.is-active:nth-child(1) .automation-accordion__icon rect:nth-of-type(3),
.automation-accordion__panel.is-active:nth-child(2) .automation-accordion__icon rect:nth-of-type(3),
.automation-accordion__panel.is-active:nth-child(3) .automation-accordion__icon rect:nth-of-type(7),
.automation-accordion__panel.is-active:nth-child(4) .automation-accordion__icon rect:nth-of-type(3),
.automation-accordion__panel.is-active:nth-child(5) .automation-accordion__icon rect:nth-of-type(8),
.automation-accordion__panel.is-active:nth-child(6) .automation-accordion__icon rect:nth-of-type(6) {
  fill: var(--accent);
}

.automation-accordion__content {
  width: min(26rem, 100%);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(1rem);
  transition:
    max-height 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.automation-accordion__panel.is-active .automation-accordion__content {
  max-height: 22rem;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.12s;
}

.automation-accordion__label {
  margin-bottom: 0.7rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.68;
}

.automation-accordion__content h3 {
  max-width: 24rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.automation-accordion__content h3 + p {
  margin-top: 0.75rem;
  max-width: 25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.72;
}

.automation-accordion__result {
  margin-top: 0.75rem;
  max-width: 25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  opacity: 0.95;
}

.automation-accordion__result strong {
  font-weight: 700;
}

@media (max-width: 767px) {
  .automation-accordion {
    flex-direction: column;
    height: auto;
    gap: 0.75rem;
  }

  .automation-accordion__panel {
    flex: 0 0 auto;
    height: 4.75rem;
    min-height: 4.75rem;
    max-height: none;
    padding: 1rem;
    transition:
      height 0.62s cubic-bezier(0.16, 1, 0.3, 1),
      padding-bottom 0.62s cubic-bezier(0.16, 1, 0.3, 1),
      background-color 0.45s ease,
      color 0.3s ease,
      border-color 0.3s ease;
  }

  .automation-accordion__panel.is-active {
    flex-grow: 0;
    height: var(--accordion-expanded-height, auto);
    padding-bottom: 7rem;
  }

  .automation-accordion__top {
    justify-content: flex-start;
  }

  .automation-accordion__top span:last-child {
    margin-left: 0.7rem;
    margin-right: auto;
  }

  .automation-accordion__icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    bottom: auto;
    margin: 0;
    width: 3rem;
    height: 3rem;
    transform: translateY(-50%);
  }

  .automation-accordion__panel.is-active .automation-accordion__icon {
    right: 1.25rem;
    top: auto;
    bottom: 1.25rem;
    width: 4.5rem;
    height: 4.5rem;
    transform: none;
  }

  .automation-accordion__content {
    min-height: 0;
    max-height: none;
    padding: 0;
  }

  .automation-accordion__panel.is-active .automation-accordion__content {
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .automation-accordion__panel,
  .automation-accordion__panel::before,
  .automation-accordion__icon,
  .automation-accordion__content {
    transition: none;
  }
}

.cases-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .product-card--grid {
    padding: 2rem;
  }
}

.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag-soft {
  border-radius: 999px;
  background: #f0f0f0;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
}

.product-card__body {
  margin-top: 2rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
}

.product-card__body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.product-card__body p {
  font-size: 0.875rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

/* ── Workflow (metodo, v-2.1 sizing) ── */

.scroll-stack {
  position: relative;
  margin-top: 2.5rem;
  padding-bottom: 13vh;
}

.scroll-stack__card {
  --stack-scale: 1;
  --stack-opacity: 1;
  position: sticky;
  top: 7rem;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(7rem, 0.35fr) 1fr;
  grid-template-rows: auto 1fr;
  column-gap: clamp(1.5rem, 5vw, 5rem);
  min-height: 21rem;
  margin-bottom: 15vh;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fafafa;
  color: var(--anthracite);
  box-shadow: 0 20px 50px -42px rgb(0 0 0 / 55%);
  opacity: var(--stack-opacity);
  transform: translate3d(0, var(--stack-offset, 0px), 0) scale(var(--stack-scale));
  transform-origin: top center;
  transition:
    transform 0.16s linear,
    opacity 0.16s linear,
    box-shadow 0.3s ease;
  will-change: transform, opacity;
}

.scroll-stack__card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(44 44 44 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(44 44 44 / 5%) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
}

.scroll-stack__card:nth-child(2) {
  top: 7.9rem;
  z-index: 2;
  background: #e6e6e2;
}

.scroll-stack__card:nth-child(3) {
  top: 8.8rem;
  z-index: 3;
  background: #c9c9c3;
}

.scroll-stack__card:nth-child(4) {
  top: 9.7rem;
  z-index: 4;
  border-color: var(--anthracite);
  background: var(--anthracite);
  color: #fff;
}

.scroll-stack__card:nth-child(4)::before {
  background-image:
    linear-gradient(rgb(255 255 255 / 9%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 9%) 1px, transparent 1px);
}

.scroll-stack__card:nth-child(5) {
  top: 10.6rem;
  z-index: 5;
  border-color: var(--border);
  background: #fff;
  color: var(--anthracite);
}

.scroll-stack__card:nth-child(5)::before {
  background-image: none;
}

.scroll-stack__card--cta {
  grid-template-columns: 1fr;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.16s linear,
    opacity 0.16s linear,
    box-shadow 0.3s ease;
}

.scroll-stack__card--cta > :not(.pixel-card__canvas) {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.scroll-stack__card--cta:focus-visible {
  outline: 2px solid var(--anthracite);
  outline-offset: 0.3rem;
}

.scroll-stack__content--cta {
  width: min(47rem, 100%);
  max-width: none;
}

.scroll-stack__cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  font-size: clamp(2rem, 5vw, 4.75rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.06em;
  text-decoration: none;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.scroll-stack__cta svg {
  width: 0.72em;
  height: 0.72em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.25s ease;
}

.scroll-stack__card--cta:hover .scroll-stack__cta {
  opacity: 0.72;
}

.scroll-stack__card--cta:hover .scroll-stack__cta svg {
  transform: translateX(0.16em);
}

.scroll-stack__card:last-child {
  margin-bottom: 0;
}

.scroll-stack__meta {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.scroll-stack__meta span:first-child {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  letter-spacing: 0;
}

.scroll-stack__icon {
  width: min(7rem, 100%);
  align-self: center;
  justify-self: center;
  fill: currentColor;
  shape-rendering: crispEdges;
}

.scroll-stack__card:nth-child(1) .scroll-stack__icon rect:nth-child(6),
.scroll-stack__card:nth-child(2) .scroll-stack__icon rect:nth-child(9),
.scroll-stack__card:nth-child(3) .scroll-stack__icon rect:nth-child(3),
.scroll-stack__card:nth-child(4) .scroll-stack__icon rect:nth-child(4) {
  fill: var(--accent);
}

.scroll-stack__content {
  align-self: center;
  max-width: 41rem;
}

.scroll-stack__eyebrow {
  margin-bottom: 0.8rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0.6;
}

.scroll-stack__content h3 {
  max-width: 34rem;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.scroll-stack__content h3 + p {
  max-width: 37rem;
  margin-top: 1rem;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  opacity: 0.7;
}

@media (max-width: 767px) {
  .scroll-stack {
    padding-bottom: 13svh;
  }

  .scroll-stack__card,
  .scroll-stack__card:nth-child(n) {
    position: sticky;
    top: 5rem;
    display: block;
    min-height: min(31rem, calc(100svh - 6.5rem));
    margin-bottom: min(38svh, 18rem);
  }

  .scroll-stack__card:nth-child(2) {
    top: 5.55rem;
  }

  .scroll-stack__card:nth-child(3) {
    top: 6.1rem;
  }

  .scroll-stack__card:nth-child(4) {
    top: 6.65rem;
  }

  .scroll-stack__card:nth-child(5) {
    top: 7.2rem;
  }

  .scroll-stack__card:last-child {
    margin-bottom: 0;
  }

  .scroll-stack__icon {
    display: block;
    width: 4.5rem;
    margin: 3.5rem 0 1.5rem;
  }

  .scroll-stack__cta {
    gap: 0.7rem;
    font-size: clamp(1.85rem, 10vw, 2.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-stack__card {
    transition: none;
  }
}

.workflow-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .workflow-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

.workflow-step {
  min-height: 190px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.workflow-step__index {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--off-white);
  color: var(--anthracite);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.workflow-step p {
  margin: 0;
  color: var(--anthracite-light);
  font-size: 13px;
  line-height: 1.55;
}

/* ── Pricing ── */

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

@media (min-width: 768px) {
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .pricing--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .price-card {
    padding: 2.5rem;
  }
}

.price-card--featured {
  border-color: var(--anthracite);
  background: var(--anthracite);
}

.price-card__amount {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.price-card__amount--quote {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.price-card--featured .price-card__amount {
  color: #fff;
}

.price-card .checklist li {
  color: var(--anthracite-light);
}

.price-card--featured .checklist li {
  color: #aaa;
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.btn--primary {
  background: var(--anthracite);
  color: #fff;
}

.btn--primary:hover {
  background: #3a3a3a;
}

.btn--outline {
  border: 1px solid var(--anthracite);
  background: transparent;
  color: var(--anthracite);
}

.btn--outline:hover {
  background: var(--anthracite);
  color: #fff;
}

.center {
  display: flex;
  justify-content: center;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.pt-8 {
  padding-top: 2rem;
}

/* ── Forms ── */

.form-wrap {
  position: relative;
  margin-inline: auto;
  max-width: 36rem;
  text-align: center;
}

.form-content {
  transition:
    opacity 0.42s ease,
    transform 0.56s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.42s ease;
}

.form-content.is-leaving {
  position: absolute;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-1.5rem) scale(0.975);
  filter: blur(0.35rem);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.field label {
  font-size: 0.75rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #ccc;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--foreground);
  box-shadow: 0 0 0 3px rgb(44 44 44 / 8%);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--foreground) 50%), linear-gradient(135deg, var(--foreground) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.95rem) 50%;
  background-size: 0.3rem 0.3rem, 0.3rem 0.3rem;
  background-repeat: no-repeat;
  cursor: pointer;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.5;
}

.form .btn {
  margin-inline: auto;
  margin-top: 0.5rem;
}

.form .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-error {
  margin: 0;
  color: #a11c1c;
  font-size: 0.8125rem;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-success {
  position: relative;
  display: grid;
  min-height: 21rem;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.8fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid #393939;
  border-radius: 1.35rem;
  padding: clamp(2rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 0% 100%, rgb(255 194 31 / 16%), transparent 36%),
    linear-gradient(135deg, #303030 0%, #1c1c1c 100%);
  color: #fff;
  text-align: left;
  opacity: 0;
  transform: translateY(1.5rem) scale(0.96);
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 1.25rem 1.25rem;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 80%);
  pointer-events: none;
}

.form-success.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.form-success__copy {
  position: relative;
  z-index: 1;
}

.form-success__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #ffc21f;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-success__eyebrow::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0.25rem rgb(255 194 31 / 15%);
  content: "";
}

.form-success__copy > p {
  max-width: 18rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.form-success__detail {
  display: block;
  max-width: 18rem;
  margin-top: 1.25rem;
  color: rgb(255 255 255 / 62%);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.lanyard-confirmation {
  position: relative;
  z-index: 1;
  width: min(100%, 14rem);
  height: 15rem;
  justify-self: end;
  transform-origin: 50% 0;
  animation: lanyard-confirmation-swing 4.8s ease-in-out infinite;
}

.lanyard-confirmation__anchor {
  position: absolute;
  z-index: 3;
  top: 0.55rem;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  border: 0.28rem solid #1d1d1b;
  border-radius: 50%;
  background: #ffc21f;
  transform: translateX(-50%);
}

.lanyard-confirmation__strap {
  position: absolute;
  top: 1rem;
  left: calc(50% - 0.48rem);
  width: 0.96rem;
  height: 8.2rem;
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, #ffc21f 0 0.32rem, #e9ad00 0.32rem 0.64rem);
  box-shadow: 0.18rem 0.3rem 0.6rem rgb(0 0 0 / 28%);
  transform-origin: top center;
}

.lanyard-confirmation__clip {
  position: absolute;
  z-index: 2;
  top: 8.35rem;
  left: 50%;
  width: 1.65rem;
  height: 1.4rem;
  border: 0.28rem solid #a7a7a7;
  border-radius: 0.35rem 0.35rem 0.6rem 0.6rem;
  background: linear-gradient(135deg, #f3f3f3, #717171);
  transform: translateX(-50%);
}

.lanyard-confirmation__badge {
  position: absolute;
  top: 9.35rem;
  left: 50%;
  width: 8.6rem;
  height: 5.45rem;
  border-radius: 0.55rem;
  transform: translateX(-50%);
  transform-style: preserve-3d;
  animation: lanyard-confirmation-turn 7s ease-in-out infinite;
}

.lanyard-confirmation__badge-face {
  position: absolute;
  inset: 0;
  display: grid;
  overflow: hidden;
  border: 0.32rem solid #f0f0ed;
  border-radius: inherit;
  place-items: center;
  backface-visibility: hidden;
  box-shadow: 0 0.75rem 1.25rem rgb(0 0 0 / 32%);
}

.lanyard-confirmation__badge-face--front {
  background: #f4f4f0;
}

.lanyard-confirmation__badge-face--front img {
  width: 63%;
  height: 63%;
  object-fit: contain;
}

.lanyard-confirmation__badge-face--back {
  border-color: #ffc21f;
  background: #262626;
  color: #ffc21f;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.12em;
  transform: rotateY(180deg);
}

@keyframes lanyard-confirmation-swing {
  0%, 100% { transform: rotate(4deg); }
  50% { transform: rotate(-5deg); }
}

@keyframes lanyard-confirmation-turn {
  0%, 42%, 100% { transform: translateX(-50%) rotateY(0deg) rotateZ(2deg); }
  58%, 82% { transform: translateX(-50%) rotateY(180deg) rotateZ(-2deg); }
}

@media (max-width: 560px) {
  .form-success {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1rem;
    padding: 2.25rem 2rem 1.5rem;
    text-align: center;
  }

  .form-success__copy > p,
  .form-success__detail {
    margin-inline: auto;
  }

  .lanyard-confirmation {
    width: 11rem;
    height: 15rem;
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-content,
  .form-success {
    transition-duration: 0.01ms;
  }

  .lanyard-confirmation,
  .lanyard-confirmation__badge {
    animation: none;
  }
}

.hidden {
  display: none !important;
}

/* ── FAQ ── */

.faq-section {
  background: #fff;
}

.faq-section__inner {
  display: grid;
  gap: 3rem;
}

.faq-section__intro {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.faq-section__intro .section-title {
  margin: 0;
}

.faq-list {
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  border-top: 1px solid var(--foreground);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
  padding: 1.2rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-item__icon {
  position: relative;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  border: 1px solid var(--foreground);
  border-radius: 50%;
  transition: background-color 0.25s ease, transform 0.3s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 0.48rem;
  height: 1px;
  background: var(--foreground);
  transform: translate(-50%, -50%);
  transition: background-color 0.25s ease, transform 0.3s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon {
  background: var(--anthracite);
}

.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after {
  background: #fff;
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  display: block;
}

.faq-item__answer p {
  max-width: 39rem;
  padding-bottom: 1.55rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.faq-item summary:hover {
  color: var(--anthracite-light);
}

.faq-item summary:focus-visible {
  outline: 3px solid rgb(44 44 44 / 22%);
  outline-offset: -0.2rem;
}

/* ── Chi siamo (semplice) ── */

.about-simple {
  padding: 5rem 0 4rem;
}

@media (min-width: 768px) {
  .about-simple {
    padding: 7rem 0 6rem;
  }
}

.about-simple__intro {
  max-width: 40rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .about-simple__intro {
    margin-bottom: 5rem;
  }
}

.about-simple__title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.about-simple__lead {
  margin-top: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 34rem;
}

.about-founders {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2.5rem;
}

@media (min-width: 768px) {
  .about-founders {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    padding-top: 3.5rem;
  }
}

.about-founder__photo {
  display: block;
  width: 100%;
  max-width: 20rem;
  height: auto;
  aspect-ratio: 4 / 5;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--off-white);
  object-fit: cover;
}

.about-founder h2 {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.about-founder p:last-child {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 28rem;
}

/* ── Page enter + scroll reveal ── */

body {
  overflow-x: hidden;
}

body:not(.is-ready) .page > *:not(.site-header) {
  opacity: 0;
}

body.is-ready .page > *:not(.site-header) {
  animation: pageLift 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes pageLift {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* The delayed call banner has its own entrance, separate from page lift. */
body.is-ready .page > .call-nudge {
  animation: none;
}

.reveal {
  opacity: 0;
  transform: translateY(56px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal--left {
  transform: translateX(-48px) scale(0.96);
  filter: blur(10px);
}

.reveal--right {
  transform: translateX(48px) scale(0.96);
  filter: blur(10px);
}

.reveal--left.is-visible,
.reveal--right.is-visible {
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.reveal--scale {
  transform: translateY(40px) scale(0.9);
  filter: blur(12px);
}

.reveal--scale.is-visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal--intro {
  transform: translateY(40px);
  filter: blur(12px);
}

/* ── Footer ── */

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.site-footer__inner {
  max-width: 72rem;
  margin-inline: auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
  }
}

.site-footer p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.025em;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer a {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.025em;
  transition: color 0.2s;
}

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

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

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  body:not(.is-ready) .page > *:not(.site-header),
  body.is-ready .page > *:not(.site-header) {
    opacity: 1 !important;
    animation: none !important;
  }

  .call-nudge.is-visible {
    transform: translateY(0) rotate(var(--call-nudge-rotation)) scale(1) !important;
  }
}
