@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600&family=Open+Sans:wght@400;600;700&display=swap");

:root {
  --bg: #0b0f14;
  --header-beige: #dcd9ce;
  --header-charcoal: #424449;
  --header-gold: #9a8f76;
  --bg-soft: #101722;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(210, 183, 124, 0.35);
  --text: #f7f4ec;
  --muted: #aeb6c2;
  --muted-strong: #d9dee5;
  --gold: #d2b77c;
  --steel: #7d95b6;
  --ink: #111821;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  --font: "Open Sans", Inter, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Cinzel", "Times New Roman", serif;
  --text-base: clamp(0.95rem, 0.9rem + 0.22vw, 1.05rem);
  --text-small: clamp(0.72rem, 0.68rem + 0.16vw, 0.82rem);
  --text-lead: clamp(1.02rem, 0.94rem + 0.5vw, 1.3rem);
  --h1: clamp(2.65rem, 1.6rem + 4.6vw, 6.2rem);
  --h2: clamp(2rem, 1.35rem + 2.9vw, 4.4rem);
  --h3: clamp(1.12rem, 1rem + 0.45vw, 1.35rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% -8%, rgba(125, 149, 182, 0.18), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(210, 183, 124, 0.13), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.78;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 80%);
  pointer-events: none;
}

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

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

p a {
  text-decoration-color: rgba(210, 183, 124, 0.4);
  text-underline-offset: 4px;
}

p a:hover {
  text-decoration-color: rgba(210, 183, 124, 0.65);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid rgba(210, 183, 124, 0.6);
  outline-offset: 4px;
  border-radius: 10px;
}

.button:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.78);
  backdrop-filter: blur(18px);
}

.site-header--banner {
  position: static;
  border-bottom: none;
  background: transparent;
  backdrop-filter: none;
}

.header-banner {
  width: 100%;
  line-height: 0;
  background: var(--header-charcoal);
}

.header-banner a {
  display: block;
  width: 100%;
}

.header-banner img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.site-header--banner .nav-below-banner {
  position: sticky;
  top: 0;
  z-index: 50;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-height: 72px;
  margin: 0;
  padding: 16px max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.94);
  backdrop-filter: blur(14px);
}

.site-header--banner .nav-below-banner .nav-links {
  flex: 1;
  justify-content: center;
}

.site-header--banner .nav-toggle {
  position: absolute;
  right: max(24px, calc((100vw - 1200px) / 2));
}

