/* Juan Mastral · personal site. Palette from brand-context/assets/identidad-documentos.md */
:root {
  --night: #05080F;
  --bg: #0B1220;
  --bg-2: #111A2C;
  --line: rgba(238, 243, 250, .1);
  --line-2: rgba(238, 243, 250, .18);
  --ink: #EEF3FA;
  --ink-2: #A9B3C4;
  --ink-3: #6B7588;
  --accent: #38B8FF;
  --blue: #3496E3;
  --lima: #B6FF3B;
  --display: "Sora", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --text: "Inter", "SF Pro Text", -apple-system, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lima); color: var(--night); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--lima); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.pad { padding: clamp(96px, 14vw, 180px) 0; }

/* Grain overlay for a filmic finish */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--text); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow .num { color: var(--accent); font-variant-numeric: tabular-nums; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow.bare::before { display: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.03em; line-height: 1; }
.h-xl { font-size: clamp(44px, 8vw, 128px); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.h-lg { font-size: clamp(36px, 5.6vw, 84px); letter-spacing: -.04em; line-height: .98; }
.h-md { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; }
.lead { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 640px; line-height: 1.55; }
.hl { color: var(--lima); }
.ac { color: var(--accent); }
.mute { color: var(--ink-3); }
.outline { -webkit-text-stroke: 1.2px var(--ink); color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--lima); --f: var(--night);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--b); color: var(--f); font: 600 15px/1 var(--text); letter-spacing: .01em;
  overflow: hidden; isolation: isolate; transition: transform .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink);
  transform: translateY(101%); transition: transform .6s var(--ease); border-radius: inherit;
}
.btn:hover::before { transform: translateY(0); }
.btn .arr { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px) rotate(-45deg); }
.btn.ghost { --b: transparent; --f: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost::before { background: var(--ink); }
.btn.ghost:hover { color: var(--night); }
.btn.sm { padding: 12px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 80; padding: 18px 0;
  transition: transform .6s var(--ease), background .4s, padding .4s;
}
.nav.scrolled { background: rgba(5, 8, 15, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); padding: 12px 0; border-bottom: 1px solid var(--line); }
.nav.hidden { transform: translateY(-110%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 18px/1 var(--display); letter-spacing: -.03em; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 18px var(--lima); }
.menu { display: flex; gap: 28px; font-size: 14px; color: var(--ink-2); }
.menu a { position: relative; padding: 6px 0; transition: color .3s; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--lima); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--night); display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .drawer { clip-path: inset(0 0 0 0); visibility: visible; }
.drawer a { font: 700 clamp(34px, 9vw, 64px)/1.15 var(--display); letter-spacing: -.04em; display: block; }
.drawer a:hover { color: var(--lima); }
.drawer .btn { margin-top: 36px; align-self: flex-start; font-size: 16px; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; mix-blend-mode: difference; }
.cursor .c-dot { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: #fff; }
.cursor .c-ring { position: absolute; width: 44px; height: 44px; margin: -22px; border-radius: 50%; border: 1px solid #fff; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s; }
.cursor.big .c-ring { width: 88px; height: 88px; margin: -44px; background: rgba(255, 255, 255, .9); }
@media (hover: none), (max-width: 900px) { .cursor { display: none; } }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: radial-gradient(120% 80% at 75% 20%, #0F1B33 0%, var(--night) 60%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .photo {
  position: absolute; right: -2vw; bottom: 0; width: min(54vw, 760px); height: 96%;
  -webkit-mask-image: radial-gradient(75% 70% at 55% 42%, #000 45%, transparent 80%);
  mask-image: radial-gradient(75% 70% at 55% 42%, #000 45%, transparent 80%);
}
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: contrast(1.06) saturate(.92); }
.hero .glow { position: absolute; width: 60vw; height: 60vw; right: -10vw; top: -20vw; background: radial-gradient(circle, rgba(56, 184, 255, .22), transparent 60%); filter: blur(20px); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(32px, 6vh, 64px); padding-top: 120px; }
.hero h1 { font-size: clamp(64px, 15.5vw, 252px); font-weight: 800; letter-spacing: -.06em; line-height: .82; margin: 22px 0 0 -.04em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero h1 .sub { display: block; font-size: clamp(15px, 1.4vw, 19px); font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--ink-2); margin: 18px 0 0 .3em; font-family: var(--text); }
.hero .row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(28px, 4vh, 48px); flex-wrap: wrap; }
.hero .claim { font: 600 clamp(20px, 2.2vw, 30px)/1.2 var(--display); letter-spacing: -.02em; max-width: 520px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); background: rgba(11, 18, 32, .5); backdrop-filter: blur(8px); }
.chip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--lima); position: relative; }
.chip .pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lima); animation: pulse 2s infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; writing-mode: vertical-rl; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 14px; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ink-3), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--night); }
.marquee .track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee .item { font: 700 clamp(26px, 3.4vw, 48px)/1 var(--display); letter-spacing: -.03em; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee .item::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--lima); }
.marquee .item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--night); }
.manifesto .big { font: 700 clamp(30px, 4.6vw, 72px)/1.08 var(--display); letter-spacing: -.035em; margin-top: 36px; max-width: 1200px; }
.manifesto .big .w { opacity: .14; transition: opacity .2s; }
.manifesto .sig { margin-top: 48px; display: flex; gap: 18px; align-items: center; color: var(--ink-2); font-size: 15px; }
.manifesto .sig img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); }
.stat { padding: 36px 24px 8px 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat + .stat { padding-left: 24px; }
.stat .n { font: 800 clamp(48px, 6vw, 96px)/1 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat .n small { font-size: .45em; color: var(--accent); margin-left: 4px; letter-spacing: -.02em; }
.stat p { margin: 14px 0 0; color: var(--ink-2); font-size: 15px; max-width: 240px; line-height: 1.5; }

/* ---------- Method (stacking cards) ---------- */
.method { background: var(--bg); }
.method-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 72px; }
.stack { display: grid; gap: 24px; }
.step {
  position: sticky; top: calc(96px + var(--i) * 28px);
  display: grid; grid-template-columns: 120px 1fr 1fr; gap: 40px; align-items: start;
  padding: clamp(28px, 4vw, 56px); border-radius: 28px; min-height: 340px;
  background: linear-gradient(160deg, #15213A, #0D1526 70%); border: 1px solid var(--line);
  box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.step::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 184, 255, .16), transparent 65%); }
