:root {
  --paper: #F7F4EE;
  --white: #FFFFFF;
  --graphite: #151A1E;
  --ink: #1F252B;
  --steel: #69747D;
  --pipe-blue: #1E6B8C;
  --map-blue: #D9ECF2;
  --growth-green: #39A96B;
  --rank-gold: #E3B341;
  --alert-coral: #E76F51;
  --soft-border: rgba(21, 26, 30, 0.12);
  --glass: rgba(255,255,255,0.74);
  --shadow: 0 28px 80px rgba(21,26,30,0.16);
  --shadow-hover: 0 34px 90px rgba(21,26,30,0.22);
  --radius: 14px;
  --wrap: min(1160px, calc(100vw - 40px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--rank-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-main { overflow: clip; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: var(--wrap);
  margin: 14px auto 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  box-shadow: 0 18px 54px rgba(21, 26, 30, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: grid;
  padding-left: 8px;
  color: var(--graphite);
  text-decoration: none;
}

.brand span { font-weight: 900; line-height: 1; }
.brand small { color: var(--pipe-blue); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.primary-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.primary-nav a,
.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
}

.primary-nav a {
  padding: 0 13px;
  color: var(--steel);
  font-size: .92rem;
}

.primary-nav a:hover { background: var(--map-blue); color: var(--deep-map, #123746); }

.header-cta,
.button-primary {
  padding: 0 20px;
  background: var(--graphite);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(21, 26, 30, 0.18);
}

.header-cta:hover,
.button-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.button-secondary {
  padding: 0 20px;
  background: var(--white);
  border: 1px solid var(--soft-border);
  color: var(--graphite);
}

.nav-toggle { display: none; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background: var(--paper);
  transition: opacity .32s ease, visibility .32s ease;
}

.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px 86px;
  gap: 12px;
  padding: 14px;
  background: var(--glass);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.loader-map {
  position: relative;
  min-height: 116px;
  background: var(--map-blue);
  border-radius: 10px;
}

.loader-map::before {
  content: "";
  position: absolute;
  inset: 58px 16px auto;
  height: 3px;
  background: var(--pipe-blue);
  transform: rotate(-20deg);
}

.loader-pin {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--pipe-blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 900;
  animation: rankMove 1.25s ease forwards;
}

.loader-rank {
  display: grid;
  gap: 8px;
}

.loader-rank span,
.loader-rank strong {
  display: grid;
  place-items: center;
  min-height: 54px;
  background: var(--white);
  border-radius: 10px;
  color: var(--alert-coral);
  font-weight: 900;
}

.loader-rank strong { color: var(--growth-green); }
.loader-call,
.loader-note {
  position: absolute;
  right: 18px;
  bottom: 15px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rank-gold);
  font-size: .72rem;
  font-weight: 900;
  animation: popIn 1.25s ease forwards;
}

.loader-note { right: auto; left: 20px; bottom: -18px; background: var(--white); border: 1px solid var(--soft-border); }
.loader p { margin: 0; font-weight: 900; }
.loader small { color: var(--steel); font-weight: 800; }

@keyframes rankMove {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translate(70px, -54px); }
}

@keyframes popIn {
  0%, 55% { opacity: 0; transform: scale(.88); }
  100% { opacity: 1; transform: scale(1); }
}

.hero,
.section,
.final-cta,
.site-footer,
.basic-page {
  width: var(--wrap);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(380px, 1.04fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 90px);
  padding: 68px 0 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pipe-blue);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { overflow-wrap: anywhere; }

h1,
h2,
h3 {
  margin: 0;
  color: var(--graphite);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 { max-width: 720px; font-size: clamp(2.35rem, 5.5vw, 4.7rem); font-weight: 950; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; }
h3 { font-size: 1.25rem; font-weight: 900; }

.hero-copy p:not(.eyebrow),
.section-head p,
.problem-card p,
.method-pipeline p,
.agency-card p,
.form-grid p,
.final-cta p,
.basic-page p { color: var(--steel); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-proof-strip span {
  padding: 8px 12px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--pipe-blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.lab-visual {
  padding: 18px;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: perspective(900px) rotateX(4deg) rotateY(-5deg);
}

.lab-visual-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--steel);
  font-size: .86rem;
  font-weight: 850;
}

.lab-map {
  position: relative;
  min-height: 260px;
  margin: 16px 0;
  background:
    linear-gradient(135deg, rgba(30,107,140,.12) 25%, transparent 25%) 0 0 / 52px 52px,
    var(--map-blue);
  border-radius: 12px;
  overflow: hidden;
}

.route {
  position: absolute;
  inset: 48% 12% auto 12%;
  height: 4px;
  background: var(--pipe-blue);
  transform: rotate(-16deg);
  opacity: .62;
}

.city,
.phone {
  position: absolute;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 900;
}

.city { background: var(--white); color: var(--graphite); }
.city-one { left: 12%; top: 22%; }
.city-two { right: 12%; bottom: 22%; }
.phone { right: 18%; top: 26%; background: var(--rank-gold); }

.map-pulse {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--growth-green);
  box-shadow: 0 0 0 0 rgba(57, 169, 107, 0.28);
  animation: mapPulse 1.8s ease-out infinite;
}

.map-pulse-one { left: 34%; top: 58%; }
.map-pulse-two { right: 34%; top: 42%; animation-delay: .38s; }

@keyframes mapPulse {
  0% { transform: scale(.72); box-shadow: 0 0 0 0 rgba(57, 169, 107, 0.32); }
  100% { transform: scale(1); box-shadow: 0 0 0 22px rgba(57, 169, 107, 0); }
}

.rank-list {
  display: grid;
  gap: 9px;
}

.rank-list span,
.rank-list strong {
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--soft-border);
  border-radius: 10px;
}

.rank-list strong { color: var(--growth-green); }

.growth-line {
  height: 46px;
  margin-top: 14px;
  background:
    linear-gradient(145deg, transparent 34%, var(--growth-green) 35%, var(--growth-green) 41%, transparent 42%),
    linear-gradient(110deg, transparent 54%, var(--rank-gold) 55%, var(--rank-gold) 60%, transparent 61%);
  border-bottom: 1px solid var(--soft-border);
}

.section { padding: 74px 0; }
.section-head { max-width: 780px; margin-bottom: 30px; }

.card-grid,
.method-pipeline,
.about-grid {
  display: grid;
  gap: 16px;
}

.card-grid { grid-template-columns: repeat(3, 1fr); }

.problem-card,
.diagnostic-panel,
.proof-board,
.method-pipeline article,
.person-card,
.agency-card,
.lead-form,
.final-cta {
  background: var(--white);
  border: 1px solid var(--soft-border);
  border-radius: var(--radius);
  box-shadow: 0 18px 54px rgba(21, 26, 30, .08);
}

.problem-card {
  padding: 24px;
  border-top: 4px solid var(--alert-coral);
}

.problem-card span { color: var(--alert-coral); font-weight: 950; }
.problem-card small {
  display: inline-flex;
  margin: 10px 0 6px;
  color: var(--pipe-blue);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.problem-card strong {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(231, 111, 81, 0.12);
  color: var(--alert-coral);
  font-size: .82rem;
  font-weight: 950;
}

.problem-flow {
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1fr;
  align-items: center;
  gap: 10px;
  margin: 28px 0;
  padding: 14px;
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(21, 26, 30, 0.08);
}

.problem-flow span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--white);
  color: var(--graphite);
  font-size: .9rem;
  font-weight: 950;
  text-align: center;
}

.problem-flow i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pipe-blue), var(--growth-green));
  position: relative;
}

.problem-flow i::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--growth-green);
  border-right: 2px solid var(--growth-green);
  transform: translateY(-50%) rotate(45deg);
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.diagnostic-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr) minmax(280px, .78fr);
  gap: 22px;
  padding: 24px;
}

.diagnostic-panel small { color: var(--steel); font-weight: 800; }
.diagnostic-controls { display: grid; gap: 14px; }

label,
legend {
  color: var(--graphite);
  font-size: .88rem;
  font-weight: 850;
}

label { display: grid; gap: 7px; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--soft-border);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea { resize: vertical; }

.chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 7px;
}

.chips-three { grid-template-columns: repeat(3, 1fr); }
.chips input { position: absolute; opacity: 0; }
.chips span {
  display: grid;
  min-height: 42px;
  place-items: center;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  color: var(--steel);
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
  cursor: pointer;
}

.chips input:checked + span { background: var(--graphite); color: var(--white); }

