:root {
  --navy: #0c1220;
  --navy-mid: #141c2e;
  --plum: #1a0f16;
  --burgundy: #6b1e2e;
  --burgundy-soft: #8a2f42;
  --copper: #b87333;
  --copper-bright: #d4a574;
  --ivory: #f3e9d8;
  --ivory-dim: #d9cbb4;
  --lacquer: #0a0d14;
  --glass: rgba(243, 233, 216, 0.06);
  --glass-border: rgba(184, 115, 51, 0.35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --radius: 2px;
  --rail: 1px solid rgba(184, 115, 51, 0.45);
  --max: 1120px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ivory-dim);
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(107, 30, 46, 0.25), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(184, 115, 51, 0.12), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--plum) 45%, var(--lacquer) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

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

a {
  color: var(--copper-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ivory);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-top: 0; }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1rem; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--copper);
  color: var(--navy);
  padding: 0.5rem 1rem;
  z-index: 1000;
}

.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(12, 18, 32, 0.88);
  border-bottom: var(--rail);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ivory);
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--copper);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 4px rgba(184, 115, 51, 0.15);
  animation: ring-breathe 6s ease-in-out infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 35%;
  background: var(--copper);
  border-radius: 50%;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.brand-coord {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
}

.site-nav a {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

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

.nav-cta {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--copper);
  color: var(--ivory) !important;
  background: linear-gradient(180deg, rgba(184, 115, 51, 0.2), transparent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--copper);
  width: 2.6rem;
  height: 2.6rem;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  background: var(--ivory);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-narrow { max-width: 720px; }

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ivory-dim);
  max-width: 38rem;
}

.btn {
  appearance: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--copper);
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  bottom: 0.3rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--copper), transparent);
  opacity: 0.7;
}

.btn-primary {
  background: linear-gradient(180deg, #8a4a22 0%, #5c2e14 100%);
  color: var(--ivory);
  box-shadow: 0 0 0 1px rgba(212, 165, 116, 0.25), inset 0 1px 0 rgba(243, 233, 216, 0.15);
}

.btn-primary:hover {
  color: var(--ivory);
  transform: translateY(-2px) rotate(-0.4deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--copper-bright);
}

.btn-secondary {
  background: transparent;
  color: var(--ivory);
}

.btn-secondary:hover {
  background: var(--glass);
  color: var(--ivory);
  transform: translateY(-1px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero — full-bleed Velvet Observatory */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.55);
  animation: slow-drift 28s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 18, 32, 0.35) 0%, rgba(12, 18, 32, 0.55) 40%, rgba(10, 13, 20, 0.92) 100%),
    radial-gradient(circle at 70% 30%, rgba(184, 115, 51, 0.15), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.25rem 5rem;
  width: 100%;
}

.hero-content h1 {
  max-width: 14ch;
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-content .lede {
  color: var(--ivory);
  opacity: 0.9;
}

.starfield {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(243, 233, 216, 0.7), transparent),
    radial-gradient(1px 1px at 48% 18%, rgba(243, 233, 216, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 78% 28%, rgba(212, 165, 116, 0.6), transparent),
    radial-gradient(1px 1px at 88% 62%, rgba(243, 233, 216, 0.4), transparent),
    radial-gradient(1px 1px at 22% 70%, rgba(243, 233, 216, 0.35), transparent);
  opacity: 0.55;
  animation: twinkle 8s ease-in-out infinite;
}

.panel {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 1.75rem;
  backdrop-filter: blur(6px);
}

.panel + .panel { margin-top: 1rem; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.offer-item {
  border-top: 1px solid var(--copper);
  padding-top: 1.25rem;
}

.offer-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: saturate(0.9);
  border: 1px solid rgba(184, 115, 51, 0.25);
}

.offer-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.offer-item p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.meta-line {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

.quote-block {
  border-left: 2px solid var(--burgundy-soft);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ivory);
}

.quote-attr {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--copper);
  margin-top: 0.75rem;
}

.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-content { padding-bottom: 3rem; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.5rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45rem; }

.rate-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

.rate-table th,
.rate-table td {
  text-align: left;
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid rgba(184, 115, 51, 0.25);
}

.rate-table th {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 500;
}

.review-list {
  display: grid;
  gap: 1.5rem;
}

.review-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(184, 115, 51, 0.2);
}

.review-item p:last-child { margin-bottom: 0; }

.story-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(184, 115, 51, 0.2);
}

.blog-row img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--glass-border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--glass-border);
}

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.module-list li {
  counter-increment: mod;
  padding: 1.25rem 0 1.25rem 3.5rem;
  border-bottom: 1px solid rgba(184, 115, 51, 0.2);
  position: relative;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.35rem;
  font-family: var(--serif);
  color: var(--copper);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.form input,
.form select,
.form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.75rem 0.85rem;
  background: rgba(10, 13, 20, 0.65);
  border: 1px solid rgba(184, 115, 51, 0.35);
  color: var(--ivory);
  border-radius: var(--radius);
}

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

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 1px solid var(--copper);
  outline-offset: 2px;
}

.field-error {
  color: #e8a0a8;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  min-height: 1.1em;
}

.form-status {
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

.form-status.is-success { color: #b8d4a8; }
.form-status.is-error,
.form-error { color: #e8a0a8; }

.contact-aside {
  border-left: 1px solid rgba(184, 115, 51, 0.3);
  padding-left: 1.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(184, 115, 51, 0.25);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: rgba(184, 115, 51, 0.08);
  color: var(--copper);
  font-weight: 500;
}

.site-footer {
  margin-top: 3rem;
  border-top: var(--rail);
  background: rgba(10, 13, 20, 0.85);
  padding: 3rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.footer-tag { color: var(--ivory-dim); font-size: 0.95rem; }

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

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 115, 51, 0.15);
  font-size: 0.8rem;
  color: rgba(217, 203, 180, 0.55);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(12, 18, 32, 0.96);
  border-top: 1px solid var(--copper);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(10px);
}

.cookie-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-inner p {
  margin: 0;
  flex: 1 1 280px;
  font-size: 0.92rem;
}

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

.cookie-actions .btn { padding: 0.65rem 1.1rem; }

.error-page {
  min-height: 70vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page .coord {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 1rem;
}

.detail-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  margin: 1.5rem 0 2rem;
}

.include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

@keyframes ring-breathe {
  0%, 100% { box-shadow: inset 0 0 0 4px rgba(184, 115, 51, 0.15); }
  50% { box-shadow: inset 0 0 0 6px rgba(184, 115, 51, 0.28); }
}

@keyframes slow-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 18, 32, 0.98);
    border-bottom: var(--rail);
    padding: 1rem 1.25rem 1.5rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }
  .split,
  .blog-row,
  .include-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    border-left: none;
    border-top: 1px solid rgba(184, 115, 51, 0.3);
    padding-left: 0;
    padding-top: 1.5rem;
  }
}

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