/* Hair By Gurbina · site styles: designed around the Gurbina Hair Expert logo (Nov 2026).
   Black and white like the logo, on a soft paper white; the photos carry the colour.
   Cormorant Garamond for headings (like the logo's GURBINA), Jost for text and spaced capitals
   (like the logo's HAIR EXPERT). Square corners and hairline rules echo the logo's sharp blades. */

:root {
  --bg: #FAF9F6;
  --bg-alt: #F1EEE8;
  --ink: #141414;      /* 18:1 on --bg */
  --ink-2: #47443F;    /* 9.4:1 */
  --ink-3: #6A665F;    /* 5.5:1 on --bg, 4.9:1 on --bg-alt (smallest text colour) */
  --line: #E2DDD4;
  --dark: #141414;     /* closing booking sections */
  --on-dark: #F5F3EF;
  --on-dark-2: #BDB8AF; /* 9.3:1 on --dark */
  --line-dark: rgba(245, 243, 239, .18);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --caps: .18em;       /* letter-spacing for small capitals, like HAIR EXPERT */

  --wrap: 1160px;
  --gutter: 20px;
  --sec-y: clamp(64px, 10vw, 120px);
  --hdr: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
@media (min-width: 900px) { :root { --gutter: 40px; --hdr: 92px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 800px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.625rem, 11.4vw, 3.125rem); line-height: 1.02; letter-spacing: -0.01em; }
h1 em { display: block; font-style: italic; font-weight: 400; }   /* always "Beautiful colour," / "made for you." */
h2 { font-size: clamp(2.125rem, 4.4vw, 3.25rem); line-height: 1.08; }
h2 em { font-style: italic; font-weight: 400; }
h3 { font: 500 13px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.eyebrow, .sub { font: 500 13px/1.4 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 32px; border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: #fff; text-decoration: none;
  font: 500 14px/1.1 var(--sans); letter-spacing: var(--caps); text-transform: uppercase; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.link, .quiet {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 13px/1.35 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  text-decoration: underline; text-decoration-color: rgba(20, 20, 20, .35);
  text-decoration-thickness: 1px; text-underline-offset: 7px;
}
.link:hover, .quiet:hover { text-decoration-color: currentColor; }

/* ---------- Header ----------
   The logo is symmetrical, so it sits in the centre: menu on the left and Book on the right on phones,
   the menu links on the left and the Book button on the right on wider screens.
   Phones: the header scrolls away (only the bottom Book bar stays). Wider screens: sticky. */
.hdr { position: relative; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "menu logo book"; align-items: center; }
.hdr-in .logo { grid-area: logo; }
.logo { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; line-height: 0; }
.logo-img { height: 58px; width: auto; }   /* the full logo picture: scissors + GURBINA / HAIR EXPERT */
.nav { display: none; }
.hdr-book {
  grid-area: book; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding-left: 12px;
  font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: rgba(20, 20, 20, .35);
}
.hdr-book:hover { text-decoration-color: currentColor; }
.menu-btn { grid-area: menu; justify-self: start; width: 44px; height: 44px; margin-left: -11px; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; padding: 0; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 1px; background: currentColor; position: relative; transition: transform .2s ease, background-color .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
.menu { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 4px var(--gutter) 20px; }
.menu-open .menu { display: block; }
.menu a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 23px/1.2 var(--serif); }
.menu a[aria-current="page"] { font-style: italic; }
.menu a:last-child {
  margin-top: 20px; justify-content: center; min-height: 54px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: 500 14px/1 var(--sans); letter-spacing: var(--caps); text-transform: uppercase;
}
@media (min-width: 900px) {
  html { scroll-padding-top: calc(var(--hdr) + 12px); }
  .hdr { position: sticky; top: 0; background: rgba(250, 249, 246, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .hdr-in { grid-template-areas: "nav logo book"; column-gap: 32px; }
  .logo-img { height: 70px; }
  .nav { grid-area: nav; justify-self: start; display: flex; gap: clamp(20px, 2.4vw, 36px); }
  .nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; text-decoration: none; color: var(--ink-2); font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .nav a:hover { color: var(--ink); }
  .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 9px; }
  .hdr-book { min-height: 46px; padding: 0 26px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
  .hdr-book:hover { background: transparent; color: var(--ink); }
  .menu-btn, .menu { display: none !important; }
}

/* ---------- Hero ----------
   Phones: centred intro, the main action, then the photo. The photo is shown whole at its own
   shape (945 x 1665, crown to ends), never cropped, and never taller than the visible screen
   (svh = with the browser bars showing), so the whole photo fits above the phone Book bar.
   Wider screens: text on the left, the photo on the right. */
.hero { padding: 32px 0 8px; }
.hero-grid { display: grid; justify-items: center; text-align: center; max-width: calc(520px + 2 * var(--gutter)); }
.hero h1 { margin-top: 14px; }
.lead { margin: 16px auto 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 32ch; }
.hero-actions { margin-top: 24px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.hero-actions .link { margin-top: 8px; }
.trust { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.hero-photo { margin-top: 32px; width: 100%; max-width: 420px; }
.hero-photo img {
  display: block; width: auto; height: auto; max-width: 100%; margin-inline: auto;
  max-height: calc(100vh - 96px);
  max-height: max(300px, calc(100svh - 96px - var(--safe-b)));   /* 64px Book bar + breathing room */
  aspect-ratio: 945 / 1665; background: var(--bg-alt);
}
@media (min-width: 720px) {
  .hero { padding: clamp(40px, 5.5vw, 80px) 0 clamp(16px, 3vw, 40px); }
  .hero-grid {
    max-width: var(--wrap); justify-items: stretch; text-align: left;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    grid-template-areas: "intro photo" "actions photo";
    column-gap: clamp(36px, 6.5vw, 96px);
  }
  .hero-intro { grid-area: intro; align-self: end; }
  .lead { margin-left: 0; font-size: 18px; }
  .hero-actions { grid-area: actions; align-self: start; margin-top: 36px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 32px; }
  .hero-actions .btn { width: auto; }
  .hero-actions .link { margin-top: 0; }
  .trust { flex-basis: 100%; margin-top: 18px; }
  .hero-photo { grid-area: photo; margin: 0; justify-self: end; max-width: 420px; }
  /* Laptops: the whole photo fits on the first screen, under the header. */
  .hero-photo img { margin-inline: auto 0; max-height: calc(100vh - var(--hdr) - 96px); max-height: max(300px, calc(100svh - var(--hdr) - 96px)); }
  .hero h1 { font-size: clamp(2.875rem, 5.4vw, 4.75rem); margin-top: 18px; }
}

/* ---------- Sections ----------
   Section headings are centred with a short hairline under them, like the line under GURBINA. */
.sec { padding: var(--sec-y) 0; }
.sec-alt { background: var(--bg-alt); }
.sec > .wrap > h2 { text-align: center; margin-bottom: 36px; }
.sec > .wrap > h2::after, .page-head h1::after { content: ""; display: block; width: 44px; height: 1px; margin: 22px auto 0; background: currentColor; }
.sec-note { margin: -16px auto 8px; max-width: 46ch; text-align: center; font-size: 15px; color: var(--ink-3); }
.sec-link { margin-top: 36px; text-align: center; }
@media (min-width: 900px) { .sec > .wrap > h2 { margin-bottom: 48px; } .sec-link { margin-top: 48px; } }

/* ---------- Selected work (home) and gallery (work page) ----------
   3:4 tiles match the photos' own shape, so most show uncropped. */
.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
.work img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bg-alt); }
.work-link, .tile-link { display: block; }
.tile-link { cursor: zoom-in; }
.work .cap { margin-top: 12px; text-align: center; font: 500 19px/1.25 var(--serif); color: var(--ink); }
.work .cap span { display: block; margin-bottom: 4px; font: 500 13px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
@media (min-width: 720px) {
  .work-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
}
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Services (home) ---------- */
.svc { display: grid; }
.svc-grp { padding-top: 28px; }
.svc h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.plist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.plist span { font: 500 19px/1.25 var(--serif); }
.plist b { font: 500 16px/1.25 var(--sans); white-space: nowrap; }
.plist small { font-size: 14px; font-weight: 400; color: var(--ink-3); }
@media (min-width: 900px) {
  .svc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .svc-grp { padding-top: 8px; }
}

/* ---------- Meet Gurbina ---------- */
.about { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; align-items: end; }
.about-text { display: contents; }
.about-photo { grid-row: 1; width: 132px; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-alt); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.about h2 { grid-row: 1; grid-column: 2; }
.about p { grid-column: 1 / -1; margin-top: 4px; color: var(--ink-2); }
@media (min-width: 720px) {
  .about { grid-template-columns: minmax(0, 360px) minmax(0, 540px); gap: clamp(40px, 7vw, 104px); justify-content: center; align-items: center; }
  .about-text { display: block; }
  .about-photo { width: 100%; grid-row: auto; }
  .about p { margin-top: 22px; font-size: 18px; }
}

/* ---------- Closing booking sections (home "Book your appointment", subpage endings): black, like the logo ---------- */
.sec-dark, .end { background: var(--dark); color: var(--on-dark); }
.sec-dark :focus-visible, .end :focus-visible { outline-color: #fff; }
.sec-dark a, .end a { color: #fff; }
.sec-dark .btn, .end .btn { background: #fff; color: var(--ink); border-color: #fff; }
.sec-dark .btn:hover, .end .btn:hover { background: transparent; color: #fff; }
.sec-dark .quiet, .end .quiet { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.book { display: grid; gap: 40px; }
.facts { margin-top: 24px; display: grid; }
.facts div { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font: 500 13px/1.6 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
@media (min-width: 560px) { .facts div { grid-template-columns: 136px minmax(0, 1fr); gap: 16px; } .facts dt { line-height: 1.9; } }
.facts dd { color: var(--on-dark-2); font-size: 16px; }
.facts a { text-underline-offset: 3px; }
.cta { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cta .btn { width: 100%; }
@media (min-width: 560px) { .cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 32px; } .cta .btn { width: auto; } }
.faq details { border-top: 1px solid var(--line-dark); }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font: 500 21px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 var(--sans); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 16px; color: var(--on-dark-2); font-size: 16px; }
@media (min-width: 900px) { .book { grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; } .faq { margin-top: 72px; } }

/* ---------- Footer: centred, the full logo on top ---------- */
.ftr { background: var(--bg); border-top: 1px solid var(--line); padding: 48px 0 calc(32px + var(--safe-b)); }
.ftr-in { display: grid; gap: 16px; justify-items: center; text-align: center; }
.logo-mark { height: 128px; width: auto; }   /* the full logo with the scissors */
.logo-ftr { margin-bottom: 8px; }
.ftr-links, .ftr-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; }
.ftr-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.ftr-contact a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 15px; color: var(--ink-2); text-decoration: none; }
.ftr-links a:hover, .ftr-contact a:hover { text-decoration: underline; text-underline-offset: 6px; }
.ftr-small { margin-top: 8px; font-size: 13px; letter-spacing: .04em; color: var(--ink-3); }

/* ---------- Phone Book bar ----------
   Shows only after the page's main Book button has scrolled away; hidden while the menu is open
   and over the closing booking section and footer. Hidden bars are also out of the tab order. */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15;
  padding: 8px var(--gutter) calc(8px + var(--safe-b));
  background: rgba(250, 249, 246, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(105%); visibility: hidden;
  transition: transform .25s ease, visibility 0s linear .25s;
}
.sticky .btn { min-height: 48px; }
.sticky.show { transform: none; visibility: visible; transition: transform .25s ease; }
.menu-open .sticky.show { transform: translateY(105%); visibility: hidden; }
html.has-sticky { scroll-padding-bottom: calc(80px + var(--safe-b)); }
@media (min-width: 900px) { .sticky { display: none; } html.has-sticky { scroll-padding-bottom: 0; } }

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

/* ================= Subpages: services, work, policies ================= */
.page-head { padding: clamp(40px, 6vw, 72px) 0 16px; text-align: center; }
.page-head h1 { font-size: clamp(2.625rem, 6vw, 3.75rem); }
.page-head p { margin: 20px auto 0; color: var(--ink-2); max-width: 58ch; }
.page-head .quiet { margin-top: 12px; }
.sec-tight { padding: 24px 0 clamp(48px, 6vw, 80px); }
.end { padding: clamp(56px, 7vw, 96px) 0; }
.end p { margin-top: 12px; color: var(--on-dark-2); }
.small-links { margin-top: 12px; }
.small-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }

/* Services menu */
.grp { padding: 36px 0; border-top: 1px solid var(--line); }
.grp:first-child { border-top: 0; padding-top: 8px; }
.grp h2 { font-size: clamp(1.875rem, 3.4vw, 2.375rem); }
.grp > p { margin-top: 10px; color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.rows { margin-top: 16px; border-top: 1px solid var(--ink); }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows .nm { font: 500 20px/1.25 var(--serif); }
.rows .du { grid-column: 1; font-size: 14px; color: var(--ink-3); }
.rows .pr { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font-weight: 500; white-space: nowrap; }
.rows .pr small { display: block; font-size: 13px; font-weight: 400; color: var(--ink-3); line-height: 1.2; }
.rows .pr.q { font-weight: 400; font-size: 15px; color: var(--ink-2); white-space: normal; max-width: 9.5em; line-height: 1.3; }
.sub { margin-top: 28px; color: var(--ink); }

/* Work gallery filters and photo viewer */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 32px; }
.filter { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink-2); font: 500 13px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.lightbox { border: 0; padding: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: rgba(14, 14, 14, .96); color: #fff; }
.lightbox::backdrop { background: rgba(14, 14, 14, .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top, .lb-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.lb-bottom { padding-bottom: calc(16px + var(--safe-b)); }
.lb-count { font-size: 14px; letter-spacing: .12em; color: rgba(255, 255, 255, .75); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 12px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-btn { width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 0; background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .12); }
.lb-cap { flex: 1; text-align: center; font: 500 19px/1.3 var(--serif); }
.lightbox :focus-visible { outline-color: #fff; }
html.lb-open { overflow: hidden; }

/* Policies */
.h2-sm { font-size: clamp(1.875rem, 3vw, 2.25rem); margin-top: 8px; }
.h2-sm + .pol, .h2-sm + .muted { margin-top: 16px; }
#aftercare { margin-top: 56px; }
.pol { display: grid; border-top: 1px solid var(--ink); }
.pol div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pol dt { font: 500 13px/1.6 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.pol dd { color: var(--ink-2); font-size: 16px; }
@media (min-width: 700px) { .pol div { grid-template-columns: 180px 1fr; gap: 24px; } .pol dt { line-height: 1.9; } }
.muted { color: var(--ink-3); font-size: 15px; }
.care-list { margin-top: 16px; border-top: 1px solid var(--ink); }
.care { border-bottom: 1px solid var(--line); }
.care summary { list-style: none; cursor: pointer; min-height: 56px; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 21px/1.3 var(--serif); }
.care summary::-webkit-details-marker { display: none; }
.care summary::after { content: "+"; margin-left: auto; font: 300 24px/1 var(--sans); transition: transform .2s ease; }
.care[open] summary::after { transform: rotate(45deg); }
.care ol { margin: 0; padding: 0 0 16px; display: grid; gap: 10px; }
.care li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; font-size: 16px; }
.care li b { font: 500 13px/1.7 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.care li span { color: var(--ink-2); }
@media (max-width: 420px) { .care li { grid-template-columns: 1fr; gap: 2px; } }
