:root {
  --brand-50: #fbf1ed;
  --brand-100: #f5ddd2;
  --brand-300: #e0a48a;
  --brand-500: #cc785c;
  --brand-600: #b8593a;
  --brand-700: #944833;
  --ink: #0a0a0a;
  --ink-2: #4a4a4a;
  --ink-3: #8a8a8a;
  --surface: #fff;
  --surface-2: #fafaf8;
  --surface-3: #f4f2ee;
  --line: #e8e5e0;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --header-h: 4.75rem;
  --shadow-cta: 0 1px 2px rgba(10, 10, 10, 0.06);
  --max: 64rem;
  --max-wide: 72rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  background: var(--surface);
  color: var(--ink);
  antialiased: true;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
  color: var(--ink);
}

h1 {
  font-family: var(--font-serif);
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-size: 2.25rem;
}

h2 {
  font-family: var(--font-serif);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-size: 1.875rem;
}

h3 {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: 1.5rem;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
summary {
  font: inherit;
}

/* Header: logo + booking CTA only, no nav links */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  height: 52px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--brand-500);
  color: #fff;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: var(--shadow-cta);
  text-align: center;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-600);
}

.btn:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 3px;
}

.btn-header {
  font-size: 0.8125rem;
  padding: 0.5rem 0.9rem;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.875rem 1.75rem;
  width: 100%;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wrap-wide {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--surface-2);
}

.section-brand {
  background: var(--brand-50);
}

/* Hero */
.hero {
  text-align: center;
  padding: 3.5rem 0 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-500);
  flex: 0 0 auto;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.9);
  }
}

.hero h1 {
  max-width: 18ch;
  margin: 0 auto;
}

.lede,
.section-body {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--ink-2);
}

.hero .lede {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-block {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--ink-3);
  font-style: italic;
}

/* Portfolio */
.portfolio-head {
  text-align: center;
  margin-bottom: 2rem;
}

.portfolio-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 1.5rem 1.25rem;
  margin: 0 -1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-300) transparent;
}

.portfolio-item {
  flex: 0 0 58%;
  max-width: 18rem;
  scroll-snap-align: start;
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--line);
  cursor: pointer;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card .hint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.video-card .hint svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-left: 2px;
}

.video-card.is-playing .hint {
  opacity: 0;
}

.caption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.disclaimer {
  margin-top: 1.75rem;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-3);
  font-style: italic;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Prose sections */
.section-title {
  max-width: 22ch;
}

.section-head {
  margin-bottom: 1.5rem;
}

.prose p + p {
  margin-top: 1rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.stack li,
.feature {
  list-style: none;
  color: var(--ink-2);
  line-height: 1.625;
  font-size: 1.0625rem;
}

.feature strong,
.stack li strong {
  color: var(--ink);
  font-weight: 600;
}

.note {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.625;
  color: var(--ink-2);
}

.note strong {
  color: var(--ink);
  font-weight: 600;
}

.subhead {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* Steps */
.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.step {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.9rem;
  align-items: start;
  color: var(--ink-2);
  font-size: 1.0625rem;
  line-height: 1.625;
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex: 0 0 auto;
}

.step strong {
  color: var(--ink);
  font-weight: 600;
}

/* Fit */
.fit-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.fit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
}

.fit-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.fit-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fit-card li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-2);
  line-height: 1.5;
}

.fit-yes li::before,
.fit-no li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
}

.fit-yes li::before {
  background: var(--brand-500);
}

.fit-no li::before {
  background: var(--ink-3);
}

/* FAQ */
.faq-list {
  margin-top: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .plus {
  color: var(--ink-3);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.15s ease;
  flex: 0 0 auto;
}

.faq-item[open] .plus {
  transform: rotate(45deg);
}

.faq-item .answer {
  padding: 0 0 1.25rem;
  color: var(--ink-2);
  line-height: 1.625;
}

/* Final CTA */
.final {
  text-align: center;
}

.final h2 {
  max-width: 20ch;
  margin: 0 auto;
}

.final .lede {
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.final .cta-block {
  margin-top: 2rem;
}

/* Footer: logo only, no extra copy or outbound links */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  display: flex;
  justify-content: center;
}

.footer img {
  height: 72px;
  width: auto;
}

@media (min-width: 640px) {
  .header-inner,
  .wrap,
  .wrap-wide {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .logo img {
    height: 68px;
  }

  .btn-header {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .btn-lg {
    width: auto;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero {
    padding: 5rem 0 5.5rem;
  }

  .hero .lede,
  .section-body,
  .lede {
    font-size: 1.25rem;
  }

  .section {
    padding: 5.5rem 0;
  }

  .portfolio-grid {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-left: -2rem;
    margin-right: -2rem;
  }

  .portfolio-item {
    flex-basis: 42%;
  }
}

@media (min-width: 900px) {
  h1 {
    font-size: 3.75rem;
  }

  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem 1.15rem;
    overflow: visible;
    scroll-snap-type: none;
    margin: 0;
    padding: 0;
  }

  .portfolio-item {
    flex: none;
    max-width: none;
    scroll-snap-align: unset;
  }

  .portfolio-item:nth-child(-n + 3) {
    grid-column: span 4;
  }

  .portfolio-item:nth-child(n + 4):nth-child(-n + 7) {
    grid-column: span 3;
  }

  .portfolio-item:nth-child(n + 8) {
    grid-column: span 4;
  }

  .fit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .steps {
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pulse-dot {
    animation: none;
  }
}
