/* ==========================================================================
   AMANA MICROFINANCE — design tokens
   ========================================================================== */
:root {
  --ink: #231f20;
  --ink-soft: #5b5557;
  --paper: #fffcf8;
  --sand: #fcefdb;
  --sand-deep: #f7ddab;
  --forest: #231f20;
  --forest-dark: #171415;
  --ochre: #fbb03f;
  --ochre-dark: #e0921f;
  --ochre-light: #fdd190;
  --line: rgba(35, 31, 32, 0.14);

  --font-display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;

  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 0.9vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.8vw, 3.2rem);
  --step-4: clamp(2.7rem, 2.1rem + 2.8vw, 4.4rem);

  --maxw: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

/* ==========================================================================
   Animation: hero entrance (staggered, one orchestrated moment on load)
   ========================================================================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-anim--1 { animation-delay: 0.05s; }
.hero-anim--2 { animation-delay: 0.18s; }
.hero-anim--3 { animation-delay: 0.30s; }
.hero-anim--4 { animation-delay: 0.42s; }

/* Note: an earlier scroll-triggered reveal animation was removed here —
   it depended on IntersectionObserver firing, which proved unreliable
   across rendering contexts. Content now simply displays immediately;
   only the hero entrance (pure CSS, no JS dependency) animates. */

/* Subtle idle motion on the hero mark, drawing the eye without distracting */
@keyframes slowDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__figure svg, .hero__figure img { animation: slowDrift 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero__figure svg, .hero__figure img { animation: none; }
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; max-width: 62ch; }
button { font-family: inherit; }

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

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: #f4f1e6; }
.section--forest p { color: #cfe0d7; }

.eyebrow {
  font-size: var(--step--1);
  color: var(--ochre-dark);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 2px;
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-dark { background: var(--ochre); color: var(--forest-dark); }
.btn--on-dark:hover { background: #d99a52; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.1rem;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest-dark);
}
.site-logo img { height: 42px; width: auto; display: block; }

.primary-nav ul {
  display: flex;
  list-style: none;
  gap: clamp(1.2rem, 2vw, 2.2rem);
}
.primary-nav a {
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.primary-nav a:hover,
.primary-nav a.current-menu-item-link { color: var(--ink); border-color: var(--ochre); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .primary-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gutter) 1.2rem; }
  .primary-nav a { display: block; padding: 0.7rem 0; }
  .nav-toggle { display: block; }
  .header-actions .btn--primary { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-block: clamp(3rem, 9vw, 6rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: var(--step-4);
  letter-spacing: -0.01em;
  color: var(--forest-dark);
}
.hero h1 em {
  font-style: italic;
  color: var(--ochre-dark);
}
.hero__lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 46ch;
  margin-top: 1.3rem;
}
.hero__ctas { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }

.hero__figure {
  aspect-ratio: 4 / 5;
  background: var(--forest);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero__figure svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.92;
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(251,176,63,0.5) 0%, rgba(251,176,63,0.12) 45%, rgba(35,31,32,0.6) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; aspect-ratio: 16 / 9; }
}

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stat-strip {
  position: relative;
  background-color: var(--forest-dark);
  overflow: hidden;
}
.stat-strip__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}
.stat-strip .container { position: relative; z-index: 1; }
.stat-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 2vw, 1.75rem);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  cursor: default;
  transition: background-color 0.35s ease;
}
.stat:first-child { border-left: none; }
.stat:hover {
  background-color: rgba(251, 176, 63, 0.14);
}
.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: #fff;
  display: block;
  transition: color 0.35s ease;
}
.stat:hover .stat__value {
  color: var(--ochre);
}
.stat__label {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.3rem;
  transition: color 0.35s ease;
}
.stat:hover .stat__label {
  color: rgba(255, 255, 255, 0.92);
}
@media (max-width: 700px) {
  .stat-strip__row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, 0.18); }
}

/* ==========================================================================
   Services (editorial rows, not cards)
   ========================================================================== */
