@import url("../vendor/country-flags.css");

:root {
  --primary: #050609;
  --secondary: #94a3b8;
  --tertiary: #ff304f;
  --accent: #ff8a00;
  --highlight: #ffb000;
  --neutral: #f8fafc;
  --surface: #12050b;
  --surface-card: #1a0a12;
  --border: #2a1a22;
  --on-tertiary: #050609;
  --max-width: 1200px;
  --page-gutter: clamp(18px, 4vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--tertiary) transparent;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: var(--tertiary);
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  background-clip: padding-box;
}

body {
  margin: 0;
  background: var(--primary);
  color: var(--neutral);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 16px var(--page-gutter);
  border-bottom: 1px solid var(--border);
  background: rgba(5, 6, 9, 0.94);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 48, 79, 0.5);
  border-radius: 10px;
  background: var(--tertiary);
  color: var(--on-tertiary);
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
  transform: rotate(-6deg);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  color: var(--secondary);
  font-size: 0.93rem;
}

.desktop-nav a:hover {
  color: var(--neutral);
}

.solutions-switcher {
  position: relative;
}

.primary-nav-trigger,
.primary-nav-link {
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.primary-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.primary-nav-trigger:hover,
.solutions-switcher.is-open .primary-nav-trigger {
  color: var(--neutral);
}

.primary-nav-trigger.is-active,
.primary-nav-link.is-active,
.mobile-solutions-trigger.is-active,
.mobile-primary-link.is-active {
  color: var(--tertiary);
}

.nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 150ms ease;
}

.solutions-switcher.is-open .nav-chevron,
.mobile-solutions.is-open .nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

.solutions-panel {
  position: absolute;
  top: calc(100% + 25px);
  left: 50%;
  z-index: 30;
  display: grid;
  width: min(440px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #101116;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  transform: translateX(-24%);
}

.solutions-panel[hidden],
.mobile-solutions-panel[hidden] {
  display: none;
}

.solutions-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.solutions-panel-heading span,
.solution-index {
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solutions-panel-heading strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.solution-option,
.mobile-solution-option {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.solution-option {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 150ms ease, background 150ms ease;
}

.solution-option:last-child {
  border-bottom: 0;
}

.solution-option:hover,
.solution-option:focus-visible,
.solution-option.is-active {
  border-color: rgba(255, 48, 79, 0.42);
  background: rgba(255, 48, 79, 0.08);
}

.solution-option.is-active .solution-index,
.solution-option.is-active .solution-copy strong,
.mobile-solution-option.is-active .solution-copy strong {
  color: var(--tertiary);
}

.solution-copy {
  display: grid;
  gap: 3px;
}

.solution-copy strong {
  color: var(--neutral);
  font-size: 0.9rem;
}

.solution-copy > span {
  color: var(--secondary);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.location-switcher {
  position: relative;
}

.location-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-card);
  color: var(--neutral);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.location-trigger:hover,
.location-switcher.is-open .location-trigger {
  border-color: rgba(255, 48, 79, 0.72);
  background: #24101a;
}

.location-pin {
  position: relative;
  width: 13px;
  height: 13px;
  border: 2px solid var(--tertiary);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.location-pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--tertiary);
}

.location-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 150ms ease;
}

.location-switcher.is-open .location-chevron {
  transform: translateY(2px) rotate(225deg);
}

.location-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 30;
  display: grid;
  width: min(390px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #101116;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

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

.location-panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.location-panel-heading span,
.location-region {
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.location-panel-heading strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.location-option {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 150ms ease, background 150ms ease;
}

.location-option:last-child {
  border-bottom: 0;
}

.location-option:hover,
.location-option:focus-visible,
.location-option.is-active {
  border-color: rgba(255, 48, 79, 0.42);
  background: rgba(255, 48, 79, 0.08);
}

.location-option.is-active .location-region,
.location-option.is-active .location-place strong {
  color: var(--tertiary);
}

.location-place {
  display: grid;
  gap: 1px;
}

.location-place strong {
  color: var(--neutral);
  font-size: 0.96rem;
}

.location-place > span {
  color: var(--secondary);
  font-size: 0.76rem;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-card);
}

.language-option {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.language-option.is-active {
  background: var(--neutral);
  color: var(--primary);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.header-cta,
.button-primary {
  background: var(--tertiary);
  color: var(--on-tertiary);
}

.button-secondary,
.button-outline {
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--neutral);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--neutral);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 120ms ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.mobile-nav {
  position: fixed;
  inset: 73px 0 auto 0;
  z-index: 19;
  display: none;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
}

.mobile-nav a {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-card);
}

.mobile-solutions,
.mobile-solutions-panel,
.mobile-language-group {
  display: grid;
  gap: 8px;
}

.mobile-solutions-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-card);
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-solutions-panel {
  padding-left: 12px;
}

.mobile-solution-option {
  padding: 14px 16px;
}

.mobile-hire-cta {
  border-color: transparent !important;
  background: var(--tertiary) !important;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

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

.mobile-language-option {
  text-align: center;
}

.hero,
.section,
.site-footer {
  width: min(var(--max-width), calc(100% - var(--page-gutter) - var(--page-gutter)));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  min-height: calc(100vh - 73px);
  padding: 76px 0 54px;
}

.hero-copy,
.section-heading,
.stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.eyebrow,
.kicker,
.card-number,
.plan-label {
  margin: 0;
  color: var(--tertiary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.2rem;
  font-weight: 850;
  line-height: 1.18;
}

p {
  margin: 0;
  color: var(--secondary);
}

.hero-lede,
.section-heading p {
  max-width: 720px;
  font-size: 1.12rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.hero-panel,
.card,
.feature-card,
.price-card,
.proof-card,
.faq-list details,
.route-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-card);
}

.hero-panel {
  min-width: 0;
  min-height: 560px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 24px 80px rgba(255, 48, 79, 0.12);
}

.panel-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.search-card {
  display: grid;
  gap: 14px;
  margin: 34px 0;
}

.search-bar {
  display: grid;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--primary);
}

.search-bar {
  grid-template-columns: 14px 1fr;
}

.search-bar span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--tertiary);
  border-radius: 50%;
}

.search-result {
  padding: 22px;
  border: 1px solid rgba(255, 48, 79, 0.7);
  border-radius: 8px;
  background: var(--surface);
}

.hero-panel .search-result + .search-result {
  margin-top: 16px;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--primary);
  font-family: "JetBrains Mono", monospace;
  font-weight: 900;
}

.section {
  padding: 82px 0;
}

.compact-section {
  max-width: 800px;
  padding: 28px 0 64px;
}

.compact-section h2 {
  margin-top: 10px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center p {
  margin-inline: auto;
}

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

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

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

.card,
.feature-card,
.route-card {
  min-width: 0;
  padding: 24px;
}

.feature-card {
  min-height: 210px;
}

.card-number {
  display: inline-block;
  margin-bottom: 18px;
}

.banner {
  width: 100%;
  max-width: none;
  padding: 92px max(var(--page-gutter), calc((100vw - var(--max-width)) / 2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  min-height: 580px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(255, 48, 79, 0.75);
  background: #230b13;
}

.price {
  color: var(--neutral);
  font-size: 1.65rem;
  font-weight: 900;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--secondary);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiary);
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.proof-card {
  overflow: hidden;
}

.proof-media {
  display: grid;
  place-items: center;
  min-height: 180px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  color: var(--highlight);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  text-align: center;
  text-transform: uppercase;
}

.proof-card div:last-child {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.social-proof-section {
  position: relative;
}

.social-proof-section::before {
  content: "";
  position: absolute;
  inset: 40px 15% auto;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 48, 79, 0.16), transparent 68%);
  pointer-events: none;
}

.proof-intro {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.proof-intro .button {
  flex: 0 0 auto;
  margin-bottom: 30px;
}

.text-link {
  color: var(--neutral);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--tertiary);
  text-underline-offset: 4px;
}

.proof-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 40%));
  justify-content: space-between;
  column-gap: 0;
  row-gap: clamp(14px, 3vw, 28px);
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.result-card {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-card);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 180ms ease, border-color 180ms ease;
}

.result-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 48, 79, 0.65);
}

.result-image {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.result-image img {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-card figcaption {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: clamp(12px, 2vw, 22px);
  color: var(--secondary);
  font-size: clamp(0.72rem, 1.4vw, 0.95rem);
  overflow-wrap: anywhere;
}

.result-metric {
  color: var(--neutral);
  font-size: clamp(0.82rem, 2vw, 1.15rem);
  font-weight: 900;
}

.result-index {
  color: var(--tertiary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proof-note {
  position: relative;
  max-width: 920px;
  margin-top: 18px;
  font-size: 0.78rem;
}

.case-study-hero {
  min-height: auto;
}

.proof-summary {
  display: grid;
  align-content: center;
  gap: 18px;
  min-height: 520px;
}

.metric-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.metric-list div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--primary);
}

.metric-list dt {
  color: var(--highlight);
  font-family: "JetBrains Mono", monospace;
  font-size: 1.35rem;
  font-weight: 900;
}

.metric-list dd {
  margin: 4px 0 0;
  color: var(--secondary);
  font-size: 0.78rem;
}

.case-study-gallery .result-card figcaption {
  min-height: 175px;
}

.case-result-group + .case-result-group {
  margin-top: 54px;
}

.case-group-heading {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin-bottom: 20px;
}

.case-group-heading h3 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.client-case-group {
  scroll-margin-top: 96px;
}

.client-case-heading {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.client-case-heading .case-group-heading {
  margin-bottom: 0;
}

.client-case-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.client-case-logo-dark {
  background: #111116;
}

.client-case-logo-light {
  background: #fff;
}

.client-case-logo img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.client-case-portfolio .result-card figcaption {
  min-height: 190px;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 940px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-card);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--neutral);
  font-weight: 850;
}

.faq-list p {
  margin-top: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding: 46px 0;
  border-top: 1px solid var(--border);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: var(--secondary);
}

.route-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-list a {
  color: var(--neutral);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .hero,
  .grid,
  .grid.two,
  .grid.four,
  .pricing-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .proof-intro {
    display: grid;
  }

  .proof-intro .button {
    width: fit-content;
    margin: -12px 0 30px;
  }

  .case-study-gallery .result-card figcaption {
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 560px) {
  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-stats,
  .metric-list,
  .timeline li {
    grid-template-columns: 1fr;
  }
}

/* Editorial-dark public site
   Scoped so private proposal pages keep their existing presentation. */
.editorial-site {
  overflow-x: hidden;
  background: var(--primary);
  color: var(--neutral);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.editorial-site :focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 4px;
}

.editorial-site .site-header {
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - var(--max-width)) / 2));
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 9, 0.9);
  backdrop-filter: blur(14px);
}

