/* ==========================================================================
   ContentDrop — styles.css
   Brand system: Direction 02 "Paper Pattern"
   Paper / Sand / Graphite + Vermilion accent. Outfit · Archivo · IBM Plex Mono.
   No rounded corners. No gradients. 16px baseline.
   ========================================================================== */

:root {
  --paper: #F5F2EC;
  --sand: #EBE7DE;
  --graphite: #141414;
  --vermilion: #D9502B;
  --rule: #CFC9BC;
  --stone: #8A8474;
  --ink: #3B3B38;
  --pine: #1F3A34;
  --paper-tint: #F1EEE7;

  --f-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", "Courier New", monospace;

  --u: 16px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--vermilion); color: var(--paper); }
:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--graphite); color: var(--paper); padding: 10px 16px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Type primitives ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--stone);
  line-height: 1.4;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--vermilion); flex: none; }
.on-dark .eyebrow { color: #A9A393; }

.h2 {
  font-family: var(--f-display); font-weight: 200;
  font-size: clamp(36px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.05em;
  color: var(--graphite); margin-top: 24px; max-width: 16ch;
  text-wrap: balance;
}
.h2 strong { font-weight: 600; }
.on-dark .h2 { color: var(--paper); }

.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); }
.muted { color: var(--stone); }
.mono { font-family: var(--f-mono); letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }

.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 500; color: var(--graphite); }
.on-dark .prose strong { color: var(--paper); }

