/* Medelez Solutions — shared styles */
:root {
  --navy: #0E2239;
  --navy-deep: #0A1A2C;
  --gold: #C9A04A;
  --gold-deep: #8A6A1F; /* gold for text and outlines on light backgrounds; plain gold is for navy only */
  --slate: #3D5570;
  --mist: #C9D3DE;
  --wash: #F2F5F8;
  --white: #FFFFFF;
  --text: #0E2239;
  --muted: #3D5570;
  --lean: -12deg;
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--navy); padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-style: italic;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; }
p { margin: 0 0 1em; max-width: 64ch; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; }

/* gold lean bar used under section headings */
.bar-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 7px;
  margin-top: .45em;
  background: var(--gold);
  transform: skewX(var(--lean));
  transform-origin: left bottom;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: .85rem 1.6rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--navy);
  border: 0;
  background: none;
  cursor: pointer;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: skewX(var(--lean));
  transition: background-color .15s ease;
}
.btn:hover { color: var(--navy); }
.btn:hover::before { background: #D8B25F; }
.btn:focus-visible { outline: none; }
.btn:focus-visible::before { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--navy); }

.btn-ghost { color: var(--white); }
.btn-ghost::before { background: transparent; box-shadow: inset 0 0 0 2px var(--mist); }
.btn-ghost:hover { color: var(--white); }
.btn-ghost:hover::before { background: rgba(255,255,255,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }

.text-link { font-weight: 700; color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 76px;
}
.brand img { height: 46px; width: auto; }

.nav-toggle {
  display: none;
  font: inherit; font-weight: 700; color: var(--navy);
  background: none; border: 2px solid var(--navy);
  padding: .4rem .9rem; cursor: pointer;
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.site-nav a { text-decoration: none; color: var(--navy); font-weight: 600; position: relative; padding: .3rem 0; }
.site-nav a:not(.btn)[aria-current="page"]::after,
.site-nav a:not(.btn):hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 4px;
  background: var(--gold); transform: skewX(var(--lean));
}
.site-nav .btn { padding: .6rem 1.2rem; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 76px;
    background: var(--white); border-bottom: 1px solid var(--mist);
    padding: 1rem var(--gutter) 1.5rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .brand img { height: 36px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { max-width: 17ch; }
.hero .lede { color: #DCE3EB; max-width: 56ch; margin-bottom: 2rem; }

/* the long gold bar that runs in from the left edge — the site's one bold move */
.hero-bar {
  height: 12px;
  width: min(62%, 720px);
  margin: 0 0 2rem calc(-1 * var(--gutter) - 40px);
  background: var(--gold);
  transform: skewX(var(--lean));
  transform-origin: left center;
  animation: bar-in 900ms cubic-bezier(.2,.7,.2,1) 150ms both;
}
@media (min-width: 1240px) {
  .hero-bar { margin-left: calc(-1 * ((100vw - var(--wrap)) / 2 + var(--gutter)) - 40px); width: calc((100vw - var(--wrap)) / 2 + 620px); }
}
@keyframes bar-in { from { transform: skewX(var(--lean)) scaleX(0); } to { transform: skewX(var(--lean)) scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .hero-bar { animation: none; } }

.hero-note {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201,211,222,.25);
  color: var(--mist);
  font-weight: 600;
  font-size: .98rem;
}

/* smaller hero for inner pages */
.hero-page { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.hero-page .hero-bar { height: 9px; width: min(40%, 420px); margin-bottom: 1.5rem; }
@media (min-width: 1240px) {
  .hero-page .hero-bar { width: calc((100vw - var(--wrap)) / 2 + 360px); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-wash { background: var(--wash); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); }

/* services rows (home + services page) */
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-top: 1px solid var(--mist);
}
.service-row:last-child { border-bottom: 1px solid var(--mist); }
.service-row h3 { margin-bottom: .35em; }
.service-row .summary { color: var(--muted); margin: 0; }
.check-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 12px; height: 5px; background: var(--gold); transform: skewX(var(--lean));
}
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr; } }

/* detailed service blocks */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  border-top: 1px solid var(--mist);
  scroll-margin-top: 90px;
}
.service-detail:first-of-type { border-top: 0; padding-top: 0; }
.service-detail h2 { margin-bottom: .6em; }
.service-detail h3 { font-size: 1.15rem; font-style: normal; font-weight: 700; letter-spacing: 0; margin: 1.5rem 0 .75rem; }
.fit {
  margin-top: 1.75rem;
  padding: 1.1rem 1.25rem;
  background: var(--wash);
  border-left: 5px solid var(--gold);
}
.fit strong { display: block; margin-bottom: .2rem; }
.fit p { margin: 0; }
@media (max-width: 760px) { .service-detail { grid-template-columns: 1fr; } }

/* process steps — real sequence, so numbered */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 1;
  color: var(--slate);
}
.steps li::after {
  content: ""; position: absolute; top: 2.75rem; left: 0; width: 100%; height: 3px;
  background: var(--mist); transform: skewX(var(--lean));
}
.steps li:first-child::after { background: var(--gold); }
.steps h3 { font-size: 1.3rem; margin-top: .9rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* about teaser / about page */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

.facts { list-style: none; margin: 1.75rem 0 1.75rem; padding: 0; display: grid; gap: 0; }
.facts li { padding: 1rem 0; border-top: 1px solid var(--mist); }
.facts li:last-child { border-bottom: 1px solid var(--mist); }
.facts strong { display: block; font-size: 1.1rem; }
.facts span { color: var(--muted); }

.photo-slot {
  aspect-ratio: 4 / 5;
  background: var(--navy);
  display: grid; place-items: center;
  position: relative;
}
.photo-slot img.headshot { width: 100%; height: 100%; object-fit: cover; }
.photo-slot .mark { width: 38%; }
.photo-slot::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 55%; height: 10px;
  background: var(--gold); transform: skewX(var(--lean));
}

