/* =================================================================
   Ignacio Candel — Portfolio
   Hand-built. No framework. Premium editorial / cinematic.
   ================================================================= */

:root {
  --ink:      #0a0a0c;
  --ink-1:    #0e0e11;
  --ink-2:    #131318;
  --ink-3:    #1a1a20;
  --line:     rgba(244,241,234,.10);
  --line-2:   rgba(244,241,234,.18);
  --ivory:    #f4f1ea;
  --muted:    rgba(244,241,234,.60);
  --muted-2:  rgba(244,241,234,.40);
  --gold:     #c8a86b;
  --gold-br:  #e6c98c;
  --gold-soft:rgba(200,168,107,.13);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[id] { scroll-margin-top: 86px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Shared layout ---------- */
.section { padding: clamp(72px, 11vw, 150px) var(--pad); max-width: var(--container); margin: 0 auto; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker {
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .6; }
.kicker--light { color: var(--gold-br); }
.section__title {
  font-family: var(--serif); font-weight: 300; line-height: 1.08;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); letter-spacing: -.015em;
}
.section__title em { color: var(--gold-br); font-weight: 400; }
.section__sub { color: var(--muted); margin-top: 20px; font-size: 1.05rem; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  padding: 13px 26px; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #1a1407; }
.btn--primary:hover { background: var(--gold-br); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-br); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,10,12,.72); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; letter-spacing: -.01em; }
.brand__role { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: .9rem; color: var(--muted); transition: color .25s var(--ease); position: relative; }
.nav__links a:not(.nav__cta):hover { color: var(--ivory); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px; background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { border: 1px solid var(--line-2); color: var(--ivory) !important; padding: 9px 18px; border-radius: 100px; }
.nav__cta:hover { border-color: var(--gold); color: var(--gold-br) !important; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; width: 32px; height: 28px; position: relative; }
.nav__burger span { position: absolute; left: 4px; right: 4px; height: 1.6px; background: var(--ivory); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 9px; }
.nav__burger span:nth-child(2) { top: 17px; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 var(--pad) clamp(28px, 4vw, 48px);
  max-width: 100%; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  animation: heroZoom 22s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.66) 42%, rgba(10,10,12,.34) 100%),
    linear-gradient(0deg, rgba(10,10,12,.97) 2%, rgba(10,10,12,.55) 45%, rgba(10,10,12,.45) 100%),
    radial-gradient(120% 90% at 72% 28%, transparent 36%, rgba(10,10,12,.62) 100%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .5; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.hero__content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto 0 0; width: 100%; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; margin-bottom: 28px;
  background: rgba(10,10,12,.4); backdrop-filter: blur(6px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #7ee0a0; box-shadow: 0 0 0 0 rgba(126,224,160,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(126,224,160,.5); } 70% { box-shadow: 0 0 0 8px rgba(126,224,160,0); } 100% { box-shadow: 0 0 0 0 rgba(126,224,160,0); } }
.hero__title {
  font-family: var(--serif); font-weight: 300; letter-spacing: -.03em; line-height: .96;
  font-size: clamp(3.4rem, 11vw, 8.2rem); margin-bottom: 26px;
}
.hero__lede { font-size: clamp(1.06rem, 2.1vw, 1.4rem); color: rgba(244,241,234,.82); max-width: 640px; line-height: 1.55; font-weight: 300; }
.hero__lede em { color: var(--gold-br); font-style: italic; }
.hero__lede strong { font-weight: 500; color: var(--ivory); }
.hero__actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__stats {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 12px; margin: clamp(40px,6vw,64px) auto 0 0; max-width: 760px; width: 100%;
  border-top: 1px solid var(--line); padding-top: 28px;
}
.stat__num { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 400; color: var(--gold-br); display: block; line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; display: block; }

/* =================================================================
   TRUST STRIP
   ================================================================= */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-1); }
.trust__label { text-align: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); padding: 30px var(--pad) 0; }
.trust__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px;
  padding: 18px var(--pad) 34px; font-family: var(--serif); font-size: clamp(1.05rem,2.4vw,1.5rem);
  font-weight: 400; color: rgba(244,241,234,.8);
}
.trust__row .sep { color: var(--gold); opacity: .5; }

/* =================================================================
   PROFILE
   ================================================================= */
