/* Petal & Polish, sample nail bar site by Solo Trace. Own palette and type, independent of the main site.
   Glossy gel theme (1 Nov 2026): pink colour-blocked sections, burgundy text and buttons, orange highlights only, beige glass cards.
   Contrast: burgundy on pink 6.9:1, burgundy on beige 8.9:1, beige on burgundy 8.9:1, deep burgundy on orange 5.0:1. Orange is never used for text. */
:root {
  --pink: #F7A2C3; --wine: #650020; --wine-deep: #4B0018; --wine-soft: #7D2D47; --orange: #F26223; --beige: #E1D0BF;
  --glass: rgba(225, 208, 191, 0.88); --glass-edge: rgba(255, 255, 255, 0.55); --shine: rgba(255, 255, 255, 0.6);
  --head: "Fredoka", "Trebuchet MS", sans-serif; --body: "Nunito", "Segoe UI", sans-serif;
  --r: 28px; --r-sm: 16px; --max: 72rem; --gutter: clamp(1rem, 4vw, 2.5rem);
  --shadow: 0 14px 34px rgba(101, 0, 32, 0.16), 0 2px 6px rgba(101, 0, 32, 0.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.7; color: var(--wine); background: var(--pink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: 0.005em; color: var(--wine); }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
a { color: inherit; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.lead { font-size: 1.1rem; color: var(--wine-soft); max-width: 38rem; }

/* Tag: burgundy gel pill with an orange drop */
.tag { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; padding: 0.35rem 0.95rem 0.35rem 0.7rem; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%), var(--wine); color: var(--beige); margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(101, 0, 32, 0.25); }
.tag::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 32% 28%, var(--shine), rgba(255, 255, 255, 0) 45%), var(--orange); flex: none; }

/* Buttons: burgundy gel with a glossy cap; orange appears only as the hover and focus glow */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.1rem; padding: 0.8rem 1.6rem; font-family: var(--head); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.01em; text-decoration: none; border-radius: 999px; border: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 48%), var(--wine); color: var(--beige); cursor: pointer; box-shadow: 0 8px 20px rgba(101, 0, 32, 0.28), inset 0 -2px 0 rgba(0, 0, 0, 0.2); transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 3px 12% auto 12%; height: 38%; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0)); pointer-events: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(242, 98, 35, 0.45), 0 12px 26px rgba(101, 0, 32, 0.3), inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
.btn:focus-visible { outline-color: var(--orange); }
.btn--soft { background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 55%), var(--beige); color: var(--wine); box-shadow: 0 8px 20px rgba(101, 0, 32, 0.14), inset 0 -2px 0 rgba(101, 0, 32, 0.12); }
.btn--line { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 2px var(--wine); }
.btn--line::after { display: none; }
.btn--line:hover { box-shadow: inset 0 0 0 2px var(--wine), 0 0 0 4px rgba(242, 98, 35, 0.45); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips li { font-size: 0.82rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.45); color: var(--wine); border: 1px solid rgba(101, 0, 32, 0.18); }

