:root {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-soft: #141b23;
  --panel: rgba(18, 23, 31, 0.88);
  --panel-strong: #17202c;
  --text: #f6efe4;
  --muted: #c3b6a4;
  --line: rgba(255, 255, 255, 0.1);
  --gold: #d1a95c;
  --gold-soft: rgba(209, 169, 92, 0.16);
  --accent: #b4442c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(180, 68, 44, 0.25), transparent 28%),
    radial-gradient(circle at top right, rgba(209, 169, 92, 0.18), transparent 24%),
    linear-gradient(180deg, #091017 0%, #101722 45%, #0b1017 100%);
  color: var(--text);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.hero,
.section,
.topbar {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.hero {
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  background: rgba(11, 16, 23, 0.62);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 18px;
  margin-top: 18px;
  z-index: 10;
}

.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.topbar-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.topbar-links a:hover,
.topbar-links a:focus-visible {
  color: var(--text);
}

.hero-content {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  padding-top: 64px;
}

.hero-copy,
.hero-card,
.highlight-card,
.program-card,
.video-card,
.summary-panel,
.request-form,
.request-phone,
.dialog-card,
.tags-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 44px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: '';
  position: absolute;
  inset: auto -60px -70px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(209, 169, 92, 0.26), transparent 70%);
  pointer-events: none;
}

.eyebrow,
.section-kicker,
.hero-card-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-copy h1,
.section-heading h2,
.request-copy h2,
.dialog-card h2 {
  margin: 16px 0 0;
  font-family: 'Cormorant Garamond', serif;
  line-height: 0.95;
  font-weight: 600;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3rem);
}

.hero-text,
.about-copy p,
.request-copy p,
.program-card p,
.video-card p,
.hero-grid p,
.request-benefits p,
.highlight-label,
.summary-lines,
.form-note,
.video-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.02rem;
}

.hero-actions,
.form-actions,
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), #f0c571);
  color: #24170b;
  font-weight: 700;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  display: grid;
  align-content: start;
  gap: 22px;
}

.hero-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-photo-face-priority {
  object-position: 50% 18%;
}

.hero-card h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  gap: 18px;
}

.hero-grid div {
  padding: 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-grid strong,
.request-benefits strong,
.summary-title,
.program-card h3,
.video-card h3 {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.section {
  padding: 40px 0 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.request-copy h2,
.dialog-card h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.about-layout,
.request {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 24px;
  margin-top: 24px;
}

.about-copy,
.request-copy {
  padding: 18px 6px 18px 0;
}

.tags-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px;
}

.tags-card span {
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--text);
  border: 1px solid rgba(209, 169, 92, 0.25);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.highlight-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.highlight-value {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
}

.highlight-label {
  margin: 0;
}

.program-grid,
.video-grid,
.audio-grid,
.photo-grid {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.program-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.video-grid {
  grid-template-columns: repeat(2, 1fr);
}

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

.photo-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}

.program-card,
.video-card,
.audio-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.program-card h3,
.video-card h3,
.audio-card h3 {
  margin-top: 0;
}

.audio-card {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.audio-card audio {
  width: 100%;
  margin-top: 10px;
}

.photo-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
  box-shadow: var(--shadow);
}

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

.photo-card-portrait {
  object-position: center 18%;
}

.photo-card-portrait-lower {
  object-position: center 28%;
}

.photo-card-portrait-lowest {
  object-position: center 38%;
}

.photo-card-face-priority {
  object-position: center 0%;
}

.video-frame {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  margin-bottom: 18px;
  position: relative;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame-idle {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.55));
}

.video-frame-active {
  background: #05070b;
}

.video-poster {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.video-poster:hover img,
.video-poster:focus-visible img {
  transform: scale(1.04);
}

.video-poster-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 10px;
  text-align: center;
  background: linear-gradient(180deg, rgba(9, 16, 23, 0.12), rgba(9, 16, 23, 0.58));
  color: var(--text);
}

.video-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 1.7rem;
  padding-left: 4px;
}

.video-poster-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.video-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--gold);
}

.video-link:hover,
.video-link:focus-visible {
  color: #f0c571;
}

.local-video-element {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.request {
  align-items: start;
  padding-bottom: 72px;
}

.request.request-phone-mode {
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.request.request-phone-mode .request-copy {
  padding: 0;
}

.request.request-phone-mode .request-copy h2 {
  max-width: 760px;
}

.request.request-phone-mode .request-phone {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.request-benefits {
  display: grid;
  gap: 14px;
  margin: 30px 0;
}

.request-benefits div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}

.summary-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.summary-title {
  margin: 0 0 14px;
}

.summary-lines {
  display: grid;
  gap: 10px;
}

.summary-line {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.request-form {
  padding: 30px;
  border-radius: var(--radius-xl);
}

.request-phone {
  padding: 30px;
  border-radius: var(--radius-xl);
  display: grid;
  align-content: start;
  gap: 18px;
}

.request-phone-button {
  justify-self: start;
  min-width: 180px;
}

.request-phone-kicker {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.88rem;
}

.request-phone-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  color: var(--text);
}

.request-phone-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
}

.request-form span {
  font-size: 0.95rem;
  color: #efe2d1;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: rgba(209, 169, 92, 0.7);
  box-shadow: 0 0 0 4px rgba(209, 169, 92, 0.12);
}

.request-form option {
  background: #141b23;
}

.full-width {
  margin-top: 16px;
}

.request-form .form-actions {
  margin-top: 24px;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0 24px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-note {
  margin: 14px 0 0;
  min-height: 24px;
}

.dialog {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(12px);
}

.hidden {
  display: none;
}

.dialog-card {
  width: min(760px, 100%);
  padding: 30px;
  border-radius: 30px;
  position: relative;
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.dialog-card pre {
  white-space: pre-wrap;
  margin: 20px 0 24px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  line-height: 1.65;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-dialog-card {
  display: grid;
  gap: 20px;
}

.phone-dialog-number {
  display: inline-flex;
  justify-self: start;
  margin-top: 4px;
}

@media (max-width: 1040px) {
  .hero-content,
  .about-layout,
  .request,
  .program-grid,
  .video-grid,
  .highlights,
  .audio-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topbar {
    border-radius: 28px;
  }
}

@media (max-width: 720px) {
  .hero,
  .section,
  .topbar {
    width: min(calc(100% - 20px), var(--container));
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links,
  .field-grid,
  .hero-actions,
  .form-actions,
  .dialog-actions {
    width: 100%;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .topbar-links {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-content {
    padding-top: 18px;
  }

  .hero-card,
  .hero-copy,
  .request-form,
  .request-phone,
  .dialog-card {
    padding: 22px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .photo-card-large {
    grid-column: span 1;
    grid-row: span 1;
  }
}