.link {
  color: var(--graphite); text-decoration: none; font-weight: 500;
  background: linear-gradient(var(--vermilion), var(--vermilion)) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.link:hover { color: var(--vermilion); }
.on-dark .link { color: var(--paper); }
.on-dark .link:hover { color: #F07A56; }

/* ---------- Buttons (straight cut, no radius) ---------- */
.btn {
  --bg: var(--graphite); --fg: var(--paper); --bd: var(--graphite);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .arrow { display: inline-block; transition: transform .3s var(--ease-out); color: var(--vermilion); }
.btn:hover { --bg: var(--vermilion); --bd: var(--vermilion); }
.btn:hover .arrow { transform: translateX(4px); color: currentColor; }
.btn--ghost { --bg: transparent; --fg: var(--graphite); --bd: var(--graphite); }
.btn--ghost:hover { --bg: var(--graphite); --fg: var(--paper); --bd: var(--graphite); }
.btn--ghost:hover .arrow { color: var(--vermilion); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 11.5px; }
.on-dark .btn { --bg: var(--paper); --fg: var(--graphite); --bd: var(--paper); }
.on-dark .btn:hover { --bg: var(--vermilion); --fg: var(--paper); --bd: var(--vermilion); }

/* ---------- Wordmark / lockup ---------- */
.wm {
  display: inline-block; font-family: var(--f-display); letter-spacing: -0.04em; line-height: 1;
  color: var(--graphite); text-decoration: none; white-space: nowrap;
}
.wm .w-l { font-weight: 200; }
.wm .w-b { font-weight: 600; }

.lockup { display: inline-flex; flex-direction: column; align-items: stretch; }
.lockup__name { font-family: var(--f-display); letter-spacing: -0.045em; line-height: .9; color: var(--graphite); white-space: nowrap; font-size: inherit; margin: 0; }
.lockup__name .w-l { font-weight: 200; }
.lockup__name .w-b { font-weight: 600; }
.lockup__rule { display: block; height: 1px; background: var(--vermilion); margin: .16em 0 .14em; transform-origin: left center; }
.lockup__claim {
  display: block; white-space: nowrap;
  font-family: var(--f-mono); font-weight: 400; text-transform: uppercase;
  letter-spacing: .2em; color: var(--vermilion);
  font-size: calc(1em * var(--claim-ratio, .118)); /* JS refines this to the exact width of the name */
  line-height: 1.2;
}
.lockup__claim > span { margin-right: -.2em; } /* cancel trailing tracking so edges align */
.on-dark .lockup__name { color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(245, 242, 236, .82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rule); background: rgba(245, 242, 236, .92); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .wm { font-size: 26px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); }
.nav__link {
  position: relative; font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--graphite); padding: 8px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--vermilion);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .15em; }
.lang a, .lang span { padding: 6px 6px; text-decoration: none; color: var(--stone); }
.lang [aria-current="true"] { color: var(--graphite); font-weight: 500; }
.lang a:hover { color: var(--vermilion); }
.lang i { font-style: normal; color: var(--rule); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; position: relative;
}
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--graphite); transition: transform .35s var(--ease-out), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 860px) {
  /* backdrop-filter would become the containing block of the fixed nav — use a solid header on mobile */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .site-header.is-scrolled { background: var(--paper); }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 40px;
    padding: 40px var(--gutter) 48px; background: var(--paper);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility 0s .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
  .nav__list { flex-direction: column; gap: 6px; width: 100%; }
  .nav__link { display: block; font-family: var(--f-display); font-size: 40px; letter-spacing: -0.04em; text-transform: none; font-weight: 200; padding: 6px 0; border-bottom: 1px solid var(--rule); }
  .nav__link::after { display: none; }
  .menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: clamp(88px, 11vw, 168px) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--weave::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("assets/img/weave.png"); background-size: 128px; opacity: .35;
}
.section--dark { background: var(--graphite); color: #C9C4B8; }
.section__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
.section__head > .head-main { grid-column: 1 / span 7; }
.section__head > .head-aside { grid-column: 9 / span 4; align-self: end; }
@media (max-width: 860px) {
  .section__head { display: block; }
  .section__head > .head-aside { margin-top: 24px; }
}

/* ---------- Figure + tick frame + AI note ---------- */
.figure { position: relative; margin: 0; }
.figure__img { position: relative; overflow: hidden; background: var(--paper-tint); }
.figure__img img { width: 100%; height: 100%; object-fit: cover; }
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2;
  border-color: var(--vermilion); border-style: solid;
}
.ticks::before { top: -9px; left: -9px; border-width: 1px 0 0 1px; }
.ticks::after { bottom: -9px; right: -9px; border-width: 0 1px 1px 0; }
.figure__cap {
  display: flex; justify-content: space-between; gap: 16px; margin-top: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone);
}
.ai-note {
  position: absolute; right: 8px; bottom: 6px; z-index: 3;
  font-family: var(--f-mono); font-size: 8px; letter-spacing: .08em; line-height: 1;
  color: rgba(245, 242, 236, .55); text-shadow: 0 0 2px rgba(20, 20, 20, .25);
  pointer-events: none; user-select: none;
}

