/* ANTO — temporary home page
   Fonts: Hedvig Letters Serif (Google Fonts), serif fallback stack. */

:root {
  --font-serif: 'Hedvig Letters Serif', Georgia, 'Times New Roman', Times, serif;
  --color-bg: #ffffff;
  --color-fg: #000000;
  --header-bg: #000000;
  --header-fg: #ffffff;
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font-serif);
  color: var(--color-fg);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------------------------------------------------------------
   Intro video overlay
   Black full-screen cover until the video can play; video plays
   once, centered, letterboxed (contain), no controls, no
   interaction; overlay is removed from the DOM on 'ended'.
--------------------------------------------------------------- */
#intro-overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease;
}

#intro-overlay.is-fading {
  opacity: 0;
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  outline: none;
}

#intro-video.is-visible {
  opacity: 1;
}

#skip-intro {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-family: inherit;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
  letter-spacing: 0.02em;
  padding: 4px 2px;
  cursor: pointer;
}

#skip-intro:hover,
#skip-intro:focus-visible {
  opacity: 0.75;
}

/* ---------------------------------------------------------------
   Header
--------------------------------------------------------------- */
.site-header {
  background: var(--header-bg);
  color: var(--header-fg);
  height: clamp(64px, 6.25vw, 80px);
  /* height: 80px; */
  display: flex;
  align-items: center;
  width: 100%;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.header-mark {
  height: clamp(30px, 5.5vw, 58px);
  width: auto;
}

.header-icon {
  display: none;
  height: clamp(26px, 2.4vw, 40px);
  width: auto;
  fill: #ffffff;
}

/* full-bleed black bar behind the centered header content */
body {
  background-image: linear-gradient(
    to bottom,
    var(--header-bg) 0,
    var(--header-bg) clamp(64px, 6.25vw, 80px),
    var(--color-bg) clamp(64px, 6.25vw, 80px)
  );
  background-repeat: no-repeat;
}

/* ---------------------------------------------------------------
   Hero
--------------------------------------------------------------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 80px) 0;
}

.hero__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(12px, 2.6vw, 16px);
  padding: 0 30px;
}

.logo {
  width: clamp(200px, 24vw, 460px);
  height: auto;
}

.tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.7rem);
  line-height: 1.4;
  /* max-width: 40ch; */
  margin: 0;
}

.email {
  font-size: clamp(0.95rem, 1.05vw, 1.15rem);
  color: var(--color-fg);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.email:hover,
.email:focus-visible {
  opacity: 0.7;
}

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
.site-footer {
  height: clamp(40px, 4.6vw, 56px);
  display: flex;
  align-items: center;
  border-top: 1px solid #eeeeee;
}

.site-footer__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.site-footer p {
  margin: 0;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
}

/* ---------------------------------------------------------------
   Mobile — 768px breakpoint
--------------------------------------------------------------- */
@media (max-width: 768px) {
  .site-header__inner,
  .hero__inner,
  .site-footer__inner {
    max-width: 100%;
    padding: 0 18px;
  }

  .header-mark {
    height: 34px;
  }

  .header-icon {
    height: 24px;
  }

  .hero {
    padding: 28px 0;
  }

  .hero__inner {
    gap: 16px;
  }

  .logo {
    width: clamp(160px, 55vw, 260px);
  }

  .tagline {
    font-size: 1.05rem;
    max-width: 30ch;
  }

  .email {
    font-size: 0.95rem;
  }

  .site-footer p {
    font-size: 0.8rem;
  }
}
