/* Self-hosted Montserrat (variable fonts, Latin subset) — replaces Google Fonts CDN dependency */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Italic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ============================================================
   NCNS Ltd — Design System
   Tokens, base styles, components, utilities.
   ============================================================ */

:root {
  /* Brand — official NCNS palette (from client-supplied Colours.pdf) */
  --ink:          #023047;       /* deep navy — primary surface for dark sections */
  --ink-2:        #06405C;       /* one notch lighter for elevated dark surfaces */
  --ink-3:        #0E5273;       /* card/divider tone on dark */
  --accent:       #FB8500;       /* bright orange — matches NCNS logo, primary brand colour */
  --accent-2:     #FFB703;       /* gold — secondary warm accent */
  --accent-cool:  #219EBC;       /* teal — supporting cool accent */
  --accent-soft:  #8ECAE6;       /* powder blue — soft text/borders on dark */
  --accent-warn:  #FB8500;       /* warm callouts use the brand orange */

  /* Neutral */
  --paper:        #FFFFFF;
  --paper-2:      #F8FAFC;
  --paper-3:      #EEF3F8;
  --line:         #D9E1EA;
  --line-dark:    #0E5273;

  /* Text */
  --text:         #023047;
  --text-muted:   #4A6275;
  --text-soft:    #6E8092;
  --text-on-dark: #E6F2F8;
  --text-on-dark-muted: #8ECAE6;

  /* Type */
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", -apple-system, sans-serif;

  /* Spacing & rhythm */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(2,48,71,0.06), 0 1px 3px rgba(2,48,71,0.04);
  --shadow:    0 4px 12px rgba(2,48,71,0.08), 0 2px 4px rgba(2,48,71,0.04);
  --shadow-lg: 0 24px 48px -12px rgba(2,48,71,0.20);
  --shadow-glow: 0 0 0 1px rgba(251,133,0,0.4), 0 0 32px rgba(251,133,0,0.25);

  --container: 1200px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ============================================================
   Reset / base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  color: inherit;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.025em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

/* ============================================================
   Layout
   ============================================================ */

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

section { padding: clamp(64px, 9vw, 120px) 0; }
section.tight { padding: clamp(48px, 6vw, 72px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.eyebrow.on-light { color: var(--text-muted); }

.lede {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.6;
}
.lede.on-dark { color: var(--text-on-dark-muted); }

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 960px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
}

.dark { background: var(--ink); color: var(--text-on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--paper); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
}
.btn-primary:hover { background: #FFA033; box-shadow: var(--shadow-glow); }

.btn-secondary {
  background: transparent;
  color: inherit;
  border-color: rgba(255,255,255,0.2);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.btn-secondary.on-light {
  border-color: var(--line);
  color: var(--text);
}
.btn-secondary.on-light:hover { border-color: var(--ink); color: var(--ink); background: var(--paper-2); }

.btn-ghost {
  padding: 10px 0;
  background: transparent;
  color: var(--accent);
  border: none;
}
.btn-ghost:hover { color: #FFA033; }

/* ============================================================
   Nav (sticky)
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 48, 71, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text-on-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.nav-brand .logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.nav-brand .logo-mark[data-light] { filter: brightness(0) invert(1); display: none; }
.nav-brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  transition: all 0.15s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); background: rgba(255,255,255,0.06); }

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}
.nav-phone strong { color: var(--paper); font-weight: 600; }

.nav-toggle { display: none; background: none; border: none; color: var(--paper); padding: 8px; }

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { padding: 10px 16px; font-size: 0.85rem; }

  .nav.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--ink-2);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav.is-open .nav-links a { padding: 14px 16px; font-size: 1rem; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: clamp(80px, 12vw, 140px) 0 clamp(80px, 10vw, 120px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 80% 20%, rgba(251,133,0,0.18), transparent 60%),
    radial-gradient(600px 500px at 10% 80%, rgba(255,183,3,0.10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 span.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-meta div { font-size: 0.85rem; color: var(--text-on-dark-muted); }
.hero-meta strong { display: block; color: var(--paper); font-size: 1.6rem; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.02em; }

.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* Hero visual — photo with overlay treatment */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, transparent 30%, rgba(2,48,71,0.35) 100%),
    linear-gradient(180deg, transparent 40%, rgba(2,48,71,0.55) 100%);
  pointer-events: none;
}
.hero-visual .grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.hero-visual .badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(2,48,71,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.78rem;
  color: var(--text-on-dark);
  z-index: 2;
  display: flex; gap: 10px; align-items: center;
}
.hero-visual .badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ============================================================
   Accreditation strip
   ============================================================ */

.accred-strip {
  padding: 32px 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.accred-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.accred-strip .label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.accred-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  opacity: 0.85;
}
.accred-logos .accred {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: all 0.2s var(--ease);
}
.accred-logos .accred:hover { color: var(--ink); border-color: var(--ink); }
.accred-logos .accred svg { width: 18px; height: 18px; }

/* ============================================================
   Capability cards
   ============================================================ */

.cap-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: all 0.25s var(--ease);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.cap-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.cap-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cap-card:hover::before { transform: scaleX(1); }

.cap-card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(251,133,0,0.12), rgba(255,183,3,0.08));
  color: var(--accent);
  border: 1px solid rgba(251,133,0,0.2);
}
.cap-card .icon svg { width: 24px; height: 24px; }

.cap-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.cap-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; flex: 1; }

