:root {
  --paper: #f7f4ee;
  --paper-deep: #eee8dc;
  --ink: #2b2a29;
  --muted: #777a7c;
  --line: #d7d1c7;
  --gold: #c9a45a;
  --gold-deep: #a77e32;
  --blue: #5ba6d4;
  --white: #fffdfa;
  --shadow: 0 28px 80px rgba(43, 42, 41, 0.09);
  --radius-lg: 2.25rem;
  --radius-md: 1.4rem;
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 164, 90, 0.14), transparent 30rem),
    radial-gradient(circle at 10% 80%, rgba(91, 166, 212, 0.08), transparent 28rem);
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue), white 30%);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.65rem 1rem;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(43, 42, 41, 0.1);
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: var(--page);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  width: 60px;
  height: 60px;
  display: block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: url("assets/images/jen-pan-kreissymbol.jpg") center / cover no-repeat;
}

.brand span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.29em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  padding: 0.65rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.site-nav a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.42);
}

.site-nav a[aria-current="page"] {
  border-color: var(--blue);
  color: #287cae;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  width: 20px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle {
  flex-direction: column;
  gap: 5px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  overflow: hidden;
}

.hero,
.page-hero,
.section,
.cta-wrap {
  width: var(--page);
  margin-right: auto;
  margin-left: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 82px);
  padding: clamp(4rem, 8vw, 8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  content: "";
  pointer-events: none;
}

.hero::before {
  background: var(--paper) url("assets/images/jen-pan-hero-demo.jpg") right center / auto 100% no-repeat;
  opacity: 0.3;
}

