:root {
  color-scheme: dark;
  --night: #061119;
  --night-2: #0b1c27;
  --ink: #101820;
  --slate: #24313b;
  --slate-soft: #66727a;
  --ivory: #f7f1e8;
  --ivory-2: #fffaf1;
  --copper: #c9824b;
  --gold: #d6b46f;
  --sea: #8fbfc0;
  --line: rgba(255, 250, 241, 0.14);
  --glass: rgba(255, 250, 241, 0.08);
  --glass-strong: rgba(255, 250, 241, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --font-title: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ivory);
  background:
    linear-gradient(180deg, rgba(6, 17, 25, 0.96), rgba(10, 24, 32, 0.98) 48%, #061119),
    var(--night);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: 0.42;
  background:
    linear-gradient(rgba(255, 250, 241, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, black, transparent 92%);
}

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

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

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

::selection {
  background: rgba(201, 130, 75, 0.35);
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 0;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: var(--night);
  background: var(--ivory);
  border-radius: 999px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(12px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--ivory);
  background: linear-gradient(180deg, rgba(6, 17, 25, 0.76), rgba(6, 17, 25, 0.08));
  transition:
    background 300ms ease,
    border-color 300ms ease,
    backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 17, 25, 0.82);
  border-bottom: 1px solid rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(47, 232, 132, 0.28);
  border-radius: 12px;
  background:
    radial-gradient(circle at 40% 34%, rgba(47, 232, 132, 0.18), transparent 42%),
    rgba(255, 250, 241, 0.05);
  box-shadow: 0 0 28px rgba(47, 232, 132, 0.08);
}

.brand-symbol img {
  display: block;
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-size: 0.95rem;
  letter-spacing: 0;
}

.brand-mark small {
  margin-top: 2px;
  color: rgba(255, 250, 241, 0.62);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  color: rgba(255, 250, 241, 0.74);
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--copper);
  transition: transform 240ms var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ivory);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 50%;
  color: var(--ivory);
  background: rgba(255, 250, 241, 0.06);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(22px, 4vw, 70px);
  overflow: hidden;
  padding: calc(var(--header-h) + 42px) clamp(20px, 4vw, 64px) 48px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(80% 80% at 72% 46%, rgba(143, 191, 192, 0.18), transparent 62%),
    linear-gradient(125deg, rgba(6, 17, 25, 1) 0%, rgba(7, 23, 33, 0.92) 54%, #14232b 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--night));
}

.hero-copy {
  max-width: 660px;
  padding-top: 2vh;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span {
  color: rgba(255, 250, 241, 0.58);
  font-weight: 600;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-title);
  font-weight: 520;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.9rem, 5.7vw, 5.45rem);
  line-height: 0.98;
  max-width: 790px;
}