/* Sample banner */
.banner { background: var(--wine-deep); color: var(--beige); font-size: 0.8rem; }
.banner .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem 1.5rem; min-height: 2.5rem; padding-block: 0.3rem; }
.banner a { color: var(--beige); display: inline-flex; align-items: center; min-height: 2.75rem; }
.banner__links { display: flex; align-items: center; gap: 1.25rem; }
.lang { display: inline-flex; gap: 0.2rem; }
.lang a { text-decoration: none; padding-inline: 0.5rem; min-width: 2.75rem; justify-content: center; opacity: 0.75; }
.lang a[aria-current="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 0.25em; }
.lang a[hidden] { display: none; }
[hidden] { display: none !important; }

/* Header: glossy pink glass */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(247, 162, 195, 0.9); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 6px 20px rgba(101, 0, 32, 0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.6rem; }
.brand { font-family: var(--head); font-weight: 700; font-size: 1.55rem; text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; color: var(--wine); }
.brand i { position: relative; width: 1.25rem; height: 1.45rem; flex: none; }
.brand i::before, .brand i::after { content: ""; position: absolute; border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%; }
.brand i::before { inset: 0 0.15rem 0 0; background: radial-gradient(circle at 34% 26%, var(--shine), rgba(255, 255, 255, 0) 42%), var(--wine); }
.brand i::after { width: 0.6rem; height: 0.7rem; right: -0.25rem; bottom: -0.1rem; background: radial-gradient(circle at 34% 26%, var(--shine), rgba(255, 255, 255, 0) 45%), var(--orange); }
.site-footer .brand i::before { background: radial-gradient(circle at 34% 26%, var(--shine), rgba(255, 255, 255, 0) 42%), var(--pink); }
.nav { display: none; gap: 0.25rem; }
.nav a { text-decoration: none; font-weight: 700; font-size: 0.95rem; min-height: 2.75rem; display: inline-flex; align-items: center; padding: 0 0.95rem; border-radius: 999px; transition: background-color 160ms ease; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(225, 208, 191, 0.75); }
@media (min-width: 900px) { .nav { display: flex; } }

/* Gel drops and bubbles (decoration only) */
.gel { position: absolute; border-radius: 52% 48% 55% 45% / 58% 62% 38% 42%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 38%), radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 40%), var(--wine); box-shadow: inset -8px -10px 24px rgba(0, 0, 0, 0.22), 0 18px 40px rgba(101, 0, 32, 0.22); pointer-events: none; z-index: 0; }
.gel--a { width: clamp(9rem, 22vw, 17rem); height: clamp(9rem, 22vw, 17rem); top: -2.5rem; left: -3.5rem; opacity: 0.95; }
.gel--b { width: clamp(4rem, 8vw, 6.5rem); height: clamp(4rem, 8vw, 6.5rem); right: -1.5rem; bottom: 22%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 38%), var(--orange); box-shadow: inset -6px -8px 18px rgba(0, 0, 0, 0.18), 0 14px 30px rgba(242, 98, 35, 0.35); }
.gel--c { width: clamp(3rem, 6vw, 4.5rem); height: clamp(3rem, 6vw, 4.5rem); left: 46%; top: -0.9rem; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%), var(--beige); box-shadow: inset -5px -6px 14px rgba(101, 0, 32, 0.18), 0 12px 26px rgba(101, 0, 32, 0.16); }
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.bubbles i { position: absolute; bottom: -12%; left: var(--x, 50%); width: var(--s, 3rem); height: var(--s, 3rem); border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.25) 30%, rgba(255, 255, 255, 0.05) 60%, rgba(255, 255, 255, 0) 70%), radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 45%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55), inset -4px -6px 12px rgba(101, 0, 32, 0.08); animation: rise var(--d, 24s) linear infinite; animation-delay: var(--delay, 0s); will-change: transform, opacity; opacity: 0; }
.bubbles i:nth-child(1) { --x: 8%; --s: 2.6rem; --d: 26s; --delay: -4s; }
.bubbles i:nth-child(2) { --x: 24%; --s: 1.6rem; --d: 22s; --delay: -14s; }
.bubbles i:nth-child(3) { --x: 41%; --s: 3.4rem; --d: 30s; --delay: -9s; }
.bubbles i:nth-child(4) { --x: 62%; --s: 2.1rem; --d: 24s; --delay: -19s; }
.bubbles i:nth-child(5) { --x: 76%; --s: 4rem; --d: 34s; --delay: -2s; }
.bubbles i:nth-child(6) { --x: 90%; --s: 1.9rem; --d: 27s; --delay: -22s; }
.bubbles i:nth-child(7) { --x: 52%; --s: 1.3rem; --d: 20s; --delay: -11s; }
@keyframes rise { 0% { transform: translate3d(0, 0, 0) scale(0.9); opacity: 0; } 8% { opacity: 0.9; } 50% { transform: translate3d(1.4rem, -55vh, 0) scale(1); } 92% { opacity: 0.6; } 100% { transform: translate3d(-0.6rem, -112vh, 0) scale(1.05); opacity: 0; } }
.is-paused .bubbles i { animation-play-state: paused; }
@media (max-width: 699px) { .bubbles i:nth-child(n + 5) { display: none; } }

