@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500&family=PT+Sans:wght@400;700&display=swap');

/* Colours from the stylesheet of museumfoto.amsterdam (global-style.asp): #121413, #4a514d, #c89a52, #b5abb0, #f8f8f8. See ../BRAND.md */
:root {
  --ink: #121413;
  --ink-2: #1d201f;
  --green: #4a514d;
  --green-deep: #3a403c;
  --gold: #c89a52;
  --gold-text: #8a6526;
  --mauve: #b5abb0;
  --paper: #f8f8f8;
  --tint: #f4ede2;
  --white: #ffffff;
  --line: #dcd8d6;
  --line-dark: rgba(255, 255, 255, .16);
  --muted: #5c615e;
  --muted-dark: #c9c4c6;

  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-body: 'PT Sans', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 3px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0938rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, .wordmark, .row .v, .choices li, .quote p, .pair figcaption b { font-optical-sizing: none; font-variation-settings: 'opsz' 20; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .7rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.25rem;
  font: 700 .875rem/1 var(--font-body); letter-spacing: .02em;
  color: var(--ink); background: var(--gold);
  border: 1px solid var(--gold); border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .16s, color .16s, border-color .16s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: #d6ad6c; border-color: #d6ad6c; }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(200, 154, 82, .12); }
.btn.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn.dark:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.textlink { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .1rem; }
.textlink svg { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand { text-decoration: none; color: inherit; }
.wordmark { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-link { font-size: .9rem; text-decoration: none; color: var(--muted-dark); padding: .4rem 0; border-bottom: 1px solid transparent; }
.nav-link:hover { color: var(--white); }
.nav-link[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }
.header-phone .word { display: none; }
.menu-btn { display: none; }

@media (max-width: 1100px) {
  .header-phone .num { display: none; }
  .header-phone .word { display: inline; }
}
@media (max-width: 860px) {
  .wordmark { font-size: 1.35rem; }
  .menu-btn {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--white); cursor: pointer;
  }
  .menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after {
    display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; content: '';
  }
  .menu-btn span:first-child::before { position: absolute; top: -6px; }
  .menu-btn span:first-child::after { position: absolute; top: 6px; }
  .menu-btn[aria-expanded="true"] span:first-child { background: transparent; }
  .menu-btn[aria-expanded="true"] span:first-child::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:first-child::after { top: 0; transform: rotate(-45deg); }
  .nav {
    display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: .5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line-dark);
  }
  .nav.open { display: flex; }
  .nav-link { padding: .95rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .nav-link[aria-current="page"] { border-bottom-color: var(--line-dark); color: var(--gold); }
  .header-phone { margin-top: 1rem; justify-content: center; }
  .header-phone .num { display: inline; }
  .header-phone .word { display: none; }
}

/* ---------- sections ---------- */
section { padding-block: clamp(4rem, 8vw, 7rem); }
.on-dark { background: var(--ink); color: var(--white); }
.on-green { background: var(--green); color: var(--white); }
.on-tint { background: var(--tint); }
.on-white { background: var(--white); }
.sec-head { display: grid; gap: 1rem; max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.sec-head h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); }
.sec-head p { color: var(--muted); font-size: 1.08rem; max-width: 38em; }
.on-dark .sec-head p, .on-green .sec-head p { color: var(--muted-dark); }
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.split-head .sec-head { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--white); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero-in { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5rem); line-height: 1.02; }
.hero .lead { margin-top: 1.5rem; font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); color: var(--muted-dark); max-width: 36rem; }
.hero .btn-row { margin-top: 2.2rem; }
.hero-meta { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); display: grid; gap: .55rem; font-size: .95rem; color: var(--muted-dark); }
.hero-meta span { display: flex; gap: .6rem; align-items: flex-start; }
.hero-meta svg { width: 18px; height: 18px; flex: none; margin-top: .2rem; color: var(--gold); }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); animation: settle 1.6s var(--ease-out) both; }
.label { margin-top: .9rem; font-size: .85rem; color: var(--muted-dark); line-height: 1.45; }
.label b { display: block; color: var(--white); font-weight: 700; }
@keyframes settle { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@media (min-width: 861px) {
  .hero-in { grid-template-columns: 1.15fr .85fr; }
  .hero-photo { max-width: 470px; justify-self: end; width: 100%; }
}

/* page hero (subpages) */
.page-hero { background: var(--ink); color: var(--white); padding-block: clamp(3.25rem, 6vw, 5rem); }
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); max-width: 18ch; }
.page-hero p { margin-top: 1.25rem; max-width: 40rem; color: var(--muted-dark); font-size: 1.1rem; }

