/* assets/css/styles.css - references tokens.css, no raw hex. Industrial / calm. */

/* ---------- reset ---------- */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);color:var(--ink);background:var(--bg);
  line-height:1.65;font-size:17px;font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:var(--gold);text-decoration:none;transition:color .2s,opacity .2s}
a:hover{color:var(--ink)}
h1,h2,h3,h4{font-family:var(--font-display);line-height:1.08;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
::selection{background:var(--gold);color:var(--navy)}

.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(1.25rem,5vw,2.5rem)}
.section{padding:clamp(4rem,9vw,7.5rem) 0}

/* ---------- shared bits ---------- */
.eyebrow{
  font-family:var(--font-mono);font-size:.74rem;font-weight:500;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold);
  display:flex;align-items:center;gap:.7rem;margin-bottom:1.4rem;
}
.eyebrow::before{content:"";width:26px;height:1px;background:var(--gold);opacity:.7}
.lede{font-size:clamp(1.15rem,2.3vw,1.45rem);line-height:1.5;color:var(--ink);font-weight:400}
.muted{color:var(--muted)}
.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:var(--font-mono);font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;
  padding:.92rem 1.6rem;border:1px solid var(--gold);color:var(--gold);
  border-radius:1px;background:transparent;transition:all .25s;cursor:pointer;
}
.btn:hover{background:var(--gold);color:var(--navy)}
.btn--solid{background:var(--gold);color:var(--navy)}
.btn--solid:hover{background:transparent;color:var(--gold)}
.btn svg{width:15px;height:15px}

/* reveal: intentionally a no-op. Content is always fully visible, with no
   dependency on JavaScript or CSS animation, so it can never be left hidden. */
.reveal{opacity:1;transform:none}

