/* Anveen Studio — one mystical page, set in Outfit. Mobile first. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/outfit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/outfit-latin-600-normal.woff2") format("woff2"); }

:root {
  --night: #0b0a19;
  --night-2: #131029;
  --veil: rgba(255, 255, 255, 0.045);
  --line: rgba(232, 201, 138, 0.18);
  --gold: #e8c98a;
  --gold-soft: #f6e7c4;
  --mist: #bdb6dc;
  --text: #ece8f5;
  --muted: #a7a1c4;
  --violet: #9d86ff;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --glow: linear-gradient(100deg, #f6e7c4 0%, #e8c98a 35%, #c4a8ff 75%, #9d86ff 100%);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad: clamp(1.25rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(120% 80% at 50% -10%, #1d1840 0%, var(--night-2) 38%, var(--night) 75%) fixed, var(--night);
  color: var(--text);
  font: 300 1rem/1.62 var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(232, 201, 138, .3); color: #fff; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 50;
  padding: .55rem .9rem; border-radius: 999px;
  background: var(--gold); color: var(--night); text-decoration: none; font-size: .85rem;
  transition: top .2s var(--ease);
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Sky */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aura {
  position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; opacity: .55;
}
.aura-1 { width: 70vmax; height: 70vmax; left: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(120, 96, 210, .3), rgba(120, 96, 210, .08) 40%, transparent 70%); }
.aura-2 { width: 60vmax; height: 60vmax; right: -25vmax; bottom: -30vmax; background: radial-gradient(circle, rgba(232, 201, 138, .12), rgba(232, 201, 138, .03) 40%, transparent 70%); }

main, footer, .bar { position: relative; z-index: 1; }

