/*
  Lorriven Hair Studio - DEMO website by LFT.
  Fictional business, not a real company. Self-contained: no external fonts, images or scripts.
  Style: calm and elegant, warm white, blush and deep plum, arches. One page. Mobile-first,
  with a call/book bar fixed to the bottom of small screens.
*/

:root {
  color-scheme: light;
  --bg: #fbf7f4;
  --card: #fffdfb;
  --blush: #f5e6e1;
  --blush-2: #ecd3cb;
  --plum: #4a2340;
  --plum-2: #6b3a5f;
  --plum-soft: #efe2ea;
  --ink: #261a22;
  --muted: #6b5a63;
  --line: #e7d8d2;
  --field: #9c8890;
  --gold: #b08243;
  --gold-ink: #7a521e;
  --ok-bg: #edf4ec;
  --ok-line: #a9c9a4;
  --ok-ink: #24452a;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(38, 26, 34, .05), 0 14px 34px rgba(74, 35, 64, .08);
  --display: "Bodoni 72", Didot, "Bodoni MT", "Big Caslon", "Book Antiqua", "Palatino Linotype", Palatino, Georgia, serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (min-width: 860px) { html { scroll-padding-top: 7rem; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 76px; /* room for the mobile call/book bar */
}
@media (min-width: 860px) { body { padding-bottom: 0; } }

svg { max-width: 100%; }

a { color: var(--plum-2); text-underline-offset: .18em; }
a:hover { color: var(--plum); }

:focus-visible { outline: 3px solid var(--plum-2); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; color: var(--plum); }
h1 { font-size: clamp(2.4rem, 9vw, 4.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
h1 em, h2 em { color: var(--plum-2); }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, 1120px); margin-inline: auto; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--card); color: var(--ink); padding: .7rem 1rem;
  border-radius: 10px; box-shadow: var(--shadow); font-weight: 700;
}
.skip:focus { left: 16px; top: 16px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Small uppercase labels */
.label {
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink); margin: 0 0 .7rem;
}

/* ---------- Header and demo banner ---------- */

.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) {
  .site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 244, .95); }
  @supports (backdrop-filter: blur(8px)) {
    .site-header { background: rgba(251, 247, 244, .85); backdrop-filter: saturate(1.2) blur(10px); }
  }
}

.demo-banner {
  margin: 0; background: var(--plum); color: #fff;
  font-size: .8125rem; line-height: 1.35; text-align: center; padding: .45rem 16px;
}
.demo-banner a { color: #fff; text-decoration: none; }
.demo-banner a:hover .demo-text, .demo-banner a:focus-visible .demo-text { text-decoration: underline; }
.demo-banner a:focus-visible { outline-color: var(--blush-2); }
.demo-pill {
  display: inline-block; background: var(--blush-2); color: var(--plum);
  font-weight: 800; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 999px; padding: .08rem .5rem; margin-right: .45rem; vertical-align: 1px;
}

.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; padding-block: .7rem; }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--plum); margin-right: auto; }
.brand:hover { color: var(--plum); }
.brand-mark { width: 38px; height: 44px; flex: none; }
.brand-name { display: block; font-family: var(--display); font-size: 1.55rem; line-height: 1; letter-spacing: .02em; }
.brand-sub { display: block; font-size: .66rem; color: var(--muted); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; margin-top: .2rem; }