.diagnostic-result {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(145deg, var(--graphite), #123746);
  border-radius: 12px;
  color: var(--white);
}

.diagnostic-result span { color: var(--rank-gold); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.diagnostic-result strong { font-size: 1.55rem; line-height: 1.1; }
.diagnostic-result p { color: rgba(255,255,255,.74); }

.selfcity {
  width: 100%;
  padding: 82px max(20px, calc((100vw - 1160px) / 2));
  background:
    radial-gradient(circle at 84% 10%, rgba(30,107,140,.35), transparent 30%),
    linear-gradient(135deg, var(--graphite), #123746);
  color: var(--white);
}

.selfcity .section-head h2,
.selfcity .section-head p { color: var(--white); }
.selfcity .section-head p { opacity: .76; }
.selfcity .eyebrow { color: var(--rank-gold); }

.proof-board {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.proof-board-v3 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-board-v3 .proof-intro {
  grid-column: 1 / -1;
  grid-row: auto;
}

.proof-board-v3 .proof-city::after,
.proof-board-v3 .proof-intro::after {
  display: none;
}

.proof-intro,
.proof-city,
.proof-slot,
.proof-metric {
  min-height: 150px;
  padding: 18px;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.07);
}

.proof-intro {
  grid-row: span 2;
  background:
    radial-gradient(circle at 88% 12%, rgba(57, 169, 107, 0.22), transparent 28%),
    rgba(255,255,255,.1);
}

.proof-intro span,
.proof-city small {
  color: var(--rank-gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proof-intro strong {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.proof-intro p {
  color: rgba(255,255,255,.72);
}

.selfcity-simple strong {
  max-width: 900px;
}

.proof-rise {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(227, 179, 65, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.proof-rise span,
.proof-rise strong {
  margin: 0;
  color: var(--white);
  font-size: .92rem;
  font-weight: 950;
}

.proof-rise span {
  color: rgba(255, 255, 255, 0.72);
}

.proof-rise i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--alert-coral), var(--rank-gold), var(--growth-green));
}

.proof-city strong { display: block; font-size: 1.35rem; }
.proof-city span,
.proof-slot { color: rgba(255,255,255,.72); }
.proof-city small { display: inline-flex; margin-top: 12px; }
.proof-city-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.proof-city-head em {
  padding: 6px 9px;
  border: 1px solid rgba(227, 179, 65, 0.3);
  border-radius: 999px;
  color: var(--rank-gold);
  font-size: .68rem;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.proof-serp-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
}

.proof-ranking {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.proof-ranking span {
  color: var(--rank-gold);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proof-ranking b {
  color: var(--white);
  font-size: 1.15rem;
}

.proof-ranking strong {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(57, 169, 107, 0.16);
  color: var(--growth-green);
  font-size: .84rem;
  font-weight: 950;
}

.proof-serp-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.proof-serp-card b {
  color: var(--white);
  font-size: 1.08rem;
}

.proof-serp-card small {
  align-self: end;
  color: rgba(255, 255, 255, 0.68);
}

.proof-capture-card {
  gap: 10px;
  padding: 12px;
}

.proof-capture-card img {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.capture-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: zoom-in;
}

.capture-open:focus-visible {
  outline: 3px solid var(--rank-gold);
  outline-offset: 5px;
}

.has-capture {
  min-height: 420px;
}

.has-capture:hover .proof-capture-card img {
  transform: translateY(-3px) scale(1.01);
}

.proof-capture-card img {
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.proof-story {
  margin: 10px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(227, 179, 65, 0.18);
  border-radius: 14px;
  background: rgba(227, 179, 65, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: .95rem;
  font-weight: 780;
}

.capture-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(21, 26, 30, 0.78);
  backdrop-filter: blur(10px);
}

.capture-lightbox[hidden] {
  display: none;
}

.capture-lightbox-inner {
  position: relative;
  width: min(1120px, 96vw);
  max-height: 92vh;
}

.capture-lightbox img {
  width: 100%;
  max-height: 92vh;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.capture-lightbox-close {
  position: absolute;
  right: -10px;
  top: -10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 950;
}

.proof-slot strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.proof-slot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.proof-metric { display: grid; gap: 8px; }
.proof-metric span { padding: 8px 10px; background: rgba(227,179,65,.16); border-radius: 999px; color: var(--rank-gold); font-weight: 850; }
.proof-slot { grid-column: span 1; }

.method-pipeline { grid-template-columns: repeat(4, 1fr); }
.method-system {
  display: grid;
  gap: 18px;
}

.method-core {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--soft-border);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 20%, rgba(57, 169, 107, 0.18), transparent 24%),
    var(--white);
  box-shadow: 0 18px 48px rgba(21, 26, 30, 0.08);
}

.method-core span {
  color: var(--pipe-blue);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.method-core strong {
  color: var(--graphite);
  font-size: clamp(1.1rem, 2vw, 1.7rem);
}

.method-pipeline article { position: relative; padding: 24px; overflow: hidden; }
.method-pipeline article::after {
  content: "";
  position: absolute;
  inset: auto 20px 18px;
  height: 6px;
  background: linear-gradient(90deg, var(--pipe-blue), var(--growth-green), var(--rank-gold));
  border-radius: 999px;
}
.method-pipeline span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--map-blue);
  color: #123746;
  font-weight: 950;
}

.method-pipeline article > strong {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(57, 169, 107, 0.12);
  color: var(--growth-green);
  font-size: .82rem;
  font-weight: 950;
}

.about-grid { grid-template-columns: .82fr 1.18fr; align-items: stretch; }
.about-grid-v2 {
  grid-template-columns: 1.04fr .96fr;
  gap: 34px;
}

.person-card,
.agency-card { padding: 24px; }
.portrait-placeholder {
  display: grid;
  min-height: 270px;
  margin-bottom: 20px;
  place-items: end start;
  padding: 20px;
  background:
    radial-gradient(circle at 68% 18%, rgba(30,107,140,.28), transparent 28%),
    linear-gradient(145deg, var(--white), var(--map-blue));
  border-radius: 12px;
  color: #123746;
  font-weight: 950;
}

.person-card strong { color: var(--pipe-blue); }
.person-card-v2 {
  background:
    radial-gradient(circle at 84% 10%, rgba(227, 179, 65, 0.18), transparent 24%),
    var(--white);
}

.about-premium {
  position: relative;
}

.person-card-v2 {
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
}

.portrait-stage {
  position: relative;
  min-height: 470px;
  margin-bottom: 28px;
  perspective: 1100px;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 9% 2% 4% 10%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.8), transparent 18%),
    linear-gradient(145deg, rgba(30, 107, 140, 0.2), rgba(227, 179, 65, 0.16));
  filter: blur(.2px);
  transform: rotate(-4deg) translateZ(-20px);
}

.portrait-stage::after {
  content: "";
  position: absolute;
  inset: auto 12% -18px 16%;
  height: 64px;
  border-radius: 50%;
  background: rgba(21, 26, 30, 0.18);
  filter: blur(18px);
}

.portrait-frame {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid rgba(21, 26, 30, 0.12);
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 18%, rgba(227, 179, 65, 0.3), transparent 24%),
    linear-gradient(145deg, var(--white), var(--map-blue));
  box-shadow: 0 34px 90px rgba(21, 26, 30, 0.2);
  transform: rotateY(-7deg) rotateX(4deg);
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.portrait-stage:hover .portrait-frame {
  transform: rotateY(-2deg) rotateX(2deg) translateY(-6px);
  box-shadow: 0 42px 110px rgba(21, 26, 30, 0.26);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  display: block;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.01);
  transition: transform 360ms ease, filter 260ms ease;
}

.portrait-stage:hover .portrait-frame img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04);
}

.portrait-frame.is-placeholder {
  place-items: end start;
  padding: 28px;
  color: #123746;
  font-weight: 950;
}

.portrait-frame.is-placeholder::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: 36px;
  top: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--white), transparent 18%),
    linear-gradient(145deg, var(--rank-gold), var(--pipe-blue));
  opacity: .86;
}

.portrait-frame.is-placeholder::after {
  content: "";
  position: absolute;
  right: 92px;
  top: 88px;
  width: 100px;
  height: 100px;
  border-radius: 40% 40% 48% 48%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 104px 0 38px rgba(255, 255, 255, 0.48);
}

.portrait-frame span,
.portrait-frame small {
  position: relative;
  z-index: 2;
}

.portrait-frame small {
  margin-top: 4px;
  color: var(--steel);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.portrait-signal,
.portrait-card-mini {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 22px 54px rgba(21, 26, 30, 0.18);
  backdrop-filter: blur(14px);
}

.portrait-signal {
  right: -10px;
  top: 38px;
  padding: 13px 15px;
}

.portrait-card-mini {
  left: -6px;
  bottom: 40px;
  max-width: 220px;
  padding: 14px 16px;
}

.portrait-signal span,
.portrait-card-mini span {
  color: var(--pipe-blue);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portrait-signal strong,
.portrait-card-mini strong {
  color: var(--graphite);
  font-size: .95rem;
  line-height: 1.15;
}

.portrait-placeholder span,
.portrait-placeholder small {
  position: relative;
  z-index: 1;
}

.portrait-placeholder small {
  color: var(--steel);
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cred-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.cred-list li {
  position: relative;
  padding-left: 22px;
  color: var(--steel);
  font-size: .95rem;
}

.cred-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--growth-green);
  box-shadow: 0 0 0 4px rgba(57, 169, 107, 0.12);
}

.agency-focus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 18px;
}

.agency-focus span {
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--soft-border);
  border-radius: 12px;
  background: rgba(217, 236, 242, 0.42);
  color: var(--graphite);
  font-size: .9rem;
  font-weight: 900;
}

.agency-focus span b,
.agency-focus span small {
  display: block;
}

.agency-focus span small {
  margin-top: 6px;
  color: var(--steel);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
}

.agency-proofline {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.agency-proofline span {
  color: var(--graphite);
  font-size: .82rem;
  font-weight: 950;
}

.agency-proofline i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pipe-blue), var(--growth-green));
}

.badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.badges span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--map-blue);
  color: #123746;
  font-weight: 850;
}

.form-section {
  width: 100%;
  padding: 82px max(20px, calc((100vw - 1160px) / 2));
  background: linear-gradient(180deg, transparent, rgba(217,236,242,.75));
}

.form-grid {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 28px;
  align-items: start;
}

.form-grid-v2 {
  grid-template-columns: .82fr 1fr;
  align-items: stretch;
}

.form-copy {
  position: sticky;
  top: 118px;
  align-self: start;
}

.form-benefits {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.form-benefits span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--graphite);
  font-size: .94rem;
  font-weight: 900;
}

.form-benefits b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  background: var(--graphite);
  color: var(--white);
  font-size: .76rem;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px;
}

.lead-form-v2 {
  background:
    radial-gradient(circle at 88% 12%, rgba(57, 169, 107, 0.14), transparent 24%),
    var(--white);
}

.form-status {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  background: rgba(217, 236, 242, 0.46);
}