.hero-intro {
  width: 100%;
  padding: clamp(52px, 8vh, 92px) max(24px, calc((100vw - 1200px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 clamp(28px, 5vw, 56px) 0 0;
  background: #3c3d41;
  text-align: center;
}

.hero-intro .eyebrow {
  margin-bottom: clamp(22px, 3vh, 32px);
}

.hero-intro-tagline {
  max-width: 920px;
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(1.2rem, 1rem + 1.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.hero-intro .hero-actions {
  justify-content: center;
  margin-top: clamp(36px, 5vh, 52px);
}

.hero-copy--editorial {
  max-width: 780px;
}

.hero-copy--editorial h1 {
  margin-bottom: clamp(20px, 3vh, 28px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1200px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: min(260px, 56vw);
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 22px 0;
  background: rgba(255, 255, 255, 0.055);
  opacity: 0.92;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
}

.brand::after {
  content: "KABSolutions\A Business Intelligence & Analytics";
  white-space: pre;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

.brand img {
  width: 52px;
  height: 76px;
  object-fit: cover;
  object-position: left center;
  border-radius: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links a {
  transition: color 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero,
.page-hero,
.section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-home {
  position: relative;
  min-height: clamp(620px, calc(100svh - 92px), 820px);
  padding: clamp(58px, 8vh, 88px) 0 clamp(74px, 10vh, 110px);
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 -12vw;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 22%, rgba(210, 183, 124, 0.13), transparent 24rem),
    linear-gradient(90deg, rgba(11, 15, 20, 0.95), rgba(11, 15, 20, 0.62), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 clamp(20px, 0.9vw + 16px, 26px);
  color: var(--gold);
  font-size: var(--text-small);
  font-weight: 900;
  letter-spacing: clamp(0.14em, 0.9vw, 0.24em);
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.02;
}

h1 {
  max-width: 980px;
  font-size: var(--h1);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.hero-copy h1,
.page-hero h1 {
  margin-bottom: clamp(18px, 2.8vh, 28px);
}

h2 {
  font-size: var(--h2);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

h3 {
  font-size: var(--h3);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lead {
  max-width: 780px;
  margin-top: clamp(24px, 3.5vh, 34px);
  color: var(--muted-strong);
  font-size: var(--text-lead);
  line-height: 1.6;
}

.hero-copy > p:not(.eyebrow, .lead, .microcopy) {
  max-width: 760px;
  margin-top: clamp(20px, 2.5vh, 28px);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(40px, 5vh, 52px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: var(--text-small);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: var(--ink);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
}

.microcopy {
  max-width: 690px;
  margin-top: clamp(24px, 3vh, 30px);
  color: #8e98a6;
  font-size: 0.92rem;
  line-height: 1.55;
}

.intelligence-panel {
  position: relative;
  z-index: 1;
  min-height: 560px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, 0.22), rgba(11, 15, 20, 0.64)),
    radial-gradient(circle at 20% 10%, rgba(210, 183, 124, 0.17), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: none;
  overflow: hidden;
}

.intelligence-panel::before,
.intelligence-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(210, 183, 124, 0.22);
}

.intelligence-panel::before {
  inset: 90px -140px auto auto;
  width: 320px;
  height: 320px;
}

.intelligence-panel::after {
  inset: auto auto -160px -90px;
  width: 380px;
  height: 380px;
}

.panel-topline,
.panel-metrics {
  position: relative;
  z-index: 1;
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.signal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: end;
  height: 320px;
  margin: 62px 0 42px;
}

.signal-grid span {
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(to top, rgba(210, 183, 124, 0.92), rgba(125, 149, 182, 0.72));
}

.signal-grid span:nth-child(1) { height: 38%; }
.signal-grid span:nth-child(2) { height: 64%; }
.signal-grid span:nth-child(3) { height: 48%; }
.signal-grid span:nth-child(4) { height: 74%; }
.signal-grid span:nth-child(5) { height: 56%; }
.signal-grid span:nth-child(6) { height: 86%; }

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

.panel-metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(11, 15, 20, 0.42);
}

.panel-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.panel-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 1.25rem;
}

.section {
  padding: 124px 0;
}

.page-hero {
  padding: 122px 0 82px;
}

.page-hero p {
  max-width: 760px;
  margin-top: clamp(24px, 3vh, 32px);
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.65;
}

.statement {
  padding: clamp(42px, 7vh, 74px) 0 74px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tagline {
  max-width: 950px;
  padding: 34px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted-strong);
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.split-section,
.section-heading,
.authority-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading > p:not(.eyebrow),
.centered > p,
.copy-stack p,
.center-copy {
  color: var(--muted);
}

.section-heading h2 {
  margin-top: 12px;
  line-height: 1.12;
}

.section-heading > p:not(.eyebrow) {
  margin-top: 22px;
}

.centered {
  display: block;
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.copy-stack {
  display: grid;
  gap: 24px;
}

.copy-stack strong {
  color: var(--text);
}

.copy-stack p,
.section-heading p,
.detail-grid p {
  max-width: 68ch;
}

.problem-section,
.outcomes-section {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  background: transparent;
  border-block: none;
}

.problem-grid,
.service-grid,
.expectation-grid,
.process-grid,
.principle-grid,
.detail-grid {
  display: grid;
  gap: 26px;
}

.problem-grid {
  margin-top: 22px;
}

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

.problem-grid article,
.service-card,
.expectation-grid article,
.process-grid article,
.principle-grid article,
.detail-grid article,
.consultation-card,
.contact-panel {
  box-shadow: none;
}

.problem-grid article {
  min-height: 180px;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  color: var(--muted-strong);
}

.dark-band {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  background:
    radial-gradient(circle at 70% 20%, rgba(125, 149, 182, 0.15), transparent 28rem),
    #070a0f;
  border-block: 1px solid var(--line);
}

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

.outcome-list span,
.outcome-pill-grid span,
.partner-chip {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-weight: 750;
}

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

.service-card {
  grid-column: span 2;
  min-height: 390px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card span,
.expectation-grid span,
.process-grid span,
.service-list span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service-card p,
.expectation-grid p,
.process-grid p,
.principle-grid p,
.detail-grid p,
.service-list p,
.contact-panel p,
.consultation-card li {
  color: var(--muted);
}

.service-card h3 {
  margin-bottom: 18px;
}

.service-card strong {
  display: block;
  margin: 24px 0;
  color: var(--muted-strong);
}

.service-card a,
.service-list a {
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.expectation-section {
  width: 100%;
  padding-right: max(24px, calc((100vw - 1200px) / 2));
  padding-left: max(24px, calc((100vw - 1200px) / 2));
}

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

.expectation-grid article,
.process-grid article,
.principle-grid article,
.detail-grid article {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.expectation-grid article {
  background: transparent;
}

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

.process-large {
  grid-template-columns: repeat(2, 1fr);
}

.outcome-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.center-copy {
  max-width: 720px;
  margin: 34px auto 0;
  text-align: center;
}

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

.final-cta {
  margin-bottom: 90px;
  padding: 64px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 20%, rgba(210, 183, 124, 0.12), transparent 26rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: none;
}

.final-cta h2 {
  max-width: 900px;
  margin-bottom: clamp(18px, 2.8vh, 28px);
}

.final-cta p:not(.eyebrow) {
  max-width: 760px;
  margin-top: clamp(24px, 3vh, 30px);
  color: var(--muted);
  line-height: 1.65;
}

.final-cta p + .button,
.final-cta h2 + .button {
  margin-top: clamp(34px, 4.2vh, 46px);
}

.final-cta .hero-actions {
  margin-top: clamp(44px, 5vh, 56px);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list article {
  display: grid;
  grid-template-columns: 90px minmax(0, 0.8fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
}

.service-list h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
}

.principle-grid,
.detail-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-panel {
  padding: 42px;
}

.contact-panel h2 {
  margin-bottom: clamp(16px, 2vh, 22px);
}

.contact-panel .button {
  margin-top: clamp(36px, 4vh, 44px);
}

.consultation-card {
  padding: 34px;
}

.consultation-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: clamp(18px, 3vh, 28px);
  padding: clamp(36px, 5vh, 48px) max(24px, calc((100vw - 1200px) / 2));
  border-top: 1px solid var(--line);
  color: #7f8996;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer .footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: #7f8996;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.footer .footer-meta span {
  opacity: 0.9;
}

.footer p {
  margin: 0;
  max-width: 52ch;
  line-height: 1.65;
}

.footer a:hover {
  color: var(--text);
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 18px;
  color: #8d97a7;
}

.footer-links a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.footer-links a:hover {
  border-color: rgba(210, 183, 124, 0.45);
}

.consultation-hero {
  position: relative;
  padding: 120px 0 86px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(210, 183, 124, 0.14), transparent 22rem),
    radial-gradient(circle at 88% 26%, rgba(125, 149, 182, 0.14), transparent 22rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: none;
  overflow: hidden;
}

.consultation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(11, 15, 20, 0.82),
      rgba(11, 15, 20, 0.52),
      rgba(11, 15, 20, 0.2)
    );
  pointer-events: none;
}

.consultation-hero > * {
  position: relative;
  z-index: 1;
}

.consultation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 54px;
  align-items: start;
}

.form-card {
  margin-top: 28px;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.022);
  box-shadow: none;
}

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

.form-grid label {
  display: grid;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c3cbd7;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 10, 15, 0.42);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
  outline: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.form-grid textarea {
  resize: vertical;
  min-height: 140px;
}

.form-grid input:focus,
.form-grid textarea:focus,
.form-grid select:focus {
  border-color: rgba(210, 183, 124, 0.45);
  background: rgba(7, 10, 15, 0.55);
}

.form-span {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  margin-top: 20px;
}

.form-submit[data-loading="true"] {
  opacity: 0.86;
  transform: none;
}

.form-note {
  margin-top: 16px;
  color: #9aa4b3;
  font-size: 0.92rem;
  letter-spacing: normal;
  text-transform: none;
}

.form-note a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(210, 183, 124, 0.45);
  text-underline-offset: 4px;
}

.form-message {
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.form-message:empty {
  display: none;
}

.form-message[data-tone="success"] {
  border-color: rgba(120, 210, 170, 0.5);
  background: rgba(120, 210, 170, 0.12);
}

.form-message[data-tone="error"] {
  border-color: rgba(233, 120, 120, 0.55);
  background: rgba(233, 120, 120, 0.12);
}

.consultation-steps h3 {
  margin-top: 12px;
}

.step-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.step-list article {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.03);
}

.step-list strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-list p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.expectation-grid--compact article {
  min-height: unset;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .site-header--banner .nav-below-banner {
    justify-content: flex-end;
    padding-right: max(24px, calc((100vw - 1200px) / 2));
  }

  .site-header--banner .nav-below-banner .nav-links {
    justify-content: center;
  }

  .nav-toggle {
    position: relative;
    z-index: 60;
    display: block;
  }

  .site-header--banner .nav-toggle {
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: none;
    flex-direction: column;
    justify-content: center;
    background: rgba(7, 10, 15, 0.97);
    font-size: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-grid,
  .split-section,
  .section-heading,
  .authority-section,
  .contact-layout,
  .consultation-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    gap: 42px;
  }

  .hero-copy {
    max-width: 980px;
  }

  h1 {
    max-width: 920px;
    font-size: clamp(2.65rem, 5vw, 4.1rem);
    letter-spacing: -0.048em;
  }

  .intelligence-panel {
    min-height: 480px;
  }

  .problem-grid,
  .expectation-grid,
  .process-grid,
  .principle-grid,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .service-list article {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav,
  .hero,
  .page-hero,
  .section {
    width: min(100% - 32px, 1200px);
  }

  .brand {
    width: min(210px, 70vw);
    gap: 10px;
    padding: 8px 12px 8px 8px;
  }

  .brand::after {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .brand img {
    width: 42px;
    height: 62px;
  }

  .hero-home,
  .page-hero,
  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-heading {
    margin-bottom: 46px;
  }

  .section-heading h2 {
    line-height: 1.14;
  }

  .section-heading > p:not(.eyebrow) {
    margin-top: 18px;
  }

  .consultation-hero {
    padding: 68px 0 58px;
    border-radius: 30px;
  }

  .form-card {
    padding: 22px;
    border-radius: 26px;
  }

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

  h1 {
    font-size: clamp(2rem, 9.5vw, 2.65rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.65rem, 7.2vw, 2.25rem);
    letter-spacing: -0.035em;
  }

  h3 {
    font-size: clamp(1.08rem, 4.8vw, 1.24rem);
  }

  .lead {
    margin-top: 22px;
    font-size: clamp(1rem, 4.6vw, 1.16rem);
    line-height: 1.55;
  }

  .hero-copy > p:not(.eyebrow, .lead, .microcopy),
  .page-hero p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 36px;
  }

  .final-cta .hero-actions {
    margin-top: 40px;
  }

  .button {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-align: center;
  }

  .tagline {
    padding: 24px;
    font-size: clamp(1.18rem, 5.6vw, 1.55rem);
    letter-spacing: -0.025em;
  }

  .intelligence-panel {
    min-height: 360px;
    padding: 22px;
  }

  .signal-grid {
    height: 180px;
    gap: 8px;
    margin: 42px 0 28px;
  }

  .panel-topline,
  .panel-metrics {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .panel-metrics div {
    padding: 14px;
  }

  .panel-metrics strong {
    font-size: 1.08rem;
  }

  .panel-metrics,
  .problem-grid,
  .expectation-grid,
  .process-grid,
  .principle-grid,
  .detail-grid,
  .outcome-list,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .final-cta,
  .contact-panel,
  .consultation-card {
    padding: 28px;
    border-radius: 26px;
  }

  .footer {
    display: grid;
  }
}
