/* Shared Pack 275 website styles. */
:root {
  --navy:#003f87;
  --gold:#ffcc00;
  --cream:#fafcff;
  --green:#0055a4
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:90px
}

body {
  margin:0;
  background:var(--cream);
  color:var(--navy);
  font:17px/1.65 system-ui,sans-serif
}

a {
  color:inherit
}

a:focus-visible,summary:focus-visible {
  outline:3px solid #b87215;
  outline-offset:5px
}

.wrap {
  max-width:1160px;
  margin:auto;
  padding:0 32px
}

header {
  background:var(--cream);
  border-bottom:1px solid #003f8720
}

nav {
  min-height:94px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px
}

.brand {
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:13px;
  font-size:19px;
  font-weight:850;
  line-height:1.2
}

.badge {
  display:grid;
  place-items:center;
  background:var(--navy);
  color:var(--gold);
  height:53px;
  width:48px;
  clip-path:polygon(0 0,100% 0,100% 76%,50% 100%,0 76%);
  font-size:18px
}

.brand small {
  display:block;
  font-size:10px;
  letter-spacing:2px;
  margin-top:6px;
  text-transform:uppercase
}

.links {
  display:flex;
  align-items:center;
  gap:30px;
  font-size:14px;
  font-weight:650
}

.links a {
  text-decoration:none
}

.button {
  display:inline-block;
  padding:13px 23px;
  background:var(--gold);
  color:var(--navy);
  border-radius:4px;
  text-decoration:none;
  font-size:14px;
  font-weight:800
}

.hero {
  background:var(--navy);
  color:var(--cream);
  overflow:hidden
}

.hero-inner {
  min-height:600px;
  display:grid;
  grid-template-columns:1.05fr 1fr;
  align-items:center;
  gap:35px
}

.eyebrow {
  font-size:12px;
  font-weight:800;
  letter-spacing:2.5px;
  text-transform:uppercase
}

.hero .eyebrow {
  color:var(--gold)
}

h1 {
  font-size:clamp(46px,6vw,76px);
  line-height:1.06;
  letter-spacing:-3px;
  margin:22px 0
}

h1 em {
  color:var(--gold);
  font-style:normal
}

p {
  max-width:620px
}

.hero p {
  color:#d2dce2;
  font-size:18px;
  max-width:450px;
  margin-bottom:30px
}

.hero-art {
  width:100%;
  height:auto
}

.hero-note {
  font-size:12px!important;
  margin-top:20px
}

.ribbon {
  background:var(--gold)
}

.ribbon .wrap {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:20px;
  padding-bottom:20px;
  font-size:13px;
  font-weight:800
}

.section {
  padding:85px 0
}

h2 {
  font-size:clamp(31px,4vw,46px);
  line-height:1.16;
  letter-spacing:-1.5px;
  margin:14px 0 22px
}

h3 {
  font-size:22px;
  margin:13px 0 7px
}

.intro {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:90px
}

.muted {
  color:#435c77
}

.activities {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:35px;
  margin-top:40px
}

.activity {
  padding-top:22px;
  border-top:2px solid #b9cce3
}

.number {
  font-size:12px;
  letter-spacing:2px;
  color:var(--green);
  font-weight:800
}

.activity p {
  font-size:15px;
  color:#435c77
}

.dens {
  background:#eaf2fc
}

.den-row {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  margin:35px 0 20px;
  border:1px solid #b9cce3
}

.den {
  padding:24px 12px;
  text-align:center;
  border-right:1px solid #b9cce3
}

.den:last-child {
  border:0
}

.den strong {
  display:block;
  font-size:18px
}

.den span {
  font-size:13px
}

.visit {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px
}

.location {
  padding:32px;
  background:#eaf2fc;
  border-radius:4px
}

.location h3 {
  margin-top:0
}

.location p {
  font-size:15px
}

.text-link {
  font-size:14px;
  font-weight:750;
  text-underline-offset:5px
}

.join {
  background:var(--green);
  color:white
}

.join-grid {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:70px;
  align-items:center
}

.join p {
  color:#e2eae4
}

.join-actions {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px
}

.resources {
  padding:55px 0
}

.resource-links {
  display:flex;
  flex-wrap:wrap;
  gap:16px 35px
}

.resource-links a {
  font-size:14px;
  font-weight:700
}

footer {
  border-top:1px solid #b9cce3;
  padding:30px 0;
  font-size:12px;
  color:#435c77
}

.footer-row {
  display:flex;
  justify-content:space-between;
  gap:30px
}

details {
  border-top:1px solid #b9cce3;
  padding:18px 0
}

summary {
  cursor:pointer;
  font-weight:700
}

details p {
  font-size:15px
}

.faq {
  max-width:800px;
  margin-top:50px
}

