:root {
  --navy: #1a335c;
  --navy-deep: #0e1a2c;
  --cream: #f6f5ef;
  --cream-card: #eeebe0;
  --lime: #bce849;
  --lime-soft: #f2f7c1;
  --olive: #92b50e;
  --lavender: #d9d4f0;
  --ink: #0f0f0f;
  --muted: #5d5d5d;
  --font: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  --wrap: 72rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font);
  line-height: 1.5;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  border-radius: 999px;
  background: var(--lime);
  padding: 0.5rem 1rem;
  color: var(--navy);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 40;
}
.shareck-header-navy .site-header { background: var(--navy); color: var(--cream); }
.shareck-header-cream .site-header { background: var(--cream); color: var(--navy); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.site-logo img { height: 4.5rem; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.shareck-header-navy .primary-nav {
  background: transparent;
  color: var(--cream);
}
.shareck-header-cream .primary-nav {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 30px rgb(14 26 44 / 0.06);
}
.primary-nav ul,
.primary-nav li,
.nav-overlay nav ul,
.nav-overlay nav li,
.site-footer nav ul,
.site-footer nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.primary-nav a { padding: 0.35rem 0.7rem; }
@media (max-width: 800px) {
  .primary-nav ul { display: none; }
}
.nav-overlay nav ul,
.site-footer nav ul { display: contents; }
.menu-toggle {
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0;
}
.shareck-header-navy .menu-toggle { background: #fff; }
.shareck-header-cream .menu-toggle { background: var(--lime); }
.menu-toggle img { width: 1.5rem; }
body.nav-open { overflow: hidden; }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgb(14 26 44 / 0.45);
  backdrop-filter: blur(6px);
}
.nav-overlay.is-open { display: block; }
.nav-overlay__panel {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: min(26rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  color: var(--navy);
  border-radius: 2.25rem;
  padding: 2.25rem;
  box-shadow: 0 24px 60px rgb(14 26 44 / 0.22);
}
.nav-overlay__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--muted);
}
.nav-overlay nav { display: grid; gap: 0.95rem; font-size: 1.65rem; font-weight: 500; }
.nav-overlay nav a { display: inline-block; }
.lang-toggle { display: flex; gap: 1rem; margin-top: 2rem; font-weight: 600; letter-spacing: 0.12em; font-size: 0.85rem; }
.lang-toggle .is-current { color: var(--navy); }
.lang-toggle a { color: var(--muted); }
.social-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.social-pills a,
.pill-link {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-white { background: #fff; color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.8); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgb(26 51 92 / 0.2); }

.section { padding: 5rem 0; }
.section-navy { background: var(--navy); color: var(--cream); }
.section-cream { background: var(--cream); color: var(--navy); }
.section-lavender { background: var(--lavender); color: var(--navy); }

.section-header { max-width: 50rem; }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header--left { text-align: left; margin-inline: 0; }
.section-header h2,
.hero h1,
.page-hero h1 {
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section-header h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive);
  margin: 0 0 1rem;
}
.section-navy .eyebrow,
.hero--navy .eyebrow { color: var(--lime); }
.lede { font-size: 1.125rem; line-height: 1.75; opacity: 0.85; }

.text-lime { color: var(--lime); }

.hero { position: relative; overflow: hidden; padding: 5rem 0 6rem; }
.hero--navy { background: var(--navy); color: var(--cream); }
.hero--cream { background: var(--cream); color: var(--navy); }
.hero--lavender { background: var(--lavender); color: var(--navy); }
.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid.has-media { grid-template-columns: 1fr 1fr; }
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 0; }
.hero .lede { max-width: 36rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hero__actions--center { justify-content: center; }
.hero__media { display: flex; justify-content: flex-end; gap: 0.75rem; position: relative; }
.hero__media--cluster {
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 36rem;
}
.hero__media--cluster .arch-tall { width: 8.5rem; height: 24rem; }
.hero__media--cluster .media-figma {
  flex: 1 1 100%;
  width: 100%;
  aspect-ratio: 835 / 386;
}
.hero__media--cluster .media-figma:nth-child(n+2) {
  flex: 1 1 calc(50% - 0.4rem);
  width: calc(50% - 0.4rem);
  aspect-ratio: 473 / 291;
}
.hero__media--stack {
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero__media--stack .media-figma {
  flex: 1 1 18rem;
  min-width: min(18rem, 100%);
  aspect-ratio: 874 / 447;
}
.hero-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 960px) {
  .hero-split { grid-template-columns: auto 1fr auto; gap: 2.5rem; }
}
.hero-split__copy { max-width: 38rem; margin-inline: auto; }
.hero-split__img { position: relative; }
.hero-split__img--offset { transform: translateY(1.5rem); }

/* Accueil compound window — Figma Tracé 15037 (node 2:4617) */
.hero--trace {
  background: var(--navy-deep);
  color: var(--cream);
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 5rem);
}
.hero-trace {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-trace__stage {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
}
.hero-trace__window,
.hero-trace__copy {
  grid-area: 1 / 1;
}
.hero-trace__window {
  width: min(79.84rem, calc(100% - 5rem));
  aspect-ratio: 1277.42 / 548.119;
}
.hero-trace__photo {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--cream-card);
  -webkit-mask-image: var(--hero-trace-mask, url("../img/hero-trace.svg"));
  mask-image: var(--hero-trace-mask, url("../img/hero-trace.svg"));
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.hero-trace__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-pos, center 40%);
  display: block;
}
.hero-trace__wash {
  position: absolute;
  inset: 0;
  background: #0e1a2c;
  opacity: 0.57;
  pointer-events: none;
}
.hero-trace__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: min(62rem, calc(100% - 3rem));
  padding: 1.5rem 1rem 0;
  pointer-events: none;
}
.hero-trace__copy h1,
.hero-trace__copy .lede {
  pointer-events: auto;
}
.hero--trace h1 {
  font-size: clamp(2rem, 4.9vw, 5.9rem);
}
.hero--trace .lede {
  margin-inline: auto;
}
.hero--trace .hero__actions {
  margin-top: 1.35rem;
}
@media (max-width: 700px) {
  .hero-trace__window {
    width: calc(100% - 1.25rem);
    aspect-ratio: 1.55 / 1;
    min-height: 18rem;
  }
  /* Taller crop at 390: pin the jacket figure + clock tower in the visible lobes. */
  .hero-trace__photo img {
    object-position: var(--media-pos-sm, 78% 42%);
  }
  .hero--trace .side-label { display: none; }
  .hero--trace h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
}

