/* Capital Link Partners — "Roadside" design system (2026-09 redesign).
   Night navy + brass carried over from the CLP brand; daylight concrete for reading;
   the lit changeable-letter pylon sign is the one signature element. */

:root {
  --ink: #0e1a26;        /* night navy: hero, text, header */
  --ink-2: #172a3c;      /* raised navy surfaces */
  --concrete: #eef0ee;   /* page ground: cool daylight concrete */
  --paper: #ffffff;      /* cards */
  --steel: #5b6875;      /* secondary text */
  --line: rgba(14, 26, 38, 0.12);
  --brass: #c8a052;      /* the accent: buttons, sign cap, marks */
  --brass-deep: #94732f; /* brass on light backgrounds (contrast) */
  --sign: #f7f7f2;       /* lit sign panel */

  --display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body: 'Overpass', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Overpass Mono', ui-monospace, Consolas, monospace;

  --s-1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --s0: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --s1: clamp(1.25rem, 1.15rem + 0.5vw, 1.55rem);
  --s2: clamp(1.7rem, 1.4rem + 1.3vw, 2.5rem);
  --s3: clamp(2.3rem, 1.7rem + 2.8vw, 4rem);
  --s4: clamp(2.9rem, 2rem + 4.4vw, 5.6rem);

  --r: 10px;
  --maxw: 74rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--concrete); color: var(--ink); font-family: var(--body); font-size: var(--s0); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; } /* height:auto lets aspect-ratio win over the width/height attributes */
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 0.98; letter-spacing: 0.005em; margin: 0; text-transform: uppercase; }
h1 { font-size: var(--s4); }
h2 { font-size: var(--s3); }
h3 { font-size: var(--s1); font-weight: 700; line-height: 1.1; }
.kicker { display: inline-block; font-family: var(--mono); font-size: var(--s-1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 1rem; }
.lead { font-size: var(--s1); line-height: 1.5; color: var(--steel); max-width: 40rem; margin: 1.25rem 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 3.2rem; padding: 0.7em 1.4em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #d8b264; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: rgba(200, 160, 82, 0.14); }
.btn-sm { min-height: 2.6rem; padding: 0.45em 1.1em; font-size: var(--s-1); }
.link-arrow { font-weight: 700; color: var(--brass-deep); text-decoration: none; border-bottom: 2px solid currentColor; }
.link-arrow:hover { color: var(--ink); }

/* Header */
.hdr { position: sticky; top: 0; z-index: 30; background: var(--ink); color: var(--sign); border-bottom: 1px solid rgba(200, 160, 82, 0.35); }
.hdr-in { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.mark { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.mark-name { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.04em; text-transform: uppercase; }
.mark-name span { color: var(--brass); }
.mark-tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(247, 247, 242, 0.6); margin-top: 0.3rem; }
.hdr-nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: var(--s-1); }
.hdr-nav a, .hdr-menu nav a { text-decoration: none; color: rgba(247, 247, 242, 0.8); }
.hdr-nav a:hover, .hdr-menu nav a:hover { color: var(--brass); }
.hdr-cta { display: flex; align-items: center; gap: 1rem; }
.hdr-phone { font-family: var(--mono); font-size: var(--s-1); text-decoration: none; color: var(--sign); white-space: nowrap; }
.hdr-menu { display: none; position: relative; }
.hdr-menu summary { list-style: none; cursor: pointer; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.5rem 0.2rem; }
.hdr-menu summary::-webkit-details-marker { display: none; }
.hdr-menu nav { position: absolute; right: 0; top: calc(100% + 0.9rem); display: flex; flex-direction: column; gap: 0.9rem; min-width: 13rem; padding: 1.2rem 1.4rem; background: var(--ink-2); border: 1px solid rgba(200, 160, 82, 0.35); border-radius: var(--r); }

/* Hero: night road with the lit pylon sign */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 78% 30%, #1d344a 0%, var(--ink) 58%); color: var(--sign); padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(4rem, 8vw, 7rem); }
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 28%; background: linear-gradient(to bottom, rgba(14, 26, 38, 0), rgba(8, 15, 22, 0.9)); pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero .kicker { color: var(--brass); }
.hero h1 { color: var(--sign); }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lead { color: rgba(247, 247, 242, 0.78); }
.hero-terms { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-family: var(--mono); font-size: var(--s-1); color: rgba(247, 247, 242, 0.85); }
.hero-terms li::before { content: '✓'; color: var(--brass); margin-right: 0.45em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-actions .btn-line { color: var(--sign); }
.hero-call { margin-top: 1.2rem; font-size: var(--s-1); color: rgba(247, 247, 242, 0.65); }
.hero-call a { color: var(--sign); font-family: var(--mono); }

/* The pylon sign (signature) */
.pylon { width: min(100%, 30rem); margin-inline: auto; container-type: inline-size; }
.pylon-cap { background: var(--brass); color: var(--ink); text-align: center; font-family: var(--display); font-weight: 900; font-size: 9cqi; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35em 0 0.3em; border-radius: 10px 10px 0 0; box-shadow: 0 0 2.5rem rgba(200, 160, 82, 0.35); }
.pylon-board { background: var(--sign); padding: 5cqi 4cqi; border: 3cqi solid #22384d; border-top: 0; border-radius: 0 0 6px 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 4rem rgba(247, 247, 242, 0.18), inset 0 0 3rem rgba(255, 244, 214, 0.55); display: grid; gap: 2.4cqi; }
.board-row { display: grid; grid-template-columns: repeat(14, 1fr); gap: 0.7cqi; padding-bottom: 1.2cqi; border-bottom: 2px solid rgba(14, 26, 38, 0.14); } /* the letter rails */
.tile { display: grid; place-items: center; aspect-ratio: 3 / 4.2; font-family: var(--display); font-weight: 900; font-size: 7.6cqi; line-height: 1; color: var(--ink); transform-origin: 50% 50%; transition: transform 0.16s ease-in; backface-visibility: hidden; }
.tile.is-flipping { transform: rotateX(90deg); }
.board-row--small .tile { font-size: 5.6cqi; color: #3a4a59; }
.board-row--big .tile { font-size: 8.4cqi; }
.pylon-legs { display: flex; justify-content: space-between; width: 62%; margin-inline: auto; height: clamp(3rem, 12cqi, 5rem); }
.pylon-legs span { width: 7cqi; background: linear-gradient(90deg, #22384d, #2d4862 45%, #1a2d40); }

/* Sections */
.band { padding-block: clamp(4rem, 8vw, 7rem); }
.band--white { background: var(--paper); border-block: 1px solid var(--line); }
.band--ink { background: var(--ink); color: var(--sign); }
.band--ink .kicker { color: var(--brass); }
.band--ink .lead { color: rgba(247, 247, 242, 0.75); }
.band-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }

/* What we buy */
.buy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.buy-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.buy-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.buy-card div { padding: 1.1rem 1.25rem 1.4rem; }
.buy-card p { margin: 0.45rem 0 0; color: var(--steel); font-size: var(--s-1); line-height: 1.5; }
.buy-also { margin-top: 2rem; padding: 1.2rem 1.4rem; border-left: 4px solid var(--brass); background: rgba(200, 160, 82, 0.1); border-radius: 0 var(--r) var(--r) 0; }
.buy-also p { margin: 0; }
.buy-also strong { font-family: var(--mono); font-size: var(--s-1); letter-spacing: 0.1em; text-transform: uppercase; margin-right: 0.6em; color: var(--brass-deep); }

/* Why owners call us */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.why-item { border-top: 4px solid var(--brass); padding-top: 1.2rem; }
.why-item p { margin: 0.7rem 0 0; color: var(--steel); }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--ink-2); border-radius: var(--r); padding: 1.5rem 1.4rem 1.7rem; border: 1px solid rgba(200, 160, 82, 0.22); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 900; font-size: 3.2rem; line-height: 1; color: var(--brass); }
.steps .when { display: block; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247, 247, 242, 0.55); margin: 0.7rem 0 0.5rem; }
.steps p { margin: 0.6rem 0 0; color: rgba(247, 247, 242, 0.75); font-size: var(--s-1); }

/* Ways to sell */
.ways { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ways-list { list-style: none; margin: 0; padding: 0; }
.ways-list li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.ways-list li:first-child { border-top: 1px solid var(--line); }
.ways-list strong { font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.ways-list span { color: var(--steel); }

/* Who we are */
.who { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.who img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: var(--r); }
.who h2 { font-size: var(--s2); }
.who p { color: var(--steel); margin: 1rem 0 0; max-width: 42rem; }

/* Closing call */
.closer { text-align: center; }
.closer h2 { max-width: 18ch; margin-inline: auto; }
.closer .lead { margin-inline: auto; }
.closer .hero-actions { justify-content: center; }
.closer .btn-line { color: var(--sign); }

/* Footer */
.ftr { background: #09131c; color: rgba(247, 247, 242, 0.7); padding-block: 3.5rem 2rem; font-size: var(--s-1); }
.ftr-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.ftr-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sign); margin: 0 0 0.6rem; }
.ftr p { margin: 0; max-width: 28rem; }
.ftr nav, .ftr-contact { display: flex; flex-direction: column; gap: 0.55rem; }
.ftr a { color: rgba(247, 247, 242, 0.85); text-decoration: none; }
.ftr a:hover { color: var(--brass); }
.ftr-base { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(247, 247, 242, 0.1); font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; }

/* Inner pages */
.page-hero { background: radial-gradient(120% 130% at 88% 0%, #1d344a 0%, var(--ink) 62%); color: var(--sign); padding-block: clamp(3rem, 6vw, 5rem); }
.page-hero .kicker { color: var(--brass); }
.page-hero h1 { font-size: var(--s3); max-width: 20ch; }
.page-hero .lead { color: rgba(247, 247, 242, 0.78); }
.h-sm { font-size: var(--s2); margin-bottom: 1rem; }
.ghl-note { font-size: var(--s-1); color: var(--steel); margin: 1rem 0 0; }
.prose { max-width: 46rem; }
.prose h2.legal { font-size: var(--s1); margin: 2.2rem 0 0.6rem; }
.prose .updated { font-family: var(--mono); font-size: var(--s-1); color: var(--steel); }
.prose h2 { font-size: var(--s2); margin-bottom: 1.2rem; }
.prose p { margin: 0 0 1.1rem; }
.pull { font-family: var(--display); font-weight: 800; font-size: var(--s2); text-transform: uppercase; line-height: 1.05; border-left: 5px solid var(--brass); padding-left: 1rem; margin: 2rem 0; }
.label { display: block; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep); margin: 1.6rem 0 0.2rem; }
.checks, .crosses { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.checks li, .crosses li { position: relative; padding: 0.5rem 0 0.5rem 1.8rem; border-bottom: 1px solid var(--line); }
.checks li:last-child, .crosses li:last-child { border-bottom: 0; }
.checks li::before { content: '✓'; position: absolute; left: 0.2rem; color: var(--brass-deep); font-weight: 700; }
.crosses li::before { content: '✕'; position: absolute; left: 0.2rem; color: var(--steel); }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }

/* Step / structure blocks: side column holds the step number (real sequences only) and a tag */
.detail { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.2rem, 4vw, 3.2rem); border-top: 1px solid var(--line); }
.detail:first-child { border-top: 0; padding-top: 0; }
.detail-num { display: block; font-family: var(--display); font-weight: 900; font-size: 4rem; line-height: 1; color: var(--brass); }
.detail-tag { display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(200, 160, 82, 0.2); padding: 0.3em 0.6em; border-radius: 4px; margin-top: 0.6rem; }
.detail-body h2 { font-size: var(--s2); margin-bottom: 1rem; }
.detail-body p { margin: 0 0 1rem; max-width: 46rem; }

.faq-item { margin-bottom: 1.8rem; }
.faq-item h3 { margin-bottom: 0.5rem; }
.faq-item p { margin: 0; color: var(--steel); }
.note { font-family: var(--mono); font-size: var(--s-1); color: var(--steel); max-width: 62ch; margin: 2rem auto 0; }
.band--ink .note { color: rgba(247, 247, 242, 0.6); }

/* Contact + booking */
.intake { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1rem, 2.5vw, 2rem); min-width: 0; }
.form-card iframe { width: 100%; border: 0; }
.trust { background: var(--ink); color: var(--sign); border-radius: var(--r); padding: 1.8rem; position: sticky; top: 6rem; }
.trust .label { color: var(--brass); margin-top: 0; }
.trust ol { margin: 0.8rem 0 0; padding-left: 1.3rem; }
.trust li { margin-bottom: 0.35rem; }
.trust .checks li { border-color: rgba(247, 247, 242, 0.12); }
.trust .checks li::before { color: var(--brass); }
.trust .crosses li { border-color: rgba(247, 247, 242, 0.12); }
.trust .crosses li::before { color: rgba(247, 247, 242, 0.55); }
.trust hr { border: 0; border-top: 1px solid rgba(200, 160, 82, 0.3); margin: 1.6rem 0; }
.trust p { margin: 0.4rem 0; color: rgba(247, 247, 242, 0.78); }
.trust-phone { display: inline-block; font-family: var(--mono); font-size: 1.4rem; color: var(--brass); margin: 0.2rem 0 1rem; }
.btn-line-brass { border-color: var(--brass); color: var(--brass); }
.form-card h2 { font-size: var(--s1); margin-bottom: 1rem; }

/* Fallback intake form (shown only if the GHL embed is missing) */
.form-step { font-family: var(--display); font-weight: 800; font-size: var(--s1); text-transform: uppercase; margin: 1.8rem 0 1rem; }
.form-step:first-child { margin-top: 0; }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field > label { font-weight: 600; font-size: var(--s-1); }
.field input, .field select, .field textarea { font: inherit; padding: 0.7rem 0.8rem; border: 1px solid rgba(14, 26, 38, 0.25); border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 7rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.radios { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.radios label, .field .confirm { font-weight: 400; display: flex; gap: 0.5rem; align-items: flex-start; }
.form-card .btn { width: 100%; }
.small-print { font-size: var(--s-1); color: var(--steel); text-align: center; margin-top: 0.8rem; }

@media (max-width: 980px) {
  .detail { grid-template-columns: 1fr; gap: 0.8rem; }
  .intake { grid-template-columns: 1fr; }
  .trust { position: static; }
  .cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cols-2, .field-row { grid-template-columns: 1fr; }
}

/* Responsive */
@media (max-width: 980px) {
  .hdr-nav, .hdr-phone { display: none; }
  .hdr-menu { display: block; margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; }
  .pylon { width: min(100%, 24rem); }
  .buy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hdr-in { gap: 0.8rem; min-height: 4rem; }
  .mark-tag { display: none; }
  .mark-name { font-size: 1.15rem; white-space: nowrap; }
  .hdr-cta .btn-sm { white-space: nowrap; padding-inline: 0.9em; }
  .buy-grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .ways-list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .who { grid-template-columns: 1fr; }
  .who img { max-width: 13rem; }
  .ftr-in { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { transition: none; }
}
