:root {
  --ink: #0C3B2C;
  --ink-soft: #28415A;
  --bone: #F7F9F9;
  --bone-deep: #E6ECEA;
  --bronze: #176B4E;
  --bronze-bright: #7FC9AC;
  --stone: #5E6F66;
  --line: rgba(12, 59, 44, .13);
  --font-display: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --maxw: 1200px;
  --r: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .32;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--bronze);
  color: var(--bone);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .04em;
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 233, .82);
  backdrop-filter: blur(12px);
  border-top: 3px solid var(--bronze);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -.02em;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
}

.brand .dot {
  width: 7px;
  height: 7px;
  background: var(--bronze);
  border-radius: 50%;
  display: inline-block;
}

.brand small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--stone);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navlinks a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width .3s;
}

.navlinks a:hover {
  color: var(--ink);
}

.navlinks a:hover::after {
  width: 100%;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  margin-left: 6px;
}

.lang button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: var(--stone);
  padding: 3px 7px;
  border-radius: 6px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.lang .flag {
  width: 17px;
  height: 11px;
  border-radius: 2px;
  flex: none;
  display: block;
}

.lang button.on {
  color: var(--ink);
  background: var(--bone-deep);
}

.lang span {
  color: var(--line);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: .3s;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(74px, 11vw, 148px) 0 clamp(60px, 8vw, 112px);
  overflow: hidden;
}

.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--bronze);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.7vw, 90px);
  line-height: 1.0;
  letter-spacing: -.035em;
  max-width: 16ch;
  margin-bottom: 34px;
}

.hero h1 em {
  font-style: normal;
  color: var(--bronze);
}

.hero h1 .h1-sub {
  display: block;
  font-size: .4em;
  font-weight: 500;
  color: var(--stone);
  letter-spacing: -.005em;
  line-height: 1.12;
  margin-top: .42em;
}

.hero p.lede {
  font-size: clamp(16px, 1.7vw, 19.5px);
  max-width: 55ch;
  color: var(--ink-soft);
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 16px 30px;
  border-radius: 8px;
  border: 1.5px solid var(--ink);
  transition: all .28s;
  cursor: pointer;
}

.btn.primary {
  background: var(--ink);
  color: var(--bone);
}

.btn.primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
}

.btn.ghost {
  background: none;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--bone);
}

.btn .arr {
  transition: transform .28s;
}

.btn:hover .arr {
  transform: translateX(4px);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}

/* ---------- SECTION SHELL ---------- */
section {
  position: relative;
  z-index: 2;
}

.band {
  padding: clamp(66px, 9vw, 120px) 0;
}

.band.dark {
  background: var(--ink);
  color: var(--bone);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bronze);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sec-label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--bronze);
}

.sec-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(29px, 3.8vw, 50px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-top: 18px;
  max-width: 20ch;
}

.band.dark .sec-title {
  color: var(--bone);
}

.band.dark .sec-label {
  color: var(--bronze-bright);
}

.band.dark .sec-label::before {
  background: var(--bronze-bright);
}

.namestory {
  max-width: 780px;
  margin: clamp(52px, 7vw, 92px) auto 0;
  text-align: center;
  border-top: 1px solid rgba(244, 241, 233, .16);
  padding-top: clamp(40px, 5vw, 64px);
}

.namestory .sec-label {
  justify-content: center;
  margin-bottom: 26px;
}

.namestory .name-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.42;
  letter-spacing: -.012em;
  color: var(--bone);
  margin-bottom: 22px;
}

.namestory p:not(.name-lead) {
  font-size: 16px;
  color: rgba(244, 241, 233, .7);
  max-width: 60ch;
  margin: 0 auto;
}

.namestory em {
  font-style: italic;
  color: var(--bronze-bright);
}

/* ---------- EL ESTUDIO ---------- */
.estudio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: start;
}

.estudio-text p {
  font-size: 16.5px;
  color: rgba(244, 241, 233, .82);
  margin-bottom: 22px;
}

.estudio-text p strong {
  color: var(--bone);
  font-weight: 600;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(244, 241, 233, .16);
}

.pillar {
  padding: 24px 0;
  border-bottom: 1px solid rgba(244, 241, 233, .16);
  display: flex;
  gap: 22px;
  align-items: baseline;
}

.pillar .n {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--bronze-bright);
  min-width: 26px;
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 5px;
}

.pillar p {
  font-size: 14px;
  color: rgba(244, 241, 233, .62);
  line-height: 1.5;
}

/* ---------- TEAM / FOUNDER ---------- */
.team-grid {
  display: flex;
  justify-content: center;
}

.person {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  max-width: 920px;
}

.person .photo {
  flex: 0 0 clamp(220px, 32%, 320px);
  aspect-ratio: auto;
  min-height: 100%;
  background: linear-gradient(150deg, var(--bone-deep), #ccd6d3);
  position: relative;
  overflow: hidden;
}

.person .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.person .photo .initials {
  font-family: var(--font-display);
  font-size: 130px;
  font-weight: 700;
  color: rgba(12, 59, 44, .08);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  letter-spacing: -.04em;
}

.person .photo .ph-note {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 0 0 16px;
  opacity: .7;
}

.person .body {
  flex: 1;
  padding: 28px 26px 32px;
  min-width: 0;
}

.person .role {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 10px;
}

.person h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  color: var(--ink);
}

