/* ── Fonts ──────────────────────────────── */
@font-face {
  font-family: 'Doppio One';
  src: url('fonts/doppio-one-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-var.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html {
  color-scheme: light;
}

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: #FFFFFF;
}

a {
  color: inherit;
}

/* ── Tokens ─────────────────────────────── */
:root {
  --maroon: #3B0D0A;
  --red: #B62D24;
  --ink: #1A1919;
  --rule: #B2B2B2;
  --pad-x: clamp(20px, 5.5vw, 84px);
  --pad-y: clamp(16px, 4vh, 56px);
}

/* ── Page shell ─────────────────────────── */
.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page__header {
  padding: var(--pad-y) var(--pad-x) 0;
}

.logo {
  display: inline-block;
  width: clamp(100px, 8vw, 140px);
  height: auto;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Shared type + button ───────────────── */
.title {
  font-family: 'Doppio One', ui-sans-serif, system-ui, sans-serif;
  color: var(--maroon);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.rule {
  display: block;
  /* width: 58px;
  height: 3px;
  background: var(--red); */
  margin: 0.5rem 0;
  border: none;
  /* margin: clamp(14px, 2vh, 24px) 0 clamp(12px, 1.8vh, 20px); */
}

.body-copy {
  font-size: clamp(1rem, 0.75vw + 0.7rem, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.btn-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 52px;
  padding: 0 2em;
  margin-top: clamp(1rem, 1.2vh, 1.4rem);
  border-radius: 999px;
  border: 1px solid #FFFFFF;
  background: var(--red);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 0.5vw + 0.75rem, 1.3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-apply:hover {
  opacity: 0.85;
}

/* ── Footer nav ─────────────────────────── */
.page__footer {
  padding: 0 var(--pad-x) var(--pad-y);
  margin-top: clamp(16px, 3vh, 40px);
}

.footer__rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin-bottom: clamp(14px, 2vh, 24px);
}

.footer__nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--ink);
  font-weight: 300;
  font-size: clamp(0.85rem, 0.4vw + 0.7rem, 1.05rem);
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__link:hover {
  opacity: 0.65;
}

.footer__link::before {
  content: '';
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
}

/* ── Splash hero ────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding: clamp(12px, 2.5vh, 32px) var(--pad-x);
  min-height: 0;
}

.hero__art {
  flex: 1 1 50%;
  max-width: 800px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__art img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(60vh, 700px);
  display: block;
}

.hero__content {
  flex: 1 1 40%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
}

.hero__title {
  font-size: clamp(2rem, 3vw + 0.9rem, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__body {
  color: #000000;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

/* ── About page ─────────────────────────── */
.about {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(12px, 2.5vh, 32px) var(--pad-x);
}

.about__content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

.about__title {
  font-size: clamp(1.7rem, 1.6vw + 1.05rem, 2.5rem);
  line-height: 1.15;
}

.about__body {
  color: var(--maroon);
  font-size: clamp(0.9rem, 0.6vw + 0.65rem, 1.1rem);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.about__body p {
  margin-bottom: 0.7em;
}

.about__body p:last-child {
  margin-bottom: 0;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .page {
    min-height: auto;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding-top: clamp(24px, 4vh, 40px);
  }

  .hero__art,
  .hero__content {
    max-width: 100%;
  }

  .hero__art {
    order: 1;
    align-self: center;
    max-width: 420px;
  }

  .hero__content {
    order: 2;
  }

  .footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero__art {
    max-width: 320px;
  }
}

/* ── Page loader ────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  width: clamp(140px, 30vw, 220px);
  height: auto;
  animation: loader-pulse 1.6s ease-in-out infinite;
}

@keyframes loader-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}