/* testimonials + portfolio (hidden until ready) */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.quotes blockquote { margin: 0; padding-left: 1.25rem; border-left: 5px solid var(--gold); }
.quotes p { font-size: 1.15rem; }
.quotes cite { font-style: normal; font-weight: 700; color: var(--muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

.work-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.work-item img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--mist); margin-bottom: 1rem; }
.work-item h3 { margin-bottom: .25em; }
.work-item p { color: var(--muted); }
@media (max-width: 760px) { .work-list { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--navy); color: var(--white); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.cta-band .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #DCE3EB; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { font-size: 1.5rem; }
.contact-info dl { margin: 0 0 2rem; }
.contact-info dt { font-weight: 700; margin-top: 1rem; }
.contact-info dd { margin: .15rem 0 0; color: var(--muted); }
.contact-info dd a { color: var(--navy); font-weight: 600; }

.form { display: grid; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .4rem; padding: 0; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  padding: .75rem .85rem;
  border: 2px solid var(--mist);
  border-radius: 0;
  background: var(--white);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(201,160,74,.45); }
fieldset.field { border: 0; margin: 0; padding: 0; }

.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-block; padding: .55rem 1rem; cursor: pointer;
  border: 2px solid var(--mist); font-weight: 600;
}
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--gold-deep); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; }
.form-note { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Simple pages (thanks / 404) ---------- */
.simple { min-height: 55vh; display: flex; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--mist); padding: 3.5rem 0 2rem; font-size: .98rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 1rem; }
.footer-brand p { margin: 0; max-width: 34ch; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-col h2 { font-size: 1rem; font-style: normal; font-weight: 700; color: var(--white); margin-bottom: .75rem; letter-spacing: 0; }
.footer-bottom { border-top: 1px solid rgba(201,211,222,.2); padding-top: 1.5rem; font-size: .9rem; }
.footer-bottom p { margin: 0; max-width: none; }

/* oversized brand mark on the home hero */
.hero-mark {
  position: absolute;
  right: -4%;
  top: 50%;
  width: min(44vw, 620px);
  transform: translateY(-50%);
  fill: #15304E;
  pointer-events: none;
}
.hero-mark .u { fill: #2A3F4F; }
.hero .wrap { position: relative; }
@media (max-width: 900px) { .hero-mark { display: none; } }

/* two-column blocks (audience, ways to work together) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 5vw, 4.5rem); }
.two-col > div { border-top: 4px solid var(--navy); padding-top: 1.5rem; }
.two-col h3 { margin-bottom: .5em; }
.two-col p { color: var(--muted); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.service-row .examples { margin-bottom: 1rem; }

/* jump links on the services page */
.jump { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.75rem; }
.jump a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.jump a:hover { color: var(--mist); }

.scope-note {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mist);
  font-size: .95rem;
  color: var(--muted);
  max-width: 80ch;
}

/* ===== v3 additions ===== */
.problems {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 3rem);
}
.problems li {
  padding: 1.35rem 0;
  border-top: 1px solid var(--mist);
  font-style: italic; font-weight: 700;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.35;
  color: var(--navy);
}
@media (max-width: 900px) { .problems { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .problems { grid-template-columns: 1fr; } }

.three-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.three-col > div { border-top: 4px solid var(--navy); padding-top: 1.5rem; }
.three-col p { color: var(--muted); }
.packages > div { display: flex; flex-direction: column; }
.packages .text-link { margin-top: auto; }
@media (max-width: 860px) { .three-col { grid-template-columns: 1fr; } }

.link-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.link-list li { break-inside: avoid; border-top: 1px solid var(--mist); }
.link-list a { display: block; padding: .8rem 0; font-weight: 700; color: var(--navy); text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
@media (max-width: 560px) { .link-list { columns: 1; } }

.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.principles li { border-top: 4px solid var(--gold); padding-top: 1.25rem; }
.principles h3 { font-size: 1.3rem; }
.principles p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }

.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.svc-grid li { border-top: 1px solid var(--mist); padding: 1.5rem 0 1.75rem; }
.svc-grid h3 { font-size: 1.25rem; margin-bottom: .45em; }
.svc-grid p { color: var(--muted); margin: 0; }
.svc-grid a { color: var(--navy); font-weight: 700; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.service-detail .btn { margin-top: .5rem; }
.check-list.cols-2 { columns: 2; column-gap: 2rem; }
.check-list.cols-2 li { break-inside: avoid; }
@media (max-width: 560px) { .check-list.cols-2 { columns: 1; } }

.case { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.case + .case { margin-top: 4rem; }
.case-shots img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--mist); }
.shot-slot {
  aspect-ratio: 16 / 10; background: var(--wash); border: 2px dashed var(--mist);
  display: grid; place-items: center; color: var(--muted); font-weight: 600;
}
.case-type { font-weight: 700; color: var(--slate); margin-bottom: .4rem; font-size: .95rem; }
.case h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 800px) { .case { grid-template-columns: 1fr; } }
.more-note { margin-top: 3rem; color: var(--muted); }

