/* Starlight Innovations — site styles
   Layout: navy bands for hero/recruiting, pale-blue work surfaces, 1200px column.
   Single committed light look with navy bands (no dark-mode swap by design). */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #061B35;
  --navy-deep: #031326;
  --navy-2: #0B2748;
  --blue: #009BFA;        /* accent on dark surfaces, icons */
  --blue-strong: #0070C0; /* AA text/buttons on light surfaces */
  --cyan: #14D4E6;
  --pale: #EAF2FF;
  --white: #FFFFFF;
  --surface: #F8FAFC;
  --ink: #0E1E33;
  --muted: #475A73;
  --muted-on-dark: #B7C6DB;
  --line: #D6E2F2;
  --line-dark: rgba(255, 255, 255, 0.14);
  --danger: #B42318;
  --success: #067647;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1200px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(6, 27, 53, 0.06), 0 8px 24px rgba(6, 27, 53, 0.08);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--navy-deep);
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-strong); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  border-radius: 8px;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; margin: -1px; padding: 0; border: 0;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}
@media (max-width: 480px) {
  .wrap {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
}

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--pale { background: var(--pale); }
.section--surface { background: var(--surface); }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-strong);
}
.on-dark .eyebrow, .eyebrow--dark { color: var(--cyan); }

.h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; letter-spacing: -0.035em; }
.h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--muted); max-width: 60ch; }
.on-dark .lede { color: var(--muted-on-dark); }

.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.9875rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue-strong); color: var(--white); }
.btn--primary:hover { background: #005EA3; color: var(--white); }
.on-dark .btn--primary { background: var(--blue); color: var(--navy-deep); }
.on-dark .btn--primary:hover { background: #33AFFF; color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue-strong); color: var(--blue-strong); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(3, 19, 38, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; flex: none; }
.brand img { width: 196px; height: auto; }
.brand:hover { color: var(--white); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__links a {
  color: #DCE6F5;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding-block: 6px;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--white); border-bottom-color: var(--blue); }
.nav__links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--cyan); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-size: 1.0625rem; }
  .nav__links a[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--cyan); }
  .nav .btn { margin-top: 16px; }
  .brand img { width: 170px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.hero__art {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 100%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3,19,38,.97) 0%, rgba(3,19,38,.9) 34%, rgba(3,19,38,.35) 62%, rgba(3,19,38,0) 80%),
    linear-gradient(0deg, rgba(3,19,38,.9) 0%, rgba(3,19,38,0) 30%);
}
.hero__body { padding-block: clamp(72px, 10vw, 128px) clamp(48px, 6vw, 72px); max-width: 640px; }
.hero__title { margin-top: 18px; }
.hero__title .accent { color: var(--blue); display: block; }
.hero .lede { margin-top: 22px; color: #D2DDEC; max-width: 46ch; }
.hero .btn-row { margin-top: 32px; }

@media (max-width: 760px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(3,19,38,.94) 0%, rgba(3,19,38,.86) 55%, rgba(3,19,38,.55) 100%);
  }
  .hero__art img { object-position: 78% 100%; }
}

.service-strip {
  border-top: 1px solid var(--line-dark);
  background: rgba(3, 19, 38, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.service-strip ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.service-strip li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.3;
}
.service-strip li + li { border-left: 1px solid var(--line-dark); }
.service-strip svg { width: 30px; height: 30px; color: var(--blue); flex: none; }
@media (max-width: 900px) {
  .service-strip ul { grid-template-columns: repeat(2, 1fr); }
  .service-strip li:nth-child(3) { border-left: 0; }
  .service-strip li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 420px) {
  .service-strip li { padding: 18px 10px; font-size: 0.9rem; gap: 10px; }
  .service-strip svg { width: 24px; height: 24px; }
}

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.solutions__intro .lede { margin-top: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover { border-color: #B5CDEA; box-shadow: var(--shadow); transform: translateY(-2px); }
.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--pale);
  color: var(--blue-strong);
}
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 1080px) {
  .solutions { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- About / deployment ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--flip .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}
.split__copy .lede { margin-top: 18px; }

.checklist { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist li span { font-weight: 400; color: var(--muted); display: block; font-size: 0.9375rem; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--blue-strong); margin-top: 1px; }
.on-dark .checklist svg { color: var(--cyan); }
.on-dark .checklist li span { color: var(--muted-on-dark); }

.plan-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 24px 48px rgba(6, 27, 53, 0.22);
}
.plan-card__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  font-size: 0.8125rem; color: var(--muted-on-dark);
  padding: 2px 4px 14px;
}
.plan-card__head strong { color: var(--white); font-size: 0.9375rem; font-weight: 600; }
.plan-card svg.plan { display: block; width: 100%; height: auto; border-radius: 10px; background: var(--navy-deep); }
.plan-legend {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 16px;
  padding: 16px 4px 2px;
  font-size: 0.8125rem;
  color: #D2DDEC;
}
.plan-legend li { display: flex; align-items: center; gap: 8px; }
.plan-legend i { width: 10px; height: 10px; border-radius: 50%; flex: none; font-style: normal; }
@media (max-width: 520px) { .plan-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Recruit band ---------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius-lg);
}
.band__art { position: absolute; inset: 0; z-index: -2; }
.band__art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 80%; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3,19,38,.95) 0%, rgba(3,19,38,.82) 45%, rgba(3,19,38,.2) 85%);
}
.band__body { padding: clamp(36px, 6vw, 64px); max-width: 640px; }
.band__body .lede { margin-top: 16px; }
.band__body .btn-row { margin-top: 28px; }
@media (max-width: 700px) {
  .band::before { background: linear-gradient(180deg, rgba(3,19,38,.94), rgba(3,19,38,.78)); }
  .band__body { padding: 32px 22px; }
}

