/* ================================================================
   Studio Bartholomeus — v5 — Refined
   Toon: architectural design studio. Calm, premium, crafted.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=DM+Mono:wght@300;400&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --paper:  #F5F1EA;
  --bone:   #ECE7DE;
  --sand:   #E4DDD3;
  --ink:    #191714;
  --warm:   #3A3530;
  --dust:   #8A8177;
  --line:   #D5CECC;
  --amber:  #A86F32;
  --amber2: #C49060;
  --night:  #131109;
  --night2: #1C1A15;

  --serif: 'Playfair Display', Georgia, serif;
  --mono:  'DM Mono', monospace;
  --sans:  'DM Sans', system-ui, sans-serif;

  --max:  1200px;
  --wide: 1440px;
  --t:    .3s cubic-bezier(.4,0,.2,1);

  --header-h: 92px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: pageIn .4s ease both;
}
@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
a { color: inherit; text-decoration: none; transition: var(--t); }
img { display: block; max-width: 100%; height: auto; }
p { color: var(--warm); }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Type ───────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.9rem); }

.label {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dust);
  display: block;
  margin-bottom: 1.2rem;
}
.lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: var(--warm);
  font-weight: 300;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container      { width: min(calc(100% - 48px), var(--max));  margin: 0 auto; }
.container-wide { width: min(calc(100% - 48px), var(--wide)); margin: 0 auto; }
.pad            { padding-left: 48px; padding-right: 48px; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem;
  font-family: var(--mono); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink);
  background: transparent; transition: var(--t); white-space: nowrap;
}
.btn:hover          { background: var(--ink); color: var(--paper); }
.btn-filled         { background: var(--ink); color: var(--paper); }
.btn-filled:hover   { background: var(--warm); border-color: var(--warm); }
.btn-amber          { background: var(--amber); color: var(--paper); border-color: var(--amber); }
.btn-amber:hover    { background: var(--warm); border-color: var(--warm); }
.btn-ghost          { border-color: rgba(245,241,234,.25); color: var(--paper); }
.btn-ghost:hover    { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-sm             { padding: .65rem 1.2rem; font-size: .62rem; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245,241,234,.97);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.4,0,.2,1), background .3s ease, opacity .3s ease;
}
/* Header hides when scrolling down, reappears on scroll up */
.site-header.hide { transform: translateY(-100%); }
.site-header.at-top { border-bottom-color: transparent; background: rgba(245,241,234,.0); }
.site-header.at-top .site-nav a { color: var(--dust); }
.header-inner {
  max-width: var(--wide); margin: 0 auto;
  padding: 0 40px;
  height: var(--header-h);
  display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}

/* ── LOGO — mark + text, strong presence ───────────────── */
.site-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img {
  height: 72px; width: auto;
  flex-shrink: 0;
  transition: opacity var(--t);
  mix-blend-mode: multiply;
}
.site-logo:hover img { opacity: .55; }
.site-logo-name {
  font-family: var(--serif);
  font-size: .92rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .07em;
  color: var(--ink);
  text-transform: uppercase;
  transition: opacity var(--t);
  display: none;
}

/* ── Nav ────────────────────────────────────────────────────── */
.site-nav {
  display: flex; gap: 2.25rem; align-items: center;
  flex: 1; justify-content: center;
}
.site-nav a {
  font-family: var(--mono); font-size: 14px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); position: relative; padding-bottom: 3px;
  transition: color var(--t);
  font-weight: 400;
}
.site-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; right: 0;
  height: 1px; background: var(--amber);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.site-nav a:hover  { color: var(--ink); }
.site-nav a.active { color: var(--ink); font-weight: 400; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { color: var(--ink); font-weight: 400; }

.header-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; flex-basis: 220px; justify-content: flex-end; }
.lang-switch {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .10em;
  text-transform: uppercase; color: var(--warm);
  padding: 6px 11px; border: 1px solid var(--line);
  transition: var(--t);
}
.lang-switch:hover { color: var(--ink); border-color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); transition: var(--t); }

.mobile-nav {
  display: none; position: fixed;
  inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper);
  padding: 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; flex-direction: column; }
.mobile-nav a {
  font-family: var(--serif); font-size: 2.2rem;
  color: var(--ink); padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--amber); }
.mobile-lang { padding: 20px 0 0; font-family: var(--mono); font-size: .72rem; color: var(--dust); }

