/* Quadrifoglio Lab — visual system v2 (editorial contemporary, soft azure pass) */
@import url("https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600&family=Figtree:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  --bg: #f4f2ed;
  --bg-2: #ebe7df;
  --paper: #faf9f6;
  --ink: #141618;
  --ink-2: #3c4148;
  --ink-3: #6a7078;
  --line: rgba(20, 22, 24, 0.12);
  --line-strong: rgba(20, 22, 24, 0.28);
  --brand: #4f9bb3;
  --brand-deep: #2d6d82;
  --brand-soft: rgba(79, 155, 179, 0.12);
  --brand-mist: #e7f1f4;
  --white: #fff;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 2px;
}

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

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 11vw, 128px);
}

.section--tight {
  padding-block: clamp(52px, 8vw, 88px);
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}

.section--paper {
  background: var(--paper);
}

.section--tint {
  background: var(--bg-2);
}

/* Soft brand-azure bands — controlled, not spa-pastel spam */
.section--azure {
  background:
    linear-gradient(
      180deg,
      rgba(79, 155, 179, 0.1) 0%,
      rgba(79, 155, 179, 0.045) 48%,
      rgba(244, 242, 237, 0.65) 100%
    ),
    var(--brand-mist);
}

.label {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.section--dark .label {
  color: var(--brand);
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.08;
  margin: 0 0 0.45em;
}

h1,
.h1 {
  font-size: clamp(2.15rem, 4.8vw, 3.5rem);
}

h2,
.h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.85rem);
}

h3,
.h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 38rem;
  margin: 0;
}

.section--dark .lead {
  color: rgba(250, 249, 246, 0.78);
}

.prose p {
  margin: 0 0 1em;
  color: var(--ink-2);
  max-width: 65ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.link-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  min-height: 44px;
}

.link-line::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.link-line:hover::after {
  transform: translateX(4px);
}

/* ——— Header ———
   backdrop-filter must NOT live on .site-header itself: it creates a
   containing block for position:fixed descendants, trapping the mobile
   drawer inside the 76px bar so the menu never appears full-screen. */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  overflow: visible;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(244, 242, 237, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  pointer-events: none;
}

.site-header.is-scrolled::before {
  background: rgba(244, 242, 237, 0.94);
  border-color: var(--line);
}

.site-header.is-over-dark {
  color: var(--paper);
}

.site-header.is-over-dark::before {
  background: rgba(20, 22, 24, 0.35);
}

.site-header.is-over-dark.is-scrolled::before {
  background: rgba(20, 22, 24, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.site-header.is-over-dark .site-logo img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav > ul,
.site-nav__panel > ul {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 2px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
}

.site-header.is-over-dark .site-nav a[aria-current="page"] {
  color: var(--brand);
}

.mega-trigger svg {
  width: 10px;
  height: 10px;
}

.nav-item--mega {
  position: relative;
}

.nav-item--mega:hover::after,
.nav-item--mega.is-open::after,
.nav-item--mega:focus-within::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 20px;
  z-index: 19;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(720px, 80vw);
  padding: 22px;
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  z-index: 20;
}

.nav-item--mega.is-open .mega-panel,
.nav-item--mega:hover .mega-panel,
.nav-item--mega:focus-within .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-panel__title {
  margin: 0 0 14px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.mega-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-panel a {
  display: block;
  padding: 10px 8px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mega-panel a small {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-3);
}

.mega-panel a:hover {
  color: var(--brand-deep);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  margin: 7px 0;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 120;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .site-header__inner {
    z-index: 120;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
    background: var(--bg);
    color: var(--ink);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s var(--ease), visibility 0.35s;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav > ul,
  .site-nav__panel > ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a,
  .mega-trigger {
    width: 100%;
    justify-content: space-between;
    font-size: 1.1rem;
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
  }

  .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    border: 0;
    padding: 0 0 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    background: transparent;
  }

  .nav-item--mega.is-open .mega-panel {
    max-height: min(70vh, 720px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mega-panel__grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  transition-delay: 0.1s;
}
.reveal--delay-2 {
  transition-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ——— Home hero ——— */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
}

.hero-v2__media {
  position: absolute;
  inset: 0;
}

.hero-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 38%;
  transform: scale(1.04);
  filter: saturate(0.88) contrast(1.04) brightness(0.96);
}

.hero-v2__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(20, 22, 24, 0.9) 0%, rgba(20, 22, 24, 0.58) 38%, rgba(20, 22, 24, 0.28) 68%, rgba(20, 22, 24, 0.42) 100%),
    linear-gradient(180deg, rgba(20, 22, 24, 0.22) 0%, rgba(20, 22, 24, 0.12) 35%, rgba(20, 22, 24, 0.82) 100%);
}

.hero-v2__content {
  position: relative;
  z-index: 2;
  padding-block: calc(var(--header-h) + 56px) clamp(72px, 10vw, 96px);
  max-width: 860px;
}

.hero-v2__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.7);
}

.hero-v2__kicker span {
  width: 36px;
  height: 1px;
  background: rgba(250, 249, 246, 0.42);
}

.hero-v2__title {
  max-width: 12ch;
  margin: 0 0 18px;
  font-size: clamp(2.75rem, 7.5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.038em;
  font-weight: 500;
}

.hero-v2__title em {
  font-style: normal;
  color: var(--brand);
  display: inline-block;
}

.hero-v2__tag {
  margin: 0 0 16px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 500;
  color: rgba(250, 249, 246, 0.88);
  letter-spacing: -0.01em;
  max-width: 28rem;
}

.hero-v2__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: rgba(250, 249, 246, 0.82);
}

.hero-v2__meta li:not(:last-child)::after {
  content: "·";
  margin-left: 18px;
  opacity: 0.5;
}

