/* ==========================================================================
   Yulia Glozman — design system & components
   Shared by:  index.html / lecture.html    (Hebrew, RTL)
               en.html    / lecture-en.html (English, LTR)

   Design direction: warm, calm, editorial. Classic serif headings, sand and
   clay tones, soft arch shapes, generous whitespace. Deliberately NOT a
   corporate/tech look — it should feel like a person, not a company.
   Uses CSS logical properties so the same rules work in both directions.
   ========================================================================== */

:root {
  /* Palette — warm neutrals from the brochure, with a grounding sage */
  --clay:       #B98F6B;   /* primary accent */
  --clay-deep:  #966E4C;
  --clay-soft:  #F3E7D9;   /* tinted backgrounds */
  --clay-line:  #E6D4C0;
  --sand:       #EDE2D4;
  --sage:       #6E8271;   /* secondary accent */
  --sage-deep:  #526355;
  --sage-soft:  #EAF0EA;
  --sage-line:  #D3E0D3;

  --ink:    #322D27;       /* headings */
  --body:   #5F574E;       /* body text */
  --muted:  #8E8478;       /* secondary text */
  --bg:     #FDFAF6;
  --bg-soft:#F6EFE6;
  --line:   #EADFD2;
  --footer: #2B2621;

  /* Type — English default; Hebrew overridden below */
  --f-head: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Karla', system-ui, sans-serif;

  /* Shape & depth — softer and lighter than a corporate site */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --arch: 220px 220px 24px 24px;   /* the signature shape: a soft arch */
  --shadow-sm: 0 2px 12px rgba(90, 66, 44, .05);
  --shadow:    0 14px 38px rgba(90, 66, 44, .09);
  --shadow-lg: 0 28px 64px rgba(90, 66, 44, .14);

  --container: 1100px;
  --nav-h: 74px;
}

/* Hebrew pairing: Frank Ruhl Libre (serif headings) + Assistant (body) */
html[lang="he"] {
  --f-head: 'Frank Ruhl Libre', Georgia, serif;
  --f-body: 'Assistant', system-ui, sans-serif;
}

/* --------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.78;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  line-height: 1.24;
  font-weight: 600;
  letter-spacing: 0;
}
/* Cormorant runs small and light — nudge the English weight/size up */
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 600; letter-spacing: -.005em; }

/* --------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
section { padding-block: clamp(66px, 9vw, 128px); position: relative; scroll-margin-block-start: calc(var(--nav-h) + 8px); }
.section-soft { background: var(--bg-soft); }
.section-warm { background: linear-gradient(180deg, var(--clay-soft), var(--bg)); }
.narrow { max-width: 760px; margin-inline: auto; }

/* Editorial label: a small rule + spaced small-caps, instead of a filled pill */
.eyebrow {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--f-body); font-weight: 600; font-size: .76rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay-deep);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--clay); flex: none; }
.center .eyebrow::after, .page-hero .eyebrow::after, .feature .eyebrow::after, .quote .eyebrow::after {
  content: ""; width: 32px; height: 1px; background: var(--clay); flex: none;
}

.section-head { max-width: 700px; margin-bottom: 58px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-top: 20px; }
.section-head p { margin-top: 18px; font-size: 1.08rem; color: var(--body); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem; letter-spacing: .02em;
  padding: 15px 30px; border-radius: 999px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--clay-deep); color: #fff; }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(50,45,39,.22); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--clay-line); }
.btn-ghost:hover { border-color: var(--clay-deep); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.42); }
.btn-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
[dir="rtl"] .btn svg.arrow { transform: scaleX(-1); }

/* quiet text link with a trailing arrow */
.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-body); font-weight: 600; color: var(--clay-deep); border-block-end: 1.5px solid var(--clay-line); padding-block-end: 3px; transition: color .2s, border-color .2s; }
.link-arrow:hover { color: var(--ink); border-color: var(--clay-deep); }
.link-arrow svg { width: 16px; height: 16px; }
[dir="rtl"] .link-arrow svg { transform: scaleX(-1); }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(253,250,246,.80);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-block-end: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-block-end-color: var(--line); box-shadow: 0 4px 22px rgba(90,66,44,.04); }
.nav { display: flex; align-items: center; gap: 22px; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 38px; height: 38px; flex: none; }
.brand-text { display: grid; line-height: 1.2; }
.brand-name { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; }
.brand-sub { font-family: var(--f-body); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-links a { position: relative; font-family: var(--f-body); font-weight: 500; font-size: .95rem; color: var(--body); padding: 8px 15px; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; inset-block-end: 2px; inset-inline: 15px; height: 1.5px; background: var(--clay); transform: scaleX(0); transform-origin: center; transition: transform .25s ease; }
.nav-links a:hover, .nav-links a.current { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.current::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-body); font-weight: 600; font-size: .88rem; color: var(--body); padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .2s, color .2s; }
.lang-switch:hover { border-color: var(--clay); color: var(--ink); }
.lang-switch img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }

/* mobile nav (CSS-only toggle) */
.nav-toggle, .nav-check { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 5px; margin-inline-start: auto;
    width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px;
  }
  .nav-toggle span { width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
  .mobile-menu {
    position: fixed; inset-block-start: var(--nav-h); inset-inline: 0;
    background: rgba(253,250,246,.99); backdrop-filter: blur(14px);
    border-block-end: 1px solid var(--line);
    display: grid; gap: 2px; padding: 18px 24px 26px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .mobile-menu a { font-family: var(--f-body); font-weight: 500; color: var(--ink); padding: 14px 6px; border-block-end: 1px solid var(--line); }
  .mobile-menu a:last-child { border: 0; }
  .nav-check:checked ~ .mobile-menu { transform: translateY(0); }
  .nav-check:checked ~ .nav .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-check:checked ~ .nav .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-check:checked ~ .nav .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}
@media (min-width: 901px) { .mobile-menu { display: none; } }

/* --------------------------------------------------------------- hero */
.hero { padding-block: calc(var(--nav-h) + clamp(48px, 7vw, 92px)) clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: 0; inset-block-start: -220px; inset-inline-end: -180px;
  width: 660px; height: 660px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(185,143,107,.30), rgba(185,143,107,0) 62%);
  filter: blur(12px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; z-index: 0; inset-block-end: -200px; inset-inline-start: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(110,130,113,.20), rgba(110,130,113,0) 62%);
  filter: blur(12px); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.16; }
/* warm highlighter stroke instead of a gradient-filled headline */
.hero h1 .accent {
  color: var(--clay-deep);
  background-image: linear-gradient(transparent 64%, rgba(185,143,107,.26) 64%);
  background-repeat: no-repeat;
  padding-inline: .05em;
}
.hero .lead { margin-top: 24px; font-size: 1.14rem; max-width: 33em; }
.hero .cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge { margin-top: 30px; display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.hero-badge b { color: var(--ink); font-weight: 700; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); flex: none; }

/* signature arch-framed portrait */
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: var(--arch); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 8px solid #fff;
  aspect-ratio: 4 / 5;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: ""; position: absolute; inset-block-start: 26px; inset-inline-start: -22px;
  width: 100%; height: 100%; border-radius: var(--arch);
  border: 1.5px solid var(--clay-line); z-index: -1; pointer-events: none;
}
.float-card {
  position: absolute; inset-block-end: -24px; inset-inline-start: -30px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow);
  padding: 15px 19px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line);
  max-width: 250px;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage-deep); border: 1px solid var(--sage-line); }
.float-card .ic svg { width: 19px; height: 19px; }
.float-card .big { font-family: var(--f-head); font-weight: 600; font-size: 1.06rem; color: var(--ink); line-height: 1.25; }
.float-card .small { font-size: .79rem; color: var(--muted); line-height: 1.45; }

/* photo placeholder — replace with a real photo when it is ready */
.photo-ph {
  width: 100%; height: 100%;
  background: linear-gradient(155deg, var(--clay-soft), var(--sand) 52%, var(--sage-soft));
  display: grid; place-items: center; align-content: center; gap: 15px; padding: 32px; text-align: center;
}
.photo-ph svg { width: 68px; height: 68px; color: var(--clay-deep); opacity: .5; }
.photo-ph span { font-family: var(--f-body); font-size: .82rem; color: var(--clay-deep); font-weight: 600; letter-spacing: .03em; max-width: 18em; line-height: 1.6; }

/* --------------------------------------------------------------- page hero (inner pages) */
.page-hero { padding-block: calc(var(--nav-h) + clamp(48px, 6.5vw, 84px)) clamp(52px, 6vw, 80px); overflow: hidden; text-align: center; background: linear-gradient(180deg, var(--clay-soft), var(--bg)); }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 22px; max-width: 16em; margin-inline: auto; line-height: 1.24; }
.page-hero .lead { margin: 22px auto 0; font-size: 1.12rem; max-width: 40em; }
.page-hero .cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* --------------------------------------------------------------- value tiles */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.value { text-align: center; }
.value .ic { width: 60px; height: 60px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--clay-line); color: var(--clay-deep); }
.value .ic svg { width: 26px; height: 26px; }
.value h3 { font-size: 1.3rem; margin-bottom: 10px; }
.value p { font-size: .99rem; }

