/* sv-styles.css — "editorial-fullbleed" design system
   Justin Personnaz portfolio. Tokens + components + screens.
   Single UI weight (400), hierarchy by size + case only. */

:root {
  /* Canvas */
  --canvas-dark: #000000;
  --canvas-light: #ffffff;
  --ink-on-dark: #ffffff;
  --ink-on-light: #0a0a0a;

  /* Typography */
  --font-ui: 'Instrument Sans', system-ui, sans-serif;
  --font-wordmark: 'Bodoni Moda', 'Times New Roman', serif;

  --label-size: 13px;
  --label-tracking: 0.07em;
  --caption-size: 18px;
  --caption-lh: 1.4;
  --meta-size: 14px;

  /* Header */
  --header-h: 66px;

  /* Pill (caption / button) surfaces */
  --pill-bg-dark: rgba(255, 255, 255, 0.20);
  --pill-bg-dark-hover: rgba(255, 255, 255, 0.30);
  --pill-bg-dark-active: rgba(255, 255, 255, 0.70);
  --pill-bg-light: rgba(0, 0, 0, 0.07);
  --pill-bg-light-hover: rgba(0, 0, 0, 0.12);
  --pill-bg-light-active: rgba(0, 0, 0, 0.80);

  /* Micro-interaction easing */
  --ease-in: cubic-bezier(.32, 0, .67, 0);
  --ease-out: cubic-bezier(.33, 1, .68, 1);
  --micro-dur: 125ms;

  /* Chamfered pill clip: 8px notches on 8 vertices */
  --chamfer: 8px;

  /* Scrollbar (discrète) */
  --sb-thumb: rgba(255, 255, 255, 0.18);
  --sb-thumb-hover: rgba(255, 255, 255, 0.30);
}

@media (min-width: 992px) {
  :root {
    --header-h: 84px;
    --meta-size: 16px;
  }
}
@media (min-width: 1920px) {
  :root {
    --caption-size: 18px;
    --meta-size: 16px;
  }
}

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

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

body {
  font-family: var(--font-ui);
  font-weight: 400;
  background-color: var(--canvas-dark);
  color: var(--ink-on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 1s ease;
  min-height: 100vh;
  scroll-behavior: smooth;
}

/* Light-canvas mode (series view) drives the cross-view transition. */
body.canvas-light {
  background-color: var(--canvas-light);
  color: var(--ink-on-light);
}

/* Lock scroll while splash / overlay is active */
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------------------------------------------------------------- */
/* Micro-polish global : sélection, focus clavier, scrollbar         */
/* ---------------------------------------------------------------- */

::selection { background: rgba(255, 255, 255, 0.85); color: #000; }
body.canvas-light ::selection { background: rgba(0, 0, 0, 0.85); color: #fff; }

/* Focus visible au clavier uniquement (jamais au clic/tap). */
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* Scrollbar discrète (webkit) + Firefox. */
html { scrollbar-width: thin; scrollbar-color: var(--sb-thumb) transparent; }
html:has(body.canvas-light) {
  --sb-thumb: rgba(0, 0, 0, 0.18);
  --sb-thumb-hover: rgba(0, 0, 0, 0.30);
}
body.canvas-light {
  --sb-thumb: rgba(0, 0, 0, 0.18);
  --sb-thumb-hover: rgba(0, 0, 0, 0.30);
}
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sb-thumb); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }

/* ---------------------------------------------------------------- */
/* Typographic primitives                                            */
/* ---------------------------------------------------------------- */

.label {
  font-family: var(--font-ui);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  line-height: 1.2;
}

.meta {
  font-size: var(--meta-size);
  letter-spacing: 0.01em;
}

.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------- */
/* Header                                                            */
/* ---------------------------------------------------------------- */

.sv-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sv-header > * { pointer-events: auto; }

/* Lisibilité sur photo (30/07) : le header entier est composité en
   mix-blend-mode: difference — les lettres/traits (blancs) inversent ce
   qu'il y a dessous : blancs sur sombre, noirs sur clair, teintés sur
   image. Aucune plaque, aucune ombre. */
.sv-header {
  color: #fff;
  mix-blend-mode: difference;
}
.sv-legible { text-shadow: none; filter: none; }

.sv-burger {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 31px;
  height: 19px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px;
  border-radius: 2px;
}
.sv-burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--micro-dur) var(--ease-out),
              opacity var(--micro-dur) var(--ease-out);
}
.sv-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.sv-burger.is-open span:nth-child(2) { opacity: 0; }
.sv-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.sv-wordmark {
  font-family: var(--font-wordmark);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 21px;
  line-height: 1;
  transform: scale(0.667);
  transform-origin: top center;
  padding: 0;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .sv-wordmark { transform: scale(1); }
}

