/* tipografías alojadas en la propia web (sin pedirlas a Google) */
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cinzel-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/cinzel-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/cinzel-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel Decorative"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cinzel-decorative-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cinzel Decorative"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/cinzel-decorative-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/alegreya-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/alegreya-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/alegreya-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/alegreya-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/alegreya-latin-500-italic.woff2") format("woff2"); }

:root {
  --bg: #0e0a08;
  --bg2: #17110d;
  --surface: #1b1410;
  --line: rgba(201, 164, 92, .22);
  --line-strong: rgba(201, 164, 92, .55);
  --text: #f0e6d0;
  --soft: #e4d8bf;
  --muted: #d3c6a8;
  --accent: #c9a45c;
  --gold: #e2bf7a;
  --radius: 6px;
  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --deco: "Cinzel Decorative", "Cinzel", Georgia, serif;
  --body: "Alegreya", "EB Garamond", Georgia, "Times New Roman", serif;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.06'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 600 1.2rem/1.6 var(--body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--noise);
}
a { color: inherit; }

/* fondo difuminado con tu foto: solo en Portfolio y Others */
body::before {
  content: ""; position: fixed; inset: -24px; z-index: -2; opacity: 0; pointer-events: none;
  background: url("fondo-b.jpg") 62% center / cover no-repeat;
  transition: opacity .4s;
}
body[data-page="portfolio"]::before, body[data-page="workflow"]::before, body[data-page="contact"]::before { opacity: 1; }
body[data-page="workflow"]::before { background: url("setup-bg-b.jpg") center 38% / cover no-repeat; }
body[data-page="portfolio"]::after, body[data-page="contact"]::after, body[data-page="workflow"]::after {
  background:
    linear-gradient(90deg, rgba(14, 10, 8, .84) 0%, rgba(14, 10, 8, .72) 60%, rgba(14, 10, 8, .6) 100%),
    var(--noise);
}
body[data-page="portfolio"] main, body[data-page="contact"] main, body[data-page="workflow"] main { text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding-left: clamp(1.1rem, 4vw, 3rem); padding-right: clamp(1.1rem, 4vw, 3rem); }

/* cabecera + pestañas */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 3rem);
  background: rgba(14, 10, 8, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { font: 700 1.1rem var(--deco); letter-spacing: .06em; text-decoration: none; white-space: nowrap; color: var(--gold); }
.tabs { display: flex; gap: .2rem; }
.tabs a {
  display: inline-block; text-decoration: none;
  font: 700 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; cursor: pointer;
  padding: .6rem .85rem; white-space: nowrap;
  transition: color .2s, border-color .2s, background .2s;
}
.tabs a:hover { color: var(--text); }
.tabs a.active { color: var(--gold); border-bottom-color: var(--accent); }
.tabs a:focus-visible, .linkbtn:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* botón de menú (solo en pantallas pequeñas) */
.menu-toggle {
  display: none; align-items: center; gap: .55rem; cursor: pointer;
  font: 700 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); background: rgba(201, 164, 92, .06);
  border: 1px solid var(--line-strong); border-radius: 4px;
  padding: .5rem .9rem; min-height: 44px;
}

/* contenido */
main { flex: 1; outline: none; }
main.fade { animation: fade .5s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0 0 .6rem; }
h1 { font: 400 clamp(2.5rem, 6.4vw, 4.8rem)/1.08 var(--deco); color: var(--text); text-shadow: 0 2px 30px rgba(0, 0, 0, .6); margin-bottom: .8rem; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); letter-spacing: .06em; color: var(--gold); margin-bottom: .4rem; }
h3 { font-size: 1.15rem; letter-spacing: .05em; }
.eyebrow { color: var(--gold); font: 700 .85rem var(--display); text-transform: uppercase; letter-spacing: .22em; margin: 0 0 1.1rem; }
.lead { font: italic 600 1.4rem/1.45 var(--body); color: var(--muted); margin: 0 0 1.2rem; }
.muted { color: var(--muted); }

/* separador ornamental */
.divider { display: flex; align-items: center; gap: .8rem; max-width: 300px; margin: .9rem 0 1.5rem; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.divider::after { background: linear-gradient(270deg, transparent, var(--accent)); }
.divider i { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

/* portada */
.hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: min(84vh, 700px); border-bottom: 1px solid var(--line);
}
.hero-media {
  position: absolute; inset: 0;
  background: url("fondo.jpg") right center / auto 112% no-repeat;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 33%, rgba(14, 10, 8, .62) 56%, rgba(14, 10, 8, .08) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 20%);
}
.hero-inner { position: relative; padding-top: 5rem; padding-bottom: 5rem; }
.hero-inner > * { max-width: 620px; }
.contact { margin-top: 2rem; }
.contact .eyebrow { margin-bottom: .4rem; }
.contact .badges { margin-top: .6rem; }

