:root {
  --night: #101713;
  --forest: #1d3027;
  --paper: #f5f1e8;
  --sand: #ded4c2;
  --rust: #b34f29;
  --ink: #172019;
  --line: rgba(23, 32, 25, .18);
  --page: 1260px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; overflow-x: hidden; }
img { display: block; width: 100%; max-width: 100%; }
a { color: inherit; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: white; }
.skip:focus { top: 1rem; }

.site-header { position: fixed; z-index: 30; top: 0; left: 0; right: 0; min-height: 80px; padding: 0 max(24px, calc((100vw - var(--page))/2)); display: flex; align-items: center; justify-content: space-between; color: white; background: rgba(16, 23, 19, .92); border-bottom: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font: 700 1rem/1.05 Georgia, serif; }
.brand small { font: 500 .65rem/1.1 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #c9bda9; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d4805c; color: #e4a68b; }
nav { display: flex; gap: clamp(.9rem, 2vw, 2rem); }
nav a { padding: 1.9rem 0; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .04em; }
nav a:hover, nav a:focus { color: #e5a286; }
.menu { display: none; color: white; border: 1px solid rgba(255,255,255,.4); background: transparent; padding: .65rem .85rem; font: inherit; }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 54%); align-items: stretch; background: var(--night); color: white; }
.hero-image { position: relative; grid-column: 2; grid-row: 1; min-height: 100svh; background: url('assets/images/bouw-12.JPG') center/cover no-repeat; }
.hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--night) 0 46%, transparent 65%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; align-self: center; padding: 9rem 3rem 7rem max(24px, calc((100vw - var(--page))/2)); }
.eyebrow { margin: 0 0 1rem; color: #bd6945; text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; font-weight: 800; }
.hero .eyebrow { color: #e5a286; }
h1, h2, h3, blockquote { font-family: Georgia, 'Times New Roman', serif; }
h1 { max-width: 700px; margin: 0 0 2rem; font-size: clamp(3.1rem, 6.6vw, 7.2rem); font-weight: 400; line-height: .93; letter-spacing: -.045em; }
.hero-copy > p:not(.eyebrow) { max-width: 560px; margin-bottom: 2rem; color: #e5dfd5; font-size: 1.08rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .85rem 1.15rem; color: white; background: var(--rust); border: 0; text-decoration: none; font: 700 .86rem Arial, sans-serif; cursor: pointer; }
.button:hover { background: #8d3d22; }
.scroll-hint { position: absolute; z-index: 3; left: max(24px, calc((100vw - var(--page))/2)); bottom: 2rem; margin: 0; color: #c7bba8; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }

.section { width: min(100%, var(--page)); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) 24px; }
.section h2 { margin: 0 0 1.5rem; font-size: clamp(2.7rem, 5.6vw, 5.8rem); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 10vw, 10rem); align-items: start; }
.intro-text { padding-top: 4rem; }
.lead { margin-top: 0; font: 1.45rem/1.5 Georgia, serif; }
.source-note { margin-top: 2.5rem; padding: 1rem 1.2rem; background: #e9e1d2; font-size: .82rem; }

.old-photos { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - var(--page))/2)); padding-right: max(24px, calc((100vw - var(--page))/2)); color: white; background: var(--night); }
.old-photos-copy { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; align-items: end; }
.old-photos-copy h2 { margin-bottom: 0; }
.old-photos-copy > p:last-child { max-width: 680px; }
.old-photos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1rem; margin-top: 4rem; }
.old-photos-grid figure { margin: 0; min-width: 0; overflow: hidden; background: #d6cebf; }
.old-photos-grid .old-photo-main { grid-column: 1 / -1; }
.old-photos-grid .old-photo-wide { grid-column: 1 / -1; }
.old-photos-grid img { width: 100%; height: clamp(280px, 36vw, 520px); object-fit: cover; filter: sepia(.22) contrast(1.04); }
.old-photos-grid .old-photo-main img,
.old-photos-grid .old-photo-wide img { height: auto; max-height: 720px; }

.quote-band { display: grid; place-items: center; min-height: 68svh; padding: 6rem 24px; color: white; background: linear-gradient(rgba(29,48,39,.78), rgba(29,48,39,.9)), url('assets/images/bouw-01.JPG') center/cover fixed; text-align: center; }
.quote-band blockquote { max-width: 1000px; margin: 0; font-size: clamp(2.8rem, 7vw, 7rem); font-weight: 400; line-height: 1; }
.quote-band p { margin: 1.5rem 0 0; color: #dfd6c7; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; }

.story { position: relative; display: grid; grid-template-columns: 90px minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.story::before { content: ''; position: absolute; left: 68px; top: 7rem; bottom: 7rem; width: 1px; background: var(--rust); }
.story-number { align-self: start; padding-top: .4rem; color: var(--rust); font: 3rem Georgia, serif; }
.story-copy details { margin-top: 2rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.story-copy summary { cursor: pointer; font-weight: 800; }
.story-figure { margin: 0; }
.story-figure img { height: min(72svh, 800px); object-fit: cover; object-position: center; }

.people { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - var(--page))/2)); padding-right: max(24px, calc((100vw - var(--page))/2)); color: white; background: var(--forest); }
.people > .eyebrow, .people > h2, .people > .section-lead { max-width: 850px; }
.section-lead { font-size: 1.05rem; }
.cards { margin-top: 4rem; display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.card { grid-column: span 4; min-height: 260px; padding: 2rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); }
.card.featured { grid-column: span 8; background: var(--rust); }
.card span { font-size: .65rem; text-transform: uppercase; letter-spacing: .14em; color: #d9cfc0; }
.card h3 { margin: 1.3rem 0 1rem; font-size: 1.8rem; line-height: 1.1; }

.build { width: 100%; max-width: none; padding-left: max(24px, calc((100vw - var(--page))/2)); padding-right: max(24px, calc((100vw - var(--page))/2)); }
.build-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: end; }
.build-copy p:last-child { max-width: 600px; }
.gallery { columns: 3 280px; column-gap: 1rem; margin-top: 4rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; }
.gallery img { height: auto; background: #ddd4c5; }

.archive { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); width: 100%; max-width: none; padding-left: max(24px, calc((100vw - var(--page))/2)); padding-right: max(24px, calc((100vw - var(--page))/2)); background: var(--sand); }
.documents { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.documents a { position: relative; display: grid; min-height: 145px; align-content: space-between; padding: 1.2rem 3rem 1.2rem 1.2rem; background: rgba(255,255,255,.45); border: 1px solid rgba(23,32,25,.12); text-decoration: none; }
.documents a:hover { background: white; }
.documents span { color: var(--rust); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; }
.documents strong { line-height: 1.25; }
.documents b { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); }

.about { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; background: var(--paper); }
.about-image { min-height: 760px; }
.about-image img { height: 100%; object-fit: cover; object-position: center; }
.about-story { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) max(24px, calc((100vw - var(--page))/2)); padding-left: clamp(2rem, 7vw, 7rem); }
.about-story h2 { max-width: 650px; }
.about-story > p { max-width: 680px; }
.about-lead { font: 1.35rem/1.5 Georgia, serif; }
.heirloom { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--night); }
.heirloom-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 8rem) max(24px, calc((100vw - var(--page))/2)); padding-right: clamp(2rem, 7vw, 7rem); }
.heirloom-copy h2 { max-width: 650px; }
.heirloom-copy > p { max-width: 720px; }
.heirloom-emphasis { color: #e5a286; font: 1.25rem/1.5 Georgia, serif; }
.heirloom-image { min-height: 650px; }
.heirloom-image img { height: 100%; object-fit: cover; object-position: center; }
.about-making { grid-column: 1 / 3; padding: clamp(4rem, 8vw, 8rem) max(24px, calc((100vw - var(--page))/2)); background: #e9e1d2; }
.about-intro { max-width: 850px; margin: 0 0 2.5rem; font-size: 1.05rem; }
.about-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 2.5rem; background: rgba(23,32,25,.18); }
.about-columns article { padding: 1.75rem; background: #e9e1d2; }
.about-columns .about-featured { grid-column: span 2; color: white; background: var(--forest); }
.about-columns .about-featured .eyebrow { color: #e5a286; }
.about-columns .about-featured p { margin-top: 1rem; }
.about-columns .about-wide { grid-column: span 2; }
.about-columns h3 { margin: 0 0 1rem; font-size: 1.45rem; line-height: 1.1; }
.about-columns p { margin: 0; font-size: .9rem; }
.about-close { max-width: 760px; margin: 2.5rem 0 0; color: var(--rust); font: 1.25rem/1.45 Georgia, serif; }

.guestbook { width: 100%; max-width: none; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 9vw, 9rem); padding-left: max(24px, calc((100vw - var(--page))/2)); padding-right: max(24px, calc((100vw - var(--page))/2)); color: white; background: var(--night); }
.guestbook .eyebrow { color: #e5a286; }
form { display: grid; gap: 1rem; }
label { display: grid; gap: .35rem; font-size: .78rem; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid rgba(255,255,255,.32); border-radius: 0; padding: .9rem; color: white; background: rgba(255,255,255,.07); font: inherit; }
textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; font-weight: 400; }
.consent input { width: auto; margin-top: .35rem; }
.dark { justify-self: start; }
.form-status { font-size: .8rem; }

footer { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: end; padding: 4rem max(24px, calc((100vw - var(--page))/2)); color: white; background: #090d0b; font-size: .8rem; }
footer a { color: #e5a286; }

@media (max-width: 900px) {
  .site-header { position: sticky; min-height: 68px; }
  .menu { display: block; min-width: 48px; min-height: 44px; }
  nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: .5rem 24px 1rem; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.18); }
  nav.open { display: flex; }
  nav a { min-height: 48px; padding: .8rem 0; display: flex; align-items: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-image { grid-column: 1; min-height: 55svh; margin-top: 0; }
  .hero-shade { background: linear-gradient(0deg, var(--night) 0, rgba(16,23,19,.2) 55%, transparent 100%); }
  .hero-copy { grid-column: 1; align-self: end; padding: 8rem 24px 4rem; }
  .hero-copy > p:not(.eyebrow) { max-width: 680px; }
  .scroll-hint { display: none; }
  .intro, .archive, .guestbook, .about { grid-template-columns: 1fr; }
  .old-photos-copy { grid-template-columns: 1fr; }
  .intro-text { padding-top: 0; }
  .story { grid-template-columns: 50px 1fr; }
  .story::before { left: 36px; }
  .story-figure { grid-column: 1 / 3; }
  .story-figure img { height: auto; max-height: none; }
  .card, .card.featured { grid-column: span 6; }
  .build-copy { grid-template-columns: 1fr; }
  .documents { grid-template-columns: 1fr 1fr; }
  .about-image { min-height: 56svh; }
  .about-story { padding: 5rem 24px; }
  .heirloom { grid-column: 1; grid-template-columns: 1fr; }
  .heirloom-copy { padding: 5rem 24px; }
  .heirloom-image { min-height: 52svh; }
  .about-making { grid-column: 1; }
  .about-columns { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand-mark { width: 40px; height: 40px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .hero-image { min-height: 48svh; background-position: 55% center; }
  .hero-copy { padding-top: 7rem; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .quote-band { min-height: 55svh; background-attachment: scroll; }
  .old-photos-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .old-photos-grid .old-photo-main, .old-photos-grid .old-photo-wide { grid-column: auto; grid-row: auto; }
  .old-photos-grid img { min-height: 0; height: auto; }
  .story { grid-template-columns: 1fr; }
  .story::before { display: none; }
  .story-number, .story-copy, .story-figure { grid-column: 1; }
  .cards { display: block; background: transparent; }
  .card, .card.featured { min-height: 0; margin-bottom: .75rem; }
  .gallery { columns: 1; }
  .documents { grid-template-columns: 1fr; }
  .documents a { min-height: 118px; }
  .about-image { min-height: 44svh; }
  .heirloom-image { min-height: 0; }
  .heirloom-image img { height: auto; }
  .about-columns { grid-template-columns: 1fr; }
  .about-columns article { padding: 1.4rem; }
  .about-columns .about-featured, .about-columns .about-wide { grid-column: span 1; }
  footer { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .quote-band { background-attachment: scroll; }
}
