:root {
  --ink: #18352f;
  --cream: #fff6e7;
  --cyan: #a8f0d2;
  --coral: #ff7c8a;
  --line: rgba(24, 53, 47, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.wordmark { font-size: 18px; font-weight: 900; letter-spacing: -0.04em; }
.wordmark span { color: var(--coral); }
.site-header nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; }
.site-header nav a { opacity: 0.8; transition: opacity 0.2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { opacity: 1; }
.nav-contact { border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 99px; padding: 10px 18px; }

.hero { position: relative; height: clamp(680px, 88vh, 980px); min-height: 680px; overflow: hidden; background: var(--ink); color: white; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  /* Fill the full banner width while preserving the image aspect ratio. */
  background-size: cover;
  background-position: center;
  background-color: #06182b;
  background-repeat: no-repeat;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.slide-1 { background-image: url('assets/banner-1.png'); }
.slide-2 { background-image: url('assets/banner-2.png'); }
.slide-3 { background-image: url('assets/banner-3.png'); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,15,31,.84) 0%, rgba(3,15,31,.5) 40%, rgba(3,15,31,.06) 72%), linear-gradient(0deg, rgba(3,15,31,.4), transparent 42%); }
.hero-content { position: absolute; z-index: 2; left: clamp(24px, 8vw, 124px); top: 50%; width: min(620px, calc(100% - 48px)); transform: translateY(-43%); }
.eyebrow { margin: 0 0 22px; text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; font-weight: 800; color: var(--cyan); }
.hero h1 { max-width: 700px; margin: 0; font-size: clamp(64px, 9vw, 144px); line-height: 0.84; letter-spacing: -0.075em; text-wrap: balance; }
.hero-description { max-width: 490px; margin: 32px 0 26px; color: rgba(255,255,255,.76); font-size: clamp(16px, 1.5vw, 21px); line-height: 1.55; }
.text-link { display: inline-flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.48); padding-bottom: 8px; }
.carousel-controls { position: absolute; z-index: 5; right: clamp(24px, 5vw, 76px); bottom: 50px; display: flex; gap: 20px; }
.carousel-controls button { display: flex; align-items: center; gap: 9px; border: 0; color: rgba(255,255,255,.55); background: transparent; cursor: pointer; padding: 6px 0; font-size: 11px; }
.carousel-controls button span { width: 28px; height: 2px; background: currentColor; transition: width 0.25s ease, color 0.25s ease; }
.carousel-controls button.is-active { color: white; }
.carousel-controls button.is-active span { width: 54px; background: var(--coral); }
.scroll-cue { position: absolute; z-index: 5; left: clamp(24px, 5vw, 76px); bottom: 48px; display: flex; align-items: center; gap: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,.6); }
.scroll-cue span { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 7px rgba(255,107,85,.16); }

.section { padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 110px); }
.section-kicker { display: flex; gap: 15px; align-items: center; margin-bottom: 58px; text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px; font-weight: 800; color: rgba(7,27,45,.58); }
.section-kicker span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--coral); }
.section-kicker.light { color: rgba(255,255,255,.56); }
.section-kicker.light span { border-color: rgba(255,255,255,.22); }
.intro { background: var(--cream); }
.intro-copy { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(50px, 10vw, 170px); align-items: end; }
.intro h2, .section-heading h2, .market-copy h2, .contact h2 { margin: 0; font-size: clamp(58px, 8vw, 126px); line-height: 0.88; letter-spacing: -0.075em; }
.intro-copy > div:last-child { max-width: 620px; }
.lead { font-size: clamp(21px, 2vw, 30px); line-height: 1.35; letter-spacing: -0.025em; }
.intro-copy > div:last-child > p:last-child { max-width: 520px; color: rgba(7,27,45,.6); line-height: 1.75; }

