@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/onest-400.ttf") format("truetype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/onest-600.ttf") format("truetype");
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/onest-800.ttf") format("truetype");
}

:root {
  --ink: #2D383A;
  --ink-2: #405154;
  --paper: #F5EFE4;
  --paper-2: #EEE0CF;
  --surface: #FFFBF3;
  --sage: #7A8B78;
  --copper: #C46A43;
  --sand: #D2B48C;
  --line: rgba(45, 56, 58, 0.16);
  --shadow: 0 24px 70px rgba(45, 56, 58, 0.16);
  --radius: 8px;
  --container: min(1120px, calc(100vw - 40px));
  --button-min: 168px;
  --button-inline: 18px;
  --header-action-min: 168px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: linear-gradient(180deg, var(--paper) 0%, #F9F5EC 48%, var(--surface) 100%);
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

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

::selection {
  color: var(--surface);
  background: var(--ink);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.scroll-meter {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 4px;
  background: rgba(245, 239, 228, 0.28);
}

.scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--sand), var(--copper), var(--sage));
  transform-origin: left center;
  transform: scaleX(var(--scroll-progress, 0));
}

.site-header {
  position: fixed;
  inset: 16px 20px auto;
  z-index: 70;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100vw - 40px));
  margin-inline: auto;
  padding: 10px 12px;
  color: var(--surface);
  border: 1px solid rgba(255, 251, 243, 0.22);
  border-radius: var(--radius);
  background: rgba(45, 56, 58, 0.52);
  backdrop-filter: blur(18px);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  border-color: rgba(45, 56, 58, 0.12);
  background: rgba(255, 251, 243, 0.88);
  box-shadow: 0 16px 50px rgba(45, 56, 58, 0.12);
}

.brand,
.header-action,
.button {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  color: var(--ink);
  border-radius: 6px;
  background: var(--paper);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.91rem;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.86;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.header-action,
.button {
  justify-content: center;
  gap: 10px;
  min-width: var(--button-min);
  min-height: 44px;
  padding: 0 var(--button-inline);
  border-radius: 7px;
  font-size: 0.93rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.header-action {
  min-width: var(--header-action-min);
  color: var(--ink);
  background: var(--paper);
}

.button {
  border: 1px solid transparent;
}

.header-action:hover,
.button:hover {
  transform: translateY(-1px);
}

.button svg,
.header-action svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.button.primary {
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 16px 32px rgba(45, 56, 58, 0.2);
}

.button.ghost {
  color: var(--surface);
  border-color: rgba(255, 251, 243, 0.42);
  background: rgba(255, 251, 243, 0.1);
}

.button.wide {
  width: 100%;
  min-width: 0;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--surface);
  isolation: isolate;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(var(--hero-scale, 1.04));
  transform-origin: center top;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(45, 56, 58, 0.92) 0%, rgba(45, 56, 58, 0.76) 38%, rgba(45, 56, 58, 0.32) 76%),
    linear-gradient(180deg, rgba(45, 56, 58, 0.2) 0%, rgba(45, 56, 58, 0.74) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 160px 0 104px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  word-break: normal;
  hyphens: auto;
}

p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  font-weight: 800;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(2.15rem, 7.6vw, 7.2rem);
  line-height: 0.98;
  hyphens: none;
  overflow-wrap: normal;
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 251, 243, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-status {
  position: absolute;
  right: max(20px, calc((100vw - 1120px) / 2));
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 8px;
  max-width: calc(100vw - 40px);
}

.hero-status span {
  padding: 8px 12px;
  color: rgba(255, 251, 243, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(255, 251, 243, 0.2);
  border-radius: 999px;
  background: rgba(45, 56, 58, 0.4);
  backdrop-filter: blur(14px);
}

.intro-band {
  position: relative;
  z-index: 4;
  margin-top: -22px;
  padding: 28px 0;
  color: var(--surface);
  background: var(--ink);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.intro-grid p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  font-weight: 600;
}

.intro-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.intro-metrics span {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(255, 251, 243, 0.16);
  border-radius: var(--radius);
  color: rgba(255, 251, 243, 0.74);
  background: rgba(255, 251, 243, 0.05);
}

.intro-metrics strong {
  display: block;
  color: var(--sand);
  font-size: 1.72rem;
  line-height: 1;
}

.section {
  position: relative;
  padding: clamp(82px, 10vw, 132px) 0;
}

.section-heading {
  max-width: 830px;
  margin-bottom: 42px;
}

.section-heading h2,
.process-copy h2,
.contact-copy h2 {
  font-size: clamp(2.12rem, 5vw, 4.8rem);
}

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

.service-card,
.detail-item,
.contact-panel,
.timeline-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 251, 243, 0.76);
}

