/* Iconic Beauty — stylesheet
   Colours and fonts are set below, in :root. */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic-latin.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}

:root {
  --blush: #FAF5F6;      /* rose marble background */
  --powder: #F3DCE4;
  --ink: #2A1620;        /* body text, deep aubergine */
  --rose: #B8235C;       /* Iconic rose, accent */
  --rose-deep: #93194A;
  --mauve: #6B5561;      /* secondary text */
  --line: #E4D2D9;
  --on-ink: #F7EDF1;
  --on-ink-muted: #CDB8C2;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.84rem, .8rem + .15vw, .92rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 3.75rem);
  --step-hero: clamp(4rem, 1.5rem + 13vw, 12.5rem);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); letter-spacing: -.01em; }
h3 { font-size: var(--step-1); font-weight: 600; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
.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; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--on-ink); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  background: var(--rose); color: #fff;
  font: 600 var(--step-0)/1 var(--sans); text-decoration: none;
  border: 1.5px solid var(--rose); border-radius: 999px; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--small { min-height: 40px; padding: .5rem 1.1rem; font-size: var(--step--1); }
.link { color: var(--rose); font-weight: 600; text-underline-offset: 3px; }

/* Header */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .75rem var(--gutter);
  color: #fff;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.bar.is-solid { background: rgba(250,245,246,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; text-decoration: none; padding: .15rem 0; }
