
:root {
  --ink: #171817;
  --paper: #f5f5f1;
  --white: #ffffff;
  --muted: #747873;
  --lime: #c6f36b;
  --line: #dfe1da;
  --darkline: #383b37;
  --font: 'DM Sans', sans-serif;
  --display: 'Manrope', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* HEADER */

.site-header {
  height: 82px;
  padding: 0 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 800 19px var(--display);
  position: relative;
}

.brand-mark span {
  color: #8bbd35;
}

.brand-name {
  font: 800 15px var(--display);
  letter-spacing: .17em;
}

.main-nav {
  display: flex;
  gap: 34px;
}

.main-nav a,
.header-link {
  font-size: 12px;
  font-weight: 600;
  color: #555b55;
  transition: color .2s;
}

.main-nav a:hover,
.header-link:hover {
  color: #7ba92c;
}

.header-link span {
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 22px;
}

/* PORTADA CLARA */

.hero-light {
  min-height: 650px;
  padding: 100px 10% 35px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  overflow: hidden;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 700;
  color: #737970;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: #9acb4a;
}

.hero-copy {
  max-width: 610px;
  position: relative;
  z-index: 2;
}

.hero-copy h1,
.section-heading h2,
.projects-top h2,
.founder-title h2 {
  font: 600 clamp(48px, 6.5vw, 86px)/1.02 var(--display);
  letter-spacing: -.065em;
  margin: 28px 0;
}

.hero-copy h1 em,
.section-heading h2 em,
.projects-top h2 em,
.founder-title h2 em {
  font-style: normal;
  color: #8bbd35;
}

.hero-intro {
  font-size: 16px;
  line-height: 1.8;
  color: #60665f;
  max-width: 490px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 21px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.button span {
  font-size: 17px;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: #343934;
}

.text-link,
.line-link {
  font-size: 11px;
  font-weight: 700;
}

.text-link span {
  margin-left: 8px;
}

/* ELEMENTO GRÁFICO DE PORTADA */

.hero-art {
  height: 430px;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid #d7dbd0;
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-one {
  width: 380px;
  height: 240px;
}

.orbit-two {
  width: 300px;
  height: 390px;
  transform: rotate(55deg);
}

.orbit:after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a8d94f;
  top: 18%;
  left: 15%;
}

.orbit-core {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  font: 800 100px var(--display);
  position: relative;
  box-shadow: 0 25px 70px #17181725;
}

.orbit-core i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime);
  right: 12px;
  top: 25px;
}

.art-caption {
  position: absolute;
  bottom: 18px;
  left: 12%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: .13em;
  color: #858b82;
}

.hero-bottom {
  position: absolute;
  bottom: 22px;
  left: 10%;
  right: 10%;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: .14em;
  color: #92978f;
}

/* BLOQUE OSCURO */

.dark-band {
  background: var(--ink);
  color: var(--white);
  padding: 90px 10% 82px;
}

.light-kicker {
  color: #a6ada4;
}

.dark-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 12%;
  align-items: end;
  margin-top: 38px;
}

.dark-grid h2,
.closing-band h2 {
  font: 600 clamp(43px, 5.4vw, 70px)/1.08 var(--display);
  letter-spacing: -.06em;
  margin: 0;
}

.dark-grid h2 span,
.closing-band h2 span {
  color: var(--lime);
}

.dark-copy {
  max-width: 470px;
  padding-bottom: 8px;
}

.dark-copy p {
  font-size: 14px;
  line-height: 1.85;
  color: #aeb4ac;
}

.dark-copy .lead {
  font: 500 20px/1.55 var(--display);
  color: white;
}

.line-link {
  display: inline-block;
  margin-top: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid #697066;
  color: white;
}

.line-link span {
  margin-left: 16px;
  color: var(--lime);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 90px;
  padding-top: 27px;
  border-top: 1px solid var(--darkline);
}

.principles div > span {
  font-size: 10px;
  color: var(--lime);
}

.principles strong {
  display: block;
  margin-top: 22px;
  font: 600 17px var(--display);
}

.principles p {
  font-size: 12px;
  line-height: 1.7;
  color: #aeb4ac;
  max-width: 240px;
}

