/* ============================================================
   Kanani/Rezki Avocats — Genève
   Direction : style typographique suisse. Papier, encre, rouge
   sceau (#a80f0f, issu du logo), photographie N&B, signature « / ».
   ============================================================ */

:root {
  /* Thème sombre : --paper = fond, --ink = texte (rôles inversés du thème clair) */
  --paper: #131312;
  --white: #1c1c1a;
  --deep: #0b0b0a;
  --ink: #f1f0e8;
  --ink-2: #c7c6bd;
  --stone: #8f8e85;
  --line: #2d2d2a;
  --red: #b41414;
  --red-2: #d64545;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --header-h: 4.5rem;
}

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

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

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

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

::selection { background: var(--red); color: #fff; }

/* ---------- Utilitaires typographiques ---------- */

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-2);
}

.slash { color: var(--red-2); font-style: normal; }

.serif-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
  margin-right: auto;
}
.brand-script {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}
.brand-script .slash { margin: 0 0.06em; }
.brand-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--red-2); }
.site-nav a.nav-cta {
  color: var(--paper);
  background: var(--ink);
  padding: 0.55rem 1.1rem;
  transition: background 0.2s ease;
}
.site-nav a.nav-cta:hover { background: var(--red); color: #fff; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--stone);
}
.lang-switch button {
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 0;
  background: none;
  color: var(--stone);
  cursor: pointer;
  padding: 0.25rem 0.1rem;
}
.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--red-2);
}
.lang-switch button:hover { color: var(--red-2); }
.lang-switch .sep { color: var(--red-2); font-family: var(--serif); font-style: italic; }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  position: relative;
}
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle::before { top: calc(50% - 4px); }
.nav-toggle::after { top: calc(50% + 3px); }
.nav-toggle[aria-expanded="true"]::before { top: 50%; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { top: 50%; transform: rotate(-45deg); }

/* ---------- Héro ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: 100svh;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vh, 5rem) var(--gutter);
  position: relative;
}

.hero-title {
  font-size: clamp(3.2rem, 9.5vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-transform: uppercase;
  margin: 1.2rem 0 0;
}
.hero-title .slash {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9em;
}
.hero-title small {
  display: block;
  font-size: clamp(0.9rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.52em;
  margin-top: 1.4rem;
  color: var(--ink-2);
}

.hero-lede {
  max-width: 34rem;
  margin-top: 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.9rem;
  background: var(--red);
  color: #fff;
  transition: background 0.2s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.hero-tel {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-2);
}
.hero-tel:hover { color: var(--red-2); }

.hero-media {
  position: relative;
  min-height: 24rem;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.hero-facts li {
  padding: 1.1rem var(--gutter);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.hero-facts li + li { border-left: 1px solid var(--line); }
.hero-facts b { color: var(--ink); font-weight: 700; display: block; margin-bottom: 0.1rem; }

/* ---------- Sections communes ---------- */

.section {
  padding: clamp(4.5rem, 10vh, 8rem) var(--gutter);
}
.section.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.section-ink { background: var(--deep); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.sec-head .eyebrow { flex-shrink: 0; }
.sec-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-transform: uppercase;
}
.sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  align-self: center;
}
.section-ink .sec-head::after { background: #33332f; }

/* ---------- L'Étude ---------- */

.etude-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.etude-text p + p { margin-top: 1.35rem; }
.etude-text .lead {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.etude-pull {
  margin: 2.5rem 0 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--red-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  color: var(--ink-2);
}

.etude-figures { display: grid; gap: 1.25rem; }
.etude-figures figure { position: relative; }
.etude-figures img { width: 100%; filter: grayscale(1); }
.etude-figures figcaption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

/* ---------- Expertises ---------- */

.services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #33332f;
  border-left: 1px solid #33332f;
}
.services li {
  border-right: 1px solid #33332f;
  border-bottom: 1px solid #33332f;
  padding: 2rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.25s ease;
}
.services li:hover { background: #1d1d1b; }
.services .svc-slash {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--red-2);
}
.services h3 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.services p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #b9b8b0;
}

/* ---------- Équipe ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.member {
  text-decoration: none;
  display: block;
}
.member figure {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--line);
}
.member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
  transition: transform 0.5s ease;
}
.member:hover img,
.member:focus-visible img { transform: scale(1.035); }

.member .member-quote {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem 1.1rem;
  background: linear-gradient(to top, rgba(15, 15, 14, 0.85), transparent);
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.member:hover .member-quote,
.member:focus-visible .member-quote { opacity: 1; transform: none; }

.member-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 1rem;
  border-top: 2px solid var(--ink);
  padding-top: 0.8rem;
}
.member-meta .slash { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.member h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.member .member-role {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.2rem;
}
.member:hover h3 { color: var(--red-2); }

/* ---------- Actualités ---------- */