.footer-bottom .disclaimer { margin-bottom: .6rem; color: var(--mist); max-width: 80ch; }

/* form error states */
.form-error { color: #9B1C1C; font-weight: 700; background: #FDECEC; border-left: 5px solid #9B1C1C; padding: .75rem 1rem; margin: 0 0 1rem; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #9B1C1C; }
fieldset.is-invalid .choice span { border-color: #9B1C1C; }
fieldset.is-invalid legend { color: #9B1C1C; }

/* ===== v4 additions ===== */
.pkg-tag { font-style: italic; font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: .5rem; }
.footer-tag { font-weight: 700; color: var(--white); letter-spacing: .02em; }
.svc-grid .svc-inc { margin-top: .6rem; font-size: .95rem; }
.service-detail .lede strong { display: block; font-style: italic; font-weight: 800; color: var(--navy); margin-bottom: .35rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }

/* ===== v5: dropdown, packages, comparison ===== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.has-sub { position: relative; display: flex; align-items: center; gap: .15rem; }
.sub-toggle {
  background: none; border: 0; cursor: pointer; padding: .4rem .3rem; color: var(--navy);
  display: inline-flex; align-items: center;
}
.sub-toggle::before {
  content: ""; width: .5rem; height: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s ease;
}
.sub-toggle[aria-expanded="true"]::before { transform: rotate(-135deg) translateY(-1px); }
.site-nav .sub {
  display: none; position: absolute; top: calc(100% + .6rem); left: -1rem; min-width: 250px;
  flex-direction: column; align-items: stretch; gap: 0;
  background: var(--white); border: 1px solid var(--mist); border-top: 4px solid var(--gold);
  box-shadow: 0 12px 28px rgba(14,34,57,.12); padding: .4rem 0; z-index: 60;
}
.site-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -1rem; height: 1rem; }
.site-nav .sub a { display: block; padding: .6rem 1.1rem; font-weight: 600; }
.site-nav .sub a:hover, .site-nav .sub a[aria-current="page"] { background: var(--wash); }
.site-nav .sub a::after { display: none !important; }
@media (hover: hover) and (min-width: 821px) { .has-sub:hover .sub { display: flex; } }
.has-sub.is-open .sub { display: flex; }

@media (max-width: 820px) {
  .has-sub { flex-wrap: wrap; width: 100%; }
  .sub-toggle { display: none; }
  .site-nav .sub {
    display: flex; position: static; box-shadow: none; border: 0; border-left: 3px solid var(--gold);
    padding: .2rem 0 .2rem .9rem; margin-top: .6rem; min-width: 0; width: 100%;
  }
  .site-nav .sub a { padding: .45rem 0; }
  .site-nav .sub a:hover, .site-nav .sub a[aria-current="page"] { background: none; color: var(--slate); }
}

.pkg-fit { color: var(--muted); }
.pkg-fit strong, .three-col strong { color: var(--navy); }
.compare-link { margin-top: 2rem; }
.hero-tag { display: block; font-style: italic; color: var(--gold); font-size: 1.15em; margin-bottom: .35rem; }

.pkg-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; }
.pkg-fitbox { background: var(--navy); color: var(--white); padding: 1.75rem; position: relative; }
.pkg-fitbox::after { content: ""; position: absolute; left: -10px; bottom: -10px; width: 45%; height: 8px; background: var(--gold); transform: skewX(var(--lean)); }
.pkg-fitbox p:last-child { margin: 0; font-size: 1.1rem; line-height: 1.5; }
.pkg-fitbox .eyebrow-label { color: var(--gold); }
.eyebrow-label { font-weight: 800; font-style: italic; font-size: 1.2rem; color: var(--navy); margin-bottom: .5rem; }
.inc-label { color: var(--muted); margin-bottom: .75rem; }
.pkg-detail .fit { margin: 1.5rem 0 1.75rem; }
.pkg-detail .btn { margin-top: .5rem; }
@media (max-width: 800px) { .pkg-detail { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; background: var(--white); }
.compare th, .compare td { padding: .95rem 1rem; border-bottom: 1px solid var(--mist); text-align: center; vertical-align: middle; }
.compare tbody th { text-align: left; font-weight: 600; width: 40%; }
.compare thead th { background: var(--navy); color: var(--white); font-style: italic; font-weight: 800; font-size: 1.15rem; }
.compare thead a { color: var(--white); text-decoration: none; }
.compare thead a:hover { text-decoration: underline; }
.compare tbody tr:nth-child(even) { background: var(--wash); }
.compare tfoot td { border-bottom: 0; padding-top: 1.25rem; }
.compare td { font-weight: 600; color: var(--navy); }
.yes { display: inline-block; width: 1.4rem; height: .8rem; border-left: 4px solid var(--gold-deep); border-bottom: 4px solid var(--gold-deep); transform: rotate(-45deg) translate(2px, -3px); }
.no { color: #7C8A9A; font-weight: 800; }
.other-pkgs { margin-top: 1.5rem; }
.other-pkgs a { margin-right: 1.25rem; }

.ind-svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem clamp(2rem, 5vw, 4rem); padding: 2.25rem 0; border-top: 1px solid var(--mist); scroll-margin-top: 90px; }
.ind-svc:first-child { border-top: 0; padding-top: 0; }
.ind-svc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ind-svc p { color: var(--muted); }
.ind-svc .svc-inc strong { color: var(--navy); }
@media (max-width: 760px) { .ind-svc { grid-template-columns: 1fr; } }
.three-col h3 a { color: var(--navy); text-decoration: none; }
.three-col h3 a:hover { text-decoration: underline; }

.has-sub.is-closed .sub { display: none !important; }
.table-scroll { position: relative; } .compare td, .compare th { position: relative; }
section[id], article[id] { scroll-margin-top: 90px; }

/* ===== v6 polish ===== */
.site-header { transition: box-shadow .2s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(14,34,57,.08); }

/* founder credibility band */
.founder-strip { background: var(--navy-deep); color: var(--white); border-top: 1px solid rgba(201,211,222,.15); }
.founder-inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 1.5rem 3rem; align-items: center; padding-top: 2rem; padding-bottom: 2rem; }
.founder-label { margin: 0; font-style: italic; font-weight: 800; font-size: 1.15rem; line-height: 1.3; }
.founder-label a { color: var(--gold); text-decoration: none; border-bottom: 2px solid rgba(201,160,74,.5); }
.founder-label a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.founder-label span { display: block; margin-top: .45rem; font-style: normal; font-weight: 600; font-size: .9rem; color: var(--mist); }
.proof { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof li { padding: .2rem 1.25rem; border-left: 1px solid rgba(201,211,222,.22); }
.proof strong { display: block; color: var(--gold); font-style: italic; font-weight: 800; font-size: 1.05rem; margin-bottom: .2rem; }
.proof span { display: block; color: #DCE3EB; font-size: .92rem; line-height: 1.4; }
@media (max-width: 980px) { .founder-inner { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .proof { grid-template-columns: 1fr 1fr; row-gap: 1.1rem; } .proof li { padding-left: .9rem; } }

/* People / Systems / Operations statement */
.lede-strong { font-size: clamp(1.25rem, 2.1vw, 1.6rem); line-height: 1.45; color: var(--navy); font-weight: 600; max-width: 38ch; }
.pillars { display: grid; gap: 0; }
.pillar { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: .5rem 3rem; align-items: baseline; padding: 1.6rem 0; border-top: 1px solid var(--mist); }
.pillar:last-child { border-bottom: 1px solid var(--mist); }
.pillar-word { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; color: var(--navy); }
.pillar:nth-child(2) .pillar-word { color: var(--slate); }
.pillar p { margin: 0; color: var(--muted); font-size: 1.1rem; }
@media (max-width: 760px) { .pillar { grid-template-columns: 1fr; } }

/* three ways: path cards */
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.path-card {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.75rem 1.6rem 1.6rem; text-decoration: none; color: var(--text);
  background: var(--white); border: 1px solid var(--mist); border-top: 5px solid var(--navy);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,34,57,.10); border-top-color: var(--gold); color: var(--text); }
.path-card:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.path-kicker { font-weight: 800; font-style: italic; color: var(--gold-deep); font-size: .95rem; }
.path-name { font-style: italic; font-weight: 800; font-size: 1.55rem; line-height: 1.1; color: var(--navy); }
.path-tag { font-weight: 700; color: var(--navy); }
.path-desc { color: var(--muted); flex: 1; }
.path-more { font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; margin-top: .5rem; }
@media (max-width: 860px) { .path { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .path-card, .other-card { transition: none; } .path-card:hover, .other-card:hover { transform: none; } }

/* comparison table refinements */
.th-sub { display: block; font-style: normal; font-weight: 600; font-size: .8rem; color: var(--gold); margin-top: .15rem; }
.compare .best-row td { background: var(--wash); }
.cell-text { font-weight: 600; font-size: .92rem; line-height: 1.35; color: var(--navy); display: block; max-width: 22ch; margin: 0 auto; }

/* services: specific band */
.specific-band { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 1.5rem 3rem; align-items: center; }
.specific-band .section-head, .specific-band h2 { margin-bottom: .5em; }
.specific-band .lede { margin: 0; }
.specific-cta { justify-self: end; }
@media (max-width: 760px) { .specific-band { grid-template-columns: 1fr; } .specific-cta { justify-self: start; } }

/* package pages: other options */
.other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.other-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--mist); border-left: 5px solid var(--navy); text-decoration: none; color: var(--text); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.other-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(14,34,57,.09); border-left-color: var(--gold); color: var(--text); }
.other-kicker { font-weight: 800; font-style: italic; color: var(--gold-deep); font-size: .9rem; }
.other-name { font-style: italic; font-weight: 800; font-size: 1.35rem; color: var(--navy); }
.other-desc { color: var(--muted); }
@media (max-width: 700px) { .other-grid { grid-template-columns: 1fr; } }
.hero h1.hero-lines { max-width: none; font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
.hero-lines span { display: block; }

/* v7: text-based comparison */
.compare tbody tr:nth-child(even) { background: transparent; }
.compare tbody tr:nth-child(odd) { background: var(--wash); }
.compare .best-row td, .compare .best-row th { background: transparent; }
.compare tbody tr.best-row { background: var(--wash); }
.compare .cell-text { font-weight: 500; color: var(--text); max-width: 26ch; }
.compare .best-row .cell-text { font-weight: 700; color: var(--navy); }
.compare td { vertical-align: top; }
.compare tbody th { vertical-align: top; font-weight: 700; color: var(--navy); }

/* ===== v9 content update ===== */
.hero h1.hero-question { max-width: 17ch; font-size: clamp(2.1rem, 5.2vw, 3.9rem); line-height: 1.05; }
.svc-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 4vw, 3rem); }
.svc-group h3 { font-size: 1.1rem; margin: 0 0 .5rem; padding-top: 1rem; border-top: 4px solid var(--gold); }
.svc-group .link-list { columns: 1; }
@media (max-width: 860px) { .svc-groups { grid-template-columns: 1fr; } }
.ind-svc h3 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); margin: 0; }
.ind-svc:first-of-type { border-top: 0; padding-top: 0; }
.svc-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; }
.work-card { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; background: var(--white); border: 1px solid var(--mist); border-radius: 6px; padding: clamp(1rem, 3vw, 2rem); }
.work-card img { width: 100%; height: auto; border-radius: 4px; display: block; background: var(--wash); }
.work-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 0 0 .5rem; }
.work-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.work-body p { color: var(--muted); }
.work-body .check-list { margin: 0 0 1.25rem; }
.work-meta { font-size: .95rem; }
.work-meta a { color: var(--navy); font-weight: 700; }
@media (max-width: 860px) { .work-card { grid-template-columns: 1fr; } }

