/* ==========================================================================
   CiviEase — Paperwork to Pavement
   Static-build design system. Warm, low-saturation, trade-practical.
   No frameworks, no webfonts (system stack), mobile-first.
   ========================================================================== */

:root {
  --paper: #faf7f2;
  --surface: #ffffff;
  --ink: #23282b;
  --ink-soft: #3d4448;
  --muted: #66707a;
  --line: #e8e1d5;
  --accent: #d9530d;
  --accent-dark: #b44208;
  --accent-soft: #fdeee2;
  --slate: #20292e;
  --slate-2: #2b373d;
  --green: #2f7d4f;
  --amber: #e6a817;
  --red: #c43d2b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(35, 40, 43, .05), 0 4px 16px rgba(35, 40, 43, .06);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  line-height: 1.22;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); margin-top: 2.2em; }
h3 { font-size: 1.2rem; margin-top: 1.8em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand:hover { color: inherit; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand-tag { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: inline-block;
  padding: 10px 12px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }

/* Dropdowns (hover on desktop) */
.nav-item { position: relative; }
.nav-item .caret { font-size: .65em; margin-left: 4px; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  flex-direction: column;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; }
.dropdown a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: .93rem;
}
.dropdown a:hover { background: var(--accent-soft); color: var(--accent-dark); }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: 10px;
  white-space: nowrap;
}
.header-call:hover { background: var(--accent-dark); }

/* Hamburger (pure CSS) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

@media (max-width: 960px) {
  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    font-size: 1.3rem;
    color: var(--ink);
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 12px 20px 20px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { display: block; padding: 12px; }
  .dropdown { position: static; display: flex; box-shadow: none; border: none; padding: 0 0 0 16px; min-width: 0; }
  .nav-item .caret { display: none; }
  .header-call .call-text { display: none; }
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  font-size: .85rem;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-dark); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: 44px 0 30px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { margin-bottom: .45em; }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 34em; }
.hero-illustration { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }

/* Page hero (interior pages) */
.page-hero { padding: 18px 0 8px; }
.page-hero h1 { max-width: 22em; }
.page-hero .lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 40em; }

/* --------------------------------------------------------------------------
   Buttons & CTA
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn-slate { background: var(--slate); color: #fff; }
.btn-slate:hover { background: var(--slate-2); color: #fff; }

.cta-band {
  background: var(--accent-soft);
  border: 1px solid #f3d9c4;
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 2.4em 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cta-band .cta-title { font-weight: 800; font-size: 1.15rem; margin: 0; color: var(--ink); }
.cta-band .cta-sub { margin: 2px 0 0; color: var(--ink-soft); font-size: .95rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sticky mobile call bar */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--slate);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-call-bar .btn { flex: 1; padding: 12px 10px; font-size: .95rem; }
@media (max-width: 720px) {
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 64px; }
}

/* --------------------------------------------------------------------------
   Sections & cards
   -------------------------------------------------------------------------- */
.section { padding: 26px 0; }
.section-tint { background: #f4efe7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 880px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent-dark); }
.card .card-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-weight: 700; text-decoration: none; }
.card-link::after { content: " →"; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 14px; }
.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 64px;
  position: relative;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 18px; top: 18px;
  width: 30px; height: 30px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
}

