/* Layout: a builder's drawing set. Photo-led sections on cool paper, one deep-navy
   "code" band, drafting-style labels and dimension lines as the recurring detail. */
:root {
  --paper: #f3f5f7;      /* cool off-white, tinted toward the navy */
  --panel: #ffffff;
  --ink: #0f2138;        /* deep navy, body text and dark bands */
  --blue: #1f3f7a;       /* logo blue */
  --red: #c8102e;        /* brand red, calls to action only */
  --muted: #56657a;
  --line: #d3dae3;
  --on-ink: #eef2f7;
  --on-ink-muted: #a9b6c8;
  --line-ink: #2a3d58;
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --mono: "Barlow", "Helvetica Neue", Arial, sans-serif;  /* labels: small tracked caps, no typewriter face */
  --red-bright: #e3122f;  /* red on dark backgrounds */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: 0.005em; text-transform: uppercase; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.45rem; letter-spacing: 0.01em; }
p { margin: 0; }
.label { font: 500 0.74rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.label b { color: var(--red); font-weight: 500; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.btn { display: inline-flex; align-items: center; gap: 0.5em; font: 600 0.98rem/1 var(--body); letter-spacing: 0.02em; text-decoration: none; padding: 0.95em 1.4em; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #a50d26; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
section { padding-block: clamp(56px, 8vw, 104px); }

/* Header */
.topbar { background: var(--ink); color: var(--on-ink-muted); font: 500 0.9rem/1 var(--body); letter-spacing: 0.01em; }
.topbar .wrap { display: flex; gap: 1.5rem; justify-content: flex-end; flex-wrap: wrap; padding-block: 9px; }
.topbar a { text-decoration: none; color: var(--on-ink); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(243,245,247,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 10px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.nav a.link { text-decoration: none; font: 600 0.9rem/1 var(--body); letter-spacing: 0.02em; color: var(--ink); }
.nav a.link:hover { color: var(--red); }
.nav .btn { padding: 0.75em 1.1em; font-size: 0.88rem; }
.menu { display: none; }
@media (max-width: 1080px) { .nav { gap: 0.95rem; } .nav a.link { font-size: 0.84rem; } .nav .btn { padding: 0.7em 0.9em; font-size: 0.82rem; } }
@media (max-width: 800px) {
  .nav a.link { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; font: 600 0.88rem/1 var(--body); padding: 0.75em 0.9em; border: 2px solid var(--ink); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(15,33,56,.14); display: grid; min-width: 230px; }
  .menu nav a { padding: 14px 18px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
  .menu nav a:last-child { border-bottom: 0; }
}
@media (max-width: 520px) { .nav > .btn { display: none; } .brand img { height: 40px; } }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 span { color: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; min-width: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--on-ink); font: 400 0.74rem/1.3 var(--mono); letter-spacing: 0.06em; padding: 8px 12px; }
.hero-photo::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--line); z-index: -1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-photo::before { display: none; } }

/* Credentials strip */
.creds { background: var(--panel); border-block: 1px solid var(--line); padding-block: 0; }
.creds .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cred { padding: 26px clamp(12px, 2vw, 24px); border-left: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.cred:first-child { border-left: 0; padding-left: 0; }
.cred strong { font: 700 clamp(1.8rem, 3vw, 2.4rem)/1 var(--display); color: var(--blue); font-variant-numeric: tabular-nums; }
.cred span { font-size: 0.92rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 760px) { .creds .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); } .cred { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .cred:nth-child(-n+2) { border-top: 0; } }

/* Why us + court plan */
.why .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-copy { display: grid; gap: 20px; }
.why-copy p { max-width: 58ch; }
.plan { background: var(--panel); border: 1px solid var(--line); padding: clamp(14px, 2.5vw, 26px); min-width: 0; }
.plan svg { width: 100%; height: auto; display: block; }
.plan .court { fill: #e4ebf4; stroke: var(--blue); stroke-width: 2; }
.plan .glass { stroke: var(--blue); stroke-width: 7; fill: none; }
.plan .mesh { stroke: var(--blue); stroke-width: 2; stroke-dasharray: 3 4; fill: none; }
.plan .mark { stroke: var(--blue); stroke-width: 1.5; fill: none; }
.plan .net { stroke: var(--red); stroke-width: 3; }
.plan .dim { stroke: var(--muted); stroke-width: 1; fill: none; }
.plan text { font-family: var(--mono); font-size: 19px; fill: var(--ink); }
.plan text.small { font-size: 16px; fill: var(--muted); }
.plan-title { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
@media (max-width: 860px) { .why .wrap { grid-template-columns: 1fr; } }

/* Services */
.services { background: var(--panel); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.svc { padding: clamp(22px, 3vw, 34px) clamp(0px, 2vw, 28px) clamp(22px, 3vw, 34px) 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--line); }
.svc:nth-child(odd) { border-right: 1px solid var(--line); }
.svc:nth-child(even) { padding-left: clamp(18px, 3vw, 34px); }
.svc ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.svc li { font-size: 0.95rem; color: var(--muted); padding-left: 18px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 8px; height: 2px; background: var(--red); }
.svc a { font-weight: 600; font-size: 0.95rem; text-decoration: none; border-bottom: 2px solid var(--red); justify-self: start; margin-top: 6px; }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } .svc:nth-child(odd) { border-right: 0; } .svc:nth-child(even) { padding-left: 0; } }

/* Court systems feature */
.feature .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.feature-photo { margin: 0; display: grid; gap: 10px; min-width: 0; }
.spec { border-top: 2px solid var(--ink); }
.feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.feature-copy { display: grid; gap: 18px; min-width: 0; }
.spec { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font: 500 0.74rem/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); width: 38%; padding-right: 12px; }
@media (max-width: 860px) { .feature .wrap { grid-template-columns: 1fr; } }

/* Code band */
.code { background: var(--ink); color: var(--on-ink); }
.code .label { color: var(--on-ink-muted); }
.code .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.code-copy { display: grid; gap: 20px; }
.code-copy p { color: var(--on-ink-muted); max-width: 56ch; }
.code-copy p strong { color: var(--on-ink); font-weight: 600; }
.compare { border: 1px solid var(--line-ink); min-width: 0; overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 420px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line-ink); font-size: 0.98rem; }
.compare thead th { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-ink-muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-family: var(--mono); font-size: 0.88rem; }
.yes { color: #7fd1a0; font-weight: 600; }
.no { color: #ff5c5c; font-weight: 600; }
.code .btn-line { color: var(--on-ink); }
.code .btn-line:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
@media (max-width: 860px) { .code .wrap { grid-template-columns: 1fr; } }

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.proj figure { margin: 0; display: grid; gap: 10px; }
.proj img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proj figcaption { display: grid; gap: 2px; }
.proj figcaption strong { font-weight: 600; }
.proj figcaption span { font-size: 0.9rem; color: var(--muted); }
.proj-foot { margin-top: 28px; }
.ph { aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--panel) 0 12px, #e8edf2 12px 24px); border: 1px dashed var(--line); display: grid; place-items: center; }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } }

/* Difference */
.diff { background: var(--panel); border-block: 1px solid var(--line); }
.diff-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.diff-item { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--ink); padding-top: 18px; }
.diff-item p { font-size: 0.97rem; color: var(--muted); }
@media (max-width: 960px) { .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq .wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem/1 var(--mono); color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) { .faq .wrap { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--ink); color: var(--on-ink); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.contact .label { color: var(--on-ink-muted); }
.contact-copy { display: grid; gap: 18px; align-content: start; }
.contact-copy p { color: var(--on-ink-muted); max-width: 48ch; }
.direct { display: grid; gap: 6px; margin-top: 8px; font-family: var(--mono); font-size: 0.95rem; }
.direct a { color: var(--on-ink); text-decoration: none; }
form { display: grid; gap: 16px; min-width: 0; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-ink-muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--on-ink); background: #172c48; border: 1px solid var(--line-ink); padding: 13px 14px; border-radius: 0; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--on-ink-muted) 50%), linear-gradient(135deg, var(--on-ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: #0f2138; }
.field input::placeholder, .field textarea::placeholder { color: #7285a0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--on-ink); }
form .btn { justify-self: start; }
.form-note { font-size: 0.88rem; color: var(--on-ink-muted); }
.form-status { font-size: 0.95rem; color: #ffb3bc; min-height: 1.4em; }

/* Footer */
.foot { background: #0a1729; color: var(--on-ink-muted); padding-block: 48px 32px; font-size: 0.93rem; }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot img { height: 56px; width: auto; margin-bottom: 14px; }
.foot h4 { font: 500 0.72rem/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; color: var(--on-ink-muted); }
.foot a:hover { color: var(--on-ink); }
.foot-base { grid-column: 1 / -1; border-top: 1px solid var(--line-ink); padding-top: 20px; font-size: 0.84rem; }
@media (max-width: 860px) { .foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot .wrap { grid-template-columns: 1fr; } }

/* Inner pages */
.page-hero { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero.solo .wrap { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero .hero-copy { display: grid; gap: 20px; min-width: 0; }
.page-hero figure { margin: 0; min-width: 0; display: grid; gap: 10px; }
.page-hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } }
.crumbs { font: 400 0.78rem/1.3 var(--mono); letter-spacing: 0.06em; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.checks li { padding: 16px 16px 16px 30px; border-bottom: 1px solid var(--line); position: relative; min-width: 0; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 12px; height: 2px; background: var(--red); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: "Step " counter(step); font: 500 0.72rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: 0.97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.cards4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.cards4 > div { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--ink); padding-top: 18px; }
.cards4 p { font-size: 0.97rem; color: var(--muted); }
@media (max-width: 960px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--red); background: var(--panel); padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px; }
.callout a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); justify-self: start; }

/* Article */
.article { max-width: 760px; margin-inline: auto; }
.article > * + * { margin-top: 1.1em; }
.article h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin-top: 1.8em; }
.article p, .article li { font-size: 1.08rem; line-height: 1.7; }
.article .pull { font: 600 1.25rem/1.45 var(--body); border-left: 4px solid var(--red); padding-left: 18px; }
.article ol { padding-left: 1.2em; display: grid; gap: 14px; }
.article .table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--panel); }
.article table { width: 100%; border-collapse: collapse; min-width: 480px; }
.article th, .article td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.article thead th { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.article tbody tr:last-child td { border-bottom: 0; }
.byline { font: 400 0.85rem/1.5 var(--mono); color: var(--muted); border-block: 1px solid var(--line); padding-block: 12px; }
.author { background: var(--panel); border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); display: grid; gap: 10px; }
.author p { font-size: 0.98rem; color: var(--muted); }

/* Facts page */
.facts { display: grid; grid-template-columns: 200px minmax(0, 1fr); border-top: 2px solid var(--ink); margin: 0; }
.facts dt, .facts dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font: 500 0.74rem/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-right: 16px; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } }

