/* Acamar Consulting: visual layer
   Diagram and layout components shared across pages.
   Loaded after styles.css. */

body.v2 section { border-top: none; padding: 0; }
body.v2 .band { padding-top: 110px; padding-bottom: 110px; }
body.v2 .band-tight { padding-top: 72px; padding-bottom: 72px; }

/* ---- Typographic scale for display headings ---- */
.display-xl {
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 28px;
}
.display-lg {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 300;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 16px;
}
.display-md {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 16px;
}
.intro {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: #2C3E52;
  max-width: 58ch;
  margin: 0 0 40px;
}
.note {
  font-size: 16px;
  line-height: 1.6;
  color: #55606D;
  max-width: 62ch;
}

/* ---- Hero horizon ---- */
.horizon {
  position: relative;
  overflow: hidden;
  background: linear-gradient(175deg, #F4F8FC 0%, #E4EEF7 55%, #D5E5F2 100%);
}
.horizon-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.horizon .container { position: relative; z-index: 2; }
/* Leave room under the text for the dark hill in the artwork, so the text stays on the light sky.
   The hill is about 9% of the page width tall, so the space scales with the screen. */
body.v2 .horizon .band { padding-top: 96px; padding-bottom: max(160px, 12vw); }
@media (max-width: 900px) {
  body.v2 .horizon .band { padding-bottom: 230px; }
}
/* Jumping to #climb lands the section just under the sticky header */
#climb { scroll-margin-top: 76px; }

/* ---- Maturity climb ---- */
.climb-wrap { position: relative; }
.climb-svg { width: 100%; height: auto; display: block; }
.step-hit { cursor: pointer; }
.step-plate {
  fill: #FFFFFF; stroke: #C9D6E4; stroke-width: 1.5;
  transition: fill .18s ease, stroke .18s ease;
}
.step-hit[aria-selected="true"] .step-plate { fill: var(--navy); stroke: var(--navy); }
.step-hit:hover .step-plate { stroke: var(--blue); }
.step-label {
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600;
  fill: var(--navy); transition: fill .18s ease;
}
.step-hit[aria-selected="true"] .step-label { fill: #FFFFFF; }
.step-sub {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500;
  fill: #6B7C8D; transition: fill .18s ease;
}
.step-hit[aria-selected="true"] .step-sub { fill: #9FC7E8; }
.step-hit:focus-visible { outline: none; }
.step-hit:focus-visible .step-plate { stroke: var(--blue); stroke-width: 3; }

.climb-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 8px; padding: 36px 40px;
  border-left: 3px solid var(--blue); background: #F7FAFD;
}
.climb-detail h3 { font-size: 26px; font-weight: 300; margin-bottom: 12px; }
.climb-detail p { font-size: 16px; line-height: 1.6; color: var(--ink); }
.climb-detail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.climb-detail li { font-size: 15px; color: var(--ink); padding-left: 18px; position: relative; }
.climb-detail li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}

/* ---- Venn ---- */
.venn-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.venn { width: 100%; height: auto; }
.venn-name { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 17px; }
.venn-core { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; fill: #FFFFFF; }

/* ---- Typographic rows (replaces card grids) ---- */
.cap-list { display: flex; flex-direction: column; }
.cap-row {
  display: grid; grid-template-columns: 24px 1fr; gap: 16px;
  padding: 20px 0; border-top: 1px solid #DDE4EB; align-items: start;
}
.cap-row:last-child { border-bottom: 1px solid #DDE4EB; }
.cap-dot { width: 13px; height: 13px; border-radius: 50%; margin-top: 5px; }
.cap-row h3 { font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.cap-row p { font-size: 14.5px; line-height: 1.55; color: #55606D; }

/* Plain definition rows, no dot */
.def-list { display: flex; flex-direction: column; }
.def-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 24px 0; border-top: 1px solid #DDE4EB; align-items: start;
}
.def-row:last-child { border-bottom: 1px solid #DDE4EB; }
.def-row h3 { font-size: 19px; font-weight: 600; }
.def-row p { font-size: 15px; line-height: 1.6; color: #55606D; }

/* ---- Flow lines ---- */
.flow-svg { width: 100%; height: auto; display: block; }
.flow-from { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 500; fill: #7C8894; }
.flow-to { font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600; fill: var(--navy); }
.flow-head { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .1em; fill: #9AA5B1; }

/* ---- Typographic proof ---- */
.proof-line {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 300; line-height: 1.5; color: var(--navy); max-width: 24ch;
}
.proof-num { font-weight: 600; color: var(--blue); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.proof-grid a { font-size: 14px; font-weight: 600; display: inline-block; margin-top: 16px; }

/* ---- Service / sector diagram blocks ---- */
.diagram-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.diagram-layout.reverse .diagram-art { order: 2; }
.diagram-art { width: 100%; height: auto; }
.svg-label { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; fill: var(--navy); }
.svg-muted { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 500; fill: #8A97A5; }
.svg-tiny { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 500; fill: #8A97A5; }

/* Inline capability chips, replaces bulleted card lists */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  font-size: 13px; padding: 7px 13px; border-radius: 3px;
  background: #EAF1F8; color: var(--navy);
}

/* ---- Story arc ---- */
.arc-story { padding: 48px 0; border-top: 1px solid #DDE4EB; }
.arc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.arc-svg { width: 100%; height: auto; }

@media (max-width: 900px) {
  body.v2 .band { padding-top: 72px; padding-bottom: 72px; }
  .venn-layout, .climb-detail, .proof-grid,
  .diagram-layout, .arc-grid, .def-row { grid-template-columns: 1fr; gap: 32px; }
  .diagram-layout.reverse .diagram-art { order: 0; }
  .climb-detail { padding: 28px 24px; }
  .def-row { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .step-plate, .step-label, .step-sub { transition: none; }
}

/* ---- Resource detail pages ---- */
.crumbs { font-size: 13px; color: var(--gray-muted); display: flex; gap: 8px; align-items: center; }
.crumbs a { font-weight: 600; }

.asset-meta { font-size: 14px; color: var(--gray-muted); margin-top: 14px; }

.asset-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}

.asset-frame {
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #F2F5F8;
}
.asset-doc { height: 720px; }
.asset-video { aspect-ratio: 16 / 9; }
.asset-video iframe, .asset-doc object { width: 100%; height: 100%; border: 0; display: block; }

.asset-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
}
.asset-placeholder p { font-size: 15px; color: #55606D; margin: 0; }
.asset-placeholder .asset-hint { font-size: 13px; color: var(--gray-muted); }
.asset-placeholder code {
  font-size: 12px;
  background: #E3EAF1;
  padding: 2px 6px;
  border-radius: 3px;
}
.asset-placeholder .btn { margin-top: 8px; }

.asset-side {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
}
.asset-side-head { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.asset-side p { font-size: 15px; line-height: 1.6; color: var(--ink); }
.asset-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.asset-actions .btn { justify-content: center; }
.asset-free { font-size: 13px; color: var(--gray-muted); margin-top: 14px; }

/* Video pages: the player takes the full width, the description sits below it */
.asset-layout-video { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.asset-side-wide {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 40px;
  align-items: start;
}
.asset-side-wide .asset-actions { margin-top: 0; }
.asset-side-wide .asset-side-head { font-size: 13px; }

.res-card h3 a { color: var(--navy); }
.res-card h3 a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .asset-layout { grid-template-columns: 1fr; }
  .asset-side { position: static; }
  .asset-doc { height: 520px; }
  .asset-side-wide { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Legal pages */
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; font-size: 14px; border-left: 2px solid var(--gray-line); padding-left: 18px; }
.legal-toc h2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.legal-toc ul { list-style: none; margin: 0; padding: 0; }
.legal-toc li { margin: 0 0 9px; line-height: 1.35; }
.legal-toc li.sub { padding-left: 12px; font-size: 13px; }
.legal-prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal-prose h2 { font-weight: 600; font-size: 26px; margin: 56px 0 16px; scroll-margin-top: 90px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-size: 18px; margin: 32px 0 10px; scroll-margin-top: 90px; }
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul { margin: 0 0 18px; padding-left: 22px; }
.legal-prose li { margin-bottom: 6px; }
.legal-part { border-top: 2px solid var(--navy); padding-top: 40px; margin-top: 72px; }
.legal-part:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-summary { background: var(--blue-tint); border-radius: var(--radius-lg); padding: 22px 26px; margin: 0 0 40px; }
.legal-summary p:last-child, .legal-summary ul:last-child { margin-bottom: 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; line-height: 1.55; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--gray-line); }
.legal-table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--gray-panel); }
.legal-cat { border: 1px solid var(--gray-line); border-radius: var(--radius-lg); padding: 22px 26px; margin: 0 0 20px; }
.legal-cat h3 { margin-top: 0; }
.legal-cat h4 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray-muted); margin: 16px 0 6px; font-weight: 700; }
.legal-cat ul { margin-bottom: 0; }
.legal-meta { font-size: 14px; color: var(--gray-muted); margin-top: 14px; }
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .legal-toc { position: static; max-height: none; }
  .legal-table { display: block; overflow-x: auto; }
}

/* ================= Offer pages and funnel components ================= */

.eyebrow-lg { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-light { background: #FFFFFF; color: var(--navy); }
.btn-light:hover { background: #E4EEF7; color: var(--navy); }
.btn-outline-light { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.btn-outline-light:hover { background: #FFFFFF; color: var(--navy); }
.fine { font-size: 13px; line-height: 1.5; color: #6B7C8D; max-width: 62ch; }
.fine a { text-decoration: underline; }

/* Offer hero: text left, price card right */
.offer-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 56px; align-items: start; }
.offer-card {
  border: 1px solid #DDE4EB; border-top: 4px solid var(--blue); background: #FFFFFF;
  padding: 32px; border-radius: 4px; box-shadow: 0 10px 30px rgba(12, 54, 104, .08);
}
.offer-card .price { font-size: clamp(40px, 5vw, 56px); font-weight: 300; color: var(--navy); line-height: 1; margin: 0 0 4px; }
.offer-card .price-note { font-size: 14px; color: #55606D; margin: 0 0 22px; }
.offer-card ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offer-card li { font-size: 15px; padding-left: 22px; position: relative; color: var(--ink); line-height: 1.45; }
.offer-card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.offer-card .btn { width: 100%; justify-content: center; }
.offer-card .btn + .btn { margin-top: 12px; }

/* Doors on the home page */
.door-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.door {
  display: flex; flex-direction: column; padding: 32px; background: #FFFFFF;
  border: 1px solid #DDE4EB; border-top: 4px solid var(--navy); border-radius: 4px;
  transition: box-shadow .18s ease, border-color .18s ease; color: inherit;
}
.door:hover { box-shadow: 0 12px 32px rgba(12, 54, 104, .12); border-top-color: var(--blue); text-decoration: none; }
.door .door-for { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.door h3 { font-size: 22px; font-weight: 600; line-height: 1.25; margin: 0 0 10px; color: var(--navy); }
.door p { font-size: 15px; line-height: 1.6; color: #55606D; margin: 0 0 20px; }
.door .door-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-top: 1px solid #EEF2F6; padding-top: 16px; }
.door .door-price { font-weight: 700; color: var(--navy); font-size: 15px; }
.door .door-go { font-weight: 600; font-size: 14px; color: var(--blue); }
.door-wide { grid-column: 1 / -1; border-top-color: #638891; background: #F7FAFD; }

/* Assess / Prove / Scale ladder */
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid #DDE4EB; background: #FFFFFF; }
.rung { padding: 32px 30px; border-left: 1px solid #DDE4EB; position: relative; }
.rung:first-child { border-left: none; }
.rung .rung-step { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin: 0 0 10px; }
.rung h3 { font-size: 24px; font-weight: 300; color: var(--navy); margin: 0 0 12px; }
.rung p { font-size: 15px; line-height: 1.6; color: #55606D; margin: 0 0 16px; }
.rung .rung-price { font-size: 14px; font-weight: 700; color: var(--navy); border-top: 1px solid #EEF2F6; padding-top: 14px; margin: 0; }
.rung:nth-child(1) { background: #F7FAFD; }

/* Three-up text columns */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.trio h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.trio p { font-size: 15px; line-height: 1.6; color: #55606D; }
.trio .trio-num { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .08em; margin: 0 0 10px; }
.on-navy .trio h3 { color: #FFFFFF; }
.on-navy .trio p { color: #D7E0EA; }

/* Comparison table */
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid #DDE4EB; vertical-align: top; line-height: 1.5; }
.compare thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--navy); }
.compare tbody th { font-weight: 600; color: var(--navy); width: 24%; }
.compare td:nth-child(2) { background: #F7FAFD; }
.compare-wrap { overflow-x: auto; }

/* Quote-style prompts */
.voice { border-left: 3px solid var(--blue); padding: 4px 0 4px 22px; }
.voice q { display: block; quotes: none; font-size: 21px; font-weight: 300; line-height: 1.35; color: var(--navy); margin: 0 0 10px; }
.voice p { font-size: 15px; color: #55606D; margin: 0; }

/* Question list */
.faq details { border-top: 1px solid #DDE4EB; padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid #DDE4EB; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--blue); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: #55606D; max-width: 64ch; }

/* Request form band */
.request-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.request-band .card { box-shadow: 0 10px 30px rgba(12, 54, 104, .08); }

/* Resource page offer callout */
.offer-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 28px 32px; border: 1px solid #DDE4EB; border-left: 4px solid var(--blue); background: #F7FAFD; }
.offer-callout h2 { font-size: 22px; font-weight: 600; margin: 0 0 6px; color: var(--navy); }
.offer-callout p { font-size: 15px; line-height: 1.55; color: #55606D; margin: 0; max-width: 60ch; }

/* Custom-work "how it starts" */
.start-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }

@media (max-width: 900px) {
  .offer-hero, .request-band { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .door-grid, .door-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .ladder { grid-template-columns: minmax(0, 1fr); }
  .rung { border-left: none; border-top: 1px solid #DDE4EB; }
  .rung:first-child { border-top: none; }
  .trio, .start-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .offer-callout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px; }
  .compare th, .compare td { padding: 12px 12px; font-size: 14px; }
}
@media (max-width: 560px) {
  .door, .offer-card { padding: 24px; }
  .btn-row .btn { width: 100%; justify-content: center; }
}
