@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Villa Zomerdijk. Colours from their own style.css and site (green agenda bar, beige panels, cream page, sand footer), see ../BRAND.md */
:root {
  --green: #2d422f;      /* their dark green: agenda/title bars */
  --green-2: #253418;    /* darkest green in their style.css */
  --sage: #7f987f;       /* their sage green (B&B header band, style.css) */
  --sage-ink: #475a48;   /* shade of their sage for text, AA on cream and beige (Keurder: was #4e624f, 4.4:1 on beige) */
  --beige: #dcd1ba;      /* their content panel beige */
  --cream: #fbf1d9;      /* their page background */
  --sand: #decc98;       /* their footer band */
  --ink: #1f2a20;        /* near black with a touch of their green */
  --muted: #4f5a50;
  --line: #cfc3a6;       /* tint of their beige, used as rule */
  --paper: #fffaf0;      /* lightest tint of their cream */
  --white: #fff;

  --f-display: Georgia, 'Times New Roman', serif;   /* their own heading font */
  --f: 'Open Sans', Verdana, system-ui, sans-serif; /* their own body font */
  --r: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.7 var(--f); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.15; margin: 0; color: var(--green); text-wrap: balance; }
h3 { font-weight: 700; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
figure { margin: 0; }
::selection { background: var(--beige); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--cream); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--white); color: var(--green); padding: .5rem 1rem; z-index: 99; }
.skip:focus { left: .5rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: .7rem 1.2rem; border-radius: var(--r); border: 1px solid var(--green); background: var(--green); color: var(--white); font: 600 .95rem/1.2 var(--f); text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--green-2); border-color: var(--green-2); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--white); }
.btn.light { background: var(--cream); border-color: var(--cream); color: var(--green); }
.btn.light:hover { background: var(--white); border-color: var(--white); }
.dark .btn.ghost { color: var(--cream); border-color: rgba(251,241,217,.7); }
.dark .btn.ghost:hover { background: var(--cream); color: var(--green); }
.textlink { color: var(--green); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }

/* Header: dark green with their white logo */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); color: var(--cream); }
.header-in { display: flex; align-items: center; gap: 1.75rem; min-height: 80px; }
.brand { display: block; text-decoration: none; flex: none; }
.brand img { height: 54px; width: auto; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 1.6rem; position: static; inset: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; width: auto; height: auto; overflow: visible; }
.nav-link { font-size: .95rem; text-decoration: none; padding: .35rem 0; border-bottom: 1px solid transparent; color: #e8e2cf; }
.nav-link:hover { color: var(--white); border-bottom-color: rgba(251,241,217,.5); }
.nav-link[aria-current="page"] { color: var(--white); border-bottom-color: var(--sand); }
.menu-btn { display: none; }
.header-call { min-height: 42px; }

.dark { background: var(--green); color: #e6e0cc; }
.dark h1, .dark h2, .dark h3 { color: var(--cream); }

/* Hero */
.hero { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 4rem); margin-bottom: 1.25rem; }
.hero-lead { font-size: 1.18rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2.25rem; }
.facts { list-style: none; border-top: 1px solid rgba(251,241,217,.22); max-width: 36rem; }
.facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid rgba(251,241,217,.22); font-size: .97rem; }
.facts .k { font-weight: 600; color: var(--cream); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }

/* Page intro */
.intro { padding: clamp(2.5rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem); }
.intro h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 1rem; }
.intro p { font-size: 1.15rem; max-width: 42rem; }
.intro .jump { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; list-style: none; margin-top: 1.5rem; font-size: .97rem; }
.intro .jump a { color: var(--cream); font-weight: 600; text-decoration-color: rgba(251,241,217,.5); }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.paper { background: var(--paper); }
.section.beige { background: var(--beige); }
.sec-head { max-width: 46rem; margin-bottom: 2.25rem; }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: .75rem; }
.sec-head p { color: var(--muted); font-size: 1.07rem; margin: 0; }

