:root {
  --mythos-bg: #0a0a0a;
  --mythos-surface: #141414;
  --mythos-border: #262626;
  --mythos-text: #f5f1ea;
  --mythos-muted: #8a857e;
  --mythos-accent: #c9b88a;
  --mythos-accent-dark: #8f7e58;
  --mythos-green: #7d9a80;
  --mythos-wine: #7f4d4d;
  --mythos-blue: #71849c;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--mythos-bg);
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(201, 184, 138, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(201, 184, 138, 0.03) 1px, transparent 1px),
    var(--mythos-bg);
  background-size: 72px 72px;
  color: var(--mythos-text);
  font-family: var(--font-sans);
  font-feature-settings: "kern" 1, "liga" 1;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(201, 184, 138, 0.12);
  background: rgba(10, 10, 10, 0.86);
  backdrop-filter: blur(20px);
}

.brand img {
  width: 124px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--mythos-muted);
  font-size: 0.88rem;
}

.nav-links a:hover {
  color: var(--mythos-accent);
}

.nav-cta,
.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 18px;
  color: var(--mythos-text);
  font-weight: 700;
  letter-spacing: 0;
}

.button.primary,
.nav-cta {
  background: var(--mythos-accent);
  color: #111;
}

.button.primary:hover,
.nav-cta:hover {
  background: #decea2;
}

.button.ghost {
  background: rgba(245, 241, 234, 0.04);
  border-color: var(--mythos-border);
}

.button.ghost:hover {
  border-color: var(--mythos-accent-dark);
  color: var(--mythos-accent);
}

.section-band {
  width: 100%;
  padding: clamp(68px, 10vw, 128px) clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(201, 184, 138, 0.1);
}

.hero {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding-top: clamp(46px, 7vw, 86px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--mythos-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(4.4rem, 10vw, 9rem);
  line-height: 0.82;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
  line-height: 0.9;
}

h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1;
}

.hero-lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(245, 241, 234, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.tagline {
  margin: 34px 0 0;
  color: var(--mythos-accent);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-left: 1px solid rgba(201, 184, 138, 0.18);
  background: #050505;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 520px;
  mix-blend-mode: screen;
  opacity: 0.72;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.92) contrast(1.08) brightness(0.68);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.68), transparent 46%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.1), rgba(10, 10, 10, 0.7));
  content: "";
  pointer-events: none;
}

.signal-panel {
  position: absolute;
  z-index: 4;
  right: clamp(18px, 4vw, 46px);
  bottom: 34px;
  width: min(260px, calc(100% - 36px));
  padding: 20px;
  border: 1px solid rgba(201, 184, 138, 0.28);
  border-radius: 6px;
  background: rgba(20, 20, 20, 0.86);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.signal-panel span,
.signal-panel small {
  display: block;
  color: var(--mythos-muted);
}

.signal-panel strong {
  display: block;
  color: var(--mythos-accent);
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 0.9;
}

.section-intro {
  max-width: 920px;
}

.section-intro > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(245, 241, 234, 0.72);
  font-size: 1.05rem;
}

.split-text {
  display: grid;
  grid-template-columns: 1fr 1.15fr 0.85fr;
  gap: 32px;
  margin-top: 44px;
  color: rgba(245, 241, 234, 0.76);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.proof-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: var(--mythos-accent);
  font-weight: 800;
  list-style: none;
}

.media-showcase {
  padding-top: clamp(40px, 7vw, 86px);
}

.campaign-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(260px, 38vw);
  gap: 1px;
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid var(--mythos-border);
  background: var(--mythos-border);
}

.campaign-tile {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--mythos-surface);
}

.campaign-tile.tall {
  grid-row: span 2;
}

.campaign-tile.wide {
  grid-column: span 2;
}

.campaign-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.campaign-tile:hover img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(230px, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: var(--mythos-border);
  border: 1px solid var(--mythos-border);
}

.goal-card,
.product-card,
.service-grid article,
.timeline article {
  background: rgba(20, 20, 20, 0.92);
}

.goal-card {
  min-height: 540px;
  padding: 28px;
  cursor: pointer;
}

.product-card {
  cursor: pointer;
}

.goal-index,
.timeline span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--mythos-accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.goal-card p,
.service-grid p,
.timeline p,
.team-copy p,
.final-cta p {
  color: rgba(245, 241, 234, 0.72);
}

