/* Toraphire - snowy, misty, soft ethereal theme */
:root {
  --bg: #f4f4f9;
  --surface: #ffffff;
  --frosted: rgba(255, 255, 255, .72);
  --ink: #34304d;
  --muted: #7a7692;
  --line: #e6e4f0;
  --accent: #6c679e;
  --accent-soft: #ebe9f6;
  --frost: #dcd9ee;
  --edge: #dcd9ea;
  --open: #7fb59a;
  --shadow: 0 1px 2px rgba(60, 56, 100, .05), 0 10px 30px rgba(110, 105, 165, .12);
  --shadow-lift: 0 2px 6px rgba(60, 56, 100, .07), 0 22px 48px rgba(110, 105, 165, .2);
  --radius: 22px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .8, .3, 1);
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%236c679e' d='M10 0Q12 8 20 10Q12 12 10 20Q8 12 0 10Q8 8 10 0Z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #e9e7f4 0%, var(--bg) 38%, #fafafd 100%) fixed;
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---------- Atmosphere: misty forest, distant torii, drifting fog, snow ---------- */
.mist { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mist .forest { position: absolute; inset: 0; width: 100%; height: 100%; filter: blur(1.5px); opacity: .55; }
.mist .torii-far { position: absolute; left: 50%; bottom: -14vh; width: min(720px, 110vw); transform: translateX(-50%); opacity: .06; filter: blur(1.5px); }
.mist .glow { position: absolute; right: -10vw; top: 18vh; width: 60vw; height: 60vh; background: radial-gradient(closest-side, rgba(250, 232, 222, .55), transparent); }
.fog {
  position: absolute; left: -50%; width: 200%; height: 46vh;
  background:
    radial-gradient(28% 50% at 20% 50%, rgba(255, 255, 255, .85), transparent 70%),
    radial-gradient(24% 45% at 55% 60%, rgba(255, 255, 255, .7), transparent 70%),
    radial-gradient(30% 50% at 85% 45%, rgba(255, 255, 255, .8), transparent 70%);
  animation: drift 70s linear infinite alternate;
}
.fog--1 { top: 8vh; opacity: .55; }
.fog--2 { top: 42vh; opacity: .7; animation-duration: 95s; animation-direction: alternate-reverse; }
.fog--3 { bottom: -12vh; height: 40vh; opacity: .95; animation-duration: 120s; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }

/* ---------- Top bar + tabs ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px max(20px, calc((100vw - 1080px) / 2));
  background: rgba(246, 245, 251, .7);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom: 1px solid rgba(230, 228, 240, .8);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .brand-icon { height: 36px; border-radius: 10px; box-shadow: 0 2px 8px rgba(110, 105, 165, .2); }

.tabs { display: flex; gap: 6px; padding: 5px; background: var(--frosted); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tab {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .02em; color: var(--muted); text-decoration: none;
  transition: color .25s, background .25s, transform .35s var(--ease-pop);
}
.tab svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab:hover { color: var(--ink); transform: translateY(-1px); }
.tab[aria-selected="true"] {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff, var(--accent-soft));
  box-shadow: inset 0 -2px 0 var(--edge), 0 4px 14px rgba(110, 105, 165, .2);
}

/* ---------- Layout ---------- */
main { position: relative; z-index: 3; max-width: 1080px; margin: 0 auto; padding: 32px 20px 40px; }
.panel { animation: panel-in .6s var(--ease) both; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 52px 0 18px; flex-wrap: wrap; }
.section-head:first-child { margin-top: 8px; }
.section-head h2 { margin: 0; font: 600 34px/1.1 var(--display); letter-spacing: .01em; }
.section-head h2::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 12px; background: var(--star) center / contain no-repeat; vertical-align: 4px; opacity: .8; }
.section-head p { margin: 0; color: var(--muted); font-size: 15px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- Buttons (fake-3D, tilt, pop) ---------- */
.btn {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --s: 1;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f5fa 100%);
  color: var(--ink); font: 700 15px/1 var(--body); letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 var(--edge), 0 6px 16px rgba(110, 105, 165, .13);
  transform: perspective(500px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) scale(var(--s));
  transition: transform .4s var(--ease-pop), box-shadow .3s, background .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --lift: -2px; --s: 1.04; box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 var(--edge), 0 12px 26px rgba(110, 105, 165, .22); }
