/* Tokens from jaaphulsmann-live.nl (index CSS bundle). */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter.woff2") format("woff2");
}

:root {
  --background: 0 0% 4%;
  --foreground: 40 30% 92%;
  --card: 0 0% 6%;
  --primary: 42 55% 58%;
  --primary-foreground: 0 0% 6%;
  --primary-glow: 44 70% 68%;
  --primary-deep: 38 50% 45%;
  --muted: 0 0% 12%;
  --muted-foreground: 40 10% 62%;
  --border: 40 15% 20%;
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: Inter, system-ui, -apple-system, sans-serif;
  --gradient-gold: linear-gradient(
    135deg,
    hsl(var(--primary-glow)),
    hsl(var(--primary)) 50%,
    hsl(var(--primary-deep))
  );
  --shadow-gold: 0 10px 40px -10px hsl(var(--primary) / 0.4);
  --shadow-deep: 0 30px 80px -30px hsl(0 0% 0% / 0.8);
  --header-h: 4.25rem;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: hsl(var(--background));
  background-image: radial-gradient(
    ellipse at 50% 0%,
    hsl(42 40% 18% / 0.2),
    transparent 52%
  );
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  body {
    background-image: radial-gradient(
      ellipse at 50% 18%,
      hsl(42 40% 18% / 0.16),
      transparent 58%
    );
    background-attachment: fixed;
  }
}

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

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

::selection {
  background: hsl(var(--primary) / 0.35);
  color: hsl(var(--foreground));
}

:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  margin: 0.85rem 0 0;
  font-size: clamp(2.55rem, 8vw, 4.5rem);
  line-height: 1.02;
}

h2 {
  margin: 0.85rem 0 0;
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  line-height: 1.05;
}

p {
  margin: 0;
}

.gold-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: hsl(var(--primary));
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 0.9rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.container {
  width: min(80rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .container {
    width: min(80rem, calc(100% - 5rem));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background) / 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.wordmark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.wordmark em {
  font-style: italic;
  font-weight: 400;
  color: hsl(var(--primary));
}

a.wordmark:hover {
  color: hsl(var(--primary));
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.header-nav a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: hsl(var(--muted-foreground));
}

.header-nav a:hover {
  color: hsl(var(--primary));
}

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: hsl(var(--primary) / 0.92);
}

.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: hsl(var(--primary) / 0.6);
  flex: none;
}

.eyebrow-center {
  justify-content: center;
}

.eyebrow-center::before {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 4.25rem;
}

.hero::before,
.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.75rem;
}

.hero-copy {
  order: 1;
}

.hero-photo {
  order: 2;
}

.hero-offer {
  margin-top: 1.35rem;
  max-width: 34rem;
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border: 0;
  border-radius: 0;
  background: var(--gradient-gold);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-wrap: balance;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 50px -10px hsl(var(--primary) / 0.55);
}

@media (min-width: 540px) {
  .btn-gold {
    width: auto;
    padding: 1rem 2rem;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
  }
}

.portrait {
  width: min(100%, 26rem);
  margin-inline: auto;
}

.portrait-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.6);
  box-shadow: var(--shadow-deep);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 18%;
}

.portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 8% 6% auto;
  height: 78%;
  background: radial-gradient(ellipse at center, hsl(174 40% 14%), transparent 72%);
  filter: blur(28px);
}

.portrait {
  position: relative;
}

.portrait figcaption {
  position: relative;
  z-index: 1;
  margin-top: 0.9rem;
}

@media (min-width: 900px) {
  .hero {
    padding: 4.25rem 0 6.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(240px, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 4.5rem;
  }

  .hero-photo {
    order: 1;
  }

  .hero-copy {
    order: 2;
  }

  .portrait {
    width: 100%;
    margin: 0;
  }
}

.section {
  border-top: 1px solid hsl(var(--border) / 0.4);
  padding: 4.75rem 0;
  scroll-margin-top: var(--header-h);
}

@media (min-width: 1024px) {
  .section {
    padding: 7.5rem 0;
  }
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.offer-grid {
  display: grid;
  gap: 1rem;
}

.offer-card {
  position: relative;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border) / 0.7);
  padding: 1.45rem 1.3rem 0.35rem;
}

.offer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
}

.offer-index {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.85rem;
  line-height: 1;
  color: hsl(var(--primary));
}

.offer-group {
  margin: 0 0 1rem;
  font-size: 1.7rem;
  line-height: 1.15;
}

.offer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer-list li {
  padding: 0.85rem 0;
  border-top: 1px solid hsl(var(--border) / 0.55);
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.45;
}

@media (min-width: 980px) {
  .offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    align-items: stretch;
  }

  .offer-card {
    padding: 1.7rem 1.45rem 0.45rem;
  }
}

.case-grid {
  display: grid;
  gap: 1rem;
}

.case-card {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 0;
  background: hsl(var(--card) / 0.45);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: var(--shadow-deep);
}

.case-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: hsl(var(--muted));
}

.case-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    hsl(0 0% 4% / 0.94) 0%,
    hsl(0 0% 4% / 0.62) 32%,
    hsl(0 0% 4% / 0.08) 58%,
    transparent 72%
  );
}

.case-play {
  position: absolute;
  top: 40%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.92);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-deep);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.case-play svg {
  display: block;
  margin-left: 2px;
}

.case-card:hover .case-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.case-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.85rem 0.95rem 0.8rem;
}

.case-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

.case-tagline {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  color: hsl(40 14% 76%);
}

@media (min-width: 640px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.closing {
  position: relative;
  overflow: hidden;
}

.closing-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-name {
  margin: 0.35rem 0 0.25rem;
  font-style: italic;
  font-size: clamp(3.4rem, 12vw, 6.4rem);
  line-height: 0.95;
  color: hsl(var(--primary));
}

.closing-note {
  margin-top: 1.15rem;
  max-width: 26rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.98rem;
  font-weight: 400;
}

.noscript {
  margin-top: 1.5rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

.site-footer {
  border-top: 1px solid hsl(var(--border) / 0.4);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.player {
  position: fixed;
  inset: 0;
  width: min(60rem, calc(100vw - 1.25rem));
  height: fit-content;
  max-height: calc(100dvh - 1.25rem);
  margin: auto;
  padding: 0;
  border: 1px solid hsl(var(--border) / 0.75);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  overflow: auto;
}

.player::backdrop {
  background: hsl(0 0% 4% / 0.86);
}

.player-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
}

.player-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.15;
}

.player-tagline {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
  color: hsl(var(--muted-foreground));
}

.player-close {
  flex: none;
  margin: 0;
  padding: 0.45rem 0.2rem;
  border: 0;
  background: transparent;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.player-close:hover {
  color: hsl(var(--primary));
}

.player-frame {
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
