/* 314 Mane — the salon itself: warm ivory walls, salon-chair black, brushed brass,
   the gold trellis wallpaper by the shampoo bowls, and a Chanel quote on the shelf. */
:root {
  --ink: #1b1918;          /* the logo's black, a touch warm */
  --ink-2: #2a2725;
  --paper: #eef0f2;        /* cool grey walls (11-11, Griffin) */
  --paper-2: #e4e8ec;
  --white: #fbfcfd;
  --brass: #b08d57;
  --brass-deep: #8a6a3b;
  --brass-soft: #d9c39b;
  --muted: #5f6670;
  --line: #d8dde3;
  --sans: 'Jost', 'Futura', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 40px);
  --trellis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='66' viewBox='0 0 44 66'%3E%3Cpath d='M22 0C33 16 44 18 44 33S33 50 22 66C11 50 0 48 0 33S11 16 22 0Z' fill='none' stroke='%23b08d57' stroke-width='1.1'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box }
[hidden] { display: none !important }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 350; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased }
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
figure { margin: 0 }
h1, h2, h3 { font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; margin: 0; text-wrap: balance }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem) }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem) }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0 }
p { margin: 0 0 1em }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut) }
.narrow { max-width: 820px }
.center { text-align: center }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 50 }
.skip:focus { left: 8px }
.label { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 14px }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 56ch; margin-top: 18px }
.center .lede { margin-inline: auto }
.script { font-family: var(--serif); font-style: italic; font-size: 1.3rem }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s }
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6 }
.btn-ink { background: var(--ink); color: var(--white) }
.btn-ink:hover { background: var(--brass-deep) }
.btn-line { border-color: var(--ink); color: var(--ink) }
.btn-line:hover { background: var(--ink); color: var(--white) }
.btn-ghost { color: inherit; border-color: currentColor; opacity: .85 }
.btn-ghost:hover { opacity: 1 }
.btn-brass { background: var(--brass); color: var(--ink) }
.btn-brass:hover { background: var(--brass-soft) }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 4px }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6 }

/* header */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(238, 240, 242, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 74px }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto }
.brand img { width: 52px; height: 52px }
.nav { display: flex; gap: 26px }
.nav a { font-size: 0.8rem; font-weight: 450; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent }
.nav a:hover, .nav a[aria-current] { border-color: var(--brass) }
.head-book { min-height: 42px; padding: 0 20px }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer }
.menu-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s }
.menu-toggle span:nth-child(1) { top: 17px }
.menu-toggle span:nth-child(2) { top: 26px }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg) }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg) }
.mobile-menu { display: flex; flex-direction: column; padding: 8px var(--gut) 24px; border-top: 1px solid var(--line) }
.mobile-menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 0.9rem; letter-spacing: 0.16em; text-transform: uppercase }
.mobile-menu .btn { margin-top: 20px }
@media (max-width: 960px) {
  .nav { display: none }
  .menu-toggle { display: block }
  .head-row { gap: 10px }
}

/* hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(48px, 7vw, 96px) }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 88px); align-items: center }
.hero-copy h1 { max-width: 13ch }
.hero-photo { position: relative; justify-self: end; width: min(100%, 470px) }
.hero-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--brass) }
.hero-photo img { position: relative; aspect-ratio: 4 / 5.4; object-fit: cover; object-position: 50% 30% }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr }
  .hero-photo { justify-self: start; width: calc(100% - 22px) }
}

/* quote band — the trellis wallpaper */
.quote-band { position: relative; padding: clamp(56px, 8vw, 104px) 0; text-align: center; overflow: hidden }
.quote-band::before { content: ""; position: absolute; inset: 0; background-image: var(--trellis); background-size: 44px 66px; opacity: .22; pointer-events: none }
.quote-ink { background: var(--ink); color: var(--white) }
.quote-paper { background: var(--paper-2) }
.quote-paper::before { opacity: .3 }
.quote-band .wrap { position: relative }
blockquote { margin: 0 }
blockquote p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.25; margin: 0 }
.quote-paper blockquote p { font-size: clamp(1.3rem, 2.4vw, 1.8rem) }
blockquote footer { margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brass-soft) }
.quote-paper blockquote footer { color: var(--brass-deep) }
.swirl { width: 150px; margin: 30px auto 0; opacity: .9 }
.quote-ink .swirl { filter: invert(1) sepia(.5) saturate(1.6) brightness(.85); mix-blend-mode: screen }
.quote-paper .swirl { mix-blend-mode: multiply }

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0 }
.section-paper { background: var(--white) }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px) }
.sec-sub { color: var(--muted); margin-top: 16px }