.person ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.person li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}

.person li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--bronze);
  border-radius: 50%;
}

.person-mail {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--bronze);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color .22s, border-color .22s;
}

.person-mail:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.person-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: -2px 0 20px;
}

.person-links .plink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bronze);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s;
}

.person-links .plink:hover {
  color: var(--ink);
}

.person-links .plink svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.person-links .plink-mail {
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

/* ---------- ÁREAS ---------- */
.areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.area {
  padding: 34px 30px 34px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background .3s;
  cursor: default;
}

.area:nth-child(odd) {
  padding-right: 50px;
  border-right: 1px solid var(--line);
}

.area:nth-child(even) {
  padding-left: 42px;
}

.area:hover {
  background: rgba(27, 67, 50, .06);
}

.area .num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--bronze);
  min-width: 26px;
  padding-top: 5px;
}

.area h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 9px;
  line-height: 1.25;
}

.area p {
  font-size: 14px;
  color: var(--stone);
  line-height: 1.55;
}

.area p + p {
  margin-top: 11px;
}

/* ---------- OPINIONES ---------- */
.opin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.opin {
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}

.opin:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -24px rgba(22, 21, 26, .4);
}

.opin:nth-child(4):last-child {
  grid-column: 2;
}

.opin .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 14px;
}

.opin h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 10px;
  flex: 1;
}

.opin p {
  font-size: 14px;
  color: var(--stone);
  margin-bottom: 12px;
}

.opin .read {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: auto;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.opin .read .arr {
  transition: transform .25s;
}

.opin:hover .read .arr {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .opin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .opin:nth-child(4):last-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .opin-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- PUBLICACIONES ---------- */
.pubs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.pub {
  display: flex;
  align-items: flex-start;
  gap: 26px;
  padding: 24px 20px;
  margin: 0 -20px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--r);
  transition: background .25s ease;
}

.pub:hover {
  background: rgba(12, 59, 44, .07);
}

.pub .pyear {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--bronze);
  min-width: 52px;
  padding-top: 2px;
}

.pub .pmain {
  flex: 1;
}

.pub h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  margin-bottom: 5px;
}

.pub-type {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 8px;
}

.pub-meta {
  font-size: 13px;
  color: var(--stone);
  font-style: italic;
  margin-top: 5px;
}

.pub-author {
  font-size: 13px;
  color: var(--stone);
  margin-top: 4px;
}

.pub .dl {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  white-space: nowrap;
  margin-top: 2px;
  transition: all .26s;
}

.pub .dl:hover {
  background: var(--ink);
  color: var(--bone);
}

.pub .dl svg {
  width: 14px;
  height: 14px;
}

/* ---------- CONTACTO ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.contact h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}

.contact h2 em {
  font-style: normal;
  color: var(--bronze-bright);
}

.contact .lede {
  font-size: 16.5px;
  color: rgba(244, 241, 233, .78);
  max-width: 46ch;
  margin-bottom: 36px;
}

.cinfo {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.cinfo .row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bronze-bright);
  margin-bottom: 6px;
}

.cinfo .row .v {
  font-size: 18px;
  color: var(--bone);
}

.cinfo .row a.v:hover {
  color: var(--bronze-bright);
}

.socials {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 7px;
}

.socials .soc {
  color: var(--bone);
  display: inline-flex;
  transition: color .22s, transform .22s;
}

.socials .soc:hover {
  color: var(--bronze-bright);
  transform: translateY(-2px);
}

.socials .soc svg {
  width: 22px;
  height: 22px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: rgba(244, 241, 233, .6);
  border-top: 1px solid rgba(244, 241, 233, .12);
  padding: 40px 0;
}

.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
}

.foot .brand {
  color: var(--bone);
  font-size: 21px;
}

.foot .brand-logo {
  height: 26px;
}

.foot .brand small {
  color: rgba(244, 241, 233, .5);
  font-family: var(--font-mono);
}

/* ---------- REVEAL ---------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .navlinks {
    position: fixed;
    inset: 79px 0 auto 0;
    background: var(--bone);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .35s;
    align-items: stretch;
  }

  .navlinks.open {
    transform: none;
  }

  .navlinks a {
    padding: 15px 28px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }

  .navlinks a::after {
    display: none;
  }

  .lang {
    padding: 14px 24px;
  }

  .burger {
    display: flex;
  }

  .estudio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .areas {
    grid-template-columns: 1fr;
  }

  .area:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }

  .area:nth-child(even) {
    padding-left: 0;
  }

  .person {
    flex-direction: column;
    max-width: 100%;
  }

  .person .photo {
    flex: none;
    width: 100%;
    aspect-ratio: 4/4.3;
    min-height: auto;
  }

  .pub {
    flex-wrap: wrap;
    gap: 14px;
  }

  .pub .pyear {
    min-width: auto;
  }

  .pub .dl {
    width: 100%;
    justify-content: center;
  }
}
