/* =========================
   Font: Inter (self-hosted)
   ========================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Inter-roman.var.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Inter-italic.var.woff2") format("woff2");
}

/* =========================
   Reset / base
   ========================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-style: normal;
  font-synthesis: none;
}

/* =========================
   Theme variables
   ========================= */

:root {
  /* Light mode */
  --bg-top: #ffffff;
  --bg-bottom: #eef0f3;
  --text: #0b0f14;
  --underline: rgba(0, 0, 0, 0.22);
  --underline-hover: #0b0f14;

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light dark;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
	  --bg-top: #0b0f14;
	  --bg-bottom: #1a1b1d;
	  --text: #ffffff;
	  --underline: rgba(255, 255, 255, 0.28);
	  --underline-hover: #ffffff;
  }
    .logo-dark {
    opacity: 0.95;
  }
}

/* =========================
   Subtle entrance (respect reduced motion)
   ========================= */

@media (prefers-reduced-motion: no-preference) {
  .content {
	  opacity: 0;
	  transform: translateY(6px);
	  animation: fadeInUp 600ms ease-out forwards;
  }

  @keyframes fadeInUp {
	  to {
	    opacity: 1;
	    transform: translateY(0);
	  }
  }
}

/* =========================
   Layout
   ========================= */

body {
  min-height: 100vh;
  background: 
    radial-gradient(
	  1200px 600px at 50% -200px,
    rgba(0, 0, 0, 0.035),
	  transparent 60%
    ),
    linear-gradient(
      to bottom,
      var(--bg-top) 0%,
      var(--bg-bottom) 100%
    );
  color: var(--text);
  display: flex;
  flex-direction: column;

  /* Apple-esque rendering */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.content {
  max-width: 680px;
  width: 100%;
}

.spacer {
  height: 1.5rem;
}

@media (min-width: 768px) {
  .spacer {
	  height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .tagline { font-size: 1.3rem; }
  .note { font-size: 1.1rem; }
}

/* =========================
   Logo (two SVGs + fallback)
   ========================= */

.logo-wrapper {
  text-align: center;
  margin: 0 0 2.25rem 0;
}

.logo-image {
  width: 240px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .logo-image {
	  width: 200px;
  }
}

/* Theme switching */
.logo-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  .logo-light {
	  display: none;
  }
  .logo-dark {
	  display: block;
  }
}

/* Fallback text (kept for robustness; hidden by default) */
.logo-fallback {
  display: none;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
}

/* =========================
   Typography
   ========================= */

.tagline {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75;
  margin: 0 0 2rem 0;
}

.note {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.35rem 0;
}

.emphasis {
  font-weight: 600;
}

.contact a {
  margin-left: 0.25rem;
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-color: var(--underline);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact a:hover {
  text-decoration-color: var(--underline-hover);
}

/* =========================
   Footer
   ========================= */

footer {
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem 2rem;
  opacity: 0.7;
}
