/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px var(--px);
  position: relative;
  z-index: 10;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 80px;
  width: auto;
}

.nav__info {
  display: flex;
  gap: 40px;
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  text-align: left;
}

.nav__info-block {
  max-width: 240px;
}

.nav__info-label {
  opacity: 0.5;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  height: min(800px, calc(100vh - 160px));
  border-radius: var(--radius-section);
  overflow: hidden;
  margin: 0 var(--px);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__gradient {
  position: absolute;
  left: -114px;
  right: -114px;
  bottom: -80px;
  height: 466px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  filter: blur(40px);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 124px 160px;
  text-align: center;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-ivory);
  margin-bottom: 10px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-hero);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-heading);

  color: var(--color-ivory);
  mix-blend-mode: difference;
}

/* ========================================
   TEXT SECTIONS (below hero, description)
   ======================================== */
.text-section {
  display: flex;
  gap: var(--gap-columns);
  padding: 0 60px;
  margin: 60px 0;
}

.text-section--below-hero {
  color: var(--color-ivory);
  margin-top: -94px;
  position: relative;
  z-index: 3;
}

.text-section__col {
  flex: 1;
}

/* ========================================
   MISSION STATEMENT
   ======================================== */
.mission {
  padding: 80px 60px 40px;
}

.mission__heading {
  max-width: 920px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-section);
  line-height: var(--lh-section);
  letter-spacing: var(--ls-heading-tight);

  color: var(--color-dark-green);
}

/* ========================================
   DESCRIPTION
   ======================================== */
.description {
  display: flex;
  gap: var(--gap-columns);
  padding: 0 60px;
  margin-bottom: 60px;
}

.description__col {
  flex: 1;
  font-size: var(--text-body-md);
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio {
  padding: 0;
  margin-bottom: 60px;
}

/* --- Row 1: 1 large + 3 small columns --- */
.portfolio__row-1 {
  display: flex;
  gap: var(--gap-cards);
}

.portfolio__featured {
  width: 574px;
  flex-shrink: 0;
}

.portfolio__side-grid {
  display: flex;
  gap: var(--gap-cards);
  flex: 1;
  align-items: flex-start;
}

/* --- Row 2: 5 equal columns (last 2 hidden) --- */
.portfolio__row-2 {
  display: flex;
  gap: var(--gap-cards);
  margin-top: 64px;
  align-items: flex-start;
}

.portfolio__row-2 .card {
  flex: 1;
  min-width: 0;
  gap: var(--gap-cards);
}

/* --- Card Component --- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-card-content);
}

.card__image {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dark-green);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fixed heights per card variant */
.card--featured .card__image { height: 420px; }
.card--tall .card__image { height: 360px; }
.card--medium .card__image { height: 255px; }
.card--short .card__image { height: 160px; }
.card--row2-tall .card__image { height: 420px; }
.card--row2-medium .card__image { height: 300px; }
.card--row2-short .card__image { height: 160px; }

.card__info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-text-block);
  padding-right: 16px;
}

.card--featured .card__info {
  padding-right: 120px;
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-card-title);
  line-height: var(--lh-card-title);
  letter-spacing: var(--ls-heading-tight);
  color: var(--color-dark-green);
}

.card__description {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-dark-green);
}

.card--hidden {
  opacity: 0;
  pointer-events: none;
}

/* ========================================
   MANIFESTO (bottom dark section)
   ======================================== */
.manifesto {
  position: relative;
  margin: 0 var(--px);
  width: 100%;
  height: 800px;
  background: var(--color-black);
  border-radius: var(--radius-section);
  overflow: hidden;
  margin-bottom: 60px;
}

.manifesto__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manifesto__gradient {
  position: absolute;
  left: -114px;
  right: -114px;
  bottom: -80px;
  height: 466px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  filter: blur(40px);
  z-index: 1;
}

.manifesto__heading {
  position: absolute;
  top: 60px;
  left: 60px;
  width: 920px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-section);
  line-height: var(--lh-section-tight);
  letter-spacing: var(--ls-heading-tight);
  color: var(--color-ivory);
  z-index: 2;
}

.manifesto__text {
  position: absolute;
  bottom: 60px;
  left: 60px;
  right: 60px;
  display: flex;
  gap: var(--gap-columns);
  z-index: 3;
}

.manifesto__col {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-ivory);
}

/* ========================================
   HOW WE WORK (METHOD)
   ======================================== */
.method {
  padding: 80px 60px 60px;
}

.method__header {
  margin-bottom: 40px;
}

.method__label {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  opacity: 0.5;
  margin-bottom: 16px;
}

.method__heading {
  max-width: 920px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-section);
  line-height: var(--lh-section);
  letter-spacing: var(--ls-heading-tight);

  color: var(--color-dark-green);
}

.method__content {
  display: flex;
  gap: var(--gap-columns);
}

.method__col {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-dark-green);
}

.method__col p + p {
  margin-top: 16px;
}

/* ========================================
   WHO WE ARE (TEAM)
   ======================================== */
.team {
  padding: 60px 60px 80px;
}

.team__header {
  margin-bottom: 40px;
}

.team__label {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  opacity: 0.5;
  margin-bottom: 16px;
}

.team__heading {
  max-width: 920px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-section);
  line-height: var(--lh-section);
  letter-spacing: var(--ls-heading-tight);

  color: var(--color-dark-green);
}

.team__content {
  display: flex;
  gap: var(--gap-columns);
}

.team__text {
  flex: 1;
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-dark-green);
}

