/* J.E.B. Stuart Camp 1343 — navy / cream / brass / red
   Mobile-first. Breakpoints: 720 (header/seal size), 768 (hero/layout),
   960 (desktop nav; hamburger below), 1100 (full). Nav text never under 0.75rem. */

:root {
  --navy: #0b1628;
  --navy-mid: #12233c;
  --navy-light: #1a3356;
  --chrome: #1a1e26; /* cool blue-grey charcoal, navy-adjacent */
  --slate: #24344c;
  --slate-2: #31445f;
  --cream: #f4ead6;
  --cream-2: #e8d9bb;
  --fold: #c9b48a;
  --brass-pale: #f4e3a8;
  --brass: #cfa343;
  --brass-bright: var(--brass-pale);
  --brass-deep: #9a6f1f;
  --brass-dark: #6e4c12;
  --brass-text: var(--brass-dark);
  --parchment-fiber: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22180%22%20height%3D%22180%22%20viewBox%3D%220%200%20180%20180%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%236e4c12%22%20stroke-width%3D%220.28%22%20stroke-linecap%3D%22round%22%20opacity%3D%220.14%22%3E%3Cpath%20d%3D%22M60.5%2038.4l6.4%201.0M16.0%20158.3l4.0%200.3M108.3%20122.8l3.6%200.2M46.0%2081.2l4.7%200.3M92.9%2077.2l2.3%20-6.9M168.9%2040.7l3.5%200.0M82.7%2014.7l6.2%20-1.1M142.1%2021.8l2.6%207.2M80.3%20106.9l5.6%20-1.2M107.0%20130.1l3.2%20-4.0M17.1%20147.5l6.2%20-0.2M29.8%2062.0l0.1%203.6M15.9%2010.8l8.8%20-2.7M51.1%2062.1l5.5%201.5M82.3%20100.8l7.5%202.4M29.6%20115.4l0.4%207.5M23.9%20138.5l7.7%203.5M92.4%2056.8l1.4%203.5M14.2%20154.1l8.7%201.8M133.7%2063.4l4.0%200.3M166.4%2092.5l4.4%20-3.2M20.8%2044.6l5.5%202.2M14.4%2064.3l1.6%20-7.5M130.4%2063.7l4.5%20-5.7M72.0%20173.2l9.4%20-1.1M28.2%2048.4l9.1%201.8M16.4%207.8l0.7%206.8M155.1%20159.7l8.5%201.6M40.3%20147.6l3.3%20-0.3M36.8%2080.7l4.4%20-1.3M121.3%2076.3l-2.6%208.6M169.8%20162.7l7.5%201.6M128.3%2094.4l6.7%201.7M137.6%2056.5l7.2%201.9M160.1%2083.4l8.8%20-2.3M26.6%2032.3l6.8%206.4M33.0%2037.4l4.4%203.6M56.0%2047.4l-2.4%208.2M34.4%2050.1l7.1%201.1M24.1%20144.4l0.2%205.9M77.6%2047.7l4.3%20-4.7M54.8%2042.9l9.1%201.1M3.8%2070.9l1.7%20-6.9M114.7%20114.8l3.3%20-0.5M105.5%20100.6l1.4%205.6M129.2%20108.2l4.2%200.3M7.6%2074.8l7.3%201.5M59.0%2020.8l4.2%200.2M99.1%2036.0l6.0%204.4M45.2%20133.1l0.9%203.1M37.0%20178.4l2.2%207.4M102.8%20162.8l8.9%20-0.5M92.0%2030.2l8.4%202.4M55.4%20103.6l7.5%20-1.7M121.6%20148.6l3.9%20-1.0M36.0%20106.1l5.6%20-0.6M148.7%20106.0l4.3%200.6M85.5%2011.8l3.6%20-8.3M73.7%2023.3l1.8%204.3M62.4%203.8l6.8%201.5M114.3%20143.7l5.1%201.5M49.9%20106.8l7.9%205.2M101.5%2083.3l-1.0%204.0M124.6%2096.3l-1.4%207.4M114.1%2038.3l-2.7%208.6M146.7%2096.5l2.1%205.8M117.4%2062.9l-0.2%205.6M104.2%20125.7l9.2%200.5M57.9%2012.6l8.4%20-2.7M152.8%20172.7l8.4%20-1.5M134.0%20100.0l-2.4%208.8M77.1%20172.3l7.9%201.0M64.1%20136.3l8.3%202.3M94.8%2080.6l3.7%20-1.6M151.6%20126.7l7.5%200.9M96.3%20163.9l9.2%20-0.2M59.3%20160.4l5.2%20-0.5M40.4%20118.9l6.2%20-1.6M165.5%20144.2l3.4%20-0.3M98.6%2057.9l4.8%20-5.7M18.8%2062.3l7.4%200.5M128.1%20130.0l1.5%207.5M134.4%2012.4l0.7%206.8M89.4%20174.2l0.6%203.2M86.5%20133.4l1.3%203.7M42.8%20131.7l1.2%203.0M176.9%2037.0l3.8%20-4.2M65.2%2022.6l7.9%200.8M177.7%2015.6l5.7%204.0M66.9%20103.5l7.5%202.3M66.0%20115.2l2.2%207.0M137.2%20146.4l1.1%205.9M69.5%2024.4l7.7%20-3.3M178.8%2096.1l3.4%20-6.4M71.2%2096.9l4.4%200.9M108.5%20158.5l7.5%201.6M41.9%20163.0l7.9%20-1.2M29.6%2067.7l4.6%201.6M82.1%20145.2l5.5%20-5.5M165.5%20174.4l8.8%20-0.2M161.0%2097.4l-0.3%203.6M164.8%2029.5l-2.1%208.8M40.2%20124.1l0.7%207.3M167.7%2028.1l6.7%201.1M144.4%2017.6l4.8%20-0.6M100.1%2058.7l4.2%20-0.2M95.2%203.4l3.4%20-0.7M16.3%2027.0l7.9%200.6M168.1%20104.8l7.8%205.0M81.3%201.2l6.2%20-0.7M68.8%20146.7l7.7%20-0.2M140.5%20110.2l-0.6%205.0M98.9%2048.6l6.2%201.4M147.0%2070.1l7.6%200.3M1.5%20160.4l8.6%200.2M173.2%2042.0l4.1%20-2.2M140.4%2076.1l1.7%20-3.9M157.8%2019.8l6.8%20-1.0M162.1%20129.7l-1.0%206.1M155.4%2098.1l3.8%200.8M106.6%20123.8l0.6%205.8M167.9%20130.5l4.3%20-1.1M174.4%20122.0l3.8%20-1.1M140.9%20163.2l8.0%20-0.5M31.5%20117.8l7.4%20-1.5M98.3%20112.9l-0.0%205.6M148.4%2095.5l0.1%204.3M21.9%2052.8l-0.6%206.4M39.4%2061.5l3.9%20-3.1M122.7%20149.8l0.1%209.2M88.6%20112.0l-0.8%206.6M78.3%20116.7l6.4%20-0.8M92.4%2033.7l4.6%201.3M169.8%20107.6l0.7%209.3M78.1%20117.4l-0.0%208.2M5.3%20171.1l0.4%203.8M156.5%20177.0l6.0%201.4M13.3%2021.2l5.9%20-1.7M25.9%20159.2l3.7%20-0.1M5.2%20174.6l7.6%20-0.5M64.0%2082.9l6.2%20-1.6M108.8%2038.3l8.6%200.9M101.4%208.1l8.3%202.4M141.6%20117.0l-0.3%205.4M62.2%20115.3l1.9%204.8M115.3%20147.1l3.4%200.1M21.7%20134.7l6.4%200.6M171.2%2094.8l9.0%201.0M66.9%2052.4l7.7%20-1.1M61.8%2062.2l7.8%20-3.3M117.1%2078.6l3.5%20-2.5M19.9%2089.8l5.6%20-1.5M178.2%20142.1l-0.1%206.2M26.1%20105.9l5.1%200.7M168.9%20124.2l8.1%200.1M34.9%2053.1l7.4%202.7M5.5%2014.6l6.0%20-1.7M35.6%20148.2l3.4%20-1.8M35.2%20160.4l0.1%206.3M120.3%20176.0l4.0%200.3M6.0%20118.6l2.1%206.7M122.6%2032.3l2.2%20-6.8M98.6%20172.3l4.1%200.2M39.4%2074.3l7.1%200.8M65.4%2040.8l6.8%201.0M119.0%20140.6l0.4%207.2M166.7%20101.2l5.9%201.7M41.2%2057.8l6.0%20-1.3M150.2%20165.4l6.5%200.2M6.3%20117.0l-0.9%207.1M125.6%20122.7l2.0%207.3M161.2%2097.7l1.0%20-3.8M32.4%2065.9l4.1%20-1.0M90.0%2068.2l9.0%20-2.1M170.6%2052.9l2.8%203.7M98.0%20125.3l8.7%200.1M141.3%2014.5l-0.4%207.2M128.8%2094.8l4.3%200.6M40.4%2026.0l6.5%20-0.2M4.5%2054.6l5.6%200.7M175.2%2034.3l8.1%20-2.6M108.3%2018.7l9.2%20-1.2M104.5%20161.8l-1.2%207.3M25.9%2064.3l7.0%20-0.9M156.3%2012.6l0.8%207.1M60.5%2084.7l4.6%20-1.3M88.7%20123.9l4.1%200.7M111.3%2047.4l5.1%207.9M75.7%2097.2l7.4%200.8M72.0%20114.2l-1.2%204.5M108.2%2055.3l0.8%204.0M173.0%2024.1l6.2%201.3M30.9%2055.3l-0.0%205.3M73.8%20141.2l4.2%20-3.6M62.2%20113.9l9.1%201.4M3.4%206.0l3.6%20-0.2M150.2%20153.7l-0.0%205.8M60.8%2036.7l7.6%20-2.0M65.8%2099.6l8.3%20-1.1M167.8%206.2l5.6%200.7M170.0%2075.3l8.7%20-1.9M172.0%2050.9l3.7%20-0.3M94.0%20141.0l1.2%209.3M100.0%2034.5l0.5%203.5M6.5%2079.8l7.9%20-1.6M50.2%20154.2l5.1%201.6M26.2%2043.0l8.2%200.9M49.5%20116.0l6.4%200.3M168.8%2041.4l9.1%202.7M46.6%20140.1l1.4%20-4.7M146.8%2076.2l4.4%20-1.2M50.9%2093.9l6.3%201.0M154.5%2091.7l4.0%200.9M96.0%20150.1l6.6%201.6M36.7%2066.7l1.0%203.2M10.4%20151.0l8.7%20-0.6M155.4%2054.7l4.3%201.1M157.2%20139.4l3.4%20-4.8M139.5%20140.7l1.5%20-5.0M138.9%20167.8l0.7%203.2M117.1%2053.9l8.0%200.0M24.1%20138.9l7.7%201.7M8.2%2037.5l1.5%20-4.7M48.8%2061.5l2.9%206.2M173.1%2038.1l3.7%207.7M67.7%20155.1l5.6%20-4.1M162.2%20150.3l-1.5%208.9M73.4%204.5l1.9%207.6M11.0%208.7l-2.2%208.6M169.0%2022.6l9.1%20-2.0M134.0%2023.0l1.4%20-7.8M17.7%202.6l8.0%20-1.5M46.9%20131.3l5.9%20-0.7M161.1%2028.5l8.9%20-0.7M139.8%2020.4l3.7%20-2.4M127.0%20164.8l0.3%203.6M135.4%2064.4l2.5%20-7.2M55.8%2019.0l-0.2%207.7M29.8%20102.9l-1.8%208.6M8.8%2041.6l6.2%20-0.5%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
  --scv-red: #8b1e2d;          /* madder, not candy */
  --scv-red-bright: #a32638;
  --ink: #1a2433;
  --muted: #5c6776;
  --muted-dark: #3d4654;       /* muted text on cream at phone widths */
  --umber-veil: #2a160c;       /* hero photo shading only; not for UI. */
  --paper: var(--cream);
  --header-h: 4rem;
  --font-display: "Rye", "Times New Roman", Times, serif;
  --font-serif: "Source Serif 4", Palatino, "Palatino Linotype", serif;
  --font-fell: "IM Fell English", "Source Serif 4", Palatino, "Palatino Linotype", serif;
  --max: 72rem;
  --pad: clamp(1rem, 4vw, 1.5rem);
  --radius: 0;
  --ease: 0.2s ease;
}

