:root {
  --bg: #141312;
  --bg-soft: #1b1a18;
  --fg: #f4f1ea;
  --muted: #9a958c;
  --accent: #d9613f;
  --line: rgba(244, 241, 234, 0.14);
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.frame {
  min-height: 100vh;
  min-height: 100svh;
  max-width: 78rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(1.25rem, 3.5vh, 3rem);
}

/* Header ------------------------------------------------------------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mark svg {
  display: block;
  width: 2rem;
  height: 2rem;
  color: var(--fg);
  opacity: 0.9;
}

.status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Wordmark ----------------------------------------------------------- */

main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.5rem, 2vh, 1.5rem) 0;
}

h1 {
  margin: 0 0 clamp(1rem, 2.5vh, 2rem);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, min(12vw, 13vh), 8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h1 .amp {
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 0.72em;
  line-height: 1.05;
  padding-left: 0.06em;
}

.tagline {
  margin: 0 0 clamp(0.7rem, 1.6vh, 1.15rem);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  letter-spacing: -0.01em;
  padding-top: clamp(0.8rem, 2vh, 1.3rem);
  border-top: 1px solid var(--line);
}

.intro {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
}

/* Footer ------------------------------------------------------------- */

.bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.contact {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.9rem;
}

.label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

a:hover,
a:focus-visible {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-bottom-color: transparent;
}

.legal {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Narrow screens ----------------------------------------------------- */

@media (max-width: 30rem) {
  .frame { gap: 1.5rem; }
  h1 { font-size: clamp(2.35rem, 14.5vw, 3.75rem); letter-spacing: -0.035em; }
  .top { align-items: flex-start; }
  .bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  main,
  .bottom {
    animation: rise 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .bottom { animation-delay: 120ms; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
