/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --soft-white:  #FAF8F5;
  --creme:       #F5F1EC;
  --parchment:   #EDE8E0;
  --warm-grey:   #C8C2B8;
  --deep-black:  #1A1A18;

  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', Helvetica, Arial, sans-serif;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
  background: var(--soft-white);
  color: var(--deep-black);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Quiet paper grain — subtle, gives the flat palette a tactile, printed quality */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: var(--noise);
}

::selection { background: var(--deep-black); color: var(--soft-white); }

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

/* ─── Typography ───────────────────────────────────────── */
.serif { font-family: var(--serif); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--warm-grey);
}

/* ─── Nav ──────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 60px;
  background: transparent;
  transition: background 0.4s, padding 0.4s;
}

nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  padding: 18px 60px;
  border-bottom: 1px solid var(--parchment);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 56px;
  width: auto;
  display: block;
  transition: opacity 0.3s;
}

.nav-logo:hover img { opacity: 0.75; }

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--deep-black);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

/* ─── Mobile nav (hamburger) ───────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 110;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--nav-toggle-color, var(--deep-black));
  transition: transform 0.3s ease, opacity 0.3s ease;
}
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,24,0.4);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.35s ease;
}
nav.nav-open + .nav-scrim {
  display: block;
  opacity: 1;
}

body.nav-locked { overflow: hidden; }

@media (max-width: 860px) {
  nav, nav.scrolled { padding: 18px 24px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    z-index: 105;
    height: 100vh;
    width: min(78vw, 340px);
    background: var(--soft-white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 100px 44px;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(.4,0,.2,1);
    box-shadow: -16px 0 48px rgba(26,26,24,0.12);
  }
  nav.nav-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 13px; color: var(--deep-black) !important; }
}

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.hero-image {
  background: var(--parchment);
  position: relative;
  overflow: hidden;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--creme) 0%, var(--parchment) 55%, #DDD7CF 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 12px;
  padding: 28px;
  color: var(--warm-grey);
}

/* Grain on every placeholder surface — reads as paper / matte print rather than a UI hole */
.placeholder-image::before,
.port-thumb::before,
.moodboard-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: var(--noise);
}

/* Soft directional vignette — gives the gradient a sense of depth, like raking light */
.placeholder-image::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 85% 110%, rgba(26,26,24,0.07), transparent 60%);
}

.placeholder-image .ph-icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--deep-black);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.32;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.placeholder-image span {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--deep-black);
  opacity: 0.4;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 72px;
  background: var(--soft-white);
}

.hero-content .label { margin-bottom: 24px; }

.hero-content h1 {
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--warm-grey);
}

.hero-content p {
  font-size: 14px;
  color: #666;
  max-width: 380px;
  margin-bottom: 48px;
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--deep-black);
  padding: 14px 32px;
  transition: background 0.4s cubic-bezier(.4,0,.2,1), color 0.4s cubic-bezier(.4,0,.2,1), border-color 0.4s cubic-bezier(.4,0,.2,1);
  width: fit-content;
}

.btn:hover {
  background: var(--deep-black);
  color: var(--soft-white);
}

.btn-arrow { font-size: 16px; transition: transform 0.4s cubic-bezier(.4,0,.2,1); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-scroll .label { color: var(--warm-grey); font-size: 8px; }

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--warm-grey), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ─── Section base ─────────────────────────────────────── */
section { padding: 120px 60px; }

.section-inner { max-width: 1200px; margin: 0 auto; }

/* ─── Intro / Philosophy ───────────────────────────────── */
.philosophy {
  background: var(--deep-black);
  color: var(--soft-white);
  padding: 100px 60px;
}

.philosophy .section-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: end;
}

.philosophy .label { color: var(--warm-grey); }
.philosophy .label-block { padding-top: 8px; }

.philosophy h2 { margin-bottom: 32px; }

.philosophy p {
  font-size: 15px;
  color: var(--warm-grey);
  line-height: 1.85;
  max-width: 560px;
}


/* ─── Portfolio preview ────────────────────────────────── */
.portfolio-preview { background: var(--creme); }

.portfolio-preview .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}

.portfolio-preview .link-subtle {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--warm-grey);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.portfolio-preview .link-subtle:hover { border-color: var(--deep-black); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 400px 280px;
  gap: 4px;
}

.portfolio-item { overflow: hidden; position: relative; }
.portfolio-item.large { grid-row: 1 / 3; }