.call-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--plum); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: .55rem 1rem; min-height: 44px; white-space: nowrap;
}
.call-btn:hover { background: var(--plum-2); color: #fff; }
.call-num { display: none; }
@media (min-width: 480px) { .call-label { display: none; } .call-num { display: inline; } }

.site-nav { flex-basis: 100%; }
.site-nav ul { list-style: none; margin: 0 -.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .35rem .5rem;
  border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem;
}
@media (min-width: 480px) { .site-nav a { padding-inline: .7rem; } .site-nav ul { margin-inline: -.7rem; } }
.site-nav a:hover { background: var(--blush); color: var(--plum); }
@media (min-width: 860px) {
  .bar { flex-wrap: nowrap; }
  .site-nav { flex-basis: auto; order: 1; }
  .site-nav ul { margin: 0; gap: .2rem; }
  .call-btn { order: 2; }
}

/* Call / book bar fixed to the bottom of small screens */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 253, 251, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(74, 35, 64, .08);
}
.mobile-bar .btn { min-height: 48px; padding: .6rem .8rem; }
@media (min-width: 860px) { .mobile-bar { display: none; } }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 50px; padding: .75rem 1.4rem; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--plum); color: #fff; }
.btn-primary:hover { background: var(--plum-2); color: #fff; }
.btn-outline { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: #fff; }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--blush); color: var(--plum); }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(700px 420px at 100% 0%, var(--blush) 0%, rgba(245, 230, 225, 0) 70%),
    var(--bg);
  padding: 2.25rem 0 3rem;
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-art svg { display: block; width: min(100%, 440px); height: auto; margin-inline: auto; }
@media (min-width: 900px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}
.lead { font-size: 1.17rem; color: var(--muted); max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1.1rem; }
.text-line { font-size: .97rem; color: var(--muted); margin: 0; }

.ticks { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { color: var(--gold); width: 20px; height: 20px; margin-top: .2rem; stroke-width: 2.4; }

/* ---------- Sections ---------- */

.section { padding: 3.5rem 0; }
.section-blush { background: var(--blush); }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head > p:not(.label):not(.sample-label) { color: var(--muted); }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }

.ph-tag {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: #fbf0d9; color: #5f4310; border: 1px solid #e6cf98; border-radius: 6px; padding: .08rem .45rem;
}
.sample-label {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fbf0d9; color: #5f4310; border: 1px solid #e6cf98; border-radius: 999px;
  padding: .35rem .95rem; font-weight: 800; font-size: .9rem; margin: 0 0 1rem;
}
.demo-note {
  background: #fbf0d9; border-left: 4px solid var(--gold);
  padding: .85rem 1rem; border-radius: 8px; font-size: .93rem; color: var(--ink);
}
.demo-note p:last-child { margin-bottom: 0; }
.small-note { font-size: .92rem; color: var(--muted); margin-top: 1.25rem; max-width: 52rem; }

/* ---------- Services and prices ---------- */

.price-cards { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .price-cards { grid-template-columns: 1fr 1fr; } }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 160px 160px var(--radius) var(--radius);
  padding: 2.4rem 1.4rem 1.4rem; box-shadow: var(--shadow);
}
.price-card h3 { text-align: center; margin-bottom: .2rem; }
.price-card .card-sub { text-align: center; color: var(--muted); font-size: .93rem; margin-bottom: 1rem; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; column-gap: .5rem;
  padding: .55rem 0; border-bottom: 1px solid var(--line);
}
.price-list li:last-child { border-bottom: 0; }
.price-list .dots { border-bottom: 1.5px dotted var(--field); transform: translateY(-.3em); min-width: .75rem; }
.price-list .price { font-weight: 700; color: var(--plum); white-space: nowrap; }
.price-list .from { font-weight: 400; color: var(--muted); font-size: .85em; }

/* ---------- New clients ---------- */

.steps {
  counter-reset: step; list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.steps > li {
  counter-increment: step; background: var(--card); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--line);
}
.steps > li::before {
  content: counter(step);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--plum); color: #fff; font-family: var(--display); font-size: 1.35rem; margin-bottom: .8rem;
}
.steps h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Team ---------- */

.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.member {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem; text-align: center; display: flex; flex-direction: column; align-items: center;
}
.member svg { width: 150px; height: 150px; margin-bottom: .8rem; }
.member h3 { margin-bottom: .1rem; }
.member .role { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: .6rem; }
.member p:not(.role) { color: var(--muted); font-size: .97rem; }
.member .btn { margin-top: auto; min-height: 44px; padding: .5rem 1.1rem; }

/* ---------- Reviews (sample text only) ---------- */

.rating-ph {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem;
  background: var(--card); border: 2px dashed var(--field); border-radius: 14px;
  padding: .9rem 1.1rem; margin-bottom: 1.5rem; color: var(--muted);
}
.rating-ph strong { color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-ink); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.reviews { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.review {
  margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; display: flex; flex-direction: column; gap: .8rem;
}
.review-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.review blockquote { margin: 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.4; color: var(--plum); }
.review blockquote p { margin: 0; }
.review figcaption { font-size: .9rem; color: var(--muted); margin-top: auto; }
.review figcaption strong { color: var(--ink); }
.review-link-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.6rem; }
.review-link-row p { margin: 0; font-size: .9rem; color: var(--muted); max-width: 34rem; }