.goal-card ul {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(245, 241, 234, 0.82);
  list-style: none;
}

.goal-card li {
  position: relative;
  padding-left: 18px;
}

.goal-card li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mythos-accent);
  content: "";
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  gap: 1px;
  margin-top: 46px;
  background: var(--mythos-border);
  border: 1px solid var(--mythos-border);
}

.timeline article {
  min-height: 310px;
  padding: 28px;
}

.memberships {
  background:
    linear-gradient(180deg, rgba(201, 184, 138, 0.05), transparent 34%),
    var(--mythos-bg);
}

.programme-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 1px;
  margin-top: 42px;
  border: 1px solid rgba(201, 184, 138, 0.22);
  background: rgba(201, 184, 138, 0.18);
}

.programme-map article {
  min-height: 230px;
  padding: 28px;
  background: rgba(20, 20, 20, 0.94);
}

.programme-map span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--mythos-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.programme-map p {
  margin: 14px 0 0;
  color: rgba(245, 241, 234, 0.72);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--mythos-border);
  background: var(--mythos-border);
}

.product-card {
  display: grid;
  align-content: start;
  gap: 26px;
  min-height: 520px;
  padding: 30px;
  background: rgba(20, 20, 20, 0.94);
}

.product-card.featured {
  background:
    linear-gradient(180deg, rgba(201, 184, 138, 0.12), rgba(20, 20, 20, 0.94) 34%),
    rgba(20, 20, 20, 0.94);
}

.product-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--mythos-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-line {
  margin: 12px 0 0;
  color: rgba(245, 241, 234, 0.72);
}

.price-line strong {
  color: var(--mythos-text);
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
}

.product-summary,
.product-block p {
  margin: 16px 0 0;
  color: rgba(245, 241, 234, 0.74);
}

.product-block {
  padding: 18px;
  border: 1px solid rgba(201, 184, 138, 0.16);
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.46);
}

.product-block h4 {
  margin: 0;
  color: var(--mythos-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card ul,
.programme-clarity ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  color: rgba(245, 241, 234, 0.8);
  list-style: none;
}

.product-card li,
.programme-clarity li {
  position: relative;
  padding-left: 18px;
}

.product-card li::before,
.programme-clarity li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mythos-accent);
  content: "";
}

.programme-clarity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 1px;
  border: 1px solid var(--mythos-border);
  background: var(--mythos-border);
}

.programme-clarity {
  display: grid;
  gap: 18px;
  padding: 34px;
  background: rgba(20, 20, 20, 0.92);
}

.programme-clarity p {
  margin: 0;
  color: rgba(245, 241, 234, 0.74);
}

.video-lab {
  background:
    linear-gradient(180deg, rgba(127, 77, 77, 0.08), transparent 42%),
    var(--mythos-bg);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 1px;
  margin-top: 44px;
  border: 1px solid var(--mythos-border);
  background: var(--mythos-border);
}

.video-grid article {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  background: rgba(20, 20, 20, 0.92);
}

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(201, 184, 138, 0.18);
  border-radius: 6px;
  background: #050505;
  object-fit: cover;
}

.video-grid p {
  margin: 0;
  color: rgba(245, 241, 234, 0.72);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(230px, 1fr));
  gap: 1px;
  margin-top: 46px;
  background: var(--mythos-border);
  border: 1px solid var(--mythos-border);
}

.service-grid article {
  min-height: 260px;
  padding: 28px;
}

.team {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

.team-copy p {
  max-width: 670px;
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--mythos-accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--mythos-accent-dark);
  text-underline-offset: 5px;
}

.team-roster,
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 1px;
  background: var(--mythos-border);
  border: 1px solid var(--mythos-border);
}

.team-roster span,
.why-grid span {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 20, 20, 0.92);
  color: rgba(245, 241, 234, 0.84);
  text-align: center;
  font-weight: 700;
}

.concierge-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1.3fr);
  gap: 1px;
  margin-top: 42px;
  border: 1px solid var(--mythos-border);
  background: var(--mythos-border);
}

.prompt-bank,
.chat-panel {
  background: rgba(20, 20, 20, 0.92);
}

.prompt-bank {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
}

.prompt-bank button,
.option-grid button {
  min-height: 48px;
  border: 1px solid var(--mythos-border);
  border-radius: 4px;
  background: rgba(245, 241, 234, 0.035);
  color: var(--mythos-text);
  text-align: left;
}

