:root {
  --navy-950: #04142c;
  --navy-900: #071a35;
  --navy-800: #0b294f;
  --orange-600: #f25500;
  --orange-500: #ff6400;
  --orange-100: #fff0e7;
  --white: #ffffff;
  --ink: #061a38;
  --muted: #536078;
  --line: #dce2e9;
  --surface: #f5f8fb;
  --shadow: 0 18px 50px rgba(1, 19, 43, 0.2);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --header-height: 76px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.is-dialog-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

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

a {
  color: inherit;
}

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

h1,
h2,
p,
dl,
dd,
ul,
figure {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 800;
  box-shadow: var(--shadow);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid #2e87ff;
  outline-offset: 3px;
}

.section {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(6, 26, 56, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  width: min(calc(100% - 48px), 1440px);
  min-height: var(--header-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) auto minmax(330px, 1fr);
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  width: fit-content;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: clamp(172px, 16vw, 220px);
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.brand-hebrew {
  padding-inline-start: 12px;
  border-inline-start: 1px solid var(--line);
  color: var(--navy-800);
  font-size: 15px;
  font-weight: 850;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.5vw, 42px);
}

.desktop-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a,
.footer-nav a,
.support-phone {
  transition: color 150ms ease;
}

.desktop-nav a:hover,
.footer-nav a:hover,
.support-phone:hover {
  color: var(--orange-600);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.support-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.support-phone svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  color: var(--orange-600);
}

.button {
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: var(--orange-600);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(242, 85, 0, 0.18);
}

.button-primary:hover {
  background: #d94b00;
  box-shadow: 0 10px 24px rgba(242, 85, 0, 0.26);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: var(--white);
  color: var(--navy-950);
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--navy-950);
}

.hero-media {
  min-height: 690px;
  background-color: #c9d6e1;
  background-image: url("assets/raffle/gallery-3.jpg");
  background-position: center center;
  background-size: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px clamp(38px, 4.6vw, 74px);
  background: var(--navy-950);
  color: var(--white);
}

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

.hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(46px, 4.1vw, 66px);
  font-weight: 880;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy p {
  max-width: 620px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.45;
}

.donation-card {
  width: min(100%, 660px);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  padding: 24px 28px 21px;
  box-shadow: var(--shadow);
}

.entry-card-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.entry-card-heading h2 {
  margin-bottom: 0;
  font-size: 21px;
  line-height: 1.2;
}

.entry-card-heading p {
  flex: none;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.entry-card-heading strong {
  color: var(--orange-600);
}

.ticket-options {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 10px;
}

.ticket-option {
  position: relative;
  grid-column: span 2;
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  padding: 9px 6px 8px;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.ticket-option:nth-child(n + 4) {
  grid-column: span 3;
}

.ticket-option:hover {
  border-color: rgba(242, 85, 0, 0.55);
}

.ticket-option.is-active {
  border: 2px solid var(--orange-600);
  background: var(--orange-100);
  box-shadow: 0 5px 15px rgba(242, 85, 0, 0.1);
  padding: 8px 5px 7px;
}

.ticket-option.is-active::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-600);
}

.ticket-count,
.ticket-price {
  display: block;
}

.ticket-count {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.15;
}

.ticket-price {
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 900;
  line-height: 1.15;
}

.selected-impact {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.enter-submit {
  width: 100%;
  min-height: 52px;
  margin-bottom: 12px;
  font-size: 17px;
}

.entry-legal,
.drawing-note {
  margin-bottom: 0;
  text-align: left;
  line-height: 1.45;
}

.entry-legal {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 780;
}

.drawing-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.response-band {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  background: var(--orange-600);
  color: var(--white);
  padding: 20px 24px;
}

.response-band svg {
  width: 48px;
  height: 48px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.response-band p {
  margin-bottom: 0;
  font-size: clamp(21px, 2.2vw, 30px);
}

.impact {
  padding-block: 66px 62px;
}

.section-intro {
  max-width: 750px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-intro h2,
.story-content h2,
.rabbi-card h2,
.trust-copy h2,
.closing-copy h2,
.faq-wrap > h2 {
  margin-bottom: 13px;
  font-size: clamp(31px, 3vw, 45px);
  font-weight: 850;
  letter-spacing: -0.038em;
  line-height: 1.06;
}

.section-intro p,
.story-intro > p:last-child,
.trust-copy p,
.closing-copy > p:not(.section-label) {
  color: var(--muted);
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.stats > div {
  position: relative;
  padding: 28px 18px 26px;
  text-align: center;
}

.stats > div + div::before {
  content: "";
  position: absolute;
  top: 24%;
  bottom: 24%;
  left: 0;
  width: 1px;
  background: var(--line);
}

.stats dt {
  margin-bottom: 4px;
  color: var(--orange-600);
  font-size: clamp(31px, 3.2vw, 47px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.stats dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.story {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  background: var(--surface);
}

.story-media {
  position: relative;
  min-height: 560px;
  background-color: #cfd7dc;
  background-image: url("assets/hero.jpg");
  background-position: center;
  background-size: cover;
}

.story-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, rgba(4, 20, 44, 0.68));
  pointer-events: none;
}

.story-media > span {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 48px clamp(38px, 5vw, 82px);
}

.section-label {
  margin-bottom: 10px;
  color: var(--orange-600);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-intro {
  max-width: 590px;
}

.response-list {
  max-width: 620px;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.response-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.response-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.response-number {
  color: var(--orange-600);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.response-list strong,
.response-list span {
  display: block;
}

.response-list strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 16px;
}

.response-list div > span {
  color: var(--muted);
  font-size: 14px;
}

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

.values-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
  padding-block: 64px;
}

.mishnah-block {
  padding-right: 20px;
}

.hebrew-quote {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.2vw, 58px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.english-quote {
  max-width: 660px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.05vw, 29px);
  line-height: 1.32;
}

.pikuach-line {
  margin-bottom: 0;
  color: var(--orange-500);
  font-size: 17px;
  font-weight: 800;
}

.rabbi-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: var(--navy-800);
  padding: 32px;
}

.rabbi-card h2 {
  margin-bottom: 20px;
  font-size: clamp(27px, 2.5vw, 36px);
}

.rabbi-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.rabbi-card li {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  padding-left: 14px;
  font-size: 13px;
}

.rabbi-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-500);
}

.trust {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
  padding-block: 66px;
}

.trust-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}

.trust-copy .trust-stat {
  margin-bottom: 0;
  color: var(--orange-600);
  font-size: clamp(76px, 8vw, 112px);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.82;
}

.trust-copy h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 2.25vw, 34px);
  line-height: 1.18;
}

