:root {
  --white: #fff;
  --ink: #221e1b;
  --muted: #625850;
  --line: #e6dfd7;
  --paper: #f7f4f0;
  --sand: #ede0d2;
  --caramel: #9d6e50;
  --accent-dark: #65442e;
  --lilac: var(--sand);
  --lilac-light: var(--paper);
  --blue: var(--sand);
  --blue-light: var(--paper);
  --purple: var(--accent-dark);
  --radius: 18px;
  --shell-width: 1176px;
  --gutter: clamp(24px, 4vw, 58px);
  --header-height: 73px;
  --heading-font: 'Dela Gothic One', 'Manrope', Arial, sans-serif;
}

html { scroll-padding-top: calc(var(--header-height) + 14px); }
body {
  position: relative;
  margin: 0;
  padding: 32px 0 0;
  background: #f2efec;
  color: var(--ink);
}
body::before {
  position: absolute;
  inset: 0 0 auto;
  height: 575px;
  background: linear-gradient(90deg, #40241328, #4024130a 55%, #28170c37), url(assets/hero-eye.jpg) 50% 92% / cover;
  content: '';
}
.site-shell {
  width: min(calc(100% - 64px), var(--shell-width));
  max-width: none;
  overflow: clip;
  border-radius: 0;
}
.wrap { width: calc(100% - 2 * var(--gutter)); }
.section { padding-block: clamp(45px, 6vw, 83px); }
h1, h2, h3 { font-family: 'Manrope', Arial, sans-serif; }
h2 { font-size: clamp(29px, 3.25vw, 45px); font-weight: 700; line-height: 1.1; letter-spacing: -.055em; }
h3 { font-weight: 700; }
.section-heading { align-items: end; gap: 14px 28px; margin-bottom: 22px; }
.section-heading p { margin-top: 8px; color: var(--muted); }
#works-title, #studio-title, #process-title { font-family: var(--heading-font); font-weight: 400; letter-spacing: -.07em; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.skip { z-index: 30; }
.button, .outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid #c9bbae;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}
.button { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.outline:hover { background: var(--sand); }
.button span { font-size: 15px; }
.text-link { border-color: #b9a998; color: var(--ink); }
.text-link:hover { color: var(--accent-dark); }

.header {
  position: sticky;
  inset: 0 auto auto;
  z-index: 20;
  width: 100%;
  max-width: none;
  height: var(--header-height);
  gap: clamp(10px, 1.4vw, 20px);
  padding: 9px var(--gutter);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
  transform: none;
}
.header .brand {
  gap: 7px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.045em;
}
.header .brand-mark { width: 34px; height: 34px; filter: brightness(.15); }
.header .brand small { margin-top: 4px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: 0; }
.header nav { display: flex; gap: clamp(10px, 1.6vw, 22px); margin: 0 auto; font-size: 13px; }
.header nav a:not(.nav-pill) { display: inline; }
.header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header .button { min-height: 37px; margin: 0; padding: 7px 13px; border-color: #c9bbae; background: var(--white); color: var(--ink); font-size: 13px; }
.header .button:hover { background: var(--sand); }
.header .menu-toggle { display: none; }
.hero-search {
  position: static;
  width: clamp(118px, 12vw, 158px);
  min-width: 0;
  gap: 0;
  margin: 0;
  padding: 1px 6px 1px 10px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: none;
}
.hero-search input { color: var(--ink); font-size: 12px; }
.hero-search input::placeholder { color: var(--muted); }
.hero-search button { display: grid; place-items: center; width: 28px; height: 30px; flex: 0 0 auto; }
.hero-search svg { width: 15px; height: 15px; }
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + 5px);
  right: 16px;
  z-index: 19;
  width: min(270px, calc(100vw - 32px));
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
}
.mobile-nav a { padding: 4px 6px; }

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 49fr) minmax(0, 51fr);
  gap: clamp(18px, 3.3vw, 48px);
  align-items: center;
  padding-block: 28px 0;
}
.studio-hero-copy { padding-block: 15px; }
.studio-hero-location { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
.studio-hero-location:hover { text-decoration: underline; text-underline-offset: 4px; }
.studio-hero h1 {
  margin: 14px 0 18px;
  font-family: var(--heading-font);
  font-size: clamp(31px, 3.65vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.studio-hero p { max-width: 34ch; color: var(--muted); font-size: clamp(15px, 1.45vw, 18px); line-height: 1.55; }
.studio-hero-actions { margin-top: 24px; }
.studio-hero-image {
  width: 100%;
  height: clamp(310px, 35vw, 465px);
  border-radius: var(--radius);
  background: var(--sand);
  object-position: 50% 46%;
}

.directions { padding-bottom: 38px; }
.service-strips { display: grid; gap: 8px; }
.service-strip {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 73px;
  padding: 9px 18px;
  overflow: hidden;
  border-radius: 15px;
  background: #d3ac91;
}
.service-strip > img {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 78%;
  height: 100%;
  object-position: center var(--photo-position, 50%);
  transition: transform .3s ease;
}
.service-strip::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, var(--strip-tone, #d1ac92) 18%, transparent 60%);
  content: '';
}
.service-strip:hover img { transform: scale(1.035); }
.strip-brows { --photo-position: 65%; --strip-tone: #d6b6a1; }
.strip-lips { --photo-position: 61%; --strip-tone: #c39684; }
.strip-eyes { --photo-position: 52%; --strip-tone: #b89077; }
.strip-care { --photo-position: 84%; --strip-tone: #bc9d83; }
.strip-removal { --photo-position: 72%; --strip-tone: #cca998; }
.strip-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 224px;
  padding: 8px 15px;
  border-radius: 22px;
  background: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.strip-label span { color: var(--accent-dark); }
.service-strip > small {
  flex: none;
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 22px;
  background: #ffffffeb;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.directions-help { margin-top: 15px; }
.service-disclosure, .review-card .review-highlight { display: none; }

.gallery-section, .help-section { margin: 0; border-radius: 0; background: var(--paper); }
.gallery-section > .wrap, .help-section > .wrap { width: calc(100% - 2 * var(--gutter)); }
.gallery-tabs { gap: 6px; padding: 0; border-radius: 0; background: none; }
.gallery-tabs button, .category-list button { border: 1px solid var(--line); border-radius: 22px; background: var(--white); color: var(--ink); }
.gallery-tabs button.active, .category-list button.active { border-color: var(--sand); background: var(--sand); color: var(--accent-dark); }
.gallery-tabs button:hover, .category-list button:hover { border-color: var(--caramel); }
.work-card > .gallery-item { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--paper); }
.gallery-item span { color: var(--ink); }
.team-controls button, .reviews-controls button { color: var(--accent-dark); }
.service-book, .aside-note a, .search svg, .stars { color: var(--accent-dark); }
.aside-note { padding-inline: 10px; }

.salon-section.wrap { margin: 0 auto; padding-block: clamp(46px, 6vw, 80px) 0; border-radius: 0; background: var(--white); }
.salon-layout { grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.salon-cover {
  width: 100%;
  height: clamp(260px, 34vw, 390px);
  border-radius: var(--radius);
  object-position: 50% 63%;
}
.salon-copy h2 { font-size: clamp(30px, 4vw, 52px); }
.salon-copy > p { margin-top: 15px; color: var(--muted); }
.salon-copy > .text-link { margin-top: 18px; }
.studio-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.studio-fact { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.studio-fact .why-photo-button { width: 100%; height: 132px; min-height: 0; }
.studio-fact .why-photo-button img { width: 100%; height: 100%; object-position: 50% 57%; }
.studio-fact > div { padding: 14px 17px 17px; }
.studio-fact h3 { font-size: 16px; line-height: 1.25; }
.studio-fact p { margin-top: 5px; color: var(--muted); font-size: 14px; }

.master-photo { background: var(--paper); }
.reviews-grid .review-card { background: var(--paper); }
.reviews-grid .reviews-column:nth-child(even) .review-card:first-child { background: var(--sand); }
.review-score > strong { font-family: var(--heading-font); color: var(--accent-dark); font-size: clamp(40px, 5.5vw, 62px); }
#process { border-top: 1px solid var(--line); }
.process-grid li { border: 1px solid var(--line); }
.process-grid li::before { color: var(--accent-dark); font-weight: 700; }
.quiz-panel, .fitting-panel { border: 1px solid var(--line); }
.contacts-section address, .contact-card .location { color: var(--muted); }
.dot { background: var(--caramel); }
.contact-widget-panel { border-color: var(--line); background: var(--white); }
.contact-widget-toggle, .back-to-top { border-color: var(--line); background: var(--white); color: var(--ink); box-shadow: 0 4px 20px #3a25161b; }
.contact-widget-toggle:hover, .back-to-top:hover { background: var(--sand); }
dialog::backdrop { background: #221915ef; }
.footer { display: flex; width: 100%; padding: 28px var(--gutter); border-top: 1px solid var(--line); background: var(--paper); }
.footer .brand, .footer a { color: var(--ink); }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer .social-link { border-color: var(--line); }

@media (max-width: 1080px) {
  .header .hero-search { display: none; }
}

@media (min-width: 1200px) {
  #works-title, #studio-title, #process-title, #team-title, #reviews-title, #contact-title {
    font-family: var(--heading-font);
    font-weight: 400;
    letter-spacing: -.04em;
    word-spacing: .09em;
  }

  .service-strip:has(+ .service-disclosure) { display: none; }
  .service-disclosure {
    --service-photo-width: 38%;
    display: block;
    position: relative;
    isolation: isolate;
    min-width: 0;
    overflow: clip;
    border-radius: 15px;
    background: #ead8cd;
  }
  .service-disclosure::before {
    position: absolute;
    z-index: -2;
    inset: -30px;
    background: var(--service-photo) 50% 50% / cover no-repeat;
    filter: blur(32px);
    opacity: .52;
    content: '';
  }
  .service-disclosure[open]::before { opacity: .27; }
  .service-disclosure > summary {
    position: static;
    isolation: auto;
    padding-right: calc(var(--service-photo-width) + 18px);
    overflow: visible;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    list-style: none;
  }
  .service-disclosure > summary::after { content: none; }
  .service-disclosure > summary::-webkit-details-marker { display: none; }
  .service-disclosure > summary img {
    z-index: -1;
    width: var(--service-photo-width);
    object-position: center var(--photo-position, 50%);
    mask-image: linear-gradient(to right, transparent, #000 12%);
    transform: none;
  }
  .service-disclosure > .strip-brows { --photo-position: 85%; }
  .service-disclosure > .strip-removal { --photo-position: 86%; }
  .service-disclosure[open] > summary img { object-position: center; }
  .service-disclosure[open] > .strip-care img,
  .service-disclosure[open] > .strip-removal img { object-fit: contain; mask-image: none; }
  .service-disclosure[open] .strip-label { background: var(--ink); color: var(--white); }
  .service-disclosure[open] .service-indicator { color: inherit; }
  .service-disclosure > summary:focus-visible { outline-offset: -3px; }
  .service-indicator::before { content: '+'; font-size: 21px; font-weight: 500; line-height: 1; }
  .service-disclosure[open] .service-indicator::before { content: '−'; }
  .service-preview {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    gap: 14px;
    width: calc(100% - var(--service-photo-width));
    min-height: 200px;
    padding: 4px 23px 18px;
  }
  .service-preview-list { display: grid; margin: 0; padding: 0; list-style: none; }
  .service-preview-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-block: 7px;
    font-size: 14px;
  }
  .service-preview-list li + li { border-top: 1px solid #62463228; }
  .service-preview-list li > span { flex: none; color: var(--accent-dark); font-weight: 700; }
  .service-preview-list p { color: #534239; }
  .service-preview .actions { gap: 8px 15px; }
  .service-preview .actions .button { margin-left: auto; }
  .service-preview .actions .text-link { font-size: 13px; }

  #team { padding-bottom: 38px; }
  #team .team-controls, #reviews .reviews-controls { display: none; }
  #team-grid, #reviews-grid {
    display: grid;
    align-items: stretch;
    overflow: visible;
    padding: 0;
    cursor: auto;
  }
  #team-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 12px; }
  #team .master-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
  }
  #team .master-card:first-child {
    grid-row: span 2;
    grid-template-columns: minmax(0, .91fr) minmax(0, 1fr);
    min-height: 350px;
    background: var(--sand);
  }
  #team .master-photo { grid-area: 1 / 2; height: auto; margin: 9px; border-radius: 12px; background: var(--white); }
  #team .master-photo img { position: absolute; inset: 0; object-fit: contain; object-position: center; }
  #team .master-card:first-child .master-photo { grid-area: 1 / 1; }
  #team .master-card:first-child .master-photo img { object-fit: cover; object-position: 48% 22%; }
  #team .master-detail { grid-area: 1 / 1; align-self: center; min-width: 0; padding: 17px 20px; }
  #team .master-card:first-child .master-detail { grid-area: 1 / 2; padding: 23px 22px 23px 12px; }
  #team .master-detail h3 { margin: 0 0 4px; font-size: 20px; line-height: 1.18; letter-spacing: -.04em; }
  #team .master-card:first-child h3 { font-family: var(--heading-font); font-size: 24px; font-weight: 400; }
  #team .master-role { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
  #team .master-detail .actions a { padding-block: 3px; }

  #reviews { display: block; padding-top: 44px; }
  #reviews .review-intro { display: flex; align-items: end; gap: 22px; margin-bottom: 19px; }
  #reviews-title { margin-right: auto; font-size: clamp(33px, 3.3vw, 45px); }
  #reviews-title br { display: none; }
  #reviews .review-intro > .text-link { margin: 0; white-space: nowrap; }
  #reviews .review-score { display: flex; align-items: center; gap: 9px; margin: 0 0 2px; }
  #reviews .review-score > strong { font-size: 22px; letter-spacing: -.06em; white-space: nowrap; }
  #reviews .review-score p { max-width: 14ch; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.2; }
  #reviews-grid { grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)); gap: 12px; }
  #reviews-grid .reviews-column { display: contents; }
  #reviews-grid .review-card { justify-content: space-between; gap: 13px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); }
  #reviews-grid .featured-review { grid-row: span 2; justify-content: center; gap: 19px; padding: 26px; background: var(--sand); }
  #reviews-grid .review-card .review-text { margin: 0; font-size: 14px; line-height: 1.55; }
  #reviews-grid .review-card strong { color: var(--accent-dark); font-size: 13px; font-weight: 700; }
  #reviews-grid .review-highlight { display: block; margin: 0; font-size: 31px; font-weight: 700; line-height: 1.13; letter-spacing: -.05em; }

  #contacts { grid-template-columns: minmax(0, 1fr) auto auto; align-items: start; gap: 17px 28px; }
  #contacts .contact-card { display: contents; }
  #contacts .contact-card > .location { display: none; }
  #contact-title { grid-column: 1 / -1; margin: 0; }
  #contacts address { grid-column: 1; margin: 0; }
  #contacts address strong { color: var(--ink); font-weight: 700; }
  #contacts .contact-phone { grid-column: 2; align-self: start; font-size: 20px; font-weight: 700; white-space: nowrap; }
  #contacts .actions { grid-column: 3; justify-content: end; margin: 0; }
  #contacts .contact-map-primary { grid-column: 1 / -1; height: 290px; min-height: 0; margin-top: 3px; }
  #contacts .map-cover picture { display: block; height: 100%; }
  #contacts .map-cover img { object-position: 50% 53%; }
  #contacts .map-cover .button { right: 17px; left: auto; border-color: var(--white); background: var(--white); color: var(--ink); }
  #contacts .map-cover .button:hover { background: var(--sand); }
  #consult-form {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) auto;
    align-items: end;
    gap: 4px 16px;
    margin: 8px 0 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
  }
  #consult-form .consult-fields { display: grid; grid-area: 1 / 1 / 3; gap: 4px; }
  #consult-form label[for='consult-question'] { grid-area: 1 / 2; }
  #consult-form textarea { grid-area: 2 / 2; height: 40px; min-height: 40px; }
  #consult-form [type='submit'] { grid-area: 1 / 3 / 3; background: var(--white); }
  #consult-form [type='submit']:hover { background: var(--sand); }
  #consult-form select, #consult-form textarea { border-color: var(--line); }
  #consult-form select { min-width: 0; min-height: 40px; }
}

@media (max-width: 850px) {
  :root { --header-height: 62px; }
  body { padding: 0; }
  body::before { display: none; }
  .site-shell { width: 100%; }
  .header nav { display: none; }
  .header .button { margin-left: auto; }
  .header .menu-toggle { display: flex; width: 40px; height: 40px; background: var(--paper); }
  .mobile-nav { display: flex; }
  .menu-toggle span { background: var(--ink); }
  .studio-hero h1 { font-size: clamp(30px, 4.6vw, 43px); }
}

@media (max-width: 640px) {
  :root { --gutter: 17px; }
  .section-heading { display: flex; flex-wrap: wrap; }
  .studio-hero { grid-template-columns: minmax(0, 1fr); gap: 19px; padding-top: 22px; }
  .studio-hero-copy { padding: 0; }
  .studio-hero h1 { margin: 10px 0 13px; font-size: clamp(26px, 8vw, 46px); }
  .studio-hero-actions { gap: 8px; margin-top: 16px; }
  .studio-hero-actions .button, .studio-hero-actions .outline { padding-inline: 12px; font-size: 13px; }
  .studio-hero-image { height: clamp(238px, 72vw, 390px); object-position: 50% 47%; }
  .directions { padding-top: 37px; }
  .service-strip { min-height: 62px; gap: 7px; padding: 8px 10px; border-radius: 12px; }
  .strip-label { gap: 6px; min-width: 0; padding: 7px 9px; font-size: 13px; }
  .service-strip > small { margin-left: 0; padding: 4px 7px; font-size: 11px; }
  .salon-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .salon-cover { height: 260px; }
  .studio-facts { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .studio-fact { display: grid; grid-template-columns: 100px minmax(0, 1fr); }
  .studio-fact .why-photo-button { height: auto; min-height: 106px; }
  .studio-fact > div { padding: 11px 13px; }
  .footer { row-gap: 11px; padding-bottom: 45px; }
  .contact-widget { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .contact-widget-toggle { width: 48px; height: 48px; padding: 11px; }
  .contact-widget-toggle > span:not(.contact-widget-close) { display: none; }
}

@media (max-width: 445px) {
  .header .brand small { display: none; }
  .header .brand-mark { width: 30px; height: 30px; }
}

@media (max-width: 370px) {
  .header { gap: 6px; padding-inline: 11px; }
  .header .brand { gap: 3px; font-size: 15px; }
  .header .brand-mark { width: 27px; height: 27px; }
  .header .button { gap: 4px; padding-inline: 7px; }
  .header .menu-toggle { width: 35px; }
  .studio-hero-actions .button, .studio-hero-actions .outline { gap: 7px; padding-inline: 11px; font-size: 13px; }
}

