/* meetyael.com site styles. Values follow the design export; logical properties keep RTL and LTR in one sheet. */

:root {
  --bg: #F6F1E8;
  --cream: #FFFDF7;
  --ink: #33291F;
  --panel: #EFE7D9;
  --muted: #5C5142;
  --muted-2: #675B4B;
  --green: #457359;
  --green-2: #799F76;
  --rose: #A94E6C;
  --rose-dark: #83384F;
  --rose-light: #E09FB3;
  --blush: #F9DEE5;
  --line: #E3D9C8;
  --line-2: #DFD3C1;
  --dot: #CBBFA9;
  --side: 64px;
  --lh-body: 1.75;
  --lh-loose: 1.8;
  --lh-card: 1.7;
  --h1-ls: -.02em;
  --h1-lh: 1.04;
  --title-ls: .04em;
  --title-tt: uppercase;
  --band-angle: 105deg;
}

html[lang="he"] {
  --lh-body: 1.85;
  --lh-loose: 1.85;
  --lh-card: 1.8;
  --h1-ls: -.01em;
  --h1-lh: 1.08;
  --title-ls: .02em;
  --title-tt: none;
  --band-angle: 255deg;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Heebo, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); }
a:hover { color: var(--rose-dark); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

img { max-width: 100%; height: auto; }

strong, b { font-weight: 700; }

.page {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: var(--bg);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px var(--side);
  background: rgba(51, 41, 31, .05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(51, 41, 31, .07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-logo { width: 46px; height: 46px; display: block; object-fit: contain; }
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }

.header-tools { display: flex; align-items: center; gap: 26px; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 14px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
a.lang { color: var(--muted-2); text-decoration: none; }
a.lang:hover { color: var(--ink); }
.lang.current { font-weight: 600; }
html[lang="he"] .lang.current { font-weight: 700; }
.lang-dot { color: var(--dot); }

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--rose);
  color: var(--cream);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--rose-dark); color: var(--cream); }
.btn-small { min-height: 44px; padding: 0 24px; font-size: 14.5px; }
.btn-large { min-height: 54px; padding: 0 32px; font-size: 16.5px; }
.hero .btn-large { box-shadow: 0 6px 18px rgba(169, 78, 108, .2); }

.text-link { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
/* Links Yael writes into the content, so they match the ones built into the templates. */
.prose a, .credentials a, .body a, .intro a, .lead-in a, .card a, .depth-body a, .about-opening a { text-underline-offset: 3px; }
.text-link:hover { color: var(--rose-dark); }

/* Home: opening */

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding: 40px var(--side) 56px;
}
.greeting { margin: 0 0 18px; font-size: 19px; font-weight: 400; color: var(--muted); line-height: 1.4; }
.hero-name { margin: 0; font-size: 58px; font-weight: 700; letter-spacing: var(--h1-ls); line-height: var(--h1-lh); }
.tagline { margin: 4px 0 0; font-size: 19px; line-height: var(--lh-body); max-width: 520px; }
.lead { margin: 20px 0 0; font-size: 22px; font-weight: 600; line-height: 1.7; color: var(--green); max-width: 520px; }
.hero-text .body { margin: 24px 0 0; font-size: 19px; line-height: var(--lh-body); max-width: 520px; }
.hero-text .hero-teaser { margin-top: 12px; }
.hero-text .hero-curious { margin-top: 26px; }
.hero-cta { display: flex; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.portrait-frame {
  background: var(--cream);
  border-radius: 50%;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(51, 41, 31, .1);
}
.portrait { display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }

/* Sections */

.section { padding: 52px var(--side) 0; }
.rule, .hero-divider { display: flex; align-items: center; justify-content: center; gap: 16px; }
.rule::before, .rule::after,
.hero-divider::before, .hero-divider::after { content: ""; height: 1px; background: var(--line); }
.rule span, .hero-divider span { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--dot); }
.rule { width: 100%; margin: 0 0 34px; }
.rule::before, .rule::after { width: 180px; }
.hero-divider::before, .hero-divider::after { width: 52px; }
/* The hero one is phone only, where the text column is the whole page. */
.hero-divider { display: none; gap: 12px; }
.section-title {
  margin: 0 0 22px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: var(--title-ls);
  text-transform: var(--title-tt);
  color: var(--green);
  line-height: 1.3;
}

.recognition .intro p { margin: 0 0 26px; font-size: 21px; line-height: var(--lh-card); max-width: 820px; }
.recognition .lead-in p { margin: 0 0 26px; font-size: 19px; line-height: var(--lh-body); color: var(--muted); max-width: 760px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--cream); border: 1px solid var(--panel); border-radius: 24px; padding: 28px 30px; }
.card p { margin: 0; font-size: 17px; line-height: var(--lh-card); }
.card p + p { margin-top: 10px; }
.card-title { margin: 0 0 12px; font-size: 20px; font-weight: 600; line-height: 1.3; }
.lane-card { padding: 32px 30px; }
.lane-card p { font-size: 16.5px; color: var(--muted); }
.principle-card { padding: 30px 28px; }
.principle-card .card-title { margin-bottom: 10px; font-size: 19px; line-height: 1.35; }
.principle-card p { font-size: 16.5px; line-height: 1.75; color: var(--muted); }