.form-status span {
  color: var(--pipe-blue);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-status strong {
  color: var(--graphite);
  font-size: .92rem;
  text-align: right;
}

.full { grid-column: 1 / -1; }
.form-note { margin: 0; color: var(--steel); font-size: .86rem; }

.final-cta {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 28px;
  margin-bottom: 80px;
  padding: clamp(32px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(circle at 82% 20%, rgba(57,169,107,.24), transparent 28%),
    var(--white);
}

.final-cta p { max-width: 620px; margin: 0; }

.final-cta-v2 {
  background:
    radial-gradient(circle at 20% 18%, rgba(217, 236, 242, 0.28), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(227, 179, 65, 0.18), transparent 26%),
    var(--graphite);
}

.final-cta-v2 h2,
.final-cta-v2 p {
  color: var(--white);
}

.final-cta-v2 p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.final-cta-v2 .button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr .72fr auto;
  gap: 24px;
  align-items: start;
  padding: 42px max(20px, calc((100vw - 1160px) / 2));
  border-top: 1px solid var(--soft-border);
  background:
    radial-gradient(circle at 12% 22%, rgba(217, 236, 242, 0.58), transparent 24%),
    rgba(255, 255, 255, 0.48);
}

.site-footer strong {
  display: block;
  color: var(--graphite);
  font-size: 1.2rem;
}

.site-footer p { margin: 8px 0 0; color: var(--steel); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: end; }
.site-footer a { color: var(--graphite); font-weight: 780; text-decoration: none; }
.site-footer a:hover { color: var(--pipe-blue); }

.footer-contact {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.footer-contact span {
  color: var(--pipe-blue);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.copyright { grid-column: 1 / -1; font-size: .9rem; }

.basic-page {
  padding: 80px 0;
  max-width: 860px;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    border-radius: 20px;
  }
  .brand { min-width: 0; }
  .brand span,
  .brand small {
    overflow-wrap: anywhere;
  }
  .header-cta { display: none; }
  .nav-toggle {
    justify-self: end;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--soft-border);
    border-radius: 50%;
    background: var(--white);
  }
  .nav-toggle span { width: 19px; height: 2px; background: var(--graphite); }
  .primary-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .site-header.is-open .primary-nav { display: flex; }
  .primary-nav a { justify-content: flex-start; }
  .hero,
  .diagnostic-panel,
  .about-grid,
  .form-grid,
  .site-footer { grid-template-columns: 1fr; }
  .form-copy { position: static; }
  .form-status { align-items: flex-start; flex-direction: column; }
  .form-status strong { text-align: left; }
  .card-grid,
  .method-pipeline { grid-template-columns: repeat(2, 1fr); }
  .method-core { align-items: flex-start; flex-direction: column; }
  .proof-board { grid-template-columns: repeat(2, 1fr); }
  .proof-intro { grid-column: 1 / -1; grid-row: auto; }
  .proof-rise { grid-template-columns: 1fr; }
  .proof-rise i {
    width: 2px;
    height: 20px;
    justify-self: start;
    background: linear-gradient(180deg, var(--alert-coral), var(--growth-green));
  }
  .agency-focus { grid-template-columns: 1fr; }
  .problem-flow { grid-template-columns: 1fr; }
  .agency-proofline { grid-template-columns: 1fr; }
  .agency-proofline i { width: 2px; height: 18px; justify-self: center; }
  .problem-flow i {
    width: 2px;
    height: 24px;
    justify-self: center;
    background: linear-gradient(180deg, var(--pipe-blue), var(--growth-green));
  }
  .problem-flow i::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -2px;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 680px) {
  :root { --wrap: min(100vw - 28px, 1160px); }
  body { font-size: 16px; }
  h1 { font-size: clamp(2.05rem, 10vw, 2.75rem); }
  h2 { font-size: clamp(1.8rem, 8vw, 2.35rem); }
  .site-header {
    width: min(100vw - 20px, 1160px);
    margin-top: 8px;
    padding: 10px;
  }
  .brand small { font-size: .62rem; }
  .hero { min-height: auto; padding-top: 46px; }
  .hero-actions,
  .final-cta-actions,
  .hero-actions .button,
  .button { width: 100%; }
  .lab-visual { transform: none; }
  .card-grid,
  .method-pipeline,
  .proof-board,
  .proof-board-v3,
  .lead-form,
  .chips,
  .chips-three,
  .site-footer { grid-template-columns: 1fr; }
  .proof-slot { grid-column: auto; }
  .proof-intro { grid-column: auto; }
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-footer nav,
  .final-cta-actions {
    justify-content: start;
  }
  .footer-contact,
  .form-benefits span,
  .problem-flow span {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .primary-nav a,
  .button,
  .header-cta {
    min-height: 42px;
  }

  .lab-map {
    min-height: 220px;
  }

  .search-console em {
    width: fit-content;
  }

  .proof-city-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .portrait-stage {
    min-height: 390px;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 370px;
  }

  .portrait-frame {
    border-radius: 22px;
    transform: none;
  }

  .portrait-stage:hover .portrait-frame {
    transform: translateY(-3px);
  }

  .portrait-signal {
    right: 12px;
    top: 16px;
  }

  .portrait-card-mini {
    left: 12px;
    right: 12px;
    bottom: 18px;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .portrait-stage {
    min-height: 340px;
  }

  .portrait-frame,
  .portrait-frame img {
    min-height: 330px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .loader { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Premium visual layer: Plombier Visible */
body {
  background:
    radial-gradient(circle at 14% 10%, rgba(217, 236, 242, 0.9), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(227, 179, 65, 0.16), transparent 24%),
    linear-gradient(180deg, #fbf8f2 0%, var(--paper) 48%, #f1eee8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 26, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 30, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.64), transparent 72%);
}

.site-header {
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header:hover {
  transform: translateY(2px);
  box-shadow: 0 24px 70px rgba(21, 26, 30, 0.12);
}

.brand span {
  font-size: 1.03rem;
}

.header-cta,
.button-primary {
  position: relative;
  overflow: hidden;
}

.header-cta::after,
.button-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 32%, rgba(255, 255, 255, 0.32) 46%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 700ms ease;
}

.header-cta:hover::after,
.button-primary:hover::after {
  transform: translateX(130%);
}

.loader {
  background:
    radial-gradient(circle at 50% 36%, rgba(217, 236, 242, 0.92), transparent 30%),
    var(--paper);
}

.loader-card {
  transform: perspective(820px) rotateX(9deg) rotateY(-8deg);
}

.loader-card::before {
  content: "plombier bordeaux";
  position: absolute;
  left: 14px;
  top: -34px;
  padding: 7px 12px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: var(--white);
  color: var(--graphite);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 14px 40px rgba(21, 26, 30, 0.1);
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 26px 44% auto -8vw;
  height: 420px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(30, 107, 140, 0.16), rgba(57, 169, 107, 0.08));
  transform: rotate(-4deg);
  filter: blur(2px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(21, 26, 30, 0.08);
}

.hero-copy .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--growth-green);
  box-shadow: 0 0 0 6px rgba(57, 169, 107, 0.14);
}

h1 {
  letter-spacing: -0.025em;
}

.hero-copy p:not(.eyebrow) {
  max-width: 650px;
  font-size: clamp(1rem, 1.4vw, 1.17rem);
}

.lab-visual {
  position: relative;
  z-index: 1;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease;
  will-change: transform;
}

.lab-visual::before,
.lab-visual::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  pointer-events: none;
}

.lab-visual::before {
  inset: 18px -16px -18px 28px;
  z-index: -2;
  background: rgba(18, 55, 70, 0.16);
  transform: translateZ(-42px);
  filter: blur(3px);
}

.lab-visual::after {
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.lab-visual:hover {
  transform: perspective(950px) rotateX(var(--tilt-x, 4deg)) rotateY(var(--tilt-y, -7deg)) translateY(-6px);
  box-shadow: 0 42px 110px rgba(21, 26, 30, 0.24);
}

.lab-map {
  box-shadow: inset 0 0 0 1px rgba(30, 107, 140, 0.14);
}

.lab-map::after {
  content: "demande reçue";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--white);
  color: var(--growth-green);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 14px 38px rgba(21, 26, 30, 0.12);
}

.rank-list span,
.rank-list strong {
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease;
}

.lab-visual:hover .rank-list span,
.lab-visual:hover .rank-list strong {
  transform: translateX(4px);
}

.lab-visual:hover .rank-list strong {
  border-color: rgba(57, 169, 107, 0.46);
}

.section-head {
  position: relative;
}

.section-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 6px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pipe-blue), var(--growth-green), var(--rank-gold));
}

.problem-card,
.method-pipeline article,
.person-card,
.agency-card,
.lead-form,
.final-cta,
.diagnostic-panel {
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.problem-card::before,
.method-pipeline article::before,
.person-card::before,
.agency-card::before,
.lead-form::before,
.final-cta::before,
.diagnostic-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(217, 236, 242, 0.34) 59% 72%, transparent 73%),
    radial-gradient(circle at 88% 12%, rgba(227, 179, 65, 0.18), transparent 22%);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.problem-card:hover,
.method-pipeline article:hover,
.person-card:hover,
.agency-card:hover,
.lead-form:hover,
.final-cta:hover,
.diagnostic-panel:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(30, 107, 140, 0.24);
  box-shadow: var(--shadow-hover);
}

.problem-card:hover::before,
.method-pipeline article:hover::before,
.person-card:hover::before,
.agency-card:hover::before,
.lead-form:hover::before,
.final-cta:hover::before,
.diagnostic-panel:hover::before {
  opacity: 1;
}

.problem-card > *,
.method-pipeline article > *,
.person-card > *,
.agency-card > *,
.lead-form > *,
.final-cta > *,
.diagnostic-panel > * {
  position: relative;
  z-index: 1;
}

.diagnostic-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7)),
    var(--white);
  backdrop-filter: blur(14px);
}

.chips span {
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.chips span:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 26, 30, 0.09);
}

.diagnostic-result {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 60px rgba(21, 26, 30, 0.18);
}

.proof-board {
  position: relative;
  perspective: 1000px;
}

.proof-city,
.proof-intro,
.proof-slot,
.proof-metric {
  transition: transform 260ms ease, background 260ms ease, border-color 260ms ease;
  transform-style: preserve-3d;
}

.proof-city:hover,
.proof-intro:hover,
.proof-slot:hover,
.proof-metric:hover {
  transform: translateY(-8px) rotateX(5deg);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(227, 179, 65, 0.44);
}

.proof-city::after,
.proof-intro::after,
.proof-slot::after {
  content: "";
  display: block;
  min-height: 72px;
  margin-top: 16px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-pipeline article {
  min-height: 238px;
}

.method-pipeline article:nth-child(2)::after {
  background: linear-gradient(90deg, var(--growth-green), var(--rank-gold));
}

.method-pipeline article:nth-child(3)::after {
  background: linear-gradient(90deg, var(--rank-gold), var(--pipe-blue));
}

.method-pipeline article:nth-child(4)::after {
  background: linear-gradient(90deg, var(--pipe-blue), var(--growth-green));
}

.portrait-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  box-shadow: inset 0 0 0 1px rgba(30, 107, 140, 0.12);
}

