/* ==========================================================================
   CodeBlue Technology - Site Stylesheet v3
   Brand: PMS 281 C (blue), PMS 377 C (green), PMS 202 C (red, accent only).
   Type: Futura Bold (headings) / Franklin Gothic (body), with system-font
   detection first and free equivalents (Jost / Libre Franklin) as fallback.
   Material language: brushed aluminum + frosted glass retained; the accent
   strip now carries the brand blue/green instead of an improvised wood tone.
   Mobile-first. No build step. Both themes supported.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Libre+Franklin:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light;

  /* -- neutrals: aluminum scale, biased faintly toward brand blue -- */
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.6);
  --surface-glass-border: rgba(255, 255, 255, 0.78);
  --alu-100: #e7e9ed;
  --alu-200: #dadde3;
  --alu-300: #c1c5cf;
  --alu-500: #8b91a0;
  --alu-700: #565c6c;
  --ink: #161c2b;
  --ink-soft: #4c5265;
  --ink-faint: #848a9a;
  --line: rgba(22, 28, 43, 0.12);

  /* -- brand: PMS 281 C / PMS 377 C / PMS 202 C -- */
  --brand-blue: #00235d;
  --brand-blue-deep: #001536;
  --brand-blue-tint: #e2e7f1;
  --brand-green: #7a9a01;
  --brand-green-deep: #5c7401;
  --brand-green-tint: #eef2d9;
  --brand-red: #882934;
  --brand-red-deep: #6a1f27;
  --brand-red-tint: #f4e2e3;

  --radius-card: 14px;
  --radius-input: 10px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;

  --container: 1180px;
  --call-bar-h: 58px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0c1220;
    --surface: #141b2c;
    --surface-glass: rgba(20, 27, 44, 0.62);
    --surface-glass-border: rgba(255, 255, 255, 0.1);
    --alu-100: #1b2338;
    --alu-200: #242d45;
    --alu-300: #333d58;
    --alu-500: #6b7288;
    --alu-700: #a3a8ba;
    --ink: #eef0f5;
    --ink-soft: #c1c6d4;
    --ink-faint: #848aa0;
    --line: rgba(255, 255, 255, 0.1);
    --brand-blue: #4d7bd6;
    --brand-blue-deep: #6f95e0;
    --brand-blue-tint: rgba(77, 123, 214, 0.16);
    --brand-green: #9dc22c;
    --brand-green-deep: #b3d654;
    --brand-green-tint: rgba(157, 194, 44, 0.14);
    --brand-red: #d5636d;
    --brand-red-deep: #e58891;
    --brand-red-tint: rgba(213, 99, 109, 0.16);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1220;
  --surface: #141b2c;
  --surface-glass: rgba(20, 27, 44, 0.62);
  --surface-glass-border: rgba(255, 255, 255, 0.1);
  --alu-100: #1b2338;
  --alu-200: #242d45;
  --alu-300: #333d58;
  --alu-500: #6b7288;
  --alu-700: #a3a8ba;
  --ink: #eef0f5;
  --ink-soft: #c1c6d4;
  --ink-faint: #848aa0;
  --line: rgba(255, 255, 255, 0.1);
  --brand-blue: #4d7bd6;
  --brand-blue-deep: #6f95e0;
  --brand-blue-tint: rgba(77, 123, 214, 0.16);
  --brand-green: #9dc22c;
  --brand-green-deep: #b3d654;
  --brand-green-tint: rgba(157, 194, 44, 0.14);
  --brand-red: #d5636d;
  --brand-red-deep: #e58891;
  --brand-red-tint: rgba(213, 99, 109, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Franklin Gothic Medium", "Franklin Gothic Book", "Franklin Gothic", "Libre Franklin", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--call-bar-h);
}
@media (min-width: 861px) { body { padding-bottom: 0; } }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em; line-height: 1.1; font-weight: 700; letter-spacing: -0.005em; text-wrap: balance;
  font-family: "Futura", "Futura PT Bold", "Futura Bold", "Jost", -apple-system, "Segoe UI", sans-serif;
}
h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; color: var(--ink-soft); max-width: 60ch; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-green-deep);
}

