/* 2026-10-14: stationary, full-page hair and a protected reading column.
   The original paintings and arm animation are deliberately unchanged. */
html { overflow-x: hidden; }
body { width: 100%; min-width: 0; overflow-x: hidden; }
.site-canvas { position: relative; isolation: isolate; width: 100%; overflow: hidden; }
.hero { overflow: visible; }
.hero-art { animation: none; transform: none; will-change: auto; }
.hair-continuation {
  top: 86%; right: -2%; width: 56%;
  height: var(--hair-height, 1800px);
  background-size: 100% auto;
  -webkit-mask-image: linear-gradient(transparent, #000 80px, #000 calc(100% - 180px), transparent);
  mask-image: linear-gradient(transparent, #000 80px, #000 calc(100% - 180px), transparent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 220px), 62% 100%, 40% 100%, 0 calc(100% - 220px));
}
.hero-art-left .hair-continuation { left: -2%; right: auto; }
.hero-art > img, .hero-art > .mermaid-layers {
  -webkit-mask-image: linear-gradient(to right, #000 54%, transparent 54%), linear-gradient(#000 90%, transparent 100%);
  -webkit-mask-composite: source-over;
  mask-image: linear-gradient(to right, #000 54%, transparent 54%), linear-gradient(#000 90%, transparent 100%);
  mask-composite: add;
}
.section-shell, .footer, .service-ribbon { width: calc(100% - 420px); min-width: 0; }
/* Both service labels and their divider stay inside the protected reading column. */
.service-ribbon {
  max-width: var(--content); margin-inline: auto; padding-inline: 0; border-bottom: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px; text-align: center; line-height: 1.6;
}
.service-ribbon > span { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.service-ribbon > i { display: none; }
.service-ribbon::after {
  content: ''; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%); width: 100%;
  border-bottom: 1px solid var(--line); pointer-events: none;
}
.detail-main { min-width: 0; }
.section-heading > *, .intro-copy > *, .beauty-story > *, .detail-body > *, .service-name { min-width: 0; }
.service-name, .detail-hero, .detail-text, .booking-content { overflow-wrap: anywhere; }
.section-note { flex-wrap: wrap; row-gap: 8px; }
.work-photo:hover { outline: none; }
.work-photo:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
.icon-arrow { width: 1em; height: 1em; display: inline-block; vertical-align: -.12em; flex: 0 0 auto; }
.button, .text-button { max-width: 100%; }
.photo-stage img { min-width: 0; }
.photo-prev, .photo-next, .photo-close { min-width: 44px; min-height: 44px; }
textarea, input, select { font-size: 16px; } /* Avoid focus zoom on iOS. */
@media (hover: hover) and (pointer: fine) {
  .work-photo:hover { outline: 1px solid var(--copper); outline-offset: 5px; }
}
@media (max-width: 1250px) and (min-width: 961px) {
  .section-shell, .footer, .service-ribbon { width: calc(100% - 360px); }
}
@media (max-width: 960px) {
  .header-inner { display: flex; justify-content: space-between; gap: 20px; }
  .header .nav { display: none; }
  .menu-toggle { display: block; flex: 0 0 44px; }
  .wordmark { text-align: left; padding-left: 0; }
  .service-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-shell, .footer, .service-ribbon { width: calc(100% - 290px); }
  .works-grid { grid-template-columns: minmax(0, 1fr); }
  .works-grid .work-card { width: 100%; max-width: 480px; margin-inline: auto; }
  .journey-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 680px) {
  :root { --reading-gutter: clamp(38px, 12vw, 82px); }
  .hero {
    height: auto; min-height: 0; display: grid;
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto;
  }
  .hero::after { content: ''; display: block; grid-area: 2 / 1; height: 90vw; }
  .hero-copy {
    grid-area: 1 / 1; width: calc(100% - 48px); min-width: 0;
    padding: 32px 0 20px; margin: 0 auto;
  }
  .hero h1 { margin-inline: 0; font-size: clamp(42px, 13.2vw, 72px); }
  .hero-description { margin-inline: 0; }
  .hero-description br { display: none; }
  .hero-eyebrow { gap: 8px; font-size: 11px; letter-spacing: .05em; }
  .hero-eyebrow > span { flex: 0 0 10px; }
  .hero-art { top: auto; bottom: 0; width: 60vw; max-width: none; }
  .hero-art-left { left: -18vw; }
  .hero-art-right { right: -18vw; }
  .hero-footnote { bottom: 22px; width: 42%; white-space: normal; font-size: 10px; letter-spacing: .03em; }
  .hair-continuation {
    -webkit-mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 150px), transparent);
    mask-image: linear-gradient(transparent, #000 40px, #000 calc(100% - 150px), transparent);
  }
  .section-shell, .works.section-shell, .footer, .service-ribbon {
    width: calc(100% - var(--reading-gutter) - var(--reading-gutter));
  }
  .works { padding-top: 44px; }
  .section-note .eyebrow, .chapter { font-size: 11px; }
  .chapter { white-space: normal; }
  .section-heading p br { display: none; }
  .works-grid, .detail-works .works-grid { grid-template-columns: minmax(0, 1fr); }
  .work-card figcaption { font-size: 15px; gap: 10px; }
  .portfolio-services { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .portfolio-services a { width: fit-content; }
  .service-ribbon { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-row { grid-template-columns: minmax(0, 1fr) 44px; gap: 12px; }
  .service-number { grid-column: 1; grid-row: 1; margin: 0; align-self: center; }
  .service-name { grid-column: 1 / -1; grid-row: 2; }
  .circle-arrow { grid-column: 2; grid-row: 1; width: 44px; height: 44px; }
  .service-name h3 { font-size: clamp(28px, 8.2vw, 38px); line-height: 1.12; }
  .service-row:hover { padding-inline: 0; background: none; }
  .button-dark:hover, .text-button:hover span { transform: none; }
  .faq-heading h2 { font-size: clamp(38px, 10vw, 49px); }
  .intro h2, .beauty-copy > h2, .invitation-content h2 { overflow-wrap: anywhere; }
  .footer-wordmark { font-size: 16vw; }
  .photo-dialog { width: calc(100% - 16px); max-width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 10px; }
  .photo-stage { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 10px; }
  .photo-stage img { grid-row: 1; grid-column: 1 / -1; height: min(66svh, 850px); object-fit: contain; }
  .photo-prev { grid-row: 2; grid-column: 1; }
  .photo-next { grid-row: 2; grid-column: 3; }
  .photo-footer { flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
  .photo-footer p { flex: 1 1 180px; }
  .photo-close { margin-bottom: 4px; }
  .booking-content fieldset { grid-template-columns: minmax(0, 1fr); }
  .booking-content h2 { font-size: clamp(32px, 10vw, 41px); }
  .booking-submit { gap: 12px; padding-inline: 12px; }
  .form-label { flex-wrap: wrap; row-gap: 2px; }
  .detail-page .footer, .detail-main { width: calc(100% - 44px); }
  .detail-hero h1, .simple-page .detail-hero h1 { font-size: clamp(34px, 10.5vw, 43px); }
}

/* SEO readable service content */
.seo-content{max-width:760px;margin:40px 0;overflow-wrap:anywhere}.seo-content h3{font-family:var(--serif);font-size:clamp(24px,4vw,30px);line-height:1.25;margin:28px 0 12px}.seo-content p{max-width:100%}.detail-hero h1{overflow-wrap:break-word}

.service-ribbon{flex-wrap:wrap}

/* Visible native phone links work without JavaScript and stay inside content. */
.contact-call {
  display: inline-flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 14px; min-height: 48px; max-width: 100%; padding: 10px 22px;
  border: 1px solid rgba(149, 98, 61, .48); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-family: var(--sans); line-height: 1; text-align: center;
  text-decoration: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  transition: background-color .2s ease, border-color .2s ease;
}
.contact-call > span { font-size: 10px; font-weight: 400; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.contact-call > strong { font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: .01em; white-space: nowrap; }
.contact-call:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.invitation-content > .contact-call { display: flex; width: fit-content; margin: 28px auto 0; }
.booking-content > .contact-call { width: fit-content; margin: 0 auto 22px; }
.service-contact { margin: 28px 0; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom > .contact-call { padding: 10px 18px; }
@media (hover: hover) and (pointer: fine) {
  .contact-call:hover { background-color: rgba(149, 98, 61, .055); border-color: var(--copper); }
}

/* A visible call action; the original mobile menu remains a separate control. */
.header-inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.header .nav-right { display: flex; min-width: 0; align-items: center; gap: 18px; }
.header .nav-right > a:not(.header-call) { display: none; }
.header .header-call { display: inline-flex; flex: 0 0 auto; min-height: 46px; padding: 10px 19px; gap: 12px; }
.header-call > strong { font-size: 22px; }
@media (max-width: 1399px) {
  .header .header-cta { display: none; }
}
@media (max-width: 960px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 16px; }
  .header-inner > .wordmark { min-width: 0; }
}
@media (max-width: 680px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) 44px; gap: 18px 12px; padding: 18px 20px 20px; }
  .header-inner > .wordmark { grid-column: 1; grid-row: 1; justify-self: start; }
  .header-inner > .menu-toggle { grid-column: 2; grid-row: 1; }
  .header .nav-right { grid-column: 1 / -1; grid-row: 2; justify-self: center; max-width: 100%; }
  .header .header-call { width: auto; }
  .contact-call { padding: 10px 18px; gap: 12px; }
  .contact-call > strong { font-size: 22px; }
}
@media (max-width: 359px) {
  .contact-call, .header .header-call { padding-inline: 14px; gap: 10px; }
  .contact-call > span { font-size: 9px; }
  .contact-call > strong { font-size: 20px; }
}
