:root {
  --ink: #111b18;
  --dark: #0d1512;
  --muted: #65716b;
  --line: #d9e1dc;
  --paper: #f4f6f1;
  --panel: #fbfcf8;
  --white: #ffffff;
  --green: #276f51;
  --blue: #2d6e8e;
  --coral: #bd624d;
  --gold: #b99457;
  --gold-soft: #e7d6aa;
  --soft-green: #edf6f2;
  --soft-blue: #ecf4f7;
  --soft-coral: #faf0ec;
  --soft-gold: #f7f1e4;
  --shadow: 0 26px 80px rgba(17, 27, 24, 0.13);
  --shadow-soft: 0 16px 46px rgba(17, 27, 24, 0.08);
}

* {
  box-sizing: border-box;
}

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

[id] {
  scroll-margin-top: 112px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(244, 246, 241, 0) 420px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  background: rgba(17, 24, 21, 0.94);
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  display: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(13, 21, 18, 0.96) 0%, rgba(13, 21, 18, 0.78) 44%, rgba(13, 21, 18, 0.38) 100%),
    linear-gradient(180deg, rgba(13, 21, 18, 0.22), rgba(13, 21, 18, 0.88));
  content: "";
}

.hero-bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.84;
  pointer-events: none;
  mix-blend-mode: screen;
}

