/* Lewys AI — coming-soon page · FINAL design source (approved direction: Concept C)
   All values are documented in design/deliverables/DESIGN_SPEC.md. */

@import url("fonts/geist.css");

:root {
  /* Colour */
  --paper: #F5F2EC;        /* page background */
  --ink: #1B1A17;          /* headline line 1 — 15.6:1 on paper */
  --ink-muted: #5E5A52;    /* intro, status label, footer — 6.1:1 on paper */
  --line: #DAD4C9;         /* footer hairline (decorative) */
  --brand: #1F4D3F;        /* Lewys green: headline line 2, artwork — 8.6:1 on paper */
  --mist: #CFE0D6;         /* artwork only */
  --ember: #C9552B;        /* status dot, artwork disc, focus ring — 3.9:1 on paper (non-text) */

  /* Type */
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --page-max: 1440px;
  --gutter: 64px;          /* side padding: 64 desktop · 40 tablet · 20 mobile */
  --col-gap: 24px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header,
.hero,
.site-footer {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header ------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 40px;
}

.logo { display: block; border-radius: 6px; }
.logo img { display: block; height: 34px; width: auto; }   /* logo-light.svg, 266.4 × 64 */

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

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid var(--ink-muted);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
}

/* Hero --------------------------------------------------------------- */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
  align-items: center;
  padding-block: 32px 64px;
}

.hero__copy { grid-column: 1 / span 7; }

.hero__title {
  margin: 0;
  font-weight: 500;
  font-size: 80px;
  line-height: 1.025;          /* 82px */
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero__title-line { display: block; }
.hero__title-line--brand { color: var(--brand); }

.hero__intro {
  margin: 32px 0 0;
  max-width: 30em;             /* ≈ 600px at 20px */
  font-size: 20px;
  line-height: 32px;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.hero__art { grid-column: 9 / span 4; }
.hero__art svg { display: block; width: 100%; height: auto; }

/* Footer ------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 32px;
}

.site-footer p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

/* Tablet & small laptop: 761–1024px ---------------------------------- */
@media (max-width: 1024px) {
  :root { --gutter: 40px; }
  .hero__copy { grid-column: 1 / span 8; }
  .hero__art  { grid-column: 9 / span 4; }
  .hero__title { font-size: 64px; line-height: 1.03; }
  .hero__intro { font-size: 18px; line-height: 28px; margin-top: 24px; }
}

/* Mobile: ≤760px (designed at 390, checked at 320) ------------------- */
@media (max-width: 760px) {
  :root { --gutter: 20px; }

  .site-header { padding-block: 24px; }
  .logo img { height: 30px; }
  .status { font-size: 11px; padding: 6px 10px; gap: 8px; }

  .hero { display: block; padding-block: 24px 48px; }
  .hero__title {
    font-size: clamp(36px, 10.5vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }
  .hero__intro { font-size: 17px; line-height: 26px; margin-top: 20px; }

  .hero__art { margin-top: 40px; max-width: 360px; }
  .hero__art svg { height: 240px; border-radius: 12px; }  /* artwork crops to its lower half */
}

/* Very narrow phones: ≤359px ---------------------------------------- */
@media (max-width: 359px) {
  .logo img { height: 26px; }
  .status { letter-spacing: 0.06em; }
}
