/* À La — shared styles (alamike.live + alamusica.live) */
:root {
  --pink-50: #fdf0f7;
  --pink-100: #f7d3e8;
  --pink-200: #f3bfe0;
  --pink-400: #ff6fd8;
  --pink-500: #f046c4;
  --magenta: #c443b0;
  --plum: #3a1238;
  --yellow: #fbc531;
  --yellow-deep: #f4b20f;
  --cream: #fff2b3;
  --neon-blue: #6fd6f2;
  --coral: #ff8a7a;
  --lime: #dbe77a;
  --white: #ffffff;
  --ink: #2a0f28;
  --ink-soft: #6b3a64;
  --ring: linear-gradient(135deg, var(--lime), var(--coral) 55%, #ff5c8a);
  --radius: 22px;
  --shadow: 0 10px 30px rgba(196, 67, 176, 0.18);
  --font-display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Baloo 2", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: radial-gradient(ellipse at 50% 0%, #f9dfe0 0%, var(--pink-100) 45%, #efc0ec 100%) fixed;
  background-color: var(--pink-100);
}
img { max-width: 100%; display: block; }
a { color: var(--magenta); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .4em; letter-spacing: .5px; }
h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--white); text-shadow: 0 3px 0 var(--pink-500), 0 6px 18px rgba(240,70,196,.35); }
h3 { font-size: 1.5rem; color: var(--plum); }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 240, 247, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(240,70,196,.15);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; color: var(--pink-500); }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px var(--yellow); object-fit: cover; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav ul a {
  display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 700; color: var(--plum); font-size: 1rem;
}
.nav ul a:hover { background: var(--yellow); }
.nav ul a.cta { background: var(--pink-500); color: var(--white); }
.nav ul a.cta:hover { background: var(--magenta); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--pink-500); cursor: pointer; padding: 4px 8px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav ul {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 20px;
    background: var(--pink-50); border-bottom: 2px solid rgba(240,70,196,.2);
    display: none;
  }
  .nav.open ul { display: flex; }
  .nav ul a { padding: 12px 16px; font-size: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero .badge {
  width: min(340px, 72vw); aspect-ratio: 1; margin: 0 auto 28px; border-radius: 50%;
  padding: 6px; background: var(--ring); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero .badge img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hero h1 {
  font-size: clamp(3rem, 11vw, 6.5rem); color: var(--white);
  text-shadow: 0 4px 0 var(--pink-500), 0 8px 0 var(--yellow-deep), 0 14px 30px rgba(240,70,196,.4);
  margin-bottom: .25em;
}
.hero .tagline { font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 600; color: var(--plum); max-width: 640px; margin: 0 auto 28px; }
.hero .socials { justify-content: center; margin-bottom: 28px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .hero .badge { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .5px; text-decoration: none;
  border: 3px solid var(--plum); cursor: pointer; transition: transform .15s, box-shadow .15s;
  box-shadow: 0 5px 0 var(--plum);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--plum); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--plum); }
.btn-yellow { background: var(--yellow); color: var(--plum); }
.btn-pink { background: var(--pink-500); color: var(--white); }
.btn-white { background: var(--white); color: var(--plum); }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--pink-500); box-shadow: 0 4px 0 var(--pink-200);
  transition: transform .15s, background .15s;
}
.socials a:hover { transform: translateY(-3px) rotate(-6deg); background: var(--yellow); color: var(--plum); }
.socials svg { width: 24px; height: 24px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); font-weight: 500; }
.band { background: rgba(255,255,255,.45); }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.about .star-card {
  aspect-ratio: 1; border-radius: var(--radius); background: var(--yellow);
  display: grid; place-items: center; position: relative; overflow: hidden; box-shadow: var(--shadow);
  border: 4px solid var(--plum);
}
.about .star-card img { width: 100%; height: 100%; object-fit: cover; }
.about .text { font-size: 1.1rem; }
.about .text strong { color: var(--pink-500); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about .star-card { max-width: 360px; margin: 0 auto; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px; position: relative;
  box-shadow: var(--shadow); border: 3px solid transparent; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.card .icon {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 30px;
  background: var(--pink-100); margin-bottom: 16px;
}
.card:nth-child(3n+2) .icon { background: var(--cream); }
.card:nth-child(3n+3) .icon { background: #d4f3fb; }
.card p { color: var(--ink-soft); flex: 1; }
.card .more { font-weight: 700; text-decoration: none; color: var(--pink-500); align-self: flex-start; }
.card .more:hover { text-decoration: underline; }
.card.featured { background: var(--yellow); }
.card.featured p { color: var(--plum); }
.tag {
  display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: var(--pink-500); color: var(--white); padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; align-self: flex-start;
}

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.video { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video .frame { position: relative; aspect-ratio: 16/9; background: var(--plum); cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.video .frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.video .frame:hover img { opacity: .85; }
.video .frame .play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center; border: 3px solid var(--plum);
}
.video .frame .play::after { content: ""; border-left: 20px solid var(--plum); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video .caption { padding: 14px 18px 18px; font-weight: 700; color: var(--plum); line-height: 1.3; }
.center { text-align: center; margin-top: 32px; }

/* ---------- Duo (alamusica) ---------- */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.person { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); text-align: center; }
.person .avatar {
  width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 18px; padding: 5px; background: var(--ring);
}
.person .avatar > * { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-size: 3rem; color: var(--white); text-shadow: 0 3px 0 var(--pink-500); }
.person p { color: var(--ink-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.pills li { background: var(--white); border: 2px solid var(--pink-200); padding: 6px 16px; border-radius: 999px; font-weight: 700; color: var(--plum); }

/* ---------- Booking ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.booking .info p { color: var(--plum); font-size: 1.1rem; }
.form { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; border: 3px solid var(--plum); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 700; color: var(--plum); font-size: .95rem; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--pink-200);
  background: var(--pink-50); color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pink-500); background: var(--white); }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.form .note { font-size: .85rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .booking, .form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
footer { background: var(--plum); color: var(--pink-100); padding: 48px 0 32px; margin-top: 40px; }
footer .wrap { display: grid; gap: 24px; justify-items: center; text-align: center; }
footer .big { font-family: var(--font-display); font-size: 2rem; color: var(--yellow); }
footer a { color: var(--pink-200); }
footer .socials a { background: rgba(255,255,255,.1); color: var(--pink-200); box-shadow: none; }
footer .socials a:hover { background: var(--yellow); color: var(--plum); }
footer small { opacity: .7; }

/* ---------- Numbered steps (BONA) ---------- */
#bona .about, #show .about, #method .about { grid-template-columns: 1.4fr 1fr; align-items: start; }
#bona .section-head .tag { margin-bottom: 14px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; background: var(--white); border-radius: 18px; padding: 14px 18px; padding-inline-start: 64px;
  position: relative; box-shadow: var(--shadow); color: var(--ink-soft); line-height: 1.35;
}
.steps li strong { color: var(--plum); display: block; }
.steps li::before {
  content: counter(step); position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--plum);
  display: grid; place-items: center; font-family: var(--font-display); color: var(--plum);
}
@media (max-width: 760px) { #bona .about, #show .about, #method .about { grid-template-columns: 1fr; } }
.note-small { font-size: .95rem !important; color: var(--ink-soft) !important; }

/* ---------- Instagram ---------- */
.btn-ic { width: 22px; height: 22px; flex: none; }
.nav ul a.nav-ig { display: flex; align-items: center; color: var(--pink-500); }
.ig-band { background: linear-gradient(120deg, var(--yellow) 0%, var(--coral) 30%, var(--pink-500) 62%, var(--magenta) 100%); text-align: center; }
.ig-band h2 { color: #fff; text-shadow: 0 3px 0 rgba(58,18,56,.35); }
.ig-band p { color: #fff; font-weight: 600; max-width: 560px; margin: 0 auto 26px; font-size: 1.15rem; }
.ig-big { width: 64px; height: 64px; color: #fff; margin: 0 auto 14px; display: block; }

/* ========== Theme: À La Loop (alamusica) — a touch more grown-up ========== */
body.loop {
  --pink-100: #f3d7e6;
  --pink-200: #ebc0d8;
  --pink-400: #ec5fae;
  --pink-500: #d93b95;
  --magenta: #a8338f;
  background: radial-gradient(ellipse at 50% 0%, #fbe8e4 0%, #f2d3e2 45%, #dcbbe0 100%) fixed;
  background-color: #f2d3e2;
}
.loop h2 { text-shadow: 0 2px 0 var(--pink-500), 0 8px 24px rgba(168,51,143,.25); }
.loop .hero h1 { text-shadow: 0 3px 0 var(--pink-500), 0 6px 0 var(--yellow-deep), 0 14px 30px rgba(168,51,143,.3); }

/* ========== Theme: À La Mike (alamike) — deep purple, neon ========== */
body.mike {
  --pink-500: #ff4fb8;
  --magenta: #b03adf;
  --ink: #f6ecff;
  --ink-soft: #cfb8e6;
  --glass: rgba(255,255,255,.09);
  --glass-line: rgba(255,255,255,.12);
  color: var(--ink);
  background: radial-gradient(ellipse at 15% 0%, #8e3cbc 0%, #55207f 45%, #33124f 100%) fixed;
  background-color: #43186a;
}
.mike a { color: var(--pink-500); }
.mike .nav { background: rgba(51,18,79,.72); border-bottom-color: rgba(255,79,184,.2); }
.mike .brand { color: #fff; }
.mike .brand img { box-shadow: 0 0 0 2px var(--pink-500), 0 0 18px rgba(255,79,184,.6); }
.mike .nav ul a { color: var(--ink); }
.mike .nav ul a:hover { background: rgba(255,255,255,.1); }
.mike .nav ul a.cta { background: linear-gradient(135deg, var(--pink-500), var(--magenta)); }
.mike .nav ul a.nav-ig { color: var(--pink-500); }
@media (max-width: 860px) { .mike .nav ul { background: #43186a; border-bottom-color: rgba(255,79,184,.2); } }

.mike h2 { color: #fff; text-shadow: 0 0 22px rgba(255,79,184,.65), 0 3px 0 var(--magenta); }
.mike h3 { color: #fff; }
.mike .hero h1 { text-shadow: 0 0 34px rgba(255,79,184,.7), 0 4px 0 var(--magenta), 0 8px 0 #4a1470; }
.mike .hero .tagline { color: var(--ink); }
.mike .hero .badge { box-shadow: 0 0 60px rgba(255,79,184,.45); }
.mike .band { background: rgba(255,255,255,.05); }
.mike .section-head p, .mike .booking .info p { color: var(--ink-soft); }

.mike .card, .mike .video, .mike .form, .mike .steps li, .mike .person {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: 0 14px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mike .card:hover { border-color: rgba(255,79,184,.6); box-shadow: 0 14px 44px rgba(255,79,184,.2); }
.mike .card .icon { background: rgba(255,79,184,.16); }
.mike .card:nth-child(3n+2) .icon { background: rgba(251,197,49,.16); }
.mike .card:nth-child(3n+3) .icon { background: rgba(111,214,242,.16); }
.mike .card.featured { background: linear-gradient(135deg, var(--pink-500), var(--magenta)); border-color: transparent; }
.mike .card.featured p, .mike .card.featured .more { color: #fff; }
.mike .card.featured .tag { background: var(--yellow); color: var(--plum); }
.mike .video .caption { color: var(--ink); }
.mike .steps li strong { color: #fff; }
.mike .steps li::before { border-color: transparent; box-shadow: 0 0 14px rgba(251,197,49,.55); }
.mike .about .star-card { border: 0; box-shadow: 0 0 0 2px var(--pink-500), 0 0 50px rgba(255,79,184,.35); }

.mike .form label { color: var(--ink); }
.mike .form input, .mike .form select, .mike .form textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--ink); }
.mike .form input:focus, .mike .form select:focus, .mike .form textarea:focus { background: rgba(255,255,255,.12); border-color: var(--pink-500); }
.mike .form select option { color: #2a0e40; }
.mike .form input::-webkit-calendar-picker-indicator { filter: invert(1); }

.mike .btn { border: 0; box-shadow: 0 8px 26px rgba(255,79,184,.28); }
.mike .btn:hover { box-shadow: 0 10px 34px rgba(255,79,184,.5); }
.mike .btn:active { box-shadow: 0 4px 14px rgba(255,79,184,.3); }
.mike .btn-pink { background: linear-gradient(135deg, var(--pink-500), var(--magenta)); }
.mike .socials a { background: rgba(255,255,255,.08); color: var(--pink-500); box-shadow: none; border: 1px solid var(--glass-line); }
.mike .socials a:hover { background: var(--pink-500); color: #fff; }
.mike .pills li { background: var(--glass); border-color: var(--glass-line); color: var(--ink); }
.mike .ig-band { background: linear-gradient(120deg, #f4b20f 0%, #ff6a7f 28%, var(--pink-500) 55%, #8a2bd0 100%); }
.mike .ig-band h2 { text-shadow: 0 3px 0 rgba(40,8,60,.4); }
.mike footer { background: #2a0e40; }
.mike .btn-yellow, .mike .btn-white { color: var(--plum); }
.mike .btn-pink { color: #fff; }

/* ---------- Photos ---------- */
.hero.has-photo {
  min-height: min(92vh, 900px); display: grid; align-items: center; padding: 64px 0 80px;
  background: var(--hero-overlay), url("img/hero.webp") center 35% / cover no-repeat;
}
.hero.has-photo .badge { width: min(200px, 46vw); margin-bottom: 22px; }
.hero.has-photo .tagline { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
body { --hero-overlay: linear-gradient(180deg, rgba(58,18,56,.35), rgba(58,18,56,.55)); }
body.loop { --hero-overlay: linear-gradient(180deg, rgba(90,20,70,.30) 0%, rgba(90,20,70,.45) 60%, rgba(242,211,226,1) 100%); }
body.mike { --hero-overlay: linear-gradient(180deg, rgba(51,18,79,.35) 0%, rgba(51,18,79,.55) 65%, #55207f 100%); }

.card .pic { margin: -28px -28px 20px; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .pic img { transform: scale(1.04); }
.mike .card .pic { margin: -28px -28px 20px; }
.photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 16/10; }
.photo-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 32px; }
.photo-row .photo { height: 100%; aspect-ratio: auto; max-height: 380px; }
@media (max-width: 760px) { .photo-row { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a { display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,4,22,.9); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

.person .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ---------- Language toggle ---------- */
.nav ul { margin-inline-start: auto; }
.nav-end { display: flex; align-items: center; gap: 6px; }
.nav .lang {
  display: inline-block; padding: 6px 14px; border: 2px solid currentColor; border-radius: 999px;
  font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--plum); white-space: nowrap;
}
.nav .lang:hover { background: var(--yellow); color: var(--plum); border-color: var(--yellow); }
.mike .nav .lang { color: var(--ink); }

/* ---------- Hebrew / RTL ---------- */
html[lang="he"] { --font-display: "Rubik", system-ui, sans-serif; --font-body: "Rubik", system-ui, sans-serif; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3, html[lang="he"] .btn, html[lang="he"] .brand, html[lang="he"] footer .big { font-weight: 800; letter-spacing: 0; }
html[lang="he"] body { font-size: 17px; line-height: 1.65; }
html[lang="he"] .tag { letter-spacing: 0; }
html[lang="he"] .hero h1, html[lang="he"] footer .big { font-family: "Lilita One", var(--font-display); font-weight: 400; letter-spacing: .5px; }
.loop h2 { color: var(--magenta); text-shadow: 0 2px 0 #fff, 0 8px 24px rgba(168,51,143,.18); }
.loop .ig-band h2 { color: #fff; text-shadow: 0 3px 0 rgba(58,18,56,.35); }
.about .star-card img { object-position: center 20%; }
.photo-row.three { grid-template-columns: repeat(3, 1fr); }
.photo-row.three .photo { aspect-ratio: 4/3; max-height: none; height: auto; }
@media (max-width: 760px) { .photo-row.three { grid-template-columns: 1fr; } }

/* ---------- Instagram reels ---------- */
/* Instagram's embed = 54px header + a 4:5 media box (9:16 reel pillarboxed inside) + footer.
   Widen the iframe by 4/5 ÷ 9/16 and shift it so only the 9:16 video shows. */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.reel { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.mike .reel { background: var(--glass); border: 1px solid var(--glass-line); }
.reel-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; }
.reel-frame iframe {
  position: absolute; border: 0; top: -54px; left: -21.111%;
  width: 142.222%; height: calc(100% + 54px + 260px);
}
.reel .caption { padding: 14px 18px 18px; font-weight: 700; color: var(--plum); line-height: 1.3; }
.mike .reel .caption { color: var(--ink); }
/* Phones: swipeable row, wide enough for Instagram's player (it needs ~330px) */
@media (max-width: 560px) {
  .reels { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 16px; }
  .reel { flex: 0 0 74%; scroll-snap-align: center; }
}
.form { position: relative; }
.form .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
.form .note.ok { color: #1f9d55; font-weight: 700; }
.mike .form .note.ok { color: #7ee2a8; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* ---------- QR landing page (alamike.live/qr) ---------- */
.qr-page { background: radial-gradient(ellipse at 50% 30%, #fbe8e4 0%, #f2d3e2 45%, #d9b4e6 100%) fixed; background-color: #f2d3e2; }
.qr { width: min(560px, 100% - 32px); margin-inline: auto; }
main.qr { padding-bottom: 90px; }
.qr-lang {
  position: fixed; top: 14px; inset-inline-end: 14px; z-index: 60; padding: 6px 14px; border: 2px solid #fff; border-radius: 999px;
  background: rgba(58,18,56,.35); color: #fff; font: 700 .9rem var(--font-body); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.qr-hero {
  min-height: 92vh; min-height: 92svh; display: grid; align-items: center; text-align: center; padding: 70px 0 34px; position: relative;
  background: linear-gradient(180deg, rgba(90,20,70,.30) 0%, rgba(90,20,70,.50) 60%, #f2d3e2 100%), url("img/qr-hero-selfie.webp") center 55% / cover no-repeat;
}
.qr-badge { width: 132px; height: 132px; margin: 0 auto 14px; border-radius: 50%; padding: 5px; background: var(--ring); box-shadow: 0 10px 30px rgba(0,0,0,.25); object-fit: cover; animation: float 6s ease-in-out infinite; }
.qr-hero h1 { font-size: clamp(2.3rem, 10vw, 3.4rem); color: #fff; text-shadow: 0 3px 0 var(--pink-500), 0 6px 0 var(--yellow-deep), 0 12px 30px rgba(0,0,0,.35); margin-bottom: .3em; }
.qr-hero p { color: #fff; font-weight: 600; font-size: 1.1rem; text-shadow: 0 2px 10px rgba(0,0,0,.5); margin-bottom: 20px; }
.qr-ig { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.qr-ig .btn { font-size: 1.05rem; padding: 12px 20px; }
.qr-down { display: inline-block; margin-top: 26px; color: var(--plum); font-weight: 700; text-decoration: none; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

.qr-group { margin-top: 38px; padding: 0; display: grid; gap: 12px; }
.qr-label { font-size: 1.45rem; color: var(--magenta); text-shadow: 0 2px 0 #fff; margin: 0 2px; }

.qr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qr-tile {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none;
  box-shadow: 0 10px 24px rgba(168,51,143,.22); isolation: isolate; -webkit-tap-highlight-color: transparent;
}
.qr-tile.wide { aspect-ratio: 16 / 9; }
.qr-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.qr-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(58,18,56,.85) 100%); }
.qr-tile span { position: absolute; inset-inline: 12px; bottom: 12px; }
.qr-tile strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; margin-bottom: 4px; }
.qr-tile small { display: block; font-size: .82rem; line-height: 1.3; opacity: .92; }
.qr-tile:hover img, .qr-tile:active img { transform: scale(1.07); }
.qr-tile:active { transform: scale(.98); }
html[lang="he"] .qr-tile strong { font-weight: 800; }

/* Swipeable rows (reels, photos) */
.qr-row { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 14px; scrollbar-width: none; }
.qr-row::-webkit-scrollbar { display: none; }
.qr-row > * { flex: 0 0 70%; scroll-snap-align: center; }
.gallery.qr-row a { aspect-ratio: 4 / 5; }
.reels.qr-row .reel { flex-basis: 80%; max-width: 340px; }  /* Instagram's player needs ~380px+ of iframe width */

/* Fade in on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .qr-badge, .qr-down { animation: none; } }

.btn-wa { background: #25d366; color: #0b3d1f; justify-content: center; }
.qr-or { margin: 4px 2px 0; color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.qr-form { padding: 20px; gap: 12px; border-width: 2px; }
.qr-form .row { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .qr-form .row { grid-template-columns: 1fr; } }
.qr-foot { margin-top: 30px; padding: 0; background: none; text-align: center; font-weight: 600; color: var(--ink-soft); }
.qr-foot a { color: var(--magenta); }

.wa-float {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 70; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transform: scale(0); transition: transform .25s ease;
}
.wa-float.show { transform: scale(1); }
.wa-float svg { width: 32px; height: 32px; }
/* QR page: who we are */
.qr-who { display: grid; gap: 10px; }
.qr-person { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 18px; padding: 12px 14px; box-shadow: 0 6px 18px rgba(168,51,143,.14); }
.qr-person img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; padding: 3px; background: var(--ring); }
.qr-person p { margin: 0; line-height: 1.35; color: var(--ink-soft); font-size: .95rem; }
.qr-person strong { display: block; color: var(--plum); font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; margin-bottom: 2px; }
html[lang="he"] .qr-person strong { font-weight: 800; }
html[dir="rtl"] .qr-person strong[dir="ltr"] { text-align: right; }
.qr-person.loop { background: linear-gradient(135deg, #fff, var(--cream)); }
.qr-tile + .qr-tile.wide { margin-top: 0; }

/* alamusica main photos: two portraits of the two of us, white/yellow shirts on the left, pink on the right.
   Phones / tall screens: the two photos side by side across the top, the text below them. */
body.loop .hero.has-photo {
  align-items: start; min-height: 0; padding: 74vw 0 64px;
  background: linear-gradient(180deg, #5a1446 0, #5a1446 calc(100% - 140px), rgb(242,211,226) 100%);
}
body.loop .hero.has-photo::before, body.loop .hero.has-photo::after {
  content: ""; position: absolute; top: 0; width: 50%; height: 84vw; pointer-events: none;
  background-repeat: no-repeat; background-size: cover;
}
body.loop .hero.has-photo::before {
  left: 0;
  background-image: linear-gradient(180deg, rgba(90,20,70,0) 62%, #5a1446 100%), url("img/hero-duo-2.webp");
  background-position: center, 42% top;
}
body.loop .hero.has-photo::after {
  right: 0;
  background-image: linear-gradient(180deg, rgba(90,20,70,0) 62%, #5a1446 100%), url("img/hero-duo.webp");
  background-position: center, 45% top;
}
/* A blurred strip over the seam: clearly two photos, without a hard edge between them.
   (.wrap is left unpositioned so this strip is placed against the header, not the text block.) */
body.loop .hero.has-photo .wrap::before {
  content: ""; position: absolute; z-index: 1; top: 0; left: 50%; width: 56px; height: 84vw; transform: translateX(-50%);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); background: rgba(90,20,70,.14); pointer-events: none;
  /* feathered sides: the blur builds up gradually from each photo, no sharp edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 42%, #000 58%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 42%, #000 58%, transparent 100%);
}
body.loop .hero.has-photo .wrap > * { position: relative; z-index: 2; }
body.loop .hero.has-photo .badge, body.loop .hero.has-photo .socials { display: none; }

/* Wide screens: a photo on each side at full height, the text in the middle */
@media (min-width: 900px) and (min-aspect-ratio: 1/1) {
  body.loop .hero.has-photo {
    min-height: min(calc(100vh - 70px), 880px); padding: 48px 0; align-items: center;
    background: linear-gradient(180deg, #5a1446 0, #5a1446 82%, rgb(242,211,226) 100%);
  }
  body.loop .hero.has-photo::before, body.loop .hero.has-photo::after { width: 34vw; height: auto; bottom: 0; }
  body.loop .hero.has-photo .wrap::before { display: none; }
  body.loop .hero.has-photo::before {
    background-image: linear-gradient(180deg, rgba(242,211,226,0) 82%, rgb(242,211,226) 100%), linear-gradient(270deg, #5a1446 0, rgba(90,20,70,0) 22%), url("img/hero-duo-2.webp");
    background-position: center, center, 42% center;
  }
  body.loop .hero.has-photo::after {
    background-image: linear-gradient(180deg, rgba(242,211,226,0) 82%, rgb(242,211,226) 100%), linear-gradient(90deg, #5a1446 0, rgba(90,20,70,0) 22%), url("img/hero-duo.webp");
    background-position: center, center, 45% 40%;
  }
  body.loop .hero.has-photo .wrap { width: 32vw; padding-inline: 16px; }
  body.loop .hero.has-photo h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
  body.loop .hero.has-photo .tagline { font-size: clamp(1rem, 1.35vw, 1.2rem); }
}

/* alamike main photo: tall sunset shot, the title block sits at the bottom of the header.
   On wider screens the photo is 177.8vw tall and his face is 63.4% up from its bottom (112.7vw),
   so pin the face 570px above the header's bottom: just above the title at any screen shape. */
body.mike .hero.has-photo {
  align-items: end; padding-bottom: 48px; min-height: max(92vh, 690px);
  background: linear-gradient(180deg, rgba(51,18,79,0) 0%, rgba(51,18,79,.1) 35%, rgba(51,18,79,.6) 70%, #55207f 100%), url("img/hero-mike-hd.webp") center bottom calc(570px - 112.7vw) / cover no-repeat;
}
body.mike .hero.has-photo .badge { display: none; }
@media (max-width: 700px) {
  body.mike .hero.has-photo {
    min-height: 112vh; min-height: 112svh; background-position: center, 50% 0;
    /* phones get a lighter copy of the same enhanced photo */
    background-image: linear-gradient(180deg, rgba(51,18,79,0) 0%, rgba(51,18,79,.1) 35%, rgba(51,18,79,.6) 70%, #55207f 100%), url("img/hero-mike-hd-m.webp");
  }
}

/* 8 photos sit in two even rows */
.gallery:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .gallery:has(> :nth-child(8):last-child) { grid-template-columns: 1fr 1fr; } }

/* ---------- Photos carousel (endless, with faded neighbours) ---------- */
.carousel { position: relative; overflow: hidden; padding: 8px 0 18px; outline: none; touch-action: pan-y; }
.carousel-track { display: flex; gap: 18px; position: relative; transition: transform .6s cubic-bezier(.22,.7,.25,1); will-change: transform; }
.carousel .slide {
  flex: 0 0 min(62%, 760px); aspect-ratio: 3 / 2; border-radius: 22px; overflow: hidden; display: block;
  opacity: .5; transform: scale(.9); transition: opacity .6s, transform .6s; box-shadow: var(--shadow); cursor: pointer;
  -webkit-user-select: none; user-select: none;
}
.carousel .slide.is-active { opacity: 1; transform: none; cursor: zoom-in; }
.carousel .slide img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.88); color: var(--plum); font-size: 2rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; padding-bottom: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: transform .15s;
}
.carousel-btn:hover { transform: translateY(-50%) scale(1.08); }
.carousel-btn.prev { left: max(10px, calc(19% - 70px)); }
.carousel-btn.next { right: max(10px, calc(19% - 70px)); }

.carousel:focus-visible .slide.is-active { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 760px) {
  .carousel .slide { flex-basis: 80%; aspect-ratio: 4 / 5; }
  .carousel-track { gap: 12px; }
  .carousel-btn { width: 42px; height: 42px; font-size: 1.7rem; }
  .carousel-btn.prev { left: 6px; } .carousel-btn.next { right: 6px; }
}
/* Tall photos: same height as the others, narrower, so nothing is cropped (--r = width / height) */
.carousel .slide.portrait { flex-basis: calc(min(62%, 760px) * 2 / 3 * var(--r)); aspect-ratio: var(--r); }
@media (max-width: 760px) { .carousel .slide.portrait { flex-basis: calc(80% * 5 / 4 * var(--r)); } }
@media (prefers-reduced-motion: reduce) { .carousel-track, .carousel .slide { transition: none; } }

/* ---------- alamusica event pages (/weddings/, /he/weddings/ …) ---------- */
.page-hero { background: linear-gradient(160deg, #5a1446 0%, #7a1d5e 60%, #5a1446 100%); padding: 56px 0 64px; overflow: hidden; }
.page-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.page-hero .kicker {
  display: inline-block; background: var(--yellow); color: var(--plum); font-weight: 800; text-decoration: none;
  padding: 4px 14px; border-radius: 999px; border: 2px solid var(--plum); margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.8rem); color: var(--white);
  text-shadow: 0 4px 0 var(--pink-500), 0 8px 0 var(--yellow-deep), 0 14px 30px rgba(240,70,196,.4); margin-bottom: .35em;
}
.page-hero .lead { color: #fff; font-size: clamp(1.1rem, 2.2vw, 1.3rem); font-weight: 600; margin-bottom: 26px; }
.page-hero .btn-row { justify-content: flex-start; }
.page-hero-pic { border-radius: var(--radius); overflow: hidden; border: 4px solid var(--yellow); transform: rotate(-2deg); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
html[dir="rtl"] .page-hero-pic { transform: rotate(2deg); }
.page-hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) {
  .page-hero { padding: 28px 0 48px; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-pic { order: -1; transform: rotate(-1deg); }
  html[dir="rtl"] .page-hero-pic { transform: rotate(1deg); }
}

.event-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .event-grid { grid-template-columns: 1fr; } }
.event-text p { font-size: 1.1rem; }
.event-text h3, .event-gets h3 { margin-top: .2em; }
.event-text h3 + p { margin-bottom: 1.4em; }
.note-box { background: var(--white); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); border-inline-start: 6px solid var(--yellow); }
.note-box p { margin: 0; color: var(--ink-soft); }
.note-box ul { margin: 0; padding-inline-start: 1.1em; color: var(--ink-soft); display: grid; gap: 8px; }
.note-box strong { color: var(--plum); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.perks li {
  background: var(--white); border-radius: 18px; padding: 14px 18px; padding-inline-start: 60px; position: relative;
  box-shadow: var(--shadow); color: var(--ink-soft); line-height: 1.4; min-height: 58px;
}
.perks li::before {
  content: "✓"; position: absolute; inset-inline-start: 14px; top: 13px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--plum); display: grid; place-items: center; font-weight: 800; color: var(--plum); font-size: .9rem;
}
.perks strong { color: var(--plum); }

.sub-head { text-align: center; margin: 44px 0 18px; }
.who { max-width: 760px; margin: 0 auto; text-align: center; font-size: 1.2rem; color: var(--plum); font-weight: 600; }
.event-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.event-links a {
  background: var(--white); border: 2px solid var(--pink-200); padding: 8px 18px; border-radius: 999px;
  font-weight: 700; color: var(--plum); text-decoration: none; transition: background .2s, transform .2s;
}
.event-links a:hover { background: var(--yellow); transform: translateY(-2px); }
.event-links a.all { background: var(--pink-500); border-color: var(--pink-500); color: #fff; }
.event-page section + section#book { padding-top: 24px; }

/* Main-page event cards: photo and title open the event's page */
.card a.pic { display: block; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--pink-500); }
.card a.pic { position: relative; }
.card a.pic::after {
  content: attr(data-more); position: absolute; bottom: 12px; inset-inline-end: 12px;
  background: var(--yellow); color: var(--plum); border: 2px solid var(--plum); border-radius: 999px;
  padding: 3px 12px; font-weight: 800; font-size: .9rem; transition: transform .2s;
}
.card a.pic:hover::after { transform: translateY(-2px); }
/* Event-page photos: rows that fill the width; every photo keeps its own shape (--r = width / height),
   so photos in a row share one height and nothing is cropped. On phones a row wraps onto two lines. */
.gallery.event-photos { grid-template-columns: 1fr; }
.photo-row { display: flex; gap: 12px; }
.photo-row > a { flex: var(--r) 1 0; aspect-ratio: var(--r); }
@media (max-width: 760px) {
  .photo-row { flex-wrap: wrap; }
  .photo-row > a { flex-basis: calc(var(--r) * 100px); }
}
