/* Grondwerken J. Doumen — Industrial variant */
:root {
  --bg: #16150f;
  --bg-2: #1d1c14;
  --panel: #211f16;
  --ink: #f3efe2;
  --ink-2: #b8b29e;
  --muted: #837d68;
  --line: #2f2d20;
  --line-2: #3c3927;
  --accent: #f2b400;   /* machine yellow */
  --orange: #e78319;   /* logo orange */
  --disp: "Anton", "Archivo", Impact, sans-serif;
  --sans: "Archivo", "Inter Tight", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(18px, 4vw, 52px);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { max-width: 1400px; margin: 0 auto; padding-inline: var(--pad); }

.disp { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.9; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img.logo { height: 34px; width: auto; }
.nav-links { display: flex; gap: 30px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-2); }
.nav-links a { padding: 4px 0; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 2px; background: var(--accent); transition: width .18s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--accent); color: #16150f; font-weight: 600;
  padding: 13px 20px; display: inline-flex; align-items: center; gap: 9px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--orange); transform: translateY(-1px); }
.nav-burger { display: none; width: 42px; height: 42px; flex-direction: column; gap: 4px;
  align-items: center; justify-content: center; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.nav-burger span { width: 18px; height: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-drawer { display: none; flex-direction: column; background: var(--bg); border-top: 1px solid var(--line); }
.nav-drawer a { font-family: var(--mono); text-transform: uppercase; letter-spacing: .08em; font-size: 14px;
  color: var(--ink-2); padding: 16px var(--pad); border-bottom: 1px solid var(--line); }
.nav-drawer a:hover { color: var(--ink); }
.nav-drawer .drawer-cta { background: var(--accent); color: #16150f; font-weight: 600; border-bottom: 0; }

/* Hero */
.hero { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-left { padding: clamp(40px, 6vw, 90px) clamp(24px,4vw,64px) clamp(40px,6vw,72px) var(--pad); border-right: 1px solid var(--line); }
@media (max-width: 900px) { .hero-left { border-right: 0; border-bottom: 1px solid var(--line); } }
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 30px;
}
.hero-eyebrow .sq { width: 9px; height: 9px; background: var(--accent); }
.hero-eyebrow .sep { color: var(--muted); }
.hero h1 { font-family: var(--disp); font-weight: 400; text-transform: uppercase;
  font-size: clamp(52px, 8.5vw, 132px); line-height: 0.86; letter-spacing: 0.002em;
  margin: 0 0 30px; color: var(--ink); }
.hero h1 .out {
  color: transparent; -webkit-text-stroke: 2px var(--ink-2);
}
.hero h1 .amp { color: var(--accent); }
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 48ch; margin: 0 0 36px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono);
  font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  padding: 15px 24px; transition: transform .15s, background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #16150f;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn-primary:hover { background: var(--orange); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translate(3px,-3px); }

.hero-right { position: relative; background: var(--panel); min-height: 420px; display: flex; flex-direction: column; }
.hero-photo { flex: 1; position: relative; overflow: hidden;
  background: radial-gradient(70% 60% at 40% 30%, rgba(242,180,0,.16), transparent 60%),
    repeating-linear-gradient(135deg, #1b1a12 0 26px, #232116 26px 52px); }
.hero-photo .ph-tag { position: absolute; top: 18px; left: 18px; font-family: var(--mono);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  background: rgba(0,0,0,.45); padding: 6px 10px; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.hero-stats .st { padding: 22px 18px; border-right: 1px solid var(--line); }
.hero-stats .st:last-child { border-right: 0; }
.hero-stats .n { font-family: var(--disp); font-size: clamp(30px,3.4vw,46px); color: var(--accent); line-height: 1; }
.hero-stats .l { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 8px; }

/* Ticker */
.ticker { background: var(--accent); color: #16150f; overflow: hidden; border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; gap: 40px; padding: 12px 0; white-space: nowrap;
  font-family: var(--disp); font-size: 18px; text-transform: uppercase; letter-spacing: .02em;
  animation: tick 32s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 16px; }
.ticker-track .x { font-size: 12px; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section scaffold */
.section { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: baseline; margin-bottom: 56px; }
.sec-idx { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: .1em; padding-top: 10px; }
.sec-title { font-family: var(--disp); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px,5.5vw,76px); line-height: 0.9; margin: 0; }
.sec-title .out { color: transparent; -webkit-text-stroke: 1.5px var(--ink-2); }
.sec-lede { font-size: 16px; color: var(--ink-2); max-width: 54ch; margin: 18px 0 0; grid-column: 2; }

/* Services list */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 80px 1fr 1.2fr 60px; gap: 24px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background .18s, padding-left .18s;
}
.svc:hover { background: var(--panel); padding-left: 16px; }
.svc-n { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.svc h3 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: clamp(26px,3vw,40px); line-height: 0.95; margin: 0; }
.svc:hover h3 { color: var(--accent); }
.svc p { margin: 0; color: var(--ink-2); font-size: 14px; }
.svc-go { justify-self: end; width: 40px; height: 40px; border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; transition: all .15s; }
.svc:hover .svc-go { background: var(--accent); color: #16150f; border-color: var(--accent); transform: rotate(-45deg); }
@media (max-width: 820px) {
  .svc { grid-template-columns: 50px 1fr 44px; }
  .svc p { display: none; }
}

/* Projects */
.proj-section { background: var(--bg-2); }
.proj-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.proj { position: relative; background: var(--panel); aspect-ratio: 1/1; overflow: hidden; cursor: pointer; }
.proj:nth-child(1) { grid-column: span 4; aspect-ratio: 16/9; }
.proj:nth-child(2) { grid-column: span 2; }
.proj:nth-child(3) { grid-column: span 2; }
.proj:nth-child(4) { grid-column: span 2; }
.proj:nth-child(5) { grid-column: span 2; }
@media (max-width: 820px) { .proj, .proj:nth-child(n) { grid-column: span 3; aspect-ratio: 1/1; } }
@media (max-width: 520px) { .proj, .proj:nth-child(n) { grid-column: span 6; aspect-ratio: 4/3; } }
.proj-fill { position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, #1b1a12 0 18px, #232116 18px 36px); }
.proj:nth-child(1) .proj-fill { background: radial-gradient(80% 70% at 25% 80%, rgba(231,131,25,.28), transparent 60%), repeating-linear-gradient(135deg, #1b1a12 0 22px, #232116 22px 44px); }
.proj:nth-child(3) .proj-fill { background: radial-gradient(60% 60% at 70% 30%, rgba(242,180,0,.2), transparent 60%), repeating-linear-gradient(75deg, #1b1a12 0 16px, #211f16 16px 32px); }
.proj-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; background: linear-gradient(transparent 40%, rgba(0,0,0,.55)); }
.proj:hover .proj-fill { transform: scale(1.04); transition: transform .4s; }
.proj-tag { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent); background: rgba(0,0,0,.5); padding: 5px 9px; }
.proj h4 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: 22px; margin: 0; color: #fff; }
.proj .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; display: flex; gap: 10px; }
.proj .meta .y { color: var(--accent); }

/* About split */
.about { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about-media { background: radial-gradient(60% 50% at 60% 30%, rgba(231,131,25,.2), transparent 60%), repeating-linear-gradient(135deg, #1b1a12 0 24px, #232116 24px 48px); min-height: 460px; position: relative; border-right: 1px solid var(--line); }
@media (max-width: 900px) { .about-media { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--line); } }
.about-media .ph-tag { position: absolute; top: 18px; left: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); background: rgba(0,0,0,.45); padding: 6px 10px; }
.about-body { padding: clamp(48px,6vw,96px) var(--pad); }
.about-body h2 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: clamp(34px,4.5vw,64px); line-height: 0.9; margin: 14px 0 24px; }
.about-body h2 .acc { color: var(--accent); }
.about-body p { color: var(--ink-2); font-size: 16px; max-width: 50ch; margin: 0 0 18px; }
.about-quote { border-left: 3px solid var(--accent); padding-left: 18px; margin-top: 30px; font-family: var(--disp); text-transform: uppercase; font-size: 22px; line-height: 1; color: var(--ink); }

/* Process */
.proc-steps { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
@media (max-width: 820px) { .proc-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .proc-steps { grid-template-columns: 1fr; } }
.proc-step { padding: 34px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.proc-step:last-child { border-right: 0; }
.proc-step .n { font-family: var(--disp); font-size: 56px; color: var(--line-2); line-height: 0.8; }
.proc-step h4 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: 22px; margin: 16px 0 10px; }
.proc-step p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* Machinery */
.mach-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 820px) { .mach-grid { grid-template-columns: 1fr 1fr; } }
.mach { background: var(--panel); padding: 0; }
.mach-img { aspect-ratio: 4/3; position: relative; background: radial-gradient(50% 50% at 50% 65%, rgba(242,180,0,.16), transparent 60%), repeating-linear-gradient(45deg, #1b1a12 0 14px, #232116 14px 28px); }
.mach-img .ph { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font-family: var(--mono); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.mach-body { padding: 18px; }
.mach .spec { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.mach h5 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: 22px; margin: 6px 0 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact-left { padding: clamp(56px,7vw,110px) clamp(24px,4vw,64px) clamp(56px,7vw,110px) var(--pad); border-right: 1px solid var(--line); }
@media (max-width: 900px) { .contact-left { border-right: 0; border-bottom: 1px solid var(--line); } }
.contact-left h2 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: clamp(40px,6vw,92px); line-height: 0.86; margin: 14px 0 28px; }
.contact-left h2 .acc { color: var(--accent); }
.contact-left .lede { color: var(--ink-2); font-size: 17px; max-width: 42ch; margin: 0 0 36px; }
.cinfo { display: grid; gap: 0; border-top: 1px solid var(--line); }
.crow { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.crow .k { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.crow .v { font-family: var(--disp); text-transform: uppercase; font-size: 22px; }
.crow .v small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-top: 6px; }

/* Form */
.contact-right { padding: clamp(48px,6vw,96px) var(--pad); background: var(--bg-2); }
.qstep-track { display: flex; gap: 6px; margin-bottom: 28px; }
.qdot { height: 4px; flex: 1; background: var(--line-2); transition: background .3s; }
.qdot.active { background: var(--accent); }
.qdot.done { background: var(--orange); }
.qhead { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.qform h3 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; font-size: 28px; margin: 0 0 24px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { font: inherit; font-size: 15px; padding: 13px 14px; background: var(--panel);
  border: 1px solid var(--line-2); color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent); }
.field textarea { resize: vertical; min-height: 100px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2);
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: all .15s; }
.chip.on { background: var(--accent); color: #16150f; border-color: var(--accent); font-weight: 600; }
.chip:hover:not(.on) { border-color: var(--accent); color: var(--ink); }
.qactions { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.qsuccess { text-align: center; padding: 24px 0; }
.qsuccess .check { width: 60px; height: 60px; background: var(--accent); color: #16150f; display: inline-flex;
  align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px; }
.qsuccess h3 { font-family: var(--disp); text-transform: uppercase; font-size: 28px; margin: 0 0 12px; }
.qsuccess p { color: var(--ink-2); max-width: 38ch; margin: 0 auto; }

/* Footer */
.footer { background: #0e0d09; padding: 72px 0 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer img.logo { height: 42px; }
.footer-brand p { color: var(--ink-2); font-size: 14px; max-width: 32ch; margin: 18px 0 0; }
.footer h6 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ───────── Mobile ───────── */
html, body { overflow-x: hidden; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-drawer { display: flex; }
}
@media (max-width: 760px) {
  .nav-inner { height: 62px; }
  .nav-cta { padding: 10px 15px; font-size: 11px; }
  .brand img.logo { height: 30px; }

  /* stack section headers */
  .sec-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
  .sec-idx { padding-top: 0; }
  .sec-lede { grid-column: 1; margin-top: 14px; }

  /* hero breathes; looser line-height so tall caps don't clip the sub */
  .hero h1 { line-height: 0.92; font-size: clamp(40px, 12vw, 64px); margin-bottom: 24px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-left { padding: 36px var(--pad) 44px; }
  .hero-right { min-height: 320px; }

  /* full-width CTAs on small screens */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }

  /* section rhythm */
  .section { padding: clamp(48px, 11vw, 80px) 0; }
  .sec-title { font-size: clamp(30px, 9vw, 52px); }

  /* contact + form stack nicely */
  .contact-left { padding: 48px var(--pad); }
  .contact-right { padding: 40px var(--pad); }
  .crow { grid-template-columns: 110px 1fr; }
}
@media (max-width: 460px) {
  .nav-cta { display: none; }
  .hero-stats .st { padding: 16px 10px; }
  .hero-stats .n { font-size: 26px; }
  .crow { grid-template-columns: 1fr; gap: 4px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
