/* ==========================================================================
   de Klamme Handjes — site styles
   Direction: "velvet lounge after midnight". Upscale (didone serif, brass,
   generous spacing) with a sleazy wink (neon pink, oxblood glow, film grain).
   ========================================================================== */

:root {
  /* Colour */
  --ink: #0c0909;            /* page background, warm near-black */
  --ink-2: #151010;          /* raised surfaces */
  --velvet: #3a0b17;         /* oxblood glow */
  --bone: #ece2d3;           /* primary text */
  --brand: #d8cbba;          /* original brand beige (logo) */
  --muted: rgba(236, 226, 211, 0.62);
  --line: rgba(216, 203, 186, 0.18);
  --gold: #c8a265;           /* brass details */
  --neon: #ff2e7e;           /* neon pink accent, use sparingly */
  --neon-glow: 0 0 6px rgba(255, 46, 126, 0.75), 0 0 22px rgba(255, 46, 126, 0.45), 0 0 48px rgba(255, 46, 126, 0.25);

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-logo: "Figtree", "Manrope", system-ui, sans-serif; /* closest match to the logo lettering */
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --header-height: 76px;
  --content-width: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-space: clamp(80px, 12vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--neon);
  color: var(--ink);
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: inherit;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

.neon {
  color: #ffd6e5;
  text-shadow: var(--neon-glow);
}

.neon--flicker {
  animation: flicker 7s infinite;
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    color: #ffd6e5;
    text-shadow: var(--neon-glow);
  }
  20%, 24%, 55% {
    color: rgba(255, 214, 229, 0.45);
    text-shadow: none;
  }
}

/* ---------- Header ---------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header--solid {
  background: rgba(12, 9, 9, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 30px;
}

.brand span {
  font-family: var(--font-logo);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.button) {
  position: relative;
  padding-block: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.site-nav a:not(.button):hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 640px) {
  .site-nav .nav-cta {
    display: none;
  }
  .brand span {
    font-size: 15px;
  }
}

@media (max-width: 440px) {
  .brand span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}

/* ---------- Buttons --------------------------------------------------- */

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

.button:hover,
.button:focus-visible {
  background: var(--neon);
  border-color: var(--neon);
  color: #fff;
  box-shadow: 0 0 28px rgba(255, 46, 126, 0.45);
}

.button--ghost {
  background: transparent;
  color: var(--bone);
  border-color: rgba(236, 226, 211, 0.4);
}

.button--small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 12px;
}

.button .arrow {
  transition: transform 0.3s var(--ease);
}

.button:hover .arrow {
  transform: translateX(4px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Home: opening screen ------------------------------------- */
/* Full-height "doorway": just the logo on velvet, then scroll to enter. */

.opening {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-height) + 24px) var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

/* Velvet glow + vignette */
.opening::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 50% at 50% 48%, rgba(255, 46, 126, 0.16), transparent 70%),
    radial-gradient(70% 70% at 10% 95%, rgba(58, 11, 23, 0.9), transparent 70%),
    radial-gradient(70% 70% at 90% 5%, rgba(58, 11, 23, 0.8), transparent 70%),
    var(--ink);
}

.opening::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--ink));
}

.opening h1 {
  margin: 0;
}

.opening__logo {
  position: relative;
  display: inline-block;
}

.opening__logo::before {
  content: "";
  position: absolute;
  inset: 10%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 126, 0.38), transparent 65%);
  filter: blur(48px);
  animation: pulse 6s ease-in-out infinite;
}

.opening__logo img {
  width: auto;
  height: min(64svh, 620px);
  max-width: 82vw;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 46, 126, 0.25));
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.opening__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-inline: var(--gutter);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.opening__meta span:first-child {
  text-align: left;
}

.opening__meta span:last-child {
  text-align: right;
}

.opening__cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--bone);
  text-decoration: none;
  transition: color 0.3s;
}

.opening__cue:hover {
  color: #ffd6e5;
}

/* Thin line that keeps "dripping" down */
.opening__cue::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transform-origin: top;
  animation: drip 2.4s var(--ease) infinite;
}

@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  70% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (max-width: 640px) {
  .opening__meta {
    grid-template-columns: 1fr;
  }
  .opening__meta span:first-child,
  .opening__meta span:last-child {
    display: none;
  }
}

/* On the home page the header textmark appears once you've left the opening screen. */
.site-header--home .brand {
  transition: opacity 0.4s var(--ease);
}

.site-header--home:not(.is-scrolled) .brand {
  opacity: 0;
  pointer-events: none;
}

/* ---------- Home: intro ---------------------------------------------- */