.step .k { font: 800 72px/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--accent); letter-spacing: -.04em; }
.step h3 { font-size: clamp(40px, 5vw, 76px); font-weight: 800; letter-spacing: -.045em; }
.step h3 em { font-style: normal; color: var(--accent); }
.step .tag { margin-top: 20px; color: var(--ink-2); font-size: 15px; }
.step ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; position: relative; }
.step li { padding-left: 28px; position: relative; color: var(--ink-2); line-height: 1.5; }
.step li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 1px; background: var(--accent); }
.step li b { color: var(--ink); font-weight: 600; }
.step:nth-child(3) { background: linear-gradient(160deg, #1A2A12, #0D1526 75%); }
.step:nth-child(3) .k { -webkit-text-stroke-color: var(--lima); }
.step:nth-child(3) h3 em { color: var(--lima); }
.step:nth-child(3) li::before { background: var(--lima); }

/* ---------- Quadrant ---------- */
.quad-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.quad { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; aspect-ratio: 1 / 1; }
.quad .q { border-radius: 20px; padding: 22px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; transition: background .5s var(--ease), transform .5s var(--ease), border-color .5s; cursor: default; }
.quad .q:hover, .quad .q.on { transform: scale(1.02); border-color: var(--line-2); }
.quad .q b { font: 700 clamp(18px, 1.7vw, 24px)/1.15 var(--display); letter-spacing: -.02em; }
.quad .q span { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-3); }
.quad .q p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.quad .q.win { background: linear-gradient(150deg, rgba(182, 255, 59, .16), var(--bg) 70%); border-color: rgba(182, 255, 59, .3); }
.quad .q.win b { color: var(--lima); }
.quad .q.no { background: repeating-linear-gradient(135deg, transparent 0 10px, rgba(255, 255, 255, .025) 10px 20px), var(--bg); }
.quad .axis { position: absolute; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-3); }
.quad .axis.y { left: -30px; top: 50%; transform: rotate(-90deg) translateX(50%); transform-origin: left; }
.quad .axis.x { bottom: -28px; left: 50%; transform: translateX(-50%); }

/* ---------- Keys ---------- */
.keys { background: var(--night); }
.key-list { margin-top: 64px; border-top: 1px solid var(--line); }
.key { display: grid; grid-template-columns: 90px 1fr 1fr 48px; gap: 32px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.key::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); background: var(--bg); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.key:hover::before, .key[aria-expanded="true"]::before { transform: scaleY(1); }
.key .i { font: 700 15px/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.key h3 { font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.key p { margin: 0; color: var(--ink-2); font-size: 16px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .7s var(--ease), opacity .5s; }
.key[aria-expanded="true"] p { max-height: 260px; opacity: 1; }
.key .plus { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .6s var(--ease), background .4s, border-color .4s; }
.key .plus::before, .key .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.key .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.key[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--lima); border-color: var(--lima); }
.key[aria-expanded="true"] .plus::before, .key[aria-expanded="true"] .plus::after { background: var(--night); }
.source { margin-top: 28px; font-size: 13px; color: var(--ink-3); }
.source a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Talks ---------- */
.talks { background: var(--bg); overflow: hidden; }
.talks-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 64px; }
.talk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.talk { position: relative; border-radius: 26px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; border: 1px solid var(--line); isolation: isolate; }
.talk .bg { position: absolute; inset: 0; z-index: -2; }
.talk .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.6) brightness(.55); }
.talk:hover .bg img { transform: scale(1); filter: grayscale(0) brightness(.6); }
.talk::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(5, 8, 15, .92) 75%); }
.talk .fmt { position: absolute; top: 26px; left: 28px; right: 28px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-2); }
.talk .fmt b { color: var(--lima); font-weight: 600; }
.talk h3 { font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.035em; line-height: 1.05; }
.talk p { color: var(--ink-2); margin: 16px 0 0; font-size: 15px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s var(--ease), opacity .6s; }
.talk:hover p, .talk:focus-within p { max-height: 200px; opacity: 1; }
.talk .go { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; font-weight: 600; font-size: 14px; color: var(--ink); }
.talk .go::after { content: "→"; transition: transform .5s var(--ease); }
.talk:hover .go::after { transform: translateX(6px); }
@media (hover: none) { .talk p { max-height: none; opacity: 1; } }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 20px; }
.formats div { background: var(--bg); padding: 26px; }
.formats b { display: block; font: 700 18px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.formats span { color: var(--ink-2); font-size: 14px; line-height: 1.5; display: block; }

/* ---------- Media ---------- */
.media { background: var(--night); }
.media-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; margin-top: 64px; }
.press { border-radius: 26px; border: 1px solid var(--line); padding: clamp(28px, 3.4vw, 44px); background: var(--bg); display: flex; flex-direction: column; gap: 22px; transition: border-color .4s, transform .6s var(--ease); position: relative; overflow: hidden; }
.press:hover { border-color: var(--line-2); transform: translateY(-4px); }
.press .outlet { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--ink-3); letter-spacing: 1.4px; text-transform: uppercase; }
.press .outlet b { font: 800 22px/1 var(--display); letter-spacing: -.02em; color: var(--ink); text-transform: none; }
.press blockquote { margin: 0; font: 600 clamp(22px, 2.4vw, 34px)/1.18 var(--display); letter-spacing: -.03em; }
.press blockquote::before { content: "“"; color: var(--accent); }
.press blockquote::after { content: "”"; color: var(--accent); }
.press .meta { font-size: 14px; color: var(--ink-2); margin-top: auto; display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.press .meta a { color: var(--ink); font-weight: 600; display: inline-flex; gap: 8px; }
.press .meta a::after { content: "↗"; color: var(--lima); }
.press.photo { padding: 0; min-height: 420px; grid-row: span 2; }
.press.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.press.photo .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; background: linear-gradient(transparent, rgba(5, 8, 15, .95)); }
.press-col { display: grid; gap: 20px; }

