/* Rudina Mahmutaj Atelie — editorial couture theme. Colors come from Admin → Color Palette (CSS variables). */
:root {
  --bg: #0d0b0c; --bg-2: #141112; --surface: #1d191a; --text: #f5efe9; --muted: #b3a9a2;
  --primary: #c9a46a; --primary-2: #e6cfa3; --accent: #d9a3ae; --cream: #f6f0ea; --ink: #1a1516;
  --line: color-mix(in srgb, var(--text) 13%, transparent);
  --font-display: 'Bodoni Moda', Didot, 'Bodoni MT', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 4px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(56px, 7vw, 100px);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; }
::selection { background: var(--primary); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--primary); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 28px; }
.section { padding: var(--section) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head.split .eyebrow::after { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 0; background: transparent;
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--ink); }
.btn-primary:hover { background: var(--primary-2); }
.btn-ghost { border-color: color-mix(in srgb, var(--primary) 60%, transparent); color: var(--primary-2); }
.btn-ghost:hover { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.btn-glass { border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn-glass:hover { background: #fff; color: var(--ink); }
.btn-link { color: var(--primary-2); padding: 0 6px; border-bottom: 1px solid currentColor; min-height: 0; padding-bottom: 4px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .72rem; }
.btn-block { width: 100%; }
.btn-whatsapp { background: #25d366; color: #0b2d18; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); transition: border-color .3s, background .3s, color .3s; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary-2); }
.icon-btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: background .4s, height .4s var(--ease), box-shadow .4s; }
.site-header.is-scrolled, .page-sub .site-header { --header-h: 66px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; transition: width .4s var(--ease), height .4s var(--ease); }
.is-scrolled .brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.05; white-space: nowrap; }
.brand-text small { font-family: var(--font-body); font-size: .6rem; letter-spacing: .5em; text-transform: uppercase; color: var(--primary); margin-top: 5px; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 4px; font-size: .74rem; letter-spacing: .1em; }
.lang-switch a { padding: 4px 6px; color: var(--muted); }
.lang-switch a.is-active { color: var(--primary-2); }
.burger { gap: 5px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; }
.burger span { width: 18px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 55; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 110px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; animation: fade .35s var(--ease); }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a { font-family: var(--font-display); font-size: clamp(1.7rem, 8vw, 2.4rem); padding: 8px 0; border-bottom: 1px solid var(--line); opacity: 0; animation: up .55s var(--ease) forwards; animation-delay: calc(var(--i) * 50ms + 80ms); }
.mobile-nav-foot { display: grid; gap: 10px; margin-top: 28px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s, color .3s; }
.socials a:hover { border-color: var(--primary); color: var(--primary-2); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Hero (mobile: full-bleed portrait photo; desktop: editorial split) ---------- */
.hero { position: relative; height: 100svh; min-height: 580px; max-height: 1000px; overflow: hidden; background: var(--bg); }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active { visibility: visible; z-index: 1; }
.slide-media { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 0); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transform: scale(1.12); transition: transform calc(var(--slide-ms, 6500ms) + 1.5s) linear; }
.slide.is-active .slide-media img { transform: scale(1); }
.slide-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, transparent 24%, transparent 42%, color-mix(in srgb, var(--bg) 92%, transparent) 88%); }
.slide-content { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 2; }
.slide-content > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide-content > * { opacity: 1; transform: none; }
.slide.is-active .slide-content > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide-content > :nth-child(3) { transition-delay: .22s; }
.slide.is-active .slide-content > :nth-child(4) { transition-delay: .32s; }
.slide-content .eyebrow { color: var(--primary-2); margin-bottom: 10px; }
.slide-title { font-size: clamp(2.1rem, 9.5vw, 3.2rem); max-width: 14ch; margin-bottom: 10px; text-wrap: balance; }
.slide-content p { color: color-mix(in srgb, var(--text) 82%, transparent); max-width: 34ch; font-size: .98rem; margin-bottom: 20px; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.slide-cta .btn { flex: 1 1 auto; }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 18px; }
.hero-count { font-family: var(--font-display); font-size: .95rem; color: var(--muted); letter-spacing: .08em; }
.hero-count b { color: var(--text); font-weight: 500; }
.hero-dots { display: flex; gap: 8px; flex: 1; max-width: 260px; }
.hero-dots button { flex: 1; height: 24px; padding: 0; background: none; border: 0; display: flex; align-items: center; }
.hero-dots i { display: block; width: 100%; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.hero-dots i::after { content: ''; position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.hero-dots .is-active i::after { animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero-dots .is-active i::after { animation-play-state: paused; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 3vw, 1.9rem); white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: '✦'; font-style: normal; font-size: .7em; color: var(--primary); }

/* ---------- Occasions ---------- */
.occasions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.occasion { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.occasion img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.occasion::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .78)); transition: opacity .5s; }
.occasion-body { position: absolute; inset: auto 0 0; z-index: 1; padding: 14px; display: grid; gap: 4px; }
.occasion-num { font-family: var(--font-display); font-style: italic; color: var(--primary-2); font-size: .9rem; }
.occasion strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 4.4vw, 1.9rem); line-height: 1.1; }
.occasion small { display: none; color: rgba(255, 255, 255, .78); font-size: .9rem; line-height: 1.5; }
.occasion em { font-style: normal; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--primary-2); }
.occasion:hover img { transform: scale(1.06); }

