/* Kehilat Avnei Shamir — site styles
   Mobile first. Logical properties (inline-start/end) so the same rules work in Hebrew RTL. */

:root {
  --navy: #16164C;
  --navy-2: #24245E;      /* panels on navy */
  --navy-line: #34347A;
  --panel-blue: #416FA3;
  --slate: #35698E;
  --periwinkle: #606CA8;
  --turquoise: #7FDFD6;   /* accent only */
  --aqua: #DCF4EF;        /* accent only */
  --paper: #F7F7F7;
  --white: #FFFFFF;
  --ink: #34384F;         /* body copy */
  --muted: #4A4F6A;       /* secondary copy */
  --line: #E2E4EE;
  --line-soft: #EDEEF4;
  --tint: #E8EAF3;
  --on-navy: #D9DBEC;
  --on-navy-muted: #C9CCE4;

  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: Heebo, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 12px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--panel-blue); }
:focus-visible { outline: 3px solid var(--panel-blue); outline-offset: 2px; border-radius: 4px; }
.on-navy :focus-visible, .site-footer--navy :focus-visible { outline-color: var(--turquoise); }

h1, h2, h3 { font-family: var(--serif); margin: 0; line-height: 1.1; }
h1 { font-weight: 700; font-size: clamp(36px, 8vw, 68px); letter-spacing: -0.01em; }
h2 { font-weight: 700; font-size: clamp(30px, 6vw, 40px); }
h3 { font-weight: 500; font-size: 23px; }
p { margin: 0; }

.he { font-family: var(--serif); }
.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; inset-inline-start: 8px; top: -60px; z-index: 10;
  background: var(--navy); color: var(--white); padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 8px; color: var(--white); }

.container { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }

.stack { display: flex; flex-direction: column; gap: 16px; }
.section { padding-block: 56px; }
@media (min-width: 720px) { .section { padding-block: 80px; } }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--aqua { background: var(--aqua); }
.section--navy { background: var(--navy); color: var(--white); }

.eyebrow {
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--slate); font-weight: 500;
}
:lang(he) .eyebrow, .eyebrow:lang(he) { letter-spacing: 0; text-transform: none; font-size: 15px; }
.kicker-he { font-family: var(--serif); font-size: 24px; color: var(--panel-blue); }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.h-sub { font-weight: 400; color: var(--panel-blue); font-size: 0.72em; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 12px 24px; margin-block-end: 28px;
}
.section-head > div { display: flex; flex-direction: column; gap: 8px; max-width: 680px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 8px;
  font: 500 16px/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn svg { flex: none; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--panel-blue); color: var(--white); }
.btn--outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--aqua); color: var(--navy); }
.btn--accent { background: var(--turquoise); color: var(--navy); font-weight: 700; }
.btn--accent:hover { background: var(--aqua); color: var(--navy); }
.btn--ghost-navy { background: transparent; color: var(--white); border-color: var(--turquoise); }
.btn--ghost-navy:hover { background: var(--navy-2); color: var(--white); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; }
.on-navy .text-link, .on-navy a:not(.btn) { color: var(--turquoise); }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-block-end: 1px solid var(--line); position: relative; }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand img { height: 48px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--navy); }
.brand-sub { font-size: 13px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding-inline: 10px;
  font-weight: 500; text-decoration: none;
}
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px;
  padding: 0 12px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--white); color: var(--navy); font: 500 15px var(--sans); cursor: pointer;
}
.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.site-nav a {
  display: flex; align-items: center; min-height: 48px; padding-inline: 4px;
  text-decoration: none; font-weight: 500; border-block-start: 1px solid var(--line-soft);
}
.site-nav a[aria-current="page"] { color: var(--panel-blue); }
.site-nav .nav-donate { display: none; }
.js .site-nav[data-open="false"] { display: none; }
.header-donate { padding: 10px 16px; min-height: 44px; }

@media (min-width: 960px) {
  .menu-btn { display: none; }
  .js .site-nav[data-open="false"], .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 4px 20px; }
  .site-nav a { border: 0; min-height: 44px; font-size: 15px; border-block-end: 2px solid transparent; }
  .site-nav a[aria-current="page"] { color: var(--navy); border-block-end-color: var(--turquoise); }
  .header-inner { flex-wrap: nowrap; }
  .brand img { height: 56px; }
  .brand-name { font-size: 20px; }
  .header-actions { order: 3; }
}
@media (max-width: 380px) { .brand-sub { display: none; } }
@media (max-width: 599px) {
  /* Phones: brand on the first row, language + Donate + Menu on the second */
  .header-actions { width: 100%; justify-content: flex-end; }
  .header-actions .lang-toggle { margin-inline-end: auto; padding-inline-start: 0; }
}

