:root {
  --primary: #0a2342;
  --primary-deep: #06172b;
  --cream: #fbf4e2;
  --cream-deep: #f3ead5;
  --paper: rgba(255, 255, 255, 0.56);
  --paper-strong: rgba(255, 255, 255, 0.72);
  --text: #111111;
  --muted: #111111;
  --muted-soft: #111111;
  --accent: #54112e;
  --white: #ffffff;
  --line: rgba(17, 17, 17, 0.12);
  --line-soft: rgba(17, 17, 17, 0.08);
  --primary-line: rgba(251, 244, 226, 0.18);
  --focus: rgba(84, 17, 46, 0.48);
  --shadow-soft: 0 22px 60px rgba(10, 35, 66, 0.08);
  --max: 1220px;
  --side: clamp(20px, 4vw, 64px);
  --nav-h: 78px;
  --font: "Europa Grotesk Nr 2 SH", "Neue Haas Grotesk", "Helvetica Neue", Inter, Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
  background: var(--cream);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  border-radius: 0;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

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

a:focus-visible,
button:focus-visible,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--primary);
  color: var(--white);
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.2;
  transition: transform 180ms var(--ease);
}

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

.container {
  width: min(100% - (var(--side) * 2), var(--max));
  margin-inline: auto;
}

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

.eyebrow {
  margin: 0 0 clamp(18px, 2vw, 28px);
  color: var(--accent);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 650;
}

.eyebrow.inverted {
  color: rgba(251, 244, 226, 0.76);
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 1080px;
  margin-bottom: clamp(34px, 4vw, 54px);
  font-family: var(--font-serif);
  font-size: clamp(54px, 5.9vw, 96px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--primary);
}

h2 {
  margin-bottom: clamp(26px, 3vw, 42px);
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 400;
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(22px, 1.58vw, 27px);
  line-height: 1.32;
  letter-spacing: 0;
  font-weight: 560;
}

p {
  color: var(--muted);
  font-size: clamp(18px, 1.16vw, 20px);
  line-height: 1.74;
  letter-spacing: 0;
}

strong {
  color: var(--text);
  font-weight: 600;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--nav-h);
  color: var(--text);
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(251, 244, 226, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(251, 244, 226, 0.72);
  transition: height 220ms var(--ease), background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.site-header.is-scrolled {
  height: 68px;
  background: rgba(251, 244, 226, 0.98);
  border-bottom-color: var(--line);
}

.nav-shell {
  width: min(100% - (var(--side) * 2), var(--max));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-underline-offset: 0.34em;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(10, 35, 66, 0.22);
  color: var(--primary);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  border-color: rgba(10, 35, 66, 0.46);
  background: rgba(10, 35, 66, 0.06);
}

.brand-name,
.footer-brand {
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.55vw, 26px);
}

.desktop-nav a,
.mobile-menu a:not(.button),
.site-footer nav a {
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text);
  text-underline-offset: 0.34em;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-menu a:hover,
.mobile-menu a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.nav-cta {
  min-height: 42px;
  padding: 11px 18px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
}

.button-secondary {
  background: rgba(251, 244, 226, 0.46);
  color: var(--text);
  border-color: rgba(10, 35, 66, 0.24);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(10, 35, 66, 0.06);
  color: var(--primary);
  border-color: rgba(10, 35, 66, 0.48);
}

.button-light {
  background: var(--cream);
  color: var(--primary);
  border-color: var(--cream);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--white);
  border-color: var(--white);
}

.full-button {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(10, 35, 66, 0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 180ms var(--ease);
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 59;
  max-height: calc(100svh - var(--nav-h));
  overflow: auto;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--side) 36px;
}

.mobile-menu nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.mobile-menu nav a {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.mobile-cta {
  margin-top: 28px;
  width: 100%;
}

.hero {
  min-height: 92svh;
  padding-top: calc(var(--nav-h) + clamp(58px, 6vw, 94px));
  padding-bottom: clamp(52px, 6vw, 82px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17, 17, 17, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
}

.hero-copy-full {
  max-width: none;
}

.hero-copy-full h1 span {
  display: block;
}

.hero-summary {
  max-width: 790px;
}

.hero-lead {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(22px, 1.65vw, 28px);
  line-height: 1.58;
}

.hero-body,
.hero-close {
  max-width: 740px;
  margin-bottom: 16px;
}

.hero-close {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(36px, 4vw, 52px);
}

.hero-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: clamp(58px, 7vw, 104px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 650;
}

.two-col,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 8vw, 118px);
}

.section-intro p,
.section-head p,
.sticky-intro p,
.contact-copy p,
.faq-answer p {
  max-width: 780px;
}

