:root {
  color-scheme: light;
  --night: #091b23;
  --forest: #0d2a2c;
  --ink: #18352f;
  --paper: #f5f4ec;
  --white: #fffdf6;
  --muted: #54665e;
  --line: #d9dfd2;
  --mint: #b6e2c3;
  --gold: #e5b987;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.65rem, 5.2vw, 4.5rem); letter-spacing: -.06em; }
h2 em { color: #326b52; font-weight: 400; }
:focus-visible { outline: 3px solid #d29b52; outline-offset: 5px; }
::selection { background: #d9bb87; color: var(--night); }
.shell { width: min(1200px, calc(100% - 100px)); margin-inline: auto; }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }

.header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #091b23f8;
  color: #f5f4ec;
  border-bottom: 1px solid #c7ebd027;
}
.header-inner { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: .87rem; letter-spacing: .14em; white-space: nowrap; }
.brand strong { font-weight: 800; }
.brand small { display: block; margin-top: 1px; color: var(--gold); font-size: .56rem; letter-spacing: .19em; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2.15rem); font-size: .84rem; }
.nav a:hover, .nav a:focus-visible { color: var(--gold); }
.nav-cta { border: 1px solid #dfb47b75; padding: 9px 14px; border-radius: 4px; }
.nav-cta span { color: var(--gold); margin-left: 7px; }
.nav-toggle { display: none; }

.hero {
  color: var(--white);
  background: linear-gradient(90deg, #081922d6, #08192225 75%), url("assets/aurora.svg") 50% 52% / cover no-repeat, var(--night);
}
.hero-layout {
  min-height: 610px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: 62px 55px;
}
.eyebrow { font-size: .68rem; font-weight: 750; line-height: 1.5; letter-spacing: .16em; }
.hero-kicker { color: var(--gold); display: flex; align-items: center; gap: 10px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #d8b985; box-shadow: 0 0 14px #e5b9877a; }
.hero h1 { font-size: clamp(5rem, 9.5vw, 9.2rem); line-height: .86; letter-spacing: -.072em; margin: 22px 0 26px; }
.hero h1 em { color: var(--mint); font-weight: 400; }
.hero-quote { color: var(--gold); font: italic clamp(1.1rem, 2.1vw, 1.4rem)/1.45 var(--serif); }
.hero-description { color: #e3ebe4; max-width: 440px; margin-top: 14px; font-size: .99rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; }
.button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .83rem;
  font-weight: 720;
  line-height: 1.35;
  transition: background .2s, color .2s, border-color .2s;
}
.button span { font-size: 1.13rem; line-height: 1; }
.primary { background: var(--gold); color: #14241d; }
.primary:hover { background: #f1cfa1; }
.quiet { color: var(--white); border-color: #e5f2df46; background: #0a21276b; }
.quiet:hover { border-color: var(--gold); }
.hero-photo {
  position: relative;
  width: min(100%, 425px);
  justify-self: end;
  padding: 13px 13px 0;
  border: 1px solid #d7f1d85c;
  border-radius: 5px 5px 56px 5px;
  background: #071c26c9;
  box-shadow: 0 25px 65px #030f1c4f;
  transform: rotate(1.5deg);
}
.hero-photo img { width: 100%; height: clamp(330px, 36vw, 440px); object-fit: cover; object-position: 50% 52%; border-radius: 2px 2px 42px 2px; }
.photo-index { position: absolute; top: 24px; left: 24px; background: #0a202cde; color: #f4e2c6; padding: 6px 9px; border-radius: 2px; font-size: .53rem; font-weight: 700; letter-spacing: .13em; }
.photo-index span { color: var(--gold); padding-right: 5px; }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 10px; color: #d4e8d4; padding: 12px 20px 13px 2px; font-size: .59rem; letter-spacing: .13em; }
.hero-footer { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; justify-content: center; border-top: 1px solid #b6e2c337; min-height: 52px; color: #d6ebd8; font-size: .66rem; letter-spacing: .18em; }
.hero-footer span:nth-child(even) { color: var(--gold); }

.section { padding-block: clamp(62px, 8vw, 112px); }
.section-index { color: #48695e; display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.section-index span { color: #875b32; padding-right: 10px; border-right: 1px solid currentColor; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 33px; }
.section-heading > p { color: var(--muted); max-width: 370px; font-size: .94rem; padding-bottom: 3px; }
.history-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 8vw, 7rem); align-items: center; }
.story .section-lead { font-size: 1.12rem; line-height: 1.7; margin-top: 24px; color: var(--ink); }
.story > p:last-child { font-size: .94rem; margin-top: 15px; color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 74px 1fr; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line); padding: 15px 0; }
.timeline time { font-family: var(--serif); color: #805c39; font-size: 1.75rem; line-height: 1; }
.timeline h3, .sequence h3 { font-size: 1rem; margin-bottom: 5px; }
.timeline p, .sequence p { color: var(--muted); font-size: .86rem; }

.tribes { background: #e8eddf; border-block: 1px solid var(--line); }
.tribe-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tribe-card {
  --stone: #9f6e55;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #f6f6ed;
  border: 1px solid #cbd6c9;
  border-radius: 5px;
  padding: 14px 16px 15px;
  text-align: left;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tribe-card:hover { transform: translateY(-4px); box-shadow: 0 9px 20px #1b312a12; border-color: var(--stone); }
.tribe-card.amatista { --stone: #855c9d; }
.tribe-card.topacio { --stone: #b78b33; }
.tribe-card.rubi { --stone: #a54c5c; }
.tribe-card.carbunacio { --stone: #956438; }
.tribe-stone { color: var(--muted); font-size: .63rem; font-weight: 750; letter-spacing: .11em; }
.tribe-stone i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--stone); transform: rotate(45deg); margin: 0 4px 1px 2px; }
.tribe-card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-block: 7px; }
.tribe-name { border-top: 1px solid var(--line); padding-top: 10px; font: 1.65rem/1.15 var(--serif); display: flex; justify-content: space-between; gap: 6px; }
.tribe-name span { font: 1rem var(--sans); color: var(--stone); }
.tribe-animal { color: var(--muted); font-size: .77rem; margin-top: 3px; }
.levi-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  align-items: center;
  gap: 30px;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid #cbd6c9;
  border-radius: 5px;
  background: #f6f6ed;
}
.levi-card img { width: 145px; height: auto; mix-blend-mode: multiply; }
.levi-card .eyebrow { color: #6b5134; }
.levi-card h3 { font: 2.4rem var(--serif); }
.levi-card p:not(.eyebrow) { color: var(--muted); font-size: .92rem; }
.levi-card blockquote { font: italic 1.13rem/1.55 var(--serif); margin: 9px 0 12px; }
.inline-link { border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; background: transparent; font-size: .83rem; font-weight: 750; }
.inline-link span { margin-left: 5px; }
.inline-link:hover { color: #805c39; }

.assembly-layout { display: grid; grid-template-columns: 1.22fr .78fr; gap: clamp(22px, 5vw, 62px); align-items: center; }
.feature-photo { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.feature-photo img { width: 100%; height: auto; object-fit: cover; }
.assembly-photo img { aspect-ratio: 1.62; object-position: 50% 48%; }
.feature-photo figcaption { padding: 10px 15px; color: var(--muted); font-size: .78rem; }
.sequence { list-style: none; margin: 0; padding: 0; }
.sequence li { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sequence li:first-child { border-top: 1px solid var(--line); }
.sequence li > span { color: #805c39; font: 1.28rem/1.4 var(--serif); }
.values { margin-top: 36px; border-block: 1px solid var(--line); padding-block: 20px; }
.values-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 16px; }
.values-header h3, .gallery-heading h3 { font: 1.7rem/1.2 var(--serif); }
.values-header p { color: var(--muted); font-size: .84rem; }
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; gap: 9px; }
.value-grid details { background: #e8eddf; border: 1px solid var(--line); border-radius: 4px; }
.value-grid summary { padding: 12px 9px; cursor: pointer; font-size: .81rem; font-weight: 700; }
.value-grid summary span { color: #805c39; font-size: .62rem; margin-right: 4px; }
.value-grid details ul { margin: 0; padding: 0 10px 10px 24px; font-size: .78rem; color: var(--muted); }
.value-grid details li + li { margin-top: 4px; }
.value-grid details p { padding: 0 10px 12px; font-size: .78rem; color: var(--muted); }
.gallery-section { margin-top: 37px; }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.gallery-heading .inline-link { flex: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-tile { position: relative; border: 1px solid var(--line); border-radius: 4px; padding: 0; overflow: hidden; text-align: left; background: #e6ebdd; }
.gallery-tile img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; transition: transform .3s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile > span { display: block; padding: 8px 10px; font-size: .75rem; font-weight: 680; }
.gallery-tile .play-mark { position: absolute; top: 8px; right: 8px; padding: 5px 8px; background: #0a2128e0; color: var(--white); border-radius: 3px; font-size: .64rem; }

.camps { background: var(--night); color: var(--white); }
.camps .section-index, .camps .section-heading p, .camp-notes p { color: #c8d9d1; }
.camps .section-index span, .camp-notes article > span { color: var(--gold); }
.camps h2 em { color: var(--gold); }
.camp-photo { border-color: #bfdcc94a; background: #112a2e; }
.camp-photo img { aspect-ratio: 2.45; object-position: 50% 66%; }
.camp-photo figcaption { color: #d3e0d3; }
.camp-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 25px; }
.camp-notes article { padding: 18px; border: 1px solid #bfdcc93b; border-radius: 4px; background: #12303672; }
.camp-notes article > span { font-size: 1.5rem; line-height: 1; }
.camp-notes h3 { margin-block: 8px 6px; font: 1.42rem/1.1 var(--serif); }
.camp-notes p { font-size: .86rem; }
.camps .gallery-tile { background: #112b30; border-color: #bfdcc94a; }
.camps .inline-link:hover { color: var(--gold); }
.camp-memory-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #bfdcc94a; }
.camp-memory-heading p { font-size: .9rem; }
.camp-memory-heading .eyebrow { color: var(--gold); margin-right: 8px; }
.camp-memory-heading button { flex-shrink: 0; }
.campfire { position: relative; margin-top: 30px; border: 1px solid #e5b9874b; border-radius: 5px; overflow: hidden; }
.campfire img { width: 100%; height: auto; aspect-ratio: 3.1; object-fit: cover; object-position: 50% 47%; }
.campfire figcaption { position: absolute; inset: auto 0 0; padding: 26px 18px 14px; color: #fff6e5; font-size: .82rem; background: linear-gradient(transparent, #101619e8); }

.join { background: #e8eddf; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.location-card { border: 1px solid #cbd6c9; border-radius: 5px; padding: 24px; background: var(--paper); }
.location-step { color: #805c39; font-size: .65rem; font-weight: 750; letter-spacing: .13em; }
.location-card h3 { font: 1.75rem/1.2 var(--serif); margin: 10px 0 8px; }
.location-card p { color: var(--muted); font-size: .91rem; margin-bottom: 17px; }
.participation-fees { margin-top: 18px; }
.participation-fees strong { color: var(--ink); }
.participation-fees p:last-child { margin-bottom: 0; }
.dark-button { background: var(--ink); color: var(--white); }
.dark-button:hover { background: #35634f; }

.questions-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(25px, 6vw, 74px); }
.question-list { border-top: 1px solid var(--line); }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary { padding: 15px 4px; font-size: .98rem; font-weight: 690; cursor: pointer; }
.question-list summary::marker { color: #805c39; }
.question-list p { padding: 0 8px 16px 21px; color: var(--muted); font-size: .9rem; }
.question-list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.closing { color: var(--white); background: linear-gradient(#081c25b8, #081c25d9), url("assets/aurora.svg") center 50% / cover no-repeat, var(--night); text-align: center; padding-block: 66px; }
.closing-inner { display: grid; justify-items: center; gap: 21px; }
.closing blockquote { font: clamp(2.1rem, 5vw, 4.2rem)/1.08 var(--serif); letter-spacing: -.045em; }
.closing em { color: var(--gold); }
.footer { background: var(--night); color: #d3e3d7; border-top: 1px solid #b6e2c330; }
.footer-inner { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding-block: 20px; }
.footer-inner > span { color: #b4c8bc; font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; border-top: 1px solid #b6e2c330; padding-block: 15px 21px; font-size: .8rem; }
.footer-links a { text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover, .footer-links span { color: var(--gold); }
.footer-credit { padding-block: 14px 20px; border-top: 1px solid #b6e2c330; font-size: .8rem; color: #b4c8bc; }
.footer-credit strong { color: #d3e3d7; }

.dialog { width: min(700px, calc(100% - 30px)); max-height: 92dvh; padding: 22px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; overscroll-behavior: contain; }
.dialog::backdrop { background: #071720d9; backdrop-filter: blur(4px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 14px; }
.dialog-close, .media-nav { display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; width: 39px; height: 39px; flex: none; background: transparent; font-size: 1.45rem; }
.dialog-close:hover, .media-nav:hover { background: #86ac982f; }
.tribe-detail { display: grid; grid-template-columns: 145px 1fr; gap: 22px; align-items: center; }
.tribe-detail > img { width: 145px; height: auto; mix-blend-mode: multiply; }
.tribe-detail h2 { font-size: 2.85rem; }
.tribe-detail p { color: var(--muted); font-size: .94rem; margin-top: 8px; }
.tribe-detail .detail-tag { color: #805c39; font-weight: 720; font-size: .77rem; }
.tribe-detail .detail-stone { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 12px; background: #e8eddf; font-size: .78rem; }
.detail-stone strong { color: var(--ink); }
.tribe-detail .detail-shirt { padding-top: 8px; border-top: 1px solid var(--line); font-size: .85rem; }
.detail-shirt strong { color: var(--ink); }
.detail-shirt-meaning { display: block; margin-top: 3px; }
.tribe-history { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); }
.tribe-history h3 { font: 1.2rem var(--serif); }
.tribe-history p { margin-top: 5px; color: var(--muted); font-size: .9rem; }
.role-list { margin: 18px 0 0; }
.role-list > div { border-top: 1px solid var(--line); padding: 11px 0; }
.role-list dt { font-weight: 750; font-size: .88rem; }
.role-list dd { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.media-dialog { width: min(930px, calc(100% - 28px)); color: var(--white); background: #0b2029; border-color: #acc9b74f; }
.media-dialog h2 { font: 1.45rem var(--serif); letter-spacing: -.02em; }
.media-frame { display: grid; place-items: center; background: #060f14; border-radius: 3px; }
.media-frame img, .media-frame video { width: 100%; max-height: min(67dvh, 620px); object-fit: contain; }
.media-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; }
.media-controls p { color: #e0eadf; font-size: .83rem; text-align: center; }
.media-controls p small { display: block; color: #a9c5b6; font-size: .68rem; margin-top: 2px; }

@media (max-width: 1000px) {
  .camp-notes { grid-template-columns: repeat(2, 1fr); }
  .shell { width: calc(100% - 62px); }
  .hero-layout { min-height: 560px; gap: 2.65rem; }
  .hero-photo img { height: clamp(305px, 42vw, 400px); }
  .section-heading > p { max-width: 300px; }
  .tribe-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tribe-card { padding: 12px; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 75px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 64px; gap: 10px; flex-wrap: wrap; }
  .brand { font-size: .78rem; gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand small { font-size: .51rem; }
  .nav { width: 100%; gap: 10px 17px; flex-wrap: wrap; padding-bottom: 12px; }
  .nav-enhanced .nav { display: none; position: absolute; inset: 100% 0 auto; padding: 12px 20px 20px; background: var(--night); border-bottom: 1px solid #adc6b84d; }
  .nav-enhanced .nav.is-open { display: flex; flex-direction: column; align-items: stretch; }
  .nav-enhanced .nav a { padding: 8px 9px; }
  .nav-enhanced .nav-toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dfb47b75; background: none; border-radius: 4px; color: var(--white); font-size: .74rem; padding: 6px 9px; min-height: 38px; }
  .nav-toggle svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
  .hero-layout { grid-template-columns: 1fr; gap: 2.25rem; min-height: 0; padding-block: 45px 35px; }
  .hero h1 { font-size: clamp(4.7rem, 15vw, 6.4rem); }
  .hero-photo { justify-self: center; width: 100%; transform: none; }
  .hero-photo img { height: clamp(260px, 77vw, 380px); object-position: 50% 51%; }
  .hero-footer { font-size: .57rem; gap: 15px; }
  .section-heading, .values-header { display: block; }
  .section-heading > p, .values-header > p { margin-top: 11px; max-width: 520px; }
  .history-layout, .assembly-layout, .questions-layout { grid-template-columns: 1fr; gap: 25px; }
  .tribe-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tribe-name { font-size: 1.43rem; }
  .levi-card { grid-template-columns: 95px 1fr; gap: 14px; padding: 16px; }
  .levi-card img { width: 95px; }
  .levi-card h3 { font-size: 1.85rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .camp-photo img { aspect-ratio: 1.5; object-position: 50% 68%; }
  .camp-notes { grid-template-columns: 1fr; gap: 10px; }
  .camp-notes article { padding: 14px 15px; }
  .campfire img { aspect-ratio: 1.6; }
  .location-grid { grid-template-columns: 1fr; gap: 12px; }
  .location-card { padding: 17px; }
  .footer-inner { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 30px); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { font-size: .76rem; gap: 8px; padding-inline: 10px; }
  .levi-card { grid-template-columns: 73px 1fr; }
  .tribe-detail { grid-template-columns: 78px 1fr; gap: 10px; }
  .tribe-detail h2 { font-size: 2.1rem; }
  .gallery-heading h3 { font-size: 1.44rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

[hidden] { display: none !important; }
.community { background: #e8eddf; border-block: 1px solid var(--line); }
.community-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(24px, 6vw, 70px); }
.community-intro { margin-top: 13px; color: var(--muted); }
.community-status { margin: 10px 0; color: var(--muted); font-size: .88rem; }
.comments-list { display: grid; gap: 10px; margin: 14px 0; }
.comment-card, .memory-card { padding: 14px 16px; border: 1px solid var(--line); border-radius: 4px; overflow-wrap: anywhere; }
.comment-card { background: var(--white); }
.comment-card h4 { margin: 0 0 5px; font-size: .94rem; }
.comment-card p, .memory-card p { white-space: pre-wrap; font-size: .9rem; }
.comment-card small { color: var(--muted); }
.community-form { display: grid; gap: 12px; margin-top: 16px; align-items: start; justify-items: start; }
.community-form label { width: 100%; font-weight: 690; font-size: .86rem; }
.community-form input, .community-form textarea, .community-form select { display: block; width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid #adbaac; border-radius: 4px; font: inherit; background: var(--white); color: var(--ink); }
.community-form textarea { resize: vertical; }
.community-note { font-size: .78rem; color: var(--muted); }
.community-form button[disabled] { cursor: wait; opacity: .6; }
.registration-card { margin-top: 22px; padding: clamp(18px, 4vw, 32px); border: 1px solid #cbd6c9; border-radius: 5px; background: var(--paper); }
.registration-card h3 { margin-top: 8px; font: clamp(1.8rem, 4vw, 2.5rem)/1.1 var(--serif); }
.registration-card .community-form { margin-top: 0; }
.registration-card input { min-height: 44px; font-size: 1rem; }
.registration-card #registration-access .button { margin-top: 12px; }
.registration-card .registration-consent { display: flex; align-items: flex-start; gap: 9px; }
.registration-consent input[type="checkbox"] { width: 1.1rem; height: 1.1rem; min-height: 0; padding: 0; flex: none; accent-color: var(--ink); }
.registration-card .community-status:empty { margin: 0; }
.administration h2 { margin-bottom: 12px; }
.administration .community-layout { margin-top: 24px; }
.admin-registrations { margin-top: 24px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 5px; }
.admin-registrations summary { cursor: pointer; font-weight: 700; }
.visit-totals { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 12px; }
.visit-totals div { min-width: 125px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 5px; }
.visit-totals dt { color: var(--muted); font-size: .84rem; }
.visit-totals dd { margin: 0; font: 1.7rem var(--serif); }
.visit-table-wrap { overflow-x: auto; margin-block: 12px; }
.visit-table { width: 100%; border-collapse: collapse; font-size: .85rem; text-align: left; }
.visit-table caption { text-align: left; margin-bottom: 8px; color: var(--muted); }
.visit-table :is(th, td) { border-bottom: 1px solid var(--line); padding: 7px 10px; }
.visit-table :is(th, td):last-child { text-align: right; }
.admin-accesses { margin-block: 20px 12px; }
.access-table td { white-space: nowrap; }
.question-topic { font: 1.35rem var(--serif); margin-top: 24px; padding-bottom: 10px; }
.terms-dialog { width: min(560px, calc(100% - 28px)); }
.terms-dialog > h2 { font: clamp(1.6rem, 5vw, 2.25rem) var(--serif); margin: 4px 0 10px; }
.terms-acceptance { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.terms-acceptance input { width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--ink); }
.terms-dialog details { border-top: 1px solid var(--line); padding-top: 10px; }
.terms-dialog details[open] { padding-bottom: 14px; }
.terms-dialog summary { cursor: pointer; font-weight: 700; }
.terms-dialog details :is(h3, h4) { margin-top: 14px; }
.terms-dialog details p { margin: 9px 0 0; font-size: .88rem; }
.footer-measurement { color: #b4c8bc; font-size: .8rem; padding-bottom: 14px; }
.footer-measurement summary { cursor: pointer; }
.footer-measurement p { margin-top: 8px; }
.terms-measurement { margin-top: 8px; border: 1px solid #b4c8bc; border-radius: 4px; padding: 6px 9px; color: inherit; }
.terms-measurement[aria-pressed="true"] { background: #d3e3d7; color: var(--night); }
.footer-terms { color: inherit; }
.action-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 9px; }
.camp-memories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: start; gap: 14px; margin-bottom: 16px; }
.camp-memories:empty { margin-bottom: 0; }
.memory-card { background: var(--white); }
.camps .memory-card { border-color: #bfdcc94a; background: #112b30; }
.memory-card time { color: #805c39; font-size: .75rem; }
.camps .memory-card time { color: var(--gold); }
.memory-card h4 { margin: 4px 0 8px; font: 1.45rem var(--serif); }
.memory-card img { width: 100%; height: auto; margin-bottom: 12px; border-radius: 3px; }
.memory-card > img { aspect-ratio: 16 / 10; object-fit: cover; }
.memory-card details img { margin: 12px 0 0; }
.memory-card summary { cursor: pointer; font-size: .88rem; font-weight: 700; }
.memory-card details p { margin-block: 8px; }
.memory-excerpt { display: block; margin-block: 4px 8px; font-weight: 400; }
.memory-card details[open] .memory-excerpt { display: none; }
.memory-photo-list { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.memory-photo-list:empty, .memory-status:empty { display: none; }
.memory-photo-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.memory-preview { width: 100%; }
.comment-delete { color: #9c2e34; }
.delete-confirmation { margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; }
.delete-confirmation .community-status:empty { display: none; }
#admin-registrations-copy { margin-top: 12px; }
.registration-copy-manual { display: block; }
.registration-copy-manual textarea { display: block; width: 100%; font: inherit; padding: 8px; }
.site-rating { background: var(--paper); }
.rating-entry { align-self: center; }
.rating-entry .community-form, .rating-entry .community-status:empty { margin: 0; }
.rating-form fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.rating-form legend { font-weight: 750; }
.rating-stars { position: relative; display: inline-block; color: var(--paper); font: 2.2rem/1.35 system-ui, sans-serif; white-space: nowrap; }
.rating-stars::before { content: "★★★★★"; -webkit-text-stroke: 1px #687872; }
.rating-stars::after { content: "★★★★★"; position: absolute; inset: 0 auto 0 0; width: var(--rating-fill, 0%); color: #9b6321; overflow: hidden; }
.rating-choices { position: relative; display: grid; width: max-content; grid-template-columns: repeat(10, 1fr); }
.rating-choices .rating-stars { grid-column: 1 / -1; grid-row: 1; pointer-events: none; }
.rating-choices .rating-option { position: relative; width: 100%; min-width: 0; cursor: pointer; grid-row: 1; }
.rating-choices input, .rating-option span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; margin: 0; }
.rating-choices input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 1px; border-radius: 2px; }
#rating-empty { margin-top: 5px; }
.footer-admin { color: #c8d9d1; font-size: .75rem; text-decoration: underline; text-underline-offset: 3px; }

.neckerchiefs { background: #eceee3; border-block: 1px solid var(--line); }
.neckerchiefs .section-heading > div:first-child { flex: 1; }
.neckerchiefs .section-heading > div:last-child { flex: 0 0 370px; max-width: 370px; color: var(--muted); font-size: .94rem; }
.insignia-origin { margin-top: 14px; font-size: .87rem; color: var(--muted); }
.neckerchiefs .section-heading .inline-link { display: inline-block; margin-top: 18px; }
.neckerchief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.neckerchief-card { border: 1px solid #cbd4c4; border-radius: 5px; background: var(--white); overflow: hidden; }
.neckerchief-art { position: relative; background: radial-gradient(ellipse at 50% 42%, #fcfbf1, #e2e7d8); border-bottom: 1px solid var(--line); }
.neckerchief-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.insignia-number { position: absolute; top: 17px; left: 20px; color: #6b7e6b; font-size: .7rem; letter-spacing: .12em; }
.fabric-swatches { position: absolute; right: 18px; bottom: 16px; display: flex; gap: 5px; }
.fabric-swatches span { width: 13px; height: 13px; border: 1px solid #73827466; border-radius: 50%; background: var(--swatch); }
.neckerchief-copy { padding: 23px 23px 0; }
.neckerchief-copy h3 { font: 1.7rem/1.12 var(--serif); letter-spacing: -.025em; }
.neckerchief-copy > p { margin-top: 12px; min-height: 5.1em; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.color-meanings { margin-top: 20px; border-top: 1px solid var(--line); }
.color-meanings summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 17px; cursor: pointer; font-size: .81rem; font-weight: 700; line-height: 1.5; }
.color-meanings summary::-webkit-details-marker { display: none; }
.color-meanings summary span { font-size: 1.3rem; line-height: 1; color: #4f6b56; }
.color-meanings[open] summary span { transform: rotate(45deg); }
.color-meanings dl { margin: 0 0 22px; font-size: .83rem; }
.color-meanings dl > div + div { margin-top: 11px; }
.color-meanings dt { font-weight: 750; }
.color-meanings dd { margin: 2px 0 0; color: var(--muted); line-height: 1.6; }
.insignia-caption { margin-top: 22px; max-width: 760px; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.distinctions { background: var(--paper); }
.distinction-label { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid #bdcbb8; }
.distinction-label h3 { font: 1.8rem/1.2 var(--serif); }
.distinction-label p { color: var(--muted); font-size: .85rem; }
.patch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.patch-card { overflow: hidden; }
.patch-card img { width: 100%; height: auto; background: #e9ecdf; border-radius: 5px; }
.patch-card > div { padding: 20px 4px 0; }
.insignia-kind { color: #536d55; font-size: .61rem; font-weight: 750; letter-spacing: .12em; }
.patch-card h3, .pin-card h3 { margin: 8px 0 12px; font: 1.55rem/1.15 var(--serif); letter-spacing: -.025em; }
.patch-card > div > p:last-child, .pin-card > div > p:last-child { color: var(--muted); font-size: .88rem; line-height: 1.75; }
.pins-label { margin-top: 52px; }
.pin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pin-card { display: grid; grid-template-columns: .75fr 1fr; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); padding: 12px 20px 20px 0; }
.pin-card img { width: 100%; height: auto; }
.pin-card > div { padding-top: 12px; }
.distinction-purpose { display: flex; align-items: flex-start; gap: 22px; margin-top: 36px; padding: 26px 30px; background: #dae5d4; border-left: 3px solid #537c5e; border-radius: 0 5px 5px 0; }
.distinction-purpose > span { font-size: 1.8rem; color: #5f7d59; }
.distinction-purpose > svg { flex: none; color: #5f7d59; }
.distinction-purpose h3 { font: 1.5rem/1.3 var(--serif); margin: 0 0 8px; }
.distinction-purpose p { max-width: 800px; color: #415c48; font-size: .9rem; }
@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .neckerchiefs .section-heading > div:last-child { flex-basis: 300px; max-width: 300px; }
  .neckerchief-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pin-card { grid-template-columns: 1fr; padding: 10px 24px 24px; }
  .pin-card img { max-width: 270px; margin-inline: auto; }
}
@media (min-width: 761px) and (max-width: 900px) {
  .header-inner { gap: 20px; }
  .nav { gap: 12px; font-size: .74rem; }
  .brand { font-size: .74rem; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .nav-cta { padding: 8px 10px; }
}
@media (max-width: 620px) {
  .neckerchief-grid, .patch-grid, .pin-grid { grid-template-columns: 1fr; }
  .neckerchief-grid { gap: 20px; }
  .neckerchief-art img { max-height: 260px; object-fit: contain; }
  .neckerchief-copy { padding-inline: 22px; }
  .neckerchief-copy > p { min-height: 0; }
  .patch-card { display: grid; grid-template-columns: 1fr; }
  .patch-card img { max-height: 260px; object-fit: contain; }
  .patch-card > div { padding-top: 15px; }
  .patch-grid { gap: 34px; }
  .pin-card { padding-top: 0; }
  .pin-card img { max-width: 250px; }
  .distinction-purpose { padding: 22px; gap: 15px; }
}
@media (max-width: 760px) {
  .community-layout { grid-template-columns: 1fr; }
  .neckerchiefs .section-heading > div:last-child { max-width: 520px; margin-top: 16px; }
}
