/* ════════════════════════════════════════════════════════
   NOVA PATAGONIA — Design System v3 (Light / Institutional)
   
   Color strategy: Light backgrounds, dark navy text, gold accents.
   More Brookfield / Equinor / BlackRock Infra than startup.
   
   Typography: Playfair Display (headings) + Inter (body)
   ════════════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ── TOKENS ── */
:root {
  --navy:         #0c1a2e;
  --navy-mid:     #1a2d47;
  --navy-light:   #2a4060;
  --text:         #1a2538;
  --text-mid:     rgba(26, 37, 56, 0.70);
  --text-light:   rgba(26, 37, 56, 0.45);
  --gold:         #b8963e;
  --gold-rich:    #a0812f;
  --gold-dim:     rgba(184, 150, 62, 0.35);
  --gold-glow:    rgba(184, 150, 62, 0.08);
  --white:        #ffffff;
  --off-white:    #f7f6f3;
  --warm-gray:    #edeae4;
  --border:       rgba(26, 37, 56, 0.10);
  --border-gold:  rgba(184, 150, 62, 0.25);

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;

  --section-pad:  clamp(72px, 10vh, 130px);
  --side-pad:     clamp(20px, 5vw, 100px);
  --max-width:    1040px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── SHARED SECTION ── */
.section {
  padding: var(--section-pad) var(--side-pad);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin: 0 auto 32px;
}

.section__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-rich);
  margin-bottom: 20px;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}

.section__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 620px;
}

.section--centered {
  text-align: center;
}
.section--centered .section__text {
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════
   1. HERO — keeps dark treatment over the image
   ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 45%;
  z-index: 0;
  will-change: transform;
  transform: scale(1.05);
}

/* Light frosted overlay — lets the bright image breathe */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(12, 26, 46, 0.35) 40%,
      rgba(12, 26, 46, 0.55) 70%,
      rgba(12, 26, 46, 0.80) 100%
    );
  z-index: 1;
}

.hero__rule-top {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  z-index: 2;
  animation: fadeIn 2s ease 0.5s forwards;
  opacity: 0;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1.2s ease 0.3s forwards;
  opacity: 0;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.hero__logo {
  width: clamp(120px, 16vw, 190px);
  height: auto;
  box-shadow: 0 6px 36px rgba(0, 0, 0, 0.2);
}

.hero__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 28px auto;
}

.hero__claim {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  color: #ffffff;
  letter-spacing: 0.01em;
  line-height: 1.35;
  max-width: 560px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.15);
}

.hero__subclaim {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.15vw, 0.95rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 480px;
  margin-top: 16px;
}

.hero__cta {
  margin-top: 40px;
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 14px 36px;
  transition: all 0.35s ease;
}

.hero__cta:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
}

.hero__bottom {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 40px;
  animation: fadeUp 1.8s ease 0.9s forwards;
  opacity: 0;
}

.hero__bottom-left,
.hero__bottom-right {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.hero__bottom-right {
  text-align: right;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1.8s ease 1.2s forwards;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}


/* ════════════════════════════════════════════════════════
   2. THE THESIS
   ════════════════════════════════════════════════════════ */
.thesis {
  background: var(--white);
  border-top: none;
}

.thesis .section__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-style: italic;
  color: var(--navy);
  max-width: 640px;
  margin: 0 auto 24px;
}

.thesis .section__text {
  margin: 0 auto;
}


/* ════════════════════════════════════════════════════════
   3. WHAT NOVA PATAGONIA IS
   ════════════════════════════════════════════════════════ */
.what {
  background: var(--off-white);
}

.what__geography-line {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--gold-rich);
  margin-top: 32px;
  font-style: italic;
}


/* ════════════════════════════════════════════════════════
   4. THREE PILLARS
   ════════════════════════════════════════════════════════ */
.pillars {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pillar {
  padding: 36px 28px;
  border: 1px solid var(--border);
  background: var(--off-white);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.pillar:hover {
  border-color: var(--border-gold);
  box-shadow: 0 4px 24px rgba(184, 150, 62, 0.08);
}

.pillar__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.pillar__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-rich);
  margin-bottom: 16px;
}

.pillar__text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}


/* ════════════════════════════════════════════════════════
   5. DIAGRAM
   ════════════════════════════════════════════════════════ */
.diagram {
  background: var(--off-white);
}

.diagram__flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 48px auto 40px;
  max-width: 760px;
}

.diagram__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  z-index: 1;
}

.diagram__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(184, 150, 62, 0.25);
  position: relative;
  flex-shrink: 0;
}

.diagram__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
}

.diagram__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-rich);
}

.diagram__sublabel {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  max-width: 130px;
  line-height: 1.5;
}

.diagram__connector {
  flex: 0.5;
  height: 1px;
  background: linear-gradient(to right, var(--gold-dim), var(--gold), var(--gold-dim));
  position: relative;
  top: 5px;
  flex-shrink: 0;
}

.diagram__connector::after {
  content: '›';
  position: absolute;
  right: -3px;
  top: -9px;
  color: var(--gold);
  font-size: 0.9rem;
  opacity: 0.5;
}