.profile__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.profile__body p { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(244,241,234,.78); font-weight: 300; margin-bottom: 22px; line-height: 1.65; }
.profile__body strong { color: var(--ivory); font-weight: 500; }
.profile__close { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem,2vw,1.5rem) !important; color: var(--ivory) !important; }
.profile__close strong { color: var(--gold-br) !important; font-style: normal; }
.profile__facts { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); }
.profile__photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 24px; }
.profile__facts dl div { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile__facts dl div:last-of-type { border-bottom: 0; }
.profile__facts dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.profile__facts dd { font-size: .98rem; color: var(--ivory); }
.profile__link { display: inline-block; margin-top: 18px; font-size: .9rem; color: var(--gold-br); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color .3s; }
.profile__link:hover { border-color: var(--gold); }

/* =================================================================
   LEADERSHIP — studio cards
   ================================================================= */
.studio-list { display: flex; flex-direction: column; gap: 18px; }
.studio {
  display: grid; grid-template-columns: 240px 1fr auto; gap: 28px; align-items: start;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px;
  background: var(--ink-1); transition: border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.studio:hover { border-color: var(--line-2); background: var(--ink-2); transform: translateY(-3px); }
.studio__role { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; line-height: 1.15; }
.studio__org { color: var(--gold-br); font-size: .95rem; margin-top: 8px; }
.studio__meta { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-top: 14px; line-height: 1.7; }
.studio__blurb { color: var(--muted); font-size: 1rem; font-weight: 300; line-height: 1.6; }
.studio__clients { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.studio__client { font-size: .78rem; color: var(--ivory); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 12px; transition: border-color .3s, color .3s; }
.studio__client:hover { border-color: var(--gold); color: var(--gold-br); }
.studio__client span { color: var(--muted-2); }
.studio__link { align-self: center; font-size: .85rem; color: var(--gold-br); white-space: nowrap; border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 16px; transition: border-color .3s, transform .3s; }
.studio__link:hover { border-color: var(--gold); transform: translateY(-2px); }

/* =================================================================
   SHIPPED SLOTS — game cards
   ================================================================= */
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.game {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--ink-1); transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.game:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.game__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.game__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.game:hover .game__media img { transform: scale(1.05); }
.game__badge {
  position: absolute; top: 14px; left: 14px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ivory); background: rgba(10,10,12,.6); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 13px;
}
.game__body { padding: 22px 24px 24px; }
.game__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.game__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; }
.game__year { font-size: .8rem; color: var(--muted-2); letter-spacing: .06em; }
.game__tag { color: var(--muted); font-size: .96rem; font-weight: 300; margin-top: 6px; }
.game__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.game__meta { font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); }
.game__play { font-size: .85rem; font-weight: 500; color: var(--gold-br); white-space: nowrap; transition: transform .3s var(--ease); }
.game:hover .game__play { transform: translateX(3px); }

/* =================================================================
   FEATURED PROJECT — Starfang
   ================================================================= */