.portrait-placeholder::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: 34px;
  top: 40px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--white), transparent 18%),
    linear-gradient(145deg, var(--rank-gold), var(--pipe-blue));
  opacity: 0.82;
  transform: translateZ(20px);
}

.portrait-placeholder::after {
  content: "SEO local";
  position: absolute;
  right: 22px;
  bottom: 26px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--graphite);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
}

.agency-card {
  background:
    radial-gradient(circle at 92% 12%, rgba(57, 169, 107, 0.16), transparent 22%),
    var(--white);
}

.badges span {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.badges span:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(21, 26, 30, 0.1);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.diagnostic-controls input:focus,
.diagnostic-controls select:focus {
  border-color: rgba(30, 107, 140, 0.55);
  box-shadow: 0 0 0 4px rgba(30, 107, 140, 0.12);
  outline: none;
}

.final-cta {
  isolation: isolate;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: auto 9% -36px;
  height: 90px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(21, 26, 30, 0.12);
  filter: blur(22px);
}

@media (max-width: 680px) {
  .hero::before,
  .lab-visual::before {
    display: none;
  }

  .site-header:hover,
  .problem-card:hover,
  .method-pipeline article:hover,
  .person-card:hover,
  .agency-card:hover,
  .lead-form:hover,
  .final-cta:hover,
  .diagnostic-panel:hover {
    transform: none;
  }
}

/* Opening experience: loader and hero */
.loader {
  background:
    radial-gradient(circle at 30% 18%, rgba(217, 236, 242, 0.92), transparent 26%),
    radial-gradient(circle at 72% 70%, rgba(227, 179, 65, 0.22), transparent 24%),
    var(--paper);
}

.loader-stage {
  display: grid;
  gap: 12px;
  width: min(420px, calc(100vw - 42px));
  animation: loaderLift 1.28s ease both;
}

.loader-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 14px;
  border: 1px solid var(--soft-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 52px rgba(21, 26, 30, 0.1);
}

.loader-search span {
  width: 16px;
  height: 16px;
  border: 3px solid var(--pipe-blue);
  border-radius: 50%;
  box-shadow: 9px 9px 0 -6px var(--pipe-blue);
}

.loader-search strong {
  color: var(--graphite);
  font-size: .88rem;
}

.loader-card {
  grid-template-columns: minmax(0, 1fr) 96px;
  min-height: 190px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.72)),
    var(--white);
}

.loader-map {
  min-height: 158px;
  background:
    linear-gradient(135deg, rgba(30, 107, 140, 0.1) 25%, transparent 25%) 0 0 / 42px 42px,
    var(--map-blue);
}

.loader-map::before {
  inset: 74px 18px auto;
  transform: rotate(-18deg);
}

.loader-street {
  position: absolute;
  width: 54%;
  height: 2px;
  border-radius: 999px;
  background: rgba(18, 55, 70, 0.22);
}

.loader-street-one { left: 16px; top: 34px; transform: rotate(22deg); }
.loader-street-two { right: 16px; bottom: 34px; transform: rotate(22deg); }

.loader-pin {
  left: 22px;
  bottom: 22px;
  background: var(--graphite);
  box-shadow: 0 12px 28px rgba(21, 26, 30, 0.24);
}

.loader-rank span,
.loader-rank strong {
  min-height: 44px;
  border: 1px solid rgba(21, 26, 30, 0.08);
}

.loader-rank span:nth-child(2) {
  color: var(--rank-gold);
}

.loader-call {
  right: 18px;
  bottom: 16px;
  background: var(--growth-green);
  color: var(--white);
}

.loader-note {
  left: 18px;
  bottom: -18px;
}