.intro {
  padding-block: var(--section-space);
  text-align: center;
}

.intro .container {
  max-width: 980px;
}

.intro h2 {
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1;
}

.intro h2 em {
  display: block;
}

.intro__lede {
  max-width: 36em;
  margin: 32px auto 40px;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
}

.intro .button-row {
  justify-content: center;
}

/* ---------- Marquee --------------------------------------------------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 22px;
  background: var(--ink-2);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee__track span {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  font-style: italic;
  white-space: nowrap;
}

.marquee__track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.6em;
  font-style: normal;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections -------------------------------------------------- */

.section {
  padding-block: var(--section-space);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section__head h2 {
  max-width: 14em;
  font-size: clamp(38px, 5.4vw, 72px);
}

.section__head p {
  max-width: 26em;
  margin: 0;
  color: var(--muted);
}

/* ---------- Stats ----------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(32px, 5vw, 56px) var(--gutter);
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1;
}

.stat__label {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stat + .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- Feature cards -------------------------------------------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

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

@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink-2);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  transition: outline-color 0.4s, box-shadow 0.4s var(--ease);
}

.feature:hover {
  outline-color: rgba(255, 46, 126, 0.6);
  box-shadow: 0 0 40px rgba(255, 46, 126, 0.18);
}

.feature__media,
.feature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature__media img {
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease), opacity 1.2s ease-in-out, filter 0.6s;
}

.feature:hover .feature__media img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
}

.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 9, 0.95) 0%, rgba(12, 9, 9, 0.55) 40%, transparent 70%);
  pointer-events: none;
}

.feature__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
}

.feature__num {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.feature h3 {
  font-size: clamp(26px, 2.3vw, 32px);
}

.feature p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

/* Cross-fading slideshow (see assets/js/main.js) */
.slideshow img {
  opacity: 0;
}

.slideshow img.is-active {
  opacity: 1;
}

/* ---------- Split (image + text) ------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 112px);
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.framed {
  position: relative;
  margin: 0 18px 18px 0;
}

.framed::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  z-index: -1;
}

.framed img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.split h2 {
  margin-bottom: 32px;
  font-size: clamp(38px, 5vw, 64px);
}

.split p {
  color: var(--muted);
}

.split .kicker {
  margin: 28px 0 36px;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-style: italic;
  line-height: 1.3;
}

/* ---------- Page hero (sub pages) ------------------------------------ */

.page-hero {
  position: relative;
  padding-block: calc(var(--header-height) + clamp(64px, 10vw, 140px)) clamp(48px, 8vw, 96px);
  text-align: center;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 50% 30%, rgba(255, 46, 126, 0.12), transparent 70%),
    radial-gradient(80% 90% at 50% 0%, rgba(58, 11, 23, 0.85), transparent 75%);
}

.page-hero h1 {
  font-size: clamp(52px, 9vw, 128px);
}

.page-hero p {
  max-width: 32em;
  margin: 28px auto 0;
  color: var(--muted);
}

/* ---------- Occasions list ------------------------------------------- */

.occasions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.occasions li {
  padding: 40px 32px 40px 0;
}

.occasions li + li {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.occasions h3 {
  font-size: clamp(26px, 2.6vw, 34px);
}

.occasions p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 760px) {
  .occasions {
    grid-template-columns: 1fr;
  }
  .occasions li,
  .occasions li + li {
    padding: 28px 0;
    border-left: 0;
  }
  .occasions li + li {
    border-top: 1px solid var(--line);
  }
}

/* ---------- CTA band -------------------------------------------------- */

.cta-band {
  position: relative;
  padding-block: var(--section-space);
  text-align: center;
  isolation: isolate;
  border-top: 1px solid var(--line);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 80% at 50% 100%, rgba(58, 11, 23, 0.9), transparent 75%);
}

.cta-band h2 {
  font-size: clamp(40px, 7vw, 96px);
}

.cta-band p {
  max-width: 30em;
  margin: 24px auto 40px;
  color: var(--muted);
}

.cta-band .button-row {
  justify-content: center;
}

/* ---------- Footer ---------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 56px 32px;
  font-size: 14px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.site-footer .brand img {
  width: 40px;
}

.site-footer .brand span {
  font-size: 21px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--bone);
}

.socials {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.socials a:hover {
  border-color: var(--neon);
  box-shadow: 0 0 18px rgba(255, 46, 126, 0.4);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.socials img {
  width: 26px;
  height: 26px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer__bottom p {
  margin: 0;
}

/* ---------- Scroll reveal (only when JS is running) ------------------ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
