/* Navriddhi — compact first screen + scroll motion (12 Nov 2026).
   Loaded after style.css on every page. motion.js adds the mv-* classes and
   drives the scroll-linked values; without JS the
   pages look exactly as before, only the home hero is shorter. */

main { overflow-x: clip; }

/* ---------------------------------------------------------------- Home hero */
.hero { padding-top: calc(var(--header-h) + clamp(20px, 3vw, 40px)); padding-bottom: clamp(36px, 5vw, 64px); }
.hero .h-display { font-size: clamp(36px, 6.2vw, 68px); }
.hero-center .eyebrow { margin-bottom: 12px; }
.hero-center .lead { margin-top: 14px; font-size: clamp(15px, 1.25vw, 18px); }
.hero-actions { margin-top: 22px; }
.hero .galaxy-toggle { margin-top: 8px; }
.hero .stage { margin-top: clamp(28px, 4vw, 44px); }
.hero .stage-tabs { margin-top: 44px; }
.hero-meta { margin-top: 16px; }
.hero-center { padding-top: 0 !important; }

/* a soft glow and a hairline under the product preview */
.hero .stage-frame { box-shadow: var(--shadow-frame), 0 0 0 1px rgba(140, 150, 255, .16), 0 40px 120px -40px rgba(110, 120, 255, .45); }
.hero .stage-scene::before { content: ''; position: absolute; inset: -8% -10% -14%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 55%, rgba(118, 110, 255, .22), rgba(118, 110, 255, 0) 68%); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(140, 150, 255, .28); background: rgba(120, 130, 255, .08); }
.hero .eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 10px 2px rgba(110, 231, 168, .5); }

@media (min-width: 1100px) {
  .hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; column-gap: clamp(28px, 3.6vw, 60px); max-width: 1400px; margin-inline: auto; padding: calc(var(--header-h) + 18px) var(--gutter) 28px; min-height: min(100svh, 880px); isolation: isolate; }
  .hero > .container { max-width: none; width: auto; margin: 0; padding: 0; }
  .hero-center { position: static; isolation: auto; max-width: none; text-align: left; }
  .hero-center .lead { margin-left: 0; max-width: 560px; }
  .hero-center .hero-actions { justify-content: flex-start; }
  .hero .h-display { font-size: clamp(40px, 4.25vw, 64px); line-height: 1.05; }
  .hero-galaxy { left: 50%; top: 0; width: 100vw; max-width: none; height: 100%; transform: translateX(-50%); }
  .hero-galaxy .galaxy-device { display: none; }
  .hero-veil { left: 22%; top: 50%; width: 52%; height: 86%; }
  .hero .stage { width: 100%; max-width: none; margin: 0; }
  .hero .stage-scene { width: 80%; margin: 0 auto 0 3%; }
  .hero .stage-tabs { margin-top: 56px; }
  .hero-meta { justify-content: center; font-size: 13px; }
}
@media (max-width: 640px) {
  .hero .h-display { font-size: clamp(32px, 9.4vw, 44px); }
  .hero-actions .btn { min-height: 46px; }
  .hero .stage-tabs { margin-top: 40px; }
  .hero-galaxy .galaxy-device { display: none; }
  .hero-meta { gap: 4px 16px; font-size: 12.5px; }
}

