/* ============================================================
   LYHS · stylesheet
   Palette: LYHS brand colors (navy #3A4559, crimson #9A1B21, tan #D0B195, white)
   Mobile-first responsive · prefers-reduced-motion aware
   ============================================================ */

:root {
  /* Palette */
  --bg:        #FFFFFF;   /* white (brand) */
  --bg-soft:   #F6EFE9;   /* light tan tint */
  --bg-deep:   #ECE0D5;   /* deeper tan tint */
  --ink:       #3A4559;   /* navy (brand) */
  --ink-soft:  #5A6375;   /* secondary text, lighter navy */
  --primary:   #9A1B21;   /* crimson (brand) */
  --primary-d: #761419;   /* hover, darker crimson */
  --accent:    #3A4559;   /* navy (brand) */
  --accent-light: #D0B195;/* tan (brand), readable on navy */
  --footer-accent: #D0B195; /* tan (brand), accent on the navy footer */
  --highlight: #D0B195;   /* tan (brand) */
  --rule:      #E2D3C5;   /* dividers, tan tint */

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --font-body:    "Outfit", "Helvetica Neue", system-ui, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 880px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-d); }

.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;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 1;
  min-width: 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  color: var(--primary);
  line-height: 1;
}

.brand-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.brand-full {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.brand-short {
  display: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.primary-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.primary-nav a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.primary-nav a:hover { color: var(--primary); }

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

/* Language switch (Español / English) */
.lang-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.lang-link:hover { color: var(--primary); border-color: var(--primary); }
.lang-short { display: none; }

/* Mid-width: header has seven items plus two buttons, so use the short name */
@media (min-width: 761px) and (max-width: 1200px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .primary-nav { gap: 20px; }
}

.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}

.apply-btn:hover {
  background: var(--primary);
  color: var(--bg);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  flex-shrink: 0;
}

.menu-toggle:hover { background: var(--bg-soft); }

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HEROES
   ============================================================ */

/* Home hero — side-by-side text + single image */
.home-hero {
  padding: clamp(60px, 10vh, 120px) 0 clamp(40px, 6vh, 80px);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(208, 177, 149, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(58, 69, 89, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 24px 0;
}

.eyebrow-light { color: var(--highlight); }

.home-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 28px 0;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.h1-line { display: block; }

.h1-script {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  padding-left: 0.6em;
}

.lede {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 36em;
  color: var(--ink-soft);
  margin: 0 0 32px 0;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero image — single, large */
.hero-image {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 22px 50px -16px rgba(26, 24, 21, 0.32), 0 6px 14px -6px rgba(26, 24, 21, 0.18);
  height: 480px;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Subpage hero — single image, no text overlay */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.page-hero-img {
  width: 100%;
  height: clamp(220px, 35vh, 360px);
  object-fit: cover;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--primary-d);
  color: var(--bg);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn-light {
  background: var(--bg);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--highlight);
  color: var(--ink);
}

.btn-lg {
  padding: 18px 32px;
  font-size: 17px;
}

/* ============================================================
   STAT BAND
   ============================================================ */

.band {
  background: var(--ink);
  color: var(--bg);
  padding: 48px 0;
}

.band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid var(--primary);
  padding-left: 18px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--highlight);
  font-variation-settings: "SOFT" 60, "opsz" 144;
}

.stat-label {
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTIONS — generic
   ============================================================ */

.section {
  padding: clamp(60px, 9vh, 110px) 0;
}

/* Tight spacing when two sections need to read as one continuous block */
.section-tight-bottom { padding-bottom: clamp(16px, 2.5vh, 28px); }
.section-tight-top    { padding-top:    clamp(16px, 2.5vh, 28px); }

.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.section-dark {
  background: var(--ink);
  color: var(--bg);
}

.section-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px 0;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  max-width: 14em;
}

.section-h-sm {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 18px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 20px 0;
}

.prose {
  max-width: 38em;
}

.prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 18px 0;
}

.prose strong { color: var(--ink); font-weight: 600; }

.prose a { border-bottom: 1px solid currentColor; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-top: 8px;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.2s ease;
}

.link-arrow:hover { gap: 14px; }

/* ============================================================
   TWO-COLUMN LAYOUT (about+history, contact+map)
   ============================================================ */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col-narrow {
  grid-template-columns: 1fr 1.2fr;
}

.two-col-image {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(26, 24, 21, 0.18);
}

.two-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

/* ============================================================
   CARD GRID (programs, student life, FAQ-style)
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 32px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg);
  padding: 32px 28px;
  position: relative;
  transition: background 0.2s ease;
}

.section-alt .card { background: var(--bg-soft); }
.section-alt .card:hover { background: var(--bg); }

.card-num {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 20px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px 0;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================================================
   DOCUMENT LIST (admissions: what to bring)
   ============================================================ */

.doc-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.doc-list li {
  padding: 18px 8px 18px 36px;
  font-size: 16px;
  line-height: 1.4;
  border-bottom: 1px solid var(--rule);
  position: relative;
  color: var(--ink);
}

.doc-list li::before {
  content: "✓";
  position: absolute;
  left: 8px;
  top: 18px;
  color: var(--accent);
  font-weight: 700;
}

.doc-list li:nth-child(odd) { border-right: 1px solid var(--rule); }

/* ============================================================
   TABLES (graduation requirements, bell schedule)
   ============================================================ */

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 15px;
}

.data-table caption {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  text-align: left;
  padding-bottom: 12px;
  caption-side: top;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}