button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }

/* ---- Textures ---- */
.tex-brushed {
  background-image: repeating-linear-gradient(
    100deg,
    rgba(0,0,0,0.028) 0px, rgba(0,0,0,0.028) 1px,
    transparent 1px, transparent 3px
  );
}
.brand-rule {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 18px;
}
.brand-rule::before {
  content: "";
  flex: none;
  width: 17px; height: 17px;
  -webkit-mask: url('../images/icon-pulse-outline.png') center / contain no-repeat;
  mask: url('../images/icon-pulse-outline.png') center / contain no-repeat;
  background: var(--brand-blue);
}
.brand-rule::after {
  content: "";
  height: 4px;
  width: 44px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-green) 100%);
}
.center .brand-rule { justify-content: center; margin-left: auto; margin-right: auto; }

.glass {
  background: var(--surface-glass);
  border: 1px solid var(--surface-glass-border);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 20px 48px rgba(27, 26, 23, 0.10);
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-deep); box-shadow: 0 10px 24px rgba(136, 41, 52, 0.3); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-green); color: var(--brand-green-deep); }
.btn-ghost-invert { background: transparent; color: var(--surface); border-color: rgba(255,255,255,0.4); }
.btn-ghost-invert:hover { border-color: #fff; }
.btn-block { width: 100%; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--surface-glass);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.site-header > .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.brand-logo { height: 34px; width: auto; display: block; }

.nav-desktop { display: none; }
@media (min-width: 981px) {
  .nav-desktop { display: flex; align-items: center; gap: 2px; }
  .nav-desktop > .nav-item { position: relative; }
  .nav-desktop a.nav-link { display: block; padding: 10px 14px; border-radius: var(--radius-input); font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
  .nav-desktop a.nav-link:hover { background: var(--alu-100); color: var(--ink); }
  .nav-desktop .nav-item.has-mega:hover .mega-menu,
  .nav-desktop .nav-item.has-mega:focus-within .mega-menu { display: grid; }
  .mega-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-card); box-shadow: 0 24px 48px rgba(27,26,23,0.14);
    padding: 10px; min-width: 300px; grid-template-columns: 1fr; gap: 2px;
  }
  .mega-menu a { padding: 10px 14px; border-radius: var(--radius-input); font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
  .mega-menu a:hover { background: var(--brand-green-tint); color: var(--brand-green-deep); }
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-primary { display: none; }
@media (min-width: 700px) { .header-actions .btn-primary { display: inline-flex; } }
.header-phone { display: none; font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 0.86rem; color: var(--ink-soft); }
@media (min-width: 700px) { .header-phone { display: inline; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-input); background: var(--surface);
  position: relative; z-index: 90;
}
@media (min-width: 981px) { .nav-toggle { display: none; } }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--ink); position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

/* ---- Mobile nav: right-side slide-in drawer ---- */
.nav-scrim {
  position: fixed; top: 72px; right: 0; bottom: 0; left: 0; z-index: 80;
  background: rgba(8, 11, 20, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.nav-scrim.open { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease); }
@media (min-width: 981px) { .nav-scrim { display: none !important; } }

.nav-mobile {
  position: fixed; top: 72px; right: 0; bottom: 0; z-index: 85;
  width: min(84vw, 360px);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 48px rgba(8, 11, 20, 0.22);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
}
.nav-mobile.open { transform: translateX(0); }
@media (min-width: 981px) { .nav-mobile, .nav-scrim { display: none !important; } }
.nav-mobile .container { max-width: none; margin: 0; padding: 20px 22px 28px; }
.nav-mobile details { border-bottom: 1px solid var(--line); }
.nav-mobile summary { padding: 13px 2px; font-weight: 650; list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: "+"; color: var(--brand-green); font-size: 1.2rem; }
.nav-mobile details[open] summary::after { content: "-"; }
.nav-mobile a { display: block; padding: 10px 2px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-mobile .sub-link { padding-left: 14px; font-weight: 500; color: var(--ink-soft); font-size: 0.94rem; border-bottom: none; }
.nav-mobile > .container > a:last-child { border-bottom: none; }
body.nav-open { overflow: hidden; }

/* ---- Sticky mobile call bar ---- */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr; height: var(--call-bar-h); background: var(--brand-blue); }
@media (min-width: 861px) { .call-bar { display: none; } }
.call-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--bg); text-align: center; }
.call-bar a:first-child { border-right: 1px solid rgba(255,255,255,0.16); }
.call-bar .call-bar-label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.72; }
.call-bar .call-bar-num { font-size: 0.88rem; font-weight: 700; font-family: "JetBrains Mono", monospace; }