h2 {
  margin-bottom: 22px;
  color: var(--ivory-2);
  font-size: clamp(2rem, 4.15vw, 4.25rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.15;
}

p {
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.75;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 240ms var(--ease),
    border-color 240ms ease,
    background 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #111820;
  background: linear-gradient(135deg, var(--ivory-2), #e6c480 44%, var(--copper));
  box-shadow: 0 18px 38px rgba(201, 130, 75, 0.22);
}

.button-secondary {
  color: var(--ivory);
  border-color: rgba(255, 250, 241, 0.22);
  background: rgba(255, 250, 241, 0.055);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(214, 180, 111, 0.46);
  background: rgba(255, 250, 241, 0.1);
}

.location-note {
  max-width: 520px;
  color: rgba(255, 250, 241, 0.58);
  font-size: 0.92rem;
}

.hero-machine {
  position: relative;
  width: min(58vw, 760px);
  aspect-ratio: 1.04;
  justify-self: center;
  transform-style: preserve-3d;
  perspective: 1100px;
}

.machine-grid,
.assembly-blueprint {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 250, 241, 0.08);
  border-radius: 50%;
  background:
    linear-gradient(rgba(255, 250, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.04) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.72;
  animation: breathe 7s ease-in-out infinite;
}

.machine-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(214, 180, 111, 0.25);
  border-radius: 50%;
  transform: rotateX(60deg) rotateZ(-18deg);
  box-shadow: inset 0 0 80px rgba(143, 191, 192, 0.08);
}

.ring-two {
  inset: 24%;
  border-color: rgba(143, 191, 192, 0.26);
  transform: rotateX(62deg) rotateZ(24deg);
}

.machine-core,
.assembly-core,
.stack-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(138px, 16vw, 190px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(214, 180, 111, 0.42);
  border-radius: 50%;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.16), rgba(255, 250, 241, 0.035)),
    rgba(6, 17, 25, 0.72);
  box-shadow:
    inset 0 0 38px rgba(255, 250, 241, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.machine-core span,
.assembly-core span {
  display: block;
  font-family: var(--font-title);
  color: var(--ivory-2);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
}

.machine-core small,
.assembly-core small {
  max-width: 110px;
  color: rgba(255, 250, 241, 0.58);
  font-size: 0.72rem;
  line-height: 1.35;
}

.connection {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1px;
  width: 31%;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(214, 180, 111, 0.58), transparent);
  opacity: 0.48;
}

.c-one {
  transform: rotate(-34deg);
}

.c-two {
  transform: rotate(42deg);
}

.c-three {
  transform: rotate(146deg);
}

.c-four {
  transform: rotate(214deg);
}

.machine-module {
  position: absolute;
  width: clamp(144px, 16vw, 206px);
  min-height: 118px;
  padding: 16px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.14), rgba(255, 250, 241, 0.035)),
    rgba(8, 22, 31, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform:
    translate3d(
      calc(var(--mx, 0px) * var(--depth, 0.1)),
      calc(var(--my, 0px) * var(--depth, 0.1)),
      0
    )
    rotateX(3deg);
  animation: moduleFloat 8s ease-in-out infinite;
}

.machine-module strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ivory-2);
  font-size: 0.86rem;
  line-height: 1.25;
}

.module-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
}

.module-site {
  left: 0;
  top: 16%;
}

.module-shop {
  right: 2%;
  top: 8%;
  animation-delay: -1.4s;
}

.module-mobile {
  right: 0;
  bottom: 18%;
  width: clamp(120px, 13vw, 168px);
  animation-delay: -3s;
}

.module-admin {
  left: 8%;
  bottom: 8%;
  animation-delay: -4s;
}

.module-ai {
  left: 34%;
  top: 0;
  width: clamp(118px, 12vw, 156px);
  animation-delay: -2.3s;
}

.module-cloud {
  left: 33%;
  bottom: 0;
  animation-delay: -5s;
}

.mini-browser,
.product-row,
.phone-face,
.bars,
.deploy-line {
  position: relative;
  display: grid;
  gap: 6px;
}

.mini-browser {
  height: 42px;
  grid-template-columns: repeat(3, 8px) 1fr;
  align-items: start;
  padding: 9px;
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 6px;
}

.mini-browser span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--copper);
}

.mini-browser i {
  grid-column: 1 / -1;
  height: 10px;
  border-radius: 3px;
  background: rgba(143, 191, 192, 0.28);
}

.product-row {
  grid-template-columns: repeat(3, 1fr);
}

.product-row i {
  height: 36px;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.34), transparent),
    rgba(143, 191, 192, 0.18);
}

.phone-face {
  width: 54px;
  height: 86px;
  margin-inline: auto;
  padding: 12px 8px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 16px;
}

.phone-face b,
.phone-face i {
  display: block;
  border-radius: 999px;
}

.phone-face b {
  height: 8px;
  background: rgba(214, 180, 111, 0.7);
}

.phone-face i {
  height: 7px;
  background: rgba(255, 250, 241, 0.22);
}

.bars span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.18);
}

.bars span:nth-child(1) {
  width: 90%;
}

