:root {
  --emerald-950: #04140f;
  --emerald-900: #06241a;
  --emerald-800: #0a3326;
  --emerald-700: #0f4634;
  --emerald-600: #155c44;
  --gold-500: #c9a24b;
  --gold-400: #d9b96a;
  --gold-300: #e8cf95;
  --ivory-50: #faf8f3;
  --ivory-100: #f1ede2;
  --text-on-dark: #f4f1e8;
  --text-on-dark-muted: #c7d4ce;
  --text-on-light: #0a2118;
  --text-on-light-muted: #3c4b45;
  --font-display: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container-width: 1200px;
  --transition-base: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--ivory-50);
  color: var(--text-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
}

p {
  margin: 0;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-lede {
  max-width: 560px;
  margin-top: 16px;
  color: var(--text-on-light-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--emerald-800);
  color: var(--text-on-dark);
  border-color: var(--emerald-800);
}

.btn-primary:hover {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--emerald-950);
  transform: translateY(-1px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--emerald-800);
  border-color: var(--emerald-800);
}

.btn-ghost:hover {
  background-color: var(--emerald-800);
  color: var(--text-on-dark);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.demo-notice {
  background-color: var(--emerald-950);
  color: var(--gold-300);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(201, 162, 75, 0.3);
}

.demo-notice strong {
  color: var(--gold-400);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 33, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.primary-nav {
  display: none;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  background-color: var(--emerald-800);
  color: var(--text-on-dark);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--emerald-900);
}

.mobile-nav {
  border-top: 1px solid rgba(10, 33, 24, 0.08);
  padding: 16px 24px 24px;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1rem;
  font-weight: 500;
}

.mobile-nav .nav-cta {
  display: inline-block;
  width: fit-content;
}

.hero {
  padding-block: 64px 80px;
  background: linear-gradient(180deg, var(--ivory-50), var(--ivory-100));
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  color: var(--emerald-950);
}

.hero-lede {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--text-on-light-muted);
  max-width: 480px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--emerald-700), var(--emerald-950));
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(201, 162, 75, 0.35), transparent 60%);
}

.showcase {
  padding-block: 88px;
  background-color: var(--emerald-950);
  color: var(--text-on-dark);
}

.showcase .eyebrow {
  color: var(--gold-400);
}

.showcase h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 4px;
}

.showcase .section-lede {
  color: var(--text-on-dark-muted);
}

.showcase-stage {
  margin-top: 48px;
  padding-inline: 24px;
}

.ba-slider {
  position: relative;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--emerald-800);
  touch-action: none;
  outline: none;
}

.ba-slider:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 4px;
}

#baCanvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  pointer-events: none;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background-color: var(--gold-400);
}

.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gold-400);
  color: var(--emerald-950);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ba-label {
  position: absolute;
  top: 20px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: rgba(4, 20, 15, 0.55);
  color: var(--text-on-dark);
  pointer-events: none;
}

.ba-label-before {
  left: 20px;
}

.ba-label-after {
  right: 20px;
}

.ba-fallback {
  max-width: var(--container-width);
  margin: 24px auto 0;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.bento {
  padding-block: 88px;
}

.bento h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 4px;
  max-width: 640px;
}

.bento-grid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bento-card {
  padding: 36px;
  border-radius: var(--radius-md);
  background-color: var(--ivory-100);
  border: 1px solid rgba(10, 33, 24, 0.06);
}

.hero-illustration {
  position: relative;
  width: 70%;
  height: auto;
  margin: auto;
  display: block;
}

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: rgba(201, 162, 75, 0.12);
  color: var(--gold-500);
  margin-bottom: 18px;
}

.bento-card-large .bento-icon {
  background-color: rgba(232, 207, 149, 0.14);
  color: var(--gold-400);
}

.bento-card {
  display: flex;
  flex-direction: column;
}

.bento-card h3 {
  font-size: 1.4rem;
  color: var(--emerald-900);
}

.bento-card p {
  margin-top: 14px;
  color: var(--text-on-light-muted);
}

.bento-card-large {
  background-color: var(--emerald-900);
}

.bento-card-large h3,
.bento-card-large p {
  color: var(--text-on-dark);
}

.bento-card-large p {
  color: var(--text-on-dark-muted);
}

.concierge {
  padding-block: 88px;
  background-color: var(--ivory-100);
}

.concierge-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.concierge-intro h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-top: 4px;
}

.concierge-steps-preview {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concierge-steps-preview li {
  position: relative;
  padding-left: 36px;
  font-weight: 500;
  color: var(--text-on-light-muted);
}

.concierge-steps-preview li::before {
  content: attr(data-step-preview);
  position: absolute;
  left: 0;
  top: -2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--emerald-800);
  color: var(--text-on-dark);
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.concierge-form-wrap {
  background-color: var(--ivory-50);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(10, 33, 24, 0.08);
}

.form-progress {
  margin-bottom: 28px;
}

.form-progress-track {
  height: 4px;
  border-radius: 999px;
  background-color: rgba(10, 33, 24, 0.12);
  overflow: hidden;
}

.form-progress-fill {
  height: 100%;
  width: 25%;
  background-color: var(--gold-500);
  transition: width var(--transition-base);
}

.form-progress-label {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-on-light-muted);
  font-weight: 500;
}

.form-step {
  display: none;
  border: none;
  padding: 0;
  margin: 0;
}

.form-step.is-active {
  display: block;
}

.form-step legend {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--emerald-900);
  margin-bottom: 20px;
  padding: 0;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--emerald-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(10, 33, 24, 0.18);
  background-color: var(--ivory-50);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-on-light);
  transition: border-color var(--transition-base);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.field-checkbox input {
  width: auto;
  margin-top: 4px;
}

.field-checkbox label {
  margin-bottom: 0;
  font-weight: 500;
}

.confirmation-summary {
  background-color: var(--ivory-100);
  border-radius: var(--radius-sm);
  padding: 18px;
  font-size: 0.9rem;
  color: var(--text-on-light-muted);
  margin-bottom: 20px;
  white-space: pre-line;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}

.form-success h3 {
  font-size: 1.6rem;
  color: var(--emerald-900);
}

.form-success p {
  margin-top: 12px;
  color: var(--text-on-light-muted);
}

.consultation-cta {
  padding-block: 96px;
  background: linear-gradient(160deg, var(--emerald-900), var(--emerald-950));
  color: var(--text-on-dark);
  text-align: center;
}

.consultation-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 680px;
}

.consultation-inner h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
}

.consultation-inner p {
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
}

.site-footer {
  padding-block: 32px;
  background-color: var(--emerald-950);
  color: var(--text-on-dark-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

@media (min-width: 768px) {
  .primary-nav {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .hero-grid {
    flex-direction: row;
    align-items: center;
  }

  .hero-copy {
    flex: 1;
  }

  .hero-visual {
    flex: 1;
  }

  .bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-card-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .bento-card-wide {
    grid-column: span 3;
  }

  .concierge-grid {
    flex-direction: row;
    align-items: flex-start;
  }

  .concierge-intro {
    flex: 0 0 38%;
    position: sticky;
    top: 120px;
  }

  .concierge-form-wrap {
    flex: 1;
    padding: 48px;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .form-step .field {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 24px;
  }

  .form-step .field label {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
