/* ==========================================================================
   I Did That! Home projects · The Carpenter's Son
   TCS navy and blue, Montserrat, plus a warm marigold so the program
   feels open to everyone in the house.
   ========================================================================== */

:root {
  --navy: #173F52;     /* TCS dark blue */
  --blue: #2B6580;     /* TCS accent blue */
  --sky: #9CC3D6;      /* TCS light blue */
  --tint: #E6F0F5;
  --sun: #F2A93B;      /* program accent: marigold */
  --sun-dk: #D98E1F;
  --sun-lt: #FDEBCB;
  --cream: #FBF6EE;
  --ink: #1E2328;
  --muted: #4A525A;
  --line: #E3DCD0;
  --white: #FFFFFF;
  --gutter: clamp(16px, 5vw, 64px);
  --maxw: 1200px;
  --r: 14px;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
p { margin: 0 0 14px; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
button { font: inherit; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy a { color: var(--sun); }

.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.eyebrow-sun { color: var(--sun); }
.h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.015em; max-width: 820px; margin-bottom: 18px; }
.h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; }
.lede-dk { font-size: 18px; color: #D6E4EC; max-width: 620px; }
.small { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16px; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn { white-space: nowrap; }
.btn .short { display: none; }
@media (max-width: 520px) { .btn .long { display: none; } .btn .short { display: inline; } }
.btn-sun { background: var(--sun); color: var(--navy); }
.btn-sun:hover { background: var(--sun-dk); color: var(--navy); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-wide { width: 100%; padding: 18px; font-size: 17px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 80px; }
/* Logo: the check mark and "I DID THAT!" at the same height, "HOME PROJECTS" underneath.
   --logo sets the size; the wordmark's capital letters match the mark. */
.brand { --logo: 30px; display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none; color: var(--navy); }
.lockup { display: flex; align-items: center; gap: calc(var(--logo) * .32); }
.mark { width: 40px; height: 40px; flex: none; }
.brand .mark { width: var(--logo); height: var(--logo); }
.wordmark { font-weight: 900; font-size: calc(var(--logo) / .7); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.brand-sub { padding-left: calc(var(--logo) * 1.32 + 1px); font-size: calc(var(--logo) * .37); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); line-height: 1; }
.brand-center { align-items: center; margin-bottom: 36px; --logo: 34px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--blue); }
@media (max-width: 900px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }
@media (max-width: 440px) { .site-header .brand { --logo: 22px; } .site-header .btn { padding: 9px 13px; font-size: 13px; } }

/* Hero */
.hero { background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid > *, .split > *, .family-top > *, .book-grid > *, .faq-wrap > * { min-width: 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 900; letter-spacing: -.025em; line-height: 1.02; color: var(--navy); margin-bottom: 22px; }
.underline { background: linear-gradient(transparent 68%, var(--sun) 68%, var(--sun) 92%, transparent 92%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--muted); }
.chips b { color: var(--navy); }
.hero-photo { margin: 0; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px 28px 28px 120px; background: var(--tint); }
.hero-badge { position: absolute; left: -18px; bottom: 34px; display: flex; align-items: center; gap: 10px; background: #fff; padding: 10px 18px 10px 10px; border-radius: 999px; box-shadow: 0 12px 30px rgba(23,63,82,.18); font-weight: 800; color: var(--navy); font-size: 17px; }
.hero-badge .mark { width: 34px; height: 34px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 460px; }
  .hero-badge { left: 12px; }
}

/* Band */
.band { background: var(--sun); color: var(--navy); padding: 22px 0; }
.band p { margin: 0; font-size: clamp(16px, 1.7vw, 19px); text-align: center; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--cream); border-radius: var(--r); padding: 26px 24px; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--sun); font-weight: 900; font-size: 18px; margin-bottom: 16px; }
.steps h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.two-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.way { border: 2px solid var(--navy); border-radius: var(--r); padding: 26px; }
.way h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.way p { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .two-ways { grid-template-columns: 1fr; } }

/* Section heads */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 40px; }
.section-head .h2 { margin-bottom: 0; }
.section-sub { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 14px; } }

