:root {
  --ink:#183e33;
  --paper:#f8f8f2;
  --gold:#dad9aa;
  --line:#c9d0c4;
  --serif:"Baskervville","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --sans:"DM Sans","Helvetica Neue",Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

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

body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:1rem/1.6 var(--sans);
}

a {
  color:inherit;
  text-decoration:none;
}

a:focus-visible,summary:focus-visible,button:focus-visible {
  outline:3px solid #ae6920;
  outline-offset:5px;
}

.skip {
  position:absolute;
  left:1rem;
  top:-100px;
  background:white;
  padding:.8rem;
  z-index:9;
}

.skip:focus {
  top:.5rem;
}

.wrap {
  width:min(86%,1390px);
  margin-inline:auto;
}

.bar,.foot {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}

.bar {
  min-height:88px;
}

.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  line-height:.95;
}

.brand span {
  font:2.08rem/.88 var(--serif);
  letter-spacing:-.065em;
}

.brand small {
  display:block;
  font:600 .625rem/1.4 var(--sans);
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-top:5px;
}

.bar nav {
  display:flex;
  gap:2.4rem;
  margin-left:auto;
  margin-right:1rem;
}

.bar nav a,.foot>a:last-child {
  font-size:.94rem;
}

.bar nav a:hover,.foot>a:hover {
  text-decoration:underline;
  text-underline-offset:5px;
}

.pill {
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:30px;
  padding:.65rem 1.65rem;
  font-weight:600;
  font-size:.96rem;
  transition:background .2s,transform .2s;
}

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

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

.top:hover {
  background:#265341;
}

.hero {
  position:relative;
  isolation:isolate;
  background:#213e38;
  color:white;
  overflow:hidden;
}

.landscape,.shade {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
}

.landscape {
  object-fit:cover;
  object-position:center 53%;
}

.shade {
  background:linear-gradient(90deg,rgba(6,30,26,.84),rgba(8,35,29,.56) 39%,rgba(10,32,27,.07) 80%),linear-gradient(0deg,rgba(7,32,27,.30),transparent 35%);
}

.hero-inner {
  min-height:clamp(530px,45vw,704px);
  position:relative;
  display:flex;
  align-items:center;
  padding-block:4rem;
}

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

.eyebrow {
  display:flex;
  align-items:center;
  gap:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  font-weight:650;
}

.eyebrow i {
  width:31px;
  height:1px;
  background:#787d51;
}

.eyebrow.light {
  color:#eeeccf;
}

.light i {
  background:#dcd8a4;
}

h1,h2 {
  font-family:var(--serif);
  font-weight:400;
  margin:0;
  letter-spacing:-.057em;
  line-height:1.02;
}

h1 {
  font-size:clamp(3.8rem,6.75vw,7.1rem);
  margin:1.35rem 0 1.4rem;
}

em {
  font-weight:400;
}

.hero em,.contact em {
  color:var(--gold);
}

.hero p {
  font-size:clamp(1.05rem,1.35vw,1.25rem);
  max-width:440px;
  line-height:1.5;
  margin:0 0 1.8rem;
}

.cream {
  background:#f6f4dd;
  color:#173b30;
  padding-inline:2rem;
}

.cream:hover {
  background:white;
}

.scroll {
  position:absolute;
  right:0;
  bottom:30px;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border:1px solid #ffffffa3;
  border-radius:50%;
}

.scroll span {
  width:9px;
  height:9px;
  border-right:1px solid #fff;
  border-bottom:1px solid #fff;
  transform:translateY(-2px) rotate(45deg);
}

.intro,.advice-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8%;
  padding-block:clamp(64px,7vw,112px);
}

h2 {
  font-size:clamp(3rem,4.6vw,5.3rem);
  margin-top:1.25rem;
}

.intro-copy {
  align-self:center;
}

.intro-copy p:first-child {
  font:clamp(1.45rem,2.1vw,2.1rem)/1.35 var(--serif);
  letter-spacing:-.022em;
  margin:0 0 1.2rem;
}

.intro-copy p:last-child,.answer p {
  color:#40594e;
  margin:0;
}

.advice {
  background:#e9eee4;
}

.topics details {
  border-top:1px solid #a8b7a7;
}

.topics details:last-child {
  border-bottom:1px solid #a8b7a7;
}

summary {
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  padding:1.35rem 0;
  font:1.6rem/1.2 var(--serif);
}

summary::-webkit-details-marker {
  display:none;
}

