/*
 * CampOffice website: the Daylight look (html[data-look="daylight"]; docs/architecture/website.md, "Daylight").
 * Loaded after site.css and site-looks.css, only for this look. Option C of the three shown to the owner on
 * 2026-10-29 (warm white, Geist, the camp as a floating miniature) with Option A's motion and the office's own
 * colors: ink navy, the Color War four (blue, gold, red, green) and the gold "Talk to us".
 * Anything hidden or moved for motion is under html.dlm (set by site/motion, taken off if GSAP never runs), so
 * without a script, or for a reader who asked for less motion, every part is in place. No width over 360px.
 * Step 37 (shadcn's look): corners, borders, shadows and focus come from site.css's --co-* tokens.
 */

html[data-look="daylight"] {
    --pine: #141a33;
    --pine-deep: #0b1026;
    --ink: #141a33;
    --muted: #5b6075;
    --birch: #f6f3ec;
    --sky: #f6f3ec;
    --paper: #ffffff;
    --dl-bg: #f6f3ec;
    --dl-line: rgba(20, 26, 51, 0.1);
    --co-border: #e6e2d8;
    --co-input: #dcd8ce;
    --co-muted-bg: #f1eee6;
    --dl-soft: #a3a6b3;
    --dl-mint: #e7ecfb;
    --dl-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --dl-mono: "Geist Mono", ui-monospace, monospace;
    --dl-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
    background: var(--dl-bg);
}

[data-look="daylight"] .site { font-family: var(--dl-sans); background: var(--dl-bg); color: var(--ink); overflow-x: clip; }
[data-look="daylight"] .site h1, [data-look="daylight"] .site h2, [data-look="daylight"] .site h3,
[data-look="daylight"] .site h4, [data-look="daylight"] .site .brand { font-family: var(--dl-sans); letter-spacing: -0.035em; }
[data-look="daylight"] .wrap { max-width: 74rem; padding: 0 1.5rem; }
[data-look="daylight"] .section-h { font-weight: 700; letter-spacing: -0.04em; }

/* The four-color band along the top fills as the page scrolls (the office's band). */
[data-look="daylight"] .dl-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
[data-look="daylight"] .dl-progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, var(--team-blue) 0 25%, var(--team-gold) 25% 50%, var(--team-red) 50% 75%, var(--team-green) 75%); }