.hero::after {
  background: linear-gradient(90deg, rgba(247, 244, 238, 0.94) 0%, rgba(247, 244, 238, 0.72) 47%, rgba(247, 244, 238, 0.18) 100%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow,
.page-kicker {
  margin: 0 0 1.25rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(3.7rem, 8vw, 7.6rem);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 em {
  color: var(--gold-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-lead {
  max-width: 36rem;
  margin: 2rem 0 0;
  color: #5f605f;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions,
.card-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  min-height: 52px;
  padding: 0.8rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(43, 42, 41, 0.12);
}

.button-primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.hero-art {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2.5rem);
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 47% 47% 4rem 4rem;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-trust {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
}

.hero-trust-mark {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 164, 90, 0.22);
  color: var(--gold-deep);
  font-weight: 800;
}

.hero-trust p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-trust strong,
.hero-trust p span {
  display: block;
}

.hero-trust strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.instrument-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.instrument-visual {
  margin: 0;
}

.instrument-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 32px rgba(43, 42, 41, 0.16));
}

.instrument-visual figcaption {
  width: min(100% - 2rem, 31rem);
  margin: 1.25rem auto 0;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.instrument-visual figcaption strong {
  font-size: 0.92rem;
}

.instrument-visual figcaption span {
  color: var(--muted);
  font-size: 0.82rem;
}

.instrument-copy h2 {
  max-width: 10ch;
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  font-weight: 350;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.instrument-copy > p:not(.eyebrow) {
  max-width: 36rem;
  color: var(--muted);
}

.instrument-points {
  margin: 2rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}

.instrument-points li {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.56);
  font-size: 0.8rem;
  font-weight: 650;
}

.text-link {
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link:hover {
  text-decoration: underline;
}

.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 2rem;
}

.section-heading h2,
.content-main h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 350;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.section-heading p {
  max-width: 42rem;
  margin: 0;
  align-self: end;
  color: var(--muted);
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.format-card,
.info-card,
.contact-card,
.equipment-card {
  position: relative;
  min-height: 260px;
  padding: 1.7rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.62);
}

.format-card::after {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 7rem;
  height: 7rem;
  border: 1px solid rgba(201, 164, 90, 0.55);
  border-radius: 50%;
  content: "";
}

.format-number {
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.format-card h3,
.info-card h3,
.equipment-card h3 {
  margin: 2.25rem 0 0.65rem;
  font-size: 1.2rem;
  line-height: 1.25;
}

.format-card p,
.info-card p,
.equipment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.statement {
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.statement p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.12;
}

.statement p em {
  color: #e2c98e;
}

.benefits {
  display: grid;
  gap: 1.5rem;
}

.benefit {
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.benefit:last-child {
  border-bottom: 0;
}

.benefit-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.benefit h3,
.benefit p {
  margin: 0;
}

.benefit p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.cta-wrap {
  padding: 2rem 0 clamp(5rem, 10vw, 9rem);
}

.cta-card {
  position: relative;
  padding: clamp(2.5rem, 7vw, 6rem);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #dcc58f;
}

.cta-card::after {
  position: absolute;
  top: 50%;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  transform: translateY(-50%);
  border: 1px solid rgba(43, 42, 41, 0.35);
  border-radius: 50%;
  content: "";
}

.cta-card p {
  max-width: 35rem;
  margin: 1.4rem 0 0;
}

.page-hero {
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
}

.page-hero h1 {
  max-width: 14ch;
  font-size: clamp(3.6rem, 8vw, 7rem);
}

.page-hero p:last-child {
  max-width: 47rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.page-rule {
  width: var(--page);
  height: 1px;
  margin: 0 auto;
  background: var(--line);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.content-aside {
  align-self: start;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.5);
}

.content-aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.content-aside strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.content-main > :first-child {
  margin-top: 0;
}

.content-main h2 {
  margin: 4rem 0 1.35rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.content-main h3 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.35rem;
}

.content-main p {
  margin: 0 0 1.25rem;
}

.lead-copy {
  color: #535453;
  font-size: clamp(1.2rem, 2.3vw, 1.55rem);
  line-height: 1.55;
}

.highlight-line {
  margin: 3rem 0;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
}

.format-list {
  display: grid;
  gap: 1.25rem;
}

.format-detail {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 250, 0.66);
}

.format-detail header {
  margin-bottom: 1.4rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.format-detail h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.duration {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: 0.85rem 1.5rem;
}

.detail-grid dt {
  color: var(--gold-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-grid dd {
  margin: 0;
}

.info-grid,
.contact-grid,
.equipment-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.contact-card,
.equipment-card {
  min-height: 0;
}

.info-card h3,
.equipment-card h3 {
  margin-top: 0;
}

.charity-card {
  margin-top: 3.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}

.charity-card .eyebrow {
  color: #e2c98e;
}

.charity-card p {
  max-width: 48rem;
}

.charity-card a {
  color: #e2c98e;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-label {
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-card a {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.equipment-card .link-status {
  margin-top: 1.5rem;
  display: inline-flex;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.equipment-card-product {
  margin: 1rem 0 1.25rem;
  padding: 0.7rem 0 0.55rem;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.equipment-card-product img {
  width: min(100%, 13rem);
  height: 9.5rem;
  object-fit: contain;
  filter: drop-shadow(0 14px 18px rgba(43, 42, 41, 0.16));
}

.equipment-card-product figcaption {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.legal {
  max-width: 780px;
}

.legal h2 {
  margin-top: 3.25rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.legal address {
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-shell {
  width: var(--page);
  margin: 0 auto;
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.footer-shell p {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.87rem;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 1.25rem 20px 1.6rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    text-align: center;
  }

  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  :root {
    --page: min(100% - 28px, 680px);
  }

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

  .hero::before {
    background-position: 65% center;
    opacity: 0.2;
  }

  .hero::after {
    background: rgba(247, 244, 238, 0.7);
  }

  .hero h1 {
    font-size: clamp(3.7rem, 17vw, 6rem);
  }

  .hero-art {
    max-width: 560px;
    margin: 1rem auto 0;
  }

  .section-heading,
  .split-section,
  .instrument-showcase,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .content-aside {
    display: none;
  }

  .cta-card::after {
    opacity: 0.35;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand span {
    font-size: 0.75rem;
  }

  .format-grid,
  .info-grid,
  .contact-grid,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .instrument-visual figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.15rem;
  }

  .format-detail header {
    flex-direction: column;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .detail-grid dd {
    margin-bottom: 1rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
