/* Proxenos — première version.
   Palette : l'eau profonde, en plongée ; un repère de laiton pour la trace. */

@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("fonts/literata-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0d2531;      /* fond : l'eau profonde */
  --ink: #e4ece9;     /* encre : la lumière qui descend */
  --muted: #94acb4;   /* texte second */
  --brass: #d3a24c;   /* la trace : ligne et repères, jamais du texte courant */
  --rule: #24414d;

  --display: "Bricolage", system-ui, sans-serif;
  --text: "Literata", Georgia, serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-4: clamp(2.1rem, 1.2rem + 4.4vw, 4.6rem);

  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-0);
  line-height: 1.6;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.draft {
  margin: 0;
  padding: 0.5rem 1.25rem;
  background: var(--brass);
  color: var(--bg);
  font-family: var(--display);
  font-size: var(--step--1);
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 1.25rem 3rem;
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

/* L'accueil : la phrase porte toute l'audace de la page. */
.greeting {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-style: italic;
  max-width: 34ch;
}
.sentence {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 16ch;
  animation: surface 1.6s cubic-bezier(.2,.7,.2,1) both;
}
.subtitle {
  margin: 1.5rem 0 0;
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 34ch;
}
.name {
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-weight: 500;
  color: var(--muted);
}

/* Une seule entrée orchestrée : la phrase remonte de la profondeur. */
@keyframes surface {
  from { font-weight: 250; opacity: 0; color: var(--muted); }
  to   { font-weight: 700; opacity: 1; color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  .sentence { animation: none; }
}

/* Les preuves, sur une ligne de descente : la trace du travail. */
.line {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.75rem;
  border-left: 2px solid var(--brass);
  display: grid;
  gap: 2.75rem;
}
.proof { position: relative; max-width: 38rem; }
.proof::before {
  content: "";
  position: absolute;
  left: calc(-1.75rem - 7px);
  top: 0.55rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brass);
}
.proof h3 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 650;
  line-height: 1.25;
}
.helps { margin: 0.25rem 0 0; color: var(--muted); font-style: italic; }
.what  { margin: 0.75rem 0 0; }
.trace {
  margin: 0.75rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: var(--step--1);
}

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.see { display: inline-block; margin-top: 0.75rem; font-family: var(--display); font-weight: 600; }

/* Le contact : sobre, en bas, sans détour. */
.contact {
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}
.seeking {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.35;
  max-width: 30ch;
}
.invite { margin: 0 0 0.5rem; max-width: 34ch; color: var(--muted); }
.elsewhere { margin: 0.5rem 0 0; font-family: var(--display); font-weight: 600; }
.mail {
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 600;
  word-break: break-word;
}
.place { margin: 0.5rem 0 0; color: var(--muted); font-size: var(--step--1); }

/* Grand écran : la phrase reste à gauche, les preuves défilent à droite. */
@media (min-width: 60rem) {
  main {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
  }
  .welcome { position: sticky; top: 4rem; }
  .proofs  { padding-top: 0.5rem; }
  .contact { grid-column: 2; }
}
