:root {
  --navy: #1c2d42;
  --deep-blue: #2b4055;
  --peach: #e7af96;
  --peach-light: #f3d2c2;
  --mist: #e5ecee;
  --paper: #f7f0e6;
  --white: #fffdf9;
  --ink: #223449;
  --muted: #596675;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --content: 80rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

::selection {
  background: var(--peach-light);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--peach);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--white);
  transition: background-color 180ms ease, min-height 180ms ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(rgba(14, 28, 44, 0.62), transparent);
  content: "";
  pointer-events: none;
}

.site-header.is-scrolled,
.site-header.menu-active {
  min-height: 4.75rem;
  background: rgba(28, 45, 66, 0.97);
}

.site-header.is-scrolled::before,
.site-header.menu-active::before {
  background: transparent;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  text-decoration: none;
}

.brand strong {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand span {
  color: rgba(255, 253, 249, 0.78);
  font-size: 0.8rem;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.3rem);
}

.site-navigation a {
  padding-block: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.42rem;
  transition: text-decoration-color 160ms ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
  text-decoration-color: var(--peach);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}

.menu-lines {
  position: relative;
  display: block;
  width: 1.4rem;
  height: 0.8rem;
}

.menu-lines i {
  position: absolute;
  right: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: top 160ms ease, transform 160ms ease, width 160ms ease;
}

.menu-lines i:first-child {
  top: 0.1rem;
}

.menu-lines i:last-child {
  top: 0.64rem;
  width: 72%;
}

.menu-toggle[aria-expanded="true"] .menu-lines i:first-child,
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
  top: 0.38rem;
  width: 100%;
}

.menu-toggle[aria-expanded="true"] .menu-lines i:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-lines i:last-child {
  transform: rotate(-45deg);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3.2rem, 6.4vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(2.45rem, 4.5vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.button {
  min-height: 3.25rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0.2rem;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-peach {
  background: var(--peach);
  color: var(--navy);
}

.button-peach:hover {
  border-color: var(--peach-light);
  background: var(--peach-light);
}

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

.button-navy:hover {
  background: var(--deep-blue);
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(42rem, 92svh, 58rem);
  align-items: flex-end;
  padding: 9rem var(--gutter) clamp(4rem, 8vh, 6.25rem);
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

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

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center 52%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(19, 34, 52, 0.77) 0%, rgba(22, 38, 56, 0.42) 52%, transparent 82%),
    linear-gradient(0deg, rgba(17, 30, 46, 0.68), transparent 58%);
}

.hero-content {
  width: min(100%, 50rem);
}

.hero-lede {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 253, 249, 0.92);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.5rem;
  margin-top: 2rem;
}

.quiet-link {
  font-weight: 600;
  text-decoration-color: rgba(255, 253, 249, 0.65);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32rem;
}

.quiet-link:hover {
  text-decoration-color: var(--peach);
}

.about {
  background: var(--mist);
}

.about-inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  margin-inline: auto;
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.about-heading {
  width: min(100%, 42rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.about-heading h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
}

.about-heading p {
  margin: 0;
  color: var(--deep-blue);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.about-story {
  display: flow-root;
}

.about-story > p {
  max-width: 65ch;
  margin: 0 0 1.35rem;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.about-story > .about-intro {
  max-width: 51ch;
  margin-bottom: 1.6rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.28rem, 2.2vw, 1.72rem);
  line-height: 1.48;
}

.about-story strong {
  color: var(--navy);
  font-weight: 700;
}

.about-portrait {
  float: right;
  width: min(44%, 33rem);
  margin: -8.5rem 0 2.5rem clamp(2.5rem, 6vw, 6rem);
}

.about-portrait img {
  width: 100%;
  height: auto;
}

.hebrew-photo figcaption {
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.journey {
  display: grid;
  min-height: 48rem;
  grid-template-columns: minmax(0, 1.03fr) minmax(30rem, 0.97fr);
  background: var(--navy);
  color: var(--white);
}

.journey-photo {
  min-height: 42rem;
  margin: 0;
  overflow: hidden;
}

.journey-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-copy {
  align-self: center;
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
}

.journey-copy header {
  max-width: 37rem;
}

.journey-copy h2 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
}

.journey-copy header > p {
  max-width: 52ch;
  margin: 0;
  color: #d8dee4;
  font-size: 1.02rem;
}

.process {
  position: relative;
  width: min(100%, 38rem);
  margin-top: 3rem;
}

.process-line {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0.55rem;
  width: 5.2rem;
  height: calc(100% - 0.4rem);
  fill: none;
  opacity: 0.72;
  stroke: var(--peach-light);
  stroke-linecap: round;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.process-list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  width: min(100%, 35rem);
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
}

.process-list li + li {
  margin-top: 4.25rem;
}

.process-list li:nth-child(2) {
  padding-left: 2.5rem;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid rgba(243, 210, 194, 0.76);
  border-radius: 50%;
  background: var(--navy);
  color: var(--peach-light);
  font-family: var(--serif);
  font-size: 1rem;
  place-items: center;
}

.process-list h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.15;
}

.process-list p {
  max-width: 28rem;
  margin: 0.45rem 0 0;
  color: #d8dee4;
  font-size: 0.95rem;
  line-height: 1.55;
}

.boundary-note {
  max-width: 61ch;
  margin: 2.8rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #bac4cd;
  font-size: 0.82rem;
  line-height: 1.55;
}

.hebrew {
  position: relative;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2.62rem,
    rgba(43, 64, 85, 0.13) 2.65rem,
    rgba(43, 64, 85, 0.13) 2.68rem
  );
}

.hebrew::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(calc(var(--gutter) * 0.55), calc((100vw - var(--content)) / 2));
  width: 1px;
  background: rgba(176, 100, 93, 0.34);
  content: "";
}