.site-main { padding-top: var(--header-h); min-height: 100vh; }

/* ── HOME HERO ──────────────────────────────────────────────── */
.home-hero {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100vh - var(--header-h));
}
.home-hero-visual {
  position: relative; overflow: hidden;
  background: var(--night);
  min-height: 72vh;
  display: flex; align-items: flex-end;
}
.home-hero-visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .68;
  transition: transform 10s ease, opacity .6s ease;
}
.home-hero-visual:hover img { transform: scale(1.025); }

/* Hero placeholder — elegant, intentional */
.home-hero-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  background: linear-gradient(160deg, #1C1A15 0%, #0E0C09 100%);
}
.home-hero-placeholder img {
  height: 140px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .06;
  position: static;
}
.home-hero-placeholder-text {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(245,241,234,.15);
}

.home-hero-overlay {
  position: relative; z-index: 2;
  padding: 56px 56px 48px;
  background: linear-gradient(to top, rgba(19,17,9,.9) 0%, rgba(19,17,9,.35) 50%, transparent 100%);
  width: 100%;
}
.home-hero-label {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(245,241,234,.4);
  display: block; margin-bottom: 20px;
}
.home-hero-title {
  font-family: var(--serif); font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 400; line-height: .96; color: var(--paper);
  letter-spacing: -.025em; max-width: 12ch;
}
.home-hero-title em { font-style: italic; color: var(--amber2); }

.home-hero-bottom {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 32px;
  padding: 32px 56px 36px;
  border-top: 1px solid rgba(213,206,204,.18);
  background: var(--paper);
}
.home-hero-statement {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--warm); line-height: 1.55; max-width: 48ch;
}
.home-hero-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── WORK INTRO ─────────────────────────────────────────────── */
.work-intro {
  padding: 88px 56px 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end;
  max-width: var(--wide); margin: 0 auto;
}
.work-intro h2 { line-height: 1.08; }

/* ── EDITORIAL PROJECT GRID ─────────────────────────────────── */
.projects-editorial {
  padding: 0 56px 120px;
  max-width: var(--wide); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
}
.proj-card {
  display: block; position: relative;
  overflow: hidden; background: var(--bone);
  cursor: pointer; transition: opacity var(--t);
}
.proj-card:hover { opacity: .95; }

/* Asymmetric layout */
.proj-card:nth-child(1)   { grid-column: span 7; grid-row: span 2; }
.proj-card:nth-child(2)   { grid-column: span 5; }
.proj-card:nth-child(3)   { grid-column: span 5; }
.proj-card:nth-child(4)   { grid-column: span 4; }
.proj-card:nth-child(5)   { grid-column: span 4; }
.proj-card:nth-child(6)   { grid-column: span 4; }
.proj-card:nth-child(n+7) { grid-column: span 6; }

.proj-card-media {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  position: relative;
}
.proj-card:nth-child(1) .proj-card-media {
  aspect-ratio: auto; height: 100%; min-height: 520px;
}
.proj-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.proj-card:hover .proj-card-media img { transform: scale(1.04); }

/* Elegant placeholder — NOT broken, intentional */
.proj-card-placeholder {
  width: 100%; min-height: 320px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  background: var(--bone);
  position: relative; overflow: hidden;
}
.proj-card:nth-child(1) .proj-card-placeholder { min-height: 520px; }

/* Subtle texture lines as placeholder art */
.proj-card-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 12px,
    rgba(138,129,119,.06) 12px,
    rgba(138,129,119,.06) 13px
  );
}
.proj-card-placeholder-mark {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.proj-card-placeholder-mark img {
  height: 56px; width: auto;
  mix-blend-mode: multiply; opacity: .12;
}
.proj-card-placeholder-mark span {
  font-family: var(--mono); font-size: .55rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--dust); opacity: .6;
}

.proj-card-info {
  padding: 18px 22px 22px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.proj-card-meta {
  font-family: var(--mono); font-size: .56rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--dust); margin-bottom: 8px;
  display: flex; gap: 10px; align-items: center;
}
.proj-card-meta::before {
  content: ''; width: 16px; height: 1px;
  background: var(--amber); flex-shrink: 0;
}
.proj-card-title {
  font-family: var(--serif); font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 400; color: var(--ink); line-height: 1.18;
  margin-bottom: 6px;
}
.proj-card-excerpt {
  font-size: .83rem; color: var(--dust); line-height: 1.55; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.proj-card-arrow {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; margin-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .58rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--dust); transition: color var(--t);
}
.proj-card:hover .proj-card-arrow { color: var(--amber); }
.proj-card:hover .proj-card-title { color: var(--amber); transition: color .3s ease; }

