/* Martin Bekebrede — Site stylesheet
   Stijl: klassiek Hollands (mockup 04)
   Palet: tarrig zwart, canvas-crème, zeil-ochre */

:root{
  --tar:#0f1411;
  --tar-2:#1a201c;
  --canvas:#ece2cb;
  --paper:#f6efdb;
  --ochre:#b95a1f;
  --ochre-soft:#c97e3f;
  --wood:#6b5530;
  --line:rgba(15,20,17,.18);
  --muted:#5a5547;
  --max:1240px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  color:var(--tar);background:var(--paper);
  font-size:16px;line-height:1.7;
  -webkit-font-smoothing:antialiased
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
.serif{font-family:'Lora',Georgia,serif}
.container{max-width:var(--max);margin:0 auto;padding:0 32px}
.center{text-align:center}

/* ---- topbar ---- */
.topbar{
  background:var(--tar);color:var(--canvas);
  font-size:11px;letter-spacing:.2em;text-transform:uppercase;
  padding:9px 32px;display:flex;justify-content:space-between;align-items:center
}
.topbar .lang a{cursor:pointer;opacity:.55;margin:0 4px;text-decoration:none}
.topbar .lang a.active{opacity:1;color:var(--ochre-soft)}

/* ---- nav ---- */
.nav{
  background:var(--tar-2);color:var(--canvas);
  padding:20px 32px;display:flex;justify-content:space-between;align-items:center;
  border-bottom:1px solid rgba(236,226,203,.08);position:sticky;top:0;z-index:50
}
.brand{display:flex;align-items:center;gap:14px}
.brand-mark{
  width:42px;height:42px;border:1px solid var(--ochre);
  display:grid;place-items:center;color:var(--ochre);
  font-family:'Lora',serif;font-size:22px;font-style:italic;font-weight:500
}
.brand-name{font-family:'Lora',serif;font-size:22px;font-weight:500;letter-spacing:.02em}
.brand-sub{font-size:10px;letter-spacing:.3em;text-transform:uppercase;opacity:.65;margin-top:3px}
.nav-links{display:flex;gap:30px;font-size:12px;letter-spacing:.18em;text-transform:uppercase}
.nav-links a{padding:6px 0}
.nav-links a:hover, .nav-links a.active{color:var(--ochre-soft)}
.nav-toggle{display:none;background:none;border:1px solid var(--canvas);color:var(--canvas);padding:8px 12px;font-size:11px;letter-spacing:.2em;text-transform:uppercase}

/* ---- hero ---- */
.hero{position:relative;height:90vh;min-height:560px;color:var(--canvas);overflow:hidden;background:var(--tar)}
.hero-img{position:absolute;inset:0}
.hero-img img{width:100%;height:100%;object-fit:cover;filter:contrast(1.05) saturate(.85)}
.hero-img::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,20,17,.45) 0%,rgba(15,20,17,.2) 35%,rgba(15,20,17,.92) 100%)}
.hero-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:0 64px 80px}
.hero-eyebrow{font-size:11px;letter-spacing:.4em;text-transform:uppercase;color:var(--ochre-soft);margin-bottom:24px;display:flex;align-items:center;gap:14px}
.hero-eyebrow::before{content:"";width:42px;height:1px;background:var(--ochre)}
.hero h1{font-family:'Lora',serif;font-weight:500;font-size:clamp(44px,7vw,100px);line-height:1.02;letter-spacing:-.01em;max-width:1100px}
.hero h1 em{font-style:italic;color:var(--ochre-soft);font-weight:500}
.hero-tag{margin-top:28px;font-size:13px;letter-spacing:.22em;text-transform:uppercase;opacity:.85;max-width:600px}

/* ---- compact page-header (voor binnenpagina's) ---- */
.page-head{
  background:var(--tar);color:var(--canvas);padding:120px 32px 80px;
  border-bottom:1px solid rgba(236,226,203,.1)
}
.page-head .container{max-width:var(--max);margin:0 auto}
.page-head .eyebrow{color:var(--ochre-soft)}
.page-head .eyebrow::before{background:var(--ochre-soft)}
.page-head h1{font-family:'Lora',serif;font-weight:500;font-size:clamp(40px,5.5vw,72px);line-height:1.05;letter-spacing:-.01em;max-width:900px}
.page-head h1 em{font-style:italic;color:var(--ochre-soft)}
.page-head p.lede{margin-top:20px;color:rgba(236,226,203,.75);max-width:680px;font-size:17px}

