:root {
  color-scheme: light;
  --paper: #fbf9f2;
  --ink: #1d3028;
  --green: #143e33;
  --forest: #10372d;
  --muted: #4b5d53;
  --line: #d6d8ca;
  --gold: #eed69d;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --serif: "Baskerville", "Baskerville Old Face", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .26em; }
:where(a, summary, button, input):focus-visible { outline: 3px solid #975e14; outline-offset: 5px; }
.wrap { width: min(88%, 78rem); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .65rem .9rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.masthead { background: var(--paper); }
.masthead-inner { min-height: 4.8rem; display: flex; align-items: center; gap: clamp(1rem, 3.5vw, 3.4rem); }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.6rem; font-weight: 700; letter-spacing: -.065em; color: var(--green); line-height: 1; text-decoration: none; }
.wordmark img { border-radius: .5rem; }
.site-nav { display: flex; align-items: center; gap: clamp(.85rem, 2.3vw, 2.3rem); margin-left: auto; }
.site-nav a, .sign-in, .footer > a:last-child { font-size: .95rem; font-weight: 590; white-space: nowrap; text-decoration: none; }
.site-nav a:hover, .footer > a:last-child:hover { text-decoration: underline; }
.sign-in, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem; border-radius: .35rem; padding: .65rem 1.15rem; font-weight: 650; text-decoration: none; }
.sign-in { min-height: 2.55rem; color: var(--green); border: 1px solid #9eafa1; }
.sign-in:hover { border-color: var(--green); background: #eceee3; }
.eyebrow, .feature-label, .mini-heading, .board-label { font-family: var(--sans); text-transform: uppercase; font-size: .77rem; font-weight: 690; line-height: 1.35; letter-spacing: .13em; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: #526442; }
.eyebrow::before { content: ""; flex: 0 0 1.8rem; height: 2px; background: #b39355; }
h1, h2, h3 { color: var(--green); font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(2.55rem, 4.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
.button-gold { color: #23382a; background: var(--gold); border: 1px solid transparent; }
.button-gold:hover { background: #fae7ba; }
.hero { overflow: hidden; color: #fffbeb; background: var(--forest); }
.hero-inner { width: min(100%, 105rem); min-height: 35rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.hero-copy { align-self: center; padding: clamp(3.4rem, 5vw, 5.75rem) clamp(1.25rem, 2.8vw, 3rem) clamp(3.4rem, 5.4vw, 6rem) max(6vw, calc((min(100vw, 105rem) - 78rem) / 2)); }
.hero-kicker { color: #e7d5a3; }
.hero-kicker::before { background: #e0c787; }
.hero h1 { color: #fffbef; font-size: clamp(3.1rem, 5.5vw, 5.95rem); line-height: 1.01; letter-spacing: -.055em; margin-block: 1.4rem 1.55rem; }
.hero h1 em { color: #ecd39a; font-weight: inherit; }
.hero-intro { max-width: 33rem; color: #e1e7da; font-size: clamp(1.05rem, 1.27vw, 1.22rem); line-height: 1.64; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.65rem; margin-top: 1.9rem; }
.hero-secondary { color: #fffbea; font-weight: 560; text-decoration-color: #b4c3ac; }
.hero-secondary:hover { text-decoration-thickness: 2px; }
.hero :focus-visible, .contact :focus-visible { outline-color: #f2d49a; }
.hero-visual { position: relative; isolation: isolate; min-height: 32rem; margin: 2.3rem max(5vw, calc((min(100vw, 105rem) - 78rem) / 2)) 0 1.3rem; }
.sanctuary {
  position: absolute; inset: 0 0 0 auto; width: 97%; height: 100%; object-fit: cover; object-position: 50% 49%;
  border-radius: 52% 52% 0 0 / 48% 48% 0 0; background: #a99b75;
}
.hero-visual::before {
  content: ""; position: absolute; z-index: -1; inset: -.45rem -.55rem 0 3%;
  border: 1px solid #bfaf79; border-bottom: 0; border-radius: 53% 53% 0 0 / 49% 49% 0 0;
}
.sample-board {
  position: absolute; left: -1.5rem; bottom: 1.9rem; width: min(91%, 27.3rem);
  color: #233729; background: #faf6e8; border: 1px solid #e6dabb; border-top: 4px solid #c5a568;
  border-radius: .35rem; padding: 1rem 1.35rem .8rem; box-shadow: 0 .7rem 2.5rem -.5rem #071f2280;
}
.board-mast { display: flex; justify-content: space-between; align-items: center; gap: .8rem; padding-bottom: .7rem; }
.board-label { color: #546248; font-size: .7rem; }
.board-name { margin-top: .15rem; font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.15 var(--serif); letter-spacing: -.04em; }
.board-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: .68rem; border-top: 1px solid #cdcebb; }
.board-times > div + div { padding-left: .75rem; border-left: 1px solid #cdcebb; }
.board-times span, .board-times strong { display: block; }
.board-times span { font-size: .8rem; color: #53624f; }
.board-times strong { font: 400 clamp(1.15rem, 1.8vw, 1.5rem)/1.25 var(--serif); white-space: nowrap; }
.board-times small { font: 600 .7rem var(--sans); }
.board-notice { padding-top: .5rem; border-top: 1px solid #cdcebb; color: #53624f; font-size: .79rem; }

.feature-guide { padding-block: clamp(3.6rem, 6.5vw, 6.75rem); }
.guide-heading { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: clamp(2rem, 6vw, 6rem); margin-bottom: 2.35rem; }
.guide-heading h2, .questions h2 { margin-top: .85rem; }
.guide-heading > p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); max-width: 30rem; padding-bottom: .2rem; }
.feature-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.feature-story { display: flex; flex-direction: column; align-items: stretch; gap: 2rem; padding: clamp(1.45rem, 3vw, 2.85rem); border-radius: .45rem; }
.davening-story { background: #e7ecdf; }
.giving-story { background: #f1e6d4; }
.feature-label { font-size: .77rem; color: #536347; }
.giving-story .feature-label { color: #75542c; }
.feature-copy { max-width: 34rem; }
.feature-copy h3 { margin-block: .65rem .85rem; font-size: clamp(2rem, 3.2vw, 3.35rem); line-height: 1.02; letter-spacing: -.055em; }
.feature-copy > p:last-child { color: #405146; }
.schedule-example, .dedication-example { margin-top: auto; border: 1px solid #afbba7; border-radius: .3rem; overflow: hidden; }
.schedule-example { padding: 1.05rem 1.25rem; background: #f8faf1; }
.mini-heading { color: #586a51; font-size: .7rem; }
.rule-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; margin: .4rem 0 .8rem; }
.rule-title strong { font: 400 1.6rem/1.2 var(--serif); letter-spacing: -.035em; }
.rule-title span { color: #53634e; font-size: .86rem; }
.sample-keyvals { display: grid; gap: .35rem; padding-top: .55rem; border-top: 1px solid #c6cfbb; }
.sample-keyvals > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .8rem; line-height: 1.45; font-size: .86rem; }
.sample-keyvals dt { color: #5b6b54; }
.sample-keyvals dd { color: #2c4936; font-weight: 570; }
.dedication-example { padding: 1rem 1.3rem .95rem; text-align: center; border-color: #b6a57c; background: #fbf6e8; }
.dedication-example .mini-heading { color: #755731; }
.dedication-example blockquote { max-width: 19em; margin: .5rem auto .6rem; font: italic 400 clamp(1.3rem, 1.9vw, 1.6rem)/1.22 var(--serif); color: #493c24; }
.preview-credit { color: #695d43; font-size: .8rem; }
.preview-credit span { margin-inline: .18rem; }
.feature-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 5vw, 5rem); margin-top: clamp(1.55rem, 3vw, 2.9rem); }
.index-entry { display: grid; grid-template-columns: 2.6rem 1fr; justify-content: start; gap: 1rem; padding-block: 1.65rem 1.75rem; border-bottom: 1px solid var(--line); }
.index-icon { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; background: #edf0e4; color: #3f604a; border-radius: .45rem; }
.index-icon svg { width: 1.48rem; height: 1.48rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.index-entry h3 { font-size: clamp(1.5rem, 2vw, 2.05rem); line-height: 1.1; letter-spacing: -.042em; margin-bottom: .55rem; }
.index-entry p { color: var(--muted); max-width: 56ch; }
.questions { background: #f0f1e6; padding-block: clamp(3.2rem, 5vw, 5.2rem); border-block: 1px solid var(--line); }
.questions-inner { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: clamp(2rem, 5.5vw, 6rem); }
.answers { border-top: 1px solid #b9c3b3; }
.answers details { border-bottom: 1px solid #b9c3b3; padding: 0; }
.answers summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.05rem; cursor: pointer; list-style: none; color: #2a4539; font-weight: 620; line-height: 1.4; font-size: 1.02rem; }
.answers summary::-webkit-details-marker { display: none; }
.answers summary::after { content: ""; flex: none; width: .6rem; height: .6rem; border-bottom: 1.5px solid; border-right: 1.5px solid; transform: translate(-.2rem, -.15rem) rotate(45deg); }
.answers details[open] summary::after { transform: translate(-.2rem,.12rem) rotate(225deg); }
.answers details p { max-width: 60ch; padding: 0 1.8rem 1.2rem 0; color: var(--muted); }
.contact { color: #eef1df; background: var(--forest); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: clamp(2rem, 5.4vw, 6rem); align-items: center; padding-block: clamp(2.3rem, 4.4vw, 4.4rem); }
.kiddush-photo { width: 100%; height: clamp(17rem, 23vw, 22rem); object-fit: cover; border-radius: .4rem 5rem .4rem .4rem; }
.contact .eyebrow { color: #e7d5a3; }
.contact h2 { margin-block: .85rem .9rem; color: #fff8e8; }
.contact-copy > p:not(.eyebrow) { color: #dee7d8; max-width: 36rem; font-size: 1.06rem; }
.contact .button { margin-top: 1.4rem; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; }
.footer .wordmark { font-size: 1.2rem; }
.footer > a:last-child { color: var(--green); }

@media (max-width: 62rem) {
  .wrap { width: 90%; }
  .masthead-inner { gap: 1.6rem; }
  .hero-inner { min-height: 30rem; }
  .hero-copy { padding-left: 5vw; }
  .hero-visual { min-height: 28rem; margin-right: 4.5vw; }
  .sample-board { left: -.65rem; width: 98%; }
  .questions-inner { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
}
@media (max-width: 48rem) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding: 2.65rem 5% 2rem; width: min(100%, 43rem); margin-inline: auto; }
  .hero h1 { font-size: clamp(3.1rem, 8vw, 4.5rem); margin-block: 1rem; }
  .hero-intro { max-width: 37rem; }
  .hero-visual { min-height: 23rem; width: min(90%, 38.6rem); margin: .5rem auto 0; }
  .sanctuary { width: 87%; object-position: 50% 46%; border-radius: 42% 42% 0 0 / 70% 70% 0 0; }
  .hero-visual::before { inset: -.35rem -.35rem 0 13%; border-radius: 42% 42% 0 0 / 70% 70% 0 0; }
  .sample-board { left: 0; bottom: 1.25rem; width: min(74%, 24rem); }
  .guide-heading { grid-template-columns: 1fr; gap: 1.1rem; }
  .guide-heading > p { max-width: 41rem; }
  .feature-story { padding: 1.45rem; gap: 1.3rem; }
  .index-entry { grid-template-columns: 1fr; gap: .7rem; }
  .questions-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .questions h2 br { display: none; }
  .contact-inner { gap: 1.6rem; }
}
@media (max-width: 40rem) {
  .masthead-inner { flex-wrap: wrap; justify-content: space-between; column-gap: 1rem; row-gap: .45rem; padding-block: .7rem .4rem; }
  .wordmark { font-size: 1.4rem; }
  .wordmark img { width: 2rem; height: 2rem; }
  .site-nav { order: 3; width: 100%; margin: 0; justify-content: space-between; gap: .4rem; border-top: 1px solid var(--line); }
  .site-nav a { padding-block: .45rem; font-size: .875rem; }
  .sign-in { min-height: 2.4rem; padding: .3rem .75rem; font-size: .875rem; }
  .hero-copy { padding-top: 2.35rem; }
  .hero-actions { gap: 1.15rem; margin-top: 1.3rem; }
  .hero-visual { min-height: clamp(19rem, 71vw, 24rem); }
  .sample-board { width: min(89%, 23rem); padding: .8rem 1rem .65rem; }
  .board-mast img { width: 2.1rem; height: 2.1rem; }
  .board-times > div + div { padding-left: .6rem; }
  .feature-stories, .feature-index { grid-template-columns: 1fr; }
  .guide-heading { margin-bottom: 1.55rem; }
  .feature-copy h3 br { display: none; }
  .index-entry { grid-template-columns: 2.35rem 1fr; gap: .75rem; padding-block: 1.3rem; }
  .index-icon { width: 2.35rem; height: 2.35rem; }
  .feature-index { margin-top: .8rem; }
  .contact-inner { grid-template-columns: 1fr; padding-block: 2.35rem 3rem; }
  .kiddush-photo { height: auto; aspect-ratio: 1.8; }
}
@media (min-width: 105rem) {
  .hero-copy { padding-left: 13.5rem; }
  .hero-visual { margin-right: 13.5rem; }
}
@media (forced-colors: active) {
  .button, .sample-board, .index-icon { border: 1px solid CanvasText; }
}