summary span {
  position:relative;
  display:block;
  border:1px solid #91a492;
  border-radius:50%;
  min-width:32px;
  height:32px;
}

summary span:before,summary span:after {
  content:"";
  background:var(--ink);
  width:12px;
  height:1px;
  position:absolute;
  left:9px;
  top:14px;
}

summary span:after {
  transform:rotate(90deg);
}

details[open] summary span:after {
  transform:rotate(0);
}

.answer {
  max-width:35rem;
  padding:0 2rem 1.6rem 0;
}

.answer a,.address,.contact button {
  text-decoration:underline;
  text-underline-offset:5px;
}

.answer a {
  display:inline-block;
  margin-top:1rem;
  font-weight:600;
}

.contact {
  background:#173d32;
  color:#fff;
  padding-block:clamp(65px,7vw,110px);
}

.contact h2 {
  font-size:clamp(3.5rem,6vw,6.4rem);
}

.contact p {
  margin:1.25rem 0 1.65rem;
}

.address {
  font:clamp(1.15rem,2.1vw,1.8rem) var(--sans);
  text-decoration-thickness:1px;
  overflow-wrap:anywhere;
}

.contact button {
  display:block;
  color:#e2e7cf;
  background:transparent;
  border:0;
  padding:0;
  min-height:44px;
  cursor:pointer;
  font:inherit;
  font-size:.9rem;
}

.contact button[hidden] {
  display:none;
}

#status {
  font-size:.9rem;
}

.foot {
  min-height:100px;
}

.foot .brand span {
  font-size:1.75rem;
}

@media(prefers-reduced-motion:no-preference) {
  .hero-copy {
    animation:rise .8s ease-out both;
  }
  .landscape {
    animation:settle 1.6s ease-out both;
  }
  .enter {
    animation:rise .6s ease-out both;
  }
  @keyframes rise {
    from {
      opacity:.3;
      transform:translateY(13px);
    }
    to {
      opacity:1;
      transform:none;
    }
  }
  @keyframes settle {
    from {
      transform:scale(1.025);
    }
    to {
      transform:scale(1);
    }
  }
}

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

@media(max-width:750px) {
  .wrap {
    width:88%;
  }
  .bar {
    min-height:72px;
    gap:12px;
  }
  .brand img {
    width:38px;
    height:38px;
  }
  .brand span {
    font-size:1.8rem;
  }
  .bar {
    display:grid;
    grid-template-columns:1fr auto;
    gap:0;
    padding:13px 0 8px;
  }
  .bar nav {
    grid-column:1/-1;
    grid-row:2;
    justify-content:center;
    margin:8px 0 0;
    border-top:1px solid var(--line);
    gap:2.5rem;
  }
  .bar nav a {
    display:inline-flex;
    align-items:center;
    min-height:44px;
  }
  .bar .top {
    grid-column:2;
    grid-row:1;
  }
  .top {
    padding-inline:1.15rem;
  }
  .hero-inner {
    min-height:520px;
    padding-block:65px;
  }
  .hero-copy {
    max-width:95%;
  }
  .landscape {
    object-position:62% center;
  }
  .shade {
    background:linear-gradient(90deg,#09241de6,#0b2c2568),linear-gradient(0deg,#102f2677,transparent);
  }
  .hero h1 {
    font-size:clamp(3.1rem,9.5vw,4.6rem);
  }
  .hero p {
    max-width:350px;
  }
  .scroll {
    bottom:18px;
  }
  .intro,.advice-grid {
    grid-template-columns:1fr;
    gap:2rem;
    padding-block:56px;
  }
  .intro-copy p:first-child {
    font-size:1.6rem;
  }
  .foot {
    gap:12px;
  }
  .foot a:last-child {
    font-size:.85rem;
  }
}

@media(max-width:355px) {
  .hero h1 {
    font-size:2.9rem;
  }
  .bar .brand small {
    letter-spacing:.03em;
  }
  .wrap {
    width:90%;
  }
}

@media(min-width:1700px) {
  .hero-inner {
    min-height:730px;
  }
}


/* The contact panel echoes the three arches in the wordmark. */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -25% -2% -25% auto;
  width: min(42vw, 670px);
  background: url("emunah.svg") center / contain no-repeat;
  opacity: .12;
  pointer-events: none;
}
@media (max-width: 750px) {
  .contact::before {
    right: -14%;
    width: 54vw;
    opacity: .07;
  }
}
