:root {
  color-scheme: dark;
  --bg: oklch(0.095 0.032 155);
  --bg-2: oklch(0.135 0.04 155);
  --surface: oklch(0.165 0.043 154);
  --ink: oklch(0.952 0.018 92);
  --muted: oklch(0.745 0.026 118);
  --quiet: oklch(0.58 0.025 125);
  --gold: oklch(0.795 0.115 84);
  --gold-soft: oklch(0.89 0.072 86);
  --action: oklch(0.225 0.06 154);
  --line: oklch(0.43 0.055 120 / 0.38);
  --max: 1160px;
  --radius: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 18%, oklch(0.22 0.052 154 / 0.34), transparent 28rem),
    linear-gradient(180deg, var(--bg-2), var(--bg) 54%, oklch(0.072 0.022 155));
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 19;
  background: oklch(0.055 0.018 155 / 0.58);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
}

body.is-leaving {
  pointer-events: none;
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 44px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(0.075 0.022 155 / 0.82);
  border-bottom: 1px solid oklch(0.795 0.115 84 / 0.2);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: 236px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-soft);
}

.mobile-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(0.12 0.032 155);
  color: var(--gold-soft);
  position: relative;
  z-index: 27;
  transition: border-color 220ms var(--ease), background 220ms var(--ease), transform 180ms var(--ease);
}

.mobile-nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transform-origin: center;
  transition: opacity 180ms var(--ease), transform 240ms var(--ease);
}

.mobile-nav-toggle:hover {
  border-color: var(--gold);
  background: var(--action);
}

.mobile-nav-toggle:active {
  transform: scale(0.96);
}

body.nav-open .mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-action-bar {
  display: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Optima, Georgia, "Times New Roman", serif;
  font-weight: 500;
  text-wrap: balance;
}

h1 {
  max-width: 660px;
  margin-bottom: 22px;
  font-size: clamp(3.7rem, 7vw, 5rem);
  line-height: 0.96;
}

.hero-title {
  width: min(100%, 820px);
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.hero-title span {
  display: block;
}

.page-title {
  width: min(100%, 720px);
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
}

.page-title span {
  display: block;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.5vw, 4.7rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  line-height: 1.2;
}

.overline {
  margin-bottom: 18px;
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.lead {
  max-width: 610px;
  margin-bottom: 30px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  line-height: 1.68;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--action);
  color: var(--gold-soft);
}

.button-primary:hover {
  background: oklch(0.27 0.068 154);
}

.proof {
  border-block: 1px solid var(--line);
  background: oklch(0.075 0.022 155 / 0.44);
}

.proof-inner {
  padding-block: clamp(50px, 8vw, 92px);
}

.proof-head {
  max-width: 760px;
  margin: 0 auto clamp(26px, 4vw, 42px);
  text-align: center;
}

.proof-head h2 {
  margin-inline: auto;
  margin-bottom: 14px;
  font-size: clamp(2.18rem, 5vw, 4.2rem);
}

.proof-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.testimonial-grid {
  width: min(100%, 980px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.testimonial {
  min-height: 100%;
  margin: 0;
  padding: clamp(24px, 3vw, 34px);
  background: oklch(0.105 0.03 155);
}

.testimonial blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.testimonial figcaption {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  color: var(--quiet);
  line-height: 1.35;
}

.testimonial strong {
  color: var(--gold-soft);
  font-weight: 700;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  padding-block: clamp(46px, 6vw, 76px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(26px, 4vw, 40px);
  align-items: center;
  text-align: center;
}

.hero-copy,
.page-copy {
  width: min(100%, 760px);
  margin-inline: auto;
  text-align: center;
}

.page-copy h1 {
  margin-inline: auto;
  text-align: center;
}

.media-frame,
.video-frame,
.calendar-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid oklch(0.795 0.115 84 / 0.36);
  border-radius: var(--radius);
  background: var(--surface);
}

.media-frame img,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  width: min(100%, 600px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}

.metrics {
  border-block: 1px solid var(--line);
  background: oklch(0.075 0.022 155 / 0.42);
}

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

.metrics-grid div {
  padding: clamp(22px, 3vw, 36px) 0;
  text-align: center;
}

.metrics-grid b {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.95;
  font-weight: 500;
}

.metrics-grid span {
  color: var(--muted);
}

.section {
  padding-block: clamp(74px, 10vw, 136px);
}

.simple-grid,
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(28px, 5vw, 54px);
  align-items: start;
  max-width: 940px;
  text-align: center;
}

.service-list {
  display: grid;
  gap: 0;
  width: min(100%, 760px);
  margin: 34px auto 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  text-align: center;
}

.service-list span {
  color: var(--ink);
}

.closing {
  padding-top: 0;
}

.closing-inner {
  max-width: 760px;
  margin-inline: auto;
  padding-block: clamp(58px, 9vw, 112px);
  border-top: 1px solid oklch(0.795 0.115 84 / 0.32);
  text-align: center;
}

.closing-inner p:not(.overline) {
  max-width: 620px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.site-footer {
  padding-block: 34px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
}

.footer-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid img {
  width: 172px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--gold-soft);
}

.page-hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
  padding-block: clamp(58px, 8vw, 112px);
}

.page-stack {
  max-width: 1040px;
  margin-inline: auto;
  text-align: center;
}

.video-frame {
  width: min(100%, 900px);
  aspect-ratio: 16 / 9;
  margin: clamp(30px, 5vw, 56px) auto 0;
}

.play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.play span {
  display: grid;
  width: clamp(70px, 9vw, 108px);
  height: clamp(70px, 9vw, 108px);
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--bg);
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700;
}