.cap-card .more {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cap-card .more svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.cap-card:hover .more svg { transform: translateX(3px); }

/* ============================================================
   Sector tiles
   ============================================================ */

.sector-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--ink-2);
}
.sector-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.sector-tile:hover img { transform: scale(1.06); }
.sector-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2,48,71,0.92) 100%);
}
.sector-tile .label {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 2;
  color: var(--paper);
}
.sector-tile .label h3 { font-size: 1.15rem; margin: 0 0 4px; }
.sector-tile .label p { font-size: 0.85rem; color: var(--text-on-dark-muted); margin: 0; }

/* ============================================================
   Featured project (split)
   ============================================================ */

.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .project-feature { grid-template-columns: 1fr; } }

.project-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}
.project-image img { width: 100%; height: 100%; object-fit: cover; }
.project-image .tag {
  position: absolute;
  top: 20px; left: 20px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.project-stats div { font-size: 0.8rem; color: var(--text-soft); }
.project-stats strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ============================================================
   Why NCNS — three columns
   ============================================================ */

.why-col {
  padding: 32px 0;
}
.why-col .icon-wrap {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(251,133,0,0.08);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.why-col .icon-wrap svg { width: 26px; height: 26px; }
.why-col h3 { font-size: 1.2rem; }
.why-col p { color: var(--text-on-dark-muted); margin: 0; }
.why-col.on-light p { color: var(--text-muted); }

/* ============================================================
   Standards strip
   ============================================================ */

.standards {
  padding: 48px 0;
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.standards p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  font-weight: 400;
}
.standards strong { font-weight: 700; color: var(--ink); }

/* ============================================================
   CTA / Contact
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-meta { color: var(--text-on-dark-muted); }
.contact-meta .meta-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-meta .meta-row:last-child { border-bottom: 0; }
.contact-meta .meta-row svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-meta .meta-row .v { color: var(--paper); font-weight: 600; font-size: 1.05rem; }
.contact-meta .meta-row .l { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-bottom: 2px; }

/* Form */
.form-card {
  background: var(--paper);
  color: var(--text);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { margin-bottom: 8px; }
.form-card .lede { font-size: 0.95rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--paper);
  color: var(--text);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(251,133,0,0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: #06101F;
  color: var(--text-on-dark-muted);
  padding: 72px 0 24px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h5 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 6px 0; }
.footer ul a:hover { color: var(--accent); }

.footer-brand p { margin-top: 16px; line-height: 1.6; max-width: 30ch; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a:hover { color: var(--paper); }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */

.page-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  padding: clamp(80px, 10vw, 120px) 0 clamp(64px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 90% 30%, rgba(251,133,0,0.18), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.page-hero .bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-hero .bg-img img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.32;
  filter: saturate(1.1) contrast(1.05);
}
.page-hero .bg-img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(2,48,71,0.6) 50%, rgba(2,48,71,0.4) 100%),
    linear-gradient(180deg, transparent 30%, var(--ink) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); max-width: 16ch; }
.page-hero .lede { color: var(--text-on-dark-muted); max-width: 64ch; margin-top: 16px; }

/* ============================================================
   Article / prose
   ============================================================ */

.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose ul li { margin-bottom: 0.5em; }
.prose p { color: var(--text-muted); }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 32px 0;
}
.spec-list div {
  font-size: 0.9rem;
}
.spec-list div span:first-child {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 2px;
}
.spec-list div span:last-child {
  font-weight: 600;
  color: var(--ink);
}

/* ============================================================
   Scroll reveal
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Variant A — single-page additions (parity with Variant B)
   ============================================================ */

/* Tagline pill */
.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(251,133,0,0.10);
  border: 1px solid rgba(251,133,0,0.25);
  color: var(--text-on-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.tagline-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 1.6s infinite;
}

/* Hero bullets (4-up) */
.hero-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-bullets div {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem; color: var(--text-on-dark);
}
.hero-bullets svg { width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }

/* Trust strip — dark variant */
.trust-strip {
  background: var(--ink-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 32px;
  justify-content: space-between;
}
.trust-strip .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.trust-logos { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.trust-logos span {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.88rem;
  color: var(--text-on-dark-muted);
  padding: 6px 0;
  transition: color 0.15s var(--ease);
}
.trust-logos span:hover { color: var(--paper); }
.trust-logos svg { width: 18px; height: 18px; color: var(--accent); }

/* About grid + stats */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } }
.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05); }
/* Product-style shots (white studio background) show in full rather than cropped */
.about-visual--product { background: #fff; }
.about-visual--product img { object-fit: contain; padding: 20px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.about-stats div { font-size: 0.85rem; color: var(--text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.about-stats strong {
  display: block;
  font-size: 1.8rem;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
  text-transform: none;
}

/* Service cards with bullet lists (full-width 2-col grid on services section) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.service-card:hover { border-color: rgba(251,133,0,0.3); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(251,133,0,0.10);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(251,133,0,0.2);
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--paper); }
.service-card p { color: var(--text-on-dark-muted); font-size: 0.96rem; margin: 0; }
.service-bullets {
  margin: 18px 0 0; padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.service-bullets li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.88rem; padding: 4px 0;
  color: var(--text-on-dark);
}
.service-bullets svg {
  width: 16px; height: 16px; color: var(--accent-2);
  flex-shrink: 0; margin-top: 3px;
}

/* Process steps (4-up with connector line) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  left: 32px; right: 32px; top: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.3;
  z-index: 0;
}
@media (max-width: 880px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 540px) { .process-steps { grid-template-columns: 1fr; } }
.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.step .step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  margin: 0 auto 20px;
  font-weight: 700;
  font-size: 1.5rem;
  position: relative;
  box-shadow: 0 0 0 8px var(--ink);
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--paper); }
.step p { color: var(--text-on-dark-muted); font-size: 0.9rem; margin: 0; }

/* Project cards — single-page version (2-up) */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .project-grid { grid-template-columns: 1fr; } }
.project-card-v2 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s var(--ease);
  display: flex; flex-direction: column;
}
.project-card-v2:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(251,133,0,0.2); }
.project-card-v2 .img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--ink-3); }
.project-card-v2 .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card-v2:hover .img img { transform: scale(1.05); }
.project-card-v2 .img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(2,48,71,0.45) 100%);
  pointer-events: none;
}
.project-card-v2 .body { padding: 24px 28px 28px; }
.project-card-v2 .meta {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.project-card-v2 h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--paper); }
.project-card-v2 p { color: var(--text-on-dark-muted); font-size: 0.92rem; margin: 0; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.testimonial blockquote {
  margin: 0 0 16px; padding-left: 28px;
  font-size: 1.05rem; color: var(--paper);
  font-weight: 500; line-height: 1.55;
}
.testimonial cite {
  font-style: normal; font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  padding-left: 28px; display: block;
}
.testimonial cite strong { color: var(--paper); font-weight: 700; }

/* ============================================================
   Session 4 polish — accessibility, animations, new sections
   ============================================================ */

/* Skip link — accessibility */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  background: var(--accent);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 700;
  z-index: 1000;
  transition: top 0.15s var(--ease);
}
.skip-link:focus { top: 16px; outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Global focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 3px; }