/* ---------- Reveal (content-first: visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(64px, 8vw, 120px); position: relative; }
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.hero__text { grid-column: 1 / span 7; position: relative; z-index: 2; }
.hero__media { grid-column: 8 / span 5; }
.hero__eyebrow { margin-bottom: clamp(28px, 4vw, 48px); }
.hero .lockup { font-size: clamp(52px, 8.9vw, 150px); }
.hero__sub {
  margin-top: clamp(32px, 4vw, 52px);
  font-family: var(--f-display); font-weight: 200; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -0.035em;
  color: var(--graphite); max-width: 22ch;
}
.hero__lead { margin-top: 24px; max-width: 54ch; font-size: 17.5px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media .figure__img { aspect-ratio: 4 / 5; }
.hero__note {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  font-size: 14px; line-height: 1.55; color: var(--ink);
}
.hero__note b { font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: .9; letter-spacing: -0.05em; color: var(--graphite); }

/* Hero entrance — the one intentional gesture: the vermilion rule is cut, the rest fades in */
.js .hero .lockup__rule { transform: scaleX(0); }
.js .hero-in .lockup__rule { transform: scaleX(1); transition: transform 1.1s var(--ease-out) .35s; }
.js .hero [data-in] { opacity: 0; transform: translateY(14px); }
.js .hero-in [data-in] { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .hero-in [data-in="1"] { transition-delay: .05s; }
.js .hero-in [data-in="2"] { transition-delay: .5s; }
.js .hero-in [data-in="3"] { transition-delay: .7s; }
.js .hero-in [data-in="4"] { transition-delay: .85s; }
.js .hero-in [data-in="5"] { transition-delay: .6s; }
.js .hero .figure__img img { transform: scale(1.06); }
.js .hero-in .figure__img img { transform: none; transition: transform 2.2s var(--ease-out) .2s; }

@media (max-width: 960px) {
  .hero__grid { display: block; }
  .hero .lockup { font-size: min(14.5vw, 120px); }
  .hero__media { margin-top: 56px; max-width: 520px; }
  .hero__media .figure__img { aspect-ratio: 5 / 4; }
}

/* ==========================================================================
   TICKER — "¿Te suena?"
   ========================================================================== */
.ticker { background: var(--graphite); color: var(--paper); border-top: 1px solid var(--graphite); overflow: hidden; }
.ticker__inner { display: flex; align-items: stretch; }
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 12px;
  padding: 0 clamp(16px, 3vw, 36px); background: var(--vermilion); color: var(--paper);
  font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  position: relative; z-index: 2;
}
.ticker__viewport { flex: 1; overflow: hidden; position: relative; }
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; flex: none; }
.ticker__item {
  display: flex; align-items: center; gap: 28px; padding: 22px 28px 22px 0; white-space: nowrap;
  font-family: var(--f-display); font-weight: 200; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: -0.03em;
}
.ticker__item::before {
  content: ""; width: 7px; height: 7px; background: var(--vermilion); transform: rotate(45deg); flex: none; margin-left: 28px;
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .ticker__inner { flex-direction: column; }
  .ticker__label { padding: 10px var(--gutter); }
}

/* ==========================================================================
   ENFOQUE (manifesto)
   ========================================================================== */
.manifesto__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.manifesto__text { grid-column: 1 / span 6; }
.manifesto__text .first {
  font-family: var(--f-display); font-weight: 200; font-size: clamp(22px, 2.1vw, 29px); line-height: 1.3; letter-spacing: -0.03em;
  color: var(--graphite);
}
.manifesto__text .pull {
  margin: 36px 0; padding-left: 24px; border-left: 1px solid var(--vermilion);
  font-family: var(--f-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.3; letter-spacing: -0.035em; color: var(--graphite);
}
.manifesto__media { grid-column: 8 / span 5; }
.manifesto__media .figure__img { aspect-ratio: 1 / 1; }
.audience {
  margin-top: 40px; padding: 28px; background: var(--sand);
}
.audience h3 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--vermilion); }
.audience ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.audience li {
  padding: 6px 12px; border: 1px solid var(--rule); background: var(--paper);
  font-size: 14px; color: var(--graphite);
}
.audience p { margin-top: 16px; font-size: 14.5px; line-height: 1.6; }
@media (max-width: 960px) {
  .manifesto__grid { display: block; }
  .manifesto__media { margin-top: 56px; max-width: 560px; }
}

/* ==========================================================================
   OFICIO
   ========================================================================== */
