@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  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: #F9F6F2;
  --color-text: #2A2A2A;
  --color-on-image: #F9F6F2;
  --color-accent: #F4C6A2;
  --color-accent-2: #C9A6D9;

  --font-heading: 'Playfair Display', 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;
  justify-content: center;
  padding: var(--space-section) 0 0;
}

.site-header__logo {
  width: clamp(96px, 8vw + 60px, 150px);
  height: auto;
  filter: drop-shadow(0 1px 6px rgb(0 0 0 / 0.25));
  opacity: 0;
  animation: fade-in var(--duration-normal) var(--ease-out-expo) 100ms forwards;
}

.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(20 16 12 / 0.72) 0%,
    rgb(20 16 12 / 0.35) 42%,
    rgb(20 16 12 / 0.05) 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: 20ch;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-headline);
  line-height: 1.08;
  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(249 246 242 / 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(42 42 42 / 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__logo,
  .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(249 246 242 / 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;
}
