/* Godijn Agenturen — static site, no build step */

:root {
  --forest: #1c2b24;
  --forest-mid: #2a3f35;
  --cream: #f1e8d7;
  --paper: #faf7f2;
  --ink: #171512;
  --muted: #5e584f;
  --gold: #c4a574;
  --gold-dim: #b08a58;
  --line: rgba(23, 21, 18, 0.12);
  --line-strong: rgba(23, 21, 18, 0.22);
  --white: #fffdf9;
  --shadow: 0 24px 60px rgba(23, 21, 18, 0.12);
  --radius: 18px;
  --header-h: 96px;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: var(--cream);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--gold-dim);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.lead {
  font-size: 1.15rem;
  color: var(--forest);
  max-width: 42rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  padding-top: max(1rem, env(safe-area-inset-top));
  padding-bottom: 1rem;
  align-items: center;
  min-height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s;
}

.site-header.is-solid,
.site-header.is-scrolled,
.site-header.is-menu {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  width: min(calc(100% - 2.5rem), 1480px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 72px;
  height: 72px;
  border-radius: 15%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.logo-text span {
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header .logo-text,
.site-header .logo-text strong,
.site-header .logo-text span {
  color: var(--gold);
}

.page-home .site-header:not(.is-scrolled):not(.is-menu) .nav-list a,
.page-inner .site-header:not(.is-scrolled):not(.is-solid):not(.is-menu) .nav-list a {
  color: var(--cream);
}

.page-home .site-header:not(.is-scrolled):not(.is-menu) .nav-toggle span,
.page-inner .site-header:not(.is-scrolled):not(.is-solid):not(.is-menu) .nav-toggle span {
  background: var(--cream);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-language {
  list-style: none;
}

.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

.language-flag {
  order: -1;
  width: 24px;
  height: 16px;
  margin-right: 0.5rem;
  border-radius: 2px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(23, 21, 18, 0.18);
}

.language-flag[data-language-flag="nl"] {
  background-image: url("../img/flag-nl.svg");
}

.language-flag[data-language-flag="en"] {
  background-image: url("../img/flag-gb.svg");
}

.language-flag[data-language-flag="de"] {
  background-image: url("../img/flag-de.svg");
}

.language-switcher select {
  appearance: none;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 0.4rem 1.8rem 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}

.language-switcher select option {
  color: #000;
}

.page-home .site-header:not(.is-scrolled):not(.is-menu) .language-switcher select,
.page-inner .site-header:not(.is-scrolled):not(.is-solid):not(.is-menu) .language-switcher select {
  color: var(--cream);
}

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

.nav-list a {
  font-size: 0.92rem;
  font-weight: 450;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav-list a:hover::after,
.nav-list a.is-active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--forest-mid);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: #d4b78a;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--ink);
  transition: 0.25s var(--ease);
}

.site-nav.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.site-nav.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-nav.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-media,
.hero-media img,
.page-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  object-position: center 50%;
}

.hero-media::after,
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 18, 16, 0.45) 0%, rgba(14, 18, 16, 0.18) 38%, rgba(14, 18, 16, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.25rem) clamp(1.5rem, 4.5vw, 3.5rem) clamp(2.75rem, 10vh, 6.5rem);
}

.hero h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

html[lang="en"] .hero h2,
html[lang="de"] .hero h2 {
  max-width: 18ch;
  font-size: clamp(2.3rem, 4.8vw, 4.8rem);
}

.hero .lead {
  color: rgba(244, 239, 230, 0.86);
  max-width: 36rem;
  margin-bottom: 0;
}

.page-hero {
  position: relative;
  min-height: 52svh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.page-hero-tall {
  min-height: 82svh;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 16ch;
}

/* Sections */

#over,
#over-mij {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.section {
  padding: 6.5rem 0;
}

.page-inner > main.section {
  padding-top: calc(var(--header-h) + 2.5rem);
}

