/* =
   Korper Geist— Feuille de style
   Adaptée du kit de marque fourni : encre / papier / marron / violet.
   Typo : Fraunces (titres) / Work Sans (texte) / IBM Plex Mono (labels)
   = */

:root {
  --ink: #0A0A0A;
  --ink-soft: #63636B;
  --paper: #FFFDFB;
  --paper-alt: #f2f0eb;
  /* --paper-alt: #ffffff; */
  --line: #DEDEDA;
  --line-strong: #0A0A0A;
  --white: #FFFFFF;
  --action-primary: #6E4A2E;
  /* marron — action principale */
  --action-secondary: #6C4AA6;
  /* violet — action secondaire */
  --action-primary-text: #FFFFFF;
  --action-secondary-text: #FFFFFF;

  /* Palette système — réservée aux états fonctionnels, jamais décorative */
  --success: #3F6B4E;
  --success-soft: #EEF3EF;
  --error: #8C3A2E;
  --error-soft: #F7ECEA;
  --warning: #8A6A2E;
  --warning-soft: #F7F1E2;
  --info: #33506E;
  --info-soft: #EAEFF3;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;
  --max-width: 1120px;
  --motion: .18s ease;

  /* Espacements — grille de 4px */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;

  /* Rayon des angles — une seule valeur pilote, les autres en dérivent */
  --radius-base: 8px;
  --radius-none: 0px;
  --radius-sm: calc(var(--radius-base) * 0.5);
  --radius-md: var(--radius-base);
  --radius-lg: calc(var(--radius-base) * 1.75);
  --radius-full: 999px;

  /* Pied de page — toujours sombre, indépendant du thème */
  --footer-bg: #0A0A0A;
  --footer-ink: #F2F2F0;
  --footer-ink-soft: #A6A6AC;
  --space-section: clamp(3.5rem, 6vw, 6rem);
}

[data-theme="dark"] {
  --ink: #F2F2F0;
  --ink-soft: #A6A6AC;
  --paper: #0A0A0A;
  --paper-alt: #161616;
  --line: #2A2A2A;
  --line-strong: #F2F2F0;
  --white: #F2F2F0;
  --success-soft: #132019;
  --error-soft: #241713;
  --warning-soft: #241d10;
  --info-soft: #0f1a22;
}

body.high-contrast {
  --ink-soft: var(--ink);
  --line: var(--line-strong);
}

* {
  box-sizing: border-box;
}

svg {
  width: 100%;
  max-width: 680px;
  height: auto;
}

/* Le trait est "caché" au départ grâce à stroke-dasharray/dashoffset */
#fauteuil {
  stroke-dasharray: var(--length);
  stroke-dashoffset: var(--length);
  animation: dessiner 5s ease-in-out forwards;
}

@keyframes dessiner {
  to {
    stroke-dashoffset: 0;
  }
}

.dessin-box {
  display: grid;
  align-items: center;
  /* margin-top: 2rem; */
  padding-top: 0;
  box-sizing: content-box;
  text-align: center;
  overflow: hidden;
  justify-content: center;
  justify-items: center;
}
.dessin-box svg {
    min-width: 100vw;
    min-height: 110px;
    width: auto;
    max-width: none;
}
 .dessin-box svg path {
         stroke: var(--action-primary);
         stroke-width: 1px;
         stroke-dasharray: var(--length);
         stroke-dashoffset: var(--length);
         animation: dessiner var(--duree, 60s) ease-in-out forwards;
         min-width: 100vw;
         min-height: 110px;
}

@keyframes dessiner {
  to {
    stroke-dashoffset: 0;
  }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  #dessin {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: none;
  }
}

/* 
   TABLEAUX
    */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--sp-6) 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* En-tête */

thead {
  background: var(--paper-alt);
}

th {
  padding: var(--sp-3) var(--sp-4);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--line-strong);
}

/* Cellules */

td {
  padding: var(--sp-3) var(--sp-4);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

/* Dernière ligne */

tbody tr:last-child td {
  border-bottom: none;
}

/* Lignes alternées */

tbody tr:nth-child(even) {
  background: var(--paper-alt);
}

/* Interaction */

tbody tr {
  transition: background-color var(--motion);
}

tbody tr:hover {
  background: var(--info-soft);
}

/* Alignements */

th:first-child,
td:first-child {
  padding-left: var(--sp-5);
}

th:last-child,
td:last-child {
  padding-right: var(--sp-5);
}

/* Éléments secondaires dans les tableaux */

table small {
  color: var(--ink-soft);
  font-size: 0.875em;
}

/* Code / valeurs techniques */

table code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--ink);
}

/* 
   TABLEAU RESPONSIVE
    */

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: var(--sp-6) 0;
  border-radius: var(--radius-md);
}

.table-wrapper table {
  margin: 0;
  min-width: 600px;
}