/* ---------- Value row ---------- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.value { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.value svg { width: 32px; height: 32px; flex: none; color: var(--blue-strong); }
.value p { color: var(--muted); font-size: 0.9375rem; margin-top: 4px; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}
.page-hero__art { position: absolute; inset: 0; z-index: -2; }
.page-hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 75%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3,19,38,.97) 0%, rgba(3,19,38,.85) 45%, rgba(3,19,38,.25) 85%);
}
.page-hero__body { padding-block: clamp(64px, 8vw, 104px); max-width: 680px; }
.page-hero h1 { margin-top: 14px; }
.page-hero .lede { margin-top: 18px; color: #D2DDEC; }
@media (max-width: 700px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(3,19,38,.95), rgba(3,19,38,.75)); }
}

/* ---------- Work With Us ---------- */
.opportunity { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .opportunity { grid-template-columns: 1fr; } }

.role-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px));
}
@media (max-width: 960px) { .role-card { position: static; } }
.role-card__head { background: var(--pale); padding: 24px 26px; border-bottom: 1px solid var(--line); }
.role-card__head .tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-strong);
}
.role-card__head h2 { font-size: 1.5rem; margin-top: 8px; }
.role-card__head p { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
.role-facts { padding: 8px 26px; }
.role-facts dl { margin: 0; }
.role-facts div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.role-facts div:last-child { border-bottom: 0; }
.role-facts dt { font-size: 0.8125rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.role-facts dd { margin: 0; font-weight: 500; }
.role-facts dd strong { font-size: 1.25rem; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
@media (max-width: 460px) { .role-facts div { grid-template-columns: 1fr; gap: 2px; } }
.role-card__foot { padding: 20px 26px 26px; }
.role-card__foot .btn { width: 100%; }

.req-group + .req-group { margin-top: 40px; }
.req-group h3 { font-size: 1.25rem; margin-bottom: 4px; }

.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.perk { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.perk svg { width: 30px; height: 30px; color: var(--blue-strong); }
.perk h3 { margin-top: 14px; }
.perk p { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
@media (max-width: 960px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-strong);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--blue-strong); margin-top: 1px; }
.notice strong { color: var(--ink); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 36px);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid #C3D3E8;
  border-radius: 10px;
  padding: 11px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9DB6D6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue-strong);
  box-shadow: 0 0 0 4px rgba(0, 155, 250, 0.2);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .error { display: none; font-size: 0.8125rem; color: var(--danger); font-weight: 500; }
.field.has-error .error { display: block; }

fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; min-height: 0; }
.choice span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px;
  border: 1.5px solid #C3D3E8; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; background: var(--white);
}
.choice input:checked + span { border-color: var(--blue-strong); background: var(--pale); color: var(--navy); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--blue-strong); }

.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.form-note { font-size: 0.8125rem; color: var(--muted); }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.9375rem;
}
.form-status.is-visible { display: block; }
.form-status--error { background: #FEF3F2; border: 1px solid #FECDCA; color: var(--danger); }
.form-status--success { background: #ECFDF3; border: 1px solid #ABEFC6; color: var(--success); }
.form-status--info { background: var(--pale); border: 1px solid var(--line); color: var(--navy); }
.form-status strong { display: block; margin-bottom: 2px; }

.turnstile-slot:empty { display: none; }

.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--pale); color: var(--blue-strong);
  display: grid; place-items: center;
}
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: 0.8125rem; color: var(--muted); }
.contact-list a, .contact-list b { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue-strong); text-decoration: underline; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.375rem; margin-top: 40px; margin-bottom: 10px; }
.prose p, .prose li { color: #2B3D55; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.25rem; margin-top: 10px; display: grid; gap: 6px; }
.prose .updated { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--muted-on-dark); font-size: 0.9375rem; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-block: 56px 40px;
}
.footer-top p { margin-top: 16px; max-width: 36ch; }
.footer-top h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.footer-top ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #DCE6F5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.875rem;
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Photography ---------- */
.hero__art img { object-position: 75% 60%; }
.page-hero__art img[src$="building-wide.webp"] { object-position: 65% 55%; }

.collage {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  aspect-ratio: 5 / 4;
  max-width: 100%;
}
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.collage__main { grid-row: 1 / 3; object-position: 40% 50%; }
@media (max-width: 520px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; }
  .collage__main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .collage img:not(.collage__main) { aspect-ratio: 1; }
}

.band--photo .band__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(44%, 480px);
  z-index: 0;
}
.band--photo .band__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}
.band--photo .band__body { position: relative; z-index: 1; }
@media (max-width: 700px) {
  .band--photo .band__photo { position: relative; width: 100%; height: 240px; }
  .band--photo .band__photo img {
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
  }
  .band--photo { display: flex; flex-direction: column; }
}

.page-hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(46%, 560px);
  z-index: 0;
}
.page-hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 25%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.page-hero .wrap { position: relative; z-index: 1; }
@media (max-width: 760px) {
  .page-hero__photo { width: 100%; z-index: -1; opacity: .45; }
  .page-hero__photo img { -webkit-mask-image: none; mask-image: none; }
}
