/* NALVETH — global system and home page. Inner pages add pages.css. */
:root {
  --bg: #050b16;
  --bg-2: #081224;
  --panel: #0a1527;
  --panel-2: #0e1c33;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #eef2f8;
  --soft: #c5cfdd;
  --muted: #94a3b8;
  --gold: #e6b967;
  --gold-2: #f6dca6;
  --gold-deep: #b98a3c;
  --vademys: #9d74ff;
  --taxonys: #34c77b;
  --kalquis: #4f8ff7;
  --bistrito: #fbbf33;
  --bistrito-red: #ea3a2d;
  --display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4.5vw, 56px);
  --header-h: 76px;
  --radius: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: normal; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold); color: #120d05; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: #120d05; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 14px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font: 600 11px/1.4 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--soft); }
.eyebrow.gold { color: var(--gold); }
.little-star { color: var(--gold); font-size: 14px; letter-spacing: 0; }

/* Serif accents: the human, handwritten counterpart to the geometric display face. */
h1 em, h2 em, .footer-motto em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--gold-2) 10%, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); letter-spacing: -.005em; white-space: nowrap; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, border-color .35s, color .35s;
}
.button span { transition: transform .35s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translate(2px, -1px); }
.button-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #d9a650); color: #160f04; box-shadow: 0 10px 30px -10px rgba(230, 185, 103, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.button-gold:hover { box-shadow: 0 18px 44px -12px rgba(230, 185, 103, .75), inset 0 1px 0 rgba(255, 255, 255, .45); }
.button-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: rgba(230, 185, 103, .55); background: rgba(230, 185, 103, .06); }
.button-bistrito { background: var(--bistrito); color: #1a1204; box-shadow: 0 12px 34px -12px rgba(251, 191, 51, .6); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.header.is-scrolled, .inner-page .header { background: rgba(5, 11, 22, .72); border-bottom-color: var(--line); backdrop-filter: saturate(1.4) blur(18px); -webkit-backdrop-filter: saturate(1.4) blur(18px); }
.header-inner { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 36px; height: auto; }
.brand span { font: 700 17px/1 var(--display); letter-spacing: .32em; }
#navigation { margin-left: auto; display: flex; align-items: center; gap: 6px; }
#navigation a { position: relative; padding: 10px 14px; font-size: 14px; color: var(--soft); border-radius: 999px; transition: color .25s, background-color .25s; }
#navigation a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
#navigation a[aria-current=page] { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-switch { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; font: 600 11px/1 var(--body); letter-spacing: .08em; }
.language-switch a { padding: 7px 10px; border-radius: 999px; color: var(--muted); transition: color .25s, background-color .25s; }
.language-switch a[aria-current=page] { background: rgba(230, 185, 103, .14); color: var(--gold); }
.language-switch > span { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded=true] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 50% at 72% 38%, rgba(230, 185, 103, .10), transparent 70%),
    radial-gradient(80% 60% at 20% 110%, rgba(40, 80, 160, .28), transparent 70%),
    radial-gradient(120% 80% at 50% 0%, #0a1830 0%, var(--bg) 60%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-fallback { position: absolute; inset: 0; z-index: -3; display: flex; align-items: center; justify-content: flex-end; padding-right: 9vw;
  background-image: radial-gradient(1px 1px at 12% 22%, #fff9, transparent), radial-gradient(1px 1px at 32% 72%, #fff7, transparent), radial-gradient(1.5px 1.5px at 52% 14%, #fffa, transparent), radial-gradient(1px 1px at 68% 58%, #fff6, transparent), radial-gradient(1px 1px at 84% 30%, #fff8, transparent), radial-gradient(1.5px 1.5px at 92% 80%, #e6b967aa, transparent), radial-gradient(1px 1px at 22% 46%, #fff5, transparent), radial-gradient(1px 1px at 76% 88%, #fff6, transparent);
}
.hero-fallback img { width: min(34vw, 440px); opacity: .9; filter: drop-shadow(0 0 40px rgba(230, 185, 103, .25)); }
.has-webgl .hero-fallback img { display: none; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 11, 22, .82) 0%, rgba(5, 11, 22, .35) 45%, transparent 70%), linear-gradient(0deg, var(--bg) 0%, transparent 28%); }
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 120px; }
.hero h1 { font-size: clamp(52px, 8.6vw, 136px); line-height: .94; letter-spacing: -.055em; margin-bottom: 30px; max-width: 11ch; }
.hero h1 .line { display: block; }
.hero h1 em { font-size: 1.08em; line-height: 1; }
.hero-description { max-width: 33rem; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--soft); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 600 10.5px/1.4 var(--body); letter-spacing: .22em; color: var(--muted); }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; color: var(--soft); text-transform: uppercase; }
.scroll-cue i { position: relative; width: 1px; height: 38px; background: var(--line-2); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-motto { color: var(--gold); }

.hero-content > * { animation: rise 1.1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015)); }
.marquee-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 800 clamp(34px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(238, 242, 248, .28); }
.marquee b { color: var(--gold); font-size: 22px; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.fact { padding: 30px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact strong { display: block; font: 700 clamp(30px, 3.2vw, 44px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 14px; background: linear-gradient(180deg, var(--text), #b8c3d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; max-width: 22ch; }

/* Section headings */
.creations { padding-top: 150px; }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 40px; margin-bottom: 44px; }
.section-heading h2, .vision h2, .cta-band h2 { font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.05em; }
.section-heading > p { justify-self: end; max-width: 26ch; color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
.category-line { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; margin-bottom: 30px; border-block: 1px solid var(--line); font: 600 11px/1.4 var(--body); letter-spacing: .2em; color: var(--muted); }
.category-line > span:first-child { color: var(--gold); }

/* App showcases */
.showcase {
  --accent: var(--gold);
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(30px, 5vw, 80px);
  padding: clamp(28px, 4.5vw, 64px); margin-bottom: 28px; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 90% at 85% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(160deg, var(--panel-2), var(--panel) 60%, #070f1d);
}
.showcase::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent 35%, transparent 70%, rgba(230, 185, 103, .25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.showcase.is-reversed { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: radial-gradient(70% 90% at 15% 50%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), linear-gradient(200deg, var(--panel-2), var(--panel) 60%, #070f1d); }
.showcase.is-reversed .showcase-copy { order: 2; }
.app-vademys { --accent: var(--vademys); }
.app-taxonys { --accent: var(--taxonys); }
.app-kalquis { --accent: var(--kalquis); }

.app-top { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.app-top img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 16px 40px -12px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 0 1px rgba(255, 255, 255, .08); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--soft); background: rgba(255, 255, 255, .03); }
.status i, .live-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.app-number { margin-left: auto; font: 400 italic 46px/1 var(--serif); color: color-mix(in srgb, var(--accent) 70%, white); opacity: .55; }
.app-category { margin: 0 0 12px; font: 600 11px/1.4 var(--body); letter-spacing: .2em; color: color-mix(in srgb, var(--accent) 65%, white); }
.showcase h3 { font-size: clamp(44px, 5vw, 72px); letter-spacing: -.055em; margin-bottom: 14px; }
.showcase h3 span { color: var(--accent); }
.app-description { font: 400 italic clamp(22px, 2vw, 28px)/1.25 var(--serif); color: var(--text); margin-bottom: 18px; }
.app-body { color: var(--soft); font-size: 16px; line-height: 1.7; max-width: 46ch; }
.feature-list { list-style: none; display: grid; gap: 10px; margin: 24px 0 26px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--soft); font-size: 15px; line-height: 1.55; }
.feature-list li::before { content: '✦'; position: absolute; left: 0; top: 1px; font-size: 12px; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tags span { padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--soft); background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); }
.release-note { font-size: 13px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--line); }
.app-links { display: flex; gap: 22px; }
.app-links a { font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .25s, border-color .25s; }
.app-links a:hover { color: var(--gold); border-color: var(--gold); }

/* Screenshot stack */
.device-stack { --tilt-x: 0; --tilt-y: 0; position: relative; height: clamp(460px, 46vw, 640px); perspective: 1600px; }
.shot {
  position: absolute; left: 50%; top: 50%; width: 46%; height: auto; border-radius: clamp(18px, 2vw, 28px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .9s var(--ease), filter .9s var(--ease);
  transform: translate(-50%, -50%) rotateY(calc(var(--tilt-x) * 16deg)) rotateX(calc(var(--tilt-y) * -12deg));
}
.shot-front { z-index: 2; box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .14), 0 0 80px -20px color-mix(in srgb, var(--accent) 60%, transparent); }
.shot-back-left { filter: brightness(.6) saturate(.9); transform: translate(-108%, -48%) rotate(-7deg) scale(.86) rotateY(calc(var(--tilt-x) * 16deg)); }
.shot-back-right { filter: brightness(.6) saturate(.9); transform: translate(8%, -52%) rotate(7deg) scale(.86) rotateY(calc(var(--tilt-x) * 16deg)); }
.device-stack:hover .shot-back-left { transform: translate(-118%, -48%) rotate(-10deg) scale(.88) rotateY(calc(var(--tilt-x) * 16deg)); filter: brightness(.85); }
.device-stack:hover .shot-back-right { transform: translate(18%, -52%) rotate(10deg) scale(.88) rotateY(calc(var(--tilt-x) * 16deg)); filter: brightness(.85); }

/* Bistrito */
.bistrito-section { padding-top: 120px; }
.bistrito-panel {
  --accent: var(--bistrito);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(28px, 4.5vw, 64px); border-radius: calc(var(--radius) + 6px); overflow: hidden; position: relative;
  background: radial-gradient(60% 80% at 80% 40%, rgba(251, 191, 51, .20), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(234, 58, 45, .12), transparent 70%), linear-gradient(160deg, #1a1308, #0f0b06 70%);
  border: 1px solid rgba(251, 191, 51, .18);
}
.bistrito-copy .eyebrow { color: #f1d9a1; }
.live-status { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; color: #fde7b0; background: rgba(251, 191, 51, .12); border: 1px solid rgba(251, 191, 51, .3); vertical-align: top; }
.bistrito-copy h2 { margin: 10px 0 18px; }
.bistrito-wordmark { width: min(260px, 70%); height: auto; margin-left: -10px; }
.bistrito-copy h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.04em; margin-bottom: 16px; }
.bistrito-copy > p:not(.eyebrow) { color: #d8ccb5; font-size: 16px; line-height: 1.7; max-width: 46ch; }
.bistrito-flow { margin: 26px 0 30px; }
.flow-label { font: 600 11px/1.4 var(--body); letter-spacing: .2em; color: var(--bistrito); margin-bottom: 10px; }
.bistrito-flow ol { list-style: none; }
.bistrito-flow li { border-top: 1px solid rgba(251, 191, 51, .16); }
.bistrito-flow li:last-child { border-bottom: 1px solid rgba(251, 191, 51, .16); }
.bistrito-flow summary { display: flex; align-items: center; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; }
.bistrito-flow summary::-webkit-details-marker { display: none; }
.flow-number { font: 400 italic 22px/1 var(--serif); color: var(--bistrito); width: 30px; }
.bistrito-flow strong { font: 600 16px/1.3 var(--display); flex: 1; }
.flow-toggle { color: var(--bistrito); font-size: 20px; transition: transform .3s var(--ease); }
.bistrito-flow details[open] .flow-toggle { transform: rotate(45deg); }
.bistrito-flow details p { margin: 0 0 16px 46px; color: #d8ccb5; font-size: 14px; line-height: 1.65; }
.domain-note { margin-left: 16px; font-size: 13px; color: #b7a989; }

.bistrito-art { position: relative; height: clamp(420px, 40vw, 540px); display: grid; place-items: center; }
.bistrito-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(251, 191, 51, .25); }
.ring-one { width: 82%; aspect-ratio: 1; animation: spin 80s linear infinite; }
.ring-two { width: 56%; aspect-ratio: 1; border-style: solid; border-color: rgba(251, 191, 51, .12); }
@keyframes spin { to { transform: rotate(360deg); } }
.order-step { position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: rgba(26, 19, 8, .85); border: 1px solid rgba(251, 191, 51, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 50px -24px #000; transition: transform .6s var(--ease), border-color .4s, box-shadow .4s, opacity .4s; opacity: .75; }
.order-step small { display: block; font: 600 9.5px/1.4 var(--body); letter-spacing: .18em; color: #b7a989; margin-bottom: 4px; }
.order-step strong { font: 700 16px/1.25 var(--display); }
.order-step.is-current { opacity: 1; border-color: var(--bistrito); box-shadow: 0 24px 60px -20px rgba(251, 191, 51, .45); transform: scale(1.04); }
.step-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--bistrito); color: #1a1204; font-weight: 700; }
.step-no { position: absolute; top: 10px; right: 14px; font: 400 italic 15px/1 var(--serif); color: rgba(251, 191, 51, .6); }
.budget-step { top: 8%; left: 2%; padding-right: 44px; }
.whatsapp-step { bottom: 5%; right: 0; padding-right: 44px; }
.meal-step { margin: -30px 0 0 -50px; flex-direction: column; align-items: flex-start; gap: 6px; width: min(260px, 64%); padding: 24px; }
.meal-step .plate { width: 64px; height: 64px; margin-bottom: 10px; }
.meal-step strong { font-size: 22px; }
.meal-step p { margin: 6px 0 0; font-size: 13px; color: #d8ccb5; line-height: 1.5; }
.art-caption { position: absolute; bottom: 0; left: 0; margin: 0; font: 600 10px/1.4 var(--body); letter-spacing: .22em; color: #8d8166; }

/* Vision */
.vision { padding-top: 160px; }
.vision-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.vision-copy { padding-top: 46px; }
.vision-lead { font: 400 clamp(24px, 2.3vw, 32px)/1.3 var(--serif); color: var(--text); margin-bottom: 22px; }
.vision-copy > p:not(.vision-lead) { color: var(--soft); font-size: 16px; line-height: 1.75; }
.vision-signature { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.vision-signature img { width: 48px; height: auto; }
.vision-signature p { margin: 0; color: var(--muted); line-height: 1.5; }
.vision-signature strong { color: var(--gold); font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 80px; }
.principles > div { position: relative; padding: 34px 30px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.principles > div:hover { border-color: rgba(230, 185, 103, .35); transform: translateY(-4px); }
.principles > div::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(230, 185, 103, .1), transparent 70%); }
.principles span { display: block; font: 400 italic 40px/1 var(--serif); color: var(--gold); margin-bottom: 40px; }
.principles h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 12px; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* CTA */
.cta-band { padding: 150px 0 130px; }
.cta-inner { position: relative; text-align: center; padding: clamp(50px, 7vw, 100px) clamp(22px, 5vw, 60px); border-radius: calc(var(--radius) + 10px); border: 1px solid rgba(230, 185, 103, .2); overflow: hidden; isolation: isolate;
  background: radial-gradient(50% 80% at 50% 0%, rgba(230, 185, 103, .2), transparent 70%), linear-gradient(180deg, var(--panel-2), var(--bg-2)); }
.cta-inner::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(1px 1px at 10% 20%, #fff8, transparent), radial-gradient(1px 1px at 25% 80%, #fff6, transparent), radial-gradient(1px 1px at 70% 30%, #fff7, transparent), radial-gradient(1.5px 1.5px at 88% 70%, #e6b967, transparent), radial-gradient(1px 1px at 50% 60%, #fff5, transparent); }
.cta-inner h2 { margin: 0 auto 22px; max-width: 14ch; }
.cta-inner > p:not(.eyebrow) { color: var(--soft); font-size: 17px; margin: 0 auto 34px; max-width: 46ch; }
.cta-inner a:not(.button) { color: var(--gold); border-bottom: 1px solid rgba(230, 185, 103, .4); }

/* Footer */
.footer { position: relative; border-top: 1px solid var(--line); padding-top: 70px; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(10, 21, 39, .6)); }
.footer-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-motto { font: 400 italic 30px/1.2 var(--serif); margin: 22px 0 10px; color: var(--soft); }
.footer-contact a { color: var(--gold); font-size: 15px; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: 14px 46px; align-content: start; }
.footer-links a { font-size: 14px; color: var(--soft); transition: color .25s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); font: 600 10.5px/1.5 var(--body); letter-spacing: .16em; color: var(--muted); }
.back-top { color: var(--soft); transition: color .25s; }
.back-top:hover { color: var(--gold); }
.footer-word { font: 800 clamp(80px, 21vw, 330px)/.78 var(--display); letter-spacing: -.06em; text-align: center; margin-bottom: -.06em; user-select: none; color: transparent; background: linear-gradient(180deg, rgba(230, 185, 103, .22), rgba(230, 185, 103, 0) 85%); -webkit-background-clip: text; background-clip: text; }

/* Reveal on scroll (added by script.js; content is visible without it) */
.reveal-once { animation: reveal 1s var(--ease) both; }
@keyframes reveal { from { opacity: 0; transform: translateY(36px); } }

/* Responsive */
@media (max-width: 1080px) {
  #navigation a { padding: 10px 10px; font-size: 13px; }
  .showcase, .showcase.is-reversed { grid-template-columns: 1fr; }
  .showcase.is-reversed .showcase-copy { order: 0; }
  .device-stack { height: clamp(460px, 80vw, 620px); }
  .shot { width: min(46%, 290px); }
  .bistrito-panel { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: block; }
  #navigation { position: absolute; top: calc(var(--header-h) + 8px); left: var(--gutter); right: var(--gutter); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(8, 18, 36, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 60px -20px #000; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  #navigation.is-open { opacity: 1; visibility: visible; transform: none; }
  #navigation a { padding: 14px 16px; font-size: 16px; border-radius: 12px; }
  .header-actions { margin-left: auto; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 26px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { justify-self: start; }
  .principles { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { justify-content: start; grid-template-columns: repeat(2, auto); }
}

@media (max-width: 640px) {
  .brand span { font-size: 15px; letter-spacing: .26em; }
  .hero { min-height: max(640px, 100svh); }
  .hero-content { padding-top: calc(var(--header-h) + 30vh); padding-bottom: 110px; }
  .hero-vignette { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 11, 22, .7) 45%, transparent 75%); }
  .hero-fallback { justify-content: center; align-items: flex-start; padding: calc(var(--header-h) + 30px) 0 0; }
  .hero-fallback img { width: 52vw; }
  .hero-actions .button { flex: 1 1 100%; }
  .hero-bottom { bottom: 22px; }
  .hero-bottom > span:first-child, .hero-motto { display: none; }
  .scroll-cue { margin-inline: auto; }
  .facts { margin-top: 60px; }
  .fact { padding-right: 12px; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
  .creations { padding-top: 100px; }
  .category-line { flex-direction: column; gap: 6px; }
  .showcase { padding: 24px 20px 28px; border-radius: var(--radius); }
  .app-top { margin-bottom: 22px; }
  .app-top img { width: 60px; height: 60px; border-radius: 15px; }
  /* Screenshots become a swipeable row. */
  .device-stack { height: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 10px 20px 20px; perspective: none; scrollbar-width: none; }
  .device-stack::-webkit-scrollbar { display: none; }
  .shot, .shot-back-left, .shot-back-right, .device-stack:hover .shot-back-left, .device-stack:hover .shot-back-right { position: static; flex: 0 0 62%; width: 62%; transform: none; filter: none; scroll-snap-align: center; border-radius: 20px; }
  .shot-front { order: -1; }
  .bistrito-section { padding-top: 80px; }
  .bistrito-panel { padding: 26px 20px; border-radius: var(--radius); }
  .live-status { margin: 0 0 0 0; }
  .bistrito-copy .eyebrow { display: flex; }
  /* The order walkthrough stacks vertically on phones. */
  .bistrito-art { height: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
  .bistrito-ring { display: none; }
  .order-step, .meal-step { position: relative; inset: auto; width: 100%; margin: 0; }
  .order-step.is-current { transform: none; }
  .art-caption { position: static; margin-top: 10px; }
  .vision-copy { padding-top: 0; }
  .domain-note { display: block; margin: 14px 0 0; }
  .vision { padding-top: 110px; }
  .principles { margin-top: 50px; }
  .cta-band { padding: 100px 0 90px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
}
