:root {
  color-scheme: dark;
  --ink: #f6f1e7;
  --deep-green: #153633;
  --soft-green: #87a69a;
  --yellow: #e9c64b;
  --coral: #d86c50;
  --line: rgba(246, 241, 231, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--deep-green);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

.backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 35%, rgba(135, 166, 154, 0.16), transparent 25%),
    linear-gradient(135deg, #173b38 0%, #112b2a 60%, #0d2625 100%);
}

.backdrop::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.backdrop svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.44;
}

.backdrop path {
  fill: none;
  stroke: rgba(246, 241, 231, 0.25);
  stroke-width: 1.2;
}

.backdrop circle {
  fill: var(--coral);
  stroke: var(--ink);
  stroke-width: 3;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: saturate(0.95);
}

.orb-coral {
  top: -11rem;
  right: -7rem;
  width: min(33vw, 31rem);
  aspect-ratio: 1;
  background: var(--coral);
  opacity: 0.9;
}

.orb-yellow {
  right: 17%;
  bottom: -14rem;
  width: min(29vw, 26rem);
  aspect-ratio: 1;
  background: var(--yellow);
  opacity: 0.94;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 1440px);
  min-height: 100svh;
  margin: auto;
  padding: 0 clamp(1.5rem, 5vw, 4.5rem);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--deep-green);
  font: 500 0.66rem "DM Mono", monospace;
  letter-spacing: -0.08em;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: rgba(246, 241, 231, 0.72);
  font: 500 0.68rem "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status span {
  width: 0.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0.3rem rgba(233, 198, 75, 0.14);
}

.message {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 9vh, 7rem) 0;
}

.eyebrow,
.contact-label {
  margin: 0 0 1.4rem;
  color: var(--soft-green);
  font: 500 0.7rem "DM Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  max-width: 950px;
  margin: 0 0 clamp(2rem, 4vh, 3.5rem);
  font-size: clamp(3.8rem, 8vw, 7.8rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

h1 em {
  color: var(--yellow);
  font-family: "Newsreader", serif;
  font-weight: 400;
}

.summary {
  max-width: 41rem;
  margin: 0;
  color: rgba(246, 241, 231, 0.78);
  font-size: clamp(1.05rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.contact p {
  max-width: 29rem;
  margin: 0;
  color: rgba(246, 241, 231, 0.72);
  line-height: 1.5;
}

.contact .contact-label {
  margin-bottom: 0.6rem;
  color: var(--ink);
}

.contact a {
  position: relative;
  min-width: min(100%, 26rem);
  padding: 1.2rem 3.8rem 1.2rem 1.4rem;
  border: 1px solid rgba(246, 241, 231, 0.55);
  border-radius: 0.45rem;
  background: rgba(246, 241, 231, 0.07);
  color: var(--ink);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.contact a > span:first-child {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--soft-green);
  font: 500 0.64rem "DM Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact .arrow {
  position: absolute;
  top: 50%;
  right: 1.4rem;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.contact a:hover,
.contact a:focus-visible {
  background: var(--ink);
  color: var(--deep-green);
  outline: none;
  transform: translateY(-2px);
}

.contact a:hover > span:first-child,
.contact a:focus-visible > span:first-child {
  color: #58726b;
}

@media (max-width: 700px) {
  header {
    min-height: 5.2rem;
  }

  .status {
    font-size: 0;
  }

  .status::after {
    font-size: 0.62rem;
    content: "Offline";
  }

  .message {
    padding: 4rem 0;
  }

  h1 {
    font-size: clamp(3.4rem, 17vw, 5.6rem);
    line-height: 0.9;
  }

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

  .contact a {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .orb-coral {
    width: 18rem;
  }

  .orb-yellow {
    right: -6rem;
    bottom: 11rem;
    width: 16rem;
    opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact a {
    transition: none;
  }
}