.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;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--motion), color var(--motion);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
  /* max-width: 848px; */
  color: var(--ink-soft);
}

a {
  color: var(--action-secondary);
  text-decoration-color: var(--action-secondary);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  /* color: var(--action-primary); */
  text-decoration-color: var(--action-primary);
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/*  Boutons  */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: opacity var(--motion), background-color var(--motion), color var(--motion), border-color var(--motion);
}
button svg{
  height:20px;
  width:20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: opacity var(--motion), background-color var(--motion), color var(--motion), border-color var(--motion);
  min-width: max-content;
}

.btn:hover {
  opacity: 0.72;
  /* background: var(--paper-alt); */
  border-color: var(--paper-alt);
}

.btn:active {
  opacity: 0.55;
}

.btn-primary {
  background: var(--action-primary);
  border-color: var(--action-primary);
  color: var(--action-primary-text);
}

.btn-secondary {
  background: var(--action-secondary);
  border-color: var(--action-secondary);
  color: var(--action-secondary-text);
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--paper-alt);
  opacity: 1;
}

/*  En-tête  */
.site-header {
  position: sticky;
  top: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
}

.logo {
  text-decoration: none;
  margin-right: auto;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.logo svg {
  height: 40px;
}

.logo--light {
  color: var(--footer-ink);
}

.logo-first {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

.logo-second {
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: var(--ink);
}


.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/*  Hero  */
.hero {
  background: var(--paper);
  /* border-bottom: 1px solid var(--line); */
  padding: var(--space-section) 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 0.9rem;
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-svg {
  width: 100%;
  height: auto;
}

.hero-text {
  animation: hero-rise 0.7s ease both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*  Sections génériques  */
section {
  padding: var(--space-section) 0;
  /* border-bottom: 1px solid var(--line); */
}

.site-footer {
  border-bottom: none;
}

.section-lead {
  max-width: 56ch;
  color: var(--ink-soft);
}

.values {
  /* background: var(--paper); */
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

/* .value h3 {
  border-bottom: 3px solid var(--action-primary);
  padding-bottom: .4rem;
  margin-bottom: 1rem; */
/* } */

.value h3 {
  border-bottom: 3px solid var(--action-primary);
  padding-bottom: .4rem;
  margin-bottom: 1rem;
  width: fit-content;
}

/* .value  {border-top: 3px solid var(--action-primary);padding-top: .4rem;margin-bottom: 1rem;} */

/*  Services  */
.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 3.5rem;
}

.service-card {
  background: var(--paper);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.service-card--accent {
  background: var(--action-secondary);
  color: var(--action-secondary-text);
  border-color: var(--action-secondary);
}

.service-card--accent h3 {
  color: var(--white);
}

.service-card--accent p {
  color: rgba(255, 255, 255, 0.85);
}

.service-card--accent a {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.service-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: inherit;
  opacity: 0.85;
  margin: 0;
}

.process {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.process li {
  counter-increment: step;
  padding-left: 2.75rem;
  position: relative;
}

.process li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  color: var(--action-primary);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sp-8);
}

/*  Réservation en ligne (créneaux Google Agenda)  */
.booking {
  background: var(--paper);
}

.slots-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
}

.slot-btn {
  font: inherit;
  font-weight: 600;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  font-size: 13px;
}

.slot-btn:hover {
  border-color: var(--action-primary);
}

.slot-btn.is-selected {
  background: var(--action-primary);
  border-color: var(--action-primary);
  color: var(--action-primary-text);
}

.booking-form {
  margin-top: 1.75rem;
  padding: 1.75rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  max-width: 640px;
  margin: 1.75rem auto;
}

.booking-selected {
  margin-bottom: 1.25rem;
}

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--action-primary);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.booking-fallback {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  background: var(--warning-soft);
  border: 1px solid var(--warning);
  border-radius: var(--radius-md);
  color: var(--warning);
}

/*  Sessions de groupe  */
.groups {
  background: var(--paper);
}

.group-list {
  list-style: none;
  margin: 2.5rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0;
  /* border-top: 1px solid var(--line); */
}

.group-item {
  padding: 0.8rem 1.25rem;
  background: var(--paper);
  border: 1px solid transparent;
  border-bottom: 1px solid var(--line);
  /* border-left: 4px solid var(--accent, var(--action-primary)); */
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 4px 0;
  transition: 0.4s;
  border-radius: var(--radius-none);
}

.group-item:hover {
  /* background: var(--paper-alt); */
  border-radius: var(--radius-base);
  border-color: transparent;
  border: 1px solid var(--line);
}

.group-item-text p {
  margin-bottom: 0;
}

.group-item-text h3 {
  margin-bottom: 0.3em;
}

.group-meta {
  font-family: var(--font-mono);
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin: 0;
}

.groups-note {
  margin-top: 1rem;
  color: var(--ink-soft);
  padding: 0.8rem 1.25rem;
}

.group-cta {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--action-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.group-cta:hover {
  color: var(--action-primary);
  text-decoration-color: var(--action-primary);
}

/*  Newsletter groupes  */
.newsletter-form {
  margin-top: 2.5rem;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1rem;
}

.newsletter-text h3 {
  margin-bottom: 0.3em;
}

.newsletter-text p {
  margin: 0;
}

.newsletter-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-row input {
  flex: 1 1 220px;
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
}

.newsletter-row input:focus {
  border-color: var(--ink);
  outline: none;
}

/*  FAQ : recherche  */
.faq-search {
  margin-top: 2rem;
  max-width: 420px;
}

.faq-search input {
  width: 100%;
  font: inherit;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--paper);
  color: var(--ink);
}

.faq-search input:focus {
  border-color: var(--ink);
  outline: none;
}

.faq-no-results {
  margin-top: 1.5rem;
  color: var(--ink-soft);
}

/*  Carte  */
.map-embed {
  margin-top: 1.5rem;
  position: relative;
  padding-top: 56%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  /* max-width: 80vw; */
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*  À propos  */
.about {
  background: var(--paper);
}

.about-inner {
  display: flex;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}
.about-inner b{
  font-family: var(--font-body);
  color: var(--action-primary);
  font-weight: 600;
} 
.about-inner p{
    font-family: var(--font-display);
}

.about-portrait svg {
  width: 100%;
  max-width: 220px;
  position: absolute;
  z-index: 0;
}

.about-portrait img {
  max-width: 220px;
  position: relative;
  border-radius: 110px;
}

.about-cred {
  /* font-family: var(--font-mono); */
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/*  FAQ  */
.faq {
  background: var(--paper);
}

.accordion {
  max-width: 760px;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.accordion-item h3 {
  margin: 0;
  font-size: 1rem;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.1rem 2rem 1.1rem 1rem;
  font: inherit;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: color var(--motion);
  justify-content: flex-start;
}

.accordion-trigger[aria-expanded="true"] {
  color: var(--action-primary);
}

.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--action-primary);
}

.accordion-trigger[aria-expanded="true"]::after {
  content: "–";
}

.accordion-panel {
  padding: 0 1rem 1.25rem;
}

.accordion-panel p {
  max-width: 65ch;
}

/*  Contact  */
.contact {
  background: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

address {
  font-style: normal;
  margin: 1.5rem 0;
}

address p {
  margin-bottom: 1rem;
}

.social-links a {
  margin-right: 1.25rem;
}

.contact-form {
  background: var(--paper);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  max-width: calc(100vw - 3rem);
}

.form-row {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-row input,
.form-row select,
.form-row textarea {
  font: inherit;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-alt);
  color: var(--ink);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--ink-soft);
  outline: none;
}

.form-row--hidden {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
  min-height: 1.2em;
}

.form-status.success {
  color: var(--success);
}

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

/*  Pied de page  */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  padding: 4.5rem 1.5rem 3.5rem;
  border-bottom: 1px solid rgba(242, 242, 240, 0.14);
}

.footer-col p {
  color: var(--footer-ink-soft);
  max-width: 32ch;
}

.footer-brand p {
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--footer-ink) !important;
  max-width: none !important;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--footer-ink);
  margin-bottom: 1.25rem;
}

