:root {
  --background: #fff;
  --foreground: #5c0f08;
  --primary: #b30e1e;
  --primary-foreground: #fff;
  --secondary: #c41e3a;
  --muted: #f5f5f5;
  --muted-foreground: #7a3f36;
  --border: #e5e5e5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--background);
  color: var(--foreground);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 3rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 5rem;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1800ms cubic-bezier(0.22, 1, 0.36, 1), transform 1800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 1800ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .header {
    padding: 1.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .header {
    padding: 1.5rem 5rem;
  }
}

.header-brand {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(92, 15, 8, 0.6);
}

.header-contact {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(92, 15, 8, 0.6);
  transition: color 500ms ease;
}

.header-contact:hover {
  color: var(--primary);
}

.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 2rem;
  position: relative;
}

.hero-logo-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 400ms ease-out, transform 400ms ease-out;
  will-change: transform, opacity;
}

.hero-logo {
  width: 180px;
  height: 180px;
  display: block;
}

@media (min-width: 640px) {
  .hero-logo {
    width: 240px;
    height: 240px;
  }
}

@media (min-width: 1024px) {
  .hero-logo {
    width: 300px;
    height: 300px;
  }
}

.hero-wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-wordmark {
    margin-top: 2.5rem;
  }
}

.hero-wordmark berry {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .hero-wordmark berry {
    font-size: 2.125rem;
  }
}

.hero-wordmark graphics {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  line-height: 1;
}

@media (min-width: 640px) {
  .hero-wordmark graphics {
    font-size: 0.6875rem;
  }
}

.hero-headline {
  margin-top: 4rem;
  max-width: 40rem;
  text-align: center;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-size: 1.125rem;
}

@media (min-width: 640px) {
  .hero-headline {
    margin-top: 5rem;
    font-size: 1.5rem;
  }
}

.hero-headline .highlight {
  color: var(--primary);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-scroll span {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(122, 63, 54, 0.6);
}

.hero-scroll-line {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--primary);
  animation: scrollLine 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(150%); }
  100% { transform: translateY(150%); }
}

.contact {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem;
}

.contact-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-headline {
  margin-top: 3rem;
  max-width: 47.5rem;
  text-align: center;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-size: 1.75rem;
}

@media (min-width: 640px) {
  .contact-headline {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .contact-headline {
    font-size: 3.25rem;
  }
}

.contact-headline .highlight {
  color: var(--primary);
}

.contact-email {
  margin-top: 4rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  font-size: 1.125rem;
  transition: color 500ms ease, border-color 500ms ease;
}

@media (min-width: 640px) {
  .contact-email {
    font-size: 1.5rem;
  }
}

.contact-email:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.contact-instagram {
  margin-top: 2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 500ms ease;
}

.contact-instagram:hover {
  color: var(--primary);
}

.countdown {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.countdown-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--primary);
}

.countdown-timer {
  display: flex;
  gap: 0.75rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  min-width: 4.5rem;
}

.countdown-number {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--foreground);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 640px) {
  .countdown-item {
    padding: 1.25rem 1.5rem;
    min-width: 5.5rem;
  }

  .countdown-number {
    font-size: 2.25rem;
  }
}

.countdown-unit {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.border-t       { border-top: 1px solid var(--border); }

#footer { 
  padding: 2rem 0; 
  min-height: 80px;
}
.footer-inner{ display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.footer-copy { font-size: 10px; font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: rgba(87,87,84,.7); }
.footer-tagline { font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: rgba(87,87,84,.5); }
.footer-credit { display: flex; align-items: center; gap: .5rem; font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(87,87,84,.7); transition: color .4s; }
.footer-credit:hover { color: var(--primary); }
.footer-ico  { width: 16px; height: 16px; object-fit: contain; }

@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-credit { justify-content: flex-end; }
}