/* Gold Berlin – front-end styles
   Measured against the Squarespace original at 1440 px:
   body 18.7px/1.4 Poppins Light · h3 27.4px/500 · h1 72px/500 · menu 44px/300
   gutter 5vw · news grid 4 cols, gap 40px, images 2:3 · talent grid 4 cols, gap 45px, tiles 0.95
   instagram 6 tiles, gap 40px · footer 18.7px */
:root {
	--gold: #c9b27e;          /* brand gold: logo, burger, icons, hero accents (decorative) */
	--gold-text: #8c7437;     /* gold for running-text links – 4.5:1 on white (WCAG AA) */
	--gold-large: #a88a4a;    /* gold for large text ≥ 24px – 3.3:1 on white (WCAG AA large) */
	/* metallic sweep used as text fill for the big gold elements and as underline for inline links:
	   dark (= --gold-text) → light crest → mid; three stops only */
	--gold-gradient: linear-gradient(100deg, #8c7437 0%, #dcc795 48%, #a88a4a 100%);
	--black: #000;
	--text: #000;
	--muted: #a8a6a1;
	--white: #fff;
	--font: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--fs-body: calc(17px + 0.12vw);          /* 18.7px @1440 */
	--fs-h3: calc(23px + 0.3vw);             /* 27.4px @1440 */
	--fs-h1: clamp(40px, 5vw, 80px);         /* 72px @1440 */
	--fs-menu: clamp(30px, 3.07vw, 52px);    /* 44px @1440 */
	--gutter: 5vw;                           /* 72px @1440 */
	--header-h: 186px;
	--p-margin: 17px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-weight: 300; font-size: var(--fs-body); line-height: 1.4; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: .7; }
/* Gold text: large elements use the lighter tone (3.3:1), running text the darker one (4.5:1) */
.site-menu .menu a, .talent__links a { color: var(--gold-large); }
.news-featured__more a, .site-footer__legal a, .back-link a, .news-card__category a, .news-pagination a, .news-single__person a, .news-single__nav a, .news-card__text a, .person-link, .entry-content a { color: var(--gold-text); }
.news-card__text a, .person-link, .entry-content a { font-weight: 400; }
a:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.17; margin: 0 0 34px; color: var(--black); }
h1 { font-size: var(--fs-h1); line-height: 1.05; }
h2 { font-size: calc(var(--fs-h3) * 1.2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--p-margin); }
strong { font-weight: 400; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.container { width: 100%; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding: 95px 0; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; }
.menu-open .site-header { z-index: 70; }
.menu-open .site-header::before { opacity: 0 !important; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 calc(var(--gutter) + 6px) 0 var(--gutter); }
.site-logo img { width: clamp(120px, 12.85vw, 210px); height: auto; }
.menu-toggle { position: relative; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; z-index: 70; margin-right: -4px; }
.menu-toggle__bar { position: absolute; left: 50%; top: 50%; width: 35px; height: 3px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .3s; }
.menu-toggle__bar:nth-child(2) { transform: translate(-50%, -50%) rotate(90deg); }
.menu-open .menu-toggle__bar { transform: translate(-50%, -50%) rotate(45deg); }
.menu-open .menu-toggle__bar:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }
.site-menu { position: fixed; inset: 0; background: var(--white); z-index: 60; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow: auto; }
.menu-open .site-menu { opacity: 1; visibility: visible; }
.site-menu__inner { min-height: 100%; display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + 20px) var(--gutter) 0; text-align: center; }
.site-menu .menu { list-style: none; margin: 0; padding: 0; }
.site-menu .menu li { margin: 0 0 23px; }
.site-menu .menu a { font-size: var(--fs-menu); font-weight: 300; line-height: 1; color: var(--gold-large); }
.site-menu .menu a:hover { opacity: .7; }
.site-menu .current-menu-item > a { color: var(--black); opacity: 1; }

/* ---------- Home hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--black); overflow: hidden; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero__slide.is-active { opacity: 1; }
.hero__slide:hover { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .75; }
.hero__scroll { position: absolute; left: 50%; bottom: 3vh; transform: translateX(-50%); color: var(--white); animation: bounce 1s infinite; z-index: 2; }
.hero__scroll svg { width: 44px; height: 22px; }
@keyframes bounce { 0% { bottom: 3vh; } 50% { bottom: calc(3vh + 14px); } 100% { bottom: 3vh; } }

/* ---------- Talent grid (4 columns, gap 45px, tiles ≈ 0.95) ---------- */
.talent-list { padding-top: calc(var(--header-h) + 48px); padding-bottom: 95px; }
.talent-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 45px; }
.talent-grid__item a { color: var(--black); display: block; }
.talent-grid__item a:hover { opacity: 1; }
.talent-grid__image { display: block; aspect-ratio: 0.953; overflow: hidden; background: #f2f2f2; }
.talent-grid__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s ease; }
.talent-grid__item a:hover img { transform: scale(1.03); }
.talent-grid__name { display: block; padding-top: 10px; font-weight: 500; }

