/* ============================================================
   FONT DECLARATIONS
   ============================================================ */

/* Inter — body, UI, labels */
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-semibold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/inter-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* DM Sans — headings and display text */
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-latin-ext.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../assets/fonts/dmsans-latin.woff2') format('woff2');
  font-weight: 600 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --font-primary:  'Inter',   system-ui, sans-serif;
  --font-heading:  'DM Sans', 'Inter',   system-ui, sans-serif;

  /* Typographic scale */
  --text-xs:   0.75rem;     /* 12px — metadata, stats labels         */
  --text-sm:   0.8125rem;   /* 13px — eyebrows, fine labels          */
  --text-md:   0.9375rem;   /* 15px — card lists, taglines, body alt */
  --text-base: 1rem;        /* 16px — primary body copy              */
  --text-lg:   1.125rem;    /* 18px — lead paragraphs                */
  --text-xl:   1.25rem;     /* 20px — card titles, why-item titles   */
  --text-2xl:  clamp(1.875rem, 3.25vw, 2.75rem);  /* section h2s    */
  --text-display: clamp(2.75rem, 5.5vw, 5rem);    /* hero headline  */

  /* Colors */
  --color-navy:      #003057;
  --color-navy-dark: #001e3c;
  --color-blue:      #0066cc;
  --color-blue-mid:  #0055a5;
  --color-teal:      #00857a;
  --color-teal-dark: #006b62;
  --color-white:     #ffffff;
  --color-offwhite:  #f5f7fa;
  --color-gray-50:   #f7f9fc;
  --color-gray-100:  #eef1f6;
  --color-gray-200:  #dde2ea;
  --color-gray-400:  #94a0b0;
  --color-gray-600:  #64718a;
  --color-gray-800:  #2a3348;
  --color-gray-900:  #181f2e;
  --color-accent:      #c96820;   /* Amber — Why IDEA card borders & markers */
  --color-accent-warm: #F0A500;   /* Laser Amber — numbers, CTAs, stats        */
  --color-text:      #181f2e;
  --color-text-muted: #4b5563;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.22s ease;
  --transition-slow: 0.35s ease;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 5rem;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 64px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Skip navigation link — visually hidden until focused */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  top: 0;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

section {
  margin: 0;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 3px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base),
              transform var(--transition-fast), box-shadow var(--transition-base);
  border: 1.5px solid transparent;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-xs);
}

.btn--primary {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
}
.btn--primary:hover {
  background: var(--color-blue-mid);
  border-color: var(--color-blue-mid);
}

.btn--secondary {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}
.btn--secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}


/* ============================================================
   SITE HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  height: var(--nav-height);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header__logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-nav__list {
  display: flex;
  gap: var(--space-lg);
}
.site-nav__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-800);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  letter-spacing: 0.01em;
  transition: color var(--transition-base), border-color var(--transition-base);
}
.site-nav__list a:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-blue);
}

.site-header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.site-header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gray-800);
  border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-image: url('../assets/images/bg_top.jpg');
  background-size: cover;
  background-position: 70% 60%;
  color: var(--color-white);
  position: relative;
  width: 100%;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5,15,40,0.25) 0%, rgba(5,15,40,0) 35%),
    linear-gradient(to right, rgba(5,15,40,0.82) 45%, rgba(5,15,40,0.35) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Animated laser-beam overlay canvas */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
}

.hero__content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(0, 133, 122, 0.18);
  border: 1px solid rgba(0, 133, 122, 0.4);
  border-radius: 100px;
  padding: 0.35rem 1.1rem;
  margin-bottom: 1.75rem;
}

.hero__headline {
  font-size: var(--text-display);
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.04;
  margin-bottom: 1.75rem;
  color: var(--color-white);
  letter-spacing: -0.04em;
}

.hero__sub {
  color: rgba(255,255,255,0.82);
  font-size: var(--text-lg);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero__trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin-top: 1.75rem;
}

.hero__trust-item {
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.05em;
}

.hero__trust-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: var(--text-xs);
}


/* ============================================================
   WHAT WE DO SECTION (replaces split-section + feature-cards)
   ============================================================ */
.wwd-section {
  padding: 5rem 0 0;
  background: var(--color-white);
}

.wwd-header {
  margin-bottom: 3rem;
  max-width: 640px;
}

.wwd-section .cap-cards-grid {
  padding-top: 0;
}

