/* Nation Stride Property Solutions — production stylesheet (finalized 2026-08-07) */

:root {
  --navy: #06264a;
  --navy-deep: #031a34;
  --blue: #075eaa;
  --blue-bright: #0a77cf;
  --green: #5a8f1f;
  --ink: #0c1e33;
  --text: #3d4b5d;
  --muted: #f4f7fa;
  --line: #d9e2eb;
  --white: #fff;
  --shadow: 0 18px 50px rgba(5, 35, 67, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, 92vw); margin-inline: auto; }
.narrow { width: min(860px, 92vw); }

/* Accessibility helpers */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--navy); color: #fff; font-weight: 700; border-radius: 0 0 6px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98); border-bottom: 1px solid #e4e9ef; box-shadow: 0 2px 12px rgba(6,38,74,.05); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { height: 46px; width: auto; flex: 0 0 auto; }
.brand-text { display: grid; line-height: 1.12; }
.brand-text strong { color: var(--navy); font-size: 1.02rem; letter-spacing: .01em; }
.brand-text small { color: #566b7d; font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(10px,1.2vw,20px); }
.main-nav a { color: #17283c; font-size: .8rem; font-weight: 700; white-space: nowrap; padding: 10px 2px; transition: color .2s; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.header-actions { display: flex; }
.nav-toggle { display: none; margin-left: auto; border: 0; border-radius: 5px; padding: 11px 14px; color: #fff; background: var(--navy); font-size: 1.05rem; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 20px; border: 1px solid transparent; border-radius: 4px; font-family: inherit; font-weight: 800; font-size: .82rem; letter-spacing: .015em; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(3,30,58,.16); text-decoration: none; }
.btn-accent { background: var(--navy); color: #fff; }
.btn-accent:hover { background: var(--blue); }
.btn-light { color: var(--navy); background: #fff; border-color: #ccd6e0; }
.btn-large { padding: 14px 25px; font-size: .86rem; text-transform: uppercase; }

/* Hero */
.hero { position: relative; display: grid; align-items: center; color: var(--ink); background: linear-gradient(160deg, #f2f7fb 0%, #e5eef6 55%, #dbe8f2 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  repeating-linear-gradient(115deg, rgba(7,94,170,.045) 0 2px, transparent 2px 84px),
  radial-gradient(900px 420px at 88% 8%, rgba(7,94,170,.12), transparent 62%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 640px) minmax(280px, 1fr); gap: 40px; align-items: center; padding: 72px 0; }
.kicker { margin: 0 0 15px; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: .78rem; }
h1, h2, h3, h4 { margin: 0 0 13px; color: var(--navy); line-height: 1.14; }
.hero h1 { max-width: 640px; font-size: clamp(2.1rem, 4.3vw, 3.6rem); letter-spacing: -.035em; color: var(--navy-deep); }
.hero-sub { max-width: 600px; margin: 0 0 26px; color: #24374a; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel { justify-self: end; width: min(380px, 100%); padding: 26px 26px 20px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 6px; box-shadow: var(--shadow); overflow: hidden; }
.hero-panel h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.hero-panel .panel-photo { display: block; width: calc(100% + 52px); max-width: none; height: auto; margin: -26px -26px 18px; }
.fact-list { margin: 0; padding: 0; list-style: none; display: grid; }
.fact-list li { display: grid; gap: 1px; padding: 11px 0; border-top: 1px solid #edf2f7; }
.fact-list li:first-child { border-top: 0; }
.fact-list b { color: var(--navy); font-size: .93rem; }
.fact-list span { color: #566b7d; font-size: .82rem; }

/* Inner-page hero */
.inner-page .hero { color: #fff; background: linear-gradient(115deg, var(--navy-deep) 0%, #07406f 62%, #075a97 100%); }
.inner-page .hero::before { background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 84px); }
.inner-page .hero-grid { grid-template-columns: minmax(0, 820px); padding: 60px 0; }
.inner-page .hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.inner-page .hero .kicker { color: #8fcaf2; }
.inner-page .hero-sub { color: #e7f1fa; }
.inner-page .hero a:not(.btn) { color: #9fd0f5; font-weight: 700; }

/* Fact strip */
.trust { background: linear-gradient(90deg, var(--navy-deep), #073661); color: #fff; padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid span { min-height: 62px; display: grid; place-items: center; padding: 8px 16px; border-right: 1px solid rgba(255,255,255,.16); text-align: center; color: #eef6ff; font-size: .84rem; font-weight: 700; }
.trust-grid span:last-child { border-right: 0; }

/* Sections */
.section { padding: 72px 0; }
.section-muted { background: var(--muted); }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -.025em; }
.section-intro { max-width: 780px; }
.lead { color: var(--text); font-size: 1.07rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.callout, .contact-card { padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 5px; box-shadow: 0 12px 32px rgba(6,38,74,.08); }
.photo-figure { margin: 0; }
.photo-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.photo-figure figcaption { margin-top: 9px; color: #566b7d; font-size: .8rem; }
.contact-card p { margin: 8px 0; }
.note { margin-top: 14px; padding: 13px 16px; background: #eef4fa; border-left: 3px solid var(--blue); border-radius: 0 4px 4px 0; color: #2c4257; font-size: .9rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card { padding: 25px 23px; background: #fff; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 6px 18px rgba(6,38,74,.045); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: #9ab6d1; }
.card h3 { font-size: 1.05rem; }
.card p { margin-bottom: 0; color: #536174; font-size: .93rem; }
.card ul { margin: 10px 0 0; padding-left: 18px; color: #536174; font-size: .92rem; }
.card ul li { margin: 4px 0; }

/* Check list */
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 22px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 10px 12px 10px 30px; color: #34475a; font-size: .95rem; font-weight: 600; }
.check-list li::before { content: '✓'; position: absolute; left: 3px; color: var(--green); font-weight: 900; }
.x-list li::before { content: '✕'; color: #a33; }

/* Process */
.process { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 34px; padding: 0; list-style: none; }
.process li { position: relative; padding: 0 10px; text-align: center; }
.process li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border: 4px solid rgba(255,255,255,.45); border-radius: 50%; color: #fff; font-weight: 800; background: var(--blue-bright); box-shadow: 0 0 0 4px rgba(10,119,207,.22); }
.process h3 { color: #fff; font-size: .98rem; }
.process p { color: #dce8f3; font-size: .86rem; }
.section-dark { color: #fff; background: linear-gradient(120deg, var(--navy-deep), #07355f); }
.section-dark h2 { color: #fff; text-align: center; }
.section-dark .section-intro { margin-inline: auto; text-align: center; color: #cfe0ef; }

/* Coverage */
.state-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 280px)); gap: 16px; margin-top: 24px; }
.state-card { padding: 26px; text-align: center; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 6px; box-shadow: 0 8px 22px rgba(6,38,74,.06); }
.state-card strong { display: block; color: var(--navy); font-size: 1.35rem; }
.state-card span { color: #566b7d; font-size: .85rem; }

/* CTA band */
.cta { padding: 62px 0; color: #fff; background: linear-gradient(100deg, var(--navy-deep), #08416f); }
.cta-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cta h2 { max-width: 700px; margin: 0; color: #fff; }
.cta p { color: #cfe0ef; margin: 6px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Forms — honest email-preparation flow */
.form { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
.form h3 { padding-bottom: 13px; border-bottom: 2px solid #edf1f5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form label { display: grid; gap: 6px; color: #293b4e; font-size: .85rem; font-weight: 700; }
.form .optional { color: #68788a; font-weight: 600; }
.form input, .form textarea, .form select { width: 100%; min-height: 44px; padding: 11px 13px; border: 1px solid #ccd7e2; border-radius: 4px; background: #fbfcfd; color: var(--ink); font: inherit; }
.form textarea { min-height: 110px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid rgba(7,94,170,.28); border-color: var(--blue); }
.form input:user-invalid, .form textarea:user-invalid { border-color: #b33a3a; }
.form .full { grid-column: 1 / -1; }
.form button { width: 100%; margin-top: 16px; }
.form-note { margin: 14px 0 0; color: #52657a; font-size: .84rem; }
.form-status { display: none; margin-top: 16px; padding: 15px 17px; background: #eef6ee; border: 1px solid #bcd8bc; border-radius: 5px; color: #24422a; font-size: .92rem; }
.form-status.visible { display: block; }
.form-status a { font-weight: 700; }
.form-error { display: none; margin-top: 12px; padding: 12px 15px; background: #fbeeee; border: 1px solid #e3bcbc; border-radius: 5px; color: #7a2727; font-size: .9rem; }
.form-error.visible { display: block; }

/* Capability statement */
.cap-section { padding: 34px 0; border-top: 1px solid var(--line); }
.cap-section:first-of-type { border-top: 0; }
.cap-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px; margin: 18px 0 0; padding: 0; }
.cap-meta div { padding: 10px 0; border-bottom: 1px solid #edf2f7; }
.cap-meta dt { color: #566b7d; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.cap-meta dd { margin: 2px 0 0; color: var(--navy); font-weight: 700; }

/* Footer */
.site-footer { padding: 46px 0 20px; color: #dce7f1; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.footer-brand .brand-mark { background: #fff; padding: 5px 9px; border-radius: 6px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: #9fb8cd; }
.site-footer h4 { color: #fff; margin-bottom: 10px; }
.site-footer p { color: #b9cad9; font-size: .9rem; }
.footer-links a { display: block; margin: 7px 0; color: #dce7f1; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.site-footer address a { color: #9fd0f5; font-weight: 700; }
.legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); color: #9fb4c8; font-size: .82rem; }
.legal p { margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open { position: absolute; top: 84px; left: 0; right: 0; display: grid; gap: 0; padding: 10px 4vw 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 15px 28px rgba(6,38,74,.12); }
  .main-nav.open a { padding: 13px 0; border-bottom: 1px solid #edf1f5; font-size: .95rem; }
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0; }
  .hero-panel { justify-self: start; }
  .split { grid-template-columns: 1fr; }
  .card-grid, .card-grid.two { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav-wrap { min-height: 74px; }
  .brand-mark { height: 40px; }
  .brand-text strong { font-size: .95rem; }
  .main-nav.open { top: 74px; }
  .hero-grid { padding: 46px 0; gap: 26px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid span { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding: 54px 0; }
  .card-grid, .card-grid.two, .check-list, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process li { max-width: 380px; margin-inline: auto; }
  .state-grid { grid-template-columns: 1fr; }
  .cta-card, .legal { display: block; }
  .cta-actions { margin-top: 16px; }
  .legal p + p { margin-top: 8px; }
  .cap-meta { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Print (capability statement and general) */
@media print {
  .site-header, .site-footer, .hero-actions, .cta, .nav-toggle, .skip-link, .print-hide { display: none !important; }
  body { color: #000; }
  .hero { background: none; color: #000; min-height: 0; }
  .inner-page .hero h1, .inner-page .hero-sub { color: #000; }
  .inner-page .hero .kicker { color: #075eaa; }
  a { color: #000; text-decoration: none; }
  .section, .cap-section { padding: 14px 0; }
}
