  /* Un solo look (crema, blanco y negro), pedido por él: sin tema oscuro */
  :root {
    --cream: #EFE8DC;
    --cream-2: #E6DDCD;
    --white: #FFFFFF;
    --black: #0F0E0C;
    --muted: #6E675D;
    --line: #D6CCBB;
    --serif: "Instrument Serif", "Didot", "Bodoni 72", Georgia, serif;
    --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  section, footer.contact { scroll-margin-top: 64px; }
  body {
    margin: 0;
    background: var(--cream); color: var(--black);
    font: 400 17px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
  p { margin: 0; }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 4px; }
  .gutter { padding-inline: 20px; }
  .wrap { max-width: 1120px; margin: 0 auto; }
  .label {
    font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  }

  /* Botones */
  .btns { display: flex; flex-wrap: wrap; gap: 12px; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
    font: 600 15px/1 var(--sans); letter-spacing: .02em;
    padding: 17px 24px; border-radius: 999px; border: 1.5px solid var(--black);
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }
  .btn svg { width: 18px; height: 18px; flex: none; }
  .btn.solid { background: var(--black); color: var(--cream); }
  .btn.solid:hover { background: transparent; color: var(--black); }
  .btn.ghost { background: transparent; color: var(--black); }
  .btn.ghost:hover { background: var(--black); color: var(--cream); }
  .dark .btn { border-color: var(--cream); }
  .dark .btn.solid { background: var(--cream); color: var(--black); }
  .dark .btn.solid:hover { background: transparent; color: var(--cream); }
  .dark .btn.ghost { color: var(--cream); }
  .dark .btn.ghost:hover { background: var(--cream); color: var(--black); }

  /* Portada */
  .hero { padding-block: 48px 64px; }
  .hero .wrap {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 48px; align-items: center;
  }
  .hero-text { display: grid; gap: 28px; justify-items: start; }
  .hero h1 {
    font-family: var(--serif); font-size: clamp(76px, 13vw, 168px);
    line-height: .84; letter-spacing: -.02em;
  }
  .hero h1 i { display: block; padding-left: .5em; }
  .hero .intro { font-size: 19px; max-width: 34ch; }
  .hero .intro b { font-weight: 600; }
  .meta { display: flex; flex-wrap: wrap; gap: 10px 14px; color: var(--muted); }
  .meta span + span::before { content: "·"; margin-right: 14px; }

  .stage { position: relative; justify-self: center; width: min(100%, 330px); }
  .stage .phone { transform: rotate(2.5deg); }
  .avatar {
    position: absolute; left: -44px; bottom: 56px; width: 116px; height: 116px;
    border-radius: 50%; object-fit: cover; z-index: 2;
    border: 5px solid var(--cream); box-shadow: 0 12px 30px -12px rgba(15,14,12,.5);
  }

  /* Teléfono */
  .phone {
    position: relative; aspect-ratio: 9 / 16; max-width: 100%;
    background: var(--black); border-radius: 28px; overflow: hidden;
    border: 7px solid var(--black);
    box-shadow: 0 30px 60px -28px rgba(15,14,12,.55);
  }
  .phone video, .phone img.poster { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 21px; background: var(--black); }

  /* Cinta de formatos */
  .ticker { background: var(--black); color: var(--cream); overflow: hidden; padding-block: 18px; }
  .ticker-track { display: flex; width: max-content; will-change: transform; }
  .ticker-track.run { animation: slide var(--dur, 40s) linear infinite; }
  .ticker-group { display: flex; flex: none; }
  .ticker-track span {
    font: 400 italic 34px/1 var(--serif); white-space: nowrap; padding-inline: 22px;
    display: inline-flex; align-items: center; gap: 44px;
  }
  .ticker-track span::after { content: "✦"; font-style: normal; font-size: 16px; opacity: .55; }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* Secciones */
  section { padding-block: 88px; }
  .sec-head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 60ch; }
  .sec-head h2 { font-family: var(--serif); font-size: clamp(44px, 6.4vw, 76px); line-height: .95; letter-spacing: -.01em; }
  .sec-head h2 i { font-style: italic; }
  .sec-head p { color: var(--muted); font-size: 18px; }

  /* Trabajos */
  .works { background: var(--white); }
  .client {
    display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between;
    padding-block: 16px; margin-bottom: 44px; border-top: 1.5px solid var(--black); border-bottom: 1px solid var(--line);
  }
  .client strong { font: 400 28px/1.1 var(--serif); }
  .client a { color: var(--muted); text-decoration: none; font-size: 15px; }
  .client a:hover { color: var(--black); }
  .reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; max-width: 860px; }
  .reel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
  .reel .phone { width: min(100%, 360px); }
  .reel .play {
    position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; color: var(--black);
    display: grid; place-items: center; background: linear-gradient(to top, rgba(15,14,12,.5), rgba(15,14,12,0) 50%);
  }
  .reel .play span {
    width: 72px; height: 72px; border-radius: 50%; background: var(--cream);
    display: grid; place-items: center; transition: transform .2s ease;
  }
  .reel .play:hover span { transform: scale(1.08); }
  .reel .play svg { width: 24px; height: 24px; margin-left: 4px; }
  .reel .dur {
    position: absolute; left: 18px; bottom: 16px; color: var(--cream); pointer-events: none;
    font: 600 12px/1 var(--sans); letter-spacing: .16em;
  }
  .phone.playing .play, .phone.playing .dur { display: none; }
  .reel .kind { color: var(--muted); }
  .reel h3 { font: 400 36px/1 var(--serif); }
  .reel p { color: var(--muted); max-width: 40ch; }

  /* Proceso */
  .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; border-top: 1.5px solid var(--black); }
  .steps li { counter-increment: s; display: grid; gap: 12px; align-content: start; padding: 26px 22px 8px 0; }
  .steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
  .steps li::before { content: "0" counter(s); font: 400 italic 52px/1 var(--serif); }
  .steps h3 { font: 700 17px/1.25 var(--sans); }
  .steps p { color: var(--muted); font-size: 15.5px; }

  /* Contacto */
  .dark { background: var(--black); color: var(--cream); }
  .contact { padding-block: 104px 112px; }
  .contact .wrap { display: grid; gap: 28px; justify-items: start; }
  .contact h2 { font-family: var(--serif); font-size: clamp(56px, 10vw, 128px); line-height: .9; letter-spacing: -.015em; }
  .contact h2 i { font-style: italic; }
  .contact p { color: #B9B0A2; font-size: 18px; max-width: 46ch; }
  .channels { display: grid; gap: 0; width: min(100%, 560px); border-top: 1px solid #3A362F; }
  .channel {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
    padding-block: 20px; border-bottom: 1px solid #3A362F;
  }
  .channel .label { color: #B9B0A2; }
  .channel .value { font: 400 30px/1.1 var(--serif); user-select: all; word-break: break-all; }
  .channel .value a { text-decoration: none; }
  .channel .value a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
  .copy {
    background: none; border: 1px solid #5A554C; color: var(--cream); border-radius: 999px;
    font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 10px 14px; cursor: pointer;
  }
  .copy:hover { border-color: var(--cream); }


  #proceso { background: var(--white); }
  /* Sobre mí */
  .about .wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .about figure { margin: 0; position: relative; }
  .about figure img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
  .about figure figcaption {
    position: absolute; left: 18px; bottom: 18px; background: var(--cream); color: var(--black);
    padding: 9px 14px; border-radius: 999px;
  }
  .about-text { display: grid; gap: 22px; }
  .about-text h2 { font-family: var(--serif); font-size: clamp(44px, 6.4vw, 76px); line-height: .95; }
  .about-text h2 i { font-style: italic; }
  .about-text p { font-size: 18px; max-width: 44ch; }
  .about-text p.muted { color: var(--muted); }
  @media (max-width: 900px) {
    .about .wrap { grid-template-columns: 1fr; gap: 40px; }
    .about figure { max-width: 440px; }
  }
  @media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
    .stage { width: min(100%, 290px); }
    .steps { grid-template-columns: 1fr 1fr; }
    .steps li, .steps li + li { padding: 24px 18px 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
    .steps li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  }
  @media (max-width: 640px) {
    body { font-size: 16px; }
    .hero { padding-block: 32px 56px; }
    .hero h1 i { padding-left: .3em; }
    .avatar { left: -12px; width: 92px; height: 92px; }
    section { padding-block: 64px; }
    .reels { grid-template-columns: 1fr; gap: 56px; justify-items: center; }
    .reel { max-width: 360px; width: 100%; }
    .steps { grid-template-columns: 1fr; }
    .steps li, .steps li + li, .steps li:nth-child(even) { padding: 22px 0 20px; border-left: 0; }
    .ticker-track span { font-size: 28px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none; }
    .btn, .reel .play span { transition: none; }
  }

  /* Barra de navegación */
  .nav {
    position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
    background: rgba(239,232,220,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent; transition: border-color .2s ease;
  }
  .nav.scrolled { border-bottom-color: var(--line); }
  .nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
  .logo { font: 400 italic 26px/1 var(--serif); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
  .nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
  .nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; }
  .nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }
  .nav-links .btn { padding: 11px 18px; font-size: 14px; }
  @media (max-width: 760px) { .nav-links li:not(:last-child) { display: none; } }

  /* Pie de página */
  .site-footer { background: var(--black); color: #B9B0A2; border-top: 1px solid #2A2722; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 13.5px; }
  .site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
  .site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .site-footer a { color: #B9B0A2; text-decoration: none; }
  .site-footer a:hover { color: var(--cream); }

  /* Páginas legales */
  .legal { padding-block: 56px 88px; }
  .legal .wrap { max-width: 760px; }
  .legal h1 { font: 400 clamp(44px, 7vw, 72px)/1 var(--serif); margin-bottom: 10px; }
  .legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
  .legal h2 { font: 700 18px/1.3 var(--sans); margin: 34px 0 10px; }
  .legal p, .legal li { color: #3B3731; margin: 0 0 12px; }
  .legal ul { padding-left: 20px; margin: 0 0 12px; }
  .legal a { color: var(--black); text-underline-offset: 3px; }
  .legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 12px; }
  .legal dt { font-weight: 600; }
  .legal dd { margin: 0; color: #3B3731; }
  @media (max-width: 520px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
  .notfound { padding-block: 96px 120px; text-align: left; }
  .notfound .wrap { display: grid; gap: 22px; justify-items: start; }
  .notfound h1 { font: 400 clamp(64px, 12vw, 140px)/.9 var(--serif); }
  .notfound h1 i { font-style: italic; }
  .notfound p { color: var(--muted); font-size: 18px; max-width: 40ch; }


  /* Vista previa muda en cada trabajo */
  .reel .phone video.preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 21px; pointer-events: none; }
  .phone.playing video.preview { display: none; }
  .reel .play { z-index: 2; }
  .reel .dur { z-index: 3; }


  /* Trabajo destacado: vídeo a la izquierda y texto al lado */

  /* Cuadrícula compacta de trabajos (caben muchos) */
  .reels { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 48px 28px; max-width: none; }
  .reel { gap: 10px; }
  .reel .phone { width: 100%; border-width: 5px; border-radius: 22px; }
  .reel .phone video, .reel .phone video.preview { border-radius: 17px; }
  .reel .play span { width: 54px; height: 54px; }
  .reel .play svg { width: 20px; height: 20px; }
  .reel .dur { left: 14px; bottom: 12px; }
  .reel .who { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
  .reel h3 { font-size: 25px; line-height: 1.05; }
  .reel .kind { font-size: 10.5px; }
  .reel p { font-size: 14.5px; line-height: 1.5; }
  @media (max-width: 640px) {
    .reels { grid-template-columns: 1fr 1fr; gap: 36px 14px; justify-items: stretch; }
    .reel { max-width: none; }
    .reel .phone { border-width: 4px; border-radius: 16px; }
    .reel .phone video, .reel .phone video.preview { border-radius: 12px; }
    .reel .play span { width: 44px; height: 44px; }
    .reel h3 { font-size: 20px; }
    .reel p { display: none; }
    .reel .who { font-size: 11.5px; }
  }

  /* Portada: móvil que pasa de vídeo a vídeo deslizando hacia arriba, como Reels */
  .phone.story { overflow: hidden; }
  .story-track { position: absolute; inset: 0; }
  .story-slide { position: absolute; inset: 0; transform: translateY(100%); transition: transform .6s cubic-bezier(.77,0,.18,1); }
  .story-slide.on { transform: translateY(0); }
  .story-slide.out { transform: translateY(-100%); }
  .story-slide.from-top { transform: translateY(-100%); }
  .story-slide.to-bottom { transform: translateY(100%); }
  .story-track.instant .story-slide { transition: none; }
  .story-slide video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 21px; }
  .story-nav { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3; background: none; border: 0; padding: 0; cursor: pointer; }
  .story-nav.prev { left: 0; } .story-nav.next { right: 0; }

  /* === Blanco roto + azul pizarra (los tonos de la portada de "3 cosas") === */
  :root { --cream:#F2F0EB; --white:#FBFAF8; --black:#22252B; --muted:#6A6D73; --line:#DCD9D2; --accent:#5E6F86; --deep:#2C3644; }
  .nav { background: rgba(242,240,235,.9); }
  .hero h1 i, .sec-head h2 i, .about-text h2 i, .steps li::before { color: var(--accent); }
  .btn.solid { background: var(--accent); border-color: var(--accent); color: #F7F6F3; } .btn.solid:hover { background: transparent; color: var(--accent); }
  .btn.ghost { border-color: var(--accent); color: var(--accent); } .btn.ghost:hover { background: var(--accent); color: #F7F6F3; }
  .ticker { background: var(--accent); } .dark { background: var(--deep); } .contact h2 i { color: #B3C1D3; } .site-footer { background: #252E3A; border-top-color:#323C49; }
  .sec-head > .label, .hero-text > .label, .contact .wrap > .label, .reel .kind { color: var(--accent); } .steps { border-top-color: var(--accent); }
