/* Layout: "the locket" — oval and arch frames taken from the logo's pendant shape, bead strings as dividers, RTL editorial flow with an asymmetric hero. */
:root {
  --pearl: #F8FBFA;
  --surface: #FFFFFF;
  --mint: #B6ECE6;
  --mint-soft: #E4F6F3;
  --mint-deep: #3F8C83;
  --cocoa: #3E2A24;
  --cocoa-soft: #6E5A53;
  --gold: #A9844C;
  --line: #D9E7E4;
  --todo: #FFF1C9;
  --on-mint: #3E2A24;
  --font-display: "Bellefair", "Frank Ruhl Libre", "David", serif;
  --font-body: "Assistant", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --step--1: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3: clamp(2.1rem, 1.7rem + 2vw, 3.3rem);
  --step-4: clamp(2.7rem, 2rem + 3.6vw, 5rem);
  --radius-arch: 999px 999px 18px 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pearl: #1C1512; --surface: #261D19; --mint: #B6ECE6; --mint-soft: #22302D; --mint-deep: #8FD8CF;
    --cocoa: #F3ECE7; --cocoa-soft: #C9B9B2; --gold: #D4B07A; --line: #3A2E29; --todo: #4A3D1C; --on-mint: #2A1C17;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --pearl: #1C1512; --surface: #261D19; --mint: #B6ECE6; --mint-soft: #22302D; --mint-deep: #8FD8CF;
  --cocoa: #F3ECE7; --cocoa-soft: #C9B9B2; --gold: #D4B07A; --line: #3A2E29; --todo: #4A3D1C; --on-mint: #2A1C17;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  background: var(--pearl); color: var(--cocoa);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65;
  direction: rtl; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--mint-deep); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; color: var(--mint-deep); display: inline-flex; align-items: center; gap: 0.55rem; }
.eyebrow svg { width: 18px; height: 18px; }
.section-head { display: grid; gap: 0.8rem; max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--cocoa-soft); }

/* placeholder text Hadas still needs to fill in */
.todo { background: var(--todo); border-radius: 4px; padding: 0 0.3em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; font: 600 var(--step-0)/1 var(--font-body); padding: 0.95rem 1.5rem; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--mint); color: var(--on-mint); box-shadow: 0 8px 24px -12px rgba(63,140,131,.6); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: var(--cocoa); background: transparent; }
.btn-ghost:hover { background: var(--mint-soft); }

/* draft banner */
.draft { background: var(--cocoa); color: var(--pearl); font-size: var(--step--1); text-align: center; padding-block: 0.5rem; }
.draft .todo { color: var(--cocoa); }
:root[data-theme="dark"] .draft .todo { color: var(--cocoa); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--pearl); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: color-mix(in srgb, var(--pearl) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { width: 40px; height: auto; }
.brand span { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--cocoa-soft); letter-spacing: 0.04em; }
.nav { display: flex; gap: 1.6rem; font-weight: 600; font-size: 0.98rem; }
.nav a { text-decoration: none; position: relative; padding-block: 0.3rem; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1.5px; background: var(--mint-deep); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { padding: 0.7rem 1.15rem; font-size: 0.95rem; }
@media (max-width: 880px) { .nav { display: none; } }
@media (max-width: 520px) { .header-cta span { display: none; } .header-cta { padding: 0.7rem; } }

/* hero */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--mint-deep); }
.hero-lead { font-size: var(--step-1); color: var(--cocoa-soft); max-width: 32rem; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.4rem; }
.hero-note { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; font-size: var(--step--1); color: var(--cocoa-soft); }
.hero-note span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-note span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--mint-soft); }

