/* ==========================================================
   Dalton Columbia LLC — Consolidated stylesheet
   Single token set · sticky header · brand-matched
========================================================== */

:root {
    --navy:       #163a5f;    /* matches the emblem */
    --navy-deep: #0e2742;
    --blue:       #1b4f7a;
    --blue-soft: #2f6690;
    --ink:        #1c2732;
    --muted:      #5e6974;
    --paper:      #ffffff;
    --surface:    #f5f7f9;
    --line:       #dfe5ea;

    --font: "Roboto Flex", system-ui, -apple-system, BlinkMacSystemFont,
            "Segoe UI", sans-serif;
    --max-width: 1180px;
    --pad: clamp(1.25rem, 4vw, 2.5rem);
    --header-h: 96px;
}

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

html {
   scroll-behavior: smooth;
   scroll-padding-top: calc(var(--header-h) + 12px); /* keep anchors clear of sticky header */
}

body {
   margin: 0;                        /* no padding-top: header is sticky */
   color: var(--ink);
   background: var(--paper);
   font-family: var(--font);
   font-size: 17px;
   font-weight: 400;
   line-height: 1.65;
    -webkit-font-smoothing: antialiased;
   text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

/* Visible keyboard focus everywhere */
:focus-visible {
   outline: 2px solid var(--blue);
   outline-offset: 3px;
   border-radius: 2px;
}

.container {
   width: min(100% - (var(--pad) * 2), var(--max-width));
   margin-inline: auto;
}

/* ---------- Header (sticky, slimmer) ---------- */

.site-header {
   position: sticky;
   top: 0;
   z-index: 1000;
   background: rgba(255, 255, 255, 0.97);
   border-bottom: 1px solid var(--line);
   box-shadow: 0 2px 14px rgba(16, 47, 83, 0.07);
    -webkit-backdrop-filter: blur(10px);
   backdrop-filter: blur(10px);
}

.header-inner {
   min-height: var(--header-h);
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 2rem;
}

.brand {
   display: block;
   width: min(280px, 44vw);    /* lockup ≈3:1 → ~93px tall, fits the 96px bar */
}
.brand img {
   width: 100%;
   height: auto;
   object-fit: contain;        /* guard against any asset-ratio mismatch */
}

.main-nav {
   display: flex;
   align-items: center;
   gap: 2.5rem;
}
.main-nav a {
   position: relative;
   padding: 0.5rem 0;
   color: var(--navy);
   font-size: 0.78rem;
   font-weight: 700;
   letter-spacing: 0.17em;
   text-transform: uppercase;
}
.main-nav a::after {
   content: "";
   position: absolute;
   left: 0; right: 0; bottom: 0;
   height: 2px;
   background: var(--navy);
   transform: scaleX(0);
   transform-origin: center;
   transition: transform 180ms ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
   transform: scaleX(1);
}

.menu-toggle,
.menu-close {
   appearance: none;
   border: 0;
   background: transparent;
   cursor: pointer;
}
.menu-toggle {
   display: none;
   width: 42px;
   height: 42px;
   padding: 9px;
}
.menu-toggle span {
   display: block;
   height: 2px;
   margin: 5px 0;
   background: var(--navy);
}

.mobile-menu { display: none; }

/* ---------- Hero ---------- */

.hero {
   position: relative;
   overflow: hidden;
   color: #fff;
   background:
     linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 100%);
}

.hero::after {
   content: "";
   position: absolute;
   width: 560px; height: 560px;
   right: -220px; top: -270px;
   border: 1px solid rgba(255, 255, 255, 0.12);
   border-radius: 50%;
   box-shadow:
      0 0 0 55px  rgba(255, 255, 255, 0.025),
      0 0 0 110px rgba(255, 255, 255, 0.018);
   pointer-events: none;
}

.hero-grid-bg {
   position: absolute;
   inset: 0;
   opacity: 0.13;
   background-image:
     linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
     linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
   background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 45%, black 100%);
   mask-image: linear-gradient(to right, transparent 0%, black 45%, black 100%);
   pointer-events: none;
}

.hero-inner {
   position: relative;
   z-index: 2;
   min-height: 390px;
   display: flex;
   align-items: center;
}

.hero-copy {
   width: min(800px, 100%);
   padding-block: clamp(4.25rem, 8vw, 7rem);
}

.eyebrow,
.section-kicker {
   margin: 0 0 1rem;
   font-size: 0.72rem;
   font-weight: 800;
   letter-spacing: 0.22em;
   text-transform: uppercase;
}
.eyebrow { color: rgba(255,255,255,.72); }

.hero h1 {
   max-width: 820px;
   margin: 0;
   font-size: clamp(2.8rem, 6vw, 5.4rem);
   font-weight: 700;
   line-height: 0.98;
   letter-spacing: -0.045em;
}
.hero h1 span {
   display: block;
   color: #dceaf4;
   font-weight: 400;
}