/* bandas de sección */
.band { padding: clamp(3rem, 7vw, 5rem) 0; }
.band.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#reel { scroll-margin-top: 70px; }
.band .video { margin-top: 1.8rem; max-width: 900px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }

.two-col { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-text p { max-width: 62ch; color: var(--soft); }
.about-text h2 + .divider + p { font-size: 1.32rem; color: var(--text); }

/* cuadro "de un vistazo" */
.glance {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; border-top: 2px solid var(--accent);
}
.glance dl { margin: 0; display: grid; gap: 1.1rem; }
.glance dt { color: var(--gold); font: 700 .78rem var(--display); letter-spacing: .2em; text-transform: uppercase; margin-bottom: .1rem; }
.glance dd { margin: 0; color: var(--text); font-size: 1.2rem; }

/* botones */
.links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.linkbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; cursor: pointer;
  font: 700 .85rem var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--gold); background: rgba(14, 10, 8, .5);
  border: 1px solid var(--line-strong); border-radius: 4px;
  padding: .75rem 1.3rem; min-height: 48px;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.linkbtn:hover { background: rgba(201, 164, 92, .14); border-color: var(--gold); transform: translateY(-2px); }
.linkbtn.primary {
  background: linear-gradient(180deg, #ecca87, #c9a45c); color: #1a120c; border-color: #ecca87;
  box-shadow: 0 6px 24px rgba(201, 164, 92, .28);
}
.linkbtn.primary:hover { background: linear-gradient(180deg, #f3d595, #d4af68); box-shadow: 0 8px 28px rgba(201, 164, 92, .4); }
.linkbtn .ico { width: 20px; height: 20px; flex: none; }
.linkbtn .ico.logo { width: 24px; height: 24px; object-fit: contain; }

/* fila de iconos (logos) */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
.badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 56px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--gold);
  transition: transform .2s, filter .2s;
}
.badge:hover { transform: translateY(-4px); filter: brightness(1.12) drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.badge:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
.badge .ico { width: 30px; height: 30px; }
.badge .ico.logo { width: auto; height: 46px; max-width: 74px; object-fit: contain; }

/* aviso "copiado" */
#toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #2a1b14; color: var(--text); border: 1px solid var(--accent); border-radius: 4px;
  padding: .7rem 1.3rem; font: 700 .9rem var(--display); letter-spacing: .06em; z-index: 50;
  transition: opacity .25s, transform .25s;
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* vídeo */
.video {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: #000 center/cover no-repeat; border-radius: var(--radius); overflow: hidden;
  cursor: pointer;
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: linear-gradient(transparent 45%, rgba(18, 8, 4, .7));
  display: grid; place-items: center;
}
.video .play span {
  width: 68px; height: 68px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; transition: transform .2s;
  box-shadow: 0 0 0 5px rgba(14, 10, 8, .5), 0 0 0 6px var(--accent);
}
.video .play span::after { content: ""; border-left: 18px solid var(--bg); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.video:hover .play span { transform: scale(1.1); }
.pl { position: absolute; left: 1rem; bottom: .8rem; font-size: .95rem; color: #fff; }
.page-body > .video { margin-top: 2rem; }

/* cabecera de cada página */
.page-head {
  padding: clamp(2.4rem, 6vw, 4.2rem) 0 clamp(1rem, 2.5vw, 1.6rem);
  background: radial-gradient(ellipse 60% 120% at 15% 0%, rgba(201, 164, 92, .10), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.page-head .lead { margin-bottom: 0; }
.page-body { padding-top: clamp(2rem, 5vw, 3.2rem); padding-bottom: clamp(3rem, 7vw, 5rem); }

/* tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.5rem; align-items: stretch; }
.grid .card { display: flex; flex-direction: column; }
.grid .card-body { flex: 1; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.card .video { border-radius: 0; }
.card-body { padding: 1.2rem 1.4rem 1.5rem; }
.card-body p { color: var(--muted); margin: 0; font-size: 1.1rem; }
.card-body h3 { margin-bottom: 0; }
.meta { color: var(--gold); font: 700 .78rem var(--display); text-transform: uppercase; letter-spacing: .18em; margin-bottom: .4rem; }

/* lista de juegos */
.games { margin-top: clamp(3rem, 6vw, 4.5rem); }
.gamelist { list-style: none; counter-reset: game; margin: 1.4rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.gamelist li { counter-increment: game; position: relative; padding: 1.3rem 0 1.3rem 3.6rem; border-bottom: 1px solid var(--line); }
.gamelist li::before {
  content: counter(game, decimal-leading-zero); position: absolute; left: 0; top: 1.3rem;
  font: 600 1.5rem var(--display); color: var(--accent); opacity: .85;
}
.gamelist p { margin: 0; }
.g-line { font-size: 1.25rem; color: var(--text); }
.g-line strong { font: 600 1.2rem var(--display); letter-spacing: .05em; color: var(--text); }
.g-years { color: var(--muted); font-style: italic; }
.g-meta { color: var(--soft); font-size: 1.08rem; margin-top: .2rem; }
.spotify { display: block; width: 100%; border: 0; border-radius: 12px; }
.card .spotify { border-radius: 0; }
.steam-wrap { margin-top: 1rem; max-width: 646px; }
.steam { display: block; width: 100%; max-width: 646px; height: 190px; border: 0; border-radius: 4px; }

/* set up */
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--gold); font: 700 .82rem var(--display); text-transform: uppercase; letter-spacing: .16em; padding-top: .3rem; }
.specs dd { margin: 0; }
.specs dd strong { font-weight: 700; }
.specs dd span { display: block; color: var(--muted); font-size: 1.08rem; }
.specs .aside p { grid-column: 2; margin: 0; font-style: italic; color: var(--muted); }

/* workflow */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.steps li { position: relative; border-left: 1px solid var(--line-strong); padding: .2rem 0 .2rem 1.8rem; }
.steps li::before { content: ""; position: absolute; left: -5px; top: .65rem; width: 9px; height: 9px; background: var(--accent); transform: rotate(45deg); }
.steps p { margin: 0; color: var(--soft); max-width: 70ch; }

.phase {
  margin: 0 0 2.5rem; padding: 1.5rem 1.8rem 1.7rem;
  background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius);
}
.phase .eyebrow { margin: 0 0 .5rem; }
.phase p:last-child { margin: 0; color: var(--soft); max-width: 70ch; }
.phase.daily { margin: 2.6rem 0 0; }
.subhead { margin: 0 0 .4rem; font-size: 1.5rem; letter-spacing: .08em; color: var(--gold); }
.track-intro { margin: 0 0 1.6rem; color: var(--soft); }

/* set up resumido */
.setup { margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2.2rem; border-top: 1px solid var(--line); }
.setup-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .9rem; max-width: 70ch; }
.setup-list li { color: var(--soft); }
.setup-list strong { color: var(--gold); font: 700 .82rem var(--display); letter-spacing: .16em; text-transform: uppercase; margin-right: .5rem; }

/* others */
.blocks { display: grid; gap: 1.6rem; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.9rem 1.9rem; border-left: 3px solid var(--accent);
}
.panel h3 { color: var(--gold); font-size: 1.2rem; letter-spacing: .1em; }
.panel p { margin: 0; color: var(--soft); max-width: 68ch; }
.panel .links { margin-top: 1.4rem; }
.embeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.6rem; margin-top: 1.6rem; }
.embeds figure { margin: 0; }
.embeds figcaption { color: var(--gold); font: 700 .85rem var(--display); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.lead.soon { margin-top: 1rem; }

.site-footer { text-align: center; color: var(--muted); font: italic 1.05rem var(--body); padding: 2rem 1rem; border-top: 1px solid var(--line); }

/* ---------- Pantallas medianas y pequeñas: menú desplegable ---------- */
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .tabs {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: .2rem;
    padding: .6rem clamp(1rem, 4vw, 3rem) 1rem;
    background: #0e0a08; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .5);
  }
  .site-header.open .tabs { display: flex; }
  .tabs a { text-align: left; padding: .9rem 1rem; font-size: 1rem; min-height: 48px; border-bottom: 0; border-left: 2px solid transparent; }
  .tabs a.active { border-left-color: var(--accent); background: rgba(201, 164, 92, .08); }
  .two-col { grid-template-columns: 1fr; }
  .hero-media { background-size: auto 100%; background-position: 78% center; }
}

/* ---------- Móvil ---------- */
@media (max-width: 720px) {
  body { font-size: 1.12rem; line-height: 1.55; }
  body::before { background-position: 72% center; }
  body[data-page="workflow"]::before { background-position: 40% 35%; }
  body[data-page="portfolio"]::after, body[data-page="contact"]::after, body[data-page="workflow"]::after {
    background: linear-gradient(rgba(14, 10, 8, .62), rgba(14, 10, 8, .74)), var(--noise);
  }
  .brand { font-size: 1rem; }
  .eyebrow { font-size: .8rem; letter-spacing: .16em; }
  .lead { font-size: 1.25rem; }
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; height: 310px; background-size: cover; background-position: 62% 40%; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(14, 10, 8, .25) 55%, rgba(14, 10, 8, .1) 100%); }
  .hero-inner { margin-top: -90px; padding-top: 0; padding-bottom: 2.6rem; }
  .links { display: grid; grid-template-columns: 1fr; gap: .7rem; }
  .linkbtn { width: 100%; padding: .8rem 1rem; font-size: .8rem; }
  .specs > div { grid-template-columns: 1fr; gap: .2rem; }
  .specs .aside p { grid-column: 1; }
  .phase, .panel { padding: 1.2rem 1.2rem 1.4rem; }
  .steps li { padding-left: 1.4rem; }
  .gamelist li { padding-left: 2.9rem; }
  .gamelist li::before { font-size: 1.25rem; }
  .video .play span { width: 56px; height: 56px; }
  #toast { width: calc(100% - 2rem); text-align: center; bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* aparición suave al hacer scroll (solo si hay JavaScript) */
.js .reveal:not(.in) { opacity: 0; transform: translateY(18px); }
.js .reveal { transition: opacity .7s ease, transform .7s ease; }

/* botón de volver arriba */
.to-top {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 40; width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--gold); background: rgba(14, 10, 8, .88); border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer;
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s;
  backdrop-filter: blur(6px);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: rgba(201, 164, 92, .18); }