@media (min-width: 720px) {
  :root { --header-h: 4.5rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
}

body.nav-open { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
img { object-fit: cover; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 400; }
h1 { font-family: var(--font-display); letter-spacing: 0.01em; }
p { text-wrap: pretty; }
::selection { background: color-mix(in srgb, var(--brass) 45%, transparent); color: var(--navy); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.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 {
  position: absolute;
  left: 0.75rem; top: -3rem;
  z-index: 100;
  background: var(--brass);
  color: var(--navy);
  padding: 0.5rem 0.85rem;
  font-weight: 600;
}
.skip:focus { top: 0.5rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  min-width: 0;
  background: var(--chrome);
  color: var(--cream);
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 10%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  min-width: 0;
  min-height: var(--header-h);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex: 1 1 auto;
}
.brand-mark {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--brass);
}
@media (min-width: 720px) {
  .brand-mark { width: 2.65rem; height: 2.65rem; }
}
.brand-seals {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.brand-seal {
  width: 2.8rem;
  height: 2.8rem;
  object-fit: contain;
}
@media (min-width: 720px) {
  .brand-seal { width: 3.25rem; height: 3.25rem; }
}
.brand-text { min-width: 0; line-height: 1.15; }
.brand-kicker {
  display: none;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}
.brand-name {
  display: block;
  font-family: var(--font-fell);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-full { display: none; }
.brand-short { display: inline; }

@media (min-width: 480px) {
  .brand-kicker { display: block; }
}
@media (min-width: 900px) {
  .brand-full { display: inline; }
  .brand-short { display: none; }
}

.nav-desktop { display: none; align-items: center; flex-wrap: nowrap; }
.nav-desktop a {
  padding: 0.55rem 0.38rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 75%, transparent);
  white-space: nowrap;
}
.nav-desktop a:hover,
.nav-desktop a:focus-visible,
.nav-desktop a.is-active {
  color: var(--brass);
}
.nav-desktop a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: -2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--cream);
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hamburger + .nav-mobile panel up to 959px; desktop nav from 960px.
   js/site.js closes the mobile panel at the same width. */
@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}
@media (min-width: 1100px) {
  .nav-desktop a {
    font-size: 0.75rem;
    padding: 0.55rem 0.45rem;
    letter-spacing: 0.12em;
  }
}

.nav-mobile {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 55;
  background: var(--chrome);
  border-top: 1px solid color-mix(in srgb, var(--brass) 28%, transparent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 0.35rem var(--pad) calc(1.25rem + env(safe-area-inset-bottom));
  max-height: min(80dvh, calc(100dvh - var(--header-h)));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--cream) 8%, transparent);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
}
.nav-mobile a.is-active,
.nav-mobile a:hover { color: var(--brass); }
.nav-mobile .btn { margin-top: 0.9rem; width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease);
  text-align: center;
  white-space: nowrap;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 22%, transparent);
}
.btn-brass {
  background: var(--brass);
  color: var(--navy);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--navy) 30%, transparent);
}
.btn-brass:hover { background: var(--brass-bright); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn-navy {
  background: var(--navy-mid);
  color: var(--cream);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brass) 45%, transparent);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-join {
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  font-size: 0.68rem;
}
@media (min-width: 720px) {
  .btn-join { min-height: 36px; }
}
@media (min-width: 960px) {
  .btn-join { font-size: 0.75rem; } /* matches the desktop nav text */
}