.hero-v2__people {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-v2__faces {
  display: flex;
}

.hero-v2__faces img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(250, 249, 246, 0.9);
  margin-left: -10px;
  filter: grayscale(0.12) contrast(1.05) saturate(0.9);
}

.hero-v2__faces img:first-child {
  margin-left: 0;
}

.hero-v2__people p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(250, 249, 246, 0.75);
  max-width: 16rem;
}

/* ——— Manifesto ——— */
.manifesto-v2 {
  position: relative;
  padding-block: clamp(88px, 12vw, 148px);
  overflow: hidden;
}

.manifesto-v2__line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  height: 1px;
  background: var(--line-strong);
}

.manifesto-v2__grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
}

.manifesto-v2__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 14ch;
  font-weight: 500;
}

.manifesto-v2__quote span {
  color: var(--brand-deep);
}

.manifesto-v2__body {
  max-width: 36rem;
}

@media (min-width: 900px) {
  .manifesto-v2__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
  }
}

/* ——— Team rail ——— */
.team-rail {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.team-rail__head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.team-rail__head h2 {
  max-width: 14ch;
}

.team-rail__head p {
  margin: 0;
  color: var(--ink-2);
  max-width: 36rem;
}

.team-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 240px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.team-rail__track::-webkit-scrollbar {
  height: 4px;
}

.team-rail__track::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}

.team-rail__card {
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}

.team-rail__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #cfd5d8;
  margin-bottom: 12px;
}

.team-rail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.18) contrast(1.06) saturate(0.88) brightness(1.02);
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.team-rail__card:hover .team-rail__media img {
  transform: scale(1.04);
  filter: grayscale(0.05) contrast(1.05) saturate(0.95);
}

.team-rail__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.team-rail__role {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.35;
}

@media (min-width: 900px) {
  .team-rail__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

/* ——— Services bento (logo/icon thumbs) ——— */
.services-bento {
  padding-block: clamp(72px, 11vw, 128px);
}

.services-bento__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.services-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-bento__grid > li {
  background: var(--bg);
  min-width: 0;
}

.svc {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  height: 100%;
  transition: background 0.35s var(--ease);
}

.svc:hover {
  background: var(--paper);
}

[data-stagger] .svc:not(.is-in):not(.reveal),
[data-stagger] .team-rail__card:not(.is-in) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

[data-stagger] .svc.is-in,
[data-stagger] .team-rail__card.is-in {
  opacity: 1;
  transform: none;
}

.svc__top {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: start;
}

.svc__index {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--brand-deep);
  letter-spacing: 0.1em;
}

.svc__thumb {
  width: 52px;
  height: 52px;
  overflow: hidden;
  background: #d7dce0;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.svc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.svc__thumb--mark {
  background: #fff;
}

.svc__thumb--mark img {
  object-fit: contain;
  object-position: center;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: normal;
  opacity: 1;
  padding: 5px;
  box-sizing: border-box;
}

.svc__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  letter-spacing: -0.022em;
  line-height: 1.15;
  transition: transform 0.35s var(--ease);
}

.svc:hover .svc__title {
  transform: translateX(4px);
}

.svc__text {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.55;
}

.svc__scope {
  margin: 10px 0 0;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.svc__go {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-deep);
}

@media (min-width: 900px) {
  .services-bento__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .svc--s2 {
    grid-column: span 2;
  }

  .svc--s3 {
    grid-column: span 3;
  }

  .svc--s3 .svc,
  .svc--s2 .svc {
    min-height: 280px;
  }
}

/* Mobile compact services */
@media (max-width: 767px) {
  .services-bento {
    padding-block: 48px;
  }

  .services-bento__grid {
    gap: 0;
    border: 0;
    background: transparent;
    border-top: 1px solid var(--line);
  }

  .services-bento__grid > li {
    background: transparent;
    border-bottom: 1px solid var(--line);
  }

  .svc {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "idx title go"
      ". text text"
      ". scope scope";
    gap: 4px 14px;
    padding: 16px 0;
    min-height: 0;
    align-items: center;
  }

  .svc__top {
    grid-area: idx;
    display: contents;
  }

  .svc__index {
    display: none;
  }

  .svc__thumb {
    display: block;
    grid-area: idx;
    width: 40px;
    height: 40px;
  }

  .svc__body {
    display: contents;
  }

  .svc__title {
    grid-area: title;
    margin: 0;
    font-size: 1.12rem;
  }

  .svc__text {
    grid-area: text;
    display: none;
    font-size: 0.9rem;
    padding-top: 6px;
  }

  .svc__scope {
    grid-area: scope;
    margin: 0;
    font-size: 0.72rem;
  }

  .svc__go {
    grid-area: go;
    padding: 0;
    margin: 0;
    font-size: 0;
  }

  .svc__go::after {
    content: "→";
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--brand-deep);
  }
}

