/* ===== Adagio — Landing Page · "Light Stage" (ivory-blue) ===== */
:root {
  --bg: #eef4f9;
  --bg-2: #e2edf4;
  --ink: #15110e;
  --ink-soft: #4f463b;
  --blush: #a85f53;
  --gold: #8a6c30;
  --hairline: rgba(21, 17, 14, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: 'Assistant', sans-serif; font-weight: 400; line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.serif { font-family: 'Bellefair', serif; font-weight: 400; }

/* reveal */
.rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0); }
.rv-line { display: block; overflow: hidden; }
.rv-line > span { display: block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.rv-line.in > span { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv-line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* header */
header { position: fixed; inset-inline: 0; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 2.4rem; }
.wordmark { font-family: 'Bellefair', serif; font-size: 1.5rem; letter-spacing: 0.35em; color: var(--ink); }
.wordmark em { font-style: normal; color: var(--blush); }
.head-cta { font-size: 0.85rem; letter-spacing: 0.18em; border: 1px solid var(--hairline); border-radius: 999px; padding: 0.55rem 1.4rem; background: rgba(238, 244, 249, 0.7); backdrop-filter: blur(8px); transition: border-color 0.3s, color 0.3s; }
.head-cta:hover { border-color: var(--blush); color: var(--blush); }

/* hero */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -12% 0; background: url('media/photos/studio-photo-131.jpg') center 30% / cover no-repeat; will-change: transform; filter: saturate(0.7) brightness(1.06); }
.hero-veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 55% at 50% 42%, rgba(238,244,249,0.22) 0%, rgba(238,244,249,0.82) 78%, var(--bg) 100%),
  linear-gradient(180deg, rgba(238,244,249,0.65), rgba(238,244,249,0.35) 40%, var(--bg) 96%); }
.hero-content { position: relative; padding: 2rem; }
.hero-kicker { font-size: 1rem; font-weight: 600; letter-spacing: 0.42em; color: var(--gold); text-transform: uppercase; margin-bottom: 1.8rem; text-shadow: 0 1px 8px rgba(238,244,249,0.7); }
.hero-title { font-family: 'Bellefair', serif; font-size: clamp(5rem, 16vw, 12.5rem); line-height: 0.95; letter-spacing: 0.02em; color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,0.65), 0 2px 0 rgba(138,108,48,0.3), 0 3px 0 rgba(138,108,48,0.22), 0 4px 1px rgba(138,108,48,0.16), 0 12px 30px rgba(21,17,14,0.25); }
.hero-latin { font-family: 'Bellefair', serif; font-size: clamp(1.2rem, 2.8vw, 1.8rem); letter-spacing: 0.82em; color: var(--blush); margin-top: 1.4rem; text-indent: 0.82em; text-shadow: 0 1px 6px rgba(238,244,249,0.6); }
.hero-sub { max-width: 500px; margin: 2rem auto 0; color: var(--ink); font-size: clamp(1.2rem, 2.6vw, 1.45rem); font-weight: 600; text-shadow: 0 1px 8px rgba(238,244,249,0.8); }
.hero-actions { margin-top: 3rem; display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 1rem 2.6rem; border-radius: 999px; font-size: 0.95rem; letter-spacing: 0.12em; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s; }
.btn-solid { background: var(--ink); color: var(--bg); font-weight: 600; }
.btn-solid:hover { background: var(--blush); transform: translateY(-3px); }
.btn-line { border: 1px solid var(--hairline); color: var(--ink); background: rgba(238, 244, 249, 0.6); }
.btn-line:hover { border-color: var(--blush); color: var(--blush); transform: translateY(-3px); }
.hero-scroll { position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%); width: 1px; height: 64px; background: var(--hairline); overflow: hidden; }
.hero-scroll::after { content: ""; position: absolute; inset-inline: 0; top: -40%; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

/* marquee */
.marquee { border-block: 1px solid var(--hairline); padding: 1.3rem 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; animation: slide 26s linear infinite; }
.marquee span { font-family: 'Bellefair', serif; font-size: 1.25rem; letter-spacing: 0.3em; color: var(--ink-soft); white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; }
@keyframes slide { to { transform: translateX(50%); } }

/* sections */
section { padding: 8rem 2.4rem; max-width: 1240px; margin: 0 auto; }
.kicker { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.45em; color: var(--gold); text-transform: uppercase; }
.sec-title { font-family: 'Bellefair', serif; font-size: clamp(2.9rem, 6.2vw, 4.8rem); line-height: 1.08; margin-top: 1.2rem; color: var(--ink); }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { color: var(--ink); font-size: clamp(1.12rem, 1.8vw, 1.25rem); line-height: 1.85; margin-top: 1.5rem; max-width: 48ch; }
.about-text strong { color: var(--ink); font-weight: 600; }
.about-photo { position: relative; }
.about-photo img { filter: saturate(0.85); width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-photo::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); opacity: 0.55; pointer-events: none; }
.about-quote { font-family: 'Bellefair', serif; font-size: 1.35rem; color: var(--blush); margin-top: 2.6rem; line-height: 1.5; }