.btn-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.btn-row .btn { width: fit-content; }
@media (min-width: 480px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}
main { flex: 1; }

.kicker, .kicker-dark {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker { color: var(--brass-text); }
.kicker-dark { color: var(--brass-pale); }
.kicker::after,
.kicker-dark::after {
  content: "";
  display: block;
  width: 2.25rem;
  height: 2px;
  margin-top: 0.4rem;
  background: var(--scv-red);
}
.hero .kicker-dark::after,
.page-hero .kicker-dark::after {
  display: none;
}

.lede {
  margin-top: 1rem;
  max-width: 65ch;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.6;
  color: color-mix(in srgb, var(--ink) 85%, transparent);
}
.lede-on-dark { color: color-mix(in srgb, var(--cream) 90%, transparent); }

.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }

.section-cream,
.section-cream-2 {
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 180px 180px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}
.section-cream {
  background-color: var(--cream);
  background-image:
    var(--parchment-fiber),
    radial-gradient(ellipse 36% 28% at 12% 18%, color-mix(in srgb, var(--fold) 42%, transparent), transparent 70%),
    radial-gradient(ellipse 32% 26% at 86% 82%, color-mix(in srgb, var(--brass-deep) 16%, transparent), transparent 68%),
    radial-gradient(ellipse 24% 20% at 58% 44%, color-mix(in srgb, var(--ink) 7%, transparent), transparent 72%),
    radial-gradient(ellipse 28% 22% at 18% 78%, color-mix(in srgb, var(--fold) 30%, transparent), transparent 70%);
}
.section-cream-2 {
  background-color: var(--cream-2);
  background-image:
    var(--parchment-fiber),
    radial-gradient(ellipse 34% 26% at 80% 14%, color-mix(in srgb, var(--fold) 36%, transparent), transparent 70%),
    radial-gradient(ellipse 30% 24% at 16% 86%, color-mix(in srgb, var(--brass-deep) 14%, transparent), transparent 68%),
    radial-gradient(ellipse 22% 18% at 46% 52%, color-mix(in srgb, var(--ink) 6%, transparent), transparent 72%),
    radial-gradient(ellipse 26% 20% at 92% 70%, color-mix(in srgb, var(--fold) 28%, transparent), transparent 70%);
}
.section-cream + .rule-taper {
  background-color: var(--cream);
  background-image: var(--parchment-fiber);
  background-repeat: repeat;
  background-size: 180px 180px;
}
.section-cream-2 + .rule-taper {
  background-color: var(--cream-2);
  background-image: var(--parchment-fiber);
  background-repeat: repeat;
  background-size: 180px 180px;
}
.section-navy { background: var(--navy-mid); color: var(--cream); }
.section-navy-deep { background: var(--navy); color: var(--cream); }
.section-slate { background: var(--slate); color: var(--cream); }

