/* aggphotography v2: styles for the redesign drafts (pages with body.agg2 only).
   Source of truth for the look: 03-prototype (agg.css). Loaded by Code Snippet "AGG v2: drafts". */

body.agg2 {
  --ink: #161616; --muted: #6c6c6c; --bg: #ffffff; --surface: #f2f2f2; --line: rgba(22,22,22,.13);
  --nav: 72px; --gut: clamp(24px, 2.8vw, 72px); --gutter: 24px;
  --t-h1: clamp(40px, 5.4vw, 120px); --t-h2: clamp(30px, 3vw, 64px); --t-lead: 17px; --t-body: 15px; --t-small: 13px;
  --padt: clamp(96px, 8vw, 140px); --padb: clamp(64px, 5vw, 96px);
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-body)/1.55 "Geist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1279px) { body.agg2 { --gut: clamp(24px, 3.2vw, 48px); } }
@media (max-width: 639px)  { body.agg2 { --nav: 56px; --gut: 20px; --gutter: 12px; --padt: 72px; --padb: 56px; } }

/* neutralise Elementor's default spacing on these pages: the design sets its own */
body.agg2 .e-con { --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; --margin-top: 0px; --margin-bottom: 0px; --container-max-width: none; --content-width: 100%; }
body.agg2 .elementor-widget { margin: 0; --kit-widget-spacing: 0px; }
body.agg2 .elementor-widget-container { margin: 0; padding: 0; }
body.agg2 p { margin: 0; }
body.agg2 img { display: block; max-width: 100%; height: auto; }
body.agg2 a { color: inherit; }

/* type */
body.agg2 :is(h1, h2, h3, .elementor-heading-title) { font-family: "Geist", system-ui, sans-serif; color: var(--ink); margin: 0; }
body.agg2 h1, body.agg2 h1.elementor-heading-title { font-size: var(--t-h1); font-weight: 300; line-height: .98; letter-spacing: -0.04em; hyphens: manual; }
body.agg2 h2, body.agg2 h2.elementor-heading-title { font-size: var(--t-h2); font-weight: 300; line-height: 1.02; letter-spacing: -0.04em; }
body.agg2 h3, body.agg2 h3.elementor-heading-title { font-size: 20px; font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
body.agg2 .agg2-lead, body.agg2 .agg2-lead p { font-size: var(--t-lead); line-height: 1.5; max-width: 52ch; }
body.agg2 .agg2-text, body.agg2 .agg2-text p { font-size: var(--t-body); line-height: 1.6; max-width: 60ch; }
body.agg2 .agg2-text p + p { margin-top: 1em; }
body.agg2 .agg2-muted { color: var(--muted); }

/* links in place of buttons: a word and a thin line under it */
body.agg2 .agg2-link, body.agg2 .agg2-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink);
  font: 400 15px/1.2 "Geist", system-ui, sans-serif; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 7px; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); transition: text-decoration-color .15s;
}
body.agg2 .agg2-link:hover, body.agg2 .agg2-links a:hover { text-decoration-color: currentColor; }
body.agg2 .agg2-links a.is-main { font-weight: 500; }
body.agg2 .agg2-links a.is-main::after { content: "\2192"; text-decoration: none; display: inline-block; transition: transform .15s; }
body.agg2 .agg2-links a.is-main:hover::after { transform: translateX(3px); }
body.agg2 .agg2-links, body.agg2 .agg2-links p { display: flex; flex-wrap: wrap; gap: 4px 32px; }
body.agg2 a:focus-visible, body.agg2 button:focus-visible, body.agg2 [tabindex]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* layout */
body.agg2 .agg2-wrap { padding-inline: var(--gut); box-sizing: border-box; width: 100%; }
body.agg2 .agg2-section { padding-block: var(--padt) var(--padb); }
body.agg2 .agg2-screen { min-height: 100svh; box-sizing: border-box; }
body.agg2 .agg2-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
body.agg2 .agg2-headrow { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 48px; }
body.agg2 .agg2-headrow > .e-con { display: flex; flex-direction: column; gap: 16px; }
body.agg2 .agg2-split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 48px; align-items: start; }
body.agg2 .agg2-split > :first-child { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 24px; }
body.agg2 .agg2-split > :last-child { grid-column: 7 / -1; }
@media (max-width: 1023px) { body.agg2 .agg2-split > :first-child, body.agg2 .agg2-split > :last-child { grid-column: 1 / -1; } }

