:root {
  --ink: #080f13;
  --ink-2: #0d171c;
  --ink-3: #15252d;
  --paper: #f3f0e8;
  --paper-2: #e8e3d8;
  --white: #fffdf8;
  --teal: #d9ae52;
  --teal-deep: #9f7625;
  --gold: #f0cf7b;
  --muted: #9db0b5;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--teal); color: var(--ink); }

.container { width: var(--container); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  transform: translateY(-150%); background: var(--white); padding: 10px 14px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--white); transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 15, 19, .9); border-color: var(--line); backdrop-filter: blur(18px);
}
.header-inner { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand-logo { width: 84px; height: 84px; object-fit: contain; object-position: center; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > a:not(.button) { color: rgba(255,255,255,.74); text-decoration: none; font-size: 14px; font-weight: 600; }
.site-nav > a:not(.button):hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--white); }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: 0 22px; border: 1px solid var(--teal); background: var(--teal); color: var(--ink);
  font-weight: 800; font-size: 14px; text-decoration: none; letter-spacing: .01em;
  box-shadow: 0 10px 28px rgba(217,174,82,.18); transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #e6bd63; }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 12px; }
.button-outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.3); box-shadow: none; }
.button-outline:hover { background: rgba(255,255,255,.08); }
.text-link { color: var(--white); font-weight: 700; text-decoration: none; }
.text-link span { color: var(--teal); margin-left: 6px; }

