/* Fonts are self-hosted (no requests to Google). Both are SIL Open Font License, see fonts/OFL-*.txt */
@font-face {
  font-family: "Sacramento"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/sacramento-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
}

:root {
  /* Palette chosen by Aline */
  --paper: #F6E5DD;      /* blush */
  --paper-2: #EFD5CB;    /* placeholders, between blush and peach */
  --peach: #E7B1A4;
  --rose: #D9A89D;       /* dusty rose, used for the contact band */
  --ink: #32170A;        /* espresso */
  --taupe: #7A4A39;      /* terracotta darkened for readable secondary text */
  --mapping: #BC7E68;    /* terracotta rose: accents */
  --line: #E6C6BA;

  --display: "Sacramento", "Segoe Script", cursive;  /* handwritten, like her own pen */
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }
h2 { font-size: clamp(2.8rem, 8vw, 4rem); line-height: 1.05; }
h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
p { margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 50;
}
.skip:focus { left: 10px; top: 10px; }

/* Header */
.top {
  display: flex; justify-content: space-between; align-items: baseline;
  max-width: var(--max); margin: 0 auto;
  padding: 22px var(--gutter) 0;
}
.wordmark {
  font-family: var(--display); font-size: 2rem; line-height: 1; text-decoration: none;
}
.wordmark span { color: var(--mapping); }
.top-link { font-size: 0.95rem; font-weight: 500; text-underline-offset: 4px; }

/* Hero: handwritten title with a photo of a healed result */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 12px var(--gutter) 72px;
  display: grid; row-gap: 18px;
}
.hero-text { display: contents; }
.hero h1 { line-height: 1.12; }
.br-wide { display: none; }
.lede { font-size: 1.1rem; color: var(--taupe); max-width: 32rem; }
.price-line { font-size: 1.05rem; }
.price-line strong { font-size: 1.35rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 6px; }

.hero-photo { position: relative; overflow: hidden; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Phone: full-width photo with the title written over it */
@media (max-width: 859px) {
  .hero-photo, .hero h1 { grid-area: 1 / 1; }
  .hero .hero-photo { margin: 0 calc(var(--gutter) * -1); aspect-ratio: 3 / 4; }
  .hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(50,23,10,0) 40%, rgba(50,23,10,.65) 100%);
  }
  .hero h1 {
    align-self: end; z-index: 1;
    font-size: clamp(2.9rem, 12vw, 3.6rem);
    color: var(--paper); padding: 0 4px 22px;
    text-shadow: 0 1px 12px rgba(50,23,10,.35);
  }
}

/* Computer: title across the full width, text left, photo right */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto 1fr;
    column-gap: 56px; row-gap: 20px; align-items: start;
    padding-top: 56px; padding-bottom: 110px;
  }
  .hero h1 { grid-column: 1 / -1; font-size: clamp(3.3rem, 6.2vw, 5.6rem); margin-bottom: 16px; }
  .br-wide { display: inline; }
  .lede, .price-line, .actions { grid-column: 1; }
  .hero .hero-photo { grid-column: 2; grid-row: 2 / 6; aspect-ratio: 16 / 9; }
  .hero-photo img { object-position: 50% 40%; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 15px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background-color .2s;
}
.btn:hover { background: #55301c; }
.btn .wa { width: 20px; height: 20px; fill: currentColor; }
.btn-small { padding: 11px 20px; font-size: 0.95rem; }

.link { font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--mapping); text-decoration-thickness: 1.5px; }
.link:hover { color: var(--taupe); }

/* Sections */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: 64px var(--gutter);
  border-top: 1px solid var(--line);
}
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 36rem; }
.section-head p { color: var(--taupe); }
@media (min-width: 860px) { .section { padding-top: 96px; padding-bottom: 96px; } }

