/* ============================================================
   Répertoire — holding page
   Brand tokens and logo lockup match the main site exactly.
   ============================================================ */

@font-face {
  font-family: 'GFS Didot';
  src: url('../fonts/gfsdidot.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
}

:root {
  --red: #C8102E;
  --ink: #191A1A;
  --paper: #F5F4F0;
  --font-display: 'GFS Didot', 'Didot', 'Bodoni MT', serif;
  --font-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-stretch: 100%;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ---- layout: single centred screen ---- */

.hold {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.hold__inner {
  width: 100%;
  max-width: 30rem;
  text-align: center;
}

/* ---- logo lockup (identical proportions to main site) ---- */

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.logo__top {
  display: inline-flex;
  align-items: center;
  gap: 0.33em;
}

.logo__mark {
  display: inline-block;
  width: 0.13em;
  height: 0.8em;
  background: var(--red);
  border-radius: 999px;
  transform: rotate(37deg);
}

.logo__word {
  font-family: var(--font-display);
  font-size: 1em;
  color: var(--ink);
}

.logo__rule {
  width: 1.47em;
  height: 3px;
  background: var(--red);
  margin-top: 0.27em;
}

/* ---- copy ---- */

.strap {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.intro {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  color: #3A3B3B;
}

/* ---- form ---- */

.hidden-field {
  display: none;
}

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

.notify__role {
  border: 0;
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  margin-bottom: 1.25rem;
}

.role-option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.role-option input {
  accent-color: var(--red);
  width: 1rem;
  height: 1rem;
  cursor: pointer;
}

.notify__company {
  margin-bottom: 0.75rem;
}

.notify__company input {
  width: 100%;
}

.notify__fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.notify__company input,
.notify__fields input {
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid #C9C8C3;
  border-radius: 4px;
  background: #FFFFFF;
  color: var(--ink);
}

.notify__company input:focus-visible,
.notify__fields input:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--red);
}

.notify__fields button {
  font-family: var(--font-body);
  font-stretch: 100%;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.15s ease;
}

.notify__fields button:hover {
  background: #A80D26;
}

.notify__fields button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.notify__fields input.is-invalid {
  border-color: var(--red);
}

.field-error {
  font-size: 0.85rem;
  color: var(--red);
  margin-top: 0.75rem;
}

.notify__privacy {
  font-size: 0.8rem;
  color: #6B6C6A;
  margin-top: 1rem;
}

/* ---- success state ---- */

.notify__success p {
  font-size: 1rem;
  line-height: 1.6;
  padding: 1.25rem;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: #FFFFFF;
}

/* ---- wider screens: inline the fields ---- */

@media (min-width: 40rem) {
  .hold__inner {
    max-width: 34rem;
  }

  .notify__fields {
    flex-direction: row;
  }

  .notify__fields input[name="full-name"] {
    flex: 0 1 10rem;
  }

  .notify__fields input[name="email"] {
    flex: 1 1 auto;
  }

  .notify__fields button {
    flex: 0 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
