/* Chaya v3 — close reference match (michalofir-style) */
html, body { margin: 0; min-height: 100%; }
body { background: #faf7f2; font-family: 'Heebo', Arial, sans-serif; color: #2b2622; }
* { box-sizing: border-box; }
:root { --brown: #9a7b4f; --brown-dark: #6b5426; --lav: #faf7f2; --ink: #2b2622; --line: #e0d5c2; }

/* splash */
.intro { position: fixed; inset: 0; z-index: 99; background: #faf7f2; display: grid; place-items: center; transition: opacity .6s ease; cursor: pointer; }
.intro img { width: min(460px, 88vw); height: auto; }
.intro.out { opacity: 0; pointer-events: none; }
.intro { animation: introfb 0s 6s forwards; }
@keyframes introfb { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.skip { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); font: 500 14px 'Heebo', sans-serif; letter-spacing: .1em; color: #2b2622; background: transparent; border: 1px solid #b89a6a; border-radius: 999px; padding: 10px 26px; min-height: 44px; cursor: pointer; }
body.lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .intro { transition: none; } }

/* header — centered column like reference */
.site-head { background: #faf7f2; }
.head-col { max-width: 880px; margin: 0 auto; padding: 22px 20px 16px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.social-row { display: flex; gap: 12px; justify-self: start; }
.social-row a { color: #9a7b4f; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #d8c8a8; }
.social-row a:hover { color: var(--brown-dark); border-color: var(--brown); }
.head-logo { width: min(190px, 50vw); height: auto; display: block; justify-self: center; background: transparent; }
.menu-btn { display: none; justify-self: end; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brown); color: #fff; cursor: pointer; place-items: center; }
.site-nav { background: #faf7f2; border-top: 1px solid #e0d5c2; border-bottom: 1px solid #e0d5c2; }
.site-nav { display: flex; justify-content: center; gap: clamp(16px, 4vw, 40px); padding: 0 12px; }
.site-nav a { color: #2b2622; text-decoration: none; font-size: 15.5px; font-weight: 500; letter-spacing: .03em; padding: 12px 2px; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:hover { color: #9a7b4f; }
@supports (width: min(880px, 100%)) {
  .site-nav { max-width: 880px; margin: 0 auto; }
}

main { max-width: 880px; margin: 0 auto; }

/* hero slider — contained column, thin white chevrons */
.hero { position: relative; height: min(64vh, 540px); background: #e9e3dc; overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity .8s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; display: block; }
.slide:nth-child(1) img { object-position: 50% 26%; }
.slide:nth-child(2) img { object-position: 50% 28%; }
.slide:nth-child(3) img { object-position: 50% 27%; }
.slide:nth-child(4) img { object-position: 50% 27%; }
.slide:nth-child(5) img { object-position: 50% 29%; }
.slide:nth-child(6) img { object-position: 50% 39%; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border: 0; background: transparent; color: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; padding: 0; }
.hero-arrow svg { width: 34px; height: 34px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.hero-arrow:hover { color: #fff; }
.hero-arrow.prev { right: 8px; }
.hero-arrow.next { left: 8px; }
.hero-down { position: absolute; z-index: 2; bottom: 10px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.92); display: grid; place-items: center; width: 44px; height: 44px; }

/* intro section with script heading */
.intro-sec { background: #faf7f2; text-align: center; padding: 56px 24px 52px; display: grid; justify-items: center; gap: 16px; }
.services { margin: 0; font-size: 13px; letter-spacing: .22em; color: var(--brown); font-weight: 500; }
.script-h { margin: 0; font-family: 'Gveret Levin', 'Frank Ruhl Libre', serif; font-weight: 400; font-size: clamp(42px, 7vw, 62px); line-height: 1.25; text-wrap: balance; color: #2b2622; }
.script-h .slogan-first, .script-h .slogan-second { display: block; }
.script-h .slogan-second { color: #947044; }
.script-h::after { content: ''; display: block; width: 54px; height: 1px; background: #b89a6a; margin: 16px auto 0; }
.intro-sec .services { color: #9a7b4f; }
.intro-sec .lead { color: #6b6153; }
.intro-sec .cta { background: #2b2622; color: #faf7f2; box-shadow: 0 10px 24px rgba(29,25,20,.22); }
.intro-sec .cta-light { background: #faf7f2; color: #2b2622; border: 1px solid #b89a6a; }
.lead { margin: 0; font-size: 17px; line-height: 1.6; max-width: 34ch; color: #6b6153; }
.intro-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #faf7f2; text-decoration: none; font-size: 16px; font-weight: 500; box-shadow: 0 10px 24px rgba(29,25,20,.22); }
.cta-light { background: #faf7f2; color: #2b2622; border: 1px solid #b89a6a; }
.cta-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--brown); box-shadow: none; }
.cta:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; }

/* sections */
.works, .video-sec, .ig-sec, .contact { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 54px 22px 48px; }
.video-sec, .contact { background: var(--lav); }
.eyebrow { margin: 0; font-size: 12.5px; letter-spacing: .18em; color: var(--brown); font-weight: 500; }
.script-h2 { margin: 0; font-family: 'Gveret Levin', 'Frank Ruhl Libre', serif; font-weight: 400; font-size: clamp(34px, 5vw, 44px); color: var(--ink); }
.contact h2 { margin: 0; font-family: 'Gveret Levin', 'Frank Ruhl Libre', serif; font-weight: 400; font-size: clamp(34px, 5vw, 44px); color: var(--ink); }

/* works pairs */
.pairs { display: grid; gap: 30px; width: min(100%, 680px); margin-top: 10px; }
.pair { position: relative; background: #fff; border: 1px solid #eadfc9; border-radius: 16px; padding: 24px 16px 16px; box-shadow: 0 12px 30px rgba(80,62,30,.09); }
.pair-no { position: absolute; top: 8px; left: 16px; font-size: 12px; letter-spacing: .2em; color: #9a7b4f; }
.pair-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.pair-photos figure { margin: 0; display: grid; gap: 8px; }
.pair-photos img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; display: block; }
.pair-photos figcaption span { font-size: 12.5px; letter-spacing: .14em; color: var(--brown); }
.pair-arrow { position: absolute; top: 45%; left: 50%; transform: translate(-50%,-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--brown-dark); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.15); }

/* video */
.video-card { position: relative; margin-top: 6px; }
.video-card::before { content: ''; position: absolute; inset: 14px -10px -14px 10px; border: 1.5px solid #b89a6a; border-radius: 24px; z-index: 0; }
.video-card video { position: relative; z-index: 1; display: block; width: min(280px, 74vw); aspect-ratio: 464/832; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px rgba(29,25,20,.2); background: #000; }
.video-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; border-radius: 50%; border: 0; background: rgba(29,25,20,.62); color: #f5e3b3; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.video-play:hover { background: rgba(29,25,20,.85); }

/* instagram horizontal swipe strip */
.ig-follow { direction: ltr; color: #6b6153; font-size: 15px; letter-spacing: .12em; margin: 0 0 14px; }
.ig-follow a { color: #9a7b4f; text-decoration: none; border-bottom: 1px solid #d8c8a8; padding-bottom: 1px; }
.ig-wrap { position: relative; width: 100%; max-width: 836px; }
.ig-arrow { position: absolute; top: 40%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); color: #9a7b4f; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(43,38,34,.10); padding: 0; }
.ig-arrow:hover { background: #fff; }
.ig-prev { right: 8px; }
.ig-next { left: 8px; }
.ig-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; width: 100%; padding: 6px 4px 14px; scrollbar-width: none; }
.ig-strip::-webkit-scrollbar { display: none; }
.ig-card { flex: 0 0 236px; margin: 0; scroll-snap-align: start; }
.ig-frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 24px rgba(43,38,34,.06); }
.ig-frame iframe { position: absolute; top: calc(-54px - 14.2%); left: calc(-21.1% - 7.5px); width: calc(142.2% + 15px); height: calc(177.8% + 208px); border: 0; }
.ig-card figcaption { margin-top: 9px; text-align: center; }
.ig-card figcaption a { color: #9a7b4f; font-size: 13px; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid #d8c8a8; padding-bottom: 2px; min-height: 36px; display: inline-flex; align-items: center; }
.ig-more { margin-top: 4px; color: #6b5426; font-size: 15px; text-decoration: none; border-bottom: 1px solid #b89a6a; padding-bottom: 2px; min-height: 40px; display: inline-flex; align-items: center; }

/* contact */
.contact p { margin: 0; color: #6b6153; max-width: 30ch; line-height: 1.5; }
.artist { display: flex; align-items: center; gap: 14px; }
.artist-portrait img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(80,62,30,.15); }
.artist-name p { margin: 0; font: 700 22px 'Frank Ruhl Libre', serif; color: var(--ink); }
.artist-name span { font-size: 13px; color: var(--brown); letter-spacing: .08em; }
.request-note { font-size: 13px; color: #6b6153; max-width: 36ch; margin: 0; }
.tel { color: var(--ink); text-decoration: none; font-size: 18px; letter-spacing: .06em; min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid #b89a6a; }

/* form */
.request { padding: 40px 0 50px; background: #faf7f2; scroll-margin-top: 20px; }
#trial-form { width: min(100% - 24px, 620px); margin: 0 auto; text-align: right; display: grid; gap: 18px; padding: 10px 16px 26px; font-family: 'Heebo', sans-serif; }
.form-title { margin: 0; font-size: 30px; font-weight: 700; font-family: 'Frank Ruhl Libre', serif; text-align: center; color: var(--ink); }
.form-sub { margin: 0 0 6px; font-size: 13px; color: #6b6153; text-align: center; }
.f-field { display: grid; gap: 6px; }
.f-field > label, .f-label { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.req { color: #c0392b; }
.f-field input[type=text], .f-field input[type=tel], .f-field input[type=email], .f-field input[type=date], .f-field textarea { width: 100%; padding: 11px 12px; font: 400 15px 'Heebo', sans-serif; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; outline: none; }
.f-field input:focus, .f-field textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(154,123,79,.18); }
.f-field textarea { resize: vertical; min-height: 96px; }
.f-phone { display: flex; gap: 12px; direction: ltr; justify-content: flex-end; }
.f-phone-part { display: grid; gap: 4px; width: 110px; }
.f-phone-part.f-phone-num { flex: 1; max-width: 220px; }
.f-phone-part input { direction: ltr; text-align: left; }
.f-sub { font-size: 12px; color: #6b6153; text-align: right; }
.f-radios { display: flex; gap: 18px; flex-wrap: wrap; }
.f-radios label { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; cursor: pointer; min-height: 44px; }
.f-radios input { accent-color: var(--brown); width: 17px; height: 17px; cursor: pointer; }
.f-submit { justify-self: center; min-height: 48px; padding: 0 38px; border: 0; border-radius: 999px; background: var(--ink); color: #faf7f2; font: 500 16px 'Heebo', sans-serif; cursor: pointer; box-shadow: 0 10px 24px rgba(29,25,20,.22); margin-top: 4px; }
.f-submit:disabled { opacity: .55; cursor: default; }
.f-trial-note { margin: -4px 0 0; text-align: center; font-size: 13px; color: var(--brown); }
.f-status { margin: 0; text-align: center; font-size: 14.5px; min-height: 20px; }

/* footer + floating wa */
.foot { text-align: center; padding: 18px; font-size: 12px; letter-spacing: .2em; color: #6b6153; background: #faf7f2; border-top: 1px solid #e8e1d4; }
.wa-float { position: fixed; z-index: 60; bottom: 20px; left: 20px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.wa-float:hover { background: #1fb857; }

/* mobile — full width + hamburger */
@media (max-width: 640px) {
.ig-card { flex-basis: 62%; }
  main { max-width: 100%; }
  .site-nav { max-width: 100%; }
  .head-col { padding: 14px 16px; }
  .menu-btn { display: grid; }
  .site-nav { display: none; flex-direction: column; align-items: center; gap: 0; padding: 6px 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px; width: 100%; justify-content: center; border-top: 1px solid #e0d5c2; }
  .hero { height: 36vh; min-height: 250px; }
  .intro-sec { padding: 44px 20px 40px; }
}
@media (min-width: 641px) {
  .site-head { position: static; }
}

/* header mirror of reference: icons at far left (col 3 = left cell in RTL grid), mobile shows logo+hamburger only */
.social-row { grid-column: 3; grid-row: 1; justify-self: end; }
@media (max-width: 640px) {
  .social-row { display: none; }
  .head-col { grid-template-columns: auto 1fr; }
  .head-logo { justify-self: start; }
  .menu-btn { grid-column: 2; grid-row: 1; }
}

/* logo stays centered on desktop */
.head-logo { grid-column: 2; grid-row: 1; justify-self: center; }
@media (max-width: 640px) {
  .head-logo { grid-column: 1; grid-row: 1; justify-self: start; }
}

/* contact form grid + script title */
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-title-script { font-family: 'Gveret Levin', cursive; font-weight: 400; font-size: 52px; color: var(--ink); margin: 0; }
.form-tel { color: inherit; text-decoration: none; border-bottom: 1px solid #d8c8a8; }
@media (max-width: 480px) { .f-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* reviews / rating section */
.reviews { padding: 46px 0 10px; text-align: center; }
.rev-empty { width: min(100% - 32px, 620px); margin: 18px auto 30px; padding: 26px 20px; background: #fff; border: 1px dashed #d8c8a8; border-radius: 14px; color: #6b6153; font-size: 15px; }
.rev-form { width: min(100% - 24px, 620px); margin: 0 auto; display: grid; gap: 16px; text-align: right; padding: 0 16px 30px; font-family: 'Heebo', sans-serif; }
.rev-lead { margin: 0; font: 500 17px 'Heebo', sans-serif; color: var(--ink); text-align: center; }
.rev-stars { display: flex; justify-content: center; gap: 6px; direction: ltr; }
.rev-star { background: none; border: 0; font-size: 34px; line-height: 1; color: #d8c8a8; cursor: pointer; padding: 4px; transition: transform .12s, color .12s; }
.rev-star:hover { transform: scale(1.12); }
.rev-star.is-on { color: #b89a6a; text-shadow: 0 2px 8px rgba(184,154,106,.35); }

/* services section */
.svc-sec, .about-sec, .faq-sec { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 54px 22px 48px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(100%, 680px); margin-top: 8px; }
.svc-card { background: #fff; border: 1px solid #eadfc9; border-radius: 16px; padding: 22px 14px; box-shadow: 0 12px 30px rgba(80,62,30,.09); }
.svc-card h3 { margin: 0 0 6px; font: 700 19px 'Frank Ruhl Libre', serif; color: var(--ink); }
.svc-card p { margin: 0; font-size: 14.5px; color: #6b6153; line-height: 1.55; }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

/* before/after slider */
.pair { padding-bottom: 12px; }
.ba { position: relative; width: 100%; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; background: #e9e3dc; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); pointer-events: none; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.35); transform: translateX(-1px); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: var(--pos, 50%); transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #6b5426; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.25); pointer-events: none; }
.ba-tag { position: absolute; top: 10px; font-size: 12px; letter-spacing: .12em; background: rgba(29,25,20,.55); color: #fff; padding: 4px 10px; border-radius: 999px; pointer-events: none; }
.tag-before { right: 10px; }
.tag-after { left: 10px; }
.ba-expand { position: absolute; bottom: 10px; left: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #6b5426; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.ba-expand:hover { background: #fff; }

/* about section */
.about-card { display: flex; align-items: center; gap: 22px; width: min(100%, 620px); background: #fff; border: 1px solid #eadfc9; border-radius: 16px; padding: 22px; box-shadow: 0 12px 30px rgba(80,62,30,.09); text-align: right; }
.about-photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(80,62,30,.15); flex: 0 0 auto; }
.about-text p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.65; color: #4a443c; }
.about-note { font-size: 12.5px; color: var(--brown); }

/* faq section */
.faq-list { width: min(100%, 620px); display: grid; gap: 10px; text-align: right; }
.faq-item { background: #fff; border: 1px solid #eadfc9; border-radius: 12px; padding: 0; box-shadow: 0 8px 20px rgba(80,62,30,.07); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 15px 18px; font: 600 15.5px 'Heebo', sans-serif; color: var(--ink); display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ''; width: 8px; height: 8px; border-left: 2px solid #9a7b4f; border-bottom: 2px solid #9a7b4f; transform: rotate(-45deg); transition: transform .2s; flex: 0 0 auto; margin-left: 10px; }
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p { margin: 0; padding: 0 18px 16px; font-size: 14.5px; line-height: 1.65; color: #6b6153; }
.faq-pending { color: var(--brown); font-size: 13.5px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 80; background: rgba(20,17,14,.92); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb-stage { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 92vw; }
.lb-stage img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-stage figcaption { color: #e8e1d4; font-size: 14px; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 16px; left: 16px; }
.lb-prev { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 14px; top: 50%; transform: translateY(-50%); }

/* gentle scroll reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}