/* ---------- Timeline (horizontal) ---------- */
.journey { background: var(--bg); overflow: hidden; }
.journey .intro { padding-top: clamp(96px, 12vw, 160px); }
.h-scroll { display: flex; gap: 20px; padding: 64px var(--gutter) clamp(96px, 12vw, 160px); width: max-content; }
.mile { width: min(78vw, 440px); flex: none; border-radius: 26px; border: 1px solid var(--line); background: var(--night); padding: 32px; display: flex; flex-direction: column; gap: 18px; min-height: 460px; position: relative; overflow: hidden; }
.mile .yr { font: 800 clamp(56px, 6vw, 88px)/1 var(--display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--ink-3); }
.mile .place { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent); }
.mile h3 { font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }
.mile p { margin: 0; color: var(--ink-2); font-size: 15px; }
.mile .lesson { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font: 600 16px/1.35 var(--display); letter-spacing: -.01em; }
.mile.now { background: linear-gradient(160deg, rgba(182, 255, 59, .12), var(--night) 60%); border-color: rgba(182, 255, 59, .28); }
.mile.now .yr { -webkit-text-stroke-color: var(--lima); }
.mile.img { padding: 0; }
.mile.img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (max-width: 900px) {
  .h-scroll { width: auto; flex-direction: column; padding-top: 48px; }
  .mile { width: 100%; min-height: 0; }
  .mile.img { min-height: 420px; }
}

