:root {
  color-scheme: light;
  --ink: #201e1d;
  --muted: #605958;
  --accent: #792c37;
  --accent-dark: #61202a;
  --line: #e9e1de;
  --paper: #f8f5f3;
  --tint: #f5eceb;
  --white: #fff;
  --width: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.58 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
p, figure, h1, h2, h3, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; }
.wrap { width: min(var(--width), calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 4; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 25px; }
.brand { display: inline-block; width: max-content; }
.logo { width: 175px; height: auto; }
.main-nav, .header-actions { display: flex; align-items: center; }
.main-nav { gap: 33px; }
.main-nav a, .header-contact { text-decoration: none; font-weight: 700; font-size: 14px; }
.main-nav a { padding-block: 10px; }
.main-nav a:hover, .header-contact:hover, .text-link:hover { color: var(--accent); }
.header-actions { justify-self: end; gap: 22px; }
.language { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; }
.language a { display: grid; min-width: 33px; min-height: 33px; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); text-decoration: none; border-radius: 4px; }
.language a:hover { background: var(--paper); color: var(--accent); }
.language a[aria-current] { color: var(--accent); background: var(--tint); }
.header-contact { display: flex; align-items: center; gap: 6px; }
.header-contact .icon { width: 15px; }
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 0 46px; align-items: center; padding-top: 47px; }
.hero-copy { padding: 20px 0 26px; }
.eyebrow, .region { font-size: 12px; font-weight: 700; letter-spacing: .135em; line-height: 1.4; text-transform: uppercase; color: var(--accent); }
.ruled { display: flex; align-items: center; gap: 11px; }
.ruled::before { content: ""; width: 24px; height: 1px; background: var(--accent); flex: 0 0 auto; }
h1, h2 { font-weight: 700; letter-spacing: -.055em; line-height: 1.025; }
h1 { font-size: clamp(42px,5.05vw,76px); margin: 23px 0; }
h1 em { font-style: normal; color: var(--accent); }
[lang="fr"] .hero h1 { font-size: clamp(40px,4.35vw,66px); }
h2 { font-size: clamp(34px,4vw,58px); margin: 11px 0 0; }
h3 { font-size: 21px; line-height: 1.19; letter-spacing: -.025em; }
.lede { font-size: clamp(16px,1.35vw,19px); max-width: 49ch; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 31px; align-items: center; }
.button, .text-link, .file { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; text-decoration: none; font-size: 14px; }
.button { min-height: 49px; padding: 11px 15px; border: 1px solid transparent; border-radius: 5px; }
.primary { background: var(--accent); color: white; }
.primary:hover { background: var(--accent-dark); }
.secondary { border-color: var(--accent); color: var(--accent); background: white; }
.secondary:hover, .file:hover { background: var(--tint); }
.text-link { min-height: 44px; }
.text-link .icon { width: 16px; }
.hero-photo { position: relative; }
.hero-photo img, .method-photo img, .project-feature img { width: 100%; object-fit: cover; }
.hero-photo img { height: clamp(360px,37vw,535px); border-radius: 7px; object-position: 52% center; }
.hero-photo figcaption, .method-photo figcaption { display: flex; gap: 8px; align-items: center; padding: 7px 10px; font-size: 11px; letter-spacing: .025em; }
.hero-photo figcaption { position: absolute; right: 12px; bottom: 12px; color: #292322; background: white; border-radius: 3px; }
figcaption span, .region-mark { width: 6px; height: 6px; background: var(--accent); flex: 0 0 auto; }
.region { grid-column: 1/-1; border-top: 1px solid var(--line); margin-top: 34px; padding: 16px 0; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.region-mark { transform: rotate(45deg); }
.section { padding-top: 79px; padding-bottom: 86px; scroll-margin-top: 16px; }
.section-intro { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 26px 70px; margin-bottom: 34px; }
.section-intro > p, .intro, .profile-strip p { color: var(--muted); max-width: 52ch; }
.trades { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.trade { padding: 24px 21px 26px; }
.trade + .trade { border-left: 1px solid var(--line); }
.trade-icon { width: 44px; height: 44px; color: var(--accent); background: var(--tint); border-radius: 5px; display: grid; place-items: center; margin-bottom: 19px; }
.trade-icon .icon { width: 24px; height: 24px; }
.trade p, .steps p, .references p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.method { background: var(--paper); border-block: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.intro { margin-top: 16px; }
.method-photo { margin-top: 24px; }
.method-photo img { height: clamp(190px,20vw,285px); border-radius: 6px; }
.method-photo figcaption { padding-left: 0; color: var(--muted); }
.steps, .references { margin: 0; list-style: none; padding: 0; }
.steps { border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 13px; border-bottom: 1px solid var(--line); padding: 20px 0; }
.step-number { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; padding-top: 2px; }
.codes { margin-top: 31px; border-left: 2px solid var(--accent); padding: 5px 0 5px 17px; }
.codes h3 { font-size: 17px; }
.codes p { color: var(--muted); font-size: 14px; margin-top: 5px; max-width: 105ch; }
.project-feature { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.project-feature img { height: clamp(240px,27vw,345px); }
.project-feature > div { align-self: center; padding: 28px 35px; }
.project-feature h3 { font-size: clamp(25px,3vw,44px); margin: 10px 0 12px; letter-spacing: -.045em; }
.project-feature p:last-child { color: var(--muted); max-width: 38ch; }
.references { display: grid; grid-template-columns: repeat(3,1fr); margin: 24px 0 35px; }
.references li { padding: 12px 18px 10px 0; }
.references li + li { border-left: 1px solid var(--line); padding-left: 21px; }
.references h3 { margin-top: 7px; font-size: 18px; }
.profile-strip { display: flex; justify-content: space-between; align-items: center; gap: 18px 25px; padding: 22px; border: 1px solid var(--line); border-radius: 7px; }
.profile-strip p { margin-top: 6px; font-size: 14px; }
.files { display: flex; flex-wrap: wrap; gap: 9px; }
.file { padding: 9px 11px; border-radius: 5px; min-height: 43px; border: 1px solid var(--line); color: var(--accent); }
.file .icon { width: 16px; }
.contact { background: var(--tint); padding-block: 68px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 65px; }
.contact .button { margin-top: 21px; }
.contact dl { align-self: center; border-top: 1px solid #e6d7d5; }
.contact dl > div { display: grid; grid-template-columns: minmax(116px,.75fr) 1.25fr; gap: 13px; padding: 11px 0; border-bottom: 1px solid #e6d7d5; }
.contact dt { font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.contact dd { font-size: 15px; }
.contact dd a { text-underline-offset: 3px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 13px; min-height: 62px; color: var(--muted); font-size: 13px; }
.footer-inner a { display: flex; align-items: center; gap: 6px; min-height: 40px; text-decoration: none; }
.footer-inner a:hover { color: var(--accent); }
.footer-inner .icon { width: 15px; }
.profile-page { min-height: 100svh; display: grid; place-items: center; padding: 24px; }
.profile-landing { width: min(100%,640px); padding: clamp(22px,5vw,45px); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 7px; }
.profile-landing .brand { margin-bottom: 30px; }
.profile-landing h1 { font-size: clamp(32px,5vw,54px); margin: 12px 0 18px; }
.profile-landing h1 span { display: block; color: var(--accent); font-size: .64em; margin-top: 6px; }
.profile-landing .files { margin: 22px 0 12px; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 70px); }
  .main-nav { gap: 23px; }
  .hero { column-gap: 30px; }
  .section-intro, .method-grid { column-gap: 36px; }
  .trade { padding: 20px 16px; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; padding-top: 26px; }
  .hero-copy { padding: 14px 0 23px; }
  h1, [lang="fr"] .hero h1 { font-size: clamp(41px,8vw,66px); margin: 17px 0; }
  .hero-photo img { height: clamp(225px,56vw,420px); }
  .region { margin-top: 20px; }
  .section { padding-block: 54px; }
  .section-intro { grid-template-columns: 1fr; gap: 13px; margin-bottom: 24px; }
  .trades { grid-template-columns: repeat(2,1fr); }
  .trade:nth-child(3) { border-left: 0; }
  .trade:nth-child(n+3) { border-top: 1px solid var(--line); }
  .method-grid { gap: 25px; }
  .steps li { gap: 6px; grid-template-columns: 29px 1fr; }
  .contact-grid { gap: 26px; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: auto; grid-template-columns: 1fr auto; gap: 0 9px; padding-top: 11px; }
  .main-nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: 9px; margin-top: 9px; border-top: 1px solid var(--line); }
  .main-nav a { min-height: 44px; display: flex; align-items: center; font-size: 13px; }
  .logo { width: 145px; }
  .header-actions { gap: 10px; }
  .header-contact { min-height: 44px; }
  .header-contact .icon { display: none; }
  .language a { min-width: 29px; }
  .hero { padding-top: 21px; }
  .hero-actions { margin-top: 23px; }
  .eyebrow, .region { font-size: 10px; }
  .trade h3 { font-size: 17px; }
  .trade p, .steps p { font-size: 14px; }
  .method-grid, .project-feature, .contact-grid { grid-template-columns: 1fr; }
  .project-feature img { height: clamp(180px,52vw,270px); }
  .project-feature > div { padding: 19px; }
  .references { grid-template-columns: 1fr; margin: 14px 0 24px; }
  .references li, .references li + li { border-left: 0; border-bottom: 1px solid var(--line); padding: 11px 0; }
  .profile-strip { flex-direction: column; align-items: flex-start; padding: 16px; }
  .contact dl > div { grid-template-columns: minmax(90px,.65fr) 1.35fr; }
  .footer-inner { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 600px) {
  [lang="fr"] .hero h1 { font-size: clamp(33px,8.4vw,48px); }
  [lang="fr"] .hero h1 br { display: none; }
}
@media (max-width: 360px) {
  .site-header .logo { width: 129px; }
  .header-actions { gap: 8px; }
}
