/* Velarivo design system — onyx, silver and generous, consistent space. */
@font-face {
  font-family: Manrope;
  src: url('fonts/Manrope.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #090a0c;
  --panel: #131518;
  --ink: #f2f3f5;
  --gray: #adb2bb;
  --line: #ffffff20;
  --font: Manrope, Arial, sans-serif;
  --gutter: clamp(22px, 5vw, 88px);
  --ease: cubic-bezier(.22, .7, .25, 1);
  color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); }
body, button, input, select, textarea, h1, h2, h3, h4 { font-family: var(--font); }
p { color: var(--gray); line-height: 1.7; }
h1, h2, h3 { text-wrap: balance; }
h2 { font-weight: 500; letter-spacing: -.05em; line-height: 1.12; }
::selection { background: #dce0e7; color: #090a0c; }
[hidden] { display: none !important; }
.eyebrow, .plan-label { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .12em; color: #b8bec8; }
.section { padding: clamp(72px, 8vw, 128px) var(--gutter); }
body > header, .inner-site > header {
  height: 84px;
  position: fixed;
  padding-inline: var(--gutter);
  background: #090a0cf2;
  border-bottom: 1px solid #ffffff16;
  transition: background .3s, box-shadow .3s;
}
body.has-scrolled > header { background: #0d0f12fa; box-shadow: 0 8px 30px #0002; }
.brand { display: inline-flex; align-items: center; min-height: 44px; width: auto !important; }
.brand .velarivo-name { margin: 0; font: 650 27px/1 var(--font); letter-spacing: -.065em; color: var(--ink); }
header nav { gap: 30px; }
header nav a { font-size: 14px; font-weight: 500; position: relative; }
header nav a[aria-current='page'] { border: 0; color: #fff; }
header nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: #e5e8ee; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
header nav a:hover::after, header nav a[aria-current='page']::after { transform: scaleX(1); }
.nav-cta { border-color: #ffffff40; padding: 12px 20px; font-weight: 600; }
.nav-cta, .button, .plan-button, .round { transition: background .25s, color .25s, border-color .25s, transform .25s; }
.button { background: #e4e7ec; color: #111316; font-size: 14px; font-weight: 600; min-height: 52px; padding: 17px 24px; }
.button svg, .nav-cta svg, .text-link svg { transition: transform .3s var(--ease); }
.button:hover svg, .nav-cta:hover svg, .text-link:hover svg { transform: translate(3px,-3px); }
.nav-cta:hover, .plan-button:hover { background: #e5e8ee; color: #101216; }
.hero {
  display: flex !important;
  flex-direction: column;
  height: auto;
  min-height: min(900px, 100svh) !important;
  max-height: none;
  padding: 125px var(--gutter) 24px !important;
  gap: 32px;
  background: radial-gradient(ellipse at 80% 46%, #23293666, transparent 52%), var(--bg) !important;
  isolation: isolate;
}
.hero-top { position: static; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.hero-stage { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); align-items: center; gap: 3vw; flex: 1; }
.hero .hero-copy { display: block !important; width: 100%; min-width: 0; padding: 0; margin: 0; }
.hero h1 { font-size: clamp(54px,7.3vw,114px) !important; line-height: 1.06 !important; font-weight: 500; letter-spacing: -.055em !important; margin: 0; padding: 0; max-width: none; }
.hero h1 span { display: block; }
.hero h1 .soft { color: #a1a9b6; background: none; -webkit-text-fill-color: initial; }
.hero .hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; margin: 28px 0 0 !important; }
.hero .hero-bottom p { font-size: 17px; line-height: 1.7; max-width: 390px; }
.hero .round-link { max-width: none; min-height: 48px; font-size: 14px; gap: 16px; }
.hero .round { width: 48px; height: 48px; background: #ffffff08; border: 1px solid #ffffff40; }
.hero-object { position: relative; width: 100%; aspect-ratio: 1; max-height: 570px; min-width: 0; contain: layout paint; }
.hero-object canvas, .hero-object .object-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-object canvas { opacity: 0; transition: opacity .4s; }
.hero-object.object-ready canvas { opacity: 1; }
.hero-object.object-ready .object-poster { visibility: hidden; }
.hero-foot { position: static; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin: 0; padding-top: 20px; width: 100%; border-top: 1px solid var(--line); font: 12px/1.5 var(--font); letter-spacing: .08em; color: #aeb4be; }
.hero-foot button { min-height: 44px; background: #ffffff06; border-color: #ffffff28; font: 12px var(--font); }
.intro {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  column-gap: 8%;
  row-gap: 26px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.intro > .eyebrow { grid-column: 1 / -1; }
.intro .statement { font-size: clamp(34px,4.2vw,64px); }
.intro .intro-bottom { margin: 0; }
.intro .intro-bottom p { max-width: 470px; }
.statement { max-width: 1200px; font-size: clamp(34px,4.9vw,76px); line-height: 1.18; letter-spacing: -.05em; }
.statement span { color: #9ba3af; }
.intro-bottom { margin-top: 38px; }
.section-heading { align-items: flex-end; margin-bottom: 44px; gap: 28px; }
.section-heading h2 { margin-top: 20px; }
.section-heading p { max-width: 380px; }
.studio { background: #101216; border-block: 1px solid var(--line); }
.studio h2 { font-size: clamp(46px,6vw,86px); line-height: 1.08; }
.studio h2 em { color: #a2aab6; }
.process article { padding-block: 28px; }
.process h3 { font-size: 23px; }
.services details { transition: background .3s; }
.services details[open] { background: #ffffff03; }
.services summary { padding-block: 30px; }
.services summary h3 { font-size: clamp(24px,3vw,42px); letter-spacing: -.04em; }
.tags span { border-color: #ffffff25; background: #ffffff04; }
.inner-site main { width: 100%; max-width: 1580px; padding: 160px var(--gutter) 88px !important; margin-inline: auto; }
.inner-site .page-intro { max-width: none; position: relative; padding: 0 0 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.inner-site .page-intro::after { content: none; }
.inner-site .page-intro .eyebrow { margin-bottom: 26px; }
.inner-site .page-intro h1 { max-width: 1150px; font: 500 clamp(48px,6.4vw,96px)/1.1 var(--font) !important; letter-spacing: -.055em !important; margin-bottom: 28px !important; }
.inner-site .page-intro p { max-width: 650px; font-size: 17px; line-height: 1.75; }
.offer-grid { gap: 20px; }
.offer-card, .price-card, .pricing-card, .service-card { position: relative; background: #111316; border: 1px solid #ffffff20; border-radius: 12px; transition: border-color .35s, background .35s; overflow: hidden; }
.offer-card { padding: 36px; }
.offer-card h2 { font-size: 32px; letter-spacing: -.04em; margin-top: 46px; }
.offer-card p { font-size: 16px; }
.offer-card::before, .price-card::before { content: none; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg,transparent,#f0f4fa66,transparent); }
.offer-card:hover, .price-card:hover { border-color: #cbd3df66; }
.offer-tags { color: #b0b7c2; }
.price-card { padding: 30px 24px; }
.price-card .price { font-size: clamp(36px,3.4vw,52px); letter-spacing: -.055em; }
.price-card.featured { background: #1b1e24; border-color: #a4afc4; }
.price-card ul { font-size: 14px; line-height: 1.6; }
.plan-button { border-color: #ffffff40; font-size: 13px; }
.page-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 80px; padding: clamp(28px,4.5vw,64px); border: 1px solid #ffffff24; border-radius: 20px; background: #111316; }
.page-cta h2 { font-size: clamp(34px,4.2vw,62px); line-height: 1.13; max-width: 800px; }
.about-story { gap: 8%; padding-bottom: 70px; }
.company-strip { font-size: 14px; }
.contact-layout { gap: 6%; }
.contact-info h2 { font-size: 36px; line-height: 1.2; margin-block: 24px 36px; }
.contact-info > a { display: flex; align-items: center; gap: 10px; max-width: 100%; width: fit-content; min-height: 44px; font-size: 17px; overflow-wrap: anywhere; }
.contact-form-panel { padding: 32px; border-color: #ffffff24; background: #12151a; border-radius: 20px; }
.inner-site #contact-form { background: transparent; border: 0; border-radius: 0; min-width: 0; }
.inner-site #contact-form input, .inner-site #contact-form textarea, .inner-site #contact-form select { font: 16px/1.5 var(--font); max-width: 100%; background: #0d0f12 !important; border: 1px solid #424953 !important; border-radius: 10px; }
.inner-site #contact-form input:focus, .inner-site #contact-form textarea:focus, .inner-site #contact-form select:focus { outline: 2px solid #bac7dd; outline-offset: 3px; }
.inner-site a[href^='mailto:'] { overflow-wrap: anywhere; }
.policy-body { max-width: 820px; }
.policy-body h2 { font-size: 28px; }
.policy-body p, .policy-body li { font-size: 16px; line-height: 1.8; }
.work-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.work-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.work-filters button { min-height: 44px; padding: 10px 17px; border: 1px solid #ffffff2c; border-radius: 99px; color: #c1c7d0; background: transparent; font-size: 13px; }
.work-filters button span { margin-left: 7px; font-size: 11px; }
.work-filters button[aria-pressed='true'] { background: #e3e7ee; color: #15171b; border-color: #e3e7ee; }
.work-count { white-space: nowrap; font-size: 12px; color: #b0b8c4; }
.project-grid, .inner-site .project-grid.full-portfolio { gap: 38px 24px !important; }
.project-visual.asset-visual { background: #16191e; border-color: #ffffff26; border-radius: 16px; padding: 10px 10px 58px !important; transition: border-color .3s, box-shadow .3s; }
.project-visual.asset-visual::before { font: 600 11px/1.2 var(--font); letter-spacing: .09em; }
.project-visual.asset-visual .project-screen { aspect-ratio: 1100/713; border-radius: 8px !important; }
.project .project-meta { padding-top: 18px !important; gap: 7px; }
.project .project-meta h3, .inner-site .full-portfolio .project-meta h3 { font: 500 clamp(22px,2vw,29px)/1.3 var(--font); letter-spacing: -.035em; }
.project .project-meta > span { font: 500 11px/1.7 var(--font); letter-spacing: .09em; color: #aeb6c3; }
.project .project-open { width: 44px !important; height: 44px !important; bottom: 7px !important; border-color: #ffffff3d !important; background: #ffffff05 !important; }
.project:hover .project-visual { border-color: #b8c3d580; box-shadow: 0 16px 50px #0003; }
.project:hover .project-open { color: #101318; background: #e3e8f0 !important; }
.project .project-open svg { transition: transform .3s; }
.project:hover .project-open svg { transform: rotate(45deg); }
.contact-title { font-size: clamp(58px,9vw,140px); font-weight: 500; letter-spacing: -.065em; line-height: 1.07; }
.contact-title > span:not(.contact-arrow) { color: #a3adbd; }
/* A single full-width footer, shared by every studio page. */
footer.site-footer { display: block; margin: 0; padding: 56px var(--gutter) 20px; background: var(--bg); border-top: 1px solid var(--line); }
.site-footer .footer-top { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 40px; align-items: start; padding-bottom: 38px; }
.site-footer .brand .velarivo-name { font-size: 38px; }
.site-footer .footer-studio p { margin-top: 16px; font-size: 14px; line-height: 1.8; }
.site-footer .footer-navigation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 32px; }
.site-footer .footer-navigation a, .site-footer .footer-top-link { font-size: 14px; color: #d2d7e0; line-height: 1.5; }
.site-footer .footer-top-link { white-space: nowrap; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-footer .footer-bottom small { font: 12px/1.6 var(--font); color: #9da7b5; }
.site-footer .legal-links { display: flex; width: auto; margin: 0; padding: 0; border: 0; gap: 6px 22px; flex-wrap: wrap; }
.site-footer .legal-links a { font: 12px/1.6 var(--font); color: #aeb7c4; }
.site-footer a:hover { color: #fff; }
/* Transform only content cards; never a sticky laptop ancestor. */
@media (prefers-reduced-motion:no-preference) {
  .velarivo-motion { animation: velarivo-arrive .7s var(--ease) both; }
  @keyframes velarivo-arrive { from { opacity: .3; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
  .hero-copy { animation: velarivo-arrive .9s var(--ease) both; }
  #mobile-nav:not([hidden]) { animation: menu-arrive .24s var(--ease) both; }
  @keyframes menu-arrive { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
}
@media (min-width:1800px) {
  :root { --gutter: max(88px,calc((100vw - 1440px) / 2)); }
  .inner-site main { max-width: none; }
}
@media (max-width:1100px) {
  .price-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-top-link { grid-column: 2; }
}
@media (max-width:960px) {
  body > header, .inner-site > header { height: 76px; }
  #mobile-nav:not([hidden]) { position: fixed; top: 75px; padding: 20px var(--gutter) 28px; background: #101318; max-height: calc(100svh - 76px); }
  #mobile-nav a { font: 500 25px/1.5 var(--font); letter-spacing: -.035em; border-bottom: 1px solid #ffffff12; }
  .hero { padding-top: 112px !important; min-height: 0 !important; }
  .hero h1 { font-size: clamp(48px,7.2vw,72px) !important; }
  .hero-top .location { display: none; }
  .inner-site main { padding-top: 126px !important; }
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .contact-form-panel { max-width: none; }
  .page-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width:700px) {
  .hero { padding: 110px var(--gutter) 22px !important; gap: 25px; }
  .hero-stage { grid-template-columns: minmax(0,1fr); gap: 0; }
  .hero h1 { font-size: clamp(48px,12.8vw,76px) !important; }
  .hero .hero-bottom { margin-top: 22px !important; gap: 18px; }
  .hero .hero-bottom p { max-width: 38ch; font-size: 16px; }
  .hero-object { width: min(100%,350px); margin: 6px auto 0; aspect-ratio: 1.25; }
  .hero-foot { font-size: 12px; gap: 8px; padding-top: 14px; }
  .hero-foot .scroll-hint { display: none; }
  .section { padding-block: 72px; }
  .intro { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .section-heading { align-items: flex-start; margin-bottom: 30px; }
  .inner-site main { padding: 126px var(--gutter) 60px !important; }
  .inner-site .page-intro { padding-bottom: 30px; margin-bottom: 30px; }
  .inner-site .page-intro h1 { font-size: clamp(37px,9.4vw,62px) !important; letter-spacing: -.05em !important; }
  .inner-site .page-intro p { font-size: 16px; }
  .page-intro .eyebrow { font-size: 11px !important; }
  .price-grid, .offer-grid, .values-grid, .about-story, .industry-row { grid-template-columns: minmax(0,1fr); }
  .offer-card, .price-card, .full-pricing .price-card { padding: 28px 24px; }
  .page-cta { margin-top: 55px; padding: 30px 24px; border-radius: 16px; }
  .page-cta h2 { font-size: clamp(32px,8vw,45px); }
  .page-cta .button { width: 100%; justify-content: space-between; }
  .work-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .work-filters { gap: 6px; }
  .work-filters button { font-size: 12px; padding: 9px 13px; }
  .work-count { display: none; }
  .project-grid, .inner-site .project-grid.full-portfolio { gap: 30px !important; }
  .project-visual.asset-visual { padding: 6px 6px 58px !important; border-radius: 13px; }
  .project .project-meta h3 { font-size: 22px !important; }
  .contact-form-panel { padding: 25px 20px; }
  .contact-info h2 { font-size: 31px; }
  .site-footer .footer-top { grid-template-columns: minmax(0,1fr); gap: 25px; }
  .site-footer .footer-top-link { grid-column: auto; }
  footer.site-footer { padding-top: 38px; }
  .site-footer .footer-navigation { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-footer .legal-links { gap: 0 20px; }
}
@media (max-width:360px) { :root { --gutter: 16px; } .hero h1 { font-size: 46px !important; } }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal, .inner-site.js .reveal { opacity: 1; transform: none; }
}
body.paused .velarivo-motion { animation: none; }

[data-preview-contact] #submit-btn:disabled { cursor: not-allowed; }
[data-preview-contact] #form-status a { text-decoration: underline; text-underline-offset: 3px; }