h1 { font-size: clamp(2rem, 7.2vw, 3.6rem); line-height: 1.05; }
/* Heading system. Rye: page H1s only. IM Fell English, upright, no shadow:
   section h2s. Source Serif 4 600 navy, sentence case: card and content titles. */
h2 {
  font-family: var(--font-fell);
  font-style: normal;
  letter-spacing: 0.01em;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  line-height: 1.15;
  margin-top: 0.65rem;
  text-shadow: none;
}
h3,
.card-title,
.reading-title,
.officer .name,
.hr-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  color: var(--navy);
}
.section-navy h3,
.section-navy-deep h3,
.section-slate h3,
.frame-dark h3,
.gold-frame-dark h3 { color: var(--cream); }

.page-hero {
  background: var(--chrome);
  color: var(--cream);
  padding: 2.4rem 0 2.6rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--brass) 16%, transparent), transparent 55%);
  pointer-events: none;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 { margin-top: 0.7rem; }
.page-hero h1 .accent { display: block; }
.page-hero .lede { color: color-mix(in srgb, var(--cream) 90%, transparent); }

/* ---------- Home hero (layered: Plate A umber + seated figure) ---------- */
.hero {
  background-color: transparent;
  background-image: url("../images/hero/A-umber-atelier.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.hero-copy {
  position: relative;
  padding: 1.75rem var(--pad) 2rem;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  z-index: 1;
}
/* Local umber veil under type only — not a navy or olive panel. */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 95% 85% at 28% 48%,
    color-mix(in srgb, var(--umber-veil) 68%, transparent),
    transparent 72%
  );
}
.hero-copy h1 {
  margin-top: 0.7rem;
  font-family: var(--font-fell);
}
.hero-copy h1 .accent { display: block; }
.hero-copy .lede { color: color-mix(in srgb, var(--cream) 90%, transparent); }
.hero-copy .rule-taper {
  justify-content: center;
  margin-top: 1.35rem;
  padding: 0;
}

/* Mobile: figure first, 1/1 face crop, then copy. Type scale unchanged. */
.hero-figure {
  order: -1;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: transparent;
}
.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 14%;
  /* Engraved-print vignette: the figure melts into the umber ground
     instead of ending in a hard crop. Stops are tuned per crop below. */
  --hero-fade: radial-gradient(64% 66% at 50% 34%, #000 56%, rgba(0, 0, 0, 0.55) 80%, transparent 100%);
  -webkit-mask-image: var(--hero-fade);
  mask-image: var(--hero-fade);
}