.wwd-eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 0.85rem;
}

.wwd-header h2 {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.wwd-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-blue);
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  border-radius: 2px;
}

.wwd-header p {
  font-size: var(--text-base);
  color: #334155;
  line-height: 1.7;
}



/* ============================================================
   GROWTH SECTION
   ============================================================ */
.growth-section {
  padding: 6.5rem 0;
  background: var(--color-navy);
  color: var(--color-white);
}

.growth-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* Discipline stack — right column of CTA */
.growth-section__visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.discipline-stack {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 2.5rem;
}

.discipline-stack__item {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--transition-base);
}

.discipline-stack__item:first-child {
  padding-top: 0;
}

.discipline-stack__item:last-child {
  border-bottom: none;
}

.discipline-stack__num {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-teal);
  flex-shrink: 0;
  opacity: 0.8;
}

.discipline-stack__label {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.discipline-stack__foot {
  margin-top: 1.5rem;
  padding-left: 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.growth-section__eyebrow {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: rgba(0, 133, 122, 0.18);
  border: 1px solid rgba(0, 133, 122, 0.4);
  border-radius: 100px;
  padding: 0.35rem 1.1rem;
  margin-bottom: 1.75rem;
}

.growth-section__text {
  text-align: left;
  width: 100%;
}

.growth-section__text h2 {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}
.growth-section__text h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-teal);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

.growth-section__text p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 580px;
}

.growth-section__contexts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.growth-section__contexts li {
  font-size: var(--text-md);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.growth-section__contexts li::before {
  content: '→';
  color: var(--color-teal);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 0.1rem;
}

.growth-section__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.growth-section__email {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color var(--transition-base);
}
.growth-section__email:hover {
  color: rgba(255,255,255,0.9);
}

.btn--secondary {
  border-color: rgba(255,255,255,0.4);
  color: var(--color-white);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.7);
  padding-top: var(--space-2xl);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer__logo {
  background: var(--color-white);
  border-radius: 4px;
  padding: 5px 8px;
  margin-bottom: var(--space-sm);
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-style: normal;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.site-footer__col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 0.6rem;
  margin-bottom: var(--space-sm);
}

.site-footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-base);
}
.site-footer__col a:hover {
  color: var(--color-white);
}
.site-footer__coming-soon {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  cursor: default;
}
.site-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.site-footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--color-blue);
  opacity: 0.6;
}

.site-footer__bottom {
  padding: var(--space-md) 0;
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

.site-footer__bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
}
.site-footer__bottom a:hover {
  color: var(--color-white);
}

/* ============================================================
   CAPABILITIES SECTION
   ============================================================ */
.capabilities {
  scroll-margin-top: var(--nav-height);
}

.capabilities .wwd-header {
  margin-bottom: 0.5rem;
}

#who-we-serve,
#why-idea,
#contact {
  scroll-margin-top: var(--nav-height);
}

/* Who We Serve */
.serve-section {
  background: var(--color-white);
  padding: 5rem 0 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.serve-section .wwd-header {
  margin-bottom: 0.5rem;
}

.serve-section .industry-cards-grid {
  padding-top: 0;
}
  scroll-margin-top: var(--nav-height);
}


/* ============================================================
   CAPABILITY & INDUSTRY CARDS
   Shell uses component class (.cap-card / .industry-card) — required
   by JS scroll-animation selector in main.js (line 182).
   Interior elements use shared .card__* classes where CSS is identical.
   ============================================================ */

/* --- Shared shell structure --- */
.cap-card,
.industry-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.cap-card:hover,
.industry-card:hover {
  transform: translateY(-5px);
}

/* --- Shared image-top modifier (identical in both) --- */
.cap-card--image-top,
.industry-card--image-top {
  padding: 0;
  overflow: visible;
}

/* --- Image wrapper for zoom effect --- */
.card__cover-wrap {
  overflow: hidden;
  border-radius: 8px;
  display: block;
}

/* --- Shared interior elements (identical CSS in both) --- */
.card__cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform 0.55s ease;
}

.cap-card:hover .card__cover,
.industry-card:hover .card__cover {
  transform: scale(1.06);
}

