:root {
  --forest: #173729;
  --deep: #102b20;
  --paper: #faf8f0;
  --cream: #f0eee0;
  --leaf: #dbe5ad;
  --ink: #243a2d;
  --muted: #50604f;
  --line: #d8decc;
  --serif: "Baskervville", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #688d40; outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; margin: 0; }
h1 { font-size: clamp(3rem, 6.2vw, 6.2rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2rem, 4.1vw, 4.1rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.045em; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 3rem, 1260px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 7rem); }
.skip { position: absolute; transform: translateY(-160%); z-index: 5; padding: .6rem 1rem; background: var(--paper); color: var(--forest); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 1.7rem; min-height: 88px; align-items: center; }
.brand { display: inline-flex; gap: .85rem; align-items: center; text-decoration: none; font: 1.55rem/1 var(--serif); width: fit-content; }
.brand small { display: block; margin-bottom: .25rem; font: 700 .61rem/1.1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.brand-mark { width: 47px; height: 47px; flex: 0 0 47px; background: center / contain no-repeat url("assets/de-nieuwe-weide-logo.svg"); }
nav { display: flex; gap: clamp(.8rem, 2vw, 2rem); justify-content: center; align-items: center; }
nav a { white-space: nowrap; font-size: .89rem; font-weight: 620; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; gap: .9rem; border: 1px solid var(--forest); border-radius: 4px; padding: .65rem 1rem; background: var(--forest); color: #fff; font-weight: 650; font-size: .87rem; line-height: 1.45; text-decoration: none; }
.button:hover { background: var(--deep); }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--cream); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.home-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: clamp(470px, 45vw, 690px); background: var(--forest); color: var(--paper); }
.home-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; grid-column: 2; grid-row: 1; }
.hero-copy { display: grid; align-content: center; justify-items: start; padding: 3rem clamp(1.5rem, 5vw, 6rem) 3.4rem max(1.5rem, calc((100vw - 1260px) / 2)); }
.hero-copy h1 { font-size: clamp(3rem, 5.6vw, 6rem); }
.hero-copy em { color: var(--leaf); font-weight: 400; }
.eyebrow { margin-bottom: 1.25rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; font-size: .72rem; }
.hero-description { margin-block: 1.55rem; max-width: 34ch; color: #e1eadb; }
.hero-copy .button { background: var(--leaf); border-color: var(--leaf); color: var(--forest); }
.hero-copy .button:hover { background: #eef2d0; }
.hero-copy .secondary { color: var(--paper); background: transparent; border-color: #a7b5a6; }
.hero-copy .secondary:hover { color: var(--forest); background: var(--leaf); }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.split-heading p { max-width: 38ch; color: var(--muted); margin-bottom: 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 2.3vw, 2rem); }
.category-card { text-decoration: none; min-width: 0; border-bottom: 1px solid var(--line); }
.category-card img { width: 100%; aspect-ratio: 4 / 4.5; object-fit: cover; border-radius: 4px; }
.category-card div { display: grid; grid-template-columns: 1fr auto; gap: .6rem .35rem; align-items: start; padding-block: 1rem; }
.category-card p { grid-column: 1 / -1; color: var(--muted); font-size: .89rem; margin: 0; }
.card-arrow { align-self: center; font-size: 1.1rem; }
.category-card:hover h3 { text-decoration: underline; text-underline-offset: .13em; }
.story { background: var(--cream); }
.story-inner { display: grid; grid-template-columns: 1.16fr .84fr; gap: clamp(1.6rem, 7vw, 7rem); align-items: center; }
.story .story-inner { padding-block: clamp(2.8rem, 7vw, 6rem); }
.story-inner img, .story-inner video { width: 100%; border-radius: 4px; }
.story-inner img { height: auto; }
.story-inner p:not(.eyebrow), .callout p { color: var(--muted); max-width: 49ch; }
.story-inner h2 + p, .callout h2 + p, .contact-grid h2 + *, .request-inner h2 + p { margin-top: 1rem; }
.story-inner .button { margin-top: .65rem; }
.callout { display: flex; gap: 1.4rem; justify-content: space-between; align-items: center; }
.callout p { margin-bottom: 0; }
.site-footer { background: var(--deep); color: var(--paper); }
.footer-grid { padding-block: 2.8rem; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.footer-grid h2 { font: 650 1rem/1.4 var(--sans); margin-bottom: .45rem; letter-spacing: 0; }
.footer-grid a:not(.brand) { color: #dce6d8; overflow-wrap: anywhere; font-size: .9rem; }
.page-intro { background: var(--forest); color: var(--paper); padding-block: clamp(3.4rem, 8vw, 6.5rem); }
.page-intro p { max-width: 58ch; color: #e1eadb; margin: 1.1rem 0 0; }
.catalog { max-width: 1000px; }
.filters { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-top: 1.45rem; }
label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 650; }
input, select, textarea { width: 100%; color: var(--ink); border: 1px solid #a8b6a2; border-radius: 4px; background: #fff; min-height: 46px; padding: .55rem .7rem; font-weight: 400; }
textarea { resize: vertical; }
.count { color: var(--muted); margin: 1rem 0 .55rem; }
.tree-list { padding: 0; margin: 0; list-style: none; }
.tree-list li { display: flex; justify-content: space-between; align-items: center; gap: .8rem; border-top: 1px solid var(--line); padding-block: .68rem; }
.tree-list li:last-child { border-bottom: 1px solid var(--line); }
.tree-list strong { font-weight: 640; }
.tree-list small { display: block; color: var(--muted); }
.tree-list a { font-size: .85rem; font-weight: 650; white-space: nowrap; }
.catalog-note { margin-top: 1.6rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.8rem, 2.1vw, 1.8rem); }
.gallery-item { display: block; text-decoration: none; }
.gallery-item > span { display: flex; justify-content: space-between; gap: .4rem; margin-top: .45rem; font-size: .85rem; }
.gallery-item:hover { text-decoration: underline; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
dialog { padding: 0; border: none; border-radius: 4px; width: min(90vw, 980px); background: var(--deep); color: var(--paper); }
dialog::backdrop { background: #0d1c17dd; }
dialog img { width: 100%; height: min(74vh, 760px); object-fit: contain; }
.photo-toolbar { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1.1rem; gap: 1rem; }
.photo-toolbar p { margin: 0; }
.photo-close { background: var(--leaf); color: var(--deep); border: 0; border-radius: 4px; padding: .35rem .55rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
address { font-style: normal; margin-bottom: 1rem; }
.request-section { background: var(--cream); }
.request-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 6vw, 5rem); }
.request-inner p { max-width: 40ch; }
form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 950px) {
  .header-inner { grid-template-columns: auto 1fr; gap: 0 .7rem; min-height: 75px; }
  .menu-toggle:not([hidden]) { display: block; justify-self: end; padding: .35rem .65rem; color: var(--forest); min-height: 43px; border: 1px solid var(--line); border-radius: 4px; background: transparent; }
  .menu-toggle[aria-expanded="false"] + nav { display: none; }
  .header-cta { display: none; }
  nav { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; padding-block: .5rem 1rem; gap: .75rem 1.15rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .home-hero { display: grid; grid-template-columns: 1fr; }
  .home-hero img { grid-column: 1; grid-row: auto; height: clamp(235px, 63vw, 420px); }
  .hero-copy { padding: 2.7rem 1rem 2.3rem; }
  .hero-copy h1 { font-size: clamp(3rem, 11vw, 4.6rem); }
  .split-heading, .callout { display: grid; justify-content: stretch; align-items: start; }
  .callout .button { justify-self: start; }
  .category-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-inner, .request-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
}
.arrow { display: inline-block; flex: 0 0 .65em; width: .65em; height: .65em; position: relative; border-top: 1px solid; border-right: 1px solid; margin-inline: .1em; }
.arrow::after { content: ""; position: absolute; right: -.05em; top: -.02em; width: .87em; border-top: 1px solid; transform: rotate(-45deg); transform-origin: right center; }

/* Show trained crowns in landscape thumbnails. */
.category-card img.photo-crown, .gallery-item img.photo-crown { object-position: center 26%; }
.gallery-item img.photo-wide { object-fit: contain; background: var(--cream); }