@media (min-width: 768px) and (min-height: 560px) {
  .hero {
    background-position: center;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: auto;
    min-height: calc(100svh - var(--header-h));
    align-items: stretch;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.75rem clamp(1.5rem, 5vw, 4.5rem);
    order: 0;
  }
  .hero-copy .rule-taper { justify-content: flex-start; }
  .hero-figure {
    order: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    align-self: stretch;
    overflow: visible;
  }
  .hero-figure img {
    position: relative;
    inset: auto;
    z-index: 1;
    flex-shrink: 0;
    width: auto;
    max-width: 96%;
    max-height: 900px;
    object-fit: contain;
    object-position: bottom center;
    filter:
      drop-shadow(0 10px 8px rgba(10, 5, 2, 0.48))
      drop-shadow(0 22px 20px rgba(10, 5, 2, 0.32));
    /* Full figure: head and torso hold, boots and chair melt away. */
    --hero-fade: radial-gradient(66% 56% at 50% 38%, #000 56%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
  }
}

@media (min-width: 768px) and (min-height: 560px) and (orientation: portrait) {
  .hero-figure { display: block; overflow: hidden; align-items: unset; justify-content: unset; }
  .hero-figure img {
    position: absolute; inset: 0; z-index: 1; flex-shrink: unset;
    width: 100%; height: 100%; max-width: none; max-height: none;
    object-fit: cover; object-position: center top;
    /* Tall column crop: soften the edge against the copy and the floor. */
    --hero-fade: radial-gradient(60% 58% at 60% 36%, #000 56%, rgba(0, 0, 0, 0.55) 82%, transparent 100%);
  }
}

/* ---------- Ornaments ---------- */
.rule {
  display: flex;
  justify-content: center;
  padding: 0.85rem 0;
}
.rule svg { width: min(100%, 18rem); height: 1rem; color: var(--ink); }
.rule-on-dark svg { color: var(--brass); }
.rule-left { justify-content: flex-start; }
.rule-left svg { max-width: 16rem; }

.rule-taper {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--scv-red);
  padding: 1rem var(--pad);
}
/* Divider belongs to the band it closes */
.section-navy + .rule-taper {
  background: var(--navy-mid);
}
.section-navy-deep + .rule-taper {
  background: var(--navy);
}
.rule-taper img,
.rule-taper svg {
  width: min(18rem, 70vw);
  height: auto;
}
.rule-taper-left { justify-content: flex-start; padding-left: 0; }
.page-hero .rule-taper {
  justify-content: flex-start;
  padding: 0.55rem 0 0.2rem;
}
.footer-bottom .rule-taper {
  padding: 0 0 0.7rem;
}
.not-found .rule-taper {
  padding: 0.65rem 0 0.35rem;
}

/* ---------- Cards / frames ----------
   Two card styles only:
   FEATURED = .panel-parchment (double brass-deep frame on parchment), at most one per page.
   LIST     = .frame (cream-2 ground, ink border, inset brass ring). .cal-card, .officer,
              .charge-card, .step and the .resource-cards items carry .frame in the markup;
              their own rules below set inner layout only, never the shell. */
.frame {
  background: var(--cream-2);
  border: 2px solid var(--ink);
  box-shadow: inset 0 0 0 4px var(--cream-2), inset 0 0 0 5px color-mix(in srgb, var(--brass) 55%, var(--ink));
  padding: 1.5rem 1.35rem;
}
.frame-dark {
  background: color-mix(in srgb, var(--navy) 55%, var(--slate));
  border: 2px solid var(--brass);
  box-shadow: inset 0 0 0 4px var(--navy-mid), inset 0 0 0 5px color-mix(in srgb, var(--brass) 40%, transparent);
  padding: 1.5rem 1.35rem;
}
@media (min-width: 768px) {
  .frame, .frame-dark { padding: 1.75rem 1.7rem; }
}

.charge-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.75rem;
}
@media (min-width: 768px) {
  .charge-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.charge-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.charge-card .mark {
  width: 4.25rem;
  height: 4.25rem;
  color: var(--brass-deep);
  background: var(--slate);
  padding: 0.4rem;
  margin-bottom: 0.95rem;
}
.charge-card p {
  margin-top: 0.65rem;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
  line-height: 1.6;
}
.charge-card a {
  margin-top: auto;
  padding-top: 0.9rem;
  color: var(--brass-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.charge-card a:hover { color: var(--navy); }

.split {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
.split .lede, .split p + p { margin-top: 0.9rem; }

.contact-meet { min-width: 0; }
.contact-seal {
  float: none;
  width: 6.5rem;
  max-width: 42%;
  margin: 1.35rem auto 0.25rem;
}
.contact-seal img { width: 100%; height: auto; display: block; }
@media (min-width: 768px) {
  .contact-seal { width: auto; max-width: min(13.5rem, 72%); margin: 2.25rem 0 0; }
}

.photo-frame {
  border: 3px solid var(--brass-deep);
  padding: 0.35rem;
  background: var(--cream);
}
.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.photo-frame video {
  width: 100%;
  height: auto;
  display: block;
}
.photo-frame.dark-matte {
  background: var(--navy);
  border-color: var(--brass);
}
.photo-frame.dark-matte img {
  object-fit: contain;
  background: var(--navy);
  width: 100%;
}
.caption {
  margin-top: 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
/* Photo captions read as sentences: sentence case, normal tracking.
   Short attribution labels (p.caption, e.g. the footer Charge credit) keep caps. */
figcaption.caption:not(.plate-caption) {
  font-size: 0.85rem;
  letter-spacing: normal;
  text-transform: none;
}
.caption-on-dark { color: color-mix(in srgb, var(--cream) 65%, transparent); }
.caption.caption-left { text-align: left; }
.plate-caption {
  text-transform: none;
  font-variant-caps: small-caps;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-wrap: balance;
  padding: 0.65rem 0 0;
  position: relative;
}
.plate-caption::before,
.plate-caption::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto 0.55rem;
  background: color-mix(in srgb, var(--brass-deep) 65%, var(--ink) 35%);
}
.plate-caption::after { margin: 0.55rem auto 0; }
.plate-caption .plate-title,
.plate-caption .plate-credit {
  display: block;
}
.plate-caption .plate-credit {
  margin-top: 0.2rem;
  font-size: 0.92em;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.drop-cap::first-letter {
  font-family: var(--font-serif);
  font-weight: 700;
  float: left;
  font-size: 3rem;
  line-height: 0.78;
  padding-right: 0.1em;
  color: var(--brass-deep);
}
@media (min-width: 768px) {
  .drop-cap::first-letter { font-size: 3.6rem; }
}

.oval-wrap {
  max-width: 22rem;
  margin-inline: auto;
}
.oval-frame {
  border: 3px solid var(--brass-deep);
  padding: 0.3rem;
}
.oval-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 15%;
  clip-path: ellipse(46% 48% at 50% 50%);
  background: var(--cream);
}

/* ---------- Gathering / next meeting ---------- */
.section-navy.section-gather { padding: 2.4rem 0; }
.gather .gather-note {
  color: color-mix(in srgb, var(--cream) 65%, transparent);
  max-width: 38rem;
}
.gather {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .gather {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
  .gather .btn { flex-shrink: 0; }
}

/* ---------- Officers ---------- */
.officer-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
@media (min-width: 560px) {
  .officer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .officer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.officer .office {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.officer .name { margin-top: 0.3rem; } /* card-title style, see h3 */

/* ---------- Calendar ---------- */
.cal-cards { display: grid; gap: 0.85rem; margin-top: 1.25rem; }
.resource-cards { display: grid; gap: 0.85rem; margin-top: 1.25rem; }
.cal-card .when {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}
.cal-card .where {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.cal-card .note { margin-top: 0.45rem; }

.table-wrap {
  display: none;
  margin-top: 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.cal-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-text);
  padding: 0.55rem 0.7rem;
  border-bottom: 2px solid var(--fold);
}
.cal-table td {
  padding: 0.7rem;
  border-bottom: 1px solid color-mix(in srgb, var(--fold) 70%, transparent);
  vertical-align: top;
}
.cal-table tr:hover td { background: color-mix(in srgb, var(--cream-2) 70%, transparent); }

@media (min-width: 768px) {
  .cal-cards { display: none; }
  .table-wrap { display: block; }
}

.pattern-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.45rem;
}
.pattern-list li {
  padding-left: 1.1rem;
  position: relative;
}
.pattern-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.45rem; height: 0.45rem;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- Dues ---------- */
.dues {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.dues th, .dues td {
  text-align: left;
  padding: 0.65rem 0.15rem;
  border-bottom: 1px solid var(--fold);
}
.dues td:last-child, .dues th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.dues tfoot td { font-weight: 700; border-bottom: 2px solid var(--ink); }

.steps { margin-top: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
.step .num {
  font-family: var(--font-display);
  color: var(--brass-text);
  font-size: 1.35rem;
}

/* ---------- Forms ---------- */
form { margin-top: 1.25rem; display: grid; gap: 0.95rem; }
label { display: grid; gap: 0.35rem; font-weight: 600; }
label span { font-size: 0.88rem; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.75rem;
  background: var(--cream);
  border: 1px solid color-mix(in srgb, var(--ink) 35%, transparent);
  box-shadow: inset 0 1px 3px color-mix(in srgb, var(--ink) 12%, transparent);
  color: var(--ink);
  font-size: 16px; /* prevent iOS zoom */
  border-radius: 0;
  transition: border-color var(--ease), box-shadow var(--ease);
}
input:focus-visible, textarea:focus-visible, select:focus-visible {
  border-color: var(--brass-deep);
}
textarea { min-height: 9rem; resize: vertical; }
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  cursor: pointer;
}
.form-check span { font-size: 1rem; }
.form-check input {
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  min-height: 0;
  margin: 0.15rem 0 0;
  padding: 0;
  box-shadow: none;
  accent-color: var(--navy);
}
.form-error {
  margin-top: 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--scv-red);
  color: var(--scv-red);
  font-weight: 600;
}

/* ---------- Nearby markers ---------- */
.marker-list { margin-top: 1rem; display: grid; gap: 0.4rem; }
.marker-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--fold);
}
.marker-list li > span:first-child { min-width: 0; overflow-wrap: break-word; }
.marker-list .mi { color: var(--muted); white-space: nowrap; flex-shrink: 0; }

.address-block { font-size: 1.2rem; line-height: 1.5; margin-top: 0.7rem; }

.quote {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-style: italic;
  line-height: 1.55;
  max-width: 58ch;
}
blockquote.quote {
  font-family: var(--font-fell);
}
.quote footer {
  font-family: var(--font-serif);
  margin-top: 0.85rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

blockquote.words {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--brass);
  font-family: var(--font-fell);
  font-style: italic;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
}
.section-navy blockquote.words,
.section-navy-deep blockquote.words {
  color: color-mix(in srgb, var(--cream) 94%, transparent);
}
.section-navy blockquote.words cite,
.section-navy-deep blockquote.words cite {
  color: var(--brass-pale);
}
blockquote.words + blockquote.words { margin-top: 0.85rem; }
blockquote.words cite {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.prose p + p { margin-top: 0.9rem; }
.prose a { color: var(--brass-text); text-decoration: underline; text-underline-offset: 3px; }

.notice {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--cream-2);
  border-left: 3px solid var(--brass);
  font-size: 0.95rem;
}
.faq h3 { margin-top: 2.25rem; }
.faq h2 + h3 { margin-top: 1.5rem; }
.faq h3 + p { margin-top: 0.6rem; }
.faq .pattern-list { margin-top: 0.75rem; }
.faq-source { margin-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

.gallery {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.gallery-wide { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .gallery.two { grid-template-columns: 1fr 1fr; }
}
/* Cemetery page: landscape hotel view beside the tall entrance sign.
   Wider column for the landscape, one shared height, cropped to the
   CSA plaque, camp board and Civil War Trails marker. */
@media (min-width: 768px) {
  .gallery.photo-pair { grid-template-columns: 3fr 2fr; }
  .gallery.photo-pair figure:not(.gallery-wide) .photo-frame img {
    height: clamp(18rem, 32vw, 26rem);
    object-fit: cover;
  }
  .gallery.photo-pair img[src$="cemetery-sign.jpeg"] { object-position: 50% 72%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--chrome);
  color: color-mix(in srgb, var(--cream) 75%, transparent);
  padding-top: 2.5rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
  padding-bottom: 2rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2rem; }
}
.footer-seals {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.footer-seals img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}
.footer-brand {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  font-weight: 600;
  margin-top: 0.7rem;
}
.site-footer a:hover { color: var(--brass); }
.site-footer ul { margin-top: 0.55rem; display: grid; gap: 0.4rem; }
.site-footer .charge-q {
  margin-top: 0.55rem;
  font-family: var(--font-fell);
  font-style: italic;
  line-height: 1.55;
  font-size: 0.95rem;
}
.footer-bottom {
  border-top: 1px solid color-mix(in srgb, var(--fold) 30%, transparent);
  padding: 1.1rem var(--pad) calc(1.1rem + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--cream) 45%, transparent);
}
.footer-bottom .diamond {
  width: 0.55rem; height: 0.55rem;
  margin: 0 auto 0.45rem;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- 404 ---------- */
.not-found {
  text-align: center;
  padding: 4.5rem var(--pad) 5rem;
  max-width: 32rem;
  margin: 0 auto;
}

.muted { color: var(--muted); }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* 960-1099px: desktop nav at full 0.75rem text, tighter padding and tracking.
   The full camp name does not fit beside seven links and Join here, so the
   short name holds until 1100px; the kicker still names the Division. */
@media (min-width: 960px) and (max-width: 1099px) {
  .nav-desktop a {
    padding: 0.45rem 0.3rem;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
  }
  .brand-kicker {
    letter-spacing: 0.08em;
    font-size: 0.62rem;
    white-space: nowrap;
  }
  .brand-name {
    letter-spacing: 0.04em;
  }
  .brand-full { display: none; }
  .brand-short { display: inline; }
  .header-actions { margin-left: 0.2rem; }
}

/* Phone: parchment stays, body type wraps and keeps contrast. Hero chrome unchanged. */
@media (max-width: 719px) {
  .section-cream h2,
  .section-cream-2 h2,
  .section-cream h3,
  .section-cream-2 h3 {
    text-wrap: pretty;
    overflow-wrap: break-word;
  }
  .section-cream p,
  .section-cream-2 p,
  .section-cream li,
  .section-cream-2 li,
  .section-cream .lede,
  .section-cream-2 .lede {
    line-height: 1.65;
    overflow-wrap: break-word;
  }
  .section-cream .muted,
  .section-cream-2 .muted,
  .section-cream .caption,
  .section-cream-2 .caption {
    color: var(--muted-dark);
  }
  .section-cream .frame,
  .section-cream-2 .frame,
  .section-cream .gold-frame,
  .section-cream-2 .gold-frame {
    max-width: 100%;
  }
}
@media (max-width: 479px) {
  .section-cream .frame,
  .section-cream-2 .frame {
    padding: 1.2rem 1rem;
  }
}
/* Density modifier for small-item list grids: padding only. Sits after every .frame
   padding rule (base, 768px, 479px section) and matches the section specificity. */
.frame-compact,
.section-cream .frame-compact,
.section-cream-2 .frame-compact {
  padding: 0.7rem 0.9rem;
}
.muted a {
  color: var(--brass-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
img.mark, .brand-mark, .brand-seal, .footer-seals img { object-fit: contain; }

@media (max-width: 479px) {
  .hero-copy { padding-top: 1.5rem; padding-bottom: 1.75rem; }
}

/* ---------- Brass from camp ornaments ---------- */
.hero h1,
.page-hero h1 {
  color: var(--brass);
  text-shadow:
    -1px -1px 0 var(--brass-pale),
    1px 1px 0 var(--brass-deep),
    3px 4px 0 color-mix(in srgb, var(--navy) 48%, transparent);
}
.hero h1 .accent,
.page-hero h1 .accent {
  color: var(--brass-pale);
  text-shadow:
    -1px -1px 0 var(--brass-pale),
    1px 1px 0 var(--brass-dark),
    3px 4px 0 color-mix(in srgb, var(--navy) 42%, transparent);
}
/* Section h2s are IM Fell: no text-shadow on cream or on navy. */
h2 { color: var(--brass-dark); }
.section-navy h2,
.section-navy-deep h2,
.section-slate h2,
.gold-frame-dark h2,
.hero h2 {
  color: var(--brass);
}

.header-sabers {
  display: none !important;
}

.gold-frame {
  background-color: transparent;
  background-image: url("../images/ornaments/gold-frame.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  padding: 2.5rem 1.45rem 2.25rem;
}
.gold-frame-dark {
  background-color: var(--navy);
}
.gold-frame-cream {
  background-color: var(--cream);
}
@media (min-width: 768px) {
  .gold-frame { padding: 3.35rem 3rem 3.1rem; }
}
.gold-frame-portrait {
  padding: 1.55rem 1.35rem 1.45rem;
}
@media (min-width: 768px) {
  .gold-frame-portrait { padding: 2.1rem 1.9rem 1.95rem; }
}
.gold-frame-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.gold-frame .quote { margin-top: 1rem; }
.gold-frame.gather { align-items: stretch; }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .page-hero h1, .hero h1 .accent, .page-hero h1 .accent {
    text-shadow: none;
  }
}


/* Gold Victorian corners — Charge quote & next meeting */
.corner-card { position: relative; padding: 1.85rem 1.35rem 1.7rem; max-width: 46rem; margin-inline: auto; }
.corner-card-dark { background: var(--navy); }
.corner { display: none; }
@media (min-width: 768px) {
  .corner-card { padding: 2.35rem 2.1rem 2.15rem; }
}
.honor-mark { width: min(5.5rem, 38vw); height: auto; object-fit: contain; margin: 0.55rem 0 0.15rem; }
.magnolia { width: 2.15rem; height: auto; object-fit: contain; margin: 0.4rem 0 0.1rem; }
.flag-row { display: flex; align-items: center; gap: 0.65rem; margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.flag-mark { width: 2.4rem; height: 2.4rem; object-fit: contain; flex-shrink: 0; }

/* ---------- Members preview: sentry gate + parchment shell ---------- */
.seal-madder {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto;
  padding: 0.55rem;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, var(--scv-red-bright), var(--scv-red) 70%);
  box-shadow:
    0 0 0 3px var(--brass),
    0 0 0 6px var(--navy),
    0 0 0 7px color-mix(in srgb, var(--brass) 70%, transparent),
    0 10px 22px rgba(0, 0, 0, 0.45);
}
.seal-madder img { width: 100%; height: 100%; object-fit: contain; }
.seal-madder-sm { width: 4.75rem; height: 4.75rem; padding: 0.35rem; margin: 0.4rem 0 0 0.4rem; }

.gate {
  max-width: 30rem;
  margin-inline: auto;
  text-align: center;
  background: var(--navy);
  border: 2px solid var(--brass);
  box-shadow:
    inset 0 0 0 5px var(--navy),
    inset 0 0 0 6px color-mix(in srgb, var(--brass) 55%, transparent),
    0 18px 40px rgba(0, 0, 0, 0.45);
  padding: 2.25rem 1.25rem 1.85rem;
}
@media (min-width: 768px) {
  .gate { padding: 2.75rem 2.25rem 2.25rem; }
}
.gate .kicker-dark { margin-top: 1.6rem; }
.gate .kicker-dark::after { margin-inline: auto; }
.gate h1 {
  margin-top: 0.6rem;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  color: var(--brass);
  text-shadow:
    -1px -1px 0 var(--brass-pale),
    1px 1px 0 var(--brass-deep),
    3px 4px 0 color-mix(in srgb, var(--navy) 48%, transparent);
}
.gate .lede { margin-inline: auto; }
.gate-fields {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  text-align: left;
}
.gate-fields label span {
  color: var(--brass-pale);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.gate-fields input:disabled {
  background: color-mix(in srgb, var(--cream) 12%, var(--navy));
  border-color: color-mix(in srgb, var(--brass) 40%, transparent);
  color: color-mix(in srgb, var(--cream) 60%, transparent);
  cursor: not-allowed;
}
.gate .btn { width: 100%; margin-top: 1.25rem; }
.gate-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: italic;
  color: color-mix(in srgb, var(--cream) 70%, transparent);
}

.preview-ribbon {
  max-width: 30rem;
  margin: 0 auto 1.25rem;
  padding: 0.45rem 0.9rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--scv-red);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
}
.page-hero .preview-ribbon { margin: 1.1rem 0 0; display: inline-block; }

.panel-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .panel-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
/* FEATURED card shell, at most one per page. */
.panel-parchment {
  background-color: var(--cream);
  background-image: var(--parchment-fiber);
  background-size: 180px 180px;
  border: 4px double var(--brass-deep);
  box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5px color-mix(in srgb, var(--brass) 55%, transparent);
  padding: 1.5rem 1.25rem 1.6rem;
}
@media (min-width: 768px) {
  .panel-parchment { padding: 1.85rem 1.75rem 2rem; }
}
.panel-parchment h2,
.panel-grid > .frame h2 { margin-top: 0.4rem; }
.panel-empty {
  margin-top: 1.1rem;
  padding: 0.9rem 0;
  border-top: 3px double color-mix(in srgb, var(--brass-deep) 70%, transparent);
  border-bottom: 3px double color-mix(in srgb, var(--brass-deep) 70%, transparent);
  font-style: italic;
  color: color-mix(in srgb, var(--ink) 80%, transparent);
}


/* ---- FAQ accordions (trial: IM Fell English questions) ---- */
.faq h2 + .faq-item { margin-top: 1.5rem; }
.faq-item { border-top: 3px double var(--brass-deep); }
.faq-item:last-child { border-bottom: 3px double var(--brass-deep); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-fell);
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brass-deep) 35%, transparent);
}
.faq-q:hover { background: color-mix(in srgb, var(--brass) 10%, transparent); }
.faq-q:focus-visible { outline: 2px solid var(--brass-deep); outline-offset: 2px; }
.faq-q[aria-expanded="true"] { background: color-mix(in srgb, var(--brass) 14%, transparent); }
.faq-marker {
  flex: none;
  color: var(--brass-deep);
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--ease);
}
.faq-q[aria-expanded="true"] .faq-marker { transform: rotate(90deg); }
.faq-a { padding: 0 1.1rem 1.25rem; }
.faq-a[hidden] { display: none; }
.faq-a > :first-child { margin-top: 0.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .faq-a { animation: faq-open 0.25s ease; }
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Members sign-in (sentry gate, live) ---------- */
.gate-form { margin-top: 0; gap: 0; }
.gate-form[hidden] { display: none; }
.gate-form .gate-fields label span { font-size: 0.8rem; }
.gate-form input:focus-visible { border-color: var(--brass); outline: 2px solid var(--brass); outline-offset: 2px; }
.gate-form input[inputmode="numeric"] { font-size: 1.35rem; letter-spacing: 0.3em; text-align: center; }
.gate .btn:disabled { opacity: 0.6; cursor: wait; }
.gate-status {
  margin-top: 1.25rem;
  padding: 0.75rem 0.9rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--cream);
  background: color-mix(in srgb, var(--brass) 12%, var(--navy));
  border-left: 3px solid var(--brass);
}
.gate-status:empty { display: none; }
.gate-status.is-error {
  background: color-mix(in srgb, var(--scv-red) 30%, var(--navy));
  border-left-color: var(--scv-red-bright);
}
.gate-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  margin-top: 0.5rem;
}
.gate-link {
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  color: var(--brass-pale);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.gate-link:hover { color: var(--brass); }
.gate-link:disabled { color: color-mix(in srgb, var(--cream) 60%, transparent); text-decoration: none; cursor: default; }
.gate-note a { color: var(--brass-pale); text-decoration: underline; text-underline-offset: 0.2em; }
.logout-form { margin: 0; display: flex; }

/* ---- Recommended reading: Books and Videos ---- */
/* Section h2s (IM Fell) and .reading-title (card-title style) come from the base h2/h3 rules. */
/* Books and Videos share one cream section; the Videos group opens after a gap. */
.reading-videos { margin-top: 3.5rem; }

/* Shared grid. --max (72rem) leaves ~21rem columns at 1120px, so no wider wrap is needed.
   Rows stretch so the card feet line up across a row. */
.reading-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: 1.75rem;
}
@media (min-width: 760px) {
  .reading-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1120px) {
  .reading-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Compact card: keeps .frame (cream-2, ink border, inset brass ring). */
.reading-grid .reading-card.frame { padding: 1.25rem; }
.reading-card {
  display: flex;
  flex-direction: column;
}
.reading-card > :first-child { margin-top: 0; }
/* Keeps a 1rem floor above the foot rule when margin-top:auto has nothing to absorb. */
.reading-card > :nth-last-child(2) { margin-bottom: 1rem; }
/* Camp pick: the .frame inset ring, plus a 3px brass bar just inside it (5px to 8px). */
.book-card-pick {
  box-shadow:
    inset 0 0 0 4px var(--cream-2),
    inset 0 0 0 5px color-mix(in srgb, var(--brass) 55%, var(--ink)),
    inset 0 8px 0 var(--brass);
}
.book-card-pick .kicker { color: var(--brass-text); }
.reading-authors {
  font-style: italic;
  color: color-mix(in srgb, var(--ink) 88%, transparent);
}
.reading-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  font-size: 0.95rem;
}
.reading-source { color: var(--brass-text); font-size: 0.95rem; }

/* Video: thumbnail + play button, swapped for the player on click (js/site.js). */
.yt-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy);
  border: 1px solid var(--ink);
  overflow: hidden;
}
.yt-frame img,
.yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
/* The button covers the whole thumbnail, so a click anywhere loads the player;
   the visible 44px disc (::before) and triangle (::after) sit bottom-left. */
.yt-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.yt-play::before {
  content: "";
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--brass);
  transition: border-color var(--ease);
}
.yt-play::after {
  content: "";
  position: absolute;
  right: calc(0.6rem + 14.5px);
  bottom: calc(0.6rem + 14.5px);
  border-style: solid;
  border-width: 7.5px 0 7.5px 12.5px;
  border-color: transparent transparent transparent var(--cream);
}
.yt-play:hover::before,
.yt-play:focus-visible::before { border-color: var(--brass-bright); }
/* Inset outline: .yt-frame clips overflow, so an outside offset would be cut off. */
.yt-play:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: -3px; }

/* More to explore: this page's resource cards only. */
.reading-resources {
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .reading-resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1120px) {
  .reading-resources { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