/* ---------- Hero (home) ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 40px 56px; }
@media (min-width: 720px) { .hero { padding-block: 72px 64px; } }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero-copy .kicker-he { font-size: 26px; }
.hero-copy .lede { font-size: 19px; }
.hero-card-wrap { flex: 1 1 340px; min-width: 0; position: relative; margin-block-start: 12px; }

.mosaic {
  position: absolute; top: -18px; inset-inline-end: -8px; width: 112px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px;
}
.mosaic span { height: 32px; border-radius: 6px; }
@media (min-width: 720px) {
  .mosaic { top: -22px; inset-inline-end: -22px; width: 132px; gap: 6px; }
  .mosaic span { height: 40px; }
}
.m1 { background: var(--turquoise); } .m2 { background: var(--periwinkle); } .m3 { background: var(--panel-blue); }
.m4 { background: var(--slate); } .m5 { background: var(--aqua); }

/* This Shabbos card */
.shabbos-card {
  position: relative; background: var(--navy); color: var(--white);
  border-radius: 14px; padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 720px) { .shabbos-card { padding: 30px 30px 26px; } }
.shabbos-card .card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.shabbos-card .label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turquoise); font-weight: 500; }
.shabbos-card .label:lang(he) { letter-spacing: 0; font-size: 15px; }
.shabbos-card .title-he { font-family: var(--serif); font-size: 22px; }
.shabbos-card .title { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.15; }
.shabbos-card .dates { font-size: 15px; color: var(--on-navy-muted); }
.time-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.time-tile { background: var(--navy-2); border-radius: 10px; padding: 12px 14px; }
.time-tile .t-label { font-size: 13px; color: var(--on-navy-muted); }
.time-tile .t-value { font-family: var(--serif); font-size: 34px; line-height: 1.15; color: var(--turquoise); }
.shabbos-card .card-note {
  font-size: 14px; line-height: 1.55; color: #E4E6F2;
  border-block-start: 1px solid var(--navy-line); padding-block-start: 14px;
}
.shabbos-card .card-note p + p { margin-block-start: 6px; }
.shabbos-card a { color: var(--turquoise); font-weight: 500; }
.shabbos-card > a { display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start; }

