/*
 * CampOffice: the public website (body.site). Hand-written, no build step.
 * The family pages have their own styles: resources/css/portal.css.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { max-width: 100%; height: auto; }

:root {
    --pine: #1d3b2a;
    --pine-deep: #142a1e;
    --lake: #23607d;
    --lake-soft: #8fc1d4;
    --birch: #f3f6f1;
    --sun: #f2c14e;
    --clay-soft: #e8a9a0;
    --bark: #7a5236;
    --ink: #1a231e;
    --muted: #4d5a52;
    --paper: #ffffff;
    --sky: #dcebe4;
    --grass: #a9c87f;
}

/* ---------------------------------------------------------------- website */

.site {
    font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--birch);
    overflow-x: hidden;
}

.site h1, .site h2, .site h3, .site h4, .site .brand {
    font-family: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif;
    font-optical-sizing: auto;
    color: var(--pine);
}

.site a { color: var(--lake); text-underline-offset: 0.18em; }
.site a:focus-visible, .site summary:focus-visible, .fp a:focus-visible, .fp button:focus-visible,
.fp input:focus-visible, .fp select:focus-visible, .fp textarea:focus-visible {
    outline: 3px solid var(--lake);
    outline-offset: 2px;
}

.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--paper); padding: 0.5rem 1rem; }

/* header: sits on the sky of the hero picture */
.masthead { padding: 1rem 0; background: var(--sky); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.01em; text-decoration: none; color: var(--pine); }
.site a.brand { color: var(--pine); }
.brand .wordmark { font-weight: 500; }
.brand .wordmark b { font-weight: 800; }
.topnav { display: flex; align-items: center; gap: 1.5rem; }
.topnav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.topnav a:hover { text-decoration: underline; }
.site .topnav a.topnav-contact { background: var(--pine); color: var(--paper); padding: 0.5rem 1rem; border-radius: 999px; }
.site .topnav a.topnav-contact:hover { background: var(--pine-deep); text-decoration: none; }
/* Below 64rem the links fold into the Menu (site-pages.css, .phone-menu); Talk to us stays. */
@media (max-width: 63.99rem) {
    .topnav a:not(.topnav-contact) { display: none; }
}