/* Bundles */
.bundles { margin-bottom: 44px; }
.bundle-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; }
.bundle { flex: 0 0 260px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.bundle h4 { margin: 0; font-size: 17px; font-weight: 800; color: var(--navy); }
.bundle p { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1; }
.bundle .tag { margin: 0; flex: none; }
@media (min-width: 760px) {
  .bundle-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); overflow: visible; padding: 0; }
}

/* Project list */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cat-grid { grid-template-columns: 1fr; } }
.cat { background: #fff; border-radius: var(--r); border: 1px solid var(--line); padding: 22px 20px 14px; }
.cat h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.cat > p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.cat ul { list-style: none; margin: 0; padding: 0; }
.proj { border-top: 1px solid var(--line); }
.proj label { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: start; padding: 10px 2px; cursor: pointer; }
.proj input[type=checkbox] { appearance: none; width: 22px; height: 22px; border: 2px solid var(--sky); border-radius: 6px; margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; background: #fff; }
.proj input[type=checkbox]:checked { background: var(--navy); border-color: var(--navy); }
.proj input[type=checkbox]:checked::after { content: ""; width: 10px; height: 6px; border: solid var(--sun); border-width: 0 0 3px 3px; transform: translateY(-1px) rotate(-45deg); }
.proj-name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.proj-note { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.proj-time { font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap; background: var(--tint); border-radius: 999px; padding: 2px 9px; margin-top: 1px; }
.proj.on .proj-name { color: var(--navy); }
.proj.on { background: var(--sun-lt); border-radius: 8px; border-top-color: transparent; }
.qty { display: none; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 0 0 10px 36px; }
.proj.on .qty { display: flex; }
.qty input { width: 64px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 14px; }

.not-included { margin-top: 44px; background: #fff; border-left: 5px solid var(--sun); border-radius: 0 var(--r) var(--r) 0; padding: 26px 28px; }
.not-included ul { columns: 2; column-gap: 36px; margin: 6px 0 14px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.not-included li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 720px) { .not-included ul { columns: 1; } }

/* Upgrades */
.upgrade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1060px) { .upgrade-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .upgrade-grid { grid-template-columns: 1fr; } }
.upgrade { background: var(--cream); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.upgrade img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--tint); }
.upgrade-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.upgrade h3 { font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.upgrade-body > p:not(.tag) { font-size: 15px; color: var(--muted); flex: 1; }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--sun-lt); padding: 3px 10px; border-radius: 999px; margin: 0 0 10px; }
.add-btn { align-self: flex-start; background: none; border: 2px solid var(--navy); color: var(--navy); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.add-btn:hover, .add-btn.on { background: var(--navy); color: #fff; }
.add-btn.on::before { content: "✓ "; color: var(--sun); }

/* Family */
.family-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.family-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.family-photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--blue); }
.family-photos img:last-child { margin-top: 40px; }
@media (max-width: 860px) { .family-top { grid-template-columns: 1fr; } }
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 52px 0 48px; }
@media (max-width: 860px) { .ages { grid-template-columns: 1fr; } }
.age { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r); padding: 24px; }
.age-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 4px; }
.age h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.age ul { margin: 0; padding-left: 18px; color: #D6E4EC; font-size: 15.5px; }
.age li { margin-bottom: 5px; }
.family-list-title { color: #fff; }
.activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .activities { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .activities { grid-template-columns: 1fr; } }
.activity { text-align: left; background: #fff; color: var(--ink); border: 2px solid transparent; border-radius: var(--r); padding: 18px 20px 18px 54px; cursor: pointer; position: relative; display: flex; flex-direction: column; gap: 3px; }
.activity::before { content: "+"; position: absolute; left: 16px; top: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--sun-lt); color: var(--navy); font-weight: 900; display: grid; place-items: center; }
.activity b { font-size: 16px; color: var(--navy); }
.activity span { font-size: 14px; color: var(--muted); }
.activity.on { border-color: var(--sun); }
.activity.on::before { content: "✓"; background: var(--sun); }
.family-note { margin: 22px 0 0; font-size: 14.5px; color: var(--sky); }

/* Apprentices */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split-photo { margin: 0; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 120px 28px 28px 28px; }
.split p:not(.eyebrow) { color: var(--muted); }
.price-pill { display: inline-block; background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: 16px; margin-top: 6px; }
.price-pill b { color: var(--sun); font-size: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Car care */
.split-rev > .split-photo { order: 2; }
.split-rev .split-photo img { border-radius: 28px 120px 28px 28px; }
.car-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 18px; }
.car-picks .activity { border-color: var(--line); }
.car-picks .activity.on { border-color: var(--sun); }
@media (max-width: 520px) { .car-picks { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .split-rev > .split-photo { order: -1; } }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: #fff; border-radius: var(--r); padding: 30px 28px; border: 1px solid var(--line); }
.price-main { background: var(--navy); color: #fff; border: 0; }
.price-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.price-main .price-label { color: var(--sun); }
.price { margin: 0 0 4px; color: var(--navy); }
.price b { font-size: 56px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.price span { font-size: 18px; font-weight: 700; margin-left: 4px; color: var(--muted); }
.price-main .price { color: #fff; }
.price-main .price span { color: var(--sky); }
.price-sub { font-size: 15px; color: var(--muted); }
.price-main .price-sub { color: #D6E4EC; }
.price-main .price-sub b { color: var(--sun); }
.ticks { list-style: none; padding: 0; margin: 16px 0 22px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 9px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 13px; height: 7px; border: solid var(--sun); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
.price-card:not(.price-main) .ticks { margin-bottom: 0; color: var(--muted); }
.price-card:not(.price-main) .ticks li::before { border-color: var(--blue); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 17px; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 13px; font-size: 26px; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Booking */
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .book-grid { grid-template-columns: 1fr; } }
.book-intro { position: sticky; top: 100px; }
@media (max-width: 900px) { .book-intro { position: static; } }
.plan { margin-top: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); padding: 22px; }
.plan-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px; }
.plan-empty { color: #D6E4EC; font-size: 15px; margin: 0; }
.plan-list { list-style: none; padding: 0; margin: 0 0 12px; }
.plan-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.plan-list li span { color: var(--sky); white-space: nowrap; font-size: 13.5px; }
.plan-list button { background: none; border: 0; color: var(--sky); cursor: pointer; padding: 0 0 0 6px; font-size: 16px; }
.plan-math { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 10px; }
.plan-math dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.plan-math dd { margin: 2px 0 0; font-weight: 800; font-size: 18px; }
.plan-fine { font-size: 13px; color: var(--sky); margin: 0; }

.book-form { background: #fff; color: var(--ink); border-radius: 20px; padding: clamp(22px, 3.5vw, 40px); }
.book-form a { color: var(--blue); }
.field { display: block; border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.field > span, .field legend { display: block; font-weight: 700; font-size: 14.5px; color: var(--navy); margin-bottom: 7px; padding: 0; }
.field legend small { font-weight: 600; color: var(--muted); margin-left: 6px; }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #CBD5DC; border-radius: 10px; background: #fff; color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--tint); }
.field input[aria-invalid=true] { border-color: #B3261E; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.hint { font-size: 14.5px; color: var(--muted); margin: 0; }
.picked { display: flex; flex-wrap: wrap; gap: 6px; }
.picked span { background: var(--sun-lt); color: var(--navy); font-weight: 600; font-size: 13.5px; padding: 4px 11px; border-radius: 999px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills span { display: inline-block; padding: 9px 16px; border: 1.5px solid #CBD5DC; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.pills input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.err { background: #FCE8E6; color: #8C1D18; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }
.form-fine { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.sent { text-align: center; padding: 20px 6px; }
.sent h3 { font-size: 26px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.sent p { color: var(--muted); }

/* Plan bar */
.plan-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--navy); color: #fff; box-shadow: 0 -8px 24px rgba(0,0,0,.15); transform: translateY(0); transition: transform .2s; }
.plan-bar[hidden] { display: block; transform: translateY(110%); }
.plan-bar-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 12px; padding-bottom: 12px; }
.plan-bar p { margin: 0; font-size: 15px; }
.plan-bar b { color: var(--sun); }
.plan-bar span { color: #D6E4EC; }

/* Footer */
.site-footer { background: #10303F; color: #C9D6DE; padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.brand-dk { color: #fff; }
.brand-dk .brand-sub { color: var(--sky); }
.site-footer .brand { --logo: 34px; }
/* On dark backgrounds the mark reverses: marigold square, navy check */
.site-footer .mark { --mark-bg: #F2A93B; --mark-check: #173F52; }
.footer-line { margin: 14px 0 10px; }
.footer-org img { height: auto; }
.footer-org > a:first-child img { width: 240px; }
.footer-org > a:last-child img { width: 160px; }
.footer-tagline { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin: 10px 0 18px; }
.footer-30 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; }
.footer-verse { margin: 0; border-left: 3px solid var(--sun); padding-left: 18px; }
.footer-verse p { font-style: italic; color: #fff; }
.footer-verse cite { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; font-size: 13px; }
.footer-base p { margin: 0; }
body.has-bar .site-footer { padding-bottom: 96px; }

/* Thank-you page */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; background: var(--cream); }
.thanks .h2 { margin: 0 auto 16px; }
.thanks p { color: var(--muted); max-width: 560px; margin: 0 auto 22px; }

/* Preview panel and form check boxes */
.sent-table { overflow-x: auto; text-align: left; margin-top: 10px; }
.sent-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sent-table th { text-align: left; color: var(--blue); font-weight: 700; padding: 6px 12px 6px 0; vertical-align: top; white-space: nowrap; }
.sent-table td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 0 0 14px; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.sig { font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 24px !important; }

/* Participant agreement page */
.waiver { background: var(--cream); padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.waiver-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.waiver-grid > * { min-width: 0; }
@media (max-width: 960px) { .waiver-grid { grid-template-columns: 1fr; } }
.waiver-sign { position: sticky; top: 96px; }
@media (max-width: 960px) { .waiver-sign { position: static; } }
.waiver-sign .book-form { border: 1px solid var(--line); }
.waiver-text { background: #fff; border-radius: 20px; padding: clamp(22px, 4vw, 44px); border: 1px solid var(--line); }
.waiver-text .h2 { font-size: clamp(26px, 3.4vw, 36px); text-wrap: balance; }
.waiver-text .lede { margin-bottom: 14px; }
.clauses { counter-reset: c; list-style: none; padding: 0; margin: 28px 0 0; }
.clauses > li { counter-increment: c; position: relative; padding: 18px 0 6px 48px; border-top: 1px solid var(--line); }
.clauses > li::before { content: counter(c); position: absolute; left: 0; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--navy); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.clauses h2 { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.clauses p, .clauses li li { font-size: 15.5px; color: var(--muted); }
.clauses ul { margin: 0 0 12px; padding-left: 20px; }
.draft-banner { background: var(--sun-lt); color: var(--navy); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--sun-dk); }

/* Stand-in for a photo that hasn't been added yet */
.ph { display: grid; place-items: center; text-align: center; padding: 20px; width: 100%; aspect-ratio: 4 / 3; background: repeating-linear-gradient(135deg, var(--tint) 0 14px, #DCE8EF 14px 28px); color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.ph span { background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 999px; }
.hero-photo .ph { aspect-ratio: 4 / 5; border-radius: 28px 28px 28px 120px; }
.family-photos .ph { aspect-ratio: 3 / 4; border-radius: var(--r); }
.family-photos .ph:last-child { margin-top: 40px; }
.split-photo .ph { border-radius: 28px; }

.footer-credits { margin-top: 14px; font-size: 12.5px; }
.footer-credits summary { cursor: pointer; color: var(--sky); }
.footer-credits ul { margin: 10px 0 0; padding-left: 18px; columns: 2; column-gap: 32px; }
.footer-credits li { margin-bottom: 5px; break-inside: avoid; }
@media (max-width: 720px) { .footer-credits ul { columns: 1; } }