/* stylist row */
.st-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px }
.st-card { text-decoration: none; display: flex; flex-direction: column }
.st-photo { overflow: hidden; display: block; background: var(--paper-2) }
.st-photo img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; transition: transform .6s }
.st-card:hover .st-photo img { transform: scale(1.04) }
.st-name { margin-top: 14px; font-size: 1.35rem; font-weight: 300 }
.st-title { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted) }
.section .center { margin-top: 40px }
@media (max-width: 900px) { .st-row { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 560px) { .st-row { grid-template-columns: repeat(2, 1fr); gap: 14px } .st-name { font-size: 1.15rem } }

/* service tiles */
.svc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line) }
.svc-tile { display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s }
.svc-tile:hover { background: var(--paper) }
.svc-name { font-size: 1.35rem; font-weight: 300 }
.svc-desc { color: var(--muted); font-size: 0.95rem; flex: 1 }
.svc-price { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--brass-deep) }
@media (max-width: 900px) { .svc-tiles { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 520px) { .svc-tiles { grid-template-columns: 1fr } }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.1fr 0.9fr 1fr; grid-template-rows: auto auto; gap: 16px }
.gallery img { width: 100%; height: 100%; object-fit: cover }
.g-a { grid-row: span 2 }
.g-a img { aspect-ratio: 2 / 3 }
.g-b img { aspect-ratio: 4 / 5 }
.g-c { grid-row: span 2 }
.g-c img { aspect-ratio: 2 / 3 }
.g-d img { aspect-ratio: 4 / 5; object-position: 50% 62% }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr }
  .g-a, .g-c { grid-row: auto }
  .g-a img, .g-b img, .g-c img, .g-d img { aspect-ratio: 3 / 4 }
}

/* visit */
.visit { background: var(--ink); color: var(--white); padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: hidden }
.visit::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 34%; background-image: var(--trellis); background-size: 44px 66px; opacity: .14; pointer-events: none }
.visit-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center }
.visit .label { color: var(--brass-soft) }
.visit h2 { max-width: 16ch; margin-bottom: 26px }
.visit p { color: rgba(255, 253, 249, .78) }
.addr { display: flex; gap: 12px; font-size: 1.15rem; color: var(--white) !important }
.addr svg { width: 22px; height: 22px; flex: none; margin-top: 4px; fill: none; stroke: var(--brass); stroke-width: 1.5 }
.visit-photo { width: min(100%, 420px); justify-self: end }
.visit-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35% }
@media (max-width: 820px) { .visit-grid { grid-template-columns: 1fr } .visit-photo { justify-self: start } }

/* gift */
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center }
.gift-card img { border-radius: 4.2% / 6.6%; box-shadow: 0 30px 60px -28px rgba(27, 25, 24, .55); transform: rotate(-4deg); width: min(100%, 460px); margin-inline: auto }
.gift h2 { margin-bottom: 18px }
.gift p:not(.label) { color: var(--muted) }
@media (max-width: 760px) { .gift-grid { grid-template-columns: 1fr } }

/* page head */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(20px, 3vw, 36px); position: relative }