/* Hero entrance — gentle fade-up after page load */
.hero-grid > div:first-child > * {
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 0.7s var(--ease) forwards;
}
.hero-grid > div:first-child > *:nth-child(1) { animation-delay: 0.05s; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: 0.12s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: 0.20s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: 0.28s; }
.hero-grid > div:first-child > *:nth-child(5) { animation-delay: 0.36s; }
@keyframes hero-rise {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-grid > div:first-child > * { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   Why Choose Us section
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }
.why-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: all 0.25s var(--ease);
}
.why-tile:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.why-tile .why-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--paper);
  display: grid; place-items: center;
}
.why-tile .why-icon svg { width: 24px; height: 24px; }
.why-tile h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--ink); }
.why-tile p { color: var(--text-muted); font-size: 0.92rem; margin: 0; line-height: 1.55; }

/* ============================================================
   Process step icons (above the number)
   ============================================================ */
.step .step-icon {
  width: 36px; height: 36px;
  margin: 0 auto 12px;
  color: var(--accent);
  opacity: 0.8;
}
.step .step-icon svg { width: 100%; height: 100%; }

/* ============================================================
   Testimonial avatars
   ============================================================ */
.testimonial .quote-foot {
  display: flex; align-items: center; gap: 14px;
  padding-left: 28px;
}
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--ink);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(251,133,0,0.3);
}
.testimonial cite { padding-left: 0; line-height: 1.4; }

