@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #202536;
  --ink-soft: #343b52;
  --paper: #f4f0e8;
  --sand: #e9dfcf;
  --cream: #fbf7ef;
  --coral: #e56f51;
  --coral-dark: #bb4f38;
  --sage: #8da397;
  --sky: #9bb5c3;
  --line: rgba(32, 37, 54, .15);
  --radius: 1.5rem;
  --shadow: 0 24px 70px rgba(32, 37, 54, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
h1, h2, h3, h4, h5, .navbar-brand, .display-editorial { font-family: "Manrope", sans-serif; letter-spacing: -.04em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
img { max-width: 100%; object-fit: cover; }
::selection { background: var(--coral); color: #fff; }

.contact-ribbon { background: var(--ink); color: #f8f4ec; font-size: .76rem; letter-spacing: .04em; }
.contact-ribbon .offline-signal { color: #b8d8c2; }
.contact-ribbon .offline-signal .fa-circle { font-size: .5rem; }
.site-header { z-index: 1030; background: rgba(244, 240, 232, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.navbar-brand { text-decoration: none; color: var(--ink); line-height: 1; }
.navbar-brand img, .footer-brand img { border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, .13); }
.navbar-brand strong, .footer-brand strong { display: block; letter-spacing: .08em; font-size: .92rem; }
.navbar-brand small, .footer-brand small { display: block; margin-top: .36rem; color: var(--coral-dark); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.nav-link { font-weight: 600; color: var(--ink); border-radius: 999px; padding: .65rem 1rem !important; }
.nav-link:hover, .nav-link:focus { background: rgba(229, 111, 81, .11); color: var(--coral-dark); }
.navbar-toggler:focus { box-shadow: none; }

.btn { border-radius: 999px; padding: .76rem 1.25rem; font-weight: 700; }
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-2px); }
.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); color: #fff; }
.btn-outline-ink { border: 1px solid var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }

.page-content { position: relative; }
.section-shell { position: relative; padding: clamp(5rem, 9vw, 9rem) 0; isolation: isolate; }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.section-dark { color: #fff; background-color: var(--ink); background-size: cover; background-position: center; }
.section-dark a:not(.btn) { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem; color: var(--coral-dark); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 2.5rem; height: 1px; content: ""; background: currentColor; }
.section-dark .eyebrow { color: #f4a38f; }
.display-editorial { font-size: clamp(2.7rem, 7vw, 7.2rem); font-weight: 700; line-height: .92; }
.section-title { max-width: 900px; font-size: clamp(2.2rem, 4.8vw, 5rem); font-weight: 700; line-height: 1; }
.lead-copy { max-width: 720px; color: #596074; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.section-dark .lead-copy { color: rgba(255, 255, 255, .75); }

.editorial-hero { position: relative; min-height: min(900px, 90vh); display: flex; align-items: stretch; overflow: hidden; background: var(--cream); }
.editorial-hero .hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); }
.editorial-hero .hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 7vw, 8rem) clamp(1.5rem, 6vw, 7rem); }
.editorial-hero .hero-media { min-height: 560px; display: flex; align-items: flex-end; padding: 2rem; color: #fff; background-size: cover; background-position: center; }
.offline-lockup { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.75rem 0; }
.offline-lockup span { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .55); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-dark .offline-lockup span, .hero-media .offline-lockup span { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); }
.hero-highlight { max-width: 760px; padding: 1rem 1.15rem; border-left: 4px solid #f4a38f; border-radius: 0 1rem 1rem 0; background: rgba(244, 163, 143, .14); color: #fff; font-size: clamp(.95rem, 1.5vw, 1.12rem); line-height: 1.55; backdrop-filter: blur(10px); }
.hero-highlight i { color: #f4a38f; }

.glass-panel { padding: clamp(1.5rem, 3vw, 3rem); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius); background: rgba(255, 255, 255, .14); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.surface-card, .legal-card, .pricing-card, .stat-card { height: 100%; padding: clamp(1.4rem, 2.5vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .72); box-shadow: 0 12px 40px rgba(32, 37, 54, .06); }
.surface-card:hover, .pricing-card:hover, .team-card:hover, .project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.surface-card, .pricing-card, .team-card, .project-card, .media-card, .btn { transition: .3s ease; }
.icon-orb { width: 3.2rem; height: 3.2rem; display: inline-grid; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: var(--coral); color: #fff; }
.bento-grid:not(.row) { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.bento-grid:not(.row) > * { grid-column: span 4; }
.bento-grid:not(.row) .bento-wide { grid-column: span 8; }
.bento-grid:not(.row) .bento-tall { grid-row: span 2; }
.bento-grid.row { display: flex; }

.media-card, .image-frame, .project-card, .team-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.media-card { min-height: 0; display: block; padding: 2rem; color: var(--ink); background: rgba(255, 255, 255, .72); box-shadow: var(--shadow); }
.media-card.p-3 { padding: 1rem; }
.media-card:has(> .image-frame) { padding: 0; }
.media-card:has(> .image-frame) > .image-frame { min-height: auto; border-radius: 0; }
.media-card::after, .image-frame::after { position: absolute; inset: 0; pointer-events: none; content: ""; border: 1px solid rgba(255, 255, 255, .26); border-radius: inherit; }
.media-card > *, .image-frame > * { position: relative; z-index: 1; }
.image-frame { min-height: 360px; background: linear-gradient(135deg, var(--sage), var(--sky)); }
.image-frame.ratio, .image-frame.ratio img { min-height: 0; }
.image-frame img { width: 100%; height: 100%; min-height: inherit; position: absolute; inset: 0; }
.image-frame figcaption { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; z-index: 2; padding: .9rem 1rem; border-radius: 1rem; background: rgba(255, 255, 255, .83); backdrop-filter: blur(12px); }
.floating-chip { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .8rem; font-weight: 700; box-shadow: 0 8px 24px rgba(32, 37, 54, .08); }
.section-dark .stat-card { background: rgba(255, 255, 255, .92); color: var(--ink); }
.stat-card strong { display: block; color: var(--coral-dark); }
.stat-card strong.display-5, .stat-card strong.display-6 { font-family: "Manrope", sans-serif; line-height: 1; letter-spacing: -.08em; }
.number-mark { color: var(--coral-dark); font: 700 1rem "Manrope", sans-serif; }

.orbit-decoration { position: absolute; width: 22rem; height: 22rem; border: 1px solid rgba(229, 111, 81, .25); border-radius: 50%; pointer-events: none; z-index: -1; }
.orbit-decoration::before, .orbit-decoration::after { position: absolute; border: 1px solid rgba(32, 37, 54, .12); border-radius: 50%; content: ""; }
.orbit-decoration::before { inset: 3rem; }
.orbit-decoration::after { inset: 7rem; background: rgba(229, 111, 81, .08); }
.marquee-shell { overflow: hidden; padding: 1rem 0; border-block: 1px solid var(--line); }
.marquee-track { width: max-content; display: flex; gap: 3rem; animation: marquee 24s linear infinite; font: 700 clamp(1.4rem, 3vw, 3rem) "Manrope", sans-serif; }
@keyframes marquee { to { transform: translateX(-50%); } }

.timeline { position: relative; }
.timeline::before { position: absolute; top: 1rem; bottom: 1rem; left: 1.1rem; width: 1px; content: ""; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 2.5rem 4rem; }
.timeline-item::before { position: absolute; top: .2rem; left: .65rem; width: 1rem; height: 1rem; border: 3px solid var(--paper); border-radius: 50%; content: ""; background: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.team-card, .project-card { min-height: 420px; display: flex; align-items: flex-end; padding: 1.5rem; color: #fff; background-size: cover; background-position: center; }
.team-card:has(> .image-frame), .project-card:has(> .image-frame) { display: block; padding: 0; color: var(--ink); background: rgba(255, 255, 255, .65); }
.team-card:has(> .image-frame) > .image-frame, .project-card:has(> .image-frame) > .image-frame { min-height: auto; border-radius: 0; }

.game-selector { display: flex; gap: .65rem; overflow-x: auto; padding: .5rem 0 1rem; scrollbar-width: thin; }
.game-selector button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: .75rem 1.1rem; background: transparent; color: inherit; font-weight: 700; }
.game-selector button.active { background: var(--coral); border-color: var(--coral); color: #fff; }
.game-panel { display: none; }
.game-panel.active { display: block; animation: panel-in .45s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

.pricing-card.featured { background: var(--ink); color: #fff; transform: translateY(-1rem); }
.price { font: 700 clamp(2.5rem, 5vw, 4.8rem)/1 "Manrope", sans-serif; letter-spacing: -.07em; }
.form-control, .form-select { border: 1px solid var(--line); border-radius: 1rem; padding: .9rem 1rem; background-color: rgba(255, 255, 255, .7); }
.form-control:focus, .form-select:focus { border-color: var(--coral); box-shadow: 0 0 0 .25rem rgba(229, 111, 81, .15); }
.form-range::-webkit-slider-thumb { background: var(--coral); }
.form-notification { display: none; padding: .75rem 1rem; border-radius: .8rem; font-weight: 700; }
.form-notification:not(:empty), .form-notification.is-visible { display: block; }
.form-notification.is-visible { background: #dcecdf; color: #225732; }
.form-notification.is-error { background: #f5dcd6; color: #7a2f20; }
.map-frame { min-height: 480px; overflow: hidden; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 100%; min-height: 480px; border: 0; }

.legal-card h2 { margin-bottom: 1rem; font-size: 1.35rem; letter-spacing: -.02em; }
.legal-index { position: sticky; top: 11rem; }
.legal-index a { display: block; padding: .55rem 0; color: #596074; }
.legal-index a:hover { color: var(--coral-dark); }

.cookie-banner { position: fixed; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; z-index: 1090; max-width: 920px; display: none; margin: auto; padding: 1.25rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 1.3rem; background: rgba(32, 37, 54, .96); color: #fff; box-shadow: 0 20px 70px rgba(0, 0, 0, .3); backdrop-filter: blur(14px); }
.cookie-banner.is-visible { display: block; }

.site-footer { color: rgba(255, 255, 255, .72); background-color: var(--ink); background-size: cover; }
.footer-offline-note { padding: 1.25rem; border: 1px solid rgba(244, 163, 143, .35); border-radius: 1rem; background: rgba(229, 111, 81, .1); }
.footer-offline-note i { color: #f4a38f; font-size: 1.5rem; }
.footer-offline-note strong { display: block; margin-bottom: .35rem; color: #fff; }
.footer-brand { color: #fff; text-decoration: none; }
.footer-title { margin-bottom: 1.25rem; color: #fff; font-size: .85rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-links li { margin-bottom: .8rem; }
.footer-links a, .site-footer a { color: rgba(255, 255, 255, .77); }
.footer-links a:hover, .site-footer a:hover { color: #f4a38f; }
.footer-contact { font-style: normal; }
.footer-contact p { display: flex; gap: .8rem; align-items: flex-start; }
.footer-contact i { width: 1rem; margin-top: .28rem; color: #f4a38f; }
.footer-company { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; font-size: .78rem; }
.footer-company div, .footer-company span { display: block; }
.footer-company strong { color: #fff; }
.system-status { color: #a8d5b4; }

@media (max-width: 1199.98px) {
  .contact-ribbon { font-size: .69rem; }
  .navbar-collapse { padding: 1rem 0; }
}

@media (max-width: 991.98px) {
  .editorial-hero .hero-grid { grid-template-columns: 1fr; }
  .editorial-hero .hero-media { min-height: 470px; }
  .bento-grid:not(.row) > *, .bento-grid:not(.row) .bento-wide { grid-column: span 6; }
  .pricing-card.featured { transform: none; }
  .legal-index { position: static; }
  .footer-company { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 767.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .contact-ribbon .container-fluid { flex-direction: column; }
  .section-shell { padding: 4.5rem 0; }
  .display-editorial { font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .editorial-hero .hero-copy { padding: 4.5rem 1.25rem; }
  .editorial-hero .hero-media { min-height: 390px; padding: 1.25rem; }
  .bento-grid:not(.row) { display: block; }
  .bento-grid:not(.row) > * { margin-bottom: 1rem; }
  .team-card, .project-card { min-height: 360px; }
  .orbit-decoration { width: 14rem; height: 14rem; }
  .cookie-banner { right: .75rem; bottom: .75rem; left: .75rem; }
}

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