.diagram__caption {
  text-align: center;
}


/* ════════════════════════════════════════════════════════
   6. STRATEGIC PARTNERS
   ════════════════════════════════════════════════════════ */
.partners {
  background: var(--white);
}

.partners__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  justify-content: center;
}

.partners__tag {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border);
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.partners__tag:hover {
  color: var(--gold-rich);
  border-color: var(--border-gold);
  background: var(--gold-glow);
}


/* ════════════════════════════════════════════════════════
   7. CLOSING MANIFESTO — dark contrast band
   ════════════════════════════════════════════════════════ */
.manifesto {
  background: var(--navy);
  padding: clamp(80px, 12vh, 150px) var(--side-pad);
}

.manifesto__lines {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto__line {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  line-height: 1.45;
  transition: color 0.4s ease;
}

.manifesto__line:hover {
  color: var(--gold);
}

.manifesto__line em {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}


/* ════════════════════════════════════════════════════════
   8. CONTACT
   ════════════════════════════════════════════════════════ */
.contact {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: clamp(64px, 8vh, 100px) var(--side-pad) 40px;
}

.contact__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 16px 44px;
  margin-top: 32px;
  transition: all 0.35s ease;
}

.contact__cta:hover {
  background: var(--navy);
  color: var(--white);
}

.contact__email {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--text-light);
  margin-top: 16px;
  transition: color 0.3s ease;
}

.contact__email:hover {
  color: var(--gold-rich);
}

.contact__footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact__copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}


/* ════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.6; transform: scaleY(1.2); }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .pillars__grid {
    gap: 16px;
  }

  .pillar {
    padding: 28px 22px;
  }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --section-pad: clamp(56px, 8vh, 80px);
    --side-pad:    20px;
  }

  body {
    font-size: 15px;
  }

  /* Hero mobile */
  .hero {
    min-height: 100svh;
  }

  .hero__logo {
    width: 110px;
  }

  .hero__claim {
    font-size: 1.2rem;
    max-width: 320px;
  }

  .hero__subclaim {
    font-size: 0.82rem;
    max-width: 300px;
    margin-top: 12px;
  }

  .hero__cta {
    margin-top: 28px;
    padding: 12px 28px;
    font-size: 0.68rem;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 20px;
    bottom: 16px;
  }

  .hero__bottom-left,
  .hero__bottom-right {
    font-size: 0.52rem;
    text-align: center;
  }

  .hero__scroll-hint {
    display: none;
  }

  /* Pillars mobile */
  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pillar {
    padding: 24px 20px;
  }

  .pillar__text {
    font-size: 0.88rem;
  }

  /* Diagram mobile */
  .diagram__flow {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin: 36px auto 32px;
  }

  .diagram__node {
    align-items: center;
  }

  .diagram__connector {
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, var(--gold-dim), var(--gold), var(--gold-dim));
    top: 0;
    flex: none;
  }

  .diagram__connector::after {
    content: '▾';
    position: absolute;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: -10px;
    color: var(--gold);
    font-size: 0.7rem;
    opacity: 0.5;
  }

  .diagram__sublabel {
    font-size: 0.75rem;
  }

  /* Partners mobile */
  .partners__tags {
    gap: 8px;
  }

  .partners__tag {
    padding: 8px 14px;
    font-size: 0.62rem;
  }

  /* Manifesto mobile */
  .manifesto {
    padding: 56px var(--side-pad);
  }

  .manifesto__line {
    font-size: 1.05rem;
  }

  /* Contact mobile */
  .contact__cta {
    padding: 14px 32px;
    font-size: 0.68rem;
  }

  .contact__footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    margin-top: 48px;
  }

  /* Sections general */
  .section__title {
    font-size: clamp(1.35rem, 5vw, 1.8rem);
  }

  .section__text {
    font-size: 0.9rem;
  }

  .section__eyebrow {
    font-size: 0.62rem;
  }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE
   ════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero__logo {
    width: 90px;
  }

  .hero__claim {
    font-size: 1.05rem;
    max-width: 280px;
  }

  .hero__eyebrow {
    font-size: 0.55rem;
  }

  .hero__subclaim {
    font-size: 0.78rem;
    max-width: 260px;
  }

  .partners__tag {
    font-size: 0.58rem;
    padding: 7px 12px;
  }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE — LANDSCAPE / SHORT VIEWPORT
   (iPhone landscape, small tablets rotated)
   ════════════════════════════════════════════════════════ */
@media (max-height: 500px) {
  .hero {
    min-height: 100svh;
    padding: 24px 20px 60px;
  }

  .hero__eyebrow {
    margin-bottom: 12px;
    font-size: 0.55rem;
  }

  .hero__logo {
    width: 70px;
  }

  .hero__divider {
    margin: 12px auto;
  }

  .hero__claim {
    font-size: 1rem;
  }

  .hero__subclaim {
    font-size: 0.75rem;
    margin-top: 8px;
  }

  .hero__cta {
    margin-top: 16px;
    padding: 10px 24px;
    font-size: 0.62rem;
  }

  .hero__bottom {
    display: none;
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__rule-top {
    display: none;
  }
}
