:root {
  --pg-navy: #0f2744;
  --pg-clay: #b07d62;
  --pg-ground: #f7f5f1;
  /* Actie 48: subtler grid — background + type first (CEO §5) */
  --pg-grid: rgba(15, 39, 68, 0.045);
  --pg-grid-fine: rgba(15, 39, 68, 0.022);
  --font-display: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --font-meta: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-payoff: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --pg-module: min(10vw, 80px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--pg-navy);
  background: var(--pg-ground);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

/* —— Single 100vh Horizon Grid hero (Actie 48 polish) ——
   One section. Full-bleed clean landscape + subtle CSS grid (clipped to hero).
   No craft-PNG wordmark, no baked SCT/Holding in photo, no Holding-line in hero. */

.hero {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  background: var(--pg-ground);
}

/* Full-bleed horizon landscape — water higher, matches craft (CEO §4) */
.hero__mist {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__mist img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(0.18) contrast(0.96) brightness(1.03) saturate(0.7);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background-image:
    linear-gradient(to right, var(--pg-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--pg-grid) 1px, transparent 1px),
    linear-gradient(to right, var(--pg-grid-fine) 1px, transparent 1px),
    linear-gradient(to bottom, var(--pg-grid-fine) 1px, transparent 1px);
  background-size:
    var(--pg-module) var(--pg-module),
    var(--pg-module) var(--pg-module),
    calc(var(--pg-module) / 2) calc(var(--pg-module) / 2),
    calc(var(--pg-module) / 2) calc(var(--pg-module) / 2);
  background-position: center top;
  background-repeat: repeat;
  /* Soft fade into water — never louder than type */
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.7) 42%,
    rgba(0, 0, 0, 0.35) 62%,
    transparent 82%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.7) 42%,
    rgba(0, 0, 0, 0.35) 62%,
    transparent 82%
  );
  pointer-events: none;
}

/* Lang switch — quiet meta, top-left */
.lang-switch {
  position: absolute;
  top: clamp(1.1rem, 2.8vw, 1.85rem);
  left: clamp(1.1rem, 2.8vw, 2.25rem);
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  max-width: min(52vw, 16rem);
  animation: fade-in 1.1s ease both;
}

.lang-switch__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lang-switch__btn {
  margin: 0;
  padding: 0.15rem 0.1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-meta);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(15, 39, 68, 0.42);
  transition: color 0.2s ease;
}

.lang-switch__btn:hover,
.lang-switch__btn:focus-visible {
  color: var(--pg-navy);
  outline: none;
}

.lang-switch__btn.is-active {
  color: var(--pg-navy);
}

.hero__monogram {
  position: absolute;
  top: clamp(1.1rem, 2.8vw, 1.85rem);
  right: clamp(1.1rem, 2.8vw, 2.25rem);
  z-index: 3;
  width: clamp(2.6rem, 5.5vw, 3.65rem);
  height: auto;
  opacity: 0.96;
  animation: fade-in 1.1s ease both;
}

.hero__center {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Craft: wordmark ~38% from top — less empty grid above (CEO §4) */
  justify-content: flex-start;
  text-align: center;
  padding: clamp(22vh, 26vh, 30vh) 1.25rem 2rem;
  animation: rise-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__brand {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.hero__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.55rem, 8.2vw, 4.35rem);
  letter-spacing: 0.085em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--pg-navy);
  /* No shadow/ghost plate behind type */
  text-shadow: none;
}

.hero__meta {
  display: block;
  font-family: var(--font-meta);
  font-weight: 500;
  font-size: clamp(0.72rem, 1.7vw, 0.92rem);
  letter-spacing: 0.55em;
  line-height: 1.2;
  text-transform: uppercase;
  /* Optical center without indent remnant under GROUP */
  text-indent: 0;
  padding-left: 0.55em;
  color: rgba(15, 39, 68, 0.78);
}

.hero__payoff {
  margin: 0.9rem 0 0;
  font-family: var(--font-payoff);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.95rem, 2.1vw, 1.2rem);
  letter-spacing: 0.02em;
  color: var(--pg-clay);
  text-shadow: none;
}

/* Holding-line: AFTER hero — not inside .hero (CEO §3) */
.site-tagline {
  margin: 0;
  padding: 1.75rem 1.5rem 0.5rem;
  text-align: center;
  background: var(--pg-ground);
  font-family: var(--font-meta);
  font-size: clamp(0.68rem, 1.35vw, 0.8rem);
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: var(--pg-navy);
  opacity: 0.72;
  position: relative;
  z-index: 1;
}

