/* Operation: Deeds, Not Words — coming-soon placard
   Palette, type and the rule per design/direction.md (Zara).
   Black is the field, white carries the words, red appears once as a hairline.
   Flat fills only. No imagery beyond the mark. No nav, no buttons, no JS beyond the year. */

:root {
  /* the seven — direction palette, nothing else */
  --bg:           #000000;
  --surface-1:    #0D0D0F;
  --surface-2:    #17171A;
  --border:       #2A2A2E;
  --text:         #FFFFFF;
  --accent:       #E51F25;
  --accent-hover: #FF3B45;  /* held for the full site's controls — the placard spends red once */

  /* derived quiet tones, mixed from --text (no eighth colour enters the palette) */
  --quiet:        rgba(255, 255, 255, 0.70);  /* ≈ #B3B3B3 on black — 11.2:1 */
  --faint:        rgba(255, 255, 255, 0.55);  /* ≈ #8C8C8C on black —  6.3:1 */

  --measure: 1200px;
  --rail:    clamp(18px, 5vw, 88px);

  /* 8px spacing grid */
  --space-2xs: 4px;
  --space-xs:  8px;
  --space-s:   16px;
  --space-m:   24px;
  --space-l:   32px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* type scale */
  --step--1: clamp(0.75rem, 0.72rem + 0.16vw, 0.8125rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--rail);
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ── 1. the placard ───────────────────────────────────────────────────── */

.placard {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* the mark centred in all the black the screen has to give */
.mark-field {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding-block: clamp(32px, 9vh, 104px);
  padding-inline: var(--rail);
}

.mark {
  margin: 0;
  line-height: 0;   /* no inline-box leading under the plate */
}

/* intrinsic 904×503, scaled down only — never up, never restyled */
.mark img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(50svh, 560px);
}

/* ── 2. the red hairline, at the fold ─────────────────────────────────── */

.brief {
  border-top: 1px solid var(--accent);
}

.brief .container {
  padding-block: clamp(14px, 2.2vh, 20px) clamp(22px, 4.5vh, 40px);
}

.micro {
  margin: 0;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--quiet);
}

.brief-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-xs);
}

/* the separator and the domain move as one unit, so the dot can never be
   stranded at the end of a wrapped line */
.pair {
  display: inline-flex;
  align-items: baseline;
  gap: 0 var(--space-xs);
  white-space: nowrap;
}

.sep { color: var(--faint); }

.domain {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--faint);
  text-underline-offset: 5px;
  transition: text-decoration-color 200ms var(--ease);
}

/* hover keeps the link white — red belongs to the rule alone (direction: the
   accent appears once). The feedback is the underline going 55% → solid white. */
.domain:hover,
.domain:focus-visible {
  color: var(--text);
  text-decoration-color: var(--text);
}

/* ── 3. below the fold — one short ruled block ────────────────────────── */

.ledger {
  padding-block: clamp(64px, 11vw, 128px);
}

.ledger-block {
  max-width: 62ch;
  border-top: 1px solid var(--border);
  padding-top: clamp(24px, 3.5vw, 32px);
}

.ledger-label {
  color: var(--faint);
  margin-bottom: var(--space-s);
}

.ledger-block p { margin: 0; }

.colophon {
  border-top: 1px solid var(--border);
}

.colophon p {
  margin: 0;
  padding-block: clamp(20px, 3vw, 28px) clamp(32px, 6vw, 56px);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── responsive ───────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  :root { --rail: 18px; }

  .mark img { max-height: none; }   /* width governs on a phone — mark as large as the rail allows */
}

/* a phone can't hold the status line and the domain on one line: drop the
   separator and let the domain take the second line whole, rather than strand
   a mid-dot at the end of the first */
@media (max-width: 560px) {
  .brief .sep { display: none; }
  .brief-line { gap: var(--space-2xs) var(--space-xs); }
}

/* short or wide viewports: keep the rule on screen with the mark */
@media (max-height: 560px) {
  .placard { min-height: 100vh; }
  .mark img { max-height: 44vh; }
}

/* ── motion ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
