/* pamelyaerial.com: direction B "Timetable". Shares the Pamculator Daybook palette so the site,
   booking pages and app read as one brand. Mobile first; checked at 320 / 402 / 1280px. */
:root {
  --bg: #FFF1F5;
  --surface: #FFFAFB;
  --tint: #FCE2EB;
  --rose: #963E60;
  --rose-ink: #FFF7FA;
  --ink: #402632;
  --soft: #775362;
  --line: #EDD0DC;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--rose); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--rose-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--rose); }
.serif { font-family: var(--serif); font-weight: 500; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid var(--rose); transition: transform .15s ease, background .15s ease; }
.btn.solid { background: var(--rose); color: var(--rose-ink); }
.btn.ghost { background: transparent; color: var(--rose); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost:hover { background: var(--tint); }
.btn[aria-disabled="true"] { background: var(--surface); color: var(--soft); border-color: var(--line); pointer-events: none; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 8px; }
.brand { font: 600 26px/1 var(--serif); color: var(--ink); text-decoration: none; margin: 0; }
.site-header nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { border-bottom-color: var(--rose); color: var(--rose); }
@media (max-width: 900px) {
  .bar { flex-wrap: wrap; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .site-header nav ul { gap: 18px; padding-bottom: 4px; }
  .site-header nav a { white-space: nowrap; font-size: 14px; }
}

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding-block: clamp(28px, 6vw, 64px); }
.hero h1 { font: 500 clamp(34px, 4.6vw, 58px)/1.1 var(--serif); letter-spacing: -.015em; }
.hero h1 em { color: var(--rose); }
.lede { margin-top: 18px; font-size: clamp(16px, 1.6vw, 18px); color: var(--soft); max-width: 46ch; }
.actions { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.chips { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; list-style: none; }
.chips li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; }
.chips b { color: var(--rose); }
.hero-pic { position: relative; }
.hero-pic img { width: 100%; aspect-ratio: 4 / 5; max-height: min(78vh, 680px); object-fit: cover; object-position: 50% 30%; border-radius: 28px; }
.hero-pic figcaption { position: absolute; left: -18px; bottom: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 14px 30px -18px rgba(64, 38, 50, .45); max-width: 250px; display: grid; gap: 2px; }
.hero-pic figcaption small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); font-weight: 700; }
.hero-pic figcaption b { font-size: 15px; }
.hero-pic figcaption span { font-size: 13px; color: var(--soft); }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-pic figcaption { left: 12px; bottom: 12px; }
  .hero-pic img { aspect-ratio: 1 / 1; max-height: none; object-position: 50% 32%; }
}

/* sections */
.band { padding-block: clamp(40px, 7vw, 72px); }
.band.surface { background: var(--surface); border-block: 1px solid var(--line); }
.band-head { display: grid; gap: 6px; margin-bottom: 24px; }
.band-head h2, .page-head h1 { font: 500 clamp(30px, 4vw, 44px)/1.1 var(--serif); }
.band-head p { color: var(--soft); max-width: 60ch; }
.page-head { padding-block: clamp(32px, 6vw, 56px) 8px; display: grid; gap: 10px; }
.page-head p { color: var(--soft); max-width: 62ch; font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.card.feature { background: var(--tint); border-color: #E7B9CB; }
.card h3 { font-size: 22px; font-weight: 700; }
.card ul { margin: 0; padding-left: 18px; color: var(--soft); font-size: 15px; display: grid; gap: 4px; }
.card .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* live course cards (filled from Pamculator) */
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.course { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.course h3 { font-size: 20px; font-weight: 700; }
.course .when { font-weight: 600; }
.course .where, .course .price { color: var(--soft); font-size: 15px; }
.pill { justify-self: start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--rose); }
.pill.full, .pill.closed { background: transparent; border: 1px solid var(--line); color: var(--soft); }
.course .btn { justify-self: start; margin-top: 6px; }
.empty { background: var(--surface); border: 1px dashed #E2B7C8; border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; justify-items: start; color: var(--soft); }
.empty b { color: var(--ink); font-size: 17px; }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.about-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about h2 { font: 500 clamp(30px, 4vw, 44px)/1.1 var(--serif); }
.about .bio { margin-top: 14px; color: var(--soft); display: grid; gap: 12px; max-width: 58ch; }
.record { margin-top: 24px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.record .h { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--soft); border-bottom: 1px solid var(--line); }
.record ol { list-style: none; margin: 0; padding: 0; }
.record li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.record li:last-child { border-bottom: 0; }
.record .yr { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--rose); }
.record b { font-weight: 600; display: block; }
.record span { font-size: 14px; color: var(--soft); }
.medal { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: var(--tint); color: var(--rose); white-space: nowrap; }
.medal.quiet { background: transparent; border: 1px solid var(--line); color: var(--soft); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-pic img { aspect-ratio: 1 / 1; object-position: 50% 25%; }
  .record li { grid-template-columns: 44px minmax(0, 1fr); }
  .record .medal { grid-column: 2; justify-self: start; }
}

/* video */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* timetable (regular class) */
.studios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.studio { min-width: 0; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; align-content: start; }
.studio h2 { font-size: 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.studio h2 a { font-size: 14px; font-weight: 600; }
.slots { list-style: none; margin: 0; padding: 0; display: grid; }
.slots li { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.slots .t { font-weight: 700; font-variant-numeric: tabular-nums; }
.slots .lv { color: var(--soft); font-size: 14px; }
.note { margin-top: 18px; background: var(--tint); border-radius: 16px; padding: 16px 18px; color: var(--ink); }
.levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.levels div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 4px; }
.levels b { font-size: 17px; }
.levels span { color: var(--soft); }
@media (max-width: 860px) { .studios, .levels { grid-template-columns: 1fr; } }

/* split text + image pages */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.split .text { display: grid; gap: 16px; color: var(--soft); max-width: 62ch; }
.split .text strong { color: var(--ink); }
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.steps { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--rose); color: var(--rose-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* gallery */
.gallery-group + .gallery-group { margin-top: 40px; }
.gallery-group h2 { font: 500 32px/1.1 var(--serif); margin-bottom: 16px; }
.grid { columns: 3 260px; column-gap: 12px; }
.grid img { width: 100%; margin-bottom: 12px; border-radius: 14px; break-inside: avoid; background: var(--tint); }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.contact-cards a.card { text-decoration: none; color: var(--ink); }
.contact-cards a.card:hover { border-color: var(--rose); }
.contact-cards .v { color: var(--rose); font-weight: 600; word-break: break-word; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: 24px; }
.foot { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; padding-block: 32px; align-items: start; }
.foot p { color: var(--soft); }
.foot .links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot .small { grid-column: 1 / -1; font-size: 13px; }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.h2-sm { font: 500 clamp(30px, 4vw, 40px)/1.1 var(--serif); color: var(--ink); }
.split img.tall { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.hero .eyebrow { display: block; margin-bottom: 14px; }
html { scroll-behavior: smooth; }
#video, #choose { scroll-margin-top: 88px; }
.brand img { height: 46px; width: auto; }
.foot-logo { height: 64px; width: auto; margin-bottom: 8px; }
@media (max-width: 900px) { .brand img { height: 40px; } }
