@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("assets/fonts/archivo-variable-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("assets/fonts/material-symbols-rounded.woff2") format("woff2");
}

:root {
  --red: #ed1724;
  --red-dark: #b80f19;
  --blue: #0c3154;
  --blue-dark: #061f36;
  --ink: #17191a;
  --charcoal: #202326;
  --muted: #626b70;
  --line: #d9d2c5;
  --paper: #fffdf8;
  --sand: #edf3f7;
  --timber: #c7954e;
  --site: #e8eef4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(14, 19, 22, 0.15);
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(12, 49, 84, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 49, 84, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper) 0%, #eef4f8 100%);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: "Archivo", "Segoe UI", Aptos, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.skip-link,
.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;
}

.skip-link:focus {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius-sm);
}

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

.section-pad {
  padding: 76px 0;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal[data-reveal-style="soft-scale"] {
  transform: translate3d(0, 22px, 0) scale(0.965);
}

.reveal[data-reveal-style="soft-scale"].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 44px;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(34, 39, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(34, 39, 42, 0.08);
}

.brand {
  display: inline-flex;
  width: fit-content;
}

.brand img {
  width: 142px;
  border-radius: 4px;
}

.menu-toggle {
  display: inline-grid;
  place-content: center;
  justify-self: end;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 21px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.main-nav,
.header-cta {
  display: none;
  margin-right: 18px;
}

.main-nav.is-open {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  padding-top: 8px;
}

.main-nav a {
  padding: 11px 10px;
  color: var(--charcoal);
  font-weight: 800;
  border-radius: var(--radius-sm);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red);
  background: rgba(237, 23, 36, 0.08);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(2.05rem, 4.1vw, 3.55rem);
  font-weight: 940;
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  font-weight: 920;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 900;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 900;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 18px 38px rgba(237, 23, 36, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-ghost {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(12, 49, 84, 0.22);
}

.hero {
  position: relative;
  padding: 38px 0 54px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(112deg, rgba(237, 23, 36, 0.1), transparent 31%),
    linear-gradient(155deg, transparent 0 57%, rgba(12, 49, 84, 0.18) 57% 72%, transparent 72%);
}

.hero::after {
  content: "CHARPENTE · MENUISERIE";
  position: absolute;
  right: -0.2em;
  bottom: 120px;
  z-index: -1;
  color: rgba(12, 49, 84, 0.055);
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.hero-layout {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  padding: 12px 0 0;
}

.hero-text {
  max-width: 620px;
  color: #4f5c61;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.hero-media {
  position: relative;
  min-height: 320px;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 16% -8px 7% 18%;
  z-index: -1;
  background: var(--blue);
  border-radius: var(--radius);
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(12, 49, 84, 0.18);
}

.hero-stamp {
  position: absolute;
  right: clamp(34px, 7vw, 82px);
  bottom: clamp(-18px, -1vw, -8px);
  z-index: 3;
  width: clamp(51px, 6.9vw, 78px);
  height: auto;
  margin: 0;
  transform: rotate(-5deg);
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.18));
}

.hero-mascot {
  display: none;
}

.proof-strip {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  color: var(--ink);
}

.proof-item {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(0, 95, 159, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(34, 39, 42, 0.06);
}

.proof-item::before {
  align-self: center;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius-sm);
  font-family: "Material Symbols Rounded";
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.proof-item:first-child::before {
  content: "location_on";
}

.proof-item:last-child::before {
  content: "schedule";
}

.proof-item + .proof-item {
  border-top: 0;
}

.proof-text {
  display: grid;
  gap: 2px;
  margin: 0;
}

.proof-strip span {
  display: block;
  margin-bottom: 0;
  color: var(--blue);
  font-size: 0.74rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.proof-strip strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.04rem, 2vw, 1.34rem);
  line-height: 1.12;
  text-wrap: balance;
}

.intro {
  color: #fff;
  background: #202326;
}

.intro h2,
.intro h3 {
  color: #fff;
}

.intro p,
.intro .eyebrow {
  color: #dce3e5;
}

.intro .eyebrow {
  color: #4369b5;
}

.intro-map {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: min(100%, 900px);
  overflow: visible;
  border-radius: 0;
}

.intro-map img {
  display: block;
  width: min(100%, 900px);
  max-width: 100%;
  height: auto;
  max-height: min(280px, 42vh);
  object-fit: contain;
  object-position: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
}

.intro-content {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.intro-content h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3.05vw, 2.45rem);
  line-height: 1.02;
}

.about-copy h2 {
  font-size: clamp(1.85rem, 3.8vw, 3.05rem);
}

.intro-grid,
.about-grid,
.materials-grid,
.why-layout,
.process-layout,
.faq-grid,
.contact-layout {
  display: grid;
  gap: 34px;
}

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

.intro .intro-text {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

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

.about-card {
  position: relative;
}

.about-card::after {
  display: none;
}

.about-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.about-copy p {
  font-size: 1.03rem;
}

.qualification-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 0;
}

.qualification-panel img {
  width: min(42vw, 180px);
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.services,
.projects,
.faq {
  background: var(--sand);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.services-compact {
  padding-top: clamp(54px, 8vw, 82px);
  padding-bottom: clamp(58px, 8vw, 88px);
}

.services-compact .section-head {
  display: grid;
  gap: 12px 48px;
  max-width: none;
  margin-bottom: 24px;
}

.services-compact .section-head h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 0.98;
}

.services-compact .section-head p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
}

.service-board {
  display: grid;
  gap: 16px;
}

.service-feature,
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(34, 39, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(34, 39, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-feature:hover,
.service-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(34, 39, 42, 0.14);
}

.service-feature::after,
.service-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 5px;
  background: var(--blue);
  border-radius: 999px;
  opacity: 0.95;
  transform-origin: center;
  transition: opacity 180ms ease, transform 220ms ease;
}

.service-feature:hover::after,
.service-feature:focus::after,
.service-card:hover::after,
.service-card:focus::after {
  opacity: 0;
  transform: scaleX(0.72);
}

.service-feature img {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

.service-feature,
.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
}

.service-feature {
  display: grid;
  align-items: center;
  min-height: auto;
  background: #fff;
}

.service-feature p {
  max-width: 54rem;
  color: var(--muted);
}

.service-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius-sm);
  font-weight: 950;
}

.service-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  padding: 9px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius-sm);
}