/* ---------- Today at Avnei ---------- */
.today-section { padding-block: 0 40px; }
.today-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 720px) { .today-card { padding: 28px; } }
.today-head h2 { font-size: clamp(26px, 5vw, 32px); }
.today-head .h-sub { font-size: 0.62em; font-family: var(--sans); font-weight: 500; color: var(--slate); }
.today-head bdi { white-space: nowrap; }
.today-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.next-box {
  flex: 1 1 220px; background: var(--navy); color: var(--white); border-radius: 12px;
  padding: 18px 20px; display: flex; flex-direction: column; gap: 2px;
}
.next-label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--turquoise); font-weight: 500; }
.next-label:lang(he) { letter-spacing: 0; font-size: 15px; }
.next-time { font-family: var(--serif); font-size: 44px; line-height: 1.1; color: var(--turquoise); }
.next-name { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.next-in { font-size: 15px; color: var(--on-navy-muted); }
.today-list { flex: 999 1 320px; min-width: 0; }
.today-list ol { list-style: none; margin: 0; padding: 0; }
.t-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline;
  padding-block: 10px; border-block-start: 1px solid var(--line-soft);
}
.t-row:first-child { border-block-start: 0; padding-block-start: 0; }
.t-time { font-family: var(--serif); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.t-time small { font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 400; }
.t-what { display: flex; flex-direction: column; }
.t-name { font-weight: 500; }
.t-sub { font-size: 14px; color: var(--muted); }
.t-kind { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.t-minyan { background: var(--aqua); color: var(--navy); }
.t-shiur { background: var(--tint); color: var(--navy); }
.t-zman { background: var(--navy); color: var(--white); }
.t-row.is-past .t-time, .t-row.is-past .t-name { color: var(--muted); }
.t-row.is-past .t-name { text-decoration: line-through; }
.t-row.is-past .t-kind { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.t-row.is-next .t-time, .t-row.is-next .t-name { color: var(--panel-blue); }
.t-also { font-size: 15px; color: var(--ink); margin-block-start: 12px; }
.today-notes { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted);
  border-block-start: 1px solid var(--line-soft); padding-block-start: 12px; }
.today-notes p:first-child:not(:last-child) { color: var(--navy); font-weight: 500; font-size: 15px; }

/* ---------- Minyan tiles (home strip) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.minyan-tile {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: #FBFBFD;
  display: flex; flex-direction: column; gap: 2px;
}
.minyan-tile .k { font-size: 13px; font-weight: 500; color: var(--panel-blue); text-transform: uppercase; letter-spacing: 0.08em; }
.minyan-tile .k:lang(he) { letter-spacing: 0; font-size: 15px; }
.minyan-tile .v { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.1; }
.minyan-tile .d { font-size: 14px; color: var(--muted); }
.badge {
  display: inline-block; background: var(--aqua); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 4px; vertical-align: middle;
}
.badge:lang(he) { letter-spacing: 0; text-transform: none; font-size: 13px; }

.notice {
  background: var(--aqua); border: 1px solid #B7E6DE; border-radius: var(--radius);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 10px;
}
.notice strong { font-family: var(--serif); font-size: 20px; font-weight: 700; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.section--aqua .card { border-color: transparent; padding: 26px; }
.card .card-he { font-family: var(--serif); font-size: 20px; color: var(--panel-blue); }
.card h3 { font-size: 24px; }
.card p { font-size: 16px; color: var(--ink); }
.card .push { margin-block-start: auto; }

.shiur-card .meta { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.shiur-card .when { font-size: 14px; font-weight: 500; color: var(--slate); }
.shiur-card .he-name { font-family: var(--serif); font-size: 18px; color: var(--panel-blue); }
.shiur-card p { font-size: 15px; color: var(--muted); line-height: 1.5; }

.navy-card {
  background: var(--navy-2); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.navy-card h3 { font-size: 24px; }
.navy-card p { font-size: 15px; color: var(--on-navy); }
.navy-card .btn { margin-block-start: auto; }
.section--navy .lede { color: var(--on-navy); }
.section--navy .kicker-he { color: var(--turquoise); }

/* About split */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > .media { flex: 1 1 300px; min-width: 0; max-width: 420px; }
.split > .body { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.placeholder-box {
  background: var(--tint); border-radius: 14px; color: var(--muted); font-size: 15px;
  display: grid; place-items: center; text-align: center; padding: 24px; min-height: 220px;
}
.placeholder-box.portrait { aspect-ratio: 4 / 5; }
.facts { display: flex; flex-wrap: wrap; gap: 16px 28px; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); }
.page-hero .container {
  padding-block: 44px 40px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: flex-end; gap: 24px;
}
@media (min-width: 720px) { .page-hero .container { padding-block: 56px 52px; } }
.page-hero .kicker-he { color: var(--turquoise); }
.page-hero h1 { font-size: clamp(36px, 7vw, 60px); line-height: 1.05; }
.page-hero p { font-size: 18px; color: var(--on-navy); max-width: 620px; }
.page-hero .intro { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Schedule page ---------- */
.two-col { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.two-col > .wide { flex: 999 1 520px; min-width: 0; }
.two-col > .narrow { flex: 1 1 340px; min-width: 0; }
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; display: flex; flex-direction: column; gap: 6px;
}
@media (min-width: 720px) { .panel { padding: 28px; } }
.panel h2 { font-size: 30px; }
.minyan-row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  padding-block: 14px; border-block-start: 1px solid var(--line-soft);
}
.minyan-row .time { font-family: var(--serif); font-size: 28px; font-weight: 500; min-width: 84px; }
.minyan-row .what { flex: 1 1 180px; display: flex; flex-direction: column; }
.minyan-row .what strong { font-weight: 500; font-size: 17px; }
.minyan-row .what span { font-size: 14px; color: var(--muted); }
.minyan-row .alt { font-family: var(--serif); font-size: 18px; color: var(--panel-blue); }

.zman-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.zman-table caption { text-align: start; font-size: 14px; color: var(--muted); padding-block-end: 8px; }
.zman-table th { font-size: 13px; font-weight: 400; color: var(--muted); text-align: start; padding-block-end: 6px; }
.zman-table th.num, .zman-table td.num { text-align: end; width: 72px; }
.zman-table td { padding-block: 10px; border-block-start: 1px solid var(--line-soft); vertical-align: baseline; }
.zman-table td.num { font-family: var(--serif); font-size: 20px; }
.zman-table .p { font-weight: 500; display: block; }
.zman-table .dt { font-size: 13px; color: var(--muted); }
.zman-table tr.is-next td { background: #F2FBF9; }
details.more { margin-block-start: 8px; }
details.more summary {
  cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center;
  color: var(--navy); text-decoration: underline; text-underline-offset: 3px;
}

.group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
.group-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
@media (min-width: 720px) { .group-card { padding: 26px; } }
.group-card .g-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-block-end: 8px; }
.group-card h3 {
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate);
}
.group-card h3:lang(he) { letter-spacing: 0; font-size: 18px; font-family: var(--serif); }
.group-card .g-he { font-family: var(--serif); font-size: 18px; color: var(--panel-blue); }
.shiur-row {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px;
  padding-block: 13px; border-block-start: 1px solid var(--line-soft);
}
@media (min-width: 720px) { .shiur-row { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; } }
.shiur-row .when { display: flex; flex-direction: column; font-weight: 500; font-size: 15px; line-height: 1.3; }
.shiur-row .when small { font-size: 13px; color: var(--slate); font-weight: 500; }
.shiur-row .info { display: flex; flex-direction: column; gap: 2px; }
.shiur-row .name-line { display: flex; justify-content: space-between; gap: 4px 10px; flex-wrap: wrap; }
.shiur-row .name { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.shiur-row .alt { font-family: var(--serif); font-size: 16px; color: var(--muted); }
.shiur-row .who { font-size: 14px; color: var(--muted); line-height: 1.5; }
.cal-links { display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 14px; }
.cal-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.cal-links .varies { color: var(--muted); padding-block: 6px; }

/* ---------- Newsletter archive ---------- */
.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px;
  padding-block: 12px; border-block-start: 1px solid var(--line-soft);
}
.issue-list .i-title { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.issue-list .i-date { font-size: 14px; color: var(--muted); display: block; }
.issue-list .i-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.issue-list .i-links a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; }

/* ---------- Donate ---------- */
.price { font-family: var(--serif); font-size: 28px; color: var(--navy); }
.reassure { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--on-navy); }

