  :root {
    --bg: #0b0a0d;
    --fg: #f2efe8;
    --muted: #a3a0aa;
    --hair: rgba(242, 239, 232, 0.12);
    --outline: rgba(242, 239, 232, 0.42);
    --violet: #7b5cff;
    --violet-deep: #3a1fa6;
    --yellow: #f6d44a;
    --gutter: clamp(16px, 4vw, 48px);
    --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
    /* Helvetica is the wordmark's own face; Fragment Mono is built on the same skeleton. */
    --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mono: "Fragment Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  ::selection { background: var(--yellow); color: var(--bg); }

  /* Fine grain over the black, so the ground reads as a material, not a void. */
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.07;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  /* The lamp: a violet light that drifts behind the type and leans toward the pointer. */
  .lamp {
    position: fixed;
    left: 0;
    top: 0;
    width: 72vmax;
    height: 72vmax;
    margin: -36vmax 0 0 -36vmax;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(closest-side, rgba(123, 92, 255, 0.22), rgba(123, 92, 255, 0.07) 55%, transparent);
    transform: translate3d(50vw, 45vh, 0);
    will-change: transform;
    z-index: 0;
  }

  .skip {
    position: absolute;
    left: var(--gutter);
    top: -60px;
    z-index: 10;
    padding: 12px 16px;
    background: var(--yellow);
    color: var(--bg);
    font-weight: 500;
    text-decoration: none;
    border-radius: 999px;
  }
  .skip:focus { top: 12px; }

  a:focus-visible,
  .skip:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 4px;
    border-radius: 6px;
  }

  header, footer, main { position: relative; z-index: 1; }

  header, footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px var(--gutter);
  }

  .name {
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.01em;
  }
  .name span { color: var(--muted); }

  .label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .status { display: inline-flex; align-items: center; gap: 10px; }
  .status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--yellow);
  }

  main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(28px, 6vh, 64px);
    padding: clamp(24px, 6vh, 72px) var(--gutter);
  }

  h1 { margin: 0; font-weight: 400; }
  .sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  #mark {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    /* invisible until the font is in and the layout is measured */
    opacity: 0;
    transition: opacity 0.3s linear;
  }
  #mark.ready { opacity: 1; }

  #mark text {
    font-family: var(--serif);
    font-weight: 400;
    font-optical-sizing: auto;
    letter-spacing: -0.02em;
  }
  #mark .outline {
    fill: none;
    stroke: var(--outline);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }
  #mark.ready .outline {
    stroke-dasharray: 1600 1600;
    animation: draw 2.2s var(--ease-out) both;
  }
  @keyframes draw {
    from { stroke-dashoffset: 1600; }
    to { stroke-dashoffset: 0; }
  }
  #mark .meniscus {
    fill: none;
    stroke: var(--yellow);
    stroke-width: 2.25;
    vector-effect: non-scaling-stroke;
  }

  .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    align-items: end;
    gap: 24px 48px;
    padding-top: clamp(20px, 3vh, 32px);
    border-top: 1px solid var(--hair);
  }
  .statement {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(1.875rem, 3.6vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
  }
  .statement em { font-style: italic; }
  .lede {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 34ch;
  }

  footer .copy { white-space: nowrap; }
  .agency {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--fg);
    text-decoration: none;
    font-size: 15px;
    text-align: right;
  }
  .agency .lead { color: var(--muted); }
  .agency u { position: relative; text-decoration: none; }
  .agency u::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease-out);
  }
  .agency .arrow { display: inline-block; transition: transform 0.25s var(--ease-out), color 0.25s; }
  .agency:hover u::after, .agency:focus-visible u::after { transform: scaleX(1); }
  .agency:hover .arrow, .agency:focus-visible .arrow { transform: translate(2px, -2px); color: var(--yellow); }

  /* First-visit entrance: the mark leads, the rest follows in reading order. */
  .rise { animation: rise 0.7s var(--ease-out) both; }
  .rise.d1 { animation-delay: 1.1s; }
  .rise.d2 { animation-delay: 1.18s; }
  .fade { animation: fade 0.6s linear 1.4s both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }

  @media (max-width: 719px) {
    .row { grid-template-columns: 1fr; align-items: start; gap: 16px; }
    footer { flex-direction: column-reverse; align-items: flex-start; gap: 4px; }
    .agency { text-align: left; flex-wrap: wrap; gap: 0 8px; }
    header .status .long { display: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation: none !important;
      transition: none !important;
    }
    #mark.ready .outline { stroke-dasharray: none; }
  }

  /* 404 */
  .lamp-still { transform: translate3d(50vw, 45vh, 0); }
  .home { color: var(--fg); text-decoration: none; display: inline-block; padding: 12px 0; line-height: 20px; }
  .row-404 { border-top: 0; padding-top: 0; }
  .back { color: var(--fg); text-underline-offset: 4px; text-decoration-color: var(--yellow); display: inline-block; padding: 10px 0; }