@media(max-width:760px) {
  .wrap {
  padding:0 22px
}

nav {
  min-height:84px
}

.links {
  gap:15px
}

.links .optional {
  display:none
}

.brand {
  font-size:16px
}

.brand small {
  font-size:8px
}

.hero-inner {
  grid-template-columns:1fr;
  padding-top:45px;
  gap:0
}

h1 {
  letter-spacing:-2px
}

.hero-art {
  max-height:350px
}

.ribbon .wrap {
  flex-wrap:wrap;
  justify-content:center;
  gap:6px 25px
}

.intro,.visit,.join-grid {
  grid-template-columns:1fr;
  gap:25px
}

.section {
  padding:55px 0
}

.activities {
  grid-template-columns:1fr;
  gap:12px
}

.den-row {
  grid-template-columns:repeat(3,1fr)
}

.den {
  border-bottom:1px solid #b9cce3
}

.footer-row {
  flex-direction:column;
  gap:8px
}

.hero p {
  font-size:17px
}


}

.pack-logo {
  width:68px;
  height:68px;
  object-fit:contain;
  flex-shrink:0
}

.photo-slider {
  min-width:0;
  padding:35px 0
}

.slides {
  border-radius:12px;
  overflow:hidden;
  background:#002b5b
}

.slide {
  margin:0;
  position:relative
}

.slide[hidden] {
  display:none
}

.slide img {
  display:block;
  width:100%;
  height:420px;
  object-fit:cover
}

.slide figcaption {
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  background:linear-gradient(transparent,rgba(0,25,62,.9));
  padding:65px 24px 22px;
  font-size:22px;
  font-weight:750
}

.slider-controls {
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:16px
}

.slider-controls[hidden] {
  display:none
}

.slider-controls button {
  cursor:pointer;
  border:1px solid #91b6e2;
  border-radius:5px;
  min-width:44px;
  min-height:44px;
  background:transparent;
  color:white;
  font:700 15px system-ui;
  padding:8px 13px
}

.slider-controls button:hover {
  background:#ffffff20
}

.slider-controls button:focus-visible,.photo-slider:focus-visible {
  outline:3px solid var(--gold);
  outline-offset:4px
}

.slider-controls [data-pause] {
  margin-left:auto
}

.photo-credit {
  font-size:11px!important;
  line-height:1.5!important;
  margin:12px 0 0!important;
  color:#d2dce2!important
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}

.slide-count {
  font-size:13px
}

@media(max-width:760px) {
  .pack-logo {
  width:52px;
  height:52px
}

.brand {
  font-size:13px
}

.brand small {
  letter-spacing:1px
}

.links .button {
  font-size:12px;
  padding:10px 12px
}

.hero-inner {
  padding-bottom:22px
}

.slide img {
  height:340px
}

.photo-slider {
  padding:20px 0
}

.slide figcaption {
  font-size:19px
}


}

@media(max-width:380px) {
  .wrap {
  padding:0 16px
}

.brand {
  font-size:11px
}

.brand small {
  font-size:7px
}

.pack-logo {
  width:43px;
  height:43px
}

.links .button {
  max-width:100px
}


}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}


}

.rank-emblem {
  display:block;
  width:96px;
  height:96px;
  object-fit:contain;
  margin:0 auto 16px
}

.den {
  display:flex;
  flex-direction:column;
  align-items:center
}

.den strong {
  line-height:1.3;
  min-height:47px;
  display:flex;
  align-items:center;
  justify-content:center
}

.den span {
  margin-top:6px
}

@media(max-width:760px) {
  .rank-emblem {
  width:78px;
  height:78px
}

.den {
  padding:22px 8px
}

.den strong {
  font-size:16px;
  min-height:42px
}


}

.family-nav {
  background:#eaf2fc;
  border-bottom:1px solid #c2d5ea
}

.family-nav .wrap {
  display:flex;
  gap:12px 28px;
  flex-wrap:wrap;
  padding-top:14px;
  padding-bottom:14px
}

.family-nav a {
  font-size:14px;
  font-weight:750;
  text-decoration:none;
  padding:4px 0
}

.family-nav a[aria-current=page] {
  text-decoration:underline;
  text-underline-offset:6px
}

.page-heading {
  background:var(--navy);
  color:white;
  padding:60px 0
}

.page-heading h1 {
  font-size:clamp(38px,6vw,62px);
  letter-spacing:-2px
}

.page-heading p {
  color:#d8e6f5
}

.content-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:50px
}

.info-panel {
  padding:28px;
  background:#eaf2fc;
  border-radius:8px;
  align-self:start
}

.info-panel p {
  font-size:15px
}

.info-panel h3 {
  margin-top:0
}

.content-section {
  margin-bottom:35px
}

.content-section h2 {
  font-size:30px
}

.cost-table {
  width:100%;
  border-collapse:collapse;
  font-size:15px
}

.cost-table th,.cost-table td {
  text-align:left;
  padding:16px 10px;
  border-bottom:1px solid #b9cce3;
  vertical-align:top
}

.cost-table caption {
  text-align:left;
  font-weight:750;
  margin:15px 0
}

.calendar-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0
}

.calendar-actions a {
  border:1px solid #9bb9dc;
  border-radius:4px;
  padding:10px 17px;
  font-weight:750;
  font-size:14px;
  text-decoration:none
}