/* ---------- Voice (LinkedIn) ---------- */
.voice { background: var(--night); overflow: hidden; }
.posts { display: flex; gap: 20px; width: max-content; animation: marq 70s linear infinite; padding: 64px 0 8px; }
.posts:hover { animation-play-state: paused; }
.post { width: 360px; flex: none; border-radius: 22px; padding: 28px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.post .who { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.post .who img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.post .who small { display: block; color: var(--ink-3); font-size: 12px; }
.post p { margin: 0; font: 600 21px/1.28 var(--display); letter-spacing: -.02em; }
.post p span { display: block; color: var(--ink-2); font-weight: 500; }

/* ---------- Andalucía ---------- */
.local { background: var(--bg); }
.local-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.cities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cities li { border-bottom: 1px solid var(--line); }
.cities a, .cities span.c { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font: 700 clamp(24px, 3vw, 42px)/1 var(--display); letter-spacing: -.035em; transition: color .3s, padding .6s var(--ease); }
.cities a:hover { color: var(--lima); padding-left: 14px; }
.cities small { font: 500 13px/1 var(--text); color: var(--ink-3); letter-spacing: 1.4px; text-transform: uppercase; }
.cities .base small { color: var(--lima); }

/* ---------- SolutechIA ---------- */
.house { background: var(--night); }
.house-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; }
.area { border-radius: 24px; padding: 32px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.area .n { font: 700 13px/1 var(--display); color: var(--accent); }
.area h3 { font-size: 30px; letter-spacing: -.035em; }
.area .q { font: 600 17px/1.3 var(--display); color: var(--ink); }
.area p { margin: 0; color: var(--ink-2); font-size: 15px; }
.house-bar { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 24px 32px; border-radius: 24px; border: 1px solid var(--line); }
.house-bar img { height: 30px; width: auto; }

/* ---------- Booking & forms ---------- */
.book { background: var(--bg); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 24px; }
.tab { padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .4s var(--ease); }
.tab:hover { color: var(--ink); border-color: var(--ink-3); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); }
.panel[hidden] { display: none; }
.cal-shell { border-radius: 24px; overflow: hidden; background: #fff; min-height: 640px; border: 1px solid var(--line); position: relative; }
.cal-shell iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.cal-note { color: var(--ink-3); font-size: 14px; margin-top: 14px; }
.cal-load { position: absolute; inset: 0; display: grid; place-items: center; color: #5A6474; font-size: 14px; }

.form-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--ink-2); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 8, 15, .5);
  outline: none; transition: border-color .3s, background .3s; font-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A9B3C4' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field select option { background: var(--bg); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(56, 184, 255, .05); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--lima); width: 18px; height: 18px; flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form .status { font-size: 14px; color: var(--ink-2); }
.form .status.ok { color: var(--lima); }
.form .status.err { color: #FF8A7A; }
.hp { position: absolute; left: -9999px; }
.contact-alt { margin-top: 36px; display: grid; gap: 12px; }
.contact-alt a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 500; transition: color .3s; }
.contact-alt a:hover { color: var(--lima); }
.contact-alt small { color: var(--ink-3); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { background: var(--night); }
.faq-list { margin-top: 56px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 28px 0; font: 600 clamp(19px, 1.8vw, 24px)/1.25 var(--display); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 30px/1 var(--text); color: var(--accent); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 28px; color: var(--ink-2); max-width: 820px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); border-top: 1px solid var(--line); padding: clamp(80px, 12vw, 160px) 0 32px; overflow: hidden; }
.footer .huge { font: 800 clamp(64px, 17vw, 280px)/.82 var(--display); letter-spacing: -.065em; display: block; margin: 0 0 56px -.04em; }
.footer .huge span { color: var(--lima); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.foot-grid h4 { font: 600 12px/1 var(--text); letter-spacing: 2px; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.foot-grid a { display: block; color: var(--ink-2); padding: 5px 0; font-size: 15px; transition: color .3s; }
.foot-grid a:hover { color: var(--ink); }
.foot-grid p { color: var(--ink-2); margin: 0; font-size: 15px; max-width: 360px; }
.legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: var(--ink-3); }
.legal a:hover { color: var(--ink); }

/* ---------- Sub pages ---------- */
.page-hero { padding: 180px 0 96px; background: radial-gradient(90% 70% at 80% 0%, #10203D, var(--night) 65%); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(48px, 9vw, 150px); font-weight: 800; letter-spacing: -.055em; line-height: .9; margin-top: 24px; max-width: 1200px; }
.page-hero .lead { margin-top: 32px; }
.page-hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.crumbs { font-size: 13px; color: var(--ink-3); display: flex; gap: 10px; }
.crumbs a:hover { color: var(--ink); }
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 64px 0 20px; letter-spacing: -.035em; line-height: 1.05; }
.prose h3 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -.02em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split .ph { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; }
.split .ph img { width: 100%; height: 100%; object-fit: cover; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.card { border-radius: 24px; padding: 30px; border: 1px solid var(--line); background: var(--bg); }
.card h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 12px; line-height: 1.1; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card .n { font: 700 13px/1 var(--display); color: var(--accent); display: block; margin-bottom: 18px; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(40px); }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  .marquee .track, .posts { animation: none; }
  .manifesto .big .w { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: block; }
  .nav .btn.sm { display: none; }
  .talk-grid, .house-grid, .cards-3 { grid-template-columns: 1fr 1fr; }
  .formats { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { align-items: flex-end; }
  .hero .photo { width: 100%; right: 0; height: 72%; top: 0; bottom: auto; opacity: .75; -webkit-mask-image: linear-gradient(#000 30%, transparent 92%); mask-image: linear-gradient(#000 30%, transparent 92%); }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .method-head, .quad-wrap, .media-grid, .local-grid, .form-grid, .split { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 20px; position: relative; top: 0; min-height: 0; }
  .step .k { font-size: 48px; }
  .key { grid-template-columns: 44px 1fr 44px; gap: 16px; }
  .key p { grid-column: 2 / 3; grid-row: 2; }
  .key .plus { grid-column: 3; grid-row: 1; }
  .press.photo { grid-row: auto; min-height: 460px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .talk-grid, .house-grid, .cards-3, .formats { grid-template-columns: 1fr; }
  .talk { min-height: 440px; }
  .form { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero .ctas .btn { flex: 1 1 auto; justify-content: center; }
  .post { width: 290px; }
  .quad .q { padding: 14px; border-radius: 14px; }
  .quad .q p { display: none; }
  .cal-shell iframe { min-height: 820px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 22vw; }
  .chip { font-size: 11.5px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Videos ---------- */
.videos { background: var(--bg); }
.vid-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; }
.vid { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line); }
.vid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vid .play { position: absolute; inset: 0; border: 0; cursor: pointer; background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 15, .85)); display: grid; place-items: center; transition: background .4s; }
.vid .play span { width: 84px; height: 84px; border-radius: 50%; background: var(--lima); display: grid; place-items: center; transition: transform .6s var(--ease); box-shadow: 0 0 0 0 rgba(182, 255, 59, .5); animation: ring 2.4s infinite; }
.vid .play span::after { content: ""; border-left: 20px solid var(--night); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }
.vid:hover .play span { transform: scale(1.1); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(182, 255, 59, .45); } 100% { box-shadow: 0 0 0 26px rgba(182, 255, 59, 0); } }
.vid .vcap { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; font-size: 14px; color: var(--ink-2); }
.vid .vcap b { color: var(--ink); font: 600 17px/1.2 var(--display); letter-spacing: -.01em; }
.vid.playing .play, .vid.playing .vcap { display: none; }
.page-hero.has-video { min-height: 88svh; display: flex; align-items: flex-end; }
.page-hero .bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .6; filter: grayscale(.2) contrast(1.05); }
.page-hero.has-video::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .35), rgba(5, 8, 15, .7) 55%, var(--night) 96%); z-index: 1; }
.page-hero.has-video .wrap { position: relative; z-index: 2; }
@media (max-width: 900px) { .vid-grid { grid-template-columns: 1fr; } .vid .play span { width: 64px; height: 64px; } }
@media (prefers-reduced-motion: reduce) { .page-hero .bgv { display: none; } .vid .play span { animation: none; } }

/* ---------- Formats: five durations ---------- */
.formats { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .formats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .formats { grid-template-columns: 1fr 1fr; } }
.formats b { font-size: 26px; letter-spacing: -.03em; }

/* ---------- Journey photo cards ---------- */
.mile.img .tagline { position: absolute; left: 20px; bottom: 18px; z-index: 1; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink); background: rgba(5, 8, 15, .7); backdrop-filter: blur(8px); padding: 8px 12px; border-radius: 999px; }

