/* Palette : cuivre et espresso. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&family=Figtree:wght@400;500;600;700&display=swap");

:root {
  --ink: #1c1510;
  --ink-soft: #6b5c52;
  --muted: #8a7a6e;
  --bg: #f2eee8;
  --bg-soft: #e7e0d6;
  --line: #d9d0c4;
  --navy: #3d2416;
  --navy-deep: #2a1810;
  --navy-hover: #29180f;
  --outline: #c9a07a;
  --container: 1140px;
  --font-display: "Archivo", sans-serif;
  --font-body: "Figtree", sans-serif;
  --header-h: 88px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-fast: 0.25s;
  --motion-med: 0.55s;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section__title {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  max-width: 18ch;
}
.section__lead {
  margin-top: 16px;
  color: var(--ink-soft);
  max-width: 42ch;
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
.btn--dark {
  background: var(--navy);
  color: #fff;
}
.btn--dark:hover { background: var(--navy-hover); }
.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover { background: #eee; }
.btn--ghost {
  background: var(--navy);
  color: #fff;
}
.btn--ghost:hover { background: var(--navy-hover); }
.btn--outline {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}
.logo span { display: block; }

.nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color var(--motion-fast) ease;
}
.nav__link:hover,
.nav__link.is-active { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: absolute;
  left: 11px;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { content: ""; top: -7px; }
.nav-toggle span::after { content: ""; top: 7px; }

/* Hero — text above, full-bleed image below */
.hero {
  padding: 28px 0 0;
  overflow: hidden;
}
.hero__top {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
  position: relative;
}
.hero__ghost {
  position: absolute;
  inset: -20% auto auto -8%;
  width: min(52vw, 560px);
  opacity: 0.08;
  pointer-events: none;
  filter: grayscale(1);
}
.hero__title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  max-width: 12ch;
  position: relative;
}
.hero__title .line { display: block; }
.hero__title .line:nth-child(2) { margin-left: 0.35em; }
.hero__title .line:nth-child(3) { margin-left: 0.7em; }
.hero__aside {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 28ch;
  line-height: 1.55;
  padding-bottom: 8px;
}
.hero__media {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* Facts collage */
.facts {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.facts__blueprint {
  position: absolute;
  inset: 8% 10% auto;
  width: 80%;
  opacity: 0.07;
  pointer-events: none;
  filter: grayscale(1);
}
.facts-collage {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1fr 1fr 1fr 0.95fr;
  gap: 18px;
  align-items: center;
  min-height: 360px;
}
.facts-collage__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.facts-collage__img--tall { height: 360px; }
.fact-box {
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  padding: 28px 22px;
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 10px;
}
.fact-box:nth-of-type(1) { transform: translateY(28px); }
.fact-box:nth-of-type(2) { transform: translateY(-36px); }
.fact-box:nth-of-type(3) { transform: translateY(12px); }
.fact-box__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.fact-box__label {
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 16ch;
}
.facts-label {
  position: absolute;
  top: 24px;
  right: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 12px 18px;
  z-index: 2;
}

/* Needs */
.needs__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.needs .section__title { max-width: 16ch; margin-bottom: 18px; }
.needs__text {
  color: var(--ink-soft);
  max-width: 42ch;
  margin-bottom: 28px;
}
.needs__media {
  position: relative;
}
.needs__media > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
}
.needs__inset {
  position: absolute;
  right: -12px;
  bottom: -24px;
  width: 42%;
  border: 6px solid #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.needs__inset img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Feature pillars */
.features {
  padding-top: 40px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px 36px;
  align-items: start;
}
.feature-card {
  display: grid;
  gap: 14px;
}
.feature-card--wide { grid-column: 1 / -1; max-width: 70%; }
.feature-card__media {
  position: relative;
  overflow: hidden;
}
.feature-card__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.feature-card__bar {
  position: absolute;
  left: 0;
  bottom: 28px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 22px;
  max-width: 90%;
}
.feature-card__bar--right {
  left: auto;
  right: 0;
}
.feature-card p {
  color: var(--ink-soft);
  max-width: 36ch;
  font-size: 0.95rem;
}

/* Projects slider */
.projects { padding-top: 40px; }
.projects__wrap {
  position: relative;
  padding-top: 28px;
}
.projects__intro {
  position: relative;
  z-index: 3;
  width: min(100%, 340px);
  background: var(--navy);
  color: #fff;
  padding: 28px 26px;
  margin-bottom: -48px;
}
.projects__intro::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.projects__intro .section__title {
  color: #fff;
  font-size: 1.35rem;
  padding-left: 16px;
  max-width: none;
}
.projects__intro .section__lead {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 12px;
  padding-left: 16px;
  font-size: 0.9rem;
}
.projects-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  padding: 64px 0 24px;
}
.project-slide {
  flex: 0 0 auto;
  width: min(38vw, 420px);
  opacity: 0.45;
  transform: scale(0.86);
  transition: opacity var(--motion-med) var(--ease-out), transform var(--motion-med) var(--ease-out);
}
.project-slide.is-active {
  opacity: 1;
  transform: scale(1);
  width: min(46vw, 520px);
}
.project-slide img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.project-slide h3 {
  margin-top: 12px;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}
.project-slide p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin-top: 4px;
}
.projects-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.projects-nav button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.projects-nav button:hover { background: var(--navy-hover); }
.projects-nav svg { width: 16px; height: 16px; }