/* Masthead: fixed, clear over the hero, frosted once the page moves. */
[data-look="daylight"] .masthead { position: fixed; inset: 0 0 auto; z-index: 50; padding: 0.85rem 0; background: transparent; transition: background 0.3s, box-shadow 0.3s; }
[data-look="daylight"] .masthead.dl-solid { background: rgba(246, 243, 236, 0.86); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 1px 0 var(--dl-line); }
[data-look="daylight"] .topnav a { font-weight: 500; color: var(--muted); }
[data-look="daylight"] .topnav a:hover, [data-look="daylight"] .topnav a[aria-current] { color: var(--ink); text-decoration: none; }
[data-look="daylight"] .site .topnav a.topnav-contact { background: var(--team-gold); color: var(--ink); }
[data-look="daylight"] .site .topnav a.topnav-contact:hover { background: #f5bb1f; }
[data-look="daylight"] #main { padding-top: 4.5rem; }

/* Buttons: site.css's quiet ones (step 37); the gold one stays the main call to action, the dark one ink. */
[data-look="daylight"] .btn { font-family: var(--dl-sans); }
[data-look="daylight"] .site a.btn-pine { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-look="daylight"] .site a.btn-pine:hover { background: #262d4d; border-color: #262d4d; }

/* Shared words. Headings take their section's color, so they read on the dark bands too. */
.site .dl-h, .site .dl-feat h3,
[data-look="daylight"] .reasons li h3, [data-look="daylight"] .dl-pricing .section-h { color: inherit; }
.dl-kick { display: inline-block; margin: 0; padding: 0.3rem 0.6rem; border-radius: var(--co-r-badge); background: var(--dl-mint); color: #2448d6; font: 500 0.8rem/1.2 var(--dl-mono); }
.site .dl-h { font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.02; font-weight: 700; letter-spacing: -0.045em; margin: 1rem 0 0; }
.dl-lede { color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.25rem); max-width: 36em; margin: 1.1rem 0 0; }
.dl-head { margin-bottom: 3.5rem; }
.dl-center { text-align: center; max-width: 52rem; margin-inline: auto; }
.dl-center .dl-lede { margin-inline: auto; }
.dl-soft { color: var(--dl-soft); }

/* Hero */
.dl-hero { padding: clamp(2.5rem, 7vh, 5rem) 0 2rem; }
.dl-hero-grid { display: grid; gap: 2rem; align-items: center; text-align: center; }
.site .dl-hero h1 { font-size: clamp(2.9rem, 6.6vw, 6rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.05em; margin: 1.3rem 0 0; }
.dl-hero .dl-lede { margin-inline: auto; }
.dl-hero .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }
.dl-hero .hero-note { color: var(--muted); font-size: 0.92rem; margin: 1rem auto 0; max-width: 40em; }
.dl-island { position: relative; width: min(38rem, 92%); margin: 0 auto; }
.dl-island img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.dl-island::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 2%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgba(20, 26, 51, 0.28), transparent); filter: blur(6px); }
.dl-chip { position: absolute; z-index: 2; display: none; align-items: center; gap: 0.6rem; margin: 0; padding: 0.7rem 0.95rem; border-radius: var(--co-r-card); background: #fff; border: 1px solid var(--co-border); box-shadow: var(--co-shadow-pop); font-size: 0.88rem; font-weight: 600; text-align: left; white-space: nowrap; }
.dl-chip small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.dl-chip i { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: var(--co-r-badge); font-style: normal; }
.dl-chip-1 { left: -6%; top: 20%; } .dl-chip-1 i { background: #dff5ec; color: #11845a; }
.dl-chip-2 { right: -4%; top: 40%; } .dl-chip-2 i { background: #fff3d1; color: #a26a00; }
.dl-chip-3 { left: -2%; bottom: 14%; } .dl-chip-3 i { background: var(--dl-mint); color: var(--team-blue); }
@media (min-width: 62rem) {
    .dl-hero { padding-bottom: 1rem; }
    .dl-hero-grid { grid-template-columns: 1.05fr 1fr; text-align: left; }
    .site .dl-hero h1 { margin-top: 1.3rem; }
    .dl-hero .dl-lede, .dl-hero .hero-note { margin-inline: 0; }
    .dl-hero .hero-actions { justify-content: flex-start; }
    .dl-island { width: 100%; }
    .dl-chip { display: flex; }
}

/* What changes: each change once, as a short card in its team color (owner, 2026-11-19: one short pass, no screen-filling parts) */
.dl-helps { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.dl-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.dl-feat { --team: var(--team-blue); padding: 1.5rem; border-radius: var(--co-r-card); background: #fff; border: 1px solid var(--co-border); border-top: 3px solid var(--team); box-shadow: var(--co-shadow-xs); }
.dl-team-gold { --team: #e0a400; } .dl-team-red { --team: var(--team-red); } .dl-team-green { --team: var(--team-green); }
.site .dl-feat h3 { font-size: 1.15rem; line-height: 1.25; font-weight: 600; margin: 0 0 0.6rem; }
.dl-feat p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.site .dl-more { display: inline-flex; gap: 0.5rem; margin-top: 1rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--team); padding-bottom: 0.15rem; }
.site .dl-more::after { content: "→"; transition: transform 0.3s; }
.site .dl-more:hover::after { transform: translateX(0.25rem); }
.dl-feats-all { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 2.5rem 0 0; }
@media (min-width: 40rem) { .dl-feats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .dl-feats { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* Everything that comes with CampOffice (the shared partial) */
[data-look="daylight"] .everything { padding: clamp(4rem, 9vw, 8rem) 0; background: transparent; }
[data-look="daylight"] .everything .section-h { text-align: center; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.02; }
[data-look="daylight"] .everything .section-lede { text-align: center; margin-inline: auto; }
[data-look="daylight"] .reasons li { border-radius: var(--co-r-card); background: #fff; padding: 1.5rem; }
[data-look="daylight"] .reasons li:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-look="daylight"] .reasons li:first-child p { color: rgba(255, 255, 255, 0.75); }
[data-look="daylight"] .everything-group { padding: 1.5rem; }

/* Pricing over the camp at dusk */
.dl-pricing { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 9rem) 0; background: #0b1026; color: #fff; }
.dl-pricing-bg { position: absolute; inset: -10% 0 auto; width: 100%; height: 120%; object-fit: cover; opacity: 0.45; }
.dl-pricing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 16, 38, 0.92) 0%, rgba(11, 16, 38, 0.55) 30%, rgba(11, 16, 38, 0.85) 100%); }
.dl-pricing { margin-top: 0.75rem; border-radius: 1.25rem; margin-inline: 0.75rem; }
.dl-pricing .wrap { position: relative; z-index: 2; }
.dl-pricing .dl-kick { background: rgba(255, 255, 255, 0.1); color: var(--team-gold); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.dl-pricing .dl-lede { color: rgba(255, 255, 255, 0.75); }
[data-look="daylight"] .dl-pricing .offer { border: 1px solid rgba(255, 255, 255, 0.16); border-top: 3px solid var(--team-blue); }
[data-look="daylight"] .dl-pricing .offer-full { border-color: var(--team-gold); border-top-color: var(--team-gold); }
[data-look="daylight"] .dl-pricing .offer-price strong { font-family: var(--dl-sans); letter-spacing: -0.05em; }
[data-look="daylight"] .dl-pricing .offers-extra { color: rgba(255, 255, 255, 0.8); }
[data-look="daylight"] .site .dl-pricing .offers-extra a, [data-look="daylight"] .site .dl-pricing .pricing-more a { color: var(--team-gold); }

/* Questions */
[data-look="daylight"] .dl-faq { background: transparent; padding: clamp(4rem, 9vw, 7rem) 0; }
[data-look="daylight"] .dl-faq .dl-h { text-align: center; margin-bottom: 2.5rem; }
[data-look="daylight"] .dl-faq details { border: 1px solid var(--co-border); border-radius: var(--co-r-card); background: #fff; margin-bottom: 0.5rem; padding: 0 1.25rem; box-shadow: var(--co-shadow-xs); transition: border-color 0.2s; }
[data-look="daylight"] .dl-faq details[open] { border-color: var(--co-input); }

/* Tell us about your camp: the gold band, as on the site before */
.dl-contact { margin: 0 0.75rem 0.75rem; border-radius: 1.25rem; background: var(--team-gold); color: var(--ink); overflow: hidden; transform-origin: 50% 100%; }
.dl-contact-grid { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(4rem, 9vw, 7rem); }
.dl-contact .dl-lede { color: rgba(20, 26, 51, 0.75); margin-bottom: 2rem; }
.site .dl-contact a:not(.btn) { color: var(--ink); font-weight: 600; }
.dl-contact-art img { display: block; width: 100%; height: auto; border-radius: var(--co-r-card); box-shadow: var(--co-shadow-pop); }
@media (min-width: 56rem) { .dl-contact-grid { grid-template-columns: 1.1fr 1fr; } }

[data-look="daylight"] .dl-form { margin: 0 0 1.25rem; padding: 1.5rem; border-radius: var(--co-r-card); background: #fff; border: 1px solid rgb(20 26 51 / 0.12); box-shadow: var(--co-shadow-pop); }
[data-look="daylight"] .dl-form .site-form { border: 0; box-shadow: none; padding: 0; }
[data-look="daylight"] .dl-form .site-form { max-width: none; margin: 0; }
[data-look="daylight"] .site-form input:not([type="checkbox"]), [data-look="daylight"] .site-form textarea, [data-look="daylight"] .site-form select { border-radius: var(--co-r-input); font-family: var(--dl-sans); }
[data-look="daylight"] .dl-form .field-help, [data-look="daylight"] .dl-form .choice { font-size: 0.85rem; }
@media (min-width: 40rem) { [data-look="daylight"] .dl-form .site-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; } [data-look="daylight"] .dl-form .site-form > :is(.field:has(textarea), .consent, button, .field-help, .hp) { grid-column: 1 / -1; } [data-look="daylight"] .dl-form .site-form > button { justify-self: start; } }
@media (min-width: 56rem) { .dl-contact-grid { align-items: start; } .dl-contact-art { position: relative; top: 4rem; } }

/* Footer: navy, as on the site before, with the big name rising at the foot */
[data-look="daylight"] .foot { overflow: hidden; }
[data-look="daylight"] .foot::after { content: "CampOffice"; display: block; text-align: center; font: 800 clamp(4rem, 17vw, 15rem)/0.8 var(--dl-sans); letter-spacing: -0.06em; color: rgba(255, 255, 255, 0.06); margin-top: 2.5rem; white-space: nowrap; pointer-events: none; }

/* Inner pages pick up the same type and colors through the variables above; their tops sit under the masthead. */
[data-look="daylight"] .page-head { background: transparent; }

/* Motion: hidden only under html.dlm, until site-daylight.js shows it. */
html.dlm .dl-rv { opacity: 0; }
html.dlm .dl-split { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
    [data-look="daylight"] .masthead, [data-look="daylight"] .site .dl-more::after { transition: none; }
}

/* The tours' links, centered under the hero headline, and left on wide screens. */
.dl-hero .tour-links { justify-content: center; }
@media (min-width: 62rem) { .dl-hero .tour-links { justify-content: flex-start; } }