.service-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent);
  transform: scaleX(var(--item-progress, 0.18));
  transform-origin: left;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  aspect-ratio: 1;
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent), transparent 55%);
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent), transparent 88%);
}

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

.service-number {
  display: block;
  margin-top: 58px;
  color: rgba(45, 56, 58, 0.42);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card h3 {
  margin-top: 14px;
  font-size: clamp(1.44rem, 2.2vw, 2.1rem);
  line-height: 1.05;
}

.service-card p,
.detail-item p,
.timeline-step p,
.process-copy p,
.contact-copy p {
  color: rgba(45, 56, 58, 0.74);
}

.service-card p {
  margin: 20px 0 0;
}

.before-after {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(238, 224, 207, 0.7), rgba(255, 251, 243, 0.96)),
    var(--paper);
}

.before-after-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 36px;
}

.before-after-heading h2 {
  font-size: clamp(2.18rem, 4.4vw, 4.3rem);
}

.before-after-heading p:last-child {
  margin: 0;
  color: rgba(45, 56, 58, 0.72);
  font-size: 1.06rem;
}

.comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.55fr);
  gap: 18px;
  align-items: stretch;
}

.comparison-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(45, 56, 58, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.comparison-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 16%, rgba(210, 180, 140, 0.26), transparent 28%),
    linear-gradient(135deg, rgba(45, 56, 58, 0.08), transparent 45%);
}

.comparison-label {
  position: absolute;
  z-index: 5;
  top: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--surface);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(45, 56, 58, 0.16);
}

.comparison-label.before {
  left: 18px;
  background: rgba(45, 56, 58, 0.72);
}

.comparison-label.after {
  right: 18px;
  color: var(--ink);
  background: var(--sand);
}

.mockup {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 46px);
}

.mockup-before {
  z-index: 3;
  clip-path: inset(0 calc(100% - var(--compare, 52%)) 0 0);
  background: rgba(245, 239, 228, 0.82);
}

.mockup-after {
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 251, 243, 0.96), rgba(238, 224, 207, 0.68));
}

.old-browser,
.modern-browser {
  width: min(720px, 100%);
  min-height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
}

.old-browser {
  display: grid;
  grid-template-rows: auto auto 1fr;
  color: #17164F;
  border: 2px solid #11155E;
  background: #FFFFFF;
  font-family: Georgia, "Times New Roman", serif;
  box-shadow: 0 24px 56px rgba(45, 56, 58, 0.18);
}

.old-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
  color: #FFFFFF;
  font-size: 0.63rem;
  background: #07096B;
}

.old-brand {
  padding: 24px 12px 18px;
  text-align: center;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 800;
  border-bottom: 8px solid #07096B;
}

.old-grid {
  display: grid;
  grid-template-columns: 156px 1fr;
  min-height: 286px;
}

.old-grid aside {
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 10px;
  font-size: 0.74rem;
  border-right: 2px solid #07096B;
  background: #F3F3FF;
}

.old-grid aside b {
  padding: 5px 6px;
  color: #FFFFFF;
  background: #07096B;
}

.old-grid aside span {
  padding-left: 6px;
}

.old-content {
  padding: 28px 28px 24px;
  text-align: center;
}

.old-content h3 {
  color: #9B111E;
  font-size: clamp(1.18rem, 2vw, 1.72rem);
  line-height: 1.15;
}

.old-image {
  width: min(250px, 72%);
  height: 122px;
  margin: 22px auto;
  border: 6px solid #020357;
  background: linear-gradient(135deg, #07096B, #2F318B 48%, #080951);
}

.old-content p {
  max-width: 380px;
  margin: 0 auto 14px;
  font-size: 0.83rem;
}

.old-content ul {
  display: inline-grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  text-align: left;
  font-size: 0.78rem;
}

.modern-browser {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 20px;
  color: var(--ink);
  border: 1px solid rgba(45, 56, 58, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 251, 243, 0.96) 0 62%, rgba(45, 56, 58, 0.92) 62%),
    var(--surface);
  box-shadow: 0 28px 80px rgba(45, 56, 58, 0.18);
}