.service-materials {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(0, 95, 159, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(34, 39, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(34, 39, 42, 0.08);
  scroll-margin-top: 110px;
}

.service-materials h3 {
  max-width: 620px;
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.45vw, 2.15rem);
  line-height: 1.02;
}

.service-materials p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
}

.diagnostic {
  background: var(--paper);
  color: #fff;
}

.diagnostic h2,
.diagnostic h3 {
  color: #fff;
}

.diagnostic-copy h2 {
  max-width: 560px;
  font-size: clamp(1.9rem, 3vw, 3.15rem);
  line-height: 0.98;
}

.diagnostic p,
.diagnostic .eyebrow {
  color: #dce3e5;
}

.diagnostic-copy p:not(.eyebrow) {
  max-width: 540px;
  margin-top: 18px;
  font-size: 1.03rem;
}

.diagnostic-layout {
  display: grid;
  gap: 34px;
  padding: clamp(24px, 4.6vw, 58px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(0, 95, 159, 0.34), transparent 32%),
    radial-gradient(circle at 88% 8%, rgba(67, 105, 181, 0.18), transparent 28%),
    var(--charcoal);
  background-size: 38px 38px, 38px 38px, auto, auto;
  border: 1px solid rgba(34, 39, 42, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(34, 39, 42, 0.18);
}

.diagnostic-tool {
  padding: clamp(12px, 2vw, 18px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.diagnostic-tabs {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.diagnostic-tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  font-weight: 900;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.diagnostic-tab .material-symbols-rounded {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #cfe9ff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9px;
}

.diagnostic-tab:hover,
.diagnostic-tab:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.diagnostic-tab.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(237, 23, 36, 0.22);
}

.diagnostic-tab.is-active .material-symbols-rounded {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.diagnostic-panel {
  display: none;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(0, 95, 159, 0.1), transparent 50%),
    #fffdf8;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.diagnostic-panel[hidden] {
  display: none;
}

.diagnostic-panel.is-active {
  display: block;
  animation: diagnosticPanelIn 240ms ease both;
}

.diagnostic-panel .diagnostic-panel-intro {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-weight: 750;
}

.diagnostic-cta {
  margin-top: 24px;
}

.diagnostic-panel-cta {
  margin-top: 18px;
  width: 100%;
  justify-content: center;
}

.blueprint {
  display: grid;
  gap: 12px;
}

.blueprint div {
  min-height: 158px;
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(0, 95, 159, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 95, 159, 0.08) 1px, transparent 1px),
    #fff;
  background-size: 18px 18px, 18px 18px, auto;
  border: 1px solid rgba(0, 95, 159, 0.14);
  border-radius: var(--radius-sm);
}

.blueprint .material-symbols-rounded {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--blue);
  border-radius: var(--radius-sm);
}

.blueprint strong,
.blueprint small {
  display: block;
}

.blueprint strong {
  font-size: 1.08rem;
}

.blueprint small {
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.45;
}

@keyframes diagnosticPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes methodTextIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.materials {
  background:
    linear-gradient(135deg, rgba(0, 95, 159, 0.08), transparent 32%),
    var(--paper);
}

.material-stack {
  display: grid;
  gap: 12px;
}

.material-stack div {
  overflow: hidden;
  padding: 0 0 16px;
  background: #fff;
  border-left: 6px solid var(--timber);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 28px rgba(34, 39, 42, 0.07);
}

.material-stack img {
  display: block;
  width: 100%;
  aspect-ratio: 2.05 / 1;
  object-fit: cover;
  margin: 0 0 14px;
  background: var(--sand);
}

.material-stack strong,
.material-stack span {
  padding-inline: 16px;
}

.material-stack div:nth-child(2) {
  border-left-color: var(--blue);
}

.material-stack div:nth-child(3) {
  border-left-color: var(--red);
}

.material-stack div:nth-child(4) {
  border-left-color: var(--charcoal);
}

.material-stack strong,
.material-stack span {
  display: block;
}

.material-stack strong {
  font-size: 1.03rem;
}

.material-stack span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.why {
  color: var(--ink);
  background: #fcf4e6;
}

.why h2 {
  color: var(--ink);
}

.why .eyebrow {
  color: var(--red-dark);
}

.why-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.why-copy .eyebrow {
  justify-content: center;
}

.why-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 22px);
  width: 100%;
}

.why-badge {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 270px;
  padding: clamp(20px, 2.8vw, 28px) clamp(16px, 2vw, 22px);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    #fcf4e6;
  border: 1px solid rgba(0, 95, 159, 0.12);
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(34, 39, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.why-badge::after {
  content: "";
  position: absolute;
  inset: auto 26px 18px;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
  opacity: 0.85;
}

.why-badge:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 95, 159, 0.24);
  box-shadow: 0 26px 62px rgba(34, 39, 42, 0.12);
}

.why-badge img {
  width: clamp(78px, 8vw, 116px);
  height: auto;
  margin-bottom: 18px;
}

.why-badge h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  line-height: 1.08;
}

.why-badge p {
  max-width: 18rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.why-schema {
  position: relative;
  width: min(100%, 675px);
  margin: 0 auto;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(252, 244, 230, 0.92)),
    #fcf4e6;
  border: 1px solid rgba(0, 95, 159, 0.16);
  border-radius: 20px;
  box-shadow: 0 26px 58px rgba(34, 39, 42, 0.13);
}

.why-schema::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(0, 95, 159, 0.16);
  border-radius: 14px;
  pointer-events: none;
}

.why-schema::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 34px;
  width: 78px;
  height: 7px;
  background: var(--blue);
  border-radius: 999px;
  box-shadow: 104px 0 0 rgba(12, 49, 84, 0.45);
}

.why-schema img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 12px;
}

.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 26px;
}

