/* ============================================================
   elegant.earth — Homepage
   Static handoff stylesheet adapted for WordPress front-page.php
   ============================================================ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/montserrat-latin-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/montserrat-latin-italic-var.woff2') format('woff2');
}

:root {
  --text: #c0bdb8;
  --heading: #eae7e0;
  --muted: #6b6660;
  --label-color: rgba(119, 165, 213, 0.72);
  --label-border: rgba(119, 165, 213, 0.22);
  --accent: #77A5D5;
  --rule: rgba(255, 255, 255, 0.07);
  --glass-bg: rgba(9, 8, 13, 0.52);
  --glass-blur: 14px;
  --glass-border: rgba(255, 255, 255, 0.07);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 700px;
  --gutter: 2rem;
  --section-gap: clamp(5rem, 9vw, 8rem);
  --radius-pill: 100px;
  --radius-card: 20px;
  --radius-img: 14px;
}

html {
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  height: 100%;
}

body.ee-earth-site,
body.ee-earth-site *,
body.ee-earth-site *::before,
body.ee-earth-site *::after {
  box-sizing: border-box;
}

body.ee-earth-site {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: #090710;
  position: relative;
}

body.ee-earth-site::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(
      to right,
      rgba(9, 7, 14, 0) 0%,
      rgba(9, 7, 14, 0) 16%,
      rgba(9, 7, 14, 0.18) 24%,
      rgba(9, 7, 14, 0.76) 34%,
      rgba(9, 7, 14, 0.90) 50%,
      rgba(9, 7, 14, 0.76) 66%,
      rgba(9, 7, 14, 0.18) 76%,
      rgba(9, 7, 14, 0) 84%,
      rgba(9, 7, 14, 0) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(9, 7, 14, 0.18) 0%,
      rgba(9, 7, 14, 0.28) 34%,
      rgba(9, 7, 14, 0.46) 68%,
      rgba(9, 7, 14, 0.62) 100%
    ),
    url('photo-background.jpeg');
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
}

body.ee-earth-site img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.ee-earth-site main {
  display: block;
}

body.ee-earth-home ul,
body.ee-earth-home ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.ee-earth-site a {
  color: var(--accent);
  text-decoration: none;
}

body.ee-earth-home .site-logo img {
  display: block;
  height: 92px;
  width: auto;
  opacity: 0.94;
  transition: opacity 0.25s ease;
}

body.ee-earth-home .site-logo {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: var(--heading);
  transition: opacity 0.25s ease, color 0.2s ease;
}

body.ee-earth-home .site-logo:hover {
  opacity: 1;
}

body.ee-earth-home .site-logo:hover img {
  opacity: 1;
}

body.ee-earth-home .hero-brand-lockup {
  display: flex;
  justify-content: center;
  margin-bottom: 2.8rem;
}

body.ee-earth-home .cta-nav a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

body.ee-earth-home .cta-nav a:hover {
  color: var(--accent);
}

body.ee-earth-home .container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

body.ee-earth-home .section {
  padding-top: var(--section-gap);
  padding-bottom: 0;
}

body.ee-earth-home .section.hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

body.ee-earth-home .hero-focus {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body.ee-earth-home .section-label,
body.ee-earth-home .sublabel {
  display: inline-block;
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--label-color);
  border: 1px solid var(--label-border);
  border-radius: var(--radius-pill);
  padding: 0.32em 0.9em;
  line-height: 1.4;
  margin-bottom: 1.6rem;
}

body.ee-earth-home .sublabel {
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

body.ee-earth-home h1,
body.ee-earth-home h2,
body.ee-earth-home p,
body.ee-earth-home dl,
body.ee-earth-home dd,
body.ee-earth-home dt,
body.ee-earth-home figure {
  margin: 0;
}

body.ee-earth-home h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.2rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--heading);
  margin-bottom: 1.75rem;
}

body.ee-earth-home .hero-figure {
  margin-top: 3.5rem;
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

body.ee-earth-home .hero-figure img {
  border-radius: var(--radius-img);
  opacity: 0.88;
}

body.ee-earth-home .hero-title {
  font-size: clamp(2.1rem, 5.4vw, 3.65rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--heading);
  margin-bottom: 1rem;
}

body.ee-earth-home .hero-title em {
  font-style: normal;
  font-weight: 100;
}

body.ee-earth-home .hero-title-tail {
  font-size: 0.96em;
}

body.ee-earth-home .hero-sub {
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0;
}

body.ee-earth-home .prose {
  max-width: 64ch;
}

body.ee-earth-home .section.hero > .container > .prose {
  text-align: left;
}

body.ee-earth-home .prose p + p {
  margin-top: 1.1em;
}

body.ee-earth-home .definition-list {
  margin-top: 1.5rem;
}

body.ee-earth-home .definition-list dt {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading);
  margin-top: 1.6rem;
  margin-bottom: 0.2rem;
}

body.ee-earth-home .definition-list dt:first-of-type {
  margin-top: 0;
}

body.ee-earth-home .definition-list dd {
  margin-left: 0;
  font-size: 0.875rem;
  line-height: 1.72;
  color: var(--text);
}

body.ee-earth-home .definition-list.fourps dt {
  font-weight: 600;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1.25rem;
}

body.ee-earth-home .definition-list.fourps dd {
  font-size: 0.86rem;
  color: var(--muted);
}

body.ee-earth-home .definition-list.pillars dt {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent);
  margin-top: 2rem;
}

body.ee-earth-home .section[aria-labelledby="build-title"] .prose + .prose {
  margin-top: 2rem;
}

body.ee-earth-home .functions-list {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 0 1.5rem;
  margin: 1.5rem 0;
}

body.ee-earth-home .functions-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.35em;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.875rem;
  line-height: 1.5;
  align-items: baseline;
}

body.ee-earth-home .functions-list li:last-child {
  border-bottom: none;
}

body.ee-earth-home .functions-list strong {
  font-weight: 700;
  color: var(--heading);
  grid-row: 1;
  grid-column: 1;
  white-space: nowrap;
}

body.ee-earth-home .fn-role {
  font-style: italic;
  color: var(--text);
  grid-row: 1;
  grid-column: 2;
  padding-left: 0.1em;
}

body.ee-earth-home .fn-detail {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  grid-row: 2;
  grid-column: 1 / -1;
  padding-top: 0.2rem;
}

body.ee-earth-home .cta-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: calc(var(--radius-card) * 1.5);
  padding: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

body.ee-earth-home .cta-headline {
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.22;
  color: var(--heading);
  margin-bottom: 1.6rem;
  max-width: 22ch;
}

body.ee-earth-home .cta-headline em {
  font-style: italic;
  color: var(--accent);
}

body.ee-earth-home .cta-sign {
  margin-top: 1.75rem;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--heading);
  opacity: 0.6;
}

body.ee-earth-home .cta-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

body.ee-earth-home .cta-sep {
  color: var(--muted);
  font-size: 0.65rem;
  opacity: 0.5;
}

@media (max-width: 640px) {
  :root {
    --gutter: 1.25rem;
    --section-gap: clamp(3.5rem, 8vw, 5rem);
  }

  body.ee-earth-home::before {
    background-position: center top;
    background-size: cover;
  }

  body.ee-earth-home .site-header {
    display: none;
  }

  body.ee-earth-home .site-logo img {
    height: 74px;
  }

  body.ee-earth-home .hero-brand-lockup {
    margin-bottom: 2.1rem;
  }

  body.ee-earth-home .hero-focus {
    min-height: 100svh;
  }

  body.ee-earth-home .hero-figure {
    margin-top: 2.75rem;
    margin-bottom: 2.25rem;
  }

  body.ee-earth-home .functions-list li {
    display: block;
  }

  body.ee-earth-home .fn-role {
    padding-left: 0;
  }

  body.ee-earth-home .cta-card {
    padding: 2rem var(--gutter);
  }
}

@media (max-width: 400px) {
  body.ee-earth-home .site-logo img {
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ee-earth-home * {
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

@media print {
  body.ee-earth-site {
    background: #fff;
    color: #000;
  }

  body.ee-earth-home .site-header,
  body.ee-earth-home .cta-card {
    background: transparent;
  }
}

body.ee-earth-content {
  line-height: 1.7;
}

body.ee-earth-content .ee-site-shell {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

body.ee-earth-content .ee-site-header {
  padding-top: 1.4rem;
}

body.ee-earth-content .ee-site-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

body.ee-earth-content .site-logo--content img {
  height: 42px;
  width: auto;
  opacity: 0.94;
}

body.ee-earth-content .ee-site-home-link,
body.ee-earth-content .ee-site-footer-copy,
body.ee-earth-content .ee-loop-meta,
body.ee-earth-content .ee-entry-meta {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

body.ee-earth-content .ee-site-home-link {
  transition: color 0.2s ease;
}

body.ee-earth-content .ee-site-home-link:hover {
  color: var(--accent);
}

body.ee-earth-content .ee-content-main {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
  z-index: 1;
}

body.ee-earth-content .ee-entry,
body.ee-earth-content .ee-state-card,
body.ee-earth-content .ee-loop-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 26px;
}

body.ee-earth-content .ee-entry,
body.ee-earth-content .ee-state-card {
  padding: clamp(2rem, 5vw, 3.25rem);
}

body.ee-earth-content .ee-entry-header,
body.ee-earth-content .ee-search-form-wrap {
  max-width: 64ch;
}

body.ee-earth-content .ee-kicker {
  display: inline-block;
  margin: 0 0 1.1rem;
  padding: 0.32em 0.9em;
  border-radius: var(--radius-pill);
  border: 1px solid var(--label-border);
  color: var(--label-color);
  font-size: 0.61rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.ee-earth-content .ee-entry-title {
  margin: 0;
  color: var(--heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

body.ee-earth-content .ee-entry-summary {
  max-width: 64ch;
  margin: 1rem 0 0;
  color: var(--text);
}

body.ee-earth-content .ee-entry-meta {
  margin: 1rem 0 0;
}

body.ee-earth-content .ee-entry-content {
  max-width: 64ch;
  margin-top: 2rem;
  color: var(--text);
}

body.ee-earth-embed-page .ee-site-shell {
  max-width: min(96rem, 100vw);
}

body.ee-earth-embed-page .ee-entry--embed {
  --ee-embed-height: 5600px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

body.ee-earth-embed-page.page-id-1085 .ee-entry--embed {
  --ee-embed-height: 7600px;
}

body.ee-earth-embed-page .ee-entry--embed .ee-entry-header,
body.ee-earth-embed-page .ee-entry--embed .ee-entry-content {
  max-width: none;
}

body.ee-earth-embed-page .ee-entry--embed .ee-entry-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

body.ee-earth-embed-page .ee-entry--embed .ee-entry-content {
  margin-top: 1.5rem;
}

body.ee-earth-embed-page .ee-entry--embed iframe {
  display: block;
  width: 100%;
  height: var(--ee-embed-height);
  min-height: 38rem;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: rgba(9, 8, 13, 0.62);
}

body.ee-earth-content .ee-entry-content > * {
  margin: 0;
}

body.ee-earth-content .ee-entry-content > * + * {
  margin-top: 1.1em;
}

body.ee-earth-content .ee-entry-content h2,
body.ee-earth-content .ee-entry-content h3,
body.ee-earth-content .ee-entry-content h4 {
  color: var(--heading);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

body.ee-earth-content .ee-entry-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 300;
}

body.ee-earth-content .ee-entry-content h3,
body.ee-earth-content .ee-entry-content h4 {
  font-size: 1.08rem;
  font-weight: 600;
}

body.ee-earth-content .ee-entry-content ul,
body.ee-earth-content .ee-entry-content ol {
  margin: 1.1rem 0;
  padding-left: 1.2rem;
}

body.ee-earth-content .ee-entry-content ul {
  list-style: disc;
}

body.ee-earth-content .ee-entry-content ol {
  list-style: decimal;
}

body.ee-earth-content .ee-entry-content li + li {
  margin-top: 0.45rem;
}

body.ee-earth-content .ee-entry-content blockquote,
body.ee-earth-content .ee-entry-content pre {
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: rgba(9, 8, 13, 0.4);
}

body.ee-earth-content .ee-entry-content code {
  font-size: 0.92em;
}

body.ee-earth-content .ee-entry-content .wp-block-image img,
body.ee-earth-content .ee-entry-content figure img {
  border-radius: var(--radius-img);
}

body.ee-earth-content .ee-entry-pages {
  margin-top: 2rem;
}

body.ee-earth-content .ee-loop-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

body.ee-earth-content .ee-loop-card {
  padding: 1.35rem 1.4rem;
}

body.ee-earth-content .ee-loop-card-title {
  margin: 0.35rem 0 0;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--heading);
}

body.ee-earth-content .ee-loop-card-title a {
  color: inherit;
}

body.ee-earth-content .ee-loop-card-title a:hover {
  color: var(--accent);
}

body.ee-earth-content .ee-loop-card-summary {
  margin: 0.7rem 0 0;
  color: var(--text);
}

body.ee-earth-content .ee-search-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

body.ee-earth-content .ee-search-field {
  flex: 1 1 16rem;
  min-height: 2.9rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(9, 8, 13, 0.42);
  color: var(--heading);
  font: inherit;
}

body.ee-earth-content .ee-search-field::placeholder {
  color: var(--muted);
}

body.ee-earth-content .ee-search-submit {
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--label-border);
  background: transparent;
  color: var(--heading);
  font: inherit;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

body.ee-earth-content .ee-search-submit:hover {
  color: var(--accent);
  border-color: rgba(119, 165, 213, 0.4);
  background: rgba(119, 165, 213, 0.08);
}

body.ee-earth-content .navigation.pagination {
  margin-top: 2rem;
}

body.ee-earth-content .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

body.ee-earth-content .nav-links > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  min-height: 2.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--text);
}

body.ee-earth-content .nav-links .current,
body.ee-earth-content .nav-links a:hover {
  color: var(--heading);
  border-color: rgba(119, 165, 213, 0.4);
}

body.ee-earth-content .ee-site-footer {
  padding-bottom: 2rem;
}

body.ee-earth-content .ee-site-footer-copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

@media (max-width: 640px) {
  body.ee-earth-content .ee-site-header-bar,
  body.ee-earth-content .ee-search-form {
    align-items: flex-start;
  }

  body.ee-earth-content .ee-site-header-bar {
    flex-direction: column;
  }

  body.ee-earth-content .ee-entry,
  body.ee-earth-content .ee-state-card {
    padding: 1.45rem;
    border-radius: 20px;
  }

  body.ee-earth-content .ee-loop-card {
    padding: 1.1rem;
  }

  body.ee-earth-embed-page .ee-entry--embed {
    --ee-embed-height: 7000px;
  }

  body.ee-earth-embed-page.page-id-1085 .ee-entry--embed {
    --ee-embed-height: 9600px;
  }

  body.ee-earth-embed-page .ee-entry--embed iframe {
    border-radius: 14px;
  }
}