/* ---------- Facets + cursor reveal portrait ---------- */
.facets { background: var(--night); overflow: hidden; }
.facets-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.reveal-wrap { position: relative; }
.reveal-wrap::before { content: ""; position: absolute; left: 10%; right: 10%; top: 12%; bottom: 0; border-radius: 50%; background: radial-gradient(circle, rgba(56, 184, 255, .14), transparent 65%); filter: blur(30px); z-index: 0; }
.reveal {
  /* Mask size: change --reveal-size. Mask position/size are driven by JS (assets/js/site.js, "Cursor reveal"). */
  --reveal-size: clamp(170px, 18vw, 300px);
  --mx: 50%; --my: 30%; --k: 0;
  position: relative; z-index: 1; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1122 / 1402;
  overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(#000 78%, transparent 99%); mask-image: linear-gradient(#000 78%, transparent 99%);
}
.reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 0; pointer-events: none; -webkit-user-drag: none; }
/* Aligns the suit portrait with the helmet portrait (heads overlap). Tweak here if an image is replaced. */
.reveal-base { transform: translate(-1.78%, 5.71%); }
.reveal-top {
  will-change: mask-position, -webkit-mask-image;
  -webkit-mask-image: radial-gradient(circle calc(var(--reveal-size) * var(--k)) at var(--mx) var(--my), #000 0%, #000 52%, rgba(0, 0, 0, .16) 70%, transparent 100%);
  mask-image: radial-gradient(circle calc(var(--reveal-size) * var(--k)) at var(--mx) var(--my), #000 0%, #000 52%, rgba(0, 0, 0, .16) 70%, transparent 100%);
}
.reveal-dot { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px; border-radius: 50%; border: 1px solid rgba(238, 243, 250, .85); pointer-events: none; opacity: 0; transition: opacity .3s; transform: translate(var(--mx), var(--my)); will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  .reveal { cursor: none; }
  .reveal.active .reveal-dot { opacity: 1; }
}
body.in-reveal .cursor { opacity: 0; }
.reveal.swap .reveal-top { -webkit-mask-image: none; mask-image: none; }
.reveal-hint { position: relative; z-index: 1; text-align: center; margin: 14px 0 0; font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-3); }
.reveal-hint .on-touch { display: none; }
@media (hover: none) { .reveal-hint .on-hover { display: none; } .reveal-hint .on-touch { display: inline; } }
@media (prefers-reduced-motion: reduce) { .reveal-hint { display: none; } .reveal { cursor: pointer; } }
.facet-list { margin-top: 40px; border-top: 1px solid var(--line); }
.facet { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.facet .n { font: 700 14px/1.6 var(--display); color: var(--accent); }
.facet h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 10px; }
.facet p { margin: 0; color: var(--ink-2); font-size: 16px; }
.facet:first-child h3 { color: var(--lima); }
.facet-real { margin: 28px 0 0; display: flex; gap: 16px; align-items: center; }
.facet-real img { width: 64px; height: 90px; object-fit: cover; object-position: 50% 15%; border-radius: 12px; border: 1px solid var(--line-2); }
.facet-real figcaption { font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) { .facets-grid { grid-template-columns: 1fr; } .reveal { max-width: 420px; } }

/* ---------- Life gallery ---------- */
.life { background: var(--night); padding: 24px 0 clamp(96px, 12vw, 160px); overflow: hidden; }
.life-track { display: flex; align-items: center; gap: 22px; width: max-content; padding: 48px 0 12px; animation: marq 80s linear infinite; }
.life-track:hover { animation-play-state: paused; }
.life-card { margin: 0; width: 260px; flex: none; transform: rotate(var(--r)); transition: transform .7s var(--ease); }
.life-card:hover { transform: rotate(0) scale(1.04); }
.life-card img { width: 100%; height: 320px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line-2); filter: saturate(.9); }
.life-card.tall img { height: 400px; }
.life-card.wide { width: 360px; }
.life-card.wide img { height: 260px; }
.life-card figcaption { margin-top: 12px; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 640px) { .life-card { width: 200px; } .life-card img { height: 250px; } .life-card.tall img { height: 300px; } .life-card.wide { width: 280px; } .life-card.wide img { height: 200px; } }
@media (prefers-reduced-motion: reduce) { .life-track { animation: none; overflow-x: auto; width: auto; padding-inline: var(--gutter); } }

/* ---------- Resources ---------- */
.resources { background: var(--night); }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.res { border-radius: 24px; padding: 30px; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; gap: 12px; min-height: 260px; transition: border-color .4s, transform .6s var(--ease); }
.res:hover { border-color: rgba(182, 255, 59, .4); transform: translateY(-4px); }
.res .k { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.res h3 { font-size: 24px; letter-spacing: -.03em; line-height: 1.1; }
.res p { margin: 0; color: var(--ink-2); font-size: 15px; }
.res .go { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--lima); }
.res .go::after { content: " →"; }
@media (max-width: 1100px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .res-grid { grid-template-columns: 1fr; } }