.project__hero { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.project__hero img { width: 100%; display: block; transition: transform .8s var(--ease); }
.project__hero:hover img { transform: scale(1.02); }
.project__chars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.pchar a { display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink-1)); }
.pchar img { width: 100%; display: block; transition: transform .6s var(--ease); }
.pchar a:hover img { transform: scale(1.04); }
.pchar figcaption { font-family: var(--serif); font-size: 1.1rem; margin-top: 12px; color: var(--ivory); }
.project__syms { margin-top: 36px; text-align: center; }
.psym-label { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.psym-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; }
.psym-row img { width: 144px; height: 144px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.project__env { display: block; position: relative; margin-top: 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.project__env img { width: 100%; display: block; transition: transform .8s var(--ease); }
.project__env:hover img { transform: scale(1.02); }
.project__envcap { position: absolute; left: 16px; bottom: 14px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory); background: rgba(10,10,12,.6); backdrop-filter: blur(6px); border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 14px; }

/* =================================================================
   WORK — filters + masonry gallery
   ================================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  font-family: var(--sans); font-size: .85rem; color: var(--muted); cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 100px; padding: 9px 20px;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--ivory); border-color: var(--line-2); }
.filter.is-active { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); grid-auto-rows: 6px; gap: 18px; }
.gtile {
  grid-row-end: span 40; position: relative; overflow: hidden; border-radius: 10px;
  cursor: pointer; background: var(--ink-2); border: 1px solid var(--line);
  opacity: 0; transform: translateY(18px) scale(.99); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.gtile.is-in { opacity: 1; transform: none; }
.gtile.is-hidden { display: none; }
.gtile--feat { grid-column: span 2; }
/* transparent character cutouts get a soft top-lit stage so they read as polished renders */
.gtile[data-cat="characters"] { background: radial-gradient(130% 95% at 50% 8%, #20202a 0%, #15151b 42%, #0c0c10 100%); }
.gtile[data-cat="characters"] .gtile__media img { padding: 6% 7% 0; }
.gtile__media { width: 100%; display: block; }
.gtile__media img, .gtile__media video { width: 100%; height: auto; display: block; transition: transform .8s var(--ease); }
.gtile:hover .gtile__media img, .gtile:hover .gtile__media video { transform: scale(1.05); }
.gtile__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: opacity .4s var(--ease);
  background: linear-gradient(0deg, rgba(8,8,10,.86) 0%, rgba(8,8,10,.18) 55%, transparent 100%);
}
.gtile:hover .gtile__overlay { opacity: 1; }
.gtile__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.gtile__note { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-br); margin-top: 4px; }
.gtile__badge {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(10,10,12,.6); backdrop-filter: blur(4px);
  border: 1px solid var(--line-2); opacity: 0; transform: translateY(-6px); transition: all .4s var(--ease);
}
.gtile:hover .gtile__badge { opacity: 1; transform: none; }
.gtile__badge svg { width: 15px; height: 15px; fill: var(--ivory); }
.work__more { display: flex; justify-content: center; margin-top: 38px; }

/* =================================================================
   SPINATIVE — founder feature
   ================================================================= */
.spinative { max-width: 100%; padding-left: 0; padding-right: 0; }
.spinative__inner {
  max-width: var(--container); margin: 0 auto; padding: clamp(48px,7vw,90px) var(--pad);
  border-radius: 0; position: relative; overflow: hidden;
  background:
    radial-gradient(90% 130% at 12% 0%, rgba(200,168,107,.16), transparent 55%),
    radial-gradient(80% 120% at 95% 100%, rgba(120,90,200,.16), transparent 55%),
    linear-gradient(180deg, var(--ink-2), var(--ink-1));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.spinative__text { max-width: 680px; }
.spinative__text p { color: rgba(244,241,234,.78); font-size: clamp(1.02rem,1.5vw,1.18rem); font-weight: 300; margin-top: 22px; line-height: 1.62; }
.spinative__note { font-family: var(--serif); font-style: italic; color: var(--gold-br) !important; font-size: 1.25rem !important; }
.spinative__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.chip { font-size: .8rem; color: var(--ivory); border: 1px solid var(--line-2); border-radius: 100px; padding: 7px 16px; background: rgba(10,10,12,.3); }

/* =================================================================
   LOVE & PAPER — founder venture
   ================================================================= */
.venture__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.venture__logo { height: 28px; width: auto; margin-bottom: 22px; }
.venture__text p { color: rgba(244,241,234,.78); font-size: clamp(1.02rem,1.5vw,1.18rem); font-weight: 300; margin-top: 20px; line-height: 1.62; }
.venture__text strong { color: var(--ivory); font-weight: 500; }
.venture__note { font-family: var(--serif); font-style: italic; color: var(--gold-br) !important; font-size: 1.2rem !important; }
.venture__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 18px; }
.venture__stat { font-size: .9rem !important; color: var(--muted) !important; margin: 0 0 28px !important; }
.venture__stat strong { color: var(--gold-br) !important; font-weight: 500; }
.venture__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.venture__img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.venture__img--lg { grid-column: span 2; aspect-ratio: 16 / 10; }
.venture__gallery .venture__img:not(.venture__img--lg) { aspect-ratio: 1 / 1; }

/* =================================================================
   EXPERIENCE
   ================================================================= */
.experience__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px,6vw,80px); }
.timeline { list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 30px 38px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--line-2);
}
.tl-item--founder::before { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 0 0 4px var(--gold-soft); }
.tl-year { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.tl-role { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.tl-org { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.tl-item--founder .tl-role { color: var(--gold-br); }

.earlier { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--ink-1); height: fit-content; }
.earlier__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.earlier__intro { color: var(--muted); font-size: .96rem; font-weight: 300; margin: 12px 0 22px; }
.earlier__list { list-style: none; }
.earlier__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.earlier__list li:first-child { border-top: 0; padding-top: 0; }
.el-role { font-size: 1rem; color: var(--ivory); font-weight: 500; }
.el-org { color: var(--gold-br); font-size: .86rem; }
.el-note { color: var(--muted-2); font-size: .88rem; margin-top: 4px; font-weight: 300; }

/* =================================================================
   RECOGNITION
   ================================================================= */
.clients { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.client {
  font-family: var(--serif); font-size: clamp(1.1rem,2.4vw,1.7rem); font-weight: 400; color: rgba(244,241,234,.8);
  padding: 14px 26px; border: 1px solid var(--line); border-radius: 100px; transition: all .4s var(--ease);
}
.client:hover { color: var(--gold-br); border-color: var(--line-2); transform: translateY(-2px); }
.recognition__notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rnote { color: var(--muted); font-size: .96rem; font-weight: 300; line-height: 1.55; padding-top: 22px; border-top: 1px solid var(--line); }
.rnote__h { display: block; font-family: var(--sans); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* =================================================================
   CAPABILITIES
   ================================================================= */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 44px; }
.cap {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--ink-1);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s var(--ease);
}
.cap:hover { border-color: var(--line-2); transform: translateY(-4px); background: var(--ink-2); }
.cap__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cap__list { list-style: none; }
.cap__list li { color: var(--muted); font-size: .98rem; font-weight: 300; padding: 9px 0 9px 22px; position: relative; }
.cap__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.tools__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.tools__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tool { font-size: .88rem; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 8px 15px; transition: all .3s; }
.tool:hover { color: var(--ivory); border-color: var(--gold); }

/* =================================================================
   CONTACT
   ================================================================= */
.contact { text-align: center; }
.contact__inner { max-width: 820px; margin: 0 auto; }
.contact .kicker { justify-content: center; }
.contact .kicker::before { display: none; }
.contact__title { font-family: var(--serif); font-weight: 300; line-height: 1.02; font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -.02em; margin-bottom: 26px; }
.contact__sub { color: var(--muted); font-size: 1.12rem; font-weight: 300; max-width: 540px; margin: 0 auto 40px; }
.contact__sub strong { color: var(--ivory); font-weight: 500; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  border-top: 1px solid var(--line); padding: 30px var(--pad); max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: var(--muted-2);
}

/* =================================================================
   LIGHTBOX
   ================================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6,6,8,.96); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: clamp(20px,5vw,70px);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb__figure { max-width: 1100px; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lb__media { max-height: 80vh; display: flex; }
.lb__media img, .lb__media video { max-height: 80vh; max-width: 100%; width: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb__cap { text-align: center; }
.lb__cap b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; display: block; }
.lb__cap span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-br); }
.lb__close, .lb__nav {
  position: absolute; background: rgba(20,20,24,.6); border: 1px solid var(--line-2); color: var(--ivory);
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1;
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.lb__close:hover, .lb__nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lb__close { top: 24px; right: 24px; }
.lb__prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 24px; top: 50%; transform: translateY(-50%); }

/* =================================================================
   REVEAL
   ================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1100px) { .gallery { --cols: 3; } }
@media (max-width: 980px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: 40px; background: var(--ink-1); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .45s var(--ease); }
  .nav.is-open .nav__links { transform: none; }
  .nav__links a { font-size: 1.2rem; color: var(--ivory); }
  .nav__burger { display: block; z-index: 2; }
  .profile__grid { grid-template-columns: 1fr; }
  .profile__facts { position: static; }
  .studio { grid-template-columns: 1fr; gap: 16px; }
  .studio__link { justify-self: start; }
  .experience__grid { grid-template-columns: 1fr; }
  .recognition__notes { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .venture__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .gallery { --cols: 2; gap: 12px; }
  .gtile--feat { grid-column: span 2; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 4rem); line-height: .98; }
  .trust__row { font-size: 1rem; gap: 10px; }
  .footer { flex-direction: column; gap: 8px; }
}
@media (max-width: 360px) { .gallery { --cols: 1; } .gtile--feat { grid-column: span 1; } }

/* =================================================================
   REDUCED MOTION
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__bg img { animation: none; }
  .reveal, .gtile { opacity: 1 !important; transform: none !important; }
}