/* ——— Network / multidisciplinary ——— */
.network {
  padding-block: clamp(72px, 11vw, 130px);
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.network__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.network .lead { color: rgba(250, 249, 246, 0.78); }

.network__visual {
  position: relative;
  min-height: min(72vw, 560px);
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 20px;
}

.network__clover {
  width: min(100%, 560px);
  aspect-ratio: 1;
  position: relative;
}

.network__tagline {
  margin: 0;
  max-width: 28ch;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: rgba(250, 249, 246, 0.72);
}

.network__ring {
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(250, 249, 246, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.network__ring--b {
  inset: 8%;
  border-color: rgba(79, 155, 179, 0.28);
}

.network__cross {
  position: absolute;
  background: rgba(250, 249, 246, 0.12);
  pointer-events: none;
}

.network__cross--h {
  left: 12%;
  right: 12%;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}

.network__cross--v {
  top: 12%;
  bottom: 12%;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}

.network__petal {
  position: absolute;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(250, 249, 246, 0.3);
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  padding: 14px 12px;
  font-size: clamp(0.68rem, 1.15vw, 0.82rem);
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.25;
  font-weight: 500;
  background: rgba(250, 249, 246, 0.035);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.network__petal span {
  display: none;
}

.network__petal:hover {
  background: rgba(79, 155, 179, 0.18);
  border-color: var(--brand);
  transform: scale(1.02);
}

.network__petal--1 { left: 28%; top: 2%; border-radius: 50% 50% 10% 50%; }
.network__petal--2 { right: 2%; top: 28%; border-radius: 50% 50% 50% 10%; }
.network__petal--3 { left: 2%; bottom: 28%; border-radius: 50% 10% 50% 50%; }
.network__petal--4 { right: 28%; bottom: 2%; border-radius: 10% 50% 50% 50%; }

.network__core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  padding: 14px;
  box-shadow: 0 0 0 10px rgba(79, 155, 179, 0.12);
  z-index: 2;
}

.network__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.network__list li {
  padding: 8px 12px;
  border: 1px solid rgba(250, 249, 246, 0.2);
  font-size: 0.82rem;
}

@media (min-width: 980px) {
  .network__grid { grid-template-columns: 0.95fr 1.15fr; }
}

/* ——— Studio editorial ——— */
.studio-edit {
  padding-block: clamp(64px, 10vw, 120px);
}

.studio-edit__head {
  max-width: 34rem;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.studio-edit__comp {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: minmax(220px, 1fr) minmax(200px, 0.9fr);
  gap: 12px;
  min-height: min(72vh, 640px);
}

.studio-edit__item {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.studio-edit__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.studio-edit__item:hover img {
  transform: scale(1.03);
}

.studio-edit__item--a {
  grid-column: 1;
  grid-row: 1 / 3;
}

.studio-edit__item--b {
  grid-column: 2 / 4;
  grid-row: 1;
}

.studio-edit__item--c {
  grid-column: 2;
  grid-row: 2;
}

.studio-edit__item--d {
  grid-column: 3;
  grid-row: 2;
}

.studio-edit__caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (max-width: 767px) {
  .studio-edit__comp {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .studio-edit__item--a {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 11;
  }

  .studio-edit__item--b {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .studio-edit__item--c,
  .studio-edit__item--d {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1;
  }
}

/* ——— CTA ——— */
.cta-v2 {
  padding-block: clamp(72px, 10vw, 120px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cta-v2__inner {
  display: grid;
  gap: 28px;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.cta-v2 h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

@media (min-width: 800px) {
  .cta-v2__inner {
    grid-template-columns: 1fr auto;
  }
}

/* ——— Page heroes ——— */
.page-hero {
  padding: calc(var(--header-h) + clamp(52px, 8vw, 88px)) 0 clamp(48px, 7vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero--split {
  display: grid;
  gap: 28px 48px;
}

.page-hero h1 {
  max-width: 16ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 0.82rem;
  color: var(--ink-3);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.5;
}

.page-hero__people {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-hero__person {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.page-hero__person img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}

.page-hero__person img[src*="viviana-clemente"] {
  object-position: center 0%;
}

.page-hero__person span {
  font-size: 0.85rem;
  line-height: 1.3;
}

.page-hero__person strong {
  display: block;
  font-weight: 600;
}

@media (min-width: 900px) {
  .page-hero--split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }
}

/* ——— Story chapters (about) ——— */
.chapters {
  padding-block: clamp(56px, 8vw, 96px);
}

.chapter {
  display: grid;
  gap: 16px 40px;
  padding-block: clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--line);
}

.chapters .chapter h2,
.about-human__copy h2,
.svc-block h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.chapter__year {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  color: var(--brand-deep);
  margin: 0;
}

.chapter p {
  margin: 0;
  color: var(--ink-2);
  max-width: 58ch;
}

@media (min-width: 800px) {
  .chapter {
    grid-template-columns: 160px 1fr;
  }
}

/* ——— About team mosaic ——— */
.team-mosaic {
  padding-block: clamp(56px, 8vw, 100px);
  background: var(--paper);
}

.team-mosaic__head {
  max-width: 36rem;
  margin-bottom: 8px;
}

.team-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.team-mosaic__item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px 36px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.team-mosaic__item:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) 200px;
}

.team-mosaic__item:nth-child(even) .team-mosaic__media { order: 2; }
.team-mosaic__item:nth-child(even) .team-mosaic__body { text-align: right; }

.team-mosaic__media {
  width: 200px;
  height: 250px;
  overflow: hidden;
  background: #cfd5d8;
}

.team-mosaic__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(0.15) contrast(1.05) saturate(0.9);
}

.team-mosaic__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
  font-weight: 500;
}

.team-mosaic__role {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 699px) {
  .team-mosaic__item,
  .team-mosaic__item:nth-child(even) {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 16px 18px;
    padding: 20px 0;
  }
  .team-mosaic__item:nth-child(even) .team-mosaic__media { order: 0; }
  .team-mosaic__item:nth-child(even) .team-mosaic__body { text-align: left; }
  .team-mosaic__media { width: 140px; height: 175px; }
}

@media (min-width: 1000px) {
  .team-mosaic__item {
    grid-template-columns: 220px minmax(0, 1fr);
    padding: 32px 0;
  }
  .team-mosaic__item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
  .team-mosaic__media { width: 220px; height: 275px; }
}

.about-human {
  padding-block: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.about-human__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.about-human__media {
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  width: 100%;
  min-height: clamp(240px, 42vw, 320px);
}

.about-human__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04);
}

@media (min-width: 900px) {
  .about-human__media {
    min-height: clamp(280px, 28vw, 360px);
  }
}

.about-human__copy h2 { margin-bottom: 16px; }

.method-band {
  padding-block: clamp(56px, 8vw, 96px);
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method-band__grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .about-human__grid,
  .method-band__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }
}

/* ——— Service content blocks ——— */
.svc-block {
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}

.svc-block__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.svc-block--media-left .svc-block__grid {
  direction: rtl;
}

.svc-block--media-left .svc-block__grid > * {
  direction: ltr;
}

.svc-block__media {
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
}

.svc-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-block__media--contain {
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 40px);
  background: #f7f5f1;
}

.svc-block__media--contain img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.svc-block ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.svc-subhead {
  margin: 1.35em 0 0.55em;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand-deep);
}

.svc-subhead:first-of-type {
  margin-top: 0.85em;
}

.svc-block li {
  position: relative;
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.svc-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 6px;
  height: 1px;
  background: var(--brand);
}

@media (min-width: 860px) {
  .svc-block__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.svc-layout-a .svc-block:nth-child(even) .svc-block__grid {
  direction: rtl;
}

.svc-layout-a .svc-block:nth-child(even) .svc-block__grid > * {
  direction: ltr;
}

.page-hero--dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 0;
}

.page-hero--dark .lead,
.page-hero--dark .breadcrumb,
.page-hero--dark .breadcrumb a,
.page-hero--dark .svc__scope {
  color: rgba(250, 249, 246, 0.72);
}

.svc-layout-b .page-hero {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 0;
}

.svc-layout-b .page-hero .lead,
.svc-layout-b .breadcrumb,
.svc-layout-b .breadcrumb a {
  color: rgba(250, 249, 246, 0.72);
}

.svc-layout-c .page-hero--split {
  align-items: stretch;
}

.svc-layout-c .page-hero__visual {
  min-height: 280px;
  background: var(--bg-2);
  overflow: hidden;
}

.svc-layout-c .page-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Blog ——— */
.blog-feat {
  display: grid;
  gap: 24px;
  padding-block: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
}

.blog-feat__media {
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  gap: 28px 20px;
  padding-block: clamp(40px, 6vw, 64px);
  list-style: none;
  margin: 0;
  padding-inline: 0;
}

.blog-card__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.blog-card p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.92rem;
}

@media (min-width: 800px) {
  .blog-feat {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: end;
  }

  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ——— Contact ——— */
.contact-v2 {
  display: grid;
  gap: 28px;
  padding-block: clamp(40px, 6vw, 72px);
}

.contact-v2__info dl {
  margin: 0;
}

.contact-v2__info dt {
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-v2__info dd {
  margin: 6px 0 0;
}

.contact-v2__info a {
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 32px);
  background: var(--paper);
  border: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-map {
  margin-top: 8px;
  border: 1px solid var(--line);
  min-height: 320px;
  background: var(--bg-2);
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
}

@media (min-width: 900px) {
  .contact-v2 {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(250, 249, 246, 0.78);
  padding-block: clamp(48px, 7vw, 72px) 28px;
}

.site-footer a {
  color: rgba(250, 249, 246, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__grid {
  display: grid;
  gap: 32px;
}

.site-footer__brand img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}

.site-footer__brand p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.92rem;
}

.site-footer__cols {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer__col h3 {
  margin: 0 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 249, 246, 0.45);
  font-family: var(--font-body);
  font-weight: 600;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li + li {
  margin-top: 8px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer__vg a {
  color: var(--brand);
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1.1fr 1.4fr;
  }

  .site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ——— Cookie / WA ——— */
.cookie-banner {
  position: fixed;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 20px;
  z-index: 100;
  max-width: 520px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wa-float svg {
  width: 26px;
  height: 26px;
}

/* ——— Lightbox ——— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 12, 14, 0.9);
  display: none;
  place-items: center;
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1100px);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

/* ——— Contact stage ——— */
.contact-stage {
  padding-block: clamp(28px, 5vw, 48px) 8px;
}

.contact-stage__grid {
  display: grid;
  gap: 24px;
  align-items: end;
}

.contact-stage__photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  aspect-ratio: 16 / 10;
  max-width: 520px;
}

.contact-stage__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.contact-stage__photo figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

.contact-stage__aside { max-width: 28rem; }

.contact-form__note {
  margin: 0 0 12px;
  color: var(--ink-3);
  font-size: 0.92rem;
}

.field--consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 6px 0 2px;
}

.field--consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin: 0.15em 0 0;
  flex: 0 0 auto;
  accent-color: var(--brand);
  cursor: pointer;
}

.field--consent label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-3);
  cursor: pointer;
}

.field--consent a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field--consent a:hover {
  color: var(--brand);
}

.contact-map { margin-top: 28px; }

@media (min-width: 900px) {
  .contact-stage__grid {
    grid-template-columns: 1.35fr 0.75fr;
    gap: 40px;
  }
}

.svc-block__grid--flip { direction: rtl; }
.svc-block__grid--flip > * { direction: ltr; }

.svc-block--band {
  background: var(--bg-2);
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}

.svc-aside {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.svc-aside__scope {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.svc-scan {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.svc-scan li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}

.svc-signals {
  display: grid;
  gap: 28px;
}

.svc-signals__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.svc-signals__list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.svc-people {
  padding-block: clamp(48px, 7vw, 88px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.svc-people__grid { display: grid; gap: 28px; }

.svc-people__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.svc-people__list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.svc-people__list img {
  width: 96px;
  height: 120px;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(0.12) contrast(1.05) saturate(0.9);
}

.svc-people__list img[src*="viviana-clemente"] {
  object-position: center top;
}

.svc-people__list h3 {
  margin: 0;
  font-size: 1.25rem;
}

.svc-people__list p {
  margin: 4px 0 10px;
  color: var(--ink-3);
  font-size: 0.9rem;
}

@media (min-width: 800px) {
  .svc-signals { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
  .svc-people__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}

@media (max-width: 767px) {
  .site-footer { padding-block: 36px 20px; }
  .site-footer__brand p { font-size: 0.88rem; }
  .site-footer__col--services { display: none; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .site-footer__bottom { margin-top: 24px; gap: 10px 16px; }
}

/* ——— Elysian-inspired editorial craft ——— */
.ed-rule {
  width: 48px;
  height: 1px;
  margin: 16px 0 18px;
  background: var(--line-strong);
}

.ed-rule--on-dark {
  background: rgba(250, 249, 246, 0.35);
}

.ed-bridge {
  display: grid;
  place-items: center;
  padding-block: 8px 0;
}

.ed-bridge span {
  display: block;
  width: min(72vw, 280px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-v2__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(250, 249, 246, 0.7);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-v2__scroll svg {
  width: 18px;
  height: 18px;
  animation: ql-bounce 1.8s var(--ease) infinite;
}

@keyframes ql-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(5px); opacity: 1; }
}

.quote-band {
  position: relative;
  min-height: min(52vh, 420px);
  display: grid;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
}

.quote-band__media {
  position: absolute;
  inset: 0;
}

.quote-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.quote-band__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(32, 48, 54, 0.72),
      rgba(45, 109, 130, 0.38) 52%,
      rgba(32, 48, 54, 0.58)
    );
}

.quote-band__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(56px, 9vw, 96px);
  max-width: 48rem;
}

.quote-band__inner .label {
  color: var(--brand);
}

.quote-band__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.6vw, 2.85rem);
  letter-spacing: -0.028em;
  line-height: 1.12;
  max-width: 16ch;
  font-weight: 500;
}

.page-hero .ed-rule {
  margin-top: 8px;
}

.ed-bridge {
  padding-block: 20px 0;
}

.site-footer__grid {
  gap: 40px;
}

@media (min-width: 900px) {
  .site-footer__grid {
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2__scroll svg { animation: none; }
}

/* ——— Premium refinement layer ——— */
.linkish {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
}

.header-cta {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.header-cta:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
}

.site-header.is-over-dark .header-cta:hover {
  color: var(--ink);
}

@media (min-width: 1024px) {
  .header-cta {
    display: inline-flex;
  }

  .site-nav__eyebrow,
  .site-nav__cta,
  .site-nav__meta {
    display: none;
  }
}

.site-nav__panel {
  display: contents;
}

.menu-toggle {
  position: relative;
  z-index: 120;
  touch-action: manipulation;
}

@media (max-width: 1023px) {
  .site-nav {
    padding: 0;
    background: var(--paper);
  }

  .site-nav__panel {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
  }

  .site-nav__eyebrow {
    margin: 0 0 20px;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-deep);
  }

  .site-nav > .site-nav__panel > ul {
    flex: 1;
  }

  .site-nav a,
  .mega-trigger {
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 6vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    padding-block: 16px;
    border-bottom-color: rgba(20, 22, 24, 0.1);
  }

  .mega-panel a {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0;
    padding-block: 12px;
  }

  .site-nav__cta {
    display: grid;
    gap: 10px;
    margin-top: 28px;
  }

  .site-nav__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .site-nav__meta {
    margin: 22px 0 0;
    font-size: 0.88rem;
    color: var(--ink-3);
  }
}

/* Magazine hero */
.hero-mag {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: calc(var(--header-h) + 36px) 64px;
  background:
    radial-gradient(ellipse 70% 55% at 88% 18%, rgba(79, 155, 179, 0.14), transparent 55%),
    linear-gradient(180deg, #ebe7df 0%, var(--bg) 48%, #e7e2d8 100%);
  overflow: hidden;
  color: var(--ink);
}

.hero-mag__mark {
  position: absolute;
  right: -4%;
  top: 12%;
  width: min(42vw, 360px);
  color: rgba(45, 109, 130, 0.12);
  pointer-events: none;
}

.hero-mag__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
}

.hero-mag__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero-mag__kicker span {
  width: 28px;
  height: 1px;
  background: var(--brand-deep);
}

.hero-mag__title {
  margin: 0 0 16px;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 10ch;
}

.hero-mag__title em {
  font-style: normal;
  color: var(--brand-deep);
}

.hero-mag__tag {
  margin: 0 0 12px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 500;
  max-width: 28rem;
  letter-spacing: -0.01em;
}

.hero-mag__lead {
  margin: 0 0 18px;
  color: var(--ink-2);
  max-width: 34rem;
  font-size: 1.02rem;
}

.hero-mag__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--ink-3);
}

.hero-mag__meta li:not(:last-child)::after {
  content: "·";
  margin-left: 16px;
  opacity: 0.5;
}

.hero-mag__people {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.hero-mag__faces {
  display: flex;
}

.hero-mag__faces img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  filter: grayscale(0.1) contrast(1.05);
}

.hero-mag__faces img:first-child {
  margin-left: 0;
}

.hero-mag__people p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-3);
  max-width: 14rem;
}

