/* ÉLAN Beauty Atelier demo. Colours come from assets/tokens.css (generated from data.js theme). */
:root {
  --display: "Instrument Serif", "Cormorant Garamond", "Times New Roman", serif;
  --body: "Jost", "Segoe UI", system-ui, sans-serif;
  --t-hero: clamp(3.5rem, 8vw, 9rem);
  --t-page: clamp(3rem, 7vw, 7rem);
  --t-section: clamp(2.5rem, 5vw, 5.5rem);
  --gutter: clamp(20px, 4.4vw, 72px);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --nav-h: 84px;
  --arch: 999px 999px 0 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ivory); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--espresso); font: 300 1.0625rem/1.7 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--espresso); outline-offset: 4px; }
::selection { background: var(--champagne); color: var(--deep); }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--deep); color: var(--warm); }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.d-hero, .d-page, .d-section { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.005em; color: var(--espresso); }
.d-hero { font-size: var(--t-hero); }
.d-page { font-size: var(--t-page); }
.d-section { font-size: var(--t-section); }
.d-hero em, .d-page em, .d-section em, .it { font-style: italic; text-transform: none; letter-spacing: 0; }
.label { font-family: var(--body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.lede { max-width: 54ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.65; color: var(--muted); }
.prose p + p { margin-top: 1.1em; }
.prose { max-width: 60ch; color: var(--muted); }
.prose strong { color: var(--espresso); font-weight: 500; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: clamp(72px, 11vw, 168px); padding-bottom: clamp(72px, 11vw, 168px); }
.line-deco { display: block; width: 72px; height: 1px; background: var(--taupe); margin: 0 0 24px; transform-origin: left; }
.js .line-deco { transform: scaleX(0); transition: transform 1s var(--ease) 0.2s; }
.js .is-in .line-deco, .js .line-deco.is-in { transform: none; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 30px; border: 1px solid var(--espresso); border-radius: 0; background: transparent; color: var(--espresso); font-family: var(--body); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; overflow: hidden; isolation: isolate; transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--deep); transform: translateY(101%); transition: transform 0.32s var(--ease); }
.btn:hover, .btn:focus-visible { color: var(--warm); border-color: var(--deep); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--solid { background: var(--deep); border-color: var(--deep); color: var(--warm); }
.btn--solid::before { background: var(--rose-text); }
.btn--solid:hover { border-color: var(--rose-text); }
.btn--light { border-color: var(--warm); color: var(--warm); }
.btn--light::before { background: var(--warm); }
.btn--light:hover, .btn--light:focus-visible { color: var(--deep); border-color: var(--warm); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 0.74rem; }
.btn .arr { width: 22px; height: 1px; background: currentColor; position: relative; transition: width 0.25s var(--ease); }
.btn .arr::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arr { width: 34px; }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--rose), var(--rose)) left bottom / 100% 1px no-repeat; transition: background-size 0.3s var(--ease); }
.textlink:hover { background-size: 100% 3px; }
.textlink .arr { width: 18px; height: 1px; background: currentColor; position: relative; transition: width 0.25s var(--ease); }
.textlink .arr::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.textlink:hover .arr { width: 28px; }

/* ---------- demo bar and navigation ---------- */
.demobar { position: relative; z-index: 70; margin: 0; padding: 8px var(--gutter); background: var(--deep); color: var(--champagne); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; }
.demobar a { color: var(--warm); }
.nav { position: fixed; z-index: 80; top: 0; left: 0; right: 0; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: background 0.35s var(--ease), border-color 0.35s var(--ease), height 0.35s var(--ease); }
.nav.is-solid { background: rgba(247, 242, 235, 0.88); backdrop-filter: blur(10px); border-bottom-color: var(--border); height: 68px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 1.9rem; letter-spacing: 0.14em; }
.logo small { margin-top: 5px; font-size: 0.6rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); }
.nav-links a:not(.btn) { position: relative; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--rose); transform: scale(0); transition: transform 0.25s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scale(1); }
.menu-btn { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; background: none; border: 0; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.menu-btn .bars { width: 26px; height: 8px; border-top: 1px solid var(--espresso); border-bottom: 1px solid var(--espresso); }
.overlay { position: fixed; inset: 0; z-index: 90; background: var(--ivory); display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px; visibility: hidden; clip-path: circle(0 at 92% 6%); transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s; }
.overlay.is-open { visibility: visible; clip-path: circle(150% at 92% 6%); transition: clip-path 0.7s var(--ease), visibility 0s; }
.overlay-close { position: absolute; top: 22px; right: var(--gutter); min-height: 44px; padding: 0 4px; background: none; border: 0; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; }
.overlay nav a { display: block; overflow: hidden; font-family: var(--display); text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 5rem); line-height: 1.12; text-decoration: none; padding-top: 0.12em; margin-top: -0.12em; }
.overlay nav a span { display: block; transform: translateY(110%); transition: transform 0.7s var(--ease); }
.overlay.is-open nav a span { transform: none; }
.overlay.is-open nav li:nth-child(2) a span { transition-delay: 0.05s; } .overlay.is-open nav li:nth-child(3) a span { transition-delay: 0.1s; }
.overlay.is-open nav li:nth-child(4) a span { transition-delay: 0.15s; } .overlay.is-open nav li:nth-child(5) a span { transition-delay: 0.2s; }
.overlay nav a[aria-current="page"] { color: var(--rose-text); }
.overlay .btn { margin-top: 30px; align-self: flex-start; }
.overlay small { margin-top: auto; padding-top: 24px; color: var(--muted); }

