:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #111414;
  --surface: #1e2521;
  --sage: #9fb39e;
  --gold: #d6c7a7;
  --paper: #f8f5ef;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgb(214 199 167 / 20%), transparent 30rem),
    radial-gradient(circle at 88% 6%, rgb(159 179 158 / 28%), transparent 28rem),
    linear-gradient(135deg, var(--ink) 0%, var(--surface) 48%, #738170 100%);
  color: var(--paper);
}

a {
  color: inherit;
}

.skip-link {
  left: 1rem;
  position: fixed;
  top: -5rem;
  z-index: 20;
}

.skip-link:focus {
  background: var(--paper);
  border-radius: 0.5rem;
  color: var(--ink);
  padding: 0.75rem 1rem;
  top: 1rem;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgb(17 20 20 / 70%);
  border-bottom: 1px solid rgb(248 245 239 / 10%);
  display: flex;
  justify-content: space-between;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  position: sticky;
  top: 0;
  z-index: 10;
}

.wordmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(0.75rem, 2.5vw, 2rem);
}

nav a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-login {
  border: 1px solid rgb(248 245 239 / 28%);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.hero-shell {
  align-items: start;
  display: grid;
  min-height: calc(100vh - 4rem);
  overflow: hidden;
  padding: clamp(1rem, 3vh, 2rem) clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem);
  position: relative;
}

.hero-content {
  display: grid;
  justify-items: center;
  margin: 0 auto;
  max-width: 1040px;
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 2;
}

.hero-logo {
  display: grid;
  margin: 0 auto 0.5rem;
  max-width: 32rem;
  place-items: center;
  width: 69vw;
}

.hero-logo img {
  display: block;
  filter:
    drop-shadow(0 0 1.25rem rgb(255 255 255 / 86%))
    drop-shadow(0 0 3.5rem rgb(255 255 255 / 48%))
    drop-shadow(0 1.2rem 4rem rgb(0 0 0 / 42%));
  height: auto;
  width: 100%;
}

.hero-copy,
.story-copy {
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.055em;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 6.4vw, 5.8rem);
  line-height: 0.9;
  margin-top: 1rem;
  max-width: 920px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.lead,
.story-copy p:not(.eyebrow),
.portal-card > p:not(.eyebrow),
.microcopy {
  color: rgb(248 245 239 / 78%);
  line-height: 1.75;
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 1.35rem auto 0;
  max-width: 680px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
nav a:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

.button--primary {
  background: var(--gold);
  color: var(--ink);
}

.button--secondary {
  background: rgb(255 255 255 / 6%);
  border-color: rgb(248 245 239 / 28%);
}

.microcopy {
  font-size: 0.92rem;
  margin: 1rem auto 0;
  max-width: 560px;
}

.ambient {
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.65;
  pointer-events: none;
  position: absolute;
}

.ambient--sage {
  background: rgb(159 179 158 / 28%);
  height: 22rem;
  right: 8%;
  top: 10%;
  width: 22rem;
}

.ambient--gold {
  background: rgb(214 199 167 / 18%);
  bottom: 14%;
  height: 15rem;
  left: 8%;
  width: 15rem;
}

.scissors {
  filter: grayscale(1) sepia(0.12) drop-shadow(0 0 1.75rem rgb(255 255 255 / 14%));
  height: auto;
  mix-blend-mode: screen;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  user-select: none;
  width: clamp(11rem, 19vw, 24rem);
  z-index: 1;
}

.scissors--left-top {
  left: clamp(1rem, 4vw, 5rem);
  top: 10%;
  transform: rotate(-22deg);
}

.scissors--left-bottom {
  bottom: 4%;
  left: clamp(2rem, 5vw, 6rem);
  transform: rotate(18deg);
  width: clamp(8rem, 14vw, 18rem);
}

.scissors--right-top {
  right: clamp(1rem, 4vw, 5rem);
  top: 13%;
  transform: rotate(19deg);
  width: clamp(16rem, 27vw, 34rem);
}

.scissors--right-bottom {
  bottom: 9%;
  right: clamp(2rem, 5vw, 6rem);
  transform: rotate(-15deg);
  width: clamp(15rem, 25vw, 32rem);
}

.section {
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
  width: min(1180px, calc(100% - 2rem));
}

.section--stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.portal-card {
  backdrop-filter: blur(14px);
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(248 245 239 / 16%);
  border-radius: 1.25rem;
  box-shadow: 0 1.2rem 4rem rgb(0 0 0 / 20%);
}

.stat-card {
  padding: 1.35rem;
}

.stat-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.4rem;
}

.stat-card span {
  color: rgb(248 245 239 / 72%);
}

.story-section {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.8fr);
}

.service-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.service-cloud span {
  backdrop-filter: blur(12px);
  background: rgb(255 255 255 / 7.5%);
  border: 1px solid rgb(248 245 239 / 16%);
  border-radius: 999px;
  color: rgb(248 245 239 / 86%);
  padding: 0.85rem 1rem;
}

.portal-section {
  text-align: center;
}

.portal-card {
  margin: 0 auto;
  max-width: 900px;
  padding: clamp(1.5rem, 5vw, 4rem);
}

footer {
  border-top: 1px solid rgb(248 245 239 / 12%);
  color: rgb(248 245 239 / 62%);
  display: flex;
  font-size: 0.88rem;
  justify-content: space-between;
  margin: 3rem auto 0;
  padding: 1.5rem clamp(1rem, 4vw, 4rem);
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-ready .reveal--delay {
  transition-delay: 120ms;
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (width <= 860px) {
  .section--stats,
  .story-section {
    grid-template-columns: 1fr;
  }

  .story-section {
    text-align: center;
  }

  .service-cloud {
    justify-content: center;
  }
}

@media (width <= 620px) {
  .site-header nav > a:not(.nav-login) {
    display: none;
  }

  .hero-shell {
    padding-inline: 1rem;
  }

  .scissors {
    opacity: 0.55;
  }

  footer {
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-ready .reveal,
  .button {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

