@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/libre-baskerville-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
}

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

:root {
  --color-paper: #f4f0e6;
  --color-paper-deep: #e9e1d1;
  --color-ink: #192721;
  --color-forest: #244a3d;
  --color-forest-dark: #17352c;
  --color-burgundy: #743d36;
  --color-brass: #ad8950;
  --color-white: #fff;
  --font-display: "Libre Baskerville", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-hebrew: "Noto Serif Hebrew", "Times New Roman", serif;
  --shadow-soft: 0 1.5rem 4rem rgb(25 39 33 / 14%);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.13;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3rem, 6.8vw, 6.35rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.35rem, 4.5vw, 4.4rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
}

cite {
  font-family: var(--font-display);
}

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

.container {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(5.5rem, 10vw, 9rem);
  scroll-margin-top: 6rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--color-white);
  color: var(--color-ink);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgb(25 39 33 / 14%);
  background: rgb(244 240 230 / 94%);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 5.25rem;
  gap: 2rem;
}

.site-nav {
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand__seal {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  place-items: center;
  border: 1px solid var(--color-brass);
  border-radius: 50%;
}

.brand__seal svg {
  width: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.brand__name {
  max-width: 12rem;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}

.site-nav__list {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: clamp(1.1rem, 2.5vw, 2.4rem);
  list-style: none;
}

.site-nav a,
.site-footer nav a {
  text-underline-offset: 0.35rem;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  transition: text-decoration-color 160ms ease;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration-line: underline;
}

.site-nav a:hover,
.site-footer nav a:hover {
  text-decoration-color: var(--color-brass);
}

.button {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  gap: 0.7rem;
  border: 1px solid currentColor;
  border-radius: 0.15rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button span {
  font-size: 1.15em;
  line-height: 0;
}

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

.button--primary:hover {
  background: var(--color-forest-dark);
}

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

.hero {
  position: relative;
  min-height: calc(100svh - 5.25rem);
  overflow: hidden;
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-brass) 25%,
    var(--color-brass) 75%,
    transparent
  );
  content: "";
  opacity: 0.7;
}

.hero__ornament {
  position: absolute;
  z-index: -1;
  top: 48%;
  left: -0.08em;
  transform: translateY(-50%);
  color: rgb(36 74 61 / 3.5%);
  font-family: var(--font-hebrew);
  font-size: clamp(10rem, 31vw, 30rem);
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 0.8rem;
  color: var(--color-burgundy);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.5rem;
  height: 1px;
  background: var(--color-brass);
  content: "";
}

.hero .eyebrow {
  font-family: var(--font-hebrew);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.hero__lede {
  max-width: 37rem;
  margin-bottom: 2rem;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  margin-bottom: 2.3rem;
  gap: 1.7rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration-color: var(--color-brass);
  text-underline-offset: 0.35rem;
}

.hero__note {
  max-width: 30rem;
  margin-bottom: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--color-brass);
  color: rgb(25 39 33 / 72%);
  font-size: 0.86rem;
  line-height: 1.5;
}

.portrait {
  width: min(100%, 29rem);
  margin: 0 auto;
}

.portrait__frame {
  position: relative;
  padding: 0.65rem;
  border: 1px solid var(--color-brass);
  background: var(--color-paper-deep);
  box-shadow: var(--shadow-soft);
}

.portrait__frame::before {
  position: absolute;
  z-index: -1;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid rgb(116 61 54 / 38%);
  content: "";
}

.portrait img {
  width: 100%;
  aspect-ratio: 5 / 6;
  background: #d7cec1;
  filter: sepia(0.12) contrast(1.04);
  object-fit: cover;
}

.portrait__dates {
  position: absolute;
  right: 1.4rem;
  bottom: 1.35rem;
  padding: 0.45rem 0.65rem;
  background: rgb(244 240 230 / 92%);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.portrait figcaption {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-align: center;
}

.vision {
  background: rgb(255 255 255 / 32%);
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  align-items: end;
  margin-bottom: clamp(4rem, 7vw, 6.5rem);
  gap: clamp(2rem, 8vw, 8rem);
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 34rem;
  margin-bottom: 0.55rem;
  color: rgb(25 39 33 / 78%);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.principle__number {
  margin-bottom: 1rem;
  color: var(--color-burgundy);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

.principle__rule {
  position: relative;
  width: 100%;
  height: 1px;
  margin-bottom: 2rem;
  background: rgb(25 39 33 / 25%);
}

.principle__rule::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-brass);
  content: "";
}

.principle p:last-child {
  margin-bottom: 0;
  color: rgb(25 39 33 / 76%);
  font-size: 1rem;
}

.hirsch {
  position: relative;
}

.hirsch::before {
  position: absolute;
  top: 0;
  right: max(1.5rem, calc((100% - 72rem) / 2));
  width: min(15rem, 25vw);
  height: 0.4rem;
  background: var(--color-burgundy);
  content: "";
}

.hirsch__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.hirsch__intro h2 {
  max-width: 10ch;
}

.hirsch__copy {
  max-width: 39rem;
}

.hirsch__copy p {
  margin-bottom: 1.5rem;
}

.drop-cap::first-letter {
  float: left;
  margin: 0.15em 0.13em 0 0;
  color: var(--color-burgundy);
  font-family: var(--font-display);
  font-size: 4.4rem;
  line-height: 0.7;
}

.works {
  grid-column: 2;
  margin-top: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-brass);
}

.works__label {
  margin-bottom: 1rem;
  color: var(--color-burgundy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.works ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 0.4rem 1.8rem;
  list-style: none;
}

.works li {
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.works li::before {
  margin-right: 0.55rem;
  color: var(--color-brass);
  content: "•";
}

.community {
  position: relative;
  overflow: hidden;
  background: var(--color-forest);
  color: var(--color-paper);
}

.community::before,
.community::after {
  position: absolute;
  width: 25rem;
  height: 25rem;
  border: 1px solid rgb(173 137 80 / 24%);
  border-radius: 50%;
  content: "";
}

.community::before {
  top: -16rem;
  left: -10rem;
}

.community::after {
  right: -11rem;
  bottom: -17rem;
}

.community__hebrew {
  position: absolute;
  top: 50%;
  right: 0.03em;
  transform: translateY(-50%);
  color: rgb(244 240 230 / 4%);
  font-family: var(--font-hebrew);
  font-size: clamp(12rem, 31vw, 30rem);
  font-weight: 600;
  line-height: 1;
}

.community__inner {
  position: relative;
  z-index: 1;
  max-width: 62rem;
  margin-inline: auto;
  text-align: center;
}

.eyebrow--light {
  justify-content: center;
  color: #e5c997;
}

.community h2 {
  margin-inline: auto;
  color: var(--color-white);
}

.community__lede {
  max-width: 44rem;
  margin: 0 auto 2.3rem;
  color: rgb(244 240 230 / 83%);
  font-size: 1.17rem;
}

.community__topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.8rem;
  gap: 0.65rem;
}

.community__topics span {
  padding: 0.4rem 0.85rem;
  border: 1px solid rgb(244 240 230 / 28%);
  border-radius: 10rem;
  color: rgb(244 240 230 / 78%);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.community__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  text-align: left;
}

.community-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  min-height: 9.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgb(244 240 230 / 30%);
  background: rgb(244 240 230 / 6%);
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.community-link:hover {
  transform: translateY(-2px);
  border-color: var(--color-brass);
  background: rgb(244 240 230 / 11%);
}

.community-link:focus-visible {
  outline-color: var(--color-paper);
}

.community-link__title {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
}

.community-link__arrow {
  color: #e5c997;
  font-size: 1.2rem;
  line-height: 1;
}

.community-link__description {
  grid-column: 1 / -1;
  margin-top: 0.7rem;
  color: rgb(244 240 230 / 76%);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  padding-block: 4.5rem 2rem;
  background: var(--color-forest-dark);
  color: var(--color-paper);
}

.site-footer__main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  padding-bottom: 3.5rem;
  gap: 3rem;
}

.brand--footer .brand__seal {
  color: var(--color-paper);
}

.brand--footer .brand__name {
  font-size: 1.05rem;
}

.site-footer__mission {
  max-width: 28rem;
  margin: 1.2rem 0 0;
  color: rgb(244 240 230 / 66%);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
}

.site-footer nav a {
  font-size: 0.9rem;
  text-decoration-line: underline;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  gap: 2rem;
  border-top: 1px solid rgb(244 240 230 / 14%);
  color: rgb(244 240 230 / 54%);
  font-size: 0.72rem;
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal a {
  text-underline-offset: 0.2rem;
}

@media (max-width: 56rem) {
  .site-header__inner {
    grid-template-columns: 1fr;
    padding-top: 0.75rem;
    gap: 0.6rem 1.25rem;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    border-top: 1px solid rgb(25 39 33 / 10%);
  }

  .site-nav__list {
    justify-content: space-between;
    padding-block: 0.6rem;
  }

  .hero {
    min-height: auto;
  }

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

  .hero__content {
    max-width: 45rem;
  }

  .portrait {
    width: min(82%, 32rem);
  }

  .section {
    scroll-margin-top: 8.5rem;
  }

  .section-heading--split,
  .hirsch__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .principles {
    gap: 2rem;
  }

  .works {
    grid-column: 1;
  }
}

@media (max-width: 42rem) {
  body {
    font-size: 1.05rem;
  }

  .container {
    width: min(100% - 2rem, 72rem);
  }

  .site-header__inner {
    column-gap: 0.75rem;
  }

  .brand__seal {
    width: 2rem;
    height: 2rem;
  }

  .brand__name {
    max-width: 8rem;
    font-size: 0.78rem;
  }

  .site-nav a {
    font-size: 0.78rem;
  }

  .hero {
    padding-block: 3.75rem 5.5rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 1.2rem;
  }

  .text-link {
    justify-content: center;
  }

  .portrait {
    width: calc(100% - 1rem);
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .principle__rule {
    margin-bottom: 1.4rem;
  }

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

  .community-link {
    min-height: auto;
  }

  .site-footer__main,
  .site-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

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