/* nav */
.agg2-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav); background: #fff; border-bottom: 1px solid var(--line); }
body.admin-bar .agg2-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .agg2-nav { top: 46px; } }
.agg2-nav__bar { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.agg2-logo img { height: 22px; width: auto; }
.agg2-nav__links { display: flex; gap: 32px; }
.agg2-nav__links a, .agg2-nav__cta { font-size: 14px; color: var(--ink); text-decoration: none; padding-block: 12px; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 calc(100% - 8px); transition: background-size .15s; }
.agg2-nav__links a:hover, .agg2-nav__links a[aria-current="page"] { background-size: 100% 1px; }
.agg2-nav__end { justify-self: end; display: flex; align-items: center; gap: 28px; }
.agg2-nav__lang { font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: .02em; padding-block: 12px; }
.agg2-nav__lang:hover { color: var(--ink); }
.agg2-nav__cta { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); background: none; }
.agg2-nav__cta:hover { text-decoration-color: currentColor; }
.agg2-nav__toggle { display: none; justify-self: end; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.agg2-sheet { position: fixed; inset: var(--nav) 0 0 0; z-index: 49; background: #fff; padding: 24px var(--gut); display: flex; flex-direction: column; }
body.admin-bar .agg2-sheet { top: calc(var(--nav) + 46px); }
.agg2-sheet[hidden] { display: none; }
.agg2-sheet a { font-size: 30px; font-weight: 300; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); padding-block: 10px; border-bottom: 1px solid var(--line); }
@media (max-width: 899px) {
  .agg2-nav__bar { grid-template-columns: 1fr auto; }
  .agg2-nav__links, .agg2-nav__end { display: none; }
  .agg2-nav__toggle { display: block; }
  .agg2-logo img { height: 18px; }
}

/* hero: a photograph edge to edge under the bar, the words on the white below */
body.agg2 .agg2-hero { height: 100svh; min-height: 560px; padding-top: var(--nav); display: flex; flex-direction: column; box-sizing: border-box; }
body.admin-bar .agg2-hero { height: calc(100svh - 32px); }
body.agg2 .agg2-hero > .elementor-widget-html { flex: 1 1 auto; min-height: 0; position: relative; }
body.agg2 .agg2-hero > .elementor-widget-html > .elementor-widget-container { position: absolute; inset: 0; }
.agg2-hero__media { position: absolute; inset: 0; margin: 0; overflow: hidden; background: var(--surface); }
.agg2-hero__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; object-position: var(--pos, 50% 55%); }
body.agg2 .agg2-hero__text { flex: 0 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 20px; align-items: end; padding-block: 32px 40px; }
body.agg2 .agg2-hero__text > .elementor-widget-heading { grid-column: 1 / span 8; }
body.agg2 .agg2-hero__side { grid-column: 9 / -1; display: flex; flex-direction: column; gap: 16px; }
.agg2-hero__meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.agg2-hero__meta a { color: var(--ink); text-decoration: none; }
.agg2-hero__meta a:hover, .agg2-hero__next:hover { text-decoration: underline; text-underline-offset: 4px; }
.agg2-hero__next { all: unset; cursor: pointer; color: var(--ink); min-height: 32px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1023px) { body.agg2 .agg2-hero__text > .elementor-widget-heading, body.agg2 .agg2-hero__side { grid-column: 1 / -1; } }
@media (max-width: 639px) {
  body.agg2 .agg2-hero { height: auto; min-height: 0; }
  body.agg2 .agg2-hero > .elementor-widget-html { flex: 0 0 46svh; }
  body.agg2 .agg2-hero__text { padding-block: 20px 32px; }
}

/* who I photograph for: rows beside one photograph that changes with the row */
.agg2-peek { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 40px; align-items: start; }
.agg2-peek__rows { grid-column: 1 / span 6; list-style: none; margin: 0; padding: 0; }
.agg2-peek__rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: default; outline-offset: 4px; }
.agg2-peek__rows li:first-child { padding-top: 0; }
.agg2-peek__rows b { font-weight: 500; }
.agg2-peek__rows span { grid-column: 1; color: var(--ink); }
.agg2-peek__rows i { grid-column: 2; grid-row: 1; font-style: normal; color: var(--muted); font-size: 13px; text-align: right; }
.agg2-peek__rows li.is-on b::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-left: 10px; vertical-align: middle; }
.agg2-peek__pic { grid-column: 7 / -1; margin: 0; position: relative; aspect-ratio: 3 / 2; }
.agg2-peek__pic img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: contain; object-position: left top; }
.agg2-peek__pic img[hidden] { display: none; }
@media (max-width: 1023px) { .agg2-peek__rows, .agg2-peek__pic { grid-column: 1 / -1; } }