/* Process */
.process .section__title {
  max-width: 18ch;
  margin-bottom: 40px;
}
.process-list { display: grid; gap: 0; }
.process-list li {
  display: grid;
  grid-template-columns: 120px 1fr 220px;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--outline);
  letter-spacing: -0.04em;
}
.process-list h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.process-list p {
  color: var(--ink-soft);
  max-width: 48ch;
  font-size: 0.95rem;
}
.process-list__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

/* Lead form band */
.lead {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.lead__ghost {
  display: none;
}
.lead__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  max-width: 22ch;
  margin-bottom: 28px;
  position: relative;
}
.lead-form {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 420px;
}
.lead-form input {
  border: 0;
  background: var(--bg-soft);
  padding: 16px 18px;
  outline: none;
}
.lead-form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.lead-form__check input { margin-top: 3px; }

/* Page hero (inner) */
.page-hero {
  padding: 48px 0 20px;
  position: relative;
  overflow: hidden;
}
.page-hero__watermark {
  position: absolute;
  right: 4%;
  top: 10%;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(0, 0, 0, 0.04);
  text-transform: uppercase;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: 10ch;
}
.page-hero__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 16ch;
  margin-bottom: 16px;
  position: relative;
}
.page-hero__text {
  color: var(--ink-soft);
  max-width: 46ch;
  font-size: 1.05rem;
  position: relative;
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card__body {
  padding: 22px 22px 10px;
  display: grid;
  gap: 10px;
}
.service-card h3 { font-size: 1.05rem; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; }
.service-card .btn { margin: 0 22px 22px; justify-self: start; }

/* Gallery / about */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.gallery-grid img:first-child { height: 100%; min-height: 420px; grid-row: span 2; }
.stat-pill {
  display: inline-grid;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  padding: 22px 26px;
  margin-top: 24px;
}
.stat-pill strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}
.stat-pill span { font-size: 0.9rem; opacity: 0.8; }

