/* Wildwood Dance Academy: site styles. Tokens match Branding/Web Assets/wildwood-brand.css. */
:root {
  --ink: #2B211A; --bark: #5E2A0E; --copper: #8A4A22;
  --forest: #45523A; --forest-deep: #343F2C; --sage: #62684F; --moss: #7F8A68;
  --blossom: #EBB3A0; --blossom-wash: #F8E6DE; --rosewood: #A4574A;
  --cream: #FCFAF0; --linen: #F4EEE0; --champagne: #EADEC6; --line: #E2D8C3; --surface: #FFFDF7;
  --bronze: #5B3D29; --bronze-light: #8E6142;
  --bronze-sheen: linear-gradient(100deg, #2F2119 0%, #5B3D29 28%, #8E6142 46%, #B07F58 52%, #6A4630 64%, #3A281D 100%);
  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --label: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1.05rem, 1rem + .2vw, 1.15rem);
  --step-1: clamp(1.4rem, 1.3rem + .45vw, 1.75rem);
  --step-2: clamp(1.65rem, 1.45rem + .9vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.75rem + 1.6vw, 3rem);
  --step-4: clamp(2.5rem, 1.9rem + 2.8vw, 4.25rem);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 72rem;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(43, 33, 26, .06), 0 10px 28px rgba(43, 33, 26, .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--step-0)/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); color: var(--bark); font-weight: 600; line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font: italic 600 var(--step-1)/1.2 var(--display); color: var(--bark); margin: 0; }
p { margin: 0; text-wrap: pretty; }
.lede { text-wrap: balance; }
.stack .lede { font-size: inherit; text-wrap: pretty; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--bark); }
:focus-visible { outline: 3px solid var(--rosewood); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--cream); padding: .6em 1em; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 40rem; }
.center { text-align: center; margin-inline: auto; }
.stack { display: grid; gap: 1rem; align-content: start; }
.lede { font-size: clamp(1.12rem, 1.05rem + .3vw, 1.3rem); color: var(--ink); }
.muted { color: var(--sage); }
.small { font-size: var(--step--1); }

/* Eyebrow: Cinzel caps flanked by short bronze lines, like the logo's "DANCE ACADEMY" */
.eyebrow { display: inline-flex; align-items: center; gap: .8rem; font: 500 var(--step--1)/1.3 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--sage); }
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--bronze-sheen); flex: none; }
.eyebrow.left::before, .eyebrow.left::after { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .8em 1.6em; border-radius: 999px; font: 700 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover { background: var(--forest-deep); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--bark); border-color: var(--bark); }
.btn-secondary:hover { background: var(--bark); color: var(--cream); }
.btn-light { background: var(--champagne); color: var(--forest-deep); }
.btn-light:hover { background: var(--cream); color: var(--forest-deep); }
.btn-sm { min-height: 42px; padding: .6em 1.2em; font-size: .92rem; justify-self: start; }
.faq details .btn { margin-top: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 700; color: var(--forest); }
.badge { display: inline-block; padding: .3em .85em; border-radius: 999px; background: var(--blossom-wash); color: var(--rosewood); font: 700 var(--step--1)/1.2 var(--body); }
.badge.soon { background: var(--linen); color: var(--sage); }
.tba { color: var(--sage); font-style: italic; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(252, 250, 240, .94); backdrop-filter: blur(8px); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bronze-sheen); opacity: .55; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { width: clamp(150px, 18vw, 200px); }
.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.6vw, 1.6rem); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bark); border-bottom-color: var(--blossom); }
.nav .portal { color: var(--sage); font-weight: 600; }
.nav .btn { min-height: 44px; padding: .7em 1.2em; border: 0; color: var(--cream); }
.nav .btn:hover { color: var(--cream); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; min-height: 44px; padding: 0 .9rem; font: 700 .95rem var(--body); color: var(--ink); cursor: pointer; }
@media (max-width: 1240px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.2rem; box-shadow: 0 14px 24px rgba(43, 33, 26, .08); }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .9rem; }
}

