:root {
  --navy: #071827;
  --navy-soft: #102d42;
  --blue: #0c5eb8;
  --blue-bright: #2e8fff;
  --gold: #e6b45f;
  --gold-soft: #f1d49d;
  --ivory: #f5f2eb;
  --paper: #fbfaf7;
  --ink: #10202e;
  --muted: #66717b;
  --line: rgba(16, 32, 46, 0.14);
  --shadow: 0 24px 80px rgba(7, 24, 39, 0.13);
  --radius: 1.25rem;
  --container: min(1180px, calc(100% - 3rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.page-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 3px;
  background: transparent;
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--blue-bright));
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 50%;
  display: flex;
  width: min(1180px, calc(100% - 2rem));
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem 0.65rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 1.15rem;
  background: rgba(251, 250, 247, 0.83);
  box-shadow: 0 10px 40px rgba(7, 24, 39, 0.08);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.95);
  box-shadow: 0 16px 48px rgba(7, 24, 39, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  color: var(--navy);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}

.brand-copy i,
.proof-item i {
  color: var(--gold);
  font-family: Georgia, serif;
  font-style: italic;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.primary-navigation a {
  position: relative;
  color: #32414e;
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-navigation a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--navy);
  color: white !important;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.7rem;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  position: absolute;
  width: 1.15rem;
  height: 2px;
  background: white;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle > span:nth-child(1) { transform: translateY(-6px); }
.menu-toggle > span:nth-child(3) { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 9.5rem 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 30%, rgba(46, 143, 255, 0.16), transparent 28%),
    linear-gradient(110deg, var(--paper) 0 62%, var(--ivory) 62% 100%);
}