/* stylists page */
.st-list { padding-top: clamp(24px, 4vw, 48px) }
.st-full { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line) }
.st-full:first-child { border-top: 0 }
.st-full.flip { grid-template-columns: 1fr minmax(0, 400px) }
.st-full.flip figure { order: 2 }
.st-full figure img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20% }
.st-body { min-width: 0 }
.st-full h2 { font-size: clamp(2.4rem, 5vw, 3.6rem) }
.spec { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px }
.spec li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.88rem; background: var(--white) }
.ig { margin-top: 20px }
.ig a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--muted); font-size: 0.95rem }
.ig svg, .btn-ghost svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5 }
@media (max-width: 760px) {
  .st-full, .st-full.flip { grid-template-columns: 1fr }
  .st-full.flip figure { order: 0 }
  .st-full figure { max-width: 420px }
}

/* services page */
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: clamp(40px, 6vw, 64px) }
.notes p { margin: 0; padding: 18px 22px; background: var(--white); border-left: 2px solid var(--brass); font-size: 0.97rem }
.notes strong { font-weight: 500 }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 56px) clamp(40px, 7vw, 96px) }
.menu-group { scroll-margin-top: 100px }
.menu-group h2 { font-size: 1.7rem; padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 6px }
.menu { list-style: none; padding: 0; margin: 0 }
.menu li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line) }
.menu li > span:first-child { min-width: 0 }
.menu .dots { flex: 1; border-bottom: 1px dotted var(--brass-soft); transform: translateY(-4px); min-width: 16px }
.menu .p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brass-deep); white-space: nowrap }
.book-split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(48px, 7vw, 80px) }
.book-card { display: flex; flex-direction: column; gap: 6px; padding: 28px; background: var(--ink); color: var(--white); text-decoration: none; transition: background .2s }
.book-card:hover { background: var(--ink-2) }
.book-card .label { color: var(--brass-soft); margin: 0 }
.bc-name { font-size: 1.6rem; font-weight: 300; margin-bottom: 14px }
.book-card .link-arrow { align-self: flex-start }
.book-card-soft { background: var(--white); color: var(--ink); border: 1px solid var(--line) }
.book-card-soft:hover { background: var(--paper) }
.book-card-soft .label { color: var(--brass-deep) }
@media (max-width: 820px) {
  .notes, .menu-grid, .book-split { grid-template-columns: 1fr }
}

/* about */
.about { padding-top: clamp(24px, 4vw, 48px) }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center }
.about-grid figure img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60% }
.about-copy .big { font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 300; line-height: 1.4; margin-bottom: 26px }
.about-copy p:not(.big) { color: var(--muted) }
.duo-photos { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: 16px; align-items: end }
.duo-photos img { width: 100%; object-fit: cover }
.duo-photos figure:first-child img { aspect-ratio: 3 / 4 }
@media (max-width: 760px) { .about-grid, .duo-photos { grid-template-columns: 1fr } }

/* footer */
.site-foot { background: var(--ink); color: rgba(255, 253, 249, .8); padding: 64px 0 28px; font-size: 0.95rem }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px }
.foot-brand img { width: 72px; height: 72px; filter: invert(1) sepia(.15) }
.foot-brand .script { margin-top: 14px; color: var(--brass-soft) }
.site-foot .label { color: var(--brass-soft) }
.site-foot a { text-decoration: none }
.site-foot a:hover { color: var(--white); text-decoration: underline }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 253, 249, .14); font-size: 0.8rem; color: rgba(255, 253, 249, .55) }
.foot-base p { margin: 0 }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr } .foot-brand { grid-column: 1 / -1 } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important } }
.page-head + .section { padding-top: clamp(16px, 3vw, 32px) }

/* the team (Priscilla, 11-12): the group photos, gently fading through */
.team-band { padding: clamp(56px, 8vw, 104px) 0 0 }
.team-photo { position: relative; aspect-ratio: 1800 / 917; overflow: hidden; background: var(--paper-2) }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 1.2s ease }
.team-photo img:first-child, .team-photo img.on { opacity: 1 }
.team-photo.fading img:first-child:not(.on) { opacity: 0 }


