:root {
  --navy: #071b34;
  --navy-2: #0f2c4d;
  --charcoal: #242a31;
  --muted: #68717d;
  --line: #dfe5eb;
  --soft: #f5f7f8;
  --paper: #ffffff;
  --gold: #b9924b;
  --gold-soft: #f4ead8;
  --sage: #6f8277;
  --shadow: 0 24px 70px rgba(7, 27, 52, 0.14);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(185, 146, 75, 0.55);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section {
  padding: 96px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 229, 235, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100% - 32px), 1200px);
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  display: block;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #4c5662;
  font-size: 0.92rem;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(7, 27, 52, 0.18);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 156px 0 92px;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 27, 52, 0.94) 0%, rgba(7, 27, 52, 0.72) 45%, rgba(7, 27, 52, 0.2) 100%),
    linear-gradient(0deg, rgba(7, 27, 52, 0.84) 0%, rgba(7, 27, 52, 0.05) 42%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 56px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.3rem);
  font-weight: 500;
}

.hero-subhead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.button-primary {
  color: #101820;
  background: linear-gradient(135deg, #d9bd7a, var(--gold));
  box-shadow: 0 16px 40px rgba(185, 146, 75, 0.32);
}

.button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.offer-line {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.diagnostic-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--charcoal);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.diagnostic-panel > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.diagnostic-panel > div:first-child {
  padding-top: 0;
}

.diagnostic-panel > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-label {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.diagnostic-panel strong {
  display: block;
  color: var(--navy);
  line-height: 1.35;
}

.intro-band {
  padding: 58px 0;
  background: var(--navy);
  color: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr 1fr;
  gap: 34px;
  align-items: start;
}

.intro-grid h2,
.intro-grid p {
  margin: 0;
}

.intro-grid h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.narrow {
  max-width: 690px;
  margin-inline: auto;
  text-align: center;
}

.section h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 500;
}

.section-heading p:not(.section-kicker),
.split-layout p,
.about-grid p,
.booking-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.testimonial-card,
.timeline-step,
.takeaway-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.card {
  min-height: 230px;
  padding: 28px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 146, 75, 0.44);
  box-shadow: 0 18px 50px rgba(7, 27, 52, 0.1);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.card h3,
.timeline-step h3 {
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.2;
  font-size: 1.18rem;
}

.card p,
.timeline-step p,
.testimonial-card figcaption,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.accent-card {
  background: var(--gold-soft);
  border-color: rgba(185, 146, 75, 0.34);
}

.stuck-section,
.testimonials-section {
  background: var(--soft);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: 0.82fr 1.18fr;
}

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

.pattern-board span {
  min-height: 92px;
  display: flex;
  align-items: end;
  padding: 18px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(7, 27, 52, 0.06);
}

.pattern-board span:last-child {
  grid-column: 1 / -1;
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.diagnostic-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 55%, var(--soft) 55%, var(--soft) 100%);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.timeline-step {
  min-height: 270px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.timeline-step::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.takeaway-section {
  padding-top: 72px;
}

.takeaway-card {
  padding: 34px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.price-label {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 800;
}

.takeaway-card strong {
  display: block;
  margin: 10px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  font-weight: 500;
}

.takeaway-card span {
  display: block;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.74);
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #48515b;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 45%, var(--gold) 46% 56%, transparent 57%),
    linear-gradient(45deg, transparent 48%, var(--gold) 49% 59%, transparent 60%);
}

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 68px;
  align-items: center;
}

.portrait-card {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(7, 27, 52, 0.98), rgba(15, 44, 77, 0.9)),
    linear-gradient(45deg, rgba(185, 146, 75, 0.22), transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.portrait-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 189, 122, 0.35);
}

.portrait-card strong,
.portrait-card span {
  display: block;
}

.portrait-card strong {
  font-size: 1.4rem;
}

.portrait-card span {
  color: rgba(255, 255, 255, 0.68);
}

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

.testimonial-card {
  margin: 0;
  padding: 30px;
  background: #fff;
}

.testimonial-card blockquote {
  margin: 0 0 20px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.35;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--navy);
  font-weight: 900;
}

details p {
  padding: 0 22px 22px;
}

.booking-section {
  color: #fff;
  background: var(--navy);
}

.booking-section h2 {
  color: #fff;
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
  align-items: start;
}

.booking-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.booking-link-panel {
  margin-top: 32px;
  padding: 26px;
  border: 1px dashed rgba(217, 189, 122, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.booking-link-panel span,
.booking-link-panel strong,
.booking-link-panel small {
  display: block;
}

.booking-link-panel span {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.booking-link-panel strong {
  margin-top: 8px;
  font-size: 1.2rem;
}

.booking-link-panel .button {
  width: fit-content;
  margin-inline: auto;
  margin-top: 20px;
}

.booking-link-panel small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
}

.site-footer {
  padding: 28px 0;
  color: #65707c;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid p {
  margin: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 74px 0;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 136px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(7, 27, 52, 0.94), rgba(7, 27, 52, 0.78));
  }

  .hero-grid,
  .intro-grid,
  .split-layout,
  .split-layout.reverse,
  .about-grid,
  .faq-grid,
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .split-layout,
  .about-grid,
  .faq-grid,
  .booking-grid {
    gap: 36px;
  }

  .diagnostic-panel,
  .booking-grid {
    max-width: 100%;
  }

  .card-grid,
  .timeline,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-step {
    min-height: 230px;
  }

  .booking-grid {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    padding: 10px 0;
  }

  .nav {
    width: min(calc(100% - 20px), 1200px);
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  .hero {
    padding: 120px 0 58px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button-secondary {
    background: rgba(255, 255, 255, 0.1);
  }

  .card-grid,
  .timeline,
  .testimonial-grid,
  .pattern-board {
    grid-template-columns: 1fr;
  }

  .pattern-board span:last-child {
    grid-column: auto;
  }

  .card,
  .timeline-step,
  .takeaway-card,
  .testimonial-card {
    padding: 24px;
  }

  .timeline-step {
    min-height: auto;
  }

  .timeline-step span {
    margin-bottom: 34px;
  }

  .portrait-card {
    min-height: 340px;
  }

  .footer-grid {
    flex-direction: column;
  }
}