/* ---- Hero (asymmetric split) ---- */
.hero { padding: 40px 0 0; }
.hero-inner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--alu-200) 0%, var(--alu-100) 45%, var(--bg) 100%);
  border: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 0; }
@media (min-width: 941px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-copy { padding: 48px 32px 40px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 941px) { .hero-copy { padding: 64px 20px 64px 52px; } }
.hero h1 { color: var(--ink); }
.hero .lead { font-size: 1.08rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-media { position: relative; min-height: 260px; }
@media (max-width: 940px) { .hero-media { min-height: 220px; } }

/* ---- Stat strip ---- */
.stat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.stat-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
@media (min-width: 700px) { .stat-strip ul { grid-template-columns: repeat(4, 1fr); } }
.stat-strip li { text-align: center; }
.stat-strip strong { display: block; font-family: "JetBrains Mono", monospace; font-variant-numeric: tabular-nums; font-size: 1.4rem; color: var(--ink); font-weight: 600; }
.stat-strip span { font-size: 0.82rem; color: var(--ink-faint); }

/* ---- Sections ---- */
.section { padding: 60px 0; }
.section-tight { padding: 36px 0; }
.section-head { max-width: 640px; margin: 0 0 30px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Bento grid (asymmetric, exact cell count) ---- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); }
  .bento .b-lg { grid-column: span 2; grid-row: span 2; }
  .bento .b-md { grid-column: span 2; }
  .bento .b-sm { grid-column: span 2; }
}
@media (min-width: 1080px) {
  .bento .b-lg { grid-column: span 2; grid-row: span 2; }
  .bento .b-md { grid-column: span 1; }
  .bento .b-sm { grid-column: span 1; }
}

.tile {
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 10px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(22,28,43,0.10); border-color: var(--brand-green); }
.tile.tile-accent { background: linear-gradient(150deg, var(--alu-100), var(--surface) 60%); }
.tile.tile-brand {
  background: linear-gradient(150deg, var(--brand-green-tint), var(--surface) 65%);
  border-color: rgba(122,154,1,0.3);
}
.tile .icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--alu-100); color: var(--brand-green-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
  font-family: "JetBrains Mono", monospace;
}
.tile h3 { margin-bottom: 0.25em; }
.tile p { margin: 0; font-size: 0.94rem; }

/* ---- Card (general use) ---- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.card h3 { margin-bottom: 0.4em; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.card li { margin-bottom: 6px; }

/* ---- Split image/text (PeopleFirst etc.) ---- */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 44px; } }
.split-media { border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); position: relative; min-height: 280px; }

/* ---- Steps ---- */
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 16px; }

/* ---- Timeline (company history) ---- */
.timeline { position: relative; display: flex; flex-direction: column; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 6px; bottom: 6px; width: 2px;
  background: var(--line);
}
.timeline-item { position: relative; display: flex; gap: 20px; padding: 16px 0; }
.timeline-year {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 0.82rem;
  position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--bg);
}
.timeline-item.is-future .timeline-year { background: var(--brand-green); }
.timeline-body { padding-top: 6px; }
.timeline-body h3 { margin-bottom: 0.2em; }
.timeline-body p { margin-bottom: 0; }