.bars span:nth-child(2) {
  width: 64%;
  background: rgba(143, 191, 192, 0.26);
}

.bars span:nth-child(3) {
  width: 76%;
  background: rgba(201, 130, 75, 0.34);
}

.pulse-core {
  width: 52px;
  height: 52px;
  margin: 8px auto 0;
  border: 1px solid rgba(214, 180, 111, 0.48);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 180, 111, 0.58), transparent 62%);
  animation: pulse 2.8s ease-in-out infinite;
}

.deploy-line {
  grid-template-columns: repeat(3, 1fr);
}

.deploy-line span {
  height: 30px;
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 50%;
  background: rgba(143, 191, 192, 0.14);
}

.section-pad {
  padding: clamp(84px, 10vw, 150px) clamp(20px, 4vw, 64px);
}

.section-shell {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(36px, 6vw, 70px);
}

.section-heading.narrow {
  max-width: 720px;
}

.section-heading p,
.stack-copy p,
.method-copy p,
.contact-copy p,
.atelier-copy p {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.atelier {
  background: linear-gradient(180deg, var(--night), #0e2029 52%, var(--night));
}

.atelier-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.atelier-copy p {
  max-width: 680px;
}

.atelier-panel {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
}

.atelier-panel::before {
  content: "";
  position: absolute;
  inset: 10% 2%;
  border: 1px solid rgba(255, 250, 241, 0.1);
  border-radius: 8px;
  transform: rotate(-2deg);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), transparent 52%),
    rgba(255, 250, 241, 0.03);
}

.atelier-compass {
  position: relative;
  display: grid;
  place-items: center;
  width: min(78%, 420px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid rgba(214, 180, 111, 0.3);
  border-radius: 50%;
  background:
    conic-gradient(from 10deg, transparent, rgba(214, 180, 111, 0.18), transparent 38%),
    rgba(255, 250, 241, 0.04);
}

.atelier-compass strong {
  font-family: var(--font-title);
  color: var(--ivory-2);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 500;
}

.compass-axis {
  position: absolute;
  background: rgba(255, 250, 241, 0.14);
}

.axis-x {
  width: 86%;
  height: 1px;
}

.axis-y {
  width: 1px;
  height: 86%;
}

.compass-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 18px rgba(201, 130, 75, 0.42);
}

.dot-one {
  top: 16%;
  left: 28%;
}

.dot-two {
  right: 18%;
  top: 42%;
  background: var(--sea);
}

.dot-three {
  bottom: 18%;
  left: 44%;
  background: var(--gold);
}

.stat-stack {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-stack article,
.reference-card,
.expertise-card,
.service-catalog article,
.contact-form {
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.1), rgba(255, 250, 241, 0.035)),
    rgba(255, 250, 241, 0.04);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.stat-stack article {
  min-height: 124px;
  padding: 18px;
}

.stat-stack strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ivory-2);
  font-family: var(--font-title);
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
  line-height: 0.95;
}

.stat-stack span {
  color: rgba(255, 250, 241, 0.64);
  font-size: 0.84rem;
  line-height: 1.45;
}

.assembly {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, var(--night), #101e24 52%, var(--night));
}

.assembly .section-heading p {
  max-width: 640px;
}

.assembly-layout {
  position: relative;
  width: min(1240px, calc(100% - 40px));
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.assembly-stage {
  position: sticky;
  top: calc(var(--header-h) + 34px);
  min-height: min(680px, calc(100svh - var(--header-h) - 68px));
  border: 1px solid rgba(255, 250, 241, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(86% 80% at 52% 44%, rgba(143, 191, 192, 0.13), transparent 65%),
    linear-gradient(145deg, rgba(255, 250, 241, 0.08), rgba(255, 250, 241, 0.025)),
    rgba(7, 17, 24, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.assembly-stage::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(214, 180, 111, 0.14);
  border-radius: 50%;
  transform: rotateX(62deg) rotateZ(-12deg);
}

.assembly-blueprint {
  inset: 7%;
}

.assembly-piece {
  position: absolute;
  width: clamp(118px, 13vw, 172px);
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 8px;
  color: var(--ivory);
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.13), rgba(255, 250, 241, 0.035)),
    rgba(6, 17, 25, 0.86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 26px, 0) scale(0.95) rotate(var(--rot, 0deg));
  transition:
    opacity 700ms var(--ease),
    filter 700ms var(--ease),
    transform 700ms var(--ease);
}

.assembly-piece.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0) scale(1) rotate(var(--rot, 0deg));
}

