/* ==========================================================================
   DONEBYVEK — Design System v2
   Hybrid: dark base + colorful accents (inspired by cocosolution.com)
   ========================================================================== */

:root{
  /* Base (dark) */
  --bg:#0A0A0A;
  --bg-elevated:#111111;
  --bg-card:#161616;
  --bg-card-hover:#1A1A1A;
  --text:#E8E8E4;
  --text-secondary:#A0A09C;
  --text-tertiary:#8A8A86;
  --border:rgba(255,255,255,0.14);
  --border-hover:rgba(255,255,255,0.28);

  /* Light sections (from cocosolution) */
  --bg-lavanda:#F7F1FF;
  --bg-lavanda-elev:#EDE3FF;
  --bg-amber-soft:#FFE095;
  --bg-blue-deep:#312F70;
  --bg-blue-deep-2:#232161;
  --bg-mint-soft:#E7FFF6;

  /* Text on light */
  --text-light:#1A1A1A;
  --text-light-secondary:#454543;
  --border-light:rgba(0,0,0,0.16);

  /* Brand accents */
  --accent:#F2A900;        /* amber - primary CTA */
  --accent-hover:#C98700;
  --violet:#6762CE;        /* violet - secondary CTA */
  --violet-hover:#4F4AB0;
  --pink:#FF0057;          /* pink - hero CTA */
  --orange:#FF6200;
  --cyan:#5FD9FF;
  --mint:#00F0B8;
  --yellow:#F7C039;

  /* Lab colors */
  --lab-menu:#FF863D;
  --lab-wedding:#FF93BD;
  --lab-ai:#5FD9FF;
  --lab-lead:#F2A900;
  --lab-seo:#00F0B8;
  --lab-tool:#A566FF;
  --lab-local:#6762CE;
  --lab-build:#FF6200;
  --lab-commerce:#F7C039;

  --success:#3E7C4F;
  --error:#D3452B;

  --font-body:'Inter',system-ui,sans-serif;
  --font-editorial:'Fraunces',Georgia,serif;
  --font-mono:'JetBrains Mono',ui-monospace,monospace;

  --dur-fast:150ms;
  --dur-md:300ms;
  --dur-slow:500ms;
  --ease:cubic-bezier(.22,1,.36,1);
  --ease-snap:cubic-bezier(.3,1.05,.3,1);
  --ease-enter:cubic-bezier(.16,1,.3,1);

  --radius-sm:4px;
  --radius-md:8px;
  --radius-lg:14px;
  --radius-xl:22px;

  --shadow-sm:0 1px 2px rgba(0,0,0,.3);
  --shadow-md:0 4px 14px rgba(0,0,0,.4);
  --shadow-lg:0 16px 40px rgba(0,0,0,.5);

  --gutter:clamp(1.25rem,4vw,2rem);
  --container:1200px;
  --header-h:68px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-weight:400;
  font-size:1rem;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
body.is-locked{overflow:hidden}
::selection{background:var(--accent);color:var(--bg)}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul,ol{list-style:none}
:focus{outline:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
h1,h2,h3,h4{font-weight:600;line-height:1.15;letter-spacing:-.01em}

.wrap{max-width:var(--container);margin-inline:auto;padding-inline:var(--gutter)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.skip-link{
  position:fixed;top:-100%;left:1rem;z-index:200;
  background:var(--accent);color:var(--bg);padding:.75rem 1.25rem;
  font-weight:600;border-radius:var(--radius-sm);transition:top var(--dur-md) var(--ease);
}
.skip-link:focus{top:1rem}

/* Progress bar */
.progress{
  position:fixed;top:0;left:0;height:3px;width:0;
  background:linear-gradient(90deg,var(--accent),var(--pink),var(--violet));
  z-index:150;transition:width .1s linear;
}

/* ===== HEADER ===== */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  height:var(--header-h);
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(10,10,10,.85);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color var(--dur-md) var(--ease),box-shadow var(--dur-md) var(--ease);
}
.site-header.is-scrolled{border-bottom-color:var(--border);box-shadow:var(--shadow-sm)}
.brand{display:flex;align-items:center;gap:.6rem;margin-inline:var(--gutter)}
.brand__logo{width:30px;height:30px;border-radius:6px}
.brand__word{font-family:var(--font-mono);font-weight:500;font-size:.8125rem;letter-spacing:.12em}

.nav-desktop{
  display:flex;align-items:center;gap:1.75rem;margin-inline:var(--gutter);
}
.nav-desktop a{font-size:.875rem;font-weight:400;color:var(--text-secondary);transition:color var(--dur-fast) var(--ease);white-space:nowrap}
.nav-desktop a:hover{color:var(--text)}
.nav-desktop .nav-dropdown{position:relative}
.nav-desktop .nav-dropdown > a{display:flex;align-items:center;gap:.3rem}
.nav-desktop .nav-dropdown-menu{
  position:absolute;top:calc(100% + .75rem);left:50%;transform:translateX(-50%) translateY(8px);
  background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:.6rem;min-width:210px;opacity:0;visibility:hidden;transition:opacity var(--dur-fast) var(--ease),transform var(--dur-fast) var(--ease),visibility var(--dur-fast);
}
.nav-desktop .nav-dropdown:hover .nav-dropdown-menu,
.nav-desktop .nav-dropdown:focus-within .nav-dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.nav-dropdown-menu a{display:block;padding:.5rem .75rem;border-radius:var(--radius-sm);font-size:.8125rem}
.nav-dropdown-menu a:hover{background:var(--bg-card);color:var(--text)}

/* Language toggle */
.lang-toggle{
  display:flex;align-items:center;gap:0;border:1px solid var(--border);
  border-radius:999px;padding:2px;margin-left:.25rem;flex-shrink:0;
}
.lang-toggle button{
  font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.08em;font-weight:500;
  padding:.3rem .65rem;border-radius:999px;transition:background var(--dur-fast),color var(--dur-fast);color:var(--text-tertiary);white-space:nowrap;
}
.lang-toggle button.is-active{background:var(--text);color:var(--bg)}
.lang-toggle button:not(.is-active):hover{color:var(--text-secondary)}

/* Burger */
.burger{
  display:none;position:relative;z-index:60;width:40px;height:40px;margin-inline:var(--gutter);
  flex-direction:column;justify-content:center;gap:6px;align-items:center;
}
.burger span{display:block;height:2px;width:20px;background:var(--text);transition:transform var(--dur-md) var(--ease);transform-origin:center}
.menu-open .burger span:first-child{transform:translateY(4px) rotate(45deg)}
.menu-open .burger span:last-child{transform:translateY(-4px) rotate(-45deg)}

.nav-mobile{
  position:fixed;inset:0;z-index:40;background:var(--bg);
  display:flex;flex-direction:column;justify-content:center;gap:.5rem;
  padding:calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  opacity:0;visibility:hidden;transform:translateY(100%);
  transition:transform .5s var(--ease),opacity .35s var(--ease),visibility .5s;
}
.nav-mobile.is-open{opacity:1;visibility:visible;transform:none}
.nav-mobile a.m-link{
  font-weight:600;font-size:clamp(1.4rem,5vw,2rem);line-height:1.2;border-bottom:1px solid var(--border);padding:.4em 0;
}
.nav-mobile a.m-link:hover{color:var(--accent)}
.nav-mobile .m-cta{margin-top:1.5rem}
.nav-mobile .m-meta{margin-top:2rem;color:var(--text-tertiary)}
.lang-mobile{display:flex;align-items:center;justify-content:center;gap:.75rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border)}
.lang-mobile .lang-toggle{margin-left:0}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:var(--font-body);font-weight:600;font-size:.9rem;letter-spacing:.01em;
  padding:.85rem 1.5rem;border-radius:999px;transition:transform var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease),background var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease);
  border:1px solid transparent;cursor:pointer;text-align:center;white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn--primary{background:var(--accent);color:#0A0A0A;box-shadow:0 4px 18px rgba(242,169,0,.3)}
.btn--primary:hover{background:var(--accent-hover);box-shadow:0 6px 24px rgba(242,169,0,.4)}
.btn--pink{background:linear-gradient(135deg,#E8004F,#F24800);color:#fff;box-shadow:0 4px 18px rgba(255,0,87,.3)}
.btn--pink:hover{box-shadow:0 6px 26px rgba(255,0,87,.45)}
.btn--violet{background:linear-gradient(135deg,#4945A6,#6762CE);color:#fff;box-shadow:0 4px 18px rgba(103,98,206,.3)}
.btn--violet:hover{box-shadow:0 6px 26px rgba(103,98,206,.45)}
.btn--yellow{background:linear-gradient(135deg,#F7C039,#F2A900);color:#141414;box-shadow:0 4px 18px rgba(247,192,57,.3)}
.btn--yellow:hover{box-shadow:0 6px 26px rgba(247,192,57,.45)}
.btn--ghost{border-color:var(--border);color:var(--text)}
.btn--ghost:hover{border-color:var(--border-hover);background:var(--bg-card)}
.btn--sm{padding:.55rem 1.1rem;font-size:.8125rem}
.btn--full{width:100%}

/* ===== SECTION HEADERS ===== */
.sec{padding:clamp(4rem,9vh,7rem) 0;position:relative}
.sec--dark{background:var(--bg)}
.sec--lavanda{background:var(--bg-lavanda);color:var(--text-light)}
.sec--blue{background:var(--bg-blue-deep);color:#fff}
.sec--amber{background:var(--bg-amber-soft);color:var(--text-light)}
.sec--mint{background:var(--bg-mint-soft);color:var(--text-light)}

.eyebrow{
  font-family:var(--font-mono);font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--accent);display:inline-flex;align-items:center;gap:.6rem;margin-bottom:1rem;
}
.eyebrow::before{content:"";width:28px;height:1px;background:currentColor;opacity:.5}
.sec--lavanda .eyebrow,.sec--mint .eyebrow{color:var(--violet)}
.sec--amber .eyebrow{color:#7A4A00}
.sec--blue .eyebrow{color:var(--cyan)}
.sec-head{margin-bottom:clamp(2rem,5vh,3.5rem);max-width:760px}
.sec-head.center{margin-inline:auto;text-align:center}
.sec-head.center .eyebrow::after{content:"";width:28px;height:1px;background:currentColor;opacity:.5}

.t-display{font-size:clamp(2.5rem,8vw,5rem);font-weight:700;line-height:1;letter-spacing:-.02em}
.t-h1{font-size:clamp(2rem,5vw,3.25rem);font-weight:700;line-height:1.05}
.t-h2{font-size:clamp(1.5rem,3.5vw,2.25rem);font-weight:600}
.t-h3{font-size:1.25rem;font-weight:600}
.t-body-lg{font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.5}
.t-body-sm{font-size:.9375rem;color:var(--text-secondary);line-height:1.6}
.sec--lavanda .t-body-sm,.sec--mint .t-body-sm,.sec--amber .t-body-sm{color:var(--text-light-secondary)}
.sec--blue .t-body-sm{color:rgba(255,255,255,.85)}
.t-micro{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.08em;color:var(--text-tertiary);text-transform:uppercase}
.t-caption{font-size:.875rem}
.measure{max-width:60ch}
.accent-text{color:var(--accent)}
.sec--blue .accent-text{color:var(--cyan)}

/* ===== WAVE TRANSITIONS (from cocosolution) ===== */
.wave{display:block;width:100%;height:70px;line-height:0}
.wave svg{width:100%;height:100%;display:block}
.wave--top{margin-bottom:-1px}
.wave--bottom{margin-top:-1px}

/* ===== HERO ===== */
.hero{
  position:relative;min-height:100vh;display:flex;align-items:center;
  background:linear-gradient(180deg,var(--bg) 0%,#0d0d12 60%,#12121a 100%);
  overflow:hidden;padding-top:var(--header-h);
}
.hero__bg-decor{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(1200px 600px at 80% -10%,rgba(242,169,0,.12),transparent 60%),
    radial-gradient(800px 500px at 10% 110%,rgba(103,98,206,.18),transparent 60%),
    radial-gradient(600px 400px at 50% 50%,rgba(255,0,87,.05),transparent 60%);
}
.hero__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:var(--gutter);align-items:center;position:relative;z-index:1}
.hero__eyebrow{
  font-family:var(--font-mono);font-size:.8125rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--cyan);display:inline-flex;align-items:center;gap:.6rem;margin-bottom:1.5rem;
}
.hero__eyebrow .pulse{width:8px;height:8px;border-radius:50%;background:var(--mint);animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.8)}}
.hero__title .line{display:block;overflow:hidden}
.hero__title .line span{
  display:block;transform:translateY(110%);
  font-size:clamp(2.6rem,9vw,6rem);font-weight:800;line-height:.98;letter-spacing:-.03em;
  color:var(--text);
}
.hero__title .line span .dot{color:var(--accent)}
.hero__subtitle{margin-top:1.75rem;display:flex;flex-wrap:wrap;gap:.8rem}
.hero__subtitle span{
  font-family:var(--font-mono);font-size:.9rem;letter-spacing:.04em;color:var(--text-secondary);
  opacity:0;transform:translateY(12px);
}
.hero__subtitle span:nth-child(4){color:var(--cyan)}
.hero__cta{margin-top:2.5rem;display:flex;gap:1rem;flex-wrap:wrap}
.hero__status{margin-top:2rem;display:inline-flex;align-items:center;gap:.6rem;font-size:.8125rem;color:var(--text-tertiary)}
.hero__status .dot{width:8px;height:8px;border-radius:50%;background:var(--mint);animation:pulse 2s infinite}

.hero__visual{position:relative;min-height:520px}
.hero__float{
  position:absolute;background:rgba(22,22,22,.9);border:1px solid var(--border);border-radius:var(--radius-xl);
  padding:1.25rem;overflow:hidden;box-shadow:var(--shadow-lg);opacity:0;transform:translateY(24px);
}
.hero__float--code{top:0;left:0;width:min(420px,90%);font-family:var(--font-mono);font-size:.8125rem;line-height:1.9;z-index:3}
.hero__float--code .kw{color:var(--violet)}
.hero__float--code .fn{color:var(--cyan)}
.hero__float--code .str{color:var(--mint)}
.hero__float--metric{top:8%;right:0;width:min(260px,80%);display:flex;justify-content:space-between;gap:1.5rem;z-index:2}
.hero__float--metric .num{font-size:2rem;font-weight:800;color:var(--accent)}
.hero__float--metric .label{font-size:.75rem;color:var(--text-tertiary);font-family:var(--font-mono)}
.hero__float--interface{bottom:4%;left:14%;width:min(360px,85%);padding:0;overflow:hidden;border-radius:var(--radius-xl);z-index:4}
.hero__float--interface img{width:100%;display:block}
.hero__float--badge{top:52%;left:52%;width:auto;padding:.6rem 1rem;border-radius:999px;background:var(--accent);color:#0A0A0A;font-family:var(--font-mono);font-size:.75rem;font-weight:600;z-index:5;box-shadow:0 8px 24px rgba(242,169,0,.4)}

.hero__scroll{position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:.5rem;z-index:5}
.hero__scroll .line{width:1px;height:42px;background:linear-gradient(var(--text-tertiary),transparent);animation:scrollLine 2s infinite}
.hero__scroll span{font-family:var(--font-mono);font-size:.625rem;letter-spacing:.2em;text-transform:uppercase;color:var(--text-tertiary)}
@keyframes scrollLine{0%{transform:scaleY(0);transform-origin:top}50%{transform:scaleY(1);transform-origin:top}51%{transform-origin:bottom}100%{transform:scaleY(0);transform-origin:bottom}}

/* ===== LOGO CAROUSEL ===== */
.logo-strip{
  padding:clamp(2rem,4vh,3rem) 0;
  background:var(--bg);border-bottom:1px solid var(--border);
}
.logo-strip__label{text-align:center;font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.2em;text-transform:uppercase;color:var(--text-tertiary);margin-bottom:1.5rem}
.logo-carousel{overflow:hidden;position:relative;mask-image:linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent)}
.logo-carousel__track{display:flex;gap:3rem;align-items:center;width:max-content;animation:scrollX 30s linear infinite}
.logo-carousel:hover .logo-carousel__track{animation-play-state:paused}
.logo-carousel__item{display:flex;align-items:center;gap:.6rem;font-family:var(--font-mono);font-size:.875rem;letter-spacing:.1em;color:var(--text-tertiary);white-space:nowrap;opacity:.8}
.logo-carousel__item b{color:var(--text-secondary);font-weight:600}
@keyframes scrollX{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.logo-carousel__track.no-anim{animation-duration:40s}

/* ===== CARDS ===== */
.card-grid{display:grid;gap:1.25rem}
.card-grid--4{grid-template-columns:repeat(4,1fr)}
.card-grid--3{grid-template-columns:repeat(3,1fr)}
.card-grid--2{grid-template-columns:repeat(2,1fr)}
.card{
  border-radius:var(--radius-xl);padding:clamp(1.5rem,3vw,2.25rem);
  display:flex;flex-direction:column;gap:1rem;position:relative;overflow:hidden;
  border:1px solid transparent;transition:transform var(--dur-md) var(--ease),box-shadow var(--dur-md) var(--ease);
}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.card--dark{background:var(--bg-card);border-color:var(--border)}
.card--dark:hover{border-color:var(--border-hover);background:var(--bg-card-hover)}
.card--colored{color:#141414}
.card--colored .card__icon{color:rgba(0,0,0,.72)}
.card--lavanda{background:var(--bg-lavanda);color:var(--text-light)}
.card--blue{background:var(--bg-blue-deep);color:#fff}
.card__icon{font-size:1.6rem;line-height:1;margin-bottom:.25rem}
.card__tag{
  position:absolute;top:1.25rem;right:1.25rem;font-family:var(--font-mono);font-size:.625rem;
  letter-spacing:.12em;text-transform:uppercase;padding:.3rem .6rem;border-radius:999px;font-weight:600;
}
.card__tag--live{background:var(--mint);color:#06281a}
.card__tag--exp{background:#312F70;color:#fff}
.card__tag--soon{background:rgba(0,0,0,.24);color:inherit}
.card h3{font-size:1.3rem}
.card p{font-size:.9rem;color:var(--text-secondary)}
.card--colored p{color:rgba(20,20,20,.78)}
.card--blue p{color:rgba(255,255,255,.9)}
.card .tag-row{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.1em;color:currentColor;opacity:.9;display:flex;gap:.4rem;flex-wrap:wrap;align-items:center;margin-top:auto}
.card .tag-row .status-pill{border:1px solid currentColor;border-radius:999px;padding:.15rem .6rem;opacity:.9}

/* ===== LAB CARD COLORS ===== */
.lab-menu{background:#FF863D}
.lab-wedding{background:#FF93BD}
.lab-ai{background:#5FD9FF}
.lab-lead{background:#F2A900}
.lab-seo{background:#00F0B8}
.lab-tool{background:#A566FF}
.lab-local{background:#6762CE;color:#fff!important}
.lab-build{background:#FF6200}
.lab-commerce{background:#F7C039}
.lab-local .card__tag--soon,.lab-build .card__tag--soon{background:rgba(0,0,0,.28)}

/* ===== SPLIT LAYOUT ===== */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.split--reverse .split__media{order:2}
.split__media{position:relative}
.split__media img,.split__media video{
  border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);width:100%;display:block;
}
.split__media .corner-label{
  position:absolute;bottom:1rem;left:1rem;background:rgba(10,10,10,.85);color:var(--text);
  font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.1em;padding:.5rem .8rem;border-radius:var(--radius-sm);
}
.sec--lavanda .split__media .corner-label,.sec--mint .split__media .corner-label,.sec--amber .split__media .corner-label{background:rgba(255,255,255,.9);color:var(--text-light)}
.sec--blue .split__media .corner-label{background:rgba(10,10,10,.8)}

/* ===== LINK ===== */
.link{
  display:inline-flex;align-items:center;gap:.4rem;font-weight:600;font-size:.9rem;
  color:var(--accent);transition:gap var(--dur-fast) var(--ease),color var(--dur-fast) var(--ease);
}
.link:hover{gap:.7rem;color:var(--accent-hover)}
.sec--blue .link{color:var(--cyan)}
.sec--blue .link:hover{color:#fff}
.sec--lavanda .link,.sec--mint .link{color:var(--violet)}
.sec--lavanda .link:hover,.sec--mint .link:hover{color:#4A47A8}
.sec--amber .link{color:#7A4A00}
.sec--amber .link:hover{color:#5A2E00}

/* ===== TU PROYECTO ===== */
.proyecto__grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(2rem,5vw,4rem);align-items:start}
.proyecto__card{
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-xl);
  padding:clamp(1.5rem,3vw,2.5rem);display:flex;flex-direction:column;gap:1rem;
}

/* ===== PROJECTS ===== */
.project{overflow:hidden;border-top:1px solid var(--border);padding-top:2.5rem;margin-top:2.5rem}
.project:first-of-type{border-top:0;margin-top:0}
.project__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}
.project__name{font-family:var(--font-mono);font-size:.875rem;color:var(--text-secondary)}
.project__name b{color:var(--text)}
.project__media{margin-bottom:1.25rem;position:relative;overflow:hidden;border-radius:var(--radius-xl)}
.project__media video{width:100%;display:block}
.project__caption{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1.5rem;font-family:var(--font-mono);font-size:.75rem;color:var(--text-tertiary)}
.project__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gutter);margin-bottom:1.5rem}
.project__grid-item{display:flex;flex-direction:column;gap:.5rem}
.project__grid-img{border-radius:var(--radius-md);overflow:hidden;background:var(--bg-elevated);aspect-ratio:4/3}
.project__grid-img img{width:100%;height:100%;object-fit:cover}
.project__grid-item figcaption{font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.08em;color:var(--text-tertiary)}
.project__grid-item figcaption b{color:var(--text)}
.project__phones{display:grid;grid-template-columns:repeat(2,minmax(0,200px));gap:var(--gutter);justify-content:center}
.project__phone{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);background:var(--bg-elevated);aspect-ratio:9/19}
.project__phone img{width:100%;height:100%;object-fit:cover}
.project__phones-note{grid-column:1/-1;text-align:center;font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.1em;color:var(--text-tertiary)}
.project__meta{display:flex;flex-wrap:wrap;gap:1.25rem 3rem;border-top:1px solid var(--border);padding-top:1.25rem;margin-top:1.5rem}
.project__meta div{display:flex;flex-direction:column;gap:.15rem}
.project__meta .t-micro{color:var(--text-tertiary)}
.project__meta .t-caption{color:var(--text)}
.project__meta .t-caption b{font-weight:500}

/* ===== EXPERIMENTS ===== */
.experiments__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--border);border:1px solid var(--border)}
.experiment{background:var(--bg-card);padding:clamp(1.5rem,3vw,2.5rem);display:flex;flex-direction:column;gap:1rem;transition:background var(--dur-md) var(--ease)}
.experiment:hover{background:var(--bg-card-hover)}
.experiment__head{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.experiment__hypothesis{font-family:var(--font-editorial);font-weight:400;font-size:clamp(1.2rem,2vw,1.6rem);line-height:1.25}
.experiment__row{display:flex;align-items:baseline;gap:.75rem}
.experiment__label{font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.1em;text-transform:uppercase;color:var(--text-tertiary);min-width:70px;flex:none}
.experiment__value{font-size:.875rem;color:var(--text-secondary)}
.experiment__result{margin-top:auto;padding-top:1rem;border-top:1px solid var(--border);font-family:var(--font-mono);font-size:.75rem;letter-spacing:.08em;color:var(--text-tertiary)}
.experiment__result b{color:var(--accent);font-weight:500}

/* ===== METHODOLOGY ===== */
.method-flow{display:flex;align-items:stretch;gap:0;margin-top:clamp(2rem,5vh,3.5rem);position:relative}
.meth-step{
  flex:1;padding:clamp(1.5rem,3vw,2.5rem);display:flex;flex-direction:column;gap:1rem;
  position:relative;border:1px solid var(--border);background:var(--bg-elevated);border-radius:var(--radius-xl);margin:0 .5rem;
}
.meth-step:first-child{margin-left:0}
.meth-step:last-child{margin-right:0}
.meth-step:hover{background:var(--bg-card)}
.meth-step-num{font-family:var(--font-mono);font-size:2.2rem;font-weight:700;color:var(--accent);opacity:.8;line-height:1}
.meth-arrow{align-self:center;color:var(--accent);font-size:1.5rem;flex:none;z-index:2}
.meth-repeat{margin-top:2rem;text-align:center;font-family:var(--font-editorial);font-size:1.25rem;color:var(--text-secondary)}
.meth-repeat b{color:var(--accent)}

/* ===== ABOUT ===== */
.about__text{font-family:var(--font-editorial);font-weight:400;font-size:clamp(1.4rem,2.5vw,2rem);line-height:1.3}
.about__data{display:flex;flex-direction:column;gap:1rem}
.about__row{padding-top:.75rem;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:.2rem}
.about__row .t-micro{color:var(--text-tertiary)}
.about__row .t-caption{color:var(--text)}
.about__anti{margin-top:clamp(3rem,6vh,4rem);border:1px dashed var(--border);padding:clamp(1.25rem,3vw,2rem);border-radius:var(--radius-lg)}
.about__anti ul{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem}
.about__anti li{font-family:var(--font-mono);font-size:.8125rem;letter-spacing:.06em;color:var(--text-tertiary)}

/* ===== FAQ ===== */
.faq{max-width:780px;margin-inline:auto}
.faq__item{border-bottom:1px solid var(--border);padding:1.25rem 0}
.faq__q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;text-align:left;font-weight:600;font-size:1.05rem;padding:.25rem 0;cursor:pointer}
.faq__q .faq__icon{flex:none;transition:transform var(--dur-md) var(--ease);color:var(--accent)}
.faq__item.is-open .faq__icon{transform:rotate(45deg)}
.faq__a{max-height:0;overflow:hidden;transition:max-height var(--dur-md) var(--ease);color:var(--text-secondary);font-size:.95rem}
.faq__item.is-open .faq__a{max-height:500px;padding-top:.75rem}
.sec--blue .faq__item{border-bottom-color:rgba(255,255,255,.15)}
.sec--blue .faq__a{color:rgba(255,255,255,.9)}

/* ===== BREADCRUMB ===== */
.breadcrumb{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--text-tertiary);margin-bottom:2rem;flex-wrap:wrap}
.breadcrumb a{color:var(--text-secondary)}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb .sep{color:var(--text-tertiary)}
.breadcrumb .current{color:var(--accent)}

/* ===== CTA BANNER ===== */
.cta-banner{
  border-radius:var(--radius-xl);padding:clamp(2.5rem,6vw,4.5rem);text-align:center;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--bg-blue-deep),#1d1b4d);
}
.cta-banner h2{color:#fff;font-size:clamp(1.8rem,4vw,3rem);font-weight:700}
.cta-banner p{color:rgba(255,255,255,.85);max-width:52ch;margin:1rem auto 2rem}
.cta-banner .btn-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}

/* ===== FINAL CTA ===== */
.final-cta{background:var(--bg-amber-soft);color:var(--text-light);padding:clamp(5rem,12vh,8rem) 0;text-align:center;position:relative}
.final-cta .t-display{margin-bottom:1.5rem}
.final-cta .btn--ghost{border-color:var(--border-light);color:var(--text-light)}
.final-cta .btn--ghost:hover{background:rgba(255,255,255,.5)}

/* ===== FOOTER ===== */
.site-footer{border-top:1px solid var(--border);padding:clamp(3rem,8vh,5rem) 0 2rem;background:var(--bg)}
.footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1fr;gap:2.5rem}
.footer__col{display:flex;flex-direction:column;gap:.7rem;align-items:flex-start}
.footer__col .f-title{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;color:var(--text-tertiary)}
.footer__col a:not(.btn){font-size:.875rem;color:var(--text-secondary);transition:color var(--dur-fast) var(--ease)}
.footer__col a:not(.btn):hover{color:var(--text)}
.footer__brand{display:flex;align-items:center;gap:.6rem}
.footer__brand .brand__word{font-size:.8125rem}
.footer__text{color:var(--text-tertiary);max-width:30ch;font-size:.875rem}
.footer__contact li{font-size:.875rem;color:var(--text-secondary);display:flex;gap:.5rem;align-items:center}
.footer__bar{margin-top:clamp(2rem,5vh,3.5rem);border-top:1px solid var(--border);padding-top:1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.footer__bar .t-micro{color:var(--text-tertiary)}

/* ===== FORMS ===== */
.radio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.radio-card{
  position:relative;border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:1.25rem;cursor:pointer;transition:border-color var(--dur-fast),background var(--dur-fast),transform var(--dur-fast);
  background:var(--bg-card);
}
.radio-card:hover{border-color:var(--border-hover);transform:translateY(-2px)}
.radio-card:has(input:checked){border-color:var(--accent);background:var(--bg-card-hover)}
.radio-card input{position:absolute;opacity:0;pointer-events:none}
.radio-card .card-content{display:flex;flex-direction:column;gap:.35rem;cursor:pointer}
.radio-card strong{font-size:1rem}
.radio-card span:not(.card-content span){font-size:.8125rem;color:var(--text-secondary)}
.radio-card:has(input:checked) strong{color:var(--accent)}
.input-group,.field{display:flex;flex-direction:column;gap:.45rem;margin-bottom:1.25rem}
label{font-size:.875rem;font-weight:500}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],select,textarea{
  background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);
  padding:.85rem 1rem;color:var(--text);font:inherit;font-size:.9375rem;width:100%;
  transition:border-color var(--dur-fast) var(--ease),box-shadow var(--dur-fast) var(--ease);
}
input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(242,169,0,.15);outline:none}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A8A86' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;cursor:pointer}
.step-actions{display:flex;gap:.75rem;margin-top:1.5rem;flex-wrap:wrap}
.step-actions .btn:first-child{margin-left:0}
.step-actions .btn{margin-left:auto}
.form-error{display:none;font-family:var(--font-mono);font-size:.75rem;letter-spacing:.06em;color:var(--error);margin-top:.5rem}
.form-error.is-shown{display:block}
.form-success{display:none;flex-direction:column;align-items:flex-start;gap:1.25rem;background:var(--bg-card);border:1px solid var(--border);padding:clamp(1.5rem,4vw,2.5rem);border-radius:var(--radius-xl)}
.form-success.is-shown{display:flex}
.form-success__t{font-weight:700;font-size:1.5rem;display:flex;align-items:center;gap:.6rem}
.form-success__check{width:36px;height:36px;display:grid;place-items:center;background:var(--mint);color:#0A0A0A;border-radius:50%}
.form-success__check svg{width:18px;height:18px}
.form-success__p{color:var(--text-secondary);max-width:48ch}
.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;display:inline-block;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ===== PROYECTO STEPS ===== */
.proyecto__step{display:none}
.proyecto__step.active{display:block}
.proyecto__step-label{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin-bottom:1rem}
.proyecto__step > h2{margin-bottom:1.5rem;font-size:clamp(1.3rem,3vw,1.8rem)}
.proyecto__badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.badge{font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.1em;text-transform:uppercase;padding:.35rem .7rem;border-radius:999px;font-weight:500}
.badge--accent{background:var(--accent);color:#0A0A0A}
.badge--live{background:var(--mint);color:#06281a}
.badge--experiment{background:#312F70;color:#fff}
.badge--soon{background:rgba(255,255,255,.24);color:var(--text)}

/* ===== RESPONSIVE ===== */
@media (max-width:1100px){
  .card-grid--4{grid-template-columns:repeat(2,1fr)}
  .footer__grid{grid-template-columns:1fr 1fr 1fr}
  .nav-desktop .nav-links{display:none}
}
@media (max-width:1023px){
  .hero__grid{grid-template-columns:1fr}
  .hero__visual{min-height:480px;margin-top:2rem}
  .split{grid-template-columns:1fr}
  .proyecto__grid{grid-template-columns:1fr}
  .method-flow{flex-direction:column;gap:1rem}
  .meth-step{margin:0}
  .project__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .nav-desktop{display:none}
  .burger{display:flex}
  .card-grid--3{grid-template-columns:1fr}
  .card-grid--2{grid-template-columns:1fr}
  .experiments__grid{grid-template-columns:1fr}
  .radio-grid{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr 1fr}
  .project__grid{grid-template-columns:1fr}
  .project__phones{grid-template-columns:1fr 1fr;gap:1rem}
  .hero__float--code{width:100%}
  .hero__float--metric{width:100%}
  .hero__float--interface{width:100%;left:0}
  .logo-carousel__track{gap:2rem}
}
@media (max-width:480px){
  .footer__grid{grid-template-columns:1fr}
  .card-grid--4{grid-template-columns:1fr}
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0ms!important}
  html{scroll-behavior:auto}
  .hero__title .line span,.hero__subtitle span,.hero__float{opacity:1!important;transform:none!important}
  .logo-carousel__track{animation:none}
}

/* AOS fallback (if disabled/not loaded) */
.js .aos-init:not(.aos-animate){opacity:1;transform:none}

/* ===== LAB PAGE HERO ===== */
.lab-hero{padding:clamp(6rem,14vh,9rem) 0 clamp(3rem,6vh,5rem);position:relative;overflow:hidden;color:#fff}
.lab-hero .wrap{position:relative;z-index:1}
.lab-hero .breadcrumb{margin-bottom:2.5rem}
.lab-hero .t-display{margin:.25rem 0 0;letter-spacing:-.02em}
.lab-hero .dot{color:inherit}
.lab-hero__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,5vw,4rem);align-items:end}
.lab-hero__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;border-top:1px solid rgba(255,255,255,.2);padding-top:2rem}
.stat{display:flex;flex-direction:column;gap:.25rem}
.stat__num{font-family:var(--font-editorial);font-size:clamp(1.8rem,4vw,3rem);font-weight:600;line-height:1}
.stat__label{font-family:var(--font-mono);font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.7)}

/* ===== PROOF ROWS (lab pages) ===== */
.project-list{display:flex;flex-direction:column}
.proof-row{
  display:grid;grid-template-columns:minmax(0,360px) 1fr;gap:clamp(1.5rem,3vw,3rem);
  align-items:center;padding:clamp(2rem,4vw,3rem) 0;border-bottom:1px solid var(--border-light);
}
.proof-row:last-child{border-bottom:0}
.proof-row__media{border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-md)}
.proof-row__media img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/10;display:block}
.proof-row__body{display:flex;flex-direction:column;gap:.6rem;align-items:flex-start}
.proof-row__body .t-micro{color:var(--accent)}
.proof-row__body .t-body-sm{max-width:52ch}
.proof-row__body .link{margin-top:.5rem}

@media (max-width:1023px){
  .lab-hero__grid{grid-template-columns:1fr;align-items:start}
  .lab-hero__stats{margin-top:2rem}
  .proof-row{grid-template-columns:1fr}
  .proof-row__media img{aspect-ratio:16/9;width:100%}
}
@media (max-width:767px){
  .lab-hero__stats{grid-template-columns:1fr;gap:1.25rem}
}

/* ===== Services (hub + subpages) ===== */
.lab-service{
  background:
    linear-gradient(135deg, rgba(0,0,0,.62), rgba(0,0,0,.15) 55%, rgba(0,0,0,0) 72%),
    linear-gradient(160deg, var(--c), #0A0A0A 135%);
  border-color:rgba(255,255,255,.22);color:#fff;
}
.lab-service:hover{
  border-color:var(--c);
  background:
    linear-gradient(135deg, rgba(0,0,0,.66), rgba(0,0,0,.2) 55%, rgba(0,0,0,0) 72%),
    linear-gradient(160deg, var(--c), #0A0A0A 150%);
}
.lab-service .card__icon{font-size:1.8rem;line-height:1}
.lab-service .tag-row{color:rgba(255,255,255,.9)}
.lab-service p{color:rgba(255,255,255,.92)}
.nav-service{border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:.3rem .8rem;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;transition:border-color .2s,color .2s}
.nav-service:hover{border-color:var(--accent);color:var(--accent)}
.nav-service.active-nav{border-color:var(--accent);color:var(--accent)}
.svc-hero .lab-hero__stats{border-top-color:rgba(255,255,255,.25)}

/* ===== Blog (roadmap + newsletter) ===== */
.road-list{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.road-item{display:flex;gap:1rem;align-items:flex-start;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.1rem 1.25rem}
.road-item h3{font-size:1rem;line-height:1.35;margin-bottom:.25rem}
.road-num{font-family:var(--font-mono);color:var(--accent);font-size:.8rem;line-height:1.6;flex:0 0 auto}
.newsletter-form input[type=email]{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);padding:.85rem 1rem;color:var(--text);font:inherit;font-size:.9375rem}
.newsletter-form input[type=email]:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(242,169,0,.15)}
.form-msg{font-size:.875rem;min-height:1.25em}
.form-msg.ok{color:var(--accent)}
.form-msg.err{color:#FF6172}
@media(max-width:760px){.road-list{grid-template-columns:1fr}}

/* ===== Calculators ===== */
.calc{display:grid;gap:1.5rem;max-width:1000px;margin-inline:auto}
.calc-pane{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:clamp(1.25rem,3vw,2rem)}
.calc-pane h3{font-size:1.15rem;margin-bottom:1rem}
.calc-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 1.25rem}
.calc-fields .field--full{grid-column:1/-1}
.calc select{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);padding:.85rem 1rem;color:var(--text);font:inherit;font-size:.9375rem}
.calc select:focus,.calc input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(242,169,0,.15)}
.calc input[type=number],.calc input[type=text]{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);padding:.85rem 1rem;color:var(--text);font:inherit;font-size:.9375rem}
.calc-hint{font-size:.8125rem;color:var(--text-secondary)}
.calc-extra{display:flex;align-items:center;gap:.75rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);padding:.7rem .9rem;margin-bottom:.75rem}
.calc-extra input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:var(--accent)}
.calc-extra__label{font-size:.9rem;color:var(--text-secondary)}
.calc-extra b{font-family:var(--font-mono);font-size:.8rem;color:var(--accent);margin-left:auto}
.serp{background:#fff;color:#202124;border-radius:var(--radius-md);padding:1rem 1.1rem;border:1px solid var(--border)}
.serp__url{font-size:.8rem;color:#202124;padding-bottom:.2rem}
.serp__url b{color:#1a0dab;font-weight:400}
.serp__url .serp__site{color:#202124}
.serp__title{font-size:1.05rem;color:#1a0dab;font-weight:500;line-height:1.35;margin:.1rem 0 .2rem}
.serp__desc{font-size:.8125rem;color:#4d5156;line-height:1.5}
.ct-bar{height:6px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden;margin:.5rem 0 .25rem}
.ct-bar > span{display:block;height:100%;width:0;background:var(--accent);transition:width .25s ease}
.ct-status{font-family:var(--font-mono);font-size:.8rem;letter-spacing:.02em}
.ct-status--good{color:var(--mint)}
.ct-status--warn{color:var(--accent)}
.ct-status--bad{color:#FF6172}
.out-card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-md);padding:1.1rem 1.25rem;display:flex;flex-direction:column;gap:.25rem}
.out-card__label{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-secondary)}
.out-card__value{font-size:clamp(1.5rem,3vw,2rem);font-weight:700;color:var(--accent);font-family:var(--font-mono);line-height:1.1}
.out-card__sub{font-size:.8125rem;color:var(--text-secondary)}
.wb-row{display:flex;justify-content:space-between;gap:.75rem;padding:.5rem 0;border-bottom:1px solid var(--border);font-size:.9rem}
.wb-row:last-child{border-bottom:0}
.wb-row b{font-family:var(--font-mono);font-size:.85rem;color:var(--accent);text-align:right}
.calc-note{font-size:.8125rem;color:var(--text-secondary);text-align:center;max-width:64ch;margin:1rem auto 0}
@media(max-width:760px){.calc-fields{grid-template-columns:1fr}.calc-pane{padding:1.25rem}}
@media(prefers-reduced-motion:reduce){.ct-bar > span{transition:none}}

/* ===== Retos (challenges) ===== */
.reto-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.reto{background:var(--bg-card);border:1px solid var(--border);border-top:3px solid var(--accent);border-radius:var(--radius-lg);padding:clamp(1.5rem,3vw,2.25rem);display:flex;flex-direction:column;gap:1rem;position:relative;transition:transform var(--dur-md) var(--ease),border-color var(--dur-md) var(--ease)}
.reto:hover{transform:translateY(-6px);border-color:var(--border-hover)}
.reto__head{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.reto__num{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.16em;color:var(--accent)}
.reto h3{font-size:1.35rem;line-height:1.2}
.reto p{font-size:.92rem;color:var(--text-secondary)}
.reto__meta{display:flex;flex-direction:column;gap:.25rem;margin-top:auto;padding-top:1rem;border-top:1px solid var(--border)}
.reto__meta span{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.06em;color:var(--text-secondary)}
.reto .link{margin-top:.25rem}
@media(max-width:900px){.reto-grid{grid-template-columns:1fr}}

/* ===== Blog articles ===== */
.article-hero{padding:clamp(6rem,14vh,9rem) 0 clamp(2rem,5vh,3.5rem);background:linear-gradient(180deg,var(--bg),#0d0d12 85%);overflow:hidden}
.article-hero h1{font-family:var(--font-editorial);font-size:clamp(2rem,5vw,3.25rem);line-height:1.08;letter-spacing:-.01em;max-width:22ch}
.article-hero .article-lead{color:var(--text-secondary);font-size:clamp(1.05rem,2vw,1.25rem);max-width:56ch;margin-top:1.25rem}
.article-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.6rem;margin-top:1.75rem;font-family:var(--font-mono);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-tertiary)}
.article-meta b{color:var(--accent);font-weight:500}
.article{max-width:760px;margin-inline:auto;padding-bottom:clamp(4rem,8vh,6rem)}
.article p{font-size:1.05rem;line-height:1.75;color:#D5D5D0;margin:1.25rem 0}
.article strong{color:var(--text)}
.article h2{font-family:var(--font-editorial);font-size:clamp(1.4rem,3vw,1.75rem);margin:2.6rem 0 .75rem;line-height:1.2}
.article h3{font-size:1.15rem;margin:2rem 0 .5rem;color:var(--text)}
.article ul,.article ol{margin:1.25rem 0;padding-left:1.25rem;color:#D5D5D0}
.article li{margin:.5rem 0;line-height:1.7}
.article ul li::marker{color:var(--accent)}
.article ol li::marker{color:var(--accent);font-family:var(--font-mono);font-weight:600}
.article blockquote{border-left:3px solid var(--accent);padding:.4rem 0 .4rem 1.25rem;margin:1.75rem 0;color:var(--text-secondary);font-style:italic;font-size:1.05rem}
.article code{font-family:var(--font-mono);font-size:.9em;background:var(--bg-elevated);border:1px solid var(--border);padding:.15rem .4rem;border-radius:var(--radius-sm);color:var(--mint)}
.article a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.article a:hover{color:#FFC44D}
.article .callout{background:var(--bg-card);border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:var(--radius-md);padding:1.25rem 1.5rem;margin:1.75rem 0;font-size:.95rem;color:var(--text-secondary)}
.article .callout b{color:var(--accent)}
.article-sep{max-width:760px;margin:0 auto;border:0;border-top:1px solid var(--border)}
.article-cta{max-width:760px;margin:0 auto 2rem}
.article-cta .cta-banner h2{font-size:clamp(1.5rem,3vw,2.2rem)}

/* ===== Blog hub: latest posts ===== */
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.post-card{display:flex;flex-direction:column;gap:.6rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;transition:transform var(--dur-md) var(--ease),border-color var(--dur-md) var(--ease)}
.post-card:hover{transform:translateY(-4px);border-color:var(--border-hover)}
.post-card .t-micro{color:var(--accent)}
.post-card h3{font-size:1.15rem;line-height:1.3}
.post-card p{font-size:.9rem;color:var(--text-secondary)}
.post-card .link{margin-top:auto}
@media(max-width:900px){.post-grid{grid-template-columns:1fr}}
