:root {
  --bg: #F5F0E6;
  --surface: #FCFAF5;
  --surface-2: #EEE7DA;
  --line: #E4DCCD;
  --line-2: #D6CCBA;
  --text: #0F1B2D;
  --muted: #556070;
  --dim: #9A917F;
  --ink: #0E2240;
  --ink-2: #1B3766;
  --navy-tint: #EFE8DA;
  --navy-line: #DDD3C1;
  --navy-soft: #4A5F82;
  --ok: #15803D;
  --bad: #B91C1C;
  --shadow: 0 1px 2px rgba(14, 34, 64, 0.04), 0 8px 24px rgba(14, 34, 64, 0.06);
  --shadow-lg: 0 2px 4px rgba(14, 34, 64, 0.04), 0 24px 48px rgba(14, 34, 64, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1184px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 20px; }
.center { text-align: center; }
.eyebrow { font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px; }
.grad {
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 8px;
}
.tag {
  display: inline-flex; align-items: center;
  font-size: 12px; line-height: 16px; font-weight: 600;
  padding: 4px 8px; border: 1px solid var(--line-2); border-radius: 9999px; color: var(--text); background: var(--surface);
}
.tag-ink { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.chip {
  display: inline-flex; font-size: 12px; line-height: 16px; font-weight: 600;
  padding: 4px 12px; border-radius: 9999px; background: var(--surface-2); color: var(--ink-2);
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: #FFFFFF; padding: 8px 12px; border-radius: 8px; font-weight: 600;
  transition: transform 300ms var(--ease);
}
.skip:focus { transform: translateY(80px); }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60;
  background: var(--ink); transform-origin: 0 50%; transform: scaleX(0);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 16px; line-height: 24px; font-weight: 600;
  padding: 8px 12px; border-radius: 12px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 300ms var(--ease), background-color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease), opacity 300ms var(--ease);
}
.btn i { transition: transform 300ms var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #FFFFFF; }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(14, 34, 64, 0.18); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn:active, .btn-primary:active, .btn-ghost:active { transform: scale(0.98); }
.btn-lg { padding: 12px 24px; }
.btn-sm { font-size: 14px; line-height: 20px; padding: 8px 12px; border-radius: 8px; }
.btn[disabled] { opacity: 0.5; cursor: progress; }

/* Nav */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 32px;
  padding: 8px 8px 8px 16px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.nav-wrap.scrolled .nav { box-shadow: var(--shadow-lg); }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { position: relative; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 300ms var(--ease); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: scaleX(0); transition: transform 500ms var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang { display: flex; padding: 2px; border: 1px solid var(--line-2); border-radius: 8px; }
.lang button {
  font: inherit; font-size: 12px; line-height: 16px; font-weight: 600;
  padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer;
  transition: background-color 300ms var(--ease), color 300ms var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

.menu-toggle { display: none; position: relative; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; }
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 500ms var(--ease);
}
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(244, 244, 242, 0.94);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  padding: 112px 24px 40px;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 24px; }
.mobile-menu a:not(.btn) { font-size: 30px; line-height: 36px; font-weight: 600; text-decoration: none; }
.mobile-menu > ul > li { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.mobile-menu.open > ul > li { opacity: 1; transform: none; }
.mobile-menu .btn { margin-top: 16px; }

/* Hero */
.hero { padding: 160px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; max-width: 680px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.hero-points i { color: var(--ok); font-size: 16px; }

.js .intro { opacity: 0; transform: translateY(24px); }
.loaded .intro { opacity: 1; transform: none; transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: calc(var(--d) * 100ms); }

.audit-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 24px; box-shadow: var(--shadow-lg);
}
.audit-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.audit-rows { display: flex; flex-direction: column; gap: 16px; }
.audit-rows li { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.row-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-label { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; }
.row-label i { font-size: 20px; color: var(--muted); }
.row-val { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; white-space: nowrap; }
.row-val s { color: var(--dim); }
.row-val i { color: var(--dim); }
.row-val b { color: var(--ok); font-weight: 700; }
.bar { position: relative; display: block; height: 4px; border-radius: 9999px; background: var(--surface-2); overflow: hidden; }
.bar span { position: absolute; inset: 0; border-radius: 9999px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(1); }
.js .bar span { transform: scaleX(1); transition: transform 1200ms var(--ease); }
.loaded .bar span { transform: scaleX(var(--w)); transition-delay: 900ms; }
.audit-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.audit-total b { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.02em; }
.audit-foot { font-size: 12px; line-height: 16px; color: var(--dim); }

/* Marquee */
.marquee { padding: 32px 0 64px; display: flex; flex-direction: column; gap: 24px; }
.marquee-track {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-row { display: flex; gap: 48px; padding-right: 48px; flex-shrink: 0; animation: marquee 40s linear infinite; }
.marquee-track:hover .marquee-row { animation-play-state: paused; }
.marquee-row li { display: flex; align-items: center; gap: 8px; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.marquee-row i { font-size: 24px; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; max-width: 680px; }
.section-head h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }

/* Problems */
.problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.problem {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease);
}
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pain { display: flex; align-items: center; gap: 12px; }
.pain i { font-size: 24px; color: var(--bad); flex-shrink: 0; }
.pain h3 { font-size: 20px; line-height: 28px; }
.fix {
  display: flex; gap: 8px; align-items: flex-start; margin-top: auto;
  padding: 12px 16px; border-radius: 12px; background: #EEF6F0; color: #14532D; font-size: 14px; line-height: 20px; font-weight: 500;
}
.fix i { font-size: 20px; flex-shrink: 0; }

/* Tagline */
.tagline { padding: 96px 0; }
.tagline-text { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; max-width: 880px; text-wrap: balance; }
.tagline-text .w { color: rgba(14, 34, 64, 0.22); transition: color 600ms var(--ease); }
.tagline-text .w.on { color: var(--text); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px;
  border-radius: 12px; background: var(--ink); color: #FFFFFF; font-size: 24px;
  transition: transform 500ms var(--ease);
}
.card:hover .card-ic { transform: rotate(-8deg) scale(1.06); }
.card h3 { font-size: 20px; line-height: 28px; }
.card p { color: var(--muted); }
.ticks { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 12px; height: 12px; border-radius: 9999px;
  border: 2px solid var(--ink);
}

/* Case study */
.case {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 48px;
  box-shadow: var(--shadow); margin-bottom: 16px;
}
.case-copy { display: flex; flex-direction: column; gap: 24px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.case-title { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.case-block { display: flex; flex-direction: column; gap: 8px; }
.case-block h4 { font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); }
.stack { display: flex; flex-wrap: wrap; gap: 8px; }

.case-visual { position: relative; min-height: 440px; align-self: center; }
.mock-win {
  position: absolute; inset: 24px 48px 48px 0; border-radius: 16px; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.mock-bar { display: flex; gap: 8px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.mock-bar span { width: 8px; height: 8px; border-radius: 9999px; background: var(--line-2); }
.mock-body { flex: 1; display: flex; min-height: 0; }
.mock-side { width: 48px; background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 16px 0; color: rgba(255, 255, 255, 0.5); font-size: 20px; }
.mock-side i:first-child { color: #FFFFFF; }
.mock-main { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mock-kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; display: flex; flex-direction: column; min-width: 0; }
.mock-kpis small { font-size: 12px; line-height: 16px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-kpis b { font-size: 14px; line-height: 20px; white-space: nowrap; }
.mock-chart {
  flex: 1; min-height: 96px; display: flex; align-items: flex-end; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 12px;
}
.mock-chart span { flex: 1; height: 100%; border-radius: 4px; background: var(--ink); transform-origin: 50% 100%; transform: scaleY(var(--h)); }
.mock-chart span:nth-child(odd) { background: #D4CAB6; }
.js .mock-chart span { transform: scaleY(0.04); transition: transform 1000ms var(--ease); }
.case.in .mock-chart span { transform: scaleY(var(--h)); }
.case.in .mock-chart span:nth-child(1) { transition-delay: 300ms; }
.case.in .mock-chart span:nth-child(2) { transition-delay: 360ms; }
.case.in .mock-chart span:nth-child(3) { transition-delay: 420ms; }
.case.in .mock-chart span:nth-child(4) { transition-delay: 480ms; }
.case.in .mock-chart span:nth-child(5) { transition-delay: 540ms; }
.case.in .mock-chart span:nth-child(6) { transition-delay: 600ms; }
.case.in .mock-chart span:nth-child(7) { transition-delay: 660ms; }
.case.in .mock-chart span:nth-child(8) { transition-delay: 720ms; }
.mock-rows { display: flex; flex-direction: column; gap: 8px; }
.mock-rows span { height: 12px; border-radius: 4px; background: var(--surface-2); }
.mock-rows span:nth-child(2) { width: 80%; }
.mock-rows span:nth-child(3) { width: 60%; }

.mock-phone {
  position: absolute; right: 0; bottom: 0; width: 176px; padding: 32px 12px 16px;
  background: var(--ink); border-radius: 32px; border: 4px solid var(--ink-2);
  display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-lg);
}
.mock-notch { position: absolute; top: 12px; left: 50%; width: 48px; height: 8px; margin-left: -24px; border-radius: 9999px; background: var(--ink-2); }
.mock-card { background: #FFFFFF; border-radius: 16px; padding: 12px; display: flex; flex-direction: column; }
.mock-card small { font-size: 12px; line-height: 16px; color: var(--dim); }
.mock-card b { font-size: 16px; line-height: 24px; }
.mock-card.dark { background: var(--ink-2); color: #FFFFFF; }
.mock-card.dark small { color: #D4CAB6; }

.float { animation: float 6s var(--ease) infinite alternate; }
.float-2 { animation-duration: 7s; animation-delay: -3s; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-12px); } }

.case-stats {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.case-stats li { display: flex; flex-direction: column; gap: 4px; }
.case-stats b { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.case-stats span { font-size: 14px; line-height: 20px; color: var(--muted); }

.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; text-decoration: none;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease);
}
a.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.work-card h3 { font-size: 20px; line-height: 28px; margin-top: 12px; }
.work-card p { color: var(--muted); }
.work-card .link { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; font-weight: 600; }
.work-card .link i { transition: transform 300ms var(--ease); }
a.work-card:hover .link i { transform: translate(2px, -2px); }
.work-next { background: transparent; border-style: dashed; border-color: var(--line-2); }
.work-next .card-ic { margin-bottom: 0; background: var(--surface-2); color: var(--ink); }

/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step {
  position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 32px 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.js .step.reveal { transition-delay: calc(var(--i) * 120ms); }
.step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 9999px; background: var(--ink); color: #FFFFFF; font-size: 14px; line-height: 20px; font-weight: 700;
}
.step h3 { font-size: 18px; line-height: 28px; }
.step p { color: var(--muted); font-size: 14px; line-height: 20px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.why-item { display: flex; flex-direction: column; gap: 8px; }
.why-item i { font-size: 32px; margin-bottom: 8px; transition: transform 500ms var(--ease); }
.why-item:hover i { transform: translateY(-4px); }
.why-item h3 { font-size: 18px; line-height: 28px; }
.why-item p { color: var(--muted); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.price {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line);
  transition: transform 500ms var(--ease), border-color 500ms var(--ease);
}
.price:hover { transform: translateX(4px); border-color: var(--ink); }
.price-name { font-weight: 600; }
.price-val { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.price-val b { font-size: 24px; line-height: 32px; font-weight: 700; }
.price-val small { font-size: 14px; line-height: 20px; color: var(--muted); }
.price-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 20px; }
.price-note i { font-size: 20px; color: var(--ink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: start; }
.faq-grid .section-head { position: sticky; top: 112px; }
.faq { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px; font-weight: 600; font-size: 18px; line-height: 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: background-color 300ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 32px; color: var(--muted); transition: transform 500ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: var(--bg); }
.faq-a p { padding: 0 24px 24px; color: var(--muted); max-width: 640px; }
.faq details[open] .faq-a { animation: faq-in 500ms var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact h2 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; margin: 12px 0 24px; max-width: 680px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact-list i { font-size: 20px; color: var(--text); }
.contact-list a { text-decoration: none; transition: color 300ms var(--ease); }
.contact-list a:hover { color: var(--text); text-decoration: underline; }

.form { background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 600; }
.opt { color: var(--dim); font-weight: 500; }
.field input, .field textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 16px;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.field textarea { resize: vertical; }
.field input::placeholder { color: var(--dim); }
.field input:hover, .field textarea:hover { border-color: var(--dim); }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 34, 64, 0.08); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.err { font-size: 14px; line-height: 20px; color: var(--bad); }
.form .btn { align-self: flex-start; }
.form-ok { font-size: 14px; line-height: 20px; color: var(--ok); }
.form-note { font-size: 12px; line-height: 16px; color: var(--dim); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }
.footer-brand img { height: 24px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-left: auto; }
.footer-links a { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; transition: color 300ms var(--ease); }
.footer-links a:hover { color: var(--text); }
.footer-copy { width: 100%; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(32px); }
.js .stagger.in > * { opacity: 1; transform: none; transition: opacity 700ms var(--ease), transform 700ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease); }
.js .stagger.in > *:hover { transform: translateY(-4px); }
.js .stagger.in > .price:hover { transform: translateX(4px); }
.js .stagger.in > .why-item:hover { transform: none; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav { gap: 16px; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .hero { padding: 128px 0 64px; }
  .hero-grid, .faq-grid, .contact-grid, .case { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .faq-grid .section-head { position: static; }
  .hero h1 { font-size: 36px; line-height: 40px; }
  br.d { display: none; }
  .cards, .work, .problems, .prices, .why { grid-template-columns: minmax(0, 1fr); }
  .steps, .case-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { gap: 32px; }
  .case { padding: 24px; }
  .case-visual { min-height: 380px; }
  .tagline { padding: 64px 0; }
  .tagline-text { font-size: 36px; line-height: 40px; }
  .section { padding: 64px 0; }
  .section-head h2, .case-title { font-size: 30px; line-height: 36px; }
  .contact h2 { font-size: 36px; line-height: 40px; }
  .footer-links { margin-left: 0; }
}
@media (max-width: 480px) {
  .row-label span { font-size: 12px; line-height: 16px; }
  .card, .step, .work-card, .form, .problem, .audit-card { padding: 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .case-stats b { font-size: 36px; line-height: 40px; }
  .mock-win { inset: 0 32px 64px 0; }
  .mock-phone { width: 144px; }
  .mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mock-kpis div:nth-child(3) { display: none; }
  .price { padding: 16px; }
}
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .hero h1, .contact h2 { font-size: 30px; line-height: 36px; overflow-wrap: anywhere; }
  .tagline-text, .section-head h2, .case-title { font-size: 24px; line-height: 32px; }
  .nav-wrap { padding: 0 8px; }
  .nav { gap: 8px; padding-left: 12px; }
  .nav-logo img { height: 22px; }
  .audit-head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .stagger > *, .js .intro, .mobile-menu li { transform: none !important; transition: opacity 300ms linear; }
  .float, .marquee-row { animation: none; }
  .card:hover, a.work-card:hover, .btn-primary:hover, .problem:hover, .price:hover { transform: none; }
}

/* Multi page */
.page-head { padding: 160px 0 48px; }
.page-head .container { display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; max-width: 880px; }
.section-tight { padding: 32px 0 64px; }
.section-head-row { flex-direction: row; justify-content: space-between; align-items: flex-end; max-width: none; gap: 24px; }
.section-head-row > div { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.section-head-row .btn { flex-shrink: 0; }

.mini-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini-card {
  display: flex; align-items: center; gap: 16px; padding: 24px; text-decoration: none; font-weight: 600; font-size: 18px; line-height: 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease);
}
.mini-card .card-ic { margin: 0; flex-shrink: 0; }
.mini-card .go { margin-left: auto; font-size: 20px; color: var(--dim); transition: transform 300ms var(--ease), color 300ms var(--ease); }
.mini-card:hover { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.mini-card:hover .go { transform: translate(2px, -2px); color: var(--ink); }

.case-link { text-decoration: none; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), opacity 700ms var(--ease); }
.case-link:hover { box-shadow: var(--shadow-lg); }
.case-link .link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.case-link .link i { transition: transform 300ms var(--ease); }
.case-link:hover .link i { transform: translateX(4px); }
.case-detail { grid-template-columns: minmax(0, 1fr); }
.case-detail .ticks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }

.cta-band { padding-top: 0; }
.cta-box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  background: var(--navy-tint); color: var(--ink); border: 1px solid var(--navy-line); border-radius: 24px; padding: 64px 48px;
}
.cta-box h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; max-width: 680px; }
.cta-box .lead { color: var(--navy-soft); }
.cta-box .btn-light { background: var(--ink); color: #FFFFFF; }
.cta-box .btn-light:hover { background: var(--ink-2); }
.cta-box .btn { margin-top: 8px; }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-light:hover { background: #E4DCCD; transform: translateY(-2px); }
.contact-page { padding-top: 160px; border-top: 0; background: var(--bg); }
.contact-page h1 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; margin: 12px 0 24px; max-width: 680px; }
.contact-page .form { background: var(--surface); }

/* Dashboard showcase */
.dash-section { padding-bottom: 32px; }
.dash { margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.dash-bar span { width: 12px; height: 12px; border-radius: 9999px; background: var(--line-2); }
.dash-bar b { margin: 0 auto; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--dim); padding: 4px 16px; border-radius: 8px; background: var(--bg); }
.dash-body { display: flex; min-height: 560px; }
.dash-side { width: 208px; flex-shrink: 0; background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 24px 12px; display: flex; flex-direction: column; gap: 4px; }
.dash-brand { color: #FFFFFF; font-weight: 700; letter-spacing: 0.16em; font-size: 14px; line-height: 20px; padding: 0 12px 16px; }
.dash-side span { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 500; }
.dash-side span i { font-size: 20px; }
.dash-side span.on { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.dash-main { flex: 1; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); }
.dash-top { display: flex; justify-content: space-between; align-items: center; }
.dash-top h3 { font-size: 20px; line-height: 28px; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dash-kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.dash-kpis small { font-size: 12px; line-height: 16px; color: var(--dim); }
.dash-kpis b { font-size: 24px; line-height: 32px; font-weight: 700; }
.dash-kpis em { font-style: normal; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--dim); }
.dash-kpis em.up { color: var(--ok); }
.dash-kpis em.down { color: var(--ok); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 12px; }
.dash-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dash-h { font-size: 14px; line-height: 20px; font-weight: 600; }
.dash-chart { height: 160px; display: flex; align-items: flex-end; gap: 8px; }
.dash-chart span { flex: 1; height: 100%; border-radius: 4px 4px 0 0; background: var(--ink); transform-origin: 50% 100%; transform: scaleY(var(--h)); }
.dash-chart span:nth-child(odd) { background: #D4CAB6; }
.js .dash-chart span { transform: scaleY(0.03); transition: transform 1000ms var(--ease); }
.dash.in .dash-chart span { transform: scaleY(var(--h)); }
.dash-months { display: flex; gap: 8px; }
.dash-months i { flex: 1; text-align: center; font-style: normal; font-size: 12px; line-height: 16px; color: var(--dim); }
.dash-top5 { display: flex; flex-direction: column; gap: 12px; }
.dash-top5 li { display: grid; grid-template-columns: 88px minmax(0, 1fr) 40px; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; }
.dash-top5 b { text-align: right; }
.meter { height: 8px; border-radius: 9999px; background: var(--surface-2); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 9999px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--w)); }
.js .meter span { transform: scaleX(0); transition: transform 1200ms var(--ease) 400ms; }
.dash.in .meter span { transform: scaleX(var(--w)); }
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.dash-table td { padding: 8px 0; border-top: 1px solid var(--line); }
.dash-table tr:first-child td { border-top: 0; }
.dash-table td:nth-child(4) { text-align: right; font-weight: 600; padding-right: 16px; }
.dash-table td:last-child { text-align: right; }
.st { font-size: 12px; line-height: 16px; font-weight: 600; padding: 2px 8px; border-radius: 9999px; }
.st.ok { background: #EEF6F0; color: #14532D; }
.st.wait { background: #FEF3E2; color: #8A4B0F; }
.dash-note { margin-top: 16px; font-size: 12px; line-height: 16px; color: var(--dim); }

@media (max-width: 960px) {
  .page-head { padding: 128px 0 32px; }
  .page-head h1, .contact-page h1 { font-size: 36px; line-height: 40px; }
  .contact-page { padding-top: 128px; }
  .mini-cards { grid-template-columns: minmax(0, 1fr); }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .case-detail .ticks { grid-template-columns: minmax(0, 1fr); }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 30px; line-height: 36px; }
  .dash-side { display: none; }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .dash-body { min-height: 0; }
}
@media (max-width: 480px) {
  .dash-main { padding: 12px; }
  .dash-table td:nth-child(3) { display: none; }
  .dash-chart { height: 120px; gap: 4px; }
  .dash-months { gap: 4px; }
  .dash-months i:nth-child(even) { visibility: hidden; }
  .mini-card { padding: 16px; font-size: 16px; line-height: 24px; }
}
@media (max-width: 400px) {
  .page-head h1, .contact-page h1 { font-size: 30px; line-height: 36px; }
}

/* ===== Consulting style layout ===== */
html[lang="uz"] [data-only="en"], html[lang="en"] [data-only="uz"] { display: none !important; }
html { scroll-padding-top: 128px; }
.h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; }
.util { background: var(--navy-tint); color: var(--navy-soft); border-bottom: 1px solid var(--navy-line); font-size: 12px; line-height: 16px; }
.util-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 40px; }
.util-note { display: flex; align-items: center; gap: 8px; }
.util-note i { font-size: 16px; }
.util-right { display: flex; align-items: center; gap: 16px; }
.util-link { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); text-decoration: none; font-weight: 600; transition: opacity 300ms var(--ease); }
.util-link:hover { opacity: 0.7; }
.util-link i { font-size: 16px; }
.util .lang { border-color: var(--navy-line); }
.util .lang button { color: var(--navy-soft); }
.util .lang button:hover { color: var(--ink); }
.util .lang button[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; }

.hbar { position: relative; background: rgba(252, 250, 245, 0.92); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); transition: box-shadow 500ms var(--ease); }
.site-header.scrolled .hbar { box-shadow: 0 8px 24px rgba(14, 34, 64, 0.06); }
.bar-row { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo img { height: 28px; width: auto; }
.mega-nav { flex: 1; height: 100%; }
.mega-list { display: flex; height: 100%; gap: 8px; }
.mega-list > li { display: flex; align-items: center; }
.mega-trigger, .top-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 12px;
  font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-2); background: none; border: 0; cursor: pointer; text-decoration: none;
}
.mega-trigger i { font-size: 12px; transition: transform 500ms var(--ease); }
.mega-trigger::after, .top-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--ink);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 500ms var(--ease);
}
.mega-trigger:hover::after, .mega-trigger[aria-expanded="true"]::after, .has-mega[data-current="true"] .mega-trigger::after, .top-link:hover::after, .top-link[aria-current="page"]::after { transform: scaleX(1); }
.mega-trigger[aria-expanded="true"] i { transform: rotate(180deg); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(14, 34, 64, 0.10);
  padding: 32px 0 40px; opacity: 0; transform: translateY(-8px); transition: opacity 300ms var(--ease), transform 500ms var(--ease);
}
.mega.open { opacity: 1; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 32px; }
.mega-grid:has(.mega-col:nth-child(2):nth-last-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr); }
.mega-h { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.mega-h a { text-decoration: none; }
.mega-h a:hover { color: var(--ink); }
.mega-col ul { display: flex; flex-direction: column; gap: 4px; }
.mega-col a:not(.mega-h a) { display: flex; flex-direction: column; padding: 8px 12px; margin: 0 -12px; border-radius: 8px; text-decoration: none; transition: background-color 300ms var(--ease); }
.mega-col li a:hover { background: var(--bg); }
.mega-col b { font-size: 14px; line-height: 20px; font-weight: 600; }
.mega-col small { font-size: 12px; line-height: 16px; color: var(--muted); }
.mega-feature { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 16px; background: var(--bg); text-decoration: none; transition: transform 500ms var(--ease); }
.mega-feature:hover { transform: translateY(-4px); }
.mega-feature b { font-size: 18px; line-height: 28px; }
.mega-feature p { font-size: 14px; line-height: 20px; color: var(--muted); }
.mega-cover svg { display: block; width: 100%; height: auto; border-radius: 8px; }

.hbar .menu-toggle { margin-left: auto; }
.mobile-menu { top: 112px; padding: 24px; overflow-y: auto; background: rgba(255, 255, 255, 0.98); }
.mobile-menu ul ul { gap: 4px; }
.mob-top { display: block; font-size: 24px; line-height: 32px; font-weight: 600; text-decoration: none; }
.mobile-menu a:not(.btn) { font-size: inherit; line-height: inherit; }
.mobile-menu a.mob-top:not(.btn) { font-size: 24px; line-height: 32px; font-weight: 600; }
.mob-group { border-bottom: 1px solid var(--line); padding: 12px 0; }
.mob-group summary { list-style: none; cursor: pointer; font-size: 24px; line-height: 32px; font-weight: 600; display: flex; justify-content: space-between; }
.mob-group summary::-webkit-details-marker { display: none; }
.mob-group summary::after { content: "+"; color: var(--muted); transition: transform 500ms var(--ease); }
.mob-group[open] summary::after { transform: rotate(45deg); }
.mob-links { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.mob-links .mega-feature { display: none; }
.mob-links small { display: none; }
.mobile-menu > ul { gap: 16px; }

/* Strip label, like a section tab */
.strip { background: var(--navy-tint); color: var(--ink); border-top: 1px solid var(--navy-line); border-bottom: 1px solid var(--navy-line); }
.strip .container { font-size: 14px; line-height: 20px; font-weight: 700; padding-top: 8px; padding-bottom: 8px; letter-spacing: 0.04em; }
.section-flush { padding-bottom: 16px; }

/* Page head and crumbs */
.page-head { padding: 64px 0 48px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs i { font-size: 12px; color: var(--dim); }
.crumbs a:last-child { color: var(--ink); font-weight: 600; }
.hero { padding: 64px 0 96px; }
.contact-page { padding-top: 64px; }

/* Home feature card */
.feature-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); text-decoration: none; transition: transform 500ms var(--ease), opacity 800ms var(--ease); }
.feature-card:hover { transform: translateY(-4px); }
.feature-cover svg { display: block; width: 100%; height: auto; }
.feature-body { display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.feature-body b { font-size: 24px; line-height: 32px; letter-spacing: -0.01em; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.link i { transition: transform 300ms var(--ease); }
a:hover > .link i, a:hover .feature-body .link i, a:hover .insight-body .link i { transform: translateX(4px); }

/* Insight cards */
.insights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.insights-page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.insights-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.insight { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), opacity 700ms var(--ease); }
.insight:hover { box-shadow: var(--shadow-lg); }
.insight[hidden] { display: none; }
.insight-cover svg { display: block; width: 100%; height: auto; transition: transform 800ms var(--ease); }
.insight-cover { overflow: hidden; }
.insight:hover .insight-cover svg { transform: scale(1.04); }
.insight-body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.insight-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; color: var(--muted); }
.insight-meta .kind { font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: 0.06em; }
.dot { width: 4px; height: 4px; border-radius: 9999px; background: var(--dim); }
.insight-title { font-size: 18px; line-height: 28px; font-weight: 600; }
.insight-lead { font-size: 14px; line-height: 20px; color: var(--muted); }
.insight .link { margin-top: auto; }
.insight-big { grid-column: span 2; flex-direction: row; }
.insight-big .insight-cover { flex: 1.2; }
.insight-big .insight-cover svg { height: 100%; object-fit: cover; }
.insight-big .insight-body { flex: 1; padding: 32px; }
.insight-big .insight-title { font-size: 24px; line-height: 32px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip-btn { font: inherit; font-size: 14px; line-height: 20px; font-weight: 600; padding: 8px 16px; border-radius: 9999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease); }
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.empty-note { padding: 48px 0; text-align: center; color: var(--muted); }
.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.newsletter > div { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ind-tile { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; text-decoration: none; transition: transform 500ms var(--ease), border-color 500ms var(--ease), opacity 700ms var(--ease); }
.ind-tile i { font-size: 24px; flex-shrink: 0; }
.ind-tile:hover { border-color: var(--ink); }
.ind-list { display: flex; flex-direction: column; gap: 16px; }
.ind { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 128px; }
.ind-title { display: flex; flex-direction: column; gap: 16px; }
.ind-title .card-ic { margin: 0; }
.ind-title h2 { font-size: 24px; line-height: 32px; }
.ind-fix { display: flex; flex-direction: column; gap: 12px; }
.ind-fix .ticks { margin-top: 0; }
.ind .link { margin-top: 8px; text-decoration: none; }
.svc-h { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }

/* Services detail */
.svc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.svc-nav { position: sticky; top: 136px; display: flex; flex-direction: column; gap: 4px; }
.svc-nav .eyebrow { margin-bottom: 8px; }
.svc-nav a { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.svc-nav a:hover { color: var(--ink); background: var(--surface); }
.svc-nav a.on { color: var(--ink); background: var(--surface); font-weight: 600; }
.svc-list { display: flex; flex-direction: column; gap: 16px; }
.svc { padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 128px; }
.svc-head { display: flex; align-items: center; gap: 16px; }
.svc-head .card-ic { margin: 0; }
.svc-head h2 { font-size: 30px; line-height: 36px; letter-spacing: -0.02em; }
.svc-cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; margin-top: 8px; }
.svc-cols .ticks { margin-top: 0; }
.svc-facts { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.svc-facts div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px; }
.svc-facts div + div { border-top: 1px solid var(--line); }
.svc-facts dt { font-size: 14px; line-height: 20px; color: var(--muted); }
.svc-facts dd { margin: 0; font-weight: 700; text-align: right; }
.svc-facts dd a { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }

/* About */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.prose > div { display: flex; flex-direction: column; gap: 16px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.facts li { display: flex; flex-direction: column; gap: 8px; padding: 32px 24px; border-top: 3px solid var(--ink); background: var(--surface); }
.facts b { font-size: 48px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; }
.facts span { font-size: 14px; line-height: 20px; color: var(--muted); }
.approach { display: flex; flex-direction: column; gap: 16px; }
.approach li { display: flex; gap: 24px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.approach .step-n { flex-shrink: 0; }
.approach h3 { font-size: 18px; line-height: 28px; margin-bottom: 4px; }
.section-alt .approach li { background: var(--bg); }
.ticks-lg { gap: 16px; margin: 0 0 32px; }
.ticks-lg li { font-size: 18px; line-height: 28px; padding-left: 32px; }
.ticks-lg li::before { top: 6px; width: 16px; height: 16px; }

.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.audit-grid .h2 { margin: 12px 0 24px; }

/* Pricing table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th { text-align: left; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); padding: 16px 24px; background: var(--bg); }
.price-table td { padding: 20px 24px; border-top: 1px solid var(--line); font-weight: 500; }
.price-table td b { font-size: 18px; line-height: 28px; white-space: nowrap; }
.price-table tbody tr { transition: background-color 300ms var(--ease); }
.price-table tbody tr:hover { background: var(--bg); }

/* Contact info */
.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.info { padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.info i { font-size: 24px; }
.info h3 { font-size: 16px; line-height: 24px; }

/* Article */
.narrow { max-width: 832px; }
.article-head .container { display: flex; flex-direction: column; gap: 16px; }
.article-head h1 { font-size: 48px; line-height: 1; letter-spacing: -0.02em; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 20px; font-weight: 600; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9999px; background: var(--ink); color: #FFFFFF; font-size: 12px; line-height: 16px; font-weight: 700; }
.article-cover svg { display: block; width: 100%; height: auto; border-radius: 24px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; padding-top: 48px; padding-bottom: 96px; max-width: 1184px; align-items: start; }
.article-body { max-width: 680px; }
.article-body h2 { font-size: 24px; line-height: 32px; margin-top: 16px; color: var(--ink); }
.article-body ul { display: flex; flex-direction: column; gap: 12px; padding-left: 24px; list-style: disc; }
.article-body b { color: var(--ink); }
.article-aside { position: sticky; top: 136px; }
.aside-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.aside-card b { font-size: 18px; line-height: 28px; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-brand img { height: 24px; width: auto; }
.foot-h { font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-col ul { display: flex; flex-direction: column; gap: 8px; }
.foot-col a, .foot-legal a { font-size: 14px; line-height: 20px; color: var(--muted); text-decoration: none; transition: color 300ms var(--ease); }
.foot-col a:hover, .foot-legal a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-legal { display: flex; gap: 24px; }

@media (max-width: 1100px) {
  .mega-nav, .bar-cta { display: none; }
  .hbar .menu-toggle { display: block; }
  .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .page-head { padding: 48px 0 32px; }
  .hero { padding: 48px 0 64px; }
  .article-head h1 { font-size: 36px; line-height: 40px; }
  .h2 { font-size: 30px; line-height: 36px; }
  .two-col, .audit-grid, .svc-cols, .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .svc-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .svc-nav .eyebrow { width: 100%; }
  .svc-nav a { background: var(--surface); border: 1px solid var(--line); border-radius: 9999px; padding: 4px 12px; }
  .ind { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px; }
  .facts, .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insights-page, .insights-2 { grid-template-columns: minmax(0, 1fr); }
  .insight-big { grid-column: auto; flex-direction: column; }
  .newsletter { flex-direction: column; align-items: flex-start; }
  .article-aside { position: static; }
  .article-layout { padding-bottom: 64px; }
  .svc { padding: 24px; }
  .svc-head h2 { font-size: 24px; line-height: 32px; }
  .util-note { display: none; }
  .util-row { justify-content: flex-end; }
  .mobile-menu { top: 112px; }
}
@media (max-width: 560px) {
  .insights, .ind-grid, .facts, .info-grid, .foot-top { grid-template-columns: minmax(0, 1fr); }
  .facts b { font-size: 36px; line-height: 40px; }
  .bar-row { height: 64px; }
  .mobile-menu { top: 104px; }
  .article-head h1 { font-size: 30px; line-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .mega { transition: opacity 200ms linear; transform: none; }
}
.article-head .narrow, .article-cover.narrow { max-width: 1184px; }
.article-head .narrow > * { max-width: 832px; }
.article-cover svg { max-width: 832px; }

/* ==========================================================================
   Premium layer: editorial serif headlines, quiet surfaces, generous space.
   Overrides earlier rules; keep it last in the file.
   ========================================================================== */
:root { --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif; --radius: 4px; }
body { font-weight: 400; letter-spacing: 0.005em; }

/* Headlines: serif, solid navy, lighter weight */
h1, h2, .h2, .tagline-text, .hero h1, .page-head h1, .cta-box h2, .contact-page h1 {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.grad { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--ink); -webkit-text-fill-color: var(--ink); padding-bottom: 0; }
.hero h1 { font-size: 72px; line-height: 1.02; max-width: 760px; }
.page-head h1, .contact-page h1 { font-size: 64px; line-height: 1.04; }
h2, .h2 { font-size: 48px; line-height: 1.08; }
.cta-box h2 { font-size: 48px; line-height: 1.08; }
h3 { font-weight: 600; letter-spacing: 0; }
.tagline-text { font-size: 56px; line-height: 1.1; font-weight: 500; }
.tagline-text .w { color: rgba(14, 34, 64, 0.18); }
.lead { font-size: 18px; line-height: 30px; font-weight: 300; color: var(--muted); }

/* Eyebrows: small, widely tracked, with a hairline */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.22em; color: var(--navy-soft); }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .6; }

/* Space: one idea per screen */
.section { padding: 144px 0; }
.section-tight { padding: 96px 0; }
.hero { padding: 120px 0 144px; }
.tagline { padding: 144px 0; }
.page-head { padding: 112px 0 64px; }

/* Buttons: understated, near square corners */
.btn { border-radius: var(--radius); font-size: 15px; letter-spacing: 0.02em; padding: 10px 18px; }
.btn-lg { padding: 14px 28px; }
.btn-primary:hover, .btn-ghost:hover { transform: none; box-shadow: none; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #FFFFFF; }

/* Surfaces: hairlines instead of shadows and big radii */
.card, .feature-card, .dash, .insight, .form, .info, .faq details, .price-table, .table-wrap, .ind, .svc-nav, .case, .engage {
  border-radius: var(--radius) !important; box-shadow: none !important;
}
.card { background: transparent; border: 0; border-top: 1px solid var(--line-2); padding: 32px 0 0; }
.card:hover { transform: none; box-shadow: none; border-color: var(--ink); }
.card-ic { background: transparent; color: var(--ink); width: auto; height: auto; font-size: 28px; border-radius: 0; margin-bottom: 8px; }
.card:hover .card-ic { transform: none; }
.feature-card:hover { transform: none; }
.chip, .tag, .chip-btn { border-radius: var(--radius); }

/* Calm motion: fade with a small lift only */
.js .reveal { transform: translateY(16px); transition-duration: 1000ms; }
.js .reveal.in { transform: none; }

/* Noise removed */
.util, .marquee { display: none !important; }
.hero-points { display: none; }

/* Engagement models (Hamkorlik page) */
.engage-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.engage { border-top: 1px solid var(--ink); padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.engage h3 { font-family: var(--serif); font-size: 36px; line-height: 1.1; font-weight: 500; }
.engage-meta { margin-top: auto; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-soft); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: center; }
.founder-portrait { aspect-ratio: 4 / 5; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; position: relative; overflow: hidden; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder-portrait .mono { font-family: var(--serif); font-size: 160px; line-height: 1; color: var(--ink); }
.founder-portrait .mono i { color: var(--navy-soft); }
.founder blockquote { margin: 0; font-family: var(--serif); font-size: 36px; line-height: 1.25; color: var(--ink); font-style: italic; }
.founder .sig { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.founder .sig b { font-size: 16px; }
.founder .sig span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy-soft); }

@media (max-width: 900px) {
  .hero h1 { font-size: 48px; }
  .page-head h1, .contact-page h1 { font-size: 44px; }
  h2, .h2, .cta-box h2 { font-size: 36px; }
  .tagline-text { font-size: 40px; }
  .section { padding: 96px 0; }
  .engage-grid, .founder { grid-template-columns: 1fr; gap: 48px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.strip { display: none !important; }

/* Brand: larger logo in header and footer */
.bar-row { height: 96px; }
.logo img { height: 52px; }
.foot-brand img { height: 48px; }
@media (max-width: 900px) {
  .bar-row { height: 72px; }
  .logo img { height: 40px; }
}

/* Service subtitle under each practice heading */
.svc-sub { margin: 8px 0 0; font-size: 14px; line-height: 20px; letter-spacing: .04em; color: var(--muted); }
