:root {
  --orange: #F36B43;
  --orange-hover: #E05530;
  --orange-2: #F36B43;
  --brown: #5F3B2D;
  --brown-2: #5F3B2D;
  --brown-deep: #291C17;
  --brown-raised: #3A2A23;
  --ink: #1A120F;
  --muted: #6B574C;
  --line: #E6D9CF;
  --cream: #F8F3ED;
  --paper: #FFFFFF;
  --gold: #C49A56;
  --graphite: #291C17;
  --graphite-2: #34241E;
  --on-dark: #F4EBE4;
  --on-dark-muted: #CBBCB3;
  --focus: #F36B43;
  --radius: 2px;
  --card-radius: 12px;
  --shadow-soft: 0 8px 28px rgba(41, 28, 23, 0.06);
  --header-h: 128px;
  --wrap: min(1120px, calc(100% - 48px));
  --sans: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero .kicker {
  max-width: 38em;
  letter-spacing: 0.12em;
  line-height: 1.7;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.lead {
  max-width: 38em;
  color: var(--muted);
  font-size: 1.05rem;
}

h1, h2, .display {
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.15rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.02em; line-height: 1.3; }

.section { padding: 96px 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-graphite {
  background: var(--graphite);
  color: var(--on-dark);
}
.section-graphite .lead,
.section-graphite p { color: var(--on-dark-muted); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-head-wide { max-width: 38em; }
.section-head-wide h2 {
  font-size: clamp(1.55rem, 3.1vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}
.btn-light {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover { background: var(--cream); }

.hero-actions,
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(248, 243, 237, 0.96);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img {
  height: 108px;
  width: auto;
}
.logo-dark { display: none; }
.logo-light { display: block; }
.logo img.logo-light { height: 92px; }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 8px 0;
  color: inherit;
  opacity: 0.82;
}
.nav a:hover,
.nav a.is-active { opacity: 1; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--orange);
}
.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-panel {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 35;
  background: var(--cream);
  color: var(--ink);
  padding: 28px 24px 48px;
  flex-direction: column;
  gap: 8px;
}
.nav-panel.is-open { display: flex; }
.nav-panel a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 600;
}
.nav-panel .btn { margin-top: 20px; align-self: flex-start; }

body.nav-open { overflow: hidden; }
body.nav-open .site-header {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
body.nav-open .logo-dark { display: none; }
body.nav-open .logo-light { display: block; }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 80px 0 88px;
  background:
    radial-gradient(ellipse 64% 48% at 86% 12%, rgba(243, 107, 67, 0.18), transparent 58%),
    linear-gradient(180deg, var(--brown-deep) 0%, var(--graphite-2) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, #000 36%, transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.62fr);
  gap: 64px;
  align-items: center;
}
.hero h1 { max-width: 16em; }
.hero-h1-end { white-space: nowrap; }
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero .lead {
  margin: 22px 0 32px;
  color: var(--on-dark-muted);
  max-width: 34em;
}
.hero-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  color: var(--on-dark-muted);
  font-size: 13px;
}
.hero-meta b,
.hero-aside b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.hero-aside {
  display: grid;
  align-self: stretch;
  align-content: center;
  border-top: 1px solid rgba(196, 154, 86, 0.28);
}
.hero-aside > div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.5;
}

.stage {
  position: relative;
  min-height: 420px;
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
  transform-style: preserve-3d;
}
.panel {
  position: absolute;
  width: min(100%, 340px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  padding: 18px 18px 16px;
}
.panel strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.panel-a { top: 18px; right: 8%; }
.panel-b { top: 148px; left: 0; }
.panel-c { top: 278px; right: 4%; }
.bars, .rows { display: grid; gap: 8px; }
.bars i, .rows i {
  display: block;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
}
.bars i:nth-child(1) { width: 88%; }
.bars i:nth-child(2) { width: 64%; }
.bars i:nth-child(3) { width: 76%; }
.rows i:nth-child(1) { width: 100%; }
.rows i:nth-child(2) { width: 70%; }
.rows i:nth-child(3) { width: 82%; }
.nodes {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
}
.nodes b {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  position: relative;
}
.nodes b:nth-child(2) {
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(243, 107, 67, 0.18);
  animation: pulse 2.8s ease-in-out infinite;
}
.nodes::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.stage-label {
  position: absolute;
  bottom: 8px;
  left: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 107, 67, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(243, 107, 67, 0); }
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.about-aside {
  padding-top: 8px;
}
.about-aside h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  max-width: 16em;
}
.facts {
  margin-top: 36px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.facts li {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.facts b {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 40em;
}
.about-copy p + p { margin-top: 18px; }
.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.stack span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 12px;
  font-weight: 500;
  color: var(--brown);
}

/* Services */
.need {
  background: var(--cream);
  color: var(--ink);
}
.need-head {
  text-align: center;
  margin-bottom: 48px;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}
.need-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.need-head em {
  font-style: normal;
  font-weight: 700;
  color: var(--orange);
}
.need-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.02rem;
}
.need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.need-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
  padding: 32px 24px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 228px;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.need-card:hover {
  border-color: rgba(243, 107, 67, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(41, 28, 23, 0.08);
}
a.need-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
.need-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--orange);
}
.need-card h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.12rem;
}
.need-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
  max-width: 28em;
}
.need-card .more {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
}
.need-card .more:hover { color: var(--orange-hover); }
.need-card-wide {
  grid-column: 1 / -1;
  min-height: 118px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  text-align: left;
  align-items: center;
  gap: 8px 28px;
  padding: 28px 32px;
}
.need-card-wide .need-icon { margin-bottom: 0; }
.need-card-wide > div { flex: 1 1 280px; }
.need-card-wide h3 { margin-bottom: 8px; }
.need-card-wide p { max-width: 44em; flex: 0; }
.need-card-wide .more { margin-top: 0; margin-left: auto; }