.editorial-site .brand {
  gap: 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.editorial-site .brand::after {
  content: ".";
  color: var(--tertiary);
}

.editorial-site .brand-mark {
  display: none;
}

.editorial-site .desktop-nav {
  gap: clamp(14px, 2vw, 28px);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.editorial-site .desktop-nav a,
.editorial-site .footer-links a {
  transition: color 150ms ease;
}

.editorial-site .desktop-nav a:hover,
.editorial-site .footer-links a:hover {
  color: var(--neutral);
}

.editorial-site .header-cta,
.editorial-site .button {
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.editorial-site .header-cta,
.editorial-site .button-primary {
  color: #fff;
  box-shadow: 0 8px 28px rgba(255, 48, 79, 0.24);
}

.editorial-site .header-cta:hover,
.editorial-site .button-primary:hover {
  background: #e72a46;
  box-shadow: 0 12px 34px rgba(255, 48, 79, 0.34);
  transform: translateY(-2px);
}

.editorial-site .button-secondary:hover,
.editorial-site .button-outline:hover {
  border-color: var(--neutral);
  transform: translateY(-2px);
}

.editorial-site .language-switcher {
  border-radius: 999px;
  background: var(--surface);
}

/* Office location landing pages */
.office-page .office-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.office-page .office-hero h1 {
  max-width: 940px;
}

.office-page .office-hero-panel {
  display: grid;
  align-content: space-between;
  gap: 26px;
  min-height: 500px;
}

.office-signal-list {
  display: grid;
  gap: 9px;
}

.office-signal-list span {
  position: relative;
  padding: 12px 14px 12px 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.office-signal-list span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 15px;
  width: 7px;
  height: 7px;
  background: var(--tertiary);
  transform: translateY(-50%) rotate(45deg);
}

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

.office-page .proof-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
}

.office-page .proof-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.office-page .proof-card a,
.office-page .feature-card a {
  align-self: end;
}

.office-page .closing-cta {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.office-page .closing-cta p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.08rem;
}

.editorial-site main > .hero,
.editorial-site main > .section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: max(var(--page-gutter), calc((100vw - var(--max-width)) / 2));
  padding-left: max(var(--page-gutter), calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid var(--border);
}

.editorial-site main > section:nth-of-type(even) {
  background-color: var(--surface);
}

.editorial-site main > section:nth-of-type(odd) {
  background-color: var(--primary);
}

.editorial-site .hero {
  min-height: min(780px, calc(100vh - 72px));
  padding-top: clamp(76px, 10vw, 132px);
  padding-bottom: clamp(64px, 8vw, 108px);
}

.editorial-site .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(250px, 0.92fr);
  align-items: center;
  gap: clamp(26px, 4.5vw, 64px);
  min-height: min(780px, calc(100vh - 72px));
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 48, 79, 0.08), transparent 30%),
    var(--surface);
}

.editorial-site .home-hero .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 730px;
}

.editorial-site .home-hero h1 {
  font-size: clamp(3.2rem, 7.2vw, 5.4rem);
}

.editorial-site .home-hero-art {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  height: min(49vw, 480px);
  overflow: hidden;
}

.editorial-site .home-hero-art-window {
  position: relative;
  width: min(39.2vw, 384px);
  height: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 68.75%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 68.75%, transparent 100%);
}

.editorial-site .home-hero-orbit {
  position: absolute;
  top: 50%;
  left: 0;
  width: auto;
  max-width: none;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transform-origin: 50% 50%;
  animation: home-orbit-clockwise 8s linear infinite;
  will-change: transform;
}

@keyframes home-orbit-clockwise {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.editorial-site .eyebrow,
.editorial-site .kicker,
.editorial-site .card-number,
.editorial-site .plan-label,
.editorial-site .result-index {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.editorial-site h1,
.editorial-site h2,
.editorial-site h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.editorial-site h1 {
  max-width: 980px;
  font-size: clamp(3.75rem, 8vw, 6rem);
  line-height: 0.9;
}

.editorial-site .home-hero h1 span {
  color: var(--tertiary);
}

.editorial-site h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.35rem);
  line-height: 0.96;
}

.editorial-site h3 {
  font-size: 1.45rem;
  line-height: 1.02;
}

.solution-all-link,
.mobile-solutions-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solution-all-link {
  margin-top: 4px;
  padding: 13px 10px 8px;
}

.solution-all-link::after,
.mobile-solutions-all::after {
  content: "→";
  color: var(--tertiary);
}

.solution-all-link:hover,
.solution-all-link:focus-visible,
.mobile-solutions-all:hover,
.mobile-solutions-all:focus-visible {
  color: var(--tertiary);
}

.editorial-site .hero-lede,
.editorial-site .section-heading p {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  line-height: 1.72;
}

.editorial-site .home-hero .hero-lede {
  max-width: 730px;
}

.editorial-site .section {
  padding-top: clamp(70px, 8vw, 100px);
  padding-bottom: clamp(70px, 8vw, 100px);
}

.editorial-site .section-heading {
  max-width: 780px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.editorial-site .section-heading.center {
  margin-inline: 0;
  text-align: left;
}

.editorial-site .section-heading.center p {
  margin-inline: 0;
}

.editorial-site .hero-panel,
.editorial-site .card,
.editorial-site .feature-card,
.editorial-site .price-card,
.editorial-site .proof-card,
.editorial-site .result-card,
.editorial-site .route-card,
.editorial-site .faq-list details {
  border-color: var(--border);
  border-radius: 18px;
  background: var(--surface-card);
}

.editorial-site .feature-card,
.editorial-site .card,
.editorial-site .price-card,
.editorial-site .route-card,
.editorial-site .result-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.editorial-site .feature-card:hover,
.editorial-site .card:hover,
.editorial-site .price-card:hover,
.editorial-site .route-card:hover,
.editorial-site .result-card:hover {
  border-color: rgba(255, 48, 79, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}

.editorial-site .feature-card {
  min-height: 230px;
  padding: clamp(22px, 3vw, 30px);
}

.editorial-site .feature-card p {
  margin-top: 14px;
  font-size: 0.9rem;
  line-height: 1.65;
}

.editorial-site .feature-card > a:not(.button),
.editorial-site .route-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-site .feature-card > a:not(.button)::after,
.editorial-site .route-list a::after {
  content: "→";
  color: var(--tertiary);
}

.editorial-site .grid {
  gap: 18px;
}

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

/* Homepage: one continuous dark canvas with hierarchy inside each section. */
.editorial-site #home > .section {
  position: relative;
  border-bottom: 0;
  background: var(--primary);
  color: var(--neutral);
}

.editorial-site #home > .section:not(.final-cta) {
  padding-top: clamp(56px, 6.5vw, 82px);
  padding-bottom: clamp(56px, 6.5vw, 82px);
}

.editorial-site #home > .section:not(.service-selector-section, .final-cta)::before {
  content: "";
  position: absolute;
  top: 0;
  left: max(var(--page-gutter), calc((100vw - var(--max-width)) / 2));
  width: min(120px, calc(100% - var(--page-gutter) - var(--page-gutter)));
  height: 1px;
  background: linear-gradient(90deg, var(--tertiary), var(--border));
}

.editorial-site #home > #solution-routes {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 138, 0, 0.08), transparent 28%),
    var(--primary);
}

/* Reusable section themes */
.editorial-site .section-theme-dark {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 138, 0, 0.09), transparent 28%),
    var(--primary) !important;
}

.editorial-site .section-theme-paper,
.editorial-site .section-theme-warm {
  --section-ink: #111217;
  --section-muted: #555860;
  --section-line: rgba(17, 18, 23, 0.16);
  color: var(--section-ink);
}

.editorial-site .section-theme-paper {
  background: #f1eee8 !important;
}

.editorial-site .section-theme-warm {
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 255, 255, 0.35), transparent 30%),
    #e9b98f !important;
}

.editorial-site .section-theme-paper p,
.editorial-site .section-theme-warm p {
  color: var(--section-muted);
}

.editorial-site .section-theme-paper .faq-list details {
  border-color: var(--section-line);
}

.editorial-site .section-theme-paper .faq-list summary {
  color: var(--section-ink);
}

.editorial-site .section-theme-warm .feature-card {
  color: var(--neutral);
}

.editorial-site .section-theme-warm .feature-card p {
  color: #aeb8c7;
}

.editorial-site .section-theme-paper .button-secondary,
.editorial-site .section-theme-warm .button-secondary {
  border-color: var(--section-line);
  background: #ffffff;
  color: var(--section-ink);
}

/* Customer result list */
.customer-results-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(44px, 5vw, 72px);
}

.customer-results-layout .section-heading {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.customer-results-layout .section-heading h2 {
  font-size: clamp(2.4rem, 3.5vw, 2.8rem);
}

.customer-results-layout .button {
  margin-top: 28px;
}

.customer-result-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.customer-result-list article {
  min-width: 0;
}

.customer-result-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 30px);
  min-height: 156px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--section-line, var(--border));
  border-radius: 18px;
  background: #ffffff;
  color: #111217;
  box-shadow: 0 14px 34px rgba(17, 18, 23, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.customer-result-card:hover,
.customer-result-card:focus-visible {
  border-color: rgba(255, 48, 79, 0.72);
  box-shadow: 0 20px 44px rgba(17, 18, 23, 0.11);
  transform: translateY(-3px);
}

.customer-result-card:focus-visible {
  outline: 3px solid var(--tertiary);
  outline-offset: 3px;
}

.customer-result-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  padding: 10px;
  border: 1px solid rgba(17, 18, 23, 0.11);
  border-radius: 15px;
  background: #f5f2ed;
  overflow: hidden;
}

.customer-result-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customer-result-logo-dark {
  background: #17191f;
}

.customer-result-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.customer-result-service,
.customer-result-stat,
.customer-result-action {
  font-family: "JetBrains Mono", monospace;
}

.customer-result-service {
  color: #a33423;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.customer-result-card h3 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
}

.customer-result-stat {
  color: #282a31;
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  line-height: 1.55;
}

.customer-result-action {
  color: var(--tertiary);
  font-size: 1.4rem;
  transition: transform 180ms ease;
}

.customer-result-card:hover .customer-result-action,
.customer-result-card:focus-visible .customer-result-action {
  transform: translate(3px, -3px);
}

/* Reusable process flywheel */
.process-flywheel {
  position: relative;
  min-height: 650px;
}

.process-flywheel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(36vw, 410px);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 48, 79, 0.42);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: process-ring-turn 28s linear infinite;
}

@keyframes process-ring-turn {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.process-flywheel-hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-content: center;
  width: 190px;
  aspect-ratio: 1;
  padding: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--neutral);
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 44px rgba(17, 18, 23, 0.2);
}