/* ---------- original vs photo pairs ---------- */
.pairs { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.6rem, 1.5vw, 1rem); margin: 0; }
.pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
.pair figcaption { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); margin-top: .3rem; }
.pair figcaption b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; margin-bottom: .15rem; }
.on-dark .pair figcaption { color: var(--muted-dark); }
.on-dark .pair figcaption b { color: var(--white); }
@media (min-width: 861px) {
  .pairs.three { grid-template-columns: repeat(3, 1fr); gap: clamp(1.75rem, 3vw, 2.5rem); }
  .pairs.two { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- register rows ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; gap: .35rem 2rem; padding-block: 1.35rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.row .k { font-size: .9rem; color: var(--muted); }
.row .v { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.15; }
.row .v small { display: block; font-family: var(--font-body); font-size: .95rem; color: var(--muted); margin-top: .35rem; line-height: 1.5; }
.row .p { font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
a.row { text-decoration: none; color: inherit; }
a.row .go svg { width: 22px; height: 22px; transition: transform .2s var(--ease-out); }
a.row:hover .go svg { transform: translateX(4px); }
a.row:hover .v { color: var(--green); }
.on-dark .rows, .on-dark .row, .on-green .rows, .on-green .row { border-color: var(--line-dark); }
.on-dark .row .k, .on-dark .row .v small, .on-green .row .k, .on-green .row .v small { color: var(--muted-dark); }
.on-dark a.row:hover .v, .on-green a.row:hover .v { color: var(--gold); }
@media (min-width: 861px) {
  .row { grid-template-columns: 15rem 1fr auto; }
}
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr auto; }
  .row .k { grid-column: 1 / -1; }
}

.rows.compact .row { grid-template-columns: 7.5rem 1fr auto; padding-block: 1.05rem; }
.rows.compact .v { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.3; }
@media (max-width: 520px) { .rows.compact .row { grid-template-columns: 1fr auto; } }

/* ---------- media/text ---------- */
.media { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media figure { margin: 0; }
.media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.media .tall { aspect-ratio: 4 / 5; object-position: 50% 25%; }
.media .copy { display: grid; gap: 1.1rem; }
.media .copy h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); }
.media .copy p { color: var(--muted); }
.on-dark .media .copy p, .on-green .media .copy p { color: var(--muted-dark); }
.media .copy .btn-row { margin-top: .6rem; }
@media (min-width: 861px) {
  .media { grid-template-columns: 1fr 1fr; }
  .media.flip figure { order: 2; }
  .media.narrow-img { grid-template-columns: .8fr 1.2fr; }
}

/* ---------- photo strip ---------- */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.6rem, 1.4vw, 1rem); }
.strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); }
@media (min-width: 861px) { .strip { grid-template-columns: repeat(4, 1fr); } }

/* ---------- prices ---------- */
.prices { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.price-note { display: grid; gap: 1rem; align-content: start; color: var(--muted); }
.price-note h3 { font-size: 1.5rem; color: var(--ink); }
@media (min-width: 861px) { .prices { grid-template-columns: 1.4fr 1fr; } }

/* ---------- list of choices ---------- */
.choices { columns: 2 16rem; column-gap: 2.5rem; }
.choices li { break-inside: avoid; padding: .85rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.25; }
.choices li span { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--muted); margin-top: .2rem; }

/* ---------- press ---------- */
.press { columns: 3 13rem; column-gap: 2.5rem; }
.press li { break-inside: avoid; padding: .7rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }

/* ---------- quote ---------- */
.quote { margin: 0; max-width: 52rem; }
.quote p { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.2; }
.quote footer { margin-top: 1.25rem; font-size: .95rem; color: var(--muted-dark); }

/* ---------- places ---------- */
.places { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: .4rem; }
.places li { font-size: .98rem; padding-bottom: .1rem; border-bottom: 1px solid var(--line); }

/* ---------- cta band ---------- */
.cta { text-align: left; }
.cta-in { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); max-width: 16ch; }
.cta p { margin-top: 1rem; color: var(--muted-dark); max-width: 34rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 961px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.rows.contact .row { grid-template-columns: 9.5rem 1fr; }
.rows.contact .v { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); }
.rows.contact .v a { text-decoration: none; border-bottom: 1px solid var(--line); }
.rows.contact .v a:hover { border-bottom-color: currentColor; }
@media (max-width: 520px) { .rows.contact .row { grid-template-columns: 1fr; } }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1.25rem; font-family: var(--font-body); font-size: 1rem; }

form { display: grid; gap: 1.1rem; background: var(--white); padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); }
form h2 { font-size: 1.9rem; }
.field { display: grid; gap: .4rem; }
.field-2 { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .field-2 { grid-template-columns: 1fr 1fr; } }
label { font-weight: 700; font-size: .9rem; }
input, textarea, select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid #b9b4b3; border-radius: var(--radius); padding: .75rem .85rem; min-height: 48px; width: 100%;
  accent-color: var(--green); caret-color: var(--green);
}
textarea { min-height: 7.5rem; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
input:user-invalid, textarea:user-invalid { border-color: #a3332a; }
.form-small { font-size: .85rem; color: var(--muted); }
.form-ok { display: none; padding: 1rem; background: var(--tint); border-left: 0; border-radius: var(--radius); font-size: .95rem; }
.form-ok.show { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 861px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr 1fr; } }
.footer-brand { display: grid; gap: 1.1rem; justify-items: start; }
.footer-brand p { color: var(--muted-dark); max-width: 22rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--mauve); margin-bottom: .9rem; letter-spacing: .02em; }
.site-footer ul { display: grid; gap: .5rem; }
.site-footer ul a { text-decoration: none; color: var(--muted-dark); }
.site-footer ul a:hover { color: var(--white); }
.site-footer ul.big a { color: var(--white); font-size: 1.15rem; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
.site-footer ul.big li.plain a { font-size: 1rem; }
.kvk { margin-top: 1rem; font-size: .85rem; color: var(--mauve); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; color: var(--mauve); }

/* ---------- mobile callbar ---------- */
.callbar { display: none; }
@media (max-width: 860px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line-dark);
  }
  .callbar .btn { justify-content: center; }
  .callbar .btn.ghost { color: var(--white); }
  body { padding-bottom: 72px; }
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