/* Gallery-first hero */
.hero { position: relative; overflow: hidden; padding-block: 1.75rem clamp(2.5rem, 6vw, 5rem); }
.hero-grid { position: relative; z-index: 2; display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 11rem; }
@media (min-width: 700px) { .hero-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(14rem, auto); gap: 1rem; } .hero-card h1 { font-size: clamp(2rem, 3.7vw, 3.2rem); } }
.hero-grid > * { border-radius: var(--r); overflow: hidden; margin: 0; }
.hero-grid figure { position: relative; min-height: 100%; box-shadow: var(--shadow); isolation: isolate; }
.hero-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grid figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(155deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 38%); mix-blend-mode: soft-light; pointer-events: none; }
.hero-grid .tall { grid-row: span 2; }
.hero-grid .wide { grid-column: span 2; }
.hero-card { position: relative; grid-column: span 2; grid-row: span 2; background: linear-gradient(165deg, rgba(225, 208, 191, 0.96), rgba(225, 208, 191, 0.8)); box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-edge); padding: clamp(1.5rem, 4vw, 2.6rem); display: grid; align-content: center; gap: 1rem; }
.hero-card::before { content: ""; position: absolute; inset: -40% 30% auto -10%; height: 70%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.hero-card > * { position: relative; }
.hero-card .tag { justify-self: start; }
.hero-card h1 span { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, var(--orange) 58%, var(--orange) 92%, rgba(0, 0, 0, 0) 92%); padding-inline: 0.1em; margin-inline: -0.1em; border-radius: 0.3em; }
.hero-card .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }
.hero-card .note { font-size: 0.88rem; color: var(--wine-soft); font-weight: 700; }
@media (max-width: 699px) { .hero-card { grid-row: span 3; } .hero-grid .tall { grid-row: span 2; } .gel--a { top: -2rem; left: -5rem; } }

/* Colour-blocked sections: pink by default, burgundy for the deep blocks */
.section { position: relative; padding-block: clamp(3rem, 7vw, 5.5rem); scroll-margin-top: 5rem; }
.section--deep { background-color: var(--wine); background-image: linear-gradient(180deg, var(--wine-deep), var(--wine) 40%, var(--wine)); color: var(--beige); }
.section--deep .section__head h1, .section--deep .section__head h2 { color: var(--pink); }
.section--deep .section__head p, .section--deep .lead { color: var(--beige); }
.section--deep .tag { background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 55%), var(--beige); color: var(--wine); }
.section--line::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(100% - 2 * var(--gutter), var(--max)); height: 4px; border-radius: 999px; background: linear-gradient(90deg, rgba(101, 0, 32, 0) 0%, rgba(101, 0, 32, 0.28) 20%, rgba(101, 0, 32, 0.28) 80%, rgba(101, 0, 32, 0) 100%); }
.section__head { max-width: 40rem; margin-bottom: 2rem; }
.section__head p { margin-top: 0.75rem; color: var(--wine-soft); }

/* Glass card primitive */
.style, .price-card, .form, .thanks, .map, .social div { background: linear-gradient(170deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%), var(--glass); box-shadow: var(--shadow), inset 0 0 0 1px var(--glass-edge); color: var(--wine); }
@media (min-width: 900px) { .hero-card, .style, .price-card, .form, .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }

/* Style grid with hover shine */
.styles { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .styles { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.style { position: relative; border-radius: var(--r); overflow: hidden; display: grid; isolation: isolate; transition: transform 220ms ease, box-shadow 220ms ease; }
.style img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.style::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-18deg); mix-blend-mode: screen; pointer-events: none; z-index: 1; opacity: 0; }
@media (hover: hover) {
  .style:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px rgba(242, 98, 35, 0.55), 0 18px 40px rgba(101, 0, 32, 0.24), inset 0 0 0 1px var(--glass-edge); }
  .style:hover::before { opacity: 1; animation: shine 900ms ease-out 1; }
  .hero-grid figure:hover img { transform: scale(1.04); }
  .hero-grid img { transition: transform 600ms ease; }
}
@keyframes shine { from { left: -60%; } to { left: 130%; } }
.style__body { padding: 1.1rem 1.2rem 1.35rem; display: grid; gap: 0.5rem; }
.style__body p { font-size: 0.92rem; color: var(--wine-soft); }
.style__body .price { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--wine); }
.style__body .price::before { content: ""; width: 0.6rem; height: 0.7rem; border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%; background: radial-gradient(circle at 34% 26%, var(--shine), rgba(255, 255, 255, 0) 45%), var(--orange); flex: none; }