/* ---------- v4: hero cut-out, fixed nav ---------- */
.nav.hidden { transform: none; }
.hero .photo { -webkit-mask-image: linear-gradient(#000 70%, transparent 98%); mask-image: linear-gradient(#000 70%, transparent 98%); }
.hero .photo img { object-fit: contain; object-position: 50% 100%; filter: none; }
@media (max-width: 900px) { .hero .photo { height: 64%; -webkit-mask-image: linear-gradient(#000 55%, transparent 95%); mask-image: linear-gradient(#000 55%, transparent 95%); } }

/* ---------- Journey: native horizontal strip ---------- */
.journey-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.arrow svg { width: 20px; height: 20px; }
.arrow:hover { background: var(--lima); color: var(--night); border-color: var(--lima); }
.journey .h-scroll { width: auto; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); padding: 56px var(--gutter) 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.journey .h-scroll::-webkit-scrollbar { display: none; }
.journey .mile { scroll-snap-align: start; min-height: 0; width: min(80vw, 400px); }
.mile .ph { margin: -32px -32px 6px; height: 240px; overflow: hidden; border-bottom: 1px solid var(--line); }
.mile .ph.light { background: radial-gradient(circle at 50% 80%, #1A2740, var(--night) 70%); }
.mile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mile:hover .ph img { transform: scale(1.05); }
.mile .yr { font-size: clamp(48px, 5vw, 72px); }
@media (max-width: 900px) {
  .journey .h-scroll { flex-direction: row; }
  .journey .mile { width: 82vw; }
}

/* ---------- Trust: logos + people ---------- */
.trust { background: var(--night); padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.logo-marquee { overflow: hidden; margin-top: 36px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 16px; width: max-content; animation: marq 55s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo { flex: none; width: 200px; height: 96px; border-radius: 18px; background: #EEF3FA; display: grid; place-items: center; padding: 16px 22px; overflow: hidden; }
.logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.person { border-radius: 24px; border: 1px solid var(--line); background: var(--bg); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; transition: border-color .4s, transform .6s var(--ease); }
.person:hover { border-color: var(--line-2); transform: translateY(-4px); }
.person img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; transform: scale(1); margin-bottom: 14px; clip-path: circle(46%); }
.person b { font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.person span { color: var(--ink-2); font-size: 15px; }
.person small { color: var(--accent); font-size: 13px; margin-top: 8px; }
@media (max-width: 1100px) { .people { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .logo { width: 150px; height: 76px; } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--gutter); } }

/* ---------- Gallery coverflow ---------- */
.life { background: var(--night); overflow: hidden; }
.cf { position: relative; margin-top: 48px; outline: none; touch-action: pan-y; }
.cf-stage { position: relative; height: clamp(380px, 52vw, 600px); }
.cf-item { position: absolute; left: 50%; top: 0; margin: 0; width: clamp(240px, 32vw, 440px); height: 100%; transition: transform .9s var(--ease), opacity .7s, filter .7s; cursor: pointer; user-select: none; }
.cf-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; border: 1px solid var(--line-2); pointer-events: none; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.cf-item figcaption { display: none; }
.cf-item.on { cursor: default; }
.cf-bar { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; padding: 0 var(--gutter); }
.cf-cap { margin: 0; min-width: 0; flex: 0 1 380px; text-align: center; font-size: 13px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 700px) { .cf-item { width: 62vw; } .cf-stage { height: 440px; } }
@media (prefers-reduced-motion: reduce) { .cf-item { transition: none; } }

/* ---------- v5: native scroll ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id] { scroll-margin-top: 72px; }
.journey .h-scroll { cursor: grab; }
.journey .h-scroll.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.journey .h-scroll.dragging img { pointer-events: none; }

/* ---------- Gallery v2: compact filmstrip ---------- */
.cf { margin-top: 36px; }
.cf-stage { height: clamp(300px, 30vw, 380px); }
.cf-item { width: clamp(170px, 17vw, 230px); height: 82%; top: 9%; transition: transform .8s var(--ease), opacity .6s, filter .6s; }
.cf-item img { border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); }
.cf-item.on img { border-color: rgba(182, 255, 59, .5); }
.cf-bar { margin-top: 18px; }
@media (max-width: 700px) { .cf-item { width: 46vw; } .cf-stage { height: 330px; } }

/* ---------- Podcast ---------- */
.podcast { background: var(--bg); }
.pod-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pod-cover { position: relative; max-width: 520px; }
.pod-cover img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 28px; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(56, 184, 255, .35); }
.badge-new { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--lima); color: var(--night); font: 700 12px/1 var(--text); letter-spacing: 1.2px; text-transform: uppercase; }
.pod-cover .badge-new { position: absolute; top: 18px; left: 18px; font-size: 13px; padding: 8px 14px; animation: pop 2.6s var(--ease) infinite; }
@keyframes pop { 0%, 80%, 100% { transform: scale(1); } 90% { transform: scale(1.08); } }
.badge-new.sm { margin-left: 6px; padding: 4px 9px; font-size: 10px; }
.badge-new.xs { margin-left: 4px; padding: 3px 7px; font-size: 9px; vertical-align: 2px; }
.drawer .badge-new { display: none; }
.episodes { margin-top: 28px; border-top: 1px solid var(--line); }
.ep { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.ep b { font: 600 18px/1.3 var(--display); letter-spacing: -.01em; }
.ep small { color: var(--ink-3); font-size: 13px; }
.ep audio { width: 100%; height: 40px; }
.ep-empty { color: var(--ink-2); margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .pod-grid { grid-template-columns: 1fr; } .pod-cover { max-width: 380px; } }

/* ---------- v6: logo tiles never crop; Instagram profiles in the same strip ---------- */
.logo-track { align-items: center; }
.logo { width: 210px; height: 100px; padding: 14px 20px; }
.logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; display: block; }
.logo.ig { width: auto; min-width: 290px; padding: 14px 22px 14px 14px; display: flex; align-items: center; gap: 14px; color: #0B1220; transition: transform .4s var(--ease), box-shadow .4s; }
.logo.ig:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(56, 184, 255, .6); }
.ig-ring { flex: none; width: 66px; height: 66px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); display: grid; place-items: center; }
.ig-ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #EEF3FA; transform: none; }
.ig-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-align: left; }
.ig-handle { display: inline-flex; align-items: center; gap: 5px; font: 700 15px/1.2 var(--text); color: #0B1220; white-space: nowrap; }
.ig-check { width: 15px; height: 15px; flex: none; }
.ig-name { font-size: 13px; color: #3A4456; white-space: nowrap; }
.ig-role { font-size: 12px; color: #6B7588; white-space: nowrap; }
@media (max-width: 640px) { .logo { width: 160px; height: 80px; } .logo.ig { min-width: 250px; } .ig-ring { width: 56px; height: 56px; } }

/* ---------- v6: method cards stack normally (no sticky overlap) ---------- */
.step { position: relative; top: auto; }
.logo.dark { background: #0B1220; border: 1px solid var(--line-2); }
.logo:not(.ig) { display: flex; align-items: center; justify-content: center; }
.logo:not(.ig) img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.ig-followers { margin-top: 3px; font-size: 12px; color: #3A4456; white-space: nowrap; }
.ig-followers b { font-weight: 700; color: #0B1220; }
.logo.ig { height: 108px; }
.mile .ph.map { background: radial-gradient(120% 90% at 50% 40%, #13213B, #05080F 75%); display: grid; place-items: center; }
.mile .ph.map img { width: 100%; height: 100%; object-fit: contain; }
.mile:hover .ph.map img { transform: none; }

/* ---------- v7: CEO-focused structure ---------- */
.btn .wa { width: 18px; height: 18px; }
.hero-note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); max-width: 560px; }
.hero .claim { max-width: 600px; }
.pains { background: var(--bg); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.pain { border-radius: 22px; padding: 26px 26px 24px; border: 1px solid var(--line); background: var(--night); transition: border-color .4s, transform .6s var(--ease); }
.pain:hover { border-color: rgba(182, 255, 59, .35); transform: translateY(-3px); }
.pain h3 { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; letter-spacing: -.02em; }
.pain p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.pain-cta { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: 22px; background: linear-gradient(120deg, rgba(182, 255, 59, .12), rgba(56, 184, 255, .08)); border: 1px solid rgba(182, 255, 59, .25); }
.pain-cta p { margin: 0; color: var(--ink-2); font-size: 17px; }
.pain-cta b { color: var(--ink); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.s3 { border-radius: 22px; padding: 28px; border: 1px solid var(--line); background: linear-gradient(160deg, #15213A, #0D1526 70%); }
.s3 .k { font: 800 40px/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--accent); }
.s3 h3 { font-size: 30px; margin: 14px 0 10px; letter-spacing: -.035em; }
.s3 p { margin: 0; color: var(--ink-2); font-size: 15px; }
.select { margin-top: 20px; display: grid; grid-template-columns: .9fr 1.3fr auto; gap: 32px; align-items: center; padding: 30px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--night); }
.select p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; }
.select-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); font-size: 15px; }
.select-steps b { color: var(--ink); }
.select-steps li::marker { color: var(--lima); font-weight: 700; }
.paths { background: var(--bg); }
.path-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 40px; }
.path { border-radius: 24px; padding: 32px; border: 1px solid var(--line); background: var(--night); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.path.main { border-color: rgba(182, 255, 59, .35); background: linear-gradient(150deg, rgba(182, 255, 59, .1), var(--night) 60%); }
.path .tag { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.path h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; line-height: 1.1; }
.path p { margin: 0; color: var(--ink-2); }
.path .btn { margin-top: auto; }
@media (max-width: 1100px) { .select { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .pain-grid, .steps3 { grid-template-columns: 1fr 1fr; } .path-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pain-grid, .steps3 { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(64px, 11vw, 176px); }
.hero .wrap { padding-top: 100px; }
.hero .row { margin-top: 24px; }
.aff { font-size: 12px; color: var(--ink-3); margin-top: -4px; }

/* ---------- v8: method cards enter in order and react to the cursor ---------- */
.steps3 { position: relative; perspective: 1200px; }
.steps-line { position: absolute; left: 4%; right: 4%; top: 58px; height: 2px; background: var(--line); border-radius: 2px; z-index: 0; overflow: hidden; }
.steps-line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), var(--lima)); transform-origin: left; }
.s3 { position: relative; z-index: 1; transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s; will-change: transform; }
.s3::after { content: ""; position: absolute; right: -14px; top: 50px; width: 12px; height: 12px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); opacity: .8; }
.s3-last::after { display: none; }
.s3:hover { border-color: rgba(56, 184, 255, .45); box-shadow: 0 30px 60px -30px rgba(56, 184, 255, .45); }
.s3-last { background: linear-gradient(160deg, #1A2A12, #0D1526 75%); }
.s3-last .k { -webkit-text-stroke-color: var(--lima); }
.s3-last:hover { border-color: rgba(182, 255, 59, .45); box-shadow: 0 30px 60px -30px rgba(182, 255, 59, .35); }
.s3 .k, .s3 h3 { transform: translateZ(30px); }
@media (max-width: 900px) { .steps-line { display: none; } .s3::after { right: auto; left: 50%; top: auto; bottom: -15px; transform: translateX(-50%) rotate(135deg); } }
.path-note { margin: 28px 0 0; max-width: 860px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.path-note b { color: var(--ink); }
.path-note a { color: var(--lima); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- v9: invite CTA everywhere ---------- */
.nav-ctas { display: flex; gap: 10px; align-items: center; }
.nav .btn.sm.ghost { box-shadow: inset 0 0 0 1px rgba(182, 255, 59, .45); }
.btn.sm .wa { width: 16px; height: 16px; }
@media (max-width: 1280px) { .menu { gap: 20px; font-size: 13px; } }
@media (max-width: 1100px) { .nav-ctas { display: none; } }
.invite-band { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: 22px; border: 1px solid rgba(182, 255, 59, .3); background: linear-gradient(120deg, rgba(182, 255, 59, .1), rgba(56, 184, 255, .06)); }
.invite-band b { display: block; font: 700 20px/1.25 var(--display); letter-spacing: -.02em; }
.invite-band span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15px; }
.foot-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: -24px 0 56px; }
.mbar { display: none; }
@media (max-width: 1100px) {
  .mbar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 85; padding: 8px; border-radius: 999px; background: rgba(5, 8, 15, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2); transform: translateY(140%); transition: transform .5s var(--ease); }
  .mbar.show { transform: none; }
  .mbar .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: 13px; }
  .menu-open .mbar { transform: translateY(140%); }
  .footer { padding-bottom: 96px; }
}

/* ---------- v10: tighter vertical rhythm ---------- */
.pad { padding: clamp(48px, 6vw, 84px) 0; }
.trust { padding: clamp(40px, 5vw, 72px) 0; }
.life { padding-bottom: clamp(48px, 6vw, 84px); }
.page-hero { padding: 150px 0 64px; }
.footer { padding-top: clamp(64px, 8vw, 112px); }
.pain-grid, .steps3, .talks-head, .media-grid, .path-grid, .house-grid { margin-top: 36px; }
.invite-band { margin-top: 32px; }
@media (max-width: 640px) { .pad { padding: 52px 0; } .page-hero { padding: 120px 0 48px; } }

/* ---------- Social links ---------- */
.socials { display: flex; gap: 10px; align-items: center; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); transition: color .3s, border-color .3s, background .3s, transform .4s var(--ease); }
.socials a:hover { color: var(--night); background: var(--lima); border-color: var(--lima); transform: translateY(-2px); }
.socials a[hidden] { display: none; }
.socials svg { width: 19px; height: 19px; }
.hero-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.hero-foot .hero-note { margin: 0; }
.drawer .socials { margin-top: 28px; }
.drawer .socials a { font-size: 0; }
.foot-socials { margin-top: 20px; }
[hidden] { display: none !important; }
.offer { margin: 0; color: var(--lima); font-size: 15px; }

/* ---------- v11: single talk with standing-video background ---------- */
.talk-one { position: relative; overflow: hidden; isolation: isolate; }
.talk-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; filter: grayscale(.3); }
.talk-one::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 18, 32, .97) 0%, rgba(11, 18, 32, .88) 55%, rgba(11, 18, 32, .6) 100%), linear-gradient(0deg, var(--bg), transparent 30%); }
.talk-one .lead b { color: var(--ink); }
.talk-parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.tp { border-radius: 20px; padding: 22px; border: 1px solid var(--line-2); background: rgba(5, 8, 15, .6); backdrop-filter: blur(6px); }
.tp .k { font: 800 28px/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--lima); }
.tp h3 { font-size: 20px; margin: 12px 0 8px; letter-spacing: -.02em; line-height: 1.15; }
.tp p { margin: 0; color: var(--ink-2); font-size: 14px; }
.talk-one .formats { margin-top: 16px; background: var(--line); }
.talk-one .formats div { background: rgba(11, 18, 32, .85); }
@media (max-width: 1100px) { .talk-parts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .talk-parts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .talk-bg { display: none; } }

/* ---------- Media outlet logos (white silhouettes) ---------- */
.outlet-logo { height: 26px; width: auto; filter: brightness(0) invert(1); opacity: .95; }

/* ---------- Contact: no forms, two channels ---------- */
.contact-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.choice { border-radius: 24px; padding: 28px; border: 1px solid var(--line-2); background: var(--bg); display: flex; flex-direction: column; gap: 8px; transition: transform .5s var(--ease), border-color .4s; }
.choice:hover { transform: translateY(-4px); border-color: rgba(182, 255, 59, .5); }
.choice.main { border-color: rgba(182, 255, 59, .45); background: linear-gradient(150deg, rgba(182, 255, 59, .12), var(--bg) 60%); }
.choice .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(182, 255, 59, .12); color: var(--lima); margin-bottom: 8px; }
.choice .ico svg { width: 24px; height: 24px; }
.choice b { font: 700 22px/1.15 var(--display); letter-spacing: -.02em; }
.choice span { color: var(--ink-2); font-size: 15px; }
.choice .go { margin-top: 10px; color: var(--lima); font-weight: 600; font-size: 14px; }
.choice .go::after { content: " →"; }
@media (max-width: 900px) { .contact-choices { grid-template-columns: 1fr; } }
.press.photo img.outlet-logo { position: static; inset: auto; width: auto; height: 26px; object-fit: contain; }