/* Thank-you + landing */
.simple-head .wrap { justify-content: space-between; }
.thanks { max-width: 760px; margin-inline: auto; display: grid; gap: 22px; }
.thanks ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 2px solid var(--ink); counter-reset: n; }
.thanks ol li { counter-increment: n; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--line); position: relative; }
.thanks ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 16px; font: 500 0.9rem/1.6 var(--mono); color: var(--red); }
.nav a.link[aria-current="page"] { color: var(--red); }

/* Full-width photo band */
.photo-band { position: relative; padding: 0; background: var(--ink); }
.photo-band img { width: 100%; height: clamp(280px, 52vw, 620px); object-fit: cover; object-position: center 60%; }
.photo-band .wrap { position: absolute; left: 0; right: 0; bottom: clamp(16px, 3vw, 32px); }
.photo-band-cap { display: inline-grid; gap: 2px; background: var(--ink); color: var(--on-ink); padding: 12px 16px; max-width: 100%; }
.photo-band-cap strong { font: 700 1.15rem/1.1 var(--display); text-transform: uppercase; letter-spacing: 0.02em; }
.photo-band-cap span { font: 400 0.78rem/1.4 var(--mono); letter-spacing: 0.06em; color: var(--on-ink-muted); }
.proj-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .proj-grid.three { grid-template-columns: 1fr; } }
.proj-grid:not(.three) > figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.proj-grid:not(.three) > figure:last-child:nth-child(odd) img { aspect-ratio: 21 / 9; object-fit: cover; object-position: center 80%; height: auto; }

