/* Starlight Marble — Communicationorchestrator */
:root {
  --ivory: #f4efe6;
  --ivory-deep: #e8e0d2;
  --navy: #0c1630;
  --navy-mid: #162448;
  --navy-soft: #243560;
  --gold: #c9a227;
  --gold-bright: #e0c35a;
  --gold-soft: rgba(201, 162, 39, 0.35);
  --star: #ffffff;
  --ink: #121a2e;
  --ink-soft: #3a4560;
  --muted: #5c6780;
  --surface: rgba(244, 239, 230, 0.88);
  --line: rgba(12, 22, 48, 0.12);
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: "Source Serif 4", "Georgia", serif;
  --space: clamp(1rem, 2vw, 1.75rem);
  --max: 70rem;
  --header-h: 4.1rem;
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-vein: cubic-bezier(0.34, 1.2, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--ink);
  background:
    radial-gradient(ellipse 50% 38% at 8% 4%, rgba(201, 162, 39, 0.16), transparent 55%),
    radial-gradient(ellipse 42% 32% at 92% 10%, rgba(22, 36, 72, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(12, 22, 48, 0.08), transparent 60%),
    linear-gradient(168deg, #f7f3eb 0%, var(--ivory) 48%, var(--ivory-deep) 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.2px 1.2px at 48% 22%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 67% 44%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 81% 16%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 88% 72%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1.2px 1.2px at 35% 88%, rgba(255, 255, 255, 0.8), transparent),
    linear-gradient(
      118deg,
      transparent 0%,
      rgba(201, 162, 39, 0.08) 22%,
      transparent 36%,
      rgba(12, 22, 48, 0.05) 54%,
      transparent 68%,
      rgba(201, 162, 39, 0.1) 84%,
      transparent 100%
    );
  background-size: auto, auto, auto, auto, auto, auto, auto, 240% 100%;
  animation: marbleVeins 26s ease-in-out infinite;
}

@keyframes marbleVeins {
  0%, 100% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0% 50%; }
  50% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 100% 50%; }
}

@keyframes brandRise {
  from { opacity: 0; transform: translateY(1.1rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .hero-mast__brand,
  .hero-mast__lead,
  .hero-mast__cta { animation: none; }
}

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

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

a {
  color: var(--navy-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.25s var(--ease-soft);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.35rem, 5.4vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.28rem; }

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(244, 239, 230, 0.86);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.brand:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--navy);
  margin: 0.28rem 0;
}

.site-nav ul {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 0.98rem;
  text-decoration: none;
  color: var(--ink-soft);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--navy);
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    padding: 1rem var(--space) 1.25rem;
    gap: 0.85rem;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.35rem;
  border-radius: 0.2rem;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-soft), box-shadow 0.3s var(--ease-soft);
}

.btn--vein {
  --vein-x: 50%;
  --vein-y: 50%;
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background: var(--navy);
  isolation: isolate;
}

.btn--vein::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at var(--vein-x) var(--vein-y),
    rgba(224, 195, 90, 0.85) 0%,
    rgba(201, 162, 39, 0.45) 28%,
    transparent 58%
  );
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.35s var(--ease-vein), transform 0.45s var(--ease-vein);
  z-index: -1;
}

.btn--vein:hover,
.btn--vein.is-pressed {
  color: var(--ivory);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.45), 0 10px 28px rgba(12, 22, 48, 0.28);
}

.btn--vein:hover::before,
.btn--vein.is-pressed::before {
  opacity: 1;
  transform: scale(1);
}

.btn--ghost {
  color: var(--navy);
  background: transparent;
  border-color: rgba(12, 22, 48, 0.28);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-mast {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

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

.hero-mast__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-mast__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 22, 48, 0.35) 0%, rgba(12, 22, 48, 0.72) 55%, rgba(12, 22, 48, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(201, 162, 39, 0.22), transparent 60%);
}

.hero-mast__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 8rem) var(--space) clamp(2.5rem, 6vh, 4rem);
}

.hero-mast__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--ivory);
  animation: brandRise 0.9s var(--ease-soft) both;
}

.hero-mast__rule {
  width: min(12rem, 40%);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
  margin: 0 0 1.35rem;
  animation: softFade 1s 0.2s both;
}

.hero-mast h1 {
  max-width: 18ch;
  color: var(--ivory);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 500;
  font-style: italic;
  margin: 0 0 1rem;
  animation: brandRise 0.9s 0.15s var(--ease-soft) both;
}

