:root {
  --paper: #f7f4ed;
  --paper-bright: #fffdf8;
  --ink: #080808;
  --charcoal: #343434;
  --grey: #77746d;
  --line: rgba(8, 8, 8, 0.13);
  --gold: #c9a65f;
  --gold-soft: #ddc58f;
  --section-pad: clamp(84px, 10vw, 150px);
  --page-pad: clamp(16px, 2.2vw, 32px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 116px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(8, 8, 8, 0.055) 1px),
    linear-gradient(135deg, transparent 0 63%, rgba(201, 166, 95, 0.12) 63% 64%, transparent 64%);
  background-size: 92px 100%, 100% 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 0;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
  animation: scroll-progress linear;
  animation-timeline: scroll(root);
}

@keyframes scroll-progress {
  from { width: 0; }
  to { width: 100%; }
}

.section-shell {
  width: min(100%, 1500px);
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 18px;
  right: 16px;
  left: 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 10px 12px 10px 20px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(247, 244, 237, 0.92);
  box-shadow: 0 18px 60px rgba(39, 32, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  justify-self: start;
  font-size: 1.02rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 52px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.7);
}

.site-nav a {
  padding: 11px 16px;
  border-radius: 22px;
  color: #56544f;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 28px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

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

.button--dark {
  color: #fff;
  background: var(--ink);
}

.button--light {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.button--header {
  justify-self: end;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(430px, 0.88fr) minmax(560px, 1.12fr);
  align-items: center;
  min-height: 100dvh;
  padding-top: 138px;
  padding-bottom: 72px;
  isolation: isolate;
}

.kinetic-stage {
  position: absolute;
  inset: 190px 0 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.kinetic-rail {
  position: absolute;
  left: 50%;
  width: 120vw;
  transform-origin: center;
}

.kinetic-rail--one {
  top: 88px;
  transform: translateX(-50%) rotate(-5deg);
}

.kinetic-rail--two {
  top: 318px;
  transform: translateX(-50%) rotate(-5deg);
}

.kinetic-rail__track {
  display: flex;
  width: max-content;
  color: var(--charcoal);
  font-size: clamp(5.7rem, 11vw, 11rem);
  font-weight: 900;
  line-height: 0.82;
  opacity: 0.18;
  text-transform: uppercase;
  animation: kinetic-forward 22s linear infinite;
}

.kinetic-rail--two .kinetic-rail__track {
  color: #6b6964;
  opacity: 0.14;
  animation-name: kinetic-reverse;
  animation-duration: 26s;
}

.kinetic-rail__track span {
  padding-right: 0.3em;
  white-space: nowrap;
}

@keyframes kinetic-forward {
  to { transform: translateX(-33.333%); }
}

@keyframes kinetic-reverse {
  from { transform: translateX(-33.333%); }
  to { transform: translateX(0); }
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 660px;
  order: 1;
  min-width: 0;
}

.tilt-card {
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 240ms ease;
  will-change: transform;
}

.browser-card {
  position: absolute;
  top: 52px;
  left: 5%;
  width: min(440px, 77%);
  height: 530px;
  overflow: hidden;
  border: 1px solid rgba(8, 8, 8, 0.2);
  border-radius: 25px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 38px 70px rgba(38, 29, 17, 0.14);
  transform: rotate(-2deg);
}

.browser-bar,
.code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--line);
  color: #77736d;
  font-size: 0.8rem;
  font-weight: 700;
}

.browser-bar i,
.code-bar i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.browser-bar i:nth-child(2) { background: #aaa8a1; }
.browser-bar i:nth-child(3) { background: var(--ink); }
.browser-bar span { margin-left: 6px; }

.browser-content {
  position: relative;
  height: calc(100% - 48px);
  padding: 46px;
  background: linear-gradient(155deg, rgba(255, 253, 248, 0.92), rgba(224, 213, 188, 0.42));
}

.browser-content p {
  margin: 0 0 4px;
  color: #77736d;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.browser-content strong {
  display: block;
  font-size: clamp(6rem, 10vw, 9rem);
  line-height: 0.95;
}

.performance-ring {
  position: absolute;
  top: 83px;
  right: 28px;
  width: 142px;
  aspect-ratio: 1;
  border: 1px solid rgba(8, 8, 8, 0.13);
  border-radius: 50%;
}

.metric-lines {
  display: grid;
  gap: 10px;
  margin: 26px 0 36px;
}

.metric-lines i {
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.13);
}

.metric-lines i::before {
  content: "";
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  animation: metric-pulse 3s ease-in-out infinite alternate;
}

.metric-lines i:nth-child(2)::before { width: 91%; animation-delay: -1s; }
.metric-lines i:nth-child(3)::before { width: 59%; animation-delay: -2s; }

@keyframes metric-pulse {
  from { transform: scaleX(0.82); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

.browser-content em {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: #56534d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-card {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 190px;
  height: 360px;
  padding: 65px 24px 22px;
  border: 8px solid var(--ink);
  border-radius: 42px;
  color: #fff;
  background: linear-gradient(165deg, #837e72, #2f2e2b);
  box-shadow: 0 28px 50px rgba(8, 8, 8, 0.2);
  transform: rotate(7deg);
}

.phone-speaker {
  position: absolute;
  top: 15px;
  left: 50%;
  width: 74px;
  height: 20px;
  border-radius: 14px;
  background: var(--ink);
  transform: translateX(-50%);
}

.phone-card span {
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-card strong {
  margin-top: 12px;
  font-size: 1.5rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: auto;
}

.phone-grid i {
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.code-card {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 72px;
  width: 310px;
  min-height: 278px;
  overflow: hidden;
  border: 1px solid #333;
  border-radius: 22px;
  color: #f2e7cf;
  background: #0d0d0d;
  box-shadow: 0 30px 60px rgba(8, 8, 8, 0.22);
  transform: rotate(3deg);
}

.code-bar {
  border-color: #292929;
  color: #9c9a94;
}

.code-bar span { margin-left: 2px; }

.code-card code {
  display: block;
  padding: 33px 30px;
  color: #e1c98e;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.9;
  white-space: pre-wrap;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 790px;
  padding-left: clamp(18px, 4vw, 72px);
  order: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 15px;
  color: #62605b;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  font-size: clamp(4.6rem, 7.5vw, 8rem);
  font-weight: 900;
  line-height: 0.78;
  text-transform: uppercase;
}

h1 span {
  color: var(--gold);
}

.hero-intro {
  max-width: 680px;
  margin: 28px 0 26px;
  color: #484641;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.capability-marquee {
  overflow: hidden;
  padding-block: 20px;
  border-block: 1px solid var(--line);
  color: #fff;
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding-right: 0.7em;
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-track span:nth-child(3n) { color: var(--gold-soft); }

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

.work-section,
.services-section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 58px;
}

.section-heading h2,
.comparison-copy h2,
.contact-section h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 7.7rem);
  font-weight: 900;
  line-height: 0.85;
  text-transform: uppercase;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  min-width: 72px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  background: var(--paper-bright);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

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

.project-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px var(--page-pad) 26px;
  margin-inline: calc(var(--page-pad) * -1);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.project-carousel::-webkit-scrollbar { display: none; }

.project-card {
  position: relative;
  display: flex;
  flex: 0 0 min(430px, 78vw);
  flex-direction: column;
  justify-content: space-between;
  min-height: 560px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(8, 8, 8, 0.18);
  border-radius: 8px;
  color: #fff;
  scroll-snap-align: start;
  isolation: isolate;
  transition: transform 260ms ease;
}

.project-card:hover { transform: translateY(-10px); }

.project-card::before,
.project-card::after {
  content: "";
  position: absolute;
  z-index: -1;
}

.project-card::before {
  inset: 0;
  background: linear-gradient(165deg, transparent 12%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.88));
}

.project-card::after {
  top: 22%;
  right: -30%;
  width: 90%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.project-card--one { background: #26382f; }
.project-card--two { color: var(--ink); background: #e2cf9b; }
.project-card--two::before { background: linear-gradient(165deg, transparent, rgba(255, 255, 255, 0.18)); }
.project-card--two::after { border-color: rgba(8, 8, 8, 0.25); }
.project-card--three { background: #8c796b; }
.project-card--four { color: var(--ink); background: #dbd1c8; }
.project-card--four::before { background: linear-gradient(165deg, transparent, rgba(122, 90, 90, 0.12)); }
.project-card--four::after { border-color: rgba(8, 8, 8, 0.22); }
.project-card--five { background: #121212; }

.project-number,
.project-type {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card strong {
  display: block;
  max-width: 8ch;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 4vw, 4.3rem);
  line-height: 0.88;
  text-transform: uppercase;
}

.project-card p {
  max-width: 28ch;
  margin: 0;
  font-size: 1rem;
}

.comparison-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(600px, 1.28fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  min-height: 100dvh;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  border-block: 1px solid var(--line);
}

.comparison-copy h2 {
  max-width: 7ch;
}

.comparison {
  position: relative;
  height: 540px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(8, 8, 8, 0.08);
}

.comparison-before,
.comparison-after {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px;
}

.comparison-before {
  width: var(--split);
  z-index: 2;
  overflow: hidden;
  color: #2f2f2f;
  background-color: #d2d0ce;
  background-image: repeating-linear-gradient(0deg, transparent 0 28px, rgba(8, 8, 8, 0.08) 28px 29px);
}

.comparison-before::before {
  content: "";
  position: absolute;
  top: 26%;
  left: -3%;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(201, 166, 95, 0.5);
  border-radius: 50%;
}

.comparison-after {
  align-items: flex-end;
  color: #fff;
  text-align: right;
  background: linear-gradient(138deg, var(--gold-soft) 0 23%, #201d17 23% 48%, #050505 48%);
}

.comparison span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 18px;
  color: #fff;
  background: #292929;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.comparison-after span {
  align-self: flex-end;
  color: var(--ink);
  background: var(--gold);
}

.comparison h3 {
  position: relative;
  z-index: 1;
  width: min(590px, 72vw);
  margin: 0 0 18px;
  font-size: clamp(2.7rem, 4.4vw, 4.4rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.comparison-after h3 { max-width: 8.6ch; }

.comparison p {
  position: relative;
  z-index: 1;
  width: min(460px, 65vw);
  margin: 0;
}

.comparison-after p { max-width: 29ch; }

.comparison-divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison input {
  position: absolute;
  z-index: 6;
  right: 28px;
  bottom: 25px;
  left: 28px;
  width: calc(100% - 56px);
  height: 18px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.comparison input::-webkit-slider-runnable-track {
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(8, 8, 8, 0.45);
}

.comparison input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -6px;
  appearance: none;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
}

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

.service-list article {
  display: grid;
  grid-template-columns: 90px minmax(260px, 0.8fr) 1.2fr;
  align-items: baseline;
  gap: 24px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.service-list article > span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
}

.service-list h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.service-list p {
  max-width: 52ch;
  margin: 0;
  color: #56534e;
}

.process-section {
  padding-top: 42px;
  padding-bottom: var(--section-pad);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.48);
}

.process-grid article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 25px;
  border-right: 1px solid var(--line);
}

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

.process-grid strong {
  font-size: clamp(1.7rem, 2.8vw, 3rem);
  text-transform: uppercase;
}

.process-grid span { color: #5b5852; }

.contact-section {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
  color: #fff;
  text-align: center;
  background: var(--ink);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), rgba(255, 255, 255, 0.07) 1px);
  background-size: 92px 100%;
  pointer-events: none;
}

.contact-section > * { position: relative; }
.contact-section .eyebrow { color: var(--gold-soft); }
.contact-section h2 { max-width: 11ch; }

.contact-section > p:not(.eyebrow) {
  max-width: 650px;
  margin: 30px auto;
  color: #c7c4bc;
  font-size: 1.1rem;
}

.contact-section > a {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: clamp(1.2rem, 2.4vw, 2.4rem);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid #242424;
  color: #aaa79f;
  background: var(--ink);
  font-size: 0.76rem;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.72, 0.25, 1);
}

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

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav {
    justify-self: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 165px;
  }

  .hero-copy {
    order: 1;
    max-width: 850px;
    padding-left: 0;
  }

  .hero-visual {
    order: 2;
    width: min(760px, 100%);
    margin: 20px auto 0;
  }

  .comparison-section {
    grid-template-columns: 1fr;
  }

  .comparison-copy h2 { max-width: 10ch; }
}

@media (max-width: 760px) {
  :root {
    --page-pad: 14px;
    --section-pad: 88px;
  }

  body {
    background-size: 74px 100%, 100% 100%;
  }

  .site-header {
    position: absolute;
    top: 18px;
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
  }

  .brand { padding-left: 0; }

  .button--header {
    min-height: 42px;
    padding-inline: 18px;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
  }

  .site-nav a {
    padding: 9px 7px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto;
    padding-top: 166px;
    padding-bottom: 70px;
  }

  .kinetic-stage {
    inset: 200px 0 auto;
    height: 320px;
  }

  .kinetic-rail {
    width: 150vw;
  }

  .kinetic-rail--one { top: 46px; }
  .kinetic-rail--two { top: 148px; }

  .kinetic-rail__track {
    font-size: 5rem;
    opacity: 0.18;
  }

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

  h1 {
    max-width: 100%;
    font-size: clamp(3.25rem, 14.2vw, 4.4rem);
    line-height: 0.88;
  }

  .hero-intro {
    margin-top: 27px;
    font-size: 1rem;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr 1.03fr;
  }

  .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.7rem;
  }

  .hero-visual {
    min-height: 560px;
    margin-top: 18px;
  }

  .browser-card {
    top: 18px;
    left: 0;
    width: 100%;
    height: 460px;
  }

  .browser-content { padding: 34px 24px; }
  .browser-content strong { font-size: 6.3rem; }
  .performance-ring { right: 14px; width: 126px; }

  .phone-card {
    bottom: 4px;
    left: 7px;
    width: 145px;
    height: 286px;
    padding: 55px 16px 16px;
    border-width: 7px;
    border-radius: 34px;
  }

  .phone-card strong { font-size: 1.1rem; }
  .phone-grid i { height: 36px; }

  .code-card {
    right: 0;
    bottom: 12px;
    width: 235px;
    min-height: 225px;
  }

  .code-card code {
    padding: 25px 20px;
    font-size: 0.71rem;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 36px;
  }

  .section-heading > div:first-child {
    width: 100%;
  }

  .section-heading h2,
  .comparison-copy h2,
  .contact-section h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .carousel-controls button {
    min-width: 52px;
    padding: 0 8px;
    font-size: 0.65rem;
  }

  .project-card {
    flex-basis: 85vw;
    min-height: 490px;
  }

  .comparison-section {
    gap: 38px;
    min-height: auto;
  }

  .comparison {
    height: 490px;
    border-radius: 24px;
  }

  .comparison-before,
  .comparison-after {
    padding: 28px;
  }

  .comparison h3 {
    width: 75vw;
    font-size: 2.8rem;
  }

  .comparison p { width: 70vw; }

  .service-list article {
    grid-template-columns: 40px 1fr;
    gap: 10px 12px;
  }

  .service-list p {
    grid-column: 2;
  }

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

  .process-grid article {
    min-height: 180px;
    border-bottom: 1px solid var(--line);
  }

  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(n + 3) { border-bottom: 0; }

  .site-footer {
    flex-direction: column;
    gap: 10px;
  }
}

@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;
  }

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