:root {
  --bg: #0b0a09;
  --bg-soft: #141210;
  --text: #f3ede3;
  --muted: #a99f90;
  --gold: #c9a45c;
  --gold-soft: rgba(201, 164, 92, 0.18);
  --line: rgba(243, 237, 227, 0.12);
  --whatsapp: #25d366;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

/* ---------- Cinematic background ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Vignette + film grain over the canvas, under the content. */
.cinematic::before,
.cinematic::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cinematic::before {
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.cinematic::after {
  inset: -50%;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

.cinematic .hero,
.cinematic .anpc-bar {
  position: relative;
  z-index: 2;
}

/* Slow diagonal light sweep across the hero. */
.cinematic .hero::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -60%;
  z-index: -1;
  width: 45%;
  height: 160%;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 120, 0.07), transparent);
  transform: rotate(18deg);
  animation: sweep 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sweep {
  0%, 15% { left: -60%; }
  65%, 100% { left: 120%; }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic::after,
  .cinematic .hero::after {
    animation: none;
  }
}

/* ---------- Coming soon ---------- */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 32px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(201, 164, 92, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(201, 164, 92, 0.08), transparent 70%);
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.logo {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 13vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.logo-img {
  display: block;
  width: min(560px, 78vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(201, 164, 92, 0.18));
}

.logo .amp {
  display: block;
  margin: 12px 0 2px;
  font-style: italic;
  font-weight: 400;
  font-size: 0.42em;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.logo .sub {
  display: block;
  font-size: 0.38em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.divider {
  width: 64px;
  height: 1px;
  margin: 32px auto;
  background: var(--gold);
  opacity: 0.7;
}

.tagline {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.3;
}

.lead {
  max-width: 34rem;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 15px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  padding: 15px 28px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #06210f;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.22);
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(37, 211, 102, 0.32);
}

.cta svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.phone {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.phone a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  font-size: 14px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.links a:hover,
.links a:focus-visible {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.links svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.site-footer {
  margin-top: 48px;
  font-size: 12px;
  color: var(--muted);
}

.site-footer p,
.legal-footer p {
  margin: 0;
}

.company {
  margin-top: 6px !important;
  font-size: 11px;
  opacity: 0.85;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.site-footer a:hover {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    transition: none;
  }
}

/* ---------- Legal page ---------- */

.legal {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

.legal-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gold);
  text-decoration: none;
}

.legal h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1.1;
}

.legal .updated {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal h2 {
  margin: 40px 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.25;
  color: var(--gold);
}

.legal p,
.legal li {
  color: #ddd5c8;
  font-size: 15.5px;
}

.legal ul {
  padding-left: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: var(--gold);
  overflow-wrap: anywhere;
}

.legal .box {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}

.legal .box p {
  margin: 4px 0;
}

.legal-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- ANPC bar ---------- */

.anpc-bar {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.anpc-bar a {
  display: block;
  line-height: 0;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.anpc-bar a:hover,
.anpc-bar a:focus-visible {
  opacity: 0.85;
}

.anpc-bar img {
  display: block;
  width: 250px;
  height: 50px;
}

/* ---------- Cookie consent (banner + preferences modal) ---------- */
/* Same pattern as rmg_theme. [hidden] is combined with the class so the
   hidden state always beats the display rules below. */

.loryn-cookie-banner[hidden],
.loryn-cookie-modal[hidden],
.loryn-cookie-float-btn[hidden] {
  display: none !important;
}

.loryn-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 32px;
  padding: 16px max(16px, env(safe-area-inset-left)) calc(16px + env(safe-area-inset-bottom));
  background: rgba(20, 18, 16, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35);
}

.loryn-cookie-banner__text {
  flex: 1;
  min-width: 240px;
  max-width: 640px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}

.loryn-cookie-banner__text a {
  color: var(--gold);
}

.loryn-cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.loryn-btn-solid,
.loryn-btn-outline {
  padding: 11px 18px;
  border-radius: 999px;
  font: 600 13.5px/1.2 var(--sans);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, filter 0.15s;
}

.loryn-btn-solid {
  background: var(--gold);
  color: #1a1408;
  border: 1px solid var(--gold);
}

.loryn-btn-solid:hover {
  filter: brightness(1.08);
}

.loryn-btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.loryn-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.loryn-cookie-float-btn {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20, 18, 16, 0.9);
  color: var(--gold);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s;
}

.loryn-cookie-float-btn:hover {
  transform: translateY(-2px);
}

.loryn-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.loryn-cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.loryn-cookie-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.loryn-cookie-modal__card h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--text);
}

.loryn-cookie-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.loryn-cookie-row:last-of-type {
  border-bottom: none;
}

.loryn-cookie-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.loryn-cookie-row__label {
  font-weight: 600;
  font-size: 14.5px;
}

.loryn-cookie-row__desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.loryn-cookie-toggle {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(243, 237, 227, 0.18);
  cursor: pointer;
  transition: background 0.15s;
}

.loryn-cookie-toggle__dot {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s;
}

.loryn-cookie-toggle[aria-pressed="true"] {
  background: var(--gold);
}

.loryn-cookie-toggle[aria-pressed="true"] .loryn-cookie-toggle__dot,
.loryn-cookie-toggle--locked .loryn-cookie-toggle__dot {
  transform: translateX(18px);
}

.loryn-cookie-toggle--locked {
  background: rgba(201, 164, 92, 0.4);
  cursor: default;
}

.loryn-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.loryn-cookie-modal__actions button {
  flex: 1;
}

.cookie-link {
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.cookie-link:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .loryn-cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .loryn-cookie-banner__text {
    min-width: 0;
  }

  .loryn-cookie-banner__actions {
    flex-direction: column-reverse;
  }

  .loryn-cookie-banner__actions button {
    width: 100%;
  }
}

.legal .cookie-link {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.legal code {
  font-size: 0.9em;
  color: var(--text);
}
