/*
Theme Name: Hairdoneup Core
Theme URI: https://hairdoneup.com/
Author: Hairdoneup
Description: Lightweight custom theme for Hairdoneup. Built around Salon Booking without a page builder or slider framework.
Version: 1.9.27
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: hairdoneup-core
*/

:root {
  --ink: #0b0a09;
  --ink-soft: #171512;
  --paper: #f4efe7;
  --paper-deep: #e8dfd2;
  --orange: #f47a22;
  --orange-light: #ff9b52;
  --muted: #a79f95;
  --line: rgba(255, 255, 255, 0.14);
  --content: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--orange); color: #fff; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; z-index: 100000; top: 12px; left: 12px;
  width: auto; height: auto; padding: 12px 18px; margin: 0;
  overflow: visible; clip: auto; background: #fff; color: #000;
}
.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.display-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 7vw, 6.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4.7rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.lede { max-width: 660px; color: #c7c0b7; font-size: clamp(1rem, 1.6vw, 1.25rem); }

.site-header {
  position: fixed; z-index: 1000; inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.site-header.is-scrolled { background: rgba(11, 10, 9, 0.94); border-color: var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--orange); color: var(--orange); font-family: var(--serif); font-weight: 700;
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { color: #ddd7cf; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--orange-light); }
.header-book { margin-left: 4px; }
.menu-toggle { display: none; margin-left: auto; padding: 10px; border: 0; background: transparent; color: #fff; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: currentColor; }

.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 24px;
  border: 1px solid var(--orange); background: var(--orange); color: #111; font-size: 0.79rem;
  font-weight: 850; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-2px); background: var(--orange-light); }
.button--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.button--ghost:hover { border-color: var(--orange); background: transparent; color: var(--orange-light); }

/* Booking confirmation actions: keep both choices aligned and visually distinct. */
.page-id-14 .entry-content p:has(> .button) {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}
.page-id-14 .entry-content p:has(> .button) > .button {
  min-width: 220px;
  margin: 0;
}
.page-id-14 .entry-content .button-outline {
  border-color: rgba(255,255,255,.35);
  background: transparent;
  color: #fff;
}
.page-id-14 .entry-content .button-outline:hover {
  border-color: var(--orange);
  background: transparent;
  color: var(--orange-light);
}
@media (max-width: 680px) {
  .page-id-14 .entry-content p:has(> .button) { flex-direction: column; }
  .page-id-14 .entry-content p:has(> .button) > .button { width: 100%; min-width: 0; }
}

.hero { position: relative; min-height: min(920px, 100svh); display: grid; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0 0 0 45%;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(11,10,9,.54) 34%, rgba(11,10,9,.12) 100%),
    url("assets/hero-home.webp") center 37% / cover no-repeat;
  filter: saturate(.84) contrast(1.05);
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, transparent 30%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(760px, 64%); padding-block: 180px 110px; }
.hero .display-title span { color: var(--orange); font-style: italic; font-weight: 400; }
.hero-copy { max-width: 600px; margin: 30px 0; color: #c7c0b7; font-size: clamp(1.05rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-proof { display: flex; gap: 28px; margin-top: 42px; color: #d7d0c8; font-size: .86rem; }
.hero-proof strong { display: block; color: #fff; font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; }

.about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(50px, 9vw, 130px); }
.about-photo { position: relative; min-height: 620px; }
.about-photo img { width: 82%; height: 620px; object-fit: cover; object-position: center 30%; filter: saturate(.82); }
.about-photo::after { content: ""; position: absolute; right: 0; bottom: -28px; width: 42%; height: 48%; border: 1px solid var(--orange); z-index: -1; }
.about-copy p { color: #bbb3aa; }
.signature { margin-top: 28px; color: var(--paper); font-family: var(--serif); font-size: 1.55rem; font-style: italic; }

.services-preview { padding: 120px 0; background: var(--paper); color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 56px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cfc3b3; border-left: 1px solid #cfc3b3; }
.service-card { position: relative; min-height: 310px; padding: 38px 30px; border-right: 1px solid #cfc3b3; border-bottom: 1px solid #cfc3b3; }
.service-card::before { content: attr(data-index); color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
.service-card h3 { margin: 60px 0 15px; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1; }
.service-card p { color: #6c6258; font-size: .93rem; }
.service-card a { position: absolute; right: 28px; bottom: 26px; color: var(--orange); font-weight: 800; text-decoration: none; }

.work { padding: 120px 0; }
.gallery-controls { display: flex; gap: 8px; flex-shrink: 0; }
.gallery-controls[hidden] { display: none; }
.gallery-controls button { background: transparent; border: 1px solid #756d63; color: var(--paper); min-width: 48px; min-height: 48px; padding: 10px 16px; font: inherit; cursor: pointer; }
.gallery-controls button:hover { background: var(--orange); color: #fff; }
.gallery-rail { display: flex; gap: 18px; margin: 0; padding: 0 0 20px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--orange) #302c27; scrollbar-width: thin; overscroll-behavior-x: contain; }
.gallery-card { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; scroll-snap-align: start; background: var(--ink-soft); }
.gallery-card a, .instagram-post a { display: block; color: inherit; text-decoration: none; }
.gallery-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: #211e1a; }
.gallery-caption { display: block; padding: 20px; }
.gallery-caption strong { display: block; font-size: 1.05rem; font-weight: 500; }
.gallery-caption small { display: block; margin-top: 8px; font-size: .75rem; color: #b8ad9d; }
.gallery-hint { color: #b8ad9d; font-size: .8rem; margin-top: 16px; }
#instagram .gallery-footer .button--ghost { border-color: var(--orange); color: var(--orange); }
#instagram .gallery-footer .button--ghost:hover,
#instagram .gallery-footer .button--ghost:focus-visible { border-color: var(--orange-light); color: var(--orange-light); background: rgba(244, 122, 34, .06); }
#instagram .gallery-footer .button--ghost:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.gallery-rail:focus-visible, .gallery-controls button:focus-visible, .gallery-card a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.service-card .service-preview-photo { width: 100%; height: 230px; object-fit: cover; object-position: center 38%; margin-top: 20px; }
.service-card h3 { margin-top: 24px; }
.service-card { padding-bottom: 70px; }

.reviews { padding: 120px 0; background: #12100e; }
.review-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 9vw, 130px); }
.rating { margin: 28px 0; }
.rating strong { display: block; font-family: var(--serif); font-size: 5rem; line-height: .9; }
.stars { color: var(--orange); letter-spacing: .12em; }
.review-cards { display: grid; gap: 14px; }
.review-card { padding: 30px; border: 1px solid var(--line); background: #191714; }
.review-card blockquote { margin: 0 0 18px; color: #ded7ce; font-family: var(--serif); font-size: 1.18rem; }
.review-card cite { color: var(--orange-light); font-size: .78rem; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.instagram { padding: 120px 0; background: var(--paper); color: var(--ink); }
.instagram-intro { max-width: 480px; }
.instagram-intro .button { margin-top: 22px; }
.instagram-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.instagram-post { min-width: 0; overflow: hidden; border: 1px solid #cfc3b3; background: #fff; box-shadow: 0 18px 45px rgba(39, 29, 20, .08); }
.instagram-post img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.instagram-post .gallery-caption small { color: #6c6258; }

.visit { padding: 120px 0; }
.visit-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.visit-panel { padding: 44px; border: 1px solid var(--line); background: var(--ink-soft); }
.visit-panel h3 { margin-top: 0; font-family: var(--serif); font-size: 2rem; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 12px 0; border-bottom: 1px solid var(--line); color: #c8c1b9; }
.hours td:last-child { color: #fff; text-align: right; }
.address { color: #c8c1b9; }
.address strong { display: block; margin-bottom: 8px; color: #fff; }
.payment-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 344px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.payment-mark { display: flex; align-items: center; justify-content: center; height: 50px; min-width: 0; overflow: hidden; border: 1px solid var(--orange); border-radius: 6px; background: rgba(244, 239, 231, .035); }
.payment-mark img { display: block; width: 56px; height: 56px; max-width: none; object-fit: contain; }
.payment-mark--mastercard img { width: 40px; height: 40px; }
.payment-mark--americanexpress img { width: 30px; height: 30px; }
.payment-mark--zelle img, .payment-mark--cashapp img { width: 27px; height: 27px; }
.payment-mark--cash img { width: 34px; height: 34px; }

.site-footer { border-top: 1px solid var(--line); padding: 56px 0 30px; color: #a79f95; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.footer-title { margin: 0 0 14px; color: #fff; font-family: var(--serif); font-size: 1.35rem; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 8px 0; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--orange-light); }
.copyright { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .76rem; }

.page-hero { padding: 190px 0 80px; background: #12100e; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 950px; }
.entry-wrap { padding: 80px 0 120px; }
.entry-content { color: #d4cdc5; }
.entry-content > * { max-width: 920px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--content); }
.entry-content h2, .entry-content h3, .entry-content h4 { color: #fff; font-family: var(--serif); line-height: 1.1; }
.entry-content h2 { margin-top: 2em; font-size: clamp(2rem, 4vw, 3.5rem); }
.entry-content input:not([type="checkbox"]):not([type="radio"]),
.entry-content select, .entry-content textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #47413b; border-radius: 0; background: #171512; color: #fff;
}
.entry-content button, .entry-content input[type="submit"] { border-radius: 0 !important; }

/* Privacy policy: one reading column and the same type families as the salon. */
.privacy-policy .page-hero .container,
.privacy-policy .entry-wrap > .entry-content { width: min(calc(100% - 40px), 780px); }
.privacy-policy .page-hero { padding-bottom: 54px; }
.privacy-policy .page-hero .display-title { font-size: clamp(2.8rem, 6vw, 4.8rem); line-height: 1.04; }
.privacy-policy .entry-wrap { padding-top: 44px; }
.privacy-policy .entry-content { font-family: var(--sans); font-size: 17px; line-height: 1.8; overflow-wrap: break-word; }
.privacy-policy .entry-content h2 { margin: 0 0 .7em; color: var(--paper); font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.15rem); line-height: 1.18; letter-spacing: -.025em; }
.privacy-policy .entry-content p { margin: 0 0 1.1em; }
.privacy-policy .entry-content section { margin-top: 42px; padding-top: 34px; border-top: 1px solid var(--line); scroll-margin-top: 210px; }
.privacy-policy .entry-content a { color: var(--orange-light); text-decoration: underline; overflow-wrap: anywhere; }
.privacy-policy .entry-content a:hover { color: var(--paper); }
.privacy-policy .entry-content a:focus-visible,
.privacy-policy .entry-content summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.privacy-policy .entry-content ul { padding-left: 1.25em; }
.privacy-policy .entry-content li + li { margin-top: .5em; }
.privacy-policy .entry-content li::marker { color: var(--orange); }
.privacy-policy .privacy-updated { color: var(--muted); font-size: .82rem; }
.privacy-policy .privacy-intro { color: var(--paper); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.privacy-policy .privacy-nav { margin: 30px 0 6px; padding: 22px 26px; border: 1px solid rgba(244,122,34,.6); background: var(--ink-soft); }
.privacy-policy .privacy-nav-title { color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.privacy-policy .privacy-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.privacy-policy .privacy-nav li + li { margin-top: 0; }
.privacy-policy .privacy-nav a { display: inline-block; text-decoration-color: rgba(255,155,82,.45); }
.privacy-policy .privacy-details { padding: 18px 20px; border-left: 2px solid var(--orange); background: var(--ink-soft); }
.privacy-policy .privacy-details summary { color: var(--paper); font-weight: 650; cursor: pointer; }
.privacy-policy .privacy-details[open] summary { margin-bottom: 18px; }
.privacy-policy .privacy-details p:last-child { margin-bottom: 0; }
.privacy-policy .entry-content .privacy-contact { padding: 28px; border: 1px solid rgba(244,122,34,.6); background: var(--ink-soft); }
.privacy-policy .privacy-contact address { margin-bottom: 18px; font-style: normal; }
.privacy-policy .privacy-change-note { color: var(--muted); font-size: .85rem; }
@media (max-width: 560px) {
  .privacy-policy .privacy-nav { padding: 20px; }
  .privacy-policy .privacy-nav ul { grid-template-columns: 1fr; }
  .privacy-policy .entry-content { font-size: 16px; }
  .privacy-policy .entry-content section { scroll-margin-top: 235px; }
  .privacy-policy .entry-content .privacy-contact { padding: 22px; }
}

/* Salon Booking: keep plugin behavior, align its interface with this theme. */
.sln-bootstrap, .sln-bootstrap .sln-box, .sln-booking { font-family: var(--sans) !important; }
.sln-bootstrap .sln-box, .sln-bootstrap .sln-panel, .sln-booking { border-radius: 0 !important; }
.sln-bootstrap .sln-btn, .sln-bootstrap .btn, .sln-booking button {
  border-radius: 0 !important; font-weight: 800 !important; letter-spacing: .04em;
}
.sln-bootstrap .sln-btn--emphasis, .sln-bootstrap .btn-primary { background-color: var(--orange) !important; border-color: var(--orange) !important; }
.sln-bootstrap a { color: #d55e0b; }
.single-sln_service .entry-wrap, .post-type-archive-sln_service .entry-wrap { background: var(--paper); color: var(--ink); }

/* Salon service catalogue: replace the plugin's narrow legacy columns with readable cards. */
.entry-content > .sln-datashortcode { max-width: 1100px; }
.entry-content > .sln-datashortcode { display: flow-root; }
.entry-content > h2:has(+ .sln-datashortcode) {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 80px 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--orange-light);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.entry-content > h2:has(+ .sln-datashortcode)::before {
  content: "";
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243,106,27,.55);
  background: center / 24px 24px no-repeat url("assets/icons/cut.svg");
}
.entry-content > h2:has(+ .sln-datashortcode):nth-of-type(2)::before { background-image: url("assets/icons/color.svg"); }
.entry-content > h2:has(+ .sln-datashortcode):nth-of-type(3)::before,
.entry-content > h2:has(+ .sln-datashortcode):nth-of-type(4)::before { background-image: url("assets/icons/style.svg"); }
.entry-content > h2:has(+ .sln-datashortcode):first-of-type { margin-top: 0; }
.entry-content > h2:has(+ h2) { display: none; }
.sln-datashortcode .sln-datalist,
.sln-datashortcode .sln-datalist__item { width: 100% !important; max-width: none !important; }
.sln-datashortcode .sln-datalist__item {
  display: grid !important;
  grid-template-columns: minmax(190px, .75fr) minmax(320px, 1.7fr) minmax(150px, .55fr);
  gap: 22px 38px;
  align-items: start;
  margin: 0 0 18px !important;
  padding: 30px 32px !important;
  border: 1px solid var(--line);
  background: #12100e;
}
.sln-datashortcode .sln-datalist__item__name {
  grid-column: 1;
  margin: 0 !important;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}
.sln-datashortcode .sln-datalist__item__image:empty { display: none; }
.sln-datashortcode .sln-datalist__item__image { grid-column: 1; grid-row: 2; width: 100% !important; margin: 0 !important; }
.service-example { display: block; color: inherit; text-decoration: none; }
.sln-datashortcode .service-example img { display: block; width: 100% !important; max-width: none !important; height: 220px; border-radius: 0 !important; object-fit: cover; object-position: center 35%; }
.service-example span { display: block; padding-top: 10px; font-size: .8rem; line-height: 1.4; }
.service-example small { display: block; margin-top: 5px; color: #b8ad9d; font-size: .7rem; }
.sln-datashortcode .sln-datalist__item__description {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0 !important;
  color: #cfc7bf;
  line-height: 1.7;
}
.sln-datashortcode .sln-datalist__item__info,
.sln-datashortcode .sln-datalist__item__actions { grid-column: 3; grid-row: 1; margin: 0 !important; }
.sln-datashortcode .sln-datalist__item__info p { margin: 0 0 8px !important; }
.sln-datashortcode .sln-datalist__item__price { display: none; }
.sln-datashortcode .sln-datalist__item__price:has(.sln-service-price-free) { display: block; }
.sln-datashortcode .sln-datalist__item__actions { align-self: start; padding-top: 82px; }
.sln-datashortcode .sln-datalist__item__cta {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 12px;
  padding: 13px 18px;
  background: var(--orange);
  color: #100d0a !important;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.sln-datashortcode .sln-datalist_clearfix { display: none !important; }

@media (max-width: 980px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; }
  .header-book { display: none; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0; display: none; margin: 0; padding: 18px 20px 28px;
    border-bottom: 1px solid var(--line); background: rgba(11,10,9,.98);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 13px 0; }
  .hero::before { left: 25%; opacity: .72; }
  .hero-content { width: min(760px, 88%); }
  .about-grid, .review-layout, .visit-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 520px; }
  .about-photo img { height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .instagram-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sln-datashortcode .sln-datalist__item {
    grid-template-columns: minmax(180px, .8fr) minmax(280px, 1.4fr);
  }
  .sln-datashortcode .sln-datalist__item__description { grid-column: 2; }
  .sln-datashortcode .sln-datalist__item__info,
  .sln-datashortcode .sln-datalist__item__actions { grid-column: 1 / -1; grid-row: auto; }
  .sln-datashortcode .sln-datalist__item__actions { padding-top: 0; }
  .sln-datashortcode .sln-datalist__item__actions { max-width: 240px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--content)); }
  .header-inner { min-height: 70px; }
  .brand-copy span { display: block; font-size: 0.6rem; letter-spacing: 0.1em; white-space: nowrap; }
  .hero { min-height: 850px; align-items: end; }
  .hero::before { inset: 0; background-position: 58% center; opacity: .48; }
  .hero::after { background: linear-gradient(0deg, var(--ink) 5%, rgba(11,10,9,.3) 70%, rgba(11,10,9,.75)); }
  .hero-content { width: 100%; padding: 150px 0 90px; }
  .hero-proof { gap: 18px; }
  .about, .services-preview, .work, .reviews, .instagram, .visit { padding: 84px 0; }
  .about-photo, .about-photo img { min-height: 450px; height: 450px; }
  .about-photo img { width: 92%; }
  .section-heading { align-items: start; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .gallery-card { flex-basis: 85%; }
  .gallery-controls { margin-top: 20px; }
  .instagram-grid { grid-template-columns: 1fr; }
  .visit-panel { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero { padding: 145px 0 65px; }
  .entry-wrap { padding: 60px 0 84px; }
  .entry-content .sln-shortcode,
  .entry-content .sln-bootstrap.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .entry-content .sln-bootstrap .row { margin-left: 0 !important; margin-right: 0 !important; }
  #sln-salon { opacity: 1 !important; }
  .sln-datashortcode .sln-datalist__item { display: block !important; padding: 24px 20px !important; }
  .sln-datashortcode .sln-datalist__item__image { margin-top: 20px !important; }
  .sln-datashortcode .service-example img { height: auto; max-height: 360px; object-fit: contain; background: #211e1a; }
  .sln-datashortcode .sln-datalist__item__description { margin-top: 16px !important; }
  .sln-datashortcode .sln-datalist__item__info { margin-top: 18px !important; }
  .sln-datashortcode .sln-datalist__item__actions { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Local service guides share the site's existing typography and palette. */
.local-service-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 26px 0 36px; }
.local-service-links a { display: block; padding: 18px 20px; border: 1px solid currentColor; border-radius: 3px; font-weight: 600; text-decoration: none; }
.local-service-links a:hover { color: var(--orange); }
.local-services-intro { margin-bottom: 50px; }
.local-guide { max-width: 1080px; margin: 0 auto; }
.local-breadcrumbs { font-size: .85rem; margin: 0 0 32px; }
.local-breadcrumbs a { text-underline-offset: 3px; }
.local-guide-intro { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 48px; margin-bottom: 50px; }
.local-guide figure { margin: 0; }
.local-guide figure img { display: block; width: 100%; max-height: 480px; object-fit: cover; border-radius: 4px; }
.local-guide figcaption { font-size: .8rem; margin-top: 8px; }
.local-guide section, .local-visit { margin: 38px 0; }
.local-guide h2 { font-size: clamp(1.5rem,3vw,2rem); line-height: 1.2; margin: 0 0 18px; }
.local-guide p, .local-guide address { max-width: 850px; font-style: normal; }
.local-guide .local-faq details { border-bottom: 1px solid #bcb4a9; padding: 18px 0; }
.local-faq summary { cursor: pointer; font-weight: 700; }
.local-faq details p { margin: 16px 0 0; }
.local-visit { border: 1px solid #bcb4a9; padding: 26px; }
.local-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 55px; }
.local-guide .hours { color: inherit; }
.local-home-visit { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.local-home-visit .section-title { max-width: 780px; }
.local-home-visit p { max-width: 850px; color: #c7c0b7; }
.local-home-visit a { color: #f4a069; }
.local-guide iframe { display: block; max-width: 100%; }
@media(max-width:700px) {
 .local-service-links { grid-template-columns: 1fr 1fr; gap: 9px; }
 .local-service-links a { padding: 13px; font-size: .9rem; }
 .local-guide-intro, .local-contact-grid { grid-template-columns: 1fr; gap: 20px; }
 .local-guide figure img { max-height: 430px; }
 .local-visit { padding: 20px; }
}

/* Live next-opening ribbon. Its measured height also offsets page content. */
:root { --hdu-availability-height: 0px; }
body:has(.hdu-availability) #main-content { padding-top: var(--hdu-availability-height, 52px); }
.hdu-availability { background: var(--paper); color: var(--ink-soft); border-bottom: 1px solid #d4c6b4; }
.hdu-availability-inner { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 18px; padding-block: 8px; }
.hdu-availability-label { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .05em; white-space: nowrap; }
.hdu-availability-label i { width: 6px; height: 6px; border-radius: 50%; background: #988b7b; }
.hdu-availability.has-opening .hdu-availability-label i { background: #98501d; box-shadow: 0 0 0 3px #f47a2224; }
.hdu-availability select { width: 245px; max-width: 28vw; min-height: 36px; padding: 5px 25px 5px 9px; border: 1px solid #c7b8a4; border-radius: 2px; color: var(--ink-soft); background: #fffaf3; font: 600 .8rem var(--sans); text-overflow: ellipsis; }
.hdu-availability-status { font-size: .82rem; font-weight: 600; }
.hdu-availability-book { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 5px 13px; background: var(--ink-soft); color: var(--paper); font-size: .75rem; font-weight: 800; white-space: nowrap; text-decoration: none; }
.hdu-availability-book:hover { background: #984312; }
.hdu-availability :is(select,a):focus-visible { outline: 2px solid #984312; outline-offset: 3px; }
/* A quiet invitation, without moving the appointment text or controls. */
.hdu-availability-label i { position: relative; flex: 0 0 6px; }
.hdu-availability.has-opening .hdu-availability-label i::after { content: ""; position: absolute; inset: -4px; border: 1px solid #c16626; border-radius: 50%; opacity: .45; }
.hdu-availability.has-opening .hdu-availability-label::after { content: "→"; display: inline-block; color: #984312; font-size: 1rem; line-height: 1; }
.hdu-availability-book > span { display: inline-block; color: var(--orange-light); }
@media (prefers-reduced-motion: no-preference) {
  .hdu-availability.has-opening .hdu-availability-label i::after { animation: hdu-opening-pulse 3.6s ease-out infinite; }
  .hdu-availability.has-opening .hdu-availability-label::after { animation: hdu-opening-point 4.8s ease-in-out infinite; }
  .hdu-availability.has-opening .hdu-availability-book > span { animation: hdu-opening-arrow 4.8s ease-in-out infinite; }
  .hdu-availability:hover .hdu-availability-label i::after,
  .hdu-availability:focus-within .hdu-availability-label i::after,
  .hdu-availability:hover .hdu-availability-label::after,
  .hdu-availability:focus-within .hdu-availability-label::after,
  .hdu-availability:hover .hdu-availability-book > span,
  .hdu-availability:focus-within .hdu-availability-book > span { animation-play-state: paused; }
}
@keyframes hdu-opening-pulse {
  0%, 15% { transform: scale(.75); opacity: .55; }
  65%, 100% { transform: scale(1.8); opacity: 0; }
}
@keyframes hdu-opening-point {
  0%, 55%, 100% { transform: translateX(0); }
  68%, 86% { transform: translateX(4px); }
  77%, 95% { transform: translateX(0); }
}
@keyframes hdu-opening-arrow {
  0%, 55%, 100% { transform: translate(0, 0); }
  70% { transform: translate(3px, -3px); }
  85% { transform: translate(0, 0); }
}
@media (max-width: 1050px) {
  .hdu-availability-label { display: none; }
  .hdu-availability-inner { justify-content: space-between; gap: 12px; }
  .hdu-availability select { max-width: 36vw; }
}
@media (max-width: 680px) {
  .hdu-availability-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; padding-block: 7px; }
  .hdu-availability select { width: 100%; max-width: none; min-height: 32px; font-size: 16px; padding-block: 2px; }
  .hdu-availability-status { grid-column: 1; font-size: .72rem; line-height: 1.5; }
  .hdu-availability-book { grid-column: 2; grid-row: 1 / 3; min-height: 42px; padding-inline: 12px; }
}

/* The Instagram feed uses the same lightweight gallery and native swipe controls. */
.gallery-footer {display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:16px}
.gallery-caption strong {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.3em}
.gallery-rail:empty {display:none}
.gallery-media {position:relative;aspect-ratio:4/5;background:#211e1a;overflow:hidden}
.gallery-media > a {height:100%}
.gallery-media img,.gallery-media video {display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;background:#211e1a}
.gallery-video-play {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:68px;border-radius:50%;border:1px solid rgba(255,255,255,.65);background:rgba(11,10,9,.8);color:var(--paper);font-size:25px;cursor:pointer;box-shadow:0 4px 25px #0005}
.gallery-video-play:hover,.gallery-video-play:focus-visible {background:var(--orange);color:var(--ink)}
.gallery-media.is-playing .gallery-video-play {display:none}
.gallery-album-count {position:absolute;right:12px;top:12px;background:rgba(11,10,9,.85);color:var(--paper);padding:5px 11px;border-radius:20px;font-size:.78rem;pointer-events:none}
.gallery-video-error {font-size:.8rem;padding:0 20px 15px;color:var(--paper)}

/* One Instagram post per card, with its own album preview. */
.gallery-album {position:relative}
.gallery-album-slide[hidden] {display:none}
.gallery-album-nav {display:flex;align-items:center;gap:6px;padding:10px;background:#211e1a}
.gallery-album-nav > button {flex:0 0 44px;width:44px;height:48px;background:transparent;border:1px solid #756d63;color:var(--paper);font:inherit;cursor:pointer}
.gallery-album-thumbs {display:flex;gap:6px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--orange) #302c27}
.gallery-album-thumbs button {position:relative;flex:0 0 46px;width:46px;height:48px;padding:2px;background:transparent;border:2px solid transparent;cursor:pointer}
.gallery-album-thumbs button[aria-current="true"] {border-color:var(--orange)}
.gallery-album-thumbs img {width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
.gallery-album-thumbs span {position:absolute;inset:0;display:grid;place-items:center;color:white;text-shadow:0 1px 4px #000;font-size:15px;pointer-events:none}
.gallery-album-nav button:hover,.gallery-album-nav button:focus-visible {border-color:var(--orange);outline:2px solid var(--orange);outline-offset:-2px}
.gallery-album-count {z-index:2}
.gallery-caption strong {min-height:0}

/* Original intertwined brush identity, redrawn as a scalable vector. */
.brand-dna { width:72px; height:72px; flex:0 0 72px; object-fit:contain; }
.footer-brand { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img { width:60px; height:60px; flex:0 0 60px; }
.footer-brand .footer-title { margin:0; }
@media(max-width:600px) { .brand { gap:9px; } .brand-dna { width:56px; height:56px; flex-basis:56px; } }

/* Five service groups match the booking catalogue. */
.entry-content > h2:has(+ .sln-datashortcode):nth-of-type(3)::before { background-image: url("assets/icons/color.svg"); }
.entry-content > h2:has(+ .sln-datashortcode):nth-of-type(5)::before { background-image: url("assets/icons/style.svg"); }

/* Secondary finishing services require a primary appointment. */
.service-addon-label { display:block; margin-top:12px; color:var(--orange-light); font-family:var(--sans); font-size:11px; font-weight:700; line-height:1.4; letter-spacing:.12em; text-transform:uppercase; }
.service-addon-note { display:block; margin-bottom:16px; color:var(--cream, #f4ede2); font-weight:600; }

/* Google reviews: touch, trackpad, keyboard and button navigation. */
.review-layout > *, .review-carousel { min-width: 0; }
.review-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; color:var(--orange-light); font-size:.8rem; }
.review-controls { display:flex; gap:8px; }
.review-controls[hidden] { display:none; }
.review-controls button { width:44px; height:44px; border:1px solid var(--orange); background:transparent; color:var(--orange-light); font:inherit; font-size:1.3rem; cursor:pointer; }
.review-controls button:hover { background:var(--orange); color:var(--ink); }
.review-controls button:disabled { opacity:.3; cursor:default; background:transparent; color:var(--orange-light); }
.review-carousel .review-cards { display:flex; overflow-x:auto; gap:16px; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:var(--orange) #29241f; padding:3px 3px 18px; }
.review-carousel .review-card { flex:0 0 calc(100% - 28px); box-sizing:border-box; scroll-snap-align:start; border-color:rgba(244,122,34,.45); min-width:0; }
.review-carousel .review-card blockquote { overflow-wrap:anywhere; }
.review-position { min-height:1.5em; margin:12px 0 0; color:var(--muted); font-size:.78rem; }
.review-cards:focus-visible, .review-controls button:focus-visible { outline:2px solid var(--orange); outline-offset:4px; }

/* Shared UI refinements: readable type, contrast and consistent controls. */
:root { --orange-ink: #984312; }
::selection { background: var(--orange); color: var(--ink); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--orange-light); outline-offset: 4px; }
html { scroll-padding-top: calc(var(--hdu-availability-height, 60px) + 110px); }
.page-hero .display-title { font-size: clamp(2.5rem, 5.5vw, 4.8rem); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; overflow-wrap: break-word; }
.section-title { line-height: 1.08; text-wrap: balance; }
.entry-content h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); line-height: 1.25; }
.entry-content h4 { font-size: 1.125rem; line-height: 1.35; }
.button { line-height: 1.4; padding-block: 13px; text-align: center; }
.services-preview .eyebrow, .services-preview .service-card::before, .services-preview .service-card a { color: var(--orange-ink); }
.services-preview .button--ghost { color: var(--ink); border-color: var(--orange-ink); }
.services-preview .button--ghost:hover { color: var(--orange-ink); }
.services-preview :focus-visible { outline-color: var(--orange-ink); }
.service-card a { display: inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; }
.entry-content > h2:has(+ .sln-datashortcode) { font-size: .875rem; line-height:1.5; letter-spacing:.12em; }
.service-addon-label { font-size:.75rem; letter-spacing:.08em; }
.service-example small { font-size:.8125rem; line-height:1.5; }
.review-card cite { font-size:.8125rem; line-height:1.5; letter-spacing:.07em; }
.review-toolbar, .review-position, .copyright { font-size:.8125rem; }
.footer-links a { display:inline-block; padding-block:4px; }
.hdu-availability select, .hdu-availability-book { min-height:44px; }
.hdu-availability-label { font-size:.8125rem; }
.hdu-chat { font-family:var(--sans); --chat-accent:var(--orange); }
.hdu-chat-launcher, .hdu-chat-primary { background:var(--orange); }
.hdu-chat-launcher:hover, .hdu-chat-primary:hover { background:var(--orange-light); }
.hdu-chat-topics button { min-height:44px; font-size:13px; }
.hdu-chat-note, .hdu-chat-small { font-size:13px; }
@media (min-width:981px) and (max-width:1180px) {
  .menu-toggle { display:block; min-width:44px; min-height:44px; }
  .header-book { display:none; }
  .primary-nav { position:absolute; top:100%; left:0; right:0; display:none; margin:0; padding:18px 20px 28px; border-bottom:1px solid var(--line); background:rgba(11,10,9,.98); }
  .primary-nav.is-open { display:block; }
  .primary-nav ul { align-items:stretch; flex-direction:column; gap:0; }
  .primary-nav a { display:block; padding:13px 0; }
}
@media (max-width:680px) {
  .hdu-availability-status { font-size:.8125rem; }
  .button { max-width:100%; }
  .hero-proof { flex-wrap:wrap; }
  .entry-content :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) { font-size:16px; }
}

/* Hero highlights link to their supporting details. */
.hero-proof a { display:block; min-height:44px; padding-block:6px; border-bottom:1px solid transparent; text-decoration:none; transition:color 160ms ease,border-color 160ms ease,transform 160ms ease; }
.hero-proof a strong { transition:color 160ms ease; }
.hero-proof a:hover, .hero-proof a:focus-visible { color:var(--orange-light); border-bottom-color:var(--orange); transform:translateY(-2px); }
.hero-proof a:hover strong, .hero-proof a:focus-visible strong { color:var(--orange-light); }
@media (prefers-reduced-motion:reduce) { .hero-proof a:hover, .hero-proof a:focus-visible { transform:none; } }

/* Reviews read as a vertical list on tablets and desktops. */
@media (min-width:768px) {
  .review-carousel .review-cards { display:grid; grid-template-columns:minmax(0,1fr); overflow:visible; scroll-snap-type:none; padding:0; gap:16px; }
  .review-carousel .review-card { width:100%; }
  .review-carousel .review-controls, .review-carousel .review-position { display:none; }
}