.process-flywheel-hub strong {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  text-transform: uppercase;
}

.process-flywheel-hub span {
  margin-top: 10px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-flywheel-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(96px, 10vw, 130px) clamp(190px, 18vw, 240px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-flywheel-step {
  min-width: 0;
}

.process-flywheel-step a {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--section-line, var(--border));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--section-ink, var(--neutral));
  box-shadow: 0 14px 34px rgba(17, 18, 23, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.process-flywheel-step a:hover,
.process-flywheel-step a:focus-visible {
  border-color: rgba(255, 48, 79, 0.72);
  background: #ffffff;
  transform: translateY(-3px);
}

.process-flywheel-step a:focus-visible {
  outline: 3px solid var(--tertiary);
  outline-offset: 3px;
}

.process-flywheel-number,
.process-flywheel-link {
  color: #a33423;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.process-flywheel-step h3 {
  margin: 26px 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.process-flywheel-step p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.process-flywheel-link {
  align-self: end;
  margin-top: 24px;
}

.process-flywheel-link::after {
  content: " →";
  color: var(--tertiary);
}

/* Homepage-only dark treatment for result and process components. */
.editorial-site #home .customer-result-card {
  background: var(--surface-card);
  color: var(--neutral);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.editorial-site #home .customer-result-card:hover,
.editorial-site #home .customer-result-card:focus-visible {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
}

.editorial-site #home .customer-result-service,
.editorial-site #home .process-flywheel-number,
.editorial-site #home .process-flywheel-link {
  color: var(--accent);
}

.editorial-site #home .customer-result-stat {
  color: var(--secondary);
}

.editorial-site #home .process-flywheel-hub {
  border: 3px solid var(--tertiary);
  background: #f2f0ec;
  color: var(--primary);
  box-shadow:
    0 0 0 12px rgba(255, 48, 79, 0.1),
    0 24px 58px rgba(0, 0, 0, 0.44);
}

.editorial-site #home .process-flywheel-hub span {
  color: #9d2638;
}

.editorial-site #home .process-flywheel::before {
  border-width: 2px;
  border-color: rgba(255, 48, 79, 0.62);
  box-shadow:
    0 0 0 28px rgba(255, 48, 79, 0.035),
    0 0 80px rgba(255, 48, 79, 0.14);
}

.editorial-site #home .process-flywheel-step a {
  border-color: rgba(242, 240, 236, 0.18);
  background: var(--surface-card);
  background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 52%);
  color: var(--neutral);
  box-shadow:
    inset 3px 0 0 rgba(255, 48, 79, 0.78),
    0 18px 42px rgba(0, 0, 0, 0.3);
}

.editorial-site #home .process-flywheel-step a:hover,
.editorial-site #home .process-flywheel-step a:focus-visible {
  border-color: rgba(255, 48, 79, 0.76);
  background: #24101a;
  background-image: linear-gradient(145deg, rgba(255, 48, 79, 0.09), transparent 58%);
}

.editorial-site #home .process-flywheel-number {
  justify-self: start;
  padding: 7px 10px;
  border: 1px solid rgba(255, 138, 0, 0.42);
  border-radius: 999px;
  background: rgba(255, 138, 0, 0.09);
}

.editorial-site #home .process-flywheel-step p {
  color: #b7bec9;
}

.editorial-site #home .market-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  color: var(--neutral);
  cursor: pointer;
}

.editorial-site #home .market-card:focus-visible {
  border-color: var(--tertiary);
  outline: 3px solid var(--tertiary);
  outline-offset: 4px;
}

.editorial-site #home .market-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.editorial-site #home .market-card-action::after {
  content: "↗";
  color: var(--tertiary);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.editorial-site #home .market-card:hover .market-card-action::after,
.editorial-site #home .market-card:focus-visible .market-card-action::after {
  transform: translate(3px, -3px);
}

.timeline li[id] {
  scroll-margin-top: 104px;
}

/* Solutions picker */
.solutions-index .solutions-hero {
  min-height: min(720px, 82vh);
  align-items: end;
  background:
    linear-gradient(115deg, rgba(255, 48, 79, 0.13), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255, 138, 0, 0.16), transparent 28%);
}

.solutions-index .solutions-hero .hero-copy {
  max-width: 880px;
}

.solutions-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface-card);
}

.solution-picker-card {
  position: relative;
  display: flex;
  min-height: 430px;
  padding: clamp(26px, 4vw, 42px);
  color: var(--neutral);
  overflow: hidden;
  isolation: isolate;
}

.solution-picker-card + .solution-picker-card {
  border-left: 1px solid var(--border);
}

.solution-picker-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    linear-gradient(155deg, rgba(255, 48, 79, 0.18), transparent 55%),
    radial-gradient(circle at 80% 12%, rgba(255, 138, 0, 0.18), transparent 32%);
  transition: opacity 220ms ease;
}

.solution-picker-card:hover::before,
.solution-picker-card:focus-visible::before {
  opacity: 1;
}

.solution-picker-card:focus-visible {
  outline: 2px solid var(--tertiary);
  outline-offset: -4px;
}

.solution-picker-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}

.editorial-site #home .solution-picker-card::before {
  z-index: 1;
}

.editorial-site #home .solution-picker-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.28), rgba(5, 6, 9, 0.68) 58%, rgba(5, 6, 9, 0.9));
  pointer-events: none;
}

.editorial-site #home .solution-picker-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(0.9) brightness(0.5) saturate(0.45);
  transform: scale(1.035);
  transition: opacity 240ms ease, filter 240ms ease, transform 320ms ease;
}

.editorial-site #home .solution-picker-card:nth-child(1) .solution-picker-image {
  object-position: 72% center;
}

.editorial-site #home .solution-picker-card:nth-child(2) .solution-picker-image {
  object-position: 78% center;
}

.editorial-site #home .solution-picker-card:nth-child(3) .solution-picker-image {
  object-position: 71% center;
}

.editorial-site #home .solution-picker-card:hover .solution-picker-image,
.editorial-site #home .solution-picker-card:focus-visible .solution-picker-image {
  opacity: 0.72;
  filter: grayscale(0.08) brightness(0.78) saturate(1.08);
  transform: scale(1);
}

.solution-picker-number,
.solution-picker-kicker {
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.solution-picker-number {
  margin-bottom: auto;
}

.solution-picker-card :is(h2, h3) {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 3vw, 3.3rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.solution-picker-card p {
  max-width: 30ch;
  margin: 0;
  color: var(--secondary);
  line-height: 1.65;
}

.solution-picker-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.solution-picker-action::after {
  content: "↗";
  color: var(--tertiary);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.solution-picker-card:hover .solution-picker-action::after,
.solution-picker-card:focus-visible .solution-picker-action::after {
  transform: translate(3px, -3px);
}

@media (max-width: 900px) {
  .customer-results-layout {
    grid-template-columns: 1fr;
  }

  .customer-results-layout .section-heading {
    position: static;
  }

  .process-flywheel {
    display: grid;
    gap: 26px;
    min-height: 0;
  }

  .process-flywheel::before {
    display: none;
  }

  .process-flywheel-hub {
    position: static;
    width: min(190px, 58vw);
    margin-inline: auto;
    transform: none;
  }

  .process-flywheel-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-flywheel-step a {
    min-height: 0;
  }

  .solutions-picker {
    grid-template-columns: 1fr;
  }

  .solution-picker-card {
    min-height: 320px;
  }

  .solution-picker-card + .solution-picker-card {
    border-top: 1px solid var(--border);
    border-left: 0;
  }
}

.editorial-site .banner {
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 48, 79, 0.09), transparent 28%),
    var(--surface);
}

.editorial-site .search-bar {
  border-radius: 12px;
}

.editorial-site .search-result {
  border-radius: 14px;
}

.editorial-site .timeline {
  gap: 24px;
}

.editorial-site .timeline li {
  position: relative;
  padding: 4px 0 8px;
  border: 0;
  background: transparent;
}

.editorial-site .timeline li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -36px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--tertiary);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(255, 48, 79, 0.12);
}

.editorial-site .timeline li:first-child::before {
  background: var(--tertiary);
}

.editorial-site .step-number {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font-size: 0.68rem;
}

.editorial-site .proof-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

.editorial-site .result-image {
  border-radius: 17px 17px 0 0;
}

.editorial-site .result-card figcaption {
  min-height: 110px;
}

.editorial-site .result-metric {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.editorial-site .faq-list {
  max-width: 860px;
  margin-inline: 0;
  gap: 0;
}

.editorial-site .faq-list details {
  padding: 22px 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
}

.editorial-site .faq-list summary {
  position: relative;
  padding-right: 34px;
  list-style: none;
  font-family: "Oswald", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

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

.editorial-site .faq-list summary::after {
  content: "+";
  position: absolute;
  top: 0;
  right: 4px;
  color: var(--tertiary);
  font-family: "JetBrains Mono", monospace;
}

.editorial-site .faq-list details[open] summary::after {
  content: "−";
}

.editorial-site main > section.final-cta {
  display: grid;
  justify-items: center;
  gap: 24px;
  padding-top: clamp(84px, 10vw, 128px);
  padding-bottom: clamp(84px, 10vw, 128px);
  text-align: center;
  background:
    radial-gradient(70% 100% at 18% 0%, rgba(255, 48, 79, 0.2), transparent 60%),
    var(--surface);
}

.editorial-site #home > .final-cta {
  border-top: 1px solid var(--border);
  background:
    radial-gradient(70% 100% at 18% 0%, rgba(255, 48, 79, 0.18), transparent 60%),
    var(--primary);
}

.editorial-site .final-cta h2 {
  max-width: 820px;
}

.editorial-site .final-cta .button {
  padding: 18px 34px;
}

.editorial-site .site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px max(var(--page-gutter), calc((100vw - var(--max-width)) / 2));
  border-color: var(--border);
  background: var(--primary);
}

.editorial-site .site-footer > div:first-child > p {
  max-width: 560px;
  margin-top: 14px;
}