/* Agenda: dates as register rows */
.agenda-grid { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.dates { list-style: none; border-top: 1px solid var(--line); }
.dates li { display: grid; grid-template-columns: 11rem 1fr auto; gap: 1.25rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.dates .d { font: 400 clamp(1.4rem, 2.2vw, 1.75rem)/1.2 var(--f-display); color: var(--green); }
.dates .w { font-weight: 600; }
.dates .w span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
.dates .p { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.reserve { background: var(--green); color: #e6e0cc; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r); }
.reserve h3 { font: 400 1.6rem/1.2 var(--f-display); color: var(--cream); margin-bottom: .75rem; }
.reserve p { font-size: .98rem; }
.reserve a:not(.btn) { color: var(--cream); font-weight: 600; }
.reserve .btn { margin-top: .5rem; }

/* Menus */
.menus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.menu-card h3 { font: 400 1.65rem/1.2 var(--f-display); color: var(--green); margin-bottom: .35rem; }
.menu-card .when { color: var(--muted); font-size: .95rem; margin-bottom: 1.25rem; }
.courses { list-style: none; border-top: 1px solid var(--line); }
.courses li { padding: .7rem 0; border-bottom: 1px solid var(--line); text-wrap: pretty; }
.courses .c { display: block; font-size: .85rem; color: var(--sage-ink); font-weight: 600; }

/* Register list (REFS 1) */
.register { list-style: none; border-top: 1px solid var(--line); }
.register li { border-bottom: 1px solid var(--line); }
.register a { display: grid; grid-template-columns: minmax(0, 19rem) 1fr auto; gap: 1.5rem; align-items: center; min-height: 76px; padding: .9rem 0; text-decoration: none; }
.register .desc { font-size: .95rem; color: var(--muted); }
.register .name { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.2 var(--f-display); color: var(--green); }
.register svg { width: 22px; height: 22px; color: var(--green); transition: transform .2s var(--ease); }
.register a:hover .name { text-decoration: underline; text-decoration-thickness: 1px; }
.register a:hover svg { transform: translateX(4px); }

/* Photo left, text right (REFS 2) */
.split { display: grid; grid-template-columns: minmax(0, 500px) 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip { grid-template-columns: 1fr minmax(0, 500px); }
.split.flip > figure { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.split img.wide { aspect-ratio: 3 / 2; }
.split h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); margin-bottom: 1rem; }
.split p { max-width: 36em; }
.lines { list-style: none; border-top: 1px solid var(--line); margin: 1.5rem 0; }
.lines li { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.lines .k { font-weight: 600; }
.lines .p { font-variant-numeric: tabular-nums; }
.split-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.small { font-size: .92rem; color: var(--muted); }

/* Photo row: their own dishes */
.plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; }
.plates img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); }
.plates figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }

/* Guest words (from their own site) */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.quotes blockquote { margin: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.quotes blockquote p { font: 400 1.2rem/1.55 var(--f-display); color: var(--ink); }
.quotes cite { font-style: normal; font-size: .92rem; color: var(--muted); }

/* Rooms */
.rooms { list-style: none; border-top: 1px solid var(--line); }
.rooms li { display: grid; grid-template-columns: minmax(0, 16rem) 1fr auto; gap: 1.5rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.rooms h3 { font: 400 1.7rem/1.2 var(--f-display); color: var(--green); }
.rooms h3 span { display: block; font: 600 .85rem/1.4 var(--f); color: var(--sage-ink); }
.rooms p { margin: 0; max-width: 34rem; }
.rooms .p { font: 600 1.15rem/1.3 var(--f); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.rooms .p span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }

/* Band (REFS 4, once per page) */
.band { padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.band h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); margin-bottom: .75rem; }
.band p { max-width: 40rem; margin: 0 auto 1.75rem; }
.band .btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Contact rows */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-grid h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.rows { list-style: none; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 10rem 1fr; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
.rows .k { font-weight: 600; font-size: .97rem; }
.rows a { color: var(--green); font-weight: 600; }
.rows .sub { display: block; color: var(--muted); font-size: .93rem; }

/* Form (demo only) */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); }
.form h2 { font-size: 1.9rem; margin-bottom: .5rem; }
.form > p { color: var(--muted); font-size: .98rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; padding: .7rem .8rem; border: 1px solid #a99c7e; border-radius: var(--r); background: var(--white); color: var(--ink); width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { margin-top: 1rem; padding: .85rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); font-size: .98rem; }
.opt { color: var(--muted); font-weight: 400; }

/* Newsletter (demo) */
.news { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 2rem; align-items: end; }
.news h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: .5rem; }
.news p { margin: 0; }
.news form { display: flex; gap: .5rem; flex-wrap: wrap; }
.news input { flex: 1 1 14rem; font: inherit; padding: .7rem .8rem; border: 1px solid #a99c7e; border-radius: var(--r); background: var(--white); min-height: 46px; }
.news .form-note { flex-basis: 100%; }

/* Footer (labelled groups) on their sand colour */
.site-footer { background: var(--green-2); color: #e6e0cc; padding: 3.5rem 0 6rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(251,241,217,.18); }
.footer-top img { height: 46px; width: auto; }
.footer-top p { margin: 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2rem 0; }
.f-label { font-size: .85rem; color: var(--sand); margin-bottom: .6rem; }
.site-footer ul { list-style: none; display: grid; gap: .35rem; }
.site-footer a { text-decoration: underline; text-decoration-color: rgba(251,241,217,.4); text-decoration-thickness: 1px; }
.site-footer a:hover { text-decoration-color: currentColor; }
.f-small { font-size: .92rem; margin-top: .6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid rgba(251,241,217,.18); font-size: .88rem; color: #cfc8b2; }
.callbar { display: none; }

/* Reveal */
.reveal.pre { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.pre.in { opacity: 1; transform: none; }
.more { margin: 1.75rem 0 0; }

@media (max-width: 1100px) {
  .header-call .num { display: none; }
  .nav-list { gap: 1.2rem; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .split.flip, .contact-grid, .agenda-grid, .menus, .quotes, .news { grid-template-columns: 1fr; }
  .split.flip > figure { order: 0; }
  .split figure, .hero-photo { max-width: 520px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .plates { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 1px solid rgba(251,241,217,.7); color: var(--cream); border-radius: var(--r); padding: .5rem .75rem; font: 600 .95rem var(--f); cursor: pointer; }
  .menu-btn svg { width: 20px; height: 20px; }
  .nav-list { flex-direction: column; gap: 0; position: fixed; inset: 80px 0 auto 0; margin: 0; width: 100%; padding: .5rem 1.25rem 1rem; background: var(--green); border: 0; border-bottom: 1px solid rgba(251,241,217,.2); }
  .nav-list:not(:popover-open) { display: none; }
  .nav-link { display: block; padding: .9rem 0; font-size: 1.08rem; border-bottom: 1px solid rgba(251,241,217,.15); }
  .nav-link[aria-current="page"] { border-bottom-color: rgba(251,241,217,.15); text-decoration: underline; text-decoration-color: var(--sand); }
  .header-call { display: none; }
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--cream); border-top: 1px solid var(--line); }
  .callbar .btn { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .brand img { height: 44px; }
  .header-in { gap: .75rem; min-height: 68px; }
  .nav-list { inset: 68px 0 auto 0; }
  .facts li, .rows li, .lines li { grid-template-columns: 1fr; gap: .1rem; }
  .dates li { grid-template-columns: 1fr auto; gap: .2rem 1rem; }
  .dates .d { grid-column: 1 / -1; }
  .rooms li { grid-template-columns: 1fr; gap: .5rem; }
  .rooms .p { text-align: left; }
  .register a { grid-template-columns: 1fr auto; gap: .25rem 1rem; }
  .register .desc { grid-column: 1; grid-row: 2; }
  .register .name { grid-column: 1; grid-row: 1; }
  .register svg { grid-column: 2; grid-row: 1 / span 2; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.contact-photo { margin-top: 2rem; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