.gallery-filter {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(34, 39, 42, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(34, 39, 42, 0.06);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.gallery-filter:hover,
.gallery-filter:focus-visible {
  color: var(--blue);
  border-color: rgba(0, 95, 159, 0.36);
  transform: translateY(-2px);
}

.gallery-filter.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.project-bento {
  display: grid;
  gap: 14px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: var(--charcoal);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(34, 39, 42, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.project-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04);
}

.project-card.is-hidden {
  display: none;
}

.project-card div {
  position: absolute;
  inset: auto 12px 12px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(12, 49, 84, 0.84);
  border-left: 5px solid var(--red);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.project-card div span {
  display: block;
  margin-bottom: 5px;
  color: #dceef7;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h3,
.project-card p {
  color: #fff;
  margin-bottom: 0;
}

.project-card p {
  color: #d7e0e4;
}

.gallery-more {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.gallery-more.is-hidden {
  display: none;
}

.gallery-more-btn {
  background: #fff;
}

.process {
  background:
    radial-gradient(circle at 18% 18%, rgba(12, 49, 84, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fcf4e6 100%);
}

.process-head {
  max-width: 780px;
}

.process-head p:last-child {
  max-width: 66rem;
  margin-bottom: 0;
}

.method-tool {
  display: grid;
  gap: 18px;
}

.method-progress {
  overflow: hidden;
  height: 8px;
  background: rgba(0, 95, 159, 0.12);
  border-radius: 999px;
}

.method-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #29a8e8);
  border-radius: inherit;
  transition: width 260ms ease;
}

.method-workbench {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.method-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 58vw, 560px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.method-visual::before {
  display: none;
}

.method-visual img {
  position: relative;
  z-index: 1;
  width: min(132%, 1080px);
  max-width: none;
  height: clamp(300px, 48vw, 560px);
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 220ms ease, transform 220ms ease;
}

.method-visual img.is-changing {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}

.method-steps {
  display: grid;
  gap: 12px;
}

.method-step {
  display: grid;
  grid-template-columns: auto 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(34, 39, 42, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(34, 39, 42, 0.06);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.method-step:hover,
.method-step:focus-visible {
  border-color: rgba(0, 95, 159, 0.28);
  box-shadow: 0 16px 34px rgba(34, 39, 42, 0.1);
  transform: translateY(-2px);
}

.method-step.is-active {
  background: #fff;
  border-color: rgba(237, 23, 36, 0.28);
  box-shadow: 0 20px 46px rgba(237, 23, 36, 0.12);
}

.method-step.is-active strong,
.method-step.is-active small {
  animation: methodTextIn 260ms ease both;
}

.method-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: rgba(0, 95, 159, 0.08);
  border-radius: 999px;
  font-weight: 950;
  line-height: 1;
}

.method-step.is-active .method-number {
  color: #fff;
  background: var(--red);
}

.method-step img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.method-step.is-active img {
  opacity: 1;
  transform: scale(1.08);
}

.method-step strong,
.method-step small {
  display: block;
}

.method-step strong {
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.15;
}

.method-step small {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(34, 39, 42, 0.08);
  border-radius: var(--radius-sm);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
}

details p {
  padding: 0 20px 20px;
  margin: 0;
}

.contact {
  background:
    linear-gradient(150deg, rgba(12, 49, 84, 0.08), transparent 30%),
    linear-gradient(330deg, rgba(67, 105, 181, 0.12), transparent 36%),
    var(--paper);
}

.contact-card {
  display: grid;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.contact-card img {
  width: min(230px, 100%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 40px rgba(12, 49, 84, 0.12);
  margin-inline: auto;
}

.contact-card > div {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.contact-card a,
.contact-card span {
  display: block;
  margin: 7px 0;
  color: var(--ink);
  font-weight: 850;
}

.contact-card span {
  color: var(--muted);
  font-weight: 700;
}

.contact-card .contact-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 49, 84, 0.14);
  border-radius: 12px;
  font-size: clamp(0.86rem, 1vw, 0.98rem);
  line-height: 1.34;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 18px rgba(34, 39, 42, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-card .contact-line:hover,
.contact-card .contact-line:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(12, 49, 84, 0.3);
  box-shadow: 0 12px 26px rgba(34, 39, 42, 0.09);
}

.contact-line .material-symbols-rounded,
.footer-contact-line .material-symbols-rounded {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  color: var(--blue);
  background: transparent;
  border-radius: 0;
  font-size: 1.34rem;
  font-weight: 300;
  line-height: 1;
}

.contact-form {
  padding: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.two-cols {
  grid-template-columns: 1fr;
}

label {
  color: var(--charcoal);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 95, 159, 0.15);
  background: #fff;
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.privacy-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  padding: 54px 0 24px;
  color: #fff;
  background: var(--charcoal);
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.site-footer img {
  width: 150px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 4px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
  color: #d4dde1;
}

.site-footer a {
  color: #fff;
  font-weight: 850;
}

.site-footer .footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0;
  line-height: 1.35;
}

.contact-card .contact-line .material-symbols-rounded,
.site-footer .footer-contact-line .material-symbols-rounded {
  display: inline-grid;
}

.footer-link {
  display: inline-flex;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 22px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom a {
  font-weight: 500;
}

.legal-dialog {
  width: min(100% - 32px, 620px);
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.legal-dialog::backdrop {
  background: rgba(23, 25, 26, 0.62);
  backdrop-filter: blur(5px);
}

.legal-modal {
  position: relative;
  padding: clamp(24px, 5vw, 38px);
  background: #fffdf8;
  border: 1px solid rgba(34, 39, 42, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(34, 39, 42, 0.1);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.legal-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.legal-list div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(34, 39, 42, 0.1);
}

.legal-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-list dd {
  margin: 0;
  font-weight: 800;
}

@media (min-width: 640px) {
  .hero-actions,
  .proof-strip,
  .qualification-panel,
  .two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .why-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-strip,
  .service-board,
  .material-stack,
  .project-bento,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .service-feature {
    grid-column: 1 / -1;
  }

  .services-compact .service-feature {
    grid-column: auto;
    min-height: 132px;
  }

  .method-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .section-pad {
    padding: 108px 0;
  }

  .site-header {
    padding: 7px 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 58px;
    padding: 6px 8px;
  }

  .brand img {
    width: 136px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav,
  .header-cta {
    display: flex;
    align-items: center;
  }

  .main-nav {
    justify-content: center;
    gap: 6px;
  }

  .main-nav a {
    position: relative;
    padding: 9px 12px;
    font-size: 0.9rem;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 6px;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
  }

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

  .header-cta {
    min-height: 42px;
    padding: 9px 14px;
    color: #fff;
    background: var(--red);
    border-radius: var(--radius-sm);
    font-weight: 950;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 70px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.98fr) minmax(430px, 1.02fr);
    align-items: start;
    gap: 48px;
  }

  .hero-copy {
    padding: 12px 0 18px;
  }

  .hero-media {
    min-height: 300px;
    padding-top: 18px;
  }

  .hero-mascot {
    display: none !important;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .proof-item {
    padding: 24px 30px 28px;
  }

  .proof-item + .proof-item {
    border-top: 0;
    border-left: 0;
  }

  .about-grid,
  .faq-grid,
  .contact-layout {
    grid-template-columns: 0.88fr 1.12fr;
    gap: 72px;
    align-items: start;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
    align-items: center;
  }

.why-layout {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 34px;
}

.why-copy {
  margin: 0 auto;
  text-align: center;
}

.why-copy .eyebrow {
  justify-content: center;
}

  .faq-grid > div:first-child {
    order: 2;
  }

  .faq-list {
    order: 1;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .process-head {
    max-width: 640px;
  }

  .method-workbench {
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    gap: 28px;
  }

  .method-steps {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .materials-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .materials-intro {
    max-width: 760px;
  }

  .service-board {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
  }

  .service-feature,
  .service-card {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    height: 184px;
    min-height: 184px;
    padding: 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    cursor: default;
    transform: none;
    transition:
      flex-grow 520ms cubic-bezier(0.19, 1, 0.22, 1),
      box-shadow 240ms ease,
      border-color 240ms ease,
      background 240ms ease;
    will-change: flex-grow;
  }

  .service-board > article:hover,
  .service-board > article:focus {
    flex-grow: 2.9;
    transform: none;
    background: #fff;
    border-color: rgba(0, 95, 159, 0.24);
    box-shadow: 0 18px 42px rgba(34, 39, 42, 0.12);
  }

  .service-board > article:focus {
    outline: 3px solid rgba(0, 95, 159, 0.2);
    outline-offset: 3px;
  }

  .service-board h3 {
    margin-bottom: 0;
    font-size: 0.92rem;
    line-height: 1.12;
  }

  .service-board p {
    max-height: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 0.86rem;
    line-height: 1.35;
    transform: translateY(5px);
    transition:
      max-height 420ms cubic-bezier(0.19, 1, 0.22, 1),
      margin-top 320ms ease,
      opacity 240ms ease,
      transform 320ms ease;
  }

  .service-board > article:hover p,
  .service-board > article:focus p {
    max-height: 118px;
    margin-top: 10px;
    opacity: 1;
    transform: translateY(0);
  }

  .service-board .service-icon,
  .service-board .service-index {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    padding: 0;
    color: #fff;
    background: var(--blue);
    border-radius: 8px;
    font-size: 1.15rem;
    line-height: 1;
  }

  .diagnostic-layout {
    grid-template-columns: 0.88fr 1.12fr;
    align-items: start;
    gap: 72px;
  }

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

  .service-feature {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .services-compact .service-feature {
    grid-column: auto;
  }

  .material-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-badges {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .service-materials {
    grid-template-columns: 0.9fr 1.7fr;
    align-items: start;
  }

  .why-copy h2 {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.75rem, 2.35vw, 2.55rem);
    text-align: center;
  }

  .project-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .project-wide {
    grid-column: span 2;
  }

  .project-wide img {
    min-height: 340px;
  }

  .steps {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 0;
    padding-top: 24px;
  }

  .steps::before {
    content: "";
    position: absolute;
    top: 51px;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), rgba(0, 95, 159, 0.18));
  }

  .steps li {
    display: block;
    padding: 0 18px 0 0;
    background: transparent;
  }

  .steps li::before {
    display: none;
  }

  .steps span {
    margin-bottom: 20px;
  }

  .steps p {
    max-width: 18.5rem;
  }

  .contact-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1fr 1.1fr 0.9fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1280px) {
  h1 {
    max-width: 620px;
    font-size: 3.35rem;
  }

  .hero-text {
    max-width: 590px;
  }

  .hero-photo {
    max-height: 390px;
  }

  .hero-mascot {
    right: -118px;
    bottom: 6px;
    width: 370px;
    max-width: 52%;
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none !important;
  }
}

/* Direction 2026: a single dark, photographic identity for Lucas & Associes. */
:root {
  --ink: #f1f5f6;
  --charcoal: #0d171d;
  --muted: #b5c3cc;
  --line: rgba(202, 220, 230, 0.18);
  --paper: #101b22;
  --sand: #14232d;
  --site: #0b1419;
  --surface: #101b22;
  --surface-alt: #162733;
  --panel: #1a2c37;
  --panel-hover: #203741;
  --white: #f3f6f7;
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.26);
}

html,
body {
  background: var(--site);
}

body {
  color: var(--ink);
  background-image: none;
}

h1,
h2,
h3 {
  color: var(--ink);
}

p {
  color: var(--muted);
}

.section-pad {
  padding-block: clamp(76px, 9vw, 132px);
}

.site-header {
  padding: 0;
  background: rgba(8, 17, 23, 0.86);
  border-bottom: 1px solid rgba(224, 238, 244, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 70px;
  padding: 6px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand img {
  border-radius: 0;
}

.main-nav a {
  color: #e3edf1;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: rgba(237, 23, 36, 0.16);
}

.menu-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.menu-toggle span:not(.sr-only) {
  background: #fff;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: var(--red);
  box-shadow: none;
}

.header-cta:hover,
.header-cta:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--red-dark);
}

.btn-ghost {
  color: #fff;
  background: rgba(8, 17, 23, 0.36);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.68);
}

.eyebrow {
  display: none;
}

.hero .eyebrow,
.atelier-copy .eyebrow {
  display: inline-flex;
  color: #d5e5ec;
}

.hero.hero-moulin {
  min-height: min(780px, calc(100dvh - 1px));
  padding: 0;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 20, 29, 0.94) 0%, rgba(7, 20, 29, 0.8) 41%, rgba(7, 20, 29, 0.25) 74%, rgba(7, 20, 29, 0.5) 100%),
    linear-gradient(0deg, rgba(6, 18, 25, 0.8), transparent 48%),
    url("assets/web/photos/moulin-fini.webp") center / cover no-repeat;
}

.hero.hero-moulin::before,
.hero.hero-moulin::after {
  content: none;
}

.hero-layout {
  grid-template-columns: minmax(0, 720px);
  align-items: center;
  min-height: min(650px, calc(100dvh - 100px));
  padding-block: clamp(92px, 12vh, 136px) clamp(44px, 8vh, 82px);
}

.hero-copy {
  padding: 0;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #f7fafb;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.hero-text {
  max-width: 38rem;
  color: #d4e1e7;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  margin-top: 28px;
}

.hero-media {
  display: none;
}

.proof-strip {
  position: relative;
  z-index: 1;
  width: min(100% - 34px, var(--container));
  margin-top: 0;
  padding-bottom: 28px;
}

.proof-item {
  padding: 16px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(228, 239, 244, 0.34);
  border-radius: 0;
  box-shadow: none;
}

.proof-item::before {
  display: none;
}

.proof-strip span {
  color: #b7cbd5;
}

.proof-strip strong {
  color: #f2f6f7;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.atelier-strip {
  padding-block: clamp(76px, 10vw, 150px);
  background: #0c171d;
}

.atelier-layout {
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.atelier-copy h2 {
  max-width: 520px;
  font-size: clamp(2.15rem, 4.4vw, 4.2rem);
}

.atelier-copy p:not(.eyebrow) {
  max-width: 36rem;
  font-size: 1.06rem;
}

.atelier-gallery {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(2, minmax(156px, 1fr));
  gap: 12px;
}

.atelier-shot {
  min-height: 156px;
  margin: 0;
  overflow: hidden;
  background: #182832;
}

.atelier-shot-main {
  grid-row: span 2;
}

.atelier-shot img {
  width: 100%;
  height: 100%;
  min-height: 156px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.82);
  transition: transform 640ms cubic-bezier(0.16, 1, 0.3, 1), filter 640ms ease;
}

.atelier-shot:hover img {
  transform: scale(1.045);
  filter: saturate(0.9) contrast(1.04) brightness(0.94);
}

.intro,
.about,
.services,
.materials,
.diagnostic,
.why,
.projects,
.process,
.faq,
.contact {
  color: var(--ink);
  background: var(--surface);
}

.services,
.diagnostic,
.projects,
.contact {
  background: var(--surface-alt);
}

.intro {
  background: #0e1a21;
}

.intro p,
.intro .intro-text,
.about-copy p,
.section-head p,
.process-head p,
.faq p,
.contact-copy p,
.materials p,
.why-badge p {
  color: var(--muted);
}

.intro-map img {
  filter: brightness(1.08) contrast(1.04);
}

.about-card img {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.about-caption {
  color: #aebfc8;
}

.service-feature,
.service-card,
.service-materials,
.material-stack div,
.why-badge,
.diagnostic-panel,
.blueprint div,
.method-step,
.contact-card,
.contact-form,
.faq-list details {
  color: var(--ink);
  background: var(--panel);
  border-color: rgba(213, 229, 236, 0.13);
  box-shadow: none;
}

.service-feature:hover,
.service-card:hover,
.why-badge:hover,
.method-step:hover,
.method-step:focus-visible {
  background: var(--panel-hover);
  border-color: rgba(213, 229, 236, 0.28);
  box-shadow: none;
}

.service-feature p,
.service-card p,
.service-materials p,
.material-stack span,
.blueprint small,
.method-step small,
.faq-list details p,
.contact-card a,
.contact-card span {
  color: var(--muted);
}

.service-feature::after,
.service-card::after,
.why-badge::after {
  background: var(--red);
}

.service-index,
.service-icon,
.blueprint .material-symbols-rounded {
  color: #fff;
  background: var(--blue);
}

.service-materials {
  background: var(--panel);
}

.material-stack div {
  border-left-color: var(--red);
}

.material-stack div:nth-child(2),
.material-stack div:nth-child(3),
.material-stack div:nth-child(4) {
  border-left-color: var(--red);
}

.diagnostic-layout {
  background: #0c171d;
  border-color: rgba(213, 229, 236, 0.13);
  box-shadow: none;
}

.diagnostic-tool {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.diagnostic-panel {
  background: var(--panel);
  box-shadow: none;
}

.diagnostic-panel .diagnostic-panel-intro,
.blueprint strong,
.why-badge h3,
.method-step strong {
  color: var(--ink);
}

.diagnostic-tab {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.diagnostic-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: none;
}

.blueprint div {
  background-image: none;
}

.why-schema {
  background: var(--panel);
  border-color: rgba(213, 229, 236, 0.13);
}

.why-schema::before {
  border-color: rgba(213, 229, 236, 0.13);
}

.why-schema::after {
  background: var(--red);
  box-shadow: 104px 0 0 var(--red);
}

.gallery-filter {
  color: #d7e4ea;
  background: transparent;
  border-color: rgba(213, 229, 236, 0.25);
  box-shadow: none;
}

.gallery-filter:hover,
.gallery-filter:focus-visible,
.gallery-filter.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.project-card {
  background: #142630;
  border-radius: 0;
  box-shadow: none;
}

.project-card div {
  background: rgba(8, 18, 25, 0.84);
  border-left-color: var(--red);
  border-radius: 0;
}

.project-card:hover {
  box-shadow: none;
}

.gallery-more-btn {
  background: transparent;
}

.method-progress {
  background: rgba(213, 229, 236, 0.16);
}

.method-progress span {
  background: var(--red);
}

.method-visual,
.method-visual::before {
  background: #0d171d;
}

.method-visual img {
  mix-blend-mode: normal;
}

.contact-card .contact-line {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(213, 229, 236, 0.16);
}

.contact-card .contact-line:hover,
.contact-card .contact-line:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(213, 229, 236, 0.32);
  box-shadow: none;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  color: #f1f5f6;
  background: #101b22;
  border-color: rgba(213, 229, 236, 0.2);
}

.contact-form label,
.contact-form small,
.contact-form .form-status {
  color: var(--muted);
}

.site-footer {
  color: #d7e4ea;
  background: #081218;
}

.site-footer h2,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
}

@media (min-width: 960px) {
  .site-header {
    padding: 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 720px);
    align-items: center;
    gap: 0;
  }

  .proof-item + .proof-item {
    border-left: 1px solid rgba(228, 239, 244, 0.34);
    padding-left: 28px;
  }

  .atelier-layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .atelier-gallery {
    min-height: 500px;
  }

  .service-board > article:hover,
  .service-board > article:focus {
    background: var(--panel-hover);
    border-color: rgba(213, 229, 236, 0.28);
    box-shadow: none;
  }
}

@media (max-width: 639px) {
  .hero.hero-moulin {
    min-height: 720px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12.2vw, 3.45rem);
  }

  .atelier-gallery {
    grid-template-columns: 1fr 0.9fr;
  }
}

/* Final visual adjustments for the photographic direction. */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0;
  background: linear-gradient(180deg, rgba(4, 14, 20, 0.76), rgba(4, 14, 20, 0));
  border: 0;
  backdrop-filter: none;
}

.header-inner { min-height: 80px; }

.brand img {
  width: auto;
  height: clamp(52px, 4.5vw, 66px);
  max-width: 118px;
  object-fit: contain;
}

.main-nav a { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55); }
.header-cta { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22); }

.hero.hero-moulin {
  background:
    linear-gradient(90deg, rgba(7, 20, 29, 0.94) 0%, rgba(7, 20, 29, 0.8) 41%, rgba(7, 20, 29, 0.25) 74%, rgba(7, 20, 29, 0.5) 100%),
    linear-gradient(0deg, rgba(6, 18, 25, 0.8), transparent 48%),
    url("assets/web/photos/moulin-fini.webp") 8% center / cover no-repeat;
}

.hero-layout { padding-top: clamp(124px, 16vh, 160px); }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 32px;
}

.proof-item,
.proof-item + .proof-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(8, 18, 25, 0.66);
  border: 1px solid rgba(227, 240, 244, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.proof-item::before { display: inline-grid; place-items: center; }

.atelier-strip {
  display: grid;
  align-items: center;
  min-height: clamp(540px, 56.25vw, 760px);
  padding-block: clamp(48px, 5vw, 78px);
}

.atelier-layout { grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.18fr); }
.atelier-copy { max-width: 440px; }
.atelier-gallery { min-height: clamp(310px, 32vw, 450px); max-height: 450px; }
.atelier-shot img { min-height: 0; }

/* Keep the familiar coastal section in its former dark palette. */
.intro { color: #fff; background: #202326; }
.intro .eyebrow { display: inline-flex; color: #4369b5; }
.intro h2, .intro h3 { color: #fff; }
.intro p, .intro .intro-text { color: #dce3e5; }

/* Restore the original light process palette. */
.process {
  color: #17191a;
  background:
    radial-gradient(circle at 18% 18%, rgba(12, 49, 84, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fcf4e6 100%);
}

.process .eyebrow { display: inline-flex; color: #b80f19; }
.process h2, .process h3, .process .method-step strong { color: #17191a; }
.process p, .process .method-head p, .process .method-step small { color: #626b70; }
.process .method-progress { background: rgba(0, 95, 159, 0.12); }
.process .method-progress span { background: linear-gradient(90deg, var(--blue), #29a8e8); }
.process .method-visual, .process .method-visual::before { background: transparent; }

.process .method-step {
  color: #17191a;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(12, 49, 84, 0.14);
  box-shadow: none;
}

.process .method-step:hover,
.process .method-step.is-active {
  background: #fff;
  border-color: rgba(0, 95, 159, 0.42);
  box-shadow: 0 12px 24px rgba(13, 53, 79, 0.08);
}

.process .method-number { color: var(--blue); background: rgba(0, 95, 159, 0.1); }
.process .method-step.is-active .method-number { color: #fff; background: var(--blue); }

/* Give contact a decisive red surface without an internal decorative photo. */
.contact { color: #fff; background: linear-gradient(132deg, #ee1a28 0%, #cf1220 56%, #a80f1a 100%); }
.contact .eyebrow { display: inline-flex; color: #fff; }
.contact h2 { color: #fff; }
.contact p, .contact-copy p { color: rgba(255, 255, 255, 0.88); }

.contact-card {
  grid-template-columns: 1fr;
  margin-top: 28px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-card .contact-line {
  color: #fff;
  background: rgba(104, 8, 16, 0.32);
  border-color: rgba(255, 255, 255, 0.28);
}

.contact-card .contact-line span,
.contact-card .contact-line a,
.contact-card .contact-line .material-symbols-rounded { color: #fff; }

.contact-form {
  color: #1b2730;
  background: #f7f9fa;
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 42px rgba(82, 6, 14, 0.22);
}

.contact-form label,
.contact-form .form-note,
.contact-form .privacy-check,
.contact-form .form-status { color: #34454f; }

.contact-form input,
.contact-form textarea,
.contact-form select { color: #17232b; background: #fff; border-color: #c9d4d8; }
.contact-form .btn-primary { background: #0c3154; box-shadow: 0 10px 22px rgba(12, 49, 84, 0.24); }
.contact-form .btn-primary:hover { background: #092944; }

.site-footer {
  border-top: 0;
  background: linear-gradient(180deg, #0c3154 0%, #081a2a 34%, #060d12 100%);
}

@media (max-width: 760px) {
  .header-inner { min-height: 74px; }
  .main-nav.is-open { padding: 12px; background: rgba(6, 16, 22, 0.94); border: 1px solid rgba(227, 240, 244, 0.2); }
  .hero-layout { padding-top: 118px; }
  .proof-strip { grid-template-columns: 1fr; }
  .atelier-strip { min-height: 0; padding-block: 64px; }
  .atelier-layout { grid-template-columns: 1fr; }
  .atelier-gallery { min-height: 330px; }
}

/* Section links and framed work areas. */
.intro {
  background: linear-gradient(180deg, #0c171d 0%, #202326 11%, #202326 88%, #101b22 100%);
}

.process {
  color: var(--ink);
  background: var(--surface);
}

.process .eyebrow { color: #f05a63; }
.process h2 { color: #fff; }
.process p, .process .method-head p, .process .method-step small { color: var(--muted); }

.method-tool {
  padding: clamp(20px, 3vw, 42px);
  background: #0b171e;
  border: 1px solid rgba(213, 229, 236, 0.18);
  border-radius: 12px;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.18);
}

.process .method-visual {
  background: #142834;
  border: 1px solid rgba(213, 229, 236, 0.12);
  border-radius: 8px;
}

.process .method-step {
  color: var(--ink);
  background: var(--panel);
  border-color: rgba(213, 229, 236, 0.14);
}

.process .method-step:hover,
.process .method-step.is-active {
  background: var(--panel-hover);
  border-color: rgba(237, 23, 36, 0.5);
  box-shadow: none;
}

.process .method-step strong { color: #fff; }
.process .method-number { color: #dceef7; background: rgba(12, 49, 84, 0.86); }
.process .method-step.is-active .method-number { background: var(--red); }

.contact {
  color: var(--ink);
  background: var(--surface);
}

.contact .contact-layout {
  padding: clamp(28px, 5vw, 72px);
  background: linear-gradient(135deg, #ed1724 0%, #d51220 58%, #b30e1a 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.2);
}

.contact .eyebrow,
.contact h2 { color: #fff; }

.contact p,
.contact-copy p { color: rgba(255, 255, 255, 0.9); }

.contact .contact-card .contact-line {
  background: rgba(102, 8, 15, 0.32);
  border-color: rgba(255, 255, 255, 0.28);
}

.site-footer .footer-contact-line .material-symbols-rounded {
  color: var(--red);
}

@media (max-width: 760px) {
  .method-tool { padding: 16px; border-radius: 8px; }
  .contact .contact-layout { padding: 26px 20px; border-radius: 8px; }
}

/* Keep the method illustration on its original warm paper and simplify the footer. */
.process .method-visual {
  background: #fcf4e6;
}

.site-footer {
  background: var(--surface);
}

.site-footer img {
  background: transparent;
  border-radius: 0;
}

/* Editorial pass: calmer typography and give the real work more room. */
body,
button,
input,
select,
textarea {
  font-family: "Archivo", "Segoe UI", Aptos, Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1,
h2,
h3,
.btn,
.main-nav a,
.header-cta {
  font-family: "Archivo", "Segoe UI", Aptos, Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: 0;
}

h3,
.btn,
.header-cta,
.main-nav a {
  font-weight: 750;
}

.about .eyebrow,
.services .eyebrow,
.why .eyebrow,
.faq .eyebrow {
  display: none;
}

.atelier-strip {
  min-height: clamp(480px, 48vw, 680px);
}

.atelier-layout {
  grid-template-columns: minmax(260px, 0.72fr) minmax(480px, 1.28fr);
}

.atelier-gallery {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-rows: minmax(320px, 430px);
  min-height: 0;
  max-height: none;
}

.atelier-shot-main {
  grid-row: auto;
}

.atelier-shot {
  min-height: 0;
}

.atelier-shot img {
  min-height: 0;
}

.intro.section-pad {
  padding-block: clamp(68px, 7vw, 96px);
}

.intro-map img {
  max-height: 210px;
}

.projects .section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.projects .project-bento {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 48px) clamp(18px, 2.8vw, 38px);
}

.projects .project-card,
.projects .project-card.project-wide {
  display: grid;
  grid-template-rows: auto auto;
  grid-column: auto;
  min-height: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}

/* Keep the gallery limit effective after the editorial card layout is applied. */
.projects .project-card.is-hidden {
  display: none;
}

.projects .project-card:hover {
  box-shadow: none;
  transform: none;
}

.projects .project-card img,
.projects .project-wide img {
  width: 100%;
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.projects .project-card:hover img {
  transform: scale(1.018);
  filter: saturate(1.03) contrast(1.02);
}

.projects .project-card div {
  position: static;
  inset: auto;
  min-height: 0;
  padding: 15px 0 0;
  color: var(--ink);
  background: transparent;
  border-top: 2px solid var(--red);
  border-left: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.projects .project-card div span,
.projects .project-card h3,
.projects .project-card p {
  color: var(--ink);
}

.projects .project-card div span {
  margin-bottom: 6px;
  color: #ec6670;
}

.projects .project-card h3 {
  margin-bottom: 3px;
  font-size: clamp(1.12rem, 1.6vw, 1.4rem);
}

.projects .project-card p {
  color: var(--muted);
}

.gallery-more {
  margin-top: clamp(42px, 5vw, 68px);
}

.site-footer {
  padding-top: 46px;
}

@media (max-width: 760px) {
  .atelier-strip { min-height: 0; }
  .atelier-layout { grid-template-columns: 1fr; }
  .atelier-gallery { grid-template-rows: minmax(240px, 58vw); }
  .projects .project-bento { grid-template-columns: 1fr; gap: 34px; }
  .projects .project-card img,
  .projects .project-wide img { aspect-ratio: 1.3 / 1; }
}

/* Let the activity list read as a calm reference, not a second interactive tool. */
.services .service-board {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(213, 229, 236, 0.18);
}

.services .service-feature,
.services .service-card {
  display: block;
  min-height: 0;
  height: auto;
  padding: 26px 0 28px;
  overflow: visible;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(213, 229, 236, 0.18);
  border-radius: 0;
  box-shadow: none;
  cursor: default;
  transition: border-color 180ms ease, background-color 180ms ease;
  will-change: auto;
}

.services .service-feature::after,
.services .service-card::after {
  content: none;
}

.services .service-board > article:hover,
.services .service-board > article:focus {
  flex-grow: initial;
  transform: none;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(213, 229, 236, 0.36);
  box-shadow: none;
}

.services .service-board > article:focus {
  outline: 2px solid rgba(237, 23, 36, 0.55);
  outline-offset: 4px;
}

.services .service-board .service-icon,
.services .service-board .service-index {
  width: 38px;
  height: 38px;
  margin: 0 0 14px;
  padding: 0;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-size: 1.15rem;
}

.services .service-board h3 {
  margin-bottom: 7px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.18;
}

.services .service-board p {
  max-height: none;
  margin: 0;
  overflow: visible;
  color: var(--muted);
  opacity: 1;
  font-size: 0.92rem;
  line-height: 1.5;
  transform: none;
  transition: none;
}

.services .service-materials {
  margin-top: 52px;
  padding: 36px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(213, 229, 236, 0.18);
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 760px) {
  .services .service-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 34px;
  }

  .services .service-feature,
  .services .service-card {
    min-width: 0;
  }
}

/* Final mobile and accessibility polish. */
.gallery-filter,
.diagnostic-tab,
.method-step,
.btn,
.header-cta {
  min-height: 44px;
}

@media (max-width: 760px) {
  .gallery-tools {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-inline: -2px;
    padding: 4px 2px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: thin;
  }

  .gallery-filter {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .services .service-materials {
    margin-top: 38px;
    padding-top: 28px;
  }

  .material-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    padding-top: 38px;
  }
}

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

/* A little movement is enough: the work stays at the centre of the page. */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .hero.hero-moulin {
    background-position: center, center, 18% center;
    animation: heroBackdropSettle 12s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy.is-visible .eyebrow {
    animation: heroContentIn 460ms 40ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy.is-visible h1 {
    animation: heroContentIn 720ms 110ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy.is-visible .hero-text {
    animation: heroContentIn 600ms 210ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy.is-visible .hero-actions {
    animation: heroContentIn 520ms 300ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .projects .project-card.is-gallery-entering {
    animation: galleryCardIn 480ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes heroBackdropSettle {
  from { background-position: center, center, 28% center; }
  to { background-position: center, center, 8% center; }
}

@keyframes heroContentIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes galleryCardIn {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.projects .project-card img[role="button"] {
  cursor: zoom-in;
}

.projects .project-card img[role="button"]:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 220ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.contact-bridge {
  padding-block: clamp(56px, 7vw, 104px);
  color: #f6fbfd;
  background: var(--surface);
}

.contact-bridge-inner {
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
}

.contact-bridge-kicker {
  margin: 0 0 12px;
  color: #e8656e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-bridge h2 {
  max-width: 720px;
  margin: 0;
  color: #f6fbfd;
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  line-height: 1.02;
}

.contact-bridge-points {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(213, 229, 236, 0.24);
  list-style: none;
}

.contact-bridge-points li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  color: #d6e2e7;
  border-bottom: 1px solid rgba(213, 229, 236, 0.24);
  font-size: 0.97rem;
  font-weight: 700;
}

.contact-bridge-points span {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.atelier-copy .eyebrow {
  color: #b80f19;
}

.services .service-materials {
  border-top: 0;
}

@media (max-width: 760px) {
  .hero.hero-moulin {
    background-position: center, center, 14% center;
  }
}

@media (min-width: 860px) {
  .contact-bridge-inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  }
}

.project-dialog {
  width: min(100% - 32px, 1180px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  color: #f5fafc;
  background: #071119;
  border: 1px solid rgba(213, 229, 236, 0.24);
  border-radius: 8px;
}

.project-dialog::backdrop {
  background: rgba(2, 9, 13, 0.78);
  backdrop-filter: blur(6px);
}

.project-modal {
  position: relative;
}

.project-modal figure {
  display: grid;
  margin: 0;
}

.project-modal img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 136px);
  object-fit: contain;
  background: #071119;
}

.project-modal figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 20px 20px;
}

.project-modal figcaption span {
  color: #e8656e;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-modal figcaption strong {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.project-dialog-close {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: rgba(7, 17, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  cursor: pointer;
}

.project-dialog-close:hover,
.project-dialog-close:focus-visible {
  background: var(--red);
  border-color: var(--red);
}

@media (max-width: 760px) {
  .project-dialog {
    width: min(100% - 20px, 720px);
    max-height: calc(100dvh - 20px);
  }

  .project-modal img {
    max-height: calc(100dvh - 122px);
  }
}

/* Pre-publication details: local fonts, stable forms and compact mobile entry. */
.qualification-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: min(100%, 520px);
  margin-inline: auto;
  gap: 12px;
}

.qualification-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.qualification-logos img {
  width: min(42vw, 180px);
  height: auto;
}

.qualification-link {
  text-align: center;
  color: #f3f7f8;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 4px;
}

.qualification-link:hover,
.qualification-link:focus-visible {
  color: #fff;
  text-decoration-color: var(--red);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.privacy-link {
  padding: 0;
  color: #0c3154;
  background: transparent;
  border: 0;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.privacy-link:hover,
.privacy-link:focus-visible {
  color: var(--red-dark);
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.form-note[data-state="success"] {
  color: #17613b;
  font-weight: 700;
}

.form-note[data-state="error"] {
  color: #a00d17;
  font-weight: 700;
}

@media (min-width: 900px) {
  .contact.section-pad {
    padding-block: clamp(28px, 5vh, 48px);
  }

  .contact .contact-layout {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    gap: clamp(34px, 4vw, 54px);
    align-items: center;
    padding: clamp(30px, 3vw, 42px);
  }

  .contact h2 {
    margin-bottom: 14px;
    font-size: clamp(2.45rem, 3.5vw, 3.45rem);
  }

  .contact-copy > p:not(.eyebrow) {
    max-width: 34rem;
    margin-bottom: 0;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .contact-card {
    margin-top: 18px;
  }

  .contact-card > div {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 8px;
  }

  .contact-card .contact-line {
    min-height: 44px;
    margin: 0;
    padding: 9px 11px;
    font-size: 0.9rem;
  }

  .contact-card .contact-line:last-child {
    grid-column: 1 / -1;
  }

  .contact-form {
    padding: 18px;
  }

  .contact-form .form-row {
    gap: 5px;
    margin-bottom: 10px;
  }

  .contact-form .two-cols {
    gap: 10px;
  }

  .contact-form label {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .contact-form input,
  .contact-form select {
    min-height: 42px;
    padding: 8px 11px;
  }

  .contact-form textarea {
    min-height: 76px;
    height: 76px;
    padding: 9px 11px;
  }

  .contact-form .privacy-check {
    margin: 4px 0 10px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .contact-form .form-submit {
    min-height: 44px;
    padding-block: 10px;
  }

  .contact-form .form-note {
    margin-top: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

.legal-modal {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

.legal-copy {
  display: grid;
  gap: 10px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid rgba(34, 39, 42, 0.12);
}

.legal-copy h3 {
  margin: 12px 0 0;
  font-size: 1rem;
}

.legal-copy p {
  margin: 0;
  color: #46535a;
  font-size: 0.92rem;
}

.legal-copy a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  .gallery-tools {
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent 100%);
  }

  .gallery-tools::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero.hero-moulin {
    min-height: max(740px, calc(100dvh - 32px));
  }

  .hero-layout {
    min-height: 0;
    padding-top: 106px;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11.4vw, 3rem);
  }

  .hero-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    min-height: 48px;
    padding-block: 12px;
  }

  .proof-strip {
    gap: 8px;
    padding-bottom: 16px;
  }

  .proof-item,
  .proof-item + .proof-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    min-height: 66px;
    padding: 10px 14px;
  }

  .proof-strip strong {
    font-size: 0.94rem;
  }

  .legal-dialog {
    width: min(100% - 20px, 620px);
  }

  .legal-modal {
    max-height: calc(100dvh - 20px);
    padding: 22px 18px;
  }
}
