/* Kampaamo Kuvitelma: a made-up client's brand. Light and warm: off-white and sand, espresso text, a terracotta accent,
   Gloock + Albert Sans, real CC0 photos (img/CREDITS.md).
   Loaded after /style.css, which supplies the booking widget and form components; this file re-skins them. */
@font-face { font-family: "Gloock"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/gloock.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/albert-sans-var.woff2") format("woff2"); }

body.salon {
  --bg: #f7f2ec;
  --surface: #fffdf9;
  --surface-2: #f1e9df;
  --field: #fffdf9;
  --tint: #efe6da;
  --line: #e4d9cc;
  --line-2: #d8cbbb;
  --text: #2b211b;
  --text-2: #5c4e44;
  --text-3: #85766b;
  --accent: #b65f3d;
  --accent-2: #9c4f31;
  --accent-ink: #fffaf5;
  --rose: #d98d76;
  --danger: #b3261e;
  --ink: #2b211b;
  --serif: "Gloock", Georgia, serif;
  --sans: "Albert Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 72px);
  color-scheme: light;
  accent-color: var(--accent);
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  scrollbar-color: var(--line-2) var(--bg);
}
.salon ::selection { background: #f2d3c4; color: var(--text); }
.salon :focus-visible { outline-color: var(--accent); }
.salon .s-wrap { width: 100%; padding: 0 var(--gutter); }
.salon h1, .salon h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; color: var(--text); }
.salon img { display: block; max-width: 100%; height: auto; }

/* The Mrrp Software demo bar stays in Mrrp's own colours, so it never reads as part of the salon */
.demo-bar { background: #0b0b0e; border-bottom: 1px solid #22222a; color: #b0afba; font-family: "Instrument Sans", system-ui, sans-serif; font-size: .9rem; }
.demo-bar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding-top: .65rem; padding-bottom: .65rem; }
.demo-bar p { margin: 0; flex: 1 1 26rem; }
.demo-bar strong { color: #f0a9c6; font-weight: 600; }
.demo-bar-end { display: flex; align-items: center; gap: 1rem; }
.demo-bar a { color: #f1f0f4; }
.demo-bar .lang { border-color: #2e2e38; }
.demo-bar .lang a { color: #8d8c97; text-decoration: none; }
.demo-bar .lang a[aria-current] { background: #2e2e38; color: #f1f0f4; }

/* Nav */
.s-nav { position: sticky; top: 0; z-index: 10; background: rgba(247, 242, 236, .92); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.s-nav-in { display: flex; align-items: center; gap: 1rem; height: 4.75rem; }
.s-logo { display: inline-flex; align-items: baseline; gap: .6rem; color: var(--text); text-decoration: none; }
.s-logo span { font-family: var(--serif); font-size: 1.85rem; line-height: 1; }
.s-logo small { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-3); }
.s-demo-tag { padding: .12rem .55rem; border-radius: 999px; background: #0b0b0e; color: #f0a9c6; font: 600 .72rem/1.4 "Instrument Sans", system-ui, sans-serif; letter-spacing: .02em; }
.s-nav nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); margin-left: auto; font-size: .98rem; }
.s-nav nav a:not(.s-btn) { color: var(--text-2); text-decoration: none; transition: color .15s; }
.s-nav nav a:not(.s-btn):hover { color: var(--text); }

.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.1rem; padding: 0 1.7rem; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; transition: background-color .2s, transform .3s var(--ease-out); }
.s-btn:hover { background: var(--accent); transform: translateY(-2px); }
.s-btn-sm { min-height: 2.5rem; padding: 0 1.15rem; font-size: .93rem; }
.s-link { color: var(--text); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.s-link:hover { color: var(--accent); }
.s-muted { color: var(--text-3); }

/* Hero: copy on the left, a two-photo collage on the right */
.s-hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-top: clamp(4rem, 11vh, 7.5rem); padding-bottom: clamp(3.5rem, 9vh, 6.5rem); }
.s-hero h1 { margin: 0; max-width: 12ch; font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: 1; text-wrap: balance; }
.s-lede { margin: 1.6rem 0 0; max-width: 32rem; font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.4rem; }
.s-open { display: flex; align-items: center; gap: .6rem; margin: 2.2rem 0 0; color: var(--text-2); font-size: .95rem; }
.s-open::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #4f9a6c; box-shadow: 0 0 0 4px rgba(79, 154, 108, .16); }
.s-open.is-closed::before { background: var(--rose); box-shadow: 0 0 0 4px rgba(217, 141, 118, .2); }
.s-hero-art { position: relative; padding: 0 0 clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 5vw, 4.5rem); }
.s-hero-main { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 60% 40%; border-radius: 28px 28px 28px 120px; }
.s-hero-small { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; border-radius: 22px; border: 8px solid var(--bg); box-shadow: 0 30px 50px -30px rgba(70, 45, 30, .45); }

/* Three facts under the hero */
.s-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.s-facts ul { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-facts li { display: flex; flex-direction: column; gap: .15rem; padding: 1.4rem 0 1.4rem clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--line); }
.s-facts li:first-child { border-left: 0; padding-left: 0; }
.s-facts strong { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.s-facts span { color: var(--text-3); font-size: .95rem; }

/* Sections */
.s-sec { padding: clamp(4.5rem, 11vh, 7.5rem) 0; }
.s-sec-tint { background: var(--tint); }
.s-sec h2 { margin: 0 0 1rem; font-size: clamp(2.4rem, 4.8vw, 3.8rem); line-height: 1.02; }

/* Services: heading, note and a photo on the left; the price list on the right */
.s-svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.s-svc-head p { max-width: 34ch; line-height: 1.6; }
.s-svc-img { width: 100%; max-width: 26rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; margin-top: 2.25rem; border-radius: 200px 200px 22px 22px; }
.s-services { list-style: none; margin: 0; padding: 0; }
.s-services li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: .5rem 1.6rem; padding: 1.45rem 0; border-top: 1px solid var(--line-2); }
.s-services li:last-child { border-bottom: 1px solid var(--line-2); }
.s-services h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.2; }
.s-services p { margin: .2rem 0 0; color: var(--text-3); font-size: .95rem; }
.s-min { color: var(--text-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-price { min-width: 4.4rem; text-align: right; font-family: var(--serif); font-size: 1.55rem; white-space: nowrap; }
.s-pick { padding: .5rem 1.05rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .15s, background-color .15s, color .15s; }
.s-pick:hover { background: var(--text); border-color: var(--text); color: var(--bg); }

/* Stylists: portrait photos */
.s-staff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2.25rem; }
.s-person { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: end; }
.s-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.s-portrait-0 { object-position: 52% 30%; }
.s-portrait-1 { object-position: 50% 35%; }
.s-person h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.s-person p { margin: .6rem 0 0; color: var(--text-2); line-height: 1.55; }
.s-person .s-muted { color: var(--text-3); }
.s-person .s-link { display: inline-block; margin-top: 1.2rem; }

/* A wide strip of two photos */
.s-gallery { padding: clamp(1rem, 3vw, 2rem) 0 0; }
.s-gallery-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 2vw, 1.5rem); }
.s-gallery img { width: 100%; height: clamp(16rem, 34vw, 30rem); object-fit: cover; border-radius: 22px; }
.s-gallery img:first-child { object-position: 50% 40%; }
.s-gallery img:last-child { object-position: 45% 55%; }

/* Booking widget, re-skinned for the salon */
.s-book h2 { margin-bottom: .5rem; }
.s-book-sub { margin: 0 0 2rem; font-size: 1.05rem; }
.salon .bk-step, .salon .bk-form, .salon .bk-done { border-radius: 20px; background: var(--surface); border-color: var(--line); box-shadow: 0 20px 40px -32px rgba(70, 45, 30, .35); }
.salon .bk-h { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.salon .bk-col, .salon .svc-in { border-radius: 14px; }
.salon .bk-slot, .salon .check span, .salon .stf span { border-radius: 999px; }
.salon .pill { border-radius: 999px; }
.salon .pill-pink { background: var(--text); color: var(--bg); }
.salon .pill-pink:hover { background: var(--accent); }
.salon .bk-done .bk-h { color: #3f7d57; }
.salon .bk-done-when { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.salon input, .salon select, .salon textarea { background: var(--field); color: var(--text); border-color: var(--line-2); }

/* Visit: salon photo, address, opening hours */
.s-visit { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.s-address { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.6rem; line-height: 1.3; }
.s-visit p.s-muted { line-height: 1.6; }
.s-hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.s-hours caption { margin-bottom: .8rem; text-align: left; font-family: var(--serif); font-size: 1.7rem; }
.s-hours th, .s-hours td { padding: .75rem 0; border-top: 1px solid var(--line-2); }
.s-hours tr:last-child th, .s-hours tr:last-child td { border-bottom: 1px solid var(--line-2); }
.s-hours th { text-align: left; font-weight: 500; color: var(--text-2); }
.s-hours th::first-letter { text-transform: uppercase; }
.s-hours td { text-align: right; }
.s-hours tr.is-today th, .s-hours tr.is-today td { color: var(--accent); font-weight: 650; }

.s-foot { padding: 2.75rem 0 3rem; border-top: 1px solid var(--line); color: var(--text-3); font-size: .92rem; }
.s-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.s-foot p { margin: 0; }
.s-foot a { color: var(--text); text-decoration-color: var(--accent); }

/* Photos settle in gently */
.s-hero-main { animation: s-in 1.1s var(--ease-out) .15s both; }
.s-hero-small { animation: s-in 1.1s var(--ease-out) .45s both; }
.s-hero-copy > * { animation: s-rise .9s var(--ease-out) both; }
.s-hero-copy > :nth-child(2) { animation-delay: .12s; } .s-hero-copy > :nth-child(3) { animation-delay: .24s; } .s-hero-copy > :nth-child(4) { animation-delay: .36s; }
@keyframes s-in { from { opacity: 0; transform: scale(1.04); clip-path: inset(8% 8% 8% 8% round 28px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); } }
@keyframes s-rise { from { opacity: 0; transform: translateY(16px); } }

@media (max-width: 1000px) {
  .s-hero-in, .s-svc { grid-template-columns: 1fr; }
  .s-hero-art { max-width: 40rem; }
}
@media (max-width: 760px) {
  .s-nav nav a:not(.s-btn) { display: none; }
  .s-staff, .s-person { grid-template-columns: 1fr; }
  .s-person { gap: 1.25rem; }
  .s-portrait { aspect-ratio: 4 / 3; }
  .s-facts ul { grid-template-columns: 1fr; }
  .s-facts li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding: 1rem 0; }
  .s-facts li:first-child { border-top: 0; }
  .s-gallery-in { grid-template-columns: 1fr; }
  .s-gallery img { height: 16rem; }
  .s-visit { grid-template-columns: 1fr; }
  .s-svc-img { max-width: none; aspect-ratio: 4 / 3; border-radius: 22px; }
}
@media (max-width: 560px) {
  body.salon { --gutter: 16px; }
  .s-nav-in { height: 4rem; }
  .s-logo span { font-size: 1.5rem; }
  .s-logo small { display: none; }
  .s-hero-art { padding: 0 0 2rem 2rem; }
  .s-services li { grid-template-columns: auto auto minmax(0, 1fr); }
  .s-services li > div { grid-column: 1 / -1; }
  .s-pick { justify-self: end; }
  .s-price { text-align: left; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .s-hero-main, .s-hero-small, .s-hero-copy > * { animation: none !important; }
}