/* ---------- curtain, progress, cursor ---------- */
.curtain { position: fixed; inset: 0; z-index: 300; background: var(--champagne); pointer-events: none; transform: translateY(-101%); }
html.is-leaving .curtain { transform: translateY(0); transition: transform 0.5s var(--ease); pointer-events: all; }
html.is-entering .curtain { transform: translateY(0); animation: curtain-out 0.6s var(--ease) 0.1s forwards; }
@keyframes curtain-out { to { transform: translateY(101%); } }
.progress { position: fixed; z-index: 85; top: 0; left: 0; height: 2px; width: 100%; background: var(--rose); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.cursor { position: fixed; z-index: 260; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 1px solid var(--espresso); border-radius: 50%; pointer-events: none; display: grid; place-items: center; opacity: 0; transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s var(--ease), opacity 0.25s; }
.cursor.is-on { opacity: 1; }
.cursor span { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--warm); opacity: 0; transition: opacity 0.15s; }
.cursor.has-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--espresso); }
.cursor.has-label span { opacity: 1; }
.cursor.is-link { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-color: var(--rose); }

/* ---------- reveal system ---------- */
.js .rl { display: block; overflow: hidden; padding: 0.24em 0 0.08em; margin: -0.24em 0 -0.08em; }
.js .rl > span { display: block; transform: translateY(112%); transition: transform 0.95s var(--ease); }
.js .is-in .rl > span, .js .rl.is-in > span { transform: none; }
.js .rl:nth-child(2) > span { transition-delay: 0.09s; } .js .rl:nth-child(3) > span { transition-delay: 0.18s; }
.js .fade { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .fade.is-in { opacity: 1; transform: none; }
.mask { position: relative; overflow: hidden; background: var(--border); }
.mask img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.js .mask img { clip-path: inset(0 0 100% 0); transform: scale(1.1); transition: clip-path 1.2s var(--ease), transform 1.4s var(--ease); }
.js .mask.is-in img { clip-path: inset(0); transform: scale(1); }
.mask.arch { border-radius: var(--arch); }
.grain { position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: 0.05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .2  0 0 0 0 .15  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); mix-blend-mode: multiply; }