.team__text p + p {
  margin-top: 16px;
}

.team__members {
  flex: 1;
  display: flex;
  gap: 40px;
}

.team__member {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team__member-photo {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-card);
  background: var(--color-dark-green);
  object-fit: cover;
}

.team__member-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-card-title);
  line-height: var(--lh-card-title);
  letter-spacing: var(--ls-heading-tight);
  color: var(--color-dark-green);
}

.team__member-role {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  opacity: 0.5;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
  padding: 80px 60px;
  text-align: center;
}

.cta__heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-section);
  line-height: var(--lh-section);
  letter-spacing: var(--ls-heading-tight);

  color: var(--color-dark-green);
  margin-bottom: 32px;
}

.cta__text {
  max-width: 640px;
  margin: 0 auto 40px;
  font-family: var(--font-body);
  font-size: var(--text-body-md);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--color-dark-green);
}

.cta__button {
  display: inline-block;
  padding: 16px 48px;
  background: var(--color-dark-green);
  color: var(--color-ivory);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-body-md);
  line-height: 1;
  letter-spacing: var(--ls-heading);
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta__button:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 40px 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 60px;
  width: auto;
}

.footer__info {
  display: flex;
  gap: 40px;
  font-size: var(--text-body-sm);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
}

.footer__info-block {
  max-width: 200px;
}

.footer__info-label {
  opacity: 0.5;
  margin-bottom: 4px;
}

/* ========================================
   RESPONSIVE — TABLET (≤1024px)
   ======================================== */
@media (max-width: 1024px) {
  .hero { height: min(600px, calc(100vh - 100px)); }
  .hero__content { padding: 0 60px 100px; }
  .hero__title { font-size: 120px; }

  .portfolio__featured { width: auto; flex: 1; }
  .portfolio__side-grid { flex-direction: column; }

  .manifesto { height: 600px; }
  .manifesto__heading { width: auto; right: 60px; font-size: 60px; }
}

/* ========================================
   RESPONSIVE — MOBILE (≤768px)
   ======================================== */
@media (max-width: 768px) {

  /* --- Nav --- */
  .nav {
    flex-direction: column;
    gap: 20px;
    padding: 20px var(--px);
  }
  .nav__logo-img { height: 56px; }
  .nav__info { gap: 24px; font-size: 16px; }

  /* --- Hero --- */
  .hero {
    height: 480px;
    border-radius: 16px;
  }
  .hero__content {
    padding: 0 24px 80px;
  }
  .hero__subtitle { font-size: 18px; }
  .hero__title { font-size: 40px; }

  /* --- Text section below hero --- */
  .text-section {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    margin: 40px 0;
  }
  .text-section--below-hero { margin-top: -60px; }
  .text-section .text-md { font-size: 18px; }

  /* --- Mission --- */
  .mission {
    padding: 48px 16px 32px;
  }
  .mission__heading { font-size: 36px; line-height: 1; }

  /* --- Description --- */
  .description {
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    margin-bottom: 40px;
  }
  .description__col { font-size: 18px; }

  /* --- Portfolio --- */
  .portfolio { margin-bottom: 40px; }
  .portfolio__row-1 { flex-direction: column; }
  .portfolio__featured { width: 100%; }
  .portfolio__side-grid { flex-direction: column; }

  .portfolio__row-2 { flex-direction: column; margin-top: 40px; }

  .card--featured .card__image,
  .card--tall .card__image,
  .card--medium .card__image,
  .card--short .card__image,
  .card--row2-tall .card__image,
  .card--row2-medium .card__image,
  .card--row2-short .card__image {
    height: 240px;
  }
  .card--featured .card__info { padding-right: 0; }
  .card__title { font-size: 22px; }
  .card__description { font-size: 16px; }
  .card--hidden { display: none; }

  /* --- Manifesto --- */
  .manifesto {
    height: auto;
    min-height: 480px;
    border-radius: 16px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 24px;
    overflow: hidden;
  }
  .manifesto__heading {
    position: relative;
    top: 0; left: 0; right: 0;
    width: 100%;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 40px;
  }
  .manifesto__text {
    position: relative;
    top: 0; bottom: 0; left: 0; right: 0;
    flex-direction: column;
    gap: 16px;
  }
  .manifesto__col { font-size: 18px; }
  .manifesto__gradient {
    left: 0; right: 0;
  }
  .hero__gradient {
    left: 0; right: 0;
  }

  /* --- Method --- */
  .method { padding: 48px 16px 40px; }
  .method__heading { font-size: 36px; line-height: 1; }
  .method__content { flex-direction: column; gap: 16px; }
  .method__col { font-size: 18px; }

  /* --- Team --- */
  .team { padding: 40px 16px 48px; }
  .team__heading { font-size: 36px; line-height: 1; }
  .team__content { flex-direction: column; gap: 32px; }
  .team__text { font-size: 18px; }
  .team__members { gap: 24px; }
  .team__member-photo { width: 140px; height: 140px; }
  .team__member-name { font-size: 22px; }

  /* --- CTA --- */
  .cta { padding: 48px 16px; }
  .cta__heading { font-size: 36px; line-height: 1; margin-bottom: 24px; }
  .cta__text { font-size: 18px; margin-bottom: 32px; }
  .cta__button { font-size: 18px; padding: 14px 40px; }

  /* --- Footer --- */
  .footer {
    flex-direction: column;
    gap: 32px;
    padding: 32px 16px 48px;
  }
  .footer__logo-img { height: 48px; }
  .footer__info { gap: 24px; font-size: 16px; }
}