/* Sonneveld House: four photographs that stack as you scroll, each with its chapter */
body.agg2 .agg2-dark { background: #161616; color: #fff; }
body.agg2 .agg2-dark :is(h2, h3, .elementor-heading-title, p, a) { color: #fff; }
.agg2-chapters { list-style: none; margin: 0; padding: 0; }
.agg2-ch { position: sticky; top: calc(var(--nav) + 24px); height: calc(100svh - var(--nav) - 48px); margin: 0 0 24px; }
body.admin-bar .agg2-ch { top: calc(var(--nav) + 32px + 24px); height: calc(100svh - var(--nav) - 32px - 48px); }
.agg2-ch figure { margin: 0; position: absolute; inset: 0; overflow: hidden; background: #222; }
.agg2-ch img { width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; }
.agg2-ch__card { position: absolute; left: 24px; bottom: 24px; max-width: 380px; background: #161616; color: #fff; padding: 24px 28px; }
.agg2-ch__card small { display: block; font-size: 13px; color: #9d9d9d; margin-bottom: 8px; }
.agg2-ch__card h3 { color: #fff; margin-bottom: 8px; }
.agg2-ch__card p { font-size: 15px; line-height: 1.5; color: #fff; }
@media (max-width: 639px) {
  .agg2-ch { height: 70svh; }
  .agg2-ch__card { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
}

/* project rows: equal height, each frame's own ratio (--r) sets its width; never cropped */
.agg2-elev { display: flex; gap: var(--gutter); align-items: flex-start; max-width: calc((100svh - 300px) * var(--sum, 3) + (var(--n, 3) - 1) * var(--gutter)); }
.agg2-elev + .agg2-elev { margin-top: 48px; }
.agg2-elev__item { flex: var(--r) 1 0; min-width: 0; display: grid; gap: 6px; color: var(--ink); text-decoration: none; }
.agg2-elev__pic { display: block; aspect-ratio: var(--r); overflow: hidden; background: var(--surface); }
.agg2-elev__pic img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
a.agg2-elev__item:hover img { transform: scale(1.03); }
.agg2-elev__name { font-size: 15px; font-weight: 500; margin-top: 6px; }
.agg2-elev__place { font-size: 13px; color: var(--muted); margin-top: -4px; }
@media (max-width: 639px) {
  .agg2-elev { flex-direction: column; gap: 32px; max-width: none; }
  .agg2-elev__item { flex: none; width: 100%; }
  .agg2-elev + .agg2-elev { margin-top: 32px; }
}

/* about: the portrait develops once as it comes into view */
body.agg2 .agg2-portrait img { width: 100%; aspect-ratio: 4 / 3.4; height: auto !important; object-fit: cover; object-position: 82% 40%; }
@media (prefers-reduced-motion: no-preference) {
  body.agg2 .agg2-portrait img { filter: grayscale(1) contrast(.75) brightness(1.15); opacity: .5; transform: scale(1.03); transition: filter 1.6s ease, opacity 1.2s ease, transform 1.6s cubic-bezier(.22,1,.36,1); }
  body.agg2 .agg2-portrait.is-in img { filter: none; opacity: 1; transform: none; }
}

/* the close: the words and the link on one row, then a photograph across */
body.agg2 .agg2-close-pic img { width: 100%; height: clamp(180px, 26vw, 420px) !important; object-fit: cover; object-position: 50% 40%; }

/* footer */
.agg2-footer { padding: 64px 0 40px; }
.agg2-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 32px; }
.agg2-footer__place { grid-column: 1 / span 6; }
.agg2-footer__place address { font-style: normal; font-size: var(--t-h2); font-weight: 300; letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 12px; }
.agg2-footer__contact { grid-column: 7 / -1; display: flex; flex-direction: column; gap: 4px; }
.agg2-footer__contact h3 { font-size: 13px !important; color: var(--muted) !important; font-weight: 400 !important; margin-bottom: 4px !important; }
.agg2-footer__legal { margin-top: 56px; font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.agg2-footer__legal a { color: var(--muted); }
@media (max-width: 1023px) { .agg2-footer__place, .agg2-footer__contact { grid-column: 1 / -1; } }

/* inner pages */
body.agg2 .agg2-pagehead { padding-top: calc(var(--nav) + clamp(56px, 7vw, 128px)); padding-bottom: 56px; }
body.agg2 .agg2-pagehead .agg2-split > :first-child { gap: 20px; }
body.agg2 .agg2-group { padding-block: 40px 72px; }
body.agg2 .agg2-index, body.agg2 .agg2-index p { display: flex; flex-wrap: wrap; gap: 4px 28px; }
body.agg2 .agg2-form .ff-el-form-control { border-radius: 0; border-color: var(--line); font-family: inherit; }
body.agg2 .agg2-form .ff-btn-submit { background: none !important; color: var(--ink) !important; border: 0 !important; padding: 0 !important; text-decoration: underline; text-underline-offset: 7px; font-weight: 500; }

/* her Customizer "Additional CSS" forces Poppins on body, h1-h6, p and li with !important across the site;
   on the new-design pages Geist wins by being more specific */
body.agg2, body.agg2 :is(h1, h2, h3, h4, h5, h6, p, li, a, span, b, i, small, address, button, label, input, textarea, select) {
  font-family: "Geist", system-ui, sans-serif !important;
}

/* legal pages: running text at reading width (privacy, and Complianz's cookie statement) */
body.agg2 .agg2-prose { max-width: 72ch; font-size: 15px; line-height: 1.65; }
body.agg2 .agg2-prose + .agg2-prose { margin-top: 32px; }
body.agg2 .agg2-prose h2 { font-size: clamp(24px, 2vw, 34px); font-weight: 300; letter-spacing: -0.03em; margin: 48px 0 12px; }
body.agg2 .agg2-prose h3, body.agg2 .agg2-prose h4 { font-size: 17px; font-weight: 500; letter-spacing: 0; margin: 28px 0 8px; }
body.agg2 .agg2-prose p { margin: 0 0 1em; max-width: none; }
body.agg2 .agg2-prose ul, body.agg2 .agg2-prose ol { margin: 0 0 1em; padding-left: 1.2em; }
body.agg2 .agg2-prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); }
body.agg2 .agg2-prose table { border-collapse: collapse; width: 100%; margin: 0 0 1em; font-size: 14px; }
body.agg2 .agg2-prose :is(td, th) { border-bottom: 1px solid var(--line); padding: 8px 12px 8px 0; text-align: left; vertical-align: top; }
body.agg2 .agg2-prose details { border-bottom: 1px solid var(--line); padding: 12px 0; }
body.agg2 .agg2-prose summary { cursor: pointer; font-weight: 500; }
body.agg2 .agg2-prose > .elementor-widget-container > :first-child, body.agg2 .agg2-prose :is(.cmplz-document, #cmplz-document) > :first-child { margin-top: 0; }

/* the business card: one screen, her name large, the ways to reach her, the QR code */
body.agg2 .agg2-card { min-height: 100svh; box-sizing: border-box; padding: calc(var(--nav) + clamp(56px, 8vw, 140px)) 0 64px; }
.agg2-card__list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; }
body.agg2 .agg2-card__qr img { width: clamp(140px, 16vw, 220px); height: auto; }
@media (min-width: 1024px) { body.agg2 .agg2-card .agg2-split > :last-child { justify-self: end; align-self: end; } }

/* 404 and search screens */
.agg2-search { display: grid; gap: 10px; max-width: 520px; }
.agg2-search label { font-size: 13px; color: var(--muted); }
.agg2-search__row { display: flex; align-items: flex-end; gap: 24px; border-bottom: 1px solid var(--ink); }
.agg2-search input { flex: 1; min-width: 0; border: 0; background: none; padding: 10px 0; font: 300 clamp(22px, 2vw, 30px)/1.2 "Geist", system-ui, sans-serif !important; letter-spacing: -0.02em; color: var(--ink); outline: none; }
.agg2-search input:focus-visible { box-shadow: 0 2px 0 0 var(--ink); }
.agg2-search button { all: unset; cursor: pointer; padding: 12px 0; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 7px; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); }
.agg2-search button:hover { text-decoration-color: currentColor; }
.agg2-search button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
body.agg2 .agg2-results__h { font-size: clamp(24px, 2vw, 34px); margin: 0 0 24px; }
body.agg2 .agg2-results__h:not(:first-child) { margin-top: 72px; }
.agg2-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
body.agg2 .agg2-pagehead .agg2-split > :last-child { align-self: end; }

/* a section on its own ground (the media kit on the contact page) */
body.agg2 .agg2-band { background: var(--surface); padding-block: clamp(72px, 7vw, 128px); margin-top: 32px; }
body.agg2 .agg2-band .ff-el-form-control { background: #fff; }
body.agg2 .agg2-band + .elementor-widget-html .agg2-footer, body.agg2 .agg2-band ~ * .agg2-footer { padding-top: 64px; }
