/* ============================================================
   Family Assistant — landing page styles
   Ported from Enchant v3 (enchant-v8/vision/shared.css).
   Serif is UPRIGHT only (no Epicene italics licensed).
   Fonts + aliases load from /webfonts/fonts.css.
   ============================================================ */

:root {
  --bone: #FBF7F0;
  --bone-deep: #F4EDE1;
  --paper: #FFFFFF;
  --ink: #241B15;
  --ink-soft: #6B6056;
  --clay: #B44A1F;
  --clay-deep: #94391A;
  --peach: #F4C99B;
  --moss: #5E7259;
  --violet: #8B6EE0;
  --line: rgba(36, 27, 21, 0.13);
  --maxw: 1100px;
  --shadow-lift: 0 2px 6px -2px rgba(36,27,21,0.08), 0 24px 48px -24px rgba(148,57,26,0.25);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--bone); }

h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 430;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.4rem, 4.5vw, 2.75rem); }

/* grain */
body::after {
  content: ""; position: fixed; inset: 0;
  pointer-events: none; z-index: 60; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem clamp(1.4rem, 4.5vw, 2.75rem);
  max-width: var(--maxw); margin: 0 auto;
}
.nav-right { display: inline-flex; align-items: center; gap: 1.4rem; }
.nav-link { font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color 0.2s ease; }
.nav-link:hover { color: var(--ink); }
.flash { padding: 0.9rem 0; font-size: 0.92rem; font-weight: 500; text-align: center; border-bottom: 1px solid var(--line); }
.flash .wrap { padding: 0; }
.flash-notice { background: #ECF1E8; color: var(--moss); }
.flash-alert { background: #F7E9E2; color: var(--clay-deep); }
.wordmark { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--ink); text-decoration: none; }
.brand-logo {
  width: 38px; height: 38px; display: block; border-radius: 50%;
  background: conic-gradient(from 210deg, #C97A4A, #B44A1F, #8B6EE0, #F4C99B, #C97A4A);
  transition: transform 0.6s cubic-bezier(0.34, 1.4, 0.4, 1);
}
.wordmark:hover .brand-logo { transform: rotate(150deg) scale(1.06); }
.brand-name { font-family: 'Fraunces', serif; font-weight: 560; font-size: 1.22rem; letter-spacing: -0.01em; }
.nav-cta {
  font-size: 0.86rem; font-weight: 600; color: var(--bone); background: var(--ink);
  padding: 0.6rem 1.2rem; border-radius: 99px; text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.45); }
a:focus-visible, button:focus-visible { outline: 3px solid #6048DE; outline-offset: 3px; border-radius: 4px; }

/* ---------- mobile hamburger + drawer ---------- */
.brand-name { white-space: nowrap; }
.nav-toggle { display: none; }
.nav-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(36,27,21,0.35); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
.nav-backdrop.open { opacity: 1; pointer-events: auto; }
.nav-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(82vw, 320px); background: var(--bone); border-left: 1px solid var(--line); box-shadow: -20px 0 60px -30px rgba(36,27,21,0.5); padding: 1.4rem 1.5rem 2rem; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); display: flex; flex-direction: column; }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer-close { align-self: flex-end; font-size: 1.9rem; line-height: 1; background: none; border: none; color: var(--ink-soft); cursor: pointer; padding: 0 0.3rem; }
.nav-drawer-links { display: flex; flex-direction: column; margin-top: 0.8rem; }
.nav-drawer-links a { font-family: 'Fraunces', serif; font-size: 1.45rem; font-weight: 430; color: var(--ink); text-decoration: none; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.nav-drawer-links a.nav-cta { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--bone); background: var(--ink); border: none; border-radius: 99px; text-align: center; padding: 0.8rem 1.2rem; margin-top: 1.4rem; }

