/* =============================================================================
 * /assets/css/site.css — Systems Approach
 *
 * Palette derived from the supplied logo (SA Large.bmp), per spec Section 25:
 *   #003399  logo blue    (21.3% of logo pixels)
 *   #cc6633  logo orange  (5.4% of logo pixels)
 *
 * Sections:
 *   01. TOKENS      02. RESET       03. TYPOGRAPHY   04. LAYOUT
 *   05. HEADER/NAV  06. BUTTONS     07. HERO         08. SECTION HEADS
 *   09. CARDS       10. CAP LISTS   11. IMAGE BANDS  12. MODEL DIAGRAM
 *   13. STATS       14. CTA BAND    15. FORMS        16. LEGAL
 *   17. FOOTER      18. UTILITIES   19. MOTION       20. RESPONSIVE
 * ===========================================================================*/

/* 01. TOKENS ================================================================*/
:root {
  --blue-900: #001f5c;   /* darkest brand blue — deep sections */
  --blue-800: #002a7a;   /* dark blue */
  --blue-700: #003399;   /* LOGO BLUE — primary brand */
  --blue-600: #1a4dab;   /* hover / lighter brand */
  --blue-500: #3366bb;   /* links on dark */
  --blue-100: #dde6f7;   /* pale blue tint */
  --blue-50:  #eef4fd;   /* soft blue background */

  --orange-700: #a34f25; /* dark orange — text on light */
  --orange-600: #cc6633; /* LOGO ORANGE — accent */
  --orange-500: #e07a42; /* hover */
  --orange-100: #fbeade; /* soft orange background */

  --ink-900: #10182a;    /* headings */
  --ink-700: #34405a;    /* body */
  --ink-500: #5f6a82;    /* muted */
  --ink-400: #8b95a8;    /* subtle */

  --gray-200: #e3e7ee;   /* borders */
  --gray-100: #eef1f6;   /* light borders */
  --gray-50:  #f6f8fb;   /* alt section background */
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0,31,92,.06);
  --shadow-md: 0 6px 20px rgba(0,31,92,.08);
  --shadow-lg: 0 20px 48px rgba(0,31,92,.12);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --head: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 28px;
  --header-h: 84px;
}

/* 02. RESET =================================================================*/
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;                       /* spec: no tiny body text */
  line-height: 1.68;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;                    /* spec: no horizontal overflow */
}
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue-700); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-md) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--orange-600); outline-offset: 2px; }

/* 03. TYPOGRAPHY ============================================================*/
h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink-900);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.9vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--orange-600); text-decoration: underline; }

.lead { font-size: 1.12rem; color: var(--ink-700); max-width: 68ch; }
.eyebrow {
  font-family: var(--head);
  font-size: .78rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-600);
  margin: 0 0 .85em;
}
.muted { color: var(--ink-500); }

/* 04. LAYOUT ================================================================*/
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: var(--gray-50); }
.section-blue { background: var(--blue-50); }
.section-orange { background: var(--orange-100); }
.section-dark { background: var(--blue-900); color: #cfd9ec; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #cfd9ec; }

/* 05. HEADER / NAV ==========================================================*/
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }

.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a, .nav-parent {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--head); font-size: .95rem; font-weight: 600;
  color: var(--ink-700); padding: 10px 13px; border-radius: var(--radius-md);
  background: none; border: 0; cursor: pointer; line-height: 1;
  transition: color .18s, background .18s;
}
.nav-item > a:hover, .nav-parent:hover { color: var(--blue-700); background: var(--blue-50); text-decoration: none; }
.nav-item > a.is-active, .nav-parent.is-active { color: var(--blue-700); }
.nav-item > a.is-active::after, .nav-parent.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--orange-600); border-radius: 2px;
}
.caret { transition: transform .2s; flex: 0 0 auto; }
.has-dropdown[data-open="true"] .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 288px;
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: var(--radius-md);
  font-size: .93rem; font-weight: 500; color: var(--ink-700);
}
.dropdown a:hover { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
.dropdown a.is-active { color: var(--blue-700); font-weight: 700; }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle-bars { display: block; width: 24px; }
.nav-toggle-bars span {
  display: block; height: 2px; background: var(--ink-900); border-radius: 2px;
  margin: 5px 0; transition: transform .22s, opacity .22s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 06. BUTTONS ===============================================================*/
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--head); font-size: .97rem; font-weight: 700;
  padding: 14px 26px; border-radius: var(--radius-md);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .12s, box-shadow .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-accent { background: var(--orange-600); color: #fff; }
.btn-accent:hover { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }

/* 07. HERO ==================================================================*/
.page-hero { position: relative; background: var(--blue-900); color: #fff; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 2; padding: 96px var(--gutter) 88px; max-width: 900px; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #d3ddf0; font-size: 1.2rem; }
.page-hero .eyebrow { color: var(--orange-500); }
.page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 1; z-index: 1;
}
.page-hero.has-image::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(0,31,92,.92) 0%, rgba(0,31,92,.72) 38%, rgba(0,31,92,.30) 72%, rgba(0,31,92,.12) 100%);
}
.page-hero.has-image .page-hero-inner { z-index: 3; }