/* Sections */
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section.paper { background: linear-gradient(rgba(244, 238, 224, .72), rgba(244, 238, 224, .72)), url("../assets/img/tex-paper.webp") center/cover no-repeat; background-color: var(--linen); }
.section.wood { background: linear-gradient(rgba(244, 238, 224, .8), rgba(244, 238, 224, .8)), url("../assets/img/tex-wood.webp") center/cover no-repeat; background-color: var(--linen); }
.section-head { display: grid; gap: .9rem; justify-items: center; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { max-width: 38rem; }
.section-head.left { justify-items: start; text-align: left; }

/* Anchored art: every piece with a cut edge sits flush against an edge or tucks behind something. */
.roots-hang { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); width: min(420px, 78vw); z-index: 2; pointer-events: none; }
.after-roots { padding-top: clamp(6rem, 11vw, 8.5rem); }
.corner-br { position: absolute; right: 0; bottom: 0; width: clamp(170px, 24vw, 340px); pointer-events: none; }
.corner-tl { position: absolute; left: 0; top: 0; width: clamp(220px, 34vw, 520px); pointer-events: none; }
.edge-left { position: absolute; left: 0; top: clamp(1.5rem, 4vw, 3rem); width: clamp(90px, 12vw, 170px); pointer-events: none; }
@media (max-width: 1300px) { .edge-left { display: none; } }
.has-art { overflow: hidden; }
.divider-free { display: block; width: min(560px, 80%); margin: 0 auto clamp(1rem, 3vw, 2rem); }
.divider-free.wide { width: min(1100px, 100%); }

/* Hero */
.page-hero { min-height: clamp(340px, 30vw, 445px); display: grid; align-content: center; padding-block: 2.5rem !important; }
.hero { position: relative; background: var(--cream) url("../assets/img/hero-woodland-desktop.webp") center/cover no-repeat; padding-block: clamp(4.5rem, 10vw, 8.5rem) clamp(6rem, 12vw, 10rem); text-align: center; }
.hero .inner { position: relative; display: grid; gap: 1.3rem; justify-items: center; max-width: 44rem; margin-inline: auto; }
.hero .inner::before { content: ""; position: absolute; inset: -12% -14%; z-index: -1; background: radial-gradient(closest-side, rgba(252, 250, 240, .92), rgba(252, 250, 240, .75) 55%, rgba(252, 250, 240, 0)); }
.hero { isolation: isolate; overflow: hidden; }
.hero h1 { font-size: clamp(2.5rem, 1.8rem + 3.2vw, 4.5rem); }
.hero .lede { max-width: 34rem; }
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(rgba(252, 250, 240, .55), rgba(252, 250, 240, .55)), url("../assets/img/tex-paper.webp") center/cover no-repeat; background-color: var(--cream); padding-block: clamp(3.5rem, 7vw, 5.5rem); text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .inner { position: relative; z-index: 2; display: grid; gap: 1rem; justify-items: center; max-width: 42rem; margin-inline: auto; }
.page-hero .art { position: absolute; z-index: 1; pointer-events: none; }
.page-hero.band { border-bottom: 0; background: var(--cream) url("../assets/img/contact-forest.webp") center bottom/cover no-repeat; }
.page-hero.band .inner::before { content: ""; position: absolute; inset: -14% -16%; z-index: -1; background: radial-gradient(closest-side, rgba(252, 250, 240, .92), rgba(252, 250, 240, .75) 55%, rgba(252, 250, 240, 0)); }
.page-hero.blush { background: var(--blossom-wash) url("../assets/img/blush-wash.webp") center/cover no-repeat; }
.page-hero.wood { background: linear-gradient(rgba(244, 238, 224, .78), rgba(244, 238, 224, .78)), url("../assets/img/tex-wood.webp") center/cover no-repeat; }
.page-hero .art.tr { right: 0; top: 0; width: clamp(230px, 36vw, 560px); transform: scaleX(-1); }
.page-hero .art.tl { left: 0; top: 0; width: clamp(220px, 30vw, 560px); }
.page-hero .art.br { right: 0; bottom: 0; width: clamp(150px, 20vw, 290px); }
.page-hero .art.bl { left: clamp(0px, 4vw, 70px); bottom: 0; height: 94%; width: auto; max-width: 30vw; }
.page-hero .art.birds-tr { z-index: 0; right: 3vw; top: 50%; bottom: auto; width: clamp(520px, 46vw, 780px); min-width: 0; transform: translateY(-48%) rotate(-12deg); transform-origin: 50% 50%; }
.page-hero .art.left { top: -14%; height: 128%; width: auto; left: auto; right: max(calc(50% + 340px), calc(100% - 400px)); transform: rotate(-30deg); transform-origin: 50% 50%; }
.page-hero.tall {}
@media (max-width: 1100px) { .page-hero .art.left { display: none; } }
.page-hero .birds { width: min(300px, 70%); margin-bottom: -.4rem; }
@media (max-width: 1100px) { .page-hero .art.birds-tr { width: 620px; opacity: .55; } }
@media (max-width: 700px) { .page-hero .art { opacity: .35; } .page-hero .art.tr { transform: scaleX(-1); } .page-hero .art.birds-tr { top: .6rem; width: 220px; transform: rotate(-8deg); } .corner-br, .corner-tl { opacity: .45; } }
@media (max-width: 760px) {
  .hero { background-image: url("../assets/img/hero-woodland-mobile.webp"); background-position: center top; padding-block: 12.5rem 9rem; }
}