/* the first screen arrives in two halves */
@keyframes mv-hero-left { from { opacity: 0; transform: translate3d(-56px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes mv-hero-right { from { opacity: 0; transform: translate3d(72px, 20px, 0) scale(.96); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- Entrance classes */
/* motion.js puts one of these on every [data-reveal] block below the fold.  */
[data-mv] { transition: opacity .95s cubic-bezier(.2, .7, .2, 1), transform 1.05s cubic-bezier(.2, .7, .2, 1), filter .95s ease; transition-delay: var(--d, 0s); will-change: transform, opacity; }
[data-mv]:not(.in) { opacity: 0; }
[data-mv].mv-left:not(.in)   { transform: translate3d(calc(var(--mv-x, 90px) * -1), 0, 0); }
[data-mv].mv-right:not(.in)  { transform: translate3d(var(--mv-x, 90px), 0, 0); }
[data-mv].mv-up:not(.in)     { transform: translate3d(0, var(--mv-y, 60px), 0); }
[data-mv].mv-down:not(.in)   { transform: translate3d(0, calc(var(--mv-y, 60px) * -1), 0); }
[data-mv].mv-zoom:not(.in)   { transform: scale(.82); }
[data-mv].mv-zoomout:not(.in){ transform: scale(1.14); filter: blur(8px); }
[data-mv].mv-tilt-l:not(.in) { transform: translate3d(-70px, 30px, 0) rotate(-7deg); }
[data-mv].mv-tilt-r:not(.in) { transform: translate3d(70px, 30px, 0) rotate(7deg); }
[data-mv].mv-flip:not(.in)   { transform: perspective(900px) rotateX(38deg) translate3d(0, 46px, 0); transform-origin: 50% 100%; }
[data-mv].mv-turn-l:not(.in) { transform: perspective(900px) rotateY(34deg) translate3d(-50px, 0, 0); }
[data-mv].mv-turn-r:not(.in) { transform: perspective(900px) rotateY(-34deg) translate3d(50px, 0, 0); }
[data-mv].mv-blur:not(.in)   { transform: translate3d(0, 34px, 0) scale(.97); filter: blur(12px); }
[data-mv].mv-diag-l:not(.in) { transform: translate3d(-110px, -50px, 0) rotate(-5deg); }
[data-mv].mv-diag-r:not(.in) { transform: translate3d(110px, -50px, 0) rotate(5deg); }
[data-mv].mv-swing:not(.in)  { transform: translate3d(0, -60px, 0) rotate(9deg); transform-origin: 50% 0; }

/* ------------------------------------------------------ Scroll-linked media */
/* motion.js writes --sx --sy --sr --ss --so --sb while the block scrolls in. */
.mv-scrub { translate: var(--sx, 0px) var(--sy, 0px); rotate: var(--sr, 0deg); scale: var(--ss, 1); opacity: var(--so, 1); filter: blur(var(--sb, 0px)); will-change: translate, rotate, scale, opacity; }
/* gentle depth: things that keep drifting while you scroll */
.mv-plx { translate: var(--px, 0px) var(--py, 0px); will-change: translate; }

/* a thin progress line under the header: how far down the page you are */
.mv-progress { position: fixed; left: 0; top: 0; z-index: 200; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--mv-p, 0)); background: linear-gradient(90deg, #4d86ff, #a263f5 55%, #ff6fa3); pointer-events: none; }

@media (max-width: 760px) {
  [data-mv] { --mv-x: 44px; --mv-y: 40px; }
  [data-mv].mv-tilt-l:not(.in), [data-mv].mv-diag-l:not(.in) { transform: translate3d(-40px, 20px, 0) rotate(-4deg); }
  [data-mv].mv-tilt-r:not(.in), [data-mv].mv-diag-r:not(.in) { transform: translate3d(40px, 20px, 0) rotate(4deg); }
}

/* ------------------------------------------------- Giant word behind a picture */
.mv-word-host { position: relative; isolation: isolate; }
.mv-word { position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -50%); translate: var(--wx, 0px) 0; opacity: calc(var(--wo, 0) * .085); font-size: clamp(90px, 17vw, 260px); font-weight: 800; letter-spacing: -.04em; line-height: 1; white-space: nowrap; color: rgb(var(--accent-rgb)); pointer-events: none; user-select: none; will-change: translate; }
:root[data-theme="dark"] .mv-word { opacity: calc(var(--wo, 0) * .11); }

/* ------------------------------------------------------- Home: product reel */
/* Without JS these are four ordinary blocks, one under the other. */
.reel { position: relative; padding: clamp(40px, 6vw, 80px) 0; }
.reel-pin { position: relative; }
.reel-word, .reel-dots, .reel-hint { display: none; }
.reel-slide { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(24px, 4vw, 64px); max-width: 1320px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter); }
.reel-slide:nth-child(even) .reel-copy { order: 2; }
.reel-copy .eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.reel-copy .eyebrow img { width: 30px; height: 30px; border-radius: 8px; }
.reel-title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
.reel-copy p { margin-top: 14px; max-width: 440px; color: var(--text-2); font-size: clamp(15px, 1.2vw, 18px); }
.reel-copy .btn { margin-top: 22px; }
.reel-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.reel-points span { padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--text); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .28); }
.reel-media { position: relative; }
.reel-media::before { content: ''; position: absolute; inset: -12% -8%; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, rgba(var(--accent-rgb), .30), rgba(var(--accent-rgb), 0) 68%); }
.reel-media .frame { box-shadow: var(--shadow-frame), 0 0 0 1px rgba(var(--accent-rgb), .25), 0 50px 120px -50px rgba(var(--accent-rgb), .55); }
.reel-float { position: absolute; z-index: 2; right: -4%; bottom: -12%; width: 34%; border-radius: 14px; overflow: hidden; border: 1px solid rgba(var(--accent-rgb), .35); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); background: var(--elev); }
.reel-float.tall { width: 21%; border-radius: 22px; bottom: -16%; }
.reel-slide:nth-child(even) .reel-float { right: auto; left: -4%; }
.reel-float img { display: block; width: 100%; height: auto; }