/* Top bar */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem var(--pad);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.bar.solid {
  background: rgba(11, 10, 25, .62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: rgba(255, 255, 255, .05);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.bar .word { opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bar.solid .word, .no-js .bar .word { opacity: 1; transform: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
/* Stacked lockup: ANVEEN, with STUDIO spread to exactly the same width underneath */
.word, .logo { display: inline-flex; flex-direction: column; align-items: stretch; color: #fff; }
.word .w, .logo .w { display: flex; justify-content: center; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.word .s, .logo .s { display: flex; justify-content: space-between; font-weight: 400; line-height: 1; color: var(--gold); }
.word .s b, .logo .s b, .logo .w b { display: inline-block; font-weight: inherit; }
.word { font-size: 1.12rem; gap: .26em; }
.word .s { font-size: .4rem; }
.bar nav { display: none; gap: 1.6rem; }
.bar nav a { text-decoration: none; font-size: .88rem; font-weight: 400; color: var(--muted); transition: color .25s; }
.bar nav a:hover { color: var(--gold-soft); }

/* Hero */
.hero {
  min-height: 100svh; min-height: 100dvh;
  display: grid; place-items: center; text-align: center;
  padding: 6rem var(--pad) 4.5rem;
  position: relative;
}
.hero-inner { max-width: 46rem; }
.halo { position: relative; width: 88px; height: 88px; margin: 0 auto 1.6rem; }
.halo::before {
  content: ""; position: absolute; inset: -46px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 255, .26), rgba(232, 201, 138, .1) 40%, transparent 66%);
  animation: breathe 6s ease-in-out infinite;
}
.halo .spark { position: relative; width: 88px; height: 88px; filter: drop-shadow(0 0 18px rgba(246, 231, 196, .45)); animation: twinkle 5s ease-in-out infinite; }
.orbit { position: absolute; inset: -22px; border-radius: 50%; border: 1px solid rgba(196, 168, 255, .2); animation: spin 18s linear infinite; }
.orbit.o2 { inset: -40px; border-color: rgba(232, 201, 138, .12); animation-duration: 30s; animation-direction: reverse; }
.orbit span { position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gold-soft); box-shadow: 0 0 12px 2px rgba(246, 231, 196, .7); }
.orbit.o2 span { background: var(--violet); box-shadow: 0 0 12px 2px rgba(157, 134, 255, .7); width: 5px; height: 5px; }
.logo { margin: 0 0 1.5rem; font-size: 2rem; gap: .3em; }
.logo .s { font-size: .36em; }
.hero h1 {
  margin: 0 auto; max-width: 15em;
  font: 600 clamp(2rem, 8.4vw, 4.4rem)/1.06 var(--font); letter-spacing: -.035em; color: #fff;
  text-wrap: balance;
}
.hero h1 em, h2 em {
  font-style: normal;
  background: var(--glow); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}
.lede {
  margin: 1.1rem auto 1.8rem; max-width: 28rem;
  font: 300 clamp(1rem, 3.6vw, 1.18rem)/1.55 var(--font); color: var(--muted);
}
.cta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.chips { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; max-width: 19rem; margin: 2rem auto 0; padding: 0; }
.chips li { text-align: center; }
.chips li {
  padding: .36rem .72rem; border-radius: 999px; font-size: .74rem; font-weight: 400; color: var(--mist); white-space: nowrap;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08);
}
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font: 500 .92rem/1 var(--font); letter-spacing: .01em; text-decoration: none; color: var(--night);
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  border: 0; cursor: pointer;
  box-shadow: 0 6px 24px rgba(232, 201, 138, .22);
  transition: transform .18s var(--ease), box-shadow .3s var(--ease), filter .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { box-shadow: 0 8px 32px rgba(232, 201, 138, .38); filter: brightness(1.04); }
.btn:active { transform: scale(.96); }
.btn.ghost { color: var(--gold-soft); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: rgba(232, 201, 138, .08); }
.btn svg { width: 16px; height: 16px; }

.cue {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); opacity: .55;
  animation: drip 2.8s var(--ease) infinite;
}

/* Hero intro: two stars meet, flash into the spark, then the name rises in.
   Only runs when intro.js adds .intro (never with reduced motion). */
.comet, .flash { display: none; }
.intro .comet {
  display: block; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  filter: drop-shadow(0 0 8px rgba(255, 248, 230, .9)); opacity: 0;
}
.intro .c1 { animation: cometL 1s cubic-bezier(.55, 0, .75, .4) .15s both; }
.intro .c2 { animation: cometR 1s cubic-bezier(.55, 0, .75, .4) .15s both; }
.intro .flash {
  display: block; position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 244, 214, .85) 25%, rgba(196, 168, 255, .35) 55%, transparent 72%);
  opacity: 0; animation: flash .9s ease-out 1.1s both; pointer-events: none;
}
.intro .halo .spark { animation: sparkIn 1.1s cubic-bezier(.2, .9, .25, 1.2) 1.1s both, twinkle 5s ease-in-out 2.4s infinite; }
.intro .halo::before { animation: fadeIn 1s ease 1.2s both, breathe 6s ease-in-out 2.2s infinite; }
.intro .orbit { animation: orbitIn 1.2s var(--ease) 1.45s both, spin 18s linear 1.45s infinite; }
.intro .orbit.o2 { animation: orbitIn 1.2s var(--ease) 1.6s both, spin 30s linear 1.6s infinite reverse; }
.intro .logo .w b { animation: rise .7s var(--ease) both; }
.intro .logo .w b:nth-child(1) { animation-delay: 1.55s; } .intro .logo .w b:nth-child(2) { animation-delay: 1.6s; }
.intro .logo .w b:nth-child(3) { animation-delay: 1.65s; } .intro .logo .w b:nth-child(4) { animation-delay: 1.7s; }
.intro .logo .w b:nth-child(5) { animation-delay: 1.75s; } .intro .logo .w b:nth-child(6) { animation-delay: 1.8s; }
.intro .logo .s b { animation: spread .8s var(--ease) both; }
.intro .logo .s b:nth-child(1) { animation-delay: 2.05s; }
.intro .logo .s b:nth-child(2) { animation-delay: 1.99s; }
.intro .logo .s b:nth-child(3) { animation-delay: 1.93s; }
.intro .logo .s b:nth-child(4) { animation-delay: 1.93s; }
.intro .logo .s b:nth-child(5) { animation-delay: 1.99s; }
.intro .logo .s b:nth-child(6) { animation-delay: 2.05s; }
.intro .hero h1 { animation: up .9s var(--ease) 2.05s both; }
.intro .lede { animation: up .9s var(--ease) 2.2s both; }
.intro .cta { animation: up .9s var(--ease) 2.32s both; }
.intro .chips { animation: up .9s var(--ease) 2.44s both; }
.intro .bar, .intro .cue { animation: fadeIn 1s ease 2.5s both; }