/* ── PROJECT DETAIL ─────────────────────────────────────────── */
.project-hero {
  min-height: 78vh; position: relative;
  overflow: hidden; background: var(--night);
  display: flex; align-items: flex-end;
}
.project-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: .65;
}

/* Project hero placeholder */
.project-hero-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1C1A15 0%, #0E0C09 100%);
  display: flex; align-items: center; justify-content: center;
}
.project-hero-placeholder img {
  height: 120px; filter: brightness(0) invert(1); opacity: .05;
}

.project-hero-content {
  position: relative; z-index: 2;
  padding: 72px 56px;
  background: linear-gradient(to top, rgba(19,17,9,.88) 0%, rgba(19,17,9,.2) 55%, transparent 100%);
  width: 100%;
}
.project-hero-content .label { color: rgba(245,241,234,.4); margin-bottom: 1rem; }
.project-hero-back {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(245,241,234,.35);
  display: inline-block; margin-bottom: 24px;
  transition: color var(--t);
}
.project-hero-back:hover { color: rgba(245,241,234,.7); }
.project-hero-title {
  font-family: var(--serif); font-size: clamp(2.5rem, 5.5vw, 5rem);
  color: var(--paper); font-weight: 400; line-height: .98;
  letter-spacing: -.025em; max-width: 16ch; margin-bottom: 18px;
}
.project-hero-intro {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
  color: rgba(245,241,234,.65); max-width: 52ch; line-height: 1.6;
}

.project-body {
  max-width: var(--wide); margin: 0 auto;
  padding: 72px 56px 120px;
  display: grid; grid-template-columns: 1fr 340px;
  gap: 72px; align-items: start;
}
.project-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }

/* Gallery */
.gallery-stack { display: flex; flex-direction: column; gap: 3px; margin-bottom: 48px; }
.gallery-main-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden;
  background: var(--bone); cursor: zoom-in; position: relative;
}
.gallery-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-main-img:hover img { transform: scale(1.015); }

/* Gallery placeholder */
.gallery-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--bone); display: flex;
  flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  position: relative; overflow: hidden;
}
.gallery-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent, transparent 16px,
    rgba(138,129,119,.05) 16px, rgba(138,129,119,.05) 17px);
}
.gallery-placeholder img {
  height: 48px; mix-blend-mode: multiply; opacity: .1; position: relative;
}
.gallery-placeholder span {
  font-family: var(--mono); font-size: .55rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--dust); opacity: .5; position: relative;
}

.gallery-thumbs-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.gallery-th {
  aspect-ratio: 1; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; transition: border-color var(--t);
}
.gallery-th img { width: 100%; height: 100%; object-fit: cover; }
.gallery-th.on  { border-color: var(--amber); }

/* Variant pills */
.variants-label { margin: 28px 0 10px; }
.variants-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.variant-pill {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 14px;
  border: 1px solid var(--line); background: var(--paper);
  color: var(--dust); cursor: pointer; transition: var(--t);
}
.variant-pill.on, .variant-pill:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

/* Project text */
.project-text { font-size: .98rem; line-height: 1.85; color: var(--warm); }
.project-text p + p { margin-top: 1.1em; }

/* Specs */
.spec-block { margin: 32px 0; }
.spec-row {
  display: grid; grid-template-columns: 130px 1fr;
  border-top: 1px solid var(--line); padding: 11px 0;
  font-size: .86rem;
}
.spec-row:last-child { border-bottom: 1px solid var(--line); }
.spec-key {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dust); padding-top: 2px;
}
.spec-val { color: var(--ink); }