.prompt-bank button {
  padding: 13px 14px;
}

.prompt-bank button:hover,
.option-grid button:hover,
.option-grid button.is-selected {
  border-color: var(--mythos-accent-dark);
  color: var(--mythos-accent);
}

.chat-panel {
  min-height: 500px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.chat-log {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 540px;
  overflow-y: auto;
  padding: 22px;
}

.message {
  max-width: min(680px, 92%);
  padding: 16px;
  border: 1px solid var(--mythos-border);
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.6);
}

.message.user {
  align-self: flex-end;
  border-color: rgba(201, 184, 138, 0.32);
}

.message span {
  display: block;
  margin-bottom: 6px;
  color: var(--mythos-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.message p {
  margin: 0;
  color: rgba(245, 241, 234, 0.82);
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.message-actions button {
  min-height: 36px;
  border: 1px solid rgba(201, 184, 138, 0.32);
  border-radius: 4px;
  background: rgba(201, 184, 138, 0.08);
  color: var(--mythos-accent);
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.message-actions button:hover {
  background: rgba(201, 184, 138, 0.16);
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--mythos-border);
}

.chat-form input,
.assessment-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--mythos-border);
  border-radius: 4px;
  background: rgba(10, 10, 10, 0.75);
  color: var(--mythos-text);
  padding: 0 14px;
  outline: none;
}

.chat-form input:focus,
.assessment-form input:focus {
  border-color: var(--mythos-accent-dark);
}

.why-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  margin-top: 42px;
}

.why-grid span:nth-child(2),
.why-grid span:nth-child(5) {
  color: var(--mythos-green);
}

.why-grid span:nth-child(4),
.why-grid span:nth-child(7) {
  color: var(--mythos-blue);
}

.why-grid span:nth-child(6) {
  color: #d5a09a;
}

.final-cta {
  min-height: 72vh;
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
}

.final-cta img {
  width: 62px;
  margin-bottom: 24px;
}

.final-cta h2,
.final-cta p {
  max-width: 760px;
}

.final-cta strong {
  display: block;
  margin: 10px 0 24px;
  color: var(--mythos-accent);
}

.assessment-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.assessment-modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(14px);
}

.assessment-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(880px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(201, 184, 138, 0.28);
  border-radius: 8px;
  background: #101010;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--mythos-border);
  border-radius: 50%;
  background: rgba(245, 241, 234, 0.04);
  color: var(--mythos-text);
}

.assessment-header {
  padding: 32px 32px 0;
}

.assessment-header h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.assessment-header p:not(.eyebrow) {
  color: rgba(245, 241, 234, 0.72);
}

.assessment-form {
  padding: 28px 32px 32px;
}

.step {
  display: none;
}

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

.step label {
  display: block;
  margin-bottom: 18px;
  color: var(--mythos-text);
  font-size: 1.35rem;
  font-weight: 800;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-grid button {
  padding: 12px 14px;
}

.result-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(201, 184, 138, 0.26);
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.58);
}

.result-card h3 {
  color: var(--mythos-accent);
}

.result-card p,
.result-card li {
  color: rgba(245, 241, 234, 0.76);
}

.result-card ul {
  margin: 0;
  padding-left: 18px;
}

.assessment-footer {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--mythos-border);
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--mythos-accent);
  transition: width 180ms ease;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1180px) {
  .goal-grid,
  .timeline,
  .service-grid,
  .programme-map,
  .product-grid,
  .why-grid,
  .campaign-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .campaign-tile.tall,
  .campaign-tile.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .goal-card {
    min-height: auto;
  }

  .product-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .team,
  .concierge-shell,
  .programme-clarity-grid,
  .split-text,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
    border-left: 0;
    border-top: 1px solid rgba(201, 184, 138, 0.18);
  }

  #heroCanvas {
    min-height: 420px;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 6.7rem);
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand img {
    width: 104px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .section-band {
    padding: 58px 16px;
  }

  .hero-actions,
  .chat-form,
  .modal-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .goal-grid,
  .timeline,
  .service-grid,
  .campaign-grid,
  .product-grid,
  .team-roster,
  .why-grid,
  .option-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card.featured {
    grid-column: auto;
    min-height: auto;
  }

  .campaign-grid {
    grid-auto-rows: minmax(340px, 112vw);
  }

  .assessment-header,
  .assessment-form {
    padding-left: 18px;
    padding-right: 18px;
  }
}
