@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-display: swap; src: url("/fonts/archivo-latin-900-normal.woff2") format("woff2"); }

:root {
  --ground: #F5DC45;
  --ink: #131313;
  --dot: #E3261C;
  --line: 6px;
  --side: max(20px, env(safe-area-inset-left, 0px));
  --side-r: max(20px, env(safe-area-inset-right, 0px));
  --max: 1120px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--font); }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 900; line-height: 1.05; letter-spacing: -0.015em; }
p { margin: 0; }

.btn {
  display: inline-block; text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: 15px; line-height: 1;
  color: var(--ground); background: var(--ink);
  border-radius: 999px; padding: 11px 18px 12px;
}
.btn.big { font-size: 17px; padding: 15px 24px 16px; }
.btn:hover { background: #000; }
.quiet { font-weight: 700; }

/* Header */
.nav {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: max(16px, env(safe-area-inset-top, 0px)) var(--side-r) 16px var(--side);
}
.brand { font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -0.01em; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; font-size: 15px; }
.nav nav a { text-decoration: none; }
.nav nav a:hover { text-decoration: underline; }

/* Hero: the photo stands on the floor line. */
.hero {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: end;
  padding: 48px var(--side-r) 0 var(--side);
}
.hero-text { padding-bottom: 48px; }
h1 { font-size: clamp(44px, 7vw, 88px); }
.promise { margin-top: 18px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.3; max-width: 30ch; }
.actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

.frame { position: relative; display: block; margin: 0; border: var(--line) solid var(--ink); border-bottom: 0; background: var(--ground); }
/* The cut-out photo stands on the floor line, no frame. */
.photo { display: block; width: 100%; height: auto; align-self: end; }
.floor { height: var(--line); background: var(--ink); }
.todo { position: absolute; inset: 0; display: grid; place-items: center; padding: 12px; text-align: center; font-weight: 700; font-size: 15px; }

/* Sections */
.band { max-width: var(--max); margin: 0 auto; padding: 72px var(--side-r) 72px var(--side); }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 22px; }
.prose { max-width: 60ch; display: grid; gap: 14px; }

/* Community: a door standing on the floor; its knob is the page's one red dot. */
.community { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: end; padding-bottom: 0; }
.door { aspect-ratio: 5 / 11; width: 100%; text-decoration: none; }
.knob { position: absolute; right: 16%; top: 52%; width: 18px; height: 18px; border-radius: 50%; background: var(--dot); transition: transform .15s; }
.door:hover .knob, .door:focus-visible .knob { transform: translateX(-3px); }
.community-text { padding-bottom: 48px; max-width: 58ch; display: grid; gap: 14px; justify-items: start; }
.community-text .lede { font-size: 22px; font-weight: 700; line-height: 1.35; }
.community-text .btn { margin-top: 12px; }

/* Latest */
.work-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 32px; }
.work-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: end; text-decoration: none; }
.thumb { aspect-ratio: 9 / 16; width: 100%; overflow: hidden; border-bottom: var(--line) solid var(--ink); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.work-meta { display: grid; gap: 4px; padding-bottom: 4px; }
.work-date { font-size: 14px; }
.work-title { font-weight: 900; font-size: 22px; line-height: 1.1; }
.work-card:hover .work-title { text-decoration: underline; text-decoration-thickness: 3px; }
.work-line { font-size: 16px; }
.more { margin-top: 28px; font-weight: 700; }

/* Footer */
.end { border-top: var(--line) solid var(--ink); }
.end > * { max-width: calc(var(--max) - 40px); margin-left: auto; margin-right: auto; }
.end { padding: 28px var(--side-r) max(36px, env(safe-area-inset-bottom, 0px)) var(--side); font-size: 16px; }
.socials { list-style: none; padding: 0; margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 700; }

/* Work pages: one video, large, with a label beside it. */
.wall { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 56px; padding: 40px var(--side-r) 0 var(--side); max-width: var(--max); margin: 0 auto; }
.piece { display: flex; align-items: flex-end; gap: 32px; }
.label { max-width: 32ch; padding-bottom: 20px; font-size: 15px; }
.label h2 { font-size: 22px; margin-bottom: 6px; }
.label p { margin: 0 0 6px; }
.single .frame.video { height: min(76vh, 740px); aspect-ratio: 9 / 16; }
.single .frame.video video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.tags { position: absolute; left: 12px; bottom: 14px; display: flex; gap: 8px; }
.tag { font: 700 14px/1 var(--font); color: var(--ground); background: var(--ink); border: 0; border-radius: 999px; padding: 9px 14px 10px; cursor: pointer; }
details { margin-top: 14px; }
summary { cursor: pointer; font-weight: 700; }
.script { margin-top: 10px; max-height: 40vh; overflow: auto; }
.script p { margin: 0 0 8px; }
.top { padding: max(16px, env(safe-area-inset-top, 0px)) var(--side-r) 16px var(--side); max-width: var(--max); margin: 0 auto; }
.top h1 { font-size: 22px; }
.top h1 a { text-decoration: none; }
.frame.empty { height: min(52vh, 480px); aspect-ratio: 9 / 16; }

@media (max-width: 800px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 20px; }
  .hero-text { padding-bottom: 0; }
  .photo { width: 86%; justify-self: center; }
  .band { padding-top: 56px; padding-bottom: 56px; }
  .community { grid-template-columns: 96px minmax(0, 1fr); gap: 24px; }
  .community-text { padding-bottom: 32px; }
  .single .piece { flex-direction: column; align-items: stretch; }
  .single.wall { padding-left: 0; padding-right: 0; }
  .single .frame.video { height: auto; width: 100%; border-left: 0; border-right: 0; }
  .single .label { padding: 0 var(--side-r) 28px var(--side); max-width: none; }
}