.card__content {
  padding: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.card__tagline {
  font-size: var(--text-md);
  font-weight: 400;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: normal;
}

.card__list {
  list-style: none;
  margin-top: auto;
  border-top: none;
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
}

.card__list li {
  font-size: var(--text-md);
  font-weight: 500;
  color: #334155;
  padding: 0.3rem 0;
  border-bottom: none;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.55;
  transition: color var(--transition-fast);
}
.card__list li:hover { color: var(--color-text); }
.card__list li::before {
  content: '–';
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* Accent color on list markers — scoped to each component */
.cap-card      .card__list li::before { color: var(--color-blue); opacity: 0.9; }
.industry-card .card__list li::before { color: var(--color-teal); opacity: 0.8; }

/* Capability card refinements — scoped to cap-card only */
.cap-card .card__content {
  padding: 1.25rem 0 0;
}
.cap-card .card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 1.1rem;
}
.cap-card .card__tagline {
  font-weight: 400;
  font-style: normal;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}
.cap-card .card__list {
  border-top: none;
  padding-top: 0;
  list-style: square;
  list-style-position: outside;
  padding-left: 0.9em;
}
.cap-card .card__list li {
  display: list-item;
  font-size: var(--text-md);
  font-weight: 500;
  color: #334155;
  padding: 0;
  gap: 0;
  border-bottom: none;
  line-height: 1.4;
  margin-bottom: 10px;
}
.cap-card .card__list li:last-child {
  margin-bottom: 0;
}
.cap-card .card__list li::before {
  content: none;
}
.cap-card .card__list li::marker {
  color: var(--color-teal);
  font-size: 11px;
}
.cap-card .card__cover {
  height: 220px;
  border-radius: 0;
}

/* Grid layouts */
.cap-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem 0 5rem;
}

.industry-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2.5rem 0 5rem;
}

/* 6-card 3×2 grid for Who We Serve */
.industry-cards-grid--6 {
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  align-items: start;
}

/* ============================================================
   WHO WE SERVE — industry card refinements
   ============================================================ */

/* Content area */
.industry-card .card__content {
  padding: 1.5rem 0 0.75rem;
  max-width: 92%;
}

/* Uniform card title for all industry cards */
.industry-card .card__title {
  font-family: var(--font-heading);
  font-size: 1.175rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 0.75rem;
}

/* Bullet list — disc style with teal marker */
.industry-card .card__list {
  list-style: square;
  list-style-position: outside;
  padding-left: 0.9em;
}

.industry-card .card__list li {
  display: list-item;
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 0;
  gap: 0;
}

.industry-card .card__list li:first-child {
  margin-top: 0;
}

.industry-card .card__list li:last-child {
  margin-bottom: 0;
}

/* Neutralise the global dash ::before — disc replaces it */
.industry-card .card__list li::before {
  content: none;
}

/* Teal disc marker */
.industry-card .card__list li::marker {
  color: var(--color-teal);
  font-size: 11px;
}

/* Bullet collapse — hide items beyond 3, show toggle */
.industry-card .card__list li:nth-child(n+4) {
  display: none;
}
.industry-card .card__list--expanded li:nth-child(n+4) {
  display: list-item;
}
.card__list-toggle {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #1fb6c9;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}
.card__list-toggle:hover {
  color: #18a0b1;
}

/* ============================================================
   WHY IDEA — numbered layout
   ============================================================ */
.why-section {
  background: var(--color-gray-100);
  padding: 5.5rem 0 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.why-section .wwd-header {
  margin-bottom: 0.5rem;
}

.why-section .why-items {
  padding-top: 0;
}

.why-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto 1fr;
  column-gap: 1.5rem;
  row-gap: 0;
  padding: 2.5rem 0 5.5rem;
}

.why-item {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  background: var(--color-white);
  border-radius: 8px;
  border-left: 3px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-item__num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 6vw, 6rem);
  font-weight: 800;
  color: var(--color-accent-warm);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.why-item__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.why-item__desc {
  font-size: var(--text-md);
  font-weight: 500;
  color: #4b5a72;
  line-height: 1.6;
  margin: 0 0 0.5rem 0;
}

.why-item__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.why-item__list li {
  font-size: var(--text-md);
  font-weight: 500;
  color: #4b5a72;
  padding: 0.2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.6;
}

.why-item__list li::before {
  content: '▪';
  color: var(--color-accent);
  flex-shrink: 0;
  opacity: 0.7;
  margin-top: 0.05rem;
}

/* ============================================================
   STATEMENT BAND
   ============================================================ */
.statement-band {
  background: var(--color-navy-dark);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.statement-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-teal), var(--color-blue));
}

