@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/noto-sans-hebrew-400.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/noto-sans-hebrew-500.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/noto-sans-hebrew-600.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans Hebrew";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/noto-sans-hebrew-700.ttf") format("truetype");
}

:root {
  --paper: #f4f0e8;
  --paper-deep: #e9e2d5;
  --ink: #24322d;
  --ink-soft: #5d6863;
  --sage: #7c8c75;
  --sage-deep: #40584c;
  --terracotta: #b9664f;
  --cream: #fffdf8;
  --line: rgba(36, 50, 45, 0.16);
  --shadow: 0 24px 70px rgba(38, 49, 44, 0.12);
  --radius: 28px;
  --shell: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans Hebrew", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 1000;
  transform: translateY(-160%);
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 10px;
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(244, 240, 232, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: grid;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.16;
  transition: color 220ms ease, text-shadow 220ms ease;
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-role {
  color: var(--ink-soft);
  font-size: 13.2px;
  margin-top: 4px;
  letter-spacing: 0.06em;
  transition: color 220ms ease;
}

/* Above the portrait, use a light wordmark; the scrolled header is paper. */
@media (min-width: 681px) {
  .site-header:not(.is-scrolled) .brand {
    color: var(--cream);
    text-shadow: 0 1px 4px rgba(18, 30, 25, 0.85), 0 0 12px rgba(18, 30, 25, 0.4);
  }

  .site-header:not(.is-scrolled) .brand-role {
    color: inherit;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav > a {
  text-decoration: none;
  font-size: 15px;
  color: #33443d;
  transition: color 180ms ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible {
  color: var(--terracotta);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 15px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.topic:focus-visible,
.card-link:focus-visible,
.menu-button:focus-visible,
.dialog-close:focus-visible {
  outline: 3px solid rgba(185, 102, 79, 0.35);
  outline-offset: 3px;
}

.button-small {
  padding: 12px 18px;
  font-size: 14px;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 14px 30px rgba(185, 102, 79, 0.24);
}

.button-primary:hover {
  background: #a85743;
  box-shadow: 0 18px 36px rgba(185, 102, 79, 0.3);
}

.button svg,
.mobile-contact svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  height: min(880px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #e8e1d5;
}

.hero-image-wrap,
.hero-image,
.hero-image-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-image-overlay {
  background:
    linear-gradient(90deg, rgba(244, 240, 232, 0.98) 0%, rgba(244, 240, 232, 0.9) 31%, rgba(244, 240, 232, 0.25) 56%, rgba(244, 240, 232, 0) 76%),
    linear-gradient(0deg, rgba(36, 50, 45, 0.09), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 94px;
}

.hero-copy {
  max-width: 610px;
  margin-inline-start: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: var(--terracotta);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.14;
  letter-spacing: -0.04em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 500;
}

.hero-lede {
  max-width: 565px;
  margin-bottom: 34px;
  color: #46534e;
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.text-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.text-link span {
  display: inline-block;
  margin-inline-start: 6px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(-4px);
}

.hero-facts {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 52px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fact-icon {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--terracotta);
}

.section {
  padding: 132px 0;
}

.approach {
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  inset: 50px -280px auto auto;
  border: 1px solid rgba(124, 140, 117, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 62px rgba(124, 140, 117, 0.035), 0 0 0 124px rgba(124, 140, 117, 0.025);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 64px;
}

.section-heading h2,
.therapy-intro h2,
.contact h2 {
  margin-bottom: 26px;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 500;
}

.section-heading > p:last-child {
  max-width: 710px;
  color: var(--ink-soft);
  font-size: 19px;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  gap: 28px;
  align-items: stretch;
}

.panel {
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  overflow: hidden;
  min-height: 520px;
}

.portrait-crop {
  min-height: 100%;
  background-image: url("assets/roni-hero.webp");
  background-size: auto 112%;
  background-position: 70% 52%;
  filter: saturate(0.9) contrast(0.98);
}

.about-copy {
  padding: 54px 50px;
  align-self: center;
}

.card-kicker {
  margin-bottom: 14px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.about-copy h3,
.therapy-card h3 {
  margin-bottom: 22px;
  font-size: 32px;
  font-weight: 600;
}

.about-copy p:not(.card-kicker),
.therapy-card p {
  color: var(--ink-soft);
}

.topic-column {
  padding: 36px;
  background: #dfe4da;
  border-radius: var(--radius);
}

.topic-list {
  display: grid;
  gap: 2px;
}

.topic {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 2px;
  border: 0;
  border-bottom: 1px solid rgba(36, 50, 45, 0.13);
  background: transparent;
  color: var(--ink);
  text-align: right;
  cursor: pointer;
  transition: color 180ms ease, padding 180ms ease;
}

.topic span:last-child {
  opacity: 0;
  transform: translate(-8px, 8px);
  color: var(--terracotta);
  transition: opacity 180ms ease, transform 180ms ease;
}

.topic:hover,
.topic.is-active {
  color: var(--terracotta);
  padding-inline-start: 8px;
}

.topic:hover span:last-child,
.topic.is-active span:last-child {
  opacity: 1;
  transform: none;
}

.topic-note {
  min-height: 126px;
  margin-top: 26px;
  padding: 20px;
  background: rgba(255, 253, 248, 0.58);
  border-radius: 18px;
  color: #536159;
  font-size: 14px;
  line-height: 1.7;
}

.therapy-wrap {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 68px;
  margin-top: 132px;
  align-items: start;
}

.therapy-intro {
  position: sticky;
  top: 130px;
}

.therapy-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.therapy-card {
  min-height: 390px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.64);
}

.therapy-card-accent {
  background: var(--sage-deep);
  color: white;
  border-color: transparent;
}

.therapy-card-accent p {
  color: rgba(255, 255, 255, 0.73);
}

.card-number {
  margin-bottom: 52px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.therapy-card-accent .card-number {
  color: #e9aa91;
}

.card-link {
  margin-top: auto;
  padding: 12px 0 4px;
  display: flex;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
}

.testimonials::after {
  content: "״";
  position: absolute;
  inset: -112px auto auto -24px;
  color: rgba(185, 102, 79, 0.08);
  font-family: Georgia, serif;
  font-size: 430px;
  line-height: 1;
  pointer-events: none;
}

.testimonials-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.testimonials-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 62px);
  font-weight: 500;
}

.testimonials-heading > p {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.testimonial-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  min-height: 420px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.78);
}

.testimonial-card-accent {
  background: var(--sage-deep);
  color: white;
  border-color: transparent;
  transform: translateY(-18px);
}

.quote-mark {
  height: 62px;
  color: var(--terracotta);
  font-family: Georgia, serif;
  font-size: 86px;
  line-height: 1;
}

.testimonial-card-accent .quote-mark {
  color: #e9aa91;
}

.testimonial-card blockquote {
  margin: 26px 0 34px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}

.testimonial-card-accent blockquote {
  color: rgba(255, 255, 255, 0.88);
}

.testimonial-author {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.testimonial-card-accent .testimonial-author {
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.66);
}

.testimonial-disclaimer {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 30px 0 0;
  color: rgba(36, 50, 45, 0.58);
  font-size: 12px;
}

.contact {
  padding-bottom: 34px;
  background: var(--ink);
  color: white;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 110px;
  align-items: end;
}

.eyebrow-light {
  color: #c9d4ce;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
}

.button-light {
  background: var(--cream);
  color: var(--ink);
}

.contact-details {
  padding: 12px 0;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.detail-row span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}

.detail-row strong {
  font-size: 16px;
}

.privacy-note {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 112px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.mobile-contact {
  display: none;
}

.contact-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 46px;
  border: 0;
  border-radius: 28px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(18, 30, 25, 0.35);
  overflow: auto;
}

.contact-dialog::backdrop {
  background: rgba(25, 36, 31, 0.67);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  inset: 18px auto auto 18px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 25px;
  cursor: pointer;
}

.dialog-head h2 {
  margin-bottom: 12px;
  font-size: 34px;
  font-weight: 600;
}

.dialog-head > p:last-child {
  color: var(--ink-soft);
  font-size: 14px;
}

.contact-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  font-size: 13px;
  font-weight: 700;
}

.contact-form small {
  color: var(--ink-soft);
  font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 14px;
  background: white;
  color: var(--ink);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(185, 102, 79, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.button-full {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--sage-deep);
  font-size: 13px;
  text-align: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 38px, 760px);
  }

  .main-nav {
    position: fixed;
    inset: 84px 19px auto;
    display: grid;
    gap: 0;
    padding: 16px;
    background: var(--cream);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-nav > a {
    padding: 15px 8px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .button {
    margin-top: 12px;
  }

  .menu-button {
    display: block;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    height: auto;
    min-height: 820px;
    align-items: flex-end;
  }

  .hero-image-wrap {
    height: 56%;
    inset: 0 0 auto;
  }

  .hero-image {
    object-position: 62% 50%;
  }

  .hero-image-overlay {
    background: linear-gradient(0deg, var(--paper) 1%, rgba(244, 240, 232, 0.12) 68%, rgba(244, 240, 232, 0) 100%);
  }

  .hero-content {
    padding: 420px 0 78px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .approach-grid,
  .therapy-wrap,
  .testimonials-heading,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .therapy-wrap {
    gap: 38px;
  }

  .testimonials-heading {
    gap: 24px;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: 0;
  }

  .testimonial-card-accent {
    transform: none;
  }

  .therapy-intro {
    position: static;
  }

  .contact-shell {
    gap: 50px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 32px);
    --radius: 22px;
  }

  body {
    font-size: 16px;
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .header-inner {
    min-height: 72px;
  }

  .site-header {
    background: rgba(244, 240, 232, 0.88);
    backdrop-filter: blur(16px);
  }

  .brand-name {
    font-size: 19.8px;
  }

  .main-nav {
    inset-block-start: 72px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-image-wrap {
    height: 47%;
  }

  .hero-image {
    object-position: 64% 48%;
  }

  .hero-content {
    padding: 342px 0 60px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(40px, 12vw, 54px);
  }

  .hero-lede {
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .hero-actions .button-primary {
    display: none;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-facts {
    margin-top: 34px;
    gap: 16px;
    flex-wrap: wrap;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .therapy-intro h2,
  .testimonials-heading h2,
  .contact h2 {
    font-size: 38px;
  }

  .section-heading > p:last-child {
    font-size: 17px;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .portrait-crop {
    min-height: 310px;
    background-size: cover;
    background-position: 67% 44%;
  }

  .about-copy,
  .topic-column,
  .therapy-card {
    padding: 28px;
  }

  .topic-note {
    min-height: 145px;
  }

  .therapy-wrap {
    margin-top: 88px;
  }

  .therapy-cards {
    grid-template-columns: 1fr;
  }

  .therapy-card {
    min-height: 330px;
  }

  .testimonials-heading {
    margin-bottom: 38px;
  }

  .testimonial-card {
    padding: 28px;
  }

  .testimonial-card blockquote {
    font-size: 17px;
  }

  .contact {
    padding-bottom: 28px;
  }

  .site-footer {
    margin-top: 72px;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-contact {
    position: fixed;
    z-index: 90;
    inset: auto 12px calc(12px + env(safe-area-inset-bottom));
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    background: var(--terracotta);
    color: white;
    font-weight: 700;
    box-shadow: 0 14px 40px rgba(36, 50, 45, 0.25);
  }

  .contact-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    padding: 38px 22px 28px;
    border-radius: 22px;
  }

  .dialog-head h2 {
    font-size: 30px;
  }
}