/* ---- Rep form (3 fields, glass) ---- */
.rep-form { border-radius: var(--radius-card); padding: 28px; }
.rep-form h3 { margin-bottom: 4px; }
.rep-form .sub { font-size: 0.9rem; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.82rem; font-weight: 650; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-input);
  font-size: 0.98rem; font-family: inherit; background: var(--surface); color: var(--ink);
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus { outline: 2px solid var(--brand-red); outline-offset: 1px; border-color: var(--brand-red); }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 10px; text-align: center; }
.form-confirm { display: none; background: var(--brand-green-tint); border: 1px solid rgba(122,154,1,0.35); color: var(--ink); border-radius: var(--radius-input); padding: 16px; font-weight: 600; font-size: 0.95rem; }
.form-confirm.show { display: block; }
.rep-form.submitted form { display: none; }
.rep-form.submitted .form-confirm { display: block; }

/* ---- Full intake form (secondary, in a disclosure) ---- */
.full-form-toggle { padding: 0; overflow: hidden; }
.full-form-toggle summary {
  cursor: pointer; padding: 20px 24px; font-weight: 650; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
}
.full-form-toggle summary::-webkit-details-marker { display: none; }
.full-form-toggle summary::after { content: "+"; color: var(--brand-green); font-size: 1.2rem; }
.full-form-toggle[open] summary::after { content: "\2212"; }
.full-form-toggle .full-form-body { padding: 4px 24px 24px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 4px; }
@media (max-width: 520px) { .check-grid { grid-template-columns: 1fr; } }
.check-grid label { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); }
.check-grid input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--brand-green); flex: none; }

/* ---- Scroll-snap pill row (industries etc.) ---- */
.pill-row {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 4px 2px 10px; -webkit-overflow-scrolling: touch;
}
.pill-row::-webkit-scrollbar { height: 6px; }
.pill-row::-webkit-scrollbar-thumb { background: var(--alu-300); border-radius: 4px; }
.pill {
  flex: none; scroll-snap-align: start; padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: 0.88rem; color: var(--ink);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.pill:hover { border-color: var(--brand-green); color: var(--brand-green-deep); }

/* ---- Final CTA panel ---- */
.cta-panel {
  border-radius: 22px; padding: 48px 30px; text-align: center;
  background: linear-gradient(160deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(105deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 4px);
}
.cta-panel > * { position: relative; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: rgba(255,255,255,0.78); margin-left: auto; margin-right: auto; }
.cta-panel .hero-ctas { justify-content: center; }

/* ---- Footer ---- */
.site-footer { background: var(--brand-blue-deep); color: rgba(255,255,255,0.68); padding: 52px 0 24px; font-size: 0.92rem; }
.site-footer h4 { color: #fff; font-family: "JetBrains Mono", monospace; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.site-footer a:hover { color: var(--brand-green); }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer-brand img { width: 20px; height: 20px; flex: none; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand h4 { margin: 0; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 32px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; color: rgba(246,245,242,0.48); }
.footer-social { display: flex; gap: 12px; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---- Reveal on scroll ----
   Progressive enhancement: elements are fully visible by default. JS adds
   .reveal-armed (only once it has successfully set up the observer), which
   is what actually hides them pending .in. If JS never runs, nothing is
   ever hidden. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.reveal-armed { opacity: 0; transform: translateY(14px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
  .reveal.reveal-armed.in { opacity: 1; transform: none; }
}

/* ---- Material panel (brushed aluminum / frosted glass, brand accent strip) ---- */
.material-panel { width: 100%; height: 100%; display: block; }

/* ---- Real photography, layered into the same hero/split panels ---- */
.photo-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 28px; }
@media (max-width: 940px) { .photo-overlay { padding: 14px; } }