.editorial-site .footer-links {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .editorial-site .desktop-nav {
    gap: 14px;
    font-size: 0.62rem;
  }

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

@media (max-width: 980px) {
  .editorial-site .site-header {
    gap: 10px;
    padding-inline: var(--page-gutter);
  }

  .editorial-site .header-actions {
    display: inline-flex;
    justify-self: end;
  }

  .editorial-site .header-actions > .header-cta,
  .editorial-site .header-actions > .language-switcher {
    display: none;
  }

  .editorial-site .location-trigger {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 0.7rem;
  }

  .editorial-site .location-panel {
    right: -54px;
    width: min(360px, calc(100vw - 24px));
  }

  .editorial-site .mobile-nav {
    inset: 72px 0 auto;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    padding: 18px var(--page-gutter);
    border-color: var(--border);
    background: rgba(5, 6, 9, 0.98);
  }

  .editorial-site .mobile-nav a {
    border-radius: 12px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .office-page .office-hero,
  .office-page .office-proof-grid {
    grid-template-columns: 1fr;
  }

  .office-page .office-hero-panel {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .editorial-site .home-hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 0;
  }

  .editorial-site .home-hero .hero-copy {
    max-width: none;
  }

  .editorial-site .home-hero-art {
    justify-content: center;
    width: 100%;
    height: min(75vw, 405px);
    margin-top: -2px;
    overflow: hidden;
  }

  .editorial-site .home-hero-art-window {
    flex: 0 0 min(100vw, 540px);
    width: min(100vw, 540px);
    height: min(75vw, 405px);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 26.67%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 26.67%, #000 100%);
  }

  .editorial-site .home-hero-orbit {
    top: 0;
    left: 50%;
    width: min(100vw, 540px);
    height: min(100vw, 540px);
    transform: translate(-50%, -25%) rotate(0deg);
    animation-name: home-orbit-clockwise-mobile;
  }

  @keyframes home-orbit-clockwise-mobile {
    from {
      transform: translate(-50%, -25%) rotate(0deg);
    }

    to {
      transform: translate(-50%, -25%) rotate(360deg);
    }
  }
}

@media (max-width: 700px) {
  .editorial-site .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .editorial-site h1 {
    font-size: clamp(3rem, 15vw, 4.35rem);
  }

  .editorial-site h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .editorial-site .grid,
  .editorial-site .grid.two,
  .editorial-site .grid.four,
  .editorial-site .proof-gallery,
  .editorial-site .pricing-grid {
    grid-template-columns: 1fr;
  }

  .editorial-site .proof-intro .button,
  .editorial-site .hero-actions .button {
    width: 100%;
  }

  .editorial-site .panel-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .editorial-site .metric-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .editorial-site h1 {
    font-size: clamp(2.7rem, 14vw, 3.65rem);
  }

  .editorial-site .section,
  .editorial-site main > .hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .editorial-site .search-result,
  .editorial-site .feature-card,
  .editorial-site .price-card,
  .editorial-site .route-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-site .home-hero-orbit {
    animation: none !important;
  }

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

/* Melbourne commercial landing page */
.melbourne-page .skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--neutral);
  color: var(--primary);
  font-weight: 700;
  transform: translateY(-160%);
}

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

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

.melbourne-page main > section {
  scroll-margin-top: 72px;
}

.melbourne-page .melbourne-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  min-height: min(850px, calc(100vh - 72px));
  padding-top: clamp(70px, 7vw, 100px);
  background:
    radial-gradient(circle at 82% 28%, rgba(255, 48, 79, 0.13), transparent 28%),
    var(--primary);
}

.melbourne-page .melbourne-hero h1 {
  max-width: 780px;
  font-size: clamp(3.5rem, 6vw, 5.25rem);
}

.melbourne-page .melbourne-hero h1 span,
.melbourne-page .audit-copy h2 span,
.melbourne-page .rebel-section h2 span,
.melbourne-page .problem-close span {
  color: var(--tertiary);
}

.melbourne-page .hero-support {
  max-width: 660px;
  color: #c7ccd4;
  font-size: 0.95rem;
}

.melbourne-page .intelligence-panel {
  position: relative;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 48, 79, 0.45);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    #0c080c;
  background-size: 32px 32px;
  box-shadow: 0 28px 90px rgba(255, 48, 79, 0.14);
}

.melbourne-page .intelligence-panel::before {
  content: "";
  position: absolute;
  top: 16%;
  right: -55px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 48, 79, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(255, 48, 79, 0.08);
}

.melbourne-page .intelligence-topline,
.melbourne-page .intelligence-city > span,
.melbourne-page .intelligence-output,
.melbourne-page .signal-list {
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.melbourne-page .intelligence-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
}

.melbourne-page .intelligence-city {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 12px;
  padding: 42px 0 32px;
}

.melbourne-page .intelligence-city p {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
}

.melbourne-page .intelligence-city > span:last-child {
  grid-column: 2;
  color: var(--accent);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.melbourne-page .signal-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border: 2px solid var(--tertiary);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 7px rgba(255, 48, 79, 0.09);
}

.melbourne-page .signal-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(255, 48, 79, 0.55);
  border-radius: inherit;
  animation: melbourne-signal 2.6s ease-out infinite;
}

.melbourne-page .signal-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.melbourne-page .signal-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 52px;
  border-top: 1px solid var(--border);
}

.melbourne-page .signal-list dt,
.melbourne-page .signal-list dd {
  margin: 0;
}

.melbourne-page .signal-list dt {
  color: #c7ccd4;
  font-size: 0.69rem;
  letter-spacing: 0.08em;
}

.melbourne-page .signal-list dd {
  color: var(--tertiary);
  font-size: 1.2rem;
}

.melbourne-page .intelligence-output {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255, 48, 79, 0.35);
  background: rgba(255, 48, 79, 0.08);
  color: var(--neutral);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
}

.melbourne-page .intelligence-output strong {
  color: var(--tertiary);
  font-size: 1.45rem;
}

.melbourne-page .results-strip {
  background: #0b070a !important;
}

.melbourne-page .results-strip .proof-intro {
  align-items: end;
  margin-bottom: 36px;
}

.melbourne-page .results-strip .section-heading {
  margin-bottom: 0;
}

.melbourne-page .results-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
}

.melbourne-page .results-metrics div {
  min-width: 0;
  padding: 8px clamp(16px, 2.8vw, 34px) 20px;
  border-left: 1px solid var(--border);
}

.melbourne-page .results-metrics div:first-child {
  padding-left: 0;
  border-left: 0;
}

.melbourne-page .results-metrics dt {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.55rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.melbourne-page .results-metrics div:nth-child(2) dt {
  color: var(--tertiary);
}

.melbourne-page .results-metrics dd {
  margin: 10px 0 0;
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.melbourne-page .problem-section {
  padding-bottom: 0;
  background: var(--primary) !important;
}

.melbourne-page .problem-states,
.melbourne-page .process-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.melbourne-page .problem-states {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.melbourne-page .problem-states li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  min-height: 220px;
  padding: 30px;
  border-left: 1px solid var(--border);
}

.melbourne-page .problem-states li:first-child {
  padding-left: 0;
  border-left: 0;
}

.melbourne-page .problem-states li > span,
.melbourne-page .principles-grid article > span,
.melbourne-page .process-list li > span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.melbourne-page .problem-states h3 {
  margin-bottom: 16px;
}

.melbourne-page .problem-close {
  max-width: 1000px;
  padding: clamp(70px, 9vw, 118px) 0;
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}

.melbourne-page .discovery-system-section {
  background:
    radial-gradient(circle at 78% 54%, rgba(255, 48, 79, 0.12), transparent 31%),
    var(--surface) !important;
}

.melbourne-page .system-map {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) 70px minmax(240px, 1fr) 70px minmax(180px, 0.8fr);
  align-items: center;
  gap: 12px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    rgba(5, 6, 9, 0.7);
  background-size: 38px 38px;
}

.melbourne-page .system-inputs {
  display: grid;
  gap: 9px;
}

.melbourne-page .system-inputs span {
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: #c7ccd4;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.melbourne-page .system-connector {
  position: relative;
  height: 1px;
  overflow: visible;
  background: linear-gradient(90deg, var(--border), var(--tertiary), var(--border));
  background-size: 200% 100%;
  animation: melbourne-flow 3s linear infinite;
}

.melbourne-page .system-connector span {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tertiary);
  box-shadow: 0 0 15px rgba(255, 48, 79, 0.8);
}

.melbourne-page .system-core {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--tertiary);
  background: rgba(255, 48, 79, 0.07);
  text-align: center;
  box-shadow: 0 0 55px rgba(255, 48, 79, 0.1);
}

.melbourne-page .system-core p,
.melbourne-page .system-outcome strong {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.melbourne-page .system-core ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  list-style: none;
  text-transform: uppercase;
}

.melbourne-page .system-outcome {
  display: grid;
  gap: 12px;
  padding: 28px 20px;
  border-top: 1px solid var(--tertiary);
  border-bottom: 1px solid var(--tertiary);
}

.melbourne-page .system-outcome span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.melbourne-page .optimise-section {
  background: var(--primary) !important;
}

.melbourne-page .optimise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.melbourne-page .optimise-grid article {
  min-height: 240px;
  padding: clamp(24px, 4vw, 42px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 48, 79, 0.035), transparent 55%);
}