.hero--stack .hero__grid { text-align: center; }
.hero--stack .hero__grid.has-media { grid-template-columns: 1fr; }
.hero--stack .lede { margin-inline: auto; }
.hero--stack .hero__actions { justify-content: center; }
.side-label {
  position: absolute;
  top: 50%;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  opacity: 0.7;
  pointer-events: none;
}
.side-label--left { left: 1rem; transform: translateY(-50%); }
.side-label--right { right: 1rem; transform: translateY(-50%) rotate(180deg); }

.media-frame { background: var(--cream-card); overflow: hidden; }
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--media-pos, center center);
}
.media-figma {
  border-radius: 1.75rem;
  width: 100%;
  aspect-ratio: 751 / 486;
  clip-path: none;
  -webkit-mask-image: none;
  mask-image: none;
}
.media-figma img {
  object-position: var(--media-pos, center 35%);
}
.text-image__media .media-figma { aspect-ratio: 751 / 486; }
.text-image__media .clover-mask { width: 100%; aspect-ratio: 200 / 120; }
.form-grid .media-figma { aspect-ratio: 838 / 419; }
@media (max-width: 700px) {
  .media-figma img {
    object-position: var(--media-pos-sm, var(--media-pos, center 28%));
  }
}
.arch { border-radius: 999px 999px 2rem 2rem; min-height: 22rem; }
.arch-tall {
  border-radius: 50% 50% 1.75rem 1.75rem / 32% 32% 1.75rem 1.75rem;
  width: 12rem;
  height: 32rem;
}
.media-square { border-radius: 1.5rem; aspect-ratio: 1; }
.media-round { border-radius: 999px; }
.clover-mask {
  min-height: 16rem;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Crect x='2' y='2' width='92' height='116' rx='46' fill='black'/%3E%3Crect x='106' y='2' width='92' height='116' rx='46' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Crect x='2' y='2' width='92' height='116' rx='46' fill='black'/%3E%3Crect x='106' y='2' width='92' height='116' rx='46' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.plus-mark {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--lime);
  clip-path: polygon(38% 0, 62% 0, 62% 38%, 100% 38%, 100% 62%, 62% 62%, 62% 100%, 38% 100%, 38% 62%, 0 62%, 0 38%, 38% 38%);
}
.plus-abs { position: absolute; }

.clover-graphic {
  width: min(36rem, 100%);
  aspect-ratio: 1;
  position: relative;
}
.clover-graphic span {
  position: absolute;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 999px;
}
.clover-graphic .c1 { top: 0; left: 23%; background: var(--cream); }
.clover-graphic .c2 { top: 23%; left: 0; background: var(--lime); }
.clover-graphic .c3 { top: 23%; right: 0; background: var(--lavender); }
.clover-graphic .c4 { bottom: 0; left: 23%; background: var(--cream); opacity: 0.85; }

.text-image__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .text-image__grid { grid-template-columns: 1fr 1fr; }
  .text-image--left .text-image__media { order: -1; }
}
.text-image__media { position: relative; }