/* ---------- About ---------- */
.about { background: var(--bg-2); }
.about-grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about-media { position: relative; padding: 0 14% 12% 0; }
.about-main { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-second { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid var(--bg-2); }
.spin-badge { position: absolute; top: -26px; right: 6%; width: clamp(84px, 12vw, 120px); height: auto; padding: 14px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); animation: spin 22s linear infinite; }
.about-text blockquote { margin: 0 0 20px; padding-left: 20px; border-left: 1px solid var(--primary); font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.45; color: var(--primary-2); }
.about-text p { color: var(--muted); }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--text) !important; margin-top: -4px; }
.pillars { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillars li { background: var(--bg-2); padding: 16px 18px; display: grid; gap: 2px; }
.pillars strong { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--primary-2); }
.pillars span { color: var(--muted); font-size: .92rem; }

/* ---------- Collection ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 24px; padding: 2px var(--gutter); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; background: none; border: 1px solid var(--line); padding: 10px 18px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); transition: all .3s var(--ease); }
.chip:hover { color: var(--text); border-color: color-mix(in srgb, var(--primary) 60%, transparent); }
.chip.is-active { background: var(--primary); border-color: var(--primary); color: var(--ink); }
.looks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
html:not(.no-js) .look.is-more { display: none; }
.look { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.looks.is-filtering .look { animation: up .6s var(--ease) both; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.look-cap { position: absolute; inset: auto 0 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); font-family: var(--font-display); font-size: .98rem; line-height: 1.2; display: grid; gap: 2px; }
.look-cap small { font-family: var(--font-body); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--primary-2); }
.look:hover img { transform: scale(1.05); }

/* ---------- Process (light section) ---------- */
.process { background: var(--cream); color: var(--ink); }
.process .eyebrow { color: color-mix(in srgb, var(--primary) 70%, var(--ink)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: color-mix(in srgb, var(--ink) 14%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.step { background: var(--cream); padding: 26px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; transition: background .4s; }
.step:hover { background: color-mix(in srgb, var(--cream) 92%, var(--primary)); }
.step-num { grid-row: span 2; font-family: var(--font-display); font-style: italic; font-size: 2.4rem; line-height: 1; color: color-mix(in srgb, var(--primary) 80%, var(--ink)); }
.step h3 { margin: 0 0 4px; }
.step p { margin: 0; color: color-mix(in srgb, var(--ink) 70%, transparent); font-size: .95rem; }

/* ---------- Videos ---------- */
.rail-nav { display: none; gap: 8px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1320px) { .rail { padding-inline: calc((100vw - 1320px) / 2 + var(--gutter)); scroll-padding: 0 calc((100vw - 1320px) / 2 + var(--gutter)); } }
.reel { position: relative; flex: 0 0 clamp(190px, 46vw, 270px); aspect-ratio: 9 / 16; scroll-snap-align: start; padding: 0; border: 0; overflow: hidden; background: var(--surface); }
.reel video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .55)); pointer-events: none; }
.reel-play { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); transition: background .3s, transform .3s var(--ease); }
.reel-play svg { width: 16px; fill: #fff; }
.reel-cap { position: absolute; left: 12px; bottom: 18px; right: 60px; z-index: 1; text-align: left; font-family: var(--font-display); font-size: 1rem; line-height: 1.2; }
.reel:hover video { transform: scale(1.04); }
.reel:hover .reel-play { background: var(--primary); transform: scale(1.08); }

/* ---------- Booking ---------- */
.book { background: radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%), var(--bg-2); }
.book-grid { display: grid; gap: 36px; align-items: start; }
.book-text p { color: var(--muted); max-width: 46ch; }
.phone-big { display: inline-block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--primary-2); margin: 6px 0 18px; border-bottom: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); }
.hours-mini { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; max-width: 340px; }
.hours-mini li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; font-size: .95rem; color: var(--muted); }
.hours-mini strong { color: var(--text); font-weight: 500; }
.card { background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; position: relative; }
.form-row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field small { text-transform: none; letter-spacing: 0; opacity: .75; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 0;
  font: inherit; font-size: 16px; transition: border-color .25s, box-shadow .25s; color-scheme: dark; }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e5484d; }
