/* ============================================================
   JP ACEVES — Portfolio / CV
   Réplica del sistema visual Hanza (Framer) en CSS puro.
   ============================================================ */
:root {
  --ink: #121212;
  --ink-2: #191919;
  --ink-3: #1d1d1d;
  --paper: #fcfcfc;
  --white: #ffffff;
  --gray: #f3f3f3;
  --line: #e8e8e8;
  --line-dark: rgba(255,255,255,.06);
  --line-dark-2: rgba(255,255,255,.1);
  --accent: #ff6044;
  --ink-60: rgba(18,18,18,.6);
  --ink-40: rgba(18,18,18,.4);
  --white-60: rgba(255,255,255,.6);
  --white-20: rgba(255,255,255,.2);
  --font-display: "Zalando Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: 48px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
@media (max-width: 1024px) { :root { --gutter: 32px; } }
@media (max-width: 640px)  { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.5;
  overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, h6 { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Page load fade ---------- */
body { opacity: 0; transition: opacity .5s ease; }
body.is-ready { opacity: 1; }

/* ---------- Grid lines de página (4 columnas) ---------- */
.page-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.page-lines span { border-left: 1px solid rgba(128,128,128,.18); }
.page-lines span:last-child { border-right: 1px solid rgba(128,128,128,.18); }
.page-lines.is-dark span { border-color: var(--line-dark); }
@media (max-width: 900px) { .page-lines { grid-template-columns: repeat(2, 1fr); } .page-lines span:nth-child(n+3) { display: none; } }

main { position: relative; z-index: 1; }

/* ---------- Tipografía ---------- */
.t-display { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.03em; line-height: .9; }
.t-h2 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(44px, 5.6vw, 80px); line-height: .9; letter-spacing: -.03em; }
.t-h2 .muted { color: var(--ink-60); }
.dark .t-h2 .muted, .t-h2.on-dark .muted { color: var(--white-60); }
.t-h3 { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
.t-sub { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink-60); }
.t-sub strong, .t-sub b { font-weight: 500; color: var(--ink); }
.dark .t-sub { color: var(--white-60); } .dark .t-sub strong, .dark .t-sub b { color: #fff; }
.t-mono { font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0; line-height: 1.2; }
.t-mono-lg { font-family: var(--font-mono); font-size: 14px; font-weight: 500; text-transform: uppercase; line-height: 1.1; }
.t-body { font-size: 16px; line-height: 1.5; color: var(--ink-60); }
.dark .t-body { color: var(--white-60); }
.t-big { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -.02em; }
.t-num { font-family: var(--font-display); font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -.03em; }

/* Etiqueta ■ 01 SECCIÓN */
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.label::before { content: ""; width: 5px; height: 5px; background: var(--accent); flex: 0 0 auto; }
.label .n { color: var(--ink-60); }
.dark .label .n { color: var(--white-60); }
.label.no-dot::before { display: none; }
.dark .label, .on-dark .label { color: #fff; }

/* Puntos de progreso ■ ■ ■ ■ */
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 5px; height: 5px; background: var(--line); display: block; }
.dark .dots i { background: var(--white-20); }
.dots i.on { background: var(--accent); }

/* ---------- Layout ---------- */
.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.section { position: relative; }
.section.dark, .dark { background: var(--ink); color: #fff; }
.section.light { background: var(--paper); }
.pad-y { padding-top: 128px; padding-bottom: 128px; }
.sticky-col { position: sticky; top: 64px; align-self: start; }
.hairline-top { border-top: 1px solid var(--line); }
.dark .hairline-top { border-color: var(--line-dark); }
@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
  .col-span-2, .col-span-3 { grid-column: span 2; }
  .pad-y { padding-top: 88px; padding-bottom: 88px; }
  .sticky-col { position: static; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .col-span-2, .col-span-3 { grid-column: span 1; }
}

/* ---------- Ruido ---------- */
.noise { position: absolute; inset: 0; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: stretch; height: 50px; background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.btn .btn-avatar { width: 50px; height: 50px; flex: 0 0 auto; object-fit: cover; border-right: 1px solid var(--line-dark-2); }
.btn .btn-txt { display: flex; align-items: center; gap: 8px; padding: 0 20px; font-family: var(--font-mono); font-size: 14px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.btn .btn-txt .slug { color: var(--white-60); font-size: 12px; }
.btn .btn-ico { width: 50px; flex: 0 0 auto; background: var(--accent); display: grid; place-items: center; }
.btn .btn-ico svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover .btn-ico svg { transform: scale(1.15) translateX(1px); }
.btn .btn-ico::after { content: ""; position: absolute; right: 0; top: 0; width: 50px; height: 100%; background: #fff; opacity: 0; transition: opacity .3s; }
.btn:hover .btn-ico::after { opacity: .08; }
.btn.ghost { background: var(--gray); color: var(--ink); }
.btn.ghost .btn-txt .slug { color: var(--ink-60); }
.btn.ghost .btn-ico { background: var(--ink); }
.btn.accent { background: var(--accent); }
.btn.accent .btn-ico { background: #fff; color: var(--ink); }
.btn.full { width: 100%; }
.btn.minimal { height: 44px; background: rgba(18,18,18,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); }
.btn.minimal .btn-txt { padding: 0 18px; font-size: 12px; letter-spacing: .02em; }
.btn.minimal .btn-ico { width: 44px; }
.site-header.on-light .btn.minimal { background: var(--ink); border-color: var(--ink); }
.btn.full .btn-txt { flex: 1; }
.dark .btn.ghost { background: var(--ink-2); color: #fff; }
.dark .btn.ghost .btn-ico { background: var(--accent); }

.btn-sm { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 12px; letter-spacing: -.01em; }
.btn-sm .sq { width: 22px; height: 22px; background: var(--accent); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.btn-sm .sq svg { width: 12px; height: 12px; }
.btn-sm:hover .sq { transform: translateX(3px); }
.btn-sm .sq.outline { background: transparent; color: inherit; border: 1px solid var(--line); }
.dark .btn-sm .sq.outline { border-color: var(--line-dark-2); }
.btn-sm.back .sq { transform: none; } .btn-sm.back:hover .sq { transform: translateX(-3px); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 20; padding: 48px var(--gutter) 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 98px; color: #fff; }
.site-header.on-light { color: var(--ink); }
.site-header .hd-left { display: flex; align-items: center; gap: 20px; }
.menu-btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: -.03em; text-transform: uppercase; }
.menu-btn .grid-ico { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.menu-btn .grid-ico i { width: 4px; height: 4px; background: currentColor; opacity: .5; transition: transform .4s var(--ease-out), opacity .3s; }
.menu-btn:hover .grid-ico i { opacity: 1; }
.menu-btn:hover .grid-ico i:nth-child(1) { transform: translate(-1px,-1px);} .menu-btn:hover .grid-ico i:nth-child(2) { transform: translate(1px,-1px);} .menu-btn:hover .grid-ico i:nth-child(3) { transform: translate(-1px,1px);} .menu-btn:hover .grid-ico i:nth-child(4) { transform: translate(1px,1px);}
.hd-sep { width: 16px; height: 1px; background: currentColor; opacity: .3; }
.brand { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -.04em; text-transform: uppercase; }
.brand sup { font-size: 10px; vertical-align: top; }
.hd-center { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.hd-center .clock { font-family: var(--font-display); font-size: 14px; letter-spacing: -.02em; }
.hd-center .lbl { opacity: .6; }
.hd-right { display: flex; justify-content: flex-end; }
.site-header.on-light .btn { background: var(--ink); color: #fff; }
@media (max-width: 900px) { .site-header { grid-template-columns: 1fr auto; padding-top: 24px; height: 74px; } .hd-center { display: none; } .btn .btn-avatar { display: none; } }
@media (max-width: 640px) { .site-header .hd-left { gap: 12px; } .hd-sep { display: none; } .brand { font-size: 18px; } .site-header .btn { height: 44px; } .site-header .btn .btn-txt { padding: 0 14px; font-size: 12px; } .site-header .btn .btn-txt .slug { display: none; } .site-header .btn .btn-ico { width: 44px; } }

/* ---------- Menú overlay ---------- */
.menu-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.4); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); opacity: 0; pointer-events: none; transition: opacity .4s; }
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-panel { position: fixed; z-index: 51; top: 110px; left: var(--gutter); width: min(660px, calc(100% - 2 * var(--gutter))); height: 500px; background: var(--ink); color: #fff; display: grid; grid-template-columns: 260px 1fr; overflow: hidden; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.menu-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.menu-nav { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.menu-nav a { font-family: var(--font-display); font-weight: 500; font-size: 14px; text-transform: uppercase; letter-spacing: -.02em; display: inline-block; transition: transform .3s var(--ease-out), color .3s; }
.menu-nav a:hover { transform: translateX(6px); color: var(--accent); }
.menu-nav .who img { width: 60px; height: 60px; object-fit: cover; margin-bottom: 20px; }
.menu-nav .who .name { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.menu-nav .who .role { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--white-60); margin-top: 6px; }
.menu-nav .socials { display: flex; gap: 14px; margin-top: 18px; }
.menu-nav .socials svg { width: 16px; height: 16px; opacity: .8; }
.menu-visual { display: grid; grid-template-rows: 1fr 1fr; }
.menu-visual a { position: relative; overflow: hidden; display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }
.menu-visual a img, .menu-visual a .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); filter: brightness(.7); }
.menu-visual a:hover img, .menu-visual a:hover .art { transform: scale(1.06); }
.menu-visual a span { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 700px) { .menu-panel { grid-template-columns: 1fr; height: auto; top: 90px; } .menu-visual { display: none; } }

/* ---------- Arte generado (sustituto de fotografía) ---------- */
.art { position: relative; overflow: hidden; background: #1a1210; }
.art::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); opacity: .18; mix-blend-mode: overlay; pointer-events: none; }
.art-ember { background: radial-gradient(120% 80% at 30% 60%, #ff8a5c 0%, #c8482a 25%, #5a2a1a 55%, #120c0a 100%); }
.art-teal  { background: radial-gradient(110% 90% at 70% 30%, #3f7a6a 0%, #1f4a44 35%, #0f2624 65%, #0a1212 100%); }
.art-blue  { background: radial-gradient(120% 90% at 30% 20%, #4a6cff 0%, #1e2f8c 35%, #0d1440 65%, #06081c 100%); }
.art-red   { background: radial-gradient(120% 90% at 60% 60%, #ff5c5c 0%, #8c1e2e 35%, #3b0d18 70%, #120608 100%); }
.art-gold  { background: radial-gradient(120% 90% at 40% 40%, #f0b35c 0%, #a5631f 35%, #4a2a10 70%, #140c06 100%); }
.art-mono  { background: radial-gradient(120% 90% at 40% 30%, #6a6a6a 0%, #333 40%, #151515 80%); }
.art .art-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(80% 80% at 50% 50%, #000 30%, transparent 100%); }
.art .art-glyph { position: absolute; right: 8%; bottom: 6%; font-family: var(--font-display); font-weight: 500; font-size: clamp(90px, 18vw, 260px); line-height: .8; letter-spacing: -.05em; color: rgba(255,255,255,.08); text-transform: uppercase; }
.art .art-code { position: absolute; left: 6%; top: 18%; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.35); white-space: pre; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100vh; min-height: 720px; max-height: 1100px; background: var(--ink); color: #fff; overflow: hidden; }
.hero .hero-bg { position: absolute; inset: 0; transform: scale(1.2); transition: transform 1.6s var(--ease-out); }
.hero.is-in .hero-bg { transform: scale(1); }
.hero .hero-bg .art { position: absolute; inset: 0; }
.hero .hero-bg .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 20%; filter: brightness(.62) contrast(1.08) saturate(.85); }
.hero .hero-bg .tint { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(196,85,46,.55) 0%, rgba(120,45,25,.5) 45%, rgba(18,18,18,.75) 100%); mix-blend-mode: multiply; }
.hero .hero-bg .tint2 { position: absolute; inset: 0; background: radial-gradient(60% 70% at 30% 45%, rgba(255,150,90,.28), transparent 70%); mix-blend-mode: screen; }
.hero .hero-bg .glow { position: absolute; width: 70vw; height: 70vw; border-radius: 50%; filter: blur(80px); opacity: .8; }
.hero .hero-bg .glow.g1 { left: -10%; top: 10%; background: radial-gradient(circle, #ffb27a 0%, #d0552e 40%, transparent 70%); }
.hero .hero-bg .glow.g2 { right: -20%; top: -20%; background: radial-gradient(circle, #ff6044 0%, #7a2a18 40%, transparent 70%); opacity: .5; }
.hero .hero-bg .glow.g3 { left: 30%; bottom: -30%; background: radial-gradient(circle, #f6d7b0 0%, #b04a24 45%, transparent 70%); opacity: .6; }
.hero .hero-bg .petal { position: absolute; left: 12%; top: 12%; width: 60vw; height: 60vh; border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; background: linear-gradient(135deg, rgba(255,232,200,.55), rgba(255,140,90,.15) 50%, transparent 80%); filter: blur(30px); transform: rotate(-18deg); }
.hero .hero-bg .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.2) 65%, rgba(0,0,0,.65) 100%), linear-gradient(90deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%); }
.hero .hero-lines { position: absolute; inset: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.hero .hero-lines .vl { position: relative; border-left: 1px solid rgba(255,255,255,.14); transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out); }
.hero .hero-lines .vl:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.hero.is-in .hero-lines .vl { transform: scaleY(1); }
.hero .hero-lines .vl:nth-child(2) { transition-delay: .1s } .hero .hero-lines .vl:nth-child(3) { transition-delay: .2s } .hero .hero-lines .vl:nth-child(4) { transition-delay: .3s }
/* Segmento luminoso que recorre la línea (réplica de "Vertical Grid Lines" de Framer) */
.hero .hero-lines .seg { position: absolute; left: -1px; top: 0; width: 1px; height: 12px; background: rgba(255,255,255,.75); box-shadow: 0 0 6px 2px rgba(255,255,255,.75); opacity: 0; will-change: transform, opacity; }
.hero .hero-lines .vl:last-child .seg.right { left: auto; right: -1px; }
.hero .hero-lines { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
.hero .site-header { position: absolute; top: 0; left: 0; right: 0; }
.hero .hero-content { position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; transform: translateY(20px); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero .hero-content > * { grid-column: 3; }
.hero .hero-content .hero-list { grid-column: 4; }
.hero .hero-claim { font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.3; text-transform: uppercase; letter-spacing: -.02em; color: var(--white-60); max-width: 300px; }
.hero .hero-claim strong { color: #fff; font-weight: 500; }
.hero .hero-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hero .hero-list li { display: flex; gap: 12px; align-items: baseline; font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.hero .hero-list li .n { font-family: var(--font-mono); color: var(--white-60); font-size: 16px; letter-spacing: -.02em; }
.hero .hero-list li.muted { color: var(--white-60); }
.hero .tick { display: block; width: 4px; height: 4px; background: rgba(255,255,255,.4); margin-top: 20px; }
.hero .hero-word { position: absolute; left: 50%; bottom: 48px; font-family: var(--font-display); font-weight: 500; font-size: clamp(96px, 12.4vw, 180px); line-height: .78; letter-spacing: -.04em; text-transform: uppercase; color: #fff; }
.hero .hero-bottom { position: absolute; left: var(--gutter); bottom: 56px; display: flex; align-items: center; gap: 16px; }
.hero .stack-badges { display: none; }
.hero .avail { display: flex; flex-direction: column; gap: 6px; }
.hero .avail .row { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 14px; }
.hero .avail .pulse { width: 8px; height: 8px; background: var(--accent); position: relative; }
.hero .avail .pulse::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--accent); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1 } 100% { transform: scale(1.6); opacity: 0 } }
.hero .avail .sub { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--white-60); }
.hero .avail .sub b { color: #fff; font-weight: 500; }
.hero .stack-badges { display: flex; }
.hero .stack-badges i { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #2a2a2a; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; color: #fff; margin-left: -10px; }
.hero .stack-badges i:first-child { margin-left: 0; }
/* entrada */
.hero .h-in { opacity: 0; transform: translateY(10px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.hero .hero-word.h-in { transform: translateY(50px); }
.hero.is-in .h-in { opacity: 1; transform: none; }
.hero.is-in .hero-claim.h-in { transition-delay: .8s } .hero.is-in .hero-list.h-in { transition-delay: .9s } .hero.is-in .hero-word.h-in { transition-delay: 1s } .hero.is-in .hero-bottom.h-in { transition-delay: 1.1s } .hero.is-in .site-header.h-in { transition-delay: .6s }
@media (max-width: 900px) {
  .hero { min-height: 640px; }
  .hero .hero-bg .photo { object-position: 27% 12%; }
  .hero .hero-content { grid-template-columns: 1fr; top: 44%; gap: 28px; }
  .hero .hero-content > *, .hero .hero-content .hero-list { grid-column: 1; }
  .hero .hero-word { left: var(--gutter); font-size: clamp(72px, 22vw, 160px); bottom: 120px; }
  .hero .hero-bottom { bottom: 40px; }
}

/* ============================================================
   LOGOS / STACK MARQUEE
   ============================================================ */
.marquee-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); padding: 0 var(--gutter); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee .item { width: 268px; height: 94px; display: flex; align-items: center; justify-content: center; gap: 10px; border-right: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.marquee .item svg { width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT (home)
   ============================================================ */
.about { padding: 80px var(--gutter) 0; }
.about .profile-card { background: #fff; border-top: 2px solid var(--accent); }
.about .profile-card img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(.1); }
.about .profile-card .pc-btn { margin: -50px 0 0 var(--gutter); position: relative; }
.about .profile-card .pc-body { padding: 24px; }
.about .profile-card .pc-name { display: flex; justify-content: space-between; align-items: center; }
.profile-card .pc-name .label { font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; }
.profile-card .pc-name .socials { flex: 0 0 auto; }
.socials { display: flex; gap: 12px; }
.socials a { display: grid; place-items: center; width: 20px; height: 20px; opacity: .8; transition: opacity .2s, transform .3s var(--ease-out); }
.socials a:hover { opacity: 1; transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }
.kv { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; }
.kv .k { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--ink-60); }
.kv .v { font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; text-align: right; }
.about .mission { grid-column: 3 / span 2; }
.about .mission-head { display: grid; grid-template-columns: 1fr 1fr; padding-bottom: 60px; }
.about .mission-head .t-mono { color: var(--ink-60); }
.about .mission-text { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -.02em; padding-bottom: 120px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat-card { border-top: 2px solid var(--accent); padding: 40px 40px 48px; min-height: 290px; display: flex; flex-direction: column; background: #fff; }
.stat-card.offset { margin-top: 140px; }
.stat-card .sc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 80px; }
.stat-card .sc-head .label .n { margin-right: 2px; }
.stat-card .t-num { margin-bottom: 20px; }
.stat-card p { color: var(--ink-60); max-width: 260px; }
.dark .stat-card { background: var(--ink-2); }
.dark .stat-card p { color: var(--white-60); }
@media (max-width: 900px) { .about .mission { grid-column: span 2; } .stat-card.offset { margin-top: 0; } .about .mission-text { padding-bottom: 64px; } }
@media (max-width: 640px) { .stat-grid { grid-template-columns: 1fr; } .about .mission { grid-column: span 1; } }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.section-head { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 var(--gutter); align-items: end; }
.section-head .label { align-self: start; }
.section-head .lead { grid-column: 3; }
.section-head .cta { grid-column: 4; justify-self: end; }
.portfolio-head { padding-top: 120px; padding-bottom: 96px; }
.portfolio-head .t-h2 { grid-column: 2 / span 2; margin-bottom: 40px; }
.work-card { position: relative; display: block; height: 90vh; min-height: 640px; max-height: 900px; color: #fff; overflow: hidden; background: var(--ink); margin-bottom: 400px; }
.work-card:last-of-type { margin-bottom: 0; }
.work-card .wc-img { position: absolute; inset: 0; }
.work-card .wc-img img, .work-card .wc-img .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.work-card:hover .wc-img img, .work-card:hover .wc-img .art { transform: scale(1.04); }
.work-card .wc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%); }
.work-card .wc-lines { position: absolute; inset: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); pointer-events: none; }
.work-card .wc-lines span { border-left: 1px solid rgba(255,255,255,.08); }
.work-card .wc-lines span:last-child { border-right: 1px solid rgba(255,255,255,.08); }
.work-card .wc-top { position: absolute; left: var(--gutter); right: var(--gutter); top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); }
.work-card .wc-top .meta { display: flex; gap: 10px; align-items: baseline; }
.work-card .wc-top .meta .k { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--white-60); }
.work-card .wc-top .meta .v { font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.work-card .wc-top .meta:nth-child(2) { grid-column: 3; } .work-card .wc-top .meta:nth-child(3) { grid-column: 4; }
.work-card .wc-bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 64px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.work-card .wc-bottom .wc-logo { grid-column: 3 / span 2; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -.03em; margin-bottom: 56px; }
.work-card .wc-bottom .wc-logo img, .work-card .wc-bottom .wc-logo svg { width: 22px; height: 22px; }
.work-card .wc-bottom .wc-desc { grid-column: 3; }
.work-card .wc-bottom .wc-tags { grid-column: 4; }
.work-card .wc-desc, .work-card .wc-tags { font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.3; text-transform: uppercase; letter-spacing: -.02em; color: var(--white-60); }
.work-card .wc-tags { color: #fff; }
.work-card .tick { display: block; width: 4px; height: 4px; background: rgba(255,255,255,.4); margin-top: 20px; }
.work-card .wc-thumb { position: absolute; left: var(--gutter); bottom: 64px; width: calc((100% - 2 * var(--gutter)) / 4); aspect-ratio: .75; overflow: hidden; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.work-card .wc-thumb img, .work-card .wc-thumb .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work-card .wc-thumb .btn { position: absolute; left: 50px; right: 0; bottom: 0; }
.work-card:hover .wc-thumb, .work-card.show-thumb .wc-thumb { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; } .section-head .lead, .section-head .cta { grid-column: 1; justify-self: start; } .portfolio-head .t-h2 { grid-column: 1; }
  .work-card { height: auto; min-height: 560px; margin-bottom: 120px; }
  .work-card .wc-top { grid-template-columns: 1fr 1fr 1fr; top: 40px; } .work-card .wc-top .meta:nth-child(2) { grid-column: 2; } .work-card .wc-top .meta:nth-child(3) { grid-column: 3; }
  .work-card .wc-bottom { grid-template-columns: 1fr 1fr; bottom: 40px; } .work-card .wc-bottom .wc-logo { grid-column: 1 / span 2; margin-bottom: 24px; } .work-card .wc-bottom .wc-desc { grid-column: 1; } .work-card .wc-bottom .wc-tags { grid-column: 2; }
  .work-card .wc-thumb { display: none; }
  .work-card .wc-lines { grid-template-columns: 1fr 1fr; } .work-card .wc-lines span:nth-child(n+3) { display: none; }
}

/* ============================================================
   SERVICES (Qué hago)
   ============================================================ */
.services { padding: 128px var(--gutter) 0; }
.services .svc-head { display: grid; grid-template-columns: repeat(4, 1fr); }
.services .svc-title { grid-column: 2; padding-bottom: 80px; }
.services .svc-title .t-h2 { margin-bottom: 64px; }
.services .svc-contact { grid-column: 4; }
.services .svc-contact .t-h3 { text-transform: uppercase; font-size: 28px; line-height: 1.1; color: var(--white-60); margin: 44px 0 32px; }
.services .svc-contact .t-h3 b { color: #fff; font-weight: 500; }
.contact-card { display: grid; grid-template-columns: 110px 1fr; background: var(--ink-3); border-top: 2px solid var(--accent); }
.contact-card img { width: 110px; height: 130px; object-fit: cover; }
.contact-card .cc-body { padding: 28px 24px 24px 32px; }
.contact-card .cc-name { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.contact-card .cc-role { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--white-60); margin: 6px 0 20px; line-height: 1.4; }
.accordion { grid-column: 2 / span 3; border-top: 1px solid var(--line-dark-2); }
.acc-item { border-bottom: 1px solid var(--line-dark-2); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 40px 40px; text-align: left; }
.acc-btn .acc-title { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.acc-btn .acc-title .n { font-family: var(--font-mono); font-size: 12px; color: var(--white-60); }
.acc-btn .acc-title::before { content: ""; width: 5px; height: 5px; background: var(--accent); align-self: center; opacity: 0; transition: opacity .3s; }
.acc-item.open .acc-btn .acc-title::before { opacity: 1; }
.acc-btn .plus { width: 16px; height: 16px; position: relative; transition: transform .4s var(--ease-out); }
.acc-btn .plus::before, .acc-btn .plus::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.acc-btn .plus::before { width: 16px; height: 1.5px; } .acc-btn .plus::after { width: 1.5px; height: 16px; }
.acc-item.open .acc-btn .plus { transform: rotate(45deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body > div { overflow: hidden; }
.acc-inner { display: grid; grid-template-columns: 200px 1fr 260px; gap: 48px; padding: 0 40px 56px; }
.acc-inner .ai-visual { aspect-ratio: 1; }
.acc-inner .ai-title { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1; text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 32px; }
.acc-inner .ai-text { color: var(--white-60); }
.acc-inner .ai-text p + p { margin-top: 16px; }
.acc-inner .ai-side .t-mono { color: var(--white-60); margin-bottom: 24px; }
.acc-inner .ai-side ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.acc-inner .ai-side li { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; }
.acc-inner .ai-side li::before { content: ""; width: 5px; height: 5px; background: var(--accent); }
.dark .acc-item.open .acc-btn { color: #fff; }
.light .accordion { border-color: var(--line); } .light .acc-item { border-color: var(--line); } .light .acc-btn .acc-title .n { color: var(--ink-60); }
@media (max-width: 900px) { .services .svc-head { grid-template-columns: 1fr; } .services .svc-title, .services .svc-contact, .accordion { grid-column: 1; } .acc-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 0 40px; } .acc-btn { padding: 28px 0; } .acc-inner .ai-visual { max-width: 240px; } }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 144px var(--gutter) 128px; }
.process .pr-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.process .pr-label { grid-column: 1; align-self: start; position: sticky; top: 64px; }
.process .pr-title { grid-column: 2; margin-bottom: 96px; }
.process .pr-lead { grid-column: 3; align-self: start; padding-left: 0; margin-top: 68px; margin-bottom: 96px; }
.process .pr-lead .t-sub { max-width: 280px; }
.steps { grid-column: 2 / span 3; display: grid; grid-template-columns: repeat(3, 1fr); }
.step { background: var(--ink-3); border-top: 2px solid var(--accent); padding: 40px 48px 56px; display: flex; flex-direction: column; min-height: 540px; }
.step:nth-child(2) { margin-top: 92px; } .step:nth-child(3) { margin-top: 184px; }
.step:nth-child(4) { } .step:nth-child(5) { } .step:nth-child(6) { }
.step .st-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 120px; }
.step .st-num { font-family: var(--font-display); font-weight: 500; font-size: 40px; letter-spacing: -.02em; }
.step .label { margin-bottom: 20px; }
.step .t-h3 { margin-bottom: 20px; }
.step p { color: var(--white-60); max-width: 260px; }
.step.cta { background: var(--accent); color: #fff; border: 0; padding: 60px 48px 48px; justify-content: flex-end; }
.step.cta .t-h3 { text-transform: uppercase; }
.step.cta .t-h3 .muted { color: rgba(255,255,255,.55); }
.step.cta p { color: rgba(255,255,255,.85); margin-bottom: 40px; }
.step.cta .t-mono { color: rgba(255,255,255,.7); margin-bottom: 16px; }
.step.cta ul { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.step.cta li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.step.cta li i { width: 20px; height: 20px; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.step.cta li i svg { width: 11px; height: 11px; }
.step.cta .btn { background: var(--ink); } .step.cta .btn .btn-ico { background: #fff; color: var(--ink); }
@media (max-width: 1100px) { .step { padding: 32px 28px 40px; min-height: 480px; } }
@media (max-width: 900px) { .process .pr-grid { grid-template-columns: 1fr; } .process .pr-label { position: static; margin-bottom: 40px; } .process .pr-title, .process .pr-lead, .steps { grid-column: 1; } .process .pr-lead { margin-top: 0; } .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(n) { margin-top: 0; min-height: 0; } .step .st-head { margin-bottom: 60px; } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   EXPERIENCE (sustituye Testimonials)
   ============================================================ */
.experience { padding: 128px var(--gutter); }
.experience .ex-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.experience .ex-left { grid-column: 1; position: sticky; top: 64px; align-self: start; padding-right: 40px; }
.experience .ex-left .label { margin-bottom: 80px; }
.experience .ex-left .t-h2 { margin-bottom: 36px; }
.experience .ex-left .t-sub { margin-bottom: 56px; max-width: 300px; }
.experience .ex-cards { grid-column: 3 / span 2; display: grid; grid-template-columns: 1fr 1fr; }
.exp-card { background: #fff; border-top: 2px solid var(--accent); padding: 40px 40px 56px; min-height: 520px; display: flex; flex-direction: column; }
.exp-card:nth-child(2) { margin-top: 120px; } .exp-card:nth-child(4) { margin-top: 0; }
.exp-card .ec-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.exp-card .ec-logo { width: 72px; height: 88px; display: grid; place-items: center; background: var(--gray); }
.exp-card .ec-logo img, .exp-card .ec-logo svg { width: 36px; height: 36px; }
.exp-card .ec-org { font-family: var(--font-display); font-weight: 500; font-size: 14px; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.exp-card .ec-role { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.exp-card .ec-when { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--ink-60); margin-top: 6px; margin-bottom: 64px; }
.exp-card .dots { margin-bottom: 24px; }
.exp-card .ec-text { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.3; letter-spacing: -.02em; }
@media (max-width: 900px) { .experience .ex-grid { grid-template-columns: 1fr; } .experience .ex-left { position: static; margin-bottom: 56px; } .experience .ex-left .label { margin-bottom: 40px; } .experience .ex-cards { grid-column: 1; } .exp-card:nth-child(2) { margin-top: 0; } .exp-card { min-height: 0; } }
@media (max-width: 640px) { .experience .ex-cards { grid-template-columns: 1fr; } }

/* ============================================================
   STATS strip
   ============================================================ */
.stats { padding: 80px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.stats .st { padding-right: 32px; }
.stats .t-num { margin-bottom: 28px; }
.stats .label { margin-bottom: 24px; }
.stats p { color: var(--ink-60); max-width: 280px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; gap: 48px 0; } }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ============================================================
   CASE STUDY (quote)
   ============================================================ */
.case { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.case .cs-text { padding: 64px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.case .cs-text .label { margin-bottom: 64px; }
.case .cs-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -.02em; }
.case .cs-quote .muted { color: var(--white-60); }
.case .cs-mark { color: var(--accent); font-family: var(--font-display); font-size: 80px; line-height: .5; margin-top: 40px; }
.case .cs-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 80px; }
.case .cs-stats .cst { border-top: 1px solid transparent; position: relative; padding-top: 24px; }
.case .cs-stats .cst::before { content: ""; position: absolute; left: 0; top: -2px; width: 5px; height: 5px; background: var(--accent); }
.case .cs-stats .t-num { font-size: 36px; margin-bottom: 12px; }
.case .cs-stats .t-mono { color: var(--white-60); margin-bottom: 20px; }
.case .cs-stats p { color: #fff; max-width: 240px; }
.case .cs-foot { display: grid; grid-template-columns: 1fr 1fr; align-items: center; margin-top: 56px; }
.case .cs-author { display: flex; align-items: center; gap: 14px; }
.case .cs-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.case .cs-author .name { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.case .cs-author .role { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--white-60); margin-top: 4px; }
.case .cs-visual { position: relative; overflow: hidden; }
.case .cs-visual img, .case .cs-visual .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case .cs-visual .cs-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.03em; color: #fff; }
.case .cs-visual .cs-logo img { position: static; width: 28px; height: 28px; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case .cs-visual { min-height: 480px; } }

/* ============================================================
   STACK (sustituye Pricing)
   ============================================================ */
.stack { padding: 128px var(--gutter); }
.stack .sk-head { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 96px; }
.stack .sk-head .center { grid-column: 2; text-align: center; padding: 0 20px; }
.stack .sk-head .label { margin-bottom: 40px; }
.stack .sk-head .t-h2 { margin-bottom: 32px; }
.stack .sk-head .t-sub { max-width: 320px; margin: 0 auto; }
.stack .plans { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; }
.plan { background: #fff; border-top: 2px solid transparent; }
.plan:nth-child(1) { margin-top: 160px; } .plan:nth-child(2) { border-top-color: var(--accent); } .plan:nth-child(3) { margin-top: 40px; }
.plan .pl-top { padding: 40px 40px 40px; border-bottom: 1px solid var(--line); }
.plan .pl-top .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.plan .tag { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; padding: 4px 10px; }
.plan .pl-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.plan .pl-price .t-num { font-size: 44px; }
.plan .pl-price .t-mono { color: var(--ink-60); }
.plan .pl-top p { color: var(--ink-60); }
.plan .pl-body { padding: 40px 40px 48px; }
.plan .pl-body .h { font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; margin-bottom: 24px; }
.plan ul { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.plan li { display: flex; align-items: center; gap: 12px; }
.plan li i { width: 20px; height: 20px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-40); }
.plan li i svg { width: 11px; height: 11px; }
.plan.featured li i { background: var(--accent); border-color: var(--accent); color: #fff; }
.plan.featured li.extra i { background: var(--ink); border-color: var(--ink); }
.plan .pl-foot { text-align: center; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--ink-60); margin-top: 20px; }
.plan .pl-foot b { color: var(--ink); font-weight: 500; }
.mini-cta { display: grid; grid-template-columns: 150px 1fr; background: var(--ink); color: #fff; margin-top: 60px; }
.mini-cta img { width: 150px; height: 100%; object-fit: cover; }
.mini-cta .mc-body { padding: 36px 32px; }
.mini-cta .mc-body .label { margin-bottom: 20px; color: var(--white-60); }
.mini-cta .mc-body .t-h3 { text-transform: uppercase; font-size: 22px; margin-bottom: 24px; }
@media (max-width: 900px) { .stack .sk-head { grid-template-columns: 1fr; } .stack .sk-head .center { grid-column: 1; } .stack .plans { grid-template-columns: 1fr; gap: 24px; } .plan:nth-child(n) { margin-top: 0; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 128px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.faq .faq-left { grid-column: 1; position: sticky; top: 64px; align-self: start; }
.faq .faq-left .label { margin-bottom: 64px; }
.faq .faq-left .t-h2 { margin-bottom: 36px; }
.faq .faq-left .t-sub { max-width: 330px; }
.faq .faq-list { grid-column: 3 / span 2; }
.faq .accordion { grid-column: auto; border-top: 2px solid var(--accent); }
.faq .acc-item { border-bottom: 1px solid var(--line); }
.faq .acc-btn { padding: 30px 32px; }
.faq .acc-btn .acc-title { font-size: 14px; }
.faq .acc-btn .acc-title .n { color: var(--ink-60); }
.faq .acc-inner { display: block; padding: 0 32px 32px; color: var(--ink-60); }
.faq .acc-inner p + p { margin-top: 16px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .faq .faq-left { position: static; margin-bottom: 48px; } .faq .faq-list { grid-column: 1; } .faq .acc-btn { padding: 24px 0; } .faq .acc-inner { padding: 0 0 24px; } }

/* ============================================================
   BLOG / NOTAS
   ============================================================ */
.notes { padding: 128px var(--gutter); }
.notes .nt-head { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; margin-bottom: 56px; }
.notes .nt-head .label { align-self: start; }
.notes .nt-head .t-h2 { grid-column: 2; }
.notes .nt-head .t-sub { grid-column: 3; text-align: right; padding-right: 0; }
.notes .nt-head .btn-sm { grid-column: 4; justify-self: end; }
.posts { display: grid; grid-template-columns: repeat(4, 1fr); }
.post { background: #fff; display: flex; flex-direction: column; }
.post:nth-child(2n) { margin-top: 112px; }
.post .po-date { display: flex; justify-content: space-between; align-items: center; padding: 16px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--ink-60); border-bottom: 1px solid var(--line); }
.post .po-img { aspect-ratio: 1; overflow: hidden; position: relative; }
.post .po-img img, .post .po-img .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post:hover .po-img img, .post:hover .po-img .art { transform: scale(1.05); }
.post .po-body { padding: 32px 32px 40px; }
.post .po-body .label { color: var(--ink-60); margin-bottom: 28px; }
.post .po-title { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 12px; }
.post .po-body p { color: var(--ink-60); margin-bottom: 28px; }
@media (max-width: 900px) { .notes .nt-head { grid-template-columns: 1fr; gap: 24px; } .notes .nt-head .t-h2, .notes .nt-head .t-sub, .notes .nt-head .btn-sm { grid-column: 1; text-align: left; justify-self: start; } .posts { grid-template-columns: 1fr 1fr; } .post:nth-child(2n) { margin-top: 0; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; border-top: 2px solid var(--accent); padding: 0 var(--gutter); }
.site-footer .ft-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 120px 0 0; }
.site-footer .ft-left { grid-column: 1; display: flex; flex-direction: column; justify-content: space-between; padding-right: 40px; }
.site-footer .ft-left .profile-card { background: var(--ink-2); border-top: 2px solid var(--accent); margin-top: 320px; }
.site-footer .ft-left .profile-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.site-footer .ft-left .profile-card .pc-btn { margin: -50px 0 0 48px; position: relative; }
.site-footer .ft-left .profile-card .pc-body { padding: 24px; }
.site-footer .ft-left .profile-card .pc-name { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 16px; text-transform: uppercase; }
.site-footer .kv .k { color: var(--white-60); }
.site-footer .ft-brand sup { font-size: .25em; vertical-align: top; position: relative; top: .35em; }
.site-footer .ft-brand { font-family: var(--font-display); font-weight: 500; font-size: clamp(72px, 7.6vw, 110px); line-height: .8; letter-spacing: -.05em; text-transform: uppercase; margin: 120px 0 80px; }
.site-footer .ft-main { grid-column: 3 / span 2; }
.site-footer .ft-main .label { margin-bottom: 64px; }
.site-footer .ft-main .t-h2 { margin-bottom: 80px; font-size: clamp(40px, 4.9vw, 70px); }
.site-footer .ft-row { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 64px; }
.site-footer .ft-row .t-sub { max-width: 280px; }
.site-footer .slots .dots { margin-bottom: 20px; }
.site-footer .slots .t-mono-lg { font-family: var(--font-display); font-size: 14px; }
.site-footer .slots .t-mono { color: var(--white-60); margin-top: 8px; }
/* form */
.form .field { border-top: 1px solid var(--line-dark-2); }
.form .field label { display: flex; align-items: center; gap: 10px; padding: 20px 0 12px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }
.form .field label::before { content: ""; width: 5px; height: 5px; background: var(--accent); }
.form input, .form textarea { width: 100%; background: var(--ink-2); border: 0; color: #fff; font: inherit; padding: 16px 20px; outline: none; border: 1px solid transparent; transition: border-color .3s; }
.form input:focus, .form textarea:focus { border-color: var(--accent); }
.form textarea { min-height: 150px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.4); }
.form .submit-row { display: grid; grid-template-columns: 1fr 1fr; align-items: start; margin-top: 32px; }
.form .submit-row .btn { width: 100%; }
.form .submit-row .btn.accent .btn-ico { background: #fff; color: var(--ink); }
.form .submit-row .btn.is-incomplete { background: var(--accent); }
.form .submit-row .btn.is-incomplete .btn-ico { background: #fff; color: var(--ink); }
.form .submit-row .btn.is-ready { background: var(--ink-2); }
.form .submit-row .btn.is-ready .btn-ico { background: var(--accent); color: #fff; }
.form .legal { text-align: right; font-size: 14px; color: var(--white-60); padding-left: 32px; overflow-wrap: anywhere; }
.form .legal a { color: #fff; }
.site-footer .ft-links { display: grid; grid-template-columns: 1fr 1fr; padding: 72px 0 0; border-top: 1px solid var(--line-dark-2); margin-top: 64px; }
.site-footer .ft-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer .ft-links a { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; transition: color .2s; }
.site-footer .ft-links a:hover { color: var(--accent); }
.site-footer .ft-addr { color: var(--white-60); line-height: 1.5; }
.site-footer .ft-mail { display: inline-block; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; letter-spacing: -.03em; margin: 40px 0 28px; border-bottom: 1px solid var(--line-dark-2); padding-bottom: 8px; word-break: break-all; }
.site-footer .ft-bottom { display: grid; grid-template-columns: repeat(4, 1fr); padding: 120px 0 40px; align-items: end; }
.site-footer .ft-bottom .crafted { display: flex; align-items: center; gap: 12px; }
.site-footer .crafted img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.site-footer .ft-left > .crafted { margin-bottom: 40px; }
.site-footer .ft-bottom .crafted .t-mono { color: var(--white-60); }
.site-footer .ft-bottom .crafted .name { font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; margin-top: 4px; }
.site-footer .ft-bottom .copy { grid-column: 3; font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; line-height: 1.5; color: var(--white-60); }
.site-footer .ft-bottom .legal-links { grid-column: 4; display: flex; flex-direction: column; gap: 2px; font-family: var(--font-display); font-weight: 500; font-size: 12px; text-transform: uppercase; }
@media (max-width: 900px) {
  .site-footer .ft-grid { grid-template-columns: 1fr; padding-top: 72px; }
  .site-footer .ft-left { order: 2; padding-right: 0; } .site-footer .ft-left .profile-card { margin-top: 48px; max-width: 360px; }
  .site-footer .ft-main { grid-column: 1; } .site-footer .ft-brand { margin: 64px 0 32px; }
  .site-footer .ft-row, .site-footer .ft-links, .form .submit-row { grid-template-columns: 1fr; gap: 24px; }
  .form .legal { text-align: left; }
  .site-footer .ft-bottom { grid-template-columns: 1fr; gap: 24px; padding-top: 64px; } .site-footer .ft-bottom .copy, .site-footer .ft-bottom .legal-links { grid-column: 1; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */
/* Page hero (light or dark, half layout) */
.page-hero { position: relative; }
.page-hero.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--ink); color: #fff; }
.page-hero.split .ph-text { padding: 0 var(--gutter) 64px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.page-hero.split .ph-text .label { margin-bottom: 40px; }
.page-hero.split .ph-text .t-display { font-size: clamp(56px, 6vw, 84px); margin-bottom: 48px; }
.page-hero.split .ph-text .t-display .muted { color: var(--white-60); }
.page-hero.split .ph-row { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.page-hero.split .ph-visual { position: relative; overflow: hidden; }
.page-hero.split .ph-visual img, .page-hero.split .ph-visual .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.split .ph-visual .big-word { position: absolute; left: 8%; bottom: 40px; font-family: var(--font-display); font-weight: 500; font-size: clamp(90px, 12vw, 200px); line-height: .78; letter-spacing: -.04em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.page-hero.split .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
@media (max-width: 900px) { .page-hero.split { grid-template-columns: 1fr; } .page-hero.split .ph-visual { min-height: 60vh; order: -1; } .page-hero.split .ph-text { padding-top: 64px; } .page-hero.split .site-header { position: relative; } }

/* Light page head (portfolio / blog / contact) */
.page-head { padding: 96px var(--gutter) 40px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.page-head .t-h2 { grid-column: 3 / span 2; margin-bottom: 72px; }
.page-head .t-sub { grid-column: 3; }
.page-head .filters { grid-column: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.page-head .cta { grid-column: 4; justify-self: end; }
.chip { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; padding: 6px 8px; border: 1px solid var(--line); background: #fff; transition: background .2s, color .2s; }
.chip.on, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 900px) { .page-head { grid-template-columns: 1fr; gap: 24px; } .page-head .t-h2, .page-head .t-sub, .page-head .filters, .page-head .cta { grid-column: 1; justify-self: start; margin-bottom: 0; } }

/* About page — direction */
.direction { padding: 128px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.direction .dr-left { grid-column: 1; position: sticky; top: 64px; align-self: start; }
.direction .dr-left .t-h2 { margin-bottom: 44px; }
.direction .dr-left .t-sub { max-width: 320px; margin-bottom: 56px; }
.direction .dr-main { grid-column: 3 / span 2; }
.direction .dr-main .label { margin-bottom: 56px; }
.direction .dr-main .t-big { margin-bottom: 48px; font-size: clamp(28px, 2.8vw, 40px); }
.direction .dr-main .t-body p + p { margin-top: 24px; }
.direction .dr-main .t-body { max-width: 680px; }
@media (max-width: 900px) { .direction { grid-template-columns: 1fr; } .direction .dr-left { position: static; margin-bottom: 56px; } .direction .dr-main { grid-column: 1; } }

/* Project detail */
.project-hero { position: relative; height: 100vh; min-height: 640px; background: var(--ink); color: #fff; overflow: hidden; }
.project-hero .art, .project-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.project-hero .pj-info { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 64px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.project-hero .pj-thumb { grid-column: 1; aspect-ratio: .75; position: relative; overflow: hidden; background: #000; }
.project-hero .pj-thumb img, .project-hero .pj-thumb .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero .pj-thumb .wc-logo { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; }
.project-hero .pj-meta { grid-column: 3; display: flex; flex-direction: column; gap: 10px; }
.project-hero .pj-meta .row { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }
.project-hero .pj-meta .row .k { color: var(--white-60); }
.project-hero .pj-title { grid-column: 3 / span 2; margin-top: 40px; }
.project-hero .pj-title .t-display { font-size: clamp(56px, 6.4vw, 92px); margin-bottom: 40px; }
.project-hero .pj-title .row { display: grid; grid-template-columns: 1fr 1fr; align-items: end; }
.project-hero .pj-title .t-sub { max-width: 280px; }
.project-hero .pj-title .pj-links { display: flex; gap: 32px; justify-self: end; }
.project-hero .pj-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,0) 35%, rgba(0,0,0,.65)); }
@media (max-width: 900px) { .project-hero .pj-info { grid-template-columns: 1fr; gap: 24px; } .project-hero .pj-thumb { display: none; } .project-hero .pj-meta, .project-hero .pj-title { grid-column: 1; } .project-hero .pj-title .row { grid-template-columns: 1fr; gap: 24px; } .project-hero .pj-title .pj-links { justify-self: start; } }

.project-body { padding: 96px var(--gutter) 128px; display: grid; grid-template-columns: repeat(4, 1fr); }
.project-body .pb-side { grid-column: 1; position: sticky; top: 64px; align-self: start; padding-right: 40px; }
.project-body .pb-side .quote { font-family: var(--font-display); font-weight: 500; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; color: var(--ink-60); margin: 24px 0 40px; }
.project-body .pb-side .quote b { font-weight: 500; color: var(--ink); }
.project-body .pb-side .cs-author { display: flex; gap: 12px; align-items: center; }
.project-body .pb-side .cs-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.project-body .pb-side .cs-author .name { font-family: var(--font-display); font-weight: 500; font-size: 14px; text-transform: uppercase; }
.project-body .pb-side .cs-author .role { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-60); margin-top: 3px; }
.project-body .pb-main { grid-column: 2 / span 3; display: grid; grid-template-columns: 1fr 2fr; }
.project-body .pb-main .block { grid-column: 1 / span 2; display: grid; grid-template-columns: 1fr 2fr; margin-bottom: 96px; }
.project-body .pb-main .block .label { align-self: start; color: var(--ink-60); }
.project-body .pb-main .block .bk-text .t-h3 { font-size: 26px; margin-bottom: 28px; }
.project-body .pb-main .block .bk-text p { color: var(--ink-60); }
.project-body .pb-main .block .bk-text p + p { margin-top: 16px; }
.project-body .pb-main .figure { grid-column: 2; margin-bottom: 96px; aspect-ratio: 4/3; position: relative; overflow: hidden; }
.project-body .pb-main .figure img, .project-body .pb-main .figure .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-body .pb-main .figure.tall { aspect-ratio: 3/4; }
.project-body .pb-main .result-stats { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.project-body .pb-main .result-stats .t-num { font-size: 44px; margin-bottom: 12px; }
.project-body .pb-main .result-stats .t-mono { color: var(--ink-60); margin-bottom: 16px; }
.project-body .pb-main .result-stats p { color: var(--ink-60); }
@media (max-width: 900px) { .project-body { grid-template-columns: 1fr; } .project-body .pb-side { position: static; margin-bottom: 56px; } .project-body .pb-main { grid-column: 1; grid-template-columns: 1fr; } .project-body .pb-main .block { grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; } .project-body .pb-main .figure, .project-body .pb-main .result-stats { grid-column: 1; margin-bottom: 56px; } }

.next-head { padding: 128px var(--gutter) 64px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.next-head .btn-sm { grid-column: 1; }
.next-head .t-h2 { grid-column: 3 / span 2; margin-bottom: 64px; }
.next-head .t-sub { grid-column: 3; }
@media (max-width: 900px) { .next-head { grid-template-columns: 1fr; gap: 24px; } .next-head .t-h2, .next-head .t-sub { grid-column: 1; margin-bottom: 0; } }

/* Blog post */
.post-hero { position: relative; height: 70vh; min-height: 520px; color: #fff; overflow: hidden; background: var(--ink); }
.post-hero .art, .post-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.post-hero .ph-info { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 56px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; }
.post-hero .ph-meta { grid-column: 1; display: flex; flex-direction: column; gap: 8px; }
.post-hero .ph-meta .row { display: flex; gap: 10px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; } .post-hero .ph-meta .row .k { color: var(--white-60); }
.post-hero .ph-title { grid-column: 3 / span 2; }
.post-hero .ph-title .t-display { font-size: clamp(36px, 3.6vw, 48px); line-height: 1; margin-bottom: 24px; }
.post-hero .pj-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.05) 35%, rgba(0,0,0,.6)); }
.post-body { padding: 64px var(--gutter) 128px; display: grid; grid-template-columns: repeat(4, 1fr); }
.post-body .pb-author { grid-column: 1; position: sticky; top: 64px; align-self: start; padding-right: 40px; }
.post-body .pb-author img { width: 100px; height: 100px; object-fit: cover; margin-bottom: 20px; }
.post-body .pb-author .name { font-family: var(--font-display); font-weight: 500; font-size: 14px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.post-body .pb-author .name::before { content: ""; width: 5px; height: 5px; background: var(--accent); }
.post-body .pb-author .role { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-60); margin: 6px 0 20px; }
.post-body .pb-author p { color: var(--ink-60); font-size: 14px; margin-top: 20px; }
.post-body .pb-content { grid-column: 3 / span 2; max-width: 680px; }
.post-body .pb-content .intro { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 40px; }
.post-body .pb-content p { color: var(--ink-60); margin-bottom: 20px; }
.post-body .pb-content h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; letter-spacing: -.02em; margin: 40px 0 20px; }
.post-body .pb-content .figure { aspect-ratio: 16/10; position: relative; overflow: hidden; margin: 40px 0; }
.post-body .pb-content .figure .art, .post-body .pb-content .figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-body .pb-content pre { background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; padding: 24px; overflow-x: auto; margin: 32px 0; }
.newsletter { border-top: 2px solid var(--accent); background: #fff; padding: 32px; margin: 48px 0; }
.newsletter .label { margin-bottom: 24px; }
.newsletter .t-h3 { text-transform: uppercase; font-size: 22px; margin-bottom: 12px; }
.newsletter .t-h3 .muted { color: var(--ink-60); }
.newsletter p { color: var(--ink-60); font-size: 14px; margin-bottom: 24px; }
.newsletter .nl-row { display: flex; height: 50px; }
.newsletter .nl-row .ico { width: 50px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.newsletter .nl-row .ico svg { width: 18px; height: 18px; }
.newsletter .nl-row input { flex: 1; border: 1px solid var(--line); border-left: 0; padding: 0 16px; font: inherit; outline: none; }
.newsletter .nl-row .go { background: var(--ink); color: #fff; padding: 0 20px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; }
.newsletter .fine { font-size: 12px; color: var(--ink-60); margin-top: 12px; }
@media (max-width: 900px) { .post-hero .ph-info { grid-template-columns: 1fr; gap: 24px; } .post-hero .ph-meta, .post-hero .ph-title { grid-column: 1; } .post-body { grid-template-columns: 1fr; } .post-body .pb-author { position: static; margin-bottom: 40px; } .post-body .pb-content { grid-column: 1; } }

/* Contact page */
.contact-page { padding: 96px var(--gutter) 128px; display: grid; grid-template-columns: repeat(4, 1fr); }
.contact-page .cp-left { grid-column: 1; position: sticky; top: 64px; align-self: start; padding-right: 0; }
.contact-page .cp-left .profile-card { background: #fff; border-top: 2px solid var(--accent); }
.contact-page .cp-left .profile-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.contact-page .cp-left .profile-card .pc-body { padding: 24px; }
.contact-page .cp-left .profile-card .pc-name { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 16px; text-transform: uppercase; }
.contact-page .cp-main { grid-column: 3 / span 2; }
.contact-page .cp-main .t-h2 { margin-bottom: 72px; }
.contact-page .cp-row { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 64px; }
.contact-page .cp-row .t-sub { max-width: 300px; }
.contact-page .form input, .contact-page .form textarea { background: var(--gray); color: var(--ink); }
.contact-page .form input::placeholder, .contact-page .form textarea::placeholder { color: var(--ink-40); }
.contact-page .form .field { border-color: var(--line); }
.contact-page .form .legal { color: var(--ink-60); } .contact-page .form .legal a { color: var(--ink); }
.contact-page .form .submit-row .btn.is-ready { background: var(--ink); }
@media (max-width: 900px) { .contact-page { grid-template-columns: 1fr; } .contact-page .cp-left { position: static; margin-bottom: 56px; max-width: 360px; } .contact-page .cp-main { grid-column: 1; } .contact-page .cp-row { grid-template-columns: 1fr; gap: 24px; } }

/* 404 */
.nf { padding: 120px var(--gutter) 160px; display: grid; grid-template-columns: repeat(4, 1fr); min-height: 80vh; align-items: center; }
.nf .nf-left { grid-column: 1; }
.nf .nf-left img { width: 100px; height: 120px; object-fit: cover; margin-bottom: 24px; }
.nf .nf-left .name { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }
.nf .nf-left .role { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--ink-60); margin: 6px 0 40px; }
.nf .nf-left .row { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; margin-bottom: 12px; }
.nf .nf-left .row::before { content: ""; width: 5px; height: 5px; background: var(--accent); }
.nf .nf-left .row .k { color: var(--ink-60); }
.nf .nf-main { grid-column: 3 / span 2; }
.nf .nf-main .t-h2 { margin-bottom: 56px; }
.nf .nf-main .t-sub { max-width: 300px; margin-bottom: 56px; }
@media (max-width: 900px) { .nf { grid-template-columns: 1fr; gap: 48px; } .nf .nf-main { grid-column: 1; } }

/* ---------- Reveal (IntersectionObserver) ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
.split-chars .ch { display: inline-block; opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); will-change: transform; }
.split-chars.in .ch { opacity: 1; transform: none; }
.split-chars .w { display: inline-block; white-space: nowrap; }
.scroll-words .sw { transition: opacity .5s var(--ease-out); opacity: .2; }
.scroll-words .sw.on { opacity: 1; }
.line-grow { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out); }
.line-grow.in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  [data-reveal], .split-chars .ch { opacity: 1; transform: none; }
  .scroll-words .sw { opacity: 1; }
}

/* ---------- Líneas del hero: solo las que no cruzan el cuerpo de la foto ---------- */
.hero .hero-lines .vl.off { border-left-color: transparent; }
@media (max-width: 900px) { .hero .hero-lines { display: none !important; } }

/* ============================================================
   PORTADAS DE SECCIÓN — The Raw Developer (réplica de las covers 1456×1048)
   ============================================================ */
.post.section-card .po-img { aspect-ratio: 1456 / 1048; container-type: inline-size; }
.cover { position: absolute; inset: 0; background: linear-gradient(160deg, #1c1c1c 0%, #0a0a0a 60%, #050505 100%); color: #fff; overflow: hidden; display: flex; flex-direction: column; padding: 6.05cqw 6.6cqw; box-sizing: border-box; transition: transform 1s var(--ease-out); }
.post:hover .cover { transform: scale(1.03); }
.cover .cv-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 4.95cqw 4.95cqw; }
.cover .cv-glow { position: absolute; left: var(--glow-x, 25%); top: var(--glow-y, 30%); width: 75cqw; height: 75cqw; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,.06) 40%, transparent 70%); filter: blur(4cqw); }
.cover .cv-grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.cover .cv-num { position: absolute; right: 3.8cqw; bottom: -6.5cqw; font-family: var(--font-display); font-weight: 600; font-size: 42.5cqw; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: .2cqw rgba(255,255,255,.28); }
.cover .cv-top { position: relative; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.8cqw; letter-spacing: .14em; text-transform: uppercase; }
.cover .cv-top .cv-sec { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; color: #8a8a8a; }
.cover .cv-rule { position: relative; height: .14cqw; background: #fff; margin-top: 2.2cqw; }
.cover .cv-title { position: relative; margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 10.2cqw; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
.cover .cv-title .stroke { color: transparent; -webkit-text-stroke: .2cqw #fff; }
.cover .cv-sub { position: relative; margin-top: 2.5cqw; font-family: var(--font-body); font-weight: 500; font-size: 2.45cqw; line-height: 1.3; color: #d6d6d6; max-width: 52cqw; }

/* ============================================================
   PORTADA WAYVER — réplica del preloader de wayver.app
   ============================================================ */
.wayver-cover { background: #0b0d0c; }
.wayver-cover img { filter: brightness(.7) saturate(.9); }
.wayver-cover .wv-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 25% 33.33%; pointer-events: none; }
.wayver-cover .wv-mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); display: inline-flex; align-items: baseline; font-family: var(--font-display); font-weight: 600; font-size: clamp(64px, 11.5vw, 190px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; color: #fff; white-space: nowrap; transition: transform 1.2s var(--ease-out), letter-spacing 1.2s var(--ease-out); }
.wayver-cover .wv-mark i { display: inline-block; width: .17em; height: .17em; background: #2a8b4c; margin-left: .05em; }
.work-card:hover .wayver-cover .wv-mark { transform: translate(-42%, -54%) scale(1.02); letter-spacing: -.03em; }
.work-card .wayver-cover ~ .wc-shade { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 35%, rgba(0,0,0,.45) 100%); }
@media (max-width: 900px) { .wayver-cover .wv-mark { font-size: clamp(48px, 15vw, 110px); } }

/* Miniatura Wayver (hover de la tarjeta): panel de marca, sin fotografía */
.wv-thumb { position: absolute; inset: 0; background: #0b0d0c; overflow: hidden; }
.wv-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.9); transform: scale(1.3); }
.wv-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.wv-thumb-mark { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 28px 28px 78px; color: #fff; }
.work-card .wc-thumb .wv-thumb-mark > img { position: static; inset: auto; width: 34px; height: 34px; margin-bottom: 8px; object-fit: contain; }
.wv-thumb-mark span { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.05; letter-spacing: -.03em; }
.wv-thumb-mark span i { display: inline-block; width: .3em; height: .3em; background: #2a8b4c; margin-left: .06em; }
.wv-thumb-mark small { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: rgba(255,255,255,.6); }

section[hidden], .stat-grid[hidden] { display: none !important; }

/* Tarjeta de perfil de "Mi misión": centrada en la mitad izquierda, no pegada al margen */
.about .grid-4 > .sticky-col { grid-column: 1 / span 2; justify-self: center; width: 100%; max-width: 360px; }
@media (max-width: 900px) { .about .grid-4 > .sticky-col { grid-column: span 2; max-width: 360px; justify-self: start; } }
@media (max-width: 640px) { .about .grid-4 > .sticky-col { grid-column: span 1; } }

/* Stack: tres columnas alineadas, con aire entre ellas (sin escalonado) */
.stack .plans { gap: 24px; align-items: stretch; }
.stack .plan:nth-child(n) { margin-top: 0; border-top: 2px solid var(--line); display: flex; flex-direction: column; }
.stack .plan:nth-child(2) { border-top-color: var(--accent); }
.stack .plan .pl-top { padding: 40px 40px 36px; }
.stack .plan .pl-body { padding: 36px 40px 44px; flex: 1; display: flex; flex-direction: column; }
.stack .plan .pl-body .btn { margin-top: auto; }
.stack .plan ul { gap: 12px; margin-bottom: 32px; }
.stack .plan .h { margin-bottom: 20px; }
.stack .sk-head { margin-bottom: 72px; }
.stack .plans + .plans { margin-top: 24px; }
@media (max-width: 900px) { .stack .plans { gap: 24px; } }
.stack .plan .pl-body .btn .btn-txt { flex: 1; }

/* ============================================================
   CERTIFICACIONES
   ============================================================ */
.certs { padding: 128px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.certs .ce-left { grid-column: 1 / span 2; position: sticky; top: 64px; align-self: start; }
.certs .ce-left .label { margin-bottom: 64px; }
.certs .ce-left .t-h2 { margin-bottom: 36px; }
.certs .ce-left .t-sub { max-width: 330px; }
.certs .ce-list { grid-column: 3 / span 2; border-top: 2px solid var(--accent); background: #fff; }
.cert { display: grid; grid-template-columns: 48px 1fr auto auto; align-items: center; gap: 24px; padding: 28px 32px; border-bottom: 1px solid var(--line); transition: background .3s; }
.cert:hover { background: var(--gray); }
.cert .ce-n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-60); }
.cert .ce-main { display: flex; flex-direction: column; gap: 6px; }
.cert .ce-title { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; letter-spacing: -.02em; }
.cert .ce-issuer { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--ink-60); }
.cert .ce-year { font-family: var(--font-mono); font-size: 12px; color: var(--ink-60); }
.cert .ce-logo { width: 40px; height: 40px; object-fit: contain; }
.cert.is-placeholder { opacity: .5; cursor: default; }
.cert.is-placeholder:hover { background: transparent; }
@media (max-width: 900px) { .certs { grid-template-columns: 1fr; } .certs .ce-left { position: static; margin-bottom: 48px; grid-column: 1; } .certs .ce-left .label { margin-bottom: 32px; } .certs .ce-list { grid-column: 1; } .cert { grid-template-columns: 32px 1fr; padding: 20px 16px; gap: 12px 16px; } .cert .ce-year { grid-column: 2; } .cert .btn-sm { grid-column: 2; } }
/* Tarjeta de proyecto: aire entre la descripción y las etiquetas */
.work-card .wc-bottom .wc-desc { padding-right: 64px; max-width: 360px; }
.work-card .wc-bottom .wc-tags { padding-left: 8px; }

/* ============================================================
   PORTADA NOTION — página flotante en CSS
   ============================================================ */
.nt-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; background: #fff; color: #111; font-family: var(--font-display); font-weight: 600; font-size: 14px; border-radius: 3px; }
.nt-ico.big { width: 40px; height: 40px; font-size: 24px; margin-bottom: 8px; }
.notion-cover .nt-page { position: absolute; left: 50%; top: 42%; width: min(480px, 52%); transform: translate(-50%, -50%) rotate(-2deg); background: #fff; color: #111; padding: 28px 32px; box-shadow: 0 40px 80px rgba(0,0,0,.5); transition: transform 1.2s var(--ease-out); }
.work-card:hover .notion-cover .nt-page { transform: translate(-50%, -54%) rotate(0deg) scale(1.02); }
.notion-cover .nt-page .nt-ico { background: #111; color: #fff; }
.notion-cover .nt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.notion-cover .nt-title { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.notion-cover .nt-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.notion-cover .nt-row i { width: 14px; height: 14px; border: 1.5px solid #111; border-radius: 3px; }
.notion-cover .nt-row i.on { background: #111; }
.notion-cover .nt-row b { height: 8px; background: #e6e6e6; border-radius: 2px; }
.notion-cover .nt-db { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 18px; }
.notion-cover .nt-db span { height: 26px; border: 1px solid #e6e6e6; border-radius: 3px; }
.notion-thumb .wv-thumb-mark span i { background: #fff; }
@media (max-width: 900px) { .notion-cover .nt-page { width: 78%; padding: 20px; } }
/* Tarjetas de proyecto seguidas, sin el hueco blanco de 400px entre ellas */
.work-card { margin-bottom: 24px; }
.work-card:last-of-type { margin-bottom: 0; }

/* Portada The Dossier Co.: textura del shader + marca */
.dossier-cover img { filter: grayscale(1) brightness(.62) contrast(1.1); }
.project-hero .dossier-texture { filter: grayscale(1) brightness(.6) contrast(1.1); }
.dossier-cover .wv-mark { font-size: clamp(40px, 7.6vw, 118px); letter-spacing: -.02em; white-space: nowrap; }
.work-card:hover .dossier-cover .wv-mark { transform: translate(-33%, -54%) scale(1); letter-spacing: -.02em; }
@media (max-width: 900px) { .dossier-cover .wv-mark { font-size: clamp(30px, 9vw, 72px); } }

/* ============================================================
   CATÁLOGO DE PLANTILLAS (proyecto Notion)
   ============================================================ */
.tpl-block .bk-text { grid-column: 1 / span 2; }
.project-body .pb-main .block.tpl-block { grid-template-columns: 1fr 2fr; }
.tpl-cat { margin-top: 40px; }
.tpl-cat > .label { color: var(--ink-60); margin-bottom: 20px; }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tpl { background: #fff; border-top: 2px solid var(--line); padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s; }
.tpl:hover { border-top-color: var(--accent); }
.tpl .tpl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tpl h4 { font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.tpl-badge { flex: 0 0 auto; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; padding: 4px 8px; background: var(--ink); color: #fff; white-space: nowrap; }
.tpl-badge.free { background: var(--accent); }
.tpl-badge.soon { background: transparent; color: var(--ink-60); border: 1px solid var(--line); }
.tpl p { color: var(--ink-60); font-size: 14px; line-height: 1.5; margin: 0; }
.tpl .tpl-who { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink); margin-top: auto; padding-top: 6px; }
.tpl .tpl-who span { color: var(--ink-60); margin-right: 6px; }
@media (max-width: 900px) { .project-body .pb-main .block.tpl-block { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tpl-grid { grid-template-columns: 1fr; } }

/* ============================================================
   VISOR DE CERTIFICADOS — cristal + holograma
   ============================================================ */
.cert-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 40px; background: rgba(8,8,8,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease-out); perspective: 1600px; }
.cert-modal.open { opacity: 1; pointer-events: auto; }
.cert-frame { position: relative; width: min(1100px, 92vw); max-height: 86vh; padding: 14px; border-radius: 10px; background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 45%, rgba(255,255,255,.12)); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 40px 120px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.35), inset 0 -1px 0 rgba(255,255,255,.08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transform: translateY(40px) rotateX(14deg) scale(.92); opacity: 0; transition: transform .8s var(--ease-out), opacity .6s var(--ease-out); transform-style: preserve-3d; will-change: transform; }
.cert-modal.open .cert-frame { transform: translateY(0) rotateX(0) scale(1); opacity: 1; }
.cert-frame::before { content: ""; position: absolute; inset: -1px; border-radius: 11px; padding: 1px; background: conic-gradient(from var(--holo-a, 0deg), rgba(255,255,255,.05), rgba(120,200,255,.9), rgba(255,120,220,.9), rgba(255,230,120,.9), rgba(120,255,200,.9), rgba(255,255,255,.05)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; animation: holo-spin 6s linear infinite; pointer-events: none; }
@keyframes holo-spin { to { --holo-a: 360deg; } }
@property --holo-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.cert-frame img { display: block; width: 100%; max-height: calc(86vh - 28px); object-fit: contain; border-radius: 6px; background: #000; }
.cert-frame .holo { position: absolute; inset: 14px; border-radius: 6px; pointer-events: none; mix-blend-mode: screen; opacity: .55; background: linear-gradient(115deg, transparent 25%, rgba(255,110,220,.35) 40%, rgba(110,220,255,.35) 50%, rgba(255,240,140,.3) 60%, transparent 75%); background-size: 250% 250%; background-position: var(--hx, 50%) var(--hy, 50%); transition: background-position .25s ease-out; }
.cert-frame .scan { position: absolute; inset: 14px; border-radius: 6px; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.cert-frame .shine { position: absolute; left: 14px; right: 14px; top: 14px; height: 40%; border-radius: 6px 6px 0 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent); }
.cert-cap { position: absolute; left: 14px; bottom: -44px; display: flex; gap: 14px; align-items: center; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: rgba(255,255,255,.7); }
.cert-cap::before { content: ""; width: 5px; height: 5px; background: var(--accent); }
.cert-close { position: absolute; right: 0; top: -52px; width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); backdrop-filter: blur(8px); transition: background .2s, transform .3s var(--ease-out); }
.cert-close:hover { background: rgba(255,255,255,.18); transform: rotate(90deg); }
.cert-close::before, .cert-close::after { content: ""; position: absolute; width: 16px; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.cert-close::after { transform: rotate(-45deg); }
@media (max-width: 640px) { .cert-modal { padding: 16px; } .cert-frame { padding: 8px; } .cert-frame .holo, .cert-frame .scan { inset: 8px; } .cert-cap { display: none; } }
@media (prefers-reduced-motion: reduce) { .cert-frame::before { animation: none; } }

/* ============================================================
   RECURSOS (misma anatomía que Certificaciones)
   ============================================================ */
.resources { padding-top: 0; }
.resources .res-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.res .ce-type { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-60); }

/* Visor: imágenes verticales (portadas de libros) */
.cert-frame.is-portrait { width: min(520px, 92vw); }

/* ---------- Conmutador de idioma ES / EN ---------- */
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; margin-right: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: inherit; border: 1px solid rgba(255,255,255,.22); background: rgba(18,18,18,.35); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .3s, background .3s; }
.lang-toggle span { opacity: .45; transition: opacity .3s; }
.lang-toggle span.on { opacity: 1; }
.lang-toggle i { width: 1px; height: 12px; background: currentColor; opacity: .3; }
.lang-toggle:hover { border-color: rgba(255,255,255,.5); background: rgba(18,18,18,.55); }
.site-header.on-light .lang-toggle { border-color: var(--line); background: #fff; color: var(--ink); }
.site-header.on-light .lang-toggle:hover { border-color: var(--ink); }
@media (max-width: 640px) { .lang-toggle { height: 40px; padding: 0 10px; margin-right: 8px; } }

/* ============================================================
   PORTADA NOTION — capturas reales apiladas
   ============================================================ */
.notion-cover .nt-stack { position: absolute; inset: 0; perspective: 1800px; }
.work-card .notion-cover .nt-stack img { position: absolute; inset: auto; left: 36%; top: 41%; width: min(620px, 42%); height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; border-radius: 8px; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 90px rgba(0,0,0,.6); transition: transform 1.1s var(--ease-out), filter .8s; }
.work-card .notion-cover .nt-stack .s-right { object-position: left 38%; }
.work-card .notion-cover .nt-stack .s-main { transform: translate(-50%, -50%) rotateX(6deg); z-index: 3; }
.work-card .notion-cover .nt-stack .s-left { transform: translate(-84%, -50%) rotateY(18deg) rotateZ(-3deg) scale(.82); filter: brightness(.6); z-index: 1; }
.work-card .notion-cover .nt-stack .s-right { transform: translate(-16%, -50%) rotateY(-18deg) rotateZ(3deg) scale(.82); filter: brightness(.6); z-index: 2; }
.work-card:hover .notion-cover .nt-stack .s-main { transform: translate(-50%, -52%) rotateX(0deg) scale(1.03); }
.work-card:hover .notion-cover .nt-stack .s-left { transform: translate(-96%, -52%) rotateY(14deg) rotateZ(-4deg) scale(.84); filter: brightness(.85); }
.work-card:hover .notion-cover .nt-stack .s-right { transform: translate(-4%, -52%) rotateY(-14deg) rotateZ(4deg) scale(.84); filter: brightness(.85); }
/* En la tarjeta de Notion la miniatura es solo el botón: las capturas ya son la portada */
.work-card[href="proyecto-notion.html"] .wc-thumb img { display: none; }
.work-card[href="proyecto-notion.html"] .wc-thumb { aspect-ratio: auto; height: 50px; overflow: visible; }
.work-card .notion-cover ~ .wc-shade { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 30%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.85) 100%); }
.project-body .pb-main .figure.shot { aspect-ratio: 16 / 10; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.12); }
.project-body .pb-main .figure.shot img { object-position: left top; }
@media (max-width: 900px) { .work-card .notion-cover .nt-stack img { width: 78%; top: 36%; } .work-card .notion-cover .nt-stack .s-left, .work-card .notion-cover .nt-stack .s-right { display: none; } }

/* Portada de marca "JP Aceves · Notion Templates" en formato vertical (miniatura del hero) */
.project-hero .pj-thumb.brand-thumb { container-type: inline-size; background: #0a0a0a; }
.cover.portrait { padding: 8cqw 8cqw 9cqw; background: linear-gradient(165deg, #232323 0%, #0e0e0e 55%, #060606 100%); }
.cover.portrait .cv-grid { background-size: 12.5cqw 12.5cqw; }
.cover.portrait .cv-glow { width: 120cqw; height: 120cqw; filter: blur(8cqw); }
.cover.portrait .cv-top { font-size: 3.2cqw; letter-spacing: .14em; }
.cover.portrait .cv-top .cv-sec { font-size: 3cqw; }
.cover.portrait .cv-rule { height: .35cqw; margin-top: 4cqw; }
.cover.portrait .cv-title { font-size: 13.4cqw; line-height: .96; letter-spacing: -.02em; }
.cover.portrait .cv-title .stroke { -webkit-text-stroke: .32cqw #fff; }

/* Subtítulos legibles sobre los heros oscuros de proyecto y nota */
.project-hero .t-sub, .post-hero .t-sub { color: var(--white-60); }
.project-hero .t-sub b, .project-hero .t-sub strong, .post-hero .t-sub b, .post-hero .t-sub strong { color: #fff; }

/* Portada vertical centrada, sin cabecera */
.cover.portrait.centered { justify-content: center; align-items: center; text-align: center; padding: 8cqw; }
.cover.portrait.centered .cv-title { margin-top: 0; }

/* ============================================================
   TIENDA DE PLANTILLAS
   ============================================================ */
.shop-head { padding-bottom: 24px; }
.shop-head .t-sub { grid-column: 3 / span 2; max-width: 560px; }
.shop-head .filters { align-self: end; }
.shop-block { padding: 96px var(--gutter) 0; }
.shop-block.first { padding-top: 40px; }
.shop-block:last-of-type { padding-bottom: 128px; }
.shop-block .sb-head { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 56px; align-items: start; }
.shop-block .sb-head .t-h2 { grid-column: 3 / span 2; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shop-grid.two { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.shop-card { background: #fff; border-top: 2px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, transform .5s var(--ease-out); }
.shop-card:hover { border-top-color: var(--accent); }
.shop-card .sc-link { display: flex; flex-direction: column; flex: 1; }
.shop-card .sc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0a; container-type: inline-size; }
.shop-card .sc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1s var(--ease-out); }
.shop-card:hover .sc-media img, .shop-card:hover .sc-media .cover { transform: scale(1.04); }
.cover.tpl-cover { justify-content: flex-end; padding: 7cqw; }
.cover.tpl-cover .cv-title { margin-top: 0; font-size: 9.6cqw; line-height: .95; }
.cover.tpl-cover .cv-title .stroke { -webkit-text-stroke: .22cqw #fff; }
.shop-card .sc-body { padding: 28px 28px 8px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.shop-card .sc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.shop-card .sc-head .label { color: var(--ink-60); }
.shop-card .sc-title { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.1; letter-spacing: -.02em; margin: 6px 0 0; }
.shop-card .sc-frase { color: var(--ink-60); }
.shop-card .sc-para { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; line-height: 1.5; color: var(--ink); }
.shop-card .sc-para span { color: var(--ink-60); margin-right: 6px; }
.shop-card .sc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-60); }
.shop-card .sc-list li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.shop-card .sc-foot { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px 28px; margin-top: auto; }
.shop-card .sc-price { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.shop-card.is-soon .sc-media, .shop-card.is-soon .sc-title, .shop-card.is-soon .sc-frase, .shop-card.is-soon .sc-price { opacity: .55; }
.shop-card.service { border-top-color: var(--accent); }
.shop-card.service .sc-body { padding-top: 32px; }
/* Detalle */
.shop-detail { padding: 56px var(--gutter) 96px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 48px; align-items: start; }
.shop-detail .det-left { grid-column: 1 / span 2; }
.shop-detail .det-right { grid-column: 3 / span 2; grid-row: 1 / span 2; position: sticky; top: 48px; }
.shop-detail .det-info { grid-column: 1 / span 2; margin-top: 64px; }
.det-gallery .dg-main, .det-gallery .dg-row > div { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0a0a0a; container-type: inline-size; }
.det-gallery .dg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.det-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.det-sticky { display: flex; flex-direction: column; gap: 20px; }
.det-head { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.det-head .label { color: var(--ink-60); }
.det-title { font-size: clamp(40px, 4.4vw, 64px); }
.det-price { font-family: var(--font-display); font-weight: 500; font-size: 40px; letter-spacing: -.03em; line-height: 1; }
.det-frase { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.det-right .kv { margin-top: 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); align-items: flex-start; }
.det-right .kv .v { font-size: 12px; max-width: 70%; line-height: 1.4; }
.det-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.det-actions .btn.full .btn-txt { flex: 1; }
.btn.is-disabled { background: var(--gray); color: var(--ink-40); cursor: not-allowed; }
.btn.is-disabled .btn-ico { background: var(--line); color: var(--ink-40); }
.btn.is-disabled:hover .btn-ico svg { transform: none; }
.det-actions .aviso { align-self: flex-start; margin-top: 4px; }
.det-block { border-top: 2px solid var(--accent); padding: 32px 0 48px; }
.det-block > .label { margin-bottom: 28px; }
.det-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.det-list li { display: flex; align-items: flex-start; gap: 14px; line-height: 1.45; }
.det-list li i { flex: 0 0 auto; width: 20px; height: 20px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-40); margin-top: 2px; }
.det-list li i svg { width: 11px; height: 11px; }
.det-list .n, .steps-recibir .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-60); flex: 0 0 auto; padding-top: 3px; }
.steps-recibir { background: var(--ink); color: #fff; padding: 36px 36px 32px; }
.steps-recibir .label { color: #fff; margin-bottom: 28px; }
.steps-recibir ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps-recibir li { display: flex; gap: 16px; font-family: var(--font-display); font-weight: 500; font-size: 18px; letter-spacing: -.02em; line-height: 1.3; }
.steps-recibir .n { color: var(--white-60); }
.steps-recibir .nota { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dark-2); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--white-60); }
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .shop-head .t-sub { grid-column: 1; }
  .shop-block .sb-head { grid-template-columns: 1fr; gap: 24px; } .shop-block .sb-head .t-h2 { grid-column: 1; }
  .shop-detail { grid-template-columns: 1fr; gap: 0; } .shop-detail .det-left, .shop-detail .det-right, .shop-detail .det-info { grid-column: 1; grid-row: auto; position: static; }
  .shop-detail .det-right { margin-top: 32px; }
}
@media (max-width: 640px) { .shop-grid, .shop-grid.two { grid-template-columns: 1fr; } .steps-recibir { padding: 28px 20px; } }

/* ============================================================
   PORTADA THE DOSSIER CO. — tratamiento cinematográfico
   Reposo: gris, visor de cámara tenue. Hover: etalonaje a color, letterbox 2.39:1,
   enfoque de la marca, barrido de luz y código de tiempo corriendo.
   ============================================================ */
.work-card .dossier-cover img { filter: grayscale(1) brightness(.6) contrast(1.1); transform: scale(1.04); transition: filter 1.4s var(--ease-out), transform 7s cubic-bezier(.2,.6,.2,1); }
.work-card:hover .dossier-cover img, .work-card.is-graded .dossier-cover img { filter: grayscale(0) brightness(.78) contrast(1.08) saturate(1.15); transform: scale(1.14); }
.dossier-cover .cine { position: absolute; inset: 0; pointer-events: none; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.dossier-cover .bar { position: absolute; left: 0; right: 0; height: 12%; background: #000; transform: scaleY(.35); transition: transform 1s var(--ease-out); }
.dossier-cover .bar.top { top: 0; transform-origin: top; } .dossier-cover .bar.bottom { bottom: 0; transform-origin: bottom; }
.work-card:hover .dossier-cover .bar, .work-card.is-graded .dossier-cover .bar { transform: scaleY(1); }
.dossier-cover .sweep { position: absolute; top: 0; bottom: 0; left: -30%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,210,170,.16) 45%, rgba(255,255,255,.22) 50%, rgba(255,210,170,.16) 55%, transparent); transform: skewX(-12deg); opacity: 0; }
.work-card:hover .dossier-cover .sweep { animation: cine-sweep 1.6s var(--ease-out) .15s 1; }
@keyframes cine-sweep { 0% { left: -30%; opacity: 0 } 15% { opacity: 1 } 100% { left: 110%; opacity: 0 } }
.dossier-cover .hud { position: absolute; left: 28%; right: 6%; top: 20%; bottom: 40%; opacity: .45; transition: opacity .8s var(--ease-out), inset 1s var(--ease-out); }
.work-card:hover .dossier-cover .hud, .work-card.is-graded .dossier-cover .hud { opacity: 1; left: 29%; right: 7%; top: 21%; bottom: 41%; }
.dossier-cover .hud .c { position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(255,255,255,.8); }
.dossier-cover .hud .tl { left: 0; top: 0; border-right: 0; border-bottom: 0; } .dossier-cover .hud .tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.dossier-cover .hud .bl { left: 0; bottom: 0; border-right: 0; border-top: 0; } .dossier-cover .hud .br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.dossier-cover .hud .cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%,-50%); opacity: .5; background: linear-gradient(#fff,#fff) center/1px 100% no-repeat, linear-gradient(#fff,#fff) center/100% 1px no-repeat; }
.dossier-cover .hud .rec { position: absolute; left: 34px; top: 4px; display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.dossier-cover .hud .rec b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: rec-blink 1.2s steps(1) infinite; }
@keyframes rec-blink { 50% { opacity: .15 } }
.dossier-cover .hud .tc { position: absolute; right: 34px; top: 4px; color: #fff; font-variant-numeric: tabular-nums; }
.dossier-cover .hud .spec { position: absolute; bottom: 4px; } .dossier-cover .hud .spec.l { left: 34px; } .dossier-cover .hud .spec.r { right: 34px; }
/* Enfoque de la marca: desenfocada en reposo, nítida al entrar */
.work-card .dossier-cover .wv-mark { filter: blur(5px); opacity: .7; letter-spacing: .02em; transition: filter 1.1s var(--ease-out), opacity 1s var(--ease-out), transform 1.2s var(--ease-out), letter-spacing 1.4s var(--ease-out); }
.work-card:hover .dossier-cover .wv-mark, .work-card.is-graded .dossier-cover .wv-mark { filter: blur(0); opacity: 1; letter-spacing: -.02em; }
.work-card .dossier-cover ~ .wc-shade { background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%); }
@media (max-width: 900px) { .dossier-cover .hud { left: 6%; right: 6%; top: 16%; bottom: 52%; } .dossier-cover .hud .spec { display: none; } }
@media (prefers-reduced-motion: reduce) { .dossier-cover .hud .rec b, .work-card:hover .dossier-cover .sweep { animation: none; } .work-card .dossier-cover .wv-mark { filter: none; opacity: 1; } }

/* The Dossier Co.: la miniatura es una claqueta, no una captura */
.work-card .wc-thumb.slate-thumb { aspect-ratio: auto; height: auto; overflow: visible; transform: translateY(16px) rotate(-3deg); transform-origin: left bottom; }
.work-card:hover .wc-thumb.slate-thumb, .work-card.show-thumb .wc-thumb.slate-thumb, .work-card.is-graded .wc-thumb.slate-thumb { transform: none; }
.slate { background: #0d0d0d; border: 1px solid rgba(255,255,255,.22); color: #fff; margin-bottom: 50px; box-shadow: 0 30px 60px rgba(0,0,0,.55); }
.slate .sl-clap { height: 34px; background: repeating-linear-gradient(115deg, #f4f4f4 0 26px, #0d0d0d 26px 52px); border-bottom: 1px solid rgba(255,255,255,.22); transform-origin: left bottom; transform: rotate(-9deg) translateY(-4px); transition: transform .45s cubic-bezier(.3,1.6,.5,1) .35s; }
.work-card:hover .slate .sl-clap, .work-card.is-graded .slate .sl-clap { transform: rotate(0) translateY(0); }
.slate .sl-body { display: grid; grid-template-columns: repeat(6, 1fr); }
.slate .sl-row { grid-column: span 2; padding: 12px 14px; border-right: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; gap: 6px; }
.slate .sl-row.full { grid-column: span 6; border-right: 0; } .slate .sl-row.half { grid-column: span 3; border-bottom: 0; }
.slate .sl-row:nth-child(4), .slate .sl-row.half:last-child { border-right: 0; }
.slate .sl-row span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.slate .sl-row b { font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1; }
.work-card .wc-thumb.slate-thumb .btn { left: 50px; right: 0; bottom: 0; }

/* Hero cinematográfico de la página de The Dossier Co. */
.project-hero.cine-hero > img.dossier-texture { filter: grayscale(1) brightness(.55) contrast(1.1); transform: scale(1.04); transition: filter 2.2s var(--ease-out) .6s, transform 14s cubic-bezier(.2,.6,.2,1) .6s; }
.project-hero.cine-hero.is-in > img.dossier-texture { filter: grayscale(0) brightness(.62) contrast(1.08) saturate(1.1); transform: scale(1.12); }
.project-hero.cine-hero .bar { height: 9%; transform: scaleY(0); transition: transform 1.4s var(--ease-out) .5s; }
.project-hero.cine-hero.is-in .bar { transform: scaleY(1); }
.project-hero.cine-hero .hud { left: var(--gutter); right: var(--gutter); top: 17%; bottom: auto; height: 64px; opacity: 0; transition: opacity 1s var(--ease-out) 1.2s; }
.project-hero.cine-hero.is-in .hud { opacity: .9; }
.project-hero.cine-hero .hud .bl, .project-hero.cine-hero .hud .br { display: none; }
.project-hero.cine-hero .site-header, .project-hero.cine-hero .pj-info { z-index: 6; }
.project-hero .pj-thumb.slate-holder { aspect-ratio: auto; background: transparent; overflow: visible; grid-row: 1 / span 2; align-self: end; }
.project-hero .pj-thumb.slate-holder .slate { margin-bottom: 0; }
.project-hero.cine-hero.is-in .slate .sl-clap { transform: rotate(0) translateY(0); transition-delay: 1.5s; }

/* ============================================================
   CRONOLOGÍA — columna izquierda de cada proyecto, con progreso por scroll
   ============================================================ */
.project-body .pb-side { padding-right: 56px; }
.tl { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.tl > .label { color: var(--ink-60); margin-bottom: 28px; }
.tl ol { list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: flex; flex-direction: column; gap: 26px; }
.tl ol::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl ol::after { content: ""; position: absolute; left: 4px; top: 6px; width: 1px; height: calc((100% - 12px) * var(--tl-p, 0)); background: var(--accent); transition: height .25s linear; }
.tl li { position: relative; display: flex; flex-direction: column; gap: 4px; opacity: .45; transition: opacity .5s var(--ease-out); }
.tl li::before { content: ""; position: absolute; left: -26px; top: 5px; width: 9px; height: 9px; background: var(--paper); border: 1px solid var(--ink-40); transition: background .4s, border-color .4s, transform .4s var(--ease-out); z-index: 1; }
.tl li.on { opacity: 1; }
.tl li.on::before { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.tl .tl-date { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-60); }
.tl .tl-title { font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: -.02em; line-height: 1.2; }
.tl .tl-text { font-size: 13px; line-height: 1.45; color: var(--ink-60); }
@media (max-width: 900px) { .project-body .pb-side { padding-right: 0; } .tl li { opacity: 1; } .tl ol::after { display: none; } }

/* Listas de las páginas de proyecto: etiqueta en negrita y texto en la misma línea */
.project-body .plan li { display: block; position: relative; padding-left: 34px; line-height: 1.5; }
.project-body .plan li i { position: absolute; left: 0; top: 2px; }
.project-body .plan li b { font-weight: 600; }

/* Columna izquierda de proyecto: siempre visible al hacer scroll y compacta para caber en pantalla */
.project-body .pb-side { top: 28px; }
.project-body .pb-side .cs-mark { font-size: 48px !important; }
.project-body .pb-side .quote { font-size: 16px; margin: 14px 0 22px; }
.tl { margin-top: 30px; padding-top: 22px; }
.tl > .label { margin-bottom: 20px; }
.tl ol { gap: 18px; }
.tl .tl-text { font-size: 12.5px; line-height: 1.4; }
@media (max-height: 860px) { .tl ol { gap: 14px; } .project-body .pb-side .quote { font-size: 15px; } }
@media (max-height: 760px) { .tl .tl-text { display: none; } }

/* La cita se queda arriba; solo la cronología acompaña el scroll, así nunca se corta */
@media (min-width: 901px) {
  .project-body .pb-side { position: static; align-self: stretch; }
  .project-body .pb-side .tl { position: sticky; top: 24px; margin-top: 30px; max-height: calc(100vh - 48px); }
}
@media (max-height: 700px) { .tl .tl-text { display: none; } .tl ol { gap: 16px; } }
@media (max-height: 520px) { .tl > .label { margin-bottom: 12px; } .tl ol { gap: 10px; } .tl .tl-title { font-size: 14px; } }

/* Bloque "Ver la tienda" en la página del proyecto Notion */
.project-body .pb-main .shop-cta { grid-column: 1 / span 2; margin-bottom: 96px; background: var(--ink); color: #fff; border-top: 2px solid var(--accent); padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.shop-cta .label { color: #fff; margin-bottom: 24px; }
.shop-cta .t-h3 { font-size: 30px; line-height: 1.12; max-width: 620px; margin-bottom: 16px; }
.shop-cta p { color: var(--white-60); max-width: 560px; }
.btn.big { height: 64px; background: var(--accent); }
.btn.big .btn-txt { font-size: 16px; padding: 0 28px; }
.btn.big .btn-txt .slug { color: rgba(255,255,255,.7); }
.btn.big .btn-ico { width: 64px; background: #fff; color: var(--ink); }
.btn.big .btn-ico svg { width: 22px; height: 22px; }
.btn.big:hover .btn-ico svg { transform: translateX(4px) scale(1.1); }
.project-hero .pj-links .btn { background: var(--accent); }
.project-hero .pj-links .btn .btn-ico { background: #fff; color: var(--ink); }
@media (max-width: 900px) { .project-body .pb-main .shop-cta { grid-column: 1; grid-template-columns: 1fr; padding: 32px 24px; margin-bottom: 56px; } .btn.big { width: 100%; } .btn.big .btn-txt { flex: 1; } }

/* ============================================================
   HERO NOTION — la portada de marca a pantalla completa
   ============================================================ */
.project-hero.notion-hero { background: linear-gradient(160deg, #262626 0%, #101010 55%, #060606 100%); }
.notion-hero .nh-bg { position: absolute; inset: 0; }
.notion-hero .nh-bg .cv-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 88px 88px; }
.notion-hero .nh-bg .cv-glow { position: absolute; left: 68%; top: 30%; width: 70vw; height: 70vw; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.2) 0%, rgba(255,255,255,.05) 40%, transparent 70%); filter: blur(60px); }
.notion-hero .nh-bg .cv-grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.notion-hero .nh-title { position: absolute; left: var(--gutter); right: var(--gutter); top: 21%; margin: 0; display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 8.2vw, 132px); line-height: .94; letter-spacing: -.02em; text-transform: uppercase; color: #fff; }
.notion-hero .nh-title .stroke { color: transparent; -webkit-text-stroke: 2px #fff; white-space: nowrap; }
.notion-hero .pj-info { grid-template-columns: repeat(4, 1fr); }
.notion-hero .pj-meta { grid-column: 3 / span 2; }
.notion-hero .pj-title { grid-column: 3 / span 2; margin-top: 28px; }
@media (max-height: 760px) and (min-width: 901px) { .notion-hero .nh-title { top: 17%; font-size: clamp(44px, 7vw, 104px); } }
@media (max-width: 900px) { .notion-hero .nh-title { position: relative; left: auto; right: auto; top: auto; padding: 120px var(--gutter) 0; font-size: clamp(40px, 12.5vw, 84px); } .notion-hero .nh-title .stroke { white-space: normal; -webkit-text-stroke: 1.5px #fff; } .project-hero.notion-hero { height: auto; min-height: 100vh; padding-bottom: 48px; } .notion-hero .pj-info { position: relative; left: auto; right: auto; bottom: auto; padding: 48px var(--gutter) 0; } .notion-hero .pj-meta, .notion-hero .pj-title { grid-column: 1; } }