/* ---------- Profile ---------- */
.talent__hero { height: 66vh; min-height: 420px; background: var(--black); }
.talent__hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.talent__content { max-width: 1100px; padding-top: 95px; padding-bottom: 95px; }
.back-link { margin-bottom: 34px; }
.talent__name { margin-bottom: 68px; }
.talent__links { font-size: var(--fs-h3); font-weight: 500; line-height: 1.6; margin: 0 0 100px; display: flex; flex-wrap: wrap; gap: .2em 21px; align-items: center; }
.talent__links a { color: var(--gold-large); }
.talent__links-icon { color: var(--gold-large); }
.talent__links-icon svg { width: 1em; height: 1em; vertical-align: -.1em; }
.talent__row { display: grid; grid-template-columns: 5fr 6fr; column-gap: 8.3%; row-gap: 40px; margin-bottom: 60px; }
.talent__row:not(.talent__row--top) { grid-template-columns: 1fr 1fr; column-gap: 34px; }
.talent__row:last-child { margin-bottom: 0; }
.cv-block { margin-bottom: var(--p-margin); }
.cv-block strong { font-weight: 400; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid__item { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #f2f2f2; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- News (4 columns, gap 40px, images 2:3) ---------- */
.news-featured { padding-top: 112px; padding-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.news-card__image { aspect-ratio: 2 / 3; overflow: hidden; background: #f2f2f2; margin-bottom: 40px; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__category { margin-bottom: 10px; }
.news-card__category a { font-weight: 400; }
.news-card__title { font-size: 32px; line-height: 1.2; margin-bottom: 10px; }
.news-grid--list .news-card__title { font-size: var(--fs-h3); }
.news-card__text p { margin-bottom: var(--p-margin); }

.news-credits { margin: 0; }
.news-featured__more { text-align: right; margin: 40px 0 0; }
.news-list { padding-top: calc(var(--header-h) + 57px); padding-bottom: 95px; }
.news-list__header { margin-bottom: 50px; }
.news-list__title { margin: 0; font-size: var(--fs-h3); }
.news-pagination { margin-top: 60px; }
.news-pagination .nav-links { display: flex; justify-content: space-between; width: 100%; }
.news-single { padding-top: calc(var(--header-h) + 30px); }
.news-single__title { font-size: var(--fs-h3); }
.news-single__image { margin: 1.5em 0; max-width: 600px; }
.news-single__person { font-size: .85em; }
.news-single__nav .nav-links { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; border-top: 1px solid #eee; padding-top: 30px; }
.news-single__nav .nav-next { text-align: right; }

/* ---------- Instagram (6 square tiles, gap 40px) ---------- */
.instagram { padding-top: 95px; padding-bottom: 60px; }
.instagram__title { font-size: var(--fs-h3); margin-bottom: 34px; }
.instagram__title a { color: var(--black); }
.instagram__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px; }
.instagram__item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #f2f2f2; }
.instagram__item img { width: 100%; height: 100%; object-fit: cover; }
.instagram__item::after { content: ''; position: absolute; inset: 0; background: #f2f2f2; mix-blend-mode: multiply; opacity: 0; transition: opacity .2s; }
.instagram__item:hover { opacity: 1; }
.instagram__item:hover::after { opacity: 0; }
.instagram__item--empty { pointer-events: none; }
.instagram__play { position: absolute; top: 8px; right: 8px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.instagram__play svg { width: 18px; height: 18px; }

/* ---------- Pages ---------- */
.page-content { padding-top: calc(var(--header-h) + 48px); padding-bottom: 95px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content .wp-block-columns { display: flex; gap: 34px; flex-wrap: wrap; }
.entry-content .wp-block-column { flex: 1 1 240px; min-width: 0; }
.entry-content h2 { font-size: var(--fs-h3); margin-top: 1.5em; }
.entry-content h3 { font-size: calc(var(--fs-h3) * .85); margin-top: 1.5em; margin-bottom: 17px; }
.entry-content .has-gold-color, .entry-content .has-accent-color { color: var(--gold-text); }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 48px var(--gutter) 48px; }
.site-footer p { margin: 17px 0; }
.site-footer__address span { display: inline-block; margin: 0 .6em; }
.site-footer__legal a { margin: 0 .35em; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 92vw; max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.lightbox__figure img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; }
.lightbox__figure figcaption { color: var(--muted); font-size: .85em; margin-top: 12px; min-height: 1.2em; }
.lightbox button { position: absolute; border: 0; background: none; color: #fff; cursor: pointer; padding: 12px; opacity: .85; }
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Images never dim on hover (links that contain an image keep full opacity) */
a:has(img):hover, .wall__tile:hover, .filmstrip__item:hover, .index__link:hover, .instagram__item:hover, .site-logo:hover, .gallery-grid__item:hover, .hero__slide:hover, .talent-grid__item a:hover { opacity: 1; }

/* ---------- Responsive (breakpoints follow the original: 4 → 2 → 1 columns) ---------- */
@media (max-width: 1400px) {
	.news-grid { grid-template-columns: repeat(2, 1fr); }
	.news-card__title { font-size: var(--fs-h3); }
}
@media (max-width: 1200px) {
	.talent-grid { grid-template-columns: repeat(3, 1fr); gap: 35px; }
	.talent__content { max-width: none; }
}
@media (max-width: 1024px) {
	:root { --header-h: 140px; }
	.talent__row, .talent__row:not(.talent__row--top) { grid-template-columns: 1fr; }
	.talent__links { margin-bottom: 60px; }
	.instagram__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.news-list { padding-top: calc(var(--header-h) + 40px); }
}
@media (max-width: 767px) {
	:root { --header-h: 110px; --gutter: 6vw; }
	.site-header__inner { padding-right: var(--gutter); }
	.site-logo img { width: 140px; }
	.talent-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
	.gallery-grid { gap: 10px; }
	.talent__hero { height: 60vh; min-height: 320px; }
	.news-grid { grid-template-columns: 1fr; }
	.news-card__image { margin-bottom: 24px; }
	.section, .talent-list, .page-content, .news-list, .instagram, .news-featured { padding-top: 60px; padding-bottom: 60px; }
	.talent-list, .page-content, .news-list { padding-top: calc(var(--header-h) + 20px); }
	.lightbox__prev, .lightbox__next { display: none; }
}
@media (max-width: 480px) {
	.talent-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
	.instagram__grid { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__scroll { animation: none; }
	.hero__slide { transition: none; }
}