.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker { padding: 1.5rem 0; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.cards-3 {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
}
.project-card h3,
.team-card h3,
.post-card h3 { font-size: 1.4rem; line-height: 1.3; margin: 1rem 0 0.5rem; }
.project-card a,
.team-card a,
.post-card a { text-decoration: underline; text-underline-offset: 4px; font-size: 1.05rem; }
.carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
}
.carousel .project-card {
  flex: 0 0 min(20rem, 80vw);
  scroll-snap-align: start;
}
.carousel-nav {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 1.2rem;
}
.filter-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

.sectors__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .sectors__grid { grid-template-columns: 1fr 1fr; }
}
.sector-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.sector-list li { padding: 2rem 0; border-top: 1px solid rgb(255 255 255 / 0.2); }
.sector-list h3 { font-size: 1.8rem; margin: 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }
.tag-cloud span {
  border: 1px solid rgb(255 255 255 / 0.7);
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.9rem;
}

.post-card {
  background: #fff;
  border-radius: 1.75rem;
  padding: 1.75rem;
  box-shadow: 0 0 0 1px rgb(26 51 92 / 0.06);
  display: flex;
  flex-direction: column;
}
.post-card__meta {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
}

.stats-head {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .stats-head { grid-template-columns: 1fr 1fr; }
}
.stat-card {
  border-radius: 2rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  font-size: 1.2rem;
  line-height: 1.6;
}
.stat-card--lime { background: var(--lime); color: var(--navy); }
.stat-card--cream { background: var(--cream-card); color: var(--navy); }
.stat-card--lavender { background: var(--lavender); color: var(--navy); }
.stat-card--navy { background: var(--navy); color: var(--cream); }

.cta-banner { background: var(--navy); color: var(--cream); padding: 4rem 0; position: relative; overflow: hidden; }
.cta-banner .marquee { margin-bottom: 2rem; font-size: clamp(2rem, 5vw, 3.5rem); color: var(--lime); }
.cta-banner__row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.cta-banner__row p { max-width: 36rem; font-size: 1.125rem; line-height: 1.7; }

.spotlight {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .spotlight { grid-template-columns: minmax(0, 22rem) 1fr; }
}
.spotlight h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 0; }

.team-text { font-size: 1.125rem; line-height: 1.7; }

.form-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}
.form-card {
  background: var(--cream-card);
  border-radius: 1.8rem;
  padding: 2rem;
}
.form-card--arch { border-radius: 6rem 6rem 2rem 2rem; }
.form-card label { display: block; font-weight: 600; margin-bottom: 1.1rem; }
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid #e3e3e3;
  background: #fff;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--navy);
}
.fields-2 {
  display: grid;
  gap: 0 1rem;
}
@media (min-width: 600px) {
  .fields-2 { grid-template-columns: 1fr 1fr; }
}
.file-btn {
  display: inline-flex;
  margin-top: 0.5rem;
  background: var(--lime);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
}
.form-notice { margin-top: 1rem; color: var(--olive); }

.logo-bar__items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.logo-chip {
  background: var(--cream-card);
  border-radius: 1rem;
  padding: 1.1rem 1.4rem;
  min-width: 10rem;
}

.resource-list { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 800px) {
  .resource-list--2 { grid-template-columns: 1fr 1fr; }
  .resource-list--3 { grid-template-columns: 1fr 1fr 1fr; }
}
.resource-list li { border-top: 1px solid rgb(26 51 92 / 0.15); padding-top: 1rem; list-style: none; }
.resource-list { padding: 0; }

.project-meta { display: grid; gap: 3rem; }
@media (min-width: 800px) {
  .project-meta { grid-template-columns: minmax(0, 18rem) 1fr; }
}
.article-shell {
  background: #fff;
  border: 1px solid rgb(26 51 92 / 0.1);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 48rem;
  margin: 3rem auto 0;
}
.prose-shareck { font-size: 1.125rem; line-height: 1.75; }
.prose-shareck h2 { font-size: 1.75rem; margin: 0 0 1rem; }
.prose-shareck p + p { margin-top: 1.25rem; }
.share-row { border-top: 1px solid rgb(26 51 92 / 0.1); margin-top: 3rem; padding-top: 1.5rem; }
.share-row span.icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgb(26 51 92 / 0.2);
  align-items: center;
  justify-content: center;
  margin-right: 0.4rem;
}

.sort-row {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgb(26 51 92 / 0.15);
  padding-top: 1rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--muted);
}

.site-footer {
  background: var(--navy-deep);
  color: var(--cream);
}
.site-footer__grid {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}
@media (min-width: 800px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer nav { display: grid; gap: 0.65rem; font-size: 1.15rem; }
.site-footer .social-pills { justify-content: flex-end; }
.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  padding: 1.25rem 0;
  font-size: 0.9rem;
}
.udes-logo { height: 2.5rem; width: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
