/* ===== Sakura Yeung — palette & tokens ===== */
:root {
  color-scheme: light;
  --pink: #FFAEDC;          /* cherry blossom (brand) */
  --pink-soft: #FFE3F3;
  --pink-deep: #B0306F;     /* text-safe pink (AA on white) */
  --teal-1: #C4F5FE;        /* light teal shades from the brief */
  --teal-2: #BBEAFE;
  --teal-3: #B3E1FE;
  --teal-4: #AFDAFE;
  --teal-5: #AAC8FE;
  --ink: #26223D;           /* main text */
  --ink-2: #4F4B66;         /* secondary text (AA on white & teal-1) */
  --night: #221F3A;         /* dark section */
  --white: #fff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(38, 34, 61, .08);
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --topbar: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 8px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Visible, consistent keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--pink-deep); outline-offset: 3px; border-radius: 10px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px;
  padding: .7em 1.5em; border-radius: 999px; font: 900 1rem/1 var(--sans);
  letter-spacing: .04em; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-pink { background: var(--pink); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 174, 220, .55); }
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 140, 200, .6); }
.btn-ghost { background: rgba(255,255,255,.7); border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: #fff; }

/* ===== Top bar & accessible nav tabs ===== */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--topbar); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 4vw, 48px);
  transition: background .3s, box-shadow .3s;
}
.topbar.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(38,34,61,.08); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 1.1rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.brand-mark { width: 34px; height: 34px; fill: var(--pink); stroke: var(--pink-deep); stroke-width: 1; }
.brand-logo { height: 50px; width: auto; flex: none; }
.flower-core { fill: var(--teal-5); stroke: none; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px;
  border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; color: var(--ink);
  transition: background .2s;
}
.nav ul a:hover { background: var(--teal-1); }
.nav ul a[aria-current="true"] { background: var(--teal-2); box-shadow: inset 0 0 0 2px var(--teal-5); }
.nav-cta { margin-left: 8px; }

/* ===== Vertical side text (from the reference layout) ===== */
.side {
  position: fixed; top: 50%; z-index: 5; margin: 0; writing-mode: vertical-rl;
  font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2);
  pointer-events: none; white-space: nowrap; transition: color .3s;
}
.side-left { left: 14px; transform: translateY(-50%) rotate(180deg); }
.side-right { right: 14px; transform: translateY(-50%); }
body.on-dark .side { color: #C9C4E4; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: calc(var(--topbar) + 24px) clamp(48px, 7vw, 120px) 48px;
  background:
    radial-gradient(circle at 15% 20%, var(--pink-soft) 0, transparent 45%),
    linear-gradient(160deg, var(--teal-1) 0%, var(--teal-3) 55%, var(--teal-5) 100%);
  overflow: hidden;
}
.petals { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.hero-text, .hero-photo { position: relative; z-index: 2; }
.notice {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: #fff; color: var(--ink); font-weight: 700; padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(38,34,61,.1); border: 2px solid var(--pink);
}
.notice .ico { color: var(--pink-deep); }
.eyebrow { font-weight: 800; letter-spacing: .25em; text-transform: uppercase; font-size: .85rem; color: var(--pink-deep); }
.hero h1 { font: 900 clamp(2.8rem, 6.4vw, 5.6rem)/1.02 var(--sans); margin: .3em 0 .35em; letter-spacing: .04em; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 32ch; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 24px; }
.hero-where { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-2); }
.hero-photo { margin: 0; justify-self: center; width: min(100%, 460px); }
.hero-photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%;
  border-radius: 240px 240px var(--radius) var(--radius);
  border: 8px solid #fff; box-shadow: 0 30px 60px rgba(38, 34, 61, .18);
}

/* ===== Sections ===== */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) clamp(48px, 9vw, 160px); }
.sec-head { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 16px; margin-bottom: 48px; }
.num { font: 700 1rem var(--sans); color: var(--pink-deep); letter-spacing: .1em; }
.kicker { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .85rem; color: var(--ink-2); }
.sec-head h2 {
  grid-column: 1 / -1; font: 900 clamp(2.4rem, 6vw, 4.5rem)/1.05 var(--sans); letter-spacing: .12em; margin-top: 10px;
  position: relative; padding-bottom: 18px;
}
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 4px; border-radius: 4px; background: var(--pink); }
.sec-intro { max-width: 60ch; color: var(--ink-2); margin-bottom: 40px; font-size: 1.1rem; }
.center { text-align: center; margin-top: 48px; }