.statement-band .container {
  position: relative;
}

.statement-band__text {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.03em;
  max-width: 920px;
  line-height: 1.2;
}

.statement-band__text em {
  font-style: normal;
  color: var(--color-teal);
}


/* ============================================================
   SPLIT SECTION HEADERS
   ============================================================ */
.split-header {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0 5rem;
  align-items: center;
  max-width: none;
  margin-bottom: 3rem;
}

.split-header__right {
  font-size: var(--text-base);
  line-height: 1.75;
}

/* Override max-width set on individual header elements */
.wwd-header.split-header,
.domains-header.split-header,
.systems-header.split-header {
  max-width: none;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  background: var(--color-navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.stats-row__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 1.25rem 0;
  gap: 0;
}

.stats-row__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  padding: 0 2rem;
}

.stats-row__value {
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--color-accent-warm);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stats-row__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  max-width: 160px;
  line-height: 1.4;
}

.stats-row__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ============================================================
   ENGINEERING DOMAINS SECTION
   ============================================================ */
.domains-section {
  padding: 4.25rem 0;
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-gray-200);
}

/* Two-column layout: content left, image right */
.domains-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}

.domains-layout__image {
  align-self: start;
}

.domains-layout__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  background-attachment: scroll;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.domains-header {
  margin-bottom: 2.75rem;
  max-width: none;
}

.domains-header__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-top: 0.25rem;
}

.domains-header h2 {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.domains-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-blue);
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  border-radius: 2px;
}

.domains-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.domain-tile {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-left: 3px solid var(--color-blue);
  border-radius: 0 6px 6px 0;
  padding: 1.5rem 1.75rem;
  min-height: 110px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition-base), border-left-color var(--transition-base);
}

.domain-tile__title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.domain-tile__body {
  font-size: var(--text-md);
  color: #334155;
  line-height: 1.65;
}

/* ============================================================
   SELECTED SYSTEMS SECTION
   ============================================================ */
.systems-section {
  padding: 5.5rem 0 6rem;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
}

.systems-header {
  margin-bottom: 0.5rem;
  max-width: 640px;
}

.systems-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.systems-header h2 {
  font-size: var(--text-2xl);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.systems-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-blue);
  margin-top: 1rem;
  margin-bottom: 1.1rem;
  border-radius: 2px;
}

.systems-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.system-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.system-card__image {
  width: 100%;
  aspect-ratio: 5 / 3;
  background: var(--color-gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--color-gray-400);
  border-radius: 8px;
  overflow: hidden;
}

.system-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.55s ease;
}

.system-card:hover .system-card__image img {
  transform: scale(1.06);
}

.system-card__image svg {
  opacity: 0.45;
}

