/* ============================================================
   THEME — Apple-clean palette · A24 grotesque type · Contino blur-focus motion
   Swap the colors in :root to re-skin the whole site.
============================================================ */
:root {
  --bg: #ffffff;          /* white */
  --bg-alt: #f5f5f7;      /* Apple light gray */
  --ink: #1d1d1f;         /* Apple near-black */
  --ink-soft: #6e6e73;    /* Apple secondary gray */
  --accent: #0071e3;      /* Apple blue */
  --accent-dark: #0077ed; /* hover blue */
  --accent-soft: #ebf3fe; /* pale blue */
  --card: #ffffff;
  --border: #d2d2d7;      /* Apple hairline */
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  --radius: 18px;
  --maxw: 1080px;
  --ink-deep: #000000;    /* intro backdrop */
  /* A24 / Apple neo-grotesque: SF Pro on Apple, Helvetica Neue elsewhere */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Lock scroll while the intro is playing */
body.intro-lock { overflow: hidden; }

/* ============================================================
   SIGNATURE MOTION — blur-to-focus reveal (à la Contino)
   Used for the intro lines AND the hero, so it feels intentional.
============================================================ */
@keyframes focusIn {
  from { opacity: 0; filter: blur(16px); transform: translateY(12px); }
  to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
}

/* ===================== INTRO ===================== */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(900px 600px at 50% 42%, rgba(255,255,255,0.06), transparent 70%),
    var(--ink-deep);
  transition: opacity .8s ease, visibility .8s ease;
}
.intro--done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-stage { max-width: 92vw; }
.intro-line {
  display: block;
  white-space: nowrap;           /* keep each line on one row */
  font-weight: 600;
  color: #f5f5f7;
  font-size: clamp(1.35rem, 4.8vw, 3.1rem);
  line-height: 1.32;
  letter-spacing: -0.03em;       /* A24-style tight tracking */
  opacity: 0;
  filter: blur(16px);
  transform: translateY(12px);
  animation: focusIn 1.5s var(--d, 0s) cubic-bezier(.2, .7, .2, 1) forwards;
}
.intro-skip {
  position: absolute;
  bottom: 34px;
  right: 34px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(245,245,247,0.5);
  background: transparent;
  border: 1px solid rgba(245,245,247,0.22);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.intro-skip:hover { color: #f5f5f7; border-color: rgba(245,245,247,0.55); }

/* ===================== HERO REVEAL (blur-focus on entry) ===================== */
.r { opacity: 0; filter: blur(14px); transform: translateY(12px); }
.revealed .r {
  animation: focusIn 1.3s var(--d, 0s) cubic-bezier(.2, .7, .2, 1) forwards;
}

/* ===================== FILM GRAIN (kept subtle for the clean look) ===================== */
.grain {
  position: fixed;
  inset: -150%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  animation: grain 0.7s steps(3) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-6%, 4%); }
  40%  { transform: translate(5%, -6%); }
  60%  { transform: translate(-4%, 5%); }
  80%  { transform: translate(6%, 3%); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .intro-line, .revealed .r { animation: none; opacity: 1; filter: none; transform: none; }
  .r { opacity: 1; filter: none; transform: none; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* A24-style tight, medium-weight grotesque headings */
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; margin: 0 0 0.4em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===================== BUTTONS (Apple pill) ===================== */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-small { padding: 9px 18px; font-size: .95rem; background: var(--accent); color: #fff; }
.btn-small:hover { background: var(--accent-dark); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark { display: inline-flex; color: var(--accent); }
.brand-mark svg { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-weight: 400; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links .btn-small { color: #fff; }

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
  padding: 120px 0 96px;
}
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: 0;
  padding: 7px 15px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -0.04em; line-height: 1.03; }
.lead { font-size: 1.25rem; color: var(--ink-soft); max-width: 660px; letter-spacing: -0.01em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 16px; }
.reassure { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ===================== TRUST STRIP ===================== */
.trust { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: .98rem;
}

/* ===================== SECTIONS ===================== */
.section { padding: 112px 0; }
.section-alt { background: var(--bg-alt); }

/* Small blue label above each section title — ties back to the hero eyebrow */
.kicker {
  text-align: center;
  color: var(--accent);
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.section-title { font-weight: 600; letter-spacing: -0.035em; font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.05; text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 1.2rem; letter-spacing: -0.01em; max-width: 600px; margin: 0 auto 64px; }

/* ===================== SCROLL REVEAL — blur-focus, the page's signature motion ===================== */
.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(20px);
  transition:
    opacity .9s cubic-bezier(.2, .7, .2, 1) var(--rd, 0s),
    filter  .9s cubic-bezier(.2, .7, .2, 1) var(--rd, 0s),
    transform .9s cubic-bezier(.2, .7, .2, 1) var(--rd, 0s);
  will-change: opacity, filter, transform;
}
.reveal.is-visible { opacity: 1; filter: blur(0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ===================== STEPS ===================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px 32px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.step h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.step p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }

/* ===================== CARDS ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 38px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.card p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }

/* ===================== ABOUT ===================== */
.about {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.about .kicker { text-align: left; color: var(--accent); }
.about .section-title { text-align: left; }
.about-text p { color: var(--ink-soft); font-size: 1.12rem; }
.about-text .btn { margin-top: 16px; }
.about-card {
  background: linear-gradient(160deg, var(--accent-soft), #fff);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 44px;
}
.about-card blockquote {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.35;
}

/* ===================== FAQ ===================== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent-dark); font-size: 1.4rem; font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { color: var(--ink-soft); margin: 14px 0 2px; }

/* ===================== BOOKING / CTA ===================== */
.section-cta { background: var(--bg-alt); }
.booking { text-align: center; }
.calendly-inline-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.booking-fallback { margin-top: 22px; color: var(--ink-soft); }

/* Placeholder shown until a real Calendly link is added */
.booking-placeholder {
  max-width: 620px;
  margin: 0 auto;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow);
}
.booking-placeholder__badge { font-size: 2.4rem; }
.booking-placeholder__title { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 6px; }
.booking-placeholder__hint { color: var(--ink-soft); max-width: 420px; margin: 0 auto 22px; }
.booking-placeholder__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ===================== FOOTER ===================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px 24px;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about .section-title { text-align: center; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }  /* keep nav clean on mobile, keep CTA */
}
