/* Marvellous.Earth V1 */
:root {
  --paper: #f2f0e8;
  --paper-deep: #e7e3d8;
  --ink: #17201a;
  --muted: #69736c;
  --forest: #213d30;
  --forest-deep: #10281f;
  --moss: #87977f;
  --sand: #d9cfbb;
  --line: rgba(23,32,26,.15);
  --white: #f8f8f4;
  --max: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.site-header {
  width: min(calc(100% - 48px), var(--max));
  height: 86px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.brand {
  text-decoration:none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  letter-spacing:-.04em;
}
.brand span { color:#6d8977; }
.nav { display:flex; align-items:center; gap:30px; }
.nav a {
  font-size:13px;
  text-decoration:none;
  color:#39453e;
}
.nav a:hover { color:#000; }
.nav .nav-cta {
  border:1px solid var(--ink);
  padding:11px 16px;
  border-radius:999px;
}
.menu-button { display:none; }
.mobile-nav { display:none; }

.hero {
  width: min(calc(100% - 48px), var(--max));
  min-height: calc(100svh - 110px);
  max-height: 850px;
  margin: 0 auto;
  border-radius: 4px;
  position:relative;
  overflow:hidden;
  color:var(--white);
  isolation:isolate;
  background:#284335;
}
.hero-image {
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    url("https://images.unsplash.com/photo-1469474968028-56623f02e42e?auto=format&fit=crop&w=2200&q=88")
    center 47%/cover no-repeat;
  transform:scale(1.015);
}
.hero-shade {
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg, rgba(4,18,12,.72) 0%, rgba(4,18,12,.36) 45%, rgba(4,18,12,.05) 78%),
    linear-gradient(0deg, rgba(6,20,14,.42) 0%, transparent 40%);
}
.hero-content {
  position:absolute;
  left:clamp(28px,5vw,72px);
  bottom:clamp(72px,10vw,125px);
  max-width:720px;
}
.eyebrow {
  margin:0 0 18px;
  text-transform:uppercase;
  letter-spacing:.19em;
  font-size:11px;
  font-weight:600;
}
.eyebrow.dark { color:#5f6c64; }
.hero h1,
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight:400;
  letter-spacing:-.045em;
  margin:0;
}
.hero h1 {
  font-size:clamp(60px,9vw,128px);
  line-height:.84;
}
.hero h1 em,
.section h2 em { font-weight:400; font-style:italic; }
.hero-copy {
  max-width:560px;
  margin:34px 0 0;
  font-size:clamp(16px,1.65vw,21px);
  line-height:1.55;
  color:rgba(255,255,255,.86);
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:28px;
  flex-wrap:wrap;
  margin-top:34px;
}
.button {
  min-height:48px;
  display:inline-flex;
  align-items:center;
  gap:18px;
  padding:0 20px;
  border-radius:999px;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
}
.button-light { background:var(--white); color:var(--ink); }
.button-light:hover { background:#fff; }
.text-link {
  font-size:13px;
  text-decoration:none;
  padding:12px 0;
  border-bottom:1px solid currentColor;
}
.text-link-light { color:rgba(255,255,255,.85); }
.hero-caption {
  position:absolute;
  right:24px;
  bottom:20px;
  margin:0;
  font-size:10px;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:rgba(255,255,255,.6);
}

.section {
  width:min(calc(100% - 48px), var(--max));
  margin:0 auto;
}
.intro {
  padding:150px 0 120px;
  border-bottom:1px solid var(--line);
  position:relative;
}
.section-number {
  margin:0 0 68px;
  font-family:Georgia,serif;
  font-size:13px;
  color:#6d766f;
}
.intro-grid {
  display:grid;
  grid-template-columns:.55fr 1.7fr 1fr;
  gap:42px;
  align-items:start;
}
.intro h2,
.section-heading h2,
.connection h2,
.explore-teaser h2,
.mission h2 {
  font-size:clamp(44px,5.2vw,78px);
  line-height:.98;
}
.lead {
  margin:5px 0 0;
  font-size:18px;
  line-height:1.65;
  color:#536058;
}

.stories { padding:120px 0 150px; }
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:32px;
  margin-bottom:64px;
}
.section-heading .eyebrow { margin-top:12px; }
.section-heading h2 { width:min(760px,70%); }
.story-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.story-card {
  min-width:0;
  background:#e9e6dd;
}
.story-photo {
  height:430px;
  background-position:center;
  background-size:cover;
}
.photo-lost {
  background-image:
    linear-gradient(rgba(67,42,23,.06),rgba(67,42,23,.06)),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=1200&q=82");
}
.photo-still {
  background-image:
    linear-gradient(rgba(18,49,31,.08),rgba(18,49,31,.08)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1200&q=82");
}
.photo-returning {
  background-image:
    linear-gradient(rgba(18,49,31,.05),rgba(18,49,31,.05)),
    url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1200&q=82");
}
.story-content { padding:28px 28px 32px; min-height:310px; display:flex; flex-direction:column; }
.story-index { color:#818a83; font-size:11px; margin-bottom:40px; }
.story-status {
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:10px;
  font-weight:700;
  margin:0 0 9px;
  color:#5f6e65;
}
.story-content h3 {
  margin:0;
  font-family:Georgia,serif;
  font-size:31px;
  font-weight:400;
  letter-spacing:-.035em;
}
.story-content p:not(.story-status) {
  font-size:14px;
  line-height:1.65;
  color:#59645d;
  margin:16px 0 28px;
}
.story-link {
  margin-top:auto;
  font-size:12px;
  font-weight:600;
  text-decoration:none;
  border-top:1px solid rgba(23,32,26,.15);
  padding-top:18px;
}

.connection {
  width:100%;
  max-width:none;
  background:var(--forest-deep);
  color:var(--white);
  padding:130px max(24px,calc((100% - var(--max))/2));
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8vw;
}
.connection-copy p:not(.eyebrow) {
  max-width:510px;
  margin:32px 0 0;
  line-height:1.7;
  color:rgba(255,255,255,.67);
  font-size:16px;
}
.benefits { border-top:1px solid rgba(255,255,255,.18); }
.benefit {
  display:grid;
  grid-template-columns:55px 1fr;
  gap:20px;
  padding:29px 0;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.benefit-icon {
  width:40px; height:40px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#cbd7c9;
}
.benefit h3 {
  font-family:Georgia,serif;
  font-size:25px;
  font-weight:400;
  margin:0 0 5px;
}
.benefit p {
  margin:0;
  max-width:500px;
  font-size:13px;
  color:rgba(255,255,255,.59);
  line-height:1.55;
}

.explore-teaser {
  width:100%;
  max-width:none;
  min-height:720px;
  padding:120px max(24px,calc((100% - var(--max))/2));
  background:#081c22;
  color:var(--white);
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  align-items:center;
  gap:8vw;
  overflow:hidden;
}
.teaser-copy { position:relative; z-index:2; }
.teaser-copy > p:not(.eyebrow) {
  max-width:490px;
  color:rgba(255,255,255,.62);
  font-size:15px;
  line-height:1.7;
  margin:30px 0 34px;
}
.mini-earth-wrap {
  min-height:510px;
  display:grid;
  place-items:center;
  position:relative;
  text-decoration:none;
}
.mini-earth {
  width:min(490px,70vw);
  aspect-ratio:1;
  border-radius:50%;
  position:relative;
  background:
    radial-gradient(circle at 32% 25%, rgba(142,190,174,.24), transparent 20%),
    radial-gradient(circle at 58% 65%, rgba(13,47,52,.4), transparent 34%),
    linear-gradient(145deg,#153f45,#071d25 60%,#06151a);
  box-shadow:
    inset -70px -20px 90px rgba(0,0,0,.55),
    inset 20px 10px 40px rgba(155,206,196,.10),
    0 0 80px rgba(82,139,142,.10);
  animation:float-earth 9s ease-in-out infinite;
}
.mini-earth::before {
  content:"";
  position:absolute;
  inset:-2.5%;
  border-radius:50%;
  border:1px solid rgba(183,221,218,.22);
  box-shadow:0 0 45px rgba(121,194,197,.13);
}
.continent {
  position:absolute;
  display:block;
  background:#5f7f68;
  opacity:.76;
  filter:blur(.1px);
}
.c1 {
  width:35%; height:45%; left:17%; top:20%;
  border-radius:60% 35% 55% 35% / 48% 55% 38% 60%;
  transform:rotate(-20deg);
}
.c2 {
  width:22%; height:37%; left:45%; top:42%;
  border-radius:40% 55% 45% 60%;
  transform:rotate(18deg);
}
.c3 {
  width:23%; height:17%; right:14%; top:27%;
  border-radius:55% 45% 60% 40%;
  transform:rotate(10deg);
}
.glow {
  position:absolute;
  width:12px; height:12px;
  border-radius:50%;
  left:38%; top:43%;
  background:#e4e3bd;
  box-shadow:0 0 0 8px rgba(228,227,189,.09),0 0 30px rgba(228,227,189,.5);
}
.orbit-label {
  position:absolute;
  bottom:22px;
  letter-spacing:.2em;
  font-size:9px;
  color:rgba(255,255,255,.4);
}
@keyframes float-earth {
  0%,100% { transform:translateY(0) rotate(-3deg); }
  50% { transform:translateY(-10px) rotate(2deg); }
}

.mission {
  padding:140px 0;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:10vw;
}
.mission-copy {
  padding-top:40px;
  font-size:16px;
  line-height:1.75;
  color:#58635c;
}
.mission-copy p:first-child { margin-top:0; }
.footer {
  width:min(calc(100% - 48px),var(--max));
  margin:0 auto;
  min-height:150px;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:1fr 1fr auto;
  gap:30px;
  align-items:center;
}
.footer p { margin:0; font-size:12px; color:#6a746d; }
.footer > a:last-child { font-size:12px; text-decoration:none; }
.brand-footer { font-size:20px; }

@media (max-width: 900px) {
  .nav { display:none; }
  .menu-button {
    display:flex; flex-direction:column; justify-content:center; gap:6px;
    width:46px; height:46px; border:0; padding:0 10px; background:transparent;
  }
  .menu-button span:not(.sr-only) { height:1px; width:100%; background:var(--ink); }
  .mobile-nav {
    width:calc(100% - 32px);
    margin:0 16px 16px;
    padding:18px;
    background:#e8e5dc;
    gap:6px;
  }
  .mobile-nav:not([hidden]) { display:grid; }
  .mobile-nav a { padding:12px; text-decoration:none; font-size:14px; }
  .site-header { width:calc(100% - 32px); height:72px; }
  .hero { width:calc(100% - 32px); min-height:720px; }
  .hero-content { left:28px; right:28px; bottom:70px; }
  .intro-grid { grid-template-columns:1fr; }
  .intro-grid .eyebrow { margin-bottom:-20px; }
  .lead { max-width:620px; }
  .section-heading { display:block; }
  .section-heading h2 { width:100%; margin-top:20px; }
  .story-grid { grid-template-columns:1fr; }
  .story-card { display:grid; grid-template-columns:1fr 1fr; }
  .story-photo { height:auto; min-height:360px; }
  .connection, .explore-teaser { grid-template-columns:1fr; }
  .connection { gap:80px; }
  .explore-teaser { padding-top:100px; gap:20px; }
  .mini-earth-wrap { min-height:500px; }
  .mission { grid-template-columns:1fr; gap:20px; }
}
@media (max-width: 620px) {
  .section, .footer { width:calc(100% - 32px); }
  .hero { width:calc(100% - 20px); min-height:670px; }
  .hero h1 { font-size:58px; }
  .hero-copy { font-size:16px; }
  .hero-caption { display:none; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:8px; }
  .intro { padding:105px 0 90px; }
  .section-number { margin-bottom:40px; }
  .stories { padding:90px 0 100px; }
  .story-card { display:block; }
  .story-photo { height:340px; min-height:0; }
  .story-content { min-height:280px; }
  .connection, .explore-teaser { padding:100px 20px; }
  .connection h2, .explore-teaser h2, .mission h2, .section-heading h2, .intro h2 { font-size:45px; }
  .mini-earth-wrap { min-height:380px; }
  .mini-earth { width:min(340px,82vw); }
  .mission { padding:100px 0; }
  .footer {
    grid-template-columns:1fr;
    gap:12px;
    align-content:center;
    padding:40px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .mini-earth { animation:none; }
}