.hero-mag__visual {
  position: relative;
  min-height: min(64vh, 580px);
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-mag__logo {
  margin: 0;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: min(52vh, 480px);
  padding: clamp(36px, 6vw, 72px) clamp(28px, 5vw, 56px);
  background: transparent;
}

.hero-mag__logo img {
  width: min(100%, 560px);
  height: auto;
  max-height: min(46vh, 360px);
  object-fit: contain;
  object-position: center;
}

.hero-mag__cap {
  margin: 14px 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-mag .hero-v2__scroll {
  color: var(--ink-3);
}

@media (min-width: 960px) {
  .hero-mag__grid {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100dvh - var(--header-h) - 80px);
  }

  .hero-mag__logo {
    min-height: min(58vh, 520px);
  }
}

@media (max-width: 959px) {
  .hero-mag {
    padding-bottom: 48px;
  }

  .hero-mag__visual {
    min-height: 0;
    max-width: 480px;
  }

  .hero-mag__logo {
    min-height: 0;
    aspect-ratio: 16 / 11;
    padding: clamp(28px, 7vw, 48px);
  }

  .hero-mag__logo img {
    max-height: none;
    width: min(100%, 420px);
  }

  .hero-mag__title {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }
}

/* Manifesto asymmetric */
.manifesto-v2__aside {
  display: grid;
  gap: 8px;
  align-content: start;
}

.manifesto-v2__year {
  margin: 18px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (min-width: 900px) {
  .manifesto-v2__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: clamp(40px, 7vw, 96px);
  }

  .manifesto-v2__quote {
    font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  }

  .manifesto-v2__body {
    padding-top: 48px;
  }
}

/* Team preview home */
.team-prev {
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.team-prev__head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.team-prev__head h2 {
  max-width: 14ch;
}

.team-prev__head p {
  margin: 0;
  color: var(--ink-2);
  max-width: 36rem;
}

/* Small equal fotine — ~140px desktop, never magazine-scale */
.team-prev__media {
  aspect-ratio: 4 / 5;
  width: 140px;
  max-width: 140px;
  overflow: hidden;
  background: transparent;
  margin-bottom: 10px;
  margin-inline: auto;
}

.team-prev__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.14) contrast(1.05) saturate(0.9);
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.team-prev__media img[src*="viviana-clemente"] {
  object-position: center 0%;
}

.team-prev__card:hover .team-prev__media img {
  transform: scale(1.035);
  filter: grayscale(0.02) contrast(1.04) saturate(0.96);
}

.team-prev__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  letter-spacing: -0.02em;
}

