@font-face {
  font-family: "Aeonik";
  src: url("./fonts/AeonikTRIAL-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #141A1A;
  --fg: #FEFBF6;
  --fg-90: rgba(254, 251, 246, 0.9);
  --fg-60: rgba(254, 251, 246, 0.6);
  --fg-27: rgba(254, 251, 246, 0.27);
  --white: #FFFFFF;

  --font-display: "Aeonik", system-ui, -apple-system, sans-serif;

  --pad-x: 32px;
  --pad-y: 32px;
  --gap: 56px;
}

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

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.frame {
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(var(--pad-y), env(safe-area-inset-top))
    max(var(--pad-x), env(safe-area-inset-right))
    max(var(--pad-y), env(safe-area-inset-bottom))
    max(var(--pad-x), env(safe-area-inset-left));

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--gap);
}

.tagline {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.14px;
  color: var(--fg-60);
  max-width: 60ch;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.hero__re,
.hero__word {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.14px;
  color: var(--white);
  white-space: nowrap;
  display: inline-block;
}

.hero__re {
  width: auto;
  text-align: left;
}

.hero__word {
  width: 60px;
  text-align: left;
  transition: none;
}

.hero__rule {
  flex: 1 1 0;
  min-width: 0;
  height: 28px;
  margin: 0 6px;
  display: block;
  align-self: center;
  overflow: visible;
}

.hero__rule path {
  stroke: var(--white);
  stroke-width: 1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 500ms ease-out;
}

.reveal-fade.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero__word { opacity: 1 !important; }
  .reveal-fade { opacity: 1 !important; transition: none !important; }
}

.services {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.14px;
  color: var(--fg-60);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer__email,
.footer__copy {
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
  letter-spacing: 0.14px;
  color: var(--fg-60);
  text-decoration: none;
  white-space: nowrap;
}

.footer__email:hover {
  color: var(--fg);
}