/* classes */
.classes { max-width: 1000px; }
.class-row { display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: baseline; padding: 2.8rem 0.5rem; border-bottom: 1px solid var(--hairline); transition: background 0.4s, padding 0.4s var(--ease); position: relative; }
.class-row:first-of-type { border-top: 1px solid var(--hairline); }
.class-row:hover { background: var(--bg-2); padding-inline-start: 1.6rem; }
.class-num { font-family: 'Bellefair', serif; font-size: 1.1rem; color: var(--gold); letter-spacing: 0.2em; }
.class-name { font-family: 'Bellefair', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; }
.class-desc { color: var(--ink-soft); max-width: 32ch; font-size: 1.08rem; line-height: 1.75; }
.classes-note { color: var(--ink-soft); font-size: 0.9rem; margin-top: 2.2rem; }

/* gallery carousel */
.gal { max-width: none; padding-inline: 0; }
.gal-head { max-width: 1240px; margin: 0 auto 3.4rem; padding-inline: 2.4rem; }
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 0.5rem 2.4rem; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 auto; width: min(78vw, 440px); height: 62vh;
  scroll-snap-align: center; overflow: hidden; position: relative;
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); transition: transform 1s var(--ease), filter 1s; }
.carousel-slide:hover img { transform: scale(1.04); filter: saturate(1); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-family: 'Bellefair', serif; font-size: 1.8rem; line-height: 1;
  color: var(--ink); background: rgba(238, 244, 249, 0.82); border: 1px solid var(--hairline);
  backdrop-filter: blur(8px); transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.carousel-btn:hover { color: var(--blush); border-color: var(--blush); }
.carousel-btn.prev { inset-inline-start: 1.4rem; }
.carousel-btn.next { inset-inline-end: 1.4rem; }

/* video */
.video-head { text-align: center; max-width: 1240px; margin: 0 auto 3.4rem; }
.video-frame { position: relative; max-width: 960px; margin: 0 auto; }
.video-frame video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: var(--ink); filter: saturate(0.9); }
.video-frame::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); opacity: 0.55; pointer-events: none; }

/* contact */
.contact { text-align: center; position: relative; }
.contact::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 5rem; background: linear-gradient(var(--gold), transparent); }
.contact .sec-title { font-size: clamp(3rem, 8vw, 6rem); }
.contact-lead { color: var(--ink); margin: 1.8rem auto 0; max-width: 46ch; font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 600; line-height: 1.6; }
.contact-rows { display: flex; gap: 2.6rem; justify-content: center; flex-wrap: wrap; margin-top: 3.2rem; }
.contact-rows a { color: var(--blush); font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.3s, color 0.3s; padding-bottom: 2px; }
.contact-rows a:hover { border-color: var(--blush); color: var(--gold); }
.contact-rows .lbl { color: var(--ink-soft); margin-inline-end: 0.6rem; font-size: 0.85rem; letter-spacing: 0.1em; }
.contact .btn-solid { margin-top: 3.4rem; font-size: 1.15rem; font-weight: 600; padding: 1.15rem 3.2rem; box-shadow: 0 12px 28px rgba(21, 17, 14, 0.18); }
.contact .btn-solid:hover { box-shadow: 0 16px 34px rgba(168, 95, 83, 0.4); }

footer { border-top: 1px solid var(--hairline); padding: 2.6rem 2.4rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; color: var(--ink-soft); font-size: 0.85rem; letter-spacing: 0.08em; }
footer .wordmark { font-size: 1.1rem; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .carousel-track { padding-inline: 1.4rem; }
  .carousel-slide { height: 52vh; }
  .carousel-btn { width: 44px; height: 44px; font-size: 1.5rem; }
  .carousel-btn.prev { inset-inline-start: 0.5rem; }
  .carousel-btn.next { inset-inline-end: 0.5rem; }
  .class-row { grid-template-columns: auto 1fr; }
  .class-desc { grid-column: 2; max-width: none; }
  section { padding: 5rem 1.4rem; }
  /* שומר את הסמליל הלועזי "ADAGIO" בשורה אחת בנייד */
  .hero-latin { letter-spacing: 0.45em; text-indent: 0.45em; white-space: nowrap; }
}