/* BIBLIOTECA */

.section-light {
  background: var(--paper);
}

.library-section {
  padding: 100px 10% 95px;
}

.section-heading,
.projects-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.projects-top h2,
.founder-title h2 {
  font-size: clamp(43px, 5vw, 66px);
  margin: 25px 0 0;
}

.section-intro {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.8;
  color: #737970;
  margin: 0 0 8px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 58px;
}

.resource-card {
  background: var(--paper);
  padding: 25px 27px 28px;
  min-height: 205px;
  position: relative;
  transition: background .2s;
}

.resource-card:hover {
  background: white;
}

.resource-number {
  font-size: 9px;
  color: #92988e;
  letter-spacing: .12em;
}

.resource-icon {
  display: block;
  margin-top: 20px;
  font: 700 11px var(--display);
  letter-spacing: .08em;
  color: #8bbd35;
}

.resource-card h3 {
  font: 600 19px var(--display);
  margin: 10px 0;
}

.resource-card p {
  font-size: 11px;
  line-height: 1.65;
  color: #777d75;
  max-width: 230px;
}

.card-arrow {
  position: absolute;
  right: 25px;
  bottom: 25px;
  font-size: 17px;
}

.resource-card-accent {
  background: #eaf2df;
}

.notice {
  font-size: 10px;
  color: #838980;
  margin: 18px 0 0;
  line-height: 1.6;
}

.notice span {
  font-weight: 700;
  color: #7da632;
  margin-right: 10px;
  letter-spacing: .1em;
}

/* PROYECTOS */

.projects-section {
  background: #e9ebe5;
  padding: 100px 10%;
}

.project-feature {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  margin-top: 55px;
  background: #fff;
  min-height: 330px;
}

.project-visual {
  background: #171817;
  display: grid;
  place-items: center;
  min-height: 320px;
  overflow: hidden;
}

.lcars-frame {
  width: 65%;
  max-width: 330px;
  min-height: 210px;
  border-left: 13px solid #ffa34d;
  border-top: 13px solid #ffa34d;
  padding: 18px 20px;
  color: #f4ede7;
  position: relative;
  font-family: var(--display);
}

.lcars-frame > span {
  font-size: 22px;
  font-weight: 800;
  color: #ffa34d;
  letter-spacing: .12em;
}

.lcars-frame b {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  margin-top: 16px;
  letter-spacing: .03em;
}

.lcars-frame i {
  display: block;
  font-style: normal;
  font-size: 9px;
  letter-spacing: .18em;
  color: #83c9de;
  margin-top: 14px;
}

.lcars-bars {
  position: absolute;
  right: -24px;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lcars-bars u {
  display: block;
  width: 34px;
  height: 20px;
  background: #b39ddb;
  border-radius: 0 9px 9px 0;
}

.lcars-bars u:nth-child(2) {
  background: #83c9de;
  width: 23px;
}

.lcars-bars u:nth-child(3) {
  background: #ffa34d;
  width: 43px;
}

.lcars-bars u:nth-child(4) {
  background: #ffd36a;
  width: 29px;
}

.project-info {
  padding: 50px 9%;
  align-self: center;
}

.project-tag {
  font-size: 9px;
  letter-spacing: .15em;
  color: #899087;
}

.project-info h3 {
  font: 700 32px var(--display);
  letter-spacing: -.04em;
  margin: 22px 0 12px;
}

.project-info > p:not(.project-tag) {
  font-size: 13px;
  line-height: 1.8;
  color: #6e756d;
  max-width: 390px;
}

.project-status {
  margin-top: 28px;
  font-size: 9px;
  letter-spacing: .13em;
  font-weight: 700;
}

.project-status span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9acb4a;
  margin-right: 8px;
}

/* QUIÉN ESTÁ DETRÁS */

.founder-section {
  padding: 105px 10% 115px;
}

.founder-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.founder-index {
  font-size: 9px;
  letter-spacing: .15em;
  color: #92988e;
}

.founder-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 10%;
  margin-top: 45px;
}

.founder-title h2 {
  font-size: clamp(40px, 4.7vw, 62px);
  margin: 0;
}