.hero-rule {
   width: 86px; height: 3px;
   margin: 2rem 0 1.25rem;
   background: #fff;
}

.hero-subtitle {
   margin: 0;
   font-size: clamp(1.3rem, 2.4vw, 1.8rem);
   font-weight: 600;
}

.hero-support {
   margin: 0.25rem 0 0;
   color: rgba(255,255,255,.78);
   font-size: 1.05rem;
}

/* ---------- Main content ---------- */

.content-section {
   background: var(--surface);
   border-bottom: 1px solid var(--line);
   padding-block: clamp(4rem, 7vw, 6.5rem);
}

.content-wrap {
   display: grid;
   grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.7fr);
   gap: clamp(3rem, 7vw, 7rem);
   align-items: start;
}

.content-heading {
   position: sticky;
   top: calc(var(--header-h) + 24px);
}

.section-kicker { color: var(--blue-soft); }

.content-heading h2 {
   margin: 0;
   color: var(--navy);
   font-size: clamp(2rem, 4vw, 3.25rem);
   font-weight: 600;
   line-height: 1.08;
   letter-spacing: -0.035em;
}

.content-copy { max-width: 760px; }

.content-copy p {
   margin: 0 0 1.5rem;
   color: #35414d;
   font-size: 1.04rem;
   line-height: 1.78;
}

.content-copy strong {
   color: var(--navy);
   font-weight: 750;
}

.cta {
   margin-top: 2.75rem;
   padding-top: 2rem;
   border-top: 1px solid var(--line);
}
.cta p {
   margin-bottom: 0.8rem;
   color: var(--navy);
   font-weight: 650;
}
.cta a {
   display: inline-flex;
   align-items: center;
   gap: 0.75rem;
   color: var(--blue);
   font-weight: 750;
}
.cta a span {
   font-size: 1.25em;
   transition: transform 180ms ease;
}
.cta a:hover span { transform: translateX(4px); }

/* ---------- Footer ---------- */

.site-footer {
   background: #fff;
   padding-block: 2.5rem;
}

.footer-inner {
   display: flex;
   align-items: center;
   justify-content: space-between;
   gap: 2rem;
}

.footer-brand {
   width: min(220px, 45vw);
}
.footer-brand img {
   width: 100%;
   height: auto;
   object-fit: contain;
}

.footer-contact {
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   gap: 0.2rem;
   text-align: right;
}
.footer-contact span {
   color: var(--navy);
   font-size: 0.7rem;
   font-weight: 800;
   letter-spacing: 0.18em;
}
.footer-contact a {
   color: var(--blue);
   font-size: 0.98rem;
}
.footer-contact a:hover { text-decoration: underline; }

/* ---------- No-JS fallback navigation ----------
   Rendered only via <noscript>, so it is absent from the DOM for every
   JavaScript-on visitor → no chance of a duplicate "Home" on desktop,
   even if a cached copy of this stylesheet is served. */

.no-js-nav {
   display: flex;
   gap: 1.5rem;
   padding: 1rem 0;
}
.no-js-nav a {
   color: var(--navy);
   font-size: 0.78rem;
   font-weight: 700;
   letter-spacing: 0.17em;
   text-transform: uppercase;
}
@media (min-width: 821px) {
    .no-js-nav { display: none; }   /* desktop already has .main-nav */
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
    :root { --header-h: 88px; }

    .brand { width: min(260px, 60vw); }

    .main-nav { display: none; }
    .menu-toggle { display: block; }

    .mobile-menu {
      position: fixed;
      inset: 0;
      z-index: 2000;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      padding: 1.25rem var(--pad);
      background: rgba(255,255,255,.98);
       -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      opacity: 0;
      pointer-events: none;
      transform: translateY(-8px);
      transition: opacity 180ms ease, transform 180ms ease;
    }
    .mobile-menu.is-open {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .menu-close {
      width: 42px; height: 42px;
      color: var(--navy);
      font-size: 2.25rem;
      line-height: 1;
    }

    .mobile-menu nav {
      width: 100%;
      margin-top: 4rem;
      display: grid;
      place-items: center;
      gap: 1.5rem;
    }
    .mobile-menu nav a {
      color: var(--navy);
      font-size: 1.3rem;
      font-weight: 750;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .content-wrap {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    .content-heading { position: static; }
}

@media (max-width: 600px) {
   body { font-size: 16px; }

    .hero-inner { min-height: 0; }
    .hero-copy { padding-block: 4rem 4.5rem; }
    .hero h1 { font-size: clamp(2.45rem, 12vw, 4rem); }

    .content-section { padding-block: 3.5rem; }

    .footer-inner {
      flex-direction: column;
      align-items: center;
    }
    .footer-brand { width: min(220px, 70vw); }
    .footer-contact { align-items: center; text-align: center; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
   html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
      transition-duration: 0.01ms !important;
      animation-duration: 0.01ms !important;
    }
}