/* Age finder and class cards */
.age-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.class-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
a.class-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.class-card .body { padding: 20px; display: flex; flex-direction: column; gap: .5rem; height: 100%; }
.class-card .ages { font: 500 var(--step--1)/1.2 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }
.class-card h3 { font-size: 1.9rem; }
.class-card .meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .92rem; color: var(--sage); }
.class-card .price { font: 600 1.7rem/1 var(--display); color: var(--bark); margin-top: auto; padding-top: .4rem; }
.class-card .price small { font: 600 .9rem var(--body); color: var(--sage); }
.class-card .go { font-weight: 700; color: var(--forest); margin-top: .2rem; }

/* Photo placeholders: shown until the real studio photos are taken */
.photo-slot { aspect-ratio: 4 / 3; background: linear-gradient(rgba(244, 238, 224, .6), rgba(244, 238, 224, .6)), url("../assets/img/tex-paper.webp") center/cover no-repeat; display: grid; place-items: center; text-align: center; padding: 16px; border-bottom: 1px solid var(--line); }
.photo-slot span { display: block; font: italic 500 1.15rem/1.3 var(--display); color: var(--bark); opacity: .75; }
.photo-slot small { display: block; margin-top: .35rem; font-size: .78rem; color: var(--sage); }
.photo-slot.arched { aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 999px 999px 14px 14px; width: min(360px, 100%); margin-inline: auto; }
.photo-slot.tall { aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: var(--radius); }
.photo-slot.wide { aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--radius); }

/* Pillars */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.pillars { display: grid; gap: 1.6rem; }
.pillar { display: grid; gap: .35rem; padding-left: 1.2rem; position: relative; }
.pillar::before { content: ""; position: absolute; left: 0; top: .35rem; bottom: .35rem; width: 2px; background: var(--bronze-sheen); border-radius: 2px; }

/* Tables */
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; }
caption { text-align: left; padding: 18px 20px 6px; font: italic 600 1.35rem var(--display); color: var(--bark); }
th, td { text-align: left; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; font-size: .85rem; color: var(--sage); letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.num { font: 600 1.25rem/1.2 var(--display); color: var(--bark); }
.fine { margin-top: .9rem; font-size: var(--step--1); color: var(--sage); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 2.8rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.steps li::before { counter-increment: s; content: counter(s); width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--forest); color: var(--cream); display: grid; place-items: center; font: 600 1.3rem/1 var(--display); box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--bronze-light); }
.steps h4 { margin-bottom: .15rem; }

.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; counter-reset: s; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 1.4rem; left: 10%; right: 10%; height: 1px; background: var(--bronze-sheen); opacity: .6; }
.steps-row li { position: relative; display: grid; gap: .5rem; justify-items: center; text-align: center; }
.steps-row li::before { counter-increment: s; content: counter(s); width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--forest); color: var(--cream); display: grid; place-items: center; font: 600 1.3rem/1 var(--display); box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--bronze-light); }
.steps-row p { font-size: .95rem; color: #3d3128; }
@media (max-width: 900px) { .steps-row { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } .steps-row::before { display: none; } .steps-row li { grid-template-columns: 2.8rem minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 1rem; } .steps-row li::before { grid-row: span 2; } }

/* Miss Hollie: arch frame with its stem ends tucked behind the photo */
.arch { position: relative; width: min(380px, 100%); margin-inline: auto; aspect-ratio: 620 / 790; }
.arch .frame { position: absolute; inset: 0 0 auto 0; width: 100%; z-index: 1; pointer-events: none; }
.arch .portrait { position: absolute; left: 17%; right: 17%; top: 11%; bottom: 0; z-index: 2; border-radius: 999px 999px 14px 14px; overflow: hidden; background: var(--linen); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: 12px; color: var(--sage); font-size: .85rem; }
.arch .portrait { background: linear-gradient(rgba(244, 238, 224, .6), rgba(244, 238, 224, .6)), url("../assets/img/tex-paper.webp") center/cover no-repeat; }
.arch .portrait span { display: block; font: italic 500 1.15rem/1.3 var(--display); color: var(--bark); opacity: .75; }
.arch .portrait small { display: block; margin-top: .35rem; font-size: .78rem; color: var(--sage); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.quote { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: .8rem; }
.quote p { font: italic 500 clamp(1.35rem, 1.2rem + .6vw, 1.7rem)/1.3 var(--display); color: var(--bark); }
.quote cite { font-style: normal; font-size: .9rem; color: var(--sage); font-weight: 600; }

/* Testimonials: forest band, large cream quotes, no cards */
.kind-words { background: var(--forest-deep) url("../assets/img/tex-forest.webp") center/cover no-repeat; color: var(--champagne); }
.kind-words .eyebrow { color: var(--champagne); }
.kind-words .eyebrow::before, .kind-words .eyebrow::after { background: rgba(234, 222, 198, .6); }
.kind-words .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 64rem; margin-inline: auto; }
.tq { position: relative; margin: 0; padding: .5rem clamp(1.5rem, 4vw, 3.5rem); display: grid; gap: 1.1rem; align-content: start; text-align: center; justify-items: center; }
.tq + .tq::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px; background: linear-gradient(180deg, transparent, rgba(234, 222, 198, .5), transparent); }
.tq .mark { font: 600 5.5rem/.6 var(--display); color: var(--blossom); height: 2.6rem; }
.tq blockquote { margin: 0; font: italic 500 clamp(1.55rem, 1.3rem + 1vw, 2.15rem)/1.3 var(--display); color: var(--cream); text-wrap: balance; }
.tq figcaption { font: 500 .78rem/1.3 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); opacity: .85; }
@media (max-width: 760px) { .testimonials { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; } .tq + .tq::before { left: 25%; right: 25%; top: -1.25rem; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(234, 222, 198, .5), transparent); } }