.reframe {
  margin: 44px 0 0;
  padding: 6px 0;
  padding-inline-start: 28px;
  border-inline-start: 3px solid var(--green-2);
  max-width: 860px;
}
.reframe p {
  margin: 0;
  font-family: "Frank Ruhl Libre", Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--green);
}
html[lang="he"] .reframe p { font-family: inherit; line-height: 1.45; letter-spacing: 0; }

/* Optional depth */

.depth { margin-top: 20px; }
.lanes .depth { margin-top: 22px; }
.depth-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  list-style: none;
}
.depth-toggle::-webkit-details-marker { display: none; }
.depth-toggle::marker { content: ""; }
.depth-toggle:hover { color: var(--ink); }
.depth-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex: none;
}
.depth-icon svg { display: block; transition: transform .18s ease; }
.depth[open] .depth-icon svg { transform: rotate(180deg); }

.depth-card .depth-body {
  margin-top: 16px;
  max-width: 860px;
  background: var(--blush);
  border: 1px solid #F1CEDA;
  border-radius: 22px;
  padding: 24px 28px;
}
.depth-card .depth-body p { margin: 0; font-size: 16.5px; line-height: var(--lh-body); color: var(--muted); }
.depth-card .depth-body p + p { margin-top: 12px; }

.depth-plain .depth-body { margin-top: 18px; max-width: 1000px; }
.depth-plain .depth-body p { margin: 0; font-size: 18.5px; line-height: var(--lh-loose); }
.depth-plain .depth-body p + p { margin-top: 16px; }

/* Home: how we work */

.how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; max-width: 1000px; }
.how-grid p { margin: 0; font-size: 18.5px; line-height: var(--lh-body); }
.how-grid p + p { margin-top: 14px; }
.how-cta { margin: 32px 0 0; font-size: 19.5px; font-weight: 600; line-height: 1.6; max-width: 780px; }

/* Contact box */