.founder-monogram {
  margin-top: 65px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: #e7eadf;
  display: grid;
  place-items: center;
  font: 700 42px var(--display);
  color: #555d4e;
  letter-spacing: -.08em;
}

.founder-monogram span {
  color: #8bbd35;
}

.founder-copy {
  max-width: 620px;
}

.founder-name {
  font: 700 23px var(--display);
  margin: 0 0 5px;
}

.founder-role {
  font-size: 10px;
  letter-spacing: .08em;
  color: #81877e;
  margin: 0 0 28px;
}

.founder-copy > p:not(.founder-name):not(.founder-role) {
  font-size: 13px;
  line-height: 1.9;
  color: #5f665e;
  margin: 0 0 16px;
}

.founder-copy blockquote {
  margin: 30px 0 0;
  padding: 18px 0 18px 22px;
  border-left: 2px solid #a5d44e;
  font: 500 19px/1.55 var(--display);
  color: #30372d;
}

/* CIERRE OSCURO */

.closing-band {
  background: var(--ink);
  color: white;
  padding: 85px 10% 90px;
}

.closing-band h2 {
  font-size: clamp(39px, 5vw, 64px);
  margin: 30px 0 16px;
}

.closing-band > p:not(.eyebrow) {
  font-size: 13px;
  color: #aeb4ac;
  margin-bottom: 28px;
}

.button-lime {
  background: var(--lime);
  color: var(--ink);
}

.button-lime:hover {
  background: #d5ff82;
}

/* PIE */

.site-footer {
  min-height: 90px;
  padding: 20px 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #101110;
  color: #92988f;
}

.footer-brand {
  color: white;
}

.footer-brand .brand-mark {
  border-color: #777d75;
}

.footer-brand .brand-name {
  color: white;
}

.site-footer > span {
  font-size: 9px;
  letter-spacing: .13em;
}

/* TABLETS Y CELULARES */

@media (max-width: 800px) {
  .site-header {
    height: 70px;
    padding: 0 6%;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-link {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 22px 6%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 20px;
  }

  .main-nav.open {
    display: flex;
  }

  .hero-light {
    padding: 75px 7% 65px;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 58px;
  }

  .hero-art {
    height: 300px;
    margin-top: 15px;
  }

  .orbit-one {
    width: 290px;
    height: 190px;
  }

  .orbit-two {
    width: 230px;
    height: 300px;
  }

  .orbit-core {
    width: 130px;
    height: 130px;
    font-size: 76px;
  }

  .hero-bottom {
    left: 7%;
    right: 7%;
    bottom: 18px;
    font-size: 7px;
  }

  .dark-band,
  .library-section,
  .projects-section,
  .founder-section,
  .closing-band {
    padding: 72px 7%;
  }

  .dark-grid,
  .founder-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .dark-grid h2 {
    font-size: 52px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 55px;
  }

  .principles strong {
    margin-top: 10px;
  }

  .section-heading,
  .projects-top {
    display: block;
  }

  .section-intro {
    margin-top: 25px;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 38px;
  }

  .project-feature {
    grid-template-columns: 1fr;
  }

  .project-info {
    padding: 38px 8%;
  }

  .founder-label {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }

  .founder-monogram {
    margin-top: 35px;
    width: 110px;
    height: 110px;
    font-size: 34px;
  }

  .founder-copy {
    margin-top: 0;
  }

  .site-footer {
    padding: 25px 7%;
    gap: 16px;
    flex-wrap: wrap;
  }

  .site-footer > span {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 49px;
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-actions {
    gap: 18px;
    flex-wrap: wrap;
  }

  .button {
    padding: 14px 16px;
  }

  .art-caption {
    left: 2%;
    right: 2%;
    font-size: 7px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 180px;
  }

  .section-heading h2,
  .projects-top h2 {
    font-size: 46px;
  }

  .dark-grid h2 {
    font-size: 45px;
  }

  .closing-band h2 {
    font-size: 42px;
  }

  .site-footer {
    justify-content: space-between;
  }

  .site-footer > span:nth-child(2) {
    display: none;
  }
}
