/* Dana Cohen — brows & permanent makeup landing page
   Palette sampled from her own material: black (logo, leather), beige (photo backdrop),
   gold (the D monogram, used only as a hairline on black). */
:root {
  --black: #000;
  --beige: #C6A788;
  --sand: #EFE6DC;
  --paper: #FBF8F4;
  --gold: #D6B56C;
  --gold-ink: #8A6A2C;
  --ink: #000;
  --ink-2: #4A3D33;
  --mist: #CFC3B8;
  --line-dark: rgba(255, 255, 255, .16);
  --line-light: rgba(0, 0, 0, .12);
  --fb: #1877F2;
  --serif: "Bellefair", "Frank Ruhl Libre", Georgia, serif;
  --sans: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --header: 64px;
  --bar: 76px;
  --section: clamp(64px, 10vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  padding-bottom: var(--bar);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: rgba(198, 167, 136, .25); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); line-height: 1.08; }
@media (max-width: 899px) { html { scroll-padding-bottom: var(--bar); } }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
svg { flex: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100;
  background: var(--beige); color: #000; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.hero :focus-visible, .reviews :focus-visible, .about :focus-visible { outline-color: #000; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .75em 1.6em;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 1.0625rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn svg { width: 22px; height: 22px; }
.btn--ink { background: #000; color: var(--sand); }
.btn--ink:hover { background: #2B2320; }
.btn--sand { background: var(--beige); color: #000; }
.btn--sand:hover { background: var(--sand); }
.btn--sm { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { min-height: 58px; padding-inline: 2em; font-size: 1.125rem; }

.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-dark); border-radius: 50%; color: var(--sand);
}
.icon-btn svg { width: 20px; height: 20px; }

.fb-blue { color: var(--fb); }

.section-head { max-width: 46ch; margin-bottom: clamp(32px, 5vw, 48px); }
.section-head h2 { font-size: clamp(2.5rem, 6.5vw, 4rem); }
.section-head p { margin-top: 14px; font-size: 1.125rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: #000; color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: auto; height: 38px; }
.brand__name { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.brand__role { display: block; font-size: .8125rem; line-height: 1.35; color: var(--mist); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: none; color: var(--mist); text-decoration: none; }
.header-phone:hover { color: #fff; }
.header-wa { display: none; }
@media (min-width: 900px) {
  .header-phone, .header-wa { display: inline-flex; }
  .header-call { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--beige); overflow: hidden; }
.hero .wrap { display: grid; gap: 12px; padding-block-start: clamp(36px, 7vw, 56px); }
.hero h1 { font-size: clamp(3rem, 11vw, 5.5rem); max-width: 9ch; }
.hero__lede { margin-top: 18px; max-width: 36ch; font-size: clamp(1.0625rem, 2.4vw, 1.25rem); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: .95rem; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 20px; height: 20px; }
.hero__photo { width: min(100%, 460px); margin-inline: auto; align-self: end; }
/* the photo's backdrop is the page beige; fade its edges so she stands in the section, not in a box */
.hero__photo img, .about__photo img {
  width: 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 96% at 50% 100%, #000 68%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 96% at 50% 100%, #000 68%, transparent 100%);
}
@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px;
    min-height: min(calc(100svh - var(--header)), 720px); padding-block-start: 0;
  }
  .hero__text { align-self: center; padding-block: 56px; }
  .hero__photo { width: 100%; max-width: 540px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__photo img { animation: hero-photo 1.1s cubic-bezier(.2, .7, .1, 1) both; }
  .hero__text > * { animation: hero-text .8s cubic-bezier(.2, .7, .1, 1) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
}
@keyframes hero-photo { from { opacity: 0; transform: translateY(28px); } }
@keyframes hero-text { from { opacity: 0; transform: translateY(12px); } }

/* ---------- before / after ---------- */
.ba { background: #000; color: #fff; padding-block: var(--section); }
.ba .section-head p { color: var(--mist); }
.ba__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: #4a3f38 transparent;
}
@media (min-width: 760px) {
  .ba__track {
    grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); gap: 40px 28px;
    overflow: visible; margin-inline: 0; padding-inline: 0;
  }
}
.ba-card { scroll-snap-align: start; }
.ba-card__media { position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 6px; background: #1A1512; }
.ba-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.ba-card[data-show="after"] img[data-state="before"],
.ba-card[data-show="before"] img[data-state="after"] { opacity: 0; }
.ba-card__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; }
.ba-card__title { font-size: 1.0625rem; line-height: 1.4; }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-dark); border-radius: 999px; }
.seg button {
  min-width: 76px; min-height: 44px; padding-inline: 16px;
  border: 0; border-radius: 999px; background: transparent; color: var(--mist);
  font: 500 .95rem/1 var(--sans); cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: var(--beige); color: #000; }
.ba__cta { margin-top: clamp(36px, 5vw, 56px); }

/* ---------- reviews ---------- */
.reviews { background: var(--sand); padding-block: var(--section); }
.reviews .section-head { margin-bottom: 0; }
.reviews .section-head p { color: var(--ink-2); }
.reviews__head { display: grid; gap: 28px; margin-bottom: 36px; }
@media (min-width: 900px) { .reviews__head { grid-template-columns: 1fr auto; align-items: end; } }
.fb-summary {
  display: flex; align-items: center; gap: 18px; justify-self: start;
  padding: 18px 24px 18px 28px; border-radius: 14px; background: var(--paper);
  box-shadow: 0 18px 40px -24px rgba(74, 52, 30, .45); text-decoration: none;
}
.fb-summary__logo { width: 54px; height: 54px; color: var(--fb); }
.fb-summary strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.fb-summary span span { font-size: .95rem; color: var(--ink-2); }
.fb-summary:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

.reviews__grid { columns: 1; column-gap: 24px; }
@media (min-width: 640px) { .reviews__grid { columns: 2; } }
@media (min-width: 1000px) { .reviews__grid { columns: 3; } }
.review-item { break-inside: avoid; padding-top: 40px; }
.review {
  position: relative; border-radius: 14px; background: var(--paper); text-align: center;
  box-shadow: 0 18px 40px -28px rgba(74, 52, 30, .5);
}
.review__avatar {
  position: absolute; top: -32px; left: 50%; transform: translateX(-50%);
  display: grid; place-items: center; width: 64px; height: 64px;
  border: 4px solid var(--paper); border-radius: 50%; background: #000; color: var(--gold);
  font-family: var(--serif); font-size: 1.7rem; line-height: 1;
}
.review__body { padding: 44px 24px 18px; }
.review__name { display: inline-flex; align-items: center; gap: 6px; font-size: 1.0625rem; font-weight: 500; line-height: 1.4; }
.review__name svg { width: 17px; height: 17px; }
.review__meta { font-size: .875rem; color: var(--ink-2); }
.review__stars { display: flex; justify-content: center; gap: 2px; margin-top: 4px; color: var(--gold-ink); }
.review__stars svg { width: 20px; height: 20px; }
.review__text { margin-top: 14px; font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.review__text--big { font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; }
.review__foot {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-light);
  font-size: .85rem; color: var(--ink-2);
}
.review__foot svg { width: 16px; height: 16px; }
.review--photo { overflow: hidden; }
.review__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.review--photo .review__avatar { position: relative; top: auto; left: auto; transform: none; margin: -32px auto 0; }
.review--photo .review__body { padding-top: 10px; }

/* ---------- services ---------- */
.services { background: #000; color: #fff; padding-block: var(--section); }
.services .section-head p { color: var(--mist); }
.services__list { display: grid; }
@media (min-width: 800px) { .services__list { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.service { padding-block: 28px 30px; border-top: 1px solid var(--line-dark); }
.service h3 { font-family: var(--serif); font-size: clamp(1.875rem, 3.6vw, 2.375rem); line-height: 1.12; }
.service p { max-width: 44ch; margin-top: 10px; color: var(--mist); }
.service a {
  display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px;
  color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
}
.service a:hover { text-decoration-thickness: 2px; }

/* ---------- about + steps ---------- */
.about { background: var(--beige); padding-block-start: var(--section); overflow: hidden; }
.about .wrap { display: grid; gap: 8px; }
.about__text { padding-block-end: var(--section); }
.about h2 { font-size: clamp(2.5rem, 6.5vw, 4rem); margin-bottom: 18px; }
.about__text > p { max-width: 48ch; }
.about__text > p + p { margin-top: 14px; }
.about__photo { order: 2; width: min(100%, 440px); margin-inline: auto; align-self: end; }
@media (min-width: 900px) {
  .about .wrap { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: end; }
  .about__photo { order: 0; width: 100%; max-width: 520px; }
}
.steps__title { margin-top: 40px; font-family: var(--serif); font-size: 2rem; line-height: 1.15; }
.steps { display: grid; gap: 20px; margin-top: 20px; counter-reset: step; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid #000; border-radius: 50%;
  font-family: var(--serif); font-size: 1.6rem; line-height: 1;
}
.step h4 { font-size: 1.125rem; font-weight: 500; line-height: 1.4; }
.step p { margin-top: 2px; color: #2B221C; }

/* ---------- final cta ---------- */
.cta { background: #000; color: #fff; text-align: center; padding-block: var(--section); }
.cta__logo { width: min(280px, 64%); margin: 0 auto 32px; }
.cta h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2.5rem, 6.5vw, 4rem); }
.cta p { max-width: 46ch; margin: 16px auto 0; color: var(--mist); font-size: 1.125rem; }
.cta .btn { margin-top: 32px; }
.cta__details { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px; margin-top: 28px; }
.cta__details a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--mist); text-decoration: none; }
.cta__details a:hover { color: #fff; }
.cta__details svg { width: 20px; height: 20px; }

.site-footer { border-top: 1px solid var(--line-dark); background: #000; color: #9A8E83; font-size: .875rem; }
.site-footer .wrap { padding-block: 22px; }

/* ---------- sticky whatsapp ---------- */
.wa-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, .94); border-top: 1px solid var(--line-dark);
}
.wa-bar .btn { width: 100%; }
.wa-fab { display: none; }
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .wa-bar { display: none; }
  .wa-fab {
    position: fixed; left: 28px; bottom: 28px; z-index: 40;
    display: grid; place-items: center; width: 64px; height: 64px;
    border: 1px solid var(--gold); border-radius: 50%; background: #000; color: var(--beige);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); transition: background-color .2s ease, color .2s ease;
  }
  .wa-fab:hover { background: var(--beige); color: #000; }
  .wa-fab svg { width: 30px; height: 30px; }
}

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