:root {
  --background: #f7f2ea;
  --foreground: #2b1f1c;
  --primary: #2b1f1c;
  --primary-foreground: #f7f2ea;
  --muted-foreground: #6e5850;
  --accent: #bb6a34;
  --accent-deep: #5a3f42;
  --border: #ddccb8;

  --font-sans: 'Jost', system-ui, sans-serif;
  --font-display: 'Caudex', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--accent-deep);
  color: var(--primary-foreground);
}

body.landing-body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body.landing-body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].gsap-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .landing-hero-bg-media {
    animation: none !important;
    transform: scale(1.04) !important;
  }
  .landing-hero-bg-glow {
    animation: none !important;
  }
  .landing-hero-ring {
    animation: none !important;
    opacity: 0.55 !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }
}

.landing-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--foreground);
}

.landing-hero-bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: landing-bg-zoom 30s ease-in-out infinite alternate;
}

@keyframes landing-bg-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.15); }
}

.landing-hero-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(187, 106, 52, 0.4), transparent 55%);
  mix-blend-mode: screen;
  animation: landing-glow-breathe 9s ease-in-out infinite;
}

@keyframes landing-glow-breathe {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.landing-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(43, 31, 28, 0.6), rgba(43, 31, 28, 0.15) 60%);
}

.landing-hero-red-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 5, 5, 0.4);
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
  text-align: center;
  color: var(--primary-foreground);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.landing-hero-content [data-reveal] {
  transition-delay: 0.7s;
}

.landing-hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(158vw, 1170px);
  height: min(158vw, 1170px);
  object-fit: contain;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  z-index: -1;
  animation: landing-ring-appear 1.8s ease-out forwards,
             landing-ring-breathe 32s ease-in-out 1.8s infinite;
}

@keyframes landing-ring-appear {
  from { opacity: 0; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
}

@keyframes landing-ring-breathe {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.95); }
}

.landing-word {
  margin: 40px 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.landing-word-img {
  display: block;
  width: clamp(186px, 42.7vw, 427px);
  height: auto;
  margin: 0 auto;
}

.landing-subtitle {
  margin-bottom: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  line-height: 1.8;
  color: rgba(247, 242, 234, 0.85);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.landing-modalities {
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.85);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.landing-divider {
  display: block;
  width: 56px;
  height: 1px;
  margin: 22px auto 0;
  background: rgba(247, 242, 234, 0.4);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.landing-opening {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.landing-enter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding: 15px 36px;
  background: rgba(43, 31, 28, 0.55);
  border: 2px solid rgb(43, 31, 28);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-foreground);
  transition: opacity 0.9s ease, transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
}

.landing-enter:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  gap: 14px;
}

.landing-hero-content .landing-enter {
  transition-delay: 0.7s, 0s, 0s, 0s, 0s;
}

.landing-enter-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  transition: border-color 0.3s ease;
}

.landing-enter-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.cta-btn-arrow {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.cta-btn-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.landing-brand {
  padding: 100px 0 80px;
  background-color: #ffffff;
  border-top: 6px solid var(--accent-deep);
  text-align: center;
}

.landing-brand-lead {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--foreground);
}

.landing-brand-list {
  margin-top: 28px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.landing-signup {
  padding: 90px 0 110px;
}

.landing-signup-inner {
  text-align: center;
}

.section-label {
  position: relative;
  display: inline-block;
  padding-bottom: 26px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-label::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("../images/circle-small.webp");
}

.landing-signup-text {
  max-width: 480px;
  margin: 18px auto 0;
  color: var(--muted-foreground);
}

.landing-signup-form {
  max-width: 480px;
  margin: 44px auto 0;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.form-group {
  margin-bottom: 22px;
}

.landing-signup-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 2px;
  font-family: inherit;
  font-size: 15px;
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.landing-signup-form input::placeholder {
  color: var(--muted-foreground);
}

.landing-signup-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.landing-signup-form .cta-btn {
  width: 100%;
  justify-content: center;
  margin-top: 36px;
}

.recaptcha-wrap {
  margin: 22px 0 0;
  display: flex;
  justify-content: center;
}

.form-error {
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 14px 20px;
  border: 1px solid #c0392b;
  border-radius: 4px;
  background: rgba(192, 57, 43, 0.1);
  color: #a93226;
  font-size: 14px;
  text-align: center;
}

.landing-fine-print {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted-foreground);
  text-align: center;
}

@media (min-width: 560px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .landing-signup-form .cta-btn {
    width: fit-content;
    display: flex;
    margin: 16px auto 0;
  }
}

.landing-footer {
  padding: 28px 0 40px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-foreground);
}