/* Forest section */
.section.forest { background: var(--forest-deep) url("../assets/img/tex-forest.webp") center/cover no-repeat; color: var(--champagne); }
.section.forest h2 { color: var(--cream); }
.section.forest .eyebrow { color: var(--champagne); }
.section.forest .eyebrow::before, .section.forest .eyebrow::after { background: rgba(234, 222, 198, .6); }
.section.forest .panel { border-color: transparent; color: var(--ink); }

/* Weekly calendar */
.cal-note { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1.2rem; font-size: .92rem; color: var(--sage); }
.week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.day { display: grid; gap: .6rem; align-content: start; padding: 0 .7rem 1rem; min-height: 340px; border-left: 1px solid var(--line); }
.day:first-child { border-left: 0; }
.day h3 { margin: 0 -.7rem .4rem; padding: .85rem .7rem; font: 500 .8rem/1.2 var(--label); letter-spacing: .2em; text-transform: uppercase; text-align: center; color: var(--cream); background: var(--forest); }
.slot { display: grid; gap: .15rem; padding: .7rem .8rem; border-radius: 10px; text-decoration: none; color: var(--ink); border-left: 4px solid; transition: transform .15s; }
.slot:hover { transform: translateY(-2px); color: var(--ink); }
.slot .t { font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #4a3d33; }
.slot b { font: 600 1.2rem/1.15 var(--display); color: var(--bark); }
.slot .a { font-size: .78rem; color: var(--sage); }
.pre-ballet-1 { background: var(--blossom-wash); border-color: var(--rosewood); }
.pre-ballet-2 { background: #F3EBDD; border-color: var(--copper); }
.beginner-jazz { background: #E9EDE0; border-color: var(--moss); }
.day .none { margin-top: 1rem; text-align: center; font: italic 500 1.05rem var(--display); color: var(--sage); }
.cal-key { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem; font-size: .85rem; color: var(--sage); }
.cal-key .k { display: inline-flex; align-items: center; gap: .45rem; background: none; }
.cal-key .k::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border-left: 4px solid; border-color: inherit; background: inherit; }
.cal-key .k.pre-ballet-1::before { background: var(--blossom-wash); border-color: var(--rosewood); }
.cal-key .k.pre-ballet-2::before { background: #F3EBDD; border-color: var(--copper); }
.cal-key .k.beginner-jazz::before { background: #E9EDE0; border-color: var(--moss); }
@media (max-width: 860px) { .week { grid-template-columns: minmax(0, 1fr); } .day { min-height: 0; border-left: 0; border-top: 1px solid var(--line); } .day:first-child { border-top: 0; } }

.homeschool-combo { background: #EADEC6; border-color: var(--bronze); }
.ballet-1 { background: #D5DCC6; border-color: var(--forest); }
.jazz-1 { background: var(--bark); border-color: #3E1A07; }
.ballet-2 { background: var(--forest); border-color: var(--forest-deep); }
.slot.jazz-1 b, .slot.ballet-2 b { color: var(--cream); }
.slot.jazz-1 .t, .slot.jazz-1 .a, .slot.ballet-2 .t, .slot.ballet-2 .a { color: var(--champagne); }
.cal-key .k.homeschool-combo::before { background: #EADEC6; border-color: var(--bronze); }
.cal-key .k.ballet-1::before { background: #D5DCC6; border-color: var(--forest); }
.cal-key .k.jazz-1::before { background: var(--bark); border-color: #3E1A07; }
.cal-key .k.ballet-2::before { background: var(--forest); border-color: var(--forest-deep); }
.wear-label { font: 500 .78rem/1.3 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-top: .4rem; }
.closing { font: italic 500 1.25rem/1.35 var(--display); color: var(--bark); }

.adult-ballet { background: var(--rosewood); border-color: #7E3E33; }
.slot.adult-ballet b { color: var(--cream); }
.slot.adult-ballet .t, .slot.adult-ballet .a { color: #F8E6DE; }
.cal-key .k.adult-ballet::before { background: var(--rosewood); border-color: #7E3E33; }
/* Trial band */
.trial-band { background: var(--blossom-wash) url("../assets/img/blush-wash.webp") center/cover no-repeat; text-align: center; }
.trial-band { padding-bottom: clamp(5rem, 9vw, 7rem); }
main:has(> .trial-band:last-child) + .site-footer { margin-top: 0; }
.trial-band .inner { display: grid; gap: 1.1rem; justify-items: center; max-width: 38rem; margin-inline: auto; }

/* Cards and panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: .9rem; align-content: start; }
.tables { align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.list { margin: 0; padding-left: 1.15rem; display: grid; gap: .45rem; }
.list li::marker { color: var(--moss); }

/* Class detail */
.class-detail { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-block: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.class-detail:first-of-type { border-top: 0; }
.class-detail .photo-slot { border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 100px; }
.class-detail:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.class-detail:nth-of-type(even) .photo-slot { order: 2; }
.class-detail .facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.fact { background: var(--linen); border-radius: 999px; padding: .35em .9em; font-weight: 700; font-size: .88rem; color: var(--ink); }
.fact.price { background: var(--surface); border: 1.5px solid var(--bark); color: var(--bark); }
@media (max-width: 760px) { .class-detail, .class-detail:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); } .class-detail:nth-of-type(even) .photo-slot { order: 0; } .class-detail .photo-slot { position: static; } }

/* FAQ */
.faq { display: grid; max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.6rem/1 var(--display); color: var(--forest); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: .6rem; color: #3d3128; }

/* Forms */
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font: inherit; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--forest); outline: 3px solid rgba(69, 82, 58, .18); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--forest); flex: none; }
.hidden-field { position: absolute; left: -9999px; }

/* Contact */
.contact-list { display: grid; gap: 1.2rem; }
.contact-list dt { font: 500 .78rem/1.3 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--sage); }
.contact-list dd { margin: .2rem 0 0; font-size: 1.1rem; }

/* Footer: woodland floor sits on its top edge */
.site-footer { position: relative; margin-top: clamp(4rem, 8vw, 6rem); background: var(--forest) url("../assets/img/tex-forest.webp") center/cover no-repeat; color: var(--champagne); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer .floor { position: absolute; right: clamp(16px, 6vw, 90px); bottom: calc(100% - 8px); width: clamp(180px, 24vw, 300px); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.footer-grid > * { min-width: 0; }
.site-footer img.mark { width: min(260px, 100%); }
.site-footer a { color: var(--champagne); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer a:hover { color: #fff; }
.site-footer h2 { font: 500 .78rem/1.3 var(--label); letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); opacity: .85; margin-bottom: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-base { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(234, 222, 198, .25); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; font-size: .88rem; opacity: .85; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

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

@media (max-width: 560px) {
  .eyebrow { letter-spacing: .16em; text-align: center; }
  .eyebrow::before, .eyebrow::after { display: none; }
  .btn-row .btn { width: 100%; }
}

.page-hero .inner p, .page-hero .inner h1 { position: relative; }
.page-hero .inner .lede { text-shadow: 0 0 6px #FCFAF0, 0 0 12px #FCFAF0, 0 0 18px #FCFAF0; }
@media (max-width: 1400px) { .page-hero .art.birds-tr { right: 0; } }

.site-footer .logo-plate { display: block; width: min(320px, 100%); }
.site-footer .logo-plate img { width: 100%; filter: drop-shadow(0 0 1px rgba(252, 250, 240, .9)) drop-shadow(0 0 10px rgba(252, 250, 240, .55)) drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }

/* FAQ on forest */
.section.forest .faq details { border-bottom-color: rgba(234, 222, 198, .28); }
.section.forest .faq summary { color: var(--cream); }
.section.forest .faq summary::after { color: var(--blossom); }
.section.forest .faq details p { color: var(--champagne); }
.section.forest .faq a:not(.btn) { color: var(--cream); }
.section.forest .btn-primary { background: var(--champagne); color: var(--forest-deep); }
.section.forest .btn-primary:hover { background: var(--cream); color: var(--forest-deep); }
.section.forest .btn-secondary { border-color: var(--champagne); color: var(--champagne); }
.section.forest .btn-secondary:hover { background: var(--champagne); color: var(--forest-deep); }

/* ==========================================================================
   Motion. Slow, soft and quiet. All of it switches off for reduced motion.
   Content is fully visible without JavaScript; hiding only happens once
   site.js adds .motion to <html>.
   ========================================================================== */
:root { --ease-out: cubic-bezier(.22, .61, .36, 1); --ease-soft: cubic-bezier(.45, 0, .25, 1); }

/* Page-to-page crossfade (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease-soft); }
.site-header { view-transition-name: site-header; }

/* Header settles once you scroll */
.site-header { transition: box-shadow .4s var(--ease-out), background-color .4s; }
.header-inner { transition: min-height .4s var(--ease-out); }
.brand img { transition: width .4s var(--ease-out); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(43, 33, 26, .07); background: rgba(252, 250, 240, .97); }
.site-header.scrolled .header-inner { min-height: 64px; }
.site-header.scrolled .brand img { width: clamp(140px, 15vw, 172px); }
.nav a:not(.btn) { position: relative; border-bottom-color: transparent !important; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blossom); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1240px) { .nav a:not(.btn)::after { display: none; } }

/* Homepage hero: slow settle of the painting, then the words arrive in sequence */
.hero { background-image: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../assets/img/hero-woodland-desktop.webp") center/cover no-repeat; transform-origin: 50% 60%; }
@media (max-width: 760px) { .hero::before { background-image: url("../assets/img/hero-woodland-mobile.webp"); background-position: center top; } }
.motion .hero::before { animation: settle 2.8s var(--ease-out) both; }
.motion .hero .inner > *, .motion .page-hero .inner > * { animation: rise 1s var(--ease-out) both; }
.motion .hero .inner > :nth-child(1), .motion .page-hero .inner > :nth-child(1) { animation-delay: .25s; }
.motion .hero .inner > :nth-child(2), .motion .page-hero .inner > :nth-child(2) { animation-delay: .4s; }
.motion .hero .inner > :nth-child(3), .motion .page-hero .inner > :nth-child(3) { animation-delay: .58s; }
.motion .hero .inner > :nth-child(4) { animation-delay: .76s; }
.motion .hero .inner::before { animation: glow 1.6s var(--ease-out) both; }
@keyframes settle { from { transform: scale(1.07); opacity: .6; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes glow { from { opacity: 0; } to { opacity: 1; } }

/* Page header art drifts in, then breathes */
.motion .page-hero .art { animation: art-in 1.6s var(--ease-out) .1s both, sway 9s var(--ease-soft) 1.8s infinite alternate; }
.motion .page-hero .art.birds-tr { animation: art-in 1.6s var(--ease-out) .1s both, glide 7s var(--ease-soft) 1.8s infinite alternate; }
@keyframes art-in { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
@keyframes sway { from { rotate: 0deg; } to { rotate: 1.6deg; } }
@keyframes glide { from { translate: 0 0; } to { translate: -10px -12px; } }

/* Scroll reveals */
.motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.motion .reveal.in { opacity: 1; transform: none; }
.motion .reveal.fade { transform: none; }
.motion .reveal.img { transform: translateY(18px) scale(.97); }
.motion .reveal.img.in { transform: none; }

/* Bronze lines beside labels draw outward as the label appears */
.motion .reveal .eyebrow::before, .motion .reveal .eyebrow::after, .motion .reveal.eyebrow::before, .motion .reveal.eyebrow::after { transform: scaleX(0); transition: transform 1s var(--ease-out) .35s; }
.motion .reveal .eyebrow::before, .motion .reveal.eyebrow::before { transform-origin: right; }
.motion .reveal .eyebrow::after, .motion .reveal.eyebrow::after { transform-origin: left; }
.motion .reveal.in .eyebrow::before, .motion .reveal.in .eyebrow::after { transform: scaleX(1); }

/* First-class steps: the line draws across, then each number lands */
.motion .steps-row::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-soft) .2s; }
.motion .steps-row.in::before { transform: scaleX(1); }
.motion .steps-row li::before { transform: scale(.4); opacity: 0; transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .5s; transition-delay: var(--d, 0s); }
.motion .steps-row.in li::before { transform: none; opacity: 1; }

/* Testimonials: quotation marks bloom */
.motion .tq .mark { display: inline-block; transform: scale(.5); opacity: 0; transition: transform 1s cubic-bezier(.34, 1.56, .64, 1) .3s, opacity .6s .3s; }
.motion .tq.in .mark { transform: none; opacity: 1; }

/* Gentle life in the large illustrations once they are on screen */
.motion .floaty.in { animation: float 8s var(--ease-soft) 1s infinite alternate; }
@keyframes float { from { translate: 0 0; } to { translate: 0 -10px; } }

/* Hover and press */
.btn { position: relative; overflow: hidden; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43, 33, 26, .14); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .22) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn-primary:hover::after { transform: translateX(120%); }
.class-card { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
a.class-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43, 33, 26, .12); }
.class-card .photo-slot { transition: transform .8s var(--ease-out); }
a.class-card:hover .photo-slot { transform: scale(1.04); }
.slot { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.slot:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(43, 33, 26, .1); }
.panel { transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.grid-3 .panel:hover, .grid-2 .panel:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(43, 33, 26, .08); }

/* FAQ opens smoothly */
.faq details p, .faq details .btn { animation: none; }
.motion .faq details[open] > :not(summary) { animation: open .5s var(--ease-out); }
.faq summary::after { transition: transform .35s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(180deg); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .motion .reveal, .motion .reveal.img { opacity: 1 !important; transform: none !important; }
  .motion .page-hero .art, .motion .hero::before, .motion .floaty.in { animation: none !important; }
  .btn:hover, a.class-card:hover, .slot:hover, .panel:hover { transform: none !important; }
}

/* Free trial form: parent and dancer groups */
.form .group { position: relative; border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.form .group legend { padding: 0; margin-bottom: .2rem; font: italic 600 1.45rem/1.2 var(--display); color: var(--bark); }
.form .group[hidden] { display: none; }
.form .dancer { padding-top: 18px; border-top: 1px solid var(--line); }
.form .dancer .class-hint:empty { display: none; }
.remove-dancer { position: absolute; top: 4px; right: 0; background-color: var(--surface); padding-left: .6rem !important; background: none; border: 0; padding: .3rem .2rem; font: 700 .85rem var(--body); color: var(--rosewood); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.remove-dancer:hover { color: var(--bark); }
.add-dancer { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; min-height: 46px; padding: .6em 1.2em; border: 1.5px dashed var(--forest); border-radius: 999px; background: transparent; color: var(--forest); font: 700 .95rem var(--body); cursor: pointer; transition: background-color .25s, color .25s; }
.add-dancer:hover { background: var(--forest); color: var(--cream); border-style: solid; }
.add-dancer[hidden] { display: none; }
.motion .dancer:not([hidden]) { animation: rise .5s var(--ease-out); }

/* Seven class cards: four on top, three centered underneath */
.age-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.age-grid > .class-card { flex: 0 1 calc((100% - 54px) / 4); min-width: min(100%, 240px); }
@media (max-width: 1100px) { .age-grid > .class-card { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 560px) { .age-grid > .class-card { flex-basis: 100%; } }

/* Founding families page */
.founding-hero .hero-note { color: var(--forest-deep); font-weight: 600; }
.folds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; max-width: 64rem; margin-inline: auto; align-items: start; }
.fold { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .35s var(--ease-out), border-color .35s; }
.fold:hover, .fold[open] { border-color: var(--bronze-light); box-shadow: 0 12px 28px rgba(43, 33, 26, .08); }
.fold summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .8rem; padding: 20px 22px; font: italic 600 1.35rem/1.25 var(--display); color: var(--bark); }
.fold summary::-webkit-details-marker { display: none; }
.fold summary > span:last-child { flex: 1; }
.fold summary::after { content: "+"; flex: none; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font: 600 1.3rem/1 var(--body); color: var(--forest); border: 1.5px solid var(--line); transition: transform .35s var(--ease-out), background-color .25s, color .25s; }
.fold[open] summary::after { transform: rotate(45deg); background: var(--forest); color: var(--cream); border-color: var(--forest); }
.fold > :not(summary) { margin: 0 22px; }
.fold > :last-child { margin-bottom: 20px; }
.fold p + p, .fold p + a { margin-top: .6rem; display: inline-block; }
.motion .fold[open] > :not(summary) { animation: open .45s var(--ease-out); }
.fold .yr { flex: none; font: 500 .75rem/1 var(--label); letter-spacing: .16em; color: var(--sage); font-style: normal; padding: .45em .6em; border: 1px solid var(--line); border-radius: 999px; }
.fold .src { font-size: .9rem; color: var(--sage); }
.on-forest .fold { background: rgba(252, 250, 240, .96); border-color: transparent; }
.research-note { max-width: 46rem; margin: 1.8rem auto 0; text-align: center; color: var(--champagne); opacity: .85; }
.section.forest .section-head p { color: var(--champagne); }
.letter { margin-top: .4rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.letter summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--forest); }
.letter summary::-webkit-details-marker { display: none; }
.letter summary::after { content: "+"; font: 600 1.2rem/1 var(--body); transition: transform .3s var(--ease-out); }
.letter[open] summary::after { transform: rotate(45deg); }
.letter p { margin-top: 1rem; }
.letter .signoff { font-family: var(--display); font-size: 1.2rem; font-style: italic; color: var(--bark); }
.letter .signoff span { font: 400 .9rem var(--body); font-style: normal; color: var(--sage); }
.motion .letter[open] > p { animation: open .5s var(--ease-out); }
.class-chips { list-style: none; margin: 0 auto; padding: 0; max-width: 64rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.class-chips a { display: grid; gap: .15rem; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease-out), box-shadow .3s; }
.class-chips a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(43, 33, 26, .08); }
.class-chips b { font: 600 1.25rem/1.2 var(--display); color: var(--bark); }
.class-chips span { font-size: .85rem; color: var(--sage); }
.nav a { white-space: nowrap; }

/* Fold cards: centered rows of three, equal closed height */
.folds { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; }
.folds > .fold { flex: 0 1 calc((100% - 32px) / 3); min-width: min(100%, 280px); }
.fold summary { min-height: 5.4rem; }
@media (max-width: 900px) { .folds > .fold { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .folds > .fold { flex-basis: 100%; } .fold summary { min-height: 0; } }

.folds { align-items: stretch; }
.fold:not([open]) { display: flex; flex-direction: column; justify-content: center; }
.fold:not([open]) summary { flex: 1; }

/* Phone polish: comfortable tap targets, readable small text, nothing wider than the screen */
.contact-list dd { overflow-wrap: anywhere; }
.faq summary { min-height: 44px; align-items: center; }
.letter summary, .study .text-link { min-height: 44px; }
.study .text-link { display: inline-flex; align-items: center; }
.check input { width: 24px; height: 24px; }
.footer-base a { display: inline-block; padding: .55rem 0; }
@media (max-width: 600px) {
  .slot .t { font-size: .86rem; }
  .slot .a { font-size: .84rem; }
  .fold .yr { font-size: .8rem; }
}
@media (max-width: 380px) {
  th, td { padding: .75rem .8rem; }
  table { font-size: .95rem; }
}
/* Logo keeps its size; the menu gives way instead */
.brand { flex: none; }
.header-inner { max-width: 79rem; }
@media (min-width: 1241px) and (max-width: 1400px) { .nav { gap: .85rem; } .nav a { font-size: .95rem; } }
/* About: Miss Hollie's story as an even two by two */
.story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 62rem; margin-inline: auto; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }
.footer-grid > * { min-width: 0; }
.footer-grid a[href^="mailto:"] { overflow-wrap: anywhere; }
/* Footer: the studio blurb gets a comfortable reading width; Visit and Explore size to their content */
@media (min-width: 1100px) { .footer-grid { grid-template-columns: minmax(0, 27rem) max-content max-content; justify-content: space-between; } }
@media (min-width: 761px) and (max-width: 1099px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > .stack { grid-column: 1 / -1; } }
.footer-grid > .stack > p { max-width: 34rem; }
/* Real photos fill the same tiles the placeholders used */
.photo-slot.photo { display: block; width: 100%; height: auto; padding: 0; object-fit: cover; background: var(--linen); }
/* Contact: the tall studio photo matches the height of the contact panel beside it */
.contact-split { align-items: stretch; }
.contact-photo { display: block; width: 100%; height: 0; min-height: 100%; object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); border: 1px solid var(--line); }
@media (max-width: 860px) { .contact-photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }
@media (max-width: 600px) { .contact-photo { aspect-ratio: 4 / 5; } }
.contact-photo.floaty, .motion .contact-photo.floaty.in { animation: none; transform: none; }
.on-forest .fold p:not(.src) { color: var(--ink); }
/* Contact: even space above and below the panel, and no extra gap before the footer */
.contact-section { padding-block: clamp(2rem, 4vw, 3rem); }
main:has(> .contact-section:last-child) + .site-footer { margin-top: 0; }
.photo-slot.photo.arched { width: min(360px, 100%); margin-inline: auto; object-position: 50% 30%; }
/* Footer social links */
.footer-grid > .stack > p.social { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; font-size: 1rem; margin-top: .4rem; }
.footer-grid .social span { font: 500 .78rem/1.3 var(--label); letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.footer-grid .social a { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding-block: .5rem; }

/* About: Hollie's 1993 Nutcracker keepsake photo */
.throwback .split { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.throwback .lede { color: var(--cream); }
.throwback p { color: var(--champagne); }
.keepsake { margin: 0 auto; width: min(380px, 100%); background: var(--cream); padding: 14px 14px 0; border-radius: 6px; box-shadow: 0 22px 44px rgba(0, 0, 0, .28); transform: rotate(-2deg); }
.keepsake img { display: block; width: 100%; height: auto; border-radius: 3px; }
.keepsake figcaption { font-family: "Cormorant Garamond", serif; font-size: 1.15rem; color: var(--bark); text-align: center; padding: .7rem .5rem .85rem; }
@media (max-width: 860px) { .throwback .split { grid-template-columns: minmax(0, 1fr); } .keepsake { width: min(320px, 100%); } }