/* Sidebar */
.sidebar-section {
  padding: 22px; background: var(--bone);
  margin-bottom: 3px;
}
.sidebar-section h4 {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--dust);
  margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.price-display { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.price-note    { font-size: .72rem; color: var(--dust); font-family: var(--mono); }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 12px;
  border: 1px solid var(--amber); color: var(--amber);
}
.status-pill::before {
  content: ''; width: 5px; height: 5px;
  background: var(--amber); border-radius: 50%;
}

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-head {
  padding: 80px 56px 56px;
  max-width: var(--wide); margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { margin-top: 8px; }
.page-head .lead { margin-top: 18px; max-width: 52ch; }

/* ── DARK SECTIONS ──────────────────────────────────────────── */
.dark { background: var(--night); color: var(--paper); }
.dark h1, .dark h2, .dark h3 { color: var(--paper); }
.dark p { color: rgba(245,241,234,.55); }
.dark .label { color: rgba(168,111,50,.65); }

/* ── STUDIO GRID ────────────────────────────────────────────── */
.studio-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px; background: var(--line);
}
.studio-cell          { background: var(--paper); padding: 56px; }
.studio-cell-dark     { background: var(--night2); }
.studio-cell-visual   {
  background: var(--bone); overflow: hidden;
  position: relative; min-height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.studio-cell-visual img.real-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
}
.studio-cell-visual img.logo-mark {
  height: 120px; width: auto;
  mix-blend-mode: multiply; opacity: .1;
}

/* ── PROCESS ────────────────────────────────────────────────── */
.process-item {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 24px; padding: 28px 0;
  border-top: 1px solid rgba(245,241,234,.07);
}
.process-num { font-family: var(--serif); font-size: 2.2rem; color: rgba(245,241,234,.12); line-height: 1; }
.process-item h3 { font-size: 1rem; color: var(--paper); margin-bottom: 6px; font-family: var(--sans); font-weight: 400; }
.process-item p  { font-size: .88rem; color: rgba(245,241,234,.5); max-width: none; line-height: 1.65; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 3px; background: var(--line);
  max-width: var(--wide); margin: 0 auto;
}
.contact-form-side { background: var(--paper); padding: 72px 64px; }
.contact-info-side { background: var(--bone);  padding: 72px 56px; }

label {
  display: block; font-family: var(--mono); font-size: .6rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dust); margin-bottom: 8px; font-weight: 400;
}
input, textarea, select {
  width: 100%; padding: 14px 0; font: inherit; font-size: .95rem;
  border: none; border-bottom: 1.5px solid var(--line);
  border-radius: 0; background: transparent;
  color: var(--ink); transition: border-color var(--t);
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-bottom-color: var(--amber);
  background: rgba(168,111,50,.03);
}
textarea { min-height: 130px; resize: vertical; line-height: 1.65; }
select   { cursor: pointer; }
.form-row.two    { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form-group      { display: flex; flex-direction: column; gap: 0; }
.form-notice     { padding: 12px 0; font-size: .86rem; border-top: 1px solid; margin-bottom: 20px; }
.form-notice.ok  { border-color: var(--amber); color: var(--amber); }
.form-notice.err { border-color: #c44; color: #c44; }

.contact-detail         { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-detail-key     { font-family: var(--mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dust); margin-bottom: 4px; }
.contact-detail-val     { font-size: .92rem; color: var(--ink); }

/* ── JOURNAL ────────────────────────────────────────────────── */
.journal-stack { display: flex; flex-direction: column; }
.journal-item {
  display: grid; grid-template-columns: 160px 1fr auto;
  gap: 32px; align-items: center;
  padding: 24px 0; border-top: 1px solid var(--line);
  transition: padding-left var(--t);
}
.journal-item:hover { padding-left: 6px; }
.journal-date       { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dust); }
.journal-title-link { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); display: block; margin-bottom: 4px; line-height: 1.2; }
.journal-title-link:hover { color: var(--amber); }
.journal-excerpt    { font-size: .82rem; color: var(--dust); margin: 0; max-width: none; line-height: 1.55; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--night); padding: 88px 0 0; }
.footer-inner {
  max-width: var(--wide); margin: 0 auto; padding: 0 56px 80px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 64px;
}
.footer-logo-wrap { margin-bottom: 20px; }
.footer-logo-wrap img {
  height: 96px; width: auto;
  filter: brightness(0) invert(1); opacity: .65;
}
.footer-tagline {
  font-family: var(--serif); font-size: 1rem; font-style: italic;
  color: rgba(245,241,234,.3); line-height: 1.7;
  margin-bottom: 18px; max-width: none;
}
.footer-email { font-family: var(--mono); font-size: .66rem; letter-spacing: .06em; color: rgba(168,111,50,.6); }
.footer-col h4 {
  font-family: var(--mono); font-size: .54rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(245,241,234,.22);
  margin-bottom: 20px; font-weight: 400;
}
.footer-col a { display: block; font-size: .86rem; color: rgba(245,241,234,.38); margin-bottom: 10px; transition: color var(--t); }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--wide); margin: 0 auto; padding: 22px 56px;
  border-top: 1px solid rgba(245,241,234,.05);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; color: rgba(245,241,234,.18);
}