.team-prev__role {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--ink-3);
  line-height: 1.35;
}

.team-prev__grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 1080px;
  margin-inline: auto;
}

.team-prev__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 14px;
  justify-items: center;
  width: 100%;
}

/* Avoid empty “hole” on mobile/tablet when a row has an odd count (e.g. 5) */
@media (max-width: 899px) {
  .team-prev__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
    justify-items: center;
  }

  .team-prev__row {
    display: contents;
  }
}

@media (min-width: 700px) and (max-width: 899px) {
  .team-prev__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.team-prev__card {
  text-decoration: none;
  color: inherit;
  min-width: 0;
  display: block;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.team-prev__foot {
  margin-top: 28px;
  text-align: center;
}

@media (min-width: 700px) {
  .team-prev__row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 18px;
  }

  .team-prev__media {
    width: 148px;
    max-width: 148px;
  }
}

@media (min-width: 900px) {
  .team-prev__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  .team-prev__grid {
    gap: 28px;
  }

  .team-prev__row {
    gap: 28px 20px;
    justify-content: center;
  }

  .team-prev__row--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .team-prev__row--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .team-prev__media {
    width: 140px;
    max-width: 140px;
  }
}

@media (max-width: 599px) {
  .team-prev__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .team-prev__media {
    width: 120px;
    max-width: 120px;
  }
}

[data-stagger] .team-prev__card:not(.is-in) {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

[data-stagger] .team-prev__card.is-in {
  opacity: 1;
  transform: none;
}

/* Services: one-tap mobile + premium hover */
.svc {
  position: relative;
}

.svc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.svc:hover::after,
.svc:focus-visible::after {
  transform: scaleX(1);
}

.svc:hover .svc__thumb img {
  filter: grayscale(0.2) contrast(1.1) brightness(1.02);
  opacity: 1;
}

.svc__go span {
  transition: letter-spacing 0.3s var(--ease);
}

.svc:hover .svc__go span {
  letter-spacing: 0.04em;
}

@media (max-width: 767px) {
  .svc {
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas:
      "idx thumb title go"
      ". . scope scope";
    gap: 6px 12px;
    padding: 14px 0;
  }

  .svc__thumb {
    display: block;
    grid-area: thumb;
    width: 40px;
    height: 40px;
  }

  .svc__text {
    display: none !important;
  }

  .svc__scope {
    grid-area: scope;
    margin: 0;
  }

  .svc__go {
    grid-area: go;
    font-size: 0;
    padding: 0;
    margin: 0;
  }

  .svc__go::after {
    content: "→";
    font-size: 1.2rem;
    color: var(--brand-deep);
  }

  .svc.is-open .svc__go::after {
    content: "→";
  }
}

/* Network stronger */
/* Dark band softened with teal wash — less clinic-harsh */
.network--strong {
  background:
    radial-gradient(circle at 82% 28%, rgba(79, 155, 179, 0.28), transparent 46%),
    radial-gradient(circle at 12% 80%, rgba(79, 155, 179, 0.1), transparent 40%),
    #1c2a30;
}

.network__index {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(250, 249, 246, 0.14);
}

.network__index li {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(250, 249, 246, 0.12);
}

.network__index span {
  display: none;
}

.network__index a {
  text-decoration: none;
  color: rgba(250, 249, 246, 0.92);
  transition: color 0.25s var(--ease);
}

.network__index a:hover {
  color: var(--brand);
}

.network--strong .network__clover {
  transform: scale(1.04);
}

.network--strong .network__core {
  background: rgba(79, 155, 179, 0.18);
}

/* Studio magazine gallery — editorial composition (~880px), 4 images */
.studio-edit__comp--mag {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto;
  min-height: 0;
  width: 100%;
  max-width: 880px;
  margin-inline: auto;
  gap: 12px;
}

.studio-edit__comp--mag .studio-edit__item {
  border-radius: 2px;
}

/* Feature left */
.studio-edit__comp--mag4 .studio-edit__item--a {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
  aspect-ratio: 4 / 5;
  min-height: 0;
}

/* Wide secondary */
.studio-edit__comp--mag4 .studio-edit__item--b {
  grid-column: 7 / span 6;
  grid-row: 1;
  aspect-ratio: 16 / 10;
  min-height: 0;
}

/* Detail pair */
.studio-edit__comp--mag4 .studio-edit__item--c {
  grid-column: 7 / span 3;
  grid-row: 2;
  aspect-ratio: 1;
  min-height: 0;
}

.studio-edit__comp--mag4 .studio-edit__item--d {
  grid-column: 10 / span 3;
  grid-row: 2;
  aspect-ratio: 1;
  min-height: 0;
}

.studio-edit__comp--mag .studio-edit__caption {
  left: 14px;
  bottom: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

@media (min-width: 980px) {
  .studio-edit__comp--mag {
    max-width: 920px;
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .studio-edit__comp--mag4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: min(100%, 420px);
    gap: 10px;
  }

  .studio-edit__comp--mag4 .studio-edit__item--a,
  .studio-edit__comp--mag4 .studio-edit__item--b,
  .studio-edit__comp--mag4 .studio-edit__item--c,
  .studio-edit__comp--mag4 .studio-edit__item--d {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
  }

  .studio-edit__comp--mag4 .studio-edit__item--a {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .studio-edit__comp--mag4 .studio-edit__item--b {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 11;
  }

  .studio-edit__comp--mag4 .studio-edit__item--c,
  .studio-edit__comp--mag4 .studio-edit__item--d {
    aspect-ratio: 1;
  }

  .studio-edit__comp--mag .studio-edit__caption {
    left: 12px;
    bottom: 10px;
    font-size: 0.68rem;
  }
}

/* Memorable CTA */
.cta-v2--memo {
  background:
    linear-gradient(135deg, rgba(79, 155, 179, 0.1), transparent 42%),
    var(--bg-2);
  border-block: 1px solid var(--line);
}

.cta-v2--memo .cta-v2__inner {
  align-items: end;
  gap: 28px;
}

.cta-v2__copy .lead {
  margin-top: 12px;
}

.cta-v2__phones {
  margin: 18px 0 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.cta-v2__phones a {
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 600;
}

.cta-v2__actions {
  display: grid;
  gap: 10px;
  min-width: min(100%, 220px);
}

.cta-v2__actions .btn {
  justify-content: center;
}

/* Chi siamo — calm editorial inner hero (left, mobile-first) */
.about-hero {
  padding-block: calc(var(--header-h) + 28px) clamp(40px, 6vw, 64px);
  background:
    linear-gradient(180deg, var(--brand-mist) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.about-hero__inner {
  max-width: 40rem;
}

.about-hero .breadcrumb {
  margin-bottom: 14px;
}

.about-hero .label {
  margin: 0 0 4px;
}

.about-hero .ed-rule {
  margin: 12px 0 20px;
  background: var(--brand);
  opacity: 0.55;
}

.about-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 18ch;
}

.about-hero__lead {
  margin-top: 18px;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  max-width: 36rem;
}

.about-hero__pull {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--brand-deep);
  max-width: 28ch;
}

@media (min-width: 700px) {
  .about-hero {
    padding-block: calc(var(--header-h) + 40px) clamp(48px, 7vw, 72px);
  }
}

.about-human__copy h2,
.timeline-ed__head h2,
.method-ed__copy h2,
.team-ed__head h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

/* Timeline — editorial spine, years restrained */
.timeline-ed {
  --tl-gutter: clamp(1.1rem, 2.5vw, 1.75rem);
  padding-block: clamp(56px, 8vw, 100px);
  background:
    linear-gradient(180deg, var(--paper) 0%, #f7f5f0 100%);
  border-block: 1px solid var(--line);
  overflow: clip;
}

.timeline-ed__wrap {
  max-width: min(980px, 100%);
}

.timeline-ed__head {
  margin-bottom: clamp(28px, 4.5vw, 48px);
  max-width: 20rem;
}

.timeline-ed__head h2 {
  max-width: 14ch;
}

.timeline-ed__track {
  position: relative;
}

.timeline-ed__spine {
  position: absolute;
  top: 0.55rem;
  bottom: 0.55rem;
  left: 0.5rem;
  width: 1px;
  background: rgba(45, 109, 130, 0.16);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.timeline-ed__progress {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--brand), var(--brand-deep));
}

.timeline-ed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  position: relative;
  z-index: 1;
}

.timeline-ed__item {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  grid-template-areas:
    "marker year"
    "marker body";
  column-gap: var(--tl-gutter);
  row-gap: 6px;
  align-items: start;
  opacity: 0.4;
  transform: translateY(10px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}

.timeline-ed__item.is-active {
  opacity: 1;
  transform: none;
}

.timeline-ed__marker {
  grid-area: marker;
  position: relative;
  z-index: 1;
  width: 1rem;
  height: 1rem;
  margin-top: 0.45em;
  display: grid;
  place-items: center;
}

.timeline-ed__marker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--brand-deep);
  box-shadow: 0 0 0 4px var(--paper);
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.timeline-ed__item.is-active .timeline-ed__marker span {
  background: var(--brand);
  border-color: var(--brand-deep);
  transform: scale(1.12);
}

.timeline-ed__year {
  grid-area: year;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(45, 109, 130, 0.28);
  transition: color 0.45s var(--ease);
}

.timeline-ed__item.is-active .timeline-ed__year {
  color: var(--brand-deep);
}

.timeline-ed__year span {
  display: inline-block;
}

.timeline-ed__item--now .timeline-ed__year {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  letter-spacing: -0.03em;
}

.timeline-ed__body {
  grid-area: body;
  max-width: 36rem;
  padding-top: 2px;
}

.timeline-ed__body h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.timeline-ed__body p {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(0.94rem, 1.2vw, 1.02rem);
  line-height: 1.65;
  max-width: 48ch;
}

@media (min-width: 900px) {
  .timeline-ed__spine {
    left: 50%;
    transform: translateX(-0.5px);
  }

  .timeline-ed__item {
    grid-template-columns: minmax(0, 1fr) 1.25rem minmax(0, 1fr);
    grid-template-areas: "year marker body";
    column-gap: clamp(22px, 3.5vw, 40px);
    align-items: center;
    padding-block: 0.25rem;
  }

  .timeline-ed__year {
    text-align: right;
    justify-self: end;
  }

  .timeline-ed__body {
    justify-self: start;
    padding-top: 0;
  }

  .timeline-ed__marker {
    margin-top: 0;
  }

  .timeline-ed__item--alt {
    grid-template-areas: "body marker year";
  }

  .timeline-ed__item--alt .timeline-ed__year {
    text-align: left;
    justify-self: start;
  }

  .timeline-ed__item--alt .timeline-ed__body {
    justify-self: end;
    text-align: right;
  }

  .timeline-ed__item--alt .timeline-ed__body p {
    margin-inline-start: auto;
  }
}

@media (max-width: 899px) {
  .timeline-ed__item {
    opacity: 1;
    transform: none;
  }

  .timeline-ed__year {
    color: var(--brand-deep);
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-ed__item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .timeline-ed__year,
  .timeline-ed__marker span {
    transition: none;
  }
}

/* Method — calm word list */
.method-ed {
  padding-block: clamp(52px, 7vw, 96px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.method-ed__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: end;
}

.method-ed__copy h2 {
  max-width: 18ch;
}

.method-ed__copy .prose {
  margin-top: 18px;
  max-width: 38rem;
}

.method-ed__words {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.method-ed__words li {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  padding: clamp(12px, 1.6vw, 16px) 0;
  border-bottom: 1px solid var(--line);
}

.method-ed__words li:nth-child(even) {
  color: var(--brand-deep);
  padding-left: clamp(0.35rem, 2vw, 1.1rem);
}

@media (min-width: 900px) {
  .method-ed__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 6vw, 72px);
  }
}

/* About team — equal small portraits, centered calm grid */
.team-ed {
  padding-block: clamp(52px, 7vw, 96px);
}

.team-ed__head {
  margin: 0 auto clamp(28px, 4vw, 40px);
  max-width: 34rem;
  text-align: center;
}

.team-ed__head .lead {
  margin-inline: auto;
}

.team-ed__grid {
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 40px);
  align-items: center;
  max-width: 1080px;
}

.team-ed__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 140px));
  gap: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
  justify-content: center;
  justify-items: center;
  width: 100%;
}

@media (max-width: 979px) {
  .team-ed__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 140px));
    gap: clamp(28px, 4vw, 40px) clamp(20px, 3vw, 32px);
    justify-content: center;
    justify-items: center;
  }

  .team-ed__row {
    display: contents;
  }
}