@keyframes cometL {
  0% { opacity: 0; transform: translate(-46vw, 34px) scale(.5) rotate(-90deg); }
  15% { opacity: 1; }
  90% { opacity: 1; transform: translate(-4px, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(0, 0) scale(1.6); }
}
@keyframes cometR {
  0% { opacity: 0; transform: translate(46vw, -34px) scale(.5) rotate(90deg); }
  15% { opacity: 1; }
  90% { opacity: 1; transform: translate(4px, 0) scale(1) rotate(0deg); }
  100% { opacity: 0; transform: translate(0, 0) scale(1.6); }
}
@keyframes flash { 0% { opacity: 0; transform: scale(.2); } 18% { opacity: 1; } 100% { opacity: 0; transform: scale(4.2); } }
@keyframes sparkIn { 0% { opacity: 0; transform: scale(.1) rotate(-45deg); } 45% { opacity: 1; transform: scale(1.3) rotate(6deg); } 100% { opacity: 1; transform: scale(1) rotate(0deg); } }
@keyframes orbitIn { from { opacity: 0; scale: .6; } to { opacity: 1; scale: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(.5em); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes spread { from { opacity: 0; transform: translateY(-.4em) scale(.6); filter: blur(3px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Sections */
section.block { padding: clamp(4rem, 12vw, 8rem) var(--pad); }
.wrap { max-width: 64rem; margin: 0 auto; }
.narrow { max-width: 38rem; margin: 0 auto; }
.kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 .9rem; font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--gold); opacity: .6; }
h2 { margin: 0 0 1.2rem; font: 600 clamp(1.5rem, 5.6vw, 2.6rem)/1.12 var(--font); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
p { margin: 0 0 1rem; color: var(--muted); max-width: 36rem; }
.contact p, .hero p { margin-left: auto; margin-right: auto; }
.story p { font-size: 1rem; }
.sign { margin-top: 2rem; font: 400 1.05rem/1.4 var(--font); color: var(--gold-soft); }
.sign::before { content: "✦ "; color: var(--violet); }

.divider { display: flex; justify-content: center; padding: 0 var(--pad); }
.divider svg { width: 120px; height: 20px; opacity: .55; }

/* Beliefs */
.grid { display: grid; gap: 1rem; margin-top: 2.2rem; }
.card {
  position: relative; padding: 1.5rem 1.4rem 1.4rem; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 201, 138, .12), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { border-color: var(--line); }
.card:hover::after { opacity: 1; }
.card .num { font: 500 .8rem/1 var(--font); color: var(--gold); letter-spacing: .14em; }
.card h3 { margin: .8rem 0 .45rem; font: 500 1.18rem/1.25 var(--font); letter-spacing: -.01em; color: #fff; }
.card p { margin: 0; font-size: .94rem; line-height: 1.55; }

/* What we create */
#make .head { max-width: 38rem; }
.tiles { display: grid; gap: 1rem; margin-top: 2.2rem; }
.tile {
  position: relative; padding: 1.5rem 1.4rem; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(157, 134, 255, .09), rgba(255, 255, 255, .02) 55%);
  border: 1px solid rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), border-color .4s;
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(196, 168, 255, .16), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.tile:hover { border-color: rgba(196, 168, 255, .3); transform: translateY(-3px); }
.tile:hover::after { opacity: 1; }
.tile svg { width: 40px; height: 40px; color: var(--gold); margin-bottom: 1rem; transition: transform .8s var(--ease); }
.tile:hover svg { transform: rotate(-8deg) scale(1.08); }
.tile h3 { margin: 0 0 .4rem; font: 500 1.2rem/1.25 var(--font); letter-spacing: -.01em; color: #fff; }
.tile p { margin: 0; font-size: .94rem; line-height: 1.55; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: .9rem; margin: 2rem 0 0; padding: 0; }
.steps li {
  counter-increment: step; position: relative; padding: 1.2rem 1.2rem 1.2rem 4rem;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .025);
}
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1.2rem;
  font: 600 .95rem/1.5 var(--font); background: var(--glow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.steps span { display: block; font: 500 1.08rem/1.5 var(--font); color: #fff; }
.steps p { margin: .15rem 0 0; font-size: .92rem; }

/* Contact */
.contact { text-align: center; }
.contact .narrow { max-width: 32rem; }
.contact .kicker { justify-content: center; }
.contact .kicker::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .6; }
.mail {
  display: inline-block; margin: .6rem 0 1.4rem;
  font: 500 clamp(1.35rem, 6.5vw, 2.2rem)/1.2 var(--font); letter-spacing: -.02em; color: var(--gold-soft); text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size .5s var(--ease);
  word-break: break-word;
}
.mail:hover, .mail:focus-visible { background-size: 100% 1px; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.note { margin-top: 1.6rem; font-size: .85rem; color: var(--muted); opacity: .85; }

/* Footer */
footer {
  padding: 2.5rem var(--pad) calc(2.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .06);
  text-align: center; font-size: .8rem; color: var(--muted);
}
footer .links { display: flex; justify-content: center; gap: .4rem 1.4rem; flex-wrap: wrap; margin-bottom: .9rem; }
footer button {
  appearance: none; background: none; border: 0; padding: .45rem .1rem; cursor: pointer;
  font: inherit; font-weight: 400; letter-spacing: .06em; color: var(--mist);
  transition: color .25s, transform .15s var(--ease);
}
footer button:hover { color: var(--gold-soft); }
footer button:active { transform: scale(.95); }
footer p { margin: 0; font-size: .78rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(1.4rem + env(safe-area-inset-bottom)); z-index: 60;
  transform: translate(-50%, 1.2rem); opacity: 0; pointer-events: none;
  padding: .7rem 1.15rem; border-radius: 999px;
  background: rgba(30, 26, 58, .92); color: var(--gold-soft); font-size: .85rem;
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Legal sheet */
dialog.sheet {
  position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: 100%;
  max-height: 88svh; padding: 0; border: 0; border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #1b1738, #120f27 30%);
  color: var(--text);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(232, 201, 138, .18);
  display: flex; flex-direction: column;
  transform: translateY(102%);
  transition: transform .45s var(--ease), display .45s allow-discrete, overlay .45s allow-discrete;
}
dialog.sheet:not([open]) { display: none; }
dialog.sheet.in { transform: none; }
dialog.sheet::backdrop {
  background: rgba(5, 4, 14, 0); -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease);
}
dialog.sheet.in::backdrop { background: rgba(5, 4, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-head {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem 1.4rem .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.sheet-head::before {
  content: ""; position: absolute; top: .55rem; left: 50%; width: 40px; height: 4px; margin-left: -20px;
  border-radius: 4px; background: rgba(255, 255, 255, .18);
}
.sheet-head h2 { margin: 0; font-size: 1.3rem; }
.x {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--text); cursor: pointer;
  transition: transform .15s var(--ease), background .25s;
}
.x:hover { background: rgba(232, 201, 138, .14); }
.x:active { transform: scale(.9); }
.x svg { width: 16px; height: 16px; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem 1.4rem calc(2rem + env(safe-area-inset-bottom)); }
.sheet-body h3 { margin: 1.6rem 0 .45rem; font: 500 1.02rem/1.3 var(--font); color: var(--gold-soft); }
.sheet-body h3:first-child { margin-top: .2rem; }
.sheet-body p, .sheet-body li { font-size: .92rem; color: var(--muted); }
.sheet-body ul { margin: 0 0 1rem; padding-left: 1.15rem; }
.sheet-body li { margin-bottom: .35rem; }
.sheet-body strong { color: var(--text); font-weight: 500; }
.sheet-body .updated { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); opacity: .8; }
.sheet-body a { color: var(--gold-soft); }
.ph { color: var(--gold-soft); background: rgba(232, 201, 138, .1); border-radius: 4px; padding: 0 .25em; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3) { transition-delay: .16s; }
.grid .reveal:nth-child(4) { transition-delay: .24s; }
.tiles .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.tiles .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.tiles .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.06) rotate(4deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes breathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes drip { 0% { transform: translateX(-50%) scaleY(0); transform-origin: top; } 45% { transform: translateX(-50%) scaleY(1); transform-origin: top; } 55% { transform: translateX(-50%) scaleY(1); transform-origin: bottom; } 100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; } }

@media (min-width: 640px) {
  .chips { display: flex; flex-wrap: wrap; justify-content: center; max-width: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .card { padding: 1.9rem 1.8rem 1.8rem; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .tile { padding: 1.9rem 1.8rem; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .bar nav { display: flex; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .tile { min-height: 17rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 4rem 1.4rem 1.5rem; }
  .steps li::before { top: 1.4rem; left: 1.4rem; font-size: 1.4rem; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .card { min-height: 15rem; }
  dialog.sheet {
    inset: 0; margin: auto; width: min(720px, calc(100% - 4rem)); max-height: min(82vh, 820px);
    border-radius: 26px; transform: translateY(24px) scale(.98); opacity: 0;
    transition: transform .4s var(--ease), opacity .3s var(--ease), display .4s allow-discrete, overlay .4s allow-discrete;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(232, 201, 138, .18);
  }
  dialog.sheet.in { transform: none; opacity: 1; }
  .sheet-head { padding: 1.6rem 2rem 1.1rem; }
  .sheet-head::before { display: none; }
  .sheet-body { padding: 1.4rem 2rem 2.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}

.intro { margin-left: 0; }