.testimonials.three-up { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .testimonials.three-up { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 24px 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color 0.15s var(--ease);
}
.faq-question:hover { color: var(--accent); }
.faq-question .faq-chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all 0.2s var(--ease);
}
.faq-question .faq-chev svg { width: 14px; height: 14px; color: var(--text-muted); transition: transform 0.25s var(--ease); }
.faq-item.is-open .faq-question .faq-chev { background: var(--accent); border-color: var(--accent); }
.faq-item.is-open .faq-question .faq-chev svg { color: var(--ink); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease);
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.faq-answer .inner { padding-bottom: 24px; padding-right: 48px; }

/* ============================================================
   Emergency CTA band
   ============================================================ */
.emergency-band {
  background:
    radial-gradient(800px 400px at 80% 50%, rgba(251,133,0,0.15), transparent 70%),
    var(--ink);
  color: var(--paper);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.emergency-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.emergency-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}
.emergency-text { max-width: 36ch; }
.emergency-text .e-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.emergency-text .e-tag .e-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 1.4s infinite;
}
.emergency-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 6px; color: var(--paper); }
.emergency-text p { margin: 0; color: var(--text-on-dark-muted); font-size: 0.95rem; }

.emergency-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.emergency-cta a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: color 0.15s var(--ease);
}
.emergency-cta a:hover { color: var(--accent); }
.emergency-cta a svg {
  width: 32px; height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.emergency-cta small {
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .emergency-band .container { flex-direction: column; align-items: flex-start; gap: 24px; }
  .emergency-cta { align-items: flex-start; }
}

/* Service card cursor + arrow hint (when role=button) */
.service-card[role="button"] { cursor: pointer; }
.service-card[role="button"]::after {
  content: "→";
  position: absolute;
  top: 28px; right: 28px;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s var(--ease);
}
.service-card[role="button"]:hover::after,
.service-card[role="button"]:focus-visible::after { opacity: 1; transform: translateX(0); }

.b-service[role="button"] { cursor: pointer; position: relative; }
.b-service[role="button"]::after {
  content: "→";
  position: absolute;
  top: 28px; right: 28px;
  color: var(--b-primary);
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s var(--b-ease, cubic-bezier(0.2,0.7,0.2,1));
}
.b-service[role="button"]:hover::after,
.b-service[role="button"]:focus-visible::after { opacity: 1; transform: translateX(0); }

/* ============================================================
   Real accreditation logos in trust strip (white-chip wrapper)
   ============================================================ */
.trust-strip .accred-real {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  height: 60px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.trust-strip .accred-real img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
.trust-strip .accred-real:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2,48,71,0.25);
}