.modern-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(45, 56, 58, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 251, 243, 0.86);
  box-shadow: 0 14px 34px rgba(45, 56, 58, 0.08);
}

.modern-nav strong {
  margin-right: auto;
  font-size: 1rem;
}

.modern-nav span {
  color: rgba(45, 56, 58, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
}

.modern-nav em {
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--surface);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  background: var(--ink);
}

.modern-hero-card {
  max-width: 420px;
  align-self: center;
  padding: clamp(18px, 3vw, 32px) 0;
}

.modern-hero-card span,
.modern-stats strong,
.comparison-points span {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modern-hero-card h3 {
  margin-top: 10px;
  font-size: clamp(2.02rem, 4.4vw, 4.25rem);
  line-height: 0.98;
}

.modern-hero-card p {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(45, 56, 58, 0.72);
}

.modern-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.modern-actions b,
.modern-actions small {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.modern-actions b {
  color: var(--surface);
  background: var(--ink);
}

.modern-actions small {
  color: var(--ink);
  background: rgba(210, 180, 140, 0.28);
}

.modern-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 460px;
}

.modern-stats span {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(45, 56, 58, 0.1);
  border-radius: var(--radius);
  color: rgba(45, 56, 58, 0.62);
  font-size: 0.72rem;
  background: rgba(255, 251, 243, 0.72);
}

.modern-stats strong {
  color: var(--ink);
  font-size: 1.34rem;
  line-height: 1;
  text-transform: none;
}

.comparison-divider {
  position: absolute;
  inset: 0 auto 0 var(--compare, 52%);
  z-index: 4;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--ink), transparent);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  border: 1px solid rgba(45, 56, 58, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(45, 56, 58, 0.2);
  transform: translate(-50%, -50%);
}

.comparison-divider svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.comparison-points {
  display: grid;
  gap: 12px;
}

.comparison-points article {
  min-height: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 251, 243, 0.72);
}

.comparison-points h3 {
  margin-top: 10px;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.05;
}

.comparison-points p {
  margin: 12px 0 0;
  color: rgba(45, 56, 58, 0.72);
}

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

.progress-story {
  overflow: hidden;
  background: var(--surface);
}

.progress-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 max(20px, calc((100vw - 1120px) / 2));
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 90px);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 118px;
}

.process-copy p:last-child,
.contact-copy p {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 1.06rem;
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  inset: 22px auto 22px 20px;
  width: 2px;
  background: rgba(45, 56, 58, 0.12);
}

.process-timeline::after {
  content: "";
  position: absolute;
  inset: 22px auto 22px 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--copper), var(--sage));
  transform: scaleY(var(--timeline-progress, 0));
  transform-origin: top;
}

.timeline-step {
  position: relative;
  z-index: 1;
  margin-left: 48px;
  padding: 22px;
  transform: translateX(var(--item-x, 34px));
  opacity: var(--item-opacity, 0.46);
  transition: border-color 220ms ease, background 220ms ease;
}

.timeline-step.is-current {
  border-color: rgba(196, 106, 67, 0.46);
  background: #FFF8ED;
}

.timeline-step span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-step h3 {
  margin-top: 12px;
  font-size: 1.56rem;
}

.timeline-step p {
  margin: 12px 0 0;
}

.detail-strip {
  background: var(--paper-2);
}

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

.detail-item {
  padding: 24px;
}