/* ===== v10 homepage hero ===== */
.hero.hero-home { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6.5vw, 5rem); }
.hero-home .hero-bar { margin-bottom: 1.75rem; }
.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  max-width: none;
}
.hero h1.hero-headline {
  max-width: 23ch;
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 1.4rem;
}
.hero-headline span { display: block; text-wrap: balance; }
.hero-headline span:first-child { color: var(--mist); }
@media (min-width: 700px) { .hero-headline span:first-child { white-space: nowrap; } }
.hero .lede.hero-sub {
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 2.1rem;
  text-wrap: pretty;
}
.hero-actions { gap: 1rem 2rem; }
.hero-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: .35rem 0;
  border-bottom: 2px solid var(--gold);
  transition: color .15s ease, border-color .15s ease;
}
.hero-link:hover { color: var(--gold); }
.hero-link:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
@media (max-width: 560px) {
  .hero.hero-home { padding: 2.25rem 0 2.5rem; }
  .hero h1.hero-headline { font-size: clamp(1.8rem, 7.8vw, 2.35rem); line-height: 1.1; }
  .hero-headline span:first-child { margin-bottom: .15em; }
  .hero-eyebrow { font-size: .74rem; letter-spacing: .12em; }
  .hero-actions { gap: 1.1rem 1.5rem; }
}