.team { background: var(--ink); color: white; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 80px; }
.section-heading .section-kicker { margin-bottom: 0; }
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.portrait {
  width: 100%;
  /* Slight zoom removes the pale separators left by splitting the source sheet. */
  aspect-ratio: 3 / 5;
  background-size: 106% auto;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 200px 200px 28px 28px;
  border: 1px solid rgba(255,255,255,.1);
  filter: saturate(.92);
}
.portrait-1 { background-image: url('assets/team-1.png'); }
.portrait-2 { background-image: url('assets/team-2.png'); }
.portrait-3 { background-image: url('assets/team-3.png'); }
.portrait-4 { background-image: url('assets/team-4.png'); }
.portrait-5 { background-image: url('assets/team-5.png'); }
.team-member h3 { margin: 20px 0 5px; font-size: 16px; }
.team-member p { margin: 0; color: rgba(255,255,255,.48); font-size: 12px; }

.market { min-height: 860px; display: grid; grid-template-columns: 1.2fr 0.8fr; background: var(--cream); }
.market-image { min-height: 660px; background: url('assets/mobile-gaming.png') 64% center / cover no-repeat; filter: hue-rotate(132deg) saturate(.72) brightness(1.08); }
.market-copy { padding: clamp(70px, 8vw, 130px) clamp(34px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.market-copy .section-kicker { margin-bottom: 42px; }
.market-copy .lead { margin: 44px 0 45px; max-width: 600px; }
.principles { border-top: 1px solid var(--line); }
.principles div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.principles strong { color: var(--coral); font-size: 10px; }

.contact { position: relative; min-height: 820px; overflow: hidden; background: var(--ink); color: white; }
.contact-image { position: absolute; inset: 0 44% 0 0; background: url('assets/banner-1.png') 20% center / cover no-repeat; }
.contact-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 45%, var(--ink) 100%); }
.contact-panel { position: relative; z-index: 1; min-height: 820px; width: 56%; margin-left: 44%; padding: clamp(80px, 8vw, 130px) clamp(34px, 8vw, 130px); display: flex; flex-direction: column; justify-content: center; }
.contact-panel .section-kicker { margin-bottom: 45px; }
.contact-panel > p { color: rgba(255,255,255,.6); line-height: 1.7; }
.contact h2 { margin: 28px 0 55px; }
.contact-panel > a { align-self: flex-start; color: var(--cyan); font-size: clamp(16px, 1.6vw, 22px); font-weight: 800; border-bottom: 1px solid rgba(92,225,230,.4); padding-bottom: 10px; }

footer { min-height: 160px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; align-items: center; padding: 35px clamp(24px, 5vw, 76px); background: #050f1b; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: 0.05em; }
.footer-mark { color: white; }
footer p { text-align: center; }
footer > a:last-child { text-align: right; }

@media (max-width: 900px) {
  .site-header nav a:not(.nav-contact) { display: none; }
  .hero-content { top: 48%; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 55px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 18px; }
  .team-member:last-child { grid-column: 1 / -1; width: calc(50% - 9px); }
  .market { grid-template-columns: minmax(0, 1fr); }
  .market > * { min-width: 0; }
  .market-image { min-height: 72vw; }
  .contact-image { inset: 0; opacity: .38; }
  .contact-image::after { background: rgba(3,15,31,.52); }
  .contact-panel { width: 100%; margin: 0; }
}

@media (max-width: 640px) {
  .site-header { height: 76px; }
  .site-header nav { gap: 0; }
  .nav-contact { padding: 8px 14px; }
  .hero { height: 760px; min-height: 0; }
  .hero h1 { font-size: clamp(62px, 22vw, 94px); }
  .carousel-controls { bottom: 76px; right: 24px; }
  .carousel-controls button span { width: 16px; }
  .carousel-controls button.is-active span { width: 32px; }
  .scroll-cue { bottom: 32px; }
  .intro-copy { grid-template-columns: 1fr; gap: 50px; }
  .intro h2, .section-heading h2, .market-copy h2, .contact h2 { font-size: clamp(55px, 17vw, 82px); }
  .team-grid { grid-template-columns: 1fr; }
  .team-member:last-child { grid-column: auto; width: auto; }
  .market-image { min-height: 110vw; background-position: 64% center; }
  .contact-panel { min-height: 760px; }
  footer { grid-template-columns: 1fr; padding-block: 50px; text-align: left; }
  footer p, footer > a:last-child { text-align: left; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide { transition: none; }
}
