:root {
  color-scheme: light;
  --paper: #faf9f6;
  --surface: #f0ede6;
  --surface-white: #fffefd;
  --ink: #202729;
  --muted: #626a6b;
  --line: #ddd7cc;
  --accent: #a77a49;
  --accent-dark: #76502e;
  --deep: #263236;
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(100% - 56px, 1080px); margin-inline: auto; }
.home-shell, .header-inner { width: min(100% - 56px, 1040px); }
.skip-link { position: absolute; z-index: 3; left: 12px; top: 12px; transform: translateY(-180%); padding: 10px 14px; background: var(--paper); font-weight: 700; }
.skip-link:focus { transform: none; }

.site-header { background: var(--paper); }
.header-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 4vw, 56px); padding-block: 22px 17px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-logo { display: block; flex: 0 0 auto; width: 78px; height: 76px; object-fit: contain; mix-blend-mode: multiply; }
.brand-lockup { display: grid; align-content: center; line-height: 1; }
.brand-lockup strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3.1vw, 2.45rem); font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.brand-lockup strong span { color: var(--accent-dark); }
.brand-lockup small { margin-top: 6px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .22em; white-space: nowrap; }
.brand-intro { text-align: center; }
.brand-intro strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.35rem, 2.8vw, 2rem); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; }
.brand-intro p { margin-top: 5px; color: var(--muted); font-size: .9rem; line-height: 1.38; letter-spacing: .025em; }

.site-menu { position: relative; }
.site-menu summary { list-style: none; display: grid; place-items: center; width: 50px; height: 50px; color: var(--deep); border: 1px solid var(--accent); border-radius: 50%; cursor: pointer; transition: color .18s ease, background .18s ease; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary:hover, .site-menu[open] summary { color: #fff; background: var(--deep); }
.menu-bars { width: 18px; height: 1.5px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
.site-menu nav { position: absolute; right: 0; top: calc(100% + 10px); min-width: min(240px, calc(100vw - 38px)); display: grid; gap: 2px; background: var(--surface-white); border: 1px solid var(--line); box-shadow: 0 16px 34px #20272918; padding: 8px; z-index: 2; }
.nav-link { padding: 11px 13px; font-size: .9375rem; color: var(--ink); text-underline-offset: 4px; text-decoration: none; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--accent-dark); background: var(--surface); }

.site-btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 19px; color: #fff; background: var(--deep); border: 1px solid var(--deep); border-radius: 2px; text-decoration: none; font-size: .9375rem; font-weight: 650; letter-spacing: .015em; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.site-btn:hover { color: var(--deep); background: transparent; border-color: var(--accent); }

.home-intro { margin-top: clamp(44px, 7vw, 82px); display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.home-intro-copy h1, .page-title h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.home-intro-copy h1 { max-width: 15ch; margin-bottom: 19px; font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -.045em; line-height: 1.02; }
.home-intro-copy h1::before { content: "CADSERVICE  /  WERKVOORBEREIDING"; display: block; margin-bottom: 15px; color: var(--accent-dark); font: 700 .72rem/1.3 "Aptos", "Segoe UI", Arial, sans-serif; letter-spacing: .16em; }
.home-intro-copy p { max-width: 55ch; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.2rem); line-height: 1.7; }
.home-intro-copy h2 { margin-top: 28px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.home-intro-copy ul { padding-left: 20px; margin-block: 9px 0; color: var(--muted); }
.home-intro-copy li + li { margin-top: 6px; }
.home-intro-copy .site-btn { margin-top: 25px; }
.home-stair-copy { max-width: 45ch; }
.home-video { width: min(100%, 320px); }
.home-video iframe, .home-video-start { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: var(--deep); }
.home-video iframe { display: block; }
.home-video-start:not([hidden]) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; cursor: pointer; color: #fff; font: inherit; }
.home-video-start:hover { background: #354448; }
.home-video-play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; }
.home-video-play::after { content: ''; margin-left: 3px; border-block: 8px solid transparent; border-left: 13px solid currentColor; }
.home-video a { display: inline-block; margin-top: 6px; color: var(--accent-dark); font-size: .875rem; text-underline-offset: 3px; }

.block { margin-top: clamp(46px, 7vw, 74px); }
.section-heading { margin-bottom: 21px; }
.section-heading h2, .guide-summary h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.4rem); letter-spacing: -.03em; line-height: 1.16; }
.section-heading p { color: var(--muted); margin-top: 7px; }
.services-section .section-heading { text-align: left; margin-bottom: 24px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 30px); }
.service-card { display: grid; grid-template-rows: auto auto 1fr; align-content: start; height: 100%; padding: 12px 12px 20px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-white); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-3px); border-color: #c4ad8f; box-shadow: 0 12px 24px #2027290d; }
.service-card img { display: block; width: 100%; height: clamp(150px, 21vw, 210px); object-fit: cover; border-radius: 2px; background: var(--surface); }
.service-card img.project-photo-contain { object-fit: contain; background: #f4f2ed; }
.service-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.18rem, 2vw, 1.5rem); font-weight: 500; margin: 15px 5px 0; }
.service-card p { max-width: 38ch; margin: 4px 5px 0; color: var(--muted); font-size: .96rem; }
.work-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 25px 28px; border: 1px solid var(--line); border-left: 3px solid var(--accent); background: var(--surface); }
.work-strip h2 { font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -.02em; }
.work-strip p { color: var(--muted); margin-top: 5px; }