.hero-mast__lead {
  max-width: 38rem;
  color: rgba(244, 239, 230, 0.88);
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
  animation: brandRise 0.9s 0.28s var(--ease-soft) both;
}

.hero-mast__cta {
  animation: brandRise 0.9s 0.4s var(--ease-soft) both;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--space);
}

.section--navy {
  background:
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--ivory);
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.section--navy > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space);
  padding-right: var(--space);
}

.section--navy h2,
.section--navy h3 { color: var(--ivory); }

.section--navy a { color: var(--gold-bright); }
.section--navy .price-line { color: rgba(244, 239, 230, 0.78); }

.section--vein {
  background: linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent 40%);
}

.section__grid {
  display: grid;
  gap: 2rem;
}

.section__grid--split {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

@media (max-width: 860px) {
  .section__grid--split { grid-template-columns: 1fr; }
}

.section__kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.section__head {
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.section__cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.price-line {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin: 0.85rem 0 1rem;
}

.media-frame {
  margin: 0;
  border-radius: 0.15rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 22, 48, 0.16);
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.media-frame--sm { max-width: 18rem; }

.offer-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.offer-rail a {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  transition: border-color 0.25s var(--ease-soft), transform 0.25s var(--ease-soft);
}

.offer-rail a:hover {
  transform: translateX(4px);
  border-left-color: var(--navy);
}

.offer-rail__meta {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer-rail__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}

.offer-rail__short { color: var(--ink-soft); }
.offer-rail__price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold);
}

.evidence {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
  counter-reset: evidence;
}

.evidence li {
  counter-increment: evidence;
  padding-left: 3rem;
  position: relative;
}

.evidence li::before {
  content: counter(evidence, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
  font-weight: 600;
}

.quote {
  margin: 0;
  padding: 2rem 0 2rem 1.5rem;
  border-left: 2px solid var(--gold);
  max-width: 46rem;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.35;
}

.quote footer {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--space) 1.5rem;
}

.page-hero--media {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .page-hero--media { grid-template-columns: 1fr; }
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.service-index {
  display: grid;
  gap: 2rem;
}

.service-index__row {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

@media (max-width: 720px) {
  .service-index__row { grid-template-columns: 1fr; }
}

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

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.check-list li {
  padding-left: 1.4rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.blog-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.blog-card {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.35rem;
  text-decoration: none;
  color: inherit;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.blog-card:hover .blog-card__title { color: var(--gold); }

@media (max-width: 720px) {
  .blog-card { grid-template-columns: 1fr; }
}

.blog-card__date {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0 0 0.45rem;
  transition: color 0.25s var(--ease-soft);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.5rem;
  border-left: 1px solid rgba(201, 162, 39, 0.45);
}

.timeline li {
  padding-left: 1.5rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.35rem;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--gold);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  background: #fffcf7;
  color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold-soft);
  border-color: var(--gold);
}

.form-field.is-invalid input,
.form-field.is-invalid textarea {
  border-color: #8b2e2e;
}

.field-error {
  color: #8b2e2e;
  font-size: 0.9rem;
  margin: 0;
}

.form-status {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 0.2rem;
}

.form-status--success {
  background: rgba(36, 92, 58, 0.12);
  color: #1f4d32;
}

.form-status--error {
  background: rgba(139, 46, 46, 0.12);
  color: #8b2e2e;
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2rem;
}

.site-footer {
  margin-top: 2rem;
  background: var(--navy);
  color: rgba(244, 239, 230, 0.82);
  padding: 2.5rem var(--space) 1.5rem;
}

.site-footer a { color: var(--gold-bright); }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 800px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ivory);
  margin-bottom: 0.4rem;
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__copy {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 239, 230, 0.12);
  font-size: 0.9rem;
  color: rgba(244, 239, 230, 0.55);
}

.cookie-banner {
  position: fixed;
  left: var(--space);
  right: var(--space);
  bottom: var(--space);
  z-index: 50;
  max-width: 40rem;
  margin: 0 auto;
  background: var(--navy);
  color: var(--ivory);
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.4);
  box-shadow: 0 16px 40px rgba(12, 22, 48, 0.35);
}

.cookie-banner a { color: var(--gold-bright); }

.cookie-banner__inner {
  display: grid;
  gap: 1rem;
}

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

.cookie-banner .btn--ghost {
  color: var(--ivory);
  border-color: rgba(244, 239, 230, 0.35);
}

.error-page {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) var(--space);
  text-align: center;
}

.error-page h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  margin-bottom: 0.5rem;
}