.assembly-piece span {
  display: block;
  margin-bottom: 12px;
  color: var(--ivory-2);
  font-weight: 800;
  font-size: 0.83rem;
}

.piece-clarifier {
  left: 9%;
  top: 17%;
  --rot: -3deg;
}

.piece-design {
  right: 8%;
  top: 14%;
  --rot: 3deg;
}

.piece-dev {
  left: 8%;
  bottom: 22%;
  --rot: 2deg;
}

.piece-sell {
  right: 7%;
  bottom: 24%;
  --rot: -2deg;
}

.piece-auto {
  left: 34%;
  top: 5%;
  --rot: 1deg;
}

.piece-deploy {
  left: 35%;
  bottom: 7%;
  --rot: -1deg;
}

.assembly-piece i,
.assembly-piece b,
.assembly-piece em,
.assembly-piece strong {
  display: inline-block;
  vertical-align: top;
}

.piece-clarifier i {
  width: 100%;
  height: 8px;
  margin-bottom: 7px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.18);
}

.piece-design b {
  width: 46%;
  height: 34px;
  margin-right: 4%;
  border-radius: 6px;
  background: rgba(143, 191, 192, 0.18);
}

.piece-dev em {
  width: 78%;
  height: 7px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.22);
}

.piece-sell strong {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--night);
  background: var(--gold);
}

.piece-auto i {
  width: 20px;
  height: 20px;
  margin-right: 18px;
  border-radius: 50%;
  background: rgba(201, 130, 75, 0.5);
}

.piece-deploy b {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border: 1px solid rgba(143, 191, 192, 0.44);
  border-radius: 50%;
}

.story-steps {
  display: grid;
  gap: clamp(42px, 8vw, 96px);
  padding-bottom: 6vh;
}

.story-step {
  min-height: min(620px, 78svh);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.76fr);
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  opacity: 0.36;
  transition:
    opacity 520ms ease,
    transform 520ms var(--ease);
}

.story-step.is-active {
  opacity: 1;
  transform: translateY(-6px);
}

.story-step.step-right .step-copy {
  grid-column: 2;
}

.story-step.step-right .step-visual {
  grid-column: 1;
  grid-row: 1;
}

.step-copy {
  max-width: 520px;
}

.step-index {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--copper);
  font-weight: 800;
}

.step-copy h3 {
  color: var(--ivory-2);
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.3vw, 3.45rem);
  font-weight: 520;
  line-height: 1.02;
}

