.njfe-body { margin: 0; }

.njfe {
  --njfe-forest: #082f2d;
  --njfe-ink: #143d39;
  --njfe-muted: #465c58;
  --njfe-paper: #fbf8f1;
  --njfe-gold: #ecc578;
  --njfe-border: #e5ddce;
  --njfe-serif: "Playfair Display", Georgia, serif;
  background: var(--njfe-paper);
  color: var(--njfe-ink);
  font: 400 17px/1.65 "DM Sans", "Segoe UI", sans-serif;
}

.njfe, .njfe * { box-sizing: border-box; }
.njfe h1, .njfe h2, .njfe h3, .njfe p, .njfe figure { margin: 0; }
.njfe h1, .njfe h2, .njfe h3 {
  font-family: var(--njfe-serif);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.08;
  text-wrap: balance;
}
.njfe h2 { font-size: clamp(34px, 4.2vw, 61px); }
.njfe img { display: block; width: 100%; height: 100%; object-fit: cover; }
.njfe a:focus-visible { outline: 3px solid #b36e17; outline-offset: 5px; }
.njfe-hero a:focus-visible, .njfe-planning a:focus-visible { outline-color: #fff; }
.njfe-shell { width: min(calc(100% - 48px), 1180px); margin-inline: auto; }
.njfe :is(#family-journey-options, #family-trip-ideas) { scroll-margin-top: 18px; }

.njfe-hero {
  display: grid;
  min-height: 660px;
  grid-template-columns: 47fr 53fr;
  background: var(--njfe-forest);
  color: #fff;
}
.njfe-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 154px clamp(32px, 5vw, 80px) 60px max(24px, calc((100vw - 1180px) / 2));
}
.njfe .njfe-eyebrow {
  margin-bottom: 13px;
  color: #85522a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.njfe-hero .njfe-eyebrow, .njfe-hero .njfe-eyebrow a { color: var(--njfe-gold); }
.njfe-hero .njfe-eyebrow a { text-underline-offset: 4px; }
.njfe-hero h1 { margin-bottom: 22px; font-size: clamp(54px, 5.5vw, 88px); }
.njfe-hero__copy > p:not(.njfe-eyebrow) { max-width: 440px; margin-bottom: 27px; color: #e2ebe7; }
.njfe-hero__media { position: relative; min-width: 0; min-height: 390px; }
.njfe-hero__media picture { display: contents; }
.njfe-hero__media img { position: absolute; inset: 0; object-position: 59% center; }
.njfe-hero__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 29, 28, .66), transparent 42%), linear-gradient(180deg, rgba(5, 29, 28, .38), transparent 25%);
  content: "";
  pointer-events: none;
}
.njfe-signature {
  position: absolute;
  right: 25px;
  bottom: 28px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  color: #ffdc96;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  text-decoration: none;
  text-transform: uppercase;
}
.njfe-signature > span:first-child { writing-mode: vertical-rl; transform: rotate(180deg); }
.njfe-signature__arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0;
  line-height: 1;
}

.njfe-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 19px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: var(--njfe-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.njfe-button:hover { background: var(--njfe-ink); color: #fff; }
.njfe-button--gold { border-color: var(--njfe-gold); background: var(--njfe-gold); color: var(--njfe-forest); }
.njfe-button--gold:hover { border-color: #ffdb91; background: #ffdb91; color: var(--njfe-forest); }

.njfe-options, .njfe-ideas { padding-block: clamp(46px, 8vw, 108px); }
.njfe-options { display: grid; gap: 24px; }
.njfe-path {
  display: grid;
  min-height: 400px;
  grid-template-columns: 53fr 47fr;
  overflow: hidden;
  border: 1px solid var(--njfe-border);
  border-radius: 24px;
  background: #fffefb;
}
.njfe-path--reverse { grid-template-columns: 47fr 53fr; }
.njfe-path--reverse .njfe-path__media { order: 1; }
.njfe-path__media { position: relative; min-height: 280px; background: var(--njfe-forest); }
.njfe-path__media img { position: absolute; inset: 0; }
.njfe-path__copy { align-self: center; padding: clamp(28px, 4.4vw, 65px); }
.njfe-path__copy h2 { margin-bottom: 17px; }
.njfe-path__copy > p:not(.njfe-eyebrow) { margin-bottom: 24px; color: var(--njfe-muted); }

.njfe-ideas__intro { max-width: 700px; margin-bottom: 30px; }
.njfe-ideas__intro p { margin-top: 14px; color: var(--njfe-muted); }
.njfe-ideas__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.njfe-idea { overflow: hidden; border: 1px solid var(--njfe-border); border-radius: 18px; background: #fffefb; }
.njfe-idea img { height: auto; aspect-ratio: 16 / 10; }
.njfe-idea > div { padding: 22px; }
.njfe-idea h3 { margin-bottom: 9px; font-size: 29px; }
.njfe-idea p { color: var(--njfe-muted); font-size: 16px; }

.njfe-planning { padding-block: clamp(48px, 7vw, 92px); background: var(--njfe-forest); color: #fff; }
.njfe-planning__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(23px, 6vw, 82px); }
.njfe-planning p { max-width: 480px; margin-bottom: 20px; color: #e2ebe7; }

@media (max-width: 900px) {
  .njfe-hero__copy { padding-top: 58px; }
}

@media (max-width: 820px) {
  .njfe-hero { min-height: 0; grid-template-columns: 1fr; }
  .njfe-hero__copy { padding: 48px 24px 36px; }
  .njfe-hero__media { min-height: clamp(270px, 61vw, 460px); }
  .njfe-signature { right: 16px; bottom: 15px; flex-direction: row; }
  .njfe-signature > span:first-child { writing-mode: horizontal-tb; transform: none; }
  .njfe-signature__arrow { width: 30px; height: 30px; }
  .njfe-ideas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .njfe-shell { width: calc(100% - 34px); }
  .njfe-hero__copy { padding-inline: 21px; }
  .njfe-hero h1 { margin-bottom: 16px; font-size: clamp(40px, 10vw, 54px); }
  .njfe-hero__copy > p:not(.njfe-eyebrow) { margin-bottom: 20px; font-size: 16px; }
  .njfe-path, .njfe-path--reverse, .njfe-planning__inner, .njfe-ideas__grid { grid-template-columns: 1fr; }
  .njfe-path--reverse .njfe-path__media { order: initial; }
  .njfe-path__media { min-height: clamp(200px, 60vw, 320px); }
  .njfe-path__copy { padding: 25px 23px 29px; }
}
