:root {
  --jd-cream: #fffaf3;
  --jd-paper: rgba(255, 255, 255, 0.9);
  --jd-ink: #2c2118;
  --jd-muted: #665e57;
  --jd-quote-accent: #8d3b2b;
  --jd-quote-mark: #c9a677;
  --jd-border: rgba(128, 93, 65, 0.18);
  --jd-shadow: 0 18px 46px rgba(73, 51, 35, 0.1);
}

/* ========== Hero — watercolor mockup: photo, organic wave, cutout, mountain, quote ========== */
.jd-hero {
  position: relative;
  overflow: visible;
  background: #fff;
}

.jd-hero__photo {
  position: relative;
  height: clamp(240px, 38vw, 460px);
  overflow: hidden;
  line-height: 0;
}
.jd-hero__photo picture,
.jd-hero__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 42%;
}
.jd-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(64px, 10vw, 118px);
  z-index: 2;
  pointer-events: none;
}

.jd-hero__paper {
  position: relative;
  z-index: 1;
  padding: 0 20px clamp(1.6rem, 4vw, 2.8rem);
  min-height: 22rem;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.55) 38%, #ffffff 100%);
}
.jd-hero__mountain {
  position: absolute;
  inset: -8% 0 8%;
  background-size: cover;
  background-position: 78% 42%;
  filter: saturate(0.38) brightness(1.38) contrast(0.9);
  opacity: 0.34;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 62%, transparent 100%);
  pointer-events: none;
}
.jd-hero__drift {
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 42%;
  pointer-events: none;
}

.jd-hero__portrait {
  position: relative;
  z-index: 3;
  width: min(340px, 72vw);
  margin: -7.5rem auto 0;
  pointer-events: none;
}
.jd-hero__portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.jd-hero__quote {
  position: relative;
  z-index: 2;
  width: min(40rem, 100%);
  margin: clamp(0.4rem, 1.6vw, 1rem) auto 0;
  text-align: center;
}
.jd-hero__quote p {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.12rem, 2.05vw, 1.58rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.014em;
  color: #2a221c;
  text-wrap: pretty;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.9), 0 1px 0 rgba(255, 255, 255, 0.65);
}
.jd-hero__quote p::before {
  content: "“";
}
.jd-hero__quote p::after {
  content: "”";
}
.jd-hero__quote footer {
  display: block;
  margin-top: 0.95rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 600;
  color: #2a221c;
}

@media (max-width: 720px) {
  .jd-hero__photo { height: clamp(200px, 52vw, 300px); }
  .jd-hero__portrait { width: min(260px, 78vw); margin-top: -5.2rem; }
}

/* Quicklinks — watercolor cards from mockup */
.jd-quicklinks-section {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2.4rem) 20px clamp(48px, 6vw, 84px);
  background: #fff;
}

.jd-quicklinks {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.jd-quicklink {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.7rem;
  min-height: 11.5rem;
  padding: 1.15rem 1.15rem 1.05rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 0;
  border-radius: 22px;
  background: #f7f3ec;
  box-shadow: 0 10px 28px rgba(73, 51, 35, 0.08);
  transition: transform 420ms cubic-bezier(0.32, 0.72, 0, 1), box-shadow 420ms cubic-bezier(0.32, 0.72, 0, 1);
}
.jd-quicklink::before {
  content: "";
  position: absolute;
  width: 9.5rem;
  height: 9.5rem;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.72;
  pointer-events: none;
  z-index: 0;
}
.jd-quicklink--peach::before {
  background: #f3c9a8;
  top: -2.4rem;
  left: -2.1rem;
}
.jd-quicklink--sage::before {
  background: #d5e3c8;
  top: -2.2rem;
  right: -2.4rem;
  left: auto;
}
.jd-quicklink--aqua::before {
  background: #c9dde4;
  bottom: -2.6rem;
  left: -1.6rem;
  top: auto;
}
.jd-quicklink--rose::before {
  background: #efcfd6;
  top: -2rem;
  right: -1.8rem;
  left: auto;
}

.jd-quicklink:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(73, 51, 35, 0.12);
}
.jd-quicklink:focus-visible {
  outline: 3px solid rgba(166, 110, 69, 0.55);
  outline-offset: 4px;
}

.jd-quicklink__icon {
  position: relative;
  z-index: 1;
  width: 2.15rem;
  height: 2.15rem;
  color: #3d342c;
}
.jd-quicklink__icon img,
.jd-quicklink__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.jd-quicklink__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.jd-quicklink__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.12rem, 1.4vw, 1.32rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #241c16;
}
.jd-quicklink__text {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #4a4138;
}
.jd-quicklink__arrow {
  position: absolute;
  right: 0.95rem;
  bottom: 0.9rem;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #6b4a32;
  color: #fff;
  display: grid;
  place-items: center;
}
.jd-quicklink--aqua .jd-quicklink__arrow { background: #5a6a72; }
.jd-quicklink--rose .jd-quicklink__arrow { background: #7a3f42; }
.jd-quicklink__arrow svg {
  width: 0.7rem;
  height: 0.7rem;
}

@media (prefers-reduced-motion: reduce) {
  .jd-quicklink { transition: none; }
}

/* Embed hosts on homepage */
.jd-embed-frame {
  width: 100%;
  border: 0;
  background: transparent;
  display: block;
  overflow: hidden;
}

.jd-embed-frame--wisdom {
  min-height: 300px;
  height: 340px;
  max-height: 480px;
  margin-top: 0.25rem;
}
.jd-embed-frame--cinematic {
  min-height: 360px;
  max-height: 640px;
}
.jd-embed-frame--interviews {
  min-height: 340px;
  max-height: 700px;
}
.jd-embed-frame--events {
  min-height: 400px;
  max-height: 1000px;
}

.jd-wisdom-head {
  margin-bottom: 1.15rem !important;
}

@media (max-width: 980px) {
  .jd-quicklinks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .jd-quicklinks { grid-template-columns: 1fr; max-width: 420px; }
}