.detail-item span {
  display: block;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-item p {
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.contact-section {
  color: var(--surface);
  background: var(--ink);
}

.contact-section .eyebrow {
  color: var(--sand);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.6fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
}

.contact-copy p {
  color: rgba(255, 251, 243, 0.74);
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.26);
}

.contact-link {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-link span {
  color: rgba(45, 56, 58, 0.56);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.contact-form {
  align-self: start;
}

.contact-cta span {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-cta h3 {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.05;
}

.contact-cta p {
  margin: 0;
  color: rgba(45, 56, 58, 0.74);
}

.contact-section .reveal-panel {
  clip-path: none;
}

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

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

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

.field span {
  color: rgba(45, 56, 58, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  outline: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(196, 106, 67, 0.72);
  box-shadow: 0 0 0 4px rgba(196, 106, 67, 0.12);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: rgba(196, 106, 67, 0.9);
}

.captcha-field strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  color: var(--copper);
  border: 1px solid rgba(196, 106, 67, 0.26);
  border-radius: 7px;
  background: rgba(196, 106, 67, 0.08);
}

.form-status {
  padding: 12px 13px;
  border-radius: 7px;
  font-weight: 800;
}

.form-status.success {
  color: #365339;
  background: rgba(122, 139, 120, 0.18);
}

.form-status.error {
  color: #7A2F22;
  background: rgba(196, 106, 67, 0.14);
}

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

.request-page {
  background: var(--paper);
}

.request-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 128px 0 72px;
}

.request-media,
.request-media img,
.request-shade {
  position: absolute;
  inset: 0;
}

.request-media {
  z-index: -3;
}

.request-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.request-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(45, 56, 58, 0.96) 0%, rgba(45, 56, 58, 0.84) 42%, rgba(45, 56, 58, 0.46) 100%),
    linear-gradient(180deg, rgba(245, 239, 228, 0.08), rgba(245, 239, 228, 0.72));
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.88fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.request-copy {
  color: var(--surface);
  padding-top: clamp(24px, 7vw, 90px);
}

.request-copy h1 {
  max-width: 650px;
  font-size: clamp(2.8rem, 6.4vw, 6.4rem);
}

.request-copy p {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 251, 243, 0.8);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
}

.request-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.request-notes span {
  padding: 8px 11px;
  color: rgba(255, 251, 243, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(255, 251, 243, 0.2);
  border-radius: 999px;
  background: rgba(255, 251, 243, 0.08);
  backdrop-filter: blur(12px);
}

.request-form {
  width: 100%;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: url("/cursors/Normal-small.png?v=20260502-ui4") 11 9, auto !important;
  }

  a,
  button,
  select,
  summary,
  [role="button"],
  .button,
  .header-action,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  input[type="range"] {
    cursor: url("/cursors/Select-small.png?v=20260502-ui4") 11 8, pointer !important;
  }

  input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),
  textarea {
    cursor: url("/cursors/Text-small.png?v=20260502-ui4") 14 14, text !important;
  }

  button:disabled,
  input:disabled,
  select:disabled,
  textarea:disabled,
  [aria-disabled="true"] {
    cursor: url("/cursors/Unavailable-small.png?v=20260502-ui4") 13 13, not-allowed !important;
  }

  [draggable="true"] {
    cursor: url("/cursors/Move-small.png?v=20260502-ui4") 13 13, move !important;
  }

  [aria-busy="true"],
  .is-loading {
    cursor: url("/cursors/Normal-small.png?v=20260502-ui4") 11 9, progress !important;
  }
}

