/* Elevora Studios — 3D site styles */
/* Arial resized to match Inter, so text doesn't jump when the web font arrives. */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107.12%; ascent-override: 90.44%; descent-override: 22.52%; line-gap-override: 0%; }
:root {
  --purple: #7C5CFF; --cyan: #22D3EE; --blue: #5B8CFF;
  --bg: #07080D; --panel: rgba(18, 20, 31, 0.55); --panel-solid: #12141F;
  --line: #23263A; --line-soft: rgba(255,255,255,0.08);
  --text: #EEF0F7; --muted: #9AA0B8;
  --grad: linear-gradient(120deg, #7C5CFF 0%, #5B8CFF 45%, #22D3EE 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Inter', 'Inter Fallback', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }

/* ---------- WebGL canvas and fallback ---------- */
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block; opacity: 0; transition: opacity .8s ease; }
.gl-on #gl { opacity: 1; }
.no-webgl #gl { display: none; }
/* Shown while the 3D starts, and instead of it where it can't run. */
body {
  background:
    radial-gradient(60vw 60vw at 80% 10%, rgba(124,92,255,.28), transparent 60%),
    radial-gradient(50vw 50vw at 10% 80%, rgba(34,211,238,.16), transparent 60%), var(--bg);
  background-attachment: fixed;
}
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(7,8,13,.7) 100%); }
main, footer { position: relative; z-index: 2; }
.veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 120% 90% at 40% 50%, rgba(7,8,13,.82), rgba(7,8,13,.68) 75%); }

/* ---------- Curtain (loader and page transitions) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; pointer-events: none;
  transition: transform .6s var(--ease-io);
}
.curtain::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); }
.curtain-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; transition: opacity .4s; }
.curtain-icon { width: 64px; height: 64px; animation: pulse 1.6s ease-in-out infinite; }
.curtain-count { font-family: var(--mono); font-size: 13px; letter-spacing: .3em; color: var(--muted); display: none; }
.is-first .curtain-count { display: block; }
@keyframes pulse { 50% { transform: scale(.88); filter: drop-shadow(0 0 24px rgba(124,92,255,.8)); } }
.is-ready .curtain { transform: translateY(-101%); }
.is-ready .curtain-inner { opacity: 0; }
.is-leaving .curtain { animation: curtainIn .38s var(--ease-io) forwards; }
.is-leaving .curtain-inner { opacity: 1; transition-delay: .1s; }
/* The main heading rises in without being hidden first. */
.hero h1[data-split] { animation: heroIn .8s var(--ease) both; }
@keyframes heroIn { from { transform: translateY(18px); } to { transform: none; } }
@keyframes curtainIn { from { transform: translateY(101%); } to { transform: translateY(0); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); transition: transform .35s var(--ease), background .3s;
}
.scrolled .site-header { background: rgba(7,8,13,.88); border-bottom: 1px solid var(--line-soft); }
.header-hidden .site-header { transform: translateY(-110%); }
.menu-open .site-header { background: #07080d; border-color: transparent; }
.logo img { height: 34px; width: auto; }
@media (min-width: 768px) { .logo img { height: 40px; } }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 18px 0 20px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(18,20,31,.88);
  color: var(--text); font: 600 14px/1 'Inter', 'Inter Fallback', sans-serif; letter-spacing: .02em; cursor: pointer;
  transition: border-color .2s;
}
.menu-btn:hover { border-color: var(--purple); }
.burger { width: 20px; height: 10px; position: relative; }
.burger::before, .burger::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger::before { top: 0; } .burger::after { top: 8px; }
.menu-open .burger::before { top: 4px; transform: rotate(45deg); }
.menu-open .burger::after { top: 4px; transform: rotate(-45deg); }
.menu-btn-label { position: relative; overflow: hidden; height: 14px; display: inline-block; }
.menu-btn-label span { display: block; transition: transform .5s var(--ease); }
.menu-open .menu-btn-label span { transform: translateY(-100%); }
.btn.header-cta { display: none; }
@media (min-width: 768px) { .btn.header-cta { display: inline-flex; } }

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column;
  padding: 128px var(--gutter) 40px; background: #07080d;
  clip-path: circle(0% at calc(100% - 70px) 40px); transition: clip-path .55s var(--ease-io);
  overflow-y: auto;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 70px) 40px); }