.locket { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 0.74; max-width: 100%; }
.locket-frame { position: absolute; inset: 0; border-radius: 999px; padding: 12px; background: var(--mint); }
.locket-frame::after { content: ""; position: absolute; inset: 5px; border-radius: 999px; border: 1.5px dotted var(--cocoa); opacity: .55; pointer-events: none; }
.locket-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 30%; border-radius: 999px; }
.locket-charm { position: absolute; width: 40%; aspect-ratio: 1; bottom: -2%; inset-inline-end: -8%; border-radius: 50%; padding: 7px; background: var(--pearl); box-shadow: 0 18px 40px -20px rgba(62,42,36,.45); }
.locket-charm img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 40% 40%; }
.locket-badge { position: absolute; top: 7%; inset-inline-start: -10%; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 12px 30px -18px rgba(62,42,36,.4); }
.locket-badge svg { width: 22px; height: 22px; color: var(--gold); }
.strand { position: absolute; inset: -6% -14% auto auto; width: 70%; height: auto; color: var(--gold); pointer-events: none; }
.strand path { stroke-dasharray: 600; stroke-dashoffset: 0; animation: draw 1.8s ease-out both; }
.strand circle { animation: bead .5s ease-out both; }
@keyframes draw { from { stroke-dashoffset: 600; } }
@keyframes bead { from { opacity: 0; transform: scale(.3); } }
.rise { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .32s; }
@keyframes rise { from { opacity: .001; transform: translateY(14px); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .locket { width: min(78%, 340px); order: -1; margin-bottom: 1rem; }
  .locket-badge { inset-inline-start: -14%; }
}

/* stats */
.stats { padding-block: 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 1.6rem 1rem; text-align: center; display: grid; gap: 0.15rem; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--step--1); color: var(--cocoa-soft); }
@media (max-width: 640px) { .stats-row { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-inline-start: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* workshops */
.workshops-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.ws { display: grid; grid-template-rows: auto 1fr; gap: 1.1rem; text-decoration: none; min-width: 0; }
.ws-img { aspect-ratio: 0.8; border-radius: var(--radius-arch); overflow: hidden; background: var(--mint-soft); }
.ws-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ws:hover .ws-img img { transform: scale(1.05); }
.ws-body { display: grid; gap: 0.5rem; align-content: start; }
.ws-tag { font-size: var(--step--1); color: var(--mint-deep); font-weight: 600; }
.ws h3 { font-size: var(--step-2); }
.ws p { color: var(--cocoa-soft); font-size: 0.98rem; }
.ws-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; margin-top: 0.4rem; padding-top: 0.8rem; border-top: 1px dotted var(--cocoa-soft); font-size: 0.95rem; }
.ws-foot strong { font-weight: 700; }
.ws-foot .more { color: var(--mint-deep); font-weight: 600; white-space: nowrap; }
@media (max-width: 1000px) { .workshops-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .workshops-grid { grid-template-columns: 1fr; } .ws { grid-template-columns: 0.42fr 1fr; grid-template-rows: none; align-items: start; gap: 1rem; } .ws-img { aspect-ratio: 0.78; } .ws h3 { font-size: var(--step-1); } }

/* clients */
.clients { background: var(--mint-soft); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.clients .wrap { display: grid; gap: 1.5rem; }
.clients-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; }
.clients-head h2 { font-size: var(--step-2); }
.clients-head p { color: var(--cocoa-soft); font-size: var(--step--1); }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0.75rem; }
.logos li { list-style: none; background: #FFFFFF; border-radius: 14px; height: 78px; display: grid; place-items: center; padding: 0.7rem; }
.logos img { max-height: 56px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.logos li:hover img { filter: none; opacity: 1; }
.logos ul, ul.logos { margin: 0; padding: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: step; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; top: 27px; inset-inline: 8% 8%; border-top: 2px dotted var(--gold); opacity: .6; }
.steps li { list-style: none; display: grid; gap: 0.6rem; justify-items: start; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); width: 56px; height: 56px; border-radius: 50%; background: var(--pearl); border: 1.5px solid var(--mint-deep); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: var(--mint-deep); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--cocoa-soft); font-size: 0.98rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } .steps li { grid-template-columns: 56px 1fr; column-gap: 1rem; } .steps li::before { grid-row: span 2; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 17vw, 220px); grid-auto-flow: dense; gap: 0.75rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; background: var(--mint-soft); }
.gallery figure:nth-child(1) { grid-row: span 2; border-radius: var(--radius-arch); }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery-foot { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure:nth-child(4) { grid-column: span 2; } .gallery figure:nth-child(n+6) { display: none; } }