/* ---- section helpers ---- */
section{padding:120px 0}
.eyebrow{font-size:11px;letter-spacing:.35em;text-transform:uppercase;color:var(--ochre);margin-bottom:18px;display:flex;align-items:center;gap:12px}
.eyebrow::before{content:"";width:34px;height:1px;background:var(--ochre)}
.eyebrow.center{justify-content:center}
.eyebrow.center::after{content:"";width:34px;height:1px;background:var(--ochre)}
.section-title{font-family:'Lora',serif;font-size:clamp(32px,4.5vw,60px);font-weight:500;line-height:1.08;margin-bottom:22px;letter-spacing:-.01em}
.section-title em{font-style:italic;color:var(--ochre)}
.section-lede{max-width:680px;font-size:18px;color:var(--muted);margin-bottom:60px}
.center .section-lede{margin-left:auto;margin-right:auto}

/* ---- buttons / chips ---- */
.btn{display:inline-block;background:var(--tar);color:var(--canvas);padding:16px 38px;font-size:11px;letter-spacing:.28em;text-transform:uppercase;border:1px solid var(--tar);transition:all .25s ease;font-weight:500;cursor:pointer}
.btn:hover{background:var(--ochre);border-color:var(--ochre);color:#fff}
.btn-ghost{background:transparent;color:var(--canvas);border-color:var(--canvas)}
.btn-ghost:hover{background:var(--ochre);border-color:var(--ochre);color:#fff}
.btn-small{padding:10px 22px;font-size:10px}
.chip{display:inline-block;font-size:10px;letter-spacing:.22em;text-transform:uppercase;color:var(--ochre);border:1px solid var(--ochre);padding:5px 10px}

/* ---- about ---- */
.about{background:var(--canvas)}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center}
.about-img{position:relative}
.about-img img{width:100%;aspect-ratio:4/5;object-fit:cover;filter:contrast(1.05) saturate(.85)}
.about-img .frame-mark{position:absolute;top:14px;left:14px;font-size:10px;letter-spacing:.25em;text-transform:uppercase;color:var(--canvas);background:var(--tar);padding:6px 12px}
.about p{font-size:17px;color:#2a2922;margin-bottom:18px;max-width:560px}
.about p.intro{font-family:'Lora',serif;font-style:italic;font-size:24px;line-height:1.45;color:var(--tar);margin-bottom:26px;font-weight:500;border-left:2px solid var(--ochre);padding-left:24px}
.signature{margin-top:32px;font-family:'Lora',serif;font-style:italic;font-size:30px;color:var(--ochre)}
.stats{display:flex;gap:56px;margin-top:44px;border-top:1px solid var(--line);padding-top:28px;flex-wrap:wrap}
.stat-num{font-family:'Lora',serif;font-size:52px;font-weight:500;line-height:1;color:var(--tar)}
.stat-label{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--muted);margin-top:6px}

/* ---- portfolio cards ---- */
.portfolio-dark{background:var(--tar);color:var(--canvas)}
.portfolio-dark .section-lede{color:rgba(236,226,203,.7)}
.portfolio-dark .eyebrow{color:var(--ochre-soft)}
.portfolio-dark .eyebrow::before,.portfolio-dark .eyebrow.center::after{background:var(--ochre-soft)}
.grid{display:grid;gap:32px}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

.card{
  background:var(--tar-2);border:1px solid rgba(236,226,203,.1);
  overflow:hidden;transition:border-color .3s ease,transform .3s ease;
  display:flex;flex-direction:column
}
.card:hover{border-color:var(--ochre);transform:translateY(-3px)}
.card-img{position:relative;overflow:hidden;background:#000}
.card-img img{width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .6s ease}
.card:hover .card-img img{transform:scale(1.04)}
.card-num{position:absolute;top:14px;left:14px;font-size:10px;letter-spacing:.3em;color:var(--ochre-soft);background:rgba(15,20,17,.85);padding:6px 10px}
.card-tag{position:absolute;bottom:14px;right:14px;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--canvas);background:rgba(15,20,17,.85);padding:5px 10px;border:1px solid rgba(201,126,63,.5)}
.card-body{padding:26px 28px 30px}
.card-name{font-family:'Lora',serif;font-size:24px;font-weight:500;color:var(--canvas);margin-bottom:6px}
.card-meta{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--ochre-soft);margin-bottom:14px}
.card-text{color:rgba(236,226,203,.72);font-size:14px}
.card-count{font-family:'Lora',serif;font-style:italic;color:var(--ochre-soft);font-size:14px;margin-top:14px;display:block}