.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 { font-size: var(--step-3); color: var(--forest-dark); }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }

.service-row {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 2rem;
  padding-block: 1.8rem;
  border-top: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row__num {
  font-family: var(--font-display);
  color: var(--ochre-dark);
  font-size: var(--step-1);
}
.service-row h3 { font-size: var(--step-1); color: var(--forest-dark); margin-bottom: 0.5rem; }
.service-row p { color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) { .service-row { grid-template-columns: 1fr; gap: 0.6rem; } }

/* ==========================================================================
   Impact / pull quote
   ========================================================================== */
.impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.impact blockquote {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  margin: 0 0 1.2rem;
  color: #f4f1e6;
}
.impact cite {
  font-style: normal;
  font-size: var(--step--1);
  color: var(--ochre);
  display: block;
}
@media (max-width: 800px) { .impact { grid-template-columns: 1fr; } }

/* ==========================================================================
   Partners strip
   ========================================================================== */
.partners__label { font-size: var(--step--1); color: var(--ink-soft); margin-bottom: 1.5rem; }
.partners__row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.partners__row span {
  font-family: var(--font-display);
  font-size: var(--step-1);
  color: var(--ink-soft);
  opacity: 0.7;
}

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: var(--step-2); max-width: 20ch; color: var(--forest-dark); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest-dark);
  color: #cfe0d7;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 2.5rem;
}
.footer__logo { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 0.8rem; }
.site-footer h4 { color: #fff; font-size: var(--step--1); font-family: var(--font-body); font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { text-decoration: none; color: #cfe0d7; }
.site-footer a:hover { color: var(--ochre); }
.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: var(--step--1);
  color: #9fb3aa;
}
.footer__form { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.footer__form input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.7em 1em;
  border-radius: 2px;
  font-family: inherit;
  flex: 1;
  min-width: 0;
}
.footer__form input::placeholder { color: #9fb3aa; }

@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Photo cards — duotone treatment (marque : charbon + orange)
   ========================================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.photo-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--ochre) 0%, var(--ochre) 45%, var(--forest) 45%, var(--forest) 100%);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.9;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(251,176,63,0.55) 0%, rgba(251,176,63,0.15) 45%, rgba(35,31,32,0.55) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.1rem;
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
.photo-card--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-card--placeholder svg { width: 34%; height: 34%; opacity: 0.9; }

@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid .photo-card:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
}

/* ==========================================================================
   Simulateur de crédit
   ========================================================================== */
.simulator {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
@media (max-width: 860px) {
  .simulator { grid-template-columns: 1fr; }
}

.simulator__field { margin-bottom: 1.6rem; }
.simulator__field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.simulator__field select {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  font-family: inherit;
  font-size: var(--step--1);
  color: var(--ink);
}
.simulator__field-value {
  color: var(--ochre-dark);
  font-weight: 700;
}
.simulator__field input[type="range"] {
  width: 100%;
  accent-color: var(--ochre);
  margin-top: 0.6rem;
  cursor: pointer;
}
.simulator__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
}

.simulator__disclaimer {
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--sand);
  border-left: 3px solid var(--ochre);
  padding: 0.75em 1em;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.simulator__results {
  background: var(--forest-dark);
  border-radius: 2px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  color: #fff;
}
.simulator__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}
@media (max-width: 560px) {
  .simulator__stats { grid-template-columns: 1fr; }
}
.simulator__stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: #fff;
}
.simulator__stat-value--accent { color: var(--ochre); }
.simulator__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.2rem;
}
.simulator__chart-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.simulator__legend { display: flex; gap: 1rem; }
.simulator__legend span { display: inline-flex; align-items: center; gap: 0.35em; }
.simulator__legend i { width: 9px; height: 9px; border-radius: 1px; display: inline-block; }
.simulator__chart { width: 100%; height: auto; display: block; }

/* ==========================================================================
   Page "Devenir client" — mise en page à deux colonnes
   ========================================================================== */
.client-page {
  padding-block: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 420px);
}
.client-page__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .client-page__grid { grid-template-columns: 1fr; }
}