/* If the script never starts (blocked or failed), show everything instead of leaving it hidden. */
.reveal-fallback .rl > span, .reveal-fallback .fade { transform: none !important; opacity: 1 !important; }
.reveal-fallback .mask img { clip-path: none !important; transform: none !important; }
.reveal-fallback .line-deco { transform: none !important; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding: calc(var(--nav-h) + 24px) var(--gutter) clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero-copy { position: relative; z-index: 3; }
.hero-copy .label { display: block; margin-bottom: clamp(16px, 2vw, 28px); }
.hero h1 { margin-bottom: clamp(22px, 3vw, 40px); }
.hero h1 .l2 { padding-left: clamp(0px, 5vw, 90px); }
.hero .lede { margin-bottom: clamp(26px, 3vw, 40px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; z-index: 1; justify-self: end; width: min(100%, 560px); }
.hero-visual .mask { aspect-ratio: 4 / 5.2; border-radius: var(--arch); box-shadow: 0 40px 80px -40px rgba(69, 53, 47, 0.45); }
.hero-visual .mask img { animation: slowzoom 24s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-visual .ring { position: absolute; inset: -22px -22px auto auto; width: 62%; aspect-ratio: 1; border: 1px solid var(--champagne); border-radius: 50%; pointer-events: none; }
.hero-art { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-art canvas { width: 100%; height: 100%; }
.hero-fallback { position: absolute; left: 38%; bottom: 8%; width: min(30vw, 260px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 28%, rgba(255, 252, 248, 0.95), rgba(216, 196, 175, 0.55) 45%, rgba(166, 138, 117, 0.35)); border: 1px solid rgba(255, 252, 248, 0.8); box-shadow: inset -12px -16px 40px rgba(166, 138, 117, 0.35), 0 30px 60px -30px rgba(69, 53, 47, 0.4); animation: float 9s ease-in-out infinite alternate; }
@keyframes float { to { transform: translateY(-14px) rotate(6deg); } }
/* The hero reveals with plain CSS animations, so it never waits for JavaScript to show its text. */
.js .hero .rl > span { transform: none; animation: rise 1.1s var(--ease) both; }
.js .hero .rl:nth-child(1) > span { animation-delay: 0.15s; } .js .hero .rl:nth-child(2) > span { animation-delay: 0.3s; }
@keyframes rise { from { transform: translateY(112%); } to { transform: none; } }
.js .hero .label { animation: fadein 1s var(--ease) 0.05s both; }
.js .hero .lede { animation: fadein 1s var(--ease) 0.7s both; }
.js .hero .hero-cta { animation: fadein 1s var(--ease) 0.9s both; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 7vw, 120px); align-items: center; }
.split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.split--rev > :first-child { order: 2; }
.intro .mask { aspect-ratio: 4 / 5; }
.intro-list { display: grid; gap: 14px; margin-top: 28px; }
.intro-list li { padding-left: 26px; position: relative; color: var(--muted); }
.intro-list li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 14px; height: 1px; background: var(--taupe); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }
.sec-head .label { display: block; margin-bottom: 16px; }

/* services cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.svc-card { display: flex; flex-direction: column; }
.svc-card .mask { aspect-ratio: 4 / 4.6; }
.svc-card .mask img { transition: transform 0.8s var(--ease); }
.svc-card:hover .mask img { transform: scale(1.05); }
.svc-card .cat { margin-top: 18px; }
.svc-card h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 2.4vw, 2.4rem); line-height: 1.05; margin: 6px 0 10px; transition: transform 0.4s var(--ease); }
.svc-card:hover h3 { transform: translateX(6px); }
.svc-card p { color: var(--muted); max-width: 40ch; }
.svc-meta { display: flex; justify-content: space-between; gap: 12px; margin: 16px 0; padding: 12px 0; border-block: 1px solid var(--border); font-size: 0.95rem; }
.svc-meta small { display: block; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.svc-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.cat-block + .cat-block { margin-top: clamp(56px, 8vw, 110px); }
.cat-title { display: flex; align-items: baseline; gap: 18px; margin-bottom: 30px; }

.svc-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.exp-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-names { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* before / after */
.cmp { position: relative; overflow: hidden; background: var(--border); touch-action: pan-y; user-select: none; }
.cmp--home { aspect-ratio: 4 / 4.6; max-width: 640px; }
.cmp img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.cmp-tag { position: absolute; top: 14px; padding: 5px 12px; background: rgba(255, 252, 248, 0.92); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.cmp-tag.b { left: 14px; } .cmp-tag.a { right: 14px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 44px; margin-left: -22px; display: grid; place-items: center; cursor: ew-resize; background: none; border: 0; padding: 0; }
.cmp-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--warm); box-shadow: 0 0 0 1px rgba(69, 53, 47, 0.2); }
.cmp-handle i { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--warm); border: 1px solid var(--espresso); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(69, 53, 47, 0.25); }
.cmp-handle i::before, .cmp-handle i::after { content: ''; width: 7px; height: 7px; border-top: 1.5px solid var(--espresso); border-left: 1.5px solid var(--espresso); position: absolute; }
.cmp-handle i::before { transform: rotate(-45deg); left: 11px; } .cmp-handle i::after { transform: rotate(135deg); right: 11px; }
.cmp-handle:focus-visible i { outline: 2px solid var(--espresso); outline-offset: 3px; }
.cmp-note { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.95rem; }
.cmp-note span:last-child { color: var(--muted); }
.cmp-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { display: inline-block; padding: 9px 18px; border: 1px solid var(--line-strong); background: transparent; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s; }
button.chip:hover, a.chip:hover { border-color: var(--espresso); }
.chip[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--warm); }
.disclaimer { font-size: 0.9rem; color: var(--muted); max-width: 60ch; margin-top: 20px; }

