/* ── Variables ── */
:root {
  --bg:       #161210;
  --surface:  #1E1A17;
  --border:   #3A342C;
  --text:     #DDD4BC;
  --text-dim: #8A7F70;
  --gold:     #C4A14A;
  --gold-dim: #7A6330;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 20px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.75;
  min-height: 100vh;
}

/* ── Layout ── */
.page { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

section { padding: 5rem 0; border-top: 1px solid var(--border); }
section:first-of-type { border-top: none; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
}

/* ── Brand ── */
.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 2.5rem 0 2rem;
  display: block;
  text-decoration: none;
}

/* ── Label ── */
.label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  display: block;
  margin-bottom: 1.5rem;
}

/* ── Hero ── */
.hero { padding: 3rem 0 5rem; border-top: none; }

.hero-arc {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-arc span { color: var(--gold); font-style: normal; font-weight: 400; }

.hero-question {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.8;
}

/* ── Definition ── */
.greek {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.25rem;
}

.greek-note {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 2.5rem;
}

.definition-text {
  font-size: 1.15rem;
  line-height: 1.85;
  max-width: 660px;
}

.definition-text strong { color: var(--gold); font-weight: 500; }

/* ── Pillars ── */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; gap: 2rem; }
}

.pillar-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.pillar-body { font-size: 0.9rem; color: var(--text-dim); line-height: 1.75; }

/* ── Commitment ── */
.commitment-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  border-left: 2px solid var(--gold-dim);
  padding-left: 1.5rem;
  margin: 2rem 0;
  max-width: 600px;
}

.commitment-detail {
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.8;
}

/* ── Instances ── */
.instance-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}

.instance-row:first-of-type { border-top: 1px solid var(--border); }

.instance-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
  min-width: 80px;
}

.instance-person { color: var(--text); font-size: 0.95rem; flex: 1; }

.instance-status {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── Ornament ── */
.ornament {
  color: var(--gold-dim);
  font-size: 1.2rem;
  display: block;
  margin: 1.5rem 0;
}

/* ── Nav ── */
nav {
  display: flex;
  gap: 2rem;
  padding-bottom: 2rem;
  flex-wrap: wrap;
}

nav a {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover { color: var(--gold); }

/* ── Prose pages (À propos) ── */
.prose-block { margin-bottom: 3rem; }

.prose-block h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
}

.prose-block p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.1rem;
  max-width: 660px;
}

.prose-block p em { font-style: italic; color: var(--text-dim); }
.prose-block p strong { color: var(--text); font-weight: 500; }

.signature {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* ── Team entries ── */
.team-entry { margin-bottom: 3.5rem; }

.team-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-bottom: 1.1rem;
}

.team-body { font-size: 1rem; line-height: 1.8; max-width: 600px; }
.team-body p { margin-bottom: 0.75rem; }

/* ── Product page (Mnemon) ── */
.product-section { margin-bottom: 3.5rem; }

.product-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 1rem;
}

.product-body { font-size: 1.05rem; line-height: 1.85; max-width: 660px; }
.product-body p { margin-bottom: 1rem; }
.product-body strong { color: var(--gold); font-weight: 500; }
.product-body em { font-style: italic; color: var(--text-dim); }

.cta-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 0.1em;
  transition: color 0.2s, border-color 0.2s;
}

.cta-link:hover { color: var(--text); border-color: var(--text-dim); }

/* ── Contact form ── */
.intro {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.contact-form { max-width: 560px; }

.field { margin-bottom: 2rem; }

label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.6rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus { border-color: var(--gold-dim); }

textarea { min-height: 160px; resize: vertical; line-height: 1.7; }

.errorlist {
  list-style: none;
  font-size: 0.85rem;
  color: #c47a4a;
  margin-top: 0.4rem;
}

button[type="submit"] {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-dim);
  padding: 0.75rem 2.5rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

button[type="submit"]:hover { border-color: var(--gold); color: var(--text); }

.success {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  border-left: 2px solid var(--gold-dim);
  padding-left: 1.5rem;
  max-width: 500px;
  line-height: 1.6;
}

/* ── Mobile ── */
@media (max-width: 600px) {
  html { font-size: 18px; }

  .page { padding: 0 1.25rem; }

  section { padding: 3rem 0; }

  nav { gap: 1rem 1.5rem; padding-bottom: 1.5rem; }

  .hero { padding: 2rem 0 3rem; }
  .hero-question { font-size: 1.8rem; }
  .hero-arc { font-size: 0.95rem; }

  .greek { font-size: 1.5rem; }
  .commitment-text { font-size: 1.3rem; }

  .pillars { grid-template-columns: 1fr; gap: 2rem; }

  .instance-row { flex-wrap: wrap; gap: 0.25rem 1rem; }
  .instance-name { min-width: 70px; }
  .instance-status { width: 100%; padding-left: 0; }

  .team-name { font-size: 1.3rem; }
  .product-title { font-size: 1.1rem; }

  footer { flex-direction: column; gap: 0.5rem; }
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.footer-note { font-size: 0.8rem; color: var(--text-dim); font-style: italic; }