.sticky-intro {
  position: sticky;
  top: calc(var(--nav-h) + 42px);
  align-self: start;
}

.thesis .sticky-intro {
  display: grid;
  gap: clamp(22px, 2.2vw, 32px);
}

.thesis .sticky-intro .eyebrow,
.thesis .sticky-intro h2,
.thesis .sticky-intro p {
  margin: 0;
}

#thesis-title {
  margin-bottom: 0;
}

#thesis-title span {
  display: block;
}

.thesis-subline {
  margin-top: clamp(14px, 1.8vw, 24px);
  color: var(--text);
  font-size: clamp(32px, 3.1vw, 52px);
  line-height: 1.18;
}

.strong-line {
  width: fit-content;
  max-width: 720px;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.2vw, 36px);
  line-height: 1.36;
  text-decoration: underline;
  text-decoration-color: rgba(84, 17, 46, 0.36);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}

.asymmetry-grid,
.audience-grid,
.service-grid,
.team-grid {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}

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

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

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

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

.memo-card,
.quiet-card,
.service-card,
.timeline-item,
.partner-card,
.expert-backend,
.contact-form {
  border: 1px solid rgba(17, 17, 17, 0.11);
  background: var(--paper);
}

.memo-card,
.quiet-card {
  min-height: 280px;
  padding: clamp(30px, 3.4vw, 46px);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.memo-card:hover,
.memo-card:focus-within,
.quiet-card:hover,
.quiet-card:focus-within,
.partner-card:hover,
.partner-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(10, 35, 66, 0.24);
  background: var(--paper-strong);
  box-shadow: var(--shadow-soft);
}

.accent-card {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.accent-card h3 {
  color: var(--white);
}

.accent-card p,
.accent-card .card-kicker {
  color: rgba(255, 255, 255, 0.92);
}

.accent-card:hover,
.accent-card:focus-within {
  border-color: rgba(251, 244, 226, 0.34);
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.065)),
    var(--primary);
  box-shadow: 0 24px 64px rgba(10, 35, 66, 0.16);
}

.accent-card:hover h3,
.accent-card:focus-within h3 {
  color: var(--white);
}

.accent-card:hover p,
.accent-card:hover .card-kicker,
.accent-card:focus-within p,
.accent-card:focus-within .card-kicker {
  color: rgba(255, 255, 255, 0.94);
}

.card-kicker,
.why-points span {
  display: inline-block;
  margin-bottom: clamp(28px, 3vw, 42px);
  color: var(--accent);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 700;
}

.memo-card p,
.quiet-card p,
.service-card p,
.timeline-item p,
.partner-card p,
.expert-backend p {
  margin-bottom: 0;
  line-height: 1.72;
}

.section-head {
  margin-bottom: clamp(42px, 5.8vw, 76px);
}

.wide-head {
  max-width: 900px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.52fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: end;
}

.when {
  padding: clamp(82px, 9vw, 128px) 0;
  background: var(--primary);
  color: var(--white);
}

.when-panel {
  max-width: 980px;
  margin-inline: auto;
}

.when-copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--cream);
  font-family: var(--font);
  font-size: clamp(34px, 3.05vw, 48px);
  line-height: 1.18;
  font-weight: 680;
}

.when-copy p,
.why-lead p,
.contact-copy p {
  color: rgba(251, 244, 226, 0.82);
}

.when-divider {
  height: 1px;
  margin: clamp(46px, 6vw, 76px) 0 28px;
  background: var(--primary-line);
}

.when-label {
  margin: 0 0 22px;
  color: rgba(251, 244, 226, 0.62);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.checklist {
  counter-reset: when-list;
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--primary-line);
}

.checklist li {
  counter-increment: when-list;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 28px;
  align-items: start;
  min-height: 76px;
  padding: 22px 0;
  border-bottom: 1px solid var(--primary-line);
  color: rgba(251, 244, 226, 0.92);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
}

