:root {
  --bg: #efede7;
  --surface: rgba(247, 244, 237, 0.66);
  --ink: #161515;
  --muted: #4d4b47;
  --line: rgba(22, 21, 21, 0.17);
  --line-strong: rgba(22, 21, 21, 0.3);
  --accent: #57476a;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 28px 70px rgba(18, 17, 18, 0.14);
  --hero-video-shift-y: 14px;
  --hero-video-scale: 1.04;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f1eee7 0%, #ebe8e0 100%);
  line-height: 1.5;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 11%, rgba(255, 255, 255, 0.85), transparent 36%),
    radial-gradient(circle at 83% 9%, rgba(164, 146, 185, 0.26), transparent 30%);
  z-index: -1;
}

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

main {
  padding: 0 0 3.6rem;
}

.hero-shell {
  width: 100vw;
  margin: 0 0 5rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}

.site-header {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: min(1240px, calc(100% - 3rem));
  transform: translateX(-50%);
  z-index: 4;
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 0.79rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 246, 239, 0.95);
  font-weight: 600;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

nav a {
  color: rgba(250, 248, 241, 0.8);
  font-size: 0.86rem;
  transition: color 180ms ease;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.42);
}

nav a:hover {
  color: #fff;
}

.hero {
  min-height: 100svh;
  border-radius: 0;
  overflow: clip;
  border: 0;
  box-shadow: none;
  position: relative;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
  transform:
    translateY(var(--hero-video-shift-y))
    scale(var(--hero-video-scale));
  filter: saturate(0.9) contrast(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.15) 0%, rgba(7, 7, 7, 0.53) 68%, rgba(7, 7, 7, 0.77) 100%),
    linear-gradient(90deg, rgba(7, 7, 7, 0.57) 0%, rgba(7, 7, 7, 0.17) 56%, rgba(7, 7, 7, 0.06) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(9.5rem, 14vh, 12.4rem) 0 2.3rem;
}

.eyebrow,
.kicker {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow {
  color: rgba(236, 231, 221, 0.95);
}

h1,
h2,
h3 {
  margin: 0;
}

.hero h1 {
  font-family: "Newsreader", "Times New Roman", serif;
  color: #f8f5ef;
  font-size: clamp(2.3rem, 5.5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12.8ch;
}

.lede {
  margin: 1.1rem 0 0;
  color: rgba(241, 236, 226, 0.95);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  max-width: 57ch;
}

.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.74rem;
}

.hero-note {
  position: absolute;
  right: max(1.5rem, calc((100vw - 1240px) / 2 + 0.5rem));
  bottom: 1.15rem;
  z-index: 2;
  border-radius: 999px;
  border: 1px solid rgba(236, 231, 220, 0.46);
  padding: 0.4rem 0.76rem;
  color: rgba(244, 238, 228, 0.86);
  font-size: 0.81rem;
  backdrop-filter: blur(5px);
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 170ms ease, background-color 170ms ease, border-color 170ms ease, color 170ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f6f3ec;
  color: #171616;
  border-color: #f6f3ec;
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-secondary {
  border-color: rgba(244, 240, 230, 0.82);
  color: #f4f1ea;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 234, 0.56);
  border-radius: 0;
  color: rgba(245, 242, 235, 0.92);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.42);
  padding: 0.3rem 0;
}

.btn-ghost:hover {
  background: transparent;
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.88);
  transform: none;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 0.5rem 5rem;
}

.kicker {
  color: #5f5d57;
}

.split-head {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.3rem;
  align-items: end;
}

.section h2 {
  font-family: "Newsreader", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3.1vw, 3.05rem);
  line-height: 1.04;
  letter-spacing: -0.014em;
  max-width: 21ch;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  max-width: 47ch;
}

.text-link {
  justify-self: end;
  align-self: center;
  color: #3b3050;
  border-bottom: 1px solid rgba(59, 48, 80, 0.45);
  font-size: 0.95rem;
  font-weight: 600;
  padding-bottom: 0.14rem;
}

.pain-list {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.pain-list article {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.pain-list h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

.pain-list p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  margin-top: 1.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: clip;
}

.service {
  display: grid;
  grid-template-columns: 0.18fr 0.8fr 1.6fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
}

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

.service-num,
.step {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #5f5870;
  font-weight: 700;
  margin-top: 0.32rem;
}

.service h3 {
  font-size: 1.15rem;
  font-family: "Manrope", "Avenir Next", sans-serif;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.process-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.process-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(248, 245, 238, 0.52);
}

.process-card h3 {
  margin-top: 0.35rem;
  font-size: 1.07rem;
  letter-spacing: -0.015em;
}

.process-card p:last-child {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking {
  padding-bottom: 1.4rem;
}

.cta-panel {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: rgba(249, 246, 239, 0.72);
  padding: clamp(1.3rem, 3vw, 2.1rem);
  max-width: 940px;
  display: grid;
  gap: 1rem;
}

.cta-panel h2 {
  max-width: 16ch;
}

.cta-panel .section-intro {
  max-width: 54ch;
}

.cta-panel .btn {
  justify-self: start;
}

.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1rem 1.8rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #52514c;
  font-size: 0.92rem;
}

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

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

@media (max-width: 1040px) {
  nav {
    display: none;
  }

  .split-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .text-link {
    justify-self: start;
  }

  .pain-list article,
  .service {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

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

  .hero {
    min-height: 87vh;
  }

  .hero-content {
    max-width: calc(100% - 2rem);
    padding-top: 8.9rem;
  }
}

@media (min-width: 1041px) {
  .hero-video {
    object-position: center 60%;
  }
}

@media (max-width: 680px) {
  :root {
    --hero-video-shift-y: 10px;
    --hero-video-scale: 1.03;
  }

  main {
    padding: 0 0 3rem;
  }

  .hero-shell {
    margin-bottom: 3.6rem;
  }

  .site-header {
    top: 0.72rem;
    left: 50%;
    width: calc(100% - 1.4rem);
    padding: 0.2rem 0;
  }

  .brand {
    font-size: 0.7rem;
  }

  .btn-ghost {
    font-size: 0.69rem;
    padding: 0.2rem 0;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    max-width: calc(100% - 1.4rem);
    padding: 7rem 0 1.5rem;
  }

  .hero h1 {
    line-height: 1.01;
  }

  .hero-note {
    right: auto;
    left: 0.95rem;
    bottom: 0.9rem;
  }

  .btn {
    font-size: 0.79rem;
  }

  .section {
    padding: 0 0.25rem 3.9rem;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 1.3rem;
  }
}

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