/*
Theme Name: Long Hair Premium
Theme URI: https://mediumpurple-jay-140100.hostingersite.com/
Author: Long Hair Agnieszka Gajda
Description: Dedykowany motyw premium salonu Long Hair w Opolu.
Version: 1.7.1
Text Domain: long-hair-premium
*/


:root {
  --white: #ffffff;
  --ivory: #f8f5f0;
  --beige: #c3b6a6;
  --beige-soft: #e8e0d7;
  --brown: #2e2218;
  --black: #11100f;
  --line: rgba(46, 34, 24, .16);
  --shadow: 0 22px 70px rgba(46, 34, 24, .11);
  --serif: 'Bodoni Moda', Didot, 'Times New Roman', serif;
  --sans: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--brown);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .03; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
body.menu-open, body.modal-open { overflow: hidden; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
  color: #75685b; font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 42px; height: 1px; background: var(--beige); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: .94; letter-spacing: -.045em; }
h2 em, h3 em { font-weight: 400; }
h1 { font-size: clamp(54px, 7.2vw, 108px); }
h2 { font-size: clamp(44px, 5.2vw, 76px); }
h3 { font-size: clamp(27px, 3vw, 38px); }
p { margin: 0 0 22px; }
.lead { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; line-height: 1.8; }
.section { padding: clamp(88px, 10vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 64px; }
.section-head p { max-width: 520px; margin: 0; color: #6b6158; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 27px;
  border: 1px solid var(--brown); border-radius: 999px; background: var(--brown); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--black); border-color: var(--black); }
.btn--ghost { background: transparent; color: var(--brown); }
.btn--ghost:hover { background: var(--brown); color: var(--white); }
.btn--light { background: var(--white); color: var(--brown); border-color: var(--white); }
.text-link { display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--brown); padding-bottom: 5px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; background: linear-gradient(180deg, rgba(12,11,10,.62), rgba(12,11,10,.18)); color: #f3eadf; border-bottom: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .45s ease, box-shadow .45s ease, background .45s ease, color .45s ease, backdrop-filter .45s ease;
}
.site-header.scrolled { background: rgba(248,245,240,.82); color: var(--brown); border-color: rgba(46,34,24,.12); box-shadow: 0 8px 30px rgba(46,34,24,.09); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 26px; }
.brand { display: block; width: 124px; height: 68px; padding: 2px 0; background: transparent; }
.brand-mark, .footer-logo { display: block; width: 100%; height: 100%; background: linear-gradient(110deg, #8f642b 0%, #f3d08c 28%, #ad7a32 52%, #f7dfa6 74%, #9a682a 100%); -webkit-mask: url('assets/images/logo-long-hair.jpg') center/cover no-repeat; mask: url('assets/images/logo-long-hair.jpg') center/cover no-repeat; -webkit-mask-mode: luminance; mask-mode: luminance; transition: transform .35s ease, filter .45s ease; }
.brand:hover .brand-mark { transform: translateY(-1px); filter: brightness(1.08); }
.nav-links { display: flex; align-items: center; gap: clamp(13px, 1.55vw, 26px); list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { position: relative; font-size: 12px; letter-spacing: .05em; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s ease; }
.nav-links a:not(.btn):hover::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; padding: 10px; }
.menu-toggle span { display: block; height: 1px; margin: 7px 0; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.hero { min-height: 100svh; padding-top: 0; display: grid; grid-template-columns: 52% 48%; background: var(--ivory); overflow: hidden; }
.brand-marquee--mobile { display: none; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: calc(clamp(70px, 7vw, 118px) + 86px) clamp(34px, 6vw, 100px) clamp(70px, 7vw, 118px); }
.hero-copy::after { content: 'LONG HAIR'; position: absolute; left: 8%; bottom: 2%; color: transparent; font-family: var(--serif); font-size: clamp(70px, 10vw, 160px); line-height: 1; white-space: nowrap; -webkit-text-stroke: 1px rgba(46,34,24,.08); pointer-events: none; }
.hero h1 { display: flex; flex-direction: column; font-size: clamp(62px, 7.8vw, 118px); }
.hero-line { display: block; opacity: 0; transform: translateY(55px); animation: heroLine .95s cubic-bezier(.22,.72,.2,1) forwards; }
.hero-line:nth-child(2) { animation-delay: .12s; }
.hero-line:nth-child(3) { animation-delay: .24s; }
.hero-line--italic { margin-left: 10%; font-style: italic; font-weight: 400; }
.hero-line--small { margin-top: 5px; margin-left: 2%; font-size: .72em; }
.hero-intro { opacity: 0; transform: translateY(18px); animation: heroIntro .8s ease .55s forwards; }
.hero-copy .lead { max-width: 650px; margin: 30px 0 36px; color: #685f56; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; gap: 26px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-proof span { max-width: 145px; font-size: 11px; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
.hero-media { position: relative; min-height: 780px; overflow: hidden; clip-path: inset(0 0 100% 0); animation: imageCurtain 1.15s cubic-bezier(.77,0,.18,1) .18s forwards; }
.hero-media img { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; object-position: center 24%; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.hero-media:hover img { transform: scale(1.025); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46,34,24,.16), transparent 36%, rgba(0,0,0,.06)); }
.hero-badge { position: absolute; left: -62px; bottom: 80px; z-index: 2; width: 124px; height: 124px; display: grid; place-items: center; border-radius: 50%; background: var(--brown); color: var(--white); text-align: center; font-family: var(--serif); font-size: 18px; line-height: 1.1; box-shadow: var(--shadow); }
.hero-media-caption { position: absolute; right: 30px; bottom: 28px; z-index: 3; padding: 13px 18px; border-left: 1px solid rgba(255,255,255,.65); color: var(--white); line-height: 1.25; text-shadow: 0 1px 12px rgba(0,0,0,.2); }
.hero-media-caption span { display: block; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.hero-media-caption strong { display: block; margin-top: 4px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.hero-monogram { position: absolute; top: 14%; right: 6%; z-index: 2; color: rgba(255,255,255,.38); font-family: var(--serif); font-size: clamp(82px, 10vw, 150px); font-style: italic; line-height: 1; }

.brand-marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); }
.brand-marquee > div { display: flex; align-items: center; width: max-content; padding: 19px 0; animation: marquee 26s linear infinite; }
.brand-marquee span { font-size: 10px; font-weight: 600; letter-spacing: .24em; }
.brand-marquee i { margin: 0 26px; color: var(--beige); font-style: normal; }

@keyframes heroLine { to { opacity: 1; transform: none; } }
@keyframes heroIntro { to { opacity: 1; transform: none; } }
@keyframes imageCurtain { to { clip-path: inset(0 0 0 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }

.manifesto { background: var(--brown); color: var(--white); text-align: center; }
.manifesto .eyebrow { color: var(--beige-soft); }
.manifesto h2 { max-width: 1000px; margin: 0 auto 30px; }
.manifesto p { max-width: 760px; margin-inline: auto; color: #ded5cc; }

.specialties { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 360px; padding: 38px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .35s ease, transform .35s ease; }
.service-card:hover { background: var(--ivory); transform: translateY(-5px); }
.service-no { color: #8d8175; font-family: var(--serif); font-size: 17px; }
.service-card h3 { margin: auto 0 18px; }
.service-card p { margin: 0; color: #6c6259; font-size: 14px; }

.gallery-section { background: var(--ivory); overflow: hidden; }
.gallery-track { display: grid; grid-template-columns: 1.1fr .9fr .9fr 1.1fr; gap: 18px; }
.specialties--methods, #proces { display: none; }
.metamorphosis-videos { overflow: hidden; background: #171411; color: var(--white); }
.metamorphosis-videos .section-head p, .metamorphosis-videos .lead { color: #d8cfc6; }
.metamorphosis-videos .eyebrow { color: #c9ad87; }
.video-slider-controls { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin: -18px 0 28px; color: #bfb4a9; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.video-slider-arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; transition: .25s ease; }
.video-slider-arrow:hover { border-color: #c9ad87; background: #c9ad87; color: #171411; }
.metamorphosis-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 31%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0 22px; }
.metamorphosis-track::-webkit-scrollbar { display: none; }
.metamorphosis-video-card { position: relative; min-height: 570px; overflow: hidden; scroll-snap-align: start; background: #29241f; }
.metamorphosis-video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .8s ease, filter .5s ease; }
.metamorphosis-video-card:hover img { transform: scale(1.055); filter: saturate(.82); }
.metamorphosis-video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,6,.05), rgba(10,8,6,.18) 48%, rgba(10,8,6,.88)); }
.metamorphosis-play { position: absolute; top: 24px; right: 24px; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: rgba(20,16,13,.24); backdrop-filter: blur(7px); font-size: 27px; font-weight: 200; }
.metamorphosis-video-copy { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.metamorphosis-video-copy small, .metamorphosis-video-copy > span { display: block; color: #d8c3a5; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.metamorphosis-video-copy h3 { margin: 10px 0 18px; color: var(--white); font-size: clamp(28px, 3vw, 42px); line-height: .98; }
.voucher-showcase { position: relative; overflow: hidden; min-height: 480px; box-shadow: var(--shadow); }
.voucher-showcase img { width: 100%; height: 100%; object-fit: cover; }
.voucher-showcase div { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 18px; padding: 18px 20px; background: rgba(16,13,11,.82); backdrop-filter: blur(8px); color: var(--white); }
.voucher-showcase span { color: #d8c3a5; font-size: 12px; letter-spacing: .12em; }
.voucher-showcase strong { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.faq-cta { margin-top: 64px; padding: clamp(38px, 6vw, 72px); border: 1px solid rgba(80,59,43,.18); background: #efe7dd; text-align: center; }
.faq-cta h3 { max-width: 680px; margin: 12px auto 18px; font-size: clamp(34px, 5vw, 62px); }
.faq-cta > p:not(.eyebrow) { max-width: 620px; margin: 0 auto 28px; }
.gallery-card { position: relative; overflow: hidden; min-height: 520px; border-radius: 160px 160px 12px 12px; background: var(--beige-soft); }
.gallery-card:nth-child(even) { margin-top: 72px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery-card:hover img { transform: scale(1.045); }
.gallery-card span { position: absolute; left: 22px; bottom: 22px; padding: 8px 13px; border-radius: 999px; background: rgba(255,255,255,.9); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.gallery-cta { margin-top: 54px; text-align: center; }

.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 780px; }
.about-media { position: relative; min-height: 760px; background: var(--beige-soft); }
.about-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 25%; }
.about-copy { display: flex; align-items: center; padding: clamp(70px, 8vw, 130px); background: var(--white); }
.about-copy-inner { max-width: 590px; }
.about-copy h2 { margin-bottom: 30px; }
.quote { margin: 38px 0; padding-left: 24px; border-left: 2px solid var(--beige); font-family: var(--serif); font-size: 28px; line-height: 1.25; }

.team { background: var(--white); }
.team-heading { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: end; gap: 45px; margin-bottom: 70px; }
.team-heading .eyebrow { align-self: start; }
.team-heading h2 { grid-column: 2; }
.team-heading h2 em { display: inline-block; margin-left: 8%; font-style: italic; }
.team-heading .lead { grid-column: 3; margin: 0; font-size: 16px; }
.team-grid { display: grid; grid-template-columns: 1.08fr .92fr .92fr; gap: 24px; align-items: start; }
.team-grid--profiles { grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 92px); }
.team-person { position: relative; }
.team-person--offset { margin-top: 92px; }
.team-photo { position: relative; min-height: 540px; overflow: hidden; border-radius: 2px; background: var(--beige-soft); }
.team-person--lead .team-photo { min-height: 640px; }
.team-photo::after { content: ''; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.32); }
.team-photo img { height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22,.72,.2,1), filter .6s ease; }
.team-person:hover .team-photo img { transform: scale(1.035); filter: saturate(.88); }
.team-person-caption { padding: 20px 2px 0; border-top: 1px solid var(--line); }
.team-person-caption span { display: block; color: #806f60; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.team-person-caption h3 { margin-top: 9px; font-size: 28px; letter-spacing: -.03em; }
.team-person-caption p { max-width: 560px; margin: 17px 0 0; color: #6d6258; font-size: 14px; line-height: 1.8; }

.salon-gallery { padding: 110px 0 100px; overflow: hidden; background: #efe8df; }
.salon-gallery-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; align-items: start; margin-bottom: 58px; }
.salon-gallery-heading h2 { max-width: 820px; }
.salon-gallery-heading h2 em { display: inline-block; margin-left: 10%; font-style: italic; }
.salon-marquee { width: 100%; overflow: hidden; }
.salon-marquee-track { display: flex; width: max-content; gap: 18px; padding-inline: 18px; animation: salonMarquee 42s linear infinite; }
.salon-marquee:hover .salon-marquee-track, .salon-marquee:focus .salon-marquee-track { animation-play-state: paused; }
.salon-marquee figure { width: clamp(270px, 30vw, 450px); height: clamp(430px, 52vw, 680px); margin: 0; overflow: hidden; border-radius: 170px 170px 4px 4px; background: var(--beige-soft); }
.salon-marquee figure:nth-child(even) { transform: translateY(32px); }
.salon-marquee img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s ease; }
.salon-marquee figure:hover img { transform: scale(1.035); }
@keyframes salonMarquee { to { transform: translateX(calc(-50% - 9px)); } }

.salon-film { position: relative; min-height: min(86svh, 880px); display: grid; place-items: center; overflow: hidden; background: var(--black); color: var(--white); }
.salon-film-media, .salon-film-media img, .salon-film-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.salon-film-media img { object-fit: cover; object-position: center 35%; transform: scale(1.06); }
.salon-film-shade { z-index: 1; background: linear-gradient(90deg, rgba(10,8,6,.82), rgba(10,8,6,.36) 55%, rgba(10,8,6,.16)); }
.salon-film-copy { position: relative; z-index: 2; width: min(1180px, calc(100% - 40px)); padding-left: 72px; }
.salon-film-copy .eyebrow { color: #e5d8ca; }
.salon-film-copy h2 { max-width: 820px; font-size: clamp(55px, 7vw, 108px); }
.salon-film-copy h2 em { font-style: italic; }
.salon-film-copy > p:not(.eyebrow) { max-width: 580px; margin: 35px 0; color: #ece4dc; font-size: 18px; }
.video-cta { display: inline-flex; align-items: center; gap: 18px; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.video-play { width: 72px; height: 72px; display: grid; place-items: center; padding-left: 4px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; transition: background .3s ease, color .3s ease, transform .3s ease; }
.video-cta:hover .video-play { background: var(--white); color: var(--brown); transform: scale(1.06); }
.video-cta small { display: block; margin-bottom: 2px; color: #d6c8ba; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.video-cta span:last-child { font-family: var(--serif); font-size: 22px; }
.video-modal { position: fixed; inset: 0; z-index: 240; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .35s ease, visibility .35s ease; }
.video-modal:target { visibility: visible; opacity: 1; pointer-events: auto; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(8,7,6,.88); backdrop-filter: blur(16px); animation: modalFade .35s ease both; }
.video-modal-dialog { position: relative; z-index: 1; width: min(980px, 100%); max-height: calc(100svh - 48px); overflow: auto; display: grid; grid-template-columns: 1.25fr .75fr; background: var(--ivory); color: var(--brown); box-shadow: 0 45px 120px rgba(0,0,0,.42); animation: modalRise .5s cubic-bezier(.22,.72,.2,1) both; }
.video-modal-media { min-height: 560px; background: #050505; }
.video-modal-media video { display: block; width: 100%; height: 100%; min-height: 560px; max-height: calc(100svh - 48px); object-fit: contain; background: #050505; }
.video-modal-copy { display: flex; flex-direction: column; justify-content: center; padding: 58px 44px; }
.video-modal-copy h3 { margin-bottom: 24px; }
.video-modal-close { position: absolute; top: 14px; right: 16px; z-index: 3; width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid rgba(46,34,24,.2); border-radius: 50%; background: rgba(248,245,240,.9); color: var(--brown); font-size: 28px; line-height: 1; text-decoration: none; cursor: pointer; }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalRise { from { opacity: 0; transform: translateY(28px) scale(.98); } }

.care { background: var(--brown); color: var(--white); }
.care .section-head p { color: #d9d0c7; }
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.care-grid--four { grid-template-columns: repeat(4, 1fr); }
.care-card { padding: 34px; min-height: 330px; border: 1px solid rgba(255,255,255,.2); border-radius: 2px; }
.care-card h3 { margin: 80px 0 18px; }
.care-card p { color: #d9d0c7; font-size: 14px; }
.care-card--hot { position: relative; overflow: hidden; border-color: rgba(229,193,133,.56); background: linear-gradient(145deg, rgba(229,193,133,.15), rgba(255,255,255,.02)); }
.care-card--hot::after { content: '✦'; position: absolute; top: 12px; right: 24px; color: #d9b879; font-family: var(--serif); font-size: 68px; opacity: .32; }
.care-tag { display: inline-block; color: #e1c596; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.care-card--hot h3 { margin-top: 58px; }

.salon-essentials { overflow: hidden; background: #f3ede5; }
.salon-essentials-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.salon-essential-card { position: relative; min-height: 540px; overflow: hidden; border-radius: 24px; background: #221d19; color: var(--white); }
.salon-essential-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.22,.72,.2,1); }
.salon-essential-card:hover img { transform: scale(1.045); }
.salon-essential-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(12,10,8,.86)); }
.salon-essential-copy { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 26px; }
.salon-essential-copy small { color: #e0c99f; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.salon-essential-copy h3 { margin: 8px 0 10px; color: var(--white); font-size: clamp(30px, 3vw, 43px); }
.salon-essential-copy p { margin: 0; color: #eee7df; font-size: 13px; line-height: 1.7; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: steps; }
.process-step { position: relative; padding-top: 80px; border-top: 1px solid var(--line); counter-increment: steps; }
.process-step::before { content: '0' counter(steps); position: absolute; top: 20px; left: 0; color: var(--beige); font-family: var(--serif); font-size: 27px; }
.process-step h3 { margin-bottom: 15px; font-size: 30px; }
.process-step p { color: #70665d; font-size: 14px; }

.reviews { background: var(--ivory); }
.ratings { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.rating-pill { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; }
.review-slider { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(350px, 42vw, 500px); gap: 20px; overflow-x: auto; padding: 0 0 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.review-card { min-height: 270px; padding: 36px; background: var(--white); border: 1px solid var(--line); scroll-snap-align: start; }
.review-card--screenshot { min-height: 0; padding: 10px; overflow: hidden; border-radius: 18px; background: #1f1f1f; box-shadow: 0 18px 54px rgba(46,34,24,.12); }
.review-card--screenshot img { width: 100%; height: auto; border-radius: 10px; }
.review-card .stars { color: #9b7d58; letter-spacing: .15em; }
.review-card blockquote { margin: 40px 0 16px; font-family: var(--serif); font-size: 29px; line-height: 1.25; }
.review-card small { color: #776c62; }
.review-controls { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin: -10px 0 22px; }
.review-controls > span { margin-right: 4px; color: #86796d; font-size: 9px; letter-spacing: .17em; text-transform: uppercase; }
.slider-arrow { width: 47px; height: 47px; border: 1px solid var(--brown); border-radius: 50%; background: transparent; color: var(--brown); cursor: pointer; transition: background .25s ease, color .25s ease, transform .25s ease; }
.slider-arrow:hover { background: var(--brown); color: var(--white); transform: translateY(-2px); }

.training { display: grid; grid-template-columns: 46% 54%; background: var(--white); }
.training-media { min-height: 720px; }
.training-media img { height: 100%; object-fit: cover; object-position: center 20%; }
.training-copy { padding: clamp(70px, 8vw, 120px); background: var(--beige-soft); }
.training-copy h2 { margin-bottom: 30px; }
.training-list { margin: 34px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.training-list li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.shop-teaser { overflow: hidden; background: #efe8df; }
.shop-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.shop-teaser-copy h2 { margin-bottom: 32px; }
.shop-teaser-copy h2 em { font-style: italic; }
.shop-teaser-copy .lead { margin-bottom: 34px; }
.shop-teaser-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; transform: rotate(-2deg); }
.shop-teaser-cards article { min-height: 360px; display: flex; flex-direction: column; padding: 30px; border: 1px solid rgba(46,34,24,.18); background: var(--white); box-shadow: var(--shadow); }
.shop-teaser-cards article:nth-child(2) { transform: translateY(46px) rotate(4deg); background: var(--brown); color: var(--white); }
.shop-teaser-cards span { color: #9a7b58; font-family: var(--serif); font-size: 18px; }
.shop-teaser-cards h3 { margin: auto 0 22px; }
.shop-teaser-cards p { margin: 0; color: inherit; font-size: 13px; opacity: .78; }

.faq-list { margin-top: 48px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; border: 0; background: transparent; color: var(--brown); text-align: left; cursor: pointer; font-family: var(--serif); font-size: 25px; }
.faq-question span:last-child { font-family: var(--sans); font-size: 22px; font-weight: 300; transition: transform .25s ease; }
.faq-answer { max-height: 0; overflow: hidden; color: #6d635a; transition: max-height .35s ease; }
.faq-answer p { max-width: 780px; padding: 0 0 28px; margin: 0; }
.faq-item.open .faq-answer { max-height: 260px; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

.contact { background: var(--brown); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact h2 { margin-bottom: 30px; }
.contact-copy p { color: #d8cec4; }
.contact-details { display: grid; gap: 14px; margin: 34px 0; font-size: 14px; }
.contact-map { min-height: 520px; overflow: hidden; border-radius: 2px; filter: saturate(.65) sepia(.1); }
.contact-map iframe { width: 100%; height: 520px; border: 0; }

.site-footer { padding: 70px 0 38px; background: var(--black); color: #d9d2cb; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; align-items: start; }
.footer-logo { width: auto; height: auto; margin-bottom: 24px; background: none; -webkit-mask: none; mask: none; }
.footer-logo::before { content: 'LONG HAIR'; display: block; color: #d9b879; font-family: var(--serif); font-size: 37px; font-weight: 400; letter-spacing: .08em; line-height: 1; }
.footer-logo::after { content: 'AGNIESZKA GAJDA'; display: block; margin-top: 10px; color: #b9a58c; font-size: 8px; letter-spacing: .32em; }
.footer-col h3 { margin-bottom: 16px; color: var(--white); font-family: var(--sans); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.footer-col a, .footer-col p { display: block; margin: 0 0 9px; font-size: 12px; color: #c8c0b9; }
.footer-socials { display: grid; gap: 8px; }
.footer-socials .social-link { display: flex; align-items: center; gap: 13px; margin: 0; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); transition: color .25s ease, transform .25s ease; }
.footer-socials .social-link:hover { color: var(--white); transform: translateX(4px); }
.social-link svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; }
.social-link span { line-height: 1.2; }
.social-link small { display: block; margin-bottom: 3px; color: #807971; font-size: 8px; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.15); font-size: 11px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a { color: #c8c0b9; border-bottom: 1px solid rgba(255,255,255,.2); }
.floating-booksy { position: fixed; right: 20px; bottom: 20px; z-index: 90; box-shadow: var(--shadow); }
.social-dock { position: fixed; left: 18px; top: 50%; z-index: 89; display: grid; gap: 7px; transform: translateY(-50%); }
.social-dock a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(46,34,24,.18); border-radius: 50%; background: rgba(255,255,255,.88); color: var(--brown); backdrop-filter: blur(10px); transition: background .25s ease, color .25s ease, transform .25s ease; }
.social-dock a:hover { background: var(--brown); color: var(--white); transform: translateX(3px); }
.social-dock svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.22,.72,.2,1), transform .9s cubic-bezier(.22,.72,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.image-reveal { overflow: hidden; }
.image-reveal::before { content: ''; position: absolute; inset: 0; z-index: 4; background: var(--beige-soft); transform-origin: top; transform: scaleY(1); transition: transform 1.05s cubic-bezier(.77,0,.18,1); pointer-events: none; }
.image-reveal.in-view::before { transform: scaleY(0); }

/* Training application */
.training-page-hero { min-height: 72svh; display: grid; align-items: end; padding: 170px 0 100px; background: linear-gradient(110deg, rgba(13,11,10,.94), rgba(13,11,10,.46)), url('assets/images/agnieszka-gajda-portret.jpg') center 30%/cover; color: var(--white); }
.training-page-hero h1 { max-width: 900px; }
.training-page-hero .lead { max-width: 680px; margin-top: 28px; color: #e5dbd0; }
.training-page-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.training-program { position: sticky; top: 125px; }
.training-program h2 { margin-bottom: 30px; }
.training-program-list { margin: 35px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.training-program-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.application-form { padding: 50px; background: var(--ivory); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-height: 54px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--brown); }
.form-field textarea { min-height: 145px; resize: vertical; }
.form-consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; }
.form-consent input { margin-top: 5px; }
.form-status { margin-bottom: 24px; padding: 16px 18px; border-left: 3px solid #7d9a76; background: #edf3eb; }
.form-status--error { border-color: #a66c62; background: #f6ece9; }
.form-honeypot { position: absolute !important; left: -9999px !important; }

/* Legal pages */
.legal-hero { padding: 170px 0 72px; background: var(--brown); color: var(--white); }
.legal-hero h1 { max-width: 980px; font-size: clamp(48px, 7vw, 88px); }
.legal-hero .lead { max-width: 780px; margin-top: 28px; color: #ded5cc; }
.legal-page { background: var(--ivory); }
.legal-layout { display: grid; grid-template-columns: .36fr 1fr; gap: 90px; align-items: start; }
.legal-nav { position: sticky; top: 120px; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.legal-nav strong { display: block; margin-bottom: 18px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.legal-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.legal-content { max-width: 800px; }
.legal-content section { margin-bottom: 56px; scroll-margin-top: 120px; }
.legal-content h2 { margin-bottom: 24px; font-size: clamp(34px, 4vw, 50px); }
.legal-content h3 { margin: 28px 0 14px; font-size: 27px; }
.legal-content p, .legal-content li { color: #62584f; }
.legal-content ul { padding-left: 20px; }
.legal-note { padding: 22px 24px; border-left: 3px solid #9b7d58; background: #efe6db; }

/* WooCommerce */
.woocommerce-page main.site-main, .woocommerce-page .woocommerce { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.woocommerce-page main.site-main { padding: 150px 0 100px; }
.woocommerce .woocommerce-breadcrumb { color: #806f60; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 20px 20px 26px; border: 1px solid var(--line); background: var(--ivory); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: #8d6a43; font-weight: 500; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border: 1px solid var(--brown); border-radius: 999px; background: var(--brown); color: var(--white); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--black); color: var(--white); }
.woocommerce-message, .woocommerce-info { border-top-color: #9b7d58; background: var(--ivory); }
.woocommerce-message::before, .woocommerce-info::before { color: #9b7d58; }

/* Premium shop and checkout */
.woocommerce-page { background: var(--ivory); }
.woocommerce-page main.site-main { min-height: 72svh; }
.woocommerce-page .page-title { margin: 0 0 48px; font-size: clamp(48px, 7vw, 82px); }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 34px; color: #766a60; font-size: 12px; }
.woocommerce .woocommerce-ordering select, .woocommerce select { min-height: 50px; padding: 0 42px 0 15px; border: 1px solid var(--line); border-radius: 0; background: var(--white); color: var(--brown); }
.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.woocommerce ul.products li.product { position: relative; padding: 0 0 30px; overflow: hidden; border: 0; border-radius: 3px; background: var(--white); box-shadow: 0 20px 70px rgba(46,34,24,.09); transition: transform .4s ease, box-shadow .4s ease; }
.woocommerce ul.products li.product:hover { transform: translateY(-7px); box-shadow: 0 28px 84px rgba(46,34,24,.14); }
.woocommerce ul.products li.product::after { content: '✦  LONG HAIR'; position: absolute; top: 18px; left: 18px; padding: 8px 12px; border-radius: 999px; background: rgba(17,16,15,.84); color: #ead5ae; font-size: 9px; letter-spacing: .16em; backdrop-filter: blur(10px); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; margin: 0 0 27px; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-left: 28px; margin-right: 28px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; font-size: clamp(29px, 3vw, 39px); }
.woocommerce ul.products li.product .price { margin-top: 14px; margin-bottom: 22px; font-family: var(--serif); font-size: 22px; }
.woocommerce ul.products li.product .button { padding: 15px 22px; }

.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(48px, 7vw, 100px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; }
.woocommerce div.product div.images img { border-radius: 3px; box-shadow: 0 24px 80px rgba(46,34,24,.11); }
.woocommerce div.product div.summary { padding-top: 24px; }
.woocommerce div.product .product_title { margin-bottom: 25px; font-size: clamp(48px, 6vw, 76px); line-height: .98; }
.woocommerce div.product p.price { margin: 0 0 28px; font-family: var(--serif); font-size: 30px; }
.woocommerce-product-details__short-description { margin-bottom: 30px; color: #665c53; font-size: 17px; }
.woocommerce div.product form.cart { padding: 28px; border: 1px solid var(--line); background: var(--white); }
.woocommerce div.product form.cart .variations { margin: 0 0 18px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; width: 100%; padding: 0; text-align: left; }
.woocommerce div.product form.cart .variations label { display: block; margin-bottom: 8px; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.woocommerce div.product form.cart .variations select { width: 100%; margin: 0 0 10px; }
.woocommerce div.product form.cart .single_add_to_cart_button { min-height: 54px; padding-inline: 30px; }
.woocommerce div.product .product_meta { display: none; }
.product-assurance { display: flex; gap: 16px; margin-top: 24px; padding: 22px; border: 1px solid rgba(155,125,88,.32); background: #efe6db; }
.product-assurance > span { color: #9b7d58; font-family: var(--serif); font-size: 34px; line-height: 1; }
.product-assurance strong { display: block; margin-bottom: 5px; font-family: var(--serif); font-size: 23px; font-weight: 400; }
.product-assurance p { margin: 0; color: #655a50; font-size: 13px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; width: min(880px, 100%); margin: 40px auto 0; padding: 48px; background: var(--white); box-shadow: var(--shadow); }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs h2 { margin-bottom: 28px; font-size: 44px; }
.woocommerce div.product .woocommerce-tabs li { margin-bottom: 8px; }
.woocommerce .related.products { grid-column: 1 / -1; margin-top: 50px; }
.woocommerce .related.products > h2 { margin-bottom: 35px; }

.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { padding: clamp(28px, 5vw, 64px); background: var(--white); box-shadow: 0 28px 90px rgba(46,34,24,.10); }
.woocommerce-cart table.shop_table, .woocommerce-checkout table.shop_table { border: 0; border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 18px 14px; border-color: var(--line); }
.woocommerce-cart table.cart img { width: 96px; border-radius: 2px; }
.woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: 54px; }
.woocommerce form.checkout #customer_details, .woocommerce form.checkout #order_review_heading, .woocommerce form.checkout #order_review { width: auto; float: none; }
.woocommerce form.checkout #customer_details { grid-row: span 2; }
.woocommerce form.checkout #customer_details .col-1, .woocommerce form.checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce form.checkout #customer_details .col-2 { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.woocommerce form.checkout #order_review_heading { align-self: end; margin: 0 0 -32px; font-size: 36px; }
.woocommerce form.checkout #order_review { padding: 30px; border: 1px solid var(--line); background: var(--ivory); }
.woocommerce-billing-fields > h3, .long-hair-invoice h3 { margin-bottom: 26px; font-size: 38px; }
.woocommerce form .form-row { margin: 0 0 18px; padding: 0; }
.woocommerce form .form-row label { margin-bottom: 7px; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container--default .select2-selection--single { min-height: 54px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--brown); }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 8px 0; line-height: 28px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 12px; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 9px); }
.long-hair-invoice { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.long-hair-invoice-toggle label { font-size: 14px !important; letter-spacing: 0 !important; text-transform: none !important; }
.long-hair-invoice-toggle .optional { display: none; }
.long-hair-invoice-details .optional { display: none; }
.long-hair-receipt-note { margin: -10px 0 18px; color: #74685e; font-size: 12px; }
.long-hair-invoice-details, #billing_company_field.long-hair-invoice-field { display: none; }
.long-hair-invoice-details.is-visible, #billing_company_field.long-hair-invoice-field.is-visible { display: block; }
.long-hair-invoice-details .optional,
#billing_company_field.long-hair-invoice-field.is-visible .optional,
#billing_phone_field .optional { display: none !important; }
.long-hair-nip-lookup { margin-right: 12px !important; }
.long-hair-nip-status { display: inline-block; max-width: 340px; margin-top: 10px; color: #6c6157; font-size: 12px; }
.woocommerce-checkout #payment { border-radius: 0; background: #ede5db; }
.checkout-pickup { display: flex; gap: 13px; margin: 0 0 22px; padding: 18px; border: 1px solid rgba(155,125,88,.35); background: #f4ecdf; }
.checkout-pickup > span { color: #9b7d58; font-family: var(--serif); font-size: 28px; line-height: 1; }
.checkout-pickup strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.checkout-pickup p { margin: 0; color: #6b6056; font-size: 12px; line-height: 1.6; }
.woocommerce-checkout #payment div.payment_box { background: #e2d6c8; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #e2d6c8; }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; }
.woocommerce-checkout .floating-booksy, .woocommerce-cart .floating-booksy { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info { padding: 18px 22px 18px 48px; border-radius: 0; box-shadow: 0 10px 32px rgba(46,34,24,.07); }

@media (max-width: 980px) {
  .nav > nav { position: absolute; top: 100%; right: 0; left: 0; pointer-events: none; }
  .nav-links { position: static; width: 100%; height: calc(100svh - 86px); display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto; padding: 26px 24px 48px; background: var(--ivory); color: var(--brown); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-14px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: flex; justify-content: space-between; align-items: center; min-height: 58px; }
  .nav-links a:not(.btn)::after { content: '↗'; position: static; width: auto; height: auto; background: none; font-family: var(--serif); font-size: 20px; }
  .nav-links .btn { margin-top: 22px; }
  .menu-open .nav-links { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
  .menu-open .nav > nav { pointer-events: auto; }
  .menu-toggle { display: block; margin-left: auto; position: relative; z-index: 2; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-media { order: 1; min-height: 64svh; clip-path: none; animation: none; border-radius: 0; }
  .hero-media.image-reveal::before { display: none; }
  .hero-copy { order: 2; min-height: auto; padding-top: 82px; }
  .hero-badge { left: 24px; bottom: 24px; }
  .section-head, .about, .training, .contact-grid, .team-grid, .shop-teaser-grid, .training-page-grid { grid-template-columns: 1fr; }
  .team-heading { grid-template-columns: 1fr; gap: 24px; }
  .team-heading h2, .team-heading .lead { grid-column: auto; }
  .team-person--offset { margin-top: 0; }
  .team-person--lead .team-photo, .team-photo { min-height: 620px; }
  .salon-film { min-height: 760px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-track { grid-template-columns: repeat(2, 1fr); }
  .metamorphosis-track { grid-auto-columns: minmax(280px, 46%); }
  .gallery-card:nth-child(even) { margin-top: 30px; }
  .care-grid { grid-template-columns: 1fr; }
  .salon-essentials-track { grid-template-columns: repeat(3, minmax(260px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 18px; }
  .salon-essentials-track::-webkit-scrollbar { display: none; }
  .salon-essential-card { scroll-snap-align: start; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .salon-gallery-heading, .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
  .training-program { position: static; }
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce div.product, .woocommerce form.checkout { grid-template-columns: 1fr; }
  .woocommerce form.checkout #customer_details { grid-row: auto; }
  .woocommerce form.checkout #order_review_heading { margin: 20px 0 0; }
}

@media (max-width: 640px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .section { padding: 82px 0; }
  .nav { min-height: 76px; }
  .brand { width: 108px; height: 60px; }
  .nav-links { height: calc(100svh - 76px); }
  .hero { padding-top: 0; }
  .brand-marquee--desktop { display: none; }
  .brand-marquee--mobile { display: block; order: 2; width: 100%; }
  .hero-copy { order: 3; padding: 64px 22px 66px; min-height: auto; }
  .hero h1 { font-size: clamp(50px, 16vw, 72px); }
  .hero-proof { gap: 14px; flex-wrap: wrap; margin-top: 42px; }
  .hero-proof span { width: calc(50% - 10px); }
  .hero-media { min-height: min(62svh, 590px); margin: 0; border-radius: 0; }
  .hero-media img { inset: 0; width: 100%; height: 100%; object-position: center 18%; transform: none !important; }
  .section-head { gap: 22px; margin-bottom: 40px; }
  .service-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 18px; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .metamorphosis-track { grid-auto-columns: 84%; gap: 14px; }
  .metamorphosis-video-card { min-height: 520px; }
  .video-slider-controls { justify-content: flex-start; margin-top: 0; }
  .voucher-showcase { min-height: 420px; }
  .voucher-showcase div { align-items: flex-start; flex-direction: column; }
  .service-card { min-height: 280px; }
  .gallery-card, .gallery-card:nth-child(even) { min-height: 480px; margin: 0; border-radius: 22px; scroll-snap-align: start; }
  .about-media { min-height: 600px; }
  .about-copy, .training-copy { padding: 76px 24px; }
  .training-media { min-height: 560px; }
  .team-photo, .team-photo:nth-child(2) { min-height: 520px; margin: 0; }
  .team-heading { margin-bottom: 45px; }
  .team-person-caption { padding-bottom: 28px; }
  .salon-film { min-height: 700px; }
  .salon-film-copy { width: calc(100% - 44px); padding-left: 0; }
  .review-slider { grid-auto-columns: minmax(285px, 86vw); }
  .salon-film-copy > p:not(.eyebrow) { font-size: 15px; }
  .social-dock { display: none; }
  .contact-grid { gap: 45px; }
  .contact-map, .contact-map iframe { height: 390px; min-height: 390px; }
  .footer-bottom { flex-direction: column; }
  .floating-booksy { right: 12px; bottom: 12px; min-height: 48px; padding-inline: 20px; opacity: 0; pointer-events: none; transform: translateY(18px); }
  .show-mobile-cta .floating-booksy { opacity: 1; pointer-events: auto; transform: none; }
  .video-modal { padding: 12px; }
  .video-modal-dialog { grid-template-columns: 1fr; }
  .video-modal-media, .video-modal-media video { min-height: 42svh; max-height: 62svh; }
  .video-modal-copy { padding: 38px 25px; }
  .shop-teaser-cards { grid-template-columns: 1fr; transform: none; }
  .shop-teaser-cards article:nth-child(2) { transform: none; }
  .application-form { padding: 30px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field--wide, .form-consent { grid-column: auto; }
  .training-page-hero { min-height: 74svh; padding: 130px 0 70px; background-position: 58% 30%; }
  .training-page-hero h1 { font-size: clamp(48px, 15vw, 70px); }
  .woocommerce-page main.site-main { padding-top: 120px; }
  .woocommerce ul.products { grid-template-columns: 1fr; }
  .woocommerce-page .woocommerce { padding: 24px 16px; }
  .woocommerce div.product .woocommerce-tabs { padding: 30px 22px; }
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
  .team-grid--profiles { grid-template-columns: 1fr; }
  .salon-gallery { padding: 82px 0 72px; }
  .salon-gallery-heading { margin-bottom: 38px; }
  .editorial-salon-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 14px; max-width: none; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 0; }
  .editorial-salon-grid::-webkit-scrollbar { display: none; }
  .editorial-salon-grid figure { scroll-snap-align: start; }
  .salon-essentials-track { grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 14px; }
  .salon-essential-card { min-height: 500px; border-radius: 22px; }
  .salon-marquee figure { width: 72vw; height: 108vw; max-height: 640px; }
  .legal-hero { padding: 132px 0 60px; }
  .legal-page { padding-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media { clip-path: none; }
}

/* Checkout and cart typography at narrow widths. */
.woocommerce-cart .cart_totals h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.woocommerce form .form-row label { white-space: normal; overflow-wrap: anywhere; line-height: 1.6; }