.btn:active { --lift: 1px; --s: .97; box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 var(--edge), 0 3px 8px rgba(110, 105, 165, .16); transition-duration: .08s; }
.btn:focus-visible, .tab:focus-visible, .link:focus-visible, .tile:focus-visible, .chip-btn:focus-visible { outline: 3px solid #c9c5ea; outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.btn--primary {
  border-color: #d4d0ea;
  background: linear-gradient(180deg, #ffffff 0%, #efedf9 50%, #dedaf0 100%);
  color: #2f2b48;
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 #c9c4e3, 0 8px 24px rgba(108, 103, 158, .28);
}
.btn--primary::after { /* frost glint */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .95) 50%, transparent 65%);
  background-size: 250% 100%; background-position: 130% 0; animation: glint 6s ease-in-out infinite;
}
.btn--primary:hover { box-shadow: inset 0 1px 0 #fff, inset 0 -3px 0 #c9c4e3, 0 14px 32px rgba(108, 103, 158, .38); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; --s: 1 !important; --lift: 0 !important; }
.btn--block { width: 100%; }
.breathe { animation: breathe 4.6s ease-in-out infinite; }
.breathe:hover { animation-play-state: paused; }

/* ---------- About ---------- */
.hero { text-align: center; max-width: 640px; margin: 0 auto; }
.avatar-wrap { position: relative; width: 132px; height: 132px; margin: 6px auto 6px; }
.avatar-wrap::before { /* soft light in the fog */
  content: ""; position: absolute; left: 50%; top: 50%; width: 260px; height: 260px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, .95), rgba(236, 234, 248, .5) 45%, transparent 70%);
  animation: glow 6s ease-in-out infinite;
}
.avatar {
  position: relative; width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  border: 4px solid rgba(255, 255, 255, .95); background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 0 0 9px rgba(255, 255, 255, .45), var(--shadow-lift);
  animation: float 7s ease-in-out infinite;
}
.avatar--blank { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #ffffff, #e7e5f4 75%); }
.avatar--blank svg { width: 44px; height: 44px; fill: var(--accent); opacity: .55; }
.logo { margin: 4px 0 0; line-height: 0; }
.logo img { width: min(520px, 92vw); height: auto; margin: 0 auto; }
.tagline { margin: 2px 0 12px; color: var(--muted); font-weight: 600; letter-spacing: .05em; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--frosted); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #c9c5d3; }
.status.is-open { color: #47785f; }
.status.is-open i { background: var(--open); animation: ping 2.4s infinite; }
.bio { margin: 18px auto 24px; max-width: 520px; font-size: 17px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.links { list-style: none; padding: 0; margin: 44px auto 0; max-width: 560px; display: grid; gap: 12px; }
.link {
  --rx: 0deg; --ry: 0deg; --lift: 0px; --s: 1;
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px;
  background: var(--frosted); border: 1px solid var(--line); text-decoration: none; font: 700 16px/1.3 var(--body); color: var(--ink); text-align: left; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 -3px 0 #eceaf4, var(--shadow);
  transform: perspective(700px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) scale(var(--s));
  transition: transform .4s var(--ease-pop), box-shadow .3s, background .3s;
}
.link:hover { --lift: -2px; --s: 1.015; background: #fff; box-shadow: inset 0 -3px 0 #eceaf4, var(--shadow-lift); }
.link:active { --s: .985; --lift: 1px; transition-duration: .08s; }
.link .ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(160deg, #ffffff, var(--accent-soft)); color: var(--accent); box-shadow: inset 0 0 0 1px #e9e7f4; }
.link .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link .meta { display: flex; flex-direction: column; }
.link .meta small { font-weight: 600; font-size: 13px; color: var(--muted); }
.link .arrow { margin-left: auto; color: var(--muted); transition: transform .3s var(--ease-pop); }
.link:hover .arrow { transform: translateX(4px); }
.link.is-soon { color: var(--muted); box-shadow: none; background: rgba(255, 255, 255, .45); cursor: default; }
.link.is-soon:hover { --lift: 0px; --s: 1; box-shadow: none; }
.link.is-soon .ico { filter: grayscale(1); opacity: .6; }
.soon-tag { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #b1adc2; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px auto 0; max-width: 560px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--frosted); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---------- Cards ---------- */
.card {
  --rx: 0deg; --ry: 0deg; --lift: 0px;
  position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transition: transform .5s var(--ease-pop), box-shadow .35s;
}
.card:hover { --lift: -4px; box-shadow: var(--shadow-lift); }
.card h3 { margin: 0; font: 600 26px/1.15 var(--display); }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.card--featured { border-color: #d9d5ee; box-shadow: 0 0 0 4px rgba(225, 222, 244, .7), var(--shadow); }
.card--featured:hover { box-shadow: 0 0 0 4px rgba(225, 222, 244, .9), var(--shadow-lift); }
.ribbon { position: absolute; top: -11px; right: 18px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: #2f2b48; background: linear-gradient(180deg, #ffffff, #e2dff3); border: 1px solid #d6d2eb; box-shadow: 0 4px 12px rgba(108, 103, 158, .22); }
.price { margin-top: 14px; font: 600 30px/1 var(--display); }
.price small { font: 700 12px/1 var(--body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-right: 6px; vertical-align: 6px; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px; background: var(--star) center / contain no-repeat; opacity: .75; }
.deposit { margin-top: 16px !important; font-size: 13px !important; font-weight: 700; letter-spacing: .03em; }
.card-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }

.product { padding: 0; overflow: hidden; }
.product .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.product .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.product .price { margin-top: 0; font-size: 24px; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(255, 255, 255, .9); border: 1px solid var(--line); color: var(--muted); backdrop-filter: blur(6px); }
.badge--new { color: #2f2b48; background: linear-gradient(180deg, #ffffff, #e2dff3); border-color: #d6d2eb; }

/* frosted placeholder art */
.thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(170deg, #e4e2f2 0%, #f1f0f8 55%, #ffffff 100%); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb--soon { display: grid; place-items: center; color: #a29ec6; }
.thumb--soon::before { /* ground mist */
  content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .95), transparent 70%);
}
.thumb--soon svg { position: relative; width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; animation: hover-y 6s ease-in-out infinite; }
.thumb--soon::after { /* frost shimmer */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .85) 50%, transparent 70%);
  background-size: 250% 100%; animation: shimmer 4.2s ease-in-out infinite;
}

.pay-note { margin: 22px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--frosted); border: 1px dashed #d8d5ea; color: var(--muted); font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.pay-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--frosted);
  font: 700 13.5px/1 var(--body); color: var(--muted); cursor: pointer;
  transition: transform .35s var(--ease-pop), color .2s, background .2s, box-shadow .2s;
}
.chip-btn:hover { color: var(--ink); transform: translateY(-1px) scale(1.04); }
.chip-btn[aria-pressed="true"] { color: #2f2b48; background: linear-gradient(180deg, #ffffff, #e5e2f4); border-color: #d6d2eb; box-shadow: inset 0 -2px 0 #d3cfe8; }
.tile { padding: 0; overflow: hidden; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.tile.is-soon { cursor: default; }
.tile .body { padding: 14px 18px 18px; }
.tile h3 { font-size: 22px; }
.tag { display: inline-block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.play-badge { position: absolute; inset: auto 12px 12px auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); color: var(--accent); }
.play-badge svg { width: 16px; height: 16px; fill: currentColor; }
.tile.is-hidden { display: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(238, 237, 246, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fade .3s both; }
.modal-card {
  position: relative; width: min(460px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  padding: 28px 24px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(100, 96, 150, .28); animation: pop-in .45s var(--ease-pop) both;
}
.modal-card--wide { width: min(900px, 100%); padding: 18px; }
.modal-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; color: var(--muted); cursor: pointer; z-index: 2; }
.modal-x:hover { background: var(--bg); color: var(--ink); }
.modal h3 { margin: 0 32px 4px 0; font: 600 30px/1.1 var(--display); }
.modal .sub { margin: 0 0 18px; color: var(--muted); }
.modal .amount { margin: 0 0 18px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(160deg, #ffffff, var(--accent-soft)); display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.modal .amount b { font: 600 28px/1 var(--display); }
.modal .pay-options { display: grid; gap: 10px; }
.modal .steps { margin: 18px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.modal .steps li + li { margin-top: 4px; }
.modal .fine { margin: 14px 0 0; font-size: 12.5px; color: #a09cb2; }
.viewer img, .viewer video { width: 100%; max-height: 72vh; object-fit: contain; border-radius: 16px; background: var(--bg); }
.viewer audio { width: 100%; margin-top: 12px; }
.viewer .caption { padding: 12px 6px 0; }
.viewer .caption h3 { font-size: 26px; }
.viewer .caption p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 18px; border-radius: 999px; background: rgba(52, 48, 77, .92); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 12px 30px rgba(52, 48, 77, .3); pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease-pop);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 3; text-align: center; padding: 24px 20px 40px; color: var(--muted); font-size: 13.5px; }
.footer p { margin: 2px 0; }
.footer .fine { font-size: 12px; color: #a8a4b8; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; translate: 0 14px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Motion ---------- */
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(25%); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes hover-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }
@keyframes glint { 0%, 70% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes shimmer { 0% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127, 181, 154, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(127, 181, 154, 0); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; translate: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 700px) {
  /* backdrop-filter would trap the fixed tab bar inside the top bar */
  .topbar { justify-content: center; padding: 10px 16px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(244, 243, 250, .94); }
  .brand img { height: 34px; }
  .tabs {
    position: fixed; z-index: 30; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom));
    justify-content: space-around; padding: 6px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 34px rgba(100, 96, 150, .25);
  }
  .tab { flex: 1; flex-direction: column; gap: 3px; padding: 8px 4px; font-size: 12px; justify-content: center; }
  .tab svg { width: 22px; height: 22px; }
  main { padding: 20px 16px 120px; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .section-head { margin-top: 38px; }
  .section-head h2 { font-size: 30px; }
  .grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1 1 140px; }
  .avatar-wrap, .avatar { width: 112px; height: 112px; }
  .mist .forest { opacity: .4; }
  .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .modal { align-items: end; padding: 0; }
  .modal-card { width: 100%; border-radius: 26px 26px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); max-height: 92vh; }
  .modal-card--wide { padding: 14px 14px calc(18px + env(safe-area-inset-bottom)); }
}
