@font-face {
  font-family: "Aether Narrow";
  src: url("aether-index-prototype/assets/fonts/Arial-Narrow-Studio.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Aether Serif";
  src: url("aether-index-prototype/assets/fonts/CormorantGaramond-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Aether Header Narrow";
  src: url("aether-index-prototype/assets/fonts/Arial-Narrow-Studio.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Aether Wordmark Local";
  src: url("aether-index-prototype/assets/fonts/CormorantGaramond-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --contact-paper: #fff;
  --contact-ink: #090a0a;
  --contact-muted: #696969;
  --contact-error: #9b2929;
  --contact-line: 1px solid rgba(9, 10, 10, .76);
  --contact-sans: "Helvetica Neue", Arial, sans-serif;
  --contact-narrow: "Aether Narrow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --contact-serif: "adobe-caslon-pro", "Big Caslon", "Aether Serif", "Cormorant Garamond", Georgia, serif;
  --contact-ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--contact-paper);
}

body.contact-page {
  margin: 0;
  overflow-x: clip;
  background: var(--contact-paper) !important;
  color: var(--contact-ink);
  font: 16px/1.25 var(--contact-sans);
  -webkit-font-smoothing: antialiased;
}

.contact-page a { color: inherit; text-decoration: none; }
.contact-page img,
.contact-page svg,
.contact-page video { display: block; max-width: 100%; }
.contact-page button,
.contact-page input,
.contact-page textarea { min-width: 0; color: inherit; }
.contact-page :where(button, input, textarea) { font: inherit; }
.contact-page button { cursor: pointer; }
.contact-page ::selection { background: var(--contact-ink); color: #fff; }
.contact-page :focus-visible { outline: 2px solid #276cc2; outline-offset: 4px; }
.contact-page :where(em, .submit-word, .contact-wordmark > p, .message-preview h2) {
  font-feature-settings: "swsh" on;
}

.contact-page main .max-shell,
.contact-page .contact-footer .max-shell {
  width: min(1460px, calc(100% - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 14px;
  left: 18px;
  padding: 10px 14px;
  background: var(--contact-ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform .2s;
}

.skip-link:focus { transform: translateY(0); }

/* Le header reste entièrement piloté par aether-global-header.css/js. */

.contact-hero { padding: 34px 0 68px; }

.contact-portal {
  position: relative;
  width: min(1150px, 83.2vw);
  aspect-ratio: 1150 / 518;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #526061;
  isolation: isolate;
}

.contact-portal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.76) brightness(.69) contrast(1.03);
  transform: scale(1.035);
  transition: transform 1.25s var(--contact-ease), filter 1s var(--contact-ease);
}

.contact-portal:hover .contact-portal-video {
  filter: saturate(.86) brightness(.73) contrast(1.05);
  transform: scale(1.075);
}

.contact-portal-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 15, .05), rgba(6, 11, 13, .31)),
    radial-gradient(circle at 50% 42%, transparent 18%, rgba(5, 8, 10, .16) 78%);
}

.contact-portal figcaption {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 11%;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .12);
}

.portal-overline {
  position: absolute;
  top: 42px;
  font: 400 12px/1 var(--contact-narrow);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.portal-overline em {
  font: 500 italic 1.28em/1 var(--contact-serif);
  text-transform: none;
}

.contact-portal h1 {
  max-width: 880px;
  margin: 0;
  font: 400 clamp(45px, 3.8vw, 56px)/1.05 var(--contact-narrow);
  letter-spacing: -.052em;
  text-transform: uppercase;
}

.contact-portal h1 b { font-weight: 400; }

.contact-portal h1 em {
  font: 500 italic 1.1em/.9 var(--contact-serif);
  letter-spacing: -.04em;
  text-transform: none;
  white-space: nowrap;
}

.contact-portal figcaption > p {
  position: absolute;
  bottom: 40px;
  width: min(500px, 74%);
  margin: 0;
  font: 400 12px/1.42 var(--contact-sans);
}

.contact-inquiry { padding: 0 0 92px; }

.inquiry-title-block {
  position: relative;
  padding: 0 0 27px;
  border-bottom: var(--contact-line);
}

.inquiry-title-block > span {
  font: 400 11px/1 var(--contact-narrow);
  letter-spacing: .085em;
  text-transform: uppercase;
}

.inquiry-title-block h2 {
  margin: 17px 0 0;
  font: 400 clamp(68px, 6.2vw, 94px)/.78 var(--contact-narrow);
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.inquiry-title-block h2 em {
  font: 500 italic 1.08em/.7 var(--contact-serif);
  letter-spacing: -.055em;
  text-transform: none;
}

.inquiry-title-block > p {
  position: absolute;
  right: 0;
  bottom: 29px;
  width: 270px;
  margin: 0;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.45;
}

.contact-form { padding-top: 0; }

.form-line {
  position: relative;
  display: grid;
  grid-template-columns: minmax(205px, 26%) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 126px;
  padding: 29px 0 17px;
  border-bottom: var(--contact-line);
}

.form-line label,
.form-choices legend {
  font: 400 13px/1.15 var(--contact-narrow);
  letter-spacing: .045em;
  text-transform: uppercase;
}

.form-line input,
.form-line textarea {
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 500 italic clamp(32px, 3.25vw, 49px)/1 var(--contact-serif);
  letter-spacing: -.038em;
}

.form-line input::placeholder,
.form-line textarea::placeholder {
  color: #777772;
  opacity: 1;
}

.form-line textarea {
  min-height: 128px;
  resize: vertical;
  line-height: .98;
}

.form-line-message {
  align-items: start;
  min-height: 218px;
  padding-top: 37px;
}

.field-error {
  grid-column: 2;
  min-height: 15px;
  margin: 6px 0 0;
  color: var(--contact-error);
  font-size: 12px;
  line-height: 1.3;
}

.form-line [aria-invalid="true"] {
  text-decoration: underline;
  text-decoration-color: var(--contact-error);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.form-choices {
  margin: 0;
  padding: 36px 0 31px;
  border: 0;
  border-bottom: var(--contact-line);
}

.form-choices legend {
  float: left;
  width: 26%;
  padding: 11px 30px 0 0;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-left: 26%;
}

.choice-pills label { position: relative; }

.choice-pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pills span {
  display: block;
  padding: 11px 18px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font: 400 15px/1 var(--contact-narrow);
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .25s var(--contact-ease);
}

.choice-pills label:hover span { transform: translateY(-2px); }
.choice-pills input:checked + span { background: var(--contact-ink); color: #fff; }
.choice-pills input:focus-visible + span { outline: 2px solid #276cc2; outline-offset: 3px; }
.form-choices .field-error { min-height: 16px; margin: 7px 0 0 26%; }

.form-consent {
  display: grid;
  grid-template-columns: 23px minmax(0, 710px);
  gap: 13px;
  align-items: start;
  padding-top: 27px;
  font-size: 14px;
  line-height: 1.45;
}

.form-consent input {
  appearance: none;
  display: grid;
  width: 22px;
  height: 22px;
  margin: 0;
  place-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.form-consent input::after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--contact-ink);
  content: "";
  transform: scale(0);
  transition: transform .2s;
}

.form-consent input:checked::after { transform: scale(1); }
.consent-error { min-height: 18px; margin: 5px 0 0 36px; }

.submit-stage {
  position: relative;
  min-height: 260px;
  padding-top: 42px;
  border-bottom: var(--contact-line);
}

.submit-stage > p:first-child {
  max-width: 410px;
  margin: 0;
  color: var(--contact-muted);
  font-size: 12px;
  line-height: 1.45;
}

.submit-word {
  position: absolute;
  bottom: 9px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--contact-serif);
  font-size: clamp(76px, 7.3vw, 112px);
  font-style: italic;
  font-weight: 500;
  line-height: .74;
  letter-spacing: -.055em;
}

.submit-word svg {
  width: clamp(76px, 8vw, 118px);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform .3s var(--contact-ease);
}

.submit-word:hover svg,
.submit-word:focus-visible svg { transform: translateX(13px); }

.form-status {
  position: absolute;
  top: 43px;
  right: 0;
  max-width: 380px;
  margin: 0;
  text-align: right;
  font-size: 13px;
  line-height: 1.4;
}

.form-status.is-error { color: var(--contact-error); }

.message-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-top: 55px;
  padding: 31px 33px 34px;
  border: 1.5px solid currentColor;
  border-radius: 32px;
}

.message-preview[hidden] { display: none; }

.message-preview span {
  font: 400 11px/1 var(--contact-narrow);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.message-preview h2 {
  margin: 14px 0 18px;
  font: 500 italic 66px/.78 var(--contact-serif);
  letter-spacing: -.05em;
}

.message-preview p {
  max-width: 700px;
  margin: 0;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.45;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.preview-actions button,
.preview-actions a {
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: #fff;
  font: 400 13px/1 var(--contact-narrow);
  text-transform: uppercase;
}

.preview-actions button:hover,
.preview-actions a:hover { background: var(--contact-ink); color: #fff; }
.message-preview .copy-status { grid-column: 1 / -1; max-width: none; color: #2c6440; font-size: 12px; }

.contact-wordmark {
  padding: 36px 0 0;
  overflow: hidden;
}

.contact-wordmark > div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  font: 400 11px/1 var(--contact-narrow);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-wordmark > p {
  margin: 28px 0 -4.6vw;
  font: 500 italic clamp(230px, 39vw, 585px)/.66 var(--contact-serif);
  letter-spacing: -.082em;
  text-align: center;
  white-space: nowrap;
}

.contact-footer {
  padding: 27px 0 38px;
  border-top: 1px solid currentColor;
  background: var(--contact-paper);
}

.contact-footer > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font: 400 11px/1 var(--contact-narrow);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-footer nav { display: flex; gap: 25px; }
.contact-footer a { border-bottom: 1px solid transparent; }
.contact-footer a:hover { border-color: currentColor; }

@media (max-width: 1100px) {
  .contact-page main .max-shell,
  .contact-page .contact-footer .max-shell { width: calc(100% - 48px); }
  .contact-portal { width: 88%; }
  .contact-portal h1 { font-size: 4vw; }
}

@media (max-width: 860px) {
  .contact-hero { padding: 24px 0 70px; }
  .contact-portal { width: 96%; aspect-ratio: 1.35 / 1; border-radius: 48%; }
  .contact-portal figcaption { padding-inline: 8%; }
  .contact-portal h1 { font-size: clamp(42px, 7.2vw, 58px); }
  .inquiry-title-block h2 { font-size: 11vw; }
  .inquiry-title-block > p { position: static; width: auto; margin: 25px 0 0; }
  .form-line { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 33px 0 17px; }
  .field-error { grid-column: 1; }
  .form-line input,
  .form-line textarea { font-size: 40px; }
  .form-choices legend { float: none; width: auto; padding: 0 0 21px; }
  .choice-pills { margin-left: 0; }
  .form-choices .field-error { margin-left: 0; }
  .message-preview { grid-template-columns: 1fr; }
  .preview-actions { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .contact-page main .max-shell,
  .contact-page .contact-footer .max-shell { width: calc(100% - 28px); }

  .contact-page main .contact-hero {
    width: 100%;
    padding: 0 0 66px;
  }

  .contact-portal {
    width: 100%;
    height: clamp(690px, 210vw, 820px);
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 50% / 46%;
  }

  .contact-portal-video { object-position: 50% 50%; }
  .portal-overline { top: 17%; font-size: 10px; }

  .contact-portal h1 {
    width: min(350px, 88%);
    font-size: clamp(42px, 13vw, 52px);
    line-height: .93;
  }

  .contact-portal h1 b,
  .contact-portal h1 em { display: block; }
  .contact-portal h1 em { line-height: .86; white-space: normal; }

  .contact-portal figcaption > p {
    bottom: 16%;
    width: 72%;
    font-size: 11px;
  }

  .contact-inquiry { padding-bottom: 70px; }
  .inquiry-title-block { padding-bottom: 22px; }
  .inquiry-title-block h2 { margin-top: 15px; font-size: 18vw; line-height: .74; }
  .inquiry-title-block > p { margin-top: 26px; }
  .form-line input,
  .form-line textarea { font-size: 31px; }
  .form-line textarea { min-height: 150px; }
  .choice-pills span { padding: 9px 13px 8px; font-size: 12px; }
  .form-consent { font-size: 12px; }

  .submit-stage { min-height: 245px; padding-top: 34px; }
  .submit-stage > p:first-child { max-width: 72%; }
  .form-status { position: static; max-width: 100%; margin-top: 14px; text-align: left; }
  .submit-word { bottom: 12px; gap: 12px; font-size: 20vw; }
  .submit-word svg { width: 58px; }

  .message-preview { padding: 24px 21px; border-radius: 24px; }
  .message-preview h2 { font-size: 54px; }
  .preview-actions { display: grid; }
  .preview-actions > * { text-align: center; }

  .contact-wordmark > div { font-size: 8px; }
  .contact-wordmark > p { margin-top: 24px; font-size: 40vw; }
  .contact-footer > div { flex-direction: column; }
  .contact-footer nav { flex-wrap: wrap; gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
