/* Hugh Mann in the Loop: the site (draft 3, 2026-11-09).
   Layout after the owner's pick of a studio page: a quiet dark page, one plain headline, one button,
   then the work. Colours are the channel's (CONSTITUTION section 4): dark warm world, lilac = tech,
   warm white = human, amber = the thing to press.
   Rules: no text under 16px, no grey text, no outside files, no inline styles.
   The headline face is a book face already on the visitor's device; nothing is downloaded. */

:root {
  --world: #0E0B14;
  --human: #F3ECE5;
  --lilac: #DDB3DD;
  --violet: #B07CFF;
  --amber: #FFB547;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: 22px;
  --line: rgba(221, 179, 221, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--world); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  position: relative;
  background: var(--world);
  color: var(--human);
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* The back: a soft purple light from the top. */
.sky { position: absolute; top: 0; left: 0; right: 0; height: 900px; overflow: hidden; pointer-events: none; }
.haze {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 120% 55% at 30% 0%, rgba(122, 84, 200, 0.42), rgba(122, 84, 200, 0) 70%),
    radial-gradient(ellipse 70% 34% at 90% 36%, rgba(221, 179, 221, 0.1), rgba(221, 179, 221, 0) 70%);
}

/* The bar at the top: who this is. */
.bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  margin-top: 14px; padding: 9px 20px 9px 9px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(14, 11, 20, 0.55);
}
.bar img { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--human); }
.bar span { font-size: 16px; line-height: 1.1; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }

/* Small label above each part. */
.label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
  font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lilac);
}
.label::before { content: ""; flex: none; width: 34px; height: 1.5px; background: var(--amber); }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(42px, 11.6vw, 80px); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(36px, 9.6vw, 60px); line-height: 1.06; letter-spacing: -0.018em; }
h3 { font-size: 26px; line-height: 1.12; letter-spacing: -0.01em; }
.tech { color: var(--lilac); }
.lead { margin-top: 22px; max-width: 34em; font-size: 19px; line-height: 1.6; }

/* The first screen: one line, one button. */
.hero { position: relative; z-index: 1; padding: 64px 0 60px; }
.acts { display: grid; gap: 14px; margin-top: 30px; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 62px; padding: 12px 24px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 17px; line-height: 1.1; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  color: var(--human);
  background: rgba(14, 11, 20, 0.4);
}
.btn:hover, .btn:focus-visible { border-color: var(--lilac); background: rgba(176, 124, 255, 0.18); }
.btn.go {
  border-color: var(--amber); background: var(--amber); color: var(--world);
  box-shadow: 0 0 34px rgba(255, 181, 71, 0.28);
}
.btn.go:hover, .btn.go:focus-visible { background: #FFC670; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.kinds { margin-top: 30px; font-size: 16px; line-height: 1.9; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lilac); }

/* Every part after the first screen. */
.part { position: relative; z-index: 1; padding: 62px 0; border-top: 1px solid var(--line); }

/* The work: one frame of each finished video. */
.work { display: grid; gap: 18px; margin-top: 34px; }
.piece {
  display: grid; grid-template-columns: 124px 1fr; gap: 18px; align-items: center;
  padding: 12px; border: 1px solid var(--line); border-radius: 22px;
  background: rgba(176, 124, 255, 0.07);
}
.piece img { border-radius: 14px; }
.tag { margin-bottom: 8px; font-size: 16px; line-height: 1.2; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); }
.piece p { margin-top: 8px; font-size: 18px; line-height: 1.4; }

/* The show: the channel line and where to follow. */
.follow { display: grid; gap: 12px; margin-top: 30px; }

/* The ask at the end. */
.ask .btn { margin-top: 30px; }
.address { letter-spacing: 0; text-transform: none; font-size: clamp(16px, 4.6vw, 21px); white-space: nowrap; }

footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 26px 0 40px; }
footer p { font-size: 17px; font-weight: 600; color: var(--lilac); }

/* The wrong-address page. */
.lost { position: relative; z-index: 1; padding: 90px 0 80px; }
.lost h1 { font-size: 120px; }
.lost .btn { max-width: 320px; margin-top: 30px; }

/* Wider screens: same page, more air. */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  body { font-size: 20px; }
  .bar { display: inline-flex; margin-top: 22px; }
  .bar span { letter-spacing: 0.2em; }
  .hero { padding: 110px 0 100px; max-width: 880px; }
  .lead { font-size: 21px; }
  .acts { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .part { padding: 96px 0; }
  .work { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .piece { grid-template-columns: 1fr; align-items: start; align-content: start; padding: 12px 12px 20px; }
  .piece h3 { font-size: 24px; }
  .follow { grid-template-columns: repeat(3, minmax(0, 240px)); }
  .ask .btn { max-width: 460px; }
}
