/* Chrome copied from the live jennifergallo.net: tokens, masthead,
   wordmark, nav, buttons, footer. Media queries preserved — an earlier
   pass flattened them and the mobile rules applied at every width.
   Re-pull with bin/sync-chrome.py when the main site changes. */

:root {
    /* gia Visual Identity System */
    --white: #ffffff;
    --wash: #f8fafb;
    --surface-tint: #f0f7f8;
    --haint: #9ccdd8;
    --haint-wash: #eaf5f6;
    --haint-light: #d8edf2;
    --haint-line: #5fa9b8;
    --teal: #2a7d79;
    --teal-deep: #1a524f;
    --teal-dark: #123c3a;
    --brick: #ec3013;
    --brick-deep: #ae1800;
    --brick-wash: #fdf2f0;
    
    --ink: #201e1d;
    --ink-80: #3a3836;
    --ink-60: #5b5957;
    --ink-40: #8c8986;
    --ink-20: #cac6c2;
    --ink-10: #e7e4e2;
    --ink-05: #f4f2f0;

    /* Typography */
    --disp: "Newsreader", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    /* Geometry & Polish */
    --maxw: 1140px;
    --maxw-narrow: 840px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(32, 30, 29, 0.04), 0 1px 2px rgba(32, 30, 29, 0.02);
    --shadow-md: 0 8px 24px rgba(32, 30, 29, 0.06), 0 2px 6px rgba(32, 30, 29, 0.04);
    --shadow-lg: 0 16px 40px rgba(32, 30, 29, 0.08), 0 4px 12px rgba(32, 30, 29, 0.04);
    --shadow-glow: 0 0 0 1px rgba(95, 169, 184, 0.2), 0 8px 24px rgba(156, 205, 216, 0.25);
  }

/* Reset & Baseline */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    background-color: var(--white);
    color: var(--ink);
  }

body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
    color: var(--ink);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.006em;
    overflow-x: hidden;
  }

/* Container */
  .container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
  }

.container-narrow {
    max-width: var(--maxw-narrow);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
  }

/* Interactive Buttons & Badges */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-decoration: none;
  }

.btn-primary {
    background-color: var(--teal-deep);
    color: var(--white);
    border-color: var(--teal-deep);
    box-shadow: 0 2px 6px rgba(26, 82, 79, 0.2);
  }

.btn-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 82, 79, 0.25);
  }

.btn-secondary {
    background-color: var(--wash);
    color: var(--ink);
    border-color: var(--ink-10);
  }

.btn-secondary:hover {
    background-color: var(--white);
    border-color: var(--haint-line);
    color: var(--teal-deep);
    transform: translateY(-1px);
  }

.btn-ghost {
    background-color: transparent;
    color: var(--teal-deep);
    border-color: transparent;
    padding-left: 12px;
    padding-right: 12px;
  }

.btn-ghost:hover {
    color: var(--brick-deep);
    background-color: var(--haint-wash);
  }

/* Top Accent Strip */
  .top-accent-bar {
    height: 3.5px;
    width: 100%;
    background: linear-gradient(90deg, var(--teal-deep) 0%, var(--haint-line) 50%, var(--brick) 100%);
  }

/* Masthead / Navigation */
  header.masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ink-10);
    transition: box-shadow 0.2s ease;
  }

.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
  }

.wordmark {
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }

.wordmark-name {
    font-family: var(--disp);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.015em;
    line-height: 1.1;
    transition: color 0.15s ease;
  }

.wordmark:hover .wordmark-name {
    color: var(--teal-deep);
  }

.wordmark-sub {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--ink-60);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 2px;
  }

nav.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.5vw, 28px);
  }

nav.nav-links a.nav-item {
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-60);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.15s ease;
  }

nav.nav-links a.nav-item:hover,
  nav.nav-links a.nav-item[aria-current="page"] {
    color: var(--teal-deep);
  }

nav.nav-links a.nav-item[aria-current="page"]::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--teal-deep);
  }

.nav-cta-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
  }

.hero-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.4;
    border-radius: calc(var(--radius-xl) - 6px);
    overflow: hidden;
    background-color: var(--haint-wash);
  }

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
  }

a.framework-pill:hover,
  a.framework-pill:focus-visible {
    background-color: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
  }

.contact-action-group .btn-primary {
    font-size: 16px;
    padding: 13px 28px;
    background-color: var(--brick-deep);
    border-color: var(--brick-deep);
    box-shadow: 0 2px 8px rgba(174, 24, 0, 0.25);
  }

.contact-action-group .btn-primary:hover {
    background-color: #8c1300;
    border-color: #8c1300;
  }

/* Footer */
  footer.site-footer {
    padding: 48px 0 56px;
    background-color: var(--white);
    border-top: 1px solid var(--ink-10);
  }

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-60);
  }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
    color: var(--ink-60);
  }

.footer-links a:hover {
    color: var(--teal-deep);
  }

/* Responsive Breakpoints */
  @media (max-width: 920px) {
    .hero-grid {
      grid-template-columns: 1fr;
      gap: 36px;
    }
    .hero-frame {
      max-width: 320px;
      margin: 0 auto;
    }
    .metrics-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .pillars-grid {
      grid-template-columns: 1fr;
    }
    .timeline-item {
      grid-template-columns: 1fr;
      gap: 14px;
    }
    .rec-secondary-grid {
      grid-template-columns: 1fr;
    }
    .contact-box {
      grid-template-columns: 1fr;
    }
  }

@media (max-width: 640px) {
.masthead-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
    }
nav.nav-links {
      width: 100%;
      flex-wrap: wrap;
      justify-content: flex-start;
      row-gap: 10px;
      column-gap: 18px;
      overflow: visible;
    }
.nav-cta-wrap {
      width: 100%;
      margin: 2px 0 0;
    }
.btn {
      width: 100%;
    }
.footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-links { flex-wrap: wrap; row-gap: 10px; column-gap: 18px; }
.nav-cta-wrap .btn { width: 100%; display: inline-flex; justify-content: center; box-sizing: border-box; }
}