.trust-copy p {
  margin-bottom: 0;
  font-size: 15px;
}

.trust-marks {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.trust-marks a {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 18px;
  text-align: center;
  text-decoration: none;
  transition: border-color 150ms ease, transform 150ms ease;
}

.trust-marks a:hover {
  border-color: var(--orange-600);
  transform: translateY(-2px);
}

.trust-marks img {
  max-width: 190px;
  height: 54px;
  object-fit: contain;
}

.trust-marks a:last-child img {
  width: 68px;
  height: 68px;
}

.trust-marks span {
  color: var(--muted);
  font-size: 13px;
}

.trust-marks strong {
  color: var(--ink);
}

.closing {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  background: var(--surface);
}

.closing-ask {
  min-height: 540px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.closing-media {
  position: absolute;
  inset: 0;
  background-color: #758394;
  background-image: url("assets/raffle/gallery-1.jpg");
  background-position: center;
  background-size: cover;
}

.closing-media::after {
  content: "";
  position: absolute;
  inset: 28% 0 0;
  background: linear-gradient(transparent, rgba(4, 20, 44, 0.92));
}

.closing-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 48px clamp(32px, 5vw, 74px);
  color: var(--white);
}

.closing-copy h2 {
  margin-bottom: 13px;
  color: var(--white);
  font-size: clamp(31px, 3vw, 44px);
}

.closing-copy > p:not(.section-label) {
  max-width: 560px;
  margin-bottom: 23px;
  color: rgba(255, 255, 255, 0.88);
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(32px, 5vw, 72px);
}

.faq-wrap > h2 {
  margin-bottom: 24px;
  font-size: clamp(29px, 2.8vw, 40px);
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 19px 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: -4px 42px 18px 20px;
  color: var(--muted);
  font-size: 13px;
}

.faq-list details a {
  color: var(--navy-800);
  font-weight: 800;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 2px;
  background: var(--orange-600);
  transition: transform 150ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

details[open] .faq-icon::after {
  transform: rotate(0);
}

.site-footer {
  background: var(--navy-950);
  color: var(--white);
}

.footer-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 0.7fr 1.8fr;
  gap: 36px;
  align-items: center;
  padding-block: 36px;
}

.footer-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand {
  border-radius: 4px;
  overflow: hidden;
}

.footer-brand img {
  width: 144px;
  height: auto;
}

.footer-identity p {
  display: none;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 800;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav {
  display: flex;
  gap: 18px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-legal {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.45;
}

.mobile-donate-bar {
  position: fixed;
  z-index: 18;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  transform: translateY(110%);
  border-top: 1px solid rgba(6, 26, 56, 0.12);
  background: rgba(255, 255, 255, 0.97);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  transition: transform 180ms ease;
}

.mobile-donate-bar.is-visible {
  transform: translateY(0);
}

.mobile-donate-bar .button {
  width: 100%;
}

dialog {
  border: 0;
  padding: 0;
}

dialog::backdrop {
  background: rgba(4, 20, 44, 0.72);
}

.confirmation-dialog {
  width: min(calc(100% - 32px), 510px);
  border-radius: var(--radius-lg);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.confirmation-dialog form {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px;
  text-align: center;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.dialog-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.dialog-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-600);
}

.dialog-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.confirmation-dialog h2 {
  margin-bottom: 10px;
  font-size: 28px;
  line-height: 1.12;
}

.confirmation-dialog p {
  margin-bottom: 16px;
  color: var(--muted);
}

.confirmation-dialog .dialog-warning {
  width: 100%;
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 11px;
  color: var(--ink);
  font-size: 12px;
}

.confirmation-dialog .button {
  width: 100%;
}

.dialog-return {
  margin-top: 13px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
}

.letter-dialog {
  width: min(calc(100% - 32px), 980px);
  max-height: min(90vh, 860px);
  border-radius: var(--radius-lg);
  color: var(--ink);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
}

.letter-dialog form {
  display: flex;
  flex-direction: column;
  max-height: min(90vh, 860px);
}

.letter-dialog-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 24px 72px 20px 28px;
}

.letter-dialog-header .section-label {
  margin-bottom: 5px;
}

.letter-dialog-header h2 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.2;
}

.letter-scroll {
  overflow: auto;
  background: var(--surface);
  padding: 22px;
}

.letter-scroll img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 26px rgba(6, 26, 56, 0.12);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .hero-content {
    padding-inline: 34px;
  }

  .entry-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .trust {
    gap: 34px;
  }

  .trust-copy {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    width: min(calc(100% - 32px), 1440px);
  }

  .brand img {
    width: 174px;
  }

  .brand-hebrew {
    padding-inline-start: 8px;
    font-size: 12px;
  }

  .support-phone span {
    display: none;
  }

  .support-phone {
    width: 42px;
    height: 42px;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

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

  .hero-media {
    min-height: clamp(390px, 60vw, 580px);
    background-position: center 43%;
  }

  .hero-content {
    padding: 45px max(24px, 7vw) 48px;
  }

  .hero-copy,
  .donation-card {
    width: min(100%, 680px);
    max-width: none;
    margin-inline: auto;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 8.5vw, 66px);
  }

  .story,
  .closing {
    grid-template-columns: 1fr;
  }

  .story-media {
    min-height: 470px;
  }

  .story-content {
    padding: 48px max(24px, 7vw);
  }

  .values-inner,
  .trust {
    grid-template-columns: 1fr;
  }

  .values-inner {
    gap: 40px;
  }

  .mishnah-block {
    padding-right: 0;
  }

  .trust-copy {
    grid-template-columns: auto 1fr;
  }

  .closing-ask {
    min-height: 510px;
  }

  .faq-wrap {
    padding-block: 54px;
  }
}

