:root {
  --gl-bg: #f4efe6;
  --gl-bg-2: #efe8dc;
  --gl-ink: #161513;
  --gl-muted: #6f6b64;
  --gl-line: rgba(22, 21, 19, 0.1);
  --gl-gold: #b08d3a;
  --gl-gold-bright: #c9a44a;
  --gl-gold-deep: #8f7030;
  --gl-surface: #fffcf7;
  --gl-nav-h: 76px;
  --gl-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --gl-display: "Playfair Display", Georgia, serif;
  --gl-shadow: 0 18px 50px rgba(22, 21, 19, 0.08);
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--gl-nav-h) + 16px);
}

body.landing-body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--gl-font);
  color: var(--gl-ink);
  background: #f4efe6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body.landing-body > main {
  flex: 1 0 auto;
  width: 100%;
}

.landing-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(201, 164, 74, 0.28), transparent 58%),
    radial-gradient(700px 420px at 12% 8%, rgba(176, 141, 58, 0.14), transparent 55%),
    radial-gradient(800px 500px at 70% 92%, rgba(176, 141, 58, 0.12), transparent 60%);
}

.landing-aurora::before,
.landing-aurora::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.55;
}

.landing-aurora::before {
  width: min(70vw, 760px);
  height: 220px;
  top: 12%;
  right: -8%;
  background: linear-gradient(110deg, transparent, rgba(201, 164, 74, 0.35), transparent);
  transform: rotate(-18deg);
  animation: gl-wave 12s ease-in-out infinite;
}

.landing-aurora::after {
  width: min(55vw, 560px);
  height: 180px;
  bottom: 18%;
  left: -6%;
  background: linear-gradient(110deg, transparent, rgba(176, 141, 58, 0.25), transparent);
  transform: rotate(14deg);
  animation: gl-wave 14s ease-in-out infinite reverse;
}

@keyframes gl-wave {
  0%, 100% { transform: translateY(0) rotate(-18deg); opacity: 0.45; }
  50% { transform: translateY(-18px) rotate(-12deg); opacity: 0.7; }
}

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

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

.landing-wrap {
  width: min(1180px, calc(100% - 2.75rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.landing-nav,
main,
.landing-footer {
  position: relative;
  z-index: 1;
}

/* Nav */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--gl-nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(247, 242, 233, 0.78);
  border-bottom: 1px solid transparent;
}

.landing-nav__inner {
  width: min(1180px, calc(100% - 2.75rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.08rem;
}

.landing-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  background: #111;
}

.landing-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav__links a {
  position: relative;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--gl-muted);
  transition: color 0.2s ease;
}

.landing-nav__links a:hover,
.landing-nav__links a.is-active {
  color: var(--gl-ink);
}

.landing-nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 99px;
  background: var(--gl-gold);
}

.landing-nav__cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.62rem 1.2rem !important;
  border-radius: 999px;
  background: var(--gl-ink);
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  box-shadow: 0 10px 24px rgba(22, 21, 19, 0.16);
}

.landing-nav__cta::after {
  display: none !important;
}

.landing-nav__cta:hover {
  background: #000;
}

.landing-nav__toggle {
  display: none;
  border: 1px solid var(--gl-line);
  background: var(--gl-surface);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.landing-nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--gl-ink);
}

/* Buttons */
.btn-gl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-gl:hover {
  transform: translateY(-2px);
}

.btn-gl--primary {
  background: var(--gl-ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(22, 21, 19, 0.18);
}

.btn-gl--primary svg {
  width: 16px;
  height: 16px;
  color: var(--gl-gold-bright);
}

.btn-gl--ghost {
  background: transparent;
  border-color: rgba(22, 21, 19, 0.16);
  color: var(--gl-ink);
}

.btn-gl--block {
  width: 100%;
}

/* Home hero */
.landing-hero {
  min-height: calc(100vh - var(--gl-nav-h) - 88px);
  display: grid;
  align-items: center;
  padding: 2.5rem 0 1.5rem;
}

.landing-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gl-gold-deep);
  margin-bottom: 1rem;
}

.landing-kicker::after {
  content: "";
  width: 42px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gl-gold), transparent);
}

.landing-hero h1 {
  margin: 0;
  font-family: var(--gl-display);
  font-weight: 600;
  font-size: clamp(3.1rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.landing-hero h1 em {
  font-style: italic;
  color: var(--gl-gold-deep);
  font-weight: 500;
}

.landing-hero__lead {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--gl-muted);
}

.landing-hero__lead strong {
  color: var(--gl-ink);
  font-weight: 700;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.landing-hero__visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.landing-hero__banner {
  width: min(100%, 520px);
  height: auto;
  object-fit: contain;
  animation: gl-float 7s ease-in-out infinite;
  filter: drop-shadow(0 28px 50px rgba(143, 112, 48, 0.22));
}

@keyframes gl-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Feature strip */
.landing-features {
  padding: 0.5rem 0 3.5rem;
}

.landing-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.landing-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1.15rem 1.1rem;
  border-radius: 18px;
  background: #fffcf7;
  border: 1px solid rgba(22, 21, 19, 0.06);
  box-shadow: 0 10px 28px rgba(22, 21, 19, 0.05);
}

.landing-feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(176, 141, 58, 0.12);
  color: var(--gl-gold-deep);
  box-shadow: var(--gl-shadow);
}