/* Price list */
.prices { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .prices { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.price-card { border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.price-card h3 { margin-bottom: 0.75rem; color: var(--wine); }
.price-card ul { list-style: none; margin: 0; padding: 0; }
.price-card li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px dashed rgba(101, 0, 32, 0.3); }
.price-card li span:last-child { font-family: var(--head); font-weight: 600; white-space: nowrap; }
.price-card small { display: block; color: var(--wine-soft); font-size: 0.85rem; margin-top: 0.75rem; }
.price-card p { color: var(--wine); }

/* Booking */
.book { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .book { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; } }
.book img { box-shadow: var(--shadow); }
.form { display: grid; gap: 0.9rem; border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.form__row { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form label { display: grid; gap: 0.35rem; font-size: 0.88rem; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; min-height: 3rem; padding: 0.7rem 1rem; font: inherit; font-weight: 600; color: var(--wine); background: rgba(255, 255, 255, 0.55); border: 2px solid rgba(101, 0, 32, 0.35); border-radius: var(--r-sm); box-shadow: inset 0 2px 4px rgba(101, 0, 32, 0.06); }
.form input::placeholder, .form textarea::placeholder { color: var(--wine-soft); opacity: 1; font-weight: 400; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { border-color: var(--wine); outline: 3px solid rgba(242, 98, 35, 0.6); outline-offset: 0; }
.form textarea { min-height: 6rem; resize: vertical; }
.form__note { font-size: 0.82rem; color: var(--wine-soft); }
.thanks { border-radius: var(--r); padding: 2rem; box-shadow: var(--shadow), inset 0 0 0 2px var(--wine); }
.thanks h3 { margin-bottom: 0.5rem; }

/* Social placeholder: glossy gel tiles */
.social { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 700px) { .social { grid-template-columns: repeat(6, 1fr); } }
.social div { position: relative; aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; display: grid; place-items: center; font-family: var(--head); font-weight: 600; font-size: 0.85rem; isolation: isolate; }
.social div::before { content: ""; position: absolute; inset: 8% 40% 55% 10%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 70%); pointer-events: none; }
.social div:nth-child(2n) { border-radius: 58% 42% 45% 55% / 42% 55% 45% 58%; background: linear-gradient(170deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 55%), var(--pink); color: var(--wine); }
.social div:nth-child(3n) { border-radius: 50% 50% 42% 58% / 55% 55% 45% 45%; }

/* Hours */
.hours { display: grid; gap: 2rem; }
@media (min-width: 900px) { .hours { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.hours dl { margin: 1.25rem 0 0; display: grid; gap: 0.25rem; max-width: 24rem; }
.hours dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px dashed rgba(101, 0, 32, 0.3); }
.hours dd { margin: 0; font-weight: 700; }
.map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--wine-soft); font-size: 0.9rem; font-weight: 700; overflow: hidden; isolation: isolate; }
.map::before, .map::after { content: ""; position: absolute; border-radius: 52% 48% 55% 45% / 58% 62% 38% 42%; pointer-events: none; z-index: -1; }
.map::before { width: 38%; aspect-ratio: 1; right: -8%; top: -10%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 40%), var(--pink); box-shadow: inset -8px -10px 22px rgba(101, 0, 32, 0.12); }
.map::after { width: 16%; aspect-ratio: 1; left: 8%; bottom: 10%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 40%), var(--orange); box-shadow: inset -5px -6px 14px rgba(0, 0, 0, 0.15); }
.address { margin-top: 1.25rem; }

/* Footer */
.site-footer { background: var(--wine-deep); color: var(--beige); padding-block: 3rem 2rem; font-size: 0.9rem; }
.site-footer .wrap { display: grid; gap: 2rem; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.site-footer .brand { color: var(--beige); }
.site-footer p { max-width: 36ch; margin-top: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.site-footer a { color: var(--beige); display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.site-footer h4 { margin: 0 0 0.5rem; font-family: var(--head); font-weight: 600; font-size: 0.9rem; color: var(--pink); }
.site-footer .credit { grid-column: 1 / -1; border-top: 1px solid rgba(225, 208, 191, 0.25); padding-top: 1.25rem; margin-top: 0.5rem; font-size: 0.8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }

/* Scroll reveal (cards only) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.in { opacity: 1; transform: none; }
.no-io .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .style:hover { transform: none; }
  .bubbles { display: none; }
  .style::before { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* No default tap flash on touch devices (2 November 2026); keyboard focus keeps this demo's own ring above. */
a, button, summary, input, select, textarea { -webkit-tap-highlight-color: transparent; }
