/* Brigitta Gaylard v2. Layout and motion modelled on a reference Brigitta chose;
   all code here is our own. Serif: Bitter. Sans: Jost. */
:root {
  --orange: #CB4F11; --yellow: #F5B700; --ink: #222; --dark: #1c1c1c; --grey: #777;
  --serif: "Bitter", Georgia, serif; --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --cell: calc(100vw / 12); --bar: 136px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); overflow-x: clip; }
body { margin: 0; font-family: var(--serif); font-weight: 300; color: #000; background: #fff; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- bars ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.bar-top { background: #000; height: 80px; display: flex; align-items: center; padding: 0 6vw; }
.wordmark { font: italic 800 19px/1 var(--sans); letter-spacing: .5px; color: #fff; text-decoration: none; text-transform: uppercase; }
.wordmark b { color: var(--yellow); font-weight: 800; }
.bar-sub { background: #262626; height: 56px; display: flex; align-items: center; padding: 0 4vw; gap: 24px; }
.bar .wordmark { font-size: 38px; letter-spacing: 1px; }
.burger { background: none; border: 0; padding: 12px 0; cursor: pointer; width: 44px; }
.burger i { display: block; height: 2px; background: #bbb; margin: 8px 0; }
.bar-sub span { font: 500 22px/1 var(--sans); letter-spacing: .32em; color: #ddd; text-transform: uppercase; }
.menu { position: fixed; top: var(--bar); left: 0; width: min(360px, 100vw); background: #262626; z-index: 999; padding: 18px 4vw 26px;
  transform: translateY(-110%); transition: transform .4s ease; max-height: calc(100vh - var(--bar)); overflow: auto; }
.menu.open { transform: none; }
.menu a { display: block; padding: 9px 0; font: 600 13px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #ddd; text-decoration: none; border-bottom: 1px solid #3a3a3a; }
.menu a:hover { color: var(--yellow); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; background: #fff; z-index: 2000; transition: opacity .5s ease; }
.loader.done { opacity: 0; pointer-events: none; }
.loader .sq { position: absolute; top: 50%; font: 900 clamp(64px, 11vw, 150px)/1 var(--serif); color: #000; white-space: nowrap; }
.loader .sq.l { left: 0; } .loader .sq.r { right: 0; }
.loader .line { position: absolute; top: 50%; height: 2px; background: #ddd; }
.loader .word { position: absolute; top: calc(50% + clamp(50px, 7vw, 96px)); left: 0; right: 0; text-align: center; font: italic 700 clamp(22px, 2.6vw, 36px)/1 var(--serif); color: var(--orange); }
.loader .pct { position: absolute; top: calc(50% + clamp(92px, 11vw, 150px)); left: 0; right: 0; text-align: center; font: italic 400 11px/1 var(--serif); color: #555; }

/* ---------- hero grid ---------- */
#explore { position: relative; padding-top: var(--bar); }
.grid { display: grid; grid-template-columns: repeat(12, 8.3333%); grid-auto-rows: minmax(var(--cell), auto); background: #fff; position: relative; }
.cell { position: relative; overflow: hidden; opacity: 0; transition: opacity .9s ease; }
.cell.on { opacity: 1; }
.cell.round { border-radius: 50%; margin: 6%; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.name { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; z-index: 9; pointer-events: none; mix-blend-mode: difference; }
.name span { font: italic 300 clamp(110px, 27vw, 432px)/1 var(--serif); color: #fff; letter-spacing: -10rem; opacity: 0; white-space: nowrap; will-change: letter-spacing, opacity; }
.artof { position: absolute; top: calc(50vh + 42px); right: 58.3%; height: calc(100% - 50vh - 42px); z-index: 20; text-align: right; pointer-events: none; }
.artof p { position: sticky; top: calc(50vh + 42px); margin: 66vh 0 0; padding: 0 1rem 6vw 0; font: italic 300 clamp(22px, 4.6vw, 66px)/1.1 var(--serif); color: #444; white-space: nowrap; opacity: 0; transition: opacity .8s ease; }
.artof p.on { opacity: 1; }
.artof b { font-weight: 700; color: var(--orange); }
.word { font: italic 700 clamp(22px, 4.6vw, 66px)/var(--cell) var(--serif); color: var(--orange); white-space: nowrap; overflow: visible; z-index: 30; position: relative; transition: opacity .5s ease; pointer-events: none; }
.pause { position: fixed; right: 0; top: 62vh; z-index: 40; width: 34px; height: 36px; background: #fff; border: 1px solid var(--orange); border-right: 0; cursor: pointer; display: grid; place-items: center; }
.pause i { width: 3px; height: 11px; background: var(--orange); box-shadow: 6px 0 0 var(--orange); margin-right: 6px; }
.pause.paused i { width: 0; height: 0; background: none; box-shadow: none; border: 6px solid transparent; border-left: 10px solid var(--orange); margin: 0 0 0 6px; }

/* bio panel (the reference's "news" block) */
.panel { background: var(--yellow) repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 4px); padding: 2.2vw 0 2.2vw 2.4vw; z-index: 25; position: relative; }
.panel-head { display: flex; align-items: center; gap: 1.2vw; margin: 0 0 1.2vw; }
.panel-head h2 { margin: 0; }
.insta { flex: none; width: clamp(40px, 3.4vw, 52px); aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center; transition: transform .3s ease;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.insta svg { width: 62%; height: 62%; fill: #fff; }
.insta.wa { background: #25D366; margin-left: -.4vw; }
.insta.wa svg { width: 68%; height: 68%; }
.insta.gm { background: #EA4335; margin-left: -.4vw; }
.insta:hover { transform: scale(1.1) rotate(-4deg); }
.panel h2 { margin: 0 0 1.2vw; font: italic 700 clamp(30px, 3.4vw, 50px)/1 var(--serif); color: #fff; }
.panel .card { background: #fff; border-left: 8px solid var(--orange); border-bottom: 8px solid var(--orange); padding: 14px 18px; margin: 0 0 1.4vw; font: 400 clamp(14px, 1.1vw, 16.5px)/1.5 var(--serif); color: #333; }
.panel .card:nth-of-type(2) { margin-left: -1.6vw; } .panel .card:nth-of-type(3) { margin-left: -3.2vw; }
.panel .cats a { display: inline-block; margin: 3px 14px 3px 0; font: italic 700 clamp(15px, 1.25vw, 19px)/1.5 var(--serif); color: #333; text-decoration: none; background: linear-gradient(var(--orange), var(--orange)) 0 100%/0 2px no-repeat; transition: background-size .35s ease, color .3s ease; }
.panel .cats a:hover, .panel .cats a:focus-visible { background-size: 100% 2px; color: var(--orange); }
.btn { display: inline-block; background: #fff; padding: 7px 12px; font: 700 10px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #666; text-decoration: none; transition: color .3s ease; }
.btn:hover { color: var(--orange); }
.looking { z-index: 5; pointer-events: none; }
.looking svg { width: 100%; height: 100%; overflow: visible; }
.looking text { font: 200 100px var(--sans); fill: var(--orange); }

/* ---------- feature band + tiles ---------- */
.feature { position: relative; height: clamp(180px, 34vw, 480px); overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.feature h2 { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 4vw;
  font: italic 100 clamp(34px, 8.4vw, 130px)/.95 var(--serif); color: #fff; text-shadow: 0 0 30px rgba(0,0,0,.35); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.4vw; }
.tile { position: relative; aspect-ratio: 2.6; display: grid; place-items: center; text-align: center; padding: 0 10px; text-decoration: none; overflow: hidden; background: var(--dark); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(1); transition: opacity .5s ease, transform .8s ease; }
.tile.o { background: var(--orange); } .tile.y { background: var(--yellow); }
.tile.o img { opacity: 0; } .tile.y img { opacity: .3; mix-blend-mode: multiply; }
.tile:hover img { opacity: .6; transform: scale(1.05); } .tile.o:hover img { opacity: .25; }
.tile span { position: relative; font: 600 clamp(13px, 1.75vw, 26px)/1.1 var(--sans); letter-spacing: 3px; text-transform: uppercase; color: #fff;
  background: linear-gradient(#fff, #fff) 50% 100%/0 3px no-repeat; padding-bottom: 6px; transition: background-size .35s ease; }
.tile:hover span, .tile:focus-visible span { background-size: 100% 3px; }

/* ---------- take a look / her life's work ---------- */
.fade { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.fade.in { opacity: 1; transform: none; }
.take { margin: 7vw 0 5vw; text-align: center; font: italic 100 clamp(70px, 25vw, 360px)/.92 var(--sans); letter-spacing: -2px; color: var(--grey); }
.stack { display: grid; grid-template-columns: repeat(12, 1fr); row-gap: 0; }
.stack .sq { background: var(--dark); color: var(--grey); display: grid; place-items: center; aspect-ratio: 1.29; }
.stack .ph { aspect-ratio: 1.29; overflow: hidden; }
.stack .ph img { width: 100%; height: 100%; object-fit: cover; }
.stack .w1 { font: 700 clamp(40px, 7.5vw, 110px)/1 var(--serif); text-transform: uppercase; letter-spacing: 2px; }
.stack .w2 { font: 200 clamp(36px, 7vw, 100px)/1 var(--sans); text-transform: uppercase; }
.stack .w3 { font: italic 700 clamp(38px, 7vw, 104px)/1 var(--serif); }

/* ---------- category cards ---------- */
.cards { columns: 3; column-gap: 3vw; padding: 6vw 4vw 4vw; }
.cardx { break-inside: avoid; margin: 0 0 4vw; }
.cardx img { width: 100%; margin-bottom: 14px; }
.cardx h3 { margin: 0; font: 700 clamp(17px, 1.75vw, 25px)/1.15 var(--serif); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); font-variant: small-caps; }
.cardx .sub { display: block; margin: 5px 0 10px; font: 500 9px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #999; }
.cardx p { margin: 0 0 16px; font: 400 clamp(14px, 1.2vw, 18px)/1.5 var(--serif); color: #555; }
.lbtn { display: inline-block; padding: 9px 14px 9px 12px; border-left: 4px solid var(--yellow); border-bottom: 4px solid var(--yellow); font: 700 11px/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: #888; text-decoration: none; transition: color .3s, border-color .3s; }
.lbtn:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- quote, parallax, about ---------- */
.quote { margin: 0; background: #333; color: #eee; padding: 5vw 12vw 4vw 8vw; font: 300 clamp(18px, 2vw, 28px)/1.5 var(--serif); }
.quote b { display: block; font-weight: 700; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; }
.quote cite { display: block; margin-top: 22px; text-align: right; font: 500 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); font-style: normal; }
.parallax { height: 46vw; max-height: 560px; background: center/cover fixed no-repeat; border-bottom: 5px solid var(--yellow); }
.about { max-width: 780px; margin: 0 auto; padding: 7vw 6vw 6vw; }
.about h2 { margin: 0 0 2.4vw; font: italic 100 clamp(52px, 9vw, 130px)/.95 var(--sans); color: var(--grey); }
.about p { margin: 0 0 1.3em; font: 300 clamp(16px, 1.3vw, 19px)/1.7 var(--serif); color: #2b2b2b; }
.about p:first-of-type::first-line { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.about a { color: var(--orange); font-weight: 700; text-decoration: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 100%/100% 2px no-repeat; transition: background-size .3s ease; }
.about a:hover { background-size: 100% 100%; color: #000; }

/* ---------- gallery ---------- */
.more { position: relative; height: 30vw; max-height: 420px; min-height: 200px; overflow: hidden; background: #000; }
.more img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .75; }
.more h2 { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); margin: 0; padding: 22px 4vw; background: #000; border-top: 5px solid var(--yellow); border-bottom: 5px solid var(--yellow);
  text-align: center; font: 300 clamp(24px, 4.6vw, 66px)/1 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: #fff; }
.gallery { background: var(--dark); padding: 3vw 0 5vw; }
.cat { padding: 3.5vw 0 1vw; border-bottom: 1px solid #2e2e2e; }
.cat header { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3vw; padding: 0 4vw 1.5vw; align-items: end; }
.cat h3 { margin: 0; font: italic 700 clamp(34px, 5.4vw, 80px)/1 var(--serif); color: #fff; }
.cat h3 small { display: block; margin-top: 10px; font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--yellow); font-style: normal; }
.cat .desc { margin: 0; font: 300 clamp(14px, 1.15vw, 17px)/1.6 var(--serif); color: #bbb; }
.cat .st { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.cat .st a { font: 700 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #ddd; text-decoration: none; padding: 8px 10px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transition: color .3s, background .3s; }
.cat .st a:hover { background: var(--orange); color: #fff; }

/* 3D carousel: a rotating ring of image faces, dragged to spin, clicked to enlarge */
.c3d { position: relative; height: clamp(290px, 34vw, 480px); overflow: hidden; perspective: 1000px; cursor: grab; touch-action: pan-y; user-select: none; }
.c3d.drag { cursor: grabbing; }
.ring { position: absolute; top: 0; left: 50%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.face { position: absolute; inset: 0; padding: 8px; backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.face .lbl { font: 600 10.5px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #cfcfcf; text-align: center; min-height: 2.6em; pointer-events: none; }
.face img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; pointer-events: none; background: #2a2a2a; filter: blur(4px); transition: filter .25s ease; }
.face img.ok { filter: none; }
.c3d.flat { perspective: none; display: flex; gap: 16px; justify-content: center; align-items: center; cursor: default; }
.c3d.flat .face { position: static; width: min(260px, 28vw); padding: 0; cursor: zoom-in; }
.nav3d { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #555; background: rgba(0,0,0,.55); color: #fff; font: 300 22px/1 var(--sans); cursor: pointer; }
.nav3d:hover { background: var(--orange); border-color: var(--orange); }
.nav3d.p { left: 2vw; } .nav3d.n { right: 2vw; }
.hint { text-align: center; font: 500 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: #666; padding: 4px 0 18px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 10px 60px rgba(0,0,0,.6); animation: lbin .45s cubic-bezier(.32,.72,0,1); }
@keyframes lbin { from { transform: scale(.5); opacity: 0; } }
.lb .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font: 500 11px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: #bbb; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font: 200 44px/1 var(--sans); cursor: pointer; padding: 18px; }
.lb .x { top: 8px; right: 14px; } .lb .p { left: 6px; top: 50%; transform: translateY(-50%); } .lb .n { right: 6px; top: 50%; transform: translateY(-50%); }

/* statement reader: her writing shown on the page itself */
.reader { position: fixed; inset: 0; z-index: 2500; background: rgba(0,0,0,.72); display: none; overflow-y: auto; padding: calc(var(--bar) + 3vh) 4vw 6vh; }
.reader.open { display: block; }
.reader .sheet { position: relative; max-width: 760px; margin: 0 auto; background: #fff; padding: clamp(28px, 5vw, 64px); border-left: 8px solid var(--orange); border-bottom: 8px solid var(--orange); animation: lbin .4s cubic-bezier(.32,.72,0,1); }
.reader .kicker { margin: 0 0 26px; padding-bottom: 10px; border-bottom: 2px solid var(--yellow); font: 600 10px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--orange); }
.reader article { font: 300 clamp(15.5px, 1.25vw, 18px)/1.72 var(--serif); color: #262626; }
.reader article p { margin: 0 0 1.1em; }
.reader article > p:first-child { font: italic 700 clamp(26px, 3.4vw, 44px)/1.12 var(--serif); color: #111; margin-bottom: .7em; }
.reader article h1, .reader article h2, .reader article h3 { font: 700 1.25em/1.25 var(--serif); margin: 1.4em 0 .5em; }
.reader article blockquote { margin: 1.2em 0 1.2em 1em; padding-left: 1em; border-left: 3px solid var(--yellow); font-style: italic; color: #444; }
.reader article strong { font-weight: 700; }
.reader .x { position: sticky; top: 0; float: right; margin: -18px -18px 0 0; width: 44px; height: 44px; border: 0; background: var(--dark); color: #fff; font: 200 30px/1 var(--sans); cursor: pointer; }
.reader .x:hover { background: var(--orange); }

/* ---------- mosaic, CTA, footer ---------- */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); background: var(--dark); }
.mosaic > * { aspect-ratio: 1; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic a { display: grid; place-items: center; text-align: center; padding: 10px; background: var(--dark) repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 6px); color: #fff; text-decoration: none; font: italic 700 clamp(13px, 1.5vw, 21px)/1.25 var(--serif); transition: background-color .3s; }
.mosaic a small { display: block; margin-top: 8px; font: 500 9px/1 var(--sans); letter-spacing: .25em; text-transform: uppercase; color: var(--yellow); font-style: normal; }
.mosaic a:hover { background-color: var(--orange); }
.cta { display: block; background: var(--orange); color: #fff; text-decoration: none; padding: 5.5vw 5vw; font: 300 clamp(34px, 6.6vw, 96px)/1 var(--serif); }
.cta i { font-style: normal; color: var(--yellow); display: inline-block; transition: transform .4s ease; }
.cta:hover i { transform: translateX(18px); }
footer { background: var(--ink); color: #aaa; padding: 46px 6vw 40px; display: grid; grid-template-columns: 1.2fr 1.4fr 1fr 1fr; gap: 30px; font: 300 12.8px/1.75 var(--sans); letter-spacing: 1px; }
footer h4 { margin: 0 0 4px; font: 900 12.8px/1.4 var(--sans); letter-spacing: 2px; text-transform: uppercase; color: #aaa; }
footer a { color: #aaa; text-decoration: none; display: block; } footer a:hover { color: var(--yellow); }
.social { display: flex; gap: 14px; align-items: flex-end; justify-content: flex-end; }
.social a, .social span { width: 26px; height: 26px; display: block; }
.social svg { width: 100%; height: 100%; fill: #ddd; transition: fill .3s; }
.social a:hover svg { fill: var(--yellow); }
.social span svg { fill: #555; }
.copy { grid-column: 1 / -1; font-size: 11px; color: #777; }

@media (max-width: 800px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .cards { columns: 1; padding: 10vw 6vw; }
  .cat header { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
  .social { justify-content: flex-start; }
  .parallax { background-attachment: scroll; height: 60vw; }
  :root { --cell: calc(100vw / 6); --bar: 96px; }
  .bar-top { height: 56px; } .bar-sub { height: 40px; gap: 14px; }
  .bar .wordmark { font-size: 27px; } .bar-sub span { font-size: 15px; letter-spacing: .26em; }
  .burger { width: 30px; padding: 8px 0; } .burger i { margin: 6px 0; }
  .panel { padding: 5vw; grid-column: 1 / -1 !important; }
  .panel .card { margin-right: 5vw; }
  .looking { grid-column: 2 / -1 !important; }
  footer { grid-template-columns: 1fr; overflow-wrap: anywhere; }
  .panel .card:nth-of-type(n) { margin-left: 0; }
  .artof { right: auto; left: 4vw; text-align: left; }
  .quote { padding: 10vw 7vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cell, .fade, .name span, .loader { transition: none !important; }
  .fade { opacity: 1; transform: none; }
  .lb img { animation: none; }
}