.to-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* formulario de contacto */
.contact-form { max-width: 720px; margin-top: 1.6rem; display: grid; gap: 1.1rem; }
.contact-form .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .4rem; font: 700 .85rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-form input, .contact-form textarea {
  font: 600 1.15rem var(--body); color: var(--text); background: rgba(27, 20, 16, .85);
  border: 1px solid var(--line-strong); border-radius: 4px; padding: .75rem .9rem; width: 100%; letter-spacing: 0; text-transform: none;
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form .linkbtn { justify-self: start; cursor: pointer; font-family: var(--display); }
.contact-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (max-width: 720px) { .contact-form .f-row { grid-template-columns: 1fr; } .to-top { right: .8rem; bottom: .8rem; } }
.msg-page { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.msg-page .linkbtn { margin-top: 1.6rem; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--gold); color: #120d0a; padding: .6rem 1rem; font: 700 .9rem var(--display); }
.skip:focus { left: .5rem; top: .5rem; }

/* reels: géneros y ambientes donde funciona cada uno */
.card .video .play { place-items: end start; padding: 0 0 .9rem 1rem; background: linear-gradient(transparent 55%, rgba(18, 8, 4, .75)); }
.card .video .play span { width: 46px; height: 46px; box-shadow: 0 0 0 3px rgba(14, 10, 8, .55), 0 0 0 4px var(--accent); }
.card .video .play span::after { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; margin-left: 4px; }
.tags { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font: 700 .78rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: #120d0a; background: var(--accent); border-radius: 3px; padding: .25rem .55rem; }
.scenes-label { margin: 1.1rem 0 .5rem !important; font: 700 .78rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold) !important; }
.scenes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.scenes li { font: 600 1rem var(--body); color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; padding: .2rem .8rem; }

/* About me: bloques con viñetas */
.about-intro { font-size: 1.3rem; color: var(--text); }
.ab-label { margin: 1.6rem 0 .5rem; font: 700 .85rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.ab-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ab-list li { position: relative; padding-left: 1.3rem; }
.ab-list li::before { content: ""; position: absolute; left: .1rem; top: .62em; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }

/* Others: dos ilustraciones difuminadas que se funden una con otra */
.bg-slides { position: fixed; inset: -24px; z-index: -2; pointer-events: none; }
.bg-slides i { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; animation: slidefade 18s ease-in-out infinite both; }
.bg-slides i:nth-child(1) { background-image: url("bg-north-b.jpg"); }
.bg-slides i:nth-child(2) { background-image: url("bg-forest-b.jpg"); animation-delay: 9s; }
@keyframes slidefade { 0% { opacity: 0; } 10% { opacity: 1; } 50% { opacity: 1; } 60% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bg-slides i:first-child { opacity: 1; } }


/* transiciones suaves entre páginas (navegadores compatibles; en el resto, fundido normal) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-group(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
::view-transition-old(root) { animation: vt-out .35s ease both; }
::view-transition-new(root) { animation: vt-in .5s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* detalles finos: todo responde, pero con muy poco movimiento */
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
::selection { background: rgba(201, 164, 92, .35); color: #fff; }
.tabs a, .brand, .linkbtn, .badge, .card, .scenes li, .tags li, .gamelist li, .panel, .contact-form input, .contact-form textarea { transition-timing-function: cubic-bezier(.22, .61, .36, 1); }
.card { transition: transform .45s cubic-bezier(.22, .61, .36, 1), border-color .35s ease, box-shadow .45s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.badge:hover { transform: translateY(-2px); }
.linkbtn:hover { transform: translateY(-1px); }
.linkbtn:active, .badge:active { transform: scale(.98); }
.scenes li { transition: border-color .3s ease, background .3s ease; }
.scenes li:hover { border-color: var(--gold); background: rgba(201, 164, 92, .08); }
.gamelist li { transition: background .3s ease; }
.gamelist li:hover { background: rgba(201, 164, 92, .05); }
.contact-form input, .contact-form textarea { transition: border-color .25s ease, background .25s ease; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); background: rgba(27, 20, 16, 1); }
.video .play span { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.video:hover .play span { transform: scale(1.06); }
/* reproductores: el hueco queda reservado y con fondo mientras cargan */
iframe.spotify, iframe.steam, .steam-wrap { background: rgba(27, 20, 16, .6); border-radius: 8px; }
iframe.spotify { display: block; }
.video { background-color: #120d0a; }

/* tipografía: lectura más cómoda */
body { font-kerning: normal; font-feature-settings: "kern", "liga", "clig"; font-variant-numeric: lining-nums; }
h1, h2, h3, .lead, .tagline, .hero p, .about-intro { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.card-body p, .g-meta, .specs dd span, .glance dd, .scenes li, .setup-list li { font-weight: 600; }
.g-meta, .card-body p { font-size: 1.12rem; }
.ab-list li, .setup-list li, .steps li p { line-height: 1.62; }
.site-footer { letter-spacing: .02em; }

/* texto de lectura más contundente */
.about-text p, .lead, .page-body p, .card-body p, .panel p, .steps p, .phase p, .setup-list li, .ab-list li { font-weight: 600; }
.site-header .tabs a { font-weight: 700; }
h3, .g-line strong { font-weight: 700; }

/* cabecera: más viva (subrayado que crece, brillo, barra de progreso y compactado al hacer scroll) */
.site-header { transition: padding .4s cubic-bezier(.22, .61, .36, 1), background .4s ease, box-shadow .4s ease, border-color .4s ease; }
.site-header.scrolled { padding-top: .42rem; padding-bottom: .42rem; background: rgba(14, 10, 8, .95); border-bottom-color: var(--line-strong); box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--accent), #f3d595); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }
.brand { transition: color .3s ease, text-shadow .3s ease, letter-spacing .4s cubic-bezier(.22, .61, .36, 1); }
.brand:hover { color: #f3d595; letter-spacing: .085em; text-shadow: 0 0 20px rgba(226, 191, 122, .5); }
.tabs a { position: relative; transition: color .25s ease, text-shadow .25s ease; }
.tabs a.active { border-bottom-color: transparent; }
.tabs a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .4s cubic-bezier(.22, .61, .36, 1); }
.tabs a:hover, .tabs a:focus-visible { color: var(--gold); text-shadow: 0 0 16px rgba(226, 191, 122, .4); }
.tabs a:hover::after, .tabs a:focus-visible::after, .tabs a.active::after { transform: scaleX(1); }
.menu-toggle { transition: background .25s ease, border-color .25s ease, color .25s ease; }
.menu-toggle:hover { background: rgba(201, 164, 92, .14); border-color: var(--gold); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .site-header.open .tabs { animation: menu-in .3s cubic-bezier(.22, .61, .36, 1) both; } }
@media (prefers-reduced-motion: reduce) { .site-header, .brand, .tabs a, .tabs a::after { transition: none; } .site-header.open .tabs { animation: none; } }

/* animaciones sutiles: entrada de títulos, escalonado, brillos y pequeños desplazamientos */
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes draw-line { from { clip-path: inset(0 50% 0 50%); opacity: 0; } to { clip-path: inset(0 0 0 0); opacity: 1; } }
.page-head h1, .hero h1 { animation: rise-in .8s cubic-bezier(.22, .61, .36, 1) .05s both; }
.page-head .divider, .about-text .divider { animation: draw-line .9s cubic-bezier(.22, .61, .36, 1) .3s both; }
.page-head .lead, .hero .eyebrow, .hero .tagline { animation: rise-in .8s cubic-bezier(.22, .61, .36, 1) .35s both; }
.divider i { transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
h1:hover + .divider i, h2:hover + .divider i { transform: rotate(225deg) scale(1.25); }

/* los elementos de una misma fila entran uno detrás de otro */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(n+6) { transition-delay: .38s; }

/* tarjetas de reels */
.card .video { transition: filter .5s ease; }
.card:hover .video { filter: brightness(1.1) saturate(1.05); }
.card:hover .play span { box-shadow: 0 0 0 3px rgba(14, 10, 8, .55), 0 0 0 4px var(--accent), 0 0 26px rgba(226, 191, 122, .5); }
.tags li { transition: background .3s ease, transform .3s ease; }
.tags li:hover { background: #e2bf7a; transform: translateY(-1px); }
.scenes li:hover { transform: translateY(-1px); }

/* lista de juegos y viñetas */
.gamelist li { transition: background .3s ease, transform .35s cubic-bezier(.22, .61, .36, 1); }
.gamelist li:hover { transform: translateX(4px); }
.g-line strong { transition: color .3s ease; }
.gamelist li:hover .g-line strong { color: var(--gold); }
.ab-list li::before { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.ab-list li:hover::before { transform: rotate(45deg) scale(1.5); }
.steps li, .setup-list li { transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.steps li:hover, .setup-list li:hover { transform: translateX(3px); }

/* cuadros */
.glance, .panel, .phase { transition: border-color .4s ease, box-shadow .4s ease; }
.glance:hover, .panel:hover, .phase:hover { border-color: var(--line-strong); box-shadow: 0 10px 28px rgba(0, 0, 0, .3); }
.to-top { transition: opacity .3s, transform .3s, background .2s, box-shadow .3s; }
.to-top:hover { box-shadow: 0 0 18px rgba(226, 191, 122, .35); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .page-head h1, .hero h1, .page-head .divider, .about-text .divider, .page-head .lead, .hero .eyebrow, .hero .tagline { animation: none; }
  .reveal { transition-delay: 0s !important; }
  .gamelist li:hover, .steps li:hover, .setup-list li:hover, .tags li:hover, .scenes li:hover { transform: none; }
}

/* más animaciones sutiles */
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.06) translate3d(-1.2%, -.8%, 0); } }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 0 rgba(226, 191, 122, 0); } 50% { box-shadow: 0 0 12px rgba(226, 191, 122, .5); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }

/* foto de la portada y fondos: movimiento muy lento, casi imperceptible */
.hero { overflow: hidden; }
.hero-media { animation: slow-zoom 22s ease-in-out infinite alternate; transform-origin: 70% 50%; }
@media (min-width: 721px) {
  body[data-page="portfolio"]::before, body[data-page="workflow"]::before { animation: drift 30s ease-in-out infinite alternate; will-change: transform; }
}

/* iconos de contacto: entran escalonados */
.badges .badge { animation: pop-in .6s cubic-bezier(.22, .61, .36, 1) both; }
.badges .badge:nth-child(1) { animation-delay: .5s; }
.badges .badge:nth-child(2) { animation-delay: .62s; }
.badges .badge:nth-child(3) { animation-delay: .74s; }
.badges .badge:nth-child(4) { animation-delay: .86s; }

/* rombo de los separadores: late despacio */
.divider i { animation: glow-pulse 5s ease-in-out infinite; }

/* botón principal: brillo que cruza al pasar el ratón */
.linkbtn { position: relative; overflow: hidden; }
.linkbtn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); transition: left .7s cubic-bezier(.22, .61, .36, 1); pointer-events: none; }
.linkbtn:hover::after { left: 130%; }

/* formulario: la etiqueta se ilumina al escribir */
.contact-form label { transition: color .25s ease; }
.contact-form label:focus-within { color: #f3d595; }

/* enlaces del pie y del menú móvil */
.site-footer { transition: color .3s ease; }
.site-footer:hover { color: var(--soft); }

/* los separadores de las secciones se dibujan al llegar a ellas (navegadores compatibles) */
@supports (animation-timeline: view()) {
  main section h2 + .divider { animation: draw-line linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media, body[data-page="portfolio"]::before, body[data-page="workflow"]::before, .badges .badge, .divider i, main section h2 + .divider { animation: none !important; }
  .linkbtn::after { display: none; }
}

/* ====== bordes más amables ====== */
:root { --radius: 16px; }
.card { border-radius: 20px; }
.glance, .panel, .phase { border-radius: 18px; }
.phase { border-left-width: 4px; }
.linkbtn, .menu-toggle { border-radius: 999px; }
.tags li { border-radius: 999px; padding: .28rem .75rem; }
.contact-form input, .contact-form textarea { border-radius: 14px; }
#toast, .toast { border-radius: 14px; }
.video { border-radius: 16px; }
.card .video { border-radius: 0; }
.band .video { border-radius: 18px; }
iframe.spotify, .spotify, .steam, .steam-wrap { border-radius: 14px; }
.card .spotify { border-radius: 0; }
.badge:focus-visible { border-radius: 14px; }
.site-header.scrolled { border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }
.card, .glance, .panel, .phase { border-color: rgba(201, 164, 92, .3); }

/* ====== animaciones un poco más marcadas ====== */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(30px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes drift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-2%, -1.4%, 0); } }
@keyframes glow-pulse { 0%, 100% { box-shadow: 0 0 0 rgba(226, 191, 122, 0); } 50% { box-shadow: 0 0 20px rgba(226, 191, 122, .8); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.85); } to { opacity: 1; transform: none; } }
.js .reveal:not(.in) { opacity: 0; transform: translateY(38px) scale(.98); }
.reveal:nth-child(2) { transition-delay: .12s; }
.reveal:nth-child(3) { transition-delay: .24s; }
.reveal:nth-child(4) { transition-delay: .36s; }
.reveal:nth-child(5) { transition-delay: .48s; }
.reveal:nth-child(n+6) { transition-delay: .55s; }
.card:hover { transform: translateY(-7px) scale(1.012); box-shadow: 0 22px 46px rgba(0, 0, 0, .55); border-color: var(--line-strong); }
.card:hover .video { filter: brightness(1.16) saturate(1.1); }
.video:hover .play span, .card:hover .play span { transform: scale(1.18); }
.badge:hover { transform: translateY(-6px) scale(1.06); }
.linkbtn:hover { transform: translateY(-3px); }
.tags li:hover, .scenes li:hover { transform: translateY(-2px); }
.gamelist li:hover { transform: translateX(10px); }
.steps li:hover, .setup-list li:hover { transform: translateX(8px); }
.ab-list li:hover::before { transform: rotate(45deg) scale(2); }
.glance:hover, .panel:hover, .phase:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: 0 16px 36px rgba(0, 0, 0, .4); }
.glance, .panel, .phase { transition: transform .45s cubic-bezier(.22, .61, .36, 1), border-color .4s ease, box-shadow .45s ease; }
.brand:hover { letter-spacing: .11em; text-shadow: 0 0 26px rgba(226, 191, 122, .65); }
.tabs a:hover, .tabs a:focus-visible { text-shadow: 0 0 20px rgba(226, 191, 122, .6); }
.to-top:hover { transform: translateY(-4px); box-shadow: 0 0 24px rgba(226, 191, 122, .5); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition-delay: 0s !important; }
  .card:hover, .glance:hover, .panel:hover, .phase:hover, .badge:hover, .linkbtn:hover, .gamelist li:hover, .steps li:hover, .setup-list li:hover, .tags li:hover, .scenes li:hover { transform: none; }
}

/* ====== delivery list + live musicians ====== */
.step-list { list-style: none; margin: .7rem 0 0; padding: 0; display: grid; gap: .35rem; }
.step-list li { color: var(--soft); font-weight: 600; padding-left: 1.1rem; position: relative; transform: none !important; }
.step-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.step-list strong { color: var(--gold); font-weight: 700; }
.phase.live { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-color: var(--line-strong); box-shadow: 0 0 28px rgba(226, 191, 122, .12); }
.phase.live h3 { margin-top: 0; }

/* ====== v3: curvas, cursor, miniaturas, micro-interacciones ====== */
:root { --ease: cubic-bezier(.16, 1, .3, 1); --ease-in: cubic-bezier(.7, 0, .84, 0); }
/* 1. curvas: entradas con frenada larga, salidas rápidas */
.js .reveal { transition: opacity .7s ease-out, transform 1s var(--ease); }
.js .reveal.done { transition: transform .55s var(--ease), box-shadow .5s ease, border-color .4s ease, background .3s ease, opacity .3s ease, filter .5s ease; transition-delay: 0s; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-in) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
::view-transition-group(root) { animation-timing-function: var(--ease); }
.tabs a, .brand, .linkbtn, .badge, .scenes li, .tags li, .gamelist li, .panel, .glance, .phase, .contact-form input, .contact-form textarea, .steps li, .setup-list li { transition-timing-function: var(--ease); }
.card { position: relative; --rx: 0deg; --ry: 0deg; transition: transform .6s var(--ease), box-shadow .5s ease, border-color .4s ease; }
/* 2. tarjetas con inclinación y brillo que siguen al cursor */
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(226, 191, 122, .17), transparent 62%); transition: opacity .45s ease; }
.card:hover::after { opacity: 1; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: perspective(1100px) translateY(-7px) scale(1.012) rotateX(var(--rx)) rotateY(var(--ry)); }
}
/* 5. miniaturas con fundido (el fondo ya no va en línea) */
.video::before { content: ""; position: absolute; inset: 0; background: var(--thumb, none) center / cover no-repeat; opacity: 0; transition: opacity .6s ease; }
.video.loaded::before, html:not(.js) .video::before { opacity: 1; }
.video .play, .video .pl { z-index: 1; }
/* 6. micro-interacciones */
.linkbtn:active, .menu-toggle:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
.badge:active { transform: scale(.95); transition-duration: .08s; }
.card:active { transform: translateY(-3px) scale(.995); transition-duration: .12s; }
.to-top { transition: opacity .3s, transform .65s cubic-bezier(.34, 1.56, .64, 1), background .2s, box-shadow .3s; }
.to-top:active { transform: scale(.9); transition-duration: .1s; }
a:focus-visible, button:focus-visible, .video:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; box-shadow: 0 0 0 7px rgba(226, 191, 122, .16); transition: outline-offset .2s var(--ease), box-shadow .3s ease; }
/* la línea de la pestaña activa se desliza de una página a otra */
.tabs a.active::after { view-transition-name: tab-line; }
::view-transition-group(tab-line) { animation-duration: .6s; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) { .card::after { display: none; } .card:hover { transform: none; } }