.section-tight {
  padding: 4.5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 28rem);
  gap: 2rem 4rem;
  margin-bottom: 3.5rem;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  max-width: 14ch;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.section > .wrap + .wrap {
  margin-top: 5.5rem;
}

.split-visual {
  position: relative;
}

.split-visual img {
  width: 100%;
  height: min(70vh, 640px);
  object-fit: cover;
  border-radius: var(--radius);
}

.about-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.6rem;
}

.about-heading h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
}

.about-heading h1.reveal {
  font-size: clamp(2.85rem, 5vw, 4.2rem);
}

.profile-photo {
  width: 196px;
  height: 196px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(23, 21, 18, 0.12);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  background: var(--forest);
  color: var(--cream);
  border-radius: 28px;
  padding: 3.2rem 3rem;
  overflow: hidden;
  position: relative;
}

.cta-panel h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 0.8rem;
}

.cta-panel p {
  color: rgba(244, 239, 230, 0.78);
  max-width: 38rem;
}

.cta-panel .btn-gold {
  justify-self: end;
}

.brand {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem;
}

.brand-logo-panel {
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 14px;
  min-height: 280px;
  padding: 2.2rem;
}

.brand-logo-panel img {
  width: min(100%, 280px);
  height: auto;
  border-radius: 16px;
}

.brand-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 0.85rem;
}

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

.brand-feature {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}

.brand-media {
  margin: 0;
}

.brand-media img,
.brand-slider img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.brand-slider {
  position: relative;
  min-height: 360px;
  height: 100%;
  overflow: hidden;
  background: var(--forest);
}

.brand-slider-viewport {
  position: absolute;
  inset: 0;
}

.brand-slider img {
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}

.brand-slider img.is-active {
  opacity: 1;
}

.brand-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.88);
  color: var(--ink);
  cursor: pointer;
  transform: translateY(-50%);
}

.brand-slider-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.brand-slider-btn.is-prev {
  left: 0.85rem;
}

.brand-slider-btn.is-prev::before {
  transform: rotate(135deg);
  margin-left: 4px;
}

.brand-slider-btn.is-next {
  right: 0.85rem;
}

.brand-slider-btn.is-next::before {
  transform: rotate(-45deg);
  margin-right: 4px;
}

.brand-slider-btn:hover {
  background: var(--white);
}

.brand-slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.brand-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.45);
  cursor: pointer;
}

.brand-slider-dots button.is-active {
  background: var(--gold);
  width: 18px;
  border-radius: 999px;
}

.brand-feature .brand-copy {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 2.3rem;
}

.brand-feature .brand-actions {
  margin-top: auto;
  padding-top: 1.6rem;
}

.brand-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.brand-heading h2 {
  margin-bottom: 0;
}

.brand-mark {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

.brand-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn:focus-visible,
.nav-list a:focus-visible,
.language-switcher select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */

.site-footer {
  background: var(--forest);
  color: rgba(244, 239, 230, 0.78);
  padding: 4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
}

.site-footer h3 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
}

.site-footer .logo-text span {
  color: var(--gold);
}

.site-footer .logo-text strong {
  color: var(--gold);
}

.site-footer p {
  max-width: 28rem;
  margin-top: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.3rem;
  font-size: 0.82rem;
  opacity: 0.7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s var(--ease) forwards;
  color: var(--gold);
}

.reveal-2 { animation-delay: 0.12s; }
.reveal-3 { animation-delay: 0.22s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .btn:hover { transform: none; }
  .brand-slider img { transition: none; }
}

@media (min-width: 821px) {
  .logo-mark {
    width: 88px;
    height: 88px;
  }
}

@media (max-height: 900px) {
  .hero h2,
  html[lang="en"] .hero h2,
  html[lang="de"] .hero h2 {
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    margin-bottom: 0.75rem;
  }

  .hero .lead {
    font-size: 1.02rem;
  }

  .hero .lead br {
    display: none;
  }

  .hero-content {
    padding-bottom: 2.25rem;
  }
}