/* ---------------------------------------------------------------- */
/* « Pills » — refonte 24/07 : plus aucune bulle. Texte nu, petites  */
/* caps espacées, états par opacité/soulignement uniquement.         */
/* ---------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-ui);
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  line-height: var(--caption-lh);
  padding: 4px 2px;
  color: var(--ink-on-dark);
  background: none;
  border: none;
  transition: opacity var(--micro-dur) var(--ease-out);
}

body.canvas-light .pill { color: var(--ink-on-light); }

/* Interactive text (ex-pill button) — états par opacité/underline */
.pill-btn { cursor: pointer; user-select: none; opacity: .55; }
.pill-btn.hovered { opacity: .8; }
.pill-btn.selected { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.pill.pill-label {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
}

/* Caption wrap conservé pour usages résiduels (aucune bulle) */
.caption-pill-wrap {
  position: sticky;
  bottom: 20px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  pointer-events: none;
  z-index: 2;
}
.caption-pill-wrap .pill {
  pointer-events: auto;
  max-width: min(max(60vw, 500px), 100%);
  text-align: center;
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

/* ---------------------------------------------------------------- */
/* Image apparition                                                 */
/* ---------------------------------------------------------------- */

.safe-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.safe-img {
  transition: opacity .6s ease-in-out;
  opacity: 1;
}
.safe-img.opacity-off { opacity: 0; }

/* ---------------------------------------------------------------- */
/* Block : fullscreen                                               */
/* ---------------------------------------------------------------- */

.block {
  position: relative;
  width: 100%;
  opacity: 1;
  transition: opacity .8s ease;
}
.block.block-hidden { opacity: 0; }

.block-fs {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Landscape → fill viewport height, cover */
.block-fs.is-landscape { height: 100vh; }
.block-fs.is-landscape .safe-img-wrap { flex: 1; }
.block-fs.is-landscape .safe-img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Portrait / square → contain, height driven by aspect */
.block-fs.is-portrait .safe-img {
  width: 100%; height: auto; object-fit: contain;
}

/* Label de série au survol (desktop / pointeur fin uniquement, 30/07) :
   texte nu en Bodoni, centré en bas du bloc, AUCUN fond. Invisible par
   défaut → aucun affichage au tactile. */
.block-fs .block-hover-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
/* Sticky : reste en bas de la zone visible du bloc (les blocs portrait font
   ~141vh — un label collé au bas du bloc serait invisible au survol), puis
   suit le bord bas du bloc quand celui-ci sort de l'écran. */
.block-fs .block-hover-label span {
  position: sticky;
  top: calc(100vh - 62px);
  display: block;
  text-align: center;
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
@media (min-width: 992px) {
  .block-fs .block-hover-label span { font-size: 17px; }
}
@media (hover: hover) {
  .block-fs:hover .block-hover-label { opacity: .9; }
}

/* Mode « framed » (image sur fond flou) retiré — décision 24/07. */

/* ---------------------------------------------------------------- */
/* Block : pair — deux visuels partagent l'écran, sans gouttière     */
/* (2 colonnes constantes à tous les breakpoints)                    */
/* ---------------------------------------------------------------- */

.block-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100vh;
  cursor: pointer;
}
.block-pair .safe-img-wrap {
  height: 100%;
  padding-bottom: 0 !important; /* cover : pas de placeholder ratio */
}

/* ---------------------------------------------------------------- */
/* Diptych (optional multi-column landscapes)                       */
/* ---------------------------------------------------------------- */

.diptych {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 0;
  width: 100%;
}

/* ---------------------------------------------------------------- */
/* Featured feed                                                    */
/* ---------------------------------------------------------------- */

/* Pas de bande sous le header : la première cover monte bord à bord,
   le wordmark flotte dessus (décision 30/07). */

/* ---------------------------------------------------------------- */
/* Series index view (typographic, dark)                            */
/* ---------------------------------------------------------------- */

.index-view {
  min-height: 100vh;
  padding: calc(var(--header-h) + 8vh) 20px 14vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6vh;
}
.index-cat-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.index-cat-pill { margin-bottom: 8px; }
.index-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.index-serie {
  /* Noms de séries en Bodoni (la police du wordmark), sans bulle */
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.7;
  padding: 2px 6px;
  background: transparent;
  opacity: .85;
  transition: opacity var(--micro-dur) var(--ease-out);
}
.index-serie.hovered { opacity: 1; font-style: italic; }

/* ---------------------------------------------------------------- */
/* Series view (light canvas)                                       */
/* ---------------------------------------------------------------- */

.serie-view { min-height: 100vh; padding-bottom: 12vh; }

.serie-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 5;
  /* Même effet caméléon que le header : lettres blanches en difference
     → noires sur canvas clair, inversées au-dessus des photos. */
  color: #fff;
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.serie-topbar > * { pointer-events: auto; }

/* Wordmark de la topbar série : même Bodoni que le header, sans bulle */
.serie-wordmark {
  font-family: var(--font-wordmark);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 21px;
  line-height: 1;
  transform: scale(0.667);
  transform-origin: center;
  white-space: nowrap;
  cursor: pointer;
  color: #fff; /* difference : rendu noir sur canvas clair, inversé sur photo */
}
@media (min-width: 992px) { .serie-wordmark { transform: scale(1); } }

.serie-close {
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.serie-close svg { width: 22px; height: 22px; }

/* Gallery mode : une photo par écran, contenue dans le viewport */
.serie-gallery { padding-top: var(--header-h); }
.serie-gallery .serie-photo {
  width: 100%;
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0 56px; /* marge basse pour les pilules fixes */
}
.serie-gallery .serie-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Index (contact sheet) mode */
.serie-contact {
  padding: calc(var(--header-h) + 24px) 4vw 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .serie-contact { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 992px) { .serie-contact { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.serie-thumb {
  aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.serie-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Fin de série → série suivante (30/07). Texte nu, aucune bulle. */
.serie-next {
  padding: 12vh 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.serie-next-label {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  opacity: .5;
}
.serie-next-link {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  opacity: .85;
  transition: opacity var(--micro-dur) var(--ease-out);
}
@media (hover: hover) {
  .serie-next-link:hover { opacity: 1; font-style: italic; }
}

/* Bottom-right mode toggle */
.serie-mode-toggle {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

/* Titre de série bas-centre : Bodoni discrète, sans bulle */
.serie-title-pill {
  position: fixed;
  left: 0; right: 0; bottom: 20px;
  z-index: 3;
  display: flex; justify-content: center;
  pointer-events: none;
}
.serie-title-pill .pill {
  pointer-events: auto;
  font-family: var(--font-wordmark);
  font-size: 15px;
  letter-spacing: 0.1em;
  opacity: .75;
}

/* ---------------------------------------------------------------- */
/* Menu overlay                                                     */
/* ---------------------------------------------------------------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 8;
  background: rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
  overflow: hidden;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }

.menu-ghost {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-wordmark);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(60px, 22vw, 340px);
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.5);
  opacity: .5;
  pointer-events: none;
  white-space: nowrap;
  text-align: center;
}

.menu-links {
  position: absolute;
  top: calc(var(--header-h) + 24px);
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-link {
  /* Liens du menu en Bodoni — cohérent avec le wordmark */
  font-family: var(--font-wordmark);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 34px;
  line-height: 1.35;
  text-align: left;
  color: #fff;
  transition: opacity var(--micro-dur) var(--ease-out);
}
.menu-link:hover { font-style: italic; }
.menu-link.active { opacity: .55; }
@media (min-width: 992px) {
  .menu-link { font-size: 44px; line-height: 1.2; }
}
.menu-lang {
  margin-top: 14px;
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: #fff;
}

.menu-foot {
  position: absolute;
  left: 20px; bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-foot a {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: #fff;
  transition: opacity var(--micro-dur) var(--ease-out);
}
.menu-foot a:hover { opacity: .55; }

/* ---------------------------------------------------------------- */
/* Splash                                                           */
/* ---------------------------------------------------------------- */

.sv-splash {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  opacity: 1;
  transition: opacity 800ms ease;
  cursor: pointer;
}
.sv-splash.leaving { opacity: 0; }
.sv-splash-word {
  font-family: var(--font-wordmark);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: clamp(30px, 8vw, 88px);
  text-align: center;
  line-height: 1.1;
  opacity: 0;
  animation: splashFade 1.2s ease forwards;
}
.sv-splash-sub {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  opacity: 0;
  animation: splashFade 1.2s ease .3s forwards;
}
@keyframes splashFade { to { opacity: 1; } }

/* ---------------------------------------------------------------- */
/* Blog — index (« Journal ») + article. Canvas sombre, texte nu.    */
/* ---------------------------------------------------------------- */

.blog-view {
  min-height: 100vh;
  padding: calc(var(--header-h) + 8vh) 20px 14vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8vh;
}
.blog-heading {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  opacity: .5;
}
.blog-empty {
  font-size: 15px;
  line-height: 1.7;
  opacity: .7;
  text-align: center;
}
.blog-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7vh;
}
.blog-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  cursor: pointer;
}
.blog-date,
.post-date {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  opacity: .5;
}
.blog-title {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 720px;
  opacity: .85;
  transition: opacity var(--micro-dur) var(--ease-out);
}
@media (hover: hover) {
  .blog-item:hover .blog-title { opacity: 1; font-style: italic; }
}
.blog-excerpt {
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  opacity: .7;
}

/* Article */
.post-view {
  min-height: 100vh;
  max-width: 640px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 8vh) 20px 14vh;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.post-back {
  align-self: flex-start;
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  opacity: .5;
  transition: opacity var(--micro-dur) var(--ease-out);
}
.post-back:hover { opacity: .85; }
.post-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post-title {
  font-family: var(--font-wordmark);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
}
.post-image { width: 100%; }
.post-body p {
  font-size: 16px;
  line-height: 1.7;
  opacity: .85;
}
.post-body p + p { margin-top: 1.2em; }

/* ---------------------------------------------------------------- */
/* Info view                                                        */
/* ---------------------------------------------------------------- */

.info-view {
  min-height: 100vh;
  padding: calc(var(--header-h) + 10vh) 20px 14vh;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.info-splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.info-name {
  font-family: var(--font-wordmark);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.05;
}
.info-role {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
/* Largeur de lecture bornée (640px, centrée) pour la bio. */
.info-bio {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}
.info-bio p {
  font-size: var(--caption-size);
  line-height: 1.7;
  margin-bottom: 1em;
  color: rgba(255,255,255,.85);
}
.info-bio p:last-child { margin-bottom: 0; }
.info-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.info-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------------------------------------------------------------- */
/* Contact form (dark canvas)                                       */
/* ---------------------------------------------------------------- */

.sv-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.sv-form-heading {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.sv-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .sv-form-row { grid-template-columns: 1fr 1fr; } }
.sv-field { display: flex; flex-direction: column; gap: 6px; }
.sv-field-label {
  font-size: var(--label-size);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.sv-field input,
.sv-field select,
.sv-field textarea {
  font-family: var(--font-ui);
  font-size: var(--meta-size);
  color: #fff;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding: 8px 0;
  transition: border-color var(--micro-dur) var(--ease-out);
}
.sv-field input:focus,
.sv-field select:focus,
.sv-field textarea:focus {
  outline: none;
  border-bottom-color: rgba(255,255,255,.7);
}
.sv-field select option { color: #000; }
.sv-field textarea { resize: vertical; }
.sv-field .has-error { border-bottom-color: #e0736b; }
.sv-error { font-size: 12px; color: #e0736b; }

.sv-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.sv-rgpd input { margin-top: 3px; accent-color: #fff; }
.sv-rgpd span {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.6);
}
.sv-form-submit { margin-top: 6px; }
.sv-sent {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.sv-sent-msg { font-size: var(--caption-size); line-height: 1.5; }

/* ---------------------------------------------------------------- */
/* Utilities                                                        */
/* ---------------------------------------------------------------- */
.centered { display: flex; justify-content: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
