*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --background: #07110e;
  --surface: rgba(13, 29, 24, 0.72);
  --surface-edge: rgba(206, 239, 224, 0.14);
  --text: #f3f6ef;
  --muted: #b7c4bc;
  --accent: #a8f0cb;
  --accent-bright: #d8ffe9;
  --mail-token: 164b161c531140412b;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(48, 118, 86, 0.23), transparent 46%),
    var(--background);
  font-family: Inter, Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.page::before,
.page::after {
  position: fixed;
  z-index: -1;
  width: 11rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(191, 236, 215, 0.3), transparent);
}

.page::before {
  top: 2.5rem;
  left: 2rem;
}

.page::after {
  right: 2rem;
  bottom: 2.5rem;
}

.grid {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 255, 233, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 255, 233, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 48%, black, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 48%, black, transparent 72%);
}

.glow {
  position: fixed;
  z-index: -2;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.55;
  pointer-events: none;
}

.glow-one {
  top: -16rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(65, 155, 113, 0.28), transparent 68%);
}

.glow-two {
  bottom: -18rem;
  left: -12rem;
  background: radial-gradient(circle, rgba(64, 107, 145, 0.2), transparent 68%);
}

.hero {
  display: grid;
  width: min(100%, 78rem);
  min-height: 100%;
  margin: auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  place-items: center;
}

.panel {
  position: relative;
  width: min(100%, 63rem);
  padding: clamp(2.25rem, 6vw, 5.5rem) clamp(1.5rem, 7vw, 6rem);
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--surface);
  border: 1px solid var(--surface-edge);
  border-radius: 1.75rem;
  box-shadow:
    0 2rem 7rem rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  animation: panel-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.panel::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 42%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(216, 255, 233, 0.65), transparent);
  transform: translateX(-50%);
}

.mark {
  position: absolute;
  z-index: 2;
  top: clamp(2.2rem, 8vh, 5.5rem);
  left: 50%;
  width: 3.5rem;
  height: 3.5rem;
  color: var(--accent);
  pointer-events: none;
  transform: translateX(-50%);
  animation: mark-in 800ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mark svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mark-orbit,
.mark-wave {
  fill: none;
  stroke: currentColor;
}

.mark-orbit-outer {
  stroke-width: 0.8;
  stroke-dasharray: 2 5;
  opacity: 0.34;
  transform-origin: center;
  animation: orbit 24s linear infinite;
}

.mark-orbit-inner {
  stroke-width: 0.7;
  opacity: 0.2;
}

.mark-wave {
  stroke-width: 1.1;
  opacity: 0.55;
}

.mark-core {
  fill: var(--accent-bright);
  filter: drop-shadow(0 0 8px rgba(168, 240, 203, 0.65));
}

.mark-dot {
  fill: var(--accent);
  transform-origin: 36px 36px;
  animation: orbit 12s linear infinite reverse;
}

h1 {
  max-width: 14ch;
  margin: 0 auto;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.45rem, 7vw, 5.7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h1 span {
  color: var(--accent-bright);
}

.lead {
  max-width: 42rem;
  margin: clamp(1.5rem, 4vw, 2.25rem) auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.rule {
  display: flex;
  width: min(100%, 34rem);
  margin: clamp(2rem, 5vw, 3rem) auto;
  align-items: center;
  gap: 0.75rem;
}

.rule::before,
.rule::after {
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(185, 217, 201, 0.2));
  flex: 1;
}

.rule::after {
  background: linear-gradient(90deg, rgba(185, 217, 201, 0.2), transparent);
}

.rule span {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(168, 240, 203, 0.8);
}

.contact-copy {
  max-width: 47rem;
  margin: 0 auto;
  color: #dde5df;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.8;
  text-wrap: balance;
}

.email-link {
  position: relative;
  display: inline-flex;
  min-width: 8.3rem;
  min-height: 1.75rem;
  margin: 0 0.12em;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  border-bottom: 1px solid rgba(168, 240, 203, 0.5);
  border-radius: 0.2rem 0.2rem 0 0;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
  user-select: none;
  vertical-align: -0.38em;
}

.email-link:hover,
.email-link:focus-visible {
  color: #ffffff;
  background: rgba(168, 240, 203, 0.08);
  border-color: var(--accent-bright);
  box-shadow: 0 0.55rem 1.4rem rgba(0, 0, 0, 0.18);
  outline: none;
}

.email-canvas {
  display: block;
  width: 8.1rem;
  height: 1.5rem;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: translate(-50%, -8px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}

@media (max-height: 760px) {
  .mark {
    top: 1.4rem;
  }

  .panel {
    padding-top: 4.75rem;
    padding-bottom: 2rem;
  }

  h1 {
    font-size: clamp(2.35rem, 9vh, 4.7rem);
  }

  .rule {
    margin-top: 1.65rem;
    margin-bottom: 1.65rem;
  }
}

@media (max-width: 560px) {
  .page::before,
  .page::after {
    width: 6rem;
  }

  .page::before {
    top: 1.25rem;
    left: 0.75rem;
  }

  .page::after {
    right: 0.75rem;
    bottom: 1.25rem;
  }

  .hero {
    padding: 0.8rem;
  }

  .panel {
    border-radius: 1.2rem;
  }

  .mark {
    top: 1.55rem;
    width: 3rem;
    height: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .panel,
  .mark,
  .mark-orbit-outer,
  .mark-dot {
    animation: none;
  }
}
