@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('./fonts/bodoni-moda-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('./fonts/bodoni-moda-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/inter-400-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

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

:root {
  --bg: #0D0D0D;
  --fg: #F0EDE8;
  --muted: #6B6B6B;
  --muted-hover: #999999;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.1s forwards;
}

header {
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: flex-end;
}

header a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

header a:hover {
  color: var(--muted-hover);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  text-align: center;
}

h1 {
  font-family: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.tagline {
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  color: var(--muted);
  letter-spacing: 0.25em;
  margin-top: 1.5rem;
  font-weight: 400;
}

footer {
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--muted-hover);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem 1.25rem;
  }

  h1 {
    font-size: clamp(2.75rem, 12vw, 4.5rem);
  }

  .tagline {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    margin-top: 1rem;
    max-width: 90vw;
  }

  footer {
    padding: 1.5rem 1.25rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
  }

  footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