.form-msg { margin: 0; color: #ff8a8f; font-size: .92rem; min-height: 0; }
.form-msg:empty { display: none; }
.form-legal { margin: -6px 0 0; text-align: center; font-size: .8rem; color: var(--muted); }
.form-legal a { text-decoration: underline; text-underline-offset: 3px; }
.form-success { position: absolute; inset: 0; z-index: 2; background: var(--surface); display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 24px; animation: fade .5s var(--ease); }
.form-success p { margin: 0; max-width: 34ch; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--ink); background: var(--primary); }
.hint { font-size: .88rem; color: var(--muted); }
.hint a { color: var(--primary-2); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; align-items: stretch; }
.contact-info dl { margin: 0; display: grid; gap: 18px; }
.contact-info dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--primary); margin-bottom: 4px; }
.contact-info dd { margin: 0; font-size: 1.05rem; }
.contact-info dd a:hover { color: var(--primary-2); }
.map { min-height: 320px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; color: var(--muted);
  background: repeating-linear-gradient(45deg, transparent 0 14px, color-mix(in srgb, var(--text) 3%, transparent) 14px 15px); }
.map-placeholder p { margin: 0; max-width: 30ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 calc(24px + 70px); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand p { color: var(--muted); max-width: 38ch; margin: 16px 0; }
.site-footer h3 { font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.footer-list a:hover { color: var(--primary-2); }
.footer-list strong { color: var(--text); font-weight: 500; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .86rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a:hover, .credits a:hover { color: var(--primary-2); }
.credits a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.view-switch { display: flex; align-items: center; gap: 6px; }
.view-switch span { margin-right: 4px; }
.view-switch button { min-height: 36px; padding: 0 16px; border: 1px solid var(--line); background: transparent; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.view-switch button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--ink); }

/* ---------- Mobile bottom bar ---------- */
.bottom-bar { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-bar a { display: grid; justify-items: center; gap: 3px; padding: 9px 4px 8px; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bottom-bar svg { width: 20px; height: 20px; fill: currentColor; }
.bottom-bar .bb-primary { color: var(--ink); background: var(--primary); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 6, 7, .95); display: grid; place-items: center; animation: fade .3s; padding: 56px 12px 24px; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lightbox img, .lightbox video { max-width: min(92vw, 900px); max-height: calc(100svh - 130px); width: auto; object-fit: contain; }
.lightbox figcaption { font-family: var(--font-display); font-style: italic; color: var(--primary-2); text-align: center; }
.lightbox figcaption:empty { display: none; }
.lb-close { position: absolute; top: 10px; right: 10px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; background: rgba(0, 0, 0, .35); }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; z-index: 85; left: 10px; right: 10px; bottom: 74px; background: var(--surface); border: 1px solid var(--line); padding: 16px; box-shadow: var(--shadow); display: grid; gap: 12px; font-size: .9rem; animation: up .5s var(--ease); }
.cookie-banner p { margin: 0; color: var(--muted); }
.cookie-banner a { color: var(--primary-2); text-decoration: underline; }
.cookie-banner div { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner .btn { flex: 1; }

/* ---------- Sub pages (CMS pages, privacy, 404) ---------- */
.page { padding-top: calc(var(--header-h) + 48px); min-height: 70vh; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; color: var(--primary-2); }
.prose p, .prose li { color: var(--muted); }
.prose a, .prose .link-btn { color: var(--primary-2); }
.prose img { margin: 24px 0; }
.error-code { display: flex; align-items: center; justify-content: center; gap: 4px; font-family: var(--font-display); font-size: clamp(6rem, 22vw, 11rem); line-height: 1; color: var(--primary-2); margin-bottom: 16px; }
.error-code img { width: .8em; height: .8em; animation: spin 18s linear infinite; }
.error-page p { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .occasions, .looks { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .occasion-body { padding: 20px; }
  .occasion small { display: block; }
  .steps { grid-template-columns: 1fr 1fr; }
  .slide-cta .btn { flex: 0 0 auto; }
  .cookie-banner { left: auto; right: 20px; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  /* Hero: text left, portrait photo right (no landscape cropping of the 4:5 photos) */
  .slide-media { left: auto; width: min(50vw, 80svh); clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease); }
  .slide.is-active .slide-media { clip-path: inset(0 0 0 0); }
  .slide-media::after { background: linear-gradient(90deg, var(--bg) 0%, transparent 22%), linear-gradient(180deg, rgba(0, 0, 0, .3), transparent 20%); }
  .slide-content { top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: var(--header-h); }
  .slide-content > * { max-width: min(560px, calc(100vw - min(50vw, 80svh) - 2 * var(--gutter) - 40px)); }
  .slide-title { font-size: clamp(3rem, 5.2vw, 5rem); }
  .slide-content p { font-size: 1.1rem; }
  .hero-ui { bottom: 40px; }
  .about-grid, .book-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .book-grid { grid-template-columns: .9fr 1.1fr; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .credits { grid-column: 1 / -1; }
  .rail-nav { display: flex; }
  .bottom-bar { display: none; }
  .site-footer { padding-bottom: 28px; }
  .cookie-banner { bottom: 20px; }
}
@media (min-width: 1100px) {
  .main-nav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
  .main-nav a { position: relative; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: color-mix(in srgb, var(--text) 82%, transparent); padding: 6px 0; transition: color .3s; }
  .main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--primary); transform: scaleX(0); transition: transform .4s var(--ease); }
  .main-nav a:hover, .main-nav a.is-current { color: var(--primary-2); }
  .main-nav a:hover::after, .main-nav a.is-current::after { transform: scaleX(1); }
  .burger { display: none; }
  .looks { grid-template-columns: repeat(4, 1fr); }
  .look-cap { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
  .look:hover .look-cap, .look:focus-visible .look-cap { opacity: 1; transform: none; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 1fr; padding: 34px 28px; }
  .step-num { grid-row: auto; font-size: 3.2rem; margin-bottom: 18px; }
}
@media (max-width: 1099px) { .hide-md { display: none !important; } }
@media (max-width: 639px) { .hide-sm { display: none !important; } .brand-text { font-size: 1.05rem; } .brand img { width: 40px; height: 40px; } }
@media (max-width: 380px) { .slide-content p { display: none; } .brand-text small { letter-spacing: .32em; } }
@media (max-height: 640px) and (max-width: 899px) { .slide-content p { display: none; } }

@keyframes progress { to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