.page-title { padding-block: clamp(34px, 5vw, 58px) 28px; }
.page-title h1 { letter-spacing: -.045em; line-height: 1.05; font-size: clamp(2.45rem, 5vw, 4rem); margin-block: 4px 14px; }
.page-title p { color: var(--muted); max-width: 72ch; font-size: 1.125rem; }
.kicker { color: var(--accent-dark); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.detail-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 64px); align-items: start; }
.guide-summary h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.guide-summary p + p { margin-top: 13px; }
.guide-summary p, .guide-summary li { color: var(--muted); }
.guide-summary ul, .guide-summary ol { padding-left: 22px; }
.guide-summary li + li { margin-top: 9px; }
.feature-figure, .gallery figure { overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--surface-white); box-shadow: 0 8px 24px #20272908; }
.feature-figure img { display: block; width: 100%; height: auto; max-height: 450px; object-fit: cover; background: var(--surface); }
.feature-figure img.diagram, .gallery img.diagram { object-fit: contain; padding: 10px; background: var(--surface); }
.feature-figure figcaption, .gallery figcaption { padding: 11px 14px; color: var(--muted); font-size: .875rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gallery a { display: block; }
.gallery a:focus-visible { outline-offset: -4px; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.gallery img.contain { object-fit: contain; }
.drawing-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.drawing-gallery img { aspect-ratio: auto; background: var(--paper); }
.drawing-download { margin-top: 16px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 50px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
.site-footer strong { color: var(--ink); }
.site-footer a { text-underline-offset: 4px; }
.footer-contact { display: flex; gap: 8px 16px; flex-wrap: wrap; }
.contact-list { margin: 16px 0 0; padding: 0; list-style: none; }
.contact-list a, .inline-link { font-weight: 650; color: var(--accent-dark); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-portrait { max-width: 410px; }

@media (max-width: 755px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { gap: 13px; padding-block: 16px 13px; }
  .brand-logo { width: 58px; height: 56px; }
  .site-menu summary { width: 46px; height: 46px; }
  .block { margin-top: 42px; }
  .home-intro { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 34px; }
  .home-intro figure { width: min(100%, 560px); margin-inline: auto; }
  .detail-split { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { flex-wrap: wrap; margin-top: 38px; }
  .page-title { padding-block: 35px 23px; }
}
@media (max-width: 575px) {
  .shell, .home-shell, .header-inner { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; padding-block: 13px 11px; }
  .brand { gap: 8px; }
  .brand-logo { width: 51px; height: 50px; }
  .brand-lockup strong { font-size: 1.55rem; }
  .brand-lockup small { margin-top: 4px; font-size: .56rem; letter-spacing: .2em; }
  .brand-intro { display: none; }
  .site-menu summary { width: 40px; height: 40px; }
  .home-intro { margin-top: 30px; }
  .home-intro-copy h1 { margin-bottom: 15px; font-size: clamp(2.45rem, 11vw, 3.3rem); }
  .home-intro-copy h1::before { margin-bottom: 12px; font-size: .62rem; }
  .home-intro-copy p { font-size: 1.05rem; line-height: 1.65; }
  .home-intro-copy h2 { margin-top: 24px; }
  .service-grid { gap: 12px; }
  .service-card { padding: 8px 8px 15px; }
  .service-card img { height: clamp(126px, 24vw, 170px); }
  .service-card h3 { margin: 12px 3px 0; font-size: 1.15rem; }
  .service-card p { margin-inline: 3px; font-size: .88rem; line-height: 1.5; }
  .work-strip { padding: 20px 18px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .drawing-gallery { grid-template-columns: minmax(0, 1fr); }
  .page-title { padding-block: 30px 19px; }
  .page-title h1 { font-size: clamp(2.3rem, 10vw, 3.15rem); }
}