.portfolio-item .placeholder-image {
  height: 100%;
  transition: transform 0.6s cubic-bezier(.2,.6,.2,1);
}
.portfolio-item:hover .placeholder-image { transform: scale(1.03); }
.portfolio-item:nth-child(2) .placeholder-image { background: linear-gradient(135deg, #EDE8E0 0%, #E0DAD2 55%, #CFC9C0 100%); }
.portfolio-item:nth-child(3) .placeholder-image { background: linear-gradient(150deg, #E5E0D8 0%, #D8D2CA 55%, #C2B9AE 100%); }
.portfolio-item:nth-child(4) .placeholder-image { background: linear-gradient(120deg, #F0ECE6 0%, #E5E0D8 55%, #D8D2CA 100%); }
.portfolio-item:nth-child(5) .placeholder-image { background: linear-gradient(135deg, #E8E3DC 0%, #D8D2CA 55%, #BFB6AA 100%); }

.portfolio-item-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
  background: rgba(250,248,245,0.85);
  padding: 6px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.portfolio-item:hover .portfolio-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Services ─────────────────────────────────────────── */
.services-section { background: var(--soft-white); }

.services-section .top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--parchment);
  padding: 40px 36px;
  border-top: 1.5px solid var(--deep-black);
  transition: background 0.4s ease, transform 0.4s ease;
}
.service-card:hover {
  background: var(--soft-white);
  transform: translateY(-4px);
}

.service-number {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--warm-grey);
  margin-bottom: 24px;
  transition: color 0.4s ease;
}
.service-card:hover .service-number { color: var(--deep-black); }

.service-card h3 { margin-bottom: 16px; font-size: 1.3rem; }
.service-card p { font-size: 13px; color: #777; line-height: 1.8; }

/* ─── About strip ──────────────────────────────────────── */
.about-strip {
  background: var(--parchment);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.about-strip-image {
  background: var(--warm-grey);
  min-height: 500px;
}

.about-strip-content {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-strip-content .label { margin-bottom: 24px; }
.about-strip-content h2 { margin-bottom: 28px; }
.about-strip-content p { font-size: 14px; color: #666; line-height: 1.85; margin-bottom: 40px; }

/* ─── Sub-brands ───────────────────────────────────────── */
.brands-section { background: var(--creme); }

/* Kaartkleur is exact gemeten op de achtergrond van RL.PNG (#FAF9F7) zodat
   het logo er zonder zichtbare naad in overloopt. Schaduw i.p.v. een harde
   rand geeft de kaart diepte zonder een lelijke tweekleurige rand. */
.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 480px;
  margin: 0 auto;
  padding: 64px 64px 56px;
  background: #FAF9F7;
  box-shadow: 0 1px 3px rgba(26,26,24,0.04), 0 12px 32px rgba(26,26,24,0.05);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 6px rgba(26,26,24,0.05), 0 20px 40px rgba(26,26,24,0.08);
}

.brand-card img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.brand-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid var(--deep-black);
  padding-bottom: 3px;
}

.brand-card:hover .brand-card-cta .btn-arrow { transform: translateX(5px); }

/* ─── Contact strip ────────────────────────────────────── */
.contact-strip {
  background: var(--deep-black);
  color: var(--soft-white);
  padding: 100px 60px;
  text-align: center;
}

.contact-strip .section-inner {
  max-width: 640px;
}

.contact-strip .label { color: var(--warm-grey); margin-bottom: 24px; }
.contact-strip h2 { margin-bottom: 20px; }
.contact-strip p { font-size: 14px; color: var(--warm-grey); line-height: 1.8; margin-bottom: 48px; }

.btn-light {
  border-color: var(--warm-grey);
  color: var(--soft-white);
}
.btn-light:hover {
  background: var(--soft-white);
  color: var(--deep-black);
  border-color: var(--soft-white);
}

/* ─── Footer ───────────────────────────────────────────── */
footer {
  background: var(--deep-black);
  color: var(--warm-grey);
  border-top: 1px solid #2A2A28;
  padding: 48px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo .logo-number {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--soft-white);
}

.footer-logo .logo-suite,
.footer-logo .logo-editions {
  font-size: 7.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--soft-white); }

.footer-copy { font-size: 10px; letter-spacing: 0.1em; }

/* ─── Mobile layout (shared sections) ───────────────────── */
@media (max-width: 860px) {
  section { padding: 72px 24px; }
  .section-inner { max-width: 100%; }

  h1 { font-size: clamp(2.4rem, 10vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }

  /* Hero: stack image above text, let height follow content */
  .hero {
    height: auto;
    grid-template-columns: 1fr;
  }
  .hero-image { height: 52vh; }
  .hero-content { padding: 48px 24px 64px; }
  .hero-content h1 { max-width: 100%; }
  .hero-content p { max-width: 100%; }
  .hero-scroll { display: none; }

  /* Philosophy */
  .philosophy { padding: 64px 24px; }
  .philosophy .section-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Portfolio preview grid */
  .portfolio-preview .top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .portfolio-item.large { grid-row: auto; }
  .portfolio-item .placeholder-image { height: 280px; }
  .portfolio-item-label {
    opacity: 1;
    transform: none;
    position: static;
    background: none;
    padding: 12px 0 0;
  }

  /* Services preview grid (homepage) */
  .services-section .top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .services-grid { grid-template-columns: 1fr; gap: 1px; }

  /* About strip */
  .about-strip { grid-template-columns: 1fr; min-height: auto; }
  .about-strip-image { min-height: 280px; }
  .about-strip-content { padding: 56px 24px; }

  /* Sub-brands */
  .brand-card { padding: 44px 28px 40px; max-width: 100%; }

  /* Contact strip */
  .contact-strip { padding: 64px 24px; }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 24px;
    padding: 40px 24px;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px 24px; }
}