/* ---------- Visit ---------- */
.map-frame { width: 100%; min-height: 320px; height: 100%; border: 0; border-radius: 14px; background: var(--tint); display: block; }
.map-wrap { flex: 999 1 520px; min-width: 0; min-height: 320px; display: flex; flex-direction: column; gap: 6px; }
.addr-he { font-size: 20px; color: var(--panel-blue); }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 18px; max-width: 680px; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
@media (min-width: 720px) { .form-card { padding: 32px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 500; font-size: 16px; }
.field .hint { font-size: 14px; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="date"], .field input[type="number"], .field select, .field textarea {
  font: 400 17px/1.4 var(--sans); color: var(--navy); background: var(--white);
  border: 1.5px solid #9A9EB8; border-radius: 8px; padding: 11px 12px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--panel-blue); outline: 3px solid rgba(65,111,163,.25); outline-offset: 0; }
.field input[type="file"] { font: inherit; min-height: 48px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.choice input { width: 22px; height: 22px; accent-color: var(--navy); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.req { color: #9B1C31; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* ---------- Thank you ---------- */
.thanks { padding-block: 72px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.thanks .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-block-start: 1px solid var(--line); }
.footer-inner {
  padding-block: 32px; display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 20px 32px; font-size: 14px; color: var(--muted);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand .n { color: var(--navy); font-weight: 500; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-credit { width: 100%; border-block-start: 1px solid var(--line-soft); padding-block-start: 14px; }

/* Placeholders stand out so nothing ships unnoticed */
.ph { background: #FFF4C2; color: #5A4500; padding: 0 4px; border-radius: 3px; }
.on-navy .ph, .section--navy .ph { background: #FFF4C2; color: #5A4500; }

.noscript { background: var(--white); border: 1px dashed var(--line); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.on-navy .noscript { background: var(--navy-2); border-color: var(--navy-line); color: var(--on-navy); }