/* v4: juegos de Steam arriba + lista menor "Other projects" */
.other-head { margin: 2.6rem 0 .6rem; font-size: 1.15rem; color: var(--muted); }
.gamelist-small { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gamelist-small li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.gamelist-small p { margin: 0; }
.gamelist-small .g-line { font-size: 1.02rem; }
.gamelist-small .g-line strong { font-size: 1rem; }
.gamelist-small .g-meta { font-size: .95rem; margin-top: .1rem; }

/* v5: bloque Interactive music */
.phase.interactive .step-list { margin-top: .9rem; }
.phase.interactive p { margin-bottom: 0; }

/* v6: página Get in touch */
.contact-page { padding: 1.4rem 0 .4rem; }
body[data-page="contact"] .page-head { background: rgba(14, 10, 8, .45); }
.contact-strip { padding-top: 1.8rem; padding-bottom: 1.8rem; }
.contact-page { padding: 0; }

/* v7: Get in touch con briefing */
.contact-head .eyebrow { margin-bottom: .5rem; }
.brief { max-width: 760px; }
.brief .chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; }
.brief .chips legend { padding: 0; margin-bottom: .6rem; font: 700 .85rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.brief .chip { display: inline-block; position: relative; cursor: pointer; letter-spacing: normal; text-transform: none; font: 400 1rem var(--body, inherit); color: inherit; gap: 0; }
.brief .chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.brief .chip span { display: inline-block; padding: .5rem 1.05rem; border: 1px solid rgba(201, 164, 92, .35); border-radius: 999px; background: rgba(27, 20, 16, .72); color: #e4d8c2; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.brief .chip:hover span { border-color: var(--gold); transform: translateY(-2px); }
.brief .chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #1b1410; font-weight: 700; }
.brief .chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.contact-alt { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.6rem; padding-top: 1.6rem; padding-bottom: 2.4rem; color: var(--muted); }
.contact-alt p { margin: 0; }
.contact-alt .alt-links { display: flex; gap: 1.4rem; }
.contact-alt a { color: var(--gold); border-bottom: 1px solid rgba(201, 164, 92, .55); text-decoration: none; transition: color .2s, border-color .2s; }
.contact-alt a:hover { color: #f3d595; border-color: #f3d595; }