@keyframes loaderLift {
  0% { opacity: 0; transform: translateY(14px) scale(.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero {
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

.search-console {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(21, 26, 30, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.search-console span {
  width: 16px;
  height: 16px;
  border: 3px solid var(--pipe-blue);
  border-radius: 50%;
  box-shadow: 9px 9px 0 -6px var(--pipe-blue);
}

.search-console strong {
  color: var(--graphite);
  font-size: .92rem;
}

.search-console em {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(57, 169, 107, 0.14);
  color: var(--growth-green);
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.lab-map {
  box-shadow: inset 0 0 0 1px rgba(30, 107, 140, 0.12);
}

.city,
.phone,
.map-pulse {
  z-index: 2;
}

.rank-list span,
.rank-list strong {
  grid-template-columns: 42px 1fr;
  justify-items: start;
  gap: 10px;
}

.rank-list em {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(30, 107, 140, 0.1);
  color: var(--pipe-blue);
  font-style: normal;
  font-weight: 950;
}

.rank-list strong em {
  background: rgba(57, 169, 107, 0.14);
  color: var(--growth-green);
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.hero-kpis span {
  display: grid;
  gap: 2px;
  padding: 13px;
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.hero-kpis strong {
  color: var(--graphite);
  font-size: .92rem;
}

.hero-kpis small {
  color: var(--steel);
  font-size: .76rem;
}

@media (max-width: 680px) {
  .search-console,
  .hero-kpis {
    grid-template-columns: 1fr;
  }

  .search-console {
    align-items: start;
  }
}

/* Diagnostic module v2 */
.diagnostic-panel-v2 {
  grid-template-columns: .8fr 1fr .82fr;
  align-items: stretch;
}

.diagnostic-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.diagnostic-controls {
  align-self: stretch;
  padding: 18px;
  border: 1px solid rgba(21, 26, 30, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.56)),
    var(--white);
}

.diagnostic-result-v2 {
  position: relative;
  overflow: hidden;
}

.diagnostic-result-v2::before {
  content: "";
  position: absolute;
  inset: -34% -20% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 169, 107, 0.3), transparent 62%);
}

.diagnostic-meter {
  position: relative;
  height: 12px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.diagnostic-meter i {
  display: block;
  width: 88%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--alert-coral), var(--rank-gold), var(--growth-green));
  transition: width 240ms ease;
}

.diagnostic-signals {
  display: grid;
  gap: 9px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.diagnostic-signals li {
  display: grid;
  gap: 2px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.diagnostic-signals b {
  color: var(--white);
  font-size: .94rem;
}

.diagnostic-signals small {
  color: rgba(255, 255, 255, 0.62);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

@media (max-width: 1050px) {
  .diagnostic-panel-v2 {
    grid-template-columns: 1fr;
  }
}

/* Realistic opening direction */
.loader-story {
  display: grid;
  gap: 12px;
  width: min(440px, calc(100vw - 40px));
  padding: 16px;
  border: 1px solid var(--soft-border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  animation: loaderLift 1.2s ease both;
}

.loader-google,
.loader-phone {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(21, 26, 30, 0.08);
}

.loader-google span,
.loader-phone span {
  color: var(--pipe-blue);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.loader-google strong,
.loader-phone strong {
  color: var(--graphite);
}

.loader-positions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.loader-positions span,
.loader-positions strong {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 14px;
  background: rgba(217, 236, 242, 0.64);
  color: var(--steel);
  font-weight: 950;
  animation: rankStep 1.1s ease both;
}

.loader-positions span:nth-child(2) { animation-delay: .12s; }
.loader-positions span:nth-child(3) { animation-delay: .24s; }
.loader-positions strong {
  background: rgba(57, 169, 107, 0.16);
  color: var(--growth-green);
  animation-delay: .36s;
}

@keyframes rankStep {
  0% { opacity: .28; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.real-hero-visual {
  position: relative;
  min-height: 650px;
  border-radius: 30px;
  isolation: isolate;
  perspective: 1100px;
}

.real-hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 5% 2% 9%;
  z-index: -1;
  border-radius: 34px;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.8), transparent 20%),
    linear-gradient(145deg, rgba(217, 236, 242, 0.84), rgba(227, 179, 65, 0.12));
  transform: rotate(-3deg);
  box-shadow: var(--shadow);
}

.real-hero-visual img {
  width: 100%;
  height: 650px;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(21, 26, 30, 0.12);
  border-radius: 30px;
  box-shadow: 0 34px 100px rgba(21, 26, 30, 0.2);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.real-hero-visual:hover img {
  transform: rotateY(-1deg) rotateX(1deg) translateY(-5px) scale(1.01);
  box-shadow: 0 44px 120px rgba(21, 26, 30, 0.26);
}

.hero-search-card,
.hero-result-card,
.hero-call-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 24px 64px rgba(21, 26, 30, 0.18);
  backdrop-filter: blur(14px);
}

.hero-search-card {
  left: -10px;
  top: 46px;
  min-width: 240px;
}

.hero-result-card {
  right: -8px;
  top: 44%;
  min-width: 240px;
}

.hero-call-card {
  left: 40px;
  bottom: 54px;
  min-width: 210px;
  background: rgba(57, 169, 107, 0.92);
  color: var(--white);
}

.hero-search-card span,
.hero-result-card span,
.hero-call-card span {
  color: var(--pipe-blue);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-call-card span,
.hero-call-card strong {
  color: var(--white);
}

.hero-search-card strong,
.hero-result-card strong,
.hero-call-card strong {
  color: var(--graphite);
  font-size: 1.02rem;
}

.hero-call-card strong {
  color: var(--white);
}

.hero-result-card small {
  color: var(--steel);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .real-hero-visual,
  .real-hero-visual img {
    min-height: 520px;
    height: 520px;
  }

  .real-hero-visual img {
    transform: none;
  }
}

@media (max-width: 680px) {
  .real-hero-visual,
  .real-hero-visual img {
    min-height: 440px;
    height: 440px;
  }

  .hero-search-card,
  .hero-result-card,
  .hero-call-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    min-width: 0;
    margin-top: 10px;
  }

  .real-hero-visual {
    display: grid;
  }
}

/* PV 2026 reboot: sharper, clearer, less template */
:root {
  --paper: #F4F1EA;
  --white: #FFFFFF;
  --graphite: #101417;
  --ink: #1A2025;
  --steel: #66717A;
  --pipe-blue: #176C83;
  --map-blue: #E4F2F4;
  --growth-green: #2F9F67;
  --rank-gold: #CFA13A;
  --alert-coral: #D85F45;
  --shadow: 0 30px 90px rgba(16, 20, 23, 0.14);
  --shadow-hover: 0 38px 110px rgba(16, 20, 23, 0.2);
}

body {
  background:
    linear-gradient(90deg, rgba(16, 20, 23, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 52%, #ede9df 100%);
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

.site-header {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
}

.loader-reboot {
  background: #fbfaf6;
}

.loader-reboot-card {
  display: grid;
  gap: 14px;
  width: min(440px, calc(100vw - 40px));
  padding: 20px;
  border: 1px solid rgba(16, 20, 23, 0.1);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.loader-reboot-card > span {
  color: var(--pipe-blue);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.loader-reboot-card div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.loader-reboot-card i,
.loader-reboot-card strong {
  display: grid;
  min-height: 54px;
  place-items: center;
  border-radius: 14px;
  background: #f0f2ef;
  color: var(--steel);
  font-style: normal;
  font-weight: 950;
  animation: rankStep 1.1s ease both;
}

.loader-reboot-card strong {
  background: rgba(47, 159, 103, 0.15);
  color: var(--growth-green);
  animation-delay: .24s;
}

.loader-reboot-card p {
  margin: 0;
  color: var(--graphite);
  font-weight: 950;
}

.hero-reboot {
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  min-height: calc(100vh - 86px);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.hero-reboot h1 {
  max-width: 820px;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  line-height: .94;
}

.hero-reboot .hero-copy p:not(.eyebrow) {
  max-width: 660px;
  color: #4f5a63;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

.hero-proof-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(16, 20, 23, 0.1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 8%, rgba(207, 161, 58, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow);
}

.hero-proof-panel::before {
  content: "";
  position: absolute;
  inset: auto 10% -30px;
  height: 70px;
  border-radius: 50%;
  background: rgba(16, 20, 23, 0.16);
  filter: blur(24px);
  z-index: -1;
}

.hero-proof-top {
  display: grid;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 20, 23, 0.1);
}

.hero-proof-top span,
.hero-query span,
.hero-callout span {
  color: var(--pipe-blue);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-proof-top strong {
  color: var(--graphite);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1;
}

.hero-query,
.hero-callout {
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 20px;
  background: #f6f7f4;
}

.hero-query strong {
  color: var(--graphite);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

.hero-ranking-path {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.hero-ranking-path span,
.hero-ranking-path strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: #eef2ef;
  color: var(--steel);
  font-weight: 950;
}

.hero-ranking-path strong {
  background: rgba(47, 159, 103, 0.14);
  color: var(--growth-green);
  box-shadow: inset 0 0 0 1px rgba(47, 159, 103, 0.18);
}

.hero-ranking-path i {
  height: 2px;
  background: linear-gradient(90deg, var(--alert-coral), var(--rank-gold), var(--growth-green));
}

.hero-callout {
  background: var(--graphite);
}

.hero-callout strong {
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.concrete-reading {
  background: #101417;
  color: var(--white);
}

.concrete-reading .section-head h2,
.concrete-reading .section-head p {
  color: var(--white);
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.reading-card,
.reading-result {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.reading-card span {
  color: var(--rank-gold);
  font-weight: 950;
}

.reading-card h3 {
  color: var(--white);
}

.reading-card p,
.reading-result p {
  color: rgba(255, 255, 255, 0.72);
}

.reading-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
}

.reading-result strong {
  color: var(--rank-gold);
}

.method-reboot .method-board {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 18px;
}

.method-board-intro {
  position: sticky;
  top: 120px;
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 28px;
  background: var(--graphite);
  color: var(--white);
  box-shadow: var(--shadow);
}

.method-board-intro span {
  color: var(--rank-gold);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.method-board-intro strong {
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: .98;
}

.method-steps {
  display: grid;
  gap: 12px;
}

.method-steps article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(16, 20, 23, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
}

.method-steps span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  background: var(--graphite);
  color: var(--white);
  font-weight: 950;
}

.method-steps h3 {
  margin: 0;
}

.method-steps p {
  grid-column: 2;
  margin: -4px 0 0;
  color: var(--steel);
}

@media (max-width: 1050px) {
  .hero-reboot,
  .method-reboot .method-board {
    grid-template-columns: 1fr;
  }

  .method-board-intro {
    position: static;
  }
}

@media (max-width: 760px) {
  .hero-reboot h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-ranking-path,
  .reading-grid {
    grid-template-columns: 1fr;
  }

  .hero-ranking-path i {
    width: 2px;
    height: 18px;
    justify-self: center;
  }

  .reading-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .method-steps article {
    grid-template-columns: 1fr;
  }

  .method-steps p {
    grid-column: auto;
  }
}

/* Noble marketing pass */
:root {
  --paper: #F5F1E8;
  --white: #FFFFFF;
  --graphite: #0E1214;
  --ink: #171D21;
  --steel: #5E6971;
  --pipe-blue: #145F75;
  --map-blue: #E7F1F1;
  --growth-green: #237A53;
  --rank-gold: #B88A2A;
  --alert-coral: #C9583F;
  --soft-border: rgba(14, 18, 20, 0.11);
  --shadow: 0 32px 90px rgba(14, 18, 20, 0.12);
  --shadow-hover: 0 42px 120px rgba(14, 18, 20, 0.18);
}

body {
  background:
    linear-gradient(90deg, rgba(14,18,20,.028) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 42%, #eee9de 100%);
  color: var(--ink);
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

h3,
button,
.button,
.eyebrow,
.brand,
.primary-nav {
  font-family: "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
}

.eyebrow {
  color: var(--rank-gold);
  font-size: .74rem;
  letter-spacing: .12em;
}

.site-header {
  width: min(1180px, calc(100vw - 36px));
  padding: 11px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 60px rgba(14,18,20,.075);
}

.brand span {
  font-size: 1.02rem;
}

.brand small {
  color: var(--steel);
  letter-spacing: .05em;
}

.primary-nav a {
  color: #46525a;
}

.button,
.header-cta {
  border-radius: 12px;
  letter-spacing: 0;
}

.button-primary,
.header-cta {
  background: var(--graphite);
}

.button-secondary {
  background: transparent;
  border-color: rgba(14,18,20,.16);
}

.hero-reboot {
  width: min(1180px, calc(100vw - 40px));
  padding: clamp(82px, 10vw, 150px) 0 clamp(70px, 8vw, 120px);
}

.hero-reboot h1 {
  max-width: 760px;
  font-size: clamp(3.5rem, 7vw, 7.25rem);
  line-height: .88;
}

.hero-reboot .hero-copy p:not(.eyebrow) {
  max-width: 620px;
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
  line-height: 1.6;
}

.hero-proof-strip {
  gap: 8px;
}

.hero-proof-strip span {
  border-radius: 12px;
  background: rgba(255,255,255,.64);
  color: var(--graphite);
}

.hero-proof-panel {
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 12%, rgba(184, 138, 42, .18), transparent 22%),
    linear-gradient(145deg, #ffffff, #f7f5ee);
  box-shadow: 0 34px 100px rgba(14,18,20,.13);
}

.hero-proof-top strong {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 500;
  letter-spacing: -.035em;
}

.hero-ranking-path span,
.hero-ranking-path strong {
  border-radius: 14px;
}

.selfcity {
  padding-top: clamp(84px, 9vw, 130px);
  padding-bottom: clamp(84px, 9vw, 130px);
  background:
    radial-gradient(circle at 15% 12%, rgba(20,95,117,.22), transparent 24%),
    linear-gradient(135deg, #0E1214, #182126 58%, #0E1214);
}

.selfcity .section-head {
  max-width: 930px;
}

.selfcity .section-head h2 {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 5.1rem);
}

.selfcity .section-head p {
  max-width: 760px;
  color: rgba(255,255,255,.72);
}

.proof-board-v3 {
  gap: 18px;
}

.proof-intro,
.proof-city,
.proof-serp-card {
  border-radius: 22px;
}

.proof-intro {
  padding: clamp(22px, 3vw, 36px);
  background: rgba(255,255,255,.075);
}

.proof-intro strong {
  max-width: 960px;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 500;
}

.proof-rise {
  max-width: 860px;
}

.proof-city {
  padding: clamp(16px, 2vw, 24px);
  background: rgba(255,255,255,.085);
  border-style: solid;
}

.proof-city-head strong {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 500;
  font-size: 2rem;
}

.proof-city-head em {
  background: rgba(184,138,42,.18);
}

.proof-capture-card img {
  max-height: 430px;
  border-radius: 14px;
}

.proof-story {
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}

.problem,
.concrete-reading,
.method,
.about,
.form-section {
  padding-top: clamp(86px, 9vw, 132px);
  padding-bottom: clamp(86px, 9vw, 132px);
}

.problem-flow,
.problem-card,
.reading-card,
.method-steps article,
.person-card,
.agency-card,
.lead-form {
  border-radius: 22px;
  box-shadow: none;
}

.concrete-reading {
  background: #121719;
}

.reading-grid {
  gap: 18px;
}

.reading-card {
  min-height: 260px;
  padding: 28px;
}

.reading-result {
  border-radius: 22px;
  padding: 24px 28px;
}

.method-reboot .section-head {
  max-width: 900px;
}

.method-board-intro {
  border-radius: 24px;
  background:
    radial-gradient(circle at 78% 12%, rgba(184,138,42,.18), transparent 24%),
    var(--graphite);
}

.method-steps article {
  border-radius: 20px;
  background: rgba(255,255,255,.72);
}

.about-grid-v2 {
  gap: clamp(24px, 4vw, 54px);
}

.portrait-frame {
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(14,18,20,.17);
}

.agency-card-v2 h2 {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 500;
  letter-spacing: -.035em;
  font-size: clamp(2rem, 3.6vw, 3.7rem);
  line-height: .98;
}

.form-section {
  background: linear-gradient(180deg, transparent, rgba(231,241,241,.82));
}

.lead-form-v2,
.form-benefits span {
  border-radius: 18px;
}

.final-cta-v2 {
  width: min(1180px, calc(100vw - 40px));
  border-radius: 28px;
}

.final-cta-v2 h2 {
  max-width: 840px;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-weight: 500;
  letter-spacing: -.04em;
}

.site-footer-v2 {
  background: rgba(255,255,255,.58);
}

@media (max-width: 760px) {
  .hero-reboot {
    width: min(100vw - 28px, 1180px);
    padding-top: 62px;
  }

  .hero-reboot h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .proof-board-v3 {
    grid-template-columns: 1fr;
  }

  .final-cta-v2 {
    width: min(100vw - 28px, 1180px);
  }
}

/* Repair pass: richer premium composition */
.hero-proof-panel-premium {
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
}

.hero-proof-panel-premium::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 95, 117, .2), transparent 64%);
}

.hero-proof-panel-premium > * {
  position: relative;
  z-index: 1;
}

.hero-case-card,
.hero-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-case-card div,
.hero-result-grid div {
  padding: 16px;
  border: 1px solid rgba(14, 18, 20, .09);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
}

.hero-case-card span,
.hero-result-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--pipe-blue);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-case-card strong {
  color: var(--graphite);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.hero-result-grid strong {
  display: block;
  color: var(--growth-green);
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: .85;
}

.hero-result-grid small {
  color: var(--steel);
  font-weight: 850;
}

.selfcity-context {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.selfcity-context div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
}

.selfcity-context span {
  color: var(--rank-gold);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.selfcity-context strong {
  color: var(--white);
  font-size: 1.08rem;
}

.selfcity-context small {
  color: rgba(255,255,255,.62);
  line-height: 1.35;
}

.proof-board-v3 {
  align-items: start;
}

.proof-city {
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
}

.method-board-intro p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 1rem;
}

.method-steps article {
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.method-steps article::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--pipe-blue), var(--growth-green), var(--rank-gold));
  opacity: .6;
}

.method-steps article:hover {
  transform: translateX(6px);
  border-color: rgba(20,95,117,.24);
  background: var(--white);
}

.section-head h2 {
  text-wrap: balance;
}

.section-head p,
.hero-copy p,
.proof-story,
.method-steps p {
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .selfcity-context,
  .hero-case-card,
  .hero-result-grid {
    grid-template-columns: 1fr;
  }
}

/* Signature pass: first-screen conversion theatre */
.loader-proof {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 52% 36%, rgba(30, 107, 140, .14), transparent 30%),
    linear-gradient(135deg, #fbf8f1 0%, #edf4f3 100%);
  color: var(--graphite);
  transition: opacity .46s ease, visibility .46s ease;
}

.loader-proof.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-proof-card {
  width: min(420px, calc(100vw - 44px));
  padding: 22px;
  border: 1px solid rgba(21,26,30,.1);
  border-radius: 28px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 38px 90px rgba(21,26,30,.16);
  backdrop-filter: blur(18px);
}

.loader-search {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--white);
}

.loader-search span,
.loader-proof-card p {
  margin: 0;
  color: var(--steel);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.loader-search strong {
  color: var(--graphite);
}

.loader-path {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 18px 0 14px;
}

.loader-path i,
.loader-path strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-style: normal;
  font-weight: 950;
  background: rgba(21,26,30,.08);
}

.loader-path strong {
  color: var(--white);
  background: var(--growth-green);
  animation: loaderPop 1.2s ease both;
}

.loader-path span {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30,107,140,.18), rgba(57,169,107,.8));
  transform-origin: left;
  animation: loaderLine 1.1s ease both;
}

.loader-proof-card p {
  text-align: center;
}

.loader-brand-mark {
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 30px 34px 28px;
  text-align: center;
}

.loader-logo-seal {
  position: relative;
  width: clamp(98px, 18vw, 142px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 26px 38px rgba(37, 125, 123, .22));
  animation: loaderSealIn .92s cubic-bezier(.2, .82, .2, 1) both;
}

.loader-logo-seal::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(37, 125, 123, .18), transparent 66%);
  transform: scale(.74);
  opacity: 0;
  animation: loaderHalo 1.12s ease .12s both;
}

.loader-logo-seal svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.loader-logo-disc {
  fill: #3d8f8c;
  stroke: #3d8f8c;
  stroke-width: 1;
}

.loader-logo-ring,
.loader-logo-chevron {
  fill: none;
  stroke: var(--white);
  stroke-linecap: round;
  stroke-linejoin: round;
}

.loader-logo-ring {
  stroke-width: 6;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: loaderDraw .9s ease .3s both;
}

.loader-logo-chevron {
  stroke-width: 8;
  stroke-dasharray: 86;
  stroke-dashoffset: 86;
  animation: loaderDraw .68s ease .66s both;
}

.loader-brand-mark strong {
  position: relative;
  margin-top: 6px;
  color: #3d8f8c;
  font-size: clamp(1.02rem, 2.2vw, 1.42rem);
  font-weight: 900;
  letter-spacing: .32em;
  text-indent: .32em;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  animation: loaderWordmarkIn .64s ease 1.08s both;
}

.loader-brand-mark strong::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  width: min(210px, 58vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 143, 140, .55), transparent);
  transform: translateX(-50%) scaleX(0);
  animation: loaderDivider .52s ease .98s both;
}

.loader-brand-mark span {
  color: var(--steel);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  animation: loaderWordmarkIn .56s ease 1.38s both;
}

@keyframes loaderSealIn {
  0% { opacity: 0; transform: translateY(16px) scale(.74) rotate(-8deg); }
  72% { opacity: 1; transform: translateY(0) scale(1.04) rotate(0deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes loaderHalo {
  0% { opacity: 0; transform: scale(.68); }
  55% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes loaderDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes loaderDivider {
  to { transform: translateX(-50%) scaleX(1); }
}

@keyframes loaderWordmarkIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-wow {
  position: relative;
  isolation: isolate;
  width: min(1240px, calc(100vw - 48px));
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 126px) 0 clamp(58px, 7vw, 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(440px, .96fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.hero-wow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 38px max(-4vw, -42px) auto auto;
  width: min(620px, 58vw);
  height: min(620px, 58vw);
  border-radius: 42% 58% 54% 46%;
  background:
    radial-gradient(circle at 58% 30%, rgba(227,179,65,.28), transparent 18%),
    radial-gradient(circle at 48% 52%, rgba(30,107,140,.22), transparent 38%),
    rgba(217,236,242,.56);
  filter: blur(.2px);
  transform: rotate(-8deg);
}

.hero-wow-copy {
  max-width: 690px;
}

.hero-trustline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-trustline span {
  padding: 9px 12px;
  border: 1px solid rgba(21,26,30,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--pipe-blue);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-wow .eyebrow {
  color: var(--alert-coral);
  letter-spacing: .12em;
}

.hero-wow h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(3.3rem, 7.8vw, 6.9rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .88;
  color: var(--graphite);
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #344047;
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  line-height: 1.56;
}

.hero-lead strong {
  color: var(--deep-map);
  font-weight: 950;
}

.hero-author {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin-top: 26px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(21,26,30,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 48px rgba(21,26,30,.1);
}

.hero-author img,
.author-initials {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 3px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 26px rgba(21,26,30,.18);
}

.author-initials {
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 950;
  background: var(--pipe-blue);
}

.hero-author strong,
.hero-author span {
  display: block;
}

.hero-author strong {
  color: var(--graphite);
  font-size: 1rem;
}

.hero-author span {
  color: var(--steel);
  font-size: .86rem;
  font-weight: 750;
}

.hero-wow .hero-actions {
  margin-top: 30px;
}

.hero-wow-board {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(20px, 2.8vw, 34px);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 12%, rgba(227,179,65,.18), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(57,169,107,.2), transparent 28%),
    linear-gradient(145deg, #11181b 0%, #192328 48%, #0f171a 100%);
  box-shadow: 0 46px 110px rgba(21,26,30,.28);
  color: var(--white);
  transform: perspective(1100px) rotateY(-5deg) rotateX(2deg);
  transform-style: preserve-3d;
}

.hero-wow-board::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  pointer-events: none;
}

.hero-wow-board:hover {
  transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.search-glass,
.rank-card,
.city-proof-pill,
.call-signal {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}

.search-glass {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 22px;
}

.search-glass span,
.rank-card span,
.city-proof-pill span,
.call-signal span {
  color: rgba(255,255,255,.58);
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.search-glass strong {
  color: var(--white);
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
}

.rank-transformation {
  display: grid;
  grid-template-columns: 1fr 74px 1fr;
  gap: 12px;
  align-items: stretch;
}

.rank-card {
  min-height: 190px;
  padding: 20px;
  border-radius: 26px;
  transition: transform .24s ease, background .24s ease;
}

.rank-card strong {
  display: block;
  margin: 12px 0 8px;
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(4.1rem, 8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -.08em;
  line-height: .8;
}

.rank-card small {
  display: block;
  max-width: 190px;
  color: rgba(255,255,255,.66);
  font-weight: 750;
  line-height: 1.35;
}

.rank-before strong {
  color: rgba(255,255,255,.46);
}

.rank-after {
  background: linear-gradient(145deg, rgba(57,169,107,.24), rgba(255,255,255,.1));
}

.rank-after strong {
  color: var(--rank-gold);
}

.rank-card:hover {
  transform: translateY(-5px) scale(1.015);
  background: rgba(255,255,255,.13);
}

.rank-arrow {
  position: relative;
  display: grid;
  place-items: center;
}

.rank-arrow span {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.rank-arrow::before,
.rank-arrow::after {
  content: "";
  position: absolute;
}

.rank-arrow::before {
  width: 70px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(231,111,81,.85), var(--rank-gold), var(--growth-green));
}

.rank-arrow::after {
  right: -1px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--growth-green);
  border-right: 3px solid var(--growth-green);
  transform: rotate(45deg);
}

.city-proof-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.city-proof-pill {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 18px;
  border-radius: 24px;
  color: var(--white);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.city-proof-pill strong {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .86;
}

.city-proof-pill small {
  color: rgba(255,255,255,.68);
  font-weight: 800;
}

.city-proof-pill:hover {
  transform: translateY(-5px);
  border-color: rgba(227,179,65,.42);
  background: rgba(255,255,255,.13);
}

.call-signal {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 26px;
}

.phone-ring {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  color: var(--graphite);
  font-size: 1.5rem;
  background: var(--rank-gold);
  box-shadow: 0 0 0 8px rgba(227,179,65,.14);
}

.call-signal strong {
  display: block;
  margin-top: 5px;
  max-width: 440px;
  color: var(--white);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.25;
}

@keyframes loaderLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes loaderPop {
  0%, 55% { transform: scale(.86); opacity: .45; }
  100% { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-path span,
  .loader-path strong,
  .loader-logo-seal,
  .loader-logo-seal::before,
  .loader-logo-ring,
  .loader-logo-chevron,
  .loader-brand-mark strong,
  .loader-brand-mark strong::before,
  .loader-brand-mark span {
    animation: none;
  }

  .loader-logo-ring,
  .loader-logo-chevron {
    stroke-dashoffset: 0;
  }

  .loader-brand-mark strong,
  .loader-brand-mark span {
    opacity: 1;
    transform: none;
  }

  .hero-wow-board,
  .hero-wow-board:hover,
  .rank-card:hover,
  .city-proof-pill:hover {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .hero-wow {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-wow-copy {
    max-width: 860px;
  }

  .hero-wow-board {
    transform: none;
  }
}

@media (max-width: 680px) {
  .hero-wow {
    width: min(100vw - 28px, 1240px);
    padding-top: 58px;
  }

  .hero-wow h1 {
    font-size: clamp(3.05rem, 15vw, 4.65rem);
  }

  .hero-author {
    align-items: flex-start;
    border-radius: 24px;
  }

  .hero-actions,
  .hero-wow .hero-actions {
    display: grid;
  }

  .rank-transformation,
  .city-proof-row {
    grid-template-columns: 1fr;
  }

  .rank-arrow {
    min-height: 34px;
    transform: rotate(90deg);
  }

  .rank-card {
    min-height: 150px;
  }

  .search-glass {
    display: grid;
  }

  .call-signal {
    grid-template-columns: 1fr;
  }
}

/* Care pass: smaller entry copy and more refined downstream sections */
.hero-wow {
  min-height: calc(100svh - 116px);
  padding-top: clamp(54px, 6vw, 92px);
}

.hero-wow h1 {
  max-width: 720px;
  font-size: clamp(2.85rem, 5.9vw, 5.7rem);
  line-height: .94;
}

.hero-lead {
  max-width: 620px;
  font-size: clamp(1.02rem, 1.22vw, 1.18rem);
}

.hero-wow-board {
  gap: 14px;
  border-radius: 30px;
}

.rank-card {
  min-height: 164px;
}

.rank-card strong {
  font-size: clamp(3.4rem, 6vw, 5.4rem);
}

.city-proof-pill {
  min-height: 108px;
}

.phone-ring {
  width: 62px;
  height: 50px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.call-signal strong {
  max-width: 460px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.section {
  padding-top: clamp(70px, 8vw, 120px);
  padding-bottom: clamp(70px, 8vw, 120px);
}

.section-head {
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section-head h2 {
  letter-spacing: -.035em;
}

.selfcity {
  position: relative;
}

.selfcity::before,
.problem::before,
.form-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.selfcity::before {
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(217,236,242,.36), transparent);
}

.proof-board-v3,
.problem-flow,
.method-board-premium,
.form-grid-v2 {
  border: 1px solid rgba(21,26,30,.08);
  box-shadow: 0 30px 90px rgba(21,26,30,.09);
}

.proof-board-v3 {
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(247,244,238,.74)),
    var(--paper);
}

.proof-intro.selfcity-simple {
  border-radius: 26px;
}

.proof-city-featured {
  border-radius: 28px;
  overflow: hidden;
}

.proof-city-head em {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(57,169,107,.12);
  color: var(--growth-green);
  font-style: normal;
  font-weight: 950;
}

.proof-capture-card img {
  transition: transform .45s ease, filter .45s ease;
}

.capture-open:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.04);
}

.problem {
  position: relative;
}

.problem::before {
  background:
    linear-gradient(90deg, transparent 0%, rgba(231,111,81,.06) 48%, transparent 100%),
    linear-gradient(180deg, transparent, rgba(255,255,255,.52), transparent);
}

.problem-flow {
  max-width: 900px;
  margin-inline: auto;
  padding: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.74);
}

.problem-card {
  position: relative;
  min-height: 265px;
  border-color: rgba(21,26,30,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,111,81,.24), transparent 68%);
}

.problem-card:hover {
  transform: translateY(-7px);
  border-color: rgba(231,111,81,.2);
  box-shadow: 0 28px 72px rgba(21,26,30,.12);
}

.concrete-reading {
  background:
    radial-gradient(circle at 16% 12%, rgba(227,179,65,.12), transparent 28%),
    linear-gradient(145deg, #101619, #182126);
}

.concrete-reading .section-head h2,
.concrete-reading .reading-result strong,
.reading-card h3 {
  color: var(--white);
}

.reading-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(12px);
  transition: transform .24s ease, background .24s ease, border-color .24s ease;
}

.reading-card:hover {
  transform: translateY(-7px);
  border-color: rgba(227,179,65,.28);
  background: rgba(255,255,255,.1);
}

.reading-card span {
  color: var(--rank-gold);
}

.reading-result {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.08);
}

.method-board-premium {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) 1.24fr;
  gap: 18px;
  padding: 18px;
  border-radius: 34px;
  background: rgba(255,255,255,.66);
}

.method-board-premium .method-board-intro {
  min-height: 100%;
  border-radius: 26px;
}

.method-steps-premium {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.method-steps-premium article {
  display: grid;
  min-height: 230px;
  align-content: space-between;
  padding: 24px;
  border: 1px solid rgba(21,26,30,.08);
  border-radius: 26px;
  background: rgba(255,255,255,.82);
}

.method-steps-premium article span {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--pipe-blue);
  background: rgba(30,107,140,.1);
}

.method-steps-premium article h3 {
  margin-top: 24px;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
}

.about-premium {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.5));
}

.portrait-frame.has-portrait img {
  transition: transform .55s ease, filter .55s ease;
}

.portrait-frame.has-portrait:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

.form-grid-v2 {
  padding: clamp(18px, 2.6vw, 34px);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 10%, rgba(30,107,140,.11), transparent 26%),
    rgba(255,255,255,.72);
}

.lead-form-v2 {
  border: 1px solid rgba(21,26,30,.09);
  background: rgba(255,255,255,.88);
}

.lead-form-v2 input,
.lead-form-v2 select,
.lead-form-v2 textarea {
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.lead-form-v2 input:focus,
.lead-form-v2 select:focus,
.lead-form-v2 textarea:focus {
  border-color: rgba(30,107,140,.48);
  box-shadow: 0 0 0 4px rgba(30,107,140,.12);
  background: var(--white);
}

.final-cta-v2 {
  background:
    radial-gradient(circle at 78% 10%, rgba(227,179,65,.18), transparent 26%),
    linear-gradient(145deg, #101619, #1b272d);
}

@media (max-width: 980px) {
  .method-board-premium {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-wow h1 {
    font-size: clamp(2.62rem, 12.5vw, 3.75rem);
    line-height: .98;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .method-steps-premium {
    grid-template-columns: 1fr;
  }

  .problem-flow {
    border-radius: 24px;
  }
}

/* Homogeneity pass: breathing room + readable Selfcity proof */
body {
  background:
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 42%, #f2f5f2 100%);
}

.site-main {
  display: grid;
  gap: clamp(26px, 4vw, 54px);
}

.section {
  width: min(1240px, calc(100vw - 48px));
  margin-inline: auto;
  padding: clamp(74px, 8vw, 124px) clamp(20px, 3vw, 42px);
  border-radius: clamp(28px, 3vw, 42px);
}

.section-head {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.section-head .eyebrow {
  width: fit-content;
  margin-inline: auto;
  padding: 8px 12px;
  border: 1px solid rgba(21,26,30,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
}

.section-head h2 {
  max-width: 940px;
  margin-inline: auto;
}

.section-head p {
  max-width: 760px;
  margin-inline: auto;
}

.selfcity {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(227,179,65,.16), transparent 25%),
    radial-gradient(circle at 88% 12%, rgba(30,107,140,.13), transparent 28%),
    linear-gradient(145deg, rgba(255,255,255,.94), rgba(247,244,238,.86));
  box-shadow: 0 34px 100px rgba(21,26,30,.1);
}

.selfcity::before {
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.4), transparent);
}

.selfcity .section-head .eyebrow,
.selfcity .eyebrow {
  color: var(--pipe-blue);
  background: rgba(217,236,242,.72);
  border-color: rgba(30,107,140,.15);
}

.selfcity .section-head h2 {
  color: var(--graphite);
  font-size: clamp(2.35rem, 4.3vw, 4.35rem);
}

.selfcity .section-head p,
.selfcity .section-head p strong {
  color: var(--ink);
  opacity: 1;
}

.proof-board-v3 {
  padding: clamp(18px, 2.6vw, 34px);
  border: 1px solid rgba(21,26,30,.09);
  background: rgba(255,255,255,.72);
  box-shadow: none;
}

.proof-intro,
.proof-city,
.proof-serp-card,
.proof-ranking {
  border-color: rgba(21,26,30,.1);
  background: rgba(255,255,255,.84);
  color: var(--ink);
}

.proof-intro.selfcity-simple {
  background:
    radial-gradient(circle at 90% 0%, rgba(57,169,107,.13), transparent 30%),
    var(--white);
  box-shadow: 0 22px 60px rgba(21,26,30,.08);
}

.proof-intro span,
.proof-city span,
.proof-serp-card span,
.proof-ranking span {
  color: var(--pipe-blue);
}

.proof-intro strong,
.proof-city strong,
.proof-ranking b,
.proof-serp-card b {
  color: var(--graphite);
}

.proof-intro p,
.proof-city small,
.proof-serp-card small {
  color: var(--steel);
}

.proof-rise {
  border-color: rgba(227,179,65,.24);
  background: rgba(227,179,65,.1);
}

.proof-rise span,
.proof-rise strong {
  color: var(--graphite);
}

.selfcity-context {
  gap: 14px;
}

.selfcity-context div {
  border: 1px solid rgba(21,26,30,.08);
  background: linear-gradient(145deg, #12191d, #1d2a30);
  box-shadow: 0 22px 58px rgba(21,26,30,.12);
}

.selfcity-context span {
  color: var(--rank-gold);
}

.selfcity-context strong {
  color: var(--white);
}

.selfcity-context small {
  color: rgba(255,255,255,.68);
}

.proof-city-featured {
  background: var(--white);
  box-shadow: 0 24px 70px rgba(21,26,30,.1);
}

.proof-city-head strong {
  color: var(--graphite);
}

.proof-ranking {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.proof-ranking strong {
  background: rgba(57,169,107,.13);
  color: #247c4b;
}

.proof-capture-card {
  background: #f9faf8;
}

.proof-capture-card img {
  border-color: rgba(21,26,30,.1);
  box-shadow: 0 18px 46px rgba(21,26,30,.12);
}

.proof-story {
  border-color: rgba(227,179,65,.26);
  background: rgba(227,179,65,.12);
  color: var(--ink);
}

.problem,
.method,
.about,
.form-section {
  background: rgba(255,255,255,.42);
}

.concrete-reading {
  width: 100%;
  border-radius: 0;
}

.concrete-reading .section-head {
  text-align: center;
}

@media (max-width: 760px) {
  .site-main {
    gap: 22px;
  }

  .section {
    width: min(100vw - 28px, 1240px);
    padding: 58px 18px;
    border-radius: 28px;
  }

  .concrete-reading {
    width: 100%;
    padding-inline: 18px;
  }

  .selfcity .section-head {
    text-align: left;
  }

  .selfcity .section-head .eyebrow {
    margin-left: 0;
  }
}

/* Final premium pass: authority, conversion, footer */
.about-signature {
  background:
    radial-gradient(circle at 18% 12%, rgba(30,107,140,.1), transparent 26%),
    linear-gradient(145deg, rgba(255,255,255,.72), rgba(247,244,238,.62));
}

.about-heading {
  margin-bottom: clamp(34px, 5vw, 68px);
}

.about-signature-grid {
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: stretch;
}

.cedric-card,
.agency-signature-card {
  border: 1px solid rgba(21,26,30,.09);
  border-radius: 34px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 28px 88px rgba(21,26,30,.09);
}

.cedric-card {
  display: grid;
  gap: 26px;
}

.cedric-identity {
  display: grid;
  gap: 12px;
}

.cedric-identity .eyebrow {
  color: var(--pipe-blue);
}

.cedric-identity h3,
.agency-signature-card h3 {
  margin: 0;
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1;
}

.cedric-identity p,
.agency-signature-card p {
  margin: 0;
  color: #3b464c;
  font-size: 1.05rem;
  line-height: 1.62;
}

.agency-signature-card {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(26px, 4vw, 54px);
}

.agency-focus-premium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.agency-focus-premium span {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(21,26,30,.08);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--white), rgba(255,255,255,.72));
}

.agency-focus-premium b {
  color: var(--graphite);
}

.agency-focus-premium small {
  color: var(--steel);
  line-height: 1.35;
}

.agency-proofline-premium {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 999px;
  background: #12191d;
}

.agency-proofline-premium span {
  color: var(--white);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.agency-proofline-premium i {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pipe-blue), var(--growth-green), var(--rank-gold));
}

.form-signature {
  background:
    radial-gradient(circle at 12% 16%, rgba(57,169,107,.12), transparent 24%),
    radial-gradient(circle at 86% 8%, rgba(30,107,140,.12), transparent 28%),
    rgba(255,255,255,.54);
}

.form-signature-grid {
  grid-template-columns: minmax(310px, .9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.form-copy h2 {
  color: var(--graphite);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: .98;
}

.form-promise {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  padding: 20px;
  border: 1px solid rgba(21,26,30,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
}

.form-promise strong {
  color: var(--graphite);
  font-size: 1.05rem;
}

.form-promise span {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 800;
}

.form-promise span::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--growth-green);
}

.lead-form-signature {
  box-shadow: 0 34px 90px rgba(21,26,30,.12);
}

.lead-form-signature .form-status {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(227,179,65,.18), transparent 28%),
    linear-gradient(145deg, #11181b, #1c282e);
}

.lead-form-signature .form-status span {
  color: var(--rank-gold);
}

.lead-form-signature .form-status strong {
  color: var(--white);
}

.form-note-success {
  border-color: rgba(57,169,107,.28);
  background: rgba(57,169,107,.12);
  color: #247c4b;
}

.form-note-error {
  border-color: rgba(231,111,81,.28);
  background: rgba(231,111,81,.1);
  color: #9b3e2c;
}

.footer-signature {
  width: min(1240px, calc(100vw - 48px));
  margin: clamp(34px, 5vw, 72px) auto 24px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 0%, rgba(227,179,65,.14), transparent 26%),
    linear-gradient(145deg, #101619, #1a252a);
  color: var(--white);
  box-shadow: 0 34px 110px rgba(21,26,30,.16);
}

.footer-topline,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-topline {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.footer-brand p {
  max-width: 620px;
  color: rgba(255,255,255,.68);
}

.footer-cta {
  display: inline-flex;
  justify-content: center;
  min-width: 210px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--rank-gold);
  color: var(--graphite);
  font-weight: 950;
  text-decoration: none;
}

.footer-grid {
  margin-top: 26px;
}

.footer-contact span,
.footer-signature nav a,
.footer-contact a,
.footer-signature .copyright {
  color: rgba(255,255,255,.72);
}

.footer-contact a,
.footer-signature nav a {
  text-decoration: none;
}

.footer-signature nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer-signature .copyright {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .92rem;
}

@media (max-width: 900px) {
  .about-signature-grid,
  .form-signature-grid,
  .footer-topline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .agency-focus-premium {
    grid-template-columns: 1fr;
  }

  .agency-proofline-premium {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .agency-proofline-premium i {
    display: none;
  }

  .footer-signature nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .footer-signature {
    width: min(100vw - 28px, 1240px);
    padding: 24px;
    border-radius: 28px;
  }
}

/* Footer correction: isolate from legacy footer rules */
.footer-signature {
  display: block;
  width: min(1240px, calc(100vw - 48px));
  margin: clamp(34px, 5vw, 72px) auto 24px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 0%, rgba(227,179,65,.14), transparent 26%),
    linear-gradient(145deg, #101619, #1a252a);
  color: var(--white);
  box-shadow: 0 34px 110px rgba(21,26,30,.16);
}

.footer-signature .footer-topline,
.footer-signature .footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.footer-signature .footer-topline {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-signature .footer-brand strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.footer-signature .footer-brand p {
  max-width: 660px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}

.footer-signature .footer-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 226px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--rank-gold);
  color: var(--graphite);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(227,179,65,.18);
}

.footer-signature .footer-cta:hover,
.footer-signature .footer-cta:focus-visible {
  color: var(--graphite);
  background: #f0c75a;
  transform: translateY(-2px);
}

.footer-signature .footer-grid {
  margin-top: 26px;
}

.footer-signature .footer-contact {
  display: grid;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.footer-signature .footer-contact span {
  color: var(--rank-gold);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-signature .footer-contact a,
.footer-signature .footer-nav a {
  color: rgba(255,255,255,.76);
  font-weight: 820;
  text-decoration: none;
}

.footer-signature .footer-contact a:hover,
.footer-signature .footer-nav a:hover,
.footer-signature .footer-contact a:focus-visible,
.footer-signature .footer-nav a:focus-visible {
  color: var(--rank-gold);
}

.footer-signature .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer-signature .copyright {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.58);
  font-size: .92rem;
}

@media (max-width: 900px) {
  .footer-signature .footer-topline,
  .footer-signature .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-signature .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .footer-signature {
    width: min(100vw - 28px, 1240px);
    padding: 24px;
    border-radius: 28px;
  }

  .footer-signature .footer-cta {
    width: 100%;
    min-width: 0;
  }
}

/* Top-One-Position logo integration */
.site-header {
  grid-template-columns: auto auto 1fr auto;
}

.header-partner {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(47,135,135,.16);
  border-radius: 999px;
  background: rgba(217,236,242,.44);
}

.header-partner span {
  color: var(--steel);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.header-partner img {
  width: 152px;
  height: auto;
  display: block;
}

.agency-logo-lockup {
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(47,135,135,.14);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 20px 54px rgba(21,26,30,.08);
}

.agency-logo-lockup img {
  width: min(286px, 100%);
  height: auto;
  display: block;
}

.footer-partner-logo {
  width: min(244px, 100%);
  height: auto;
  display: block;
  margin-top: 14px;
  padding: 8px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-partner {
    display: none;
  }
}

/* Logo placement polish */
.header-partner {
  gap: 7px;
  padding: 0 4px 0 0;
  border: 0;
  border-left: 1px solid rgba(21,26,30,.12);
  border-radius: 0;
  background: transparent;
}

.header-partner span {
  padding-left: 14px;
  color: rgba(31,37,43,.46);
  font-size: .64rem;
}

.header-partner img {
  width: 124px;
  max-height: 34px;
  object-fit: contain;
  object-position: left center;
}

.agency-logo-lockup {
  display: grid;
  gap: 10px;
  width: fit-content;
  padding: 16px 18px;
  border-color: rgba(47,135,135,.16);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.76));
}

.agency-logo-lockup span {
  color: var(--pipe-blue);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.agency-logo-lockup img {
  width: min(310px, 100%);
}

.footer-brand-line {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  align-items: center;
}

.footer-signature .footer-brand-line strong {
  margin: 0;
}

.footer-partner-logo {
  margin: 0;
  width: min(230px, 100%);
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 44px rgba(0,0,0,.14);
}

@media (max-width: 620px) {
  .footer-brand-line {
    align-items: flex-start;
  }

  .footer-partner-logo {
    width: min(220px, 100%);
  }
}

/* About logo placement correction */
.agency-signature-card {
  align-content: stretch;
}

.agency-signature-card > .eyebrow {
  width: fit-content;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(30,107,140,.14);
  border-radius: 999px;
  background: rgba(217,236,242,.58);
  color: var(--pipe-blue);
}

.agency-signature-card .agency-logo-lockup {
  justify-self: start;
  align-self: end;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  box-shadow: none;
}

.agency-signature-card .agency-logo-lockup span {
  color: rgba(31,37,43,.48);
}

.agency-signature-card .agency-logo-lockup img {
  width: min(260px, 100%);
}

@media (min-width: 901px) {
  .agency-signature-card {
    grid-template-rows: auto auto auto auto 1fr;
  }
}