/* ---------- Booking form ---------- */

.book-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .book-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 1.4rem; box-shadow: var(--shadow);
}
@media (min-width: 600px) { .form-card { padding: 2rem; } }
.form-card h3 { font-size: 1.8rem; }

.field { margin-bottom: 1.1rem; }
.field label, fieldset legend { display: block; font-weight: 700; margin-bottom: .35rem; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: -.15rem; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--muted); }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
  width: 100%; font: inherit; color: inherit; padding: .7rem .85rem;
  border: 1.5px solid var(--field); border-radius: 12px; background: #fff; min-height: 50px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(107, 58, 95, .3); outline-offset: 0; border-color: var(--plum-2);
}
textarea { min-height: 110px; resize: vertical; }

fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-row label {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem .95rem;
  cursor: pointer; min-height: 44px; background: #fff;
}
.choice-row label:has(input:checked) { border-color: var(--plum-2); background: var(--plum-soft); }
.choice-row input { width: 18px; height: 18px; accent-color: var(--plum); margin: 0; }

.two-col { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .two-col { grid-template-columns: 1fr 1fr; } }

.privacy-line { font-size: .88rem; color: var(--muted); margin: 1rem 0 0; }
.form-result {
  margin-top: 1.1rem; padding: 1rem 1.1rem; border-radius: 12px;
  background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok-ink);
}
.form-result:focus { outline: 3px solid var(--plum-2); outline-offset: 2px; }
.form-result p:last-child { margin: 0; }

.info-card {
  background: var(--blush); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1.25rem;
}
.info-card h3 { font-size: 1.5rem; margin-bottom: .7rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.info-list li { display: flex; gap: .65rem; align-items: flex-start; }
.info-list .icon { color: var(--plum-2); margin-top: .22rem; }

.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: .5rem .4rem; border-bottom: 1px solid var(--blush-2); }
.hours td { text-align: right; white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr.is-today { background: var(--card); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; color: var(--plum); }
.today-tag {
  display: inline-block; margin-left: .5rem; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 800; background: var(--plum); color: #fff; border-radius: 999px; padding: .05rem .5rem; vertical-align: 2px;
}

/* ---------- Visit ---------- */

.visit-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; } }
.shopfront { margin: 0; }
.shopfront svg { display: block; width: 100%; height: auto; }
.shopfront figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; text-align: center; }
.address-ph {
  border: 2px dashed var(--field); border-radius: 14px; background: var(--card);
  padding: 1rem 1.1rem; margin-bottom: 1.25rem;
}
.address-ph p { margin: .3rem 0 0; color: var(--muted); }
.address-ph strong { color: var(--ink); }

/* ---------- Closing band ---------- */

.cta-band {
  background:
    radial-gradient(520px 240px at 100% 0%, rgba(236, 211, 203, .3), rgba(236, 211, 203, 0) 70%),
    var(--plum);
  color: #fff; border-radius: 120px 120px 24px 24px; padding: 3.5rem 1.5rem 2rem; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band h2 em { color: var(--blush-2); }
.cta-band p { color: #ead9e3; max-width: 34rem; margin-inline: auto; }
.cta-band .actions { justify-content: center; margin-bottom: 0; }
.cta-band .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-band .btn-outline:hover { background: rgba(255, 255, 255, .12); }
@media (min-width: 860px) { .cta-band { border-radius: 220px 220px 28px 28px; padding: 4.5rem 3rem 3rem; } }

/* ---------- Footer ---------- */

.site-footer { background: #2a1b26; color: #dccbd5; padding: 3rem 0 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--blush-2); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.site-footer h2 { font-family: var(--font); font-size: .82rem; font-weight: 700; color: #fff; margin-bottom: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; color: #fff; font-family: var(--display); font-size: 1.45rem; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-demo {
  margin-top: 2.5rem; border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 1.5rem; font-size: .9rem; color: #cdb9c5;
}
.footer-demo strong { color: #fff; }
.footer-demo p { max-width: 60rem; }

@media print {
  .site-header { position: static; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Small utilities ---------- */

.gap-below { margin-bottom: 1.5rem; }
.hero-grid > *, .book-grid > *, .visit-grid > * { min-width: 0; }
.info-list span, .footer-list a { overflow-wrap: anywhere; }
select { max-width: 100%; }
a[href^="tel:"], a[href^="sms:"] { white-space: nowrap; }