.team-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
}
.team-aside {
  background: var(--navy);
  color: #fff;
  padding: 36px 28px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.team-aside h2 { color: #fff; font-size: 1.45rem; max-width: 12ch; }
.team-aside p { color: rgba(255, 255, 255, 0.72); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.team-card { display: grid; gap: 8px; }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(0.2);
}
.team-card h3 {
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}
.team-card__role {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Contacts */
.contact-phone-band {
  background: var(--navy);
  color: #fff;
  padding: 36px 40px;
  display: grid;
  gap: 10px;
  margin: 28px 0 48px;
}
.contact-phone-band a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.contact-phone-band p { color: rgba(255, 255, 255, 0.7); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}
.contact-info,
.contact-form {
  border: 1px solid var(--line);
  padding: 32px 28px;
}
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form span {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  outline: none;
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-wide-photo {
  margin-top: 40px;
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* Office / map */
.office {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}
.office__info {
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: grid;
  align-content: start;
  gap: 14px;
}
.office__info .section__title { max-width: 12ch; }
.office__address {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.35;
  max-width: 22ch;
}
.office__meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.office__map {
  min-height: 360px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-soft);
}
.office__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

/* Footer */
.site-footer {
  position: relative;
  background: #f7f7f7;
  color: var(--ink);
  padding: 72px 0 36px;
  margin-top: 40px;
  overflow: hidden;
}
.site-footer__watermark {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  pointer-events: none;
}
.footer-house {
  position: relative;
  z-index: 1;
  width: min(72%, 720px);
  margin: 0 auto 36px;
}
.footer-house img {
  width: 100%;
  object-fit: cover;
}
.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  justify-self: center;
}
.footer-cols a {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.footer-cols a:hover { color: var(--ink); }
.footer-contacts {
  text-align: right;
  display: grid;
  gap: 8px;
}
.footer-contacts a {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.footer-contacts p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 28ch;
  justify-self: end;
}
.footer-policies {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.footer-policy__title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.footer-policy__text {
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.footer-copy {
  position: relative;
  z-index: 1;
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(26, 26, 26, 0.55);
}
.modal.is-open { display: grid; }
.modal__card {
  background: #fff;
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.modal__card h3 { margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.modal__card p { color: var(--ink-soft); margin-bottom: 20px; }

/* Cookie */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: none;
  justify-content: center;
  pointer-events: none;
}
.cookie-bar.is-visible { display: flex; }
.cookie-bar__inner {
  pointer-events: auto;
  width: min(100%, 900px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 14px 14px 18px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: cookie-rise 0.45s var(--ease-out) both;
}
.cookie-bar__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.cookie-bar__icon svg { width: 22px; height: 22px; }
.cookie-bar__text { flex: 1 1 auto; min-width: 0; }
.cookie-bar__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: none;
  margin-bottom: 2px;
}
.cookie-bar__desc {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.cookie-bar__btn {
  flex: 0 0 auto;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  background: #fff;
  color: var(--ink);
  padding: 12px 20px;
}
.cookie-bar__btn:hover { background: #eee; }

@keyframes cookie-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Motion */
.page-enter .hero__title,
.page-enter .hero__aside,
.page-enter .hero__media {
  animation: rise-in 0.9s var(--ease-out) both;
}
.page-enter .hero__aside { animation-delay: 0.08s; }
.page-enter .hero__media { animation-delay: 0.14s; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal, .reveal-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--motion-med) var(--ease-out), transform var(--motion-med) var(--ease-out);
}
.reveal.is-inview, .reveal-stagger.is-inview {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-inview > * {
  animation: rise-in 0.7s var(--ease-out) both;
}
.reveal-stagger.is-inview > *:nth-child(2) { animation-delay: 0.06s; }
.reveal-stagger.is-inview > *:nth-child(3) { animation-delay: 0.12s; }
.reveal-stagger.is-inview > *:nth-child(4) { animation-delay: 0.18s; }
.reveal-stagger.is-inview > *:nth-child(5) { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-enter .hero__title,
  .page-enter .hero__aside,
  .page-enter .hero__media,
  .reveal-stagger.is-inview > *,
  .cookie-bar__inner { animation: none; }
  .reveal, .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero__top,
  .needs__grid,
  .features-grid,
  .service-grid,
  .team-layout,
  .team-grid,
  .gallery-grid,
  .contact-grid,
  .office,
  .footer-top,
  .footer-cols,
  .footer-policies,
  .facts-collage {
    grid-template-columns: 1fr;
  }
  .feature-card--wide { max-width: none; }
  .facts-collage { gap: 12px; }
  .fact-box,
  .fact-box:nth-of-type(1),
  .fact-box:nth-of-type(2),
  .fact-box:nth-of-type(3) { transform: none; }
  .facts-collage__img,
  .facts-collage__img--tall { height: 220px; }
  .process-list li { grid-template-columns: 72px 1fr; }
  .process-list__img { display: none; }
  .needs__inset { position: static; width: 55%; margin-top: -40px; margin-left: auto; }
  .gallery-grid img:first-child { grid-row: auto; min-height: 240px; height: 240px; }
  .footer-contacts { text-align: left; }
  .footer-contacts p { justify-self: start; }
  .project-slide,
  .project-slide.is-active { width: min(78vw, 420px); }
  .footer-house { width: 90%; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; justify-self: end; }
  .site-header__inner {
    grid-template-columns: auto auto;
  }
  .site-header__inner .btn--ghost { display: none; }
  .nav {
    position: fixed;
    inset: 88px 16px auto;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    z-index: 50;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px 14px; }
  .hero__top { gap: 20px; }
  .hero__title .line:nth-child(2),
  .hero__title .line:nth-child(3) { margin-left: 0; }
  .hero__media { aspect-ratio: 4 / 5; }
  .contact-phone-band,
  .contact-info,
  .contact-form,
  .team-aside { padding: 28px 20px; }
  .cookie-bar__inner { flex-wrap: wrap; }
  .cookie-bar__btn { width: 100%; }
}

/* Legal pages + clickable footer policies */
a.policy-block,
a.footer-policy {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
a.policy-block:hover,
a.footer-policy:hover {
  transform: translateY(-2px);
}
.legal-page {
  padding: 72px 0 96px;
}
.legal-page__inner {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.92rem;
  opacity: 0.75;
}
.legal-back:hover { opacity: 1; }
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  max-width: 18ch;
}
.legal-updated {
  color: var(--ink-soft, #666);
  font-size: 0.92rem;
  margin-bottom: 36px;
  line-height: 1.5;
}
.legal-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.legal-body h2 {
  font-size: 1.15rem;
  margin: 32px 0 12px;
  text-transform: none;
  letter-spacing: 0;
}
.legal-body p {
  margin: 0 0 14px;
  line-height: 1.65;
  color: var(--ink-soft, #444);
}
.legal-body ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
  list-style: disc;
}
.legal-body li {
  margin-bottom: 8px;
  line-height: 1.55;
  color: var(--ink-soft, #444);
}
.legal-body strong { color: inherit; }

/* size / text length guards */
#feature-1-image,
#feature-2-image,
#feature-3-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

#gallery-1-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

#gallery-2-image,
#gallery-3-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

#footer-address {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

/* Dimensions intrinsèques sans déformation des images responsives. */


.form-status{grid-column:1/-1;flex-basis:100%;overflow-wrap:anywhere;}