.brand img { height: 40px; width: auto; }
.brand__dark, .bar.is-solid .brand__light { display: none; }
.bar.is-solid .brand__dark { display: block; }
.nav { display: none; list-style: none; margin: 0; padding: 0; gap: 2rem; }
.nav a { text-decoration: none; font-size: var(--step--1); font-weight: 500; padding: .5rem 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 52rem) { .nav { display: flex; } }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; align-items: end;
  padding: 7rem var(--gutter) clamp(2.5rem, 7vh, 5rem);
  color: #fff; background: var(--ink);
}
.hero__media { position: absolute; inset: -8% 0; z-index: -3; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__veil {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(42,22,32,.45) 0%, rgba(42,22,32,0) 30%),
    linear-gradient(0deg, rgba(42,22,32,.88) 0%, rgba(42,22,32,.35) 55%, rgba(42,22,32,0) 80%);
}
.hero__arc {
  position: absolute; z-index: -1; left: 4%; right: 4%; top: 18%; height: 42%; width: 92%;
  fill: none; stroke: #F3DCE4; stroke-width: 1.2; opacity: .7;
  vector-effect: non-scaling-stroke; will-change: transform;
}
.hero__arc path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .4s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__copy { max-width: var(--max); will-change: transform; }
.hero__kicker { font-size: var(--step-0); font-weight: 500; color: var(--powder); margin-bottom: .5rem; }
.hero__title { font-size: var(--step-hero); font-weight: 400; line-height: .86; letter-spacing: -.035em; margin-left: -.04em; }
.hero__title span { display: block; font-style: italic; padding-left: .9em; }
.hero__lead { font-size: var(--step-1); line-height: 1.45; max-width: 34ch; margin: 1.5rem 0 2rem; color: #FBF2F5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__rating { position: absolute; right: var(--gutter); bottom: clamp(2.5rem, 7vh, 5rem); margin: 0; font-size: var(--step--1); color: var(--on-ink); display: none; }
.hero__rating span { color: #F6C7D7; letter-spacing: .1em; margin-right: .35rem; }
@media (min-width: 60rem) { .hero__rating { display: block; } }

/* Sections */
.about, .services, .reviews, .faq, .visit { padding: clamp(4.5rem, 12vw, 9rem) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }

.about { display: grid; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__img { border-radius: 999px 999px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 30rem; will-change: transform; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { margin-bottom: 1.5rem; }
.about__text p { color: var(--mauve); line-height: 1.7; }
.values { list-style: none; padding: 1.5rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; font-family: var(--serif); font-style: italic; font-size: var(--step-1); }
@media (min-width: 56rem) { .about { grid-template-columns: 5fr 6fr; } }

.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head p { color: var(--mauve); }
@media (min-width: 56rem) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } .section-head p { margin: 0; } }

.services__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3rem 2rem; }
.service { will-change: transform; }
.service picture { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; margin-bottom: 1.25rem; background: var(--powder); }
.service img { width: 100%; height: 100%; object-fit: cover; }
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--mauve); margin: 0; }
@media (min-width: 40rem) {
  .services__list { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(even) { margin-top: 4rem; }
}
@media (min-width: 68rem) {
  .services__list { grid-template-columns: repeat(4, 1fr); gap: 3rem 1.75rem; }
}

.courses {
  display: grid; gap: 2rem; align-items: center;
  margin-top: clamp(4.5rem, 10vw, 8rem); padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff; border: 1px solid var(--line); border-radius: 28px;
}
.courses__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 18px; background: var(--powder); }
.courses__img img { width: 100%; height: 100%; object-fit: cover; }
.courses__text h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.courses__text p { color: var(--mauve); margin-bottom: 1.75rem; }
@media (min-width: 48rem) {
  .courses { grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
  .courses__img { aspect-ratio: 1 / 1; }
}

.reviews { max-width: none; background: var(--powder); }
.reviews h2 { max-width: var(--max); margin: 0 auto .75rem; }
.reviews__note { max-width: var(--max); margin: 0 auto clamp(2rem, 5vw, 3.5rem); color: #5A4450; }
.reviews__list { max-width: var(--max); margin: 0 auto; display: grid; gap: 2.5rem; }
.review { margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(42,22,32,.2); }
.review blockquote { margin: 0; }
.review p { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; margin-bottom: 1rem; }
.review figcaption { font-size: var(--step--1); font-weight: 600; color: #5A4450; }
@media (min-width: 56rem) {
  .reviews__list { grid-template-columns: 1.15fr 1fr 1fr; gap: 3rem; }
  .review:first-child p { font-size: var(--step-2); line-height: 1.3; }
}

.faq { display: grid; gap: 2rem; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font: 500 var(--step-1)/1.3 var(--serif);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: .35rem; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--rose); border-bottom: 2px solid var(--rose);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__list details p { color: var(--mauve); padding-bottom: 1.35rem; margin: 0; }
.faq__list a { color: var(--rose); font-weight: 600; }
@media (min-width: 56rem) { .faq { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

.visit { display: grid; gap: 4rem; }
.visit h2 { font-size: var(--step-2); margin-bottom: 1.5rem; }
.hours table { width: 100%; max-width: 28rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--rose); }
.hours__now { margin-top: 1rem; font-weight: 600; min-height: 1.6em; }
.where address { font: 400 var(--step-2)/1.25 var(--serif); margin-bottom: 1.75rem; }
.where .btn { margin-bottom: 1.25rem; }
.where .link { display: block; }
@media (min-width: 56rem) { .visit { grid-template-columns: 1fr 1fr; } }

/* Contact */
.contact { background: var(--ink); color: var(--on-ink); padding: clamp(4.5rem, 12vw, 8rem) var(--gutter) 2rem; }
.contact__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 3rem; }
.contact h2 { color: #fff; margin-bottom: 1rem; }
.contact__info p { color: var(--on-ink-muted); }
.contact__phone { display: inline-block; margin: 1rem 0; font: 400 var(--step-3)/1 var(--serif); color: #fff; text-decoration-color: var(--rose); text-underline-offset: 8px; }
.contact__info address { color: var(--on-ink-muted); }
@media (min-width: 56rem) { .contact__inner { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }

.form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: .4rem; color: #fff; }
.field input, .field textarea {
  width: 100%; font: inherit; color: #fff;
  background: rgba(255,255,255,.06); border: 1.5px solid rgba(247,237,241,.35); border-radius: 12px;
  padding: .8rem 1rem; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #B9A3AE; }
.field input:focus, .field textarea:focus { outline: none; border-color: #F3DCE4; box-shadow: 0 0 0 3px rgba(243,220,228,.35); }
.field [aria-invalid="true"] { border-color: #FF9DBF; }
.field__error { color: #FFB3CC; font-size: var(--step--1); margin: .35rem 0 0; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--submit { position: relative; justify-self: start; min-width: 13rem; margin-top: .5rem; }
.btn--submit:disabled { cursor: wait; opacity: .9; }
.btn__spinner, .btn__check { display: none; }
.btn__spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn__check { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.btn--submit.is-loading .btn__spinner, .btn--submit.is-success .btn__check { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin: 0; min-height: 1.6em; font-weight: 600; color: #fff; }
.form__status.is-error { color: #FFB3CC; }
.form__status a { color: #fff; }
.form__privacy { font-size: var(--step--1); color: var(--on-ink-muted); margin: 0; }

.legal { max-width: var(--max); margin: 5rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(247,237,241,.15); font-size: var(--step--1); color: var(--on-ink-muted); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.legal img { height: 60px; width: auto; }
.legal p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__arc path { stroke-dashoffset: 0; }
  [data-depth] { transform: none !important; }
}