.landing-feature__icon svg {
  width: 22px;
  height: 22px;
}

.landing-feature h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.landing-feature p {
  margin: 0;
  color: var(--gl-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Page hero (Contact / Privacy) */
.page-hero {
  padding: 3.25rem 0 1.5rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--gl-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gl-gold-deep);
  font-weight: 500;
}

.page-hero p {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  color: var(--gl-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  align-items: start;
  padding-bottom: 2rem;
}

.contact-card,
.info-card,
.policy-panel {
  background: #fffcf7;
  border: 1px solid rgba(22, 21, 19, 0.06);
  border-radius: 24px;
  box-shadow: var(--gl-shadow);
}

.contact-card {
  padding: 1.5rem;
}

.landing-form {
  display: grid;
  gap: 1rem;
}

.landing-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.landing-form input,
.landing-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 21, 19, 0.12);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--gl-ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-form input:focus,
.landing-form textarea:focus {
  border-color: rgba(176, 141, 58, 0.7);
  box-shadow: 0 0 0 3px rgba(176, 141, 58, 0.16);
}

.landing-form textarea {
  min-height: 160px;
  resize: vertical;
}

.landing-alert {
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.landing-alert--ok {
  background: rgba(34, 120, 70, 0.1);
  color: #1f6b3f;
  border: 1px solid rgba(34, 120, 70, 0.2);
}

.landing-alert--err {
  background: rgba(160, 40, 40, 0.08);
  color: #8a2424;
  border: 1px solid rgba(160, 40, 40, 0.18);
}

.landing-field-error {
  color: #8a2424;
  font-size: 0.8rem;
  font-weight: 600;
}

.contact-aside {
  display: grid;
  gap: 1rem;
}

.info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  align-items: start;
}

.info-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(176, 141, 58, 0.12);
  color: var(--gl-gold-deep);
}

.info-card__icon svg {
  width: 20px;
  height: 20px;
}

.info-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 800;
}

.info-card p {
  margin: 0;
  color: var(--gl-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Privacy */
.policy-shell {
  padding-bottom: 4rem;
}

.policy-panel {
  padding: 1.6rem 1.7rem;
}

.landing-policy {
  display: grid;
  gap: 0;
}

.landing-policy article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(22, 21, 19, 0.08);
}

.landing-policy article:last-of-type {
  border-bottom: 0;
}

.policy-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(176, 141, 58, 0.12);
  color: var(--gl-gold-deep);
  margin-top: 0.15rem;
}

.policy-icon svg {
  width: 20px;
  height: 20px;
}

.landing-policy h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gl-gold-deep);
}

.landing-policy p,
.landing-policy li {
  margin: 0;
  color: var(--gl-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.landing-policy ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.landing-policy a {
  color: var(--gl-gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-policy__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(22, 21, 19, 0.08);
}

.landing-policy__links a {
  text-decoration: none;
  border: 1px solid rgba(176, 141, 58, 0.35);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gl-ink);
  background: rgba(255, 255, 255, 0.55);
}

/* Footer */
.landing-footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
  border-top: 0;
  padding: 1.5rem 0 2rem;
  background: transparent;
}

.landing-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--gl-muted);
  font-size: 0.88rem;
}

.landing-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.landing-footer__brand img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}

.landing-footer__brand > span:first-of-type {
  color: var(--gl-ink);
  font-weight: 800;
}

.landing-footer__sep {
  width: 1px;
  height: 16px;
  background: rgba(22, 21, 19, 0.16);
}

.landing-footer__links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.landing-footer__links a:hover {
  color: var(--gl-ink);
}

@media (max-width: 980px) {
  .landing-hero__grid,
  .contact-layout,
  .landing-features__grid {
    grid-template-columns: 1fr;
  }

  .landing-hero__visual {
    min-height: 340px;
    order: -1;
  }

  .landing-hero h1 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .landing-nav__toggle {
    display: inline-flex;
  }

  .landing-nav__links {
    display: none;
    position: absolute;
    top: var(--gl-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(247, 242, 233, 0.98);
    border-bottom: 1px solid var(--gl-line);
  }

  .landing-nav__links.is-open {
    display: flex;
  }

  .landing-nav__links li {
    border-top: 1px solid var(--gl-line);
  }

  .landing-nav__links a {
    display: block;
    padding: 0.9rem 0.15rem;
  }

  .landing-nav__links a.is-active::after {
    display: none;
  }

  .landing-nav__cta {
    margin-top: 0.35rem;
    width: 100%;
  }

  .landing-hero {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .landing-policy article {
    grid-template-columns: 1fr;
  }

  .landing-footer__sep {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing-hero__banner,
  .landing-aurora::before,
  .landing-aurora::after {
    animation: none;
  }
}
