  :root {
    --blue: #1a3a6b;
    --blue-mid: #2454a0;
    --blue-light: #3a7bd5;
    --blue-bright: #2d6bbf;
    --blue-glow: rgba(58,123,213,0.1);
    --white: #ffffff;
    --off-white: #f0f4fb;
    --gray: #56647a;
    --gray-light: #b0bdd4;
    --text: #1e2d4a;
    --dark: #0d1e3a;
    --darker: #091528;
    --accent: #3a7bd5;
    --accent2: #60a5fa;
    --error: #c53030;
    --error-soft: rgba(197,48,48,0.06);
    --error-ring: rgba(197,48,48,0.25);

    /* Warm accent — used sparingly to break the all-blue palette on
       moments that want "workshop" energy: success states, hero stat
       numbers, awards-service card hover, blog case-study border. */
    --accent-warm: #c97a4e;
    --accent-warm-soft: rgba(201,122,78,0.10);
    --accent-warm-ring: rgba(201,122,78,0.35);

    /* Layered shadow tokens — stack three for depth.
       Use -md at rest and -lg on hover (grow, don't add). */
    --shadow-sm:
      0 1px 1px rgba(10,21,40,0.03),
      0 2px 4px rgba(10,21,40,0.04);
    --shadow-md:
      0 1px 1px rgba(10,21,40,0.025),
      0 2px 4px rgba(10,21,40,0.04),
      0 8px 16px rgba(10,21,40,0.05);
    --shadow-lg:
      0 1px 1px rgba(10,21,40,0.025),
      0 2px 6px rgba(10,21,40,0.05),
      0 16px 32px rgba(58,123,213,0.1);

    /* Motion tokens — cubic-bezier(.32,.72,0,1) is the sharp-in/soft-out
       curve; (.16,1,.3,1) is the softer variant for micro interactions. */
    --ease-out: cubic-bezier(.32, .72, 0, 1);
    --ease-soft: cubic-bezier(.16, 1, .3, 1);
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ─── NAV ─── */
  /* Scoped to `body > nav` so in-content <nav> elements (FAQ jump-to,
     mobile menu nested later, etc.) don't inherit fixed/overlay styles. */
  body > nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 7rem;
    height: 108px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(58,123,213,0.12);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  }

  .nav-logo {
    grid-column: 1;
    justify-self: start;
    text-decoration: none;
    display: flex; align-items: center; gap: 14px;
  }
  .nav-logo svg { height: 84px; }
  .nav-logo-text {
    display: flex; flex-direction: column; align-items: center;
  }
  .nav-logo-roc {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900; font-size: 3.1rem; line-height: 1;
    color: var(--dark); letter-spacing: -0.5px;
    margin-top: -4px;
  }
  .nav-logo-rule {
    display: block; height: 2px; background: var(--blue-mid);
    align-self: stretch; margin: 4px 0;
  }
  .nav-logo-sub {
    font-family: 'Big Shoulders Display', sans-serif;
    font-weight: 900; font-size: 0.88rem;
    color: var(--blue-bright); letter-spacing: 3px; white-space: nowrap;
  }

  .nav-links {
    grid-column: 2;
    justify-self: center;
    display: flex; align-items: center; gap: 2rem; list-style: none;
  }
  .nav-links a {
    color: var(--gray); text-decoration: none; font-size: 0.9rem; font-weight: 500;
    letter-spacing: 0.03em; transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--text); }

  .nav-actions {
    grid-column: 3;
    justify-self: end;
    display: flex; align-items: center; gap: 1.4rem;
  }
  .nav-portal {
    color: var(--gray); text-decoration: none;
    font-size: 0.9rem; font-weight: 500;
    letter-spacing: 0.03em; white-space: nowrap;
    transition: color 0.2s;
  }
  .nav-portal:hover { color: var(--text); }

  .nav-cta {
    background: var(--blue-light);
    color: var(--white) !important;
    text-decoration: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600 !important;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: background 0.2s !important;
  }
  .nav-cta:hover { background: var(--blue-mid) !important; color: var(--white) !important; }

  /* ─── HERO ─── */
  #hero {
    display: flex; flex-direction: column; justify-content: center;
    padding: 7rem 3rem 1.75rem;
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  .hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 40%, rgba(36,84,160,0.28) 0%, transparent 70%),
      radial-gradient(ellipse 50% 50% at 20% 70%, rgba(26,58,107,0.22) 0%, transparent 60%),
      linear-gradient(160deg, #091528 0%, #0d1e3a 60%, #112240 100%);
  }

  .hero-grid {
    position: absolute; inset: 0; z-index: 0;
    background-image:
      linear-gradient(rgba(79,156,240,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(79,156,240,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  }

  .hero-content { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }

  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--accent2); margin-bottom: 1.2rem;
    display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  }
  .hero-eyebrow::before,
  .hero-eyebrow::after { content: ''; display: block; width: 28px; height: 1px; background: var(--accent2); }

  h1,
  [data-page-h1] {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.4rem);
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 1.25rem;
  }
  h1 em,
  [data-page-h1] em { font-style: normal; color: var(--accent2); }

  .hero-tagline {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--accent2);
    font-style: italic; font-weight: 300; letter-spacing: 0.01em;
    margin: -0.4rem auto 1.5rem; max-width: 560px;
  }

  .hero-sub {
    font-size: 1.02rem; color: var(--gray-light); line-height: 1.65;
    max-width: 560px; margin: 0 auto 2rem; font-weight: 300;
  }

  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

  .btn-primary {
    background: var(--blue-light);
    color: var(--white); text-decoration: none;
    padding: 0.85rem 2rem; border-radius: 8px;
    font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
    transition: background 180ms var(--ease-out),
                transform 180ms var(--ease-out),
                box-shadow 180ms var(--ease-out);
    border: none; cursor: pointer;
  }
  .btn-primary:hover { background: var(--blue-mid); transform: translateY(-1px); }
  .btn-primary:active { transform: scale(0.98); transition-duration: 75ms; }

  .btn-secondary {
    background: transparent;
    color: var(--white); text-decoration: none;
    padding: 0.85rem 2rem; border-radius: 8px;
    font-weight: 500; font-size: 0.95rem;
    border: 1px solid rgba(255,255,255,0.3);
    transition: border-color 180ms var(--ease-out),
                background 180ms var(--ease-out),
                transform 180ms var(--ease-out);
    cursor: pointer;
  }
  .btn-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); }
  .btn-secondary:active { transform: scale(0.98); transition-duration: 75ms; }

  .hero-stats {
    position: relative; z-index: 1;
    display: flex; gap: 3rem; margin-top: 2.75rem;
    align-items: flex-end; justify-content: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.75rem;
    text-align: center;
  }
  .stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.4rem; color: var(--accent-warm); line-height: 1;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
  }
  .stat-label { font-size: 0.8rem; color: var(--gray-light); letter-spacing: 0.05em; margin-top: 0.3rem; }

  /* ─── HERO SHOWCASE STRIP (sits between hero and first section) ─── */
  .hero-showcase {
    background: #091528;
    padding: 0; margin: 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(79,156,240,0.12);
    border-bottom: 1px solid rgba(79,156,240,0.12);
  }
  .hero-showcase img {
    display: block;
    width: 100%; height: 260px;
    object-fit: cover;
    opacity: 0.78;
  }
  .hero-showcase::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(9,21,40,0.35) 0%, rgba(9,21,40,0) 30%, rgba(9,21,40,0) 70%, rgba(9,21,40,0.55) 100%);
    pointer-events: none;
  }
  @media (max-width: 700px) {
    .hero-showcase img { height: 160px; }
  }

  /* ─── HERO INTRO (first-visit-per-session) ─── */
  @keyframes heroFadeUp {
    from { opacity: 0.001; transform: translateY(10px); }
    to   { opacity: 1;     transform: translateY(0); }
  }
  html.hero-intro .hero-eyebrow,
  html.hero-intro #hero h1,
  html.hero-intro #hero [data-page-h1],
  html.hero-intro .hero-tagline,
  html.hero-intro .hero-sub,
  html.hero-intro .hero-btns,
  html.hero-intro .hero-stats {
    opacity: 0.001;
    animation: heroFadeUp 520ms var(--ease-out) forwards;
  }
  html.hero-intro .hero-eyebrow { animation-delay: 40ms; }
  html.hero-intro #hero h1,
  html.hero-intro #hero [data-page-h1] { animation-delay: 140ms; }
  html.hero-intro .hero-tagline { animation-delay: 220ms; }
  html.hero-intro .hero-sub     { animation-delay: 300ms; }
  html.hero-intro .hero-btns    { animation-delay: 380ms; }
  html.hero-intro .hero-stats   { animation-delay: 460ms; }
  @media (prefers-reduced-motion: reduce) {
    html.hero-intro .hero-eyebrow,
    html.hero-intro #hero h1,
    html.hero-intro #hero [data-page-h1],
    html.hero-intro .hero-sub,
    html.hero-intro .hero-btns,
    html.hero-intro .hero-stats { animation: none; opacity: 1; }
  }

  /* ─── SECTIONS ─── */
  /* Scoped to direct children of `.page` so in-content nested sections
     (e.g. .faq-section inside the FAQ page) don't inherit top-level
     page-section padding. Same architectural fix as `body > nav`. */
  .page > section { padding: 4rem 3rem; }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--blue-bright); margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.6rem;
  }
  .section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--blue-bright); }

  h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    letter-spacing: -0.02em; line-height: 1.05;
    margin-bottom: 1rem; color: var(--text);
  }
  h2 span { color: var(--blue-light); }

  .section-intro { color: var(--gray); font-size: 1.05rem; line-height: 1.7; max-width: 560px; font-weight: 400; }

  /* ─── WHY US ─── */
  #why { background: var(--white); }

  .why-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem; margin-top: 2rem;
    max-width: 1100px; margin-left: auto; margin-right: auto;
  }
  @media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    .why-grid { grid-template-columns: 1fr; }
  }

  .why-card {
    padding: 2.2rem; background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.1);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
    text-align: center;
  }
  .why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

  /* Tiered grid for the /why page: first two cards span 3 columns
     each on a 6-col grid, remaining four cards span 1.5 each.
     Creates deliberate visual weight for the two primary reasons. */
  .why-grid-tiered {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .why-grid-tiered .why-card { grid-column: span 2; }
  .why-grid-tiered .why-card-wide { grid-column: span 3; }
  .why-grid-tiered .why-card-wide .why-icon { aspect-ratio: 21 / 9; }
  @media (max-width: 900px) {
    .why-grid-tiered {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .why-grid-tiered .why-card,
    .why-grid-tiered .why-card-wide { grid-column: span 1; }
    .why-grid-tiered .why-card-wide .why-icon { aspect-ratio: 16 / 9; }
  }
  @media (max-width: 560px) {
    .why-grid-tiered { grid-template-columns: 1fr; }
  }

  .why-icon {
    width: 100%; aspect-ratio: 16 / 9;
    margin: 0 auto 1.4rem;
    background: linear-gradient(135deg, rgba(58,123,213,0.09) 0%, rgba(36,84,160,0.14) 100%);
    border-radius: 12px; border: 1px solid rgba(58,123,213,0.15);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-bright);
  }
  .why-icon .ui-icon {
    width: 38%; height: auto;
    max-width: 68px; max-height: 68px;
    stroke-width: 1.5;
  }
  .why-card-wide .why-icon .ui-icon,
  .why-card-feature .why-icon .ui-icon {
    max-width: 88px; max-height: 88px;
  }

  .why-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--text); }
  .why-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

  /* ─── SERVICES ─── */
  #services { background: var(--off-white); }

  .services-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.2rem; margin-top: 2rem;
  }

  .service-card {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.1);
    border-radius: 10px; padding: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: border-color 220ms var(--ease-out),
                transform 220ms var(--ease-out),
                box-shadow 220ms var(--ease-out);
    text-decoration: none; color: inherit; display: block;
  }
  .service-card:hover {
    border-color: rgba(58,123,213,0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  .service-card:active { transform: scale(0.99) translateY(-1px); transition-duration: 75ms; }
  /* Warm accent for the awards card — small differentiator that
     breaks the all-blue hover monotony without introducing a new
     style vocabulary. */
  #service-awards:hover {
    border-color: var(--accent-warm-ring);
    box-shadow:
      0 1px 1px rgba(10,21,40,0.03),
      0 4px 10px rgba(10,21,40,0.06),
      0 16px 32px rgba(201,122,78,0.18);
  }
  #service-awards .service-num { color: var(--accent-warm); }
  #service-awards:hover .service-arrow { color: var(--accent-warm); }

  .service-num {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem; color: var(--blue-bright); letter-spacing: 0.1em;
    margin-bottom: 1rem; opacity: 0.7;
  }

  .service-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text); }
  .service-card h3 a { color: inherit; text-decoration: none; }
  .service-card h3 a:hover { color: var(--blue-bright); }
  .service-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

  .service-arrow {
    margin-top: 1.2rem; color: var(--blue-bright);
    font-size: 0.9rem; font-weight: 500;
    text-decoration: none; display: block;
    transition: color 0.2s;
  }
  .service-arrow:hover { color: var(--blue-mid); }

  /* ─── PROCESS ─── */
  #process { background: var(--white); text-align: center; }
  #process > .section-label { justify-content: center; display: inline-flex; }
  #process > h2 { text-align: center; }
  #process > .section-intro { margin-left: auto; margin-right: auto; text-align: center; }

  .process-steps {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem; margin: 2rem auto 0;
    max-width: 1100px;
    position: relative;
  }
  /* Connecting line that threads behind the numbered badges on desktop */
  .process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: rgba(58,123,213,0.15);
    z-index: 0;
  }
  @media (max-width: 780px) {
    .process-steps { grid-template-columns: 1fr 1fr; }
    .process-steps::before { display: none; }
  }
  @media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; gap: 1.6rem; }
  }

  .process-step {
    padding: 0 0.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .step-num-badge {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--white);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem; letter-spacing: 0;
    margin-bottom: 1.2rem;
    font-variant-numeric: tabular-nums;
    box-shadow:
      0 1px 1px rgba(10,21,40,0.04),
      0 4px 10px rgba(58,123,213,0.25);
  }

  .process-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.55rem; color: var(--text); }
  .process-step p { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }

  /* ─── MATERIALS & SPECS ─── */
  #materials {
    background: var(--off-white);
    padding: 3.5rem 3rem;
  }
  .materials-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
  .materials-inner .section-label { justify-content: center; display: inline-flex; margin-bottom: 0.8rem; }
  .materials-header-img {
    display: block;
    width: 100%; max-width: 860px;
    aspect-ratio: 21 / 6;
    margin: 0 auto 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
  }
  .materials-header-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  @media (max-width: 700px) {
    .materials-header-img { aspect-ratio: 16 / 9; margin-bottom: 1.5rem; }
  }
  .materials-inner h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.05;
  }
  .materials-inner h2 span { color: var(--blue-light); }
  .materials-intro {
    max-width: 720px; margin: 0 auto 3rem;
    color: var(--gray); font-size: 1rem; line-height: 1.7;
  }
  .materials-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem; text-align: left;
  }
  .material-card {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.1);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 220ms var(--ease-out),
                transform 220ms var(--ease-out),
                border-color 220ms var(--ease-out);
  }
  .material-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(58,123,213,0.25);
  }
  .material-card-header {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 0.7rem; margin-bottom: 0.6rem;
  }
  .material-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0;
  }
  .material-card-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--blue-bright);
    background: rgba(58,123,213,0.08);
    padding: 0.2rem 0.55rem;
    border-radius: 99px;
    white-space: nowrap;
  }
  .material-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
  }
  @media (max-width: 768px) {
    #materials { padding: 3.5rem 1.5rem; }
  }

  /* ─── TESTIMONIALS ─── */
  #testimonials { background: var(--off-white); }

  .testi-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem; margin-top: 2rem;
  }

  .testi-card {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.1);
    border-radius: 10px; padding: 2rem;
    box-shadow: var(--shadow-md);
  }

  .testi-quote {
    font-size: 2rem; color: var(--blue-bright); line-height: 1;
    margin-bottom: 0.8rem; opacity: 0.5;
  }
  .testi-card p { font-size: 0.92rem; color: var(--gray); line-height: 1.7; font-style: italic; }
  .testi-stars {
    display: flex; gap: 2px; margin-top: 1rem;
    color: var(--accent-warm);
  }
  .testi-stars svg { width: 16px; height: 16px; }
  .testi-author { margin-top: 1rem; font-weight: 600; font-size: 0.88rem; color: var(--text); }
  .testi-role { font-size: 0.8rem; color: var(--gray); margin-top: 0.2rem; }

  /* ─── QUOTE SECTION ─── */
  #quote { background: var(--white); }

  .quote-wrap {
    background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.12);
    border-radius: 14px; overflow: hidden;
    margin-top: 3rem;
    box-shadow: var(--shadow-md);
  }

  /* Mode selector */
  .quote-mode-select {
    display: grid; grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(58,123,213,0.12);
  }

  .mode-btn {
    padding: 2rem; cursor: pointer;
    background: transparent; color: var(--gray);
    border: none; text-align: left;
    min-height: 44px;
    transition: background 180ms var(--ease-out), color 180ms var(--ease-out);
  }
  .mode-btn:first-child { border-right: 1px solid rgba(58,123,213,0.12); }
  .mode-btn:hover { background: rgba(58,123,213,0.05); }
  .mode-btn.active { background: var(--white); color: var(--text); }
  .mode-btn:active { transition-duration: 75ms; }

  .mode-btn h3 {
    font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
  }
  .mode-btn h3 .ui-icon { color: var(--blue-bright); }
  .mode-btn.active h3 .ui-icon { color: var(--blue-light); }
  .mode-btn p { font-size: 0.82rem; line-height: 1.5; }
  .mode-btn.active h3 { color: var(--blue-bright); }

  /* ─── GUIDED FORM (multi-step) ─── */
  .form-area { padding: 2.5rem; display: none; background: var(--white); }
  .form-area.active { display: block; }

  /* Progress bar */
  .progress-bar { display: flex; gap: 6px; margin-bottom: 2.5rem; }
  .progress-step {
    flex: 1; height: 3px; border-radius: 99px;
    background: rgba(58,123,213,0.12);
    transition: background 0.3s;
  }
  .progress-step.done { background: var(--blue-light); }

  .form-step { display: none; }
  .form-step.active { display: block; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @media (prefers-reduced-motion: no-preference) {
    .form-step.active { animation: fadeUp 240ms var(--ease-out); }
  }

  .step-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    letter-spacing: -0.01em; margin-bottom: 0.4rem;
    color: var(--text);
  }
  .step-sub { color: var(--gray); font-size: 0.9rem; margin-bottom: 2rem; }

  /* Input styles */
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
  .form-row.full { grid-template-columns: 1fr; }

  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-group label { font-size: 0.8rem; color: var(--gray); font-weight: 500; letter-spacing: 0.03em; }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.2);
    border-radius: 7px;
    padding: 0.75rem 0.9rem;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none; border-color: var(--blue-light);
    background: var(--white);
    box-shadow: 0 0 0 2px rgba(58,123,213,0.25);
  }
  .form-group input[aria-invalid="true"],
  .form-group select[aria-invalid="true"],
  .form-group textarea[aria-invalid="true"] {
    border-color: var(--error);
    background: var(--error-soft);
  }
  .form-group input[aria-invalid="true"]:focus,
  .form-group select[aria-invalid="true"]:focus,
  .form-group textarea[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 2px var(--error-ring);
  }
  .field-error {
    display: none;
    color: var(--error);
    font-size: 0.78rem;
    margin-top: 0.2rem;
    font-weight: 500;
  }
  .field-error.show { display: block; }
  .form-alert {
    display: none;
    background: var(--error-soft);
    border: 1px solid rgba(197,48,48,0.3);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    color: #8b1a1a;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .form-alert.show { display: block; }
  .form-alert strong { color: var(--error); }
  .form-group select option { background: var(--white); color: var(--text); }
  .form-group textarea { resize: vertical; min-height: 100px; }

  .consent-row {
    display: flex; align-items: flex-start; gap: 0.7rem;
    margin: 1rem 0 1.5rem;
  }
  .consent-row input[type=checkbox] { margin-top: 3px; accent-color: var(--blue-light); }
  .consent-row label { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }

  /* Project type cards */
  .project-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; margin-bottom: 1.5rem; }

  .project-type-card {
    border: 1px solid rgba(58,123,213,0.15);
    border-radius: 8px; padding: 1.2rem;
    cursor: pointer;
    transition: border-color 180ms var(--ease-out),
                background 180ms var(--ease-out),
                box-shadow 180ms var(--ease-out),
                transform 180ms var(--ease-out);
    background: var(--off-white);
  }
  .project-type-card:hover {
    border-color: rgba(58,123,213,0.4);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
  }
  .project-type-card:active { transform: scale(0.99); transition-duration: 75ms; }
  .project-type-card.selected { border-color: var(--blue-light); background: rgba(58,123,213,0.06); }
  .project-type-card h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text); }
  .project-type-card p { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }
  .project-type-card .pt-icon {
    color: var(--blue-bright);
    margin-bottom: 0.7rem;
    display: flex; align-items: center;
    transition: color 180ms var(--ease-out);
  }
  .project-type-card.selected .pt-icon { color: var(--blue-light); }

  /* Material chooser */
  .material-helper { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }

  .material-q { margin-bottom: 1rem; }
  .material-q p { font-size: 0.88rem; color: var(--gray); margin-bottom: 0.7rem; font-weight: 500; }

  .pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .pill {
    border: 1px solid rgba(58,123,213,0.2);
    border-radius: 99px; padding: 0.65rem 1.1rem;
    font-size: 0.9rem; cursor: pointer;
    background: var(--off-white); color: var(--gray);
    min-height: 44px;
    transition: border-color 180ms var(--ease-out),
                background 180ms var(--ease-out),
                color 180ms var(--ease-out),
                transform 180ms var(--ease-out);
  }
  .pill:hover { border-color: var(--blue-light); color: var(--text); }
  .pill:active { transform: scale(0.98); transition-duration: 75ms; }
  .pill.selected { background: var(--blue-light); border-color: var(--blue-light); color: var(--white); }

  .material-result {
    background: rgba(58,123,213,0.06);
    border: 1px solid rgba(58,123,213,0.2);
    border-radius: 8px; padding: 1.2rem; margin-top: 1rem;
    display: none;
  }
  .material-result.show { display: block; }
  .material-result h4 { font-size: 0.95rem; color: var(--blue-mid); margin-bottom: 0.4rem; }
  .material-result p { font-size: 0.82rem; color: var(--gray); line-height: 1.55; }

  /* Color swatches */
  .color-swatches { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.2rem; }
  .swatch {
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
    border: 2px solid rgba(58,123,213,0.25);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
    transition: transform 180ms var(--ease-out),
                border-color 180ms var(--ease-out),
                box-shadow 180ms var(--ease-out);
  }
  .swatch:hover { transform: scale(1.06); border-color: var(--blue-light); }
  .swatch:active { transform: scale(0.96); transition-duration: 75ms; }
  .swatch.selected {
    border-color: var(--blue-bright) !important;
    transform: scale(1.12);
    box-shadow:
      0 0 0 3px var(--blue-bright),
      0 4px 14px rgba(45, 107, 191, 0.35);
  }
  .swatch.selected::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
    filter: drop-shadow(0 0 1.5px rgba(0,0,0,0.6)) drop-shadow(0 1px 1px rgba(0,0,0,0.35));
    pointer-events: none;
  }
  .swatch-label { font-size: 0.78rem; color: var(--gray); margin-bottom: 0.5rem; font-weight: 500; }

  /* Upload zone */
  .upload-zone {
    border: 2px dashed rgba(58,123,213,0.25);
    border-radius: 10px; padding: 2.5rem;
    text-align: center; cursor: pointer;
    transition: border-color 180ms var(--ease-out),
                background 180ms var(--ease-out);
    margin-bottom: 1rem;
    background: var(--off-white);
  }
  .upload-zone:hover, .upload-zone.dragover { border-color: var(--blue-light); background: rgba(58,123,213,0.04); }

  .upload-icon {
    color: var(--blue-bright);
    margin-bottom: 0.8rem; opacity: 0.7;
    display: flex; align-items: center; justify-content: center;
  }
  .upload-zone h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text); }
  .upload-zone p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }
  .upload-zone input[type=file] { display: none; }
  .swatch-help { margin: 0.4rem 0 0; font-size: 0.78rem; color: var(--gray); }

  .file-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
  .file-item {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(58,123,213,0.06);
    border: 1px solid rgba(58,123,213,0.12);
    border-radius: 6px; padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }
  .file-item-name {
    color: var(--text); font-weight: 500;
    display: inline-flex; align-items: center;
  }
  .file-item-meta { display: flex; align-items: center; gap: 1rem; }
  .file-item-size { color: var(--gray); font-size: 0.75rem; }
  .file-remove {
    color: var(--gray); cursor: pointer; background: none;
    border: 1px solid transparent; border-radius: 6px;
    font-size: 1rem; padding: 0.3rem 0.6rem;
    min-width: 44px; min-height: 44px;
    line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out);
  }
  .file-remove:hover { color: var(--error); border-color: var(--error-ring); }
  .file-remove:active { transform: scale(0.94); transition-duration: 75ms; }

  .file-item-status {
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 0.35rem;
  }
  .file-item-status.uploading { color: var(--blue-bright); }
  .file-item-status.done { color: #2aa876; }
  .file-item-status.error { color: var(--error, #c0392b); }
  .file-item-status .file-spinner {
    width: 12px; height: 12px;
    border: 2px solid currentColor; border-right-color: transparent;
    border-radius: 50%;
    animation: file-spin 0.75s linear infinite;
  }
  @keyframes file-spin { to { transform: rotate(360deg); } }
  .file-retry {
    font-size: 0.72rem; font-weight: 600; cursor: pointer;
    background: none; border: 1px solid var(--error-ring, rgba(192,57,43,0.4));
    color: var(--error, #c0392b);
    border-radius: 6px; padding: 0.3rem 0.6rem;
  }
  .file-retry:hover { background: rgba(192,57,43,0.08); }
  .file-item.is-error { border-color: var(--error-ring, rgba(192,57,43,0.4)); background: rgba(192,57,43,0.05); }

  /* Review step */
  .review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
  .review-block {
    background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.12);
    border-radius: 8px; padding: 1.2rem;
  }
  .review-block h4 { font-size: 0.75rem; color: var(--blue-bright); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; font-family: 'DM Mono', monospace; }
  .review-block p { font-size: 0.88rem; color: var(--text); line-height: 1.6; }

  /* Nav buttons */
  .form-nav { display: flex; gap: 1rem; margin-top: 2rem; align-items: center; }
  .btn-back {
    background: transparent; color: var(--gray);
    border: 1px solid rgba(58,123,213,0.2);
    padding: 0.75rem 1.5rem; border-radius: 7px;
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
    cursor: pointer;
    transition: color 180ms var(--ease-out),
                border-color 180ms var(--ease-out),
                transform 180ms var(--ease-out);
  }
  .btn-back:hover { color: var(--text); border-color: rgba(58,123,213,0.5); }
  .btn-back:active { transform: scale(0.98); transition-duration: 75ms; }

  .btn-next {
    background: var(--blue-light); color: var(--white);
    border: none; padding: 0.75rem 2rem; border-radius: 7px;
    font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
    cursor: pointer;
    transition: background 180ms var(--ease-out),
                transform 180ms var(--ease-out);
  }
  .btn-next:hover { background: var(--blue-mid); }
  .btn-next:active { transform: scale(0.98); transition-duration: 75ms; }
  .btn-next:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

  .success-msg {
    text-align: center; padding: 3rem; display: none;
  }
  .success-msg.show { display: block; }
  .success-icon {
    color: var(--accent-warm);
    margin-bottom: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--accent-warm-soft);
  }
  .success-icon .ui-icon { width: 32px; height: 32px; stroke-width: 2; }
  .success-msg h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: -0.02em; color: var(--blue-bright); margin-bottom: 0.5rem; }
  .success-msg p { color: var(--gray); font-size: 0.92rem; }

  /* ─── CTA STRIP ─── */
  #cta-strip {
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue-mid) 100%);
    padding: 4rem 3rem; text-align: center;
  }
  #cta-strip h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); }
  #cta-strip p { color: rgba(255,255,255,0.75); font-size: 1rem; margin: 1rem auto 2rem; max-width: 480px; font-weight: 300; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--darker);
    padding: 3.5rem 3rem 2rem;
    border-top: 1px solid rgba(79,156,240,0.1);
  }

  .footer-top {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.5rem; margin-bottom: 3rem;
  }

  .footer-brand p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.7; margin-top: 0.8rem; font-weight: 300; max-width: 260px; }

  .footer-logo .nav-logo-roc { color: var(--white); font-size: 2.4rem; }
  .footer-logo .nav-logo-sub { color: rgba(255,255,255,0.75); font-size: 0.72rem; }
  .footer-logo .nav-logo-rule { background: rgba(255,255,255,0.5); }

  .footer-col h4 {
    font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--accent2); margin-bottom: 1rem;
    font-family: 'DM Mono', monospace;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
  .footer-col ul li a { font-size: 0.85rem; color: var(--gray-light); text-decoration: none; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--white); }
  .footer-col ul li { font-size: 0.85rem; color: var(--gray-light); }

  .footer-newsletter {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2.5rem; align-items: center;
    padding: 1.8rem 0;
    border-top: 1px solid rgba(79,156,240,0.1);
    border-bottom: 1px solid rgba(79,156,240,0.08);
    margin-bottom: 1.5rem;
  }
  .footer-newsletter-copy h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem; letter-spacing: -0.01em;
    color: var(--white); margin-bottom: 0.4rem;
  }
  .footer-newsletter-copy p {
    font-size: 0.85rem; color: var(--gray-light);
    line-height: 1.6; margin: 0; max-width: 380px;
  }
  .footer-newsletter-form {
    display: grid; grid-template-columns: 1fr auto;
    gap: 0.6rem; align-items: stretch;
    position: relative;
  }
  .footer-newsletter-form input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    padding: 0.75rem 0.95rem;
    color: var(--white);
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
    transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
  }
  .footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
  .footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--blue-light);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 0 0 2px rgba(58,123,213,0.4);
  }
  .footer-newsletter-form input[aria-invalid="true"] {
    border-color: var(--error);
    background: rgba(197,48,48,0.08);
  }
  .footer-newsletter-form .btn-primary {
    padding: 0.75rem 1.4rem; font-size: 0.9rem; white-space: nowrap;
  }
  .newsletter-feedback {
    grid-column: 1 / -1;
    margin: 0; min-height: 1.1rem;
    font-size: 0.78rem; color: var(--gray-light);
    line-height: 1.4;
  }
  .newsletter-feedback.is-success { color: var(--accent-warm); font-weight: 500; }
  .newsletter-feedback.is-error { color: #e88a8a; font-weight: 500; }
  @media (max-width: 768px) {
    .footer-newsletter { grid-template-columns: 1fr; gap: 1.2rem; }
  }
  @media (max-width: 480px) {
    .footer-newsletter-form { grid-template-columns: 1fr; }
  }

  .footer-bottom {
    border-top: 1px solid rgba(79,156,240,0.08);
    padding-top: 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-bottom p { font-size: 0.78rem; color: rgba(176,189,212,0.5); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 768px) {
    body > nav { padding: 0 1.5rem; height: 68px; }
    .nav-links { display: none; }
    body > nav > .nav-actions { display: none; }
    .page > section { padding: 3rem 1.5rem; }
    #hero { padding: 6rem 1.5rem 1.5rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .review-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .quote-mode-select { grid-template-columns: 1fr; }
    #cta-strip { padding: 3rem 1.5rem; }
    footer { padding: 3rem 1.5rem 2rem; }
  }
  /* ─── PAGE ROUTING ─── */
  .page { display: none; }
  .page.active { display: block; }
  @keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @media (prefers-reduced-motion: no-preference) {
    .page.active { animation: pageIn 260ms var(--ease-out); }
  }

  /* Page banner (interior pages) */
  .page-banner {
    background: linear-gradient(135deg, #091528 0%, #0d1e3a 50%, #1a3a6b 100%);
    padding: 8rem 3rem 2.2rem;
    position: relative; overflow: hidden;
  }
  .page-banner + section { padding-top: 2.5rem; }
  .page > section:first-of-type { padding-top: 2.5rem; }
  .page-banner::before {
    content: ''; position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(79,156,240,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(79,156,240,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .page-banner-inner { position: relative; z-index: 1; max-width: 700px; }
  .page-banner-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--accent2); margin-bottom: 0.7rem;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .page-banner-label::before { content:''; display:block; width:18px; height:1px; background:var(--accent2); }
  .page-banner h1,
  .page-banner [data-page-h1] {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: var(--white); letter-spacing: -0.02em; line-height: 1;
    margin: 0 0 0.7rem;
  }
  .page-banner h1 em,
  .page-banner [data-page-h1] em { font-style: normal; color: var(--accent2); }
  .page-banner-sub { color: var(--gray-light); font-size: 1rem; line-height: 1.65; }

  /* Active nav link */
  .nav-links a.nav-active { color: var(--text); }
  .nav-links a.nav-active:not(.nav-cta) { border-bottom: 2px solid var(--blue-light); padding-bottom: 2px; }

  /* ─── SERVICES DROPDOWN ─── */
  .nav-has-dropdown { position: relative; }
  .nav-dropdown {
    display: none; position: absolute;
    top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.14);
    border-radius: 10px; padding: 0.5rem 0;
    min-width: 230px;
    box-shadow:
      0 1px 1px rgba(10,21,40,0.04),
      0 4px 10px rgba(10,21,40,0.06),
      0 16px 32px rgba(10,21,40,0.12);
    z-index: 200;
  }
  /* Hover bridge — fills the 8px gap between the nav link and the
     dropdown so the cursor can traverse it without losing hover. */
  .nav-dropdown::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: -12px; height: 12px;
    background: transparent;
  }
  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown:focus-within .nav-dropdown { display: block; }
  .nav-dropdown-item {
    display: block; width: 100%; padding: 0.55rem 1.2rem;
    color: var(--gray); font-size: 0.875rem;
    background: none; border: none; text-align: left; cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 150ms var(--ease-out), color 150ms var(--ease-out);
    text-decoration: none;
  }
  .nav-dropdown-item:hover { background: var(--off-white); color: var(--text); }
  .nav-dropdown-item:active { background: rgba(58,123,213,0.08); transition-duration: 75ms; }
  .nav-dropdown-divider { height: 1px; background: rgba(58,123,213,0.1); margin: 0.4rem 0; }
  .nav-dropdown-cta { color: var(--blue-bright) !important; font-weight: 600 !important; }
  .nav-chevron {
    font-size: 0.65rem; margin-left: 0.25rem; display: inline-block;
    transition: transform 200ms var(--ease-out);
  }
  .nav-has-dropdown:hover .nav-chevron,
  .nav-has-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }

  /* ─── MOBILE NAV ─── */
  .nav-hamburger {
    grid-column: 3;
    justify-self: end;
    display: none; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; padding: 10px;
    min-width: 44px; min-height: 44px;
  }
  .nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
  }
  .mobile-menu {
    display: none; position: fixed; inset: 92px 0 0 0; z-index: 99;
    background: var(--white); overflow-y: auto;
    border-top: 1px solid rgba(58,123,213,0.1);
    flex-direction: column; padding: 1.5rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a, .mobile-menu button {
    display: flex; align-items: center; padding: 0.95rem 0;
    min-height: 48px;
    color: var(--text); font-size: 1rem; font-weight: 500;
    text-decoration: none; background: none; border: none;
    border-bottom: 1px solid rgba(58,123,213,0.08);
    text-align: left; cursor: pointer; font-family: 'DM Sans', sans-serif;
    width: 100%;
  }
  .mobile-menu .mobile-sub { padding: 0.85rem 0 0.85rem 1rem; font-size: 0.92rem; color: var(--gray); min-height: 44px; }
  .mobile-menu .mobile-cta { margin-top: 1rem; background: var(--blue-light); color: var(--white) !important; border-radius: 8px; padding: 0.95rem 1rem; text-align: center; justify-content: center; border: none; min-height: 48px; }

  /* ─── HOME TEASERS ─── */
  .home-teaser { padding: 3.5rem 3rem; }
  .home-teaser.bg-white { background: var(--white); }
  .home-teaser.bg-light { background: var(--off-white); }

  .service-area { max-width: 1100px; margin: 0 auto; }
  .service-area-header { text-align: center; margin-bottom: 2rem; }
  .service-area-header .section-label { justify-content: center; display: inline-flex; }
  .service-area-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text); letter-spacing: -0.02em;
    margin: 0.5rem 0 1rem;
  }
  .service-area-header h2 span { color: var(--blue-light); }
  .service-area-intro {
    max-width: 720px; margin: 0 auto;
    color: var(--gray); font-size: 1rem; line-height: 1.7;
  }
  .service-area-grid {
    list-style: none; padding: 0; margin: 2.5rem auto 1.5rem;
    max-width: 960px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
  }
  .service-area-grid li {
    background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.1);
    border-radius: 8px;
    text-align: center;
    font-size: 0.88rem; color: var(--text); font-weight: 600;
    transition: border-color 180ms var(--ease-out),
                background 180ms var(--ease-out),
                transform 180ms var(--ease-out);
  }
  .service-area-grid li:has(a) { padding: 0; }
  .service-area-grid li > a {
    display: block; padding: 0.7rem 1rem;
    color: var(--text); text-decoration: none;
  }
  .service-area-grid li:not(:has(a)) { padding: 0.7rem 1rem; opacity: 0.65; }
  .service-area-grid li:has(a):hover {
    border-color: var(--blue-light);
    background: var(--white);
    transform: translateY(-1px);
  }
  .service-area-grid li:has(a):active { transform: scale(0.98); transition-duration: 75ms; }
  .service-area-note {
    text-align: center; max-width: 720px; margin: 0 auto;
    color: var(--gray); font-size: 0.9rem; line-height: 1.6;
  }
  @media (max-width: 768px) {
    .service-area-grid { grid-template-columns: repeat(2, 1fr); }
  }
  .home-teaser-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
  }
  .home-teaser-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text); letter-spacing: -0.02em;
  }
  .home-teaser-h2 span { color: var(--blue-light); }
  .home-teaser-lede {
    margin-top: 0.7rem; color: var(--gray);
    font-size: 0.95rem; line-height: 1.6; max-width: 560px;
  }
  .home-teaser-lede-link { color: var(--blue-bright); font-weight: 600; text-decoration: none; }
  .home-teaser-lede-link:hover { text-decoration: underline; }

  /* ── Latest Prints marquee — auto-scrolling row of recent shop photos.
     Bucket-fed via /api/latest-prints; the section starts hidden and is
     toggled on by JS once images successfully load. */
  .prints-section { padding-top: 3rem; padding-bottom: 3rem; padding-left: 0; padding-right: 0; }
  .prints-strip {
    overflow: hidden;
    width: 100%;
    /* Soft fade at left/right edges so cards don't visually clip hard. */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  }
  .prints-strip-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: prints-scroll 60s linear infinite;
    will-change: transform;
  }
  /* Static state: applied by JS when there are too few cards to need a
     marquee loop (1-2). Drops the animation and centers the cards in
     the strip instead of left-aligning them. */
  .prints-strip-track.is-static {
    width: 100%;
    justify-content: center;
    animation: none;
  }
  .prints-strip:hover .prints-strip-track,
  .prints-strip:focus-within .prints-strip-track { animation-play-state: paused; }

  .prints-card {
    flex: 0 0 auto;
    width: 280px; height: 280px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: var(--off-white);
    box-shadow: 0 2px 12px rgba(13,30,58,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .prints-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(13,30,58,0.12); }
  .prints-card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  .prints-card-caption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 0.7rem 0.9rem 0.85rem;
    background: linear-gradient(transparent, rgba(13,30,58,0.85) 40%, rgba(13,30,58,0.92));
    color: var(--white);
    font-size: 0.82rem; line-height: 1.35;
    pointer-events: none;
  }

  @keyframes prints-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .prints-strip-track { animation: none; }
    .prints-strip {
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }
    .prints-card { scroll-snap-align: start; }
  }

  @media (max-width: 600px) {
    .prints-card { width: 200px; height: 200px; }
    .prints-card-caption { font-size: 0.75rem; padding: 0.55rem 0.7rem 0.7rem; }
    .prints-strip-track { animation-duration: 45s; gap: 0.7rem; }
  }

  /* Why-Us home teaser — asymmetric 40/60 split with a featured first
     card spanning the left column of the right-side grid. */
  .why-teaser-split {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 5fr 7fr;
    gap: 3rem; align-items: start;
  }
  .why-teaser-copy { padding-top: 0.5rem; }
  .why-teaser-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.4rem; }
  .why-grid-home {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    margin-top: 0;
  }
  /* Feature card spans both rows of the right-side grid for editorial weight */
  .why-card-feature { grid-row: span 2; }
  .why-card-feature .why-icon { aspect-ratio: 4 / 5; }
  @media (max-width: 900px) {
    .why-teaser-split { grid-template-columns: 1fr; gap: 2rem; }
    .why-grid-home {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
    }
    .why-card-feature { grid-row: span 1; grid-column: 1 / -1; }
    .why-card-feature .why-icon { aspect-ratio: 16 / 9; }
  }
  @media (max-width: 560px) {
    .why-grid-home { grid-template-columns: 1fr; }
    .why-card-feature { grid-column: auto; }
  }
  .view-all-btn {
    background: none; border: none; cursor: pointer; padding: 0;
    font-size: 0.9rem; font-weight: 600; color: var(--blue-bright);
    display: flex; align-items: center; gap: 0.35rem;
    font-family: 'DM Sans', sans-serif; transition: color 0.2s;
  }
  .view-all-btn:hover { color: var(--blue-mid); }

  /* ─── PAGE BOTTOM CTA ─── */
  .page-cta {
    background: var(--off-white);
    border-top: 1px solid rgba(58,123,213,0.1);
    padding: 4rem 3rem; text-align: center;
  }
  .page-cta h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem; letter-spacing: -0.02em; color: var(--text); margin-bottom: 0.6rem;
  }
  .page-cta p { color: var(--gray); margin-bottom: 1.5rem; font-size: 0.95rem; }

  /* Split-layout CTA variant — copy left, button right. Used on
     the Services page so the 5th end-of-page centered CTA feels
     different from the previous 4. */
  .page-cta-split {
    text-align: left;
    display: grid; grid-template-columns: 1.5fr auto;
    align-items: center; gap: 3rem;
    max-width: 1000px; margin: 0 auto;
  }
  .page-cta-split h3 { margin-bottom: 0.4rem; }
  .page-cta-split p { margin-bottom: 0; max-width: 480px; }
  .page-cta-split .btn-primary {
    padding: 1rem 2.2rem; font-size: 1rem;
    white-space: nowrap;
  }
  @media (max-width: 680px) {
    .page-cta-split { grid-template-columns: 1fr; gap: 1.5rem; text-align: left; }
  }

  /* Dark-banner CTA variant — used on the Testimonials page to
     break the repeating light-gray page-cta treatment. */
  .page-cta-dark {
    background: linear-gradient(135deg, var(--dark) 0%, var(--blue-mid) 100%);
    border-top: none;
    color: var(--white);
  }
  .page-cta-dark h3 { color: var(--white); }
  .page-cta-dark p { color: rgba(255,255,255,0.75); }

  /* ─── FAQ ─── */
  .faq-cat-nav {
    display: flex; flex-wrap: wrap; gap: 0.4rem;
    align-items: center;
    margin: 0 0 2rem;
  }
  .faq-cat-nav-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gray);
    margin-right: 0.3rem;
  }
  .faq-cat-nav a {
    background: transparent;
    border: 1px solid rgba(58,123,213,0.18);
    color: var(--gray);
    font-size: 0.78rem; font-weight: 500;
    text-decoration: none;
    padding: 0.35rem 0.8rem;
    border-radius: 99px;
    min-height: 30px;
    display: inline-flex; align-items: center;
    transition: background 180ms var(--ease-out),
                border-color 180ms var(--ease-out),
                color 180ms var(--ease-out),
                transform 180ms var(--ease-out);
  }
  .faq-cat-nav a:hover,
  .faq-cat-nav a:focus-visible {
    background: var(--blue-light);
    border-color: var(--blue-light);
    color: var(--white);
  }
  .faq-cat-nav a:active { transform: scale(0.97); transition-duration: 75ms; }
  .faq-section {
    /* Reset the global `section { padding: 6rem 3rem }` that would
       otherwise add ~192px of dead space around each category. */
    padding: 0;
    scroll-margin-top: 140px;
  }
  .faq-section + .faq-section { margin-top: 2rem; }
  .faq-cat-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.45rem);
    letter-spacing: -0.01em;
    color: var(--text);
    margin: 0 0 0.7rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(58,123,213,0.12);
  }
  .faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
  .faq-item {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.1);
    border-radius: 10px; overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .faq-q {
    width: 100%; padding: 1.2rem 1.5rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    background: none; border: none; cursor: pointer; text-align: left;
    font-family: 'DM Sans', sans-serif; font-size: 0.97rem; font-weight: 600;
    color: var(--text);
    transition: background 180ms var(--ease-out);
  }
  .faq-q:hover { background: var(--off-white); }
  .faq-q:active { background: rgba(58,123,213,0.06); transition-duration: 75ms; }
  .faq-icon {
    font-size: 1.5rem; line-height: 1; color: var(--blue-bright); flex-shrink: 0;
    transition: transform 220ms var(--ease-out);
  }
  .faq-item.open .faq-icon { transform: rotate(45deg); }
  /* Slide-down reveal using a grid-row trick — works in all modern browsers,
     cleanly gated behind prefers-reduced-motion. */
  .faq-a-wrap {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows 240ms var(--ease-out);
  }
  .faq-a-wrap > .faq-a { overflow: hidden; }
  .faq-item.open .faq-a-wrap { grid-template-rows: 1fr; }
  .faq-a {
    padding: 0 1.5rem;
    font-size: 0.9rem; color: var(--gray); line-height: 1.75;
  }
  .faq-item.open .faq-a {
    padding: 1rem 1.5rem 1.2rem;
    border-top: 1px solid rgba(58,123,213,0.08);
  }
  @media (prefers-reduced-motion: reduce) {
    .faq-a-wrap { transition: none; }
  }

  /* ─── BLOG INDEX ─── */
  .blog-filter {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    justify-content: center; margin-bottom: 2.5rem;
  }
  .blog-filter-chip {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.18);
    color: var(--gray);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem; font-weight: 500;
    padding: 0.45rem 1rem; border-radius: 99px;
    cursor: pointer; min-height: 36px;
    transition: background 180ms var(--ease-out),
                border-color 180ms var(--ease-out),
                color 180ms var(--ease-out),
                transform 180ms var(--ease-out);
  }
  .blog-filter-chip:hover { border-color: var(--blue-light); color: var(--text); }
  .blog-filter-chip:active { transform: scale(0.96); transition-duration: 75ms; }
  .blog-filter-chip.active {
    background: var(--blue-light);
    border-color: var(--blue-light);
    color: var(--white);
  }
  .blog-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  @media (max-width: 760px) {
    .blog-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  }
  .blog-card {
    background: var(--white); border-radius: 12px;
    border: 1px solid rgba(58,123,213,0.1);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 240ms var(--ease-out),
                box-shadow 240ms var(--ease-out);
    cursor: pointer;
    display: flex; flex-direction: column;
  }
  .blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .blog-card:hover h3 { color: var(--blue-bright); }
  .blog-card:active { transform: scale(0.99); transition-duration: 75ms; }
  .blog-thumb {
    position: relative; overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0d1e3a, #112240);
  }
  .blog-thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  .blog-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
  .blog-card-meta-line {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.8rem; color: var(--gray);
    margin-bottom: 0.6rem;
  }
  .blog-card-meta-sep {
    color: rgba(86,100,122,0.4); font-weight: 400;
  }
  .blog-card h3 {
    font-size: 1.2rem; font-weight: 700;
    color: var(--text); line-height: 1.35;
    margin-bottom: 0.55rem;
    transition: color 0.2s;
  }
  .blog-card p {
    font-size: 0.9rem; color: var(--gray); line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-empty {
    grid-column: 1 / -1;
    text-align: center; padding: 3rem 1rem;
    color: var(--gray); font-size: 0.95rem;
  }
  /* Legacy classes kept for the related-posts card and in-body usages */
  .blog-tag {
    font-family: 'DM Mono', monospace; font-size: 0.68rem;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--blue-bright); margin-bottom: 0.5rem;
  }
  .blog-meta { font-size: 0.78rem; color: var(--gray); }

  /* ─── PORTFOLIO CASE STUDIES ─── */
  .case-study {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(58,123,213,0.08);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
  }
  .case-study-hero {
    position: relative;
    aspect-ratio: 16 / 6;
    background: linear-gradient(135deg, #0d1e3a, #112240);
    overflow: hidden;
  }
  .case-study-hero img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  .case-study-title-bar {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.8rem;
    padding: 1.15rem 1.8rem;
    background: var(--blue-mid);
    color: var(--white);
  }
  .case-study-title-bar h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.35rem; letter-spacing: -0.01em;
    color: var(--white); margin: 0;
  }
  .case-study-tag {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    color: var(--white);
    padding: 0.35rem 1rem; border-radius: 999px;
    font-size: 0.76rem; font-weight: 600;
    letter-spacing: 0.03em; white-space: nowrap;
  }
  .case-study-body {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 2.2rem;
    padding: 2.2rem 1.8rem 1.6rem;
  }
  .case-study-col h4 {
    font-size: 0.78rem; font-weight: 800;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 0.7rem;
  }
  .case-study-col p {
    font-size: 0.92rem; color: var(--gray);
    line-height: 1.75; margin: 0;
  }
  .case-study-footer {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
    padding: 1.2rem 1.8rem;
    border-top: 1px solid rgba(58,123,213,0.1);
    font-size: 0.86rem;
  }
  .case-study-meta {
    display: flex; flex-wrap: wrap; gap: 1.6rem;
    color: var(--gray);
  }
  .case-study-meta strong { color: var(--text); font-weight: 700; margin-right: 0.35rem; }
  .case-study-related a {
    color: var(--blue-bright); font-weight: 600;
    text-decoration: none; white-space: nowrap;
  }
  .case-study-related a:hover { text-decoration: underline; }
  @media (max-width: 768px) {
    .case-study-hero { aspect-ratio: 16 / 9; }
    .case-study-title-bar { padding: 1rem 1.3rem; }
    .case-study-title-bar h3 { font-size: 1.15rem; }
    .case-study-body { grid-template-columns: 1fr; gap: 1.3rem; padding: 1.6rem 1.3rem 1rem; }
    .case-study-footer { flex-direction: column; align-items: flex-start; padding: 1rem 1.3rem; }
    .case-study-meta { gap: 1rem 1.4rem; }
  }

  /* ─── RESPONSIVE ADDITIONS ─── */
  @media (max-width: 768px) {
    .nav-hamburger { display: flex; }
    .nav-links { display: none; }
    .page-banner { padding: 7rem 1.5rem 1.8rem; }
    .page-banner + section, .page > section:first-of-type { padding-top: 1.8rem; }
    .home-teaser { padding: 2.5rem 1.5rem; }
    .page-cta { padding: 3rem 1.5rem; }
    .home-teaser-header { flex-direction: column; align-items: flex-start; }
  }
  @media (max-width: 480px) {
    body > nav { padding: 0 1.2rem; height: 92px; }
    .nav-logo svg { height: 72px; }
    .nav-logo-roc { font-size: 2.5rem; }
    .nav-logo-sub { font-size: 0.78rem; letter-spacing: 2.5px; }
  }
  @media (max-width: 380px) {
    body > nav { padding: 0 1rem; height: 84px; }
    .nav-logo { gap: 10px; }
    .nav-logo svg { height: 62px; }
    .nav-logo-roc { font-size: 2.1rem; }
    .nav-logo-sub { font-size: 0.7rem; letter-spacing: 2px; }
  }

  /* Make service and blog cards clickable */
  .service-card { cursor: pointer; }
  .blog-card { cursor: pointer; }
  .blog-card:focus-within { outline: 2px solid var(--blue-light); outline-offset: 2px; }
  .blog-read-more { display: inline-block; margin-top: 0.7rem; font-size: 0.82rem; font-weight: 600; color: var(--blue-bright); }

  /* Back button on detail pages */
  .detail-back {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
    color: var(--gray-light); padding: 0.45rem 1rem; border-radius: 6px;
    cursor: pointer; font-size: 0.82rem; font-family: 'DM Sans', sans-serif;
    margin-bottom: 1.2rem;
    transition: background 180ms var(--ease-out),
                color 180ms var(--ease-out),
                border-color 180ms var(--ease-out),
                transform 180ms var(--ease-out);
    text-decoration: none;
  }
  .detail-back:hover { background: rgba(255,255,255,0.16); color: var(--white); border-color: rgba(255,255,255,0.4); }
  .detail-back:active { transform: scale(0.98); transition-duration: 75ms; }

  /* ─── SERVICE DETAIL ─── */
  .svc-intro-text {
    font-size: 1.1rem; color: var(--gray); line-height: 1.8;
    max-width: 780px; margin: 0;
  }
  .svc-section-h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 1.8rem);
    letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.3rem;
  }
  .svc-section-sub { color: var(--gray); font-size: 0.9rem; margin-bottom: 1.1rem; }
  .svc-highlights-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.1rem; margin-top: 1.4rem;
  }
  .svc-highlight-card {
    background: var(--white); border: 1px solid rgba(58,123,213,0.1);
    border-radius: 10px; padding: 1.2rem 1.4rem;
    box-shadow: var(--shadow-sm);
  }
  .svc-highlight-card h4 { font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
  .svc-highlight-card p { font-size: 0.84rem; color: var(--gray); line-height: 1.6; }
  .svc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
  .svc-material-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
  .svc-material-chip {
    background: var(--white); border: 1px solid rgba(58,123,213,0.15);
    border-radius: 99px; padding: 0.3rem 0.9rem;
    font-size: 0.8rem; color: var(--text); font-weight: 500;
  }
  .svc-benefits-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.8rem; }
  .svc-benefits-list li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.88rem; color: var(--gray); line-height: 1.55;
  }
  .svc-benefits-list li::before { content: '✓'; color: var(--blue-bright); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
  .svc-use-cases {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.8rem; margin-top: 1.2rem;
  }
  .svc-use-case {
    background: var(--white); border: 1px solid rgba(58,123,213,0.1);
    border-radius: 8px; padding: 1rem 1.1rem;
  }
  .svc-use-case strong { display: block; color: var(--text); font-size: 0.88rem; font-weight: 700; margin-bottom: 0.3rem; }
  .svc-use-case p { font-size: 0.83rem; color: var(--gray); line-height: 1.55; margin: 0; }
  .svc-turnaround-box {
    display: inline-flex; align-items: center; gap: 1.2rem;
    background: var(--white); border: 1px solid rgba(58,123,213,0.12);
    border-radius: 12px; padding: 1.4rem 2rem;
    box-shadow: var(--shadow-md);
  }
  .svc-turnaround-icon { font-size: 2rem; }
  .svc-turnaround-label { font-size: 0.78rem; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
  .svc-turnaround-text { font-size: 0.92rem; color: var(--gray); margin: 0; }

  /* ─── ABOUT PAGE ─── */
  .about-section {
    padding: 3rem 3rem 4rem;
    max-width: 1180px; margin: 0 auto;
  }
  .about-grid {
    display: grid; grid-template-columns: 1.15fr 1fr;
    gap: 3rem; align-items: start;
  }
  .about-copy .section-label { margin-bottom: 0.8rem; }
  .about-copy h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    letter-spacing: -0.02em; color: var(--text);
    margin-bottom: 1.6rem; line-height: 1.1;
  }
  .about-copy h2 span { color: var(--blue-light); }
  .about-copy p {
    font-size: 0.98rem; color: var(--gray);
    line-height: 1.85; margin-bottom: 1.15rem;
  }
  .about-photo { position: sticky; top: 7rem; }
  .about-photo-frame {
    border-radius: 14px; overflow: hidden;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(58,123,213,0.1), rgba(26,58,107,0.18));
    border: 1px solid rgba(58,123,213,0.15);
    box-shadow: var(--shadow-md);
    position: relative;
  }
  /* When the real photo loads, dashed placeholder border is hidden anyway */
  .about-photo-frame:has(.about-photo-placeholder:not([hidden])) {
    border: 1px dashed rgba(58,123,213,0.35);
  }
  .about-photo-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  .about-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0.6rem; color: var(--gray);
  }
  .about-photo-placeholder[hidden] { display: none; }
  .about-photo-icon {
    color: var(--blue-bright); opacity: 0.55;
    display: flex; align-items: center;
  }
  .about-photo-label {
    text-align: center; font-size: 0.95rem;
    font-weight: 700; color: var(--text); letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  .about-photo-label span {
    display: block; margin-top: 0.3rem;
    font-size: 0.74rem; font-weight: 500;
    color: var(--gray); letter-spacing: 0.12em;
  }
  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-photo { position: static; max-width: 420px; margin: 0 auto; }
    .about-section { padding: 2rem 1.5rem 3rem; }
  }

  /* About — equipment list */
  .about-equipment {
    background: var(--off-white);
    padding: 4rem 3rem;
  }
  .about-equipment-inner { max-width: 1100px; margin: 0 auto; }
  .about-equipment-inner .section-label { margin-bottom: 0.6rem; }
  .about-equipment-inner h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    letter-spacing: -0.02em; color: var(--text);
    margin-bottom: 0.7rem;
  }
  .about-equipment-intro {
    color: var(--gray); font-size: 1rem; line-height: 1.7;
    max-width: 720px; margin-bottom: 2rem;
  }
  .about-equipment-intro em { color: var(--gray); font-style: italic; }
  .equipment-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
  }
  .equipment-card {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.12);
    border-radius: 12px; padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-sm);
  }
  .equipment-card-img {
    display: block;
    width: calc(100% + 0.4rem);
    margin: -0.4rem -0.2rem 1.1rem -0.2rem;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(58,123,213,0.08), rgba(36,84,160,0.12));
  }
  .equipment-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .equipment-card-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--blue-bright); margin-bottom: 0.5rem;
  }
  .equipment-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem; letter-spacing: -0.01em;
    color: var(--text); margin-bottom: 0.5rem;
  }
  .equipment-card p {
    font-size: 0.9rem; color: var(--gray); line-height: 1.65; margin: 0;
  }

  /* About — "What Drives Us" values */
  .about-drives { padding: 4rem 3rem; background: var(--off-white); }
  .about-drives-inner { max-width: 1100px; margin: 0 auto; }
  .about-drives-header { text-align: center; margin-bottom: 2.5rem; }
  .about-drives-header .section-label { justify-content: center; display: inline-flex; }
  .about-drives-header h2 { margin-top: 0.6rem; }
  .drives-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem; max-width: 960px; margin: 0 auto;
  }
  @media (max-width: 700px) { .drives-grid { grid-template-columns: 1fr; } }
  .drives-card {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.12);
    border-radius: 12px;
    padding: 1.8rem 1.7rem;
    box-shadow: var(--shadow-sm);
  }
  .drives-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem; font-weight: 600; color: var(--blue-light);
    margin-bottom: 0.7rem;
  }
  .drives-card p {
    font-size: 0.95rem; line-height: 1.7; color: var(--gray); margin: 0;
  }

  /* Contact page */
  /* Glossary */
  .glossary-section { padding: 3.5rem 3rem; background: var(--white); }
  .glossary-list {
    max-width: 780px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr; gap: 0.1rem;
  }
  .glossary-list dt {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600; color: var(--blue-light);
    font-size: 1.02rem;
    margin-top: 1.4rem;
    scroll-margin-top: 100px;
  }
  .glossary-list dt:first-of-type { margin-top: 0; }
  .glossary-list dd {
    margin: 0.3rem 0 0;
    color: var(--gray);
    font-size: 0.95rem; line-height: 1.7;
  }
  .glossary-list dd em { color: var(--text); font-style: normal; font-weight: 600; }
  .glossary-note {
    max-width: 780px; margin: 2.5rem auto 0;
    color: var(--gray); font-size: 0.9rem; text-align: center;
  }
  .glossary-note a { color: var(--blue-bright); }
  @media (max-width: 600px) {
    .glossary-section { padding: 2.5rem 1.25rem; }
  }

  .contact-section { padding: 4rem 3rem; background: var(--white); }
  .contact-inner {
    max-width: 1080px; margin: 0 auto;
    display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start;
  }
  @media (max-width: 900px) {
    .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  }
  .contact-aside h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.9rem; letter-spacing: -0.01em;
    color: var(--text); margin-bottom: 1.25rem;
  }
  .contact-aside-meta { list-style: none; padding: 0; margin: 0 0 1.5rem; }
  .contact-aside-meta li {
    display: grid; grid-template-columns: 90px 1fr; gap: 0.5rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(58,123,213,0.08);
    font-size: 0.95rem;
  }
  .contact-aside-meta li:last-child { border-bottom: none; }
  .contact-aside-meta strong {
    color: var(--gray); font-weight: 500; font-size: 0.82rem;
    letter-spacing: 0.05em; text-transform: uppercase;
  }
  .contact-aside-meta a { color: var(--blue-light); text-decoration: none; }
  .contact-aside-meta a:hover { text-decoration: underline; }
  .contact-aside > p {
    font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin: 0;
  }
  .contact-aside > p a { color: var(--blue-bright); }
  .contact-form {
    background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.12);
    border-radius: 12px;
    padding: 2rem;
  }
  .contact-form .btn-primary { width: 100%; padding: 0.95rem; font-size: 1rem; }
  .contact-success {
    text-align: center; padding: 2rem 1rem;
  }
  .contact-success h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem; color: var(--accent-warm); margin-bottom: 0.5rem;
  }
  .contact-success p { color: var(--gray); font-size: 0.95rem; }

  /* About — visit / map */
  .about-visit { background: var(--white); padding: 4rem 3rem; }
  .about-visit-inner {
    max-width: 1100px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 3rem; align-items: center;
  }
  .about-visit-copy h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    letter-spacing: -0.02em; color: var(--text);
    margin-bottom: 1rem;
  }
  .about-visit-copy h2 span { color: var(--blue-light); }
  .about-visit-copy p {
    color: var(--gray); font-size: 0.97rem; line-height: 1.75;
    margin-bottom: 1.4rem;
  }
  .about-visit-meta {
    list-style: none; padding: 0; margin: 0;
    display: grid; gap: 0.8rem;
  }
  .about-visit-meta li {
    display: grid; grid-template-columns: 110px 1fr;
    align-items: baseline;
    font-size: 0.92rem; color: var(--text);
  }
  .about-visit-meta strong {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--blue-bright); font-weight: 600;
  }
  .about-visit-meta a { color: var(--text); text-decoration: none; }
  .about-visit-meta a:hover { color: var(--blue-bright); text-decoration: underline; }
  .about-visit-map {
    aspect-ratio: 4 / 3;
    border-radius: 14px; overflow: hidden;
    border: 1px solid rgba(58,123,213,0.15);
    box-shadow: var(--shadow-md);
  }
  .about-visit-map iframe {
    width: 100%; height: 100%; border: 0; display: block;
  }
  @media (max-width: 900px) {
    .about-visit-inner { grid-template-columns: 1fr; gap: 2rem; }
  }
  @media (max-width: 768px) {
    .about-equipment, .about-visit { padding: 3rem 1.5rem; }
  }

  /* ─── DETAIL HERO IMAGE ─── (service + blog detail pages)
     Sits fully below the banner (no negative margin overlap) so the
     banner headline/subtitle always have room to breathe. Aspect
     ratio + max-height keep the image prominent without dominating
     on wide screens. */
  .detail-hero {
    max-width: 1040px; margin: 1.2rem auto 0; padding: 0 3rem;
    position: relative; z-index: 2;
  }
  .detail-hero-inner {
    position: relative; overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 21 / 8;
    max-height: 320px;
    background: linear-gradient(135deg, #0d1e3a 0%, #112240 100%);
    box-shadow:
      0 1px 1px rgba(10,21,40,0.03),
      0 4px 10px rgba(10,21,40,0.08),
      0 20px 40px rgba(10,21,40,0.15);
  }
  .detail-hero img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
  }
  @media (max-width: 768px) {
    .detail-hero { padding: 0 1.5rem; margin-top: 0.8rem; }
    .detail-hero-inner { aspect-ratio: 16 / 9; max-height: 220px; border-radius: 10px; }
  }

  /* ─── SERVICE-AREA LANDING ─── */
  .area-body {
    max-width: 880px; margin: 0 auto;
    padding: 2.5rem 3rem 1rem;
  }
  .area-body p, .area-body li {
    font-size: 0.97rem; color: var(--gray); line-height: 1.75;
  }
  .area-body p { margin-bottom: 1.1rem; }
  .area-body h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.4rem, 2.6vw, 1.7rem);
    letter-spacing: -0.01em; color: var(--text);
    margin: 2.2rem 0 0.7rem;
  }
  .area-body strong { color: var(--text); }
  .area-meta-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.8rem; margin: 1.2rem 0 2rem;
  }
  .area-meta-item {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.12);
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-sm);
  }
  .area-meta-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--blue-bright); margin-bottom: 0.3rem;
  }
  .area-meta-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }
  .area-use-cases {
    list-style: none; padding: 0; margin: 1rem 0 1.6rem;
    display: flex; flex-direction: column; gap: 0.55rem;
  }
  .area-use-cases li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding-left: 0;
  }
  .area-use-cases li::before {
    content: '✓'; color: var(--blue-bright); font-weight: 700;
    flex-shrink: 0; margin-top: 1px;
  }
  .area-figure {
    margin: 0 0 1.6rem; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(58,123,213,0.12);
    box-shadow: var(--shadow-sm);
  }
  .area-figure img {
    width: 100%; height: auto; display: block;
    aspect-ratio: 16 / 9; object-fit: cover;
  }
  .area-highlights {
    list-style: none; padding: 0; margin: 0.8rem 0 1.8rem;
    display: flex; flex-direction: column; gap: 0.5rem;
  }
  .area-highlights li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding-left: 0;
  }
  .area-highlights li::before {
    content: '◆'; color: var(--blue-bright); font-size: 0.75rem;
    flex-shrink: 0; margin-top: 4px;
  }
  @media (max-width: 768px) {
    .area-body { padding: 1.5rem 1.5rem 1rem; }
  }

  /* ─── BLOG POST ─── */
  .blog-updated {
    max-width: 720px; margin: 0 auto; padding: 0 3rem;
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem; letter-spacing: 0.06em;
    color: var(--gray); text-transform: uppercase;
  }
  .blog-updated time[datetime=""] { display: none; }
  .blog-post-body { max-width: 720px; margin: 0 auto; padding: 3.5rem 3rem; }
  .blog-post-body h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    letter-spacing: -0.01em; color: var(--text); margin: 2.5rem 0 0.8rem;
  }
  .blog-post-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 1.8rem 0 0.5rem; }
  .blog-post-body p { font-size: 0.95rem; color: var(--gray); line-height: 1.85; margin-bottom: 1.2rem; }
  .blog-post-body ul, .blog-post-body ol { margin: 0.5rem 0 1.3rem 1.5rem; }
  .blog-post-body li { font-size: 0.93rem; color: var(--gray); line-height: 1.72; margin-bottom: 0.5rem; }
  .blog-post-body strong { color: var(--text); }
  .blog-post-body .blog-table-wrap { margin: 1.8rem 0 2rem; overflow-x: auto; }
  .blog-post-body table {
    width: 100%; border-collapse: collapse;
    font-size: 0.86rem; color: var(--gray);
    border: 1px solid rgba(58,123,213,0.18);
    border-radius: 8px; overflow: hidden;
  }
  .blog-post-body thead th {
    background: rgba(58,123,213,0.08);
    color: var(--text);
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem; letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid rgba(58,123,213,0.18);
  }
  .blog-post-body tbody td {
    padding: 0.65rem 0.9rem; line-height: 1.55;
    border-top: 1px solid rgba(58,123,213,0.1);
    vertical-align: top;
  }
  .blog-post-body tbody tr:first-child td { border-top: none; }
  .blog-post-body tbody th {
    padding: 0.65rem 0.9rem; line-height: 1.55;
    border-top: 1px solid rgba(58,123,213,0.1);
    text-align: left; color: var(--text); font-weight: 600;
    background: rgba(58,123,213,0.03);
    vertical-align: top;
  }
  .blog-post-body tbody tr:first-child th { border-top: none; }
  .blog-post-body figure { margin: 2rem 0; }
  .blog-post-body figure img {
    width: 100%; border-radius: 10px; display: block;
    border: 1px solid rgba(58,123,213,0.1);
    box-shadow: 0 4px 20px rgba(10,21,40,0.06);
  }
  .blog-post-body figcaption {
    margin-top: 0.6rem; font-size: 0.78rem; color: var(--gray);
    text-align: center; font-style: italic;
  }
  .blog-tip {
    background: rgba(58,123,213,0.07); border-left: 3px solid var(--blue-bright);
    border-radius: 0 8px 8px 0; padding: 1rem 1.3rem; margin: 1.5rem 0;
  }
  .blog-tip p { margin: 0 !important; }

  /* Tag chips shown under the author byline on the light page body */
  .blog-tag-row {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    max-width: 720px; margin: 0.9rem auto 0;
    padding: 0 3rem;
  }
  .blog-tag-row:empty { display: none; }
  .blog-tag-row .blog-tag-chip {
    background: rgba(58,123,213,0.08);
    border: 1px solid rgba(58,123,213,0.2);
    color: var(--blue-bright);
    font-family: 'DM Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
  }
  @media (max-width: 768px) {
    .blog-tag-row { padding: 0 1.5rem; }
  }

  /* Author byline strip under the hero */
  .blog-author {
    max-width: 720px; margin: 2rem auto 0;
    padding: 0 3rem;
    display: flex; align-items: center; gap: 0.9rem;
  }
  .blog-author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--blue-light); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Mono', monospace; font-size: 0.85rem;
    font-weight: 600; letter-spacing: 0.05em;
    flex-shrink: 0;
  }
  .blog-author-meta { display: flex; flex-direction: column; gap: 0.1rem; }
  .blog-author-name { font-weight: 700; font-size: 0.92rem; color: var(--text); }
  .blog-author-role { font-size: 0.78rem; color: var(--gray); }

  /* Case-study pull-out inside a blog body */
  .blog-case-study {
    background: linear-gradient(135deg, #0d1e3a 0%, #1a3a6b 100%);
    color: var(--white);
    border-radius: 14px;
    border-left: 4px solid var(--accent-warm);
    padding: 1.8rem 2rem;
    margin: 2.2rem 0;
  }
  .blog-case-study-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--accent2);
    margin-bottom: 0.5rem;
  }
  .blog-case-study h3 {
    color: var(--white) !important; font-size: 1.15rem;
    font-weight: 700; margin: 0 0 0.7rem;
  }
  .blog-case-study p {
    color: var(--gray-light) !important;
    font-size: 0.92rem; line-height: 1.75;
    margin-bottom: 1rem;
  }
  .blog-case-study p:last-child { margin-bottom: 0; }
  .blog-case-metrics {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1rem; margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  @media (max-width: 560px) {
    .blog-case-metrics { grid-template-columns: 1fr 1fr; }
  }
  .blog-case-metric {
    display: flex; flex-direction: column; gap: 0.2rem;
    text-align: left;
  }
  .blog-case-metric-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; color: var(--accent2);
    line-height: 1; letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
  }
  .blog-case-metric-label {
    font-size: 0.72rem; color: var(--gray-light);
    letter-spacing: 0.06em; text-transform: uppercase;
  }

  /* Pricing grid embedded in a blog post */
  .blog-pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.7rem; margin: 1.5rem 0 1.8rem;
  }
  .blog-pricing-grid > div {
    background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.15);
    border-radius: 10px; padding: 0.9rem 1.1rem;
    display: flex; flex-direction: column; gap: 0.25rem;
  }
  .blog-pricing-grid strong {
    font-size: 0.78rem; color: var(--blue-bright);
    letter-spacing: 0.08em; text-transform: uppercase;
    font-family: 'DM Mono', monospace;
  }
  .blog-pricing-grid span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem; color: var(--text);
    letter-spacing: 0.03em; line-height: 1;
  }
  .blog-pricing-grid p {
    font-size: 0.78rem !important;
    color: var(--gray) !important;
    margin: 0 !important; line-height: 1.5 !important;
  }

  /* Inline mid-article CTA */
  .blog-cta-inline {
    background: var(--off-white);
    border: 1px solid rgba(58,123,213,0.15);
    border-left: 3px solid var(--blue-light);
    border-radius: 8px;
    padding: 1.1rem 1.4rem;
    margin: 1.8rem 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.8rem;
  }
  .blog-cta-inline p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: var(--text) !important;
    font-weight: 500;
    line-height: 1.55 !important;
  }
  .blog-cta-inline a {
    background: var(--blue-light); color: var(--white) !important;
    padding: 0.55rem 1.1rem; border-radius: 6px;
    text-decoration: none !important;
    font-size: 0.85rem; font-weight: 600;
    white-space: nowrap;
    transition: background 0.2s;
  }
  .blog-cta-inline a:hover { background: var(--blue-mid); }

  /* Related posts row at the end of a post */
  .blog-related-wrap {
    max-width: 1100px; margin: 1rem auto 0;
    padding: 0 3rem 2rem;
  }
  .blog-related-wrap .section-label { margin-bottom: 1rem; }
  .blog-related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
  }
  .blog-related-card {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.1);
    border-radius: 10px;
    padding: 1.2rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: border-color 220ms var(--ease-out),
                box-shadow 220ms var(--ease-out),
                transform 220ms var(--ease-out);
    display: flex; flex-direction: column; gap: 0.35rem;
  }
  .blog-related-card:hover {
    border-color: rgba(58,123,213,0.35);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  .blog-related-card:active { transform: scale(0.99); transition-duration: 75ms; }
  .blog-related-card .blog-tag { margin-bottom: 0; }
  .blog-related-card h4 {
    font-size: 0.95rem; font-weight: 700;
    color: var(--text); line-height: 1.4;
  }
  .blog-related-card p {
    font-size: 0.82rem; color: var(--gray);
    line-height: 1.55; margin: 0;
  }

  @media (max-width: 768px) {
    .blog-author { padding: 0 1.5rem; }
    .blog-related-wrap { padding: 0 1.5rem 2rem; }
    .blog-case-study { padding: 1.4rem 1.5rem; }
  }

  @media (max-width: 768px) {
    .svc-two-col { grid-template-columns: 1fr; gap: 2rem; }
    .blog-post-body { padding: 2.5rem 1.5rem; }
    .blog-post-body p { font-size: 1rem; line-height: 1.8; }
    .blog-post-body li { font-size: 1rem; line-height: 1.7; }
    .blog-post-body h2 { font-size: 1.5rem; margin-top: 2rem; }
    .blog-post-body h3 { font-size: 1.05rem; }
  }

  .skip-nav {
    position: absolute; top: -120%; left: 50%; transform: translateX(-50%);
    background: var(--dark); color: var(--white); padding: 0.8rem 1.8rem;
    border-radius: 0 0 10px 10px; font-weight: 600; font-size: 0.9rem;
    text-decoration: none; z-index: 9999; transition: top 0.2s;
    white-space: nowrap;
  }
  .skip-nav:focus { top: 0; 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;
  }

  *:focus-visible {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
    border-radius: inherit;
  }

  /* ─── ICON SYSTEM (Lucide-style inline SVG) ─── */
  .ui-icon {
    display: inline-block; vertical-align: middle; flex-shrink: 0;
    width: 20px; height: 20px;
    stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  }
  .ui-icon-lg { width: 28px; height: 28px; stroke-width: 1.75; }
  .ui-icon-xl { width: 40px; height: 40px; stroke-width: 1.5; }

  /* ─── LEGAL / POLICY PAGES (Terms, Privacy, SMS) ─── */
  .legal-content {
    max-width: 780px; margin: 0 auto;
    padding: 3rem 2rem;
  }
  @media (max-width: 600px) {
    .legal-content { padding: 2rem 1.25rem; }
  }
  .legal-content p.modal-meta {
    color: var(--gray); font-size: 0.85rem; margin-bottom: 2rem;
  }
  .legal-content h3.modal-h3 {
    font-family: 'DM Sans', sans-serif;
    color: var(--text); font-size: 1.05rem; font-weight: 600;
    margin: 2rem 0 0.6rem;
  }
  .legal-content p.modal-p {
    color: var(--gray); font-size: 0.95rem; line-height: 1.75;
    margin-bottom: 0.75rem;
  }
  .legal-content a.modal-link { color: var(--blue-bright); }
  .legal-content strong.modal-strong { color: var(--text); font-weight: 600; }
  .legal-content .modal-callout {
    background: rgba(79,156,240,0.08);
    border: 1px solid rgba(79,156,240,0.2);
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  .legal-content .modal-callout p:first-child {
    color: var(--text); font-weight: 600; margin-bottom: 0.5rem;
  }
  .legal-content .modal-note {
    background: rgba(58,123,213,0.06);
    border: 1px solid rgba(58,123,213,0.15);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-top: 2rem;
  }

  /* ─── PRICING TIERS ─── */
  .pricing-tiers {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem; margin-top: 2.5rem;
    max-width: 1000px; margin-left: auto; margin-right: auto;
  }
  @media (max-width: 800px) {
    .pricing-tiers { grid-template-columns: 1fr; }
  }
  .pricing-tier {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.14);
    border-radius: 12px; padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column;
  }
  .pricing-tier-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem; letter-spacing: 0.15em;
    color: var(--blue-bright); text-transform: uppercase;
    margin-bottom: 0.6rem;
  }
  .pricing-tier h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem; letter-spacing: -0.01em;
    color: var(--text); margin-bottom: 0.4rem;
  }
  .pricing-tier-range {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem; color: var(--blue-light);
    line-height: 1; margin-bottom: 0.7rem;
    letter-spacing: -0.01em;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
  }
  .pricing-tier-desc { font-size: 0.9rem; color: var(--gray); line-height: 1.65; margin-bottom: 1rem; }
  .pricing-tier-examples {
    list-style: none; padding: 0; margin: 0 0 1.2rem;
    display: flex; flex-direction: column; gap: 0.35rem;
  }
  .pricing-tier-examples li {
    font-size: 0.82rem; color: var(--gray);
    padding-left: 1.1rem; position: relative; line-height: 1.5;
  }
  .pricing-tier-examples li::before {
    content: '▸'; position: absolute; left: 0;
    color: var(--blue-bright); font-size: 0.7rem; top: 2px;
  }
  .pricing-note {
    max-width: 760px; margin: 1.8rem auto 0;
    text-align: center;
    color: var(--gray); font-size: 0.88rem; line-height: 1.65;
  }
  .pricing-note a { color: var(--blue-bright); font-weight: 600; text-decoration: none; }
  .pricing-note a:hover { text-decoration: underline; }

  /* Swatch accessibility labels */
  .swatch { position: relative; }
  .swatch[title]::after {
    content: attr(title); position: absolute; bottom: -1.6rem; left: 50%;
    transform: translateX(-50%); font-size: 0.6rem; color: var(--gray);
    white-space: nowrap; pointer-events: none; opacity: 0;
  }
  .swatch:focus-visible[title]::after { opacity: 1; }

  /* ─── CUSTOMER PORTAL ─── */
  .portal-shell { max-width: 980px; margin: 0 auto; padding: 5rem 1.6rem 4rem; }
  .portal-card {
    background: var(--white);
    border: 1px solid rgba(58,123,213,0.15);
    border-radius: 14px;
    box-shadow: 0 4px 22px rgba(13,30,58,0.06);
    padding: 2rem;
  }
  .portal-card + .portal-card { margin-top: 1.6rem; }
  .portal-card h2 {
    font-size: 1.15rem; font-weight: 700; color: var(--text);
    margin: 0 0 0.4rem; letter-spacing: 0.01em;
  }
  .portal-card .portal-card-sub { color: var(--gray); font-size: 0.92rem; margin: 0 0 1.4rem; }

  .portal-login-shell { max-width: 440px; margin: 0 auto; padding: 6rem 1.6rem 5rem; }
  .portal-login-card {
    background: var(--white); border: 1px solid rgba(58,123,213,0.15);
    border-radius: 14px; box-shadow: 0 8px 32px rgba(13,30,58,0.08);
    padding: 2.4rem;
  }
  .portal-login-card h1,
  .portal-login-card [data-page-h1] {
    font-size: 1.5rem; font-weight: 700; color: var(--text);
    margin: 0 0 0.4rem; letter-spacing: -0.01em;
  }
  .portal-login-card .portal-login-sub {
    color: var(--gray); font-size: 0.95rem; margin: 0 0 1.6rem; line-height: 1.55;
  }
  .portal-field { display: block; margin: 0 0 1rem; }
  .portal-field label {
    display: block; font-size: 0.78rem; font-weight: 600;
    color: var(--gray); margin: 0 0 0.4rem;
    text-transform: uppercase; letter-spacing: 0.08em;
  }
  .portal-field input {
    width: 100%; padding: 0.75rem 0.9rem; font-size: 1rem;
    border: 1px solid rgba(58,123,213,0.25); border-radius: 8px;
    background: #fafcff; color: var(--text); transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
  }
  .portal-field input:focus {
    outline: none; border-color: var(--blue-light);
    box-shadow: 0 0 0 3px rgba(58,123,213,0.15);
  }
  .portal-field input.portal-code {
    text-align: center; letter-spacing: 0.6em;
    font-size: 1.4rem; font-weight: 700; padding-right: 0.3rem;
  }
  .portal-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; padding: 0.85rem 1rem; border-radius: 8px;
    background: var(--blue-light); color: var(--white); border: none;
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    transition: background .15s, transform .05s;
    font-family: inherit;
  }
  .portal-btn:hover { background: var(--blue-mid); }
  .portal-btn:active { transform: translateY(1px); }
  .portal-btn:disabled { background: var(--gray-light); cursor: not-allowed; }
  .portal-btn-link {
    background: none; border: none; padding: 0; margin-top: 1rem;
    color: var(--blue-bright); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; font-family: inherit;
  }
  .portal-btn-link:hover { text-decoration: underline; }

  .portal-msg {
    margin: 0 0 1rem; padding: 0.7rem 0.9rem;
    border-radius: 8px; font-size: 0.88rem;
  }
  .portal-msg.portal-msg-info {
    background: var(--blue-glow); color: var(--text);
    border: 1px solid rgba(58,123,213,0.2);
  }
  .portal-msg.portal-msg-error {
    background: var(--error-soft); color: var(--error);
    border: 1px solid var(--error-ring);
  }
  .portal-msg.portal-msg-success {
    background: rgba(52,168,83,0.08); color: #1f7a3a;
    border: 1px solid rgba(52,168,83,0.25);
  }

  .portal-header {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: 0.8rem; margin: 0 0 1.8rem;
  }
  .portal-header h1,
  .portal-header [data-page-h1] {
    font-size: 1.6rem; font-weight: 700; color: var(--text);
    margin: 0; letter-spacing: -0.01em;
  }
  .portal-header .portal-header-meta { color: var(--gray); font-size: 0.85rem; }
  .portal-header .portal-header-meta button {
    background: none; border: none; padding: 0; margin-left: 0.6rem;
    color: var(--blue-bright); font-size: 0.85rem; font-weight: 500;
    cursor: pointer; font-family: inherit;
  }
  .portal-header .portal-header-meta button:hover { text-decoration: underline; }

  .portal-list { list-style: none; padding: 0; margin: 0; }
  .portal-row {
    display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1.2rem;
    padding: 1rem 0; border-top: 1px solid rgba(58,123,213,0.10);
  }
  .portal-row:first-child { border-top: none; padding-top: 0.2rem; }
  .portal-row .portal-row-title { font-weight: 600; color: var(--text); font-size: 0.98rem; }
  .portal-row .portal-row-meta  { color: var(--gray); font-size: 0.82rem; }
  .portal-row .portal-row-amount { font-weight: 700; color: var(--text); font-size: 1.05rem; text-align: right; white-space: nowrap; }
  .portal-row .portal-row-actions { grid-column: 1 / -1; display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 0.4rem; }

  .portal-pill {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.2rem 0.55rem; border-radius: 999px;
    background: var(--blue-glow); color: var(--blue-bright);
  }
  .portal-pill.portal-pill-paid    { background: rgba(52,168,83,0.10); color: #1f7a3a; }
  .portal-pill.portal-pill-overdue { background: var(--error-soft);    color: var(--error); }
  .portal-pill.portal-pill-draft   { background: rgba(86,100,122,0.10); color: var(--gray); }

  .portal-pay-btn {
    background: var(--blue-light); color: var(--white); border: none;
    padding: 0.55rem 1rem; border-radius: 6px; font-size: 0.85rem;
    font-weight: 600; cursor: pointer; font-family: inherit;
    transition: background .15s;
  }
  .portal-pay-btn:hover { background: var(--blue-mid); }
  .portal-pay-btn:disabled { background: var(--gray-light); cursor: not-allowed; }

  .portal-empty {
    text-align: center; color: var(--gray); padding: 1.4rem 0; font-size: 0.92rem;
  }
  .portal-loading { color: var(--gray); font-size: 0.9rem; }

  @media (max-width: 600px) {
    .portal-shell { padding: 4.2rem 1rem 3rem; }
    .portal-card { padding: 1.4rem; }
    .portal-login-shell { padding: 5rem 1rem 4rem; }
    .portal-login-card { padding: 1.8rem; }
  }