/* About — dark statement block, like the reference "mission" */
.sec-about { background: var(--night); color: #F4F1FF; }
.sec-about .kicker { color: #C9C4E4; }
.sec-about .num { color: var(--pink); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.statement { font: 700 clamp(1.7rem, 3vw, 2.6rem)/1.4 var(--sans); letter-spacing: .02em; color: var(--pink); }
.about-side { position: sticky; top: calc(var(--topbar) + 32px); display: grid; gap: 32px; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 40%; border-radius: var(--radius); border: 6px solid rgba(255,255,255,.9); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.about-body p + p { margin-top: 1.1em; }
.about-body { color: #E6E2F7; }

/* Lessons cards */
.sec-lessons { background: linear-gradient(180deg, #fff 0%, var(--teal-1) 100%); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 36px 30px 30px;
  box-shadow: var(--shadow); border-top: 6px solid var(--pink); display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s, box-shadow .25s, opacity .8s;
}
.card:nth-child(2) { border-top-color: var(--teal-3); }
.card:nth-child(3) { border-top-color: var(--teal-5); }
.card.in:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(38, 34, 61, .12); }
.card-num { font: 900 2rem/1 var(--sans); letter-spacing: .08em; color: #6F92D6; }
.card h3 { font: 700 1.45rem/1.25 var(--sans); }
.card p { color: var(--ink-2); }
.card .tag { margin-top: auto; align-self: flex-start; background: var(--pink-soft); color: var(--pink-deep); font-weight: 800; font-size: .85rem; padding: 6px 14px; border-radius: 999px; }

/* Portfolio timeline */
.timeline { list-style: none; margin: 0; padding: 0; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid rgba(38,34,61,.12); }
.timeline .when { font: 900 .9rem/1.9 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--pink-deep); }
.timeline h3 { font: 700 1.15rem/1.4 var(--sans); margin-bottom: 4px; }
.timeline p { color: var(--ink-2); }

/* Studio info table */
.sec-studio { background: var(--teal-1); }
.info { margin: 0; max-width: 820px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 36px; }
.info div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(38,34,61,.1); }
.info div:last-child { border-bottom: 0; }
.info dt { font-weight: 800; color: var(--ink); }
.info dd { margin: 0; color: var(--ink-2); }

/* Contact form */
.sec-contact { background: linear-gradient(180deg, #fff 0%, var(--pink-soft) 100%); }
.form { max-width: 820px; display: grid; gap: 20px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 4px; row-gap: 8px; font-weight: 700; }
.req { color: var(--pink-deep); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--ink); background: #fff;
  border: 2px solid #8F8BA6; border-radius: 14px; padding: 12px 14px; min-height: 50px; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--pink-deep); outline: 3px solid var(--pink); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: #B3261E; }
.form-note { font-size: .9rem; color: var(--ink-2); }
.form button { justify-self: start; }
.form-status { font-weight: 700; min-height: 1.5em; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 32px clamp(48px, 9vw, 160px); background: var(--night); color: #D8D4EE; font-size: .95rem;
}
.footer a { color: var(--pink); font-weight: 700; }

/* Rates */
.rates { max-width: 820px; margin: 56px auto 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 36px; }
.rates-title { font: 900 1rem var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 12px; }
.rates table { width: 100%; border-collapse: collapse; }
.rates th, .rates td { text-align: left; padding: 14px 0; border-bottom: 1px solid rgba(38,34,61,.1); vertical-align: middle; }
.rates thead th { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); padding-top: 0; }
.rates tbody th { font-weight: 700; }
.rates td { text-align: right; font-weight: 900; font-size: 1.15rem; white-space: nowrap; padding-left: 16px; }
.rates thead th:last-child { text-align: right; }
.badge { display: inline-block; margin-left: 6px; background: var(--teal-2); color: var(--ink); font-size: .75rem; font-weight: 900; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; vertical-align: 2px; }
.badge-pink { background: var(--pink-soft); color: var(--pink-deep); }
.rates-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; background: var(--teal-1); border-radius: 14px; padding: 14px 16px; color: var(--ink); }
.rates-note .ico { margin-top: 4px; color: var(--pink-deep); }

/* Links in the studio table, father's card */
.info a, .family a { color: var(--pink-deep); font-weight: 700; text-underline-offset: 3px; }
.ext { display: inline-flex; align-items: center; gap: 6px; }
.ext .ico { width: 1em; height: 1em; }
.family { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; max-width: 820px; margin-top: 24px; background: #fff; border-left: 6px solid var(--pink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 32px; }
.family-photo { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 5px solid var(--pink-soft); }
.family-kicker { font-size: .8rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-deep); }
.family h3 { font: 900 1.6rem/1.2 var(--sans); letter-spacing: .06em; margin: 2px 0 8px; }
.family p { color: var(--ink-2); }
.family ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.info dd { overflow-wrap: anywhere; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Credentials & testimonials ===== */
.recital { margin: 0 0 56px; max-width: 900px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--night); box-shadow: 0 24px 50px rgba(38,34,61,.2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #E6E2F7; font-weight: 700;
  background: radial-gradient(circle at 30% 20%, rgba(255,174,220,.25), transparent 50%), linear-gradient(160deg, #2c2850, var(--night)); }
.video-empty .ico { width: 56px; height: 56px; color: var(--pink); }
.recital figcaption { margin-top: 14px; color: var(--ink-2); }
.recital figcaption b { color: var(--ink); margin-right: 6px; }

.cred-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sub-title { font: 900 1rem var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.sub-intro { color: var(--ink-2); margin-bottom: 16px; }
.cred-grid .timeline li:first-child { padding-top: 12px; }
.cred-grid .timeline li { grid-template-columns: 136px 1fr; }
.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.result { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px; display: grid; gap: 4px; border-top: 6px solid var(--pink); }
.result:nth-child(even) { border-top-color: var(--teal-5); }
.result .score { font: 900 2.6rem/1 var(--sans); color: var(--pink-deep); letter-spacing: .02em; }
.result .exam { font-weight: 700; }
.result .student { color: var(--ink-2); font-size: .95rem; }
.quotes { display: grid; gap: 16px; margin-top: 24px; }
.quote { margin: 0; background: var(--teal-1); border-radius: var(--radius); padding: 22px 24px; }
.quote .ico { width: 28px; height: 28px; color: var(--pink-deep); }
.quote blockquote { margin: 6px 0 10px; font-size: 1.05rem; font-style: italic; }
.quote figcaption { font-weight: 700; color: var(--ink-2); }

/* ===== About page ===== */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--topbar) + clamp(48px, 8vw, 110px)) clamp(48px, 9vw, 160px) clamp(40px, 6vw, 80px);
  background:
    radial-gradient(circle at 15% 30%, var(--pink-soft) 0, transparent 45%),
    linear-gradient(160deg, var(--teal-1) 0%, var(--teal-3) 60%, var(--teal-5) 100%);
}
.page-hero .sec-head { position: relative; z-index: 2; margin-bottom: 0; }
.page-hero h1 {
  grid-column: 1 / -1; font: 900 clamp(2.8rem, 7vw, 5.5rem)/1.05 var(--sans); letter-spacing: .12em; margin-top: 10px;
  position: relative; padding-bottom: 18px;
}
.page-hero h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 4px; border-radius: 4px; background: var(--pink); }
.page-hero .kicker { grid-column: 1 / -1; color: var(--pink-deep); }

.sec-origins { background: linear-gradient(180deg, #fff 0%, var(--pink-soft) 100%); }
.polaroids { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(24px, 5vw, 64px); }
.polaroid {
  margin: 0; background: #fff; padding: 12px 12px 16px; border-radius: 6px;
  box-shadow: 0 18px 40px rgba(38, 34, 61, .16); width: min(100%, 300px);
}
.polaroid figcaption a { color: var(--pink-deep); }
.polaroid:nth-child(even) { margin-top: 48px; }
.polaroid.reveal.in:nth-child(odd) { transform: rotate(-2.5deg); }
.polaroid.reveal.in:nth-child(even) { transform: rotate(2deg); }
.polaroid img { width: 100%; height: auto; border-radius: 3px; }
.polaroid figcaption { margin-top: 12px; text-align: center; font-weight: 700; color: var(--ink-2); }

.cta-band { text-align: center; padding: clamp(64px, 9vw, 110px) 16px; background: var(--night); color: #F4F1FF; }
.cta-band h2 { font: 900 clamp(1.7rem, 3.4vw, 2.6rem)/1.25 var(--sans); letter-spacing: .04em; color: var(--pink); }
.cta-band p { margin-top: 12px; color: #E6E2F7; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.1); }

/* current page in the nav */
.nav ul a[aria-current="page"] { background: var(--teal-2); box-shadow: inset 0 0 0 2px var(--teal-5); }

/* ===== Lesson prep checklist ===== */
.prep { max-width: 1000px; margin: 56px auto 0; }
.prep-title { font: 900 1rem var(--sans); letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.prep-intro { text-align: center; color: var(--ink-2); margin: 8px auto 24px; max-width: 52ch; }
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prep-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; border-top: 6px solid var(--pink); }
.prep-card + .prep-card { border-top-color: var(--teal-5); }
.prep-card h4 { display: flex; align-items: center; gap: 10px; margin: 0; font: 900 1.2rem/1.3 var(--sans); }
.prep-card h4 .ico { color: var(--pink-deep); width: 1.4em; height: 1.4em; }
.prep-sub { margin: 6px 0 14px; color: var(--ink-2); font-weight: 700; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B0306F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* Mobile tab bar (hidden on desktop) */
.tabbar { display: none; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1150px) {
  /* Keep text labels visible; just tighten spacing */
  .nav ul { gap: 0; }
  .nav ul a { padding: 0 10px; gap: 6px; }
  .nav-cta { padding: .7em 1.1em; margin-left: 4px; }
  .brand { font-size: .95rem; letter-spacing: .12em; gap: 8px; }
  .brand-logo { height: 42px; }
}
.brand, .btn, .nav ul a { white-space: nowrap; }
@media (max-width: 900px) {
  :root { --topbar: 64px; }
  .brand-logo { height: 42px; }
  .side { display: none; }
  .nav { display: none; }
  .topbar { justify-content: center; }
  .hero { grid-template-columns: 1fr; text-align: center; padding: calc(var(--topbar) + 16px) 16px 56px; gap: 32px; }
  .hero-photo { order: -1; width: min(78%, 340px); }
  .hero-lead { margin: 0 auto; }
  .hero-actions, .hero-where { justify-content: center; }
  .sec { padding: 72px 16px; }
  .about-grid, .cards, .row2, .prep-grid, .cred-grid { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: clamp(1.8rem, 8.4vw, 2.4rem); letter-spacing: .1em; }
  .recital { margin-bottom: 40px; }
  .page-hero { padding: calc(var(--topbar) + 40px) 16px 40px; }
  .prep-card { padding: 22px 20px; }
  .polaroid:nth-child(even) { margin-top: 0; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .info { padding: 8px 20px; }
  .info div { grid-template-columns: 1fr; gap: 2px; }
  .rates { padding: 24px 20px; }
  .family { padding: 20px; }
  .about-side { position: static; }
  .family { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .family ul { justify-content: center; }
  .footer { padding: 28px 16px calc(28px + 76px); flex-direction: column; }

  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; inset: auto 0 0 0; z-index: 60;
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    box-shadow: 0 -1px 0 rgba(38,34,61,.1), 0 -8px 24px rgba(38,34,61,.06);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    min-height: 60px; border-radius: 14px; text-decoration: none; font-size: .74rem; font-weight: 800; color: var(--ink);
  }
  .tabbar .ico { width: 26px; height: 26px; }
  .tabbar a[aria-current="true"], .tabbar a[aria-current="page"] { background: var(--pink-soft); color: var(--pink-deep); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  .petals { display: none; }
}