.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.6rem 0.25rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.news-list a:hover { background: var(--white); }
.news-list .news-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--red-2);
  flex-shrink: 0;
}
.news-list h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  flex: 1;
}
.news-list .news-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
.news-list a:hover .news-cta { color: var(--red-2); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.contact-block h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-2);
  margin-bottom: 0.7rem;
}
.contact-block + .contact-block { margin-top: 2.2rem; }
.contact-block address { font-style: normal; line-height: 1.7; }
.contact-block ul { list-style: none; line-height: 1.9; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { color: var(--red-2); text-decoration: underline; }

.contact-tel {
  display: inline-block;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin: 0.4rem 0 0;
}
.contact-tel:hover { color: var(--red-2); }

.contact-emails li { display: flex; flex-wrap: wrap; gap: 0.15rem 0.75rem; align-items: baseline; }
.contact-emails .who { color: var(--stone); font-size: 0.9rem; min-width: 9.5rem; }
.contact-emails a { overflow-wrap: anywhere; }

.contact-media { position: relative; min-height: 22rem; }
.contact-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.contact-media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--red);
  color: #fff;
  padding: 1rem 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-media figcaption a { color: #fff; text-decoration: none; }
.contact-media figcaption a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep);
  color: #b9b8b0;
  padding: 3.5rem var(--gutter) 2.5rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  align-items: flex-end;
}
.footer-brand .brand-script { font-size: 1.8rem; color: var(--ink); }
.footer-brand .brand-sub { color: #8a8983; }
.footer-info { font-size: 0.9rem; line-height: 1.8; }
.footer-info a { color: inherit; text-decoration: none; }
.footer-info a:hover { color: #fff; text-decoration: underline; }
.footer-legal {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #33332f;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #8a8983;
}
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: #fff; }

/* ---------- Pages profil ---------- */

.profile-main {
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) clamp(4rem, 9vh, 7rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--stone);
  margin-bottom: 2.5rem;
}
.back-link:hover { color: var(--red-2); }

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.profile-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.profile-side figure { position: relative; }
.profile-side img { width: 100%; filter: grayscale(1); }
.profile-side .side-slash {
  position: absolute;
  top: -1.6rem;
  right: -0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 5rem;
  line-height: 1;
  color: var(--red-2);
}
.profile-side h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  margin-top: 1.4rem;
}
.profile-side .role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-2);
  margin-top: 0.5rem;
}
.profile-side .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink-2);
  margin-top: 1.2rem;
}
.side-contact {
  list-style: none;
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  line-height: 2;
  font-size: 0.95rem;
}
.side-contact a { text-decoration: none; }
.side-contact a:hover { color: var(--red-2); text-decoration: underline; }
.side-contact .lbl {
  display: inline-block;
  min-width: 5.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.profile-body > p + p { margin-top: 1.3rem; }
.profile-body > p { max-width: 62ch; }
.profile-body .lead {
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
}

.profile-sec { margin-top: clamp(3rem, 6vh, 4.5rem); }
.profile-sec h2 {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 1.6rem;
}
.profile-sec h2 .slash { font-family: var(--serif); font-style: italic; font-weight: 400; }
.profile-sec > p + p, .profile-sec > ul + p, .profile-sec > p + ul { margin-top: 1.1rem; }
.profile-sec > p { max-width: 62ch; }

.timeline { list-style: none; }
.timeline li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline .when {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-2);
  padding-top: 0.15rem;
}
.timeline .what { line-height: 1.55; }
.timeline .what small { display: block; color: var(--stone); font-size: 0.9rem; }

.plain-list { list-style: none; }
.plain-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  max-width: 70ch;
}
.plain-list li::before {
  content: "/";
  position: absolute;
  left: 0.15rem;
  color: var(--red-2);
  font-family: var(--serif);
  font-style: italic;
}
.plain-list a { color: var(--ink-2); }
.plain-list a:hover { color: var(--red-2); }
.plain-list em { font-style: italic; }

.media-list { list-style: none; display: grid; gap: 1.4rem; }
.media-list li { border-left: 3px solid var(--red-2); padding-left: 1.2rem; max-width: 70ch; }
.media-list h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.media-list h3 a { text-decoration: none; }
.media-list h3 a:hover { color: var(--red-2); text-decoration: underline; }
.media-list .src {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.media-list p { font-size: 0.95rem; color: var(--ink-2); margin-top: 0.35rem; }

.profile-cta {
  margin-top: clamp(3rem, 6vh, 4.5rem);
  background: var(--deep);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 2.2rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.profile-cta p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
}

/* ---------- Pages article ---------- */

.article-main {
  padding: calc(var(--header-h) + 2.5rem) var(--gutter) clamp(4rem, 9vh, 7rem);
}
.article {
  max-width: 52rem;
  margin: 0 auto;
}
.article-head .eyebrow { display: flex; gap: 0.6rem; align-items: baseline; }
.article-head h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-transform: uppercase;
  margin-top: 1rem;
}
.article-media { margin: 2.2rem 0; }
.article-media img { width: 100%; filter: grayscale(1); }
.article-media figcaption {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.article-body { margin-top: 2rem; }
.article-body p + p { margin-top: 1.3rem; }
.article-body .lead {
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
}
.article-body .sign {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  margin-top: 1.6rem;
}
.article-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.news-list .news-txt { flex: 1; }
.news-list .news-date {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.25rem;
}

/* ---------- Apparitions au défilement ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .member img, .member .member-quote { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { min-height: 55vw; order: -1; margin-top: 0; }
  .hero-panel { padding-top: 2.5rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .etude-grid, .contact-grid { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; max-width: 26rem; }
}

@media (max-width: 700px) {
  .site-header { gap: 0.9rem; }
  .brand-script { font-size: 1.25rem; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.8rem 0; font-size: 1rem; width: 100%; }
  .site-nav a.nav-cta { padding: 0.8rem 1.1rem; width: auto; margin-top: 0.5rem; }
  .nav-toggle { display: block; }
  .services { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .news-list a { flex-wrap: wrap; gap: 0.6rem 1rem; }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
  .sec-head { flex-wrap: wrap; gap: 0.6rem 1.5rem; }
}