.checklist li::before {
  content: counter(when-list, decimal-leading-zero);
  color: rgba(251, 244, 226, 0.44);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.when-cta {
  margin-top: 40px;
}

.service-card {
  min-height: 500px;
  padding: clamp(32px, 3.2vw, 48px);
  display: flex;
  flex-direction: column;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.service-card h3,
.service-card p,
.service-card li,
.service-card li::before {
  transition: color 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.service-card ul {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
}

.service-card li {
  position: relative;
  padding: 13px 0 13px 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
  color: var(--text);
  font-size: 16px;
  line-height: 1.58;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.5em;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-2px);
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 28px 70px rgba(10, 35, 66, 0.16);
}

.service-card:hover h3,
.service-card:focus-within h3 {
  color: var(--white);
}

.service-card:hover p,
.service-card:focus-within p {
  color: rgba(255, 255, 255, 0.96);
}

.service-card:hover li,
.service-card:focus-within li {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
}

.service-card:hover li::before,
.service-card:focus-within li::before {
  background: var(--cream);
}

.support,
.process {
  background: rgba(10, 35, 66, 0.04);
}

.thesis {
  padding-bottom: clamp(36px, 4vw, 64px);
}

.audience {
  padding-top: clamp(42px, 4.5vw, 70px);
}

.support {
  padding-bottom: clamp(42px, 4.5vw, 72px);
}

.process {
  padding-top: clamp(42px, 4.5vw, 72px);
}

.support-grid {
  display: block;
}

.support-head {
  max-width: 860px;
  margin-bottom: clamp(48px, 6vw, 82px);
}

.support-head h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: var(--font);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.18;
  font-weight: 680;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(17, 17, 17, 0.1);
}

.support-list article {
  min-height: 292px;
  padding: clamp(34px, 3vw, 46px);
  display: flex;
  flex-direction: column;
  background: rgba(251, 244, 226, 0.96);
}

.support-list h3 {
  min-height: 0;
  margin-bottom: 18px;
  font-family: var(--font);
  font-size: clamp(21px, 1.35vw, 24px);
  line-height: 1.3;
  font-weight: 680;
}

.support-list p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.66;
}

.process .split-head {
  display: block;
  max-width: 920px;
  margin-bottom: clamp(36px, 4.6vw, 60px);
}

.process .split-head h2 {
  margin-bottom: 22px;
}

.process-subtitle {
  max-width: 820px;
  margin: 0;
  color: var(--text);
  font-size: clamp(19px, 1.45vw, 23px);
  line-height: 1.65;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(17, 17, 17, 0.1);
}

.timeline-item {
  min-height: clamp(214px, 15vw, 246px);
  padding: clamp(24px, 2.3vw, 34px);
  border: 0;
  background: rgba(251, 244, 226, 0.92);
}

.timeline-item h3 {
  margin-bottom: 18px;
  font-size: clamp(20px, 1.45vw, 24px);
}

.timeline-item p {
  font-size: 18px;
  line-height: 1.58;
}

.why {
  padding-block: clamp(42px, 5vw, 76px);
}

.why-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(46px, 7vw, 104px);
  padding: clamp(44px, 6vw, 84px);
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 34px 90px rgba(10, 35, 66, 0.14);
}

.why h2,
.why h3,
.why p {
  color: var(--white);
}

.why-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--primary-line);
  background: transparent;
}

.why-points article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 22px;
  align-items: start;
  padding: clamp(18px, 2vw, 28px) 0;
  border-bottom: 1px solid var(--primary-line);
  background: transparent;
}

.why-points span {
  width: 22px;
  height: 1px;
  margin: 0.82em 0 0;
  border: 0;
  background: rgba(251, 244, 226, 0.72);
}

.why-points p {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(18px, 1.28vw, 21px);
  line-height: 1.56;
}

.team .wide-head {
  max-width: none;
}

.team .wide-head p {
  max-width: 100%;
}

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

.partner-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: clamp(18px, 2vw, 26px);
  height: 100%;
  padding: clamp(30px, 3.2vw, 44px);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.partner-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.partner-card-head h3 {
  margin-bottom: 0;
}

.linkedin-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(10, 35, 66, 0.24);
  border-radius: 50%;
  color: var(--primary);
  background: transparent;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), background-color 180ms var(--ease), transform 180ms var(--ease);
}

.linkedin-link svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  border-color: var(--primary);
  color: var(--white);
  background: var(--primary);
  transform: translateY(-1px);
}

.partner-title {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
}

.partner-card p + p {
  margin-top: 16px;
}

.expert-backend {
  margin-top: clamp(18px, 2vw, 28px);
  padding: clamp(34px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) 1fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  background: rgba(10, 35, 66, 0.065);
}

.expert-backend h3 {
  margin-bottom: 0;
}

.faq-grid {
  align-items: start;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  min-height: 92px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 1fr 28px;
  gap: 24px;
  align-items: center;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
}

.faq-item button span:first-child {
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.34;
  letter-spacing: 0;
  font-weight: 560;
  transition: color 180ms var(--ease);
}

.faq-item button:hover span:first-child,
.faq-item button:focus-visible span:first-child {
  color: var(--primary);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 1px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 180ms var(--ease);
}

.faq-item button[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 52px 34px 0;
}

.faq-answer p {
  margin-bottom: 0;
}

.contact {
  padding-top: clamp(54px, 6vw, 96px);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.78fr);
  gap: clamp(52px, 8vw, 112px);
  padding: clamp(42px, 6vw, 84px);
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 34px 90px rgba(10, 35, 66, 0.14);
}