.home-hero .page-hero-inner { padding: 128px var(--gutter) 118px; max-width: 960px; }
.home-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }

/* Credibility strip beneath the home hero */
.cred-strip { background: var(--blue-800); color: #fff; padding: 0; }
.cred-strip ul {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 3px solid var(--orange-600);
}
.cred-strip li {
  padding: 22px 20px; font-family: var(--head); font-weight: 700;
  font-size: .92rem; line-height: 1.35; text-align: center;
  border-right: 1px solid rgba(255,255,255,.14);
}
.cred-strip li:last-child { border-right: 0; }

/* 08. SECTION HEADS =========================================================*/
.section-head { margin: 0 0 44px; max-width: 76ch; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.is-center .lead { margin-left: auto; margin-right: auto; }

/* 09. CARDS =================================================================*/
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-sm); position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: block; color: inherit;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px;
  width: 3px; background: var(--orange-600); border-radius: 0 3px 3px 0;
  opacity: 0; transition: opacity .2s;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); text-decoration: none; }
a.card:hover::before { opacity: 1; }
.card h3 { color: var(--ink-900); margin-bottom: .5em; }
.card p { color: var(--ink-700); font-size: .98rem; margin: 0; }
.card-link {
  display: inline-block; margin-top: 16px; font-family: var(--head);
  font-weight: 700; font-size: .9rem; color: var(--blue-700);
}
.card-link::after { content: " \2192"; }

/* Numbered process steps */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
}
.step-num {
  font-family: var(--head); font-size: 2rem; font-weight: 800;
  color: var(--orange-600); line-height: 1; margin-bottom: 12px; display: block;
}

/* 10. CAPABILITY LISTS ======================================================*/
.cap-list { display: grid; gap: 12px 32px; }
.cap-list.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cap-list.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cap-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 1rem; }
.cap-list .tick { color: var(--orange-600); flex: 0 0 auto; margin-top: 5px; }
.section-dark .cap-list li { color: #cfd9ec; }

/* 11. IMAGE BANDS ===========================================================*/
.image-band { position: relative; min-height: 460px; display: flex; align-items: center; }
.image-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-band-overlay {
  position: relative; z-index: 2; width: 100%; padding: 80px 0;
  background: linear-gradient(90deg, rgba(0,31,92,.90) 0%, rgba(0,31,92,.68) 45%, rgba(0,31,92,.22) 100%);
}
.image-band-overlay h2 { color: #fff; max-width: 22ch; }
.image-band-overlay .lead { color: #d3ddf0; max-width: 62ch; }
.image-band-overlay .eyebrow { color: var(--orange-500); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }

/* 12. SYSTEMS APPROACH MODEL DIAGRAM ========================================*/
.model-flow { display: grid; gap: 0; max-width: 560px; margin: 0 auto; }
.model-step {
  background: var(--blue-700); color: #fff; text-align: center;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: 18px 24px; border-radius: var(--radius-md);
}
.model-step.is-accent { background: var(--orange-600); }
.model-arrow { display: flex; justify-content: center; padding: 7px 0; color: var(--orange-600); }

/* 13. STATS =================================================================*/
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 26px 18px; border-right: 1px solid var(--gray-200); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--head); font-size: 2.5rem; font-weight: 800;
  color: var(--blue-700); line-height: 1; display: block; margin-bottom: 8px;
}
.stat-label { font-size: .95rem; color: var(--ink-500); }

/* 14. CTA BAND ==============================================================*/
.cta-band {
  background: var(--blue-900); color: #fff; padding: 84px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 180px; height: 4px; background: var(--orange-600);
}
.cta-band h2 { color: #fff; max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band .lead { color: #cfd9ec; margin: 0 auto; }
.cta-band .btn-group { justify-content: center; }

/* 15. FORMS =================================================================*/
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--ink-900); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink-900);
  padding: 13px 15px; border: 1px solid var(--gray-200);
  border-radius: var(--radius-md); background: #fff; width: 100%;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-700);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--ink-500); }

.contact-card {
  background: var(--blue-50); border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg); padding: 30px;
}
.contact-card h3 { margin-bottom: .4em; }
.contact-line { font-family: var(--head); font-weight: 700; font-size: 1.15rem; }