/* Technologies */
.tech {
  background: var(--cream);
  text-align: center;
}
.tech-head {
  max-width: 560px;
  margin: 0 auto 48px;
}
.tech-head h2 { margin-bottom: 12px; }
.tech-head p {
  color: var(--muted);
  font-size: 1.05rem;
}
.tech-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  max-width: 980px;
  margin: 0 auto;
}
.tech-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
}
.tech-logos img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}
.tech-logos .tech-wide {
  width: 96px;
  height: 52px;
}
.tech-logos .tech-aws {
  width: 110px;
  height: 44px;
}
.tech-logos .tech-apple {
  width: 36px;
  height: 36px;
  margin-left: -4px;
}
.tech-logos span {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
@keyframes tech-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* Reasons */
.reason-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.reason {
  display: grid;
  grid-template-columns: 72px 220px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.reason .n {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange);
  padding-top: 4px;
}
.reason h3 { padding-top: 2px; }
.reason p { color: var(--muted); }

/* Cases */
.case {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: transparent;
  border: 0;
}
.case + .case { margin-top: 20px; }
.case-visual {
  position: relative;
  overflow: visible;
  border: 0;
  min-height: 0;
  padding: 12px 8px 8px;
  background: transparent;
}
.case-visual::after { display: none; }
.screens {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 24px 28px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.screen { margin: 0; }
.screen-frame {
  background: #1c1c1e;
  border-radius: 14px;
  padding: 10px 10px 12px;
  box-shadow: 0 22px 44px rgba(26, 18, 15, 0.14);
}
.screen-chrome {
  display: flex;
  gap: 6px;
  padding: 2px 2px 10px;
}
.screen-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3a3a3e;
}
.screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  background: #fff;
}
.screen figcaption {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.case-copy {
  padding: 36px 8px 8px;
  max-width: 720px;
}
.case-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.case h3 { font-size: 1.7rem; margin-bottom: 14px; }
.case-copy p { color: var(--muted); }
.case-study h2 {
  font-size: 1.05rem;
  letter-spacing: 0;
  margin: 28px 0 8px;
}
.case-study h2:first-of-type { margin-top: 8px; }
.case-points {
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}
.case-points li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 0.98rem;
}
.case-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}
.case-action { margin-top: 24px; }
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.case-tags li {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brown);
}
.clients-quiet {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.clients-quiet p {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 24px;
}
.clients-track {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients-slide {
  display: flex;
  width: max-content;
  animation: tech-slide 50s linear infinite;
}
.clients-track:hover .clients-slide {
  animation-play-state: paused;
}
.clients-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 64px;
  flex: 0 0 auto;
  width: max-content;
  padding: 8px 48px;
}
.clients-row img {
  height: 72px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Process */
.process-band {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(243, 107, 67, 0.1), transparent 55%),
    var(--brown-deep);
  color: var(--on-dark);
}
.process-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px 56px;
  align-items: end;
  margin-bottom: 56px;
}
.process-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.process-head em {
  font-style: normal;
  color: var(--orange);
}
.process-head p {
  color: var(--on-dark-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  padding-bottom: 6px;
}
.process-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, auto);
  gap: 22px 12px;
  position: relative;
  isolation: isolate;
  padding-bottom: 8px;
  counter-reset: process-step;
}
.process-flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  bottom: 8%;
  width: 1px;
  background: rgba(196, 154, 86, 0.28);
  pointer-events: none;
}
.process-flow li {
  position: relative;
  z-index: 1;
  counter-increment: process-step;
  background: var(--brown-raised);
  color: var(--on-dark);
  border: 1px solid rgba(196, 154, 86, 0.18);
  border-left: 2px solid var(--gold);
  border-radius: var(--card-radius);
  padding: 20px 24px 22px;
  min-height: 0;
  display: block;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}