.craft__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; position: relative; }
.craft__media { grid-column: 1 / span 5; align-self: start; }
.craft__media .figure__img { aspect-ratio: 4 / 5; }
.craft__text { grid-column: 7 / span 6; }
.craft__text .h2 { max-width: 13ch; }
.craft__text .prose { margin-top: 36px; }
.craft__duo { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--graphite); }
.craft__duo > div { padding: 22px 24px 4px 0; }
.craft__duo > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.craft__duo h3 { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: -0.03em; color: var(--graphite); }
.craft__duo h3 img { width: 22px; height: 22px; }
.craft__duo p { margin-top: 10px; font-size: 15.5px; line-height: 1.6; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.badges li {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 12px; border: 1px solid var(--graphite); color: var(--graphite);
}
@media (max-width: 960px) {
  .craft__grid { display: flex; flex-direction: column-reverse; gap: 56px; }
  .craft__media { max-width: 520px; }
}
@media (max-width: 560px) {
  .craft__duo { grid-template-columns: 1fr; }
  .craft__duo > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* ==========================================================================
   SERVICIOS — 3 columns / 8 services
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--graphite); }
.service-group { padding: 32px 32px 8px 0; }
.service-group + .service-group { padding-left: 32px; border-left: 1px solid var(--rule); }
.service-group__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 132px; }
.service-group__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--stone); }
.service-group h3 {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.06; letter-spacing: -0.045em; color: var(--graphite);
  margin-top: 10px; max-width: 12ch;
}
.service-group__icon { width: 34px; height: 34px; flex: none; opacity: .9; }
.service {
  display: block; padding: 22px 0 24px; border-top: 1px solid var(--rule); position: relative;
  transition: padding-left .35s var(--ease-out);
}
.service:first-of-type { margin-top: 20px; }
.service::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--vermilion);
  transition: width .5s var(--ease-out);
}
.service:hover::before { width: 100%; }
.service__tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--vermilion); }
.service h4 { margin-top: 6px; font-family: var(--f-display); font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.025em; color: var(--graphite); }
.service p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink); }
.service p.service__channels { margin-top: 10px; font-family: var(--f-mono); font-size: 10.5px; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.services__foot { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--rule); }
.services__foot p { max-width: 60ch; }
@media (max-width: 1024px) {
  .services { grid-template-columns: 1fr; }
  .service-group, .service-group + .service-group { padding: 32px 0 8px; border-left: 0; }
  .service-group + .service-group { border-top: 1px solid var(--graphite); }
  .service-group__head { min-height: 0; }
}

/* ==========================================================================
   PROCESO — Diseño · Patrón · Confección · Escaparate
   ========================================================================== */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process__thread { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule); }