/* hero: the words on the sky, the camp picture growing up from the bottom edge */
.hero { background: var(--sky); padding-top: 2rem; }
.hero-copy { padding-bottom: 1.5rem; position: relative; z-index: 1; }
@media (min-width: 60rem) { .hero { padding-top: 3.5rem; } }
.hero h1 {
    font-size: clamp(2.4rem, 6.4vw, 4.8rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    max-width: 15ch;
}
.hero-lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34em; margin: 0 0 2rem; color: #33443a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-note { font-size: 0.95rem; color: var(--muted); margin: 1rem 0 0; max-width: 34em; }
.hero-scene { margin-top: -1rem; }
.hero-scene img {
    display: block; width: 100%;
    height: clamp(16rem, 30vw, 30rem);
    object-fit: cover; object-position: 55% 100%;
    /* The painting's sky fades into the page's, so there is no edge under the words. */
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%);
    mask-image: linear-gradient(to bottom, transparent, #000 22%);
}
@media (min-width: 60rem) {
    .hero-scene { margin-top: -5rem; }
}

.btn {
    display: inline-block;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 2px solid var(--pine);
    line-height: 1.2;
}
.site a.btn-sun { background: var(--sun); color: var(--pine-deep); border-color: var(--sun); box-shadow: inset 0 -3px 0 rgba(20, 42, 30, 0.18); }
.site a.btn-sun:hover { background: #f5cd6b; }
.site a.btn-line { background: transparent; color: var(--pine); }
.site a.btn-line:hover { background: var(--pine); color: var(--paper); }
.site a.btn-pine { background: var(--pine); color: var(--paper); }
.site a.btn-pine:hover { background: var(--pine-deep); }

/* sections */
.section-h { font-size: clamp(1.9rem, 4.5vw, 2.9rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
.section-lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0 0 2.5rem; }

/* what changes in your office */
.helps { background: var(--paper); padding: 4.5rem 0; }
.helps-grid { display: grid; gap: 3rem; }
@media (min-width: 60rem) { .helps-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 4.5rem; align-items: start; } }
.helps-intro .section-lede { margin-bottom: 0; }
.helps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.helps-list li { padding: 1.25rem 0 1.25rem 1.25rem; border-left: 4px solid var(--sun); }
.helps-list li:nth-child(2n) { border-left-color: var(--lake-soft); }
.helps-list li:nth-child(3n) { border-left-color: var(--clay-soft); }
.helps-list h3 { margin: 0 0 0.3rem; font-size: 1.3rem; line-height: 1.2; }
.helps-list p { margin: 0; max-width: 36em; }

/* the camp year, in four parts */
.year { background: var(--birch); padding: 4.5rem 0; }
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: stage; }
@media (min-width: 40rem) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .stages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
.stage { counter-increment: stage; }
.stage img { display: block; width: 100%; height: auto; border-radius: 1rem; margin-bottom: 1rem; }
.stage-name { margin: 0; font-size: 1.35rem; line-height: 1.15; }
.stage-name::before { content: counter(stage) ". "; color: var(--lake); }
.stage-when { margin: 0.15rem 0 0.5rem; font-weight: 700; color: var(--bark); }
.stage p:last-child { margin: 0; }
.assist { margin-top: 3rem; padding: 1.5rem 1.75rem; background: var(--paper); border-radius: 1rem; max-width: 52rem; }
.assist h3 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.assist p { margin: 0; }

/* the two options */
.pricing { background: var(--pine); color: #e4ece6; padding: 4.5rem 0; }
.pricing .section-h { color: var(--paper); }
.pricing .section-lede { color: #c9d8cf; }
.offers { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer { background: var(--paper); color: var(--ink); border-radius: 1.25rem; padding: 1.75rem 1.75rem 2rem; border-top: 8px solid var(--lake-soft); }
.offer-full { border-top-color: var(--sun); }
.offer-name { margin: 0; font-size: 1.6rem; line-height: 1.15; }
.offer-price { margin: 0.6rem 0 0; font-size: 1.15rem; color: var(--muted); }
.offer-price strong { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: clamp(2.4rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; color: var(--pine); margin-right: 0.15rem; }
.offer-for { margin: 0.5rem 0 1.25rem; font-weight: 700; color: var(--pine); }
.offer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.offer-list li { position: relative; padding-left: 1.6rem; }
.offer-list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.75rem; height: 0.42rem; border-left: 3px solid var(--pine-light, #4f7d55); border-bottom: 3px solid var(--pine-light, #4f7d55); transform: rotate(-45deg); }
.pricing-more { margin: 1.75rem 0 0; }
.site .pricing-more a { color: var(--sun); font-weight: 700; }

/* questions */
.faq { padding: 4.5rem 0; }
.faq-wrap { max-width: 50rem; }
.faq details { border-bottom: 2px solid #dde5dc; }
.faq summary {
    cursor: pointer; list-style: none;
    padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
    font-weight: 700; font-size: 1.12rem; color: var(--pine);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 0.25rem; top: 0.85rem;
    font-size: 1.6rem; line-height: 1; color: var(--lake);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.25rem; max-width: 40em; }

/* contact */
.contact { background: var(--sun); padding: 4.5rem 0; color: var(--pine-deep); }
.contact-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 4rem; } }
.contact-art { width: 100%; max-width: 26rem; height: auto; border-radius: 1.25rem; transform: rotate(1.2deg); box-shadow: 0 16px 32px -18px rgba(20, 42, 30, 0.6); }
@media (max-width: 51.99rem) { .contact-art { display: none; } }
.contact .section-lede { color: var(--pine-deep); }
.contact-mail { margin: 1rem 0 0; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: clamp(1.3rem, 4vw, 2rem); overflow-wrap: anywhere; }
.site .contact a:not(.btn) { color: var(--pine-deep); }
.contact-demo { margin: 1.5rem 0 0; }

.foot { background: var(--pine-deep); color: #c9d8cf; padding: 2.5rem 0 1.5rem; font-size: 0.95rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; }
.site .brand-small { font-size: 1.05rem; color: var(--paper); gap: 0.45rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site .foot-nav a { color: #e4ece6; text-decoration: none; }
.site .foot-nav a:hover { text-decoration: underline; }
.foot-end { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; }
.site .foot-staff { color: #9fb5a8; font-size: 0.8rem; text-decoration: none; }
.site .foot-staff:hover { color: #e4ece6; text-decoration: underline; }

/* --------------------------------------------------------------- motion */

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