/* ── ADMIN ──────────────────────────────────────────────────── */
.admin-wrap { min-height: 100vh; background: #0f0f0f; color: #f0ece4; font-family: var(--sans); }
.admin-sidebar { position: fixed; top: 0; left: 0; bottom: 0; width: 220px; background: #171717; border-right: 1px solid rgba(255,255,255,.06); padding: 24px 20px; overflow-y: auto; }
.admin-logo { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .7; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .88rem; color: rgba(240,236,228,.5); transition: var(--t); margin-bottom: 2px; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.08); color: #f0ece4; }
.admin-nav .nav-section { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(240,236,228,.3); padding: 16px 12px 6px; margin-top: 8px; }
.admin-content { margin-left: 220px; padding: 36px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 14px; }
.admin-header h1 { font-size: 1.6rem; margin: 0; color: #f0ece4; font-family: var(--serif); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th { border-bottom: 1px solid rgba(255,255,255,.08); padding: 10px 16px; text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(240,236,228,.4); font-weight: 400; }
.admin-table td { border-bottom: 1px solid rgba(255,255,255,.05); padding: 14px 16px; color: rgba(240,236,228,.8); vertical-align: top; }
.admin-table tr:hover td { background: rgba(255,255,255,.03); }
.admin-form { max-width: 740px; }
.admin-form label { font-size: .82rem; color: rgba(240,236,228,.6); font-weight: 500; margin-bottom: 6px; text-transform: none; letter-spacing: 0; }
.admin-form input, .admin-form textarea, .admin-form select { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #f0ece4; padding: 12px 14px; }
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus { border-color: rgba(168,111,50,.8); outline: none; background: rgba(255,255,255,.08); }
.admin-form textarea { min-height: 200px; }
.admin-card { background: #1a1a1a; border: 1px solid rgba(255,255,255,.07); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.admin-card h3 { font-size: 1rem; color: #f0ece4; margin-bottom: 16px; font-family: var(--sans); }
.admin-badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 500; }
.admin-badge.new { background: rgba(90,143,90,.2); color: #8fd48f; }
.admin-badge.read { background: rgba(168,111,50,.2); color: #d4b48f; }
.admin-badge.replied { background: rgba(90,120,143,.2); color: #8fbfd4; }
.admin-badge.archived { background: rgba(100,100,100,.2); color: #aaa; }
.admin-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-size: .86rem; border: 1px solid rgba(255,255,255,.15); color: #f0ece4; background: transparent; cursor: pointer; transition: var(--t); }
.admin-btn:hover { background: rgba(255,255,255,.08); }
.admin-btn-primary { background: #A86F32; border-color: #A86F32; color: #fff; }
.admin-btn-primary:hover { background: #8f5e28; border-color: #8f5e28; }
.admin-btn-danger { border-color: rgba(200,80,80,.4); color: #e08080; }
.admin-btn-danger:hover { background: rgba(200,80,80,.1); }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-bottom: 28px; }
.stat-card { background: #1a1a1a; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 20px; }
.stat-card .num { font-family: var(--serif); font-size: 2.4rem; color: #f0ece4; }
.stat-card .lbl { font-size: .76rem; color: rgba(240,236,228,.45); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.thumb-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 12px; }
.thumb-item { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: rgba(255,255,255,.05); display: grid; place-items: center; }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item .thumb-del { position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,.65); color: #fff; border: none; border-radius: 50%; width: 22px; height: 22px; font-size: .85rem; cursor: pointer; display: grid; place-items: center; }
.cover-badge { position: absolute; bottom: 6px; left: 6px; background: #A86F32; color: #fff; font-size: .6rem; padding: 2px 6px; border-radius: 999px; }
.upload-area { border: 1.5px dashed rgba(255,255,255,.15); border-radius: 12px; padding: 28px; text-align: center; cursor: pointer; transition: var(--t); }
.upload-area:hover { border-color: rgba(168,111,50,.6); background: rgba(168,111,50,.05); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.img-preview { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); }
.lang-tabs { display: flex; gap: 0; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.lang-tab { padding: 10px 20px; cursor: pointer; font-size: .86rem; color: rgba(240,236,228,.5); border-bottom: 2px solid transparent; transition: var(--t); }
.lang-tab.active { color: #f0ece4; border-bottom-color: #A86F32; }
.lang-pane { display: none; }
.lang-pane.active { display: block; }
.login-page { min-height: 100vh; display: grid; place-items: center; background: #0f0f0f; }
.login-box { width: min(400px, calc(100vw - 40px)); background: #171717; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 40px; }
.login-box .logo-wrap { text-align: center; margin-bottom: 32px; }
.login-box img { height: 72px; width: auto; filter: brightness(0) invert(1); opacity: .75; margin: 0 auto; }
.login-box h1 { font-size: 1.1rem; color: #f0ece4; text-align: center; margin: 12px 0 28px; font-weight: 400; letter-spacing: .06em; font-family: var(--sans); }

/* ── Utilities ──────────────────────────────────────────────── */
.js-ready .fade-in { opacity: 0; transform: translateY(14px); transition: opacity .65s ease, transform .65s ease; }
.js-ready .fade-in.visible { opacity: 1; transform: none; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.w-full     { width: 100%; }
.mt-auto    { margin-top: auto; }
.hide-mobile { }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .project-body     { grid-template-columns: 1fr; gap: 40px; }
  .project-sidebar  { position: static; }
  .footer-inner     { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid     { grid-template-columns: 1fr; }
  .studio-grid      { grid-template-columns: 1fr; }
  .work-intro       { grid-template-columns: 1fr; gap: 24px; }
  .stat-grid        { grid-template-columns: 1fr 1fr; }
  .form-row.two     { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  .projects-editorial { padding: 0 24px 80px; }
  .proj-card:nth-child(n) { grid-column: span 12; }
  .proj-card:nth-child(1) .proj-card-media,
  .proj-card:nth-child(1) .proj-card-placeholder { min-height: 360px; }
  .admin-sidebar  { position: static; width: 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .admin-content  { margin-left: 0; }
}
@media (max-width: 768px) {
  :root { --header-h: 92px; }
  .site-logo img  { height: 52px; }
  .site-nav       { display: none; }
  .nav-toggle     { display: flex; }
  .hide-mobile    { display: none; }
  .home-hero-bottom { grid-template-columns: 1fr; gap: 20px; }
  .home-hero-overlay, .home-hero-bottom { padding-left: 28px; padding-right: 28px; }
  .work-intro, .projects-editorial { padding-left: 20px; padding-right: 20px; }
  .page-head, .project-body, .contact-form-side, .contact-info-side { padding-left: 24px; padding-right: 24px; }
  .project-hero-content { padding: 40px 24px; }
  .footer-inner   { padding: 0 24px 48px; }
  .footer-bottom  { padding: 18px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .journal-item   { grid-template-columns: 1fr; gap: 6px; }
  .journal-date   { display: none; }
  .studio-cell, .studio-cell-dark { padding: 40px 28px; }
}
@media (max-width: 480px) {
  .home-hero-title { font-size: 2.6rem; }
  .thumb-grid      { grid-template-columns: repeat(3, 1fr); }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .stat-grid       { grid-template-columns: 1fr; }
}

/* ── HERO SLIDER ────────────────────────────────────────────── */
/* ── Hero: project wrapper ── */
/* ── Hero: horizontale strip-slider ───────────────────────── */
.hero-track-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  cursor: grab;
}
.hero-track-wrap:active { cursor: grabbing; }

.hero-track {
  display: flex;
  height: 100%;
  will-change: transform;
  /* transition set by JS */
}

/* Elke cel = 100% van de wrap breedte, plus een peek van het volgende */
.hero-cell {
  flex: 0 0 calc(100% - 80px); /* 80px peek van volgende */
  height: 100%;
  position: relative;
  margin-right: 12px;
  overflow: hidden;
}
/* Eerste cel: geen peek nodig, vol scherm */
.hero-cell:first-child {
  flex: 0 0 100%;
  margin-right: 0;
}
/* Als er maar één slide is: ook vol scherm */
.hero-cell:only-child {
  flex: 0 0 100%;
  margin-right: 0;
}

.hero-cell img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .78;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Chip: project naam rechtsonder in elke cel */
.hero-cell-chip {
  position: absolute; bottom: 100px; right: 32px;
  background: rgba(19,17,9,.72);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  display: flex; flex-direction: column; gap: 3px;
  max-width: 260px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.hero-track-wrap .hero-cell:first-child .hero-cell-chip,
.hero-cell.chip-visible .hero-cell-chip {
  opacity: 1; transform: translateY(0);
}
.hero-chip-cat {
  font-family: var(--mono); font-size: .57rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber2);
}
.hero-chip-title {
  font-family: var(--serif); font-size: .9rem;
  color: var(--paper); line-height: 1.25;
}

/* ── Dot navigatie ─────────────────────────────────────────── */
.hero-dots-bar {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot-btn {
  width: 28px; height: 3px;
  background: rgba(245,241,234,.22);
  border: none; cursor: pointer;
  transition: background .3s, width .3s;
  padding: 0;
}
.hero-dot-btn.active {
  background: var(--amber);
  width: 46px;
}

/* ── Pijlen ─────────────────────────────────────────────────── */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(19,17,9,.45);
  color: var(--paper); border: 1px solid rgba(245,241,234,.2);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; transition: opacity var(--t), background var(--t);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.home-hero-visual:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(19,17,9,.8); }

@media (max-width: 768px) {
  .hero-slide-chip { bottom: 100px; right: 20px; }
  .hero-arrow { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   PROJECT FEATURE SECTIONS
   Layer 2: Maakproces / Layer 3: Smart / Layer 4: Highlight
   ═══════════════════════════════════════════════════════════ */

/* ── Layer 2: Maakproces ─────────────────────────────────── */
.project-process {
  background: var(--paper);
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.project-process-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}
.project-process-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.project-process-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink);
  margin: 10px 0 16px;
  line-height: 1.15;
}
.project-process-intro {
  color: var(--dust);
  font-size: .95rem;
  line-height: 1.7;
}

/* Steps: horizontale rij op desktop */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
}
.process-step {
  background: #fff;
  padding: 32px 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.process-step--ghost {
  background: transparent;
  border-color: rgba(44,35,24,.08);
}
.process-step-num {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .14em;
  color: var(--amber);
  line-height: 1;
}
.process-step-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.process-step-label {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 6px;
}
.process-step-caption {
  font-size: .84rem;
  color: var(--dust);
  line-height: 1.65;
  margin: 0;
}

/* ── Layer 3: Smart integratie ───────────────────────────── */
.project-smart {
  background: var(--night);
  padding: 100px 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.project-smart-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}
.project-smart-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.project-smart-head .label {
  color: var(--amber2);
}
.project-smart-title {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--paper);
  margin: 10px 0 16px;
  line-height: 1.15;
}
.project-smart-intro {
  color: rgba(245,241,234,.45);
  font-size: .95rem;
  line-height: 1.75;
  max-width: 580px;
}

.smart-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  margin-bottom: 48px;
}
.smart-feature {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--night);
  transition: background var(--t);
}
.smart-feature:hover {
  background: rgba(255,255,255,.03);
}
.smart-feature-icon {
  font-size: 1.1rem;
  color: var(--amber2);
  line-height: 1;
}
.smart-feature-name {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--paper);
  font-weight: 400;
}
.smart-feature-desc {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  color: rgba(245,241,234,.3);
  text-transform: uppercase;
  line-height: 1.5;
}

.smart-cta {
  display: flex;
  justify-content: flex-start;
}
.btn-outline {
  border: 1px solid rgba(245,241,234,.2);
  color: var(--paper);
  background: transparent;
  padding: 12px 28px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.btn-outline:hover {
  border-color: var(--amber2);
  color: var(--amber2);
}

/* ── Layer 4: Detail highlight ───────────────────────────── */
.project-highlight {
  background: var(--paper);
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.project-highlight-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.highlight-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.highlight-text .label {
  display: block;
  margin-bottom: 16px;
}
.highlight-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dust);
  max-width: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 700px) {
  .project-process-inner,
  .project-smart-inner,
  .project-highlight-inner { padding: 0 24px; }
  .project-process,
  .project-smart,
  .project-highlight { padding: 60px 0; }
  .process-steps { grid-template-columns: 1fr; }
  .smart-features { grid-template-columns: 1fr 1fr; }
  .project-highlight-inner { grid-template-columns: 1fr; gap: 32px; }
}
