@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

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

:root {
  --color-bg: #FAF8F6;
  --color-text: #2E2E30;
  --color-on-image: #FAF8F6;
  --color-accent: #E1A25F;
  --color-smoke: #6E6E72;

  /* Canela/Recoleta are commercial — Fraunces is an open, freely
     redistributable stand-in with a similar warm, high-contrast serif feel. */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-eyebrow: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --text-headline: clamp(2.25rem, 1.6rem + 3.2vw, 4.5rem);
  --text-body: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);

  --space-section: clamp(1.5rem, 1rem + 2vw, 3rem);

  --duration-normal: 600ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--space-section) 0 0;
  opacity: 0;
  animation: fade-in var(--duration-normal) var(--ease-out-expo) 100ms forwards;
}

.site-header__icon {
  width: clamp(34px, 3vw + 20px, 48px);
  height: auto;
  filter: drop-shadow(0 1px 6px rgb(0 0 0 / 0.25));
}

.site-header__wordmark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem);
  letter-spacing: 0.02em;
  color: var(--color-on-image);
  text-shadow: 0 1px 8px rgb(0 0 0 / 0.35);
}

.hero {
  position: relative;
  flex: 1;
  min-height: 100vh;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgb(16 12 8 / 0.75) 0%,
    rgb(16 12 8 / 0.4) 42%,
    rgb(16 12 8 / 0.08) 68%
  );
}

.hero__content {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--space-section) clamp(3rem, 5vw + 1rem, 6rem);
  color: var(--color-on-image);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
  animation: rise-in var(--duration-normal) var(--ease-out-expo) 150ms forwards;
}

.headline {
  margin: 0 auto 1rem;
  max-width: 18ch;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-headline);
  line-height: 1.1;
  letter-spacing: -0.01em;
  opacity: 0;
  animation: rise-in var(--duration-normal) var(--ease-out-expo) 260ms forwards;
}

.subtext {
  margin: 0 auto;
  max-width: 42ch;
  font-size: var(--text-body);
  line-height: 1.6;
  color: rgb(250 248 246 / 0.88);
  opacity: 0;
  animation: rise-in var(--duration-normal) var(--ease-out-expo) 380ms forwards;
}

.site-footer {
  padding: 1.25rem var(--space-section);
  text-align: center;
  font-size: 0.8rem;
  color: rgb(46 46 48 / 0.55);
  background: var(--color-bg);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .eyebrow,
  .headline,
  .subtext {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: var(--color-text);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner__text {
  margin: 0;
  max-width: 60ch;
  flex: 1 1 280px;
}

.consent-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.consent-banner__btn {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgb(250 248 246 / 0.6);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: inherit;
  transition: opacity 150ms ease;
}

.consent-banner__btn--accept {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
}

.consent-banner__btn:hover,
.consent-banner__btn:focus-visible {
  opacity: 0.8;
}