.step-copy p {
  color: rgba(255, 250, 241, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
}

.step-visual {
  aspect-ratio: 1;
  min-height: 0;
  border: 1px solid rgba(214, 180, 111, 0.18);
  border-radius: 8px;
  background: #07131c;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(2deg);
  transition:
    transform 520ms var(--ease),
    box-shadow 520ms ease;
}

.story-step.step-right .step-visual {
  transform: rotateY(7deg) rotateX(2deg);
}

.story-step.is-active .step-visual {
  transform: rotateY(0) rotateX(0) translateY(-8px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.step-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-brief,
.visual-design,
.visual-dev,
.visual-commerce,
.visual-automation,
.visual-deploy {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.visual-title {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 7px 10px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 999px;
  color: #835937;
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.78rem;
  font-weight: 900;
}

.visual-note,
.visual-map,
.design-kit,
.commerce-flow,
.payment-strip,
.workflow-grid,
.cloud-row {
  display: grid;
  gap: 10px;
}

.visual-note,
.code-panel {
  position: absolute;
  left: 26px;
  top: 74px;
  width: 43%;
}

.visual-note span,
.visual-map b,
.design-kit b,
.commerce-flow span,
.payment-strip b,
.workflow-grid span,
.cloud-row span,
.code-panel code {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 8px;
  color: rgba(16, 24, 32, 0.76);
  background: rgba(255, 255, 255, 0.44);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.15;
}

.visual-map {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 44%;
  grid-template-columns: 1fr 1fr;
}

.visual-map b:first-child {
  grid-column: 1 / -1;
  min-height: 56px;
  color: var(--night);
  background: rgba(143, 191, 192, 0.26);
}

.wireframe-screen {
  position: absolute;
  left: 26px;
  top: 74px;
  bottom: 24px;
  width: 48%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 10px;
  background: rgba(16, 24, 32, 0.07);
}

.wireframe-screen span {
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.58);
}

.wireframe-screen .wire-hero {
  grid-column: 1 / -1;
  min-height: 58px;
  background: rgba(143, 191, 192, 0.28);
}

.wireframe-screen .wire-line {
  grid-column: 1 / -1;
  min-height: 13px;
  border-radius: 999px;
  background: rgba(201, 130, 75, 0.26);
}

.design-kit {
  position: absolute;
  right: 24px;
  top: 78px;
  width: 38%;
}

.design-kit b:nth-child(2) {
  background:
    linear-gradient(90deg, rgba(201, 130, 75, 0.28), rgba(143, 191, 192, 0.28)),
    rgba(255, 255, 255, 0.42);
}

.code-panel code {
  justify-content: flex-start;
  color: #24313b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.code-panel code::before {
  content: "/";
  margin-right: 7px;
  color: #916039;
}

.app-screen {
  position: absolute;
  right: 24px;
  top: 76px;
  bottom: 24px;
  width: 45%;
  padding: 16px;
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.1) 0 28%, transparent 28%),
    rgba(255, 255, 255, 0.42);
}

.app-screen span {
  display: block;
  margin-bottom: 36px;
  color: #24313b;
  font-weight: 900;
}

.app-screen b {
  display: block;
  height: 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.14);
}

.app-screen b:nth-child(3) {
  width: 72%;
  background: rgba(143, 191, 192, 0.34);
}

.app-screen b:nth-child(4) {
  width: 84%;
  background: rgba(201, 130, 75, 0.26);
}

.commerce-flow {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.commerce-flow span {
  min-height: 118px;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0 54%, rgba(201, 130, 75, 0.24) 54%),
    rgba(255, 255, 255, 0.42);
}

.payment-strip {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
}

.workflow-grid {
  position: absolute;
  inset: 82px 28px 30px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.workflow-grid span {
  min-height: 66px;
  border-radius: 50%;
  background: rgba(143, 191, 192, 0.22);
}

.workflow-grid span:nth-child(3) {
  color: var(--night);
  background: rgba(214, 180, 111, 0.34);
}

.workflow-line {
  position: absolute;
  left: 28%;
  right: 28%;
  top: 54%;
  height: 1px;
  background: rgba(16, 24, 32, 0.18);
}

.workflow-line.line-b {
  transform: rotate(90deg);
}

.cloud-row {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
}

.cloud-row span {
  min-height: 76px;
  border-radius: 999px;
  background: rgba(143, 191, 192, 0.24);
}

.performance-meter {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.performance-meter b {
  height: 12px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(201, 130, 75, 0.8) 0 78%, rgba(16, 24, 32, 0.1) 78%);
}

.performance-meter strong {
  color: #835937;
  font-size: 0.78rem;
}

.references,
.expertises,
.services,
.contact {
  background: var(--night);
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(230px, auto);
  gap: 16px;
}

.reference-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  transition:
    transform 320ms var(--ease),
    border-color 320ms ease,
    background 320ms ease;
}