.reel.is-pinned { padding: 0; height: calc(var(--reel-n, 4) * 100vh); height: calc(var(--reel-n, 4) * 100svh); }
.reel.is-pinned .reel-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; isolation: isolate; }
.reel.is-pinned .reel-slide { position: absolute; inset: 0; max-width: 1400px; padding: calc(var(--header-h) + 24px) var(--gutter) 56px; opacity: var(--ro, 0); visibility: hidden; }
.reel.is-pinned .reel-copy { translate: var(--cx, 0) 0; will-change: translate; }
.reel.is-pinned .reel-media { translate: var(--mx, 0) 0; rotate: var(--mr, 0deg); scale: var(--ms, 1); will-change: translate, rotate, scale; }
.reel.is-pinned .reel-float { translate: var(--fx, 0) var(--fy, 0); will-change: translate; }
.reel.is-pinned .reel-word { display: block; position: absolute; z-index: -1; left: 50%; top: 52%; transform: translate(-50%, -50%); translate: var(--wx, 0) 0; opacity: calc(var(--wo, 1) * .10); font-size: clamp(110px, 23vw, 380px); font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap; pointer-events: none; user-select: none; color: #8f8cff; will-change: translate; }
.reel[data-active="bhojone"] .reel-word { color: #ff8a4c; }
.reel[data-active="viniflow"] .reel-word { color: #ff5fa2; }
.reel[data-active="salonflow"] .reel-word { color: #ff8f86; }
.reel[data-active="wabizhub"] .reel-word { color: #2fd39a; }
.reel.is-pinned .reel-dots { display: flex; flex-direction: column; gap: 10px; position: absolute; z-index: 5; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%); }
.reel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(150, 150, 170, .4); cursor: pointer; transition: height .3s, background-color .3s; }
.reel-dot.on { height: 30px; background: linear-gradient(180deg, #4d86ff, #a263f5 55%, #ff6fa3); }
.reel.is-pinned .reel-hint { display: block; position: absolute; z-index: 5; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 900px) {
  .reel-slide, .reel.is-pinned .reel-slide { grid-template-columns: 1fr; align-content: center; gap: 22px; text-align: center; }
  .reel-slide:nth-child(even) .reel-copy { order: 0; }
  .reel-copy p { margin-left: auto; margin-right: auto; }
  .reel-points { justify-content: center; }
  .reel-points span:nth-child(n+3) { display: none; }
  .reel-float { display: none; }
  .reel.is-pinned .reel-slide { padding: calc(var(--header-h) + 12px) var(--gutter) 44px; }
  .reel.is-pinned .reel-dots { right: 6px; }
  .reel-title { font-size: clamp(26px, 7.4vw, 36px); }
}

/* ------------------------------------------------------------------ Header */
/* Big and open at the top of the page; once you scroll it glides into a small
   floating pill (the .scrolled class comes from main.js). */
.site-header { left: 0; right: 0; margin-inline: auto; width: 100%; border: 1px solid transparent; border-radius: 0;
  transition: height .55s var(--ease), width .6s var(--ease), top .55s var(--ease), border-radius .6s var(--ease), box-shadow .5s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease), -webkit-backdrop-filter .4s var(--ease); }
.site-header .nav { transition: padding .55s var(--ease); }
@media (min-width: 961px) {
  :root { --header-h: 92px; }
  .site-header:not(.scrolled) .brand-mark { width: 44px; height: 44px; }
  .site-header:not(.scrolled) .brand-word { height: 24px; }
  .site-header:not(.scrolled) .brand-sub { font-size: 11px; margin-top: 5px; }
  .site-header:not(.scrolled) .nav-link { font-size: 16.5px; padding: 0 15px; }
  .site-header:not(.scrolled) .btn-desktop { min-height: 44px; padding: 11px 22px; font-size: 15px; }
  .site-header.scrolled:not(.menu-open) { top: 12px; height: 56px; width: min(1060px, calc(100% - 48px)); border-radius: 999px; border-color: var(--line-soft); box-shadow: 0 18px 50px -22px rgba(0, 0, 0, .6), 0 0 0 1px rgba(140, 150, 255, .08); }
  .site-header.scrolled:not(.menu-open) .nav { padding-inline: 22px 14px; }
}
@media (max-width: 960px) {
  .site-header.scrolled:not(.menu-open) { top: 8px; width: calc(100% - 20px); border-radius: 18px; border-color: var(--line-soft); box-shadow: 0 14px 36px -20px rgba(0, 0, 0, .6); }
  .site-header.scrolled:not(.menu-open) .nav { padding-inline: 14px 8px; }
}

/* mid-width laptops: the big header must still fit on one line */
.nav-link { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1280px) {
  .site-header:not(.scrolled) .nav-link { font-size: 15px; padding: 0 10px; }
  .site-header:not(.scrolled) .brand-mark { width: 38px; height: 38px; }
  .site-header:not(.scrolled) .brand-word { height: 21px; }
  .site-header:not(.scrolled) .btn-desktop { min-height: 40px; padding: 9px 16px; font-size: 14px; }
}

/* Header that follows the scroll: motion.js writes --hp (0 at the top … 1 after ~260px)
   and every size is worked out from it, so the bar glides instead of switching. */
@media (min-width: 961px) {
  .site-header { --h0: 92px; --mark0: 44px; --word0: 24px; --sub0: 11px; --fs0: 16.5px; --pad0: 15px; --btnh0: 44px; --btnp0: 22px; --btnf0: 15px; }
  .site-header.mv-hdr.mv-hdr { --hp: 0; transition: none; background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    height: calc(var(--h0) - (var(--h0) - 56px) * var(--hp)); top: calc(12px * var(--hp));
    width: calc(100% - (100% - min(1060px, 100% - 48px)) * var(--hp)); border-radius: calc(28px * var(--hp)); }
  .site-header.mv-hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: var(--hp);
    background: var(--nav-bg); border: 1px solid var(--line-soft); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 18px 50px -22px rgba(0, 0, 0, .6), 0 0 0 1px rgba(140, 150, 255, .08); }
  .site-header.mv-hdr.mv-hdr .nav { transition: none; padding-inline: calc(var(--gutter) - (var(--gutter) - 22px) * var(--hp)) calc(var(--gutter) - (var(--gutter) - 14px) * var(--hp)); }
  .site-header.mv-hdr.mv-hdr .brand { transition: none; gap: calc(11px - 2px * var(--hp)); }
  .site-header.mv-hdr.mv-hdr .brand-mark { transition: none; width: calc(var(--mark0) - (var(--mark0) - 30px) * var(--hp)); height: calc(var(--mark0) - (var(--mark0) - 30px) * var(--hp)); }
  .site-header.mv-hdr.mv-hdr .brand-word { transition: none; height: calc(var(--word0) - (var(--word0) - 17px) * var(--hp)); }
  .site-header.mv-hdr.mv-hdr .brand-sub { transition: none; font-size: calc(var(--sub0) - (var(--sub0) - 7.5px) * var(--hp)); margin-top: calc(5px - 2px * var(--hp)); }
  .site-header.mv-hdr.mv-hdr .nav-link { transition: opacity .2s; font-size: calc(var(--fs0) - (var(--fs0) - 14px) * var(--hp)); padding: 0 calc(var(--pad0) - (var(--pad0) - 11px) * var(--hp)); }
  .site-header.mv-hdr.mv-hdr .theme-toggle { transition: background-color .2s; width: calc(40px - 4px * var(--hp)); height: calc(40px - 4px * var(--hp)); }
  .site-header.mv-hdr.mv-hdr .btn-desktop { transition: background-color .2s var(--ease); min-height: calc(var(--btnh0) - (var(--btnh0) - 32px) * var(--hp)); padding: calc(11px - 5px * var(--hp)) calc(var(--btnp0) - (var(--btnp0) - 14px) * var(--hp)); font-size: calc(var(--btnf0) - (var(--btnf0) - 13px) * var(--hp)); }
}
@media (min-width: 961px) and (max-width: 1280px) {
  .site-header { --mark0: 38px; --word0: 21px; --sub0: 10px; --fs0: 15px; --pad0: 10px; --btnh0: 40px; --btnp0: 16px; --btnf0: 14px; }
}
/* phones keep the two states, with a longer, softer glide */
@media (max-width: 960px) {
  .site-header { transition-duration: .8s; transition-timing-function: cubic-bezier(.22, .8, .2, 1); }
  .site-header .brand-mark, .site-header .brand-word, .site-header .brand-sub, .site-header .nav { transition-duration: .8s; transition-timing-function: cubic-bezier(.22, .8, .2, 1); }
}

/* Reel slides for products without a screenshot: the logo on a glowing plate with rings */
.reel-logo { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; align-content: center; gap: 18px; overflow: hidden; border-radius: 28px; border: 1px solid rgba(var(--accent-rgb), .32); background: radial-gradient(circle at 28% 18%, rgba(var(--accent-rgb), .30), rgba(var(--accent-rgb), 0) 58%), radial-gradient(circle at 80% 90%, rgba(var(--accent-rgb), .18), rgba(var(--accent-rgb), 0) 55%), var(--elev); box-shadow: 0 50px 120px -50px rgba(var(--accent-rgb), .6), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.reel-logo img { position: relative; z-index: 1; width: 30%; height: auto; border-radius: 24%; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .7), 0 0 0 6px rgba(var(--accent-rgb), .14); }
.reel-logo b { position: relative; z-index: 1; font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; }
.reel-logo i { position: absolute; left: 50%; top: 46%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), .26); transform: translate(-50%, -50%); }
.reel-logo i:nth-child(2) { width: 72%; border-color: rgba(var(--accent-rgb), .16); }
.reel-logo i:nth-child(3) { width: 102%; border-color: rgba(var(--accent-rgb), .09); }
/* twelve products: a shorter stretch of scroll for each */
.reel.is-pinned { height: calc(100vh + (var(--reel-n, 4) - 1) * 70vh); height: calc(100svh + (var(--reel-n, 4) - 1) * 70svh); }
.reel-dots .reel-dot { width: 8px; height: 8px; }
.reel-dots .reel-dot.on { height: 24px; }
.reel[data-active="swarnapos"] .reel-word { color: #2bbf9f; }
.reel[data-active="wearzo"] .reel-word { color: #5aa2f0; }
.reel[data-active="gympilot"] .reel-word { color: #f08a2e; }
.reel[data-active="pharmzo"] .reel-word { color: #35c26b; }
.reel[data-active="healdesk"] .reel-word { color: #2cc3d3; }
.reel[data-active="tripzo"], .reel[data-active="school"], .reel[data-active="hisab"] { --w: 1; }
.reel[data-active="tripzo"] .reel-word, .reel[data-active="school"] .reel-word, .reel[data-active="hisab"] .reel-word { color: #4b9cf0; }
@media (max-width: 900px) { .reel-logo { aspect-ratio: 4 / 3; max-width: 420px; margin: 0 auto; width: 100%; } }

/* ------------------------------------------- Home hero: fits any laptop screen */
/* Sizes follow BOTH the width and the height of the window, so a 15.6" laptop at 125%
   zoom, a 13" one and a big monitor all get one full, balanced first screen. */
@media (min-width: 1100px) {
  .hero { max-width: none; min-height: 100vh; min-height: 100svh; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); column-gap: clamp(24px, 3vw, 72px);
    padding: calc(var(--header-h) + 1vh) clamp(28px, 5.2vw, 110px) clamp(16px, 3vh, 40px); align-content: center; }
  .hero .h-display { font-size: clamp(34px, min(4.5vw, 8.6vh), 88px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
  .hero-center .eyebrow { margin-bottom: clamp(8px, 1.6vh, 18px); font-size: clamp(11px, min(.95vw, 1.9vh), 15px); }
  .hero-center .lead { margin-top: clamp(10px, 2vh, 22px); max-width: 36em; font-size: clamp(14px, min(1.22vw, 2.5vh), 21px); }
  .hero-actions { margin-top: clamp(14px, 2.8vh, 34px); }
  .hero-actions .btn-lg { font-size: clamp(14px, min(1.1vw, 2.2vh), 18px); min-height: clamp(42px, 6.2vh, 56px); padding-inline: clamp(18px, 1.8vw, 30px); }
  .hero .galaxy-toggle { margin-top: clamp(2px, 1vh, 10px); }
  /* the picture grows with the column but never taller than the window allows */
  .hero .stage { width: min(100%, calc((100vh - var(--header-h) - 170px) * 1.95)); width: min(100%, calc((100svh - var(--header-h) - 170px) * 1.95)); margin-inline: auto; }
  .hero .stage-scene { width: 82%; margin: 0 auto 0 2%; }
  .hero .stage-tabs { margin-top: clamp(36px, 7vh, 64px); }
  .hero-meta { margin-top: clamp(8px, 1.6vh, 18px); font-size: clamp(12px, min(.95vw, 1.9vh), 15px); }
  .hero-veil { left: 24%; width: 56%; }
}
@media (min-width: 1100px) and (max-height: 700px) {
  :root { --header-h: 76px; }
  .site-header { --h0: 76px; --mark0: 38px; --word0: 21px; --sub0: 10px; --fs0: 15px; --pad0: 12px; --btnh0: 40px; --btnp0: 18px; --btnf0: 14px; }
}
/* home: the header lines up with the full-width first screen */
@media (min-width: 1100px) {
  body:has(> main > .hero) .site-header { --gutter: clamp(28px, 5.2vw, 110px); }
  body:has(> main > .hero) .site-header .nav { max-width: none; }
}
