/* Solenne Hair Studio · Sample concept · airy mist & navy
   Type: Cormorant Garamond + Jost (SIL OFL), self-hosted. */
@font-face { font-family: "Cormorant SL"; src: url("fonts/cormorant-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant SL"; src: url("fonts/cormorant-italic-var.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost SL"; src: url("fonts/jost-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --mist: #f4f7fb;
  --mist-2: #e9f0f8;
  --powder: #d9e6f3;
  --powder-2: #c6d8ec;
  --navy: #1a2a4b;
  --navy-deep: #111d38;
  --navy-ink: #0c1630;
  --muted: #4c5a73;
  --brass: #b8925d;
  --brass-text: #7a5a2c;
  --white: #fff;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Cormorant SL", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost SL", "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.7; color: var(--navy); background: var(--mist); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 22px; }
@media (min-width: 768px) { .wrap { padding-inline: 44px; } }
svg use, .pillar__icon svg, .menu__go svg, .link-arrow svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
em { font-style: italic; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; font: 500 13px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--brass-text); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--brass); }
.eyebrow--light { color: #e2cba6; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 36px; height: 1px; background: var(--brass); }
.sec-title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.01em; color: var(--navy-ink); text-wrap: balance; }
.sec-title em { font-weight: 400; color: var(--navy); }
.sec-title--light { color: var(--white); }
.sec-title--light em { color: #cfe0f3; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 32px; border: 1px solid transparent; border-radius: 999px;
  font: 500 14px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), color .35s ease, box-shadow .5s var(--ease), background-color .35s ease; }
.btn--navy { background: var(--navy); color: var(--white); box-shadow: 0 14px 30px -18px rgb(17 29 56 / .8); }
.btn--navy::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-ink); border-radius: inherit; transform: scale(0, 1); transform-origin: left; transition: transform .55s var(--ease); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 12.5px; }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
@media (hover: hover) {
  .btn--navy:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgb(17 29 56 / .9); }
  .btn--navy:hover::before { transform: scale(1, 1); }
}
.link-arrow { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 0; font: 500 14px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.link-arrow span { position: relative; }
.link-arrow span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform-origin: left; transition: transform .5s var(--ease); }
.link-arrow svg { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.link-arrow:hover span::after { transform: scaleX(.35); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 2px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; }
.hdr::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(244 247 251 / .95); transition: box-shadow .4s ease, background-color .4s ease; }
.hdr.is-scrolled::before, .hdr.is-open::before { background: rgb(244 247 251 / .96); box-shadow: 0 1px 0 rgb(26 42 75 / .08), 0 18px 40px -30px rgb(26 42 75 / .5); }
.hdr__inner { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; color: var(--navy-ink); text-decoration: none; }
.logo__name { font: italic 500 32px/0.9 var(--serif); letter-spacing: .01em; }
.logo__sub { margin-top: 5px; font: 500 9.5px/1 var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--muted); padding-left: 2px; }
.logo--light { color: var(--white); align-items: center; }
.logo--light .logo__sub { color: #b9c9df; }
.logo:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; border-radius: 2px; }

.hdr__toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px 0 14px; background: none; border: 0; color: var(--navy); }
.hdr__toggle-text { font: 500 12.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.hdr__toggle:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
.burger { position: relative; width: 26px; height: 10px; }
.burger span { position: absolute; left: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease), width .45s var(--ease); }
.burger span:first-child { top: 0; width: 100%; } .burger span:last-child { top: 8px; width: 65%; right: 0; left: auto; }
.is-open .burger span:first-child { top: 4px; transform: rotate(35deg); }
.is-open .burger span:last-child { top: 4px; width: 100%; transform: rotate(-35deg); }

