:root {
  --bg: #0b0a0a;
  --gold: #e1ba78;
  --muted: #bcb5ac;
  --edge: #ffffff20;
  --panel: #151313;
  --heading: #f9f2e8;
}

body { color: var(--heading); }
.container { width: min(1200px, calc(100% - 48px)); }
.skip-link {
  position: fixed;
  z-index: 40;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  transform: translateY(-180%);
  background: var(--gold);
  color: #19120a;
}
.skip-link:focus { transform: none; }
.studio-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0b0a0af3;
  border-bottom: 1px solid var(--edge);
  backdrop-filter: blur(18px);
}
.studio-nav { display: flex; align-items: center; justify-content: space-between; min-height: 77px; gap: 24px; }
.studio-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  color: var(--gold);
  font: 700 29px/.85 Georgia, serif;
  letter-spacing: .13em;
}
.studio-wordmark span {
  color: var(--heading);
  font: 800 8px/1 Manrope, Arial, sans-serif;
  letter-spacing: .31em;
}
.studio-nav-links { display: flex; align-items: center; gap: clamp(8px, 3vw, 34px); }
.studio-nav-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  color: #d2cac1;
  font-size: 11px;
  letter-spacing: .07em;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.studio-nav-links a:hover,
.studio-nav-links a[aria-current] { color: var(--gold); border-bottom-color: var(--gold); }

.ebon-home {
  background: radial-gradient(ellipse at 63% 9%, #2a1d13 0%, transparent 52%), var(--bg);
}
.studio-hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(22px, 5vw, 80px);
  padding-block: clamp(46px, 7vw, 105px) 42px;
}
.studio-intro h1 {
  max-width: 6ch;
  margin: 10px 0 22px;
  color: var(--heading);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(76px, 10.4vw, 156px);
  line-height: .82;
  letter-spacing: -.085em;
}
.studio-intro h1 span { font-size: .83em; color: var(--gold); font-style: italic; }
.studio-intro > p:not(.eyebrow), .department-hero > div > p:not(.eyebrow) {
  max-width: 41ch;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.68;
}
.studio-button { gap: 16px; }
.studio-feature {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  align-self: stretch;
  min-height: clamp(300px, 34vw, 500px);
  border: 1px solid #bd965f68;
  border-radius: 13px;
  background: #241b16;
}
.studio-feature > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .92;
  transition: transform .5s;
}
.studio-feature:hover > img, .studio-tile:hover .tile-image > img { transform: scale(1.045); }
.studio-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg,#0b0807f5 0%, transparent 60%);
}
.studio-feature-caption {
  position: absolute;
  z-index: 1;
  inset: auto 20px 19px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}