/* ---------- header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:62px}
.brandmark{font-family:var(--font-display);font-weight:700;font-size:1.02rem;letter-spacing:.01em;color:var(--ink)}
.brandmark span{color:var(--gold)}
.lang{font-family:var(--font-mono);font-size:.8rem;letter-spacing:.08em;color:var(--muted)}
.lang a{color:var(--muted)}.lang a:hover{color:var(--gold)}
.lang .active{color:var(--ink);font-weight:500}

/* ---------- hero ---------- */
.hero{position:relative;background:var(--navy);color:#eef2f5;overflow:hidden}
.hero::before{
  content:"";position:absolute;inset:0;
  background-image:linear-gradient(var(--line-dark) 1px,transparent 1px),
                   linear-gradient(90deg,var(--line-dark) 1px,transparent 1px);
  background-size:46px 46px;opacity:.5;
  -webkit-mask-image:radial-gradient(120% 90% at 30% 20%,#000 30%,transparent 78%);
          mask-image:radial-gradient(120% 90% at 30% 20%,#000 30%,transparent 78%);
}
.hero .wrap{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(2rem,5vw,4.5rem);
  align-items:center;min-height:min(86vh,760px);padding-top:clamp(3rem,7vw,5rem);padding-bottom:clamp(3rem,7vw,5rem)}
.hero h1{color:#f4f7f9;font-size:clamp(2.7rem,7vw,4.5rem);line-height:1.02;margin:.6rem 0 1.3rem}
.hero .eyebrow{color:var(--gold-soft)}
.hero .eyebrow::before{background:var(--gold-soft)}
.hero-kicker{font-family:var(--font-mono);font-size:.82rem;letter-spacing:.1em;color:var(--muted-dark);margin-bottom:1.8rem;text-transform:uppercase}
.hero-tag{font-size:clamp(1.15rem,2.4vw,1.5rem);line-height:1.5;color:#cdd7df;max-width:30ch;font-weight:300}
.hero-cta{margin-top:2.3rem;display:flex;gap:.9rem;flex-wrap:wrap}
.hero .btn{color:var(--gold-soft);border-color:var(--gold-soft)}
.hero .btn:hover{background:var(--gold-soft);color:var(--navy)}
.hero .btn--solid{background:var(--gold-soft);color:var(--navy)}
.hero .btn--solid:hover{background:transparent;color:var(--gold-soft)}
.hero-figure{position:relative}
.hero-figure img{
  width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:center 25%;border-radius:2px;
  filter:grayscale(.12) contrast(1.02);
  box-shadow:0 30px 70px -30px rgba(0,0,0,.7);
}
.hero-figure::after{content:"";position:absolute;left:-14px;top:-14px;width:64px;height:64px;
  border-left:1px solid var(--gold-soft);border-top:1px solid var(--gold-soft);opacity:.8}
.hero-figure::before{content:"";position:absolute;right:-14px;bottom:-14px;width:64px;height:64px;
  border-right:1px solid var(--gold-soft);border-bottom:1px solid var(--gold-soft);opacity:.8}

/* ---------- about ---------- */
.about{background:var(--bg)}
.about-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(2rem,6vw,5rem);align-items:start}
.about-figure img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 35%;border-radius:2px;filter:grayscale(.1)}
.about-figure figcaption{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;color:var(--muted);
  margin-top:.7rem;text-transform:uppercase}
.about p{margin-bottom:1.15rem;color:var(--ink)}
.about p.muted{color:var(--muted)}
.signoff{font-family:var(--font-mono);font-size:.8rem;letter-spacing:.05em;color:var(--muted);margin-top:1.6rem}
.about-pillars{display:flex;flex-direction:column;gap:1.05rem;margin:1.7rem 0 1.6rem}
.about-pill{display:flex;gap:1rem;align-items:flex-start}
.about-pill .api{flex:0 0 auto;width:26px;height:26px;color:var(--gold);margin-top:2px}
.about-pill .api svg{width:100%;height:100%}
.about-pill h4{font-family:var(--font-display);font-weight:700;font-size:1.02rem;color:var(--ink);margin-bottom:.1rem}
.about-pill p{font-size:.95rem;color:var(--muted);line-height:1.5}

/* ---------- pillars ---------- */
.pillars{background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pillars-head{max-width:62ch;margin-bottom:clamp(2.4rem,5vw,3.6rem)}
.pillars-head h2{font-size:clamp(1.9rem,4vw,2.7rem);margin-bottom:1.1rem}
.pillar-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line)}
.pillar{background:var(--surface);padding:clamp(1.6rem,3vw,2.3rem)}
.pillar-ico{width:34px;height:34px;color:var(--gold);margin-bottom:1.2rem}
.pillar-ico svg{width:100%;height:100%;stroke:var(--gold);fill:none;stroke-width:1.5}
.pillar h3{font-size:1.18rem;margin-bottom:.6rem}
.pillar p{font-size:.97rem;color:var(--muted);line-height:1.6}
.pillar-n{font-family:var(--font-mono);font-size:.72rem;color:var(--gold);letter-spacing:.1em;display:block;margin-bottom:1rem;opacity:.8}

/* ---------- ventures ---------- */
.ventures{background:var(--bg)}
.venture-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;margin-top:clamp(2rem,4vw,3rem)}
.venture{
  display:flex;flex-direction:column;background:var(--surface);
  border:1px solid var(--line);border-radius:2px;padding:1.8rem;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;min-height:240px;
}
.venture:hover{transform:translateY(-5px);box-shadow:0 22px 40px -28px rgba(14,32,49,.5);border-color:var(--gold)}
.venture-logo{display:block;height:28px;width:auto;max-width:170px;object-fit:contain;object-position:left center;margin-bottom:1.3rem}
.venture-logo--sq{height:24px}
.venture-role{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);margin-bottom:.9rem}
.venture h3{font-size:1.35rem;margin-bottom:.55rem}
.venture p{font-size:.95rem;color:var(--muted);flex:1}
.venture-link{margin-top:1.2rem;font-family:var(--font-mono);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink);display:inline-flex;align-items:center;gap:.45rem}
.venture-link::after{content:"\2197";color:var(--gold);transition:transform .25s}
.venture:hover .venture-link::after{transform:translate(2px,-2px)}

