/* ============================================
   LINK. — shared site styles
   ============================================ */

:root {
  /* palette */
  --bg: #F2EDE3;
  --bg-2: #ECE6D7;
  --bg-3: #E5DDC9;
  --paper: #FAF7F0;
  --ink: #0B0B0B;
  --ink-soft: #2A2926;
  --mute: #6B665B;
  --line: #D6CEBD;
  --line-soft: #E3DBC8;
  --blue: #29B0F2;
  --blue-deep: #0F8DCB;
  --dark: #0B0B0B;
  --dark-text: #ECE6D7;
  --dark-mute: #8E8A7E;

  /* type scale */
  --t-mega:    clamp(96px, 14vw, 240px);
  --t-display: clamp(64px, 8vw, 144px);
  --t-h1:      clamp(48px, 5.4vw, 96px);
  --t-h2:      clamp(36px, 3.6vw, 64px);
  --t-h3:      clamp(22px, 1.7vw, 30px);
  --t-lede:    clamp(20px, 1.55vw, 26px);
  --t-body:    17px;
  --t-small:   14px;
  --t-eyebrow: 12px;

  --pad-x: clamp(24px, 5vw, 96px);
  --pad-y: clamp(80px, 9vw, 160px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue); color: var(--ink); }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 50%, transparent);
  transition: transform .4s var(--ease), background .3s ease;
}
.nav.hidden { transform: translateY(-100%); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad-x);
}
.logo {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-weight: 900; font-size: 26px; letter-spacing: -0.04em;
  color: var(--ink);
}
.logo .dot {
  width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  display: inline-block; margin-left: 2px;
  vertical-align: baseline;
}
.nav-links {
  display: flex; gap: 36px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft);
}
.nav-links a {
  position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 5px; height: 5px; background: var(--blue);
  border-radius: 50%; transform: translateY(-50%);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: transform .25s var(--ease), background .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--blue); color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-login {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav-login svg { width: 15px; height: 15px; opacity: 0.7; }
.nav-login:hover { color: var(--blue-deep); }
@media (max-width: 600px) { .nav-login span { display: none; } }

main { padding-top: 72px; }

/* ============ BUTTONS ============ */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue);
  color: var(--ink);
}
.btn-ghost {
  color: var(--ink); border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-primary .arrow, .btn-ghost .arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn-primary:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(4px); }

/* ============ SECTION ============ */
.section { padding: var(--pad-y) var(--pad-x); position: relative; }
.section + .section { padding-top: clamp(40px, 5vw, 80px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-eyebrow);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 600; color: var(--mute);
}
.eyebrow::before {
  content: none;
}
.punc { color: var(--blue); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(56px, 6vw, 96px);
}
.section-head h2 {
  font-size: var(--t-h1);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 14px 0 0;
  max-width: 14ch;
}
.section-head h2 .it {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400; font-style: italic; letter-spacing: -0.02em;
}
.section-head .lede {
  font-size: var(--t-lede);
  color: var(--ink-soft);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  line-height: 1.45;
  max-width: 50ch;
}

/* ============ MARQUEE ============ */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-size: clamp(28px, 3.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: inline-flex; align-items: center; gap: 60px;
}
.marquee-track .star {
  width: 14px; height: 14px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}
.marquee-track .it {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
  color: var(--blue);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ WATERMARK (big LINK. type) ============ */
.watermark {
  position: absolute;
  left: var(--pad-x); right: var(--pad-x);
  bottom: -40px;
  pointer-events: none;
  font-weight: 900;
  font-size: var(--t-mega);
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
  opacity: 0.07;
  user-select: none;
  z-index: 0;
}
.watermark .dot {
  width: clamp(20px, 2vw, 38px);
  height: clamp(20px, 2vw, 38px);
  background: var(--blue);
  border-radius: 50%;
  opacity: 1;
  display: inline-block;
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .36s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .48s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .60s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: .72s; }

/* ============ BLOB / DECOR ============ */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob.blue { background: var(--blue); }

/* ============ FOOTER ============ */
.footer-wrap { background: var(--ink); color: var(--dark-text); }
.footer-top {
  padding: clamp(64px, 7vw, 120px) var(--pad-x) clamp(32px, 4vw, 64px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 80px);
  border-bottom: 1px solid #1F1E1B;
}
.footer-top .col { display: flex; flex-direction: column; gap: 12px; }
.footer-top .k {
  text-transform: uppercase; font-size: 11px;
  letter-spacing: 0.18em; color: var(--dark-mute);
  font-weight: 600; margin-bottom: 6px;
}
.footer-top a {
  color: var(--dark-text); transition: color .2s ease;
}
.footer-top a:hover { color: var(--blue); }
.footer-tagline {
  color: var(--dark-mute);
  max-width: 32ch;
  margin-top: 8px;
}
.footer-mega {
  padding: 0 var(--pad-x);
  font-weight: 900;
  font-size: clamp(90px, 15vw, 240px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: var(--paper);
  display: flex; align-items: baseline;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.footer-mega .dot {
  width: clamp(18px, 2.6vw, 42px);
  height: clamp(18px, 2.6vw, 42px);
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
  margin-left: 14px;
}
.footer-bottom {
  padding: 28px var(--pad-x);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--dark-mute); font-size: 13px;
  border-top: 1px solid #1F1E1B;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .blue { color: var(--blue); }

/* ============ UTILS ============ */
.stack { display: flex; flex-direction: column; }
.row { display: flex; }
.spacer { flex: 1; }
.italic-serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic; font-weight: 400;
}

/* ============ MARQUEE (deprecated — kept for safety) ============ */
.marquee { display: none; }

/* ============ PHOTO CAPTION (shared) ============ */
.photo-caption {
  display: block;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
}
.photo-caption b {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  margin-right: 6px;
}
.photo-caption em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--blue);
  font-weight: 400;
}
.service-detail.dark .photo-caption { color: var(--dark-text); }
.service-detail.dark .photo-caption b { color: var(--paper); }