.below-video {
  width: min(100%, 900px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
}

.below-video p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
  text-align: left;
}

.speed-controls {
  width: min(100%, 900px);
  margin: 18px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
}

.speed-controls span {
  margin-right: 2px;
}

.speed-controls button {
  min-width: 54px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(0.12 0.032 155);
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), background 180ms var(--ease);
}

.speed-controls button:hover,
.speed-controls button.is-active {
  border-color: var(--gold);
  background: var(--action);
  color: var(--gold-soft);
}

.speed-controls button:active {
  transform: translateY(1px);
}

.calendar-frame {
  width: min(100%, 900px);
  margin-inline: auto;
  min-height: min(720px, calc(100dvh - 150px));
}

.calendar-frame iframe {
  display: none;
  width: 100%;
  min-height: min(720px, calc(100dvh - 150px));
  border: 0;
  overflow: hidden;
}

.calendar-frame.calendar-live iframe {
  display: block;
}

.calendar-fallback {
  min-height: min(720px, calc(100dvh - 150px));
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(30px, 5vw, 58px);
  background:
    linear-gradient(135deg, oklch(0.18 0.05 154), oklch(0.095 0.028 155));
}

.calendar-frame.calendar-live .calendar-fallback {
  display: none;
}

.calendar-fallback time {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
}

.calendar-fallback p {
  max-width: 380px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.reveal {
  opacity: 1;
  transform: none;
}

.legal-page {
  padding-bottom: clamp(30px, 5vw, 64px);
}

.legal-hero {
  padding-block: clamp(58px, 8vw, 108px) clamp(26px, 4vw, 42px);
  text-align: center;
}

.legal-hero h1 {
  margin-inline: auto;
}

.legal-updated {
  margin: 0;
  color: var(--gold-soft);
}

.legal-document {
  max-width: 920px;
  padding-bottom: clamp(60px, 8vw, 96px);
}

.legal-note {
  margin: 0 0 26px;
  padding: 18px 20px;
  border: 1px solid oklch(0.795 0.115 84 / 0.34);
  border-radius: var(--radius);
  background: oklch(0.13 0.036 155);
  color: var(--gold-soft);
  line-height: 1.58;
}

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.legal-toc a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--muted);
}