.nav { display: none; }
.js .nav { position: fixed; inset: 76px 0 auto 0; display: flex; flex-direction: column; gap: 0; padding: 18px 22px 34px; background: var(--mist); box-shadow: 0 30px 60px -30px rgb(26 42 75 / .45);
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s linear .6s; }
.is-open .nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease); }
html:not(.js) .hdr__toggle { display: none; }
html:not(.js) .nav { display: flex; flex-wrap: wrap; gap: 4px 18px; width: 100%; padding-bottom: 12px; }
html:not(.js) .hdr__inner { flex-wrap: wrap; }
.nav__list { display: contents; }
.nav__link { display: block; padding: 14px 0; border-bottom: 1px solid rgb(26 42 75 / .1); font: italic 400 30px/1.1 var(--serif); color: var(--navy-ink); text-decoration: none; }
.nav__link:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.nav__cta { margin-top: 24px; align-self: flex-start; }
html.nav-locked { overflow: hidden; }

@media (min-width: 1200px) {
  .hdr__inner { justify-content: center; min-height: 92px; }
  .hero { min-height: min(calc(100svh - 92px), 900px); }
  .hdr__toggle { display: none; }
  .logo { align-items: center; }
  .logo__sub { padding-left: .42em; }
  .js .nav, .nav { position: absolute; inset: 0 44px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; padding: 0; background: none; box-shadow: none; clip-path: none; visibility: visible; transition: none; pointer-events: none; }
  .nav > * { pointer-events: auto; }
  .nav__list { display: flex; gap: 36px; }
  .nav__list--right { margin-left: auto; margin-right: 32px; }
  .nav__link { position: relative; padding: 8px 0; border: 0; font: 500 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
  .nav__link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--brass); transition: left .45s var(--ease), right .45s var(--ease); }
  .nav__link:hover::after, .nav__link:focus-visible::after { left: 0; right: 0; }
  .nav__cta { margin: 0; align-self: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; padding: 36px 0 76px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 20%, rgb(198 216 236 / .75), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgb(217 230 243 / .9), transparent 70%),
    var(--mist); }
.hero__grid { display: grid; gap: 44px; align-items: center; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 12.4vw, 104px); line-height: .98; letter-spacing: -.015em; color: var(--navy-ink); text-wrap: balance; }
.hero__title em { display: inline-block; font-weight: 400; color: var(--navy); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: .06em; height: .06em; background: linear-gradient(90deg, var(--brass), rgb(184 146 93 / 0)); opacity: .7; }
.hero__sub { margin-top: 26px; max-width: 520px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 34px; }

.hero__art { position: relative; justify-self: center; width: min(100%, 520px); }
.arch { position: relative; padding: 14px; }
.arch::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--brass); border-radius: 999px 999px 18px 18px; opacity: .75; transform: translate(16px, 16px); }
.arch__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 14px 14px; overflow: hidden; background: linear-gradient(180deg, var(--powder), var(--powder-2)); box-shadow: 0 40px 80px -40px rgb(26 42 75 / .55); transform: translate3d(0, var(--parallax, 0px), 0); }
.arch__frame picture, .arch__frame img { width: 100%; height: 100%; }
.arch__frame img { object-fit: cover; object-position: 60% 50%; }
.arch__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgb(17 29 56 / .18)); pointer-events: none; }
.seal { position: absolute; left: -8px; bottom: 36px; width: 112px; height: 112px; padding: 6px; border-radius: 50%; background: var(--mist); box-shadow: 0 16px 34px -18px rgb(26 42 75 / .6); fill: var(--navy); }
.seal text { font: 500 10.4px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; fill: var(--navy); }
.seal circle { fill: var(--brass); }
@media (prefers-reduced-motion: no-preference) {
  .seal text { transform-origin: 60px 60px; animation: seal-spin 26s linear infinite; }
  @keyframes seal-spin { to { transform: rotate(360deg); } }
}

@media (min-width: 1024px) {
  .hero { display: flex; align-items: center; min-height: min(calc(100svh - 76px), 900px); padding: 40px 0 90px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 64px; }
  .hero__title { font-size: clamp(64px, 7.2vw, 104px); }
  .hero__art { justify-self: end; width: 100%; max-width: 500px; }
  .arch__frame { aspect-ratio: 5 / 6; }
  .seal { left: -44px; bottom: 56px; width: 128px; height: 128px; }
}
@media (min-width: 1280px) { .hero__grid { gap: 96px; } }