.process-flow li::before {
  content: counter(process-step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--orange);
}
.process-flow li:nth-child(1) { grid-column: 1 / 6; grid-row: 1; }
.process-flow li:nth-child(2) { grid-column: 2 / 8; grid-row: 2; }
.process-flow li:nth-child(3) { grid-column: 4 / 10; grid-row: 3; }
.process-flow li:nth-child(4) { grid-column: 5 / 11; grid-row: 4; }
.process-flow li:nth-child(5) { grid-column: 7 / 13; grid-row: 5; }
.process-flow li:nth-child(6) { grid-column: 8 / 13; grid-row: 6; }
.process-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  top: calc(100% + 2px);
  height: 20px;
  border-left: 1.5px dashed rgba(196, 154, 86, 0.38);
  pointer-events: none;
}
.process-flow h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--on-dark);
}
.process-flow p {
  margin: 8px 0 0;
  color: var(--on-dark-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(243, 107, 67, 0.14), transparent 58%),
    var(--brown-deep);
  color: var(--on-dark);
}
.cta-band h2 {
  max-width: 18ch;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
}
.cta-band h2 em {
  font-style: normal;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 94%;
}
.cta-band p {
  max-width: 36em;
  margin-bottom: 32px;
  color: var(--on-dark-muted);
  font-size: 1.05rem;
}
.cta-band .btn {
  min-height: 50px;
  padding: 12px 22px;
}
.cta-whatsapp {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.cta-whatsapp:hover {
  background: var(--cream);
  color: var(--ink);
}
.cta-expert {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.cta-expert:hover { background: var(--orange-hover); border-color: var(--orange-hover); }

/* Footer */
.site-footer {
  background: var(--brown-deep);
  color: var(--on-dark);
  padding: 48px 0 88px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 80px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(196, 154, 86, 0.18);
}
.footer-logo {
  display: block;
  height: 52px;
  width: auto;
  margin-bottom: 16px;
}
.footer-brand p {
  margin: 0;
  max-width: 28em;
  color: var(--on-dark-muted);
  font-size: 14px;
  line-height: 1.55;
}
.footer-place {
  margin-top: 8px;
  font-size: 13px;
}
.footer-contact {
  display: grid;
  gap: 10px;
  justify-items: end;
  text-align: right;
}
.site-footer a {
  color: var(--on-dark-muted);
  font-size: 14px;
}
.site-footer a:hover { color: #fff; }
.site-footer .footer-cta {
  margin-top: 4px;
  font-weight: 600;
  color: var(--orange);
}
.site-footer .footer-cta:hover { color: #fff; }
.footer-social {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.footer-social span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--on-dark-muted);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.58);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.whatsapp-float:hover { transform: translateY(-2px); }

/* Inner pages */
.page-intro {
  padding: 72px 0 48px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-intro h1 { color: var(--ink); }
.crumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a:hover { color: var(--ink); }
.page-intro .lead { margin-top: 16px; }
.page-intro-project h1 {
  max-width: 18em;
  font-size: clamp(1.7rem, 3.6vw, 2.75rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.page-intro-project .lead { max-width: 40em; }

.detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 140px;
}
.anchor-alias {
  display: block;
  height: 0;
  scroll-margin-top: 140px;
}
.detail .n {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange);
}
.detail h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.detail p { color: var(--muted); max-width: 46em; }
.checklist {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 0.95rem;
}
.checklist svg { flex: 0 0 auto; margin-top: 3px; color: var(--orange); }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.page-intro-dark,
.contact-intro {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  border-bottom: 0;
  background:
    radial-gradient(ellipse 64% 48% at 86% 12%, rgba(243, 107, 67, 0.18), transparent 58%),
    linear-gradient(180deg, var(--brown-deep) 0%, var(--graphite-2) 100%);
  color: #fff;
}
.page-intro-dark::before,
.contact-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, #000 36%, transparent);
  pointer-events: none;
}
.page-intro-dark .wrap,
.contact-intro .wrap { position: relative; }
.page-intro-dark h1,
.contact-intro h1 { color: #fff; }
.contact-intro .kicker { color: var(--orange); }
.page-intro-dark .lead,
.contact-intro .lead {
  max-width: 40em;
  margin-top: 16px;
  color: var(--on-dark-muted);
}
.page-intro-dark .crumb {
  color: var(--on-dark-muted);
}
.page-intro-dark .crumb a { color: rgba(255, 255, 255, 0.72); }
.page-intro-dark .crumb a:hover { color: #fff; }
.contact-page {
  padding: 40px 0 64px;
  background: var(--paper);
}
.split-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "aside form";
  gap: 28px 48px;
  align-items: start;
}
.contact-aside { grid-area: aside; }
.contact-panel { grid-area: form; scroll-margin-top: 140px; }
.contact-channels h2,
.contact-panel h2 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}
.contact-channels ul {
  display: grid;
  gap: 12px;
}
.contact-channels a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.contact-channels a:hover { color: var(--brown); }
.contact-hours {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}
.contact-legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.contact-legal p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  max-width: 28em;
}
.contact-legal p + p { margin-top: 6px; }
.contact-panel {
  position: relative;
  padding: 28px 28px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
}
.contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-panel .form-note { margin-bottom: 18px; }
.contact-panel-rest { margin-top: 16px; }
.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  background: var(--paper);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.contact-panel input:hover,
.contact-panel select:hover,
.contact-panel textarea:hover {
  border-color: #d4c4b6;
}
.contact-panel input:focus,
.contact-panel select:focus,
.contact-panel textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 0;
  border-color: var(--orange);
  background: var(--paper);
}
.contact-panel textarea { min-height: 120px; }

.map-wrap {
  margin-top: 24px;
  border: 1px solid var(--line);
  height: 220px;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(0.95);
}

form label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-2);
}
form input,
form select,
form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  border-radius: var(--radius);
}
form textarea { min-height: 140px; resize: vertical; }
form input:focus,
form select:focus,
form textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 0;
  border-color: var(--orange);
}
.form-grid {
  display: grid;
  gap: 16px;
}
.form-grid.two { grid-template-columns: 1fr 1fr; }
.contact-pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-pair .field-hint { grid-column: 1 / -1; margin-bottom: 0; }
.field-hint,
.form-privacy {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
}
.form-privacy { margin: 4px 0 0; max-width: 42em; }
.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.form-success {
  display: none;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #eef8f0;
  color: #1d5c32;
  font-size: 14px;
}
.form-success.is-visible { display: block; }
.form-success p + p { margin-top: 8px; }
.form-success a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}
.form-error {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #e2b4b0;
  background: #fdeeee;
  color: #7a2e28;
  font-size: 14px;
}
.form-error.is-visible { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.7s ease both;
  }
  .delay-2 { animation-delay: 0.12s; }
  .delay-3 { animation-delay: 0.24s; }
}