.data-table th {
  background: var(--bg-deep);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.data-table tr:last-child td { border-bottom: 0; }

.data-table tfoot td {
  font-weight: 600;
  background: var(--bg-soft);
  border-top: 2px solid var(--ink);
  border-bottom: 0;
}

.data-table .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  color: var(--primary);
  white-space: nowrap;
}

/* ============================================================
   EMBED (iframe wrappers — calendar, map, form)
   ============================================================ */

.embed {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 18px 40px -20px rgba(26, 24, 21, 0.18);
  margin-top: 24px;
}

.embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

.embed-calendar iframe { height: 700px; }
.embed-form iframe     { height: 2100px; }
.embed-map iframe      { height: 400px; }

.embed-fallback {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 16px 0 4px;
}

/* ============================================================
   PORTAL / LINKS TILES
   ============================================================ */

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.portal-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  padding: 28px 26px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease;
  min-height: 170px;
  overflow: hidden;
}

.section-alt .portal-tile { background: var(--bg); }

.portal-tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portal-tile:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.portal-tile:hover::before { transform: scaleY(1); }

.tile-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  width: fit-content;
}

.tile-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.tile-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.tile-arrow {
  font-size: 20px;
  color: var(--primary);
  justify-self: end;
  transition: transform 0.2s ease;
}

.portal-tile:hover .tile-arrow { transform: translateX(4px); }

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
  background: var(--primary);
  color: var(--bg);
  padding: clamp(60px, 8vh, 90px) 0;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(208, 177, 149, 0.28), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  max-width: 18em;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin: 0;
}

.contact-list dt {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-list dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
}

.contact-list dd a {
  color: var(--primary);
  border-bottom: 1px solid currentColor;
}

.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}

.social-row a:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(50px, 7vh, 80px) 0 28px;
  /* Footer-scoped highlight: reddish orange */
  --highlight: var(--footer-accent);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1.3fr 1fr;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.brand-mark-lg {
  font-size: 28px;
  color: var(--footer-accent);
  display: block;
  margin-bottom: 14px;
  line-height: 1.1;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.75;
}

.footer-brand p a {
  color: var(--footer-accent);
  border-bottom: 1px solid currentColor;
}

.footer-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  margin: 0 0 16px 0;
  opacity: 0.9;
  font-variation-settings: "SOFT" 80, "opsz" 144;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px 0;
  opacity: 0.8;
}

.footer-contact a {
  color: var(--bg);
  opacity: 1;
}

.footer-contact a:hover { color: var(--footer-accent); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-social a {
  color: var(--bg);
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.footer-social a:hover {
  opacity: 1;
  color: var(--footer-accent);
}

.footer-fineprint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 0.02em;
  gap: 24px;
  flex-wrap: wrap;
}

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

.footer-fineprint a {
  color: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-fineprint a:hover {
  color: var(--footer-accent);
  border-bottom-color: var(--footer-accent);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.home-hero .home-hero-grid > div > * {
  animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.home-hero .home-hero-grid > div > *:nth-child(1) { animation-delay: 0.05s; }
.home-hero .home-hero-grid > div > *:nth-child(2) { animation-delay: 0.15s; }
.home-hero .home-hero-grid > div > *:nth-child(3) { animation-delay: 0.25s; }
.home-hero .home-hero-grid > div > *:nth-child(4) { animation-delay: 0.35s; }

.hero-image {
  animation: rise 0.8s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

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

/* ============================================================
   RESPONSIVE — tablet down
   ============================================================ */

@media (max-width: 1000px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-image {
    height: 380px;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */

@media (max-width: 760px) {
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .brand-logo { height: 36px; }
  .brand { gap: 8px; order: 2; margin-right: auto; }
  .menu-toggle { display: block; order: 1; }

  /* Hamburger left, logo+LYHS, Apply Now right */
  .header-inner {
    gap: 10px;
  }

  .apply-btn {
    padding: 9px 14px;
    font-size: 13px;
    order: 3;
  }

  .lang-link {
    padding: 8px 10px;
    font-size: 13px;
    order: 3;
  }
  .lang-full { display: none; }
  .lang-short { display: inline; }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    margin: 0;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 40px -20px rgba(26, 24, 21, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }

  .site-header[data-menu-open] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
  }

  .primary-nav a {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    padding: 14px 4px;
    border-bottom: 1px solid var(--bg-deep);
    font-variation-settings: "SOFT" 80, "opsz" 144;
  }
  .primary-nav a:last-child { border-bottom: 0; }

  /* Stats band stays readable */
  .band-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  /* Cards collapse to single column */
  .card-grid,
  .card-grid-3,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  /* Doc list single column */
  .doc-list {
    grid-template-columns: 1fr;
  }
  .doc-list li:nth-child(odd) { border-right: 0; }

  /* Tables stack labels — horizontal scroll fallback for now */
  .data-table-wrap {
    overflow-x: auto;
    margin: 24px -var(--gutter) 0;
    padding: 0 var(--gutter);
  }

  /* CTA stacks */
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Contact list */
  .contact-list { grid-template-columns: 1fr; }

  /* Footer columns stack */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-fineprint {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* Embed adjustments for mobile */
  .embed-form iframe { height: 2300px; }
  .embed-calendar iframe { height: 600px; }
}

@media (max-width: 480px) {
  .home-hero h1 { font-size: clamp(38px, 11vw, 60px); }
  .hero-image { height: 300px; }
}