/* --------------------------------------------------------------- tracks (the two offerings) */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.track {
  background: #fff; border-radius: var(--r-lg);
  padding: 42px 38px; box-shadow: var(--shadow-sm);
  border-block-start: 3px solid var(--clay);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.track.alt { border-block-start-color: var(--sage); }
.track:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.track .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--clay-soft); border: 1.5px solid var(--clay-line); color: var(--clay-deep); }
.track.alt .ic { background: var(--sage-soft); border-color: var(--sage-line); color: var(--sage-deep); }
.track .ic svg { width: 27px; height: 27px; }
.track .kicker { font-family: var(--f-body); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-deep); }
.track.alt .kicker { color: var(--sage-deep); }
.track h3 { font-size: 1.72rem; margin-block: 10px 14px; }
.track > p { font-size: 1.02rem; }
.track ul { margin-top: 24px; display: grid; gap: 12px; }
.track li { display: flex; gap: 12px; align-items: flex-start; font-size: .99rem; line-height: 1.6; }
.track li svg { width: 18px; height: 18px; flex: none; margin-block-start: 6px; color: var(--clay); }
.track.alt li svg { color: var(--sage); }
.track .track-cta { margin-block-start: auto; padding-block-start: 30px; }

/* --------------------------------------------------------------- modules (lecture content) */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: m; }
.module {
  background: #fff; border-radius: var(--r-lg);
  padding: 36px 30px; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.module:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.module::before {
  counter-increment: m; content: counter(m);
  font-family: var(--f-head); font-weight: 600; font-size: 1.35rem; color: var(--clay-deep);
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--clay-line); background: var(--clay-soft);
  display: grid; place-items: center; margin-bottom: 22px;
}
.module h3 { font-size: 1.24rem; margin-bottom: 11px; }
.module p { font-size: .99rem; }
.module .tag { display: inline-block; margin-block-start: 16px; font-family: var(--f-body); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-deep); background: var(--sage-soft); border: 1px solid var(--sage-line); padding: 3px 12px; border-radius: 999px; }

/* --------------------------------------------------------------- audience chips */
.chips { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 13px 24px; font-family: var(--f-body); font-weight: 500; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .2s, border-color .2s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--clay-line); }
.chip svg { width: 17px; height: 17px; color: var(--clay); flex: none; }

/* --------------------------------------------------------------- pull quote */
.quote { text-align: center; background: var(--bg-soft); }
.quote .mark { font-family: var(--f-head); font-size: 5.5rem; line-height: .8; color: var(--clay); opacity: .38; margin-bottom: 6px; }
.quote blockquote { font-family: var(--f-head); font-weight: 500; font-style: italic; font-size: clamp(1.45rem, 3.2vw, 2.25rem); line-height: 1.52; color: var(--ink); max-width: 21em; margin-inline: auto; }
.quote cite { display: block; margin-top: 30px; font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-deep); }