.site-footer nav ul,
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.site-footer a {
  color: var(--footer-ink-soft);
  text-decoration-color: var(--action-primary);
}

.site-footer a:hover {
  color: var(--action-primary);
  text-decoration-color: var(--action-primary);
}

.social-links--footer {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-address p {
  margin-bottom: 0.7rem;
  color: var(--footer-ink-soft);
}

.footer-cta {
  margin-top: 1.5rem;
}

/* Bouton clair sur fond sombre, pour conserver le contraste */
.footer-cta.btn-primary {
  background: var(--footer-ink);
  color: #0A0A0A;
  border-color: var(--footer-ink);
  width: max-content;
}

.footer-cta.btn-primary:hover {
  opacity: 0.85;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.75rem 1.5rem 2.25rem;
  font-size: 0.85rem;
  color: var(--footer-ink-soft);
}

.footer-bottom p {
  margin: 0;
}

.footer-cred {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--footer-ink-soft);
}

.footer-bottom-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0;
  padding: 0;
}

.footer-bottom-links a {
  color: var(--footer-ink-soft);
}

.footer-bottom-links a:hover {
  color: var(--footer-ink);
}

/* =
   RESPONSIVE
   = */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
    display: none;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
    flex-direction: column;
  }

  .about-portrait {
    justify-self: center;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .group-item {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .group-cta {
    padding-left: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--paper);
    padding: 2rem 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.25rem;
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media print {

  .nav-toggle,
  .toolbar {
    display: none;
  }

  section {
    break-inside: avoid;
  }

  body {
    background: white;
    color: #0A0A0A;
  }
}