/* ============ SIDE-PHOTO (reusable) ============ */
.side-photo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-3);
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(0,0,0,0.045) 18px 19px);
}
.photo-frame.portrait { aspect-ratio: 2 / 3; }
.photo-frame.square { aspect-ratio: 1 / 1; }
.photo-frame image-slot {
  width: 100%; height: 100%; display: block;
}
.photo-frame .tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--paper); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  z-index: 5; pointer-events: none;
}
.photo-frame .tag .dot {
  width: 7px; height: 7px; background: var(--blue); border-radius: 50%;
}
.section.dark .photo-frame { background: #13120F; }
.section.dark .photo-frame .tag,
.approach-preview .photo-frame .tag {
  background: var(--paper); color: var(--ink);
}

/* Section-head with side photo */
.section-head-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(56px, 6vw, 96px);
}
.section-head-photo .side-photo {
  align-self: start;
}
.section-head-photo .intro h2 {
  font-size: var(--t-h1);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 14px 0 0;
  max-width: 14ch;
}
.section-head-photo .intro h2 .it {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-weight: 400; font-style: italic; letter-spacing: -0.02em;
}
.section-head-photo .intro h2 .punc { color: var(--blue); }
.section-head-photo .intro .lede {
  font-size: var(--t-lede);
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 50ch;
  margin-top: 24px;
}
.section-head-photo.dark .intro .lede { color: var(--dark-mute); }
.section-head-photo.dark .intro h2 { color: var(--paper); }

/* ============ GALLERY STRIP (Home) ============ */
.gallery-strip {
  padding: clamp(40px, 5vw, 80px) var(--pad-x) clamp(40px, 5vw, 80px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 14px;
  align-items: stretch;
}
.gallery-slot {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-3);
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(0,0,0,0.045) 18px 19px);
  aspect-ratio: 3 / 2;
}
.gallery-slot image-slot {
  width: 100%; height: 100%; display: block;
}
.gallery-slot.tall {
  grid-row: 1 / span 2;
  aspect-ratio: 2 / 3;
}
.gallery-slot.wide {
  grid-column: 2; grid-row: 2;
  aspect-ratio: auto;
}
.gallery-tag {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--paper); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 5; pointer-events: none;
}

/* Gallery caption strip */
.gallery-captions {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 14px;
}
.gallery-captions .col {
  display: flex; flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.gallery-captions .col.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 0; border-top: none;
}
.gallery-captions .col.split > div {
  display: flex; flex-direction: column;
  gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.gallery-captions .ctitle {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--blue);
}
.gallery-captions .cbody {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 38ch;
}

/* ============ CANDID STRIP (Verhaal) ============ */
.candid-strip {
  padding: clamp(40px, 5vw, 80px) var(--pad-x) clamp(40px, 5vw, 80px);
}
.candid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.candid-item {
  display: flex; flex-direction: column;
  gap: 16px;
}
.candid-slot {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-3);
  background-image: repeating-linear-gradient(135deg, transparent 0 18px, rgba(0,0,0,0.045) 18px 19px);
}
.candid-slot image-slot {
  width: 100%; height: 100%; display: block;
}
.candid-tag {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--paper); color: var(--ink);
  padding: 7px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 5; pointer-events: none;
}
.candid-cap {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 42ch;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.candid-cap b {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  margin-right: 8px;
}

/* ============ MOBILE NAV DRAWER ============ */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform .3s var(--ease), opacity .2s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: color-mix(in oklab, var(--ink) 40%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-drawer.open { opacity: 1; visibility: visible; }
.nav-drawer-inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(82vw, 360px);
  background: var(--bg);
  box-shadow: -20px 0 60px rgba(0,0,0,0.22);
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  overflow-y: auto;
}
.nav-drawer.open .nav-drawer-inner { transform: translateX(0); }
.nav-drawer-inner a {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav-drawer-inner a.active { color: var(--blue-deep); }
.nav-drawer-div { height: 18px; }
.nav-drawer-inner a.dr-login {
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 12px 0;
}
.nav-drawer-inner a.dr-cta {
  border: none;
  margin-top: 8px;
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  border-radius: 999px;
  padding: 16px 24px;
  font-size: 16px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .section-head { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; height: auto; }
  .gallery-slot.tall { grid-row: auto; aspect-ratio: 4 / 5; }
  .gallery-slot { aspect-ratio: 5 / 4; }
  .gallery-slot.wide { grid-column: 1; grid-row: auto; }
  .candid-grid { grid-template-columns: 1fr; }
}

/* ============ SMALL PHONE ============ */
@media (max-width: 600px) {
  :root {
    --pad-x: 20px;
  }
  .nav-cta { display: none; }
  .nav-login { display: none; }
  main { padding-top: 64px; }
  .nav-inner { padding: 14px var(--pad-x); }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-mega { font-size: 26vw; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .eyebrow { font-size: 11px; }
}