.process__thread i { position: absolute; inset: 0; background: var(--vermilion); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-out); }
.process.is-visible .process__thread i, .no-js .process__thread i { transform: scaleX(1); }
.step { padding-top: 28px; position: relative; }
.step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--vermilion); transform: rotate(45deg);
}
.step__num { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; color: var(--stone); }
.step h3 { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.05em; line-height: 1; color: var(--graphite); }
.step p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; }
.step .figure { margin-top: 24px; }
.step .figure__img { aspect-ratio: 1 / 1; }
@media (max-width: 1024px) { .process { grid-template-columns: repeat(2, 1fr); row-gap: 56px; } .process__thread { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .step .figure__img { aspect-ratio: 3 / 2; } }

/* ==========================================================================
   EQUIPO / TRAYECTORIA (dark)
   ========================================================================== */
.team__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.team__text { grid-column: 1 / span 6; }
.team__text .prose { margin-top: 36px; color: #C9C4B8; }
.team__lead-by {
  margin-top: 32px; padding: 22px 0; border-top: 1px solid #3B3B38; border-bottom: 1px solid #3B3B38;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.team__lead-by > span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #A9A393; }
.team__lead-by a { font-family: var(--f-display); font-size: 28px; letter-spacing: -0.04em; color: var(--paper); text-decoration: none; }
.team__lead-by a .w-l { font-weight: 200; }
.team__lead-by a .w-b { font-weight: 600; }
.team__lead-by a:hover { color: #F07A56; }
.team__lead-by > em { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--vermilion); }
.team__side { grid-column: 8 / span 5; }

.spec { border-top: 1px solid var(--paper); }
.spec__title { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #3B3B38; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #A9A393; }
.spec__row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid #3B3B38; }
.spec__num { font-family: var(--f-display); font-weight: 200; font-size: clamp(40px, 4.4vw, 60px); letter-spacing: -0.05em; line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.spec__num b { font-weight: 600; color: var(--vermilion); }
.spec__label { font-size: 14.5px; line-height: 1.45; color: #C9C4B8; }

.brands { margin-top: clamp(72px, 8vw, 120px); padding-top: 28px; border-top: 1px solid #3B3B38; }
.brands__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #A9A393; }
.brands__list { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 0; }
.brands__list li {
  font-family: var(--f-display); font-weight: 200; font-size: clamp(24px, 2.8vw, 40px); letter-spacing: -0.04em; line-height: 1.2; color: var(--paper);
}
.brands__list li::after { content: "/"; color: var(--vermilion); margin: 0 .45em; font-weight: 200; }
.brands__list li:last-child::after { content: none; }
@media (max-width: 960px) {
  .team__grid { display: block; }
  .team__side { margin-top: 64px; }
}

/* ==========================================================================
   PROYECTOS — editorial grid (home + page)
   ========================================================================== */
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types li { font-size: 13.5px; padding: 6px 12px; border: 1px solid var(--rule); color: var(--graphite); background: var(--paper); }
@media (max-width: 560px) { .types { gap: 6px; } .types li { font-size: 12.5px; padding: 4px 9px; } }

.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(20px, 3vw, 48px); row-gap: clamp(48px, 6vw, 88px); }
.pgrid > .ptile:nth-child(3n+2) { margin-top: clamp(40px, 7vw, 112px); }
.pgrid > .ptile:nth-child(3n+3) { margin-top: clamp(16px, 3vw, 48px); }
.ptile { display: block; text-align: left; border: 0; padding: 0; background: none; width: 100%; color: inherit; text-decoration: none; }
.ptile[hidden] { display: none; }
.ptile__frame { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.ptile__frame img, .ptile__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.ptile__frame.is-framed { padding: 12%; }
.ptile__frame.is-framed img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(20,20,20,.16)); }
.ptile__frame video { opacity: 0; transition: opacity .8s var(--ease), transform 1.2s var(--ease-out); }
.ptile__frame video.is-playing { opacity: 1; }
.ptile:hover .ptile__frame img, .ptile:hover .ptile__frame video { transform: scale(1.035); }
.ptile__frame.is-framed img { transition: transform 1.2s var(--ease-out); }
.ptile__more {
  position: absolute; left: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--paper); color: var(--graphite);
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.ptile__more::before { content: "+"; color: var(--vermilion); font-size: 14px; letter-spacing: 0; }
.ptile:hover .ptile__more, .ptile:focus-visible .ptile__more { transform: none; }
.ptile__count { position: absolute; top: 10px; right: 10px; z-index: 2; font-family: var(--f-mono); font-size: 10px; letter-spacing: .15em; color: rgba(245,242,236,.85); text-shadow: 0 0 6px rgba(20,20,20,.35); }
.ptile__frame.is-framed .ptile__count { color: var(--stone); text-shadow: none; }
.ptile__cap { display: block; margin-top: 14px; }
.ptile__meta { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.ptile__meta b { font-weight: 500; color: var(--vermilion); }
.ptile__title { display: block; margin-top: 4px; font-family: var(--f-display); font-weight: 200; font-size: 21px; letter-spacing: -0.03em; line-height: 1.2; color: var(--graphite); }
.projects__foot { margin-top: clamp(56px, 7vw, 96px); display: flex; justify-content: center; }
@media (max-width: 960px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pgrid > .ptile:nth-child(3n+2), .pgrid > .ptile:nth-child(3n+3) { margin-top: 0; }
  .pgrid > .ptile:nth-child(2n) { margin-top: clamp(32px, 8vw, 72px); }
}
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; row-gap: 48px; }
  .pgrid > .ptile:nth-child(2n) { margin-top: 0; }
  .ptile__more { transform: none; }
}

/* Filters (projects page) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 5vw, 64px); }
.filters button {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 14px; border: 1px solid var(--rule); background: transparent; color: var(--graphite);
  transition: border-color .2s, background-color .2s, color .2s;
}
.filters button:hover { border-color: var(--graphite); }
.filters button[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--paper); }
.filters button sup { color: var(--vermilion); font-size: 9px; margin-left: 4px; }

.page-hero { padding: calc(var(--header-h) + clamp(48px, 7vw, 104px)) 0 clamp(40px, 5vw, 72px); }
.page-hero h1 {
  font-family: var(--f-display); font-weight: 200; font-size: clamp(56px, 9vw, 144px); line-height: .92; letter-spacing: -0.055em; color: var(--graphite); margin-top: 24px;
}
.page-hero h1 strong { font-weight: 600; }
.page-hero .lead { margin-top: 28px; max-width: 58ch; }
.crumbs { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.crumbs a { color: var(--stone); text-decoration: none; }
.crumbs a:hover { color: var(--vermilion); }
.crumbs span { margin: 0 8px; color: var(--rule); }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 300; display: grid; grid-template-rows: auto 1fr auto;
  background: rgba(20, 20, 20, .985); color: var(--paper);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }
.lb__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--gutter); border-bottom: 1px solid #2A2A28; }
.lb__meta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #A9A393; }
.lb__meta b { color: var(--vermilion); font-weight: 500; }
.lb__close { width: 44px; height: 44px; border: 1px solid #3B3B38; background: none; color: var(--paper); font-size: 20px; line-height: 1; }
.lb__close:hover { border-color: var(--vermilion); color: var(--vermilion); }
.lb__stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px) clamp(56px, 8vw, 120px); touch-action: pan-y; }
.lb__slide { position: absolute; inset: clamp(12px, 3vw, 40px) clamp(56px, 8vw, 120px); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.lb__slide.is-active { opacity: 1; pointer-events: auto; }
.lb__slide img, .lb__slide video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border: 1px solid #3B3B38; background: rgba(20,20,20,.6); color: var(--paper); font-size: 18px; }
.lb__nav:hover { border-color: var(--vermilion); color: var(--vermilion); }
.lb__prev { left: clamp(8px, 2vw, 32px); }
.lb__next { right: clamp(8px, 2vw, 32px); }
.lb__bottom { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; padding: 18px var(--gutter) 22px; border-top: 1px solid #2A2A28; }
.lb__title { font-family: var(--f-display); font-weight: 200; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.04em; line-height: 1.1; color: var(--paper); }
.lb__desc { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: #C9C4B8; max-width: 70ch; }
.lb__count { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: #A9A393; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb__count b { color: var(--paper); font-weight: 500; }
.lb__bar { height: 1px; background: #2A2A28; position: relative; grid-column: 1 / -1; }
.lb__bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--vermilion); transition: width .5s var(--ease-out); }
@media (max-width: 640px) {
  .lb__stage { padding: 12px; }
  .lb__slide { inset: 12px; }
  .lb__nav { top: auto; bottom: 12px; transform: none; }
  .lb__desc { display: none; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.faq__head { grid-column: 1 / span 4; }
.faq__head .h2 { max-width: 9ch; }
.faq__list { grid-column: 6 / span 7; border-top: 1px solid var(--graphite); }
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 20px; align-items: start; padding: 24px 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; letter-spacing: -0.025em; color: var(--graphite); }
.faq__icon { position: relative; width: 28px; height: 28px; margin-top: 1px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13.5px; height: 1px; background: var(--graphite); transition: transform .35s var(--ease-out), background-color .2s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--vermilion); }
.faq__item summary:hover h3 { color: var(--vermilion); }
.faq__answer { padding: 0 48px 28px 0; font-size: 16px; line-height: 1.7; }
@media (max-width: 960px) {
  .faq__grid { display: block; }
  .faq__list { margin-top: 48px; }
  .faq__answer { padding-right: 0; }
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.contact__text { grid-column: 1 / span 5; }
.contact__text .h2 { max-width: 12ch; }
.contact__text .lead { margin-top: 28px; }
.contact__direct { margin-top: 40px; border-top: 1px solid var(--graphite); }
.contact__direct div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.contact__direct dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.contact__direct dd a { font-family: var(--f-display); font-size: 21px; letter-spacing: -0.03em; color: var(--graphite); text-decoration: none; }
.contact__direct dd a:hover { color: var(--vermilion); }
.contact__form { grid-column: 7 / span 6; background: var(--paper); padding: clamp(24px, 3.4vw, 48px); border: 1px solid var(--rule); position: relative; }
.field { display: block; margin-bottom: 22px; }
.field__label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--graphite); margin-bottom: 8px; }
.field__label i { font-style: normal; color: var(--vermilion); }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule); background: transparent; padding: 10px 0 12px;
  font-size: 17px; color: var(--graphite); border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .2s;
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #A9A393; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--graphite); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--vermilion); }
.field__error { display: none; margin-top: 8px; font-size: 13.5px; color: #B23E1E; }
.field.is-invalid .field__error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14px; line-height: 1.5; margin: 6px 0 26px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--graphite); border-radius: 0; }
.check.is-invalid span { color: #B23E1E; }
.form__note { margin-top: 16px; font-size: 13px; color: var(--stone); }
.form__done { display: none; padding: 20px 0 0; }
.form__done h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.04em; color: var(--graphite); }
.form__done p { margin-top: 8px; }
.contact__form.is-sent .form__done { display: block; }
.form__sent { display: none; padding: 20px 0 0; }
.form__sent h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: -0.04em; color: var(--graphite); }
.form__sent p { margin-top: 8px; }
.contact__form.is-delivered .form__sent { display: block; }
.contact__form.is-sending button[type="submit"] { opacity: .55; pointer-events: none; }
@media (max-width: 960px) {
  .contact__grid { display: block; }
  .contact__form { margin-top: 56px; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--graphite); color: #C9C4B8; padding: clamp(72px, 9vw, 128px) 0 28px; }
.site-footer .lockup { font-size: clamp(52px, 8.4vw, 124px); }
.site-footer .lockup__name { color: var(--paper); }
.footer__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid #3B3B38; }
.footer__col { grid-column: span 3; }
.footer__col h2 { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #A9A393; margin-bottom: 14px; }
.footer__col li + li { margin-top: 6px; }
.footer__col a { color: var(--paper); text-decoration: none; font-size: 15px; }
.footer__col a:hover { color: #F07A56; }
.footer__col p { font-size: 15px; line-height: 1.6; }
.footer__legal { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #8A8474; }
@media (max-width: 860px) { .footer__col { grid-column: span 6; } }
@media (max-width: 520px) { .footer__col { grid-column: 1 / -1; } }

/* ==========================================================================
   LEGAL pages
   ========================================================================== */
.legal { padding-bottom: clamp(88px, 10vw, 140px); }
.legal__body { max-width: 760px; }
.legal__body h2 { font-family: var(--f-display); font-weight: 600; font-size: 24px; letter-spacing: -0.035em; color: var(--graphite); margin: 48px 0 12px; }
.legal__body h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; color: var(--graphite); margin: 28px 0 8px; }
.legal__body p, .legal__body li { font-size: 16px; line-height: 1.7; }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { list-style: none; margin: 12px 0; }
.legal__body ul li { padding-left: 22px; position: relative; }
.legal__body ul li + li { margin-top: 6px; }
.legal__body ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--vermilion); }
.legal__body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14.5px; }
.legal__body th, .legal__body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.legal__body th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--stone); font-weight: 500; }
.ph { background: rgba(217, 80, 43, .12); color: #A63A1B; padding: 0 4px; font-family: var(--f-mono); font-size: .88em; }
.legal__updated { margin-top: 20px; }

/* ---------- Reduced motion: only intrusive effects ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation-duration: 140s; }
  html { scroll-behavior: auto; }
}
