/*
Theme Name: ChileHaus Lab
Theme URI: https://chilehaus.cl/
Author: ChileHaus
Author URI: https://chilehaus.cl/
Description: Tema oficial de ChileHaus Lab. Laboratorio productivo para la construcción en madera.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: chilehaus-lab
*/

@font-face {
  font-family: "Geist Local";
  src: url("assets/fonts/geist-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono Local";
  src: url("assets/fonts/geist-mono-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --font-geist-sans: "Geist Local";
  --font-geist-mono: "Geist Mono Local";
  --forest: #143629;
  --forest-dark: #071b13;
  --forest-mid: #274d3c;
  --gold: #c7a462;
  --gold-light: #e8d9b8;
  --paper: #f4f1e9;
  --paper-deep: #e6e0d2;
  --ink: #13221a;
  --soft-ink: #647068;
  --line: rgba(19, 34, 26, 0.17);
  --light-line: rgba(255, 255, 255, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

::selection { background: var(--gold-light); color: var(--forest-dark); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: absolute;
  z-index: 30;
  inset: 0 0 auto;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5vw;
  color: white;
  border-bottom: 1px solid var(--light-line);
  background: rgba(4, 18, 12, .2);
  backdrop-filter: blur(2px);
}

.lab-brand { display: inline-flex; align-items: center; gap: 12px; }
.official-isotype {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(199, 164, 98, .62);
  border-radius: 8px;
  background: #fbfaf5;
  box-shadow: 0 0 0 1px rgba(7, 27, 19, .16), 0 0 24px rgba(199, 164, 98, .12);
}
.official-isotype img {
  position: absolute;
  top: -29%;
  left: -68%;
  width: 241%;
  max-width: none;
  height: auto;
}
.official-isotype-large {
  width: 82px;
  height: 82px;
  border-radius: 16px;
  border-color: rgba(232, 217, 184, .72);
  box-shadow: 0 0 0 1px rgba(199, 164, 98, .22), 0 0 46px rgba(199, 164, 98, .2);
}
.lab-brand-copy { display: grid; gap: 3px; }
.lab-brand-copy strong { font-size: 17px; letter-spacing: 0.04em; line-height: 1; }
.lab-brand-copy strong b { color: var(--gold); font-weight: 800; }
.lab-brand-copy small { color: rgba(255,255,255,.58); font: 500 7px/1.25 var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; }
.lab-brand-compact .lab-brand-copy strong { font-size: 20px; }

.growth-network {
  position: fixed;
  z-index: 12;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.growth-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(14px, 2.4vw, 38px);
  width: 1px;
  background: linear-gradient(180deg, transparent 0, rgba(199,164,98,.58) 9%, rgba(199,164,98,.2) 44%, rgba(199,164,98,.52) 74%, transparent 100%);
  box-shadow: 0 0 11px rgba(199,164,98,.2);
}
.growth-spine i {
  position: absolute;
  left: -3px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(232,217,184,.72);
  border-radius: 50%;
  background: rgba(20,54,41,.72);
  box-shadow: 0 0 13px rgba(199,164,98,.42);
  animation: nodePulse 3.8s ease-in-out infinite;
}
.growth-spine i:nth-child(1) { top: 14%; }
.growth-spine i:nth-child(2) { top: 38%; }
.growth-spine i:nth-child(3) { top: 64%; }
.growth-spine i:nth-child(4) { top: 87%; }
.growth-connector {
  position: absolute;
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(199,164,98,.58), transparent);
  box-shadow: 0 0 9px rgba(199,164,98,.18);
}
.growth-connector:after {
  content: "";
  position: absolute;
  right: 22%;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 11px rgba(199,164,98,.52);
  animation: nodePulse 2.9s ease-in-out infinite reverse;
}
.growth-connector-a { top: 27%; left: 2.4vw; width: 31vw; transform: rotate(11deg); }
.growth-connector-b { top: 72%; left: 2.4vw; width: 42vw; transform: rotate(-8deg); }
.growth-rings {
  position: absolute;
  display: block;
  width: 520px;
  height: 390px;
}
.growth-rings i {
  position: absolute;
  border: 1px solid rgba(199,164,98,.21);
  border-radius: 47% 53% 45% 55% / 51% 43% 57% 49%;
  animation: ringPulse 7s ease-in-out infinite alternate;
}
.growth-rings i:nth-child(even) { animation-delay: -3.5s; }
.growth-rings i:nth-child(1) { inset: 3%; transform: rotate(4deg); }
.growth-rings i:nth-child(2) { inset: 9%; transform: rotate(-3deg); }
.growth-rings i:nth-child(3) { inset: 15%; transform: rotate(6deg); }
.growth-rings i:nth-child(4) { inset: 21%; transform: rotate(-5deg); }
.growth-rings i:nth-child(5) { inset: 28%; transform: rotate(7deg); }
.growth-rings i:nth-child(6) { inset: 35%; transform: rotate(-8deg); }
.growth-rings i:nth-child(7) { inset: 42%; transform: rotate(4deg); }
.growth-rings i:nth-child(8) { inset: 48%; transform: rotate(-6deg); }
.growth-rings i:nth-child(9) { inset: 54%; transform: rotate(8deg); }
.growth-rings-a { right: -190px; top: 16vh; transform: rotate(18deg); }
.growth-rings-b { left: 21vw; bottom: -180px; width: 420px; height: 320px; transform: rotate(-22deg); }

@keyframes ringPulse {
  from { opacity: .38; }
  to { opacity: 1; }
}

@keyframes nodePulse {
  0%, 100% { opacity: .42; transform: scale(.78); }
  50% { opacity: 1; transform: scale(1.18); }
}

.main-nav { display: flex; align-items: center; gap: clamp(17px, 2vw, 34px); font-size: 11px; }
.main-nav > a { color: rgba(255,255,255,.65); transition: color 180ms ease; }
.main-nav > a:hover, .main-nav > a:focus-visible { color: white; }
.main-nav .nav-cta { padding: 13px 18px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: white; }
.nav-cta span { margin-left: 8px; color: var(--gold-light); }

.hero { min-height: 760px; height: min(100svh, 940px); display: grid; grid-template-columns: minmax(0, 52%) minmax(0, 48%); grid-template-rows: minmax(0, 1fr); background: var(--forest-dark); color: white; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 118px clamp(46px, 5vw, 82px) 60px; background:
  radial-gradient(circle at 9% 81%, rgba(199,164,98,.16), transparent 28%),
  linear-gradient(138deg, var(--forest-dark), #0b281d 76%); }
.hero-copy:after { content: "LAB"; position: absolute; right: -2px; bottom: -7.2vw; color: rgba(255,255,255,.022); font-size: 27vw; font-weight: 900; letter-spacing: -.08em; pointer-events: none; }
.eyebrow, .section-label { display: flex; align-items: center; gap: 11px; margin: 0; text-transform: uppercase; font: 650 9px/1.5 var(--font-geist-mono), monospace; letter-spacing: .17em; }
.eyebrow { color: rgba(255,255,255,.6); }
.eyebrow span { width: 30px; height: 1px; background: var(--gold); }
.section-label { color: var(--forest-mid); }
.section-label > span { color: var(--gold); }
.section-label.light { color: rgba(255,255,255,.5); }
.section-label.light > span { color: var(--gold-light); }
.hero-brand-signal {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  width: fit-content;
  margin-bottom: 31px;
}
.hero-brand-signal > div:last-child { display: grid; gap: 6px; }
.hero-brand-signal strong { color: white; font-size: 13px; letter-spacing: .14em; }
.hero-brand-signal small { color: rgba(255,255,255,.42); font: 600 7px/1.3 var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; }
.hero-orbit { position: absolute; z-index: -1; left: -52px; top: -45px; width: 188px; height: 168px; }
.hero-orbit i { position: absolute; border: 1px solid rgba(199,164,98,.25); border-radius: 47% 53% 46% 54% / 52% 44% 56% 48%; box-shadow: 0 0 10px rgba(199,164,98,.07); }
.hero-orbit i:nth-child(1) { inset: 0; transform: rotate(5deg); }
.hero-orbit i:nth-child(2) { inset: 12%; transform: rotate(-6deg); }
.hero-orbit i:nth-child(3) { inset: 24%; transform: rotate(8deg); }
.hero-orbit i:nth-child(4) { inset: 36%; transform: rotate(-4deg); }
.hero-orbit i:nth-child(5) { inset: 48%; transform: rotate(7deg); }
.hero h1 { position: relative; z-index: 1; max-width: 760px; margin: 28px 0 25px; font: 500 clamp(58px, 5.8vw, 92px)/.9 var(--font-geist-sans), Arial, sans-serif; letter-spacing: -.068em; }
h1 em, h2 em { color: var(--gold-light); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lead { position: relative; z-index: 1; max-width: 610px; margin: 0; color: rgba(255,255,255,.73); font-size: clamp(16px, 1.2vw, 19px); line-height: 1.58; }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 11px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 49px; padding: 15px 22px; border-radius: 999px; font-size: 11px; font-weight: 750; transition: transform 180ms ease, background 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--forest-dark); }
.button-ghost { border: 1px solid rgba(255,255,255,.35); color: white; }
.button-paper { background: var(--paper); color: var(--forest-dark); }
.hero-proof { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; color: rgba(255,255,255,.44); font: 600 7px/1.3 var(--font-geist-mono), monospace; letter-spacing: .14em; text-transform: uppercase; }
.hero-proof b { color: var(--gold); font-size: 11px; }
.hero-copy, .hero-visual { min-height: 0; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-visual > img { height: 100%; object-fit: cover; object-position: center; filter: saturate(.75) contrast(1.04); }
.hero-visual-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,27,19,.42), transparent 34%), linear-gradient(0deg, rgba(7,27,19,.82), transparent 43%); }
.hero-visual-note { position: absolute; left: 38px; right: 38px; bottom: 34px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.35); }
.hero-visual-note span { display: block; margin-bottom: 9px; color: var(--gold-light); font: 650 8px/1 var(--font-geist-mono), monospace; letter-spacing: .15em; text-transform: uppercase; }
.hero-visual-note strong { max-width: 470px; display: block; font: 400 clamp(21px, 2vw, 32px)/1.15 Georgia, "Times New Roman", serif; }

.section { padding: 125px 6vw; }
.section-wide { padding: 0; }
.statement { background: var(--paper); }
.statement-grid { display: grid; grid-template-columns: 1.15fr .65fr; gap: 11vw; margin-top: 50px; align-items: start; }
h2 { margin: 0; font: 400 clamp(48px, 6vw, 88px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.052em; }
.statement h2 em, .system h2 em, .projects h2 em, .matrix h2 em { color: var(--gold); }
.statement-grid > div { padding-top: 8px; color: var(--soft-ink); font-size: 15px; line-height: 1.78; }
.statement-grid p { margin: 0 0 23px; }
.statement-grid .lead { color: var(--ink); font-size: 20px; line-height: 1.55; }

.capabilities { background: var(--forest); color: white; }
.section-head { display: grid; grid-template-columns: .42fr 1.1fr .45fr; gap: 5vw; align-items: end; }
.section-head h2 em, .collaborate h2 em { color: var(--gold-light); }
.section-head > p:last-child { margin: 0 0 8px; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.65; }
.capability-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 78px; border-top: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.capability-grid article { min-height: 470px; display: flex; flex-direction: column; padding: 26px 27px 30px 0; border-right: 1px solid var(--light-line); }
.capability-grid article:not(:first-child) { padding-left: 27px; }
.capability-grid article:last-child { border-right: 0; }
.capability-top { display: flex; align-items: center; justify-content: space-between; color: var(--gold-light); font: 650 8px/1 var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; }
.capability-top small { color: rgba(255,255,255,.42); font: inherit; }
.capability-grid h3 { margin: 88px 0 20px; font: 400 34px/1.02 Georgia, "Times New Roman", serif; }
.capability-grid p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.7; }
.capability-grid strong { margin-top: auto; padding-top: 27px; color: var(--gold-light); border-top: 1px solid var(--light-line); font-size: 11px; line-height: 1.5; }

.system { background: var(--paper); }
.system-intro { display: grid; grid-template-columns: 1.1fr .55fr; gap: 10vw; align-items: end; }
.system-intro > p { max-width: 540px; margin: 0 0 10px; color: var(--soft-ink); font-size: 15px; line-height: 1.75; }
.system-intro h2 { margin-top: 35px; }
.system-media { display: grid; grid-template-columns: 1.1fr .8fr .62fr; min-height: 585px; margin-top: 75px; background: var(--forest-dark); color: white; }
.system-media figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-right: 1px solid rgba(255,255,255,.12); }
.system-media figure img { height: 100%; object-fit: cover; filter: saturate(.74) contrast(1.03); transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.system-media figure:hover img { transform: scale(1.025); }
.system-main-image img { object-position: center 47%; }
.system-secondary-image img { object-position: center 35%; }
.system-media figcaption { position: absolute; left: 20px; bottom: 20px; padding: 9px 11px; background: rgba(7,27,19,.83); color: rgba(255,255,255,.7); font: 600 8px/1 var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; }
.system-quote { display: flex; flex-direction: column; justify-content: space-between; padding: 28px 30px 35px; }
.system-quote > span { color: var(--gold); font: 650 8px/1 var(--font-geist-mono), monospace; letter-spacing: .14em; text-transform: uppercase; }
.system-quote blockquote { margin: 0; font: 400 clamp(26px, 2.4vw, 39px)/1.14 Georgia, "Times New Roman", serif; }
.thread { display: grid; grid-template-columns: repeat(6, 1fr); border-bottom: 1px solid var(--line); }
.thread article { min-height: 225px; padding: 25px 21px 26px 0; border-right: 1px solid var(--line); }
.thread article:not(:first-child) { padding-left: 21px; }
.thread article:last-child { border-right: 0; }
.thread span { color: var(--gold); font: 650 8px/1 var(--font-geist-mono), monospace; }
.thread h3 { margin: 55px 0 13px; font: 400 25px/1 Georgia, "Times New Roman", serif; }
.thread p { margin: 0; color: var(--soft-ink); font-size: 11px; line-height: 1.58; }

.evidence { min-height: 790px; display: grid; grid-template-columns: .82fr 1.18fr; background: var(--forest-dark); color: white; }
.evidence-copy { padding: 110px 6vw; }
.evidence-copy h2 { margin-top: 40px; }
.evidence-copy > p:not(.section-label) { max-width: 610px; margin: 33px 0; color: rgba(255,255,255,.6); font-size: 15px; line-height: 1.75; }
.evidence-list { display: grid; margin-top: 48px; border-top: 1px solid var(--light-line); }
.evidence-list span { padding: 15px 0; border-bottom: 1px solid var(--light-line); color: rgba(255,255,255,.72); font-size: 11px; }
.evidence-list span:before { content: "↳"; margin-right: 13px; color: var(--gold); }
.evidence-images { display: grid; grid-template-columns: 1.1fr .9fr; min-width: 0; }
.evidence-images figure { position: relative; min-width: 0; margin: 0; overflow: hidden; }
.evidence-images figure:first-child { border-right: 1px solid rgba(255,255,255,.12); }
.evidence-images img { height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.evidence-images figure:first-child img { object-position: 48% center; }
.evidence-images figure:last-child img { object-position: center; }
.evidence-images figcaption { position: absolute; right: 18px; bottom: 20px; padding: 9px 11px; background: rgba(7,27,19,.83); color: var(--gold-light); font: 600 8px/1 var(--font-geist-mono), monospace; letter-spacing: .1em; text-transform: uppercase; }

.projects { background: var(--paper-deep); }
.projects-head { display: grid; grid-template-columns: .45fr 1fr .5fr; gap: 5vw; align-items: end; }
.projects-head > p:last-child { margin: 0 0 8px; color: var(--soft-ink); font-size: 14px; line-height: 1.65; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 75px; background: var(--line); border: 1px solid var(--line); }
.project-grid article { min-height: 430px; display: flex; flex-direction: column; padding: 26px; background: var(--paper); }
.project-index { color: var(--gold); font: 650 9px/1 var(--font-geist-mono), monospace; }
.project-status { margin: 70px 0 12px !important; color: var(--forest-mid) !important; font: 650 8px/1 var(--font-geist-mono), monospace !important; letter-spacing: .12em; text-transform: uppercase; }
.project-grid h3 { margin: 0 0 18px; font: 400 34px/1.04 Georgia, "Times New Roman", serif; }
.project-grid p { margin: 0; color: var(--soft-ink); font-size: 12px; line-height: 1.68; }
.project-grid strong { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); color: var(--forest); font-size: 11px; }

.collaborate { background: var(--forest); color: white; }
.collaborate-head { display: grid; grid-template-columns: .45fr 1.55fr; gap: 5vw; align-items: start; }
.collaborate-head h2 { max-width: 1050px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px; border-top: 1px solid var(--light-line); border-bottom: 1px solid var(--light-line); }
.solution-grid article { min-height: 400px; display: flex; flex-direction: column; padding: 24px 30px 28px 0; border-right: 1px solid var(--light-line); }
.solution-grid article:not(:first-child) { padding-left: 30px; }
.solution-grid article:last-child { border-right: 0; }
.solution-index { color: var(--gold-light); font: 650 8px/1 var(--font-geist-mono), monospace; }
.solution-grid article > p:first-of-type { margin: 65px 0 10px; color: var(--gold-light); font: 650 8px/1 var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; }
.solution-grid h3 { margin: 0 0 19px; font: 400 34px/1.03 Georgia, "Times New Roman", serif; }
.solution-grid article > p:last-of-type { margin: 0; max-width: 430px; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.67; }
.solution-grid article > a { align-self: flex-start; margin-top: auto; padding-bottom: 7px; border-bottom: 1px solid var(--gold); color: white; font-size: 11px; }
.solution-grid article > a span { margin-left: 15px; color: var(--gold); }
.contact-band { display: grid; grid-template-columns: .45fr 1fr auto; gap: 5vw; align-items: center; margin-top: 72px; padding: 34px 0 0; }
.contact-band > div { color: rgba(255,255,255,.55); font: 650 8px/1 var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; }
.contact-band i { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(199,164,98,.12); }
.contact-band h3 { margin: 0; font: 400 34px/1.1 Georgia, "Times New Roman", serif; }

.matrix { display: grid; grid-template-columns: .82fr 1.18fr; padding: 0; background: var(--paper); }
.matrix-image { position: relative; min-height: 790px; overflow: hidden; }
.matrix-image img { height: 100%; object-fit: cover; object-position: 57% center; filter: saturate(.7) contrast(1.03); }
.matrix-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,19,.6), transparent 42%); }
.matrix-image > span { position: absolute; z-index: 1; left: 28px; bottom: 24px; color: rgba(255,255,255,.7); font: 600 8px/1 var(--font-geist-mono), monospace; letter-spacing: .12em; text-transform: uppercase; }
.matrix-copy { display: flex; flex-direction: column; justify-content: center; padding: 100px 8vw; }
.matrix-copy h2 { margin-top: 39px; }
.matrix-copy > p:not(.section-label) { max-width: 710px; margin: 26px 0 0; color: var(--soft-ink); font-size: 14px; line-height: 1.75; }
.matrix-copy > .lead { color: var(--ink) !important; font-size: 19px !important; line-height: 1.55 !important; }
.matrix-signature { display: grid; gap: 6px; margin-top: 55px; padding-top: 23px; border-top: 1px solid var(--line); }
.matrix-signature span { color: var(--soft-ink); font: 650 8px/1 var(--font-geist-mono), monospace; letter-spacing: .14em; text-transform: uppercase; }
.matrix-signature strong { font-size: 22px; letter-spacing: .12em; }
.matrix-signature small { color: var(--soft-ink); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.identity { min-height: 660px; display: grid; grid-template-columns: 1fr 1fr; background: #f9f7f1; }
.identity-logo { display: flex; align-items: center; justify-content: center; padding: 6vw; border-right: 1px solid var(--line); }
.identity-logo img { width: min(560px, 100%); mix-blend-mode: multiply; }
.identity-copy { display: flex; flex-direction: column; justify-content: center; padding: 8vw; background: var(--forest-dark); color: white; }
.identity-copy h2 { margin-top: 40px; }
.identity-copy p:not(.section-label) { max-width: 590px; margin: 30px 0; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.7; }
.identity-copy > a { align-self: flex-start; margin-top: 15px; padding-bottom: 7px; border-bottom: 1px solid var(--gold); font-size: 11px; }
.identity-copy > a span { margin-left: 14px; color: var(--gold); }

footer { display: grid; grid-template-columns: 1fr .8fr 1.4fr; gap: 3vw; align-items: center; padding: 52px 6vw; background: #050f0b; color: white; }
footer > p { margin: 0; color: rgba(255,255,255,.38); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
footer > div { display: flex; justify-content: flex-end; gap: 23px; color: rgba(255,255,255,.5); font-size: 9px; }
footer a { transition: color 160ms ease; }
footer a:hover { color: var(--gold-light); }

/* El consentimiento permanece visible sin cubrir el relato principal. */
.cookieadmin_law_container.cookieadmin_box {
  left: auto !important;
  right: 18px !important;
  bottom: 18px !important;
  width: min(360px, calc(100vw - 36px)) !important;
  max-width: none !important;
}
.cookieadmin_law_container .cookieadmin_consent_inside {
  padding: 20px !important;
  border: 1px solid rgba(199,164,98,.46) !important;
  border-radius: 16px !important;
  background: rgba(7,27,19,.96) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(14px);
}
.cookieadmin_law_container #cookieadmin_notice_title {
  color: var(--gold-light) !important;
  font-family: var(--font-geist-sans), Arial, sans-serif !important;
}
.cookieadmin_law_container #cookieadmin_notice {
  color: rgba(255,255,255,.76) !important;
  font-family: var(--font-geist-sans), Arial, sans-serif !important;
}
.cookieadmin_law_container .cookieadmin_btn {
  border-color: rgba(255,255,255,.28) !important;
  border-radius: 999px !important;
  font-family: var(--font-geist-sans), Arial, sans-serif !important;
}
.cookieadmin_law_container .cookieadmin_customize_btn,
.cookieadmin_law_container .cookieadmin_reject_btn {
  color: white !important;
  background: transparent !important;
}
.cookieadmin_law_container .cookieadmin_accept_btn {
  color: var(--forest-dark) !important;
  background: var(--gold) !important;
}
.cookieadmin_law_container .cookieadmin-poweredby {
  opacity: .55;
  filter: grayscale(1) brightness(2);
}

@media (max-width: 1080px) {
  .site-header { padding: 0 28px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .hero { height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: minmax(690px, 82svh) minmax(390px, 48svh); }
  .hero-copy { padding: 128px 8vw 70px; }
  .hero h1 { max-width: 760px; font-size: clamp(62px, 9vw, 84px); }
  .hero-lead { max-width: 650px; }
  .hero-visual-note { max-width: 620px; }
  .growth-rings-a { right: -260px; top: 10vh; }
  .statement-grid, .system-intro { gap: 7vw; }
  .section-head, .projects-head { grid-template-columns: 1fr; align-items: start; }
  .section-head h2, .projects-head h2 { max-width: 900px; }
  .section-head > p:last-child, .projects-head > p:last-child { max-width: 560px; }
  .capability-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .capability-grid article:nth-child(2), .project-grid article:nth-child(2) { border-right: 0; }
  .capability-grid article { min-height: 410px; border-bottom: 1px solid var(--light-line); }
  .system-media { grid-template-columns: 1fr 1fr; }
  .system-quote { grid-column: 1 / -1; min-height: 330px; }
  .thread { grid-template-columns: repeat(3, 1fr); }
  .thread article:nth-child(3n) { border-right: 0; }
  .evidence { grid-template-columns: 1fr; }
  .evidence-images { min-height: 600px; }
  .contact-band { grid-template-columns: 1fr; }
  .contact-band h3 { max-width: 680px; }
  .matrix { grid-template-columns: 1fr; }
  .matrix-image { min-height: 620px; }
  footer { grid-template-columns: 1fr; }
  footer > div { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .site-header { height: 78px; padding: 0 18px; }
  .lab-brand { gap: 9px; }
  .official-isotype { width: 33px; height: 33px; border-radius: 7px; }
  .official-isotype-large { width: 64px; height: 64px; border-radius: 13px; }
  .lab-brand-copy strong { font-size: 14px; }
  .lab-brand-copy small { display: none; }
  .main-nav .nav-cta { padding: 11px 13px; font-size: 9px; }
  .main-nav .nav-cta span { display: none; }
  .hero { grid-template-rows: minmax(710px, 84svh) minmax(330px, 44svh); }
  .hero-copy { padding: 108px 22px 50px; justify-content: flex-start; }
  .hero-brand-signal { gap: 13px; margin-bottom: 25px; }
  .hero-brand-signal strong { font-size: 11px; }
  .hero-brand-signal small { max-width: 205px; font-size: 6px; }
  .hero-orbit { left: -40px; top: -35px; width: 145px; height: 130px; }
  .hero h1 { margin: 25px 0 22px; font-size: clamp(50px, 14.5vw, 68px); line-height: .91; }
  .hero-lead { font-size: 15px; line-height: 1.52; }
  .hero-actions { margin-top: 27px; }
  .button { padding: 14px 18px; }
  .hero-proof { margin-top: 27px; gap: 7px; font-size: 6px; }
  .hero-visual-note { left: 20px; right: 20px; bottom: 20px; }
  .growth-network { display: block; }
  .growth-spine { left: 11px; }
  .growth-connector-a, .growth-connector-b, .growth-rings-b { display: none; }
  .growth-rings-a { width: 330px; height: 250px; right: -220px; top: 18vh; }
  .section { padding: 84px 22px; }
  .statement-grid, .system-intro, .collaborate-head { grid-template-columns: 1fr; gap: 34px; }
  h2 { font-size: clamp(45px, 13vw, 68px); }
  .statement-grid { margin-top: 35px; }
  .statement-grid .lead { font-size: 18px; }
  .capability-grid, .project-grid, .solution-grid { grid-template-columns: 1fr; }
  .capability-grid article, .capability-grid article:not(:first-child), .solution-grid article, .solution-grid article:not(:first-child) { min-height: 360px; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--light-line); }
  .capability-grid h3 { margin-top: 60px; }
  .section-head { gap: 28px; }
  .system-intro h2 { margin-top: 28px; }
  .system-media { grid-template-columns: 1fr; min-height: 0; margin-top: 55px; }
  .system-media figure { min-height: 480px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .system-secondary-image { display: none; }
  .system-quote { grid-column: auto; min-height: 360px; }
  .thread { grid-template-columns: repeat(2, 1fr); }
  .thread article, .thread article:not(:first-child) { min-height: 205px; padding: 22px 17px 22px 0; }
  .thread article:nth-child(even) { padding-left: 17px; border-right: 0; }
  .thread article:nth-child(odd) { border-right: 1px solid var(--line); }
  .thread h3 { margin-top: 43px; }
  .evidence-copy { padding: 84px 22px; }
  .evidence-images { min-height: 620px; grid-template-columns: 1fr; }
  .evidence-images figure:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .evidence-images figure { min-height: 310px; }
  .projects-head { gap: 28px; }
  .project-grid article { min-height: 365px; }
  .solution-grid article > p:first-of-type { margin-top: 55px; }
  .contact-band { margin-top: 50px; gap: 28px; }
  .contact-band h3 { font-size: 29px; }
  .matrix-image { min-height: 500px; }
  .matrix-copy { padding: 84px 22px; }
  .matrix-copy h2 { margin-top: 32px; }
  .identity { grid-template-columns: 1fr; }
  .identity-logo { min-height: 440px; border-right: 0; border-bottom: 1px solid var(--line); padding: 35px; }
  .identity-copy { min-height: 570px; padding: 80px 22px; }
  footer { padding: 45px 22px; }
  footer > div { display: grid; gap: 13px; }
  .cookieadmin_law_container.cookieadmin_box {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
    width: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.chl-default-content {
  min-height: 100vh;
  padding: 120px max(24px, 7vw);
  background: var(--paper);
}

.chl-default-content__inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.chl-default-content h1 {
  font: 400 clamp(44px, 7vw, 82px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.chl-default-content .entry-content {
  font-size: 17px;
  line-height: 1.75;
}