/* Callouts */
.note {
  background: #f4efe7;
  border-left: 4px solid var(--amber);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 1.6em 0;
}
.note p:last-child { margin-bottom: 0; }
.note-danger { border-left-color: var(--red); background: #fbeeec; }
.note-ok { border-left-color: var(--green); background: #ecf5ef; }

/* Client-supplied placeholder (visible in preview, replaced before launch) */
.client-note {
  border: 2px dashed var(--amber);
  background: #fdf6e3;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.6em 0;
  font-size: .95rem;
  color: #6b5a1e;
}
.client-note strong { color: #6b5a1e; display: block; margin-bottom: 4px; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; font-weight: 700; padding: 14px 16px 0; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: #f4efe7; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:nth-child(even) { background: #fcfaf6; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 48px 16px 18px;
  position: relative;
  list-style: none;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 14px;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details .faq-answer { padding: 0 18px 16px; color: var(--ink-soft); }
.faq details .faq-answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Article body
   -------------------------------------------------------------------------- */
.article { max-width: 760px; }
.article h2 { margin-top: 2em; }
.article img { border-radius: var(--radius); border: 1px solid var(--line); }

.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 1.6em 0;
  font-size: .95rem;
}
.toc strong { display: block; margin-bottom: 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc ol { margin: 0; }
.toc a { text-decoration: none; }

/* Language switcher */
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: .9rem;
  margin: 1.4em 0;
}
.lang-switch a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  color: var(--ink-soft);
  background: var(--surface);
  font-weight: 600;
}
.lang-switch a:hover { border-color: var(--accent); color: var(--accent-dark); }
.lang-switch a[aria-current="page"] { background: var(--slate); color: #fff; border-color: var(--slate); }

/* Related links */
.related {
  background: #f4efe7;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 2.2em 0;
}
.related h2, .related h3 { margin-top: 0; font-size: 1.05rem; }
.related ul { margin: 0; columns: 1; }
@media (min-width: 720px) { .related ul { columns: 2; } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
label .req { color: var(--accent-dark); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: .97rem;
  background: #fdfcfa;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
textarea { min-height: 130px; resize: vertical; }
.form-help { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.form-status {
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-status.is-success { border-left-color: var(--green); background: #eef8f1; }
.form-status.is-error { border-left-color: var(--red); background: #fff1ef; }
.form-status:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn[disabled] { cursor: wait; opacity: .7; }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--slate);
  color: #c8d0d4;
  margin-top: 60px;
  font-size: .93rem;
}
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 48px 20px 28px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2, .site-footer h3, .site-footer h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c8d0d4; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fff; }
.footer-nap { line-height: 1.8; }
.footer-nap .nap-phone { font-size: 1.25rem; font-weight: 800; color: #fff; display: inline-block; margin: 6px 0; }
.footer-disclaimer {
  border-top: 1px solid var(--slate-2);
  margin-top: 36px;
  padding-top: 22px;
  font-size: .82rem;
  color: #93a0a6;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  border-top: 1px solid var(--slate-2);
  margin-top: 18px;
  padding-top: 18px;
  font-size: .82rem;
  color: #93a0a6;
}
.footer-lang { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.footer-lang a { border: 1px solid var(--slate-2); border-radius: 999px; padding: 3px 12px; font-size: .82rem; }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.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;
}
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.pill {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--slate);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

@media print {
  .site-header, .site-footer, .cta-band, .mobile-call-bar, .breadcrumbs { display: none; }
}

/* ==========================================================================
   2026 editorial civil redesign
   Screenshot-led visual system: ivory canvas, engineered gradient, serif scale,
   overlapping project imagery and technical drawing lines.
   ========================================================================== */

:root {
  --paper: #f2eee5;
  --surface: #fbf8f1;
  --ink: #11130f;
  --ink-soft: #343a38;
  --muted: #6b716d;
  --line: #d8d2c7;
  --accent: #f6c84b;
  --accent-dark: #c84c12;
  --accent-soft: #f6e5cf;
  --slate: #111a1b;
  --slate-2: #233234;
  --cyan: #119abb;
  --cyan-dark: #087992;
  --orange: #f4681b;
  --red: #ef3e20;
  --radius: 2px;
  --shadow: none;
  --max: 1240px;
  --font: Arial, Helvetica, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

body {
  background: var(--paper);
  color: var(--ink);
  line-height: 1.58;
  font-size: 16px;
}

.container,
.header-inner,
.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}

h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.8rem); margin-top: 1.4em; }
h3 { font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height: 1.06; }

a {
  color: var(--ink);
  text-decoration-color: rgba(17, 19, 15, .35);
}

a:hover { color: var(--accent-dark); }

/* Header */
.site-header {
  position: sticky;
  background: rgba(242, 238, 229, .94);
  border-bottom: 1px solid rgba(17, 19, 15, .13);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  gap: 24px;
}

.brand {
  gap: 12px;
}

.brand-mark {
  display: none;
}

.brand::before {
  content: "";
  display: block;
  width: 62px;
  height: 54px;
  flex: 0 0 62px;
  background: url("/assets/brand/civiease-logo.png") center / contain no-repeat;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.42rem;
  font-weight: 400;
}

.brand-tag {
  font-size: .61rem;
  letter-spacing: .12em;
  margin-top: 2px;
}

.main-nav a.nav-link {
  padding: 10px 11px;
  border-radius: 0;
  font-size: .79rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.main-nav a.nav-link:hover,
.main-nav a.nav-link[aria-current="page"] {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}

.dropdown {
  border-radius: 0;
  border-color: var(--ink);
  box-shadow: 8px 8px 0 rgba(17, 19, 15, .11);
}

.dropdown a {
  border-radius: 0;
}

.header-call {
  border-radius: 0;
  background: var(--accent);
  color: var(--ink) !important;
  min-height: 44px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .76rem;
}

.header-call:hover {
  background: #ffda68;
}

/* Homepage hero */
.hero {
  padding: 28px 0 0;
  border: 0;
}

.hero-shell {
  position: relative;
  min-height: 770px;
  overflow: hidden;
  padding: 38px 42px 44px;
  color: #fff;
  background:
    radial-gradient(circle at 19% 28%, rgba(255, 52, 18, .98) 0, rgba(250, 85, 20, .92) 13%, rgba(247, 170, 36, .73) 32%, rgba(16, 156, 187, .2) 52%, transparent 69%),
    linear-gradient(112deg, #f65c17 0%, #ed9828 31%, #15a1bf 69%, #1098b8 100%);
  isolation: isolate;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: .22;
}

.hero-shell::after {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 580px;
  min-height: 580px;
  left: -18vw;
  top: -25vw;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 94px rgba(255,255,255,.035),
    0 0 0 188px rgba(255,255,255,.025);
  z-index: -1;
}

.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(255,255,255,.32);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-copy {
  width: min(760px, 66%);
  padding-top: 78px;
}

.hero h1 {
  max-width: 11.8ch;
  color: #fff;
  font-size: clamp(3.8rem, 6.35vw, 6.65rem);
  line-height: .91;
  letter-spacing: -.047em;
  margin-bottom: 28px;
  text-wrap: balance;
}

.hero .lead {
  max-width: 560px;
  color: rgba(255,255,255,.92);
  font-size: 1.08rem;
  line-height: 1.52;
}

.hero .hero-credential {
  max-width: 560px;
  margin-top: 14px;
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.hero .hero-rates {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(255,255,255,.82);
  font-size: .92rem;
}

.hero .hero-rates a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.72);
}

.hero .cta-actions {
  margin-top: 30px;
}

.hero .btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-quiet {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.72);
  padding-left: 2px;
  padding-right: 2px;
}

.btn-quiet:hover {
  color: #fff;
  border-color: #fff;
}

.hero-projects {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 38px;
  display: flex;
  align-items: end;
  gap: 18px;
}

.project-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.46);
  background: #122226;
}

.project-tile-small {
  width: 228px;
  height: 238px;
}

.project-tile-large {
  width: 300px;
  height: 370px;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .45s ease, filter .45s ease;
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 13, 15, .87));
}