/* ---------- moment band (full-bleed wide image) ---------- */
.moment{position:relative;width:100%;overflow:hidden;background:var(--navy)}
.moment img{width:100%;height:clamp(400px,52vw,660px);object-fit:cover;object-position:center 40%;display:block;filter:grayscale(.1) contrast(1.02)}
.moment figcaption{position:absolute;left:0;right:0;bottom:0;padding:3.2rem clamp(1.25rem,5vw,2.5rem) 1.4rem;
  font-family:var(--font-mono);font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:#fff;
  text-shadow:0 1px 6px rgba(0,0,0,.55);
  background:linear-gradient(to top,rgba(6,14,22,.96) 0%,rgba(6,14,22,.8) 38%,rgba(6,14,22,.35) 70%,transparent 100%)}

/* ---------- philosophy ---------- */
.philosophy{background:var(--navy);color:#e8eef2;position:relative;overflow:hidden}
.philosophy::before{content:"";position:absolute;inset:0;
  background-image:linear-gradient(90deg,var(--line-dark) 1px,transparent 1px);background-size:46px 46px;opacity:.35;
  -webkit-mask-image:radial-gradient(100% 80% at 80% 10%,#000,transparent 75%);
          mask-image:radial-gradient(100% 80% at 80% 10%,#000,transparent 75%)}
.philosophy .wrap{position:relative}
.philosophy .eyebrow{color:var(--gold-soft)}.philosophy .eyebrow::before{background:var(--gold-soft)}
.pullquote{font-family:var(--font-display);font-weight:500;
  font-size:clamp(1.9rem,5vw,3.2rem);line-height:1.16;letter-spacing:-.015em;
  color:#f4f7f9;max-width:20ch;margin:.4rem 0 1.4rem}
.pullquote .accent{color:var(--gold-soft)}
.pullquote-sub{color:#c5d0d8;max-width:54ch;font-weight:300;font-size:1.08rem}
.quote-credit{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.08em;color:var(--muted-dark);margin-top:1.4rem;text-transform:uppercase}
.quote-credit a{color:var(--gold-soft)}.quote-credit a:hover{color:#fff}

.influences{margin-top:clamp(3rem,6vw,4.5rem);display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(2rem,5vw,4rem);
  padding-top:clamp(2.4rem,4vw,3.2rem);border-top:1px solid var(--line-dark)}
.influences h3{color:#f0f4f7;font-size:1.05rem;font-family:var(--font-mono);font-weight:500;letter-spacing:.04em;
  text-transform:uppercase;margin-bottom:1.4rem;font-size:.82rem;color:var(--gold-soft)}
.booklist{list-style:none}
.booklist li{padding:.85rem 0;border-bottom:1px solid var(--line-dark)}
.booklist li:last-child{border-bottom:none}
.booklist a{color:#e8eef2;display:flex;flex-direction:column;gap:.15rem}
.booklist a:hover .book-t{color:var(--gold-soft)}
.book-t{font-family:var(--font-display);font-weight:500;font-size:1.05rem;transition:color .2s}
.book-a{font-size:.85rem;color:var(--muted-dark)}
.podcard{background:var(--navy-2);border:1px solid var(--line-dark);border-radius:2px;padding:1.6rem;align-self:start}
.podcard .tag{font-family:var(--font-mono);font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-soft)}
.podcard h4{color:#f0f4f7;font-size:1.18rem;margin:.7rem 0 .5rem}
.podcard p{color:var(--muted-dark);font-size:.92rem;margin-bottom:1.1rem}
.podcard a{font-family:var(--font-mono);font-size:.78rem;letter-spacing:.05em;text-transform:uppercase;color:var(--gold-soft)}

/* ---------- as seen on ---------- */
.press{background:var(--bg);border-top:1px solid var(--line)}
.press-head{margin-bottom:2.4rem}
.press-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line)}
.press-item{display:block;background:var(--bg);padding:1.7rem clamp(1.4rem,2.5vw,2rem);text-decoration:none;transition:background .25s ease}
.press-item:hover{background:var(--surface)}
.press-outlet{display:block;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);margin-bottom:.7rem}
.press-title{display:block;font-family:var(--font-display);font-weight:500;font-size:1.12rem;line-height:1.28;color:var(--ink);margin-bottom:.9rem;transition:color .2s ease}
.press-item:hover .press-title{color:var(--gold)}
.press-meta{display:block;font-family:var(--font-mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}

/* ---------- contact ---------- */
.contact{background:var(--surface);border-top:1px solid var(--line)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.contact h2{font-size:clamp(2rem,4.5vw,3rem);margin-bottom:1rem}
.contact p{color:var(--muted);max-width:42ch}
.socials{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:.4rem}
.social{display:inline-flex;align-items:center;gap:.55rem;border:1px solid var(--line);border-radius:2px;
  padding:.7rem 1rem;font-family:var(--font-mono);font-size:.78rem;letter-spacing:.04em;color:var(--ink);
  text-transform:uppercase;transition:all .22s}
.social:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px)}
.social svg{width:16px;height:16px;fill:currentColor}

/* ---------- footer ---------- */
.site-footer{background:var(--navy);color:var(--footer-fg);padding:clamp(2.6rem,5vw,3.4rem) 0}
.site-footer .wrap{display:flex;flex-direction:column;gap:1.2rem;align-items:center;text-align:center}
.site-footer .lang{color:var(--muted-dark)}
.site-footer .lang a{color:var(--muted-dark)}.site-footer .lang a:hover{color:var(--gold-soft)}
.site-footer .lang .active{color:var(--footer-fg)}
.foot-copy{font-family:var(--font-mono);font-size:.76rem;letter-spacing:.05em;color:var(--muted-dark)}
.foot-tag{font-family:var(--font-display);font-weight:500;font-size:1rem;color:var(--footer-fg);opacity:.92;max-width:36ch}
.foot-note{font-family:var(--font-mono);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-soft);opacity:.85}
.eky-credit{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;
  font-family:var(--font-body);font-size:.85rem;color:var(--footer-fg);opacity:.85}
.eky-credit:hover{opacity:1}
.eky-credit__text{color:var(--footer-fg)}
.eky-credit .eky-logo{height:17px;width:auto;display:block;opacity:.92}

/* ---------- responsive ---------- */
@media (max-width:860px){
  .hero .wrap{grid-template-columns:1fr;text-align:center;min-height:0}
  .hero-figure{order:-1;max-width:300px;margin-left:auto;margin-right:auto}
  .hero-tag{margin-left:auto;margin-right:auto}
  .hero-cta{justify-content:center}
  .about-grid{grid-template-columns:1fr}
  .about-figure{max-width:440px}
  .pillar-grid{grid-template-columns:1fr}
  .venture-grid{grid-template-columns:1fr}
  .influences{grid-template-columns:1fr;text-align:center}
  .booklist a{align-items:center}
  .podcard{text-align:center}
  .contact-grid{grid-template-columns:1fr}
  .press-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  body{font-size:16px}
  .hero-figure{max-width:100%}
}
@media (prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;animation:none}
  html{scroll-behavior:auto}
}

/* Lead venture: Autoridad Panandina highlighted as the current main focus */
.venture--lead{border-color:var(--gold);box-shadow:0 0 0 1px var(--gold) inset}
.venture--lead:hover{box-shadow:0 22px 40px -28px rgba(14,32,49,.5),0 0 0 1px var(--gold) inset}
.venture--lead p{flex:0 0 auto}
.venture--lead .venture-link{margin-top:auto;padding-top:1rem}
.venture-backers{font-family:var(--font-body);font-size:.8rem;line-height:1.45;color:var(--muted);margin-top:.6rem}