/* ---------- Services ---------- */
.services { padding: 96px 0; background: var(--white); }
.services__grid { display: grid; gap: 40px; }
.mini-arch { display: none; }
.menu { border-top: 1px solid rgb(26 42 75 / .14); }
.menu__item { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 6px 18px; padding: 28px 8px 30px; border-bottom: 1px solid rgb(26 42 75 / .14); isolation: isolate; }
.menu__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--mist-2), rgb(233 240 248 / 0)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.menu__num { font: italic 400 26px/1.2 var(--serif); color: var(--brass-text); }
.menu__body h3 { font: 400 34px/1.1 var(--serif); color: var(--navy-ink); margin-bottom: 8px; transition: transform .6s var(--ease); }
.menu__body p { color: var(--muted); max-width: 520px; }
.menu__go { display: none; }
@media (hover: hover) {
  .menu__item:hover::before { transform: scaleX(1); }
  .menu__item:hover h3 { transform: translateX(8px); }
}
@media (min-width: 768px) {
  .menu__item { grid-template-columns: 80px 1fr 56px; align-items: center; padding: 34px 12px; }
  .menu__go { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgb(26 42 75 / .2); border-radius: 50%; color: var(--navy); transition: background-color .4s ease, color .4s ease, transform .6s var(--ease), border-color .4s ease; }
  .menu__go svg { width: 20px; height: 20px; }
  .menu__item:hover .menu__go { background: var(--navy); color: var(--white); border-color: var(--navy); transform: rotate(-45deg); }
}
@media (min-width: 1024px) {
  .services { padding: 140px 0; }
  .services__grid { grid-template-columns: 4fr 7fr; gap: 80px; align-items: start; }
  .services__head { position: sticky; top: 130px; }
  .mini-arch { display: block; width: 140px; height: 180px; margin-top: 44px; border-radius: 999px 999px 0 0; background:
      linear-gradient(180deg, var(--powder), var(--mist-2)); position: relative; }
  .mini-arch::after { content: ""; position: absolute; inset: 10px 10px 0; border: 1px solid var(--brass); border-bottom: 0; border-radius: 999px 999px 0 0; opacity: .7; }
}

/* ---------- Studio (why) ---------- */
.studio { position: relative; padding: 100px 0; background: var(--navy-deep); color: #d8e3f1; overflow: hidden; isolation: isolate; }
.studio__glow { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(40% 50% at 15% 10%, rgb(120 160 210 / .22), transparent 70%),
  radial-gradient(40% 50% at 90% 90%, rgb(184 146 93 / .12), transparent 70%); }
.studio__head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.studio__head .eyebrow { justify-content: center; }
.studio__head .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--brass); }
.pillars { display: grid; gap: 20px; }
.pillar { --mx: 50%; --my: 0%; position: relative; padding: 64px 30px 38px; text-align: center; border: 1px solid rgb(255 255 255 / .14); border-radius: 999px 999px 20px 20px;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgb(255 255 255 / .09), transparent 70%), rgb(255 255 255 / .03);
  transition: transform .6s var(--ease), border-color .4s ease; }