.reference-card::after,
.expertise-card::after,
.service-catalog article::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 180, 111, 0.7), transparent);
  opacity: 0;
  transition: opacity 320ms ease;
}

.reference-card:hover,
.expertise-card:hover,
.service-catalog article:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 180, 111, 0.32);
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.13), rgba(255, 250, 241, 0.045)),
    rgba(255, 250, 241, 0.055);
}

.reference-card:hover::after,
.expertise-card:hover::after,
.service-catalog article:hover::after {
  opacity: 1;
}

.reference-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.reference-card.wide {
  grid-column: span 2;
}

.reference-rank {
  display: block;
  margin-bottom: 44px;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.8vw, 5.8rem);
  line-height: 0.8;
}

.reference-card h3 {
  color: var(--ivory-2);
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.reference-card p {
  max-width: 340px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.expertise-card {
  position: relative;
  min-height: 350px;
  padding: 22px;
  overflow: hidden;
  transition:
    transform 320ms var(--ease),
    border-color 320ms ease,
    background 320ms ease;
}

.expertise-visual {
  display: block;
  width: 100%;
  aspect-ratio: 1.05;
  margin-bottom: 20px;
  border: 1px solid rgba(214, 180, 111, 0.18);
  border-radius: 8px;
  object-fit: cover;
  background: #07131c;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.abstract-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  border: 1px solid rgba(214, 180, 111, 0.3);
  border-radius: 8px;
  color: var(--gold);
  background:
    radial-gradient(circle at 45% 35%, rgba(143, 191, 192, 0.16), transparent 56%),
    rgba(255, 250, 241, 0.055);
}

.abstract-icon svg {
  width: 42px;
  height: 42px;
  overflow: visible;
}

.abstract-icon svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise-card h3,
.service-catalog h3 {
  color: var(--ivory-2);
  font-size: 1.05rem;
}

.expertise-card p,
.service-catalog p {
  color: rgba(255, 250, 241, 0.63);
  font-size: 0.93rem;
  line-height: 1.6;
}

.stack {
  background:
    linear-gradient(180deg, var(--night), #112026 52%, var(--night)),
    var(--night);
}

.stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.stack-copy {
  max-width: 560px;
}

.stack-orbit {
  position: relative;
  min-height: 620px;
  border: 1px solid rgba(255, 250, 241, 0.09);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.08), rgba(255, 250, 241, 0.02)),
    rgba(255, 250, 241, 0.035);
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(214, 180, 111, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(62deg);
}

.ring-a {
  width: 76%;
  aspect-ratio: 1;
}

.ring-b {
  width: 52%;
  aspect-ratio: 1;
  border-color: rgba(143, 191, 192, 0.22);
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(30deg);
}

.stack-core {
  width: 170px;
  color: var(--ivory-2);
  font-family: var(--font-title);
  font-size: 1.8rem;
  line-height: 1.05;
}

.tech-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 999px;
  color: rgba(255, 250, 241, 0.86);
  background: rgba(6, 17, 25, 0.7);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  animation: badgeDrift 8s ease-in-out infinite;
}

.tech-1 { left: 11%; top: 18%; animation-delay: -1s; }
.tech-2 { right: 8%; top: 20%; animation-delay: -2s; }
.tech-3 { left: 19%; top: 45%; animation-delay: -3s; }
.tech-4 { right: 17%; top: 44%; animation-delay: -4s; }
.tech-5 { left: 13%; bottom: 19%; animation-delay: -5s; }
.tech-6 { right: 7%; bottom: 20%; animation-delay: -6s; }
.tech-7 { left: 40%; top: 11%; animation-delay: -7s; }
.tech-8 { left: 43%; bottom: 10%; animation-delay: -8s; }
.tech-9 { right: 37%; bottom: 27%; animation-delay: -9s; }

.service-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-catalog article {
  position: relative;
  min-height: 224px;
  padding: 26px;
  transition:
    transform 320ms var(--ease),
    border-color 320ms ease,
    background 320ms ease;
}

.service-catalog a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold);
  font-weight: 800;
}