.menu::before { content: ''; position: fixed; width: 60vw; height: 60vw; right: -20vw; bottom: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.35), transparent 65%); filter: blur(30px); pointer-events: none; }
/* Auto margins centre the menu when there is room, and keep it below the logo when there isn't. */
.menu-grid { display: grid; gap: 40px; max-width: 1400px; width: 100%; margin: auto; position: relative; }
@media (min-width: 1000px) { .menu-grid { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.menu-links { list-style: none; margin: 0; padding: 0; }
.menu-links li { overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.menu-link {
  display: flex; align-items: baseline; gap: 18px; padding: 6px 0;
  font-size: clamp(2rem, min(7vw, 8.5vh), 5.6rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.05;
  transform: translateY(110%); transition: transform .6s var(--ease), color .2s;
}
.menu-open .menu-link { transform: none; }
.menu-links li:nth-child(1) .menu-link { transition-delay: .1s; }
.menu-links li:nth-child(2) .menu-link { transition-delay: .13s; }
.menu-links li:nth-child(3) .menu-link { transition-delay: .16s; }
.menu-links li:nth-child(4) .menu-link { transition-delay: .19s; }
.menu-links li:nth-child(5) .menu-link { transition-delay: .22s; }
.menu-links li:nth-child(6) .menu-link { transition-delay: .25s; }
.menu-link small { font: 500 13px var(--mono); color: var(--muted); letter-spacing: .1em; transform: translateY(-1.4em); }
.menu-link .menu-text { background: linear-gradient(90deg, var(--text) 50%, transparent 50%), var(--grad); background-size: 200% 100%, 100% 100%; background-position: 0 0; -webkit-background-clip: text; background-clip: text; color: transparent; transition: background-position .4s var(--ease); }
.menu-link:hover .menu-text, .menu-link.is-current .menu-text { background-position: -100% 0, 0 0; }
.menu-link .menu-arrow { margin-left: auto; font-size: .4em; opacity: 0; transform: translateX(-20px); transition: .3s var(--ease); color: var(--cyan); }
.menu-link:hover .menu-arrow { opacity: 1; transform: none; }
.menu-side { display: grid; gap: 28px; opacity: 0; transform: translateY(20px); transition: .45s var(--ease) .25s; }
.menu-open .menu-side { opacity: 1; transform: none; }
.menu-side h3 { margin: 0 0 8px; font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.menu-side a { font-size: 1.15rem; }
.menu-side a:hover { color: var(--cyan); }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; display: none; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { display: block; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--cyan); }
.cursor-ring::before {
  content: ''; position: absolute; width: 38px; height: 38px; left: -19px; top: -19px; border-radius: 50%;
  border: 1px solid rgba(238,240,247,.45); transition: width .4s var(--ease), height .4s var(--ease), left .4s var(--ease), top .4s var(--ease), background .3s, border-color .3s;
}
.cursor-hover .cursor-ring::before { width: 64px; height: 64px; left: -32px; top: -32px; border-color: var(--purple); background: rgba(124,92,255,.12); }
.cursor-label-on .cursor-ring::before { width: 92px; height: 92px; left: -46px; top: -46px; background: var(--grad); border-color: transparent; }
.cursor-down .cursor-ring::before { width: 26px; height: 26px; left: -13px; top: -13px; }
.cursor-label { position: absolute; transform: translate(-50%, -50%); font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.cursor-label-on .cursor-label { opacity: 1; }
@media (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* ---------- Progress bar ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; padding: clamp(40px, 5vw, 64px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { margin: 0; letter-spacing: -.04em; line-height: 1; }
.display { font-size: clamp(3rem, 9.5vw, 9.5rem); font-weight: 750; line-height: .92; letter-spacing: -.055em; }
.h2 { font-size: clamp(2.7rem, 8.4vw, 7.4rem); letter-spacing: -.045em; font-weight: 700; line-height: .98; }
.h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--muted); max-width: 40ch; line-height: 1.55; }
.muted { color: var(--muted); }
.section-head { display: grid; gap: 24px; margin-bottom: clamp(32px, 4.5vw, 60px); }


/* Split-word reveal */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
[data-split] .wi { display: inline-block; transform: translateY(105%); transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 30ms); }
.is-ready [data-split].in .wi { transform: none; }
.grad .wi, .grad.wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .05s; } .d2 { transition-delay: .1s; } .d3 { transition-delay: .15s; } .d4 { transition-delay: .2s; }
.no-js .reveal, .no-js [data-split] .wi { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px;
  border-radius: 999px; font: 600 15px/1 'Inter', 'Inter Fallback', sans-serif; letter-spacing: .01em; white-space: nowrap;
  border: 1px solid var(--line); background: rgba(18,20,31,.88); color: var(--text); cursor: pointer;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; overflow: hidden; isolation: isolate;
}
/* Text link with a gradient underline that grows on hover */
.inline-link { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; white-space: nowrap; }
.inline-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad); transform: scaleX(.35); transform-origin: left; transition: transform .3s var(--ease); }
.inline-link:hover::after, .inline-link:focus-visible::after { transform: scaleX(1); }
.btn::before { content: ''; position: absolute; inset: 0; background: var(--grad); z-index: -1; transform: translateY(101%); transition: transform .35s var(--ease); border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn:hover { border-color: transparent; box-shadow: 0 10px 40px -10px rgba(124,92,255,.7); }
.btn-primary { background: var(--grad); border-color: transparent; box-shadow: 0 10px 40px -12px rgba(124,92,255,.8); }
.btn-primary::before { background: #fff; }
.btn-primary:hover { color: var(--bg); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { height: 46px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 140px 0 100px; }
.hero .display { max-width: 11ch; }
.hero .lead { margin: 32px 0 40px; }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 32px; display: flex; justify-content: center; align-items: center; font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.scroll-hint { display: inline-flex; align-items: center; gap: 12px; }
.scroll-hint i { width: 1px; height: 40px; background: linear-gradient(var(--cyan), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }
.page-hero { min-height: 88svh; }
/* Fixed, so the same dark shade stays behind the whole page as it scrolls. */
.hero::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(7,8,13,.7) 0%, rgba(7,8,13,.35) 45%, transparent 70%); }
@media (max-width: 767px) { .hero::before { background: linear-gradient(180deg, rgba(7,8,13,.75) 0%, rgba(7,8,13,.4) 60%, transparent 100%); } }
.hero .lead { color: #b9bed2; }
@media (max-width: 767px) { .hero { align-items: flex-start; padding-top: 130px; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-soft); padding: 26px 0; background: rgba(7,8,13,.6); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(1.6rem, 4vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; padding-right: .6em; white-space: nowrap; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(238,240,247,.4); }
.marquee b { color: var(--cyan); font-weight: 400; padding-right: .6em; font-size: clamp(1.2rem, 3vw, 2.4rem); align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Glass cards ---------- */
.glass { background: rgba(18,20,31,.84); border: 1px solid var(--line-soft); border-radius: 28px; }
[data-tilt] { transition: transform .2s ease-out; transform-style: preserve-3d; will-change: transform; position: relative; }
[data-tilt]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.09), transparent 40%); opacity: 0; transition: opacity .25s; }
[data-tilt]:hover::after { opacity: 1; }
.border-glow { position: relative; }
.border-glow::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

.grid-2 { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; }
.grid-3 { display: grid; gap: 22px; }
.grid-4 { display: grid; gap: 22px; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Service / package cards */
.pkg { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; min-height: 100%; }
.pkg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tag { display: inline-flex; padding: 7px 14px; border-radius: 999px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.tag-hot { background: var(--grad); color: #fff; border-color: transparent; }
.price { font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 750; letter-spacing: -.06em; line-height: 1; }
.price small { font-size: .26em; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plus { font-size: 15px; color: var(--muted); }
.plus strong { color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm4.6 7.2l-5.4 6a1 1 0 01-1.5 0L5.4 10.8a1 1 0 111.5-1.4l1.6 1.8 4.6-5.2a1 1 0 111.5 1.2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm4.6 7.2l-5.4 6a1 1 0 01-1.5 0L5.4 10.8a1 1 0 111.5-1.4l1.6 1.8 4.6-5.2a1 1 0 111.5 1.2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.pkg .btn { margin-top: auto; align-self: flex-start; }

/* Stats */
/* Perks: numbered rows with a gradient line that sweeps in on hover */
.perks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.perk { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px 16px; align-items: baseline; padding: clamp(24px, 3.2vw, 38px) 0; border-bottom: 1px solid var(--line-soft); }
.perk::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.perk:hover::after { transform: scaleX(1); }
.perk-n { font: 500 12px var(--mono); letter-spacing: .14em; color: var(--muted); }
.perk-title { margin: 0; font-size: clamp(1.75rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; transition: transform .4s var(--ease); }
.perk:hover .perk-title { transform: translateX(10px); }
.perk p { grid-column: 2; margin: 0; color: #b9bed2; font-size: 16px; line-height: 1.6; max-width: 46ch; }
@media (min-width: 900px) {
  .perk { grid-template-columns: 72px minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; }
  .perk p { grid-column: 3; justify-self: end; text-align: left; }
}
.stat { padding: 34px 30px; }
.stat-num { font-size: clamp(2.8rem, 5vw, 4.4rem); font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.stat p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { display: grid; gap: 14px; padding: 36px 0; border-top: 1px solid var(--line-soft); }
.step:last-child { border-bottom: 1px solid var(--line-soft); }
@media (min-width: 900px) { .step { grid-template-columns: 120px 1fr 1.2fr; align-items: baseline; gap: 40px; } }
.step-n { font: 500 14px var(--mono); color: var(--cyan); letter-spacing: .1em; }
.step p { margin: 0; color: #b9bed2; }

/* Feature tiles */
.tile { padding: 30px; display: grid; gap: 14px; align-content: start; }
.tile-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(34,211,238,.18)); border: 1px solid rgba(124,92,255,.35); font-size: 22px; }
.tile h2, .tile h3 { font-size: 1.25rem; letter-spacing: -.02em; margin-block: 1em; }
h2.h3 { margin-block: 1em; }
.tile p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Work cards */
.work-grid { display: grid; gap: 26px; }
@media (min-width: 800px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-card { display: block; border-radius: 28px; overflow: hidden; }
.work-art { aspect-ratio: 4 / 3; position: relative; overflow: hidden; border-radius: 28px 28px 0 0; }
.work-art .orb { position: absolute; border-radius: 50%; filter: blur(2px); transition: transform .6s var(--ease); }
.work-card:hover .orb { transform: scale(1.15) translate(4%, -4%); }
.work-art .mock { position: absolute; inset: 14% 12% auto; height: 72%; border-radius: 14px; background: rgba(7,8,13,.86); border: 1px solid rgba(255,255,255,.12); padding: 16px; display: grid; gap: 10px; align-content: start; transition: transform .5s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.work-card:hover .mock { transform: translateY(-8px) rotateX(4deg); }
.mock i { display: block; height: 8px; border-radius: 4px; background: rgba(255,255,255,.14); }
.mock i:first-child { width: 40%; height: 10px; background: rgba(255,255,255,.4); }
.mock i.big { height: 26px; width: 80%; border-radius: 6px; background: rgba(255,255,255,.85); }
.mock i.btnish { width: 30%; height: 18px; border-radius: 9px; }
.work-info { padding: 26px 28px 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work-info h3 { font-size: 1.5rem; letter-spacing: -.03em; }
.work-info p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; padding: 0 26px; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; line-height: 1; color: var(--cyan); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); }

/* Table */
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 18px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.compare th { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--cyan); font-weight: 700; }
.compare .no { color: #555a70; }
.table-wrap { overflow-x: auto; border-radius: 28px; padding: 10px 20px; }

/* Forms */
.form { display: grid; gap: 18px; padding: clamp(26px, 4vw, 48px); }
.field { display: grid; gap: 8px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7,8,13,.5); cursor: pointer; transition: border-color .2s; }
.check:hover, .check:has(input:checked) { border-color: var(--purple); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check-box::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .2s var(--ease); }
.check input:checked + .check-box { background: var(--grad); border-color: transparent; }
.check input:checked + .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--cyan); outline-offset: 3px; }
.check-text { display: grid; gap: 4px; font-size: 15px; }
.check-text small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.field label { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(7,8,13,.6);
  color: var(--text); font: 16px 'Inter', 'Inter Fallback', sans-serif; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124,92,255,.2); }
.form-row { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: 14px; color: var(--muted); margin: 0; min-height: 1.4em; }

/* Big CTA */
.cta-big { text-align: center; padding: clamp(60px, 10vw, 140px) var(--gutter); border-radius: 40px; overflow: hidden; position: relative; }
.cta-big::before { content: ''; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(124,92,255,.35), transparent 30%, rgba(34,211,238,.25), transparent 60%); animation: spin 14s linear infinite; z-index: -1; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-big .h2 { margin: 0 auto 36px; font-size: clamp(1.5rem, 7.6vw, 6.4rem); }
.cta-big .h2 .line { display: block; white-space: nowrap; }
.cta-big .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
footer { padding: 100px 0 40px; border-top: 1px solid var(--line-soft); background: linear-gradient(transparent, rgba(7,8,13,.9) 40%); }
.footer-big { display: block; font-size: clamp(3rem, 12vw, 12rem); font-weight: 750; letter-spacing: -.06em; line-height: .9; margin-bottom: 70px; }
.footer-big span { display: inline-block; transition: transform .45s var(--ease); }
.footer-big:hover span { transform: translateX(2vw); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 50px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-tag { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); letter-spacing: .01em; }
.footer-grid .footer-h { margin: 0 0 16px; font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover, .footer-nav a.is-current { color: var(--cyan); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 30px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}

/* Legal pages */
.legal { padding: clamp(28px, 5vw, 64px); max-width: 860px; }
.legal h2:first-of-type { margin-top: 0 !important; }
.legal p, .legal li { color: #c3c7d8; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

/* Small phones: keep cards, tags and the table inside the screen */
@media (max-width: 480px) {
  .pkg .btn { align-self: stretch; justify-content: center; white-space: normal; text-align: center; height: auto; min-height: 56px; padding: 14px 22px; }
  .pkg-top { flex-wrap: wrap; gap: 12px; }
  .work-info { flex-direction: column; align-items: flex-start; }
  .table-wrap { padding: 6px 8px; border-radius: 20px; }
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 14px 8px; }
  .compare th { font-size: 10.5px; letter-spacing: .06em; }
  .btn { white-space: normal; }
}
@media (max-width: 360px) {
  .price { font-size: 3rem; }
  .compare th, .compare td { padding: 12px 5px; }
}

/* Even out line lengths so no word is left alone on the last line */
h1, h2, h3, .perk-title, .menu-link { text-wrap: balance; }
p, li, summary, .tag { text-wrap: pretty; }
@media (max-width: 380px) { .ticks li, .step p { font-size: 15px; } }
@media (max-width: 380px) { .perk { grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; } .perk p { font-size: 15px; } }
/* Card text scales with its card, so each line breaks in the same place on every screen. */
.tile { container-type: inline-size; }
.tile p { text-wrap: wrap; font-size: clamp(14px, 4.7cqi, 23px); }
@media (max-width: 380px) { .tile { padding: 20px; } }
@media (min-width: 1200px) { .grid-4 .tile p { font-size: clamp(12.5px, 6.2cqi, 19px); } }
@media (min-width: 760px) { .grid-tiles, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* On narrow tablets, cap card width so the text keeps the same line breaks. */
@media (min-width: 600px) and (max-width: 759px) { .grid-3, .grid-4 { grid-template-columns: minmax(0, 440px); justify-content: center; } }
@media (min-width: 760px) and (max-width: 799px) { .grid-3:not(.grid-tiles) { grid-template-columns: minmax(0, 440px); justify-content: center; } }
/* A single feature card, laid out wide. */
.tile-wide { padding: clamp(28px, 4vw, 52px); gap: 28px; }
.tile-wide p { font-size: 17px; text-wrap: pretty; max-width: 44ch; }
@media (min-width: 900px) { .tile-wide { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 56px; } }
/* Full-width package card: details on the left, note and button on the right. */
.pkg-wide-main, .pkg-wide-side { display: flex; flex-direction: column; gap: 22px; }
.pkg-wide-side { container-type: inline-size; }
.pkg-wide-quote { margin: 0; font-weight: 600; color: var(--text); letter-spacing: -.015em; line-height: 1.35; font-size: clamp(15px, 4.6cqi, 24px); text-wrap: balance; }
@media (min-width: 768px) {
  .pkg-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: stretch; }
  .pkg-wide-side { justify-content: space-between; }
  .pkg-wide-quote { margin-top: 40px; }
  .pkg-wide .btn { margin-top: 0; }
}
/* Add-on cards: keep the title and tag on one line, and sit the description closer to the price. */
.pkg .pkg-top .h3, .pkg .pkg-top .tag { white-space: nowrap; }
.pkg .addon-desc { margin: -8px 0 0; }
/* No trailing space when a heading block ends its section. */
.section-head:last-child { margin-bottom: 0; }
.section-head :last-child > p:last-child, .section-head > p:last-child { margin-bottom: 0; }
/* Slim, full-width support strip under the packages. */
.support-strip { margin-top: 22px; padding: 22px clamp(22px, 3vw, 36px); display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.support-strip-text { flex: 1 1 420px; min-width: 0; }
.support-strip h3 { margin: 0 0 6px; font-size: 1.2rem; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.support-strip-price { font-size: 15px; font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.support-strip p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 480px) { .support-strip .btn { width: 100%; justify-content: center; } }
@media (max-width: 340px) { .pkg-wide-quote { font-size: 14px; } }
/* Plain-English summary under each legal heading. */
.legal-summary { padding: 14px 18px; border-left: 2px solid var(--cyan); background: rgba(34,211,238,.06); border-radius: 0 12px 12px 0; color: var(--text); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { color: var(--text); transition: color .2s; }
.footer-legal a:hover { color: var(--cyan); }
/* Work page: real screenshots of the demo sites. */
.work-shot { background: #0b0c14; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .8s var(--ease); }
.work-card:hover .work-shot img { transform: scale(1.04); }
.work-live { position: absolute; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(7,8,13,.82); border: 1px solid rgba(255,255,255,.16); font-size: 13px; font-weight: 600; color: var(--text); }
.work-kind { color: var(--text); font-weight: 600; }
@media (hover: hover) { .work-live { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); } .work-card:hover .work-live, .work-card:focus-visible .work-live { opacity: 1; transform: none; } }
/* Even demo grid: equal cards, info pinned to the same height. */
.work-card { display: flex; flex-direction: column; }
.work-card .work-info { flex: 1; align-items: flex-start; }
/* 31 Oct audit fixes */
.tag { white-space: nowrap; }
.site-header { padding-left: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); }
@media (max-width: 767px) {
  .page-hero { min-height: auto; padding-bottom: 40px; }           /* inner pages: get to the content sooner on phones */
  .page-hero .hero-meta { display: none; }
}
@media (max-width: 480px) {
  .hero::before { background: linear-gradient(180deg, rgba(7,8,13,.84) 0%, rgba(7,8,13,.62) 70%, rgba(7,8,13,.4) 100%); }   /* text stays crisp over the 3D */
}
@media (max-width: 400px) { .hero .eyebrow { letter-spacing: .08em; font-size: 11px; } }

/* Netlify Forms: hidden spam trap and the sent message */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: grid; gap: 10px; padding: 12px 0; }
.form-done h2 { margin: 0; }
.form-done p { margin: 0; }
.form [type="submit"]:disabled { opacity: .6; cursor: wait; }