.calendar-actions [hidden] {
  display:none
}

.calendar-layout {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:55px
}

.calendar-note {
  font-size:14px;
  color:#435c77
}

.calendar-box {
  background:#eaf2fc;
  border-radius:8px;
  padding:28px
}

.calendar-box strong {
  font-size:26px;
  display:block
}

.calendar-box span {
  display:block
}

.page-contact {
  margin-top:28px
}

main a {
  overflow-wrap:anywhere
}

@media(max-width:760px) {
  .content-grid,.calendar-layout {
  grid-template-columns:1fr;
  gap:24px
}

.family-nav .wrap {
  gap:8px 22px
}

.page-heading {
  padding:40px 0
}

.cost-table th,.cost-table td {
  padding:12px 6px
}

.cost-table {
  font-size:14px
}


}

.rank-tabs {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:30px 0
}

.rank-tabs button {
  font:750 15px system-ui;
  color:var(--navy);
  background:#eaf2fc;
  border:2px solid transparent;
  border-radius:8px;
  padding:14px 18px;
  cursor:pointer;
  min-height:48px
}

.rank-tabs button[aria-selected=true] {
  background:var(--gold);
  border-color:var(--navy)
}

.rank-tabs button:focus-visible {
  outline:3px solid #003f87;
  outline-offset:3px
}

.rank-panel {
  border:1px solid #bad0e8;
  border-radius:12px;
  padding:28px;
  margin-bottom:30px
}

.rank-panel[hidden] {
  display:none
}

.rank-title {
  display:flex;
  align-items:center;
  gap:22px
}

.rank-title img {
  width:85px;
  height:85px;
  object-fit:contain
}

.rank-title h2 {
  margin:0;
  font-size:30px
}

.rank-table {
  width:100%;
  border-collapse:collapse;
  margin-top:24px;
  font-size:16px
}

.rank-table th,.rank-table td {
  text-align:left;
  padding:14px 10px;
  border-bottom:1px solid #c6d7ea;
  vertical-align:top
}

.rank-table thead {
  background:#eaf2fc
}

.elective-note {
  background:#fff3b8;
  border-radius:8px;
  padding:20px;
  margin-top:24px
}

.uniform-visual {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:32px;
  align-items:start
}

.uniform-flyer {
  width:100%;
  height:auto;
  display:block;
  border-radius:10px
}

.uniform-intro {
  padding:28px;
  background:#ffec74;
  border-radius:10px
}

.uniform-intro h2 {
  font-size:30px
}

.uniform-items {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:22px
}

.uniform-items div {
  padding:18px;
  background:#eaf2fc;
  border-radius:8px
}

.uniform-items strong {
  display:block
}

.uniform-items span {
  font-size:14px
}

.den-page-link {
  margin:25px 0
}

@media(max-width:760px) {
  .rank-panel {
  padding:18px 12px
}

.rank-table {
  font-size:14px
}

.rank-table th,.rank-table td {
  padding:12px 6px
}

.uniform-visual {
  grid-template-columns:1fr
}

.rank-tabs {
  gap:8px
}

.rank-tabs button {
  flex:1 0 28%;
  padding:12px 8px
}

.uniform-items {
  grid-template-columns:1fr
}


}

/* Legacy photo crops on family resource pages. */
.family-page .slide:nth-child(2) img { object-position: center 50%; }
.family-page .slide:nth-child(3) img { object-position: center 45%; }
.family-page .slide:nth-child(4) img { object-fit: contain; background: #002b5b; }

/* Utility classes formerly declared on individual elements. */
.form-honeypot { position: absolute; left: -10000px; }
.den-meeting-note { font-size: 14px; }
.join-form-note { font-size: 12px; color: #d2dfd6; }

/* Entire homepage den cards are keyboard-accessible links. */
a.den { color: inherit; text-decoration: none; }
a.den:hover strong { text-decoration: underline; text-underline-offset: 4px; }
a.den:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.rank-panel { scroll-margin-top: 24px; }

/* Family resource directory and weekly updates. */
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.resource-category { border: 1px solid #c2d5ea; border-radius: 12px; padding: 28px; }
.resource-category h2 { font-size: 26px; margin-top: 0; }
.resource-list { list-style: none; padding: 0; margin: 24px 0 0; }
.resource-list li + li { border-top: 1px solid #c2d5ea; margin-top: 18px; padding-top: 18px; }
.resource-list a { font-weight: 750; text-underline-offset: 4px; }
.resource-list p { font-size: 15px; margin: 8px 0 0; }
.resource-help { background: #eaf2fc; padding: 28px; border-radius: 12px; margin-top: 32px; }
.resource-help h2 { font-size: 26px; }
.announcements-section { background: #eaf2fc; }
.announcement-copy { max-width: 780px; overflow-wrap: anywhere; }
.announcement-copy p { white-space: pre-line; }
.announcement-copy a { text-underline-offset: 4px; }
@media (max-width: 760px) { .resource-grid { grid-template-columns: 1fr; } }