.pillar__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; border: 1px solid rgb(226 203 166 / .6); color: #e2cba6; transition: transform .6s var(--ease), background-color .4s ease; }
.pillar__icon svg { width: 28px; height: 28px; }
.pillar h3 { font: 400 30px/1.15 var(--serif); color: var(--white); margin-bottom: 12px; }
.pillar p { color: #c3d1e4; max-width: 300px; margin-inline: auto; }
@media (hover: hover) {
  .pillar:hover { transform: translateY(-8px); border-color: rgb(226 203 166 / .5); }
  .pillar:hover .pillar__icon { transform: scale(1.08); background: rgb(226 203 166 / .12); }
}
@media (min-width: 900px) {
  .studio { padding: 140px 0; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .pillar { padding: 88px 34px 48px; }
}

/* ---------- Booking (process) ---------- */
.booking { padding: 100px 0; background: linear-gradient(180deg, var(--mist) 0%, var(--mist-2) 100%); }
.booking__head { text-align: center; margin-bottom: 56px; }
.flow { position: relative; display: grid; gap: 40px; max-width: 1080px; margin: 0 auto; }
.flow__step { position: relative; text-align: center; padding: 0 12px; }
.flow__num { display: block; font: italic 300 88px/1 var(--serif); color: transparent; -webkit-text-stroke: 1px var(--navy); margin-bottom: 10px; transition: color .5s ease, transform .6s var(--ease); }
.flow__step h3 { font: 400 30px/1.15 var(--serif); color: var(--navy-ink); margin-bottom: 8px; }
.flow__step p { color: var(--muted); max-width: 300px; margin: 0 auto; }
@media (hover: hover) {
  .flow__step:hover .flow__num { color: var(--navy); transform: translateY(-4px); }
}
@media (min-width: 900px) {
  .booking { padding: 140px 0; }
  .flow { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .flow::before { content: ""; position: absolute; top: 46px; left: 20%; right: 20%; height: 1px; background: repeating-linear-gradient(90deg, var(--brass) 0 6px, transparent 6px 14px); opacity: .7; }
  .flow__num { position: relative; display: inline-block; padding: 0 20px; background: linear-gradient(180deg, var(--mist) 0%, #eef3f9 100%); }
}

/* ---------- CTA ---------- */
.cta { padding: 40px 0 110px; background: var(--mist-2); }
.cta__arch { position: relative; max-width: 880px; margin: 0 auto; padding: 96px 24px 56px; text-align: center; border-radius: 999px 999px 28px 28px;
  background: radial-gradient(80% 60% at 50% 0%, #ffffff 0%, var(--powder) 70%); box-shadow: 0 50px 90px -50px rgb(26 42 75 / .55), inset 0 0 0 1px rgb(255 255 255 / .8); }
.cta__arch::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(184 146 93 / .6); border-radius: 999px 999px 18px 18px; pointer-events: none; }
.cta__title { position: relative; max-width: 640px; margin: 0 auto; font: 400 clamp(38px, 6vw, 64px)/1.04 var(--serif); color: var(--navy-ink); text-wrap: balance; }
.bform { position: relative; display: grid; gap: 14px; max-width: 640px; margin: 36px auto 0; text-align: left; }
.bform__field { display: grid; gap: 6px; }
.bform label { font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--navy); }
.bform input, .bform select { width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid #7486a3; border-radius: 999px; background: rgb(255 255 255 / .85); color: var(--navy-ink); font-size: 17px; transition: border-color .3s ease, box-shadow .3s ease; }
.bform select { appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 24px) 23px, calc(100% - 18px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.bform input:focus, .bform select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(26 42 75 / .18); }
.bform__btn { width: 100%; margin-top: 6px; }
.bform .demo-note { text-align: center; color: var(--navy); font-style: italic; }
@media (min-width: 768px) {
  .cta__arch { padding: 130px 64px 64px; }
  .bform { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .bform__btn { width: auto; }
  .bform .demo-note { grid-column: 1 / -1; }
}
@media (min-width: 1024px) { .cta { padding: 60px 0 150px; } }

/* ---------- Footer ---------- */
.ftr { padding: 72px 0 88px; background: var(--navy-ink); color: #b9c9df; text-align: center; }
.ftr__inner { display: grid; justify-items: center; gap: 20px; }
.ftr__line { font: italic 400 22px/1.4 var(--serif); color: #dbe5f2; }
.ftr__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin-top: 4px; }
.ftr__links a { display: inline-block; padding: 8px 0; font: 500 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--white); text-decoration: none; transition: color .3s ease; }
.ftr__links a:hover, .ftr__links a:focus-visible { color: #e2cba6; }
.ftr__legal { display: grid; gap: 10px; justify-items: center; margin-top: 18px; padding-top: 26px; border-top: 1px solid rgb(255 255 255 / .1); width: 100%; font-size: 14.5px; }
.ftr__gd { color: #e2cba6; text-underline-offset: 4px; }
.ftr__gd:hover { color: var(--white); }
@media (min-width: 720px) { .ftr { padding: 96px 0 100px; } }

/* WebKit hardening: backdrop-filter only on desktop widths (mobile Safari stability). */
@media (min-width: 1200px) {
  .hdr::before { background: rgb(244 247 251 / .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
  .hdr.is-scrolled::before, .hdr.is-open::before { background: rgb(244 247 251 / .96); }
}