.contact h2,
.contact p,
.contact a,
.contact span {
  color: var(--white);
}

.contact-copy p {
  max-width: 660px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: 34px 0 42px;
}

.contact .button-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(251, 244, 226, 0.76);
  box-shadow: inset 0 0 0 1px rgba(251, 244, 226, 0.22);
}

.contact .button-light:hover,
.contact .button-light:focus-visible {
  background: var(--cream);
  color: var(--primary);
  border-color: var(--cream);
}

.text-link-light {
  color: var(--cream);
  border-bottom: 1px solid rgba(251, 244, 226, 0.42);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  text-underline-offset: 0.34em;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.text-link-light:hover,
.text-link-light:focus-visible {
  transform: translateY(-1px);
  border-color: var(--cream);
}

.contact-form {
  padding: clamp(30px, 3.4vw, 46px);
  background: var(--cream);
  color: var(--text);
  border-color: rgba(251, 244, 226, 0.28);
}

.form-row {
  display: grid;
  gap: 11px;
  margin-bottom: 22px;
}

.two-fields {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  color: var(--text);
  font-size: 12px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(10, 35, 66, 0.68);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(10, 35, 66, 0.06);
}

.contact .form-note {
  margin: 14px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  padding: clamp(46px, 6vw, 72px) 0;
  background: var(--primary);
  color: var(--white);
  border-top: 1px solid var(--primary-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(170px, 0.44fr) minmax(0, 0.76fr);
  gap: clamp(36px, 6vw, 90px);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer .footer-brand {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--white);
  text-underline-offset: 0.34em;
}

.footer-brand:hover,
.footer-brand:focus-visible {
  transform: translateY(-1px);
}

.site-footer nav {
  display: grid;
  gap: 16px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.92);
}

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

.footer-note p {
  font-size: 15px;
}

.site-footer .copyright {
  margin-top: 24px;
  margin-bottom: 0;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .nav-shell {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .two-col,
  .faq-grid,
  .why-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .sticky-intro {
    position: static;
  }

  .audience-grid,
  .service-grid,
  .support-list,
  .timeline,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .expert-backend {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  :root {
    --nav-h: 70px;
    --side: 22px;
  }

  .site-header.is-scrolled {
    height: var(--nav-h);
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    max-width: 210px;
    font-size: 10px;
    letter-spacing: 0.11em;
  }

  .nav-cta {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  h1 {
    font-size: clamp(42px, 12vw, 62px);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(31px, 8.6vw, 44px);
    line-height: 1.18;
  }

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

  p {
    font-size: 17px;
    line-height: 1.72;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 52px);
    padding-bottom: 42px;
  }

  .hero-lead {
    font-size: clamp(20px, 5.2vw, 23px);
    line-height: 1.62;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button {
    width: 100%;
    min-height: 56px;
    padding: 14px 18px;
    white-space: normal;
  }

  .hero-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
  }

  .two-col,
  .faq-grid,
  .split-head,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .asymmetry-grid,
  .audience-grid,
  .service-grid,
  .support-list,
  .timeline,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .memo-card,
  .quiet-card,
  .service-card,
  .timeline-item,
  .partner-card,
  .expert-backend,
  .contact-form {
    min-height: auto;
    padding: 28px 22px;
  }

  .support-list,
  .timeline {
    gap: 1px;
  }

  .support-list article {
    min-height: auto;
    padding: 30px 24px;
  }

  .support-list h3 {
    min-height: auto;
  }

  .support-list p {
    margin-top: 0;
  }

  .checklist li {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 20px 0;
  }

  .checklist li::before {
    line-height: 1.2;
  }

  .why-panel,
  .contact-panel {
    width: min(100% - 24px, var(--max));
    padding: 32px 22px;
  }

  .why-points article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .why-points span {
    margin: 0;
  }

  .partner-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .faq-item button {
    min-height: 82px;
    grid-template-columns: 1fr 24px;
    gap: 18px;
  }

  .faq-answer {
    padding: 0 0 30px;
  }

  .two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 430px) {
  :root {
    --side: 18px;
  }

  .brand-name {
    max-width: 172px;
    line-height: 1.25;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  h1 {
    font-size: clamp(38px, 12.2vw, 52px);
  }

  .memo-card,
  .quiet-card,
  .service-card,
  .timeline-item,
  .partner-card,
  .expert-backend,
  .contact-form {
    padding-inline: 20px;
  }

  .why-panel,
  .contact-panel {
    width: min(100% - 16px, var(--max));
    padding-inline: 18px;
  }
}

@media (min-width: 1600px) {
  :root {
    --max: 1280px;
  }

  h1 {
    max-width: 1120px;
    font-size: 100px;
  }
}

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

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