/* 16. LEGAL PAGES ===========================================================*/
.legal-body { max-width: 74ch; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-body h3 { font-size: 1.08rem; margin-top: 1.6em; }
.legal-body ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.1em; }
.legal-body li { margin-bottom: .5em; }
.legal-updated {
  font-size: .9rem; color: var(--ink-500);
  border-left: 3px solid var(--orange-600); padding-left: 14px; margin-bottom: 2.4em;
}

/* 17. FOOTER ================================================================*/
.site-footer { background: var(--blue-900); color: #b9c6de; padding: 68px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 52px; }
/* The v3 lockup is designed for dark backgrounds and needs no white plate. */
.footer-logo { height: 58px; width: auto; margin-bottom: 20px; }
.footer-brand-col p { font-size: .96rem; max-width: 42ch; }
.footer-contact { margin-top: 18px; font-family: var(--head); font-weight: 600; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--orange-500); }
.footer-heading {
  font-family: var(--head); font-size: .82rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  margin: 0 0 18px;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: #b9c6de; font-size: .95rem; }
.site-footer ul a:hover { color: var(--orange-500); text-decoration: none; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; }
.footer-bar-inner { display: flex; justify-content: space-between; gap: 16px; font-size: .88rem; color: #8c9cba; }

/* 18. UTILITIES =============================================================*/
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 18px; } .mt-3 { margin-top: 30px; }
.mb-0 { margin-bottom: 0; } .mb-3 { margin-bottom: 30px; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--gray-200); border: 0; margin: 56px 0; }

/* 19. MOTION ================================================================*/
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 20. RESPONSIVE ============================================================*/
@media (max-width: 1080px) {
  .cred-strip ul { grid-template-columns: repeat(3, 1fr); }
  .cred-strip li:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,.14); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(400px, 88vw);
    background: #fff; border-left: 1px solid var(--gray-200);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px; overflow-y: auto; transform: translateX(100%);
    transition: transform .26s ease; box-shadow: var(--shadow-lg);
  }
  .primary-nav[data-open="true"] { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item > a, .nav-parent { width: 100%; justify-content: space-between; padding: 15px 12px; font-size: 1.02rem; }
  .nav-item > a.is-active::after, .nav-parent.is-active::after { display: none; }
  .nav-item > a.is-active, .nav-parent.is-active { background: var(--blue-50); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--gray-200);
    border-radius: 0; margin: 0 0 8px 12px; padding: 0 0 0 8px;
    display: none; min-width: 0;
  }
  .has-dropdown[data-open="true"] .dropdown { display: block; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown[data-open="true"]:hover .dropdown { display: block; }
  .nav-cta { margin: 16px 0 0; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .section { padding: 64px 0; }
  .home-hero .page-hero-inner { padding: 84px var(--gutter) 76px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .cred-strip ul { grid-template-columns: 1fr 1fr; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .cap-list.cols-2, .cap-list.cols-3 { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bar-inner { flex-direction: column; }
  .page-hero-inner { padding: 64px var(--gutter) 58px; }
  .image-band-overlay { background: linear-gradient(90deg, rgba(0,31,92,.94), rgba(0,31,92,.88)); }
}

/* =============================================================================
 * 22. PHOTO ROWS & SPLITS
 * Small supporting photography used through the interior pages.
 * ===========================================================================*/
.photo-row { display: grid; gap: 20px; margin: 8px 0 0; }
.photo-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.photo-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.photo-row.cols-4 { grid-template-columns: repeat(4, 1fr); }

.photo-card { margin: 0; }
.photo-card img {
  width: 100%; height: 190px; object-fit: cover; display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.photo-card:hover img { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.photo-card figcaption {
  margin-top: 10px; font-size: .88rem; color: var(--ink-500); line-height: 1.5;
}

.photo-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 52px; align-items: center;
}
.photo-split.is-flipped .photo-split-copy  { order: 2; }
.photo-split.is-flipped .photo-split-media { order: 1; }
.photo-split-media { margin: 0; }
.photo-split-media img {
  width: 100%; height: 100%; max-height: 380px; object-fit: cover; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.photo-split-copy h2 { margin-bottom: .45em; }

@media (max-width: 900px) {
  .photo-row.cols-3, .photo-row.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .photo-split { grid-template-columns: 1fr; gap: 30px; }
  .photo-split.is-flipped .photo-split-copy  { order: 1; }
  .photo-split.is-flipped .photo-split-media { order: 2; }
  .photo-split-media img { max-height: 300px; }
}
@media (max-width: 600px) {
  .photo-row.cols-2, .photo-row.cols-3, .photo-row.cols-4 { grid-template-columns: 1fr; }
  .photo-card img { height: 200px; }
}