/* lichte variant op canvas-achtergrond */
.card-light{background:var(--paper);border:1px solid var(--line);color:var(--tar)}
.card-light .card-name{color:var(--tar)}
.card-light .card-meta{color:var(--ochre)}
.card-light .card-text{color:var(--muted)}
.card-light .card-count{color:var(--ochre)}
.card-light:hover{border-color:var(--ochre)}

/* ---- design-detail ---- */
.detail-hero{background:var(--tar);color:var(--canvas);padding:140px 0 60px}
.breadcrumb{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--ochre-soft);margin-bottom:18px}
.breadcrumb a{color:var(--ochre-soft);opacity:.7}
.breadcrumb a:hover{opacity:1}
.detail-title{font-family:'Lora',serif;font-weight:500;font-size:clamp(36px,5vw,64px);line-height:1.05;margin-bottom:14px}
.detail-subtitle{font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:var(--ochre-soft);margin-bottom:32px}

.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:64px;padding:80px 0}
.gallery{display:grid;gap:14px}
.gallery img{width:100%;object-fit:cover;background:#000}
.gallery .main img{aspect-ratio:4/3}
.gallery .thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.gallery .thumbs img{aspect-ratio:1/1;cursor:pointer;opacity:.7;transition:opacity .2s}
.gallery .thumbs img:hover, .gallery .thumbs img.active{opacity:1;outline:2px solid var(--ochre)}

.specs{background:var(--canvas);padding:36px 36px 30px;border:1px solid var(--line)}
.specs h3{font-family:'Lora',serif;font-size:24px;font-weight:500;margin-bottom:24px;color:var(--tar)}
.specs dl{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}
.specs dt{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted);padding-top:4px}
.specs dd{font-family:'Lora',serif;font-size:18px;color:var(--tar);font-weight:500}
.specs .row{grid-column:1/-1;display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid var(--line);padding-bottom:10px}
.specs .row:last-child{border-bottom:none}

/* ---- filter bar ---- */
.filterbar{
  background:var(--canvas);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:22px 32px;display:flex;gap:24px;align-items:center;flex-wrap:wrap
}
.filterbar label{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-right:8px}
.filterbar select, .filterbar input{
  font:inherit;font-size:14px;padding:9px 12px;background:var(--paper);
  border:1px solid var(--line);color:var(--tar);min-width:160px
}
.filterbar select:focus, .filterbar input:focus{outline:none;border-color:var(--ochre)}
.filterbar .count{margin-left:auto;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--muted)}

/* ---- table view voor designs ---- */
.designs-table{width:100%;border-collapse:collapse;background:var(--paper)}
.designs-table th, .designs-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);font-size:14px}
.designs-table th{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);font-weight:500;background:var(--canvas)}
.designs-table tr:hover td{background:var(--canvas)}
.designs-table a{color:var(--tar);font-family:'Lora',serif;font-size:17px;font-weight:500}
.designs-table a:hover{color:var(--ochre)}
.designs-table .num{color:var(--muted);font-family:'DM Mono',ui-monospace,monospace;font-size:12px}

/* ---- timeline ---- */
.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--tar);border-bottom:1px solid var(--tar);margin-top:60px}
.timeline > div{padding:38px 28px;border-right:1px solid var(--line)}
.timeline > div:last-child{border-right:none}
.timeline .y{font-family:'Lora',serif;font-size:38px;font-weight:500;color:var(--ochre);line-height:1}
.timeline .t{font-size:12px;letter-spacing:.18em;text-transform:uppercase;margin-top:10px;color:var(--tar);font-weight:500}
.timeline .d{font-size:14px;color:var(--muted);margin-top:10px;line-height:1.55}