.system-card__image span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.system-card__body {
  padding: 1.25rem 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.system-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.system-card__list {
  list-style: square;
  list-style-position: outside;
  padding-left: 0.9em;
  padding-top: 0.5rem;
  margin-top: 0;
}

.system-card__list li {
  display: list-item;
  font-size: var(--text-md);
  font-weight: 500;
  color: #334155;
  padding: 0;
  gap: 0;
  border-bottom: none;
  line-height: 1.4;
  margin-bottom: 10px;
}

.system-card__list li:last-child {
  margin-bottom: 0;
}

.system-card__list li::before {
  content: none;
}

.system-card__list li::marker {
  color: var(--color-teal);
  font-size: 11px;
}

.system-card__intro {
  font-size: var(--text-md);
  font-weight: 500;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.system-card__list {
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.system-card__toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: auto;
  padding-top: 0.6rem;
  font-size: var(--text-sm);
  color: var(--color-teal);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  display: inline-block;
  line-height: 1;
}

.system-card__toggle:hover {
  text-decoration: underline;
}

.system-card__toggle:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for grid children */
.cap-cards-grid .fade-up:nth-child(2),
.industry-cards-grid .fade-up:nth-child(2),
.systems-grid      .fade-up:nth-child(2),
.why-items         .fade-up:nth-child(2) {
  transition-delay: 0.1s;
}
.cap-cards-grid .fade-up:nth-child(3),
.industry-cards-grid .fade-up:nth-child(3),
.systems-grid      .fade-up:nth-child(3),
.why-items         .fade-up:nth-child(3) {
  transition-delay: 0.2s;
}
.industry-cards-grid .fade-up:nth-child(4),
.why-items           .fade-up:nth-child(4) {
  transition-delay: 0.1s;
}
.industry-cards-grid .fade-up:nth-child(5) {
  transition-delay: 0.18s;
}
.industry-cards-grid .fade-up:nth-child(6) {
  transition-delay: 0.26s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .site-footer__nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .cap-cards-grid {
    grid-template-columns: 1fr;
  }
  .industry-cards-grid,
  .industry-cards-grid--6 {
    grid-template-columns: 1fr 1fr;
  }
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .why-items {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__headline {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
  }
}

@media (max-width: 768px) {
  .split-header {
    grid-template-columns: 1fr;
    gap: 1rem 0;
  }
  .industry-cards-grid,
  .industry-cards-grid--6,
  .cap-cards-grid,
  .why-items,
  .domains-grid,
  .systems-grid {
    grid-template-columns: 1fr;
  }
  .stats-row__inner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem 0;
    min-height: auto;
  }
  .stats-row__divider {
    width: 48px;
    height: 1px;
  }
  .growth-section {
    padding: 4rem 0;
  }
  :root {
    --space-xl: 2.5rem;
    --space-2xl: 4rem;
  }

  .site-nav {
    display: none;
  }

  /* Mobile nav dropdown */
  .site-nav--open {
    display: block;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 99;
    padding: 0.5rem var(--space-lg) 1rem;
  }
  .site-nav--open .site-nav__list {
    flex-direction: column;
    gap: 0;
  }
  .site-nav--open .site-nav__list li {
    border-bottom: 1px solid var(--color-gray-100);
  }
  .site-nav--open .site-nav__list li:last-child {
    border-bottom: none;
  }
  .site-nav--open .site-nav__list a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: none;
  }

  .site-header__menu-toggle {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
  }

  /* Section vertical spacing */
  .wwd-section        { padding-top: 3rem; }
  .wwd-header         { margin-bottom: 1.75rem; }
  .domains-section    { padding: 3rem 0; }
  .systems-section    { padding: 3rem 0 4rem; }
  .why-section        { padding-top: 3.5rem; }
  .serve-section      { padding-top: 3rem; }
  .growth-section     { padding: 4rem 0; }
  .growth-section__inner { grid-template-columns: 1fr; gap: 3rem; }
  .growth-section__visual { display: none; }
  #hero-canvas { display: none; }
  .statement-band     { padding: 4rem 0; }

  .cap-cards-grid,
  .industry-cards-grid {
    padding-bottom: 3rem;
  }
  .why-items {
    padding-bottom: 3.5rem;
    gap: 1.25rem;
  }
  .why-item {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    padding: 1.75rem 1.5rem 1.5rem;
  }
  .why-item__num {
    font-size: clamp(3.5rem, 10vw, 5rem);
    margin-bottom: 1rem;
  }

  /* Card readability */
  .card__content  { padding: 1.75rem 1.5rem; }
  .card__tagline  { margin-bottom: 1rem; }
  .card__list li  { font-size: var(--text-md); }

  /* Button tap targets */
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .modal__close {
    padding: 0.75rem;
  }
  .card__list-toggle,
  .system-card__toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 0.25rem;
  }

}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  /* Hero: align padding with rest of page, strengthen headline */
  .hero__inner {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .hero__headline {
    font-size: 1.875rem;
  }
  .hero__cta-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up {
    opacity: 1;
    transform: none;
  }
  #hero-canvas {
    display: none;
  }
}

@media print {
  /* Force all animated elements visible — IntersectionObserver does not fire in print */
  .fade-up, .domain-tile, .system-card,
  .fade-up.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Remove sticky positioning — breaks print pagination */
  .site-header {
    position: static !important;
  }

  /* Remove backdrop-filter — unsupported in most print renderers */
  .site-header {
    background: #fff !important;
    backdrop-filter: none !important;
  }

  /* Normalize hero height for print — vh units are unreliable */
  .hero {
    min-height: 0 !important;
    padding: 4rem 0 !important;
  }
}

/* ============================================================
   VISUAL ENHANCEMENTS
   ============================================================ */

