/* OVERGROWTH. The banner and the gallery sleep in stone-grey and wake where you touch them.
   Every colour and corner shape is a variable so the Succession version can re-theme the page by phase. */
:root {
  --bg: #070d0d; --fg: #d6e6e2; --muted: #7d9692; --line: rgba(214, 230, 226, .13); --panel: #0f1919; --deep: #040808;
  --accent: #a8f0c6; --on-accent: #06201b; --moss: #5fae8a; --nav-bg: #020505; --nav-fg: #dfeeea; --mat: #111c1c;
  --leaf: 0 26px 0 26px; --leaf-alt: 26px 0 26px 0; --leaf-sm: 0 16px 0 16px; --leaf-sm-alt: 16px 0 16px 0;
}

/* Banner header: full screen on home, a band elsewhere. Only the nav bar stays stuck once you scroll past. */
.hdr { position: sticky; top: calc(var(--bar) - var(--hdr-real, 100vh)); z-index: 30; height: 40vh; min-height: 260px; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr auto auto auto 1fr var(--bar); justify-items: center; align-items: center; background: #000; cursor: crosshair; }
[data-route="home"] .hdr { height: 100vh; height: 100svh; }
.hdr__bg { position: absolute; inset: 0 0 var(--bar); overflow: hidden; background: #0a1112; }
.hdr__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8) brightness(.62); }
.hdr__bg::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 46% at 50% 46%, rgba(4, 9, 9, .62), rgba(4, 9, 9, 0) 100%), linear-gradient(to top, rgba(4, 9, 9, .75), transparent 26%); }
.hdr__social { display: none; grid-row: 2; position: relative; gap: 12px; margin-bottom: 14px; }
[data-route="home"] .hdr__social { display: flex; }
.hdr__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(168, 240, 198, .6); border-radius: var(--leaf); color: #a8f0c6; font-size: 11px; font-weight: 600; letter-spacing: .06em; transition: background .3s, color .3s, border-radius .4s; }
.hdr__social a:hover { background: #a8f0c6; color: #06201b; border-radius: 50%; }
.hdr__social a span, .hdr__social a svg { display: none; }
.hdr__social a[aria-label="instagram"]::before { content: 'IG'; }
.hdr__social a[aria-label="facebook"]::before { content: 'FB'; }
.hdr__brand { grid-row: 3; position: relative; padding: 0 16px; font-family: var(--font-display); font-size: clamp(32px, 6.4vw, 92px); letter-spacing: .16em; color: #eaf6f2; text-shadow: 0 2px 30px rgba(0, 0, 0, .8); text-align: center; }
.hdr__brand em { font-style: normal; color: #a8f0c6; }
.hdr__tag, .hdr__now { display: none; position: relative; }
[data-route="home"] .hdr__tag { display: block; grid-row: 4; max-width: 30ch; margin-top: 14px; padding: 0 20px; text-align: center; font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 2vw, 26px); line-height: 1.3; color: #cfe2dd; text-shadow: 0 1px 14px #000; }
/* "Pictured — <artwork>" caption, bottom-right of the banner; updates as the banner changes artwork */
[data-route="home"] .hdr__now { display: block; position: absolute; right: var(--pad); bottom: calc(var(--bar) + 18px); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #b8cbc8; text-align: right; cursor: default; }
.hdr__now a { color: #eaf6f2; border-bottom: 1px solid rgba(168, 240, 198, .5); }
.hdr__now a:hover { color: #a8f0c6; }
.hdr__now i { display: none; }
.hdr__nav { grid-row: 6; position: relative; width: 100%; height: var(--bar); display: flex; align-items: center; justify-content: space-around; background: var(--nav-bg); border-top: 1px solid var(--line); cursor: default; }
.hdr__nav a { position: relative; font-size: clamp(11px, 1.4vw, 14px); font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--nav-fg); padding: 12px 6px; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); }
.hdr__nav a[aria-current] { color: var(--accent); }

/* Type & controls */
.sec__head, .phead { position: relative; }
.sec__head { padding-left: 22px; }
.phead { padding-left: calc(var(--pad) + 22px); }
.sec__head::before, .phead::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--accent), transparent); }
.phead::before { left: var(--pad); top: clamp(44px, 7vw, 100px); bottom: clamp(20px, 3vw, 40px); }
.lede { font-family: var(--font-serif); font-style: italic; }
.btn { border-radius: var(--leaf); transition: background .3s, color .3s, border-radius .45s var(--ease); }
.btn:hover { background: var(--accent); color: var(--on-accent); border-radius: var(--leaf-alt); }
.btn--ghost { border-color: var(--line); color: var(--fg); }
/* Solid background rather than a live blur: a blur behind a sticky bar re-filters the gallery on every scrolled frame. */
.filter { position: sticky; top: var(--bar); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.chip { border-radius: var(--leaf-sm); transition: background .25s, color .25s, border-color .25s, border-radius .4s var(--ease); }
.chip:hover { border-color: var(--moss); color: var(--fg); border-radius: var(--leaf-sm-alt); }
.chip[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* Gallery: dormant until touched */
.card__img { border-radius: var(--leaf); transition: border-radius .7s var(--ease); }
.card__img img { filter: grayscale(.35) brightness(.86); transition: filter 1s var(--ease); }
.card:hover .card__img, .card:focus-visible .card__img { border-radius: var(--leaf-alt); }
.card:hover .card__img img, .card:focus-visible .card__img img { filter: none; }
@media (hover: none) { .card.in .card__img img { filter: none; transition-delay: .5s; } }
.card__meta::before { content: ''; display: block; width: 100%; height: 1px; margin-bottom: 9px; background: var(--moss); transform: scaleX(.08); transform-origin: left; transition: transform .7s var(--ease), background .4s; }
.card:hover .card__meta::before { transform: none; background: var(--accent); }
.card:hover .card__title { color: var(--accent); }
.cat { border-radius: var(--leaf); }
.cat__img img { filter: grayscale(.35) brightness(.86); transition: filter .9s var(--ease); }
.cat:hover .cat__img img { filter: none; }
.sec--cats { background: var(--deep); }
.sec--about { text-align: center; display: grid; justify-items: center; }
.sec--about .cta { justify-content: center; }

/* Artwork page */
.work__feature .zoom { padding: clamp(10px, 2.4vw, 36px); border-radius: var(--leaf); }
.work__gallery .zoom { border-radius: var(--leaf-sm); overflow: hidden; }
.facts dt { color: var(--moss); }
.pn__a:hover b { color: var(--accent); }
.item__img { background: var(--mat); border: 1px solid var(--line); border-radius: var(--leaf); }   /* a dark mount that sits with the page */
.item__img img { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