/* ---------- v12: talk video panel next to the heading ---------- */
.talk-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.talk-video { position: relative; margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 80px -40px rgba(56, 184, 255, .45); }
.talk-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.talk-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5, 8, 15, .85)); pointer-events: none; }
.talk-video.playing::after { display: none; }
.tv-play { position: absolute; left: 18px; bottom: 44px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; border: 0; cursor: pointer; background: var(--lima); color: var(--night); font: 600 14px/1 var(--text); transition: transform .4s var(--ease); }
.tv-play:hover { transform: scale(1.05); }
.tv-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--night); position: relative; }
.tv-icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 9px solid var(--lima); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.talk-video figcaption { position: absolute; left: 20px; bottom: 16px; z-index: 2; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-2); }
.talk-video.playing .tv-play, .talk-video.playing figcaption { display: none; }
.page-hero .talk-head h1 { font-size: clamp(44px, 6vw, 96px); }
@media (max-width: 900px) { .talk-head { grid-template-columns: 1fr; } }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 12px/1 var(--text); letter-spacing: 1px; color: var(--ink-2); transition: color .3s, border-color .3s, background .3s; }
.lang-switch:hover { color: var(--night); background: var(--ink); border-color: var(--ink); }
.drawer .lang-switch.drawer-lang { position: absolute; top: 24px; left: var(--gutter); font-size: 13px; height: 40px; min-width: 48px; }
@media (max-width: 1100px) { .nav-ctas { display: flex; } .nav-ctas .btn { display: none; } }