@media (max-height: 740px) {
  .hero h2,
  html[lang="en"] .hero h2,
  html[lang="de"] .hero h2 {
    font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  }
}

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

  .split,
  .split.reverse,
  .section-head,
  .cta-panel,
  .brand {
    grid-template-columns: 1fr;
  }

  .split.reverse > .split-visual {
    order: 2;
  }

  .split.reverse > div {
    order: 1;
  }

  .cta-panel .btn-gold {
    justify-self: start;
  }

  .split-visual img {
    height: min(42vh, 420px);
  }

  .brand {
    padding: 1.4rem;
  }

  .brand-feature {
    padding: 0;
  }

  .brand-feature .brand-copy {
    padding: 1.4rem;
  }

  .brand-media img,
  .brand-slider {
    min-height: 240px;
  }

  .brand-logo-panel {
    min-height: 220px;
    padding: 1.6rem;
  }

  .about-heading {
    flex-wrap: wrap;
  }

  .profile-photo {
    width: 132px;
    height: 132px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 72px;
  }

  .wrap,
  .header-inner,
  .page-hero-content {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .site-header {
    padding-top: max(0.55rem, env(safe-area-inset-top));
    padding-bottom: 0.55rem;
  }

  .logo-mark {
    width: 52px;
    height: 52px;
  }

  .logo-text strong {
    font-size: 1.2rem;
  }

  .logo-text span {
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    padding: 0.5rem 1.25rem max(1.4rem, env(safe-area-inset-bottom));
    box-shadow: var(--shadow);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
  }

  .nav-language {
    padding: 0.9rem 0 0.2rem;
  }

  .language-switcher {
    margin: 0;
    width: 100%;
  }

  .language-flag {
    margin-right: 0.5rem;
  }

  .language-switcher select {
    color: var(--ink) !important;
    width: 100%;
    min-height: 44px;
    border-color: var(--line-strong);
  }

  .site-nav.is-open .nav-list {
    display: flex;
  }

  .nav-list a {
    padding: 0.9rem 0;
    color: var(--ink) !important;
  }

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

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
  }

  .hero-content {
    padding-bottom: max(2.4rem, calc(env(safe-area-inset-bottom) + 1.5rem));
  }

  .hero .lead br {
    display: none;
  }

  .hero h2,
  html[lang="en"] .hero h2,
  html[lang="de"] .hero h2 {
    max-width: none;
    font-size: clamp(2.4rem, 11vw, 3.4rem);
    margin-bottom: 1.2rem;
  }

  .hero .lead {
    margin-bottom: 0;
    font-size: 1.02rem;
  }

  .page-hero {
    min-height: 42svh;
  }

  .page-hero-tall {
    min-height: 46svh;
  }

  .page-hero-content {
    padding: calc(var(--header-h) + 1.6rem) 0 2rem;
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .section,
  .section-tight {
    padding: 3.4rem 0;
  }

  .section > .wrap + .wrap {
    margin-top: 3.2rem;
  }

  .about-heading {
    margin-bottom: 1.4rem;
    align-items: flex-start;
  }

  .about-heading h1,
  .about-heading h1.reveal {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
  }

  .profile-photo {
    width: 96px;
    height: 96px;
  }

  .split-visual img {
    height: min(36vh, 280px);
  }

  .cta-panel {
    padding: 1.6rem 1.2rem;
    border-radius: 20px;
  }

  .cta-panel .btn,
  .brand-actions .btn {
    width: 100%;
  }

  .site-footer {
    padding: 3rem 0 1.4rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 64px;
  }

  .site-header .logo-text {
    display: none;
  }

  .logo-mark {
    width: 44px;
    height: 44px;
  }

  .about-heading {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .profile-photo {
    width: 88px;
    height: 88px;
  }
}