/* ---------- motion (11-18, Griffin: "cool transitions") ----------
   Gated on html.motion, which the head script sets only when the visitor
   hasn't asked for reduced motion — without it every element is simply visible. */
@view-transition { navigation: auto }
::view-transition-old(root) { animation: vt-out .28s ease both }
::view-transition-new(root) { animation: vt-in .42s cubic-bezier(.2, .7, .2, 1) both }
.site-head { view-transition-name: head }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px) } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px) } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none } }

.site-head { transition: box-shadow .3s }
.site-head.scrolled { box-shadow: 0 10px 30px -22px rgba(27, 25, 24, .45) }

/* links: underline sweeps, arrow nudges */
.link-arrow { border-bottom-color: transparent; background: linear-gradient(var(--brass), var(--brass)) 0 100% / 100% 1px no-repeat; transition: background-size .45s cubic-bezier(.6, 0, .2, 1) }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100% }
.link-arrow svg, .btn svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1) }
.link-arrow:hover svg { transform: translateX(6px) }
.nav a { background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size .35s ease }
.nav a:hover { background-size: 100% 1px }

/* hero: copy rises in, photo unveils, brass frame slides into place */
@keyframes rise { from { opacity: 0; transform: translateY(26px) } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0) } to { clip-path: inset(0 0 0 0) } }
@keyframes settle { from { transform: scale(1.14) } }
@keyframes frame { from { opacity: 0; transform: translate(-22px, -22px) } }
.motion .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both }
.motion .hero-copy > :nth-child(2) { animation-delay: .12s }
.motion .hero-copy > :nth-child(3) { animation-delay: .26s }
.motion .hero-copy > :nth-child(4) { animation-delay: .38s }
.motion .hero-photo { overflow: visible }
.motion .hero-photo img { animation: unveil 1.25s cubic-bezier(.7, 0, .2, 1) .15s both, settle 1.8s cubic-bezier(.2, .7, .2, 1) .15s both }
.motion .hero-photo::before { animation: frame 1s cubic-bezier(.2, .7, .2, 1) 1.05s both }

/* scroll reveals: site.js adds .in as each piece enters the screen */
.motion :is(.sec-head, .visit-grid > div, .gift-grid > div, .page-head .wrap, .about-copy, .st-body, blockquote, .st-card, .svc-tile, .book-card, .menu-group, .center) { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), background .2s }
.motion :is(.sec-head, .visit-grid > div, .gift-grid > div, .page-head .wrap, .about-copy, .st-body, blockquote, .st-card, .svc-tile, .book-card, .menu-group, .center).in { opacity: 1; transform: none }

/* photos open like a curtain and settle. The picture is clipped, never the frame:
   a fully clipped frame never counts as on screen, so its reveal would never fire. */
.motion :is(.gallery figure, .team-photo, .visit-photo, .st-full figure, .duo-photos figure, .about-grid figure) { overflow: hidden }
.motion :is(.gallery figure, .team-photo, .visit-photo, .st-full figure, .duo-photos figure, .about-grid figure) img { clip-path: inset(0 0 100% 0); scale: 1.12; transition: clip-path 1.2s cubic-bezier(.7, 0, .2, 1) var(--d, 0s), scale 1.8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), opacity 1.2s ease }
.motion :is(.gallery figure, .team-photo, .visit-photo, .st-full figure, .duo-photos figure, .about-grid figure).in img { clip-path: inset(0 0 0 0); scale: 1 }

/* the swirl under each quote draws itself left to right */
.motion .swirl { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s cubic-bezier(.6, 0, .2, 1) .4s }
.motion .narrow:has(blockquote.in) .swirl { clip-path: inset(0 0 0 0) }

/* the gift card swings in, then tilts toward the cursor */
.gift-card { perspective: 900px }
.motion .gift-card img { opacity: 0; transform: translateY(40px) rotate(8deg); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .9, .25, 1.15) }
.motion .gift-card.in img { opacity: 1; transform: rotate(-4deg) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) }
.motion .gift-card.in.tilting img { transition: transform .15s ease-out }