.method {
  color: var(--night);
  background: var(--ivory);
}

.method h2,
.method h3 {
  color: var(--night);
}

.method p {
  color: rgba(16, 24, 32, 0.68);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
}

.method .section-kicker {
  color: #916039;
}

.method-steps {
  counter-reset: none;
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.method-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 24, 32, 0.1);
  border-radius: 8px;
  color: rgba(16, 24, 32, 0.82);
  background: rgba(255, 255, 255, 0.42);
}

.method-steps span {
  color: #916039;
  font-weight: 900;
}

.contact {
  background:
    linear-gradient(180deg, var(--ivory), #e9e0d1 0, #e9e0d1 2px, var(--night) 2px),
    var(--night);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.contact-copy address {
  display: grid;
  gap: 7px;
  margin: 36px 0 24px;
  color: rgba(255, 250, 241, 0.7);
  font-style: normal;
}

.contact-copy address strong {
  color: var(--ivory-2);
}

.contact-note {
  color: rgba(214, 180, 111, 0.78);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

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

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

label {
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 8px;
  color: var(--ivory);
  background: rgba(6, 17, 25, 0.52);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

input,
select {
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(214, 180, 111, 0.7);
  box-shadow: 0 0 0 4px rgba(214, 180, 111, 0.12);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(143, 191, 192, 0.9);
  font-size: 0.92rem;
}

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

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.local-hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + 70px);
  background:
    radial-gradient(75% 80% at 76% 44%, rgba(143, 191, 192, 0.14), transparent 62%),
    linear-gradient(180deg, #061119, #10222a);
}

.local-hero-grid,
.local-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(380px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.local-hero h1 {
  max-width: 720px;
}

.local-map {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(214, 180, 111, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 250, 241, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 241, 0.035) 1px, transparent 1px),
    rgba(255, 250, 241, 0.04);
  background-size: 32px 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.local-map::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(143, 191, 192, 0.18);
  border-radius: 50%;
}

.local-map::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68%;
  height: 1px;
  transform: translate(-50%, -50%) rotate(-24deg);
  background: linear-gradient(90deg, transparent, rgba(214, 180, 111, 0.5), transparent);
}

.map-core,
.map-pin {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 250, 241, 0.14);
  border-radius: 999px;
  background: rgba(6, 17, 25, 0.78);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  color: var(--ivory);
  font-weight: 800;
}

.map-core {
  left: 50%;
  top: 50%;
  min-width: 128px;
  min-height: 128px;
  transform: translate(-50%, -50%);
  border-color: rgba(214, 180, 111, 0.4);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 1.7rem;
}

.pin-quimper { left: 12%; top: 18%; }
.pin-pont { left: 15%; bottom: 18%; }
.pin-concarneau { right: 8%; top: 26%; }
.pin-fouesnant { right: 16%; bottom: 24%; }
.pin-douarnenez { left: 41%; top: 10%; }

.map-ring {
  position: absolute;
  inset: 24%;
  border: 1px solid rgba(214, 180, 111, 0.22);
  border-radius: 50%;
  transform: rotateX(62deg) rotateZ(-12deg);
}

.local-content {
  background: var(--night);
}

.local-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.local-grid article,
.local-cta-inner {
  border: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.1), rgba(255, 250, 241, 0.035)),
    rgba(255, 250, 241, 0.04);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.local-grid article {
  min-height: 240px;
  padding: 26px;
}

.local-grid h3 {
  color: var(--ivory-2);
}

.local-cta {
  background: linear-gradient(180deg, var(--night), #10222a);
}

.local-cta-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(26px, 5vw, 54px);
}

.local-cta-inner h2,
.local-cta-inner p {
  max-width: 760px;
}

.site-footer {
  padding: 36px clamp(20px, 4vw, 64px);
  border-top: 1px solid rgba(255, 250, 241, 0.1);
  background: #050d13;
}

