:root {
  --forest: #123f32;
  --forest-dark: #082c27;
  --navy: #083c5a;
  --ember: #c94420;
  --ember-dark: #a73016;
  --gold: #d6aa30;
  --canvas: #f1ecdf;
  --paper: #fbf8f0;
  --ink: #17231e;
  --muted: #5e675f;
  --line: #d6cfbf;
  --white: #fffdf7;
  --max-width: 1180px;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.wrap { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.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: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: #fff; background: #000; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.utility-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px max(20px, calc((100vw - var(--max-width)) / 2));
  color: #fff;
  background: var(--forest);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.utility-bar p { margin: 0; }
.utility-bar p:first-child span { color: var(--gold); }
.utility-values { word-spacing: .5em; }
.utility-values b { color: var(--gold); font-weight: 400; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px max(20px, calc((100vw - var(--max-width)) / 2));
  border-bottom: 1px solid rgba(18, 63, 50, .17);
  background: rgba(251, 248, 240, .97);
  box-shadow: 0 8px 24px rgba(8, 44, 39, .08);
}
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand img { width: 210px; height: auto; }
.brand span { padding-left: 18px; border-left: 1px solid var(--line); line-height: 1.15; text-transform: uppercase; }
.brand strong { display: block; font-family: var(--display); font-size: 1.12rem; letter-spacing: .04em; }
.brand small { display: block; margin-top: 5px; color: var(--ember); font-size: .67rem; font-weight: 700; letter-spacing: .13em; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { padding: 10px 13px; text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ember); }
.site-nav a:last-child { margin-left: 10px; padding: 11px 18px; color: #fff; background: var(--ember); border: 2px solid var(--ember); }
.site-nav a:last-child:hover, .site-nav a:last-child:focus-visible { color: #fff; background: var(--ember-dark); border-color: var(--ember-dark); }
.menu-toggle { display: none; width: 48px; height: 44px; padding: 10px; border: 0; color: var(--forest); background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 100%; height: 3px; margin-block: 5px; background: currentColor; }

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--forest-dark);
  background-image: url("images/troop-48-climbing.jpg");
  background-position: center 42%;
  background-size: cover;
}
.hero-scrim { position: absolute; inset: 0; background: rgba(3, 28, 23, .48); }
.hero-content { position: relative; z-index: 1; padding-block: 90px 110px; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: .75rem; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow span { margin-inline: 8px; color: #fff; }
.eyebrow.dark { color: var(--ember); }
.hero h1 { max-width: 720px; margin: 0; color: var(--white); font-family: var(--display); font-size: clamp(4rem, 8vw, 7.3rem); line-height: .82; letter-spacing: -.055em; text-shadow: 0 4px 24px rgba(0, 0, 0, .28); }
.hero h1::after { content: ""; display: block; width: 84px; height: 7px; margin-top: 28px; background: var(--gold); }
.hero-intro { max-width: 540px; margin: 28px 0 30px; color: #fff; font-family: var(--display); font-size: 1.25rem; line-height: 1.45; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 20px; border: 2px solid transparent; text-decoration: none; font-size: .78rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; transition: transform .16s ease, background-color .16s ease, color .16s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button svg { width: 21px; height: 21px; }
.button-primary { color: #fff; background: var(--ember); border-color: var(--gold); }
.button-primary:hover, .button-primary:focus-visible { background: var(--ember-dark); }
.button-outline { color: #fff; background: rgba(8, 44, 39, .82); border-color: var(--gold); }
.button-outline:hover, .button-outline:focus-visible { color: var(--forest-dark); background: var(--gold); }
.button-dark { color: #fff; background: var(--forest-dark); border-color: var(--forest-dark); }
.button-dark:hover, .button-dark:focus-visible { background: #000; }
.hero-note { position: absolute; z-index: 1; right: max(36px, calc((100vw - var(--max-width)) / 2)); bottom: 42px; margin: 0; padding-left: 18px; border-left: 4px solid var(--gold); font-family: var(--display); font-size: 1.02rem; font-style: italic; line-height: 1.55; text-align: right; }

.quick-links { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.quick-link { min-height: 126px; display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 18px; color: var(--ink); background: var(--paper); border: 1px solid rgba(18, 63, 50, .13); box-shadow: 0 18px 40px rgba(8, 44, 39, .15); text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.quick-link:hover, .quick-link:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 46px rgba(8, 44, 39, .2); }
.quick-icon { align-self: stretch; display: grid; place-items: center; color: #fff; }
.quick-icon svg { width: 38px; height: 38px; }
.quick-calendar .quick-icon { background: var(--forest); }
.quick-packing .quick-icon { background: var(--navy); }
.quick-resources .quick-icon { background: var(--ember); }
.quick-link strong, .quick-link small { display: block; }
.quick-link strong { margin-bottom: 4px; font-family: var(--display); font-size: 1.2rem; line-height: 1.15; }
.quick-link small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.quick-link .arrow { padding-right: 18px; color: var(--ember); font-size: 1.45rem; }

.about-section { padding-top: 115px; background-color: var(--canvas); }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 90px; align-items: center; padding-bottom: 90px; }
.about-copy h2, .section-heading h2, .packing-copy h2, .closing-cta h2 { margin: 0; color: var(--forest-dark); font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.035em; }
.about-copy > p:not(.eyebrow) { max-width: 680px; color: #3f4942; font-family: var(--display); font-size: 1.22rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.text-link { color: var(--forest); font-size: .8rem; font-weight: 900; letter-spacing: .06em; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; text-transform: uppercase; }
.text-link:hover, .text-link:focus-visible { color: var(--ember); }
.about-image { position: relative; margin: 0; padding: 0 0 26px 26px; }
.about-image::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 76%; background: var(--gold); }
.about-image img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 32%; border: 9px solid var(--paper); box-shadow: 0 18px 35px rgba(8, 44, 39, .16); }
.about-image figcaption { position: absolute; right: 14px; bottom: -7px; padding: 10px 14px; color: #fff; background: var(--forest); font-family: var(--display); font-size: .9rem; font-style: italic; }
.values-band { padding-block: 34px; color: #fff; background-color: var(--forest); border-top: 5px solid var(--gold); }
.values-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.values-list span { min-height: 66px; padding: 7px 24px; border-right: 1px solid rgba(255, 255, 255, .26); text-align: center; }
.values-list span:last-child { border-right: 0; }
.values-list b, .values-list small { display: block; }
.values-list b { color: var(--gold); font-family: var(--display); font-size: 1.05rem; }
.values-list small { margin-top: 4px; color: rgba(255, 255, 255, .82); font-size: .74rem; }

.calendar-section { padding-block: 105px; background: var(--paper); }
.section-heading { margin-bottom: 38px; }
.split-heading { display: grid; grid-template-columns: 1fr minmax(300px, 480px); gap: 70px; align-items: end; }
.split-heading > p { margin: 0; color: var(--muted); font-family: var(--display); font-size: 1.05rem; }
.calendar-frame { padding: 10px; background: var(--forest); border-bottom: 7px solid var(--gold); box-shadow: 0 18px 45px rgba(8, 44, 39, .14); }
.calendar-frame iframe { display: block; width: 100%; height: 680px; border: 0; background: #fff; }
.calendar-mobile { display: none; }

.packing-feature { padding-block: 110px; overflow: hidden; background-color: var(--canvas); border-bottom: 1px solid var(--line); }
.packing-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); gap: 80px; align-items: center; }
.packing-copy > p:not(.eyebrow):not(.resource-note) { max-width: 570px; color: #3f4942; font-family: var(--display); font-size: 1.16rem; }
.resource-note { margin: 24px 0; padding: 14px 16px; border-left: 5px solid var(--gold); color: var(--muted); background: rgba(255, 253, 247, .72); font-size: .82rem; }
.download-list { display: grid; gap: 9px; margin: 30px 0 0; padding: 0; list-style: none; }
.download-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 20px; padding: 14px 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--forest); text-decoration: none; }
.download-list a:hover, .download-list a:focus-visible { border-left-color: var(--ember); background: #fff; }
.download-list span { font-weight: 800; }
.download-list small { grid-column: 1; color: var(--muted); font-size: .7rem; }
.download-list b { grid-column: 2; grid-row: 1 / span 2; color: var(--ember); font-size: 1.5rem; }
.packing-visuals { position: relative; min-height: 690px; }
.packing-visuals figure { position: absolute; margin: 0; padding: 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 44px rgba(8, 44, 39, .13); }
.essentials-figure { z-index: 2; top: 0; left: 0; width: 57%; transform: rotate(-2deg); }
.pack-figure { right: 0; bottom: 0; width: 55%; transform: rotate(2.5deg); }
.packing-visuals img { width: 100%; max-height: 610px; object-fit: contain; background: #fff; }

.resource-section { padding-block: 105px 115px; color: #fff; background-color: var(--forest-dark); border-top: 7px solid var(--gold); }
.light-heading h2 { color: #fff; }
.light-heading > p { color: rgba(255, 255, 255, .7); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .22); border-left: 1px solid rgba(255, 255, 255, .22); }
.resource-grid a { position: relative; min-height: 220px; display: flex; flex-direction: column; padding: 28px 30px; border-right: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); text-decoration: none; transition: background-color .15s ease; }
.resource-grid a:hover, .resource-grid a:focus-visible { background: rgba(255, 255, 255, .08); }
.resource-number { color: var(--gold); font-size: .7rem; font-weight: 900; letter-spacing: .15em; }
.resource-grid strong { margin: auto 0 10px; color: #fff; font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.resource-grid small { max-width: 90%; color: rgba(255, 255, 255, .68); font-size: .78rem; }
.resource-grid b { position: absolute; top: 24px; right: 26px; color: var(--gold); font-size: 1.3rem; }

.archive-section { padding-block: 105px 115px; background: var(--paper); }
.archive-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 38px; align-items: start; }
.newsletter-panel, .troop-documents { padding: 34px; border: 1px solid var(--line); background: var(--canvas); box-shadow: 0 16px 34px rgba(8, 44, 39, .09); }
.archive-subheading { padding-bottom: 22px; border-bottom: 4px solid var(--forest); }
.archive-subheading h3, .gallery-heading h3 { margin: 0; color: var(--forest-dark); font-family: var(--display); font-size: clamp(2rem, 3vw, 3rem); line-height: 1; }
.newsletter-list { margin: 0; padding: 0; list-style: none; }
.newsletter-list li { border-bottom: 1px solid var(--line); }
.newsletter-list li:last-child { border-bottom: 0; }
.newsletter-list a { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 21px 4px; text-decoration: none; }
.newsletter-list a:hover, .newsletter-list a:focus-visible { color: var(--ember); }
.newsletter-list b, .newsletter-list small { display: block; }
.newsletter-list b { font-family: var(--display); font-size: 1.25rem; }
.newsletter-list small { color: var(--muted); font-size: .7rem; }
.newsletter-list strong { color: var(--ember); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.document-cards { display: grid; gap: 12px; margin-top: 24px; }
.document-cards a { min-height: 116px; display: grid; grid-template-columns: 42px 1fr; gap: 2px 14px; align-content: center; padding: 17px; color: var(--ink); background: var(--paper); border-left: 5px solid var(--navy); text-decoration: none; }
.document-cards a:hover, .document-cards a:focus-visible { border-left-color: var(--ember); background: #fff; }
.document-cards span { grid-row: 1 / span 2; color: var(--ember); font-weight: 900; }
.document-cards strong { font-family: var(--display); font-size: 1.04rem; line-height: 1.2; }
.document-cards small { color: var(--muted); font-size: .7rem; }
.gallery-section { margin-top: 70px; padding: 34px; color: #fff; background: var(--forest); border-bottom: 7px solid var(--gold); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 26px; }
.gallery-heading h3 { color: #fff; }
.gallery-heading > p { max-width: 330px; margin: 0; color: rgba(255, 255, 255, .72); font-family: var(--display); text-align: right; }
.photo-grid { display: grid; grid-template-columns: .9fr 1.1fr 1.1fr; gap: 12px; }
.photo-grid figure { position: relative; min-height: 360px; margin: 0; overflow: hidden; background: var(--forest-dark); }
.photo-grid img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.photo-grid figure:first-child img { object-position: center 36%; }
.photo-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 14px; color: #fff; background: rgba(8, 44, 39, .87); font-family: var(--display); font-size: .85rem; }

.closing-cta { padding-block: 70px; background: var(--gold); }
.closing-grid { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.closing-cta h2 { max-width: 800px; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.closing-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { padding-block: 48px; color: rgba(255, 255, 255, .78); background: #06243a; border-top: 5px solid #1874a8; }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 50px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 185px; filter: brightness(0) invert(1); }
.footer-brand p { margin: 0; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .26); font-size: .78rem; }
.footer-brand strong { color: #fff; font-family: var(--display); font-size: 1.05rem; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer nav a { color: #fff; font-size: .69rem; font-weight: 900; letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--gold); }
.footer-meta { margin: 0; font-size: .67rem; line-height: 1.7; text-align: right; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 1040px) {
  .brand img { width: 170px; }
  .brand span { display: none; }
  .site-nav a { padding-inline: 9px; }
  .quick-link { grid-template-columns: 65px 1fr auto; gap: 12px; }
  .quick-link strong { font-size: 1rem; }
  .about-grid { gap: 50px; }
  .packing-grid { grid-template-columns: .9fr 1.1fr; gap: 40px; }
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-layout { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer nav { justify-self: end; }
  .footer-meta { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 780px) {
  html { scroll-padding-top: 76px; }
  .wrap { width: min(calc(100% - 28px), var(--max-width)); }
  .utility-values { display: none; }
  .utility-bar { justify-content: center; }
  .site-header { min-height: 74px; padding-block: 10px; }
  .brand img { width: 178px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: 10px 20px 22px; background: var(--paper); border-bottom: 4px solid var(--gold); box-shadow: 0 18px 28px rgba(8, 44, 39, .16); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 5px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { margin: 10px 0 0; padding: 12px 14px; text-align: center; }
  .hero { min-height: 650px; background-position: 60% center; }
  .hero-scrim { background: rgba(3, 28, 23, .58); }
  .hero-content { align-self: end; padding-block: 100px 125px; }
  .hero h1 { max-width: 540px; font-size: clamp(3.6rem, 17vw, 5.7rem); }
  .hero-intro { max-width: 430px; font-size: 1.04rem; }
  .hero-note { display: none; }
  .button-row { display: grid; max-width: 430px; }
  .button { width: 100%; }
  .quick-links { grid-template-columns: 1fr; margin-top: 24px; }
  .quick-link { min-height: 104px; grid-template-columns: 70px 1fr auto; }
  .about-section { padding-top: 85px; }
  .about-grid { grid-template-columns: 1fr; padding-bottom: 70px; }
  .about-image { max-width: 520px; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .values-list span { border-right: 1px solid rgba(255, 255, 255, .26); border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .values-list span:nth-child(even) { border-right: 0; }
  .values-list span:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .calendar-section, .resource-section, .archive-section { padding-block: 78px; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .calendar-frame { width: calc(100% - 16px); padding: 0; border: 0; background: transparent; box-shadow: none; }
  .calendar-frame iframe { display: none; }
  .calendar-mobile { min-height: 340px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 38px 28px; color: #fff; background: var(--forest); border-bottom: 7px solid var(--gold); text-align: center; }
  .calendar-mobile > span { width: 72px; height: 72px; display: grid; place-items: center; color: var(--gold); border: 2px solid var(--gold); border-radius: 50%; }
  .calendar-mobile svg { width: 38px; height: 38px; }
  .calendar-mobile h3 { margin: 24px 0 7px; color: #fff; font-family: var(--display); font-size: 2rem; line-height: 1; }
  .calendar-mobile p { max-width: 390px; margin: 0 0 24px; color: rgba(255, 255, 255, .75); }
  .packing-feature { padding-block: 78px; background-image: none; }
  .packing-grid { grid-template-columns: 1fr; }
  .packing-visuals { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .packing-visuals figure { position: static; width: auto; padding: 8px; transform: none; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-grid a { min-height: 180px; }
  .archive-layout { grid-template-columns: 1fr; }
  .gallery-section { margin-top: 48px; padding: 20px; }
  .gallery-heading { align-items: start; flex-direction: column; gap: 12px; }
  .gallery-heading > p { text-align: left; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid figure:last-child { grid-column: 1 / -1; min-height: 300px; }
  .closing-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer nav { justify-self: start; flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .brand img { width: 154px; }
  .hero { min-height: 610px; }
  .hero h1 { font-size: 3.65rem; }
  .hero-intro { font-size: 1rem; }
  .quick-link { grid-template-columns: 62px 1fr auto; }
  .quick-link small { font-size: .72rem; }
  .about-copy h2, .section-heading h2, .packing-copy h2 { font-size: 2.7rem; }
  .about-actions { display: grid; }
  .values-list { grid-template-columns: 1fr; }
  .values-list span, .values-list span:nth-child(even) { border-right: 0; }
  .values-list span:last-child { grid-column: auto; }
  .packing-visuals { grid-template-columns: 1fr; }
  .pack-figure { display: none; }
  .newsletter-panel, .troop-documents { padding: 24px 18px; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid figure:last-child { grid-column: auto; }
  .closing-actions { display: grid; }
  .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-brand p { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