@media (min-width: 700px) and (max-width: 979px) {
  .team-ed__grid {
    grid-template-columns: repeat(3, minmax(0, 140px));
  }
}

.team-ed__person {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 140px;
  min-width: 0;
  text-align: center;
  justify-items: center;
}

.team-ed__media {
  width: 128px;
  height: 160px;
  max-width: 128px;
  overflow: hidden;
  background: #cfd5d8;
  border-radius: 2px;
}

.team-ed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  filter: grayscale(0.1) contrast(1.04) saturate(0.92);
  transition: transform 0.7s var(--ease), filter 0.4s var(--ease);
}

.team-ed__media img[src*="viviana-clemente"] {
  object-position: center 8%;
}

.team-ed__person:hover .team-ed__media img {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.04) saturate(0.95);
}

.team-ed__body {
  display: grid;
  gap: 0;
  justify-items: center;
}

.team-ed__name {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.team-ed__role {
  margin: 0 0 8px;
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.4;
}

.team-ed__person .link-line {
  font-size: 0.78rem;
}

@media (min-width: 700px) {
  .team-ed__row {
    grid-template-columns: repeat(3, minmax(0, 140px));
  }
}

@media (min-width: 980px) {
  .team-ed__grid {
    gap: 36px;
  }

  .team-ed__row {
    gap: 36px 28px;
  }

  .team-ed__row--5 {
    grid-template-columns: repeat(5, minmax(0, 140px));
  }

  .team-ed__row--6 {
    grid-template-columns: repeat(6, minmax(0, 140px));
  }

  .team-ed__media {
    width: 132px;
    height: 165px;
    max-width: 132px;
  }
}

@media (max-width: 599px) {
  .team-ed__media {
    width: 120px;
    height: 150px;
    max-width: 120px;
  }

  .team-ed__row {
    grid-template-columns: repeat(2, minmax(0, 120px));
    gap: 24px 16px;
  }

  .team-ed__person {
    max-width: 120px;
  }

  .team-ed__name {
    font-size: 0.9rem;
  }

  .team-ed__role {
    font-size: 0.74rem;
  }
}

/* Footer stronger */
.site-footer__intro {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.12);
}

.site-footer__claim {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
  color: var(--paper);
}

.site-footer__actions {
  margin-top: 18px;
}

.site-footer__legal .linkish {
  color: inherit;
  text-decoration: none;
}

.site-footer__legal .linkish:hover {
  color: var(--brand);
}

.legal-stub,
.legal-doc {
  padding-bottom: clamp(64px, 9vw, 110px);
  max-width: 42rem;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 2.2em 0 0.65em;
  color: var(--ink);
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
  color: var(--ink-2);
  max-width: 65ch;
}

.legal-doc li {
  margin: 0 0 0.45em;
}

.legal-doc li:last-child {
  margin-bottom: 0;
}

.legal-doc code {
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  background: var(--bg-2);
  border-radius: 3px;
}

.contact-form__status {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--ink-3);
}

.page-dark-start .site-header:not(.is-scrolled):not(.is-over-dark)::before {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .svc::after,
  .team-prev__media img,
  .team-ed__media img,
  .hero-mag__logo img {
    transition: none !important;
  }
}