.studio-feature-caption strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: clamp(23px, 3.1vw, 43px);
  font-weight: 400;
  line-height: 1.04;
}
.studio-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e1ba7885;
  border-radius: 50%;
  color: var(--gold);
  background: #14100dd2;
}
.studio-divisions { padding-block: 31px clamp(56px, 8vw, 100px); }
.studio-heading { margin-bottom: 19px; }
.studio-heading h2 {
  margin: 0;
  font: 400 clamp(30px, 4vw, 53px)/1.06 Georgia, serif;
  letter-spacing: -.04em;
}
.division-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.studio-tile {
  --accent: var(--gold);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: var(--panel);
  transition: transform .22s, border-color .22s;
}
.studio-tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.tile-digital { --accent: #b5d4bb; }
.tile-creators { --accent: #d9c4f1; }
.tile-image { aspect-ratio: 2 / 1; overflow: hidden; border-bottom: 1px solid var(--edge); }
.tile-image > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.tile-copy { display: flex; flex-flow: column; flex: 1; padding: clamp(16px, 2.4vw, 26px); }
.tile-copy h3 { margin: 0; font-size: clamp(17px, 2vw, 24px); letter-spacing: -.04em; }
.tile-copy p { color: var(--muted); margin: 8px 0 21px; font-size: 14px; line-height: 1.6; }
.tile-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--accent); font-size: 13px; font-weight: 800; margin-top: auto; }
.tile-preview { position: relative; background: radial-gradient(ellipse at 60% 85%, #456453, #172920 72%); }
.preview-window, .preview-mobile {
  position: absolute;
  box-shadow: 0 9px 20px #0008;
  border: 1px solid #aac4af80;
  overflow: hidden;
}
.preview-window { width: 62%; height: 73%; top: 17%; left: 13%; border-radius: 6px; background: #e7dfcf; }
.preview-top { display: flex; gap: 4px; align-items: center; height: 13%; padding: 0 7px; background: #d8d1c3; }
.preview-top i { width: 3px; height: 3px; border-radius: 50%; background: #41594a; }
.preview-oliva, .preview-mobile {
  display: grid;
  place-items: center;
  color: #fdf5db;
  background: linear-gradient(#23352d92,#1e3529b5), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=520&q=75') center/cover, #335044;
  font: 400 clamp(18px, 2.5vw, 34px)/1 Georgia, serif;
  letter-spacing: .09em;
}
.preview-oliva { height: 69%; }
.preview-mobile { right: 12%; top: 30%; width: 17%; height: 59%; border: 3px solid #17271e; border-radius: 8px; font-size: clamp(8px, 1vw, 12px); }
.creators-visual {
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse,#826498 0%,#38294a 50%,#241d32 90%);
}
.creator-orbit {
  position: absolute;
  width: 55%;
  height: 54%;
  border: 1px solid #d7b9ed82;
  border-radius: 50%;
  transform: rotate(-24deg);
  box-shadow: 0 0 0 12px #d7b9ed1f, 0 0 0 25px #d7b9ed14, 0 0 0 44px #d7b9ed0b;
}
.creator-icon {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  width: 26%;
  border: 1px solid #e6d7f7a0;
  border-radius: 19%;
  background: linear-gradient(145deg,#6d547f,#3a2d4c);
  box-shadow: 9px 12px 0 #271c3e99, 0 16px 30px #140d2391;
  transform: rotate(-10deg);
}
.creator-icon span { color: #f2e5fb; font-size: clamp(28px, 5vw, 65px); line-height: 1; }

.department-hero {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  align-items: center;
  gap: 25px;
  padding-block: clamp(38px, 7vw, 95px);
}
.department-hero h1, .digital-copy h1 {
  margin: 14px 0 20px;
  font: 400 clamp(43px, 6.2vw, 88px)/1 Georgia, serif;
  letter-spacing: -.06em;
}
.games-brand {
  display: grid;
  place-items: center;
  min-height: 200px;
  background: radial-gradient(ellipse,#44301f,#16100d 68%,transparent 85%);
}
.games-brand img { width: min(75%, 278px); height: auto; }
.department-section { padding-block: 14px clamp(55px, 8vw, 90px); }
.department-section .game { border-radius: 11px; background: var(--panel); }
.department-section .game .body { padding: 20px; }
.department-section .coming { padding: 9px 11px; }
.department-section article[id], .section[id], .info[id] { scroll-margin-top: 100px; }
.studio-footer { padding: 27px 0; border-top: 1px solid var(--edge); color: var(--muted); font-size: 13px; }
.studio-footer .container, .studio-footer nav { display: flex; align-items: center; gap: 16px; }
.studio-footer .container { justify-content: space-between; }
.studio-footer a:hover { color: var(--gold); }

@media (max-width: 850px) {
  .studio-intro h1 { font-size: clamp(72px, 12vw, 109px); }
  .studio-feature { min-height: 320px; }
}
@media (max-width: 650px) {
  .container { width: calc(100% - 32px); }
  .studio-nav { min-height: 66px; gap: 12px; }
  .studio-wordmark { font-size: 22px; }
  .studio-wordmark span { font-size: 7px; }
  .studio-nav-links { gap: clamp(6px, 2.3vw, 16px); }
  .studio-nav-links a { font-size: 9px; letter-spacing: 0; }
  .studio-hero, .department-hero { grid-template-columns: 1fr; }
  .studio-hero { padding-bottom: 18px; }
  .studio-feature { min-height: 0; aspect-ratio: 1.45; }
  .studio-feature-caption { inset: auto 14px 14px; }
  .division-grid { grid-template-columns: 1fr; }
  .tile-image { aspect-ratio: 2.5 / 1; }
  .department-hero { padding-bottom: 32px; }
  .games-brand { min-height: 145px; }
  .games-brand img { width: 155px; }
}

.department-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  border-bottom: 1px solid var(--edge);
  padding-block: 5px;
}
.department-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  font-size: 13px;
  font-weight: 800;
  color: #d3cbc1;
}
.department-nav a:hover { color: var(--gold); }

.ebon-digital .digital-hero {
  padding: clamp(40px, 7vw, 94px) 0;
  background: radial-gradient(ellipse at 80% 20%, #273b2e 0%, transparent 68%), var(--bg);
  border-bottom: none;
}
.digital-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.digital-copy h1 { margin: 14px 0 20px; }
.digital-copy p:not(.eyebrow) { max-width: 45ch; font-size: clamp(15px, 1.55vw, 18px); }
.digital-art {
  display: flex;
  justify-content: space-between;
  align-items: end;
  aspect-ratio: 1.4;
  padding: 20px;
  border: 1px solid #abc9ac70;
  border-radius: 12px;
  color: #f9f6e6;
  background: linear-gradient(#172a2030,#112018ec), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=950&q=80') center/cover, #2e4737;
  transition: border-color .2s;
}
.digital-art:hover { border-color: #cbe1c9; }
.digital-art span:first-child { font: 400 clamp(23px, 4.4vw, 52px)/1 Georgia, serif; letter-spacing: .12em; }
.digital-art small { display: block; margin-top: 8px; font: 700 10px/1 Manrope, Arial, sans-serif; letter-spacing: .18em; }
.digital-art span:last-child { font-size: 25px; }
.ebon-digital .section, .ebon-digital .info { padding-block: clamp(42px, 6vw, 74px); }
.ebon-digital .service, .ebon-digital .division, .ebon-digital .contact form { border-radius: 11px; }
.ebon-digital .service { gap: 1px; padding: 23px; }
.ebon-digital .service h3 { margin-top: 6px; }
.ebon-digital .section h2, .ebon-digital .info h2 {
  margin: 0 0 23px;
  font: 400 clamp(32px, 4.4vw, 56px)/1.08 Georgia, serif;
  letter-spacing: -.045em;
}
.ebon-digital #como-trabajamos .division { padding: 22px; }
.ebon-digital #como-trabajamos .division .demo-brand { margin-bottom: 15px; }
.ebon-digital #como-trabajamos .division .gold { margin-top: 0; }
.ebon-digital #contacto .eyebrow { margin-bottom: 11px; }

@media (max-width: 650px) {
  .digital-layout { grid-template-columns: 1fr; }
  .digital-art { aspect-ratio: 1.75; }
  .department-nav { column-gap: 14px; }
}
@media (max-width: 360px) {
  .studio-nav { gap: 7px; }
  .studio-wordmark { font-size: 18px; }
  .studio-wordmark span { font-size: 6px; }
  .studio-nav-links { gap: 6px; }
  .studio-nav-links a { font-size: 8.5px; }
}