/* ---- Color and conversion pass (Sept 29) ---- */
body { background: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Homepage hero: full-bleed photo under a navy wash */
.hero-photo-bg { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(64px, 10vw, 128px) clamp(56px, 8vw, 104px); }
.hero-photo-bg .hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-photo-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,23,41,.94) 0%, rgba(10,23,41,.82) 42%, rgba(10,23,41,.35) 75%, rgba(10,23,41,.15) 100%); }
.hero-photo-bg .wrap { position: relative; z-index: 2; display: block; }
.hero-photo-bg .hero-copy { max-width: 640px; }
.hero-photo-bg h1 { color: #fff; }
.hero-photo-bg h1 span { color: var(--red-bright); }
.hero-photo-bg .label b { color: var(--red-bright); font-weight: 700; }
.hero-photo-bg .lede { color: #d4dde9; }
.hero-note { font-size: 0.92rem; color: #b8c5d6; }
.hero-note a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.hero-cap { position: absolute; right: var(--gutter); bottom: calc(-1 * clamp(40px, 6vw, 88px) + 14px); font: 400 0.72rem/1.3 var(--mono); letter-spacing: 0.06em; color: #d4dde9; text-transform: uppercase; }
@media (max-width: 860px) { .hero-photo-bg::before { background: linear-gradient(180deg, rgba(10,23,41,.9) 0%, rgba(10,23,41,.82) 100%); } .hero-cap { display: none; } }

/* Credentials: logo-blue band */
.creds { background: var(--ink); border: 0; border-top: 4px solid var(--red); }
.cred { border-left-color: rgba(255,255,255,.18); }
.cred strong { color: #fff; }
.cred span { color: #c9d6ea; }
@media (max-width: 760px) { .cred { border-top-color: rgba(255,255,255,.18); } }

/* Section rhythm: white and cool-gray alternate */
.why { background: #fff; }
.services { background: var(--paper); }
.proj { background: #fff; }
.faq { background: var(--paper); }
.diff { background: #fff; border-block: 0; }
.diff-item { border-top: 4px solid var(--red); }
.cards4 > div { border-top-color: var(--ink); border-top-width: 3px; }

/* Red call-to-action band */
.cta-band { background: var(--ink); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: #fff; }
.cta-band p { color: #d3def0; font-size: 1.08rem; margin-top: 6px; max-width: 52ch; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.cta-phone { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.6); }

/* Inner page heroes on navy */
.page-hero { background: var(--ink); color: #fff; border-bottom: 4px solid var(--red); }
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #d4dde9; }
.page-hero .label { color: #a9b6c8; }
.page-hero .label b { color: var(--red-bright); font-weight: 700; }
.page-hero .crumbs, .page-hero .crumbs a { color: #a9b6c8; }
.page-hero .btn-line { color: #fff; border-color: rgba(255,255,255,.75); }
.page-hero .btn-line:hover { background: #fff; color: var(--ink); }
.page-hero figcaption { color: #a9b6c8; }
.page-hero.solo { border-bottom: 4px solid var(--red); }
.proj.page-first { padding-top: clamp(40px, 6vw, 72px) !important; }

/* Contact: what you get */
.get { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.get li { position: relative; padding-left: 30px; color: #fff; font-weight: 500; }
.get li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 9px; border-left: 3px solid var(--red-bright); border-bottom: 3px solid var(--red-bright); transform: rotate(-45deg); }

/* Sticky contact bar on phones */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -6px 20px rgba(10,23,41,.25); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); }
  .mobile-cta a { text-align: center; padding: 15px 8px; font: 600 0.95rem/1 var(--body); text-decoration: none; color: #fff; }
  .mobile-cta .mc-go { background: var(--red); }
  body { padding-bottom: 56px; }
}
.page-first-sec { padding-top: clamp(40px, 6vw, 72px); }
.page-hero .byline { color: #c9d6ea; border-color: rgba(255,255,255,.25); }

.cta-band .btn-white { background: var(--red); color: #fff; border-color: var(--red); }
.cta-band .btn-white:hover { background: #a50d26; border-color: #a50d26; }
.svc-actions { margin-top: clamp(28px, 4vw, 40px); justify-content: center; }

/* ---- Whole-site pass (Sept 29): navy / red / white system ---- */
.site-head { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(15,33,56,.06); border-bottom: 0; }
/* Card blocks follow the "Why buyers choose us" pattern Eric approved: 4px red top rule */
.cards4 > div, .steps li, .diff-item { border-top: 4px solid var(--red); }
.checks, .faq-list, .svc-grid { border-top: 3px solid var(--ink); }
/* Gray bands separate by color, not hairlines */
.band { border-block: 0; background: var(--paper); }
/* Inner hero sitting on the proof strip: one red rule, not two */
.page-hero.has-creds { border-bottom: 0; }
/* FAQ heading sits at the top of its column */
.faq .wrap { align-items: start; }
.faq .section-head { align-self: start; }
/* Court plan drawing in navy, no logo blue */
.plan .court { stroke: var(--ink); }
.plan .glass, .plan .mesh, .plan .mark { stroke: var(--ink); }
/* Callout reads as a panel */
.callout { background: var(--paper); border: 0; border-left: 4px solid var(--red); }

/* Mockup: four-up project row */
.proj-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .proj-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.proj.band { background: var(--paper); }

/* ---- Google Ads landing page (/assessment) ---- */
.lp-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding-block: clamp(40px, 6vw, 80px); }
.lp-hero .hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,23,41,.95) 0%, rgba(10,23,41,.85) 50%, rgba(10,23,41,.6) 100%); }
.lp-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lp-copy { display: grid; gap: 20px; min-width: 0; }
.lp-copy h1 { color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); }
.lp-copy h1 span { color: var(--red-bright); }
.lp-copy .label { color: #a9b6c8; }
.lp-copy .label b { color: var(--red-bright); font-weight: 700; }
.lp-copy .lede { color: #d4dde9; }
.lp-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.lp-points li { position: relative; padding-left: 30px; color: #fff; font-weight: 500; }
.lp-points li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 16px; height: 9px; border-left: 3px solid var(--red-bright); border-bottom: 3px solid var(--red-bright); transform: rotate(-45deg); }
.lp-form { background: #fff; color: var(--ink); padding: clamp(22px, 3vw, 32px); border-top: 4px solid var(--red); box-shadow: 0 20px 50px rgba(0,0,0,.3); gap: 14px; scroll-margin-top: 90px; }
.lp-form h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.lp-form-sub { color: var(--muted); margin-top: -6px; }
.lp-form .field label { color: var(--muted); }
.lp-form .field input, .lp-form .field select { background-color: #fff; color: var(--ink); border: 1px solid #b9c3cf; }
.lp-form .field input:focus, .lp-form .field select:focus { border-color: var(--ink); }
.lp-form .field select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); }
.lp-form .btn { justify-self: stretch; justify-content: center; }
.lp-form .form-note { color: var(--muted); }
.lp-form .form-status { color: var(--red); }
@media (max-width: 900px) { .lp-hero .wrap { grid-template-columns: 1fr; } .lp-hero::before { background: rgba(10,23,41,.88); } }
.lp-foot { background: #0a1729; color: var(--on-ink-muted); padding-block: 28px; font-size: 0.86rem; }
.lp-foot .wrap { display: grid; gap: 6px; }
.lp-foot a { color: var(--on-ink-muted); }
.lp-qual { font: 600 clamp(1.1rem, 1.8vw, 1.3rem)/1.3 var(--body); color: #fff; border-left: 4px solid var(--red-bright); padding-left: 14px; }
.req { color: var(--red); }
.simple-head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone { font-weight: 600; text-decoration: none; color: var(--ink); }
.lp-form .form-note a { color: var(--ink); font-weight: 600; }
@media (max-width: 520px) { .head-phone { display: none; } }
