:root {
  --graphite: #2a2e36;
  --graphite-mid: #3d4450;
  --graphite-soft: #5c6472;
  --silver: #c8ced8;
  --silver-bright: #e8ebf0;
  --peach: #f2c9a6;
  --peach-deep: #e3a978;
  --gold: #d6ba92;
  --gold-soft: #ead6b6;
  --ink: #171a20;
  --mist: #f6f2ec;
  --surface: rgba(232, 235, 240, 0.58);
  --surface-strong: rgba(255, 255, 255, 0.78);
  --line: rgba(42, 46, 54, 0.14);
  --ok: #2f6b52;
  --error: #8f3a3a;
  --radius: 20px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Nunito", sans-serif;
  --shell: min(1100px, calc(100% - 2.4rem));
  --header-h: 4.4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 12% -8%, rgba(242, 201, 166, 0.5), transparent 58%),
    radial-gradient(900px 480px at 92% 0%, rgba(200, 206, 216, 0.62), transparent 52%),
    radial-gradient(800px 420px at 50% 110%, rgba(214, 186, 146, 0.28), transparent 55%),
    linear-gradient(165deg, #f5f1eb 0%, #ebe7e1 45%, #e4e0da 100%);
  min-height: 100vh;
  line-height: 1.68;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(232, 235, 240, 0.35) 28%,
      transparent 42%,
      rgba(242, 201, 166, 0.22) 68%,
      transparent 100%
    );
  background-size: 220% 220%;
  animation: sheen-drift 22s ease-in-out infinite;
}

@keyframes sheen-drift {
  0%,
  100% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--graphite-mid);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header,
.site-footer,
main,
.cookie-banner {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    180deg,
    rgba(246, 242, 236, 0.94),
    rgba(246, 242, 236, 0.72)
  );
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--silver), var(--peach) 52%, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 8px 18px rgba(42, 46, 54, 0.18);
}

.brand-text {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--graphite-mid);
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--graphite);
  border-radius: 2px;
}

/* Buttons — liquid depression */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn-primary {
  color: var(--mist);
  background: linear-gradient(145deg, var(--graphite-mid), var(--graphite));
  box-shadow: 0 12px 28px rgba(42, 46, 54, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(2px) scale(0.985);
  box-shadow: inset 0 10px 22px rgba(0, 0, 0, 0.28), 0 4px 10px rgba(42, 46, 54, 0.12);
  color: var(--mist);
}

.btn-ghost {
  color: var(--graphite);
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn-ghost:hover {
  transform: translateY(2px) scale(0.985);
  box-shadow: inset 0 8px 18px rgba(42, 46, 54, 0.12);
  color: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

/* Hero — full-bleed horizon composition */
.hero-horizon {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-horizon-media {
  position: absolute;
  inset: 0;
}

.hero-horizon-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.hero-horizon-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23, 26, 32, 0.18) 0%, rgba(23, 26, 32, 0.05) 35%, rgba(23, 26, 32, 0.62) 100%),
    linear-gradient(90deg, rgba(242, 201, 166, 0.22), transparent 45%, rgba(200, 206, 216, 0.18));
  animation: veil-breathe 10s ease-in-out infinite;
}

@keyframes veil-breathe {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.86;
  }
}

.hero-horizon-copy {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 0 auto 4.5rem;
  color: var(--mist);
  max-width: 34rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-line {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 500;
  max-width: 28rem;
  color: rgba(246, 242, 236, 0.92);
}

.hero-horizon .btn-row {
  margin-top: 1.6rem;
}

.hero-horizon .btn-primary {
  background: linear-gradient(145deg, var(--peach), var(--gold));
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.hero-horizon .btn-primary:hover {
  color: var(--ink);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-tight {
  padding-top: 0;
}

.section-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 1.6rem;
  max-width: 40rem;
  color: var(--graphite-soft);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-media {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(42, 46, 54, 0.16);
  position: relative;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242, 201, 166, 0.2), transparent 45%, rgba(200, 206, 216, 0.25));
  pointer-events: none;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.offer-rail {
  display: grid;
  gap: 0.9rem;
}

.offer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.25s ease, background 0.25s ease;
}

.offer-item:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
  color: inherit;
}

.offer-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.offer-item p {
  margin: 0;
  color: var(--graphite-soft);
  font-size: 0.98rem;
}

.offer-meta {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--graphite-mid);
  white-space: nowrap;
}

.quote-rail {
  display: grid;
  gap: 1rem;
}

.quote-item {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(232, 235, 240, 0.45));
  box-shadow: inset 0 0 0 1px var(--line);
}

.quote-item blockquote {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.quote-item cite {
  font-style: normal;
  color: var(--graphite-soft);
  font-size: 0.92rem;
}

.faq-rail {
  display: grid;
  gap: 1rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--graphite-soft);
}

.page-hero {
  padding: clamp(2.8rem, 6vw, 4.2rem) 0 1.5rem;
}

.page-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: var(--graphite-soft);
  font-size: 1.08rem;
}

.detail-hero-img {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  max-height: 380px;
}

.detail-hero-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.prose p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.includes {
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  max-width: 40rem;
}

.includes li {
  margin-bottom: 0.4rem;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.listing-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.25s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.listing-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.listing-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.listing-body h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.listing-body p {
  margin: 0;
  color: var(--graphite-soft);
}

.listing-meta {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--graphite-mid);
}

/* Atlas / custom page */
.atlas-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.atlas-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.atlas-step::before {
  counter-increment: step;
  content: counter(step);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(145deg, var(--silver-bright), var(--peach));
}

.atlas-step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.atlas-step p {
  margin: 0;
  color: var(--graphite-soft);
}

/* Forms */
.form-panel {
  max-width: 36rem;
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px rgba(42, 46, 54, 0.08);
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(227, 169, 120, 0.65);
  outline-offset: 1px;
}

.field-error {
  min-height: 1.1rem;
  margin: 0.3rem 0 0;
  color: var(--error);
  font-size: 0.88rem;
}

.form-status {
  margin: 0.8rem 0 0;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--error);
}

.contact-aside {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.contact-aside p {
  margin: 0;
  color: var(--graphite-soft);
}

/* Legal */
.legal h2 {
  margin: 2rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.legal p,
.legal li {
  color: var(--graphite-mid);
  max-width: 46rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(200, 206, 216, 0.22));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer-label {
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite-soft);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.35rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-base {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--graphite-soft);
  font-size: 0.92rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  max-width: 720px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 235, 240, 0.9));
  box-shadow: 0 18px 40px rgba(42, 46, 54, 0.22), inset 0 0 0 1px var(--line);
}

.cookie-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.55rem;
}

/* 404 */
.error-page {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.error-page h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

@media (max-width: 900px) {
  .split,
  .listing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) - 0.2rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.2rem 1rem;
    background: rgba(246, 242, 236, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-horizon-copy {
    margin-bottom: 3rem;
  }

  .offer-item {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