.contact-wrap { padding: 96px var(--side) 0; }
.contact-about { padding-top: 80px; }
.contact-band {
  background: linear-gradient(var(--band-angle), #33291F 0%, #3E3226 58%, #4A3C33 100%);
  color: var(--bg);
  border-radius: 36px;
  padding: 52px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-title { margin: 0; font-size: 26px; font-weight: 600; color: inherit; line-height: 1.3; }
.contact-body { margin: 12px 0 0; font-size: 16.5px; line-height: var(--lh-body); color: var(--line-2); max-width: 480px; }
.contact-body a { color: var(--bg); text-decoration: underline; text-underline-offset: 4px; }
.contact-body a:hover { color: var(--line); }
.contact-band .btn:hover { background: var(--rose-light); color: var(--ink); }

/* Footer */

.site-footer { padding: 40px var(--side) 36px; }
.footer-links {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 12px;
  font-size: 13.5px;
  color: var(--muted-2);
}
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted-2); text-decoration: none; }
.footer-links a:hover { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-sep { color: var(--dot); }
.footer-mail { letter-spacing: .01em; }

/* About page */

.about-hero {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 72px;
  align-items: start;
  padding: 56px var(--side) 80px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.back-link:hover { color: var(--ink); }
.about-title { margin: 6px 0 0; font-size: 52px; font-weight: 700; letter-spacing: var(--h1-ls); line-height: 1.06; }
html[lang="he"] .about-title { line-height: 1.1; }
.about-opening { margin: 24px 0 0; }
.about-opening p { margin: 0; font-size: 19px; line-height: var(--lh-loose); }
.about-opening p + p { margin-top: 16px; }

.about-section { padding: 56px var(--side) 0; }
.about-why { padding-top: 0; }
/* The read more toggle belongs to the block above it, so no divider and a short gap. */
.about-why-depth { padding-top: 24px; }
.prose { max-width: 1000px; }
.prose p { margin: 0; font-size: 18.5px; line-height: var(--lh-loose); }
.prose p + p { margin-top: 16px; }

.credentials ul { list-style: none; margin: 0; padding: 0; max-width: 900px; display: flex; flex-direction: column; gap: 14px; }
.credentials li { position: relative; margin: 0; padding-inline-start: 21px; font-size: 17.5px; line-height: 1.75; }
.credentials li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-2);
}
.credentials p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.75; }

/* Legal pages and 404 */

.legal { padding: 40px var(--side) 72px; max-width: 900px; }
.legal h1 { margin: 0 0 24px; font-size: 40px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.legal h2 { margin: 36px 0 12px; font-size: 22px; font-weight: 600; color: var(--green); line-height: 1.3; }
.legal h3 { margin: 24px 0 8px; font-size: 18px; font-weight: 600; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-inline-start: 22px; }
.legal address { font-style: normal; margin: 0 0 14px; font-size: 17px; line-height: 1.7; }
.legal .tbd { background: #FBEFD2; padding: 0 4px; border-radius: 4px; }
.legal a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */

@media (max-width: 1000px) {
  :root { --side: 36px; }
  .hero, .about-hero, .cards, .how-grid { grid-template-columns: 1fr; gap: 28px; }
  .portrait-frame { max-width: 420px; }
  .about-hero .portrait-frame { order: -1; }
  .contact-band { padding: 36px 32px; }
  .hero-name { font-size: 44px; }
  .about-title { font-size: 44px; }
  .tagline, .lead, .hero-text .body, .reframe, .how-cta, .card-title { max-width: 100%; }
}

@media (max-width: 600px) {
  :root { --side: 20px; }
  .site-header { flex-wrap: wrap; row-gap: 8px; padding: 12px 18px; }
  .brand-logo { width: 38px; height: 38px; }
  .site-header.has-logo .brand-name { display: none; }
  .lang { padding: 0 5px; font-size: 13px; }
  .header-tools { gap: 12px; }
  .btn-small { padding: 0 16px; font-size: 13.5px; }
  .hero { padding-top: 28px; }
  .hero-name { font-size: 34px; line-height: 1.14; }
  .about-title { font-size: 34px; line-height: 1.14; }
  .section-title, .contact-title { font-size: 20px; }
  .recognition .intro p { font-size: 20px; }
  .lead { font-size: 19px; }
  .hero-divider { display: flex; margin: 30px 0 0; }
  .hero-divider + .body { margin-top: 26px; }
  .rule::before, .rule::after { width: 64px; }
  .rule { margin-bottom: 28px; }
  .hero-cta { justify-content: center; }
  .hero .portrait-frame { max-width: 244px; margin-inline: auto; padding: 12px; }
  .how-cta { font-size: 18px; }
  .reframe { margin-inline: 20px; padding-inline-start: 16px; }
  .reframe p { font-size: 24px; }
  .contact-wrap { padding-top: 48px; }
  .contact-band { padding: 28px 22px; }
  .legal h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .depth-icon svg, .btn { transition: none; }
}