.site-footer {
  padding: 30px 0;
  color: rgba(45, 56, 58, 0.68);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

.reveal-panel {
  clip-path: inset(0 -16px var(--reveal-hidden, 100%) -16px round var(--radius));
  transform: translate3d(0, var(--reveal-y, 36px), 0);
  opacity: var(--reveal-opacity, 0.2);
  will-change: clip-path, transform, opacity;
}

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

  .reveal-panel,
  .timeline-step,
  .hero-media,
  .request-media {
    clip-path: none;
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .before-after-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .before-after-heading h2 {
    max-width: 820px;
    font-size: clamp(2.05rem, 6vw, 3.85rem);
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100vw - 28px, 720px);
  }

  .site-header {
    inset: 12px 14px auto;
    width: calc(100vw - 28px);
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .header-action {
    min-width: var(--header-action-min);
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-inner {
    padding: 136px 0 118px;
  }

  h1 {
    font-size: clamp(2rem, 9.8vw, 4.8rem);
  }

  .hero h1 {
    font-size: clamp(2.05rem, 7.4vw, 4.25rem);
  }

  .section-heading h2,
  .process-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.95rem, 8vw, 3.45rem);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(45, 56, 58, 0.94) 0%, rgba(45, 56, 58, 0.8) 56%, rgba(45, 56, 58, 0.36) 100%),
      linear-gradient(180deg, rgba(45, 56, 58, 0.2) 0%, rgba(45, 56, 58, 0.8) 100%);
  }

  .hero-status {
    right: 14px;
    left: 14px;
    bottom: 24px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .intro-grid,
  .before-after-heading,
  .comparison-layout,
  .process-layout,
  .contact-layout,
  .request-layout {
    grid-template-columns: 1fr;
  }

  .intro-metrics,
  .service-grid,
  .detail-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.wide {
    grid-column: auto;
  }

  .process-copy {
    position: static;
  }

  .request-hero {
    padding-top: 116px;
  }

  .request-copy {
    padding-top: 0;
  }

  .request-copy h1 {
    font-size: clamp(2rem, 10vw, 4.35rem);
  }

  .service-card {
    min-height: 290px;
  }

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

@media (max-width: 560px) {
  h1,
  h2,
  h3 {
    line-height: 1.04;
    text-wrap: pretty;
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 30px;
  }

  .header-action svg {
    display: none;
  }

  .header-action {
    min-width: 112px;
  }

  .button,
  .header-action {
    white-space: normal;
    text-align: center;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-copy {
    font-size: 1.03rem;
  }

  .section {
    padding-block: 70px;
  }

  .before-after-heading {
    margin-bottom: 24px;
  }

  .before-after-heading h2 {
    font-size: clamp(1.9rem, 8.6vw, 2.9rem);
  }

  .before-after-heading p:last-child {
    font-size: 1rem;
  }

  .comparison-stage {
    min-height: 500px;
  }

  .mockup {
    padding: 58px 14px 22px;
  }

  .comparison-label {
    top: 12px;
    min-height: 32px;
    padding-inline: 12px;
    font-size: 0.68rem;
  }

  .comparison-label.before {
    left: 12px;
  }

  .comparison-label.after {
    right: 12px;
  }

  .old-browser,
  .modern-browser {
    min-height: 360px;
  }

  .old-top {
    font-size: 0.5rem;
  }

  .old-brand {
    padding: 18px 8px 14px;
    font-size: 1.22rem;
  }

  .old-grid {
    grid-template-columns: 96px 1fr;
  }

  .old-grid aside {
    gap: 4px;
    padding: 7px;
    font-size: 0.58rem;
  }

  .old-content {
    padding: 18px 12px;
  }

  .old-content h3 {
    font-size: 1.02rem;
  }

  .old-image {
    width: 88%;
    height: 86px;
    margin-block: 16px;
  }

  .old-content p,
  .old-content ul {
    font-size: 0.66rem;
  }

  .modern-browser {
    gap: 14px;
    padding: 14px;
    background:
      linear-gradient(180deg, rgba(255, 251, 243, 0.96) 0 74%, rgba(45, 56, 58, 0.9) 74%),
      var(--surface);
  }

  .modern-nav {
    gap: 8px;
    min-height: 48px;
    padding-inline: 10px;
  }

  .modern-nav span {
    display: none;
  }

  .modern-nav em {
    padding-inline: 9px;
  }

  .modern-hero-card h3 {
    font-size: clamp(1.82rem, 10vw, 3rem);
  }

  .modern-hero-card p {
    font-size: 0.88rem;
  }

  .modern-stats {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .modern-stats span {
    min-height: 54px;
    padding: 9px 10px;
  }

  .comparison-divider span {
    width: 48px;
  }

  .request-hero {
    padding-bottom: 48px;
  }

  .service-card,
  .detail-item,
  .contact-panel {
    padding: 20px;
  }

  .timeline-step {
    margin-left: 36px;
    padding: 18px;
  }

  .process-timeline::before,
  .process-timeline::after {
    left: 14px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: clamp(1.78rem, 8.8vw, 2.95rem);
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .section-heading h2,
  .process-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.62rem, 7.8vw, 2.45rem);
  }

  .before-after-heading h2 {
    font-size: clamp(1.68rem, 8vw, 2.5rem);
  }

  .request-copy h1 {
    font-size: clamp(1.82rem, 8.8vw, 3rem);
  }
}