.melbourne-page .optimise-grid h3 {
  margin: 30px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.melbourne-page .optimise-grid small {
  display: block;
  margin-top: 20px;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.melbourne-page .case-study-section,
.melbourne-page .market-section,
.melbourne-page .audit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: start;
}

.melbourne-page .case-study-section {
  background: var(--surface) !important;
}

.melbourne-page .case-label {
  width: fit-content;
  padding: 8px 10px;
  border: 1px solid rgba(255, 138, 0, 0.45);
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.melbourne-page .case-context {
  display: grid;
  gap: 0;
  margin: 0 0 28px;
}

.melbourne-page .case-context div {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.melbourne-page .case-context dt {
  margin-bottom: 7px;
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

.melbourne-page .case-context dd {
  margin: 0;
  color: var(--secondary);
}

.melbourne-page .case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.melbourne-page .case-metrics div {
  min-height: 210px;
  padding: clamp(24px, 4vw, 38px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.melbourne-page .case-metrics dt {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
}

.melbourne-page .case-metrics dd {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.melbourne-page .case-metrics dd span {
  color: var(--tertiary);
}

.melbourne-page .rebel-section {
  background:
    linear-gradient(115deg, rgba(255, 48, 79, 0.13), transparent 42%),
    var(--primary) !important;
}

.melbourne-page .rebel-section h2 {
  max-width: 1080px;
  margin-top: 24px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.9;
}

.melbourne-page .rebel-statement {
  margin: 28px 0 52px;
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.melbourne-page .principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.melbourne-page .principles-grid article {
  min-height: 210px;
  padding: 28px 24px;
  border-left: 1px solid var(--border);
}

.melbourne-page .principles-grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.melbourne-page .principles-grid h3 {
  margin: 34px 0 14px;
  font-size: 1.2rem;
}

.melbourne-page .process-section {
  background: var(--surface) !important;
}

.melbourne-page .process-list {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.melbourne-page .process-list::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--tertiary), var(--border));
}

.melbourne-page .process-list li {
  position: relative;
  min-height: 220px;
  padding: 50px 30px 24px 0;
}

.melbourne-page .process-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--tertiary);
  border-radius: 50%;
  background: var(--surface);
}

.melbourne-page .process-list h3 {
  margin: 22px 0 14px;
  font-size: 1.7rem;
}

.melbourne-page .market-section {
  align-items: center;
  background: var(--primary) !important;
}

.melbourne-page .market-note {
  padding-left: 16px;
  border-left: 2px solid var(--tertiary);
  color: #c7ccd4;
  font-size: 0.86rem;
}

.melbourne-page .market-network {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at center, rgba(255, 48, 79, 0.1), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: auto, 34px 34px, 34px 34px;
}

.melbourne-page .market-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid var(--tertiary);
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 55px rgba(255, 48, 79, 0.2);
  transform: translate(-50%, -50%);
}

.melbourne-page .market-core span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.57rem;
  letter-spacing: 0.1em;
}

.melbourne-page .market-core strong {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  text-transform: uppercase;
}

.melbourne-page .market-network ul {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.melbourne-page .market-network li {
  position: absolute;
  z-index: 2;
  padding: 9px 11px;
  border: 1px solid var(--border);
  background: rgba(5, 6, 9, 0.92);
  color: #c7ccd4;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.melbourne-page .market-network li:nth-child(1) { top: 11%; left: 10%; }
.melbourne-page .market-network li:nth-child(2) { top: 13%; right: 10%; }
.melbourne-page .market-network li:nth-child(3) { top: 42%; left: 4%; }
.melbourne-page .market-network li:nth-child(4) { top: 43%; right: 4%; }
.melbourne-page .market-network li:nth-child(5) { bottom: 11%; left: 11%; }
.melbourne-page .market-network li:nth-child(6) { bottom: 12%; right: 7%; }
.melbourne-page .market-network li:nth-child(7) { bottom: 3%; left: 42%; }

.melbourne-page .market-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 48, 79, 0.6), transparent);
  transform-origin: center;
}

.melbourne-page .line-one { transform: translate(-50%, -50%) rotate(28deg); }
.melbourne-page .line-two { transform: translate(-50%, -50%) rotate(-34deg); }

.melbourne-page .solutions-section {
  background: var(--surface) !important;
}

.melbourne-page .solutions-list {
  border-top: 1px solid var(--border);
}

.melbourne-page .solutions-list article {
  display: grid;
  grid-template-columns: minmax(150px, 0.5fr) minmax(0, 1.35fr) auto;
  gap: 30px;
  align-items: center;
  min-height: 150px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.melbourne-page .solutions-list article > span,
.melbourne-page .solutions-list article > a {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.melbourne-page .solutions-list h3 {
  margin-bottom: 9px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.melbourne-page .solutions-list article > a {
  color: var(--neutral);
  transition: color 150ms ease, transform 150ms ease;
}

.melbourne-page .solutions-list article > a:hover {
  color: var(--tertiary);
  transform: translateX(4px);
}

.melbourne-page .engagement-section {
  background: var(--primary) !important;
}

.melbourne-page .engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.melbourne-page .engagement-grid article {
  position: relative;
  min-height: 470px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  background: var(--surface-card);
}

.melbourne-page .engagement-grid article.featured {
  border-color: rgba(255, 48, 79, 0.75);
  background: linear-gradient(180deg, rgba(255, 48, 79, 0.14), var(--surface-card) 45%);
  box-shadow: 0 22px 60px rgba(255, 48, 79, 0.1);
}

.melbourne-page .engagement-grid h3 {
  min-height: 86px;
  margin: 28px 0;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.melbourne-page .plan-badge {
  width: fit-content;
  margin: -10px 0 20px;
  padding: 7px 9px;
  background: var(--tertiary);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.melbourne-page .engagement-section > .action-row {
  margin-top: 30px;
}

.melbourne-page .faq-section {
  background: var(--surface) !important;
}

.melbourne-page .audit-section {
  align-items: center;
  background:
    radial-gradient(70% 100% at 10% 15%, rgba(255, 48, 79, 0.18), transparent 60%),
    var(--primary) !important;
}

.melbourne-page .audit-copy {
  display: grid;
  gap: 24px;
}

.melbourne-page .audit-copy h2 {
  font-size: clamp(2.9rem, 6vw, 5rem);
}

.melbourne-page .audit-copy .button {
  width: fit-content;
}

.melbourne-page .audit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(255, 48, 79, 0.42);
  background: rgba(18, 5, 11, 0.88);
  box-shadow: 0 28px 80px rgba(255, 48, 79, 0.1);
}

.melbourne-page .form-heading,
.melbourne-page .form-field-wide {
  grid-column: 1 / -1;
}

.melbourne-page .form-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 6px;
}

.melbourne-page .form-field {
  display: grid;
  gap: 7px;
}

.melbourne-page .form-field label {
  color: #c7ccd4;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.melbourne-page .form-field label span {
  color: var(--secondary);
  font-weight: 400;
}

.melbourne-page .form-field input,
.melbourne-page .form-field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--primary);
  color: var(--neutral);
  font: inherit;
  color-scheme: dark;
}

.melbourne-page .form-field input:focus,
.melbourne-page .form-field select:focus {
  border-color: var(--tertiary);
  outline: 2px solid rgba(255, 48, 79, 0.18);
  outline-offset: 0;
}

.melbourne-page .audit-form button {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.melbourne-page .form-microcopy,
.melbourne-page .form-status {
  font-size: 0.76rem;
}

.melbourne-page .form-status:not(:empty) {
  padding: 10px 12px;
  border-left: 2px solid var(--accent);
  color: var(--neutral);
}

@keyframes melbourne-signal {
  0% { opacity: 0.8; transform: scale(0.55); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes melbourne-flow {
  to { background-position: -200% 0; }
}

@media (max-width: 1100px) {
  .melbourne-page .melbourne-hero,
  .melbourne-page .case-study-section,
  .melbourne-page .market-section,
  .melbourne-page .audit-section {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.85fr);
    gap: 42px;
  }

  .melbourne-page .system-map {
    grid-template-columns: minmax(150px, 0.8fr) 38px minmax(210px, 1fr) 38px minmax(150px, 0.8fr);
    padding: 28px;
  }

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

  .melbourne-page .principles-grid article:nth-child(3) {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .melbourne-page .principles-grid article:nth-child(4) {
    border-top: 1px solid var(--border);
  }
}

@media (max-width: 900px) {
  .melbourne-page .melbourne-hero,
  .melbourne-page .case-study-section,
  .melbourne-page .market-section,
  .melbourne-page .audit-section {
    grid-template-columns: 1fr;
  }

  .melbourne-page .intelligence-panel {
    max-width: 680px;
  }

  .melbourne-page .system-map {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .melbourne-page .system-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .melbourne-page .system-inputs span:last-child {
    grid-column: 1 / -1;
  }

  .melbourne-page .system-connector {
    justify-self: center;
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, var(--border), var(--tertiary), var(--border));
    background-size: 100% 200%;
  }

  .melbourne-page .system-connector span {
    top: auto;
    right: -4px;
    bottom: -1px;
  }

  .melbourne-page .system-outcome {
    text-align: center;
  }

  .melbourne-page .engagement-grid {
    grid-template-columns: 1fr;
  }

  .melbourne-page .engagement-grid article,
  .melbourne-page .engagement-grid h3 {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .melbourne-page .header-actions {
    display: inline-flex;
    justify-self: end;
  }
}

@media (max-width: 700px) {
  .melbourne-page .melbourne-hero {
    min-height: 0;
  }

  .melbourne-page .melbourne-hero h1 {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .melbourne-page .results-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .melbourne-page .results-metrics div {
    padding: 22px 16px;
    border-top: 1px solid var(--border);
  }

  .melbourne-page .results-metrics div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .melbourne-page .problem-states,
  .melbourne-page .optimise-grid,
  .melbourne-page .case-metrics,
  .melbourne-page .process-list {
    grid-template-columns: 1fr;
  }

  .melbourne-page .problem-states li,
  .melbourne-page .problem-states li:first-child {
    min-height: 0;
    padding: 26px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .melbourne-page .problem-states li:first-child {
    border-top: 0;
  }

  .melbourne-page .problem-close {
    padding-block: 70px;
  }

  .melbourne-page .principles-grid {
    grid-template-columns: 1fr;
  }

  .melbourne-page .principles-grid article,
  .melbourne-page .principles-grid article:first-child,
  .melbourne-page .principles-grid article:nth-child(3) {
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .melbourne-page .process-list::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 6px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--tertiary), var(--border));
  }

  .melbourne-page .process-list li {
    min-height: 0;
    padding: 0 0 42px 38px;
  }

  .melbourne-page .process-list li::before {
    top: 2px;
  }

  .melbourne-page .process-list h3 {
    margin-top: 12px;
  }

  .melbourne-page .market-network {
    min-height: 0;
    padding: 28px;
  }

  .melbourne-page .market-core {
    position: static;
    width: 130px;
    height: 130px;
    margin: 0 auto 28px;
    transform: none;
  }

  .melbourne-page .market-network ul {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .melbourne-page .market-network li {
    position: static;
  }

  .melbourne-page .market-network li:last-child {
    grid-column: 1 / -1;
  }

  .melbourne-page .market-line {
    display: none;
  }

  .melbourne-page .solutions-list article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 0;
  }

  .melbourne-page .solutions-list article > a {
    width: fit-content;
  }

  .melbourne-page .audit-copy .button {
    width: 100%;
  }

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

  .melbourne-page .form-heading,
  .melbourne-page .form-field-wide {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .melbourne-page .site-header {
    gap: 10px;
  }

  .melbourne-page .header-cta {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.7rem;
  }
}

@media (max-width: 430px) {
  .melbourne-page .intelligence-panel,
  .melbourne-page .system-map,
  .melbourne-page .audit-form {
    padding: 20px;
  }

  .melbourne-page .intelligence-city p {
    font-size: 2.65rem;
  }

  .melbourne-page .system-inputs,
  .melbourne-page .market-network ul {
    grid-template-columns: 1fr;
  }

  .melbourne-page .system-inputs span:last-child,
  .melbourne-page .market-network li:last-child {
    grid-column: 1;
  }

  .melbourne-page .results-metrics dt {
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .melbourne-page .signal-dot::after,
  .melbourne-page .system-connector {
    animation: none;
  }
}

/* Australia search command map */
.australia-page .australia-hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, 0.96fr);
  gap: clamp(44px, 6vw, 92px);
  min-height: min(840px, calc(100vh - 72px));
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 48, 79, 0.12), transparent 30%),
    linear-gradient(112deg, #12050b 0%, #050609 72%);
}

.australia-page .australia-hero .hero-copy {
  max-width: 680px;
}

.australia-page .australia-hero h1 {
  font-size: clamp(3.65rem, 6.8vw, 5.8rem);
}

.australia-page .hero-microcopy {
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.australia-map-stage {
  position: relative;
  min-width: 0;
  align-self: center;
  isolation: isolate;
}

.australia-map-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 6% 20% 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 48, 79, 0.16), rgba(255, 48, 79, 0.025) 48%, transparent 72%);
  filter: blur(24px);
}

.map-caption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
  padding: 0 3%;
  color: var(--secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-caption span:first-child {
  color: var(--accent);
}

.map-hint {
  margin: 0;
  padding: 0 3%;
  color: rgba(248, 250, 252, 0.48);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.04em;
}

.map-composition {
  display: grid;
  min-height: clamp(430px, 40vw, 530px);
  place-items: center;
}

.australia-map {
  display: block;
  max-width: 100%;
  height: auto;
  overflow: hidden;
}

.overview-map {
  width: min(100%, 625px);
  margin-inline: auto;
}

.australia-map .map-land path {
  fill: url(#map-land-fill);
  stroke: rgba(248, 250, 252, 0.26);
  stroke-width: 1.35;
  vector-effect: non-scaling-stroke;
}

.australia-map .market-leader {
  fill: none;
  stroke: rgba(248, 250, 252, 0.32);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.australia-map .market-halo {
  fill: rgba(255, 48, 79, 0.1);
  stroke: rgba(255, 48, 79, 0.58);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.australia-map .market-dot {
  fill: var(--accent);
}

.australia-map .market-marker {
  outline: none;
}

.australia-map .market-hit-area {
  fill: transparent;
  pointer-events: all;
}

.australia-map .market-marker-major .market-dot {
  filter: url(#market-glow);
}

.australia-map .market-marker-secondary .market-dot {
  opacity: 0.82;
}

.australia-map .market-marker-regional .market-dot {
  opacity: 0.52;
}

.australia-map .market-label {
  fill: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.australia-map .market-tooltip {
  opacity: 0;
  fill: var(--neutral);
  stroke: #050609;
  stroke-width: 5px;
  stroke-linejoin: round;
  paint-order: stroke fill;
  pointer-events: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.australia-map .market-marker.is-active .market-tooltip,
.australia-map .market-marker:focus-visible .market-tooltip {
  opacity: 1;
}

.australia-map .market-marker.is-active .market-dot,
.australia-map .market-marker:focus-visible .market-dot {
  filter: url(#market-glow);
}

.australia-map .market-marker:focus-visible .market-hit-area {
  stroke: rgba(248, 250, 252, 0.72);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

@media (hover: hover) and (pointer: fine) {
  .australia-map .market-marker:hover .market-tooltip {
    opacity: 1;
  }

  .australia-map .market-marker:hover .market-dot {
    filter: url(#market-glow);
  }
}

.map-city-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 0;
  padding: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  list-style: none;
}

.map-city-links li + li {
  border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.map-city-links a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 10px;
  min-height: 72px;
  padding: 13px clamp(8px, 1.4vw, 15px);
  transition: background 150ms ease;
}

.map-city-links span {
  grid-column: 1 / -1;
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-city-links strong {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.map-city-links i {
  color: var(--tertiary);
  font-style: normal;
}

.map-city-links a:hover,
.map-city-links a:focus-visible {
  background: rgba(255, 48, 79, 0.08);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metric-strip article {
  display: grid;
  align-content: space-between;
  min-height: 220px;
  padding: 26px clamp(18px, 2.5vw, 32px);
}

.metric-strip article + article {
  border-left: 1px solid var(--border);
}

.metric-source,
.why-index,
.evidence-card figcaption span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-strip strong {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 1;
}

.metric-strip p {
  font-size: 0.85rem;
}

.australia-problem {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 7vw, 96px);
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  border-top: 1px solid var(--border);
}

.problem-list article {
  display: grid;
  gap: 12px;
  min-height: 245px;
  padding: 26px;
  border-bottom: 1px solid var(--border);
}

.problem-list article:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.problem-list span,
.system-flow > li > span,
.process-track > li > span {
  color: var(--tertiary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
}

.problem-list p,
.system-flow p,
.process-track p,
.why-grid p,
.city-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.system-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(46px, 8vw, 110px);
}

.system-intro {
  position: sticky;
  top: 120px;
  align-self: start;
  display: grid;
  gap: 20px;
}

.system-flow {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.system-flow li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.system-flow li div {
  display: grid;
  gap: 10px;
}

.case-study-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: end;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 clamp(32px, 5vw, 52px);
  border-top: 1px solid var(--border);
}

.case-metrics div {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.case-metrics div:nth-child(odd) {
  border-right: 1px solid var(--border);
}

.case-metrics dt {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: 2.1rem;
  font-weight: 700;
}

.case-metrics dd {
  margin: 4px 0 0;
  color: var(--secondary);
  font-size: 0.76rem;
}

.evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 18px;
}

.evidence-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-card);
}

.evidence-card-featured {
  grid-row: span 2;
}

.evidence-card a {
  display: block;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.evidence-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 380px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.evidence-card-featured img {
  min-height: 430px;
}

.evidence-card:hover img {
  transform: scale(1.015);
}

.evidence-card figcaption {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 22px;
}

.evidence-card figcaption strong {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.evidence-card figcaption p {
  font-size: 0.8rem;
}

.australia-case-study .action-row {
  margin-top: 24px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border);
}

.why-grid article {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 280px;
  padding: 28px;
  border-bottom: 1px solid var(--border);
}

.why-grid article + article {
  border-left: 1px solid var(--border);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.process-track li {
  display: grid;
  align-content: start;
  gap: 17px;
  min-height: 265px;
  padding: 25px;
  border-bottom: 1px solid var(--border);
}

.process-track li + li {
  border-left: 1px solid var(--border);
}

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

.city-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 300px;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-card);
  transition: transform 180ms ease, border-color 180ms ease;
}

.city-card::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 48, 79, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 48, 79, 0.035), 0 0 0 60px rgba(255, 48, 79, 0.02);
}

.city-card:hover {
  border-color: rgba(255, 48, 79, 0.64);
  transform: translateY(-4px);
}

.city-card > span,
.city-card > i {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.city-card > strong {
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.city-card > p {
  max-width: 430px;
}

.city-card > i {
  align-self: end;
  color: var(--neutral);
}

.australia-pricing .price-card {
  min-height: 890px;
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
}

.plan-price-main,
.plan-price-extra {
  white-space: nowrap;
}

.plan-price-extra {
  color: var(--tertiary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-ads {
  display: grid;
  gap: 11px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 48, 79, 0.34);
  background: rgba(5, 6, 9, 0.48);
}

.plan-ads-label,
.plan-ads-report {
  margin: 0;
  color: var(--tertiary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.plan-ads-note {
  margin: 0;
  color: var(--secondary);
  font-size: 0.78rem;
  line-height: 1.5;
}

.plan-ads-rates {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}

.plan-ads-rates > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.plan-ads-rates dt,
.plan-ads-rates dd {
  margin: 0;
  font-size: 0.73rem;
}

.plan-ads-rates dt {
  color: var(--secondary);
}

.plan-ads-rates dd {
  color: var(--neutral);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  text-align: right;
}

.plan-ads-report {
  position: relative;
  padding-left: 14px;
  color: var(--neutral);
  line-height: 1.45;
}

.plan-ads-report::before {
  content: "";
  position: absolute;
  top: 0.46em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tertiary);
}

.australia-pricing .price-card .button {
  margin-top: 0;
}

.australia-final-cta > p:not(.eyebrow) {
  max-width: 620px;
}

.australia-final-cta .hero-actions {
  justify-content: center;
}

@media (max-width: 1100px) {
  .australia-page .australia-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: 38px;
  }

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

  .metric-strip article:nth-child(3),
  .why-grid article:nth-child(3) {
    border-left: 0;
  }

  .metric-strip article:nth-child(-n + 2),
  .why-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

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

  .process-track li:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .australia-pricing .price-card {
    min-height: auto;
  }

  .plan-ads {
    margin-top: 4px;
  }

  .australia-page .australia-hero,
  .australia-problem,
  .system-section,
  .case-study-lead {
    grid-template-columns: 1fr;
  }

  .australia-page .australia-hero {
    min-height: auto;
  }

  .australia-map-stage {
    width: min(100%, 680px);
  }

  .system-intro {
    position: static;
  }

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

  .evidence-card-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .evidence-card-featured img {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .australia-page .australia-hero h1 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .australia-map-stage {
    overflow: hidden;
  }

  .map-composition {
    min-height: clamp(280px, 78vw, 370px);
  }

  .overview-map {
    width: 100%;
  }

  .australia-map .market-label,
  .australia-map .market-leader {
    display: none;
  }

  .australia-map .market-marker-major.is-active .market-label,
  .australia-map .market-marker-major:focus-visible .market-label {
    display: block;
  }

  .map-city-links {
    grid-template-columns: 1fr;
  }

  .map-city-links li + li {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    border-left: 0;
  }

  .map-city-links a {
    grid-template-columns: 78px 1fr auto;
    align-items: center;
    min-height: 58px;
  }

  .map-city-links span {
    grid-column: auto;
  }

  .metric-strip,
  .problem-list,
  .case-metrics,
  .evidence-grid,
  .why-grid,
  .process-track,
  .city-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip article,
  .problem-list article,
  .why-grid article,
  .process-track li {
    min-height: auto;
  }

  .metric-strip article + article,
  .problem-list article:nth-child(odd),
  .case-metrics div:nth-child(odd),
  .why-grid article + article,
  .process-track li + li {
    border-left: 0;
    border-right: 0;
  }

  .metric-strip article {
    gap: 24px;
  }

  .evidence-card-featured {
    grid-column: auto;
  }

  .evidence-card img,
  .evidence-card-featured img {
    min-height: 0;
    max-height: none;
    aspect-ratio: 1.65 / 1;
  }

  .city-card {
    min-height: 270px;
  }
}

@media (max-width: 430px) {
  .map-caption {
    padding-inline: 0;
  }

  .map-city-links a {
    grid-template-columns: 70px 1fr auto;
  }

  .australia-page .australia-hero .button {
    width: 100%;
  }
}

/* Service interest selector */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.editorial-site .service-selector-section {
  padding-top: clamp(72px, 9vw, 112px);
  padding-bottom: clamp(72px, 9vw, 112px);
  background: var(--primary) !important;
}

.service-selector-slot {
  width: 100%;
}

.service-selector {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.service-selector h2 {
  position: relative;
  z-index: 0;
  max-width: none;
  margin: 0 auto clamp(34px, 4vw, 48px);
  color: var(--primary);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-align: center;
  text-transform: none;
}

.service-selector h2:focus {
  outline: none;
}

.service-question-emphasis {
  position: relative;
  z-index: 0;
  display: inline-block;
  isolation: isolate;
}

.service-question-emphasis img {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: calc(100% + 36px);
  height: 1.08em;
  max-width: none;
  object-fit: fill;
  transform: translate(-50%, -42%);
  pointer-events: none;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.service-option {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 88px;
  padding: 20px 22px;
  border: 1px solid #d8dadd;
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-option:hover {
    border-color: rgba(255, 48, 79, 0.58);
    transform: translateY(-1px);
  }
}

.service-option.is-selected {
  border-color: var(--tertiary);
  background: rgba(255, 48, 79, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 48, 79, 0.12);
}

.service-option:has(input:focus-visible) {
  outline: 3px solid rgba(255, 48, 79, 0.42);
  outline-offset: 3px;
}

.service-option input {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--tertiary);
  cursor: pointer;
}

.service-option input:focus-visible {
  outline: none;
}

.service-option span {
  min-width: 0;
}

/* The homepage selector uses the requested warm paper surface. */
.editorial-site #home .service-selector {
  border-color: rgba(242, 240, 236, 0.78);
  background: #f2f0ec;
  color: var(--primary);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.editorial-site #home .service-selector h2 {
  color: var(--primary);
}

.editorial-site #home .service-options {
  background: transparent;
}

.editorial-site #home .service-option {
  border-color: #d7d2ca;
  background: #f2f0ec;
  color: var(--primary);
}

.editorial-site #home .service-option:last-child {
  border-color: #d7d2ca;
}

.editorial-site #home .service-option.is-selected {
  border-color: var(--tertiary);
  background: rgba(255, 48, 79, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 48, 79, 0.14);
}

.service-selector-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.editorial-site .service-selector-submit {
  min-width: 220px;
  min-height: 56px;
  border-radius: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.editorial-site .service-selector-submit:disabled {
  border-color: #d9dce1;
  background: #e5e7eb;
  color: #7b818b;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

body.service-dialog-open {
  overflow: hidden;
}

.service-selector-dialog {
  width: min(1180px, calc(100vw - 32px));
  max-width: none;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--primary);
}

.service-selector-dialog::backdrop {
  background: rgba(5, 6, 9, 0.82);
  backdrop-filter: blur(6px);
}

.service-dialog-shell {
  position: relative;
}

.service-dialog-content {
  min-height: 1px;
}

.service-selector-dialog .service-selector {
  width: 100%;
  box-shadow: none;
}

.service-dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid rgba(5, 6, 9, 0.18);
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font: 700 0.74rem/1 "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.service-dialog-close:hover {
  background: #27282d;
}

.service-dialog-close:focus-visible {
  outline: 3px solid var(--tertiary);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  .service-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 10px;
    border: 0;
    border-radius: 14px;
    background: #f2f3f5;
  }

  .service-option {
    justify-content: flex-start;
    min-height: 92px;
    padding: 16px 12px;
    border: 1px solid #e3e4e7;
    border-radius: 8px;
    font-size: clamp(0.82rem, 3.6vw, 1rem);
  }

  .service-option:last-child {
    border-bottom: 1px solid #e3e4e7;
  }

  .service-option input {
    order: 0;
  }

}

@media (max-width: 560px) {
  .customer-result-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .customer-result-logo {
    width: 58px;
    height: 58px;
    padding: 8px;
  }

  .customer-result-action {
    display: none;
  }

  .editorial-site .service-selector-section {
    padding-inline: 12px;
  }

  .service-selector {
    padding: 54px 20px 20px;
    border-radius: 18px;
  }

  .service-selector h2 {
    margin-bottom: 28px;
    font-size: clamp(1.85rem, 8.2vw, 2.35rem);
    line-height: 1.12;
  }

  .service-question-emphasis img {
    width: calc(100% + 22px);
  }

  .service-selector-actions {
    margin-top: 20px;
  }

  .editorial-site .service-selector-submit {
    width: 100%;
  }

  .service-selector-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 18px;
  }

  .service-selector-dialog .service-selector {
    min-height: calc(100dvh - 16px);
    padding-top: 64px;
  }

  .service-selector-dialog .service-selector-actions {
    position: sticky;
    bottom: 0;
    margin-inline: -4px;
    padding: 12px 4px 4px;
    background: #ffffff;
  }

  .service-dialog-close {
    position: fixed;
    top: 20px;
    right: 20px;
  }
}

@media (forced-colors: active) {
  html {
    scrollbar-color: auto;
  }

  .service-option.is-selected,
  .service-selector-submit,
  .service-dialog-close {
    forced-color-adjust: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-option,
  .customer-result-card,
  .customer-result-action,
  .process-flywheel-step a,
  .editorial-site #home .solution-picker-image {
    transition: none;
  }

  .process-flywheel::before {
    animation: none;
  }
}

/* Journey page: a shared commercial flywheel, kept isolated from other routes. */
.journey-page .journey-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(118deg, rgba(255, 48, 79, 0.1), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(255, 138, 0, 0.08), transparent 30%),
    var(--primary);
}

.journey-page .journey-hero::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -32vw;
  width: min(62vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 48, 79, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.journey-page .journey-hero .hero-copy,
.journey-page .journey-photo-placeholder-hero {
  position: relative;
  z-index: 1;
}

.journey-page .journey-hero h1 {
  max-width: 760px;
  font-size: clamp(3.4rem, 7.4vw, 5.7rem);
}

.journey-page .journey-photo-placeholder {
  position: relative;
  display: grid;
  align-content: end;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 48, 79, 0.58);
  border-radius: 18px;
  background:
    linear-gradient(145deg, transparent 0 49.8%, rgba(255, 48, 79, 0.16) 50%, transparent 50.2%),
    linear-gradient(35deg, transparent 0 49.8%, rgba(255, 138, 0, 0.12) 50%, transparent 50.2%),
    #13080d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.journey-page .journey-photo-placeholder-hero {
  min-height: 520px;
}

.journey-page .journey-photo-placeholder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-page .journey-process {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 48, 79, 0.09), transparent 25%),
    var(--surface);
}

.journey-page .journey-process .section-heading {
  max-width: 900px;
}

.journey-page .journey-process .section-heading > p:last-child {
  max-width: 760px;
}

.journey-page .journey-timeline {
  position: relative;
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  max-width: 1040px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-page .journey-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 46px;
  width: 1px;
  background: linear-gradient(var(--tertiary), var(--accent), var(--tertiary));
}

.journey-page .journey-stage {
  position: relative;
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  scroll-margin-top: 104px;
}

.journey-page .journey-stage-marker {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding-top: 26px;
  background: var(--surface);
  color: var(--accent);
}

.journey-page .journey-stage-marker span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 48, 79, 0.64);
  border-radius: 50%;
  background: var(--primary);
  color: var(--neutral);
  font-family: "Oswald", sans-serif;
  font-size: 1.65rem;
}

.journey-page .journey-stage-marker small {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-page .journey-stage-card {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(26, 10, 18, 0.82);
}

.journey-page .journey-stage:nth-child(even) .journey-stage-card {
  background: linear-gradient(120deg, rgba(255, 48, 79, 0.07), transparent 54%), var(--surface-card);
}

.journey-page .journey-stage:last-child .journey-stage-card {
  border-color: rgba(255, 48, 79, 0.52);
}

.journey-page .journey-stage-label,
.journey-page .journey-stage-details dt {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.journey-page .journey-stage-card h3 {
  max-width: 770px;
  margin-top: 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.journey-page .journey-stage-card > p:not(.journey-stage-label, .journey-stage-rebel) {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(0.96rem, 1.6vw, 1.08rem);
  line-height: 1.72;
}

.journey-page .journey-stage-rebel {
  margin-top: 20px;
  color: var(--neutral);
  font-weight: 800;
}

.journey-page .journey-stage-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--border);
}

.journey-page .journey-stage-details div {
  padding: 20px;
  background: var(--primary);
}

.journey-page .journey-stage-details dd {
  margin: 10px 0 0;
  color: var(--secondary);
  font-size: 0.86rem;
  line-height: 1.6;
}

.journey-page .journey-photo-placeholder-process {
  margin-top: 30px;
}

.journey-page .journey-photo-placeholder-process > img {
  position: relative;
  aspect-ratio: 1672 / 941;
  height: auto;
}

.journey-page .journey-loop {
  display: grid;
  gap: 6px;
  max-width: 936px;
  margin: clamp(34px, 5vw, 58px) 0 0 138px;
  padding: 24px 30px;
  border: 1px solid rgba(255, 48, 79, 0.66);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(255, 48, 79, 0.14), transparent 72%), var(--primary);
  transition: border-color 180ms ease, transform 180ms ease;
}

.journey-page .journey-loop span {
  color: var(--accent);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-page .journey-loop strong {
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
}

.journey-page .journey-loop:hover {
  border-color: var(--tertiary);
  transform: translateY(-2px);
}

.journey-page .journey-loop:focus-visible {
  outline: 3px solid var(--tertiary);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .journey-page .journey-hero {
    grid-template-columns: 1fr;
  }

  .journey-page .journey-photo-placeholder-hero {
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .journey-page .journey-hero h1 {
    font-size: clamp(3rem, 14vw, 4.35rem);
  }

  .journey-page .journey-timeline {
    gap: 26px;
  }

  .journey-page .journey-timeline::before {
    top: 28px;
    bottom: 28px;
    left: 24px;
  }

  .journey-page .journey-stage {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .journey-page .journey-stage-marker {
    grid-template-columns: 48px 1fr;
    align-items: center;
    justify-items: start;
    gap: 14px;
    width: max-content;
    padding: 0 18px 0 0;
  }

  .journey-page .journey-stage-marker span {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .journey-page .journey-stage-card {
    margin-left: 24px;
  }

  .journey-page .journey-stage-details {
    grid-template-columns: 1fr;
  }

  .journey-page .journey-loop {
    margin-left: 24px;
  }
}

@media (max-width: 430px) {
  .journey-page .journey-photo-placeholder-hero {
    min-height: 360px;
  }

  .journey-page .journey-stage-card {
    padding: 24px 20px;
  }

  .journey-page .journey-stage-card h3 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }

  .journey-page .journey-stage-details div {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey-page .journey-loop {
    scroll-behavior: auto;
    transition: none;
  }
}

/* Lead capture dialog: shared hooks for the dynamically rendered form. */
.rr-lead-capture-dialog {
  width: min(520px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: min(760px, calc(100dvh - 24px));
  overflow: hidden;
  margin: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--neutral);
  color: var(--primary);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.rr-lead-capture-dialog::backdrop {
  background: rgba(5, 6, 9, 0.82);
  backdrop-filter: blur(5px);
}

.rr-lead-capture-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  max-height: inherit;
  overflow-y: auto;
  padding: clamp(20px, 4vw, 34px);
}

.rr-lead-capture-form h2,
.rr-lead-capture-form > p,
.rr-lead-capture-form > [data-turnstile],
.rr-lead-capture-form > .rr-lead-capture-toast,
.rr-lead-capture-form > a,
.rr-lead-capture-form > button {
  grid-column: 1 / -1;
}

.rr-lead-capture-form > .rr-lead-capture-close {
  grid-column: auto;
}

.rr-lead-capture-form h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  padding-right: 38px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.08;
  text-align: center;
}

.rr-lead-capture-form > p {
  margin: 0 0 4px;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.rr-lead-capture-field {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.rr-lead-capture-field-group {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

.rr-lead-capture-field--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.rr-lead-capture-field-group--full {
  grid-column: 1 / -1;
}

.rr-lead-capture-form input:not(.rr-lead-capture-honeypot),
.rr-lead-capture-form select:not(.rr-lead-capture-country-select) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #c9ced6;
  border-radius: 8px;
  background: #f4f6f8;
  color: var(--primary);
  font: inherit;
}

.rr-lead-capture-form input:not(.rr-lead-capture-honeypot):focus-visible,
.rr-lead-capture-form select:focus-visible,
.rr-lead-capture-form button:focus-visible,
.rr-lead-capture-form a:focus-visible,
.rr-lead-capture-dialog :focus-visible {
  outline: 3px solid var(--tertiary);
  outline-offset: 3px;
}

.rr-lead-capture-form input::placeholder {
  color: #68717d;
  opacity: 1;
}

.rr-lead-capture-phone-row {
  display: grid;
  grid-template-columns: 48px auto minmax(0, 1fr);
  align-items: center;
  min-height: 46px;
  overflow: hidden;
  border: 1px solid #c9ced6;
  border-radius: 8px;
  background: #f4f6f8;
}

.rr-lead-capture-country-picker {
  position: relative;
  display: grid;
  align-self: stretch;
  place-items: center;
  min-width: 48px;
}

.rr-lead-capture-country-trigger {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
}

.rr-lead-capture-country-trigger:hover {
  background: rgba(255, 48, 79, 0.08);
}

.rr-lead-capture-country-value {
  display: none;
}

.rr-lead-capture-country-flag {
  --CountryFlagIcon-height: 1.15rem;
  flex: none;
  border-radius: 2px;
  background-position: center;
  line-height: 1;
}

.rr-lead-capture-dial-code {
  color: var(--primary);
  font-weight: 750;
  pointer-events: none;
}

.rr-lead-capture-phone-row input:not(.rr-lead-capture-honeypot) {
  min-height: 44px;
  padding-left: 8px;
  border: 0;
  background: transparent;
}

.rr-lead-capture-phone-row:focus-within {
  outline: 3px solid var(--tertiary);
  outline-offset: 3px;
}

.rr-lead-capture-form .rr-lead-capture-country-trigger:focus-visible,
.rr-lead-capture-form .rr-lead-capture-phone-row input:focus-visible {
  outline: 0;
  outline-offset: 0;
}

.rr-lead-capture-country-menu {
  position: fixed;
  z-index: 120;
  top: var(--rr-country-menu-top, 12px);
  left: var(--rr-country-menu-left, 12px);
  display: none;
  width: var(--rr-country-menu-width, min(380px, calc(100vw - 24px)));
  max-width: calc(100vw - 24px);
  max-height: var(--rr-country-menu-max-height, min(360px, calc(100dvh - 24px)));
  margin: 0;
  padding: 6px;
  overflow: hidden;
  border: 1px solid #c9ced6;
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 20px 52px rgba(5, 6, 9, 0.2);
}

.rr-lead-capture-country-menu:popover-open,
.rr-lead-capture-country-menu[data-fallback-open="true"] {
  display: grid;
}

.rr-lead-capture-country-options {
  display: grid;
  gap: 2px;
  max-height: calc(var(--rr-country-menu-max-height, 360px) - 12px);
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-gutter: stable;
}

.rr-lead-capture-country-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.88rem;
  text-align: left;
  cursor: pointer;
}

.rr-lead-capture-country-option:hover,
.rr-lead-capture-country-option:focus-visible {
  border-color: rgba(255, 48, 79, 0.42);
  outline: 0;
  background: rgba(255, 48, 79, 0.08);
}

.rr-lead-capture-country-option[aria-current="true"] {
  border-color: rgba(255, 48, 79, 0.58);
  background: rgba(255, 48, 79, 0.12);
  font-weight: 800;
}

.rr-lead-capture-country-option-flag {
  --CountryFlagIcon-height: 1rem;
  flex: none;
  border-radius: 2px;
  background-position: center;
}

.rr-lead-capture-country-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rr-lead-capture-country-option-code {
  color: #68717d;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.rr-lead-capture-error {
  min-height: 0;
  color: #b42318;
  font-size: 0.76rem;
  font-weight: 700;
}

.rr-lead-capture-error:empty {
  display: none;
}

.rr-lead-capture-toast {
  min-height: 1.5em;
  color: #4b5563;
  font-size: 0.86rem;
}

.rr-lead-capture-notice {
  position: fixed;
  z-index: 70;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 36px));
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--tertiary);
  border-radius: 10px;
  background: var(--neutral);
  color: var(--primary);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  font-weight: 750;
}

.rr-lead-capture-form.is-pending {
  cursor: progress;
}

.rr-lead-capture-form.has-error {
  border-color: #b42318;
}

.rr-lead-capture-form.has-error .rr-lead-capture-toast,
.rr-lead-capture-form.has-error .rr-lead-capture-error {
  color: #b42318;
}

.rr-lead-capture-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.rr-lead-capture-form > button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  max-width: 100%;
  width: 100%;
  padding-inline: 18px;
  border: 0;
  border-radius: 10px;
  background: var(--tertiary);
  color: var(--on-tertiary);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.rr-lead-capture-close {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.rr-lead-capture-close:hover {
  background: rgba(5, 6, 9, 0.08);
}

.rr-lead-capture-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(5, 6, 9, 0.28);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: rr-lead-capture-spin 0.75s linear infinite;
}

.rr-lead-capture-form.is-pending .rr-lead-capture-spinner {
  display: inline-block;
}

@keyframes rr-lead-capture-spin {
  to { transform: rotate(360deg); }
}

.rr-lead-capture-form > a {
  justify-self: start;
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 601px) {
  .rr-lead-capture-dialog {
    width: min(760px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    max-height: min(900px, calc(100dvh - 48px));
    border-radius: 20px;
  }

  .rr-lead-capture-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 42px 46px;
  }

  .rr-lead-capture-form h2 {
    padding-right: 0;
    font-size: 2.4rem;
    line-height: 1;
    white-space: nowrap;
  }

  .rr-lead-capture-form > p {
    margin-bottom: 8px;
    font-size: 1rem;
  }

  .rr-lead-capture-form input:not(.rr-lead-capture-honeypot),
  .rr-lead-capture-phone-row {
    min-height: 58px;
  }

  .rr-lead-capture-form input:not(.rr-lead-capture-honeypot) {
    padding: 15px 18px;
    font-size: 0.96rem;
  }

  .rr-lead-capture-phone-row {
    grid-template-columns: 56px auto minmax(0, 1fr);
  }

  .rr-lead-capture-country-picker {
    min-width: 56px;
  }

  .rr-lead-capture-country-flag {
    --CountryFlagIcon-height: 1.25rem;
  }

  .rr-lead-capture-phone-row input:not(.rr-lead-capture-honeypot) {
    min-height: 56px;
    padding-left: 9px;
  }

  .rr-lead-capture-form > button[type="submit"] {
    min-height: 56px;
    font-size: 1rem;
  }

  .rr-lead-capture-form > a {
    font-size: 0.7rem;
  }
}

@media (max-width: 600px) {
  .rr-lead-capture-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 18px 16px;
  }

  .rr-lead-capture-form h2 {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
  }

  .rr-lead-capture-field,
  .rr-lead-capture-form input,
  .rr-lead-capture-form select {
    font-size: 0.78rem;
  }

  .rr-lead-capture-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-height: 700px) {
  .rr-lead-capture-form {
    gap: 5px 8px;
    padding-block: 14px;
  }

  .rr-lead-capture-form h2 {
    font-size: 1.35rem;
  }

  .rr-lead-capture-form > p {
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) and (max-height: 700px) {
  .rr-lead-capture-form {
    gap: 5px 7px;
    padding: 10px 12px;
  }

  .rr-lead-capture-form h2 {
    padding-right: 32px;
    font-size: 1.15rem;
    line-height: 1.02;
  }

  .rr-lead-capture-form > p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .rr-lead-capture-close {
    top: 5px;
    right: 5px;
    width: 32px;
    min-height: 32px;
    font-size: 1.45rem;
  }

  .rr-lead-capture-form > [data-turnstile] {
    min-height: 65px;
    overflow: hidden;
  }

  .rr-lead-capture-form > a {
    font-size: 0.7rem;
  }

  .rr-lead-capture-form > button[type="submit"] {
    min-height: 42px;
  }

  .rr-lead-capture-form input:not(.rr-lead-capture-honeypot),
  .rr-lead-capture-phone-row {
    min-height: 38px;
  }

  .rr-lead-capture-phone-row input:not(.rr-lead-capture-honeypot) {
    min-height: 36px;
  }
}

@media (max-width: 320px) {
  .rr-lead-capture-dialog {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    overflow: hidden;
  }

  .rr-lead-capture-form {
    grid-template-columns: minmax(0, 1fr);
    max-height: calc(100dvh - 12px);
    overflow-y: auto;
    padding: 16px max(12px, env(safe-area-inset-left)) 16px max(12px, env(safe-area-inset-right));
  }

  .rr-lead-capture-field-group--full,
  .rr-lead-capture-phone-row {
    grid-column: 1 / -1;
  }

  .rr-lead-capture-phone-row {
    grid-template-columns: 48px auto minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rr-lead-capture-dialog,
  .rr-lead-capture-dialog *,
  .rr-lead-capture-notice {
    scroll-behavior: auto;
    transition: none;
    animation: none;
  }
}

@media (forced-colors: active) {
  .rr-lead-capture-dialog,
  .rr-lead-capture-dialog * {
    forced-color-adjust: auto;
  }

  .rr-lead-capture-dialog {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
  }

  .rr-lead-capture-form > button[type="submit"] {
    border: 1px solid ButtonText;
    background: ButtonFace;
    color: ButtonText;
  }
}