/* "Trusted by" mini client strip — full width, sits on its own row */
.clients-strip {
  width: 100%;
  flex-basis: 100%;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.clients-strip .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.clients-strip .client-logo {
  background: white;
  border-radius: 8px;
  padding: 8px 12px;
  height: 48px;
  display: inline-flex;
  align-items: center;
}
.clients-strip .client-logo img {
  height: 32px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* ============================================================
   Official NCNS logo — full landscape lockup
   Wraps in white chip on dark backgrounds; sits raw on light.
   Sized to be a clear visual anchor — bigger than the CTA button.
   ============================================================ */
.brand-logo-chip {
  display: inline-flex;
  align-items: center;
  background: white;
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}
.nav-brand { gap: 0; padding: 0; }
.nav-brand .brand-logo { height: 48px; }
.nav-brand .brand-logo-chip { padding: 6px 16px; }

/* Footer brand on dark navy */
.footer .nav-brand .brand-logo { height: 52px; }
.footer .nav-brand .brand-logo-chip { padding: 8px 18px; }

/* Make nav itself a bit taller to comfortably hold the bigger logo */
.nav-inner { height: 88px; }
.nav.is-open .nav-links { top: 88px; }

/* ============================================================
   Trust strip — centered grid layout (handles 11 logos cleanly)
   ============================================================ */
.trust-strip--grid .container {
  display: block;
  text-align: center;
}
.trust-strip--grid .label.centered {
  display: block;
  text-align: center;
  margin-bottom: 24px;
}
.trust-strip--grid .trust-logos.centered {
  justify-content: center;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.trust-strip--grid .clients-strip {
  justify-content: center;
}
@media (max-width: 600px) {
  .trust-strip--grid .accred-real { height: 52px; padding: 8px 12px; }
  .trust-strip--grid .accred-real img { height: 34px; }
}

/* ============================================================
   Footer logo — fix mobile squashing
   Cause: global img{max-width:100%} shrank width while height stayed
   fixed, distorting aspect ratio on narrow screens. Lock width:auto.
   ============================================================ */
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo .brand-logo-chip {
  display: inline-flex;
  align-items: center;
  background: white;
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.footer-logo .brand-logo {
  height: 48px;
  width: auto;
  max-width: none;   /* prevent the global max-width:100% from squashing it */
  display: block;
}
/* Belt-and-braces: never let the brand logo distort anywhere */
.brand-logo { width: auto; max-width: none; }

@media (max-width: 600px) {
  .footer-logo .brand-logo { height: 42px; }
}

/* ============================================================
   Mobile fixes (Session 8) — nav hamburger room + footer collapse
   ============================================================ */

/* Footer: 3-column desktop layout that actually collapses on mobile
   (replaces an inline grid-template-columns that was overriding media queries) */
.footer-grid--3 {
  grid-template-columns: 1.6fr 1fr 1.2fr;
}
@media (max-width: 800px) {
  .footer-grid--3 { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer-grid--3 { grid-template-columns: 1fr; gap: 28px; }
}

/* Nav: on small screens, drop the "Get a Quote" button so the
   logo + hamburger always fit. The menu (and its CTA) is reachable
   via the hamburger; the hero and contact sections also carry CTAs. */
@media (max-width: 700px) {
  .nav-cta .btn-primary { display: none; }
  .nav-brand .brand-logo { height: 40px; }
  .nav-brand .brand-logo-chip { padding: 5px 12px; }
  .nav-inner { height: 76px; }
  .nav.is-open .nav-links { top: 76px; }
}

/* Ensure comfortable tap targets on mobile nav links (>=44px) */
@media (max-width: 960px) {
  .nav.is-open .nav-links a { min-height: 44px; display: flex; align-items: center; }
}