.project-tile > span {
  position: absolute;
  z-index: 2;
  left: 17px;
  right: 17px;
  bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 1.08rem;
}

.project-tile:hover {
  color: #fff;
}

.project-tile:hover img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.technical-grid {
  width: min(calc(100% - 48px), var(--max));
  height: 150px;
  margin: 0 auto;
  background:
    linear-gradient(to right bottom, transparent 49.5%, rgba(17, 19, 15, .2) 50%, transparent 50.5%),
    linear-gradient(to left bottom, transparent 49.5%, rgba(17, 19, 15, .16) 50%, transparent 50.5%),
    repeating-linear-gradient(0deg, rgba(17,19,15,.18) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(17,19,15,.12) 0 1px, transparent 1px 80px);
  opacity: .5;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}

/* Editorial sections */
.section {
  padding: 92px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section h2:first-child,
.section .section-index + h2 {
  margin-top: 0;
}

.section-index,
.card-kicker {
  font-size: .7rem;
  line-height: 1.2;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
}

.editorial-intro {
  padding-top: 80px;
  padding-bottom: 0;
}

.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: start;
}

.editorial-split h2 {
  max-width: 9.5ch;
}

.editorial-copy {
  padding-top: 44px;
  max-width: 620px;
}

.editorial-copy .statement {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.technical-grid-light {
  margin-top: 82px;
  height: 120px;
}

.section-tint {
  background: #ece6da;
}

.grid {
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}

.card {
  min-height: 250px;
  padding: 30px 28px;
  border: 0;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: rgba(255,255,255,.24);
  box-shadow: none;
}

.card:hover {
  background: var(--surface);
}

.card h3 {
  margin-top: 26px;
}

.card h3 a {
  text-decoration: none;
}

/* Homepage area coverage */
.area-summary {
  max-width: 880px;
  margin: 18px 0 38px;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.1vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.area-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.area-list a,
.area-list span {
  display: flex;
  min-height: 82px;
  align-items: center;
  padding: 18px;
  border-right: 1px solid var(--ink);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.area-list > :last-child {
  border-right: 0;
}

.area-list a:hover {
  background: var(--accent);
  color: var(--ink);
}

.area-photo-strip {
  display: grid;
  grid-template-columns: 1.25fr .8fr .8fr;
  gap: 14px;
  margin-top: 42px;
}

.area-photo {
  position: relative;
  height: 390px;
  margin: 0;
  overflow: hidden;
  background: #142326;
}

.area-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.area-photo::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 13, 15, .82));
}