/* ---- contact ---- */
.contact-card{
  max-width:820px;margin:0 auto;background:var(--paper);
  padding:64px 60px;border:1px solid var(--line);position:relative
}
.contact-card::before,.contact-card::after{content:"";position:absolute;width:24px;height:24px;border:1px solid var(--ochre)}
.contact-card::before{top:-1px;left:-1px;border-right:none;border-bottom:none}
.contact-card::after{bottom:-1px;right:-1px;border-left:none;border-top:none}
.contact-card h3{font-family:'Lora',serif;font-size:38px;font-weight:500;line-height:1.1;margin-bottom:14px;text-align:center}
.contact-card h3 em{font-style:italic;color:var(--ochre)}

form .row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
form label{display:block;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
form input, form textarea, form select{
  width:100%;padding:12px 14px;font:inherit;font-size:15px;
  background:var(--canvas);border:1px solid var(--line);color:var(--tar)
}
form input:focus, form textarea:focus, form select:focus{outline:none;border-color:var(--ochre)}
form textarea{min-height:140px;resize:vertical}
form .field{margin-bottom:18px}
form .honeypot{position:absolute;left:-9999px}

.flash{padding:14px 18px;margin-bottom:18px;font-size:14px;border-left:3px solid var(--ochre);background:var(--canvas)}
.flash.error{border-left-color:#a13131;background:#f6e5e5;color:#5a1a1a}

.contact-info{display:grid;grid-template-columns:1fr 1fr;gap:32px;border-top:1px solid var(--line);padding-top:36px;margin-top:36px}
.contact-info h4{font-size:11px;letter-spacing:.25em;text-transform:uppercase;color:var(--ochre);margin-bottom:10px;font-weight:500}
.contact-info a, .contact-info p{font-family:'Lora',serif;font-size:20px;color:var(--tar);font-weight:500}

/* ---- footer ---- */
footer.site-foot{
  background:var(--tar);color:rgba(236,226,203,.55);padding:48px 32px 24px;
  font-size:13px
}
footer .foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;max-width:var(--max);margin:0 auto 32px}
footer .foot-brand{font-family:'Lora',serif;font-size:22px;color:var(--canvas);margin-bottom:8px}
footer .foot-grid h5{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--ochre-soft);margin-bottom:12px;font-weight:500}
footer .foot-grid a{display:block;color:rgba(236,226,203,.7);margin-bottom:6px;font-size:13px}
footer .foot-grid a:hover{color:var(--ochre-soft)}
footer .foot-bottom{max-width:var(--max);margin:0 auto;border-top:1px solid rgba(236,226,203,.12);padding-top:18px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.18em;text-transform:uppercase}

/* ---- responsive ---- */
@media (max-width:980px){
  .grid-3,.grid-4{grid-template-columns:repeat(2,1fr)}
  .detail-grid{grid-template-columns:1fr;gap:40px;padding:50px 0}
  .timeline{grid-template-columns:1fr 1fr}
  .timeline > div:nth-child(2){border-right:none}
  .timeline > div:nth-child(-n+2){border-bottom:1px solid var(--line)}
  footer .foot-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media (max-width:680px){
  .container{padding:0 22px}
  .nav{padding:14px 22px}
  .nav-links{display:none}
  .nav-toggle{display:block}
  .nav.open .nav-links{display:flex;position:absolute;top:100%;left:0;right:0;background:var(--tar);flex-direction:column;padding:20px 22px;gap:16px;border-bottom:1px solid rgba(236,226,203,.1)}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .about-grid{grid-template-columns:1fr;gap:48px}
  .specs dl{grid-template-columns:1fr}
  .stats{gap:24px}
  .stat-num{font-size:38px}
  section{padding:80px 0}
  .page-head{padding:80px 22px 50px}
  .hero-content{padding:0 22px 50px}
  .contact-card{padding:36px 22px}
  .contact-info{grid-template-columns:1fr;gap:20px}
  form .row{grid-template-columns:1fr}
  footer .foot-grid{grid-template-columns:1fr}
  footer .foot-bottom{flex-direction:column;gap:8px;text-align:center}
}