/* Hosting badge injected by the platform: hidden so it never covers the booking buttons (also disable it in Netlify > Project configuration > General). */
#nl-badge-frame, #nl-hud-frame, #nl-badge, .nl-badge { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

/* ---------- Nav: always one line ---------- */
.nav .wrap { gap: 20px; }
.brand, .menu a, .nav-ctas .btn, .lang-switch { white-space: nowrap; }
.menu { gap: clamp(14px, 1.6vw, 26px); font-size: 14px; flex-wrap: nowrap; align-items: center; }
.menu .badge-new.xs { vertical-align: 1px; }
.nav-ctas { gap: 8px; flex: none; }
.nav-ctas .btn.sm { padding: 11px 16px; font-size: 13px; }
@media (max-width: 1360px) { .nav-ctas .btn.sm.ghost { display: none; } }
@media (max-width: 1180px) { .menu { display: none; } .burger { display: block; } .nav-ctas .btn { display: none; } }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s; }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(182, 255, 59, .45); }
.bc-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.bc-img img { width: 100%; height: 100%; object-fit: cover; }
.bc-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bc-body small { color: var(--ink-3); font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; }
.bc-body b { font: 700 21px/1.2 var(--display); letter-spacing: -.02em; }
.bc-body span { color: var(--ink-2); font-size: 15px; }
.bc-body .go { margin-top: auto; padding-top: 8px; color: var(--lima); font-weight: 600; font-size: 14px; }
.bc-body .go::after { content: " →"; }
.page-hero h1.post-title { font-size: clamp(36px, 5vw, 72px); max-width: 1000px; line-height: 1.02; }
.post-meta { margin-top: 20px; color: var(--ink-3); font-size: 14px; letter-spacing: .3px; }
.post-cover { margin: 0 0 40px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); max-width: 980px; }
.post-cover img { width: 100%; height: auto; }
.post-body { max-width: 760px; font-size: 18px; line-height: 1.7; }
.post-body h2 { font-size: clamp(26px, 3vw, 36px); margin: 48px 0 16px; }
.post-body h3 { font-size: 22px; margin: 32px 0 10px; }
.post-body img { border-radius: 16px; margin: 24px 0; }
.post-body blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lima); color: var(--ink); font: 600 20px/1.4 var(--display); }
.post-body pre, .post-body code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; background: var(--bg); border-radius: 8px; }
.post-body pre { padding: 16px; overflow-x: auto; }
.post-body code { padding: 2px 6px; }
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.post-body th, .post-body td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
@media (max-width: 1100px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .post-body { font-size: 17px; } }