.client-page__intro {
  position: sticky;
  top: calc(70px + 2rem);
}
@media (max-width: 900px) { .client-page__intro { position: static; } }

.client-page__portrait {
  width: min(280px, 70%);
  margin-bottom: 1.75rem;
}
.client-page__portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.client-page__intro h1 {
  font-size: var(--step-3);
  color: var(--forest-dark);
  margin-top: 0.4rem;
}
.client-page__lede {
  font-size: var(--step-0);
  color: var(--ink-soft);
  max-width: 42ch;
  margin-top: 1rem;
}

.client-page__trust {
  list-style: none;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.client-page__trust li {
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-size: var(--step--1);
  color: var(--ink);
}
.client-page__trust svg { flex-shrink: 0; width: 20px; height: 20px; }

.client-page__quote {
  margin: 0;
  padding: 1.25rem 1.4rem;
  background: var(--paper);
  border-left: 3px solid var(--ochre);
  font-family: var(--font-display);
  font-size: var(--step-0);
  color: var(--ink);
  line-height: 1.5;
}
.client-page__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}

/* ==========================================================================
   Formulaire "Devenir client"
   ========================================================================== */
.client-form { margin-top: 0; }

.client-form__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 2px rgba(35,31,32,0.04);
}

.client-form__card-head {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.client-form__card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-1);
  color: var(--ochre);
}
.client-form__card-head h2 {
  font-size: var(--step-0);
  color: var(--forest-dark);
  margin: 0;
}

.client-form__section-title {
  font-size: var(--step-0);
  color: var(--forest-dark);
  margin: 2rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.client-form__section-title:first-child { margin-top: 0; padding-top: 0; border-top: none; }

.client-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .client-form__row { grid-template-columns: 1fr; }
}

.client-form__field { margin-bottom: 1.1rem; }
.client-form__field label {
  display: block;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.client-form__field input[type="text"],
.client-form__field input[type="tel"],
.client-form__field input[type="email"],
.client-form__field input[type="date"],
.client-form__field select,
.client-form__field textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  font-family: inherit;
  font-size: var(--step--1);
  color: var(--ink);
}
.client-form__field input:focus,
.client-form__field select:focus,
.client-form__field textarea:focus {
  outline: 2px solid var(--ochre);
  outline-offset: 1px;
}
.client-form__field textarea { resize: vertical; }

.client-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.client-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.client-form__checkbox input { margin-top: 0.3rem; accent-color: var(--ochre); }
.client-form__checkbox label { font-size: var(--step--1); color: var(--ink-soft); }

.client-form__submit { width: 100%; justify-content: center; }

.client-form__privacy {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 1rem;
  text-align: center;
}

.client-form__notice {
  padding: 1.25rem 1.5rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.client-form__notice--success {
  background: #eef6f0;
  border-left: 3px solid #2f7a4a;
  color: #1f4d2f;
}
.client-form__notice--error {
  background: #fdeeec;
  border-left: 3px solid #c0392b;
  color: #7a2015;
}
.client-form__notice ul { margin: 0.5rem 0 0 1.1rem; }

/* ==========================================================================
   Équipe de direction
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 860px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(35,31,32,0.08);
}
.team-card__avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  overflow: hidden;
}
.team-card__avatar svg { width: 100%; height: 100%; display: block; }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h3 {
  font-size: var(--step--1);
  color: var(--forest-dark);
  margin-bottom: 0.3rem;
}
.team-card__role {
  font-size: 0.78rem;
  color: var(--ochre-dark);
  font-weight: 600;
  margin: 0;
}

/* ==========================================================================
   Generic page template (page.php)
   ========================================================================== */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--step-3); color: var(--forest-dark); }
.page-content { padding-block: clamp(2.5rem, 6vw, 4rem); max-width: 72ch; }
.page-content h2 { font-size: var(--step-2); color: var(--forest-dark); margin: 1.5em 0 0.6em; }
.page-content p { color: var(--ink-soft); }