.hero::before {
  position: absolute;
  top: 15%;
  left: -9rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(12, 94, 184, 0.15);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  width: var(--container);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.64fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.eyebrow,
.section-index,
.case-number,
.case-company,
.micro-title,
.journey-title {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow span {
  width: 2.5rem;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.6rem, 6.8vw, 6.75rem);
}

h1 em,
h2 em {
  color: var(--blue);
  font-weight: inherit;
}

.hero-intro {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: #4b5a66;
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions,
.contact-actions {
  display: flex;
  margin-top: 2.25rem;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(7, 24, 39, 0.18);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 38px rgba(7, 24, 39, 0.24);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.hero-proof {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-proof span,
.tag-list span {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #41505c;
  font-size: 0.73rem;
  font-weight: 750;
}

.portrait-stage {
  position: relative;
  width: min(100%, 25rem);
  margin-left: auto;
  padding: 1.25rem;
}

.portrait-orbit {
  position: absolute;
  inset: -0.75rem;
  border: 1px solid rgba(12, 94, 184, 0.18);
  border-radius: 50%;
}

.portrait-orbit::after {
  position: absolute;
  top: 10%;
  right: 9%;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(230, 180, 95, 0.14);
  content: "";
}

.portrait-card {
  position: relative;
  margin: 0;
  padding: 0.75rem;
  border-radius: 12rem 12rem 1.35rem 1.35rem;
  background: var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-card::before {
  position: absolute;
  z-index: 2;
  inset: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 11.5rem 11.5rem 0.9rem 0.9rem;
  content: "";
  pointer-events: none;
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 11.2rem 11.2rem 0.9rem 0.9rem;
  object-fit: cover;
  object-position: center;
}

.portrait-card figcaption {
  position: absolute;
  z-index: 3;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.9rem;
  background: rgba(7, 24, 39, 0.84);
  color: white;
  backdrop-filter: blur(10px);
}

.portrait-card figcaption strong {
  font-size: 0.88rem;
}

.portrait-card figcaption span {
  color: var(--gold-soft);
  font-size: 0.69rem;
  text-align: right;
}

.floating-card {
  position: absolute;
  z-index: 4;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 35px rgba(7, 24, 39, 0.14);
  backdrop-filter: blur(10px);
}

.floating-card-top {
  top: 20%;
  left: -1.5rem;
}

.floating-card-top strong,
.floating-card-top span {
  display: block;
}

.floating-card-top strong {
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

.floating-card-top span,
.floating-card-bottom p {
  margin: 0.3rem 0 0;
  color: #52606b;
  font-size: 0.72rem;
}

.floating-card-bottom {
  right: -1.4rem;
  bottom: 17%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.pulse-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #27a873;
  box-shadow: 0 0 0 6px rgba(39, 168, 115, 0.12);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 2rem;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #6b7780;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 2rem;
  background: linear-gradient(var(--blue), transparent);
}

.proof-strip {
  position: relative;
  z-index: 5;
  display: grid;
  width: var(--container);
  margin: -1rem auto 0;
  padding: 1.75rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
  color: white;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  color: var(--gold-soft);
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.1;
}

.proof-item span {
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

.section {
  padding: clamp(5.5rem, 10vw, 9rem) 0;
}

.section-heading,
.profile-layout,
.journey-grid,
.method-flow,
.case-study,
.impact-heading,
.impact-dashboard {
  width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  display: grid;
  margin-bottom: 4rem;
  grid-template-columns: 0.42fr 1fr;
  gap: 2rem;
}

.section-heading h2,
.impact-heading h2 {
  max-width: 16ch;
  font-size: clamp(2.8rem, 5.7vw, 5.2rem);
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(3rem, 7vw, 7rem);
}

.profile-story {
  align-self: center;
}

.profile-story p {
  color: #55636e;
}

.profile-story .lead {
  margin-top: 0;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.45;
}

.profile-story blockquote {
  margin: 2rem 0 0;
  padding: 1.2rem 0 1.2rem 1.4rem;
  border-left: 3px solid var(--gold);
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.capability-card {
  min-height: 15.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.capability-card:hover {
  box-shadow: 0 18px 45px rgba(7, 24, 39, 0.09);
  transform: translateY(-5px);
}

.capability-number {
  display: block;
  margin-bottom: 3rem;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 0.86rem;
}

.capability-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
}

.capability-card p {
  margin: 0.7rem 0 0;
  color: #5d6871;
  font-size: 0.9rem;
}

.accent-card {
  border-color: transparent;
  background: var(--gold);
}

.accent-card .capability-number,
.accent-card h3,
.accent-card p {
  color: var(--navy);
}

.dark-card {
  border-color: transparent;
  background: var(--navy);
}

.dark-card .capability-number { color: var(--gold); }
.dark-card h3 { color: white; }
.dark-card p { color: rgba(255, 255, 255, 0.67); }

.impact-section {
  background: var(--navy);
  color: white;
}

.impact-heading {
  display: grid;
  margin-bottom: 3.5rem;
  grid-template-columns: 1fr 0.65fr;
  gap: 3rem;
  align-items: end;
}

.section-index.light,
.impact-heading .section-index {
  color: var(--gold);
}

.impact-heading h2,
.journey-section h2 {
  color: white;
}

.impact-heading h2 em,
.journey-section h2 em {
  color: var(--gold-soft);
}

.impact-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}

.impact-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.impact-metric {
  display: flex;
  min-height: 18rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  flex-direction: column;
}

.primary-metric {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.metric-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-metric .metric-label { color: rgba(7, 24, 39, 0.65); }

.impact-metric > strong {
  display: block;
  margin-top: auto;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.9rem);
  font-weight: 500;
  line-height: 1;
}

.impact-metric > strong small {
  margin-right: 0.15rem;
  font-size: 0.45em;
}

.impact-metric p {
  min-height: 3rem;
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  line-height: 1.45;
}

.primary-metric p { color: rgba(7, 24, 39, 0.72); }

.metric-line {
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.metric-line span {
  display: block;
  width: var(--fill);
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms ease 300ms;
}

.primary-metric .metric-line { background: rgba(7, 24, 39, 0.16); }
.primary-metric .metric-line span { background: var(--navy); }
.impact-dashboard.is-visible .metric-line span { transform: scaleX(1); }

.case-section {
  background: var(--ivory);
}

.case-study {
  display: grid;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--paper);
  box-shadow: 0 12px 40px rgba(7, 24, 39, 0.055);
  grid-template-columns: 0.72fr 1.28fr;
  overflow: hidden;
}

.case-identity,
.case-detail {
  padding: clamp(2rem, 4vw, 3.4rem);
}

.case-identity {
  border-right: 1px solid var(--line);
}

.case-featured .case-identity {
  background: var(--navy);
  color: white;
}

.case-number { color: var(--gold); }
.case-company { margin-bottom: 2.2rem; color: var(--blue); }
.case-featured .case-company { color: var(--gold-soft); }

.case-identity h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
}

.case-featured .case-identity h3 { color: white; }

.case-summary {
  margin: 1.25rem 0 1.7rem;
  color: #5c6871;
  font-size: 0.93rem;
}

.case-featured .case-summary { color: rgba(255, 255, 255, 0.65); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.case-featured .tag-list span {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.case-detail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.case-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.micro-title {
  margin-bottom: 0.55rem;
  color: var(--blue);
}

.case-columns p:not(.micro-title) {
  margin: 0;
  color: #56636d;
  font-size: 0.9rem;
}

.pipeline {
  display: grid;
  margin: 2.2rem 0;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.pipeline div {
  min-width: 0;
  padding: 1rem 0.7rem;
  border-radius: 0.9rem;
  background: var(--ivory);
  text-align: center;
}

.pipeline strong,
.pipeline span {
  display: block;
}

.pipeline strong {
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 1.55rem;
}

.pipeline span {
  margin-top: 0.25rem;
  color: #68737b;
  font-size: 0.65rem;
  line-height: 1.3;
}

.pipeline i {
  color: var(--gold);
  font-style: normal;
}

.case-result {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold);
  background: #f3f7fb;
  color: #44525d;
  font-size: 0.88rem;
}

.case-result span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-dashboard {
  margin-bottom: 1.4rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: white;
}

.mini-dashboard-head {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mini-dashboard-head span,
.mini-dashboard-head strong {
  display: block;
}

.mini-dashboard-head span {
  color: #73808a;
  font-size: 0.7rem;
}

.mini-dashboard-head strong {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 500;
}

.status-pill {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #e7f4ee;
  color: #19714d !important;
  font-size: 0.67rem !important;
  font-weight: 800;
}

.bar-row {
  display: grid;
  margin-top: 0.75rem;
  grid-template-columns: 8rem 1fr 5rem;
  gap: 0.8rem;
  align-items: center;
}

.bar-row > span,
.bar-row > strong {
  color: #596670;
  font-size: 0.68rem;
}

.bar-row > strong {
  color: var(--blue);
  text-align: right;
}

.bar-row i {
  height: 0.42rem;
  border-radius: 99px;
  background: #e7ebee;
  overflow: hidden;
}

.bar-row b {
  display: block;
  width: var(--bar);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

.digital-funnel {
  display: grid;
  margin-bottom: 1.5rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.digital-funnel div {
  position: relative;
  min-height: 8.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: white;
}

.digital-funnel div:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -0.75rem;
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  content: "→";
  font-size: 0.7rem;
  transform: translateY(-50%);
}

.digital-funnel span,
.digital-funnel strong,
.digital-funnel small {
  display: block;
}

.digital-funnel span {
  color: var(--blue);
  font-family: Georgia, serif;
}

.digital-funnel strong {
  margin-top: 1.5rem;
  color: var(--navy);
  font-size: 0.85rem;
}

.digital-funnel small {
  margin-top: 0.35rem;
  color: #74808a;
  font-size: 0.65rem;
  line-height: 1.35;
}

.method-section {
  background: var(--paper);
}

.method-flow {
  display: grid;
  margin-top: 0;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(5, 1fr);
}

.method-flow li {
  position: relative;
  min-height: 12rem;
  padding: 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.method-flow li:first-child { border-radius: 1rem 0 0 1rem; }
.method-flow li:last-child { border-right: 1px solid var(--line); border-radius: 0 1rem 1rem 0; }

.method-flow li > span {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 0.82rem;
}

.method-flow li div {
  margin-top: 3rem;
}

.method-flow strong {
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.method-flow p {
  margin: 0.5rem 0 0;
  color: #68747d;
  font-size: 0.76rem;
  line-height: 1.45;
}

.method-flow li:hover {
  background: var(--navy);
}

.method-flow li:hover strong { color: white; }
.method-flow li:hover p { color: rgba(255, 255, 255, 0.64); }

.journey-section {
  background: var(--navy);
  color: white;
}

.journey-section .section-heading {
  margin-bottom: 4.5rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.journey-title {
  color: var(--gold);
}

.timeline {
  position: relative;
}

.timeline::before {
  position: absolute;
  top: 0.55rem;
  bottom: 1rem;
  left: 0.28rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
  content: "";
}

.timeline article {
  position: relative;
  padding: 0 0 2.2rem 2.1rem;
}

.timeline article::before {
  position: absolute;
  z-index: 1;
  top: 0.45rem;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(230, 180, 95, 0.18);
  content: "";
}

.timeline time {
  color: var(--gold-soft);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 0.35rem 0 0;
  color: white;
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.timeline p {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.82rem;
}

.current-training {
  margin: -1rem -1rem 1.2rem;
  padding: 1rem 1rem 1.5rem 3.1rem !important;
  border: 1px solid rgba(230, 180, 95, 0.28);
  border-radius: 1rem;
  background: rgba(230, 180, 95, 0.08);
}

.current-training::before { left: 1rem !important; top: 1.5rem !important; }

.contact-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ivory);
}

.contact-card {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6.5rem);
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at 87% 8%, rgba(46, 143, 255, 0.28), transparent 25%),
    linear-gradient(135deg, var(--blue), #073b73);
  box-shadow: 0 35px 80px rgba(7, 24, 39, 0.2);
  color: white;
  overflow: hidden;
}

.contact-card::after {
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.contact-card .section-index {
  color: var(--gold-soft);
}

.contact-card h2 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  color: white;
  font-size: clamp(2.7rem, 5.8vw, 5.8rem);
}

.contact-card > p:not(.section-index) {
  position: relative;
  z-index: 1;
  max-width: 43rem;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
}

.button-light {
  background: white;
  color: var(--blue);
}

.contact-phone {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  padding: 0 1rem;
  color: white;
  font-weight: 800;
}

.contact-meta {
  position: relative;
  z-index: 1;
  display: flex;
  margin-top: 3.5rem;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-meta span {
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  min-height: 6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem max(1.5rem, calc((100% - 1180px) / 2));
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.site-footer a {
  color: var(--gold-soft);
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal[data-delay="1"] { transition-delay: 120ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1020px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 2rem;
  }

  h1 { font-size: clamp(3.2rem, 7.2vw, 5.2rem); }
  .portrait-stage { width: min(100%, 22rem); }
  .floating-card-top { left: -1rem; }
  .floating-card-bottom { right: -1rem; }
  .impact-dashboard { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 0.82fr 1.18fr; }
  .pipeline { grid-template-columns: repeat(4, 1fr); }
  .pipeline i { display: none; }
  .digital-funnel { grid-template-columns: repeat(2, 1fr); }
  .digital-funnel div:nth-child(2)::after { display: none; }
  .method-flow { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
  .method-flow li,
  .method-flow li:first-child,
  .method-flow li:last-child {
    border: 1px solid var(--line);
    border-radius: 0.9rem;
  }
}

@media (max-width: 800px) {
  :root { --container: min(100% - 2rem, 42rem); }

  .site-header {
    top: 0.6rem;
    min-height: 4rem;
  }

  .brand-copy { display: none; }
  .menu-toggle { position: relative; display: inline-flex; }

  .primary-navigation {
    position: fixed;
    top: 5.2rem;
    right: 1rem;
    left: 1rem;
    display: flex;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 1rem;
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.7rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .primary-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-navigation a {
    padding: 0.9rem;
    border-radius: 0.7rem;
  }

  .primary-navigation a:not(.nav-contact)::after { display: none; }

  .hero {
    min-height: auto;
    padding: 8.5rem 0 5rem;
    background: var(--paper);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.8rem;
  }

  .hero-copy { max-width: 42rem; }
  h1 { max-width: 11ch; font-size: clamp(3.25rem, 14vw, 5.2rem); }
  .portrait-stage { width: min(100% - 3rem, 22rem); margin: 0 auto; }
  .scroll-cue { display: none; }

  .proof-strip {
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item {
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .proof-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.13); }
  .proof-item:nth-child(n+3) { border-bottom: 0; }
  .proof-item:first-child { padding-left: 1rem; }

  .section-heading,
  .impact-heading {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .profile-layout,
  .journey-grid {
    grid-template-columns: 1fr;
  }

  .case-study {
    grid-template-columns: 1fr;
  }

  .case-identity {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-featured .case-identity { border-bottom-color: rgba(255, 255, 255, 0.12); }
  .journey-grid { gap: 3rem; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 1.25rem); }
  body { font-size: 1rem; }

  .site-header { width: calc(100% - 1.25rem); }
  .hero { padding-top: 7.7rem; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.12em; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .portrait-stage { width: min(100% - 2rem, 20rem); padding: 0.75rem; }
  .portrait-orbit { inset: -0.2rem; }
  .floating-card-top { top: 14%; left: -0.25rem; }
  .floating-card-bottom { right: -0.25rem; bottom: 18%; }
  .floating-card { padding: 0.65rem 0.75rem; }
  .floating-card-top strong { font-size: 1.4rem; }
  .floating-card-top span, .floating-card-bottom p { font-size: 0.62rem; }

  .proof-strip { width: calc(100% - 1.25rem); padding: 0.7rem; }
  .proof-item strong { font-size: 1.35rem; }

  .section { padding: 5rem 0; }
  .section-heading { margin-bottom: 2.6rem; }
  .section-heading h2, .impact-heading h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; }
  .capability-number { margin-bottom: 1.8rem; }
  .impact-dashboard { grid-template-columns: 1fr; }
  .impact-metric { min-height: 14rem; }
  .case-identity, .case-detail { padding: 1.5rem; }
  .case-columns { grid-template-columns: 1fr; gap: 1.4rem; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .digital-funnel { grid-template-columns: 1fr; }
  .digital-funnel div { min-height: 7rem; }
  .digital-funnel div::after { display: none !important; }
  .bar-row { grid-template-columns: 1fr; gap: 0.35rem; margin-top: 1rem; }
  .bar-row > strong { text-align: left; }
  .method-flow { grid-template-columns: 1fr; }
  .method-flow li { min-height: auto; }
  .method-flow li div { margin-top: 1.8rem; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-phone { justify-content: center; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
