/* lucabrbi.com — colours and spacing live in :root */
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #efeee9;
  --card: #fbfbf8;
  --ink: #0d0d0d;
  --night: #0b0c0c;
  --night-2: #151716;
  --sage: #dbe0da;
  --sage-2: #b8bfb7;
  --mute: #8b908a;
  --line: rgba(13, 13, 13, .16);
  --line-d: rgba(233, 235, 231, .16);
  --on-dark: #e9ebe7;
  --pad: clamp(16px, 3.2vw, 44px);
  --r: 18px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.45 "Geist", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, dd a, .p-by a { text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -.02em; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 99px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }
.dim { color: var(--mute); }

/* ── bar ── */
.bar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad); background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.wordmark { font-weight: 700; font-size: 18px; letter-spacing: -.04em; }
.bar nav { display: flex; gap: 6px; }
.bar nav a {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 99px; transition: background .2s, color .2s, border-color .2s;
}
.bar nav a:hover, .bar nav a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── pills ── */
.pill-s, .pills li {
  display: inline-flex; align-items: center; margin: 0; padding: 5px 12px; border: 1px solid currentColor; border-radius: 99px;
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.go {
  display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.go span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-size: 14px; transition: transform .25s; }
.go:hover span { transform: rotate(-45deg); }

/* ── hero ── */
.hero {
  position: relative; overflow-x: clip; display: grid; grid-template-rows: auto 1fr auto;
  min-height: calc(100svh - 62px); padding: 18px var(--pad) 0;
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; position: relative; z-index: 3; }
.hero-loc { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; text-align: right; line-height: 1.5; }
.badge-wrap { position: relative; display: flex; justify-content: center; z-index: 2; margin-top: -18px; padding-bottom: 12px; }
.strap {
  position: absolute; top: -40px; left: 50%; width: 30px; height: 120px; transform: translateX(-50%);
  background: linear-gradient(90deg, #dcdcd6, #f4f4f0 45%, #d6d6cf); border-radius: 2px;
}
.strap::after { /* clip */
  content: ""; position: absolute; left: 50%; bottom: -14px; width: 16px; height: 22px; transform: translateX(-50%);
  border: 3px solid #9a9c98; border-radius: 6px; background: transparent;
}
.badge {
  position: relative; margin: 96px 0 0; width: clamp(196px, 21vw, 280px); padding: 12px 12px 14px; background: var(--card);
  border-radius: 14px; border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -28px rgba(0,0,0,.35), 0 8px 18px -10px rgba(0,0,0,.18);
  transform-origin: 50% -90px; animation: swing 2.4s cubic-bezier(.2,.7,.2,1) both;
}
.badge::before { /* punched slot */
  content: ""; position: absolute; top: -2px; left: 50%; width: 38px; height: 7px; transform: translate(-50%, 10px);
  background: var(--paper); border-radius: 99px; box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
}
@keyframes swing { 0% { transform: rotate(7deg); } 35% { transform: rotate(-4deg); } 65% { transform: rotate(1.6deg); } 100% { transform: rotate(-1deg); } }
.badge-h { display: flex; justify-content: space-between; margin: 14px 2px 10px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.badge-h span:first-child { font-weight: 700; font-size: 15px; letter-spacing: -.03em; text-transform: none; }
.portrait {
  width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: 8px; background: var(--sage);
  filter: grayscale(1) contrast(1.05);
}
.badge dl { margin: 12px 2px 0; display: grid; gap: 5px; }
.badge dl div { display: grid; grid-template-columns: 72px 1fr; gap: 8px; border-bottom: 1px dotted rgba(0,0,0,.35); padding-bottom: 3px; font-size: 11.5px; }
.badge dt { color: var(--mute); }
.badge dd { margin: 0; }
.hero-h1 { position: relative; z-index: 1; display: grid; }
.hero-mark {
  display: block; font-weight: 700; font-size: calc((100vw - 2 * var(--pad)) / 3.5); line-height: .8; letter-spacing: -.075em;
  white-space: nowrap; margin: -.06em 0 0 -.04em; padding-bottom: .02em;
}
.hero-name {
  display: block; padding: 16px 0 22px; border-top: 1px solid var(--ink); margin-top: 6px;
  font-size: clamp(14px, 1.2vw, 17px); line-height: 1.35;
}

/* ── intro statement ── */
.intro { padding: clamp(64px, 11vw, 160px) var(--pad); display: grid; gap: 28px; justify-items: center; text-align: center; }
.intro-t { margin: 0; max-width: 24ch; font-size: clamp(26px, 3.7vw, 56px); line-height: 1.08; letter-spacing: -.03em; }
.intro-t .dim { color: #a7aca6; }

/* ── section heads ── */
.dark { background: var(--night); color: var(--on-dark); padding: clamp(56px, 7vw, 100px) var(--pad); border-radius: var(--r) var(--r) 0 0; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .pill-s { grid-column: 1; justify-self: start; align-self: start; }
.pill-d { color: #cfd6cf; border-color: #5a605a; }
.num { grid-column: 2; grid-row: 1 / span 3; margin: 0; font-size: clamp(110px, 19vw, 300px); line-height: .8; letter-spacing: -.06em; color: var(--sage); font-weight: 400; align-self: start; }
.light .num { color: var(--sage-2); }
.sec-t { grid-column: 1; margin-top: 28px; font-size: clamp(44px, 7.6vw, 120px); line-height: .9; letter-spacing: -.05em; }
.sec-t.sm { font-size: clamp(36px, 5vw, 72px); }
.sec-note { grid-column: 1; margin: 18px 0 0; max-width: 40ch; font-size: 14px; color: #9ea49e; }
.light .sec-t { max-width: 14ch; }

/* ── filters + grid ── */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.filters button {
  font: inherit; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: inherit; background: none;
  border: 1px solid var(--line-d); border-radius: 99px; padding: 7px 13px; cursor: pointer; transition: .2s;
}
.filters button[aria-pressed="true"], .filters button:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3.4vw, 48px) clamp(16px, 1.6vw, 24px); }
@media (min-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } }
.card[hidden] { display: none; }
.card a { display: block; }
.card-t { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; }
.card-t .arrow { transition: transform .25s; }
.card a:hover .arrow { transform: translate(3px, -3px); }
.card-m { margin: 10px 0 0; font-size: 12.5px; color: #8d938d; }
.card .frame img { transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.card a:hover .frame img { transform: scale(1.03); }
.more { margin: 48px 0 0; text-align: right; }

/* frames: a clean placeholder shows until the still exists */
.frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 6px;
  background: radial-gradient(120% 90% at 20% 110%, #2a2f2c 0%, transparent 60%), radial-gradient(90% 80% at 90% -10%, #3a2b24 0%, transparent 55%), var(--night-2);
}
.frame::after {
  content: attr(data-label); position: absolute; left: 14px; bottom: 12px; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(233,235,231,.35);
}
.frame img, .frame video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }

/* ── services bento ── */
.services { padding: clamp(64px, 8vw, 120px) var(--pad); }
.bento { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); } .t-wide { grid-column: span 2; } }
.tile { border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; overflow: hidden; }
.tile h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.05; letter-spacing: -.03em; }
.tile p { margin: 10px 0 0; font-size: 13.5px; max-width: 36ch; }
.t-ink { background: var(--ink); color: var(--on-dark); justify-content: space-between; }
.t-ink p { color: #a9aea8; }
.t-sage { background: var(--sage); }
.t-sage2 { background: var(--sage-2); }
.t-line { border: 1px solid var(--line); }
.t-img { padding: 0; }
.t-img .frame { height: 100%; aspect-ratio: auto; min-height: 200px; border-radius: var(--r); }

/* ── facts ── */
.facts { padding: 0 var(--pad) clamp(64px, 8vw, 120px); }
.facts-head { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 36px; }
.facts-cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .facts-cols { grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; } .facts-cols > div:nth-child(2) { transform: translateY(-36px); } .facts-cols > div:nth-child(3) { transform: translateY(-72px); } }
.facts-cols h3 { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; margin-bottom: 12px; }
.box { border-radius: var(--r); padding: 22px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; font-size: 14px; }
.box p { margin: 0; }
.box li::before { content: "•"; margin-right: 10px; }
.box li { padding: 3px 0; }
.b-sage { background: var(--sage); }
.b-ink { background: #221f1f; color: var(--on-dark); }
.b-ink .dim { color: #8d938d; }
.b-line { background: var(--card); border: 1px solid var(--line); }

/* ── contact ── */
.contact { padding: clamp(56px, 7vw, 100px) var(--pad); border-top: 1px solid var(--line); }
.contact-l { margin: 18px 0 36px; max-width: 46ch; font-size: clamp(17px, 1.6vw, 21px); }
.big-links li { border-top: 1px solid var(--line); }
.big-links li:last-child { border-bottom: 1px solid var(--line); }
.big-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; font-size: clamp(26px, 4.4vw, 64px); letter-spacing: -.04em; line-height: 1; transition: padding .3s; text-decoration: none; }
.big-links a span:last-child { font-size: 13px; letter-spacing: 0; color: var(--mute); }
.big-links a:hover { padding-left: 12px; }
.big-links.sm a { font-size: clamp(22px, 2.4vw, 32px); }

/* ── project page ── */
.project, .about { padding: 18px var(--pad) clamp(56px, 7vw, 100px); }
.crumbs { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: clamp(32px, 6vw, 80px); }
.crumbs a:hover { color: var(--ink); }
.p-head { display: grid; gap: 18px; margin-bottom: 28px; justify-items: start; }
.p-t { font-size: clamp(44px, 8vw, 128px); line-height: .9; letter-spacing: -.055em; }
.p-d { margin: 0; max-width: 56ch; font-size: clamp(16px, 1.4vw, 19px); }
.player { aspect-ratio: 16 / 9; width: 100%; border-radius: 6px; }
.player iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; }
.p-info { display: grid; gap: 24px; margin: 28px 0; }
@media (min-width: 760px) { .p-info { grid-template-columns: 1fr 1fr; } }
.credits { margin: 0; display: grid; gap: 0; }
.credits div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.credits dt { color: var(--mute); }
.credits dd { margin: 0; }
.p-by { margin: 0; font-size: 14px; color: var(--mute); align-self: end; }
.stills { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .stills { grid-template-columns: 1fr 1fr; } }
.next { display: flex; align-items: baseline; gap: 18px; margin-top: clamp(48px, 7vw, 100px); padding-top: 18px; border-top: 1px solid var(--ink); }
.next .k { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.next-t { flex: 1; font-size: clamp(30px, 5vw, 72px); letter-spacing: -.045em; line-height: 1; }
.next > span:last-child { font-size: clamp(30px, 5vw, 72px); transition: transform .3s; }
.next:hover > span:last-child { transform: translateX(8px); }

/* ── about ── */
.about-grid { display: grid; gap: clamp(28px, 5vw, 72px); }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(260px, 5fr) 7fr; align-items: start; } .about-fig { position: sticky; top: 80px; } }
.about-fig { margin: 0; }
.about-fig .portrait { border-radius: var(--r); filter: none; }
.about-fig figcaption { margin-top: 10px; font-size: 12.5px; color: var(--mute); }
.about-txt { display: grid; gap: 18px; justify-items: start; max-width: 64ch; }
.about-txt p { margin: 0; font-size: 16px; }
.about-txt .lead { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.25; letter-spacing: -.02em; }
.about-txt h2 { margin-top: 26px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 7px 13px; background: var(--sage); border-radius: 99px; font-size: 13px; }
.list { width: 100%; }
.list a { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 17px; }
.list a span:last-child { color: var(--mute); font-size: 13px; }
.list a:hover span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.about-txt .big-links { width: 100%; }

/* ── footer ── */
.foot { background: var(--night); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) var(--pad) 18px; overflow: hidden; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr; font-size: 14px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot .k { margin: 0 0 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #8d938d; }
.foot li { padding: 2px 0; }
.foot li span { color: #8d938d; }
.foot a:hover { text-decoration: underline; text-underline-offset: .2em; }
.foot p { margin: 0; }
.foot-mark { font-weight: 700; font-size: calc((100vw - 2 * var(--pad)) / 3.5); line-height: .78; letter-spacing: -.075em; margin: clamp(40px, 6vw, 80px) 0 0 -.02em !important; color: var(--on-dark); white-space: nowrap; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8d938d; }

.nf { min-height: 60vh; align-content: center; }

/* ── mobile hero ── */
@media (max-width: 759px) {
  .hero { min-height: auto; }
  .badge { margin-top: 84px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
