@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;1,800;1,900&display=swap');

:root {
  --dark: #102822;
  --deep: #0c211b;
  --lime: #d5ff3d;
  --paper: #f6f4ea;
  --muted: #496159;
  --line: #ccd2bd;
  --headline: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  font: 100%/1.6 Arial, sans-serif;
  color: var(--dark);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, ul, ol { margin: 0; }
img { display: block; width: 100%; object-fit: cover; }
h1, h2, h3, .date-month, .code-strip, .brand {
  font-family: var(--headline);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: .94;
}
h1 { font-size: clamp(3.65rem, 7.85vw, 8.1rem); letter-spacing: -.019em; font-weight: 900; }
h1 em { color: var(--lime); }
h2 { font-size: clamp(2.45rem, 5.1vw, 4.7rem); letter-spacing: -.014em; }
h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1; }
a { color: inherit; text-underline-offset: .28em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #469286; outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - 7.5rem)); margin-inline: auto; }
.section-pad { padding-block: clamp(3.75rem, 7.5vw, 7rem); }
.eyebrow { font-weight: 800; font-size: .81rem; letter-spacing: .145em; text-transform: uppercase; }
.small { font-size: .9rem; line-height: 1.5; }
.lead { font-size: clamp(1.18rem, 2vw, 1.38rem); line-height: 1.5; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  border: 1px solid var(--lime); border-radius: 4px; padding: .65rem 1.25rem;
  color: var(--dark); background: var(--lime); text-decoration: none; font-weight: 800;
  cursor: pointer; line-height: 1.25; text-align: center;
}
.button:hover { background: #e5ff83; border-color: #e5ff83; }
.button-outline { border-color: currentColor; background: transparent; }
.button-outline:hover { background: var(--dark); color: var(--lime); border-color: var(--dark); }
.text-link { font-weight: 700; }
.instagram-link { display: inline-flex; align-items: center; gap: .45rem; }
.instagram-link svg { width: 1.15em; height: 1.15em; flex: none; }
.contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.5rem; }
.skip {
  position: fixed; z-index: 3; left: 1rem; top: 1rem; transform: translateY(-200%);
  padding: .5rem 1rem; color: var(--dark); background: var(--lime);
}
.skip:focus { transform: none; }
.header { background: var(--deep); color: var(--paper); border-bottom: 1px solid #ffffff22; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; min-height: 83px; }
.header .button { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--paper); text-decoration: none; font-size: 1.35rem; letter-spacing: .035em; width: fit-content; }
.brand-mark { color: var(--lime); width: 44px; height: 44px; display: inline-grid; place-items: center; }
.brand-mark svg { width: 100%; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
nav a { color: var(--paper); text-decoration: none; font-weight: 700; white-space: nowrap; font-size: .94rem; }
nav a[aria-current], nav a:hover { color: var(--lime); }
.hero { background: var(--dark); color: var(--paper); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 47% 53%; position: relative; min-height: clamp(500px, 46vw, 670px); }
.hero-copy { align-self: center; padding: 3.5rem 0 4rem; position: relative; z-index: 1; }
.hero-copy .eyebrow { color: var(--lime); margin: 0 0 1.25rem; }
.hero h1 { width: max-content; max-width: 115%; }
.hero-intro { max-width: 33ch; margin: 1.8rem 0; font-size: clamp(1.07rem, 1.7vw, 1.3rem); color: #edeee4; line-height: 1.5; }
.hero-photo { position: relative; overflow: hidden; margin-right: min(-3.75rem, calc((1280px - 100vw) / 2)); }
.hero-photo img { position: absolute; inset: 0; height: 100%; object-position: 53% top; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--dark), #10282236 26%, transparent 48%), linear-gradient(0deg, #071912a6, transparent 27%); pointer-events: none; }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 1.4rem; right: clamp(1.25rem, 4vw, 4.5rem); font-size: .86rem; color: #fff; font-weight: 700; }
.hero-photo figcaption span { color: var(--lime); margin-inline: .3rem; }
.code-strip { background: var(--lime); }
.code-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; }
.code-strip li { padding: 1.32rem .6rem; text-align: center; font-size: clamp(1.25rem, 3vw, 2.25rem); }
.code-strip li + li { border-left: 1px solid #10282238; }
.camp { display: grid; grid-template-columns: minmax(260px, 36%) minmax(0, 1fr); gap: clamp(2.75rem, 8vw, 8rem); align-items: center; scroll-margin-top: 1rem; }
.date-card { min-height: 326px; position: relative; isolation: isolate; padding: 1.7rem 2rem 2.2rem; display: grid; justify-items: start; align-content: space-between; background: var(--dark); color: var(--lime); overflow: hidden; }
.date-card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: repeating-linear-gradient(125deg, transparent 0 20px, #d5ff3d12 21px 22px, transparent 23px 29px); clip-path: polygon(100% 0, 100% 100%, 45% 100%); }
.date-card strong { font: italic 900 clamp(7.5rem, 14vw, 10rem)/.85 var(--headline); }
.date-month { color: var(--paper); font-size: clamp(1.65rem, 3vw, 2.45rem); }
.date-month span { color: var(--lime); margin-left: .25rem; }
.camp-copy > p:not(.small) { max-width: 51ch; font-size: 1.08rem; }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1rem; list-style: none; padding: 0; margin: 1.45rem 0; font-weight: 700; }
.facts li { display: flex; align-items: center; gap: .48rem; }
.facts li::before { content: ''; width: .48rem; height: .48rem; background: #547264; transform: skew(-10deg); }
.camp-copy .small { color: var(--muted); margin-bottom: 0; }
.guest-coach {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(6.75rem, 23vw, 11.5rem);
  align-items: center; gap: .5rem; margin: 0 0 1.5rem;
  border-left: 4px solid var(--lime); background: linear-gradient(112deg, #e8eddd 76%, #dce8ca 76%);
}
.guest-coach-copy { padding: .85rem 0 .85rem 1rem; }
.guest-coach img { align-self: end; height: auto; margin-top: .5rem; }
.guest-coach p { margin: 0; }
.guest-coach h3 { margin: .35rem 0 .2rem; }
.training { background: #e8eddd; }
.programs, .journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: 2rem; }
.programs article { border-top: 2px solid var(--dark); padding-top: 1.2rem; display: flex; flex-direction: column; align-items: flex-start; }
.programs .text-link { margin-top: auto; }
.skills-panel {
  display: grid; grid-template-columns: minmax(11rem, .65fr) minmax(0, 1.35fr);
  align-items: center; gap: clamp(1.6rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.4rem, 4vw, 3.25rem);
  border-top: 4px solid var(--lime);
  color: var(--paper); background: linear-gradient(115deg, #19382c 32%, var(--dark) 32%);
}
.skills-panel h3 { max-width: 9ch; color: var(--lime); font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: .94; }
.skills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; list-style: none; padding: 0; }
.skills li {
  display: grid; grid-template-columns: .34em minmax(0, 1fr); align-items: start; gap: .55em;
  padding-block: .5em; border-top: 1px solid #c0d3be4d;
  font: italic 800 clamp(1.25rem, 2.4vw, 1.95rem)/1.12 var(--headline);
}
.skills li::before {
  content: ''; width: .34em; height: .34em; margin-top: .36em;
  background: var(--lime); transform: skewX(-12deg);
}
.about-intro, .contact-intro { background: var(--dark); color: var(--paper); }
.about-grid, .about-mission, .journey { padding-block: clamp(2rem, 4vw, 3.5rem); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-grid .eyebrow { color: var(--lime); margin-top: 0; }
.about-grid p { max-width: 49ch; }
.coach-credentials {
  display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .65rem;
  margin: 0 0 1.4rem; padding: 0; list-style: none;
  color: var(--lime); font-size: .9rem; font-weight: 700;
}
.coach-credentials li + li::before {
  content: ''; display: inline-block; width: .28rem; height: .28rem;
  margin-inline-end: .65rem; border-radius: 50%; background: currentColor; vertical-align: middle;
}
.about-photo-frame { overflow: hidden; }
.about-photo img { height: auto; transform: scale(1.34); transform-origin: right 31%; }
.about-photo figcaption { margin-top: .55rem; font-size: .88rem; }
.journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 1rem; max-width: 54rem; list-style: none; padding: 0; }
.journey-junior { grid-column: 1 / -1; }
.journey-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.journey-junior .journey-photos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.journey-photos figure { display: grid; align-content: start; gap: .55rem; }
.journey-photos img { aspect-ratio: 5 / 4; height: auto; object-position: center top; border-radius: 4px; }
.journey-photos img[src$="journey-cranbrook.webp"] { object-position: center 41%; }
.journey-photos img[src$="journey-randwick-first-grade.webp"] { object-position: right center; }
.journey-photos figcaption { text-align: center; font-weight: 700; font-size: .9rem; line-height: 1.35; }
.journey-photos figcaption span { white-space: nowrap; }
.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.about-mission p:first-child { margin-top: 0; }
.contact-intro .text-link { color: var(--lime); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.5rem, 4.5vw, 4rem); }
.contact-panel { border-top: 2px solid var(--dark); padding-top: 1.35rem; scroll-margin-top: 1.5rem; }
.contact-panel h2 { font-size: clamp(2.35rem, 4.2vw, 3.45rem); }
.waitlist-panel { background: #e8eddd; padding: 1.35rem clamp(1.1rem, 3vw, 2rem) 2rem; }
.camp-waitlist-wrap { max-width: 48rem; }
.admin-header { padding-block: 1rem; color: var(--paper); font-weight: 700; }
.admin-wrap { padding-block: clamp(1.75rem, 5vw, 4rem); }
.admin-wrap h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
.admin-login { display: grid; gap: .75rem; max-width: 28rem; }
.admin-panel { padding-block: 1.5rem; border-top: 1px solid #aebeb0; margin-top: 1.75rem; }
.admin-panel h2 { font-size: clamp(2rem, 4vw, 3rem); }
.admin-panel .actions { gap: .65rem; }
.admin-table { overflow-x: auto; margin-top: 1rem; }
.admin-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { text-align: left; padding: .65rem; border-bottom: 1px solid #aebeb0; vertical-align: top; }
.admin-table td { max-width: 16rem; overflow-wrap: anywhere; }
.admin-inline, .admin-remove { display: grid; gap: .45rem; min-width: 11rem; }
.admin-remove { margin-top: .5rem; }
form[data-intake] { display: grid; gap: 1rem; margin-top: 1.5rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .3rem; font-weight: 700; }
input:not([type=checkbox]), textarea, select {
  width: 100%; border: 1px solid #88998d; border-radius: 4px; padding: .62rem .75rem;
  background: #fffef9; color: var(--dark); font-weight: 400; min-height: 45px;
}
select { appearance: none; padding-right: 2.35rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23102822' stroke-width='2'/%3E%3C/svg%3E"); background-position: right .65rem center; background-size: 18px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; font-size: .94rem; }
.checkbox input { margin: .35rem 0 0; width: 1.08rem; height: 1.08rem; flex: 0 0 auto; accent-color: var(--dark); }
form .button { justify-self: start; }
form .small, .form-status { margin: 0; }
.form-status:empty { display: none; }
.form-status { font-weight: 700; }
.form-status[data-error="true"] { color: #8d2a1b; }
.trap { display: none; }
.footer { color: var(--paper); background: var(--deep); }
.footer-inner { display: flex; gap: 1rem 2rem; align-items: center; flex-wrap: wrap; padding-block: 2.25rem; }
.footer .brand { margin-right: auto; }
.footer p { margin: 0; }
.footer small { color: #c6d3c6; }
.booking-fallback { display: none; background: #e8eddd; }
.booking-fallback:target { display: block; }
dialog { width: min(620px, calc(100% - 2rem)); max-height: calc(100% - 2rem); padding: 0; border: 1px solid var(--dark); border-radius: 6px; color: var(--dark); background: var(--paper); }
dialog::backdrop { background: #071611be; }
.dialog-inner { padding: clamp(1.25rem, 5vw, 2.5rem); position: relative; }
.dialog-inner h2 { padding-right: 2.4rem; font-size: clamp(2.5rem, 6vw, 3.65rem); }
.close { position: absolute; right: .9rem; top: .8rem; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; color: var(--dark); font-size: 1.6rem; line-height: 1; }
.close:hover { background: #e8eddd; }
.booking-options > section { margin-top: 1.45rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.booking-options p { margin-block: .55rem 1rem; }
.booking-options .button + p { margin-bottom: 0; }
@media (max-width: 1060px) {
  .wrap { width: calc(100% - 4rem); }
  .hero-photo { margin-right: -2rem; }
  .hero-inner { grid-template-columns: 49% 51%; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { grid-template-columns: 1fr auto; gap: .2rem 1rem; padding-top: .65rem; }
  .header nav { grid-column: 1 / -1; grid-row: 2; padding: .6rem 0 .75rem; }
  .header .button { grid-column: 2; grid-row: 1; }
  .hero-inner, .about-grid, .about-mission, .contact-grid { grid-template-columns: 1fr; }
  .about-mission { gap: 1rem; }
  .hero-copy { padding: 2.7rem 0 1.85rem; }
  h1 { font-size: clamp(3.55rem, 12vw, 5.25rem); }
  .hero h1 { width: auto; max-width: 100%; }
  .hero-intro { margin: 1.2rem 0 1.35rem; }
  .hero-photo { margin-inline: -1.25rem; min-height: clamp(290px, 83vw, 440px); }
  .hero-photo::after { background: linear-gradient(180deg, var(--dark), transparent 6%), linear-gradient(0deg, #071912ab, transparent 25%); }
  .hero-photo img { object-position: 50% top; }
  .camp { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .date-card { min-height: 225px; padding: 1.3rem 1.5rem; }
  .date-card strong { font-size: 7rem; }
  .programs, .journey-grid { grid-template-columns: 1fr; }
  .skills-panel { grid-template-columns: 1fr; gap: 1.15rem; background: var(--dark); }
  .skills-panel h3 { max-width: none; }
  .skills { column-gap: .85rem; }
  .journey-junior .journey-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .code-strip li { padding: .85rem .28rem; font-size: clamp(1rem, 3.6vw, 1.55rem); }
}
@media (max-width: 420px) {
  .fields { grid-template-columns: 1fr; }
  .hero .actions { align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .65rem; }
}
