@font-face { font-family: "Big Shoulders Display"; src: url("/fonts/bigshoulders-display.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Big Shoulders Text"; src: url("/fonts/bigshoulders-text.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --black: #000000;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.62);
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Big Shoulders Text", "Arial Narrow", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

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

html { background: var(--black); }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  font-family: var(--body);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* Header: contact link only, upper right */
.topbar {
  display: flex;
  justify-content: flex-end;
  padding: 28px var(--gutter);
}
.contact {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.contact:hover, .contact:focus-visible { border-bottom-color: var(--white); outline: none; }

/* Hero */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px var(--gutter) 96px;
}
h1 {
  font-family: var(--display);
  font-weight: 100;
  text-transform: uppercase;
  font-size: clamp(72px, 17vw, 280px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-right: -0.04em;
}
.sub {
  margin-top: clamp(20px, 3vw, 36px);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 2;
  color: var(--white);
  max-width: 60ch;
}

/* Footer: standard black */
.footer {
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 36px var(--gutter);
}
.footer-name {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 0.12em;
}
.footer-credit {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-credit a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.footer-credit a:hover { color: var(--white); }

/* Vanishing letters */
.ch {
  display: inline-block;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}
.ch.gone {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(-0.15em) scale(0.85);
}
.ch.back { transition-duration: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  .ch, .ch.back { transition: opacity 0.2s linear; }
  .ch.gone { filter: none; transform: none; }
}