/* —— Sections —— */

.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 72rem;
  margin: 0 auto;
}

.section__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-meta);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--pg-clay);
}

.section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--pg-navy);
}

.section__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1.05rem;
  color: rgba(15, 39, 68, 0.78);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--pg-grid);
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.pillar h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--pg-navy);
}

.pillar p {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(15, 39, 68, 0.72);
}

.pillar__label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-meta);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pg-clay);
}

.cta {
  background: var(--pg-navy);
  color: var(--pg-ground);
}

.cta .section {
  max-width: 48rem;
}

.cta .section__eyebrow {
  color: var(--pg-clay);
}

.cta .section__title {
  color: var(--pg-ground);
}

.cta .section__lead {
  color: rgba(247, 245, 241, 0.78);
}

.cta__link {
  display: inline-block;
  margin-top: 1.75rem;
  font-family: var(--font-meta);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pg-ground);
  border-bottom: 1px solid rgba(176, 125, 98, 0.85);
  padding-bottom: 0.35rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.cta__link:hover {
  color: var(--pg-clay);
  border-color: var(--pg-clay);
}

.site-footer {
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 2rem;
  text-align: center;
  font-family: var(--font-meta);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: rgba(15, 39, 68, 0.45);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .hero__center {
    justify-content: flex-start;
    padding-top: clamp(20vh, 24vh, 28vh);
    padding-bottom: 1.5rem;
  }

  .hero__mist img {
    object-position: center 40%;
  }

  .hero__monogram {
    width: clamp(2.35rem, 9vw, 3rem);
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .hero__center {
    padding-top: clamp(22vh, 25vh, 28vh);
  }

  .hero__mist img {
    object-position: center 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}


/* —— Cookie banner (functional consent) —— */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem clamp(1rem, 4vw, 1.75rem);
  background: rgba(15, 39, 68, 0.96);
  border-top: 1px solid rgba(176, 125, 98, 0.45);
  box-shadow: 0 -8px 28px rgba(15, 39, 68, 0.22);
  color: var(--pg-ground);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-banner__text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(247, 245, 241, 0.88);
  flex: 1;
  min-width: 14rem;
}

.cookie-banner__link {
  color: var(--pg-clay);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__link:hover {
  color: #d4a48c;
}

.cookie-banner__btn {
  flex-shrink: 0;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-meta);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.25rem;
  background: var(--pg-clay);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cookie-banner__btn:hover {
  background: #c48d6f;
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--pg-ground);
  outline-offset: 2px;
}

.site-footer__brand {
  margin: 0 0 0.65rem;
}

.site-footer__legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-meta);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__legal a {
  color: rgba(15, 39, 68, 0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__legal a:hover {
  color: var(--pg-navy);
  border-bottom-color: rgba(176, 125, 98, 0.7);
}

/* —— Legal pages —— */

.legal-body {
  background: var(--pg-ground);
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem clamp(1.25rem, 5vw, 3rem);
  background: #fff;
  border-bottom: 1px solid var(--pg-grid);
}

.legal-page__back {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: rgba(15, 39, 68, 0.55);
}

.legal-page__back:hover {
  color: var(--pg-clay);
}

.legal-page__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--pg-navy);
}

.lang-switch--legal {
  position: static;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.legal-page__main {
  flex: 1;
  width: min(42rem, 100%);
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 5vw, 2rem) 3.5rem;
}

.legal-page__main h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  color: var(--pg-navy);
}

.legal-page__updated {
  margin: 0 0 2rem;
  font-family: var(--font-meta);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(15, 39, 68, 0.5);
}

.legal-page__main section {
  margin-bottom: 1.6rem;
}

.legal-page__main h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-meta);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pg-clay);
}

.legal-page__main p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(15, 39, 68, 0.88);
}

.legal-page__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem) 2rem;
  border-top: 1px solid var(--pg-grid);
  font-family: var(--font-meta);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-page__footer a {
  color: rgba(15, 39, 68, 0.55);
  text-decoration: none;
}

.legal-page__footer a:hover {
  color: var(--pg-navy);
}

.legal-page__copy {
  margin: 0;
  width: 100%;
  text-align: center;
  color: rgba(15, 39, 68, 0.4);
  text-transform: none;
  letter-spacing: 0.04em;
}