.hebrew-inner {
  position: relative;
  display: grid;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  grid-template-columns: minmax(18rem, 0.82fr) minmax(28rem, 1.18fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  margin-inline: auto;
  padding-block: clamp(5.5rem, 9vw, 8rem);
}

.hebrew-copy h2 {
  max-width: 10ch;
  margin-bottom: 1.4rem;
}

.hebrew-copy > p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.journal-prompt {
  margin-top: 2.4rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--peach);
}

.journal-prompt h3 {
  margin-bottom: 0.45rem;
  color: var(--deep-blue);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
}

.journal-prompt p {
  max-width: 28ch;
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.4;
}

.hebrew-copy > .preview-note {
  margin-top: 1.7rem;
  color: var(--deep-blue);
  font-size: 0.86rem;
}

.hebrew-photo {
  margin: 0;
}

.hebrew-photo img {
  width: 100%;
  height: auto;
}

.contact {
  background: var(--deep-blue);
  color: var(--white);
}

.contact-inner {
  display: grid;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
  margin-inline: auto;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.contact-copy h2 {
  max-width: 13ch;
  margin-bottom: 1.25rem;
}

.contact-copy p {
  max-width: 60ch;
  margin: 0;
  color: #d9dfe4;
  font-size: 1.03rem;
}

.guidance-list {
  max-width: 42ch;
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: #d9dfe4;
}

.guidance-list li {
  padding-left: 0.25rem;
  margin-block: 0.45rem;
}

.guidance-list li::marker {
  color: var(--peach);
}

.contact-invitation {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 2px solid rgba(231, 175, 150, 0.7);
}

.contact-invitation p {
  max-width: 28ch;
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(13rem, 1fr) auto minmax(13rem, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem var(--gutter);
  background: #142438;
  color: #cbd2d8;
}

.footer-brand,
.footer-note {
  margin: 0;
  font-size: 0.82rem;
}

.footer-brand {
  color: var(--white);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.25rem;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 600;
  text-underline-offset: 0.25rem;
}

.footer-note {
  justify-self: end;
  max-width: 32ch;
  text-align: right;
}


@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(28, 45, 66, 0.99);
    opacity: 0;
    visibility: hidden;
    transition: max-height 180ms ease, opacity 160ms ease, visibility 160ms ease;
  }

  .site-navigation.is-open {
    max-height: 24rem;
    opacity: 1;
    visibility: visible;
  }

  .site-navigation a {
    padding: 0.95rem var(--gutter);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
  }

  .about-portrait {
    width: min(45%, 28rem);
    margin-top: -5.5rem;
    margin-left: 2.5rem;
  }

  .journey {
    grid-template-columns: minmax(0, 0.88fr) minmax(27rem, 1.12fr);
  }

  .hebrew-inner {
    grid-template-columns: minmax(16rem, 0.85fr) minmax(22rem, 1.15fr);
    gap: 3rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .footer-note {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 4.75rem;
    padding-inline: 1.1rem;
  }

  .brand {
    display: grid;
    gap: 0;
    line-height: 1.05;
  }

  .brand span {
    margin-top: 0.25rem;
    font-size: 0.72rem;
  }

  .menu-toggle > span:first-child {
    display: none;
  }

  .hero {
    min-height: 43rem;
    padding: 8rem 1.25rem 3.75rem;
  }

  .hero-image {
    object-position: 61% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(19, 34, 52, 0.72), rgba(22, 38, 56, 0.1)),
      linear-gradient(0deg, rgba(17, 30, 46, 0.82), transparent 72%);
  }

  h1 {
    font-size: clamp(3.05rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .quiet-link {
    align-self: flex-start;
  }

  .about-inner {
    width: calc(100% - 2.5rem);
    padding-block: 4.5rem;
  }

  .about-heading {
    margin-bottom: 2rem;
  }

  .about-portrait {
    float: none;
    width: 100%;
    margin: 0 0 2rem;
  }

  .about-story > p,
  .about-story > .about-intro {
    max-width: none;
  }

  .journey {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .journey-photo {
    min-height: 23rem;
    order: 2;
  }

  .journey-copy {
    padding: 4.5rem 1.25rem;
  }

  .process-list li + li {
    margin-top: 3.75rem;
  }

  .process-list li:nth-child(2) {
    padding-left: 1.35rem;
  }

  .hebrew::before {
    left: 0.75rem;
  }

  .hebrew-inner {
    display: flex;
    width: calc(100% - 2.5rem);
    flex-direction: column;
    gap: 3rem;
    align-items: stretch;
    padding-block: 4.75rem;
  }

  .hebrew-copy,
  .hebrew-photo {
    width: 100%;
  }

  .contact-inner {
    display: block;
    width: calc(100% - 2.5rem);
    padding-block: 4.5rem;
  }

  .contact-invitation {
    margin-top: 2.25rem;
    padding: 1.5rem 0 0;
    border-top: 2px solid rgba(231, 175, 150, 0.7);
    border-left: 0;
  }

  .contact-invitation .button {
    width: 100%;
  }

  .site-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: 2.5rem 1.25rem;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