.footer-inner {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: rgba(255, 250, 241, 0.62);
  font-size: 0.9rem;
}

.footer-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-inner strong {
  color: var(--ivory);
}

.footer-inner a:hover {
  color: var(--gold);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes moduleFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(1);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.02);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes badgeDrift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1160px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-top: calc(var(--header-h) + 28px);
  }

  .hero-copy {
    max-width: 840px;
    z-index: 2;
  }

  .hero-machine {
    width: min(92vw, 690px);
    margin-top: -20px;
  }

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

  .assembly-layout,
  .stack-grid,
  .contact-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .assembly-stage {
    position: relative;
    top: 0;
    min-height: 620px;
  }

  .stack-orbit {
    min-height: 560px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 12px auto;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid rgba(255, 250, 241, 0.12);
    border-radius: 8px;
    background: rgba(6, 17, 25, 0.94);
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 240ms ease,
      transform 240ms var(--ease);
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  h1 {
    font-size: clamp(2.28rem, 9.8vw, 2.86rem);
    line-height: 1.04;
    max-width: min(100%, 330px);
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 3.35rem);
  }

  .atelier-grid,
  .reference-grid,
  .service-catalog {
    grid-template-columns: 1fr;
  }

  .reference-card.large,
  .reference-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .atelier-panel {
    min-height: 620px;
  }

  .stat-stack {
    grid-template-columns: 1fr;
  }

  .story-step,
  .story-step.step-right {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    opacity: 1;
  }

  .story-step.step-right .step-copy,
  .story-step.step-right .step-visual {
    grid-column: auto;
    grid-row: auto;
  }

  .story-step.step-right .step-visual,
  .step-visual {
    transform: none;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
  }

  .local-hero-grid,
  .local-cta-inner {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 620px) {
  .section-pad {
    padding: 76px 18px;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-copy {
    width: 100%;
    max-width: 330px;
  }

  .hero-lead,
  .location-note {
    max-width: 100%;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-machine {
    width: 100%;
    transform: none;
  }

  .machine-module {
    width: 138px;
    min-height: 104px;
    padding: 12px;
  }

  .module-kicker {
    margin-bottom: 4px;
  }

  .module-site {
    left: 0;
    top: 10%;
  }

  .module-shop {
    right: 0;
    top: 6%;
  }

  .module-ai {
    left: 35%;
    top: -2%;
  }

  .module-mobile {
    right: 0;
    bottom: 13%;
  }

  .module-admin {
    left: 2%;
    bottom: 10%;
  }

  .module-cloud {
    left: 30%;
    bottom: -2%;
  }

  .assembly-layout {
    width: calc(100% - 36px);
  }

  .assembly-stage {
    min-height: 520px;
  }

  .assembly-piece {
    width: 124px;
    min-height: 78px;
    padding: 10px;
  }

  .assembly-core {
    width: 128px;
  }

  .piece-auto,
  .piece-deploy {
    left: 31%;
  }

  .step-visual {
    min-height: 220px;
  }

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

  .stack-orbit {
    min-height: 520px;
  }

  .local-map {
    min-height: 460px;
  }

  .map-pin {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .map-core {
    min-width: 104px;
    min-height: 104px;
    font-size: 1.35rem;
  }

  .stack-core {
    width: 136px;
    font-size: 1.45rem;
  }

  .tech-badge {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .tech-1 { left: 6%; top: 17%; }
  .tech-2 { right: 5%; top: 16%; }
  .tech-3 { left: 5%; top: 42%; }
  .tech-4 { right: 7%; top: 41%; }
  .tech-5 { left: 5%; bottom: 18%; }
  .tech-6 { right: 5%; bottom: 18%; }
  .tech-7 { left: 34%; top: 8%; }
  .tech-8 { left: 36%; bottom: 8%; }
  .tech-9 { right: 28%; bottom: 31%; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