@media (max-width: 640px) {
  .section {
    width: min(calc(100% - 34px), var(--max-width));
  }

  .header-inner {
    width: calc(100% - 28px);
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 132px;
  }

  .brand-hebrew {
    font-size: 11px;
  }

  .header-actions {
    gap: 9px;
  }

  .header-enter {
    display: none;
  }

  .hero-media {
    min-height: 340px;
    background-position: 48% center;
  }

  .hero-content {
    padding: 34px 17px 38px;
  }

  .hero-copy {
    padding-inline: 5px;
  }

  .hero-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(42px, 12.6vw, 56px);
  }

  .hero-copy p {
    margin-bottom: 22px;
    font-size: 17px;
  }

  .donation-card {
    padding: 21px 17px 18px;
  }

  .entry-card-heading h2 {
    font-size: 19px;
  }

  .ticket-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .ticket-option {
    grid-column: span 1;
    min-height: 61px;
  }

  .ticket-option:nth-child(n + 4) {
    grid-column: span 1;
  }

  .ticket-option:last-child {
    grid-column: span 2;
  }

  .ticket-count {
    font-size: 11px;
  }

  .ticket-price {
    font-size: 17px;
  }

  .entry-legal {
    font-size: 13px;
  }

  .drawing-note {
    font-size: 13px;
  }

  .response-band {
    min-height: 84px;
    gap: 12px;
    justify-content: flex-start;
    padding-inline: 22px;
  }

  .response-band svg {
    width: 40px;
    height: 40px;
  }

  .response-band p {
    font-size: 20px;
    line-height: 1.25;
  }

  .impact {
    padding-block: 51px 48px;
  }

  .section-intro {
    margin-bottom: 30px;
    text-align: left;
  }

  .section-intro h2,
  .story-content h2,
  .rabbi-card h2,
  .trust-copy h2,
  .closing-copy h2,
  .faq-wrap > h2 {
    font-size: 31px;
  }

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

  .stats > div {
    padding: 23px 10px 21px;
  }

  .stats > div:nth-child(3),
  .stats > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .stats > div:nth-child(3)::before {
    display: none;
  }

  .stats dt {
    font-size: 33px;
  }

  .stats dd {
    font-size: 12px;
  }

  .story-media {
    min-height: 340px;
  }

  .story-content {
    gap: 22px;
    padding: 40px 21px 44px;
  }

  .response-list li {
    grid-template-columns: 35px 1fr;
    gap: 11px;
  }

  .values-inner {
    padding-block: 48px;
  }

  .hebrew-quote {
    font-size: 34px;
  }

  .english-quote {
    font-size: 21px;
  }

  .rabbi-card {
    padding: 25px 21px;
  }

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

  .trust {
    gap: 30px;
    padding-block: 49px;
  }

  .trust-copy {
    grid-template-columns: 1fr;
  }

  .trust-stat {
    font-size: 84px;
  }

  .trust-marks {
    grid-template-columns: 1fr 1fr;
  }

  .trust-marks a {
    min-height: 142px;
    padding: 14px 10px;
  }

  .trust-marks img {
    max-width: 155px;
    height: 42px;
  }

  .trust-marks a:last-child img {
    width: 58px;
    height: 58px;
  }

  .trust-marks span {
    font-size: 11px;
  }

  .closing-ask {
    min-height: 485px;
  }

  .closing-copy {
    padding: 36px 22px;
  }

  .faq-wrap {
    padding: 42px 17px 50px;
  }

  .faq-list summary {
    padding: 17px;
    font-size: 13px;
  }

  .faq-list details p {
    margin-inline: 17px 35px;
  }

  .footer-inner {
    width: calc(100% - 34px);
    grid-template-columns: 1fr;
    gap: 21px;
    padding-block: 31px 94px;
  }

  .footer-identity p {
    display: block;
  }

  .footer-contact,
  .footer-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding-top: 18px;
  }

  .footer-nav {
    gap: 22px;
  }

  .mobile-donate-bar {
    display: block;
  }

  .confirmation-dialog form {
    padding: 34px 21px 28px;
  }

  .letter-dialog-header {
    padding: 20px 62px 18px 20px;
  }

  .letter-dialog-header h2 {
    font-size: 20px;
  }

  .letter-scroll {
    padding: 12px;
  }
}

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

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