/* Before and after pairs */
.pairs { display: grid; gap: 28px; }
@media (min-width: 760px) { .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; } }
.pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tile { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.pair .tile:first-child { border-radius: 3px 0 0 3px; }
.pair .tile:last-child { border-radius: 0 3px 3px 0; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.tile-video video { background: var(--ink); }
.tag {
  position: absolute; left: 10px; top: 10px;
  background: var(--paper); color: var(--ink);
  font-size: 0.8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.play {
  position: absolute; left: 12px; bottom: 12px;
  width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(50, 23, 10, .55); cursor: pointer;
}
.play::before {
  content: ""; position: absolute; left: 19px; top: 15px;
  border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--paper);
}
.play:hover { background: rgba(50, 23, 10, .75); }
.play:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.more { margin-top: 32px; }
.more a { font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--mapping); }

/* About */
.about { display: grid; gap: 32px; }
.portrait { width: 100%; max-width: 420px; height: auto; border-radius: 3px; }
.about-text { display: grid; gap: 18px; max-width: 36rem; }
.about-text p { color: var(--ink); }
.facts { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 2px; height: 0.95em; background: var(--ink);
  transform: rotate(18deg); border-radius: 2px;
}
@media (min-width: 860px) {
  .about { grid-template-columns: 0.8fr 1fr; gap: 64px; align-items: center; }
}

/* Philosophy statement: the one large handwritten line */
.statement {
  max-width: var(--max); margin: 0 auto;
  padding: 72px var(--gutter);
  border-top: 1px solid var(--line);
  text-align: center;
}
.statement p {
  font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.2;
  max-width: 30ch; margin: 0 auto; color: var(--ink);
}

/* Process: the steps as plain text, with the work video beside it */
.process { display: grid; gap: 32px; }
.work-video { width: 100%; max-width: 360px; aspect-ratio: 464 / 832; object-fit: cover; background: var(--paper-2); border-radius: 3px; display: block; }
@media (min-width: 860px) {
  .process { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps p { color: var(--taupe); }

/* Services */
.services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.service { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); justify-items: start; }
.service p { color: var(--taupe); max-width: 34rem; }
.service-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; width: 100%; }
.service .cost { color: var(--taupe); white-space: nowrap; font-size: 0.95rem; }
.service .cost strong { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.service-main { padding: 28px 22px; margin-bottom: 8px; background: #FBF1EC; border: 1px solid var(--line); border-radius: 4px; }
.service-main h3 { font-family: var(--display); font-weight: 400; font-size: 2.4rem; line-height: 1.05; }
.service-main .cost strong { font-size: 1.6rem; }
.service-main .btn { margin-top: 6px; }

/* Quotes */
.quotes { display: grid; gap: 20px; }
@media (min-width: 960px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.quotes blockquote {
  margin: 0; display: grid; gap: 14px; align-content: start;
  background: #FBF1EC; border: 1px solid var(--line); border-radius: 4px; padding: 26px 24px;
}
.quotes blockquote p { font-size: 1.05rem; line-height: 1.65; max-width: 38rem; }
.quotes .stars { color: var(--mapping); letter-spacing: 2px; font-size: 1rem; }
.quotes footer { font-size: 0.9rem; font-weight: 700; color: var(--taupe); }

/* FAQ */
.faq { max-width: 44rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 36px 20px 0; position: relative;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 12px; height: 12px; margin-top: -8px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--taupe); max-width: 38rem; }

/* Contact */
.contact {
  display: grid; gap: 20px; justify-items: start;
  max-width: none; border-top: 0;
  background: var(--rose);
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.contact > p, .contact .info dt { color: #5A2E1E; }
.contact > p { max-width: 32rem; }
.info { margin: 24px 0 0; display: grid; gap: 16px; width: 100%; }
.info div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.info dt { font-size: 0.95rem; }
.info dd { margin: 0; }
@media (min-width: 760px) { .info { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }

.foot {
  max-width: var(--max); margin: 0 auto;
  padding: 32px var(--gutter) 110px;
  font-size: 0.9rem; color: var(--taupe);
}

/* Floating WhatsApp button */
.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #0b3d20;
  padding: 13px 18px 13px 15px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(50, 23, 10, .22);
  transition: opacity .25s, transform .25s;
}
.float-wa svg { width: 24px; height: 24px; fill: currentColor; }
.float-wa.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.float-wa:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