@keyframes rise {
  from { transform: translateY(12px); }
  to { transform: none; }
}

@media (max-width: 980px) {
  :root { --header-h: 108px; }
  .logo img { height: 84px; }
  .logo img.logo-light { height: 72px; }
  .nav { gap: 16px; }
  .hero-grid,
  .about-grid,
  .split,
  .case { grid-template-columns: 1fr; }
  .split-contact {
    grid-template-columns: 1fr;
    grid-template-areas:
      "form"
      "aside";
    gap: 28px;
  }
  .reason { grid-template-columns: 56px 1fr; }
  .reason p { grid-column: 2; }
  .process-head { grid-template-columns: 1fr; gap: 16px; }
  .process-flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .process-flow::before { display: none; }
  .process-flow li {
    width: 100%;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .process-flow li:not(:last-child)::after { display: none; }
  .hero h1 { max-width: none; }
  .need-grid { grid-template-columns: 1fr 1fr; }
  .hero-aside { margin-top: 12px; }
  .tech-logos { gap: 28px 36px; }
  .clients-row { gap: 52px; }
}

@media (max-width: 760px) {
  :root { --wrap: min(1120px, calc(100% - 32px)); --header-h: 100px; }
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 72px 0; }
  .need-grid,
  .form-grid.two,
  .contact-pair { grid-template-columns: 1fr; }
  .page-intro-dark,
  .contact-intro { padding: 48px 0 40px; }
  .contact-page { padding: 28px 0 56px; }
  .contact-panel { padding: 22px 18px 20px; }
  .need-card-wide {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
  .need-card-wide .more { margin-left: 0; margin-top: 12px; }
  .process-flow li { width: 100%; margin-left: 0 !important; }
  .process-flow p {
    position: static;
    width: auto;
    margin-top: 8px;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    color: var(--on-dark-muted);
  }
  .process-flow li {
    display: block;
    border-radius: var(--card-radius);
    padding: 16px 20px 18px;
  }
  .process-flow li:not(:last-child)::after { display: none; }
  .cta-band { padding: 80px 0; }
  .cta-band h2 { max-width: none; }
  .hero { padding: 48px 0 56px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .case-visual { min-height: 0; padding: 8px 0 4px; }
  .case-copy { padding: 28px 0 8px; }
  .screens { grid-template-columns: 1fr; gap: 20px; }
  .detail { grid-template-columns: 1fr; gap: 8px; }
  .facts li { grid-template-columns: 1fr; gap: 6px; }
  .logo img {
    height: 84px;
    max-width: calc(100vw - 108px);
    object-fit: contain;
    object-position: left center;
  }
  .logo img.logo-light { height: 72px; }
  .stage { min-height: 300px; }
  .panel { width: min(100%, 280px); }
  .clients-slide { animation-duration: 42s; }
  .clients-row { gap: 40px; padding: 8px 32px; }
  .clients-row img { height: 68px; max-width: 160px; }
  .tech-logos { gap: 22px 28px; }
  .tech-logos span { font-size: 1.15rem; }
  .tech-logos img { width: 44px; height: 44px; }
  .tech-logos .tech-wide { width: 80px; height: 44px; }
  .tech-logos .tech-aws { width: 92px; height: 36px; }
  .site-footer { padding: 40px 0 112px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .footer-contact {
    justify-items: start;
    text-align: left;
  }
  .footer-logo { height: 48px; }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding-right: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .stage { transform: none; }
  .clients-slide { animation: none; }
  .clients-row[aria-hidden="true"] { display: none; }
  .clients-track { mask-image: none; }
  .clients-row {
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: 920px;
    margin: 0 auto;
  }
}