/* 1 — Hero laser canvas */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 2 — Gradient mesh on light sections */
.wwd-section {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,123,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,200,180,0.04) 0%, transparent 60%),
    var(--color-white);
}
.domains-section {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,123,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,200,180,0.04) 0%, transparent 60%),
    var(--color-gray-50);
}
.systems-section {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,123,255,0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,200,180,0.04) 0%, transparent 60%),
    var(--color-white);
}
.why-section {
  background: var(--color-gray-100);
}

/* 3 — Card hover effects */
.domain-tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}
.domain-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  border-left-color: var(--color-teal);
}

/* 4 — Certifications strip */
/* 5 — Industry icon strip */
.industry-strip {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  padding: 2.25rem 0;
}
.industry-strip__title {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}
.industry-strip__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}
.industry-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 2.25rem;
  border-right: 1px solid var(--color-gray-200);
}
.industry-strip__item:last-child {
  border-right: none;
}
.industry-strip__icon {
  color: var(--color-blue);
  opacity: 0.75;
  display: flex;
  align-items: center;
}
.industry-strip__item span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.4;
  max-width: 100px;
}


/* Technology Areas — hide image on mobile */
@media (max-width: 900px) {
  .domains-layout {
    grid-template-columns: 1fr;
  }
  .domains-layout__image {
    display: none;
  }
}

/* Industry strip responsive */
@media (max-width: 768px) {
  .industry-strip__item {
    width: 50%;
    border-right: none;
    border-bottom: 1px solid var(--color-gray-200);
    padding: 1rem;
  }
  .industry-strip__item:nth-child(odd) {
    border-right: 1px solid var(--color-gray-200);
  }
  .industry-strip__item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* ============================================================
   CONTACT MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal__card {
  position: relative;
  background: var(--color-white);
  width: 100%;
  max-width: 560px;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  padding: 2.5rem;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.modal.is-open .modal__card {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-gray-400);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color var(--transition-base), background var(--transition-base);
}
.modal__close:hover {
  color: var(--color-gray-800);
  background: var(--color-gray-100);
}

.modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  padding-right: 2rem;
}

.modal__sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.modal__field {
  margin-bottom: 1rem;
}
.modal__field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gray-800);
  margin-bottom: 0.35rem;
  letter-spacing: 0.01em;
}
.modal__optional {
  font-weight: 400;
  color: var(--color-gray-400);
}
.modal__field input,
.modal__field textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #767676;
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.modal__field input:focus,
.modal__field textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}
.modal__field textarea {
  resize: vertical;
  min-height: 96px;
}

.modal__submit {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.9rem;
  font-size: 0.95rem;
}

/* Success state */
.modal__success {
  text-align: center;
  padding: 2rem 0 1rem;
}
.modal__success-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.modal__success-text {
  font-size: 1.05rem;
  color: var(--color-navy);
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* Body scroll lock */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .modal__card {
    padding: 2rem 1.5rem;
    border-radius: 8px;
  }
}

/* ============================================================
   POLICY PAGE STYLES (shared: standalone page + modal inject)
   ============================================================ */
.policy-section {
  background: var(--color-white);
  padding: 5rem 0 7rem;
}
.policy-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--color-gray-200);
}
.policy-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.policy-header h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-blue);
  margin-top: 1rem;
  border-radius: 2px;
}
.policy-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 1.25rem;
}
.policy-body {
  max-width: 720px;
}
.policy-body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.policy-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.policy-body a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   PRIVACY POLICY MODAL
   ============================================================ */
.modal__card--policy {
  max-width: 720px;
  max-height: 80vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.privacy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--color-gray-200);
  flex-shrink: 0;
}
.privacy-modal__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}
/* Close button sits inside flex header — override absolute positioning */
.privacy-modal__header .modal__close {
  position: static;
}

.privacy-modal__body {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.privacy-modal__loading {
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
/* Reduce excess padding when rendered inside the modal */
.privacy-modal__body .policy-section {
  padding: 2rem 0 3rem;
}
.privacy-modal__body .container {
  max-width: none;
  padding: 0 2rem;
}
.privacy-modal__body .policy-body {
  max-width: none;
}

/* ============================================================
   CARD / TILE INLINE IMAGES
   ============================================================ */
.card__img {
  width: 100%;
  max-height: 100px;
  object-fit: contain;
  background: var(--color-gray-50);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  display: block;
}
.domain-tile__img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.6rem;
}