/* testimonials */
.reviews { background: var(--surface); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.quote { margin: 0; display: grid; gap: 1.2rem; align-content: space-between; padding: 2rem 1.6rem 1.6rem; border-radius: 20px; background: var(--pearl); border: 1px solid var(--line); position: relative; }
.quote::before { content: "״"; position: absolute; top: -0.2rem; inset-inline-start: 1.2rem; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--mint); }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; position: relative; }
.quote figcaption { display: grid; gap: 0.1rem; font-size: 0.92rem; }
.quote figcaption b { font-weight: 700; }
.quote figcaption span { color: var(--cocoa-soft); }
.quote:nth-child(2) { transform: translateY(1.5rem); }
.reviews-foot { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.reviews-foot p { font-family: var(--font-display); font-size: var(--step-2); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } .quote:nth-child(2) { transform: none; } }

/* about */
.about .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { aspect-ratio: 0.78; border-radius: var(--radius-arch); overflow: hidden; position: relative; max-width: 420px; width: 100%; justify-self: center; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-copy { display: grid; gap: 1.2rem; min-width: 0; }
.about-copy h2 { font-size: var(--step-3); }
.about-copy p { color: var(--cocoa-soft); max-width: 36rem; }
.about-copy .sig { font-family: var(--font-display); font-size: var(--step-2); color: var(--cocoa); }
@media (max-width: 760px) { .about .wrap { grid-template-columns: 1fr; } .about-photo { width: min(80%, 340px); } }

/* faq */
.faq .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--mint-deep); transition: background-color .2s ease; }
.faq details[open] summary::after { background: var(--mint-deep); }
.faq details p { padding-bottom: 1.3rem; color: var(--cocoa-soft); max-width: 40rem; }
@media (max-width: 760px) { .faq .wrap { grid-template-columns: 1fr; } }

/* contact */
.contact { background: var(--mint); color: var(--on-mint); }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact h2 { font-size: var(--step-3); }
.contact-copy { display: grid; gap: 1.2rem; min-width: 0; }
.contact-copy p { opacity: .85; }
.contact .eyebrow { color: var(--on-mint); }
.direct { display: grid; gap: 0.8rem; margin-top: 0.5rem; }
.direct a { display: flex; align-items: center; gap: 0.9rem; text-decoration: none; background: rgba(255,255,255,.55); border-radius: 16px; padding: 0.9rem 1.1rem; font-weight: 600; transition: background-color .2s ease; }
.direct a:hover { background: rgba(255,255,255,.85); }
.direct svg { width: 26px; height: 26px; flex: none; }
.direct small { display: block; font-weight: 400; opacity: .75; }
.direct .num { direction: ltr; unicode-bidi: isolate; user-select: all; }
form { background: #FFFFFF; color: #3E2A24; border-radius: 24px; padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; box-shadow: 0 30px 60px -40px rgba(30,60,56,.6); }
form .full { grid-column: 1 / -1; }
label { display: grid; gap: 0.35rem; font-size: 0.92rem; font-weight: 600; min-width: 0; }
input, select, textarea { font: inherit; font-weight: 400; color: #3E2A24; background: #F8FBFA; border: 1px solid #CFE0DC; border-radius: 12px; padding: 0.75rem 0.9rem; width: 100%; color-scheme: light; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid #3F8C83; outline-offset: 0; border-color: transparent; }
form .btn-primary { background: #3E2A24; color: #FFFFFF; box-shadow: none; }
.form-msg { grid-column: 1 / -1; font-size: 0.92rem; background: #E4F6F3; border-radius: 12px; padding: 0.8rem 1rem; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { form { grid-template-columns: 1fr; } }

/* footer */
footer { padding-block: 3rem calc(3rem + 70px); border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--cocoa-soft); }
footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
footer h3 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; color: var(--cocoa); margin-bottom: 0.6rem; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
footer a { text-decoration: none; } footer a:hover { color: var(--mint-deep); }
.socials { display: flex; gap: 0.6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials svg { width: 18px; height: 18px; }
@media (min-width: 761px) { footer { padding-bottom: 3rem; } }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } footer .wrap > :first-child { grid-column: 1 / -1; } }

/* mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; position: fixed; inset: auto 0 0 0; z-index: 20; background: var(--pearl); border-top: 1px solid var(--line); padding: 0.6rem max(16px, env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mobile-bar .btn { padding: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