.legal-toc a:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.legal-section {
  padding-block: clamp(22px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.legal-section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  max-width: 760px;
  margin-inline: auto;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.08;
  text-align: center;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.legal-section p {
  max-width: 760px;
  margin-inline: auto;
}

.legal-section ul {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 18px auto 0;
  padding-left: 1.2rem;
}

.legal-section strong {
  color: var(--ink);
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: page-enter 520ms var(--ease) both;
  }

  body.is-leaving {
    animation: page-leave 180ms var(--ease) both;
  }

  .site-header {
    animation: header-enter 520ms var(--ease) both;
  }

  .reveal {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
    transition: opacity 680ms var(--ease), transform 680ms var(--ease), filter 680ms var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }

  .hero-copy.reveal,
  .page-copy.reveal {
    transition-delay: 60ms;
  }

  .media-frame.reveal,
  .calendar-frame.reveal,
  .video-frame.reveal {
    transition-delay: 150ms;
  }

  @keyframes page-enter {
    from {
      opacity: 0;
      transform: translateY(10px);
      filter: blur(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }

  @keyframes page-leave {
    to {
      opacity: 0;
      transform: translateY(8px);
      filter: blur(5px);
    }
  }

  @keyframes header-enter {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 920px) {
  .mobile-nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    left: 50%;
    z-index: 26;
    width: min(calc(100% - 32px), 380px);
    display: flex;
    padding: 12px;
    border: 1px solid oklch(0.795 0.115 84 / 0.34);
    border-radius: 18px;
    background: oklch(0.075 0.022 155 / 0.76);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-50%, -10px) scale(0.98);
    transition: opacity 220ms var(--ease), transform 260ms var(--ease), visibility 220ms var(--ease);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(-50%, 0) scale(1);
  }

  body:not(.nav-open) .nav-links {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translate(-50%, -10px) scale(0.98);
  }

  .nav-links a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-align: center;
  }

  .nav-links a:not(.button) {
    border: 1px solid oklch(0.795 0.115 84 / 0.2);
    background: oklch(0.12 0.032 155 / 0.58);
    color: var(--gold-soft);
  }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-grid,
  .simple-grid,
  .page-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

  .metrics-grid div + div {
    border-top: 1px solid var(--line);
  }

  .below-video {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .below-video p {
    text-align: center;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
    background:
      radial-gradient(circle at 90% 8%, oklch(0.22 0.052 154 / 0.28), transparent 18rem),
      linear-gradient(180deg, var(--bg-2), var(--bg) 54%, oklch(0.072 0.022 155));
  }

  .shell {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 66px;
  }

  .brand {
    width: 170px;
  }

  h1 {
    margin-bottom: 16px;
    font-size: clamp(2.42rem, 11.2vw, 3.1rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.35rem);
  }

  .overline {
    margin-bottom: 12px;
    font-size: 0.88rem;
  }

  .lead {
    max-width: 34ch;
    margin-bottom: 22px;
    font-size: 1.01rem;
    line-height: 1.56;
  }

  .hero,
  .page-hero {
    padding-block: 44px 38px;
  }

  .hero {
    padding-bottom: 14px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-media {
    width: min(100%, 330px);
    margin-inline: auto;
    aspect-ratio: 16 / 9;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 18px;
  }

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

  .metrics-grid div {
    padding: 18px 8px 20px;
  }

  .metrics-grid div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .metrics-grid b {
    margin-bottom: 4px;
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .metrics-grid span {
    display: block;
    max-width: none;
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .section {
    padding-block: 64px;
  }

  .simple-grid {
    gap: 18px;
  }

  .service-list {
    margin-top: 24px;
  }

  .service-list li {
    padding: 15px 0;
    font-size: 1.06rem;
  }

  .closing-inner {
    padding-block: 58px;
  }

  .page-grid {
    gap: 26px;
  }

  .page-stack {
    max-width: none;
  }

  .video-frame {
    margin-top: 26px;
  }

  .below-video {
    gap: 18px;
    padding-top: 18px;
  }

  .calendar-frame,
  .calendar-fallback {
    min-height: 460px;
  }

  .calendar-fallback {
    align-content: center;
    padding: 26px;
  }

  .calendar-fallback time {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .legal-note {
    text-align: center;
  }

  .legal-toc {
    justify-content: center;
  }

  .legal-section ul {
    padding-left: 1rem;
    text-align: left;
  }

  .mobile-action-bar {
    position: fixed;
    inset: auto 12px 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 0.78fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid oklch(0.795 0.115 84 / 0.42);
    border-radius: 999px;
    background: oklch(0.075 0.022 155 / 0.95);
  }

  .mobile-action-bar a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
  }

  .mobile-action-bar .mobile-action-primary {
    background: var(--action);
    border: 1px solid var(--gold);
    color: var(--gold-soft);
  }

  body.legal-body {
    padding-bottom: 0;
  }

  body.legal-body .mobile-action-bar {
    display: none;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: white;
    color: #14231d;
    font-family: Arial, Helvetica, sans-serif;
  }

  .site-header,
  .site-footer,
  .mobile-action-bar,
  .legal-toc {
    display: none;
  }

  .shell,
  .legal-document {
    width: 100%;
    max-width: none;
  }

  .legal-page,
  .legal-document,
  .legal-hero {
    padding: 0;
  }

  .legal-hero {
    margin-bottom: 24px;
    text-align: left;
  }

  .legal-hero h1,
  .legal-section h2,
  .legal-section p,
  .legal-section ul {
    max-width: none;
    text-align: left;
  }

  .legal-hero h1,
  .legal-section h2 {
    color: #0d241a;
  }

  .legal-note {
    border: 1px solid #9b7b2c;
    background: #f7f4ea;
    color: #2b2619;
  }

  .legal-section {
    break-inside: avoid;
    page-break-inside: avoid;
    border-top: 1px solid #d6caa7;
  }

  .legal-section p,
  .legal-section li,
  .legal-updated {
    color: #30473c;
  }
}