/* --------------------------------------------------------------- feature band */
.feature { background: linear-gradient(140deg, #35302A, #4A3A2C 55%, #35302A); color: #fff; text-align: center; overflow: hidden; }
.feature::before {
  content: ""; position: absolute; inset-block-start: -160px; inset-inline-start: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,.20), transparent 66%); pointer-events: none;
}
.feature .container { position: relative; z-index: 1; }
.feature .eyebrow { color: #E4CFAF; justify-content: center; }
.feature .eyebrow::before, .feature .eyebrow::after { background: rgba(228,207,175,.6); }
.feature h2 { color: #fff; font-size: clamp(1.75rem, 3.8vw, 2.6rem); max-width: 19em; margin: 22px auto 0; line-height: 1.38; }
.feature p { color: rgba(255,255,255,.80); max-width: 44em; margin: 20px auto 30px; font-size: 1.06rem; }

/* --------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; }
.about-photo { position: relative; }
.about-photo .frame { border-radius: var(--arch); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; aspect-ratio: 4 / 5; }
.about-photo .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::before {
  content: ""; position: absolute; inset-block-start: 24px; inset-inline-end: -22px;
  width: 100%; height: 100%; border-radius: var(--arch);
  border: 1.5px solid var(--clay-line); z-index: -1; pointer-events: none;
}
.about h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.about .role { color: var(--clay-deep); font-family: var(--f-body); font-weight: 600; margin-block: 10px 20px; letter-spacing: .04em; }
.creds { margin-top: 28px; display: grid; gap: 12px; }
.cred { display: flex; gap: 14px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.cred .check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; margin-block-start: 4px; }
.cred .check svg { width: 14px; height: 14px; }
.cred b { color: var(--ink); font-family: var(--f-body); font-weight: 700; }

/* --------------------------------------------------------------- format list (lecture page) */
.format { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.format-item { background: #fff; border-radius: var(--r-lg); padding: 34px 28px; box-shadow: var(--shadow-sm); }
.format-item .ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; background: var(--clay-soft); border: 1.5px solid var(--clay-line); color: var(--clay-deep); }
.format-item .ic svg { width: 23px; height: 23px; }
.format-item h3 { font-size: 1.18rem; margin-bottom: 9px; }
.format-item p { font-size: .97rem; }

/* --------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 58px; align-items: start; }
.contact-info .lead { font-size: 1.1rem; margin-block: 18px 30px; }
.contact-links { display: grid; gap: 15px; }
.contact-links a { display: inline-flex; align-items: center; gap: 15px; font-family: var(--f-body); font-weight: 600; color: var(--ink); }
.contact-links .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--clay-line); color: var(--clay-deep); flex: none; transition: background .2s, color .2s, border-color .2s; }
.contact-links a:hover .ic { background: var(--clay-deep); color: #fff; border-color: var(--clay-deep); }
.contact-links .ic svg { width: 21px; height: 21px; }

.form-card { background: #fff; border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-body); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid transparent; border-radius: var(--r-sm); padding: 13px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--clay); background: #fff; box-shadow: 0 0 0 4px rgba(185,143,107,.14); }
.form-card .btn-primary { width: 100%; margin-top: 8px; }
.form-note { margin-top: 15px; font-size: .84rem; color: var(--muted); text-align: center; line-height: 1.6; }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .ok { width: 62px; height: 62px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; margin: 0 auto 20px; }
.form-success .ok svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.45rem; margin-bottom: 8px; }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--footer); color: #B4A99B; padding-block: 58px 28px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; padding-block-end: 28px; border-block-end: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 13px; color: #fff; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand .brand-name { font-family: var(--f-head); font-weight: 600; font-size: 1.2rem; }
.footer-brand .brand-sub { color: rgba(255,255,255,.48); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: #B4A99B; font-family: var(--f-body); font-weight: 500; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-block-start: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .86rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--clay); }
.footer-social svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------- reveal on scroll (needs html.js from the inline head script) */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.in-view { opacity: 1; transform: none; }
html.js .reveal.d1 { transition-delay: .09s; }
html.js .reveal.d2 { transition-delay: .18s; }
html.js .reveal.d3 { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { order: -1; max-width: 380px; margin-inline: auto; }
  .hero-media::before { display: none; }
  .about-photo { max-width: 360px; margin-inline: auto; }
  .about-photo::before { display: none; }
  .values, .modules, .format { grid-template-columns: 1fr 1fr; }
  .tracks { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --arch: 160px 160px 20px 20px; }
  .values, .modules, .format { grid-template-columns: 1fr; }
  .float-card { inset-inline-start: 50%; transform: translateX(-50%); inset-block-end: -20px; }
  [dir="rtl"] .float-card { transform: translateX(50%); }
  .section-head { margin-bottom: 40px; }
  .track { padding: 32px 26px; }
  .form-card { padding: 28px 22px; }
  .btn { width: 100%; }
  .cta-row .btn { width: 100%; }
}

/* --------------------------------------------------------------- additions */
/* Frank Ruhl Libre has no true italic — keep Hebrew quotes upright */
html[lang="he"] .quote blockquote { font-style: normal; }

/* two-channel send buttons (WhatsApp / email) — no third-party form service */
.form-actions { display: grid; gap: 11px; margin-top: 10px; }
.form-actions .btn { width: 100%; }
.form-card .btn svg { width: 19px; height: 19px; }

/* portraits: keep the face high in the frame when the crop is tall */
.hero-media .frame img, .about-photo .frame img { object-position: center 22%; }

/* --------------------------------------------------------------- brand logo (Yulia's own YG mark) */
.brand img { width: 46px; height: 46px; }
.footer-brand img {
  width: 52px; height: 52px;
  background: #fff; border-radius: 50%; padding: 3px;   /* the mark is black — needs a light chip on the dark footer */
}
@media (max-width: 640px) { .brand img { width: 40px; height: 40px; } }

/* clipboard fallback under the send buttons */
.link-copy {
  display: inline-block; margin-block-start: 6px;
  font-family: var(--f-body); font-weight: 600; font-size: .85rem;
  color: var(--clay-deep); border-block-end: 1px solid var(--clay-line);
  padding: 0 0 2px; transition: color .2s, border-color .2s;
}
.link-copy:hover { color: var(--ink); border-color: var(--clay-deep); }