.area-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 16px;
  left: 18px;
  color: #fff;
  font-family: var(--display);
  font-size: 1.1rem;
  line-height: 1.1;
}

.area-photo:hover img {
  transform: scale(1.035);
}

.steps {
  counter-reset: editorial-step;
  border-top: 1px solid var(--ink);
  padding-left: 0;
}

.steps li {
  padding: 24px 18px 24px 66px;
  border-bottom: 1px solid var(--ink);
  min-height: 96px;
}

.steps li::before {
  top: 24px;
  left: 12px;
  color: var(--accent-dark);
}

.btn {
  border-radius: 0;
  padding: 13px 20px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .76rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.btn-primary:hover {
  background: #ffda68;
  color: var(--ink);
}

.btn-dark,
.btn-slate {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover,
.btn-slate:hover {
  background: var(--slate-2);
  color: #fff;
}

.btn-outline {
  border: 1px solid var(--ink);
}

.note,
.client-note,
.related,
.form-card,
.cta-band {
  border-radius: 0;
  box-shadow: none;
}

.cta-band {
  border: 1px solid var(--ink);
  border-left-width: 1px;
  background: var(--accent);
}

/* Video */
.video-section {
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(244, 100, 28, .76), transparent 38%),
    linear-gradient(120deg, #0d879f, #086981);
  border-top: 0 !important;
}

.video-layout {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
}

.video-section h2,
.video-section p,
.video-section a {
  color: #fff;
}

.video-section .section-index {
  color: #ffe277;
}

.video-frame {
  position: relative;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 26px 26px 0 rgba(5, 46, 56, .38);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #061316;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  margin-top: 20px;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}

/* Interior pages */
.breadcrumbs {
  padding-top: 28px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
}

.page-hero {
  padding: 62px 0 64px;
  border-bottom: 1px solid var(--ink);
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 7vw, 6.7rem);
}

.page-hero .lead {
  max-width: 740px;
  margin-top: 28px;
  font-size: 1.15rem;
}

.article {
  max-width: 860px;
}

table {
  border-radius: 0;
}

th {
  background: var(--ink);
}

/* Footer */
.site-footer {
  background: #101719;
  margin-top: 0;
}

.footer-inner {
  padding-top: 64px;
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  font-family: var(--font);
  letter-spacing: .13em;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-shell {
    min-height: 760px;
  }

  .hero-copy {
    width: 70%;
  }

  .project-tile-small {
    width: 190px;
    height: 198px;
  }

  .project-tile-large {
    width: 240px;
    height: 300px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    min-height: 72px;
  }

  .brand::before {
    width: 52px;
    height: 46px;
    flex-basis: 52px;
  }

  .nav-toggle-label {
    border-radius: 0;
    background: var(--accent);
    border-color: var(--ink);
  }

  .main-nav {
    top: 72px;
    background: var(--paper);
  }

  .hero-shell {
    min-height: auto;
    padding: 30px;
  }

  .hero-copy {
    width: 100%;
    padding: 64px 0 350px;
  }

  .hero-projects {
    left: 30px;
    right: 30px;
    bottom: 30px;
    justify-content: flex-end;
  }

  .project-tile-small {
    width: 34%;
  }

  .project-tile-large {
    width: 46%;
  }

  .editorial-split,
  .video-layout {
    grid-template-columns: 1fr;
  }

  .editorial-copy {
    padding-top: 0;
  }

  .area-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-list a,
  .area-list span {
    border-bottom: 1px solid var(--ink);
  }

  .area-list > :nth-child(even) {
    border-right: 0;
  }

  .area-list > :last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .area-photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .area-photo-wide {
    grid-column: 1 / -1;
  }

  .area-photo {
    height: 300px;
  }

  .area-photo-wide {
    height: 360px;
  }
}

@media (max-width: 680px) {
  .container,
  .header-inner,
  .footer-inner,
  .technical-grid {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand-tag {
    display: none;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-shell {
    padding: 22px;
  }

  .hero-topline {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-copy {
    padding: 48px 0 390px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .hero .lead {
    font-size: .98rem;
  }

  .hero .cta-actions {
    align-items: stretch;
  }

  .hero-projects {
    left: 22px;
    right: 22px;
    bottom: 22px;
    gap: 10px;
  }

  .project-tile-small {
    width: 40%;
    height: 170px;
  }

  .project-tile-large {
    width: 60%;
    height: 248px;
  }

  .project-tile > span {
    font-size: .88rem;
    left: 10px;
    right: 10px;
  }

  .technical-grid {
    height: 86px;
  }

  .section {
    padding: 66px 0;
  }

  .area-summary {
    margin-bottom: 30px;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .area-list a,
  .area-list span,
  .area-list > :nth-child(even) {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .area-list > :last-child {
    grid-column: auto;
    border-bottom: 0;
  }

  .area-photo-strip {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .area-photo,
  .area-photo-wide {
    grid-column: auto;
    height: 270px;
  }

  .editorial-intro {
    padding-bottom: 0;
  }

  .technical-grid-light {
    margin-top: 56px;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .page-hero {
    padding: 44px 0;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .video-frame {
    box-shadow: 10px 10px 0 rgba(5, 46, 56, .38);
  }

  .mobile-call-bar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-tile img { transition: none; }
}

/* --------------------------------------------------------------------------
   Council official-links blocks (area pages)
   -------------------------------------------------------------------------- */
.council-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  margin: 0 0 18px;
}
.council-block h3 { margin-top: 0; }
.council-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.council-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid #f3d9c4;
  border-radius: 999px;
  padding: 3px 11px;
}
.council-badge-neutral { color: var(--ink-soft); background: #f4efe7; border-color: var(--line); }
.council-links { margin: 0; }
.council-links a span[aria-hidden="true"] { font-size: .85em; }
.council-contact { font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.council-note { font-size: .9rem; color: var(--muted); }
.council-block p:last-child { margin-bottom: 0; }