/* specialists */
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); }
.sp-card { display: block; text-decoration: none; transition: transform 0.35s var(--ease); will-change: transform; }
.sp-card .mask { aspect-ratio: 4 / 5.2; border-radius: var(--arch); }
.sp-card img { filter: grayscale(0.85) contrast(1.02); transition: filter 0.6s var(--ease), transform 0.9s var(--ease); }
.sp-card:hover img, .sp-card:focus-visible img { filter: none; transform: scale(1.04); }
.sp-body { padding-top: 20px; text-align: center; }
.sp-body h2, .sp-body h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: 1.05; }
.sp-body .label { display: block; margin: 6px 0 12px; }
.sp-body p { color: var(--muted); max-width: 36ch; margin: 0 auto 14px; }
.sp-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; }
.strip { display: flex; gap: clamp(16px, 2vw, 32px); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--taupe) transparent; }
.strip > * { flex: 0 0 min(78vw, 360px); scroll-snap-align: start; }
.strip-controls { display: flex; gap: 10px; }
.ibtn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; transition: background 0.25s, color 0.25s; }
.ibtn:hover { background: var(--espresso); color: var(--warm); }
.ibtn svg { width: 18px; height: 18px; }
.ibtn:disabled { opacity: 0.4; cursor: default; }

/* atelier band + experience */
.band { position: relative; overflow: hidden; aspect-ratio: 21 / 9; background: var(--border); }
.band img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.exp-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); margin-top: clamp(36px, 5vw, 64px); counter-reset: s; }
.exp-list li { counter-increment: s; padding-top: 22px; border-top: 1px solid var(--taupe); }
.exp-list li::before { content: counter(s); display: block; margin-bottom: 14px; font-family: var(--display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--rose-text); }
.exp-list strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: 8px; }
.exp-list span { color: var(--muted); }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); }
.story { padding: 32px; background: var(--warm); border: 1px solid var(--border); }
.story p { font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1.3; }
.story footer { margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* CTA + footer */
.cta-block { position: relative; background: var(--deep); color: var(--warm); text-align: center; overflow: hidden; isolation: isolate; }
.cta-block::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(90vw, 760px); aspect-ratio: 1; border: 1px solid rgba(216, 196, 175, 0.3); border-radius: 50%; transform: translate(-50%, -50%); z-index: -1; animation: breathe 14s ease-in-out infinite alternate; }
.cta-block::after { content: ''; position: absolute; left: 50%; top: 50%; width: min(64vw, 520px); aspect-ratio: 1; border: 1px solid rgba(216, 196, 175, 0.18); border-radius: 50%; transform: translate(-50%, -50%); z-index: -1; animation: breathe 14s ease-in-out infinite alternate-reverse; }
@keyframes breathe { to { transform: translate(-50%, -50%) scale(1.12); } }
.cta-block .label { color: var(--champagne); display: block; margin-bottom: 22px; }
.cta-block .d-section { color: var(--warm); max-width: 14ch; margin: 0 auto 36px; }
.foot { padding: clamp(56px, 8vw, 110px) var(--gutter) 28px; border-top: 1px solid var(--border); background: var(--warm); }
.foot-word { font-family: var(--display); text-transform: uppercase; font-size: clamp(5rem, 22vw, 24rem); line-height: 0.78; letter-spacing: 0.04em; color: var(--border); text-align: center; user-select: none; margin: clamp(36px, 5vw, 70px) 0 18px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.92rem; display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.foot-note p { max-width: 70ch; }

/* ---------- inner pages ---------- */
.phero { padding: calc(var(--nav-h) + clamp(48px, 8vw, 120px)) var(--gutter) clamp(36px, 6vw, 80px); }
.phero .label { display: block; margin-bottom: 22px; }
.phero .lede { margin-top: clamp(20px, 3vw, 36px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.detail .mask { aspect-ratio: 4 / 5; position: sticky; top: 92px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 28px 0; border-block: 1px solid var(--border); }
.facts div { padding: 18px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--border); }
.facts dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--display); font-size: 1.9rem; line-height: 1.1; }
.list-block { margin-top: 36px; }
.list-block h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; margin-bottom: 14px; }
.list-block li { padding-left: 24px; position: relative; color: var(--muted); margin-bottom: 10px; }
.list-block li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 12px; height: 1px; background: var(--taupe); }
.note-box { margin-top: 28px; padding: 16px 20px; border-left: 2px solid var(--rose); background: var(--warm); color: var(--muted); font-size: 0.95rem; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { text-align: left; padding: 14px 12px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--espresso); }
.price-table td { padding: 22px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.price-table .n { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.price-table .n small { display: block; font-family: var(--body); font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.price-table td:nth-child(3) { font-family: var(--display); font-size: 1.6rem; white-space: nowrap; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }

/* gallery + lightbox */
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--gutter); margin-bottom: clamp(28px, 4vw, 56px); }
.count { padding: 0 var(--gutter); margin-bottom: 18px; }
.masonry { columns: 3; column-gap: clamp(12px, 2vw, 28px); padding: 0 var(--gutter); }
.masonry .item { break-inside: avoid; margin-bottom: clamp(12px, 2vw, 28px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.masonry .item.is-out { opacity: 0; transform: scale(0.96); }
.tile { display: block; width: 100%; text-align: left; text-decoration: none; background: none; border: 0; padding: 0; }
.tile .mask { aspect-ratio: 4 / 5; }
.item[data-ratio="square"] .mask { aspect-ratio: 1; }
.item[data-ratio="wide"] .mask { aspect-ratio: 4 / 3; }
.tile:hover .mask img, .tile:focus-visible .mask img { transform: scale(1.05); }
.tile .cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 0.98rem; }
.tile .cap small { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 5px; white-space: nowrap; }
.lb { position: fixed; inset: 0; z-index: 280; background: rgba(247, 242, 235, 0.97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 18px var(--gutter) 22px; opacity: 0; visibility: hidden; transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb-stage { position: relative; min-height: 0; margin: 16px 0; touch-action: pan-y; }
.lb-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-title { font-family: var(--display); font-size: 1.7rem; line-height: 1.1; }
.lb-btns { display: flex; gap: 10px; }
.lb-count { font-size: 0.78rem; letter-spacing: 0.2em; color: var(--muted); }

/* about + faq + contact + legal */
.chapter { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 6vw, 110px); padding: clamp(48px, 8vw, 120px) var(--gutter); border-top: 1px solid var(--border); }
.chapter h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 4.4rem); line-height: 0.98; margin-bottom: 20px; }
.gal3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); padding: 0 var(--gutter) clamp(56px, 8vw, 120px); }
.gal3 .mask { aspect-ratio: 16 / 11; }
.acc { max-width: 980px; margin: 0 var(--gutter); border-bottom: 1px solid var(--border); }
.acc-item { border-top: 1px solid var(--border); }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; background: none; border: 0; text-align: left; font-family: var(--display); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.15; }
.acc-q .pm { flex: 0 0 22px; height: 22px; position: relative; }
.acc-q .pm::before, .acc-q .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--espresso); transition: transform 0.35s var(--ease); }
.acc-q .pm::after { transform: rotate(90deg); }
.acc-q[aria-expanded="true"] .pm::after { transform: rotate(0); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-a.is-open { grid-template-rows: 1fr; }
.acc-a p { padding: 0 0 30px; max-width: 62ch; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 120px); padding: 0 var(--gutter) clamp(72px, 10vw, 150px); }
.contact-list div { padding: 20px 0; border-top: 1px solid var(--border); }
.contact-list dt { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-list dd { font-family: var(--display); font-size: 1.7rem; line-height: 1.2; }
.contact-list dd small { display: block; font-family: var(--body); font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; font-family: var(--body); font-size: 1.05rem; padding: 4px 0; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn[disabled]::before { display: none; }
.legal { max-width: 78ch; padding: 0 var(--gutter) clamp(72px, 10vw, 150px); }
.legal h2 { font-family: var(--display); font-weight: 400; font-size: 2rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal li { padding-left: 20px; position: relative; }
.legal li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 10px; height: 1px; background: var(--taupe); }
.legal strong { color: var(--espresso); font-weight: 500; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
.legal th { color: var(--espresso); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; }

/* ---------- forms + wizard ---------- */
.wiz { padding: 0 var(--gutter) clamp(72px, 10vw, 150px); max-width: 1280px; }
.wiz-banner { margin-bottom: 28px; padding: 14px 18px; border: 1px solid var(--rose); background: var(--warm); color: var(--muted); }
.wiz-banner strong { color: var(--espresso); font-weight: 500; }
.wiz-prog { display: flex; gap: 6px; margin-bottom: 14px; }
.wiz-prog li { flex: 1; height: 3px; background: var(--border); transition: background 0.3s; }
.wiz-prog li.is-done { background: var(--rose); }
.wiz-prog li.is-now { background: var(--espresso); }
.wiz-meta { display: flex; justify-content: space-between; margin-bottom: 36px; }
.step { animation: stepin 0.55s var(--ease) both; }
@keyframes stepin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.step h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 0.98; margin-bottom: 14px; }
.step > p { color: var(--muted); max-width: 56ch; margin-bottom: 32px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border: 0; padding: 0; margin: 0; }
.opts legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.opt .box { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border: 1px solid var(--line-strong); background: var(--warm); transition: border-color 0.25s, background 0.25s, color 0.25s; }
.opt .box b { font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; }
.opt .box span { color: var(--muted); font-size: 0.95rem; }
.opt input:hover + .box { border-color: var(--espresso); }
.opt input:checked + .box { background: var(--deep); border-color: var(--deep); color: var(--warm); }
.opt input:checked + .box span { color: var(--champagne); }
.opt input:focus-visible + .box { outline: 2px solid var(--espresso); outline-offset: 4px; }
.opt input:disabled + .box { opacity: 0.4; cursor: not-allowed; }
.opt--sp .box { padding: 0; overflow: hidden; }
.opt--sp .box img { aspect-ratio: 4 / 3.4; object-fit: cover; filter: grayscale(0.8); }
.opt--sp input:checked + .box img { filter: none; }
.opt--sp .box > div { padding: 14px 20px 18px; display: flex; flex-direction: column; gap: 3px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0; }
.slots legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.slot span { display: block; padding: 14px 0; text-align: center; border: 1px solid var(--line-strong); background: var(--warm); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.slot input:hover + span { border-color: var(--espresso); }
.slot input:checked + span { background: var(--deep); border-color: var(--deep); color: var(--warm); }
.slot input:focus-visible + span { outline: 2px solid var(--espresso); outline-offset: 3px; }
.slot input:disabled + span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.fields { display: grid; gap: 22px; max-width: 640px; }
.field { display: grid; gap: 8px; }
.field > label, .field > .lab { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--warm); color: var(--espresso); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--espresso); outline: 2px solid var(--espresso); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #a2323f; }
.field .err, .err { color: #a2323f; font-size: 0.95rem; }
.field .hint { color: var(--muted); font-size: 0.92rem; }
.wiz-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.review div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--border); }
.review { max-width: 760px; }
.review dt { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.review dd { overflow-wrap: anywhere; }
.demo-result { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--rose); background: var(--warm); max-width: 760px; }
.demo-result h2 { margin-bottom: 14px; }
.demo-result p { color: var(--espresso); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav-links a:not(.btn), .nav-links .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--nav-h) + 16px); }
  .hero-visual { justify-self: center; order: -1; width: min(86%, 420px); }
  .hero-fallback { left: 8%; bottom: 4%; width: 120px; }
  .split, .split--rev, .detail, .contact-grid, .chapter { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .detail .mask { position: relative; top: 0; }
  .svc-grid, .sp-grid, .stories, .svc-grid--2, .sp-names { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .exp-list, .exp-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .masonry { columns: 2; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .masonry { columns: 1; }
  .exp-list, .exp-list--2, .gal3, .foot-cols, .opts, .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .review div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .btn { width: 100%; justify-content: space-between; }
  .hero-cta { flex-direction: column; }
  .hero h1 .l2 { padding-left: 0; }
  .wiz-nav .btn { width: auto; }
  .price-table td, .price-table th { padding-left: 4px; padding-right: 4px; }
  .price-table td:last-child { display: none; } .price-table th:last-child { display: none; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .rl > span, .js .fade { transform: none !important; opacity: 1 !important; }
  .js .mask img { clip-path: none !important; transform: none !important; }
    .js .line-deco { transform: none !important; }
  .grain, .cursor { display: none; }
}
