:root {
  --bg: #41521d;
  --text: #c2ffe1;
  --font-main: 'Poppins', sans-serif;
  --font-sub: 'Courier Prime', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Landing graphic + staged reveal */

.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;
}

#treeSvg {
  width: min(85vw, 760px);
  height: auto;
}

#treeSvg.instant .tr {
  animation: none;
  stroke-dashoffset: 0;
  fill-opacity: 1;
}

#treeSvg.instant .word {
  animation: none;
  opacity: 1;
  transform: none;
}

#siteHeader,
#heroSubtitle,
#siteFooter {
  opacity: 0;
  transition: opacity 0.8s ease;
}

#siteHeader.revealed,
#heroSubtitle.revealed,
#siteFooter.revealed {
  opacity: 1;
}

#siteHeader.no-transition,
#heroSubtitle.no-transition,
#siteFooter.no-transition {
  transition: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.6;
}

a {
  color: var(--text);
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  text-align: center;
  text-transform: lowercase;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid rgba(194, 255, 225, 0.2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.logo-mark {
  display: inline-block;
  width: 220px;
  height: 157px;
  margin-left: -80px;
  flex-shrink: 0;
}

.logo-mark svg,
.logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.logo {
  display: inline-flex;
  align-items: center;
  grid-column: 2;
  justify-self: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  text-align: left;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav-left {
  grid-column: 1;
  justify-self: start;
}

.site-nav-right {
  grid-column: 3;
  justify-self: end;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 0.7;
}

.site-nav a.active {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text);
}

/* Hero */

.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.5rem;
}

.hero-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-family: 'Work Sans', sans-serif;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: left;
}

.subtitle {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  margin-top: -10px;
  opacity: 0.85;
}

/* Sections */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  border-top: 1px solid rgba(194, 255, 225, 0.15);
}

main>.section:first-child {
  border-top: none;
}

.section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.section>p {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  text-align-last: center;
}

.section>p+p {
  margin-top: 1rem;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  background-color: rgba(194, 255, 225, 0.1);
  border: 1px solid rgba(194, 255, 225, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
}

button.gallery-item {
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

button.gallery-item:hover,
button.gallery-item:focus-visible {
  opacity: 0.85;
  border-color: var(--text);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item.coming-soon span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  max-width: min(90vw, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(80vw, 600px);
  aspect-ratio: 1 / 1;
  max-height: 75vh;
  background-color: rgba(194, 255, 225, 0.1);
  border: 1px solid rgba(194, 255, 225, 0.3);
}

.lightbox-media img {
  max-width: 100%;
  max-height: 75vh;
  display: block;
}

.lightbox-caption {
  color: var(--text);
  font-family: var(--font-sub);
  font-size: 1rem;
  text-align: center;
}

.lightbox-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.65;
  margin-bottom: 0.35rem;
}

.lightbox-title {
  display: block;
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.lightbox-details {
  list-style: none;
  font-size: 0.85rem;
  opacity: 0.85;
  line-height: 1.6;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2001;
}

/* About stats */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat {
  border: 1px solid rgba(194, 255, 225, 0.25);
  padding: 1.5rem;
  text-align: center;
}

/* Industry list */

.industry-list {
  list-style: none;
  columns: 3;
  column-gap: 1.25rem;
  max-width: 560px;
  margin: 1.5rem auto 0;
  text-align: left;
  font-size: 0.85rem;
}

.industry-list li {
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
  break-inside: avoid;
}

.industry-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
}

.reach-list {
  columns: 2;
  column-gap: 1.5rem;
  max-width: 400px;
}

.reach-tagline {
  font-family: var(--font-sub);
  opacity: 0.8;
}

.stat-number {
  display: block;
  font-family: var(--font-sub);
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Rates */

.rates-effective {
  opacity: 0.75;
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.subhead {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 3rem 0 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.rate-card {
  border: 1px solid rgba(194, 255, 225, 0.25);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rate-card.featured {
  border-color: var(--text);
}

.badge {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.rate-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.rate-tagline {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 1.25rem;
}

.rate-card .price {
  font-family: var(--font-sub);
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.rate-card .price span {
  font-size: 1rem;
  opacity: 0.75;
}

.price-term {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 1.25rem;
}

.price-term.save {
  opacity: 1;
  font-weight: 600;
}

.price-tiers {
  list-style: none;
  margin-bottom: 0.75rem;
}

.price-tiers li {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(194, 255, 225, 0.15);
}

.price-tiers li:first-child {
  border-top: none;
}

.rate-features {
  list-style: none;
  margin-top: auto;
  padding-top: 1.25rem;
  text-align: left;
  font-size: 0.9rem;
}

.rate-features li {
  padding: 0.35rem 0;
  padding-left: 1.1rem;
  position: relative;
}

.rate-features li::before {
  content: '\2022';
  position: absolute;
  left: 0;
}

.table-wrap {
  overflow-x: auto;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.rates-table th,
.rates-table td {
  text-align: left;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(194, 255, 225, 0.2);
  white-space: nowrap;
}

.rates-table th {
  font-family: var(--font-sub);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  background-color: rgba(194, 255, 225, 0.08);
}

.rates-note {
  margin-top: 2.5rem;
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Contact info */

.contact-info {
  margin-top: 1.5rem;
  text-align: center;
}

.contact-info p {
  margin-bottom: 0.35rem;
  line-height: 1.8;
}

.contact-ceo {
  margin-bottom: 2.5rem;
}

.contact-managers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 520px;
  margin: 0 auto;
}

.contact-info a {
  border-bottom: 1px solid rgba(194, 255, 225, 0.4);
  transition: opacity 0.2s ease;
}

.contact-info a:hover {
  opacity: 0.7;
}

/* Contact form */

.contact-form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.contact-form label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.75rem;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  background-color: rgba(194, 255, 225, 0.08);
  border: 1px solid rgba(194, 255, 225, 0.3);
  color: var(--text);
  padding: 0.75rem;
  font-family: var(--font-main);
  font-size: 1rem;
  border-radius: 2px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--text);
}

.contact-form button {
  margin-top: 1.5rem;
  align-self: flex-start;
  background-color: var(--text);
  color: var(--bg);
  border: none;
  padding: 0.85rem 2rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}

.contact-form button:hover {
  opacity: 0.85;
}

/* Footer */

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
  border-top: 1px solid rgba(194, 255, 225, 0.15);
}

/* Mobile */

@media (max-width: 700px) {
  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .logo-mark {
    width: 84px;
    height: 62px;
    margin-left: -25px;
  }

  .logo {
    order: 1;
    margin: 0 auto;
    font-size: 1.4rem;
    align-items: center;
  }

  .nav-toggle {
    order: 2;
    display: flex;
  }

  .site-nav-left {
    order: 3;
  }

  .site-nav-right {
    order: 4;
    justify-self: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    background-color: var(--bg);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(194, 255, 225, 0.1);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(194, 255, 225, 0.1);
  }

  .site-nav a:first-child {
    border-top: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .industry-list {
    columns: 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rates-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .reach-list {
    columns: 1;
  }

  .contact-managers {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}