.nav,
.hero-copy,
.proof-strip,
.band > *,
.contact-wrap,
.footer {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 1000;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(231, 214, 170, 0.34);
  border-radius: 8px;
  background: rgba(30, 39, 35, 0.92);
  box-shadow: 0 18px 58px rgba(5, 9, 8, 0.28);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transform: translateX(-50%);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.nav.is-scrolled {
  border-color: rgba(185, 148, 87, 0.28);
  background: rgba(251, 252, 248, 0.96);
  box-shadow: 0 18px 56px rgba(17, 27, 24, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 830;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(231, 214, 170, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(231, 214, 170, 0.96), rgba(155, 208, 183, 0.86)),
    var(--gold-soft);
  color: var(--dark);
  box-shadow:
    0 10px 24px rgba(185, 148, 87, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.brand-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

.nav.is-scrolled .brand,
.nav.is-scrolled .nav-links {
  color: var(--ink);
}

.nav.is-scrolled .brand-mark {
  border-color: rgba(185, 148, 87, 0.38);
  box-shadow:
    0 10px 24px rgba(17, 27, 24, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--gold);
}

.nav-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(231, 214, 170, 0.28);
  border-radius: 8px;
  background: rgba(231, 214, 170, 0.12);
  color: var(--white);
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.nav-call:hover {
  border-color: rgba(231, 214, 170, 0.78);
  background: var(--gold);
  color: var(--dark);
}

.nav.is-scrolled .nav-call {
  border-color: var(--line);
  background: rgba(23, 33, 29, 0.06);
  color: var(--ink);
}

.nav.is-scrolled .nav-call:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--dark);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(231, 214, 170, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.language-switch button.is-active {
  background: var(--gold);
  color: var(--dark);
}

.nav.is-scrolled .language-switch {
  border-color: var(--line);
  background: rgba(23, 33, 29, 0.05);
}

.nav.is-scrolled .language-switch button {
  color: var(--muted);
}

.nav.is-scrolled .language-switch button.is-active {
  color: var(--dark);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1180px;
  padding: clamp(118px, 14vw, 170px) 0 150px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-hero .eyebrow,
.cta .eyebrow {
  color: #9bd0b7;
}

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

h1 {
  width: min(760px, 100%);
  margin-bottom: 22px;
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 820;
  line-height: 0.95;
  letter-spacing: 0;
}

.rotating-word {
  display: inline-block;
  color: var(--gold-soft);
  transform-origin: left bottom;
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rotating-word.is-changing {
  opacity: 0;
  transform: translateY(10px) rotateX(18deg);
}

.lead {
  width: min(690px, 100%);
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
}

.button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button.primary {
  background: var(--gold-soft);
  color: var(--dark);
  box-shadow: 0 16px 36px rgba(185, 148, 87, 0.24);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}

.stack-marquee {
  width: min(720px, 100%);
  margin-top: 24px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1) 8%, rgba(255, 255, 255, 1) 92%, transparent);
}

.stack-track {
  display: flex;
  width: max-content;
  gap: 8px;
  animation: stack-marquee 26s linear infinite;
}

.stack-marquee:hover .stack-track {
  animation-play-state: paused;
}

.stack-track span,
.tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 12px;
  font-weight: 720;
}

.delivery-panel {
  position: absolute;
  right: max(40px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  z-index: 2;
  width: min(430px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(32, 41, 37, 0.9);
  box-shadow: 0 28px 90px rgba(5, 9, 8, 0.28);
  backdrop-filter: blur(8px);
}

.panel-top,
.panel-grid {
  display: grid;
  gap: 12px;
}

.panel-top {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 14px;
}

.panel-top strong {
  font-size: 15px;
}

.panel-top span,
.sprint-card span,
.chat-card span {
  color: #d9c488;
  font-size: 12px;
  font-weight: 760;
}

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

.sprint-card,
.chat-card {
  min-height: 170px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.095);
}

.sprint-card strong {
  display: block;
  margin: 8px 0;
  font-size: 34px;
  line-height: 1;
}

.sprint-card p,
.chat-card p,
.chat-card strong {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 13px;
}

.chat-card p {
  margin: 10px 0 8px;
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
  color: var(--dark);
}

.chat-card strong {
  display: block;
  padding: 10px;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: -54px;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 24, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(17, 27, 24, 0.11);
}

.proof-strip div {
  min-height: 122px;
  padding: 26px;
}

.proof-strip div + div {
  border-left: 1px solid var(--line);
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 25px;
  line-height: 1.1;
}

.proof-strip span {
  color: var(--muted);
}

.band {
  padding: 94px 0;
  background: var(--paper);
}

.band.white {
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.wide-heading {
  max-width: 860px;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 810;
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: start;
}

blockquote {
  margin: 0;
  padding: 34px;
  border: 1px solid rgba(17, 27, 24, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(251, 252, 248, 0.96)),
    var(--panel);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 780;
  line-height: 1.16;
}

.service-grid,
.ai-grid,
.expertise-grid,
.process-grid {
  display: grid;
  gap: 14px;
}

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

.service-card,
.ai-grid article,
.expertise-grid article,
.process-grid article,
.fit-grid article,
.package-grid article {
  position: relative;
  min-height: 268px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 24, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card:hover,
.ai-grid article:hover,
.expertise-grid article:hover,
.process-grid article:hover,
.fit-grid article:hover,
.package-grid article:hover {
  border-color: rgba(185, 148, 87, 0.38);
  box-shadow: 0 28px 72px rgba(17, 27, 24, 0.13);
  transform: translateY(-3px);
}

.service-card::before,
.ai-grid article::before,
.expertise-grid article::before,
.process-grid article::before,
.fit-grid article::before,
.package-grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(39, 111, 81, 0.2));
  content: "";
  opacity: 0.62;
}

.service-card > span,
.ai-grid article > span,
.process-grid article > span,
.fit-grid article > span {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 820;
}

.accent-green > span,
.ai-grid article:nth-child(1) > span,
.process-grid article:nth-child(1) > span,
.expertise-grid article:nth-child(1) h3 {
  color: var(--green);
}

.accent-blue > span,
.ai-grid article:nth-child(2) > span,
.process-grid article:nth-child(2) > span,
.expertise-grid article:nth-child(2) h3 {
  color: var(--blue);
}

.accent-coral > span,
.ai-grid article:nth-child(3) > span,
.process-grid article:nth-child(3) > span,
.expertise-grid article:nth-child(3) h3 {
  color: var(--coral);
}

.accent-gold > span,
.ai-grid article:nth-child(4) > span,
.process-grid article:nth-child(4) > span,
.expertise-grid article:nth-child(4) h3 {
  color: var(--gold);
}

h3 {
  margin-bottom: 12px;
  font-size: 25px;
  font-weight: 790;
  line-height: 1.12;
  letter-spacing: 0;
}

.service-card p,
.ai-grid p,
.expertise-grid p,
.process-grid p,
.case-story p {
  color: var(--muted);
  line-height: 1.58;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-card .tags span,
.case-story .tags span {
  border-color: var(--line);
  background: var(--panel);
  color: var(--ink);
}

.case-list {
  border-top: 1px solid rgba(17, 27, 24, 0.1);
}

.case-story {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(17, 27, 24, 0.1);
  transition:
    background 180ms ease,
    padding 180ms ease;
}

.case-story:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.case-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 168px;
  height: 132px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 24, 0.09);
  border-radius: 8px;
  background: #f7f8f4;
  box-shadow: 0 12px 34px rgba(17, 27, 24, 0.08);
  cursor: pointer;
}

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

.case-story:nth-child(2) .case-visual img,
.case-story:nth-child(3) .case-visual img,
.case-story:nth-child(4) .case-visual img,
.case-story:nth-child(6) .case-visual img {
  object-fit: cover;
}

.case-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 780;
}

.case-story p {
  max-width: 690px;
  margin-bottom: 0;
  font-size: 16px;
}

.service-lab {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.service-tabs {
  display: grid;
  gap: 12px;
}

.service-tabs button,
.console-sidebar button,
.choice-row button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(17, 27, 24, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.service-tabs button:hover,
.service-tabs button.is-active,
.console-sidebar button:hover,
.console-sidebar button.is-active,
.choice-row button:hover,
.choice-row button.is-active {
  border-color: var(--gold);
  background: var(--dark);
  color: var(--white);
  transform: translateY(-1px);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.74fr);
  gap: 28px;
  min-height: 268px;
  padding: 34px;
  border: 1px solid rgba(17, 27, 24, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 78px rgba(17, 27, 24, 0.12);
}

.service-panel[hidden] {
  display: none;
}

.service-panel > div > span,
.brief-result > span,
.console-sidebar > span,
.package-grid article > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.service-panel p {
  color: var(--muted);
  font-size: 18px;
}

.service-panel ul {
  display: grid;
  gap: 12px;
  align-content: center;
  margin: 0;
  padding: 0;
  color: var(--ink);
  list-style: none;
}

.service-panel li {
  position: relative;
  padding-left: 20px;
}

.service-panel li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  content: "";
}

.dark-band {
  background:
    linear-gradient(135deg, #0b1210 0%, #111f1a 58%, #18241f 100%);
  color: var(--white);
}

.dark-band .section-heading p:last-child,
.dark-band .fit-grid p {
  color: rgba(255, 255, 255, 0.72);
}

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

.fit-grid article {
  min-height: 250px;
  border-color: rgba(231, 214, 170, 0.14);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: none;
}

.fit-grid article > span {
  color: var(--gold-soft);
}

.fit-grid article:hover {
  border-color: rgba(231, 214, 170, 0.46);
  box-shadow: 0 24px 68px rgba(5, 9, 8, 0.24);
}

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

.ai-console {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 14px;
  margin-top: 34px;
  padding: 20px;
  border: 1px solid rgba(17, 27, 24, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #0d1512 0%, #16241e 100%);
  color: var(--white);
  box-shadow: 0 28px 78px rgba(17, 27, 24, 0.16);
}

.console-sidebar {
  display: grid;
  gap: 10px;
  align-content: start;
}

.console-sidebar button {
  border-color: rgba(231, 214, 170, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.console-chat {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.console-message {
  max-width: 74%;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
}

.console-message.user {
  justify-self: start;
  background: var(--white);
  color: var(--ink);
}

.console-message.assistant {
  justify-self: end;
  background: #1f6448;
  color: var(--white);
}

.console-message.is-switching {
  opacity: 0.35;
  transform: translateY(6px);
}

.console-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.console-status span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.expertise-grid article {
  min-height: 230px;
  background: var(--panel);
}

.comparison {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(17, 27, 24, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(130px, 1fr));
}

.comparison-row > * {
  min-height: 62px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.comparison-row > *:first-child {
  border-left: 0;
}

.comparison-row:last-child > * {
  border-bottom: 0;
}

.comparison-head {
  background: linear-gradient(135deg, #0d1512 0%, #19241f 100%);
  color: var(--white);
  font-weight: 760;
}

.comparison strong {
  color: var(--gold);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.package-grid article {
  min-height: 292px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(251, 252, 248, 0.98)),
    var(--panel);
}

.package-grid a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 760;
  text-decoration: none;
}

.brief-builder {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.brief-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(17, 27, 24, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 78px rgba(17, 27, 24, 0.12);
}

.brief-step {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.brief-step > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 820;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brief-result {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0d1512 0%, #1a2822 100%);
  color: var(--white);
}

.brief-result p {
  min-height: 56px;
  color: rgba(255, 255, 255, 0.78);
}

.brief-result .button.primary {
  margin-top: 12px;
}

.brief-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(17, 27, 24, 0.09);
  border-radius: 8px;
  background: var(--panel);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.faq-list details[open] {
  border-color: rgba(185, 148, 87, 0.34);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  font-size: 20px;
  font-weight: 780;
  list-style: none;
}

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

.faq-list p {
  margin: -8px 24px 22px;
  color: var(--muted);
}

.cta {
  padding: 92px 0;
  background:
    linear-gradient(135deg, rgba(13, 21, 18, 0.98), rgba(20, 34, 28, 0.98)),
    var(--dark);
  color: var(--white);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy h2 {
  margin-bottom: 16px;
}

.contact-copy > p:not(.eyebrow),
.form-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-details div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-details span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: 18px;
}

.call-form {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(231, 214, 170, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 252, 248, 0.98)),
    var(--white);
  color: var(--ink);
  box-shadow: 0 34px 92px rgba(17, 27, 24, 0.2);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-head {
  margin-bottom: 20px;
}

.form-head .eyebrow {
  color: var(--gold);
}

.form-head h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.form-head p:not(.eyebrow) {
  color: var(--muted);
}

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

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

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

.field > span,
.contact-method-field > span,
.consent span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid rgba(17, 27, 24, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  outline: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.field textarea {
  min-height: 126px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(185, 148, 87, 0.16);
}

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

.contact-methods label {
  position: relative;
  display: flex;
}

.contact-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-methods span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  text-align: center;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.contact-methods input:checked + span {
  border-color: var(--gold);
  background: var(--dark);
  color: var(--white);
}

.file-picker {
  position: relative;
  display: inline-flex;
  width: fit-content;
}

.file-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-picker span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.file-picker:hover span,
.file-picker input:focus + span {
  border-color: var(--gold);
  background: var(--white);
}

.file-field em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 4px 0;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--gold);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.call-form .button.primary {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(13, 21, 18, 0.22);
}

.form-status {
  flex: 1 1 220px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 34px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin-bottom: 0;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-modal {
  width: min(1080px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(17, 27, 24, 0.22);
}

.gallery-modal::backdrop {
  background: rgba(23, 33, 29, 0.62);
  backdrop-filter: blur(5px);
}

.gallery-shell {
  padding: 26px 26px 32px;
}

.gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.gallery-header h2 {
  margin-bottom: 8px;
  font-size: clamp(25px, 3vw, 38px);
}

.gallery-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-close {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.gallery-swiper {
  width: 100%;
  padding: 20px 0 46px;
}

.gallery-swiper .swiper-slide {
  width: min(70vw, 270px);
}

.gallery-swiper .swiper-slide.wide-slide {
  width: min(86vw, 760px);
}

.screen-shot {
  margin: 0;
}

.screen-shot img {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(62vh, 584px);
  margin: 0 auto;
  aspect-ratio: 390 / 844;
  border-radius: 32px;
  box-shadow: 0 20px 56px rgba(23, 33, 29, 0.2);
}

.screen-shot-wide img {
  width: 100%;
  height: auto;
  max-height: min(62vh, 520px);
  aspect-ratio: auto;
  border-radius: 14px;
  object-fit: contain;
}

.screen-shot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 680;
  text-align: center;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--ink);
}

.swiper-pagination-bullet-active {
  background: var(--green);
}

.studio-js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.studio-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy > *,
.delivery-panel {
  animation: hero-in 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 90ms;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 160ms;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 230ms;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 300ms;
}

.delivery-panel {
  animation-delay: 240ms;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stack-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 4px));
  }
}

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

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

  .stack-track {
    animation: none;
  }

  .hero-bubbles {
    opacity: 0.5;
  }

  .studio-js .reveal,
  .hero-copy > *,
  .delivery-panel {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .delivery-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(1180px, calc(100% - 40px));
    margin: -120px auto 40px;
  }

  .hero-copy {
    padding-bottom: 170px;
  }

  .service-grid,
  .ai-grid,
  .expertise-grid,
  .process-grid,
  .fit-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-lab,
  .brief-builder,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .case-story {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .case-story .tags {
    grid-column: 2;
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .nav {
    align-items: center;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 10px;
  }

  .brand {
    flex: 1 1 220px;
    min-width: 0;
  }

  .brand-mark {
    flex: 0 0 auto;
  }

  .nav-links {
    gap: 14px;
  }

  .site-hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 42px 0 148px;
  }

  .hero-bubbles {
    opacity: 0.64;
  }

  .delivery-panel {
    margin-top: -112px;
  }

  .panel-grid,
  .proof-strip,
  .split,
  .service-grid,
  .ai-grid,
  .expertise-grid,
  .process-grid,
  .fit-grid,
  .package-grid,
  .form-grid,
  .service-panel,
  .ai-console,
  .comparison-row {
    grid-template-columns: 1fr;
  }

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

  .cta {
    padding: 68px 0;
  }

  .proof-strip div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .band {
    padding: 62px 0;
  }

  .case-story {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-story .tags {
    grid-column: auto;
  }

  .case-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .comparison-row > * {
    border-left: 0;
  }

  .gallery-header,
  .footer {
    flex-direction: column;
  }

  .nav {
    top: 10px;
    width: min(1180px, calc(100% - 20px));
  }

  html {
    scroll-padding-top: 92px;
  }

  [id] {
    scroll-margin-top: 92px;
  }

  .nav-links {
    display: none;
  }

  .language-switch {
    margin-left: 0;
  }

  .nav-call {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .hero-copy {
    padding-top: 104px;
  }

  .console-message {
    max-width: 100%;
  }

  .gallery-swiper .swiper-slide {
    width: min(78vw, 250px);
  }

  .gallery-swiper .swiper-slide.wide-slide {
    width: 86vw;
  }
}

@media (max-width: 460px) {
  .brand {
    flex-basis: 100%;
  }

  .nav-call {
    flex: 1 1 auto;
  }

  html {
    scroll-padding-top: 128px;
  }

  [id] {
    scroll-margin-top: 128px;
  }

  .hero-copy {
    padding-top: 138px;
  }
}