.hero {
  position: relative; overflow: hidden; min-height: 850px; padding: 180px 0 100px;
  color: var(--white); background:
    linear-gradient(120deg, rgba(8,21,28,.98) 0%, rgba(8,21,28,.94) 48%, rgba(13,32,40,.96) 100%),
    radial-gradient(circle at 76% 30%, rgba(217,174,82,.12), transparent 35%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; height: 520px; left: -125px; bottom: -130px;
  background: url("assets/vitalis-logo.webp") center / contain no-repeat; opacity: .035; pointer-events: none;
  filter: saturate(.85);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .24; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 70px 70px; mask-image: linear-gradient(to right, transparent, black 55%, transparent);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(6px); pointer-events: none; }
.hero-glow-one { width: 360px; height: 360px; right: -180px; top: 100px; background: rgba(217,174,82,.1); }
.hero-glow-two { width: 280px; height: 280px; left: -160px; bottom: 20px; background: rgba(217,175,99,.08); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 78px; }
.eyebrow { margin: 0 0 18px; color: var(--teal-deep); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .19em; }
.hero .eyebrow, .eyebrow.light { color: var(--teal); }
.eyebrow span { display: inline-block; width: 34px; height: 1px; margin: 0 10px 4px 0; background: currentColor; }
.hero h1 {
  margin: 0; max-width: 660px; font-family: Georgia, "Times New Roman", serif;
  font-weight: 400; font-size: clamp(58px, 7vw, 98px); line-height: .94; letter-spacing: -.055em;
}
.hero h1 em { color: var(--teal); font-style: italic; }
.hero-lede { max-width: 650px; margin: 30px 0; color: #bdcacc; font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-meta { display: flex; gap: 36px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta div { display: grid; gap: 2px; }
.hero-meta strong { font-family: Georgia, serif; color: var(--white); font-size: 20px; }
.hero-meta span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.hero-visual { position: relative; }
.visual-frame { position: relative; padding: 12px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13); box-shadow: var(--shadow); transform: rotate(1.3deg); }
.visual-topbar { height: 38px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.visual-brand { display: inline-flex; align-items: center; gap: 7px; }
.visual-brand img { width: 18px; height: 18px; object-fit: cover; border: 1px solid rgba(217,174,82,.28); }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.28); }
.game-art-link { position: relative; display: block; min-height: 255px; overflow: hidden; background: #10252c; }
.game-art { width: 100%; height: 100%; min-height: 255px; object-fit: cover; position: relative; z-index: 2; transition: transform .4s ease; }
.game-art-link:hover .game-art { transform: scale(1.025); }
.art-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; font-family: Georgia, serif; font-size: 38px; color: var(--gold); text-align: center; background: radial-gradient(circle at 60% 40%, #183d45, #0a1b22 65%); }
.visual-caption { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 22px 12px 10px; }
.visual-caption h2 { margin: 10px 0 0; font-family: Georgia, serif; font-size: 24px; }
.status-pill { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.status-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 12px var(--teal); }
.release-chip { padding: 8px 10px; color: var(--gold); border: 1px solid rgba(217,175,99,.35); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.floating-card { position: absolute; z-index: 3; min-width: 132px; padding: 14px 18px; background: rgba(243,240,232,.95); color: var(--ink); box-shadow: 0 18px 45px rgba(0,0,0,.25); }
.floating-card span { display: block; color: var(--teal-deep); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.floating-card strong { font-family: Georgia, serif; font-size: 20px; }
.floating-card-one { left: -35px; top: 70px; transform: rotate(-3deg); }
.floating-card-two { right: -24px; bottom: 35px; transform: rotate(3deg); }

.principles { color: var(--white); background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles-inner { min-height: 92px; display: flex; align-items: center; justify-content: center; gap: 34px; font-family: Georgia, serif; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.principles-inner i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.section { padding: 118px 0; }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-heading h2, .games-heading h2, .journey h2, .contact h2 {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  font-size: clamp(42px, 5vw, 66px); line-height: 1.05; letter-spacing: -.04em;
}
.section-copy { padding-top: 30px; }
.section-copy p { margin: 0 0 21px; font-size: 18px; color: #34484c; }
.signature-line { color: var(--teal-deep) !important; font-weight: 800; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 82px; }
.value-card { min-height: 290px; padding: 34px; border: 1px solid rgba(8,21,28,.12); background: rgba(255,255,255,.36); }
.value-number { color: var(--teal-deep); font-weight: 800; font-size: 11px; letter-spacing: .12em; }
.value-card h3 { margin: 68px 0 12px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.value-card p { margin: 0; color: #526468; }

.games { background: var(--paper-2); }
.games-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 54px; }
.games-heading > p { max-width: 410px; margin: 0 0 8px; color: #526468; }
.featured-game { display: grid; grid-template-columns: 1.06fr .94fr; min-height: 580px; background: var(--ink); color: var(--white); box-shadow: 0 25px 70px rgba(8,21,28,.17); }
.featured-art { position: relative; min-height: 480px; overflow: hidden; background: #10252c; }
.featured-art img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; }
.featured-art::after { content: ""; position: absolute; z-index: 3; inset: 0; background: linear-gradient(to right, transparent 66%, rgba(8,21,28,.35)); pointer-events: none; }
.featured-tag { position: absolute; z-index: 4; top: 26px; left: 26px; padding: 9px 12px; color: var(--ink); background: var(--teal); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.featured-content { padding: 58px 54px; display: flex; flex-direction: column; justify-content: center; }
.game-kicker { color: var(--teal); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; }
.featured-content h3 { margin: 10px 0 4px; font-family: Georgia, serif; font-weight: 400; font-size: 44px; line-height: 1.05; }
.game-quote { margin: 12px 0 24px; color: var(--gold); font-family: Georgia, serif; font-style: italic; font-size: 19px; }
.featured-content > p:not(.game-kicker):not(.game-quote) { color: #b7c5c8; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; margin: 22px 0 32px; padding: 0; list-style: none; color: #dce4e4; font-size: 13px; }
.feature-list li::before { content: "•"; color: var(--teal); margin-right: 9px; }
.game-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.game-actions span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.future-card { margin-top: 22px; padding: 34px 40px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; border: 1px solid rgba(8,21,28,.14); }
.future-card h3 { margin: 8px 0 0; font-family: Georgia, serif; font-weight: 400; font-size: 27px; }
.future-card p { margin: 0; color: #526468; }
.future-label { color: var(--teal-deep); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }

.journey { color: var(--white); background: var(--ink-3); }
.journey-grid { display: grid; grid-template-columns: 1.07fr .93fr; gap: 90px; align-items: center; }
.journey-copy > p:not(.eyebrow) { max-width: 660px; margin: 28px 0; color: #bdcacc; font-size: 18px; }
.journey-quote { min-height: 370px; display: flex; flex-direction: column; justify-content: center; padding: 48px; border: 1px solid rgba(255,255,255,.16); background: linear-gradient(145deg, rgba(217,174,82,.11), rgba(255,255,255,.025)); }
.journey-quote blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 50px); line-height: 1.15; letter-spacing: -.03em; }
.journey-quote p { margin: 26px 0 0; color: var(--teal); font-weight: 800; }

.contact { background: var(--paper); }
.contact-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; padding: 64px; color: var(--white); background: var(--ink); }
.contact h2 { max-width: 680px; font-size: clamp(38px, 4.6vw, 60px); }
.contact-actions { display: grid; gap: 28px; }
.contact-email { padding-bottom: 16px; color: var(--teal); border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.contact-email span { float: right; }
.social-links { display: flex; gap: 24px; flex-wrap: wrap; }
.social-links a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.social-links a:hover { color: var(--white); }

.site-footer { color: var(--muted); background: var(--ink); border-top: 1px solid var(--line); }
.footer-inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p, .footer-inner > a { font-size: 11px; text-decoration: none; }
.footer-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.footer-logo { width: 118px; height: 88px; object-fit: cover; object-position: center; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-short { transition-delay: .08s; }
.reveal-delay { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero-grid, .two-column, .featured-game, .journey-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 65px; }
  .hero-visual { max-width: 690px; }
  .two-column { gap: 28px; }
  .section-copy { padding-top: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card h3 { margin-top: 34px; }
  .games-heading { align-items: start; }
  .featured-art { min-height: 380px; }
  .featured-art::after { background: linear-gradient(to bottom, transparent 70%, rgba(8,21,28,.4)); }
  .future-card { grid-template-columns: 1fr; gap: 14px; }
  .contact-card { align-items: start; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 28px, 1160px); }
  .site-header { background: rgba(8,21,28,.94); border-bottom-color: var(--line); }
  .header-inner { min-height: 76px; }
  .brand-logo { width: 64px; height: 64px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 14px; right: 14px; display: none; align-items: stretch;
    flex-direction: column; gap: 0; padding: 14px; background: var(--ink-2); border: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav > a:not(.button) { padding: 13px 8px; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 12px; }
  .hero { padding: 132px 0 74px; }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-lede { font-size: 17px; }
  .hero-meta { gap: 20px; justify-content: space-between; }
  .hero-meta strong { font-size: 16px; }
  .hero-meta span { font-size: 9px; }
  .floating-card { display: none; }
  .visual-frame { transform: none; }
  .visual-topbar span { display: none; }
  .game-art-link, .game-art { min-height: 190px; }
  .visual-caption { align-items: start; flex-direction: column; }
  .principles-inner { min-height: 80px; gap: 13px; font-size: 12px; }
  .principles-inner i { width: 3px; height: 3px; }
  .section { padding: 82px 0; }
  .games-heading { display: grid; gap: 20px; }
  .featured-art { min-height: 250px; }
  .featured-content { padding: 40px 28px; }
  .featured-content h3 { font-size: 36px; }
  .feature-list { grid-template-columns: 1fr; }
  .future-card { padding: 28px; }
  .journey-quote { min-height: 300px; padding: 34px 28px; }
  .contact-card { padding: 42px 28px; gap: 44px; }
  .footer-inner { padding: 38px 0; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .brand-logo { width: 58px; height: 58px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-meta div:last-child { grid-column: 1 / -1; }
  .principles-inner span:nth-of-type(2), .principles-inner i:nth-of-type(2) { display: none; }
}
