:root {
  --black: #09090a;
  --ink: #151518;
  --muted: #66666d;
  --line: #dedee3;
  --soft: #f4f4f6;
  --white: #ffffff;
  --blue: #245cff;
  --green: #44d17a;
  --orange: #ff8a3d;
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.11);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(15, 15, 17, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wordmark-rba {
  font-size: 1.45rem;
}

.wordmark-studio {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a {
  transition: opacity 180ms ease;
}

.main-nav a:hover {
  opacity: 0.55;
}

.nav-cta {
  padding: 11px 17px;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: 12px;
  background: var(--soft);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--black);
}

.hero {
  overflow: hidden;
  padding: 76px 0 94px;
  background:
    radial-gradient(circle at 10% 15%, rgba(36, 92, 255, 0.08), transparent 25%),
    linear-gradient(180deg, #fff 0%, #f6f6f7 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 74px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.58);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(3.25rem, 7vw, 6.8rem);
  line-height: 0.93;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  font-size: 1.6rem;
  letter-spacing: -0.035em;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.links-actions,
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: var(--white);
  background: var(--black);
}

.button-light {
  background: var(--white);
  border-color: var(--line);
}

.button-white {
  background: var(--white);
  color: var(--black);
}

.button-outline-white {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 38px 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--black);
}

.logo-stage {
  min-width: 0;
}

.logo-stage-inner {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.logo-stage-inner img {
  width: 100%;
  height: auto;
}

.logo-stage > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.section {
  padding: 112px 0;
}

.studio-section {
  background: var(--white);
}

.studio-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 90px;
}

.studio-copy {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 74px;
}

.stat-card {
  min-height: 180px;
  padding: 30px;
  background: var(--soft);
  border-radius: var(--radius-md);
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  margin-bottom: 36px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.stat-card span {
  max-width: 190px;
  color: var(--muted);
  line-height: 1.4;
}

.projects-section {
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.project-card-featured {
  grid-row: span 2;
  min-height: 900px;
  background: #0a0f17;
  color: var(--white);
}

.project-image,
.project-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-image {
  object-fit: cover;
}

.project-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 20%, rgba(0, 0, 0, 0.88) 96%);
}

.project-content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px;
}

.project-content-dark {
  color: var(--white);
}

.project-content h3 {
  margin: 8px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.96;
}

.project-content p {
  max-width: 650px;
  margin-bottom: 22px;
  color: inherit;
  line-height: 1.55;
  opacity: 0.84;
}

.project-type {
  margin-bottom: 0 !important;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-links a {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
}

.status {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-progress {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.status-live {
  background: rgba(68, 209, 122, 0.16);
  color: #83eda9;
}

.status-soon {
  background: #fff0e6;
  color: #a64b0d;
}

.project-card-mybutler {
  background: linear-gradient(145deg, #07172f 0%, #123b73 58%, #2276c8 100%);
}

.project-art {
  position: absolute;
  inset: 0;
  opacity: 0.86;
}

.mybutler-symbol {
  position: absolute;
  top: 48px;
  right: 46px;
  width: 170px;
  height: 170px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  transform: rotate(10deg);
}

.mybutler-symbol span {
  position: absolute;
  right: 28px;
  left: 28px;
  height: 16px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 999px;
}

.mybutler-symbol span:nth-child(1) { top: 44px; }
.mybutler-symbol span:nth-child(2) { top: 78px; width: 75px; }
.mybutler-symbol span:nth-child(3) { top: 112px; width: 103px; }

.project-card-sticker {
  background: #f8eee5;
}

.sticker-scene {
  position: absolute;
  inset: 0;
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  border: 3px solid var(--black);
  background: var(--white);
  box-shadow: 8px 9px 0 var(--black);
  font-weight: 900;
}

.sticker-one {
  top: 42px;
  left: 48px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  transform: rotate(-9deg);
}

.sticker-two {
  top: 72px;
  right: 38px;
  width: 190px;
  height: 88px;
  border-radius: 22px;
  transform: rotate(7deg);
}

.sticker-three {
  top: 182px;
  right: 122px;
  width: 92px;
  height: 92px;
  color: var(--orange);
  border-radius: 24px;
  font-size: 2.4rem;
  transform: rotate(-14deg);
}

.approach-section {
  background: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.approach-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.approach-number {
  display: block;
  margin-bottom: 74px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.approach-card h3 {
  margin-bottom: 14px;
}

.approach-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.links-section {
  padding: 24px 0 96px;
  background: var(--white);
}

.links-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 60px;
  padding: 68px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius-lg);
}

.links-panel h2 {
  max-width: 780px;
  margin-bottom: 22px;
}

.links-panel p {
  max-width: 670px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

.links-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 52px 0;
  color: rgba(255, 255, 255, 0.65);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
}

.site-footer strong {
  color: var(--white);
  font-size: 1.2rem;
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid,
  .studio-grid,
  .section-heading,
  .links-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 54px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card-featured {
    grid-row: auto;
    min-height: 760px;
  }

  .project-card {
    min-height: 540px;
  }

  .stats-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .links-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    padding: 56px 0 72px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .section {
    padding: 82px 0;
  }

  .project-card-featured {
    min-height: 660px;
  }

  .project-card {
    min-height: 510px;
  }

  .project-content {
    padding: 26px;
  }

  .project-content h3 {
    font-size: 2.65rem;
  }

  .links-panel {
    padding: 38px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .hero-actions .button,
  .links-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Official project assets supplied by RBA Studio */
.project-brand {
  position: absolute;
  z-index: 3;
  top: 34px;
  left: 34px;
  width: min(46%, 330px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.32));
}

.project-brand-sylarion {
  border-radius: 22px;
}

.project-card-logo {
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto;
  min-height: 540px;
  background: #fff;
}

.project-logo-stage {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(36, 92, 255, 0.08), transparent 48%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f8 100%);
}

.project-logo-image {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
}

.project-logo-mybutler {
  max-width: 420px;
}

.project-logo-tonsticker {
  max-width: 470px;
}

.project-card-logo .project-content {
  position: relative;
  inset: auto;
  padding-top: 28px;
  background: #fff;
}

.project-content-light {
  color: var(--ink);
}

.project-content-light p {
  color: var(--muted);
  opacity: 1;
}

.project-card-mybutler,
.project-card-sticker {
  background: #fff;
}

@media (max-width: 620px) {
  .project-brand {
    top: 20px;
    left: 20px;
    width: min(56%, 250px);
  }

  .project-logo-stage {
    min-height: 220px;
    padding: 20px;
  }

  .project-card-logo {
    min-height: 500px;
  }
}


/* SYLARION card correction — no logo overlay and no text overlap */
.project-card-featured {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  color: var(--white);
  background: #080a0d;
}

.project-card-featured .project-image {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.project-card-featured .project-overlay {
  display: none;
}

.project-card-featured .project-content {
  position: relative;
  inset: auto;
  padding: 34px 38px 40px;
  color: var(--white);
  background: #080a0d;
}

.project-card-featured .project-content h3 {
  margin-top: 10px;
}

.project-card-featured .project-content p {
  opacity: 0.78;
}

.project-brand,
.project-brand-sylarion {
  display: none !important;
}

@media (max-width: 620px) {
  .project-card-featured .project-content {
    padding: 26px;
  }
}