@media (max-width: 720px) {
  .nav-right { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; border: none; background: transparent; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero + mesh ---------- */
.hero { position: relative; padding: clamp(6rem, 15vh, 11rem) 0 clamp(5rem, 11vh, 8.5rem); overflow: clip; }
.mesh { position: absolute; inset: -20% -10%; z-index: -1; filter: saturate(1.08); }
.mesh i { position: absolute; border-radius: 50%; mix-blend-mode: multiply; filter: blur(72px); will-change: transform; }
.mesh .m1 { width: 56vw; height: 56vw; min-width: 540px; min-height: 540px; left: -12%; top: -18%;
  background: radial-gradient(circle at 38% 38%, rgba(167,138,220,0.6), rgba(167,138,220,0) 65%); animation: drift1 26s ease-in-out infinite alternate; }
.mesh .m2 { width: 44vw; height: 44vw; min-width: 460px; min-height: 460px; right: -8%; top: -6%;
  background: radial-gradient(circle at 60% 40%, rgba(96,72,222,0.26), rgba(96,72,222,0) 66%); animation: drift2 32s ease-in-out infinite alternate; }
.mesh .m3 { width: 38vw; height: 38vw; min-width: 400px; min-height: 400px; right: 16%; bottom: -28%;
  background: radial-gradient(circle at 50% 50%, rgba(252,242,182,0.85), rgba(252,242,182,0) 64%); animation: drift3 38s ease-in-out infinite alternate; }
.mesh .m4 { width: 30vw; height: 30vw; min-width: 320px; min-height: 320px; left: 26%; bottom: -20%;
  background: radial-gradient(circle at 50% 42%, rgba(229,162,159,0.4), rgba(229,162,159,0) 62%); animation: drift1 30s 4s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { from { transform: translate(0,0) scale(1); } to { transform: translate(5%, 7%) scale(1.1); } }
@keyframes drift2 { from { transform: translate(0,0) scale(1.06); } to { transform: translate(-6%, 5%) scale(0.96); } }
@keyframes drift3 { from { transform: translate(0,0) scale(1); } to { transform: translate(4%, -7%) scale(1.12); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(251,247,240,0) 55%, var(--bone) 96%); }

.eyebrow { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.6rem; }
.hero h1 { font-size: clamp(3.1rem, 7.4vw, 5.8rem); max-width: 16ch; font-weight: 390; letter-spacing: -0.025em; line-height: 1.04; }
.grad { background: linear-gradient(92deg, #6048DE 0%, #AF6090 40%, #E5A29F 66%, #EAAF80 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { margin-top: 2.1rem; max-width: 54ch; font-size: clamp(1.08rem, 1.7vw, 1.32rem); color: var(--ink-soft); }
.hero-ctas { margin-top: 2.7rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; font-weight: 600; font-size: 0.96rem; padding: 0.9rem 1.75rem; border-radius: 99px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; cursor: pointer; border: none; }
.btn .arr { transition: transform 0.25s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--bone); box-shadow: 0 1px 2px rgba(36,27,21,0.2); }
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero-note { font-size: 0.86rem; color: var(--ink-soft); margin-top: 1.5rem; }
.hero-note strong { color: var(--ink); }

/* ---------- sections ---------- */
section { padding: clamp(5rem, 11vh, 8.5rem) 0; position: relative; }
section.tinted { background: linear-gradient(180deg, var(--bone-deep), var(--bone)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { position: relative; margin-bottom: 2.9rem; }
.sec-num { display: block; font-family: 'Fraunces', serif; color: var(--ink); opacity: 0.4; font-size: 1.25rem; line-height: 1; margin-bottom: 0.7rem; }
@media (min-width: 1180px) { .sec-num { position: absolute; top: 0.42rem; right: 100%; margin: 0 1.6rem 0 0; font-size: 1.5rem; } }
.sec-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 24ch; font-weight: 400; letter-spacing: -0.018em; }
.prose { max-width: 62ch; color: var(--ink-soft); font-size: 1.07rem; }
.prose p + p { margin-top: 1.25rem; }
.prose strong { color: var(--ink); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; align-items: stretch; }
.cards.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .cards, .cards.two { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 2.1rem 1.85rem 1.9rem; display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; overflow: hidden; }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6048DE, #AF6090, #FCF2B6); transform: scaleX(0); transform-origin: left; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(180,74,31,0.3); }
.card:hover::before { transform: scaleX(1); }
.card-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; }
.card h3 { font-size: 1.55rem; margin-bottom: 0.45rem; }
.card p.body { font-size: 0.96rem; color: var(--ink-soft); flex-grow: 1; }
.card ul { list-style: none; margin-top: 0.5rem; flex-grow: 1; }
.card ul li { padding: 0.45rem 0 0.45rem 1.6rem; position: relative; font-size: 0.94rem; color: var(--ink-soft); }
.card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--moss); font-weight: 700; }

/* offer card: dark flagship by id so no section rule outranks it */
#offer.card { background: #20170F; border-color: #20170F; color: var(--bone); }
#offer.card::before { background: linear-gradient(90deg, #6048DE, #AF6090, #FCF2B6); transform: scaleX(1); }
#offer.card::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 85% -10%, rgba(180,74,31,0.5), transparent 60%), radial-gradient(90% 70% at -10% 110%, rgba(139,110,224,0.22), transparent 55%); }
#offer.card > * { position: relative; z-index: 1; }
#offer h3 { color: var(--bone); }
#offer .card-tag { color: #FBECBC; }
#offer .price { font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 430; color: var(--bone); line-height: 1; margin: 0.3rem 0; font-variant-numeric: tabular-nums; }
#offer .price span { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; color: rgba(251,247,240,0.72); }
#offer p.body { color: rgba(251,247,240,0.85); }
#offer ul li { color: rgba(251,247,240,0.88); }
#offer ul li::before { color: var(--peach); }
#offer:hover { box-shadow: 0 2px 6px -2px rgba(36,27,21,0.3), 0 28px 56px -24px rgba(32,23,15,0.65); }
#offer .btn-primary { background: var(--bone); color: var(--ink); margin-top: 1.5rem; }
#offer .btn-primary:hover { background: #fff; }

/* ---------- arc (how it works) ---------- */
.arc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
@media (max-width: 900px) { .arc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .arc { grid-template-columns: 1fr; } }
.arc-step { padding: 1.6rem 1.45rem 1.7rem; border-top: 2px solid var(--ink); position: relative; transition: border-color 0.3s ease; display: flex; flex-direction: column; }
.arc-step::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--ink); transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.arc-step:hover::after { width: 100%; }
.arc-step::before { counter-increment: step; content: "0" counter(step); font-family: 'Fraunces', serif; color: var(--ink); opacity: 0.4; font-size: 0.98rem; display: block; margin-bottom: 0.85rem; }
.arc-step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.arc-step p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- scenarios (Danu's real work) ---------- */
.ways { counter-reset: way; border-top: 1px solid var(--line); margin-top: 2.5rem; }
.way { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.7rem 0.4rem; border-bottom: 1px solid var(--line); border-radius: 10px; transition: background 0.25s ease; }
.way:hover { background: rgba(244,201,155,0.14); }
.way::before { counter-increment: way; content: "0" counter(way); font-family: 'Fraunces', serif; color: var(--ink); opacity: 0.4; font-size: 1.3rem; grid-column: 1; grid-row: 1 / span 2; }
.way h3 { grid-column: 2; font-size: 1.35rem; margin-bottom: 0.35rem; }
.way p { grid-column: 2; font-size: 0.96rem; color: var(--ink-soft); max-width: 58ch; }

/* ---------- interactive use-cases ---------- */
.uses-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
@media (max-width: 900px) { .uses-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .uses-grid { grid-template-columns: 1fr; } }
.use-card { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem 1.4rem; cursor: pointer; font-family: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 0.5rem; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.use-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(180,74,31,0.3); }
.use-card[aria-expanded="true"] { border-color: var(--ink); box-shadow: var(--shadow-lift); }
.use-card .use-emoji { font-size: 1.7rem; line-height: 1; }
.use-card .use-title { font-family: 'Fraunces', serif; font-size: 1.16rem; font-weight: 460; letter-spacing: -0.01em; }
.use-card .use-teaser { font-size: 0.9rem; color: var(--ink-soft); }
.use-detail { margin-top: 1.3rem; background: #20170F; color: var(--bone); border-radius: 18px; padding: 2rem 2.1rem; position: relative; overflow: hidden; opacity: 0; transform: translateY(10px); transition: opacity 0.35s ease, transform 0.35s ease; }
.use-detail.show { opacity: 1; transform: none; }
.use-detail::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 85% -10%, rgba(180,74,31,0.5), transparent 60%), radial-gradient(90% 70% at -10% 110%, rgba(139,110,224,0.22), transparent 55%); }
.use-detail > * { position: relative; z-index: 1; }
.use-detail .ud-emoji { font-size: 2rem; line-height: 1; }
.use-detail h3 { color: var(--bone); font-size: 1.5rem; margin: 0.6rem 0 0.5rem; }
.use-detail p { color: rgba(251,247,240,0.88); max-width: 62ch; }
.use-detail .ud-example { margin-top: 1.15rem; padding: 0.85rem 1.1rem; border-left: 2px solid var(--peach); background: rgba(251,247,240,0.06); border-radius: 8px; font-size: 0.96rem; font-style: italic; color: rgba(251,247,240,0.92); }

/* ---------- fit ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
@media (max-width: 780px) { .fit { grid-template-columns: 1fr; } }
.fit-col { border: 1px solid var(--line); border-radius: 16px; padding: 2.05rem 1.85rem; background: var(--paper); }
.fit-col.yes { background: linear-gradient(160deg, #ECF1E8, #F6F4E9); border-color: rgba(94,114,89,0.3); }
.fit-col h3 { font-size: 1.22rem; margin-bottom: 1.15rem; }
.fit-col ul { list-style: none; }
.fit-col li { padding: 0.48rem 0 0.48rem 1.75rem; position: relative; font-size: 0.95rem; color: var(--ink-soft); }
.fit-col.yes li::before { content: "✓"; position: absolute; left: 0.1rem; color: var(--moss); font-weight: 700; }
.fit-col.no li::before { content: "·"; position: absolute; left: 0.35rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- people ---------- */
.pair { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
@media (max-width: 900px) { .pair { grid-template-columns: 1fr; } }
.person { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 2.3rem 2.05rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.person:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Fraunces', serif; font-weight: 560; font-size: 1.15rem; color: #fff; margin-bottom: 1.45rem;
  background: conic-gradient(from 210deg, #C97A4A, #B44A1F, #8B6EE0, #F4C99B, #C97A4A); animation: huespin 14s linear infinite paused; }
.person:hover .avatar { animation-play-state: running; }
@keyframes huespin { to { filter: hue-rotate(360deg); } }
.avatar span { position: relative; z-index: 1; text-shadow: 0 1px 6px rgba(36,27,21,0.35); }
.person.b .avatar { background: conic-gradient(from 30deg, #9FA1F6, #B95C8D, #EAAF80, #C8C6FF, #9FA1F6); }
.person.d .avatar { background: conic-gradient(from 120deg, #6048DE, #AF6090, #FCF2B6, #5E7259, #6048DE); }
.person h3 { font-size: 1.6rem; }
.person .role { color: var(--ink); font-size: 0.92rem; font-weight: 600; margin: 0.3rem 0 1.15rem; }
.person p { font-size: 0.97rem; color: var(--ink-soft); }

/* ---------- pull quote ---------- */
.pull-quote { margin: 3.2rem auto 0; max-width: 46ch; text-align: center; }
.pull-quote blockquote { font-family: 'Fraunces', serif; font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 420; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.pull-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- closing ---------- */
.closing { text-align: center; padding: clamp(5.5rem, 13vh, 9.5rem) 0; position: relative; overflow: clip; }
.closing .mesh { filter: blur(80px) saturate(1.05); opacity: 0.75; }
.closing h2 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); max-width: 20ch; margin: 0 auto 1.5rem; font-weight: 400; }
.closing p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto 2.5rem; }

footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; font-size: 0.85rem; color: var(--ink-soft); }
.foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--ink-soft); text-decoration-color: rgba(107,96,86,0.4); transition: color 0.2s ease; }
footer a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- section art (register-swappable) ---------- */
.section-art { margin: 3.2rem auto 0; max-width: 920px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 34px 80px -36px rgba(36,27,21,0.5); background: var(--bone-deep); }
.section-art img { display: block; width: 100%; height: auto; }

/* ---------- register toggle (footer, preview only) ---------- */
.art-toggle { display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.art-toggle .lbl { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); opacity: 0.7; margin-right: 0.2rem; }
.art-toggle button { font-family: inherit; font-size: 0.78rem; font-weight: 600; padding: 0.28rem 0.7rem; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); cursor: pointer; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.art-toggle button:hover { border-color: var(--ink); color: var(--ink); }
.art-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mesh i, .avatar { animation: none !important; }
  html { scroll-behavior: auto; }
  .btn, .card, .person, .nav-cta { transition: none; }
}
