: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; }
}

/* The original hero photograph becomes a quiet, accessible photo banner. */
.hero-carousel .banner-viewport { position: relative; overflow: hidden; border-radius: 7px; }
.hero-carousel .banner-image { display: block; opacity: 0; position: absolute; inset: 0; visibility: hidden; transition: opacity 550ms ease, visibility 0s linear 550ms; }
.hero-carousel .banner-image:first-child { position: relative; }
.hero-carousel .banner-image.is-current { opacity: 1; visibility: visible; transition: opacity 550ms ease; }
.hero-carousel .banner-image:nth-child(2) { object-position: 53% center; }
.hero-carousel figcaption.banner-caption { position: static; padding: 8px 0 0; background: transparent; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; min-height: 48px; }
.banner-caption .banner-label, .banner-caption .banner-text, .banner-caption .banner-controls, .banner-caption .banner-count, .banner-caption .pause-icon, .banner-caption .play-icon { width: auto; height: auto; background: none; }
.banner-label { display: flex; gap: 7px; align-items: center; color: var(--muted); flex: 1 1 145px !important; }
.banner-caption .banner-mark { flex: 0 0 6px; }
.banner-text { flex: 1 1 auto; }
.banner-controls { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.banner-count { font-size: 11px; color: var(--muted); padding: 0 6px; font-variant-numeric: tabular-nums; }
.banner-controls button { display: grid; place-items: center; width: 36px; min-height: 36px; padding: 0; color: var(--accent); border: 1px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.banner-controls button:hover { background: var(--tint); }
.banner-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.banner-controls button svg { display: block; }
.banner-caption [hidden] { display: none !important; }
@media (max-width: 600px) { .banner-controls button { width: 43px; min-height: 43px; } .banner-label { flex-basis: 130px !important; } }
@media (prefers-reduced-motion: reduce) { .hero-carousel .banner-image, .hero-carousel .banner-image.is-current { transition: none; } }

/* Portfolio edition */
.portfolio-edition { --paper: #f7f5f4; --line: #e9e1e0; }
.portfolio-edition .header-inner { min-height: 78px; }
.portfolio-edition .header-contact { padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; color: var(--accent); }
.portfolio-edition .header-contact:hover { background: var(--tint); }
.hero-background { border-bottom: 1px solid var(--line); background: linear-gradient(145deg,#fff 35%,#f8f6f6 100%); }
.portfolio-edition .hero { padding-top: clamp(38px,5vw,80px); column-gap: clamp(30px,5vw,72px); }
.portfolio-edition .hero h1 { margin-bottom: 21px; }
.portfolio-edition .hero-copy { padding-bottom: 20px; }
.portfolio-edition .banner-viewport { border-radius: 5px; box-shadow: 0 14px 34px #3820241c; }
.portfolio-edition .banner-viewport::after { position: absolute; content: ""; pointer-events: none; inset: 10px; border: 1px solid #ffffff80; border-radius: 2px; }
.portfolio-edition .banner-image { border-radius: 0; }
.portfolio-edition .banner-controls button { min-height: 44px; width: 44px; }
.portfolio-edition .hero-carousel figcaption { padding-top: 11px; }
.portfolio-edition .region { margin-top: 22px; }
.portfolio-edition .section-intro h2 { max-width: 16ch; }
.portfolio-edition .section-intro > p { padding-bottom: 2px; }
.portfolio-edition .trades { border: 0; border-radius: 0; gap: 15px; overflow: visible; }
.portfolio-edition .trade { padding: 0; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.trade-media img { width: 100%; aspect-ratio: 1.85; object-fit: cover; }
.trade-body { position: relative; padding: 24px 16px 21px; }
.portfolio-edition .trade-icon { width: 37px; height: 37px; margin-bottom: 12px; }
.portfolio-edition .trade-icon .icon { width: 21px; height: 21px; }
.portfolio-edition .trade h3 { font-size: clamp(17px,1.65vw,22px); }
.media-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

.project-section { background: var(--paper); border-block: 1px solid var(--line); }
.project-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 21px; }
.project-filters button { border: 1px solid #d8c9ca; background: #fff; color: #302628; font: inherit; font-size: 13px; font-weight: 700; border-radius: 4px; min-height: 44px; padding: 8px 13px; cursor: pointer; }
.project-filters button:hover { border-color: var(--accent); }
.project-filters button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.project-filters button[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: var(--accent); }
.project-section [hidden] { display: none !important; }
.project-section .project-feature { grid-template-columns: 1.12fr .88fr; border: 0; background: #492026; color: #fff; border-radius: 5px; }
.case-photo { position: relative; min-height: 355px; }
.project-section .case-photo img { position: absolute; inset: 0; height: 100%; }
.case-photo figcaption { position: absolute; z-index: 1; top: 14px; left: 14px; background: #fff; color: #462028; font-weight: 700; font-size: 10px; letter-spacing: .11em; padding: 6px 9px; border-radius: 2px; }
.project-feature .case-body { padding: clamp(21px,3.4vw,48px); }
.case-body .eyebrow { color: #f4c8ce; }
.case-body h3 { font-size: clamp(26px,3.6vw,49px); margin-bottom: 13px; }
.case-body > p:not(.eyebrow) { color: #f3e1e2; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 18px 0; }
.case-tags li { border: 1px solid #ffffff48; padding: 3px 8px; font-size: 11px; border-radius: 3px; }
.project-feature .case-body p.case-stat { border-top: 1px solid #ffffff48; max-width: none; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 11px; }
.case-stat strong { font-size: 27px; color: #fff; letter-spacing: -.045em; }
.case-stat span { font-size: 13px; }
.project-directory { margin-top: 27px; }
.project-directory h3 { margin-bottom: 12px; }
.project-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 22px; }
.project-row { display: grid; grid-template-columns: 27px minmax(0,1fr) minmax(83px,.75fr); align-items: center; gap: 9px; min-height: 83px; padding: 12px 0; border-top: 1px solid var(--line); }
.ref-index { color: var(--accent); font-size: 11px; font-weight: 700; align-self: start; padding-top: 3px; }
.project-row h4 { margin: 3px 0 0; font-size: 16px; line-height: 1.26; }
.project-row p { font-size: 13px; line-height: 1.35; color: var(--muted); }
.project-row .eyebrow { font-size: 10px; letter-spacing: .09em; }

.portfolio-edition .method { background: #fff; border-block: 0; }
.portfolio-edition .steps li { padding-block: 24px; }
.portfolio-edition .method-photo img { border-radius: 5px; }
.portfolio-edition .codes { background: var(--paper); padding: 13px 17px; }
.profile-area { margin-bottom: 55px; }
.portfolio-edition .profile-strip { background: var(--paper); }
.portfolio-edition .contact { background: #492026; color: white; }
.portfolio-edition .contact :is(.eyebrow,.intro,dt) { color: #f4d5d7; }
.portfolio-edition .contact dl, .portfolio-edition .contact dl > div { border-color: #ffffff45; }
.portfolio-edition .contact .button { color: #492026; background: #fff; }
.portfolio-edition .contact .button:hover { background: #f4dfe0; }
.portfolio-edition .contact a:focus-visible { outline-color: #f0c1c5; }
@media(max-width: 1020px) { .portfolio-edition .header-actions { gap: 9px; } .portfolio-edition .main-nav { gap: 17px; } .portfolio-edition .trades { gap: 11px; } .project-row { grid-template-columns: 25px minmax(0,1fr); gap: 4px 8px; } .project-row p { grid-column: 2; } }
@media(max-width: 820px) { .portfolio-edition .hero { padding-top: 25px; } .portfolio-edition .hero-copy { padding-bottom: 21px; } .case-photo { min-height: 325px; } }
@media(max-width: 640px) { .portfolio-edition .header-inner { min-height: 0; } .portfolio-edition .header-contact { display: none; } .portfolio-edition .header-actions { gap: 4px; } .portfolio-edition .hero .region { margin-top: 12px; } .portfolio-edition .banner-viewport::after { inset: 7px; } .trade-body { padding: 12px 11px 15px; } .portfolio-edition .trade-icon { width: 31px; height: 31px; margin-bottom: 8px; } .portfolio-edition .trade-icon .icon { width: 18px; height: 18px; } .portfolio-edition .trade p { font-size: 13px; } .project-section .project-feature { grid-template-columns: 1fr; } .case-photo { min-height: 0; aspect-ratio: 1.65; } .project-list { grid-template-columns: 1fr; } .project-row { min-height: 0; padding: 10px 0; } .project-filters button { font-size: 12px; padding-inline: 9px; } .profile-area { margin-bottom: 35px; } }

/* Selected projects gallery */
.project-rotation { scroll-margin-top: 125px; }
.project-section .project-feature[hidden], .project-section [hidden] { display: none !important; }
.project-section .case-photo { background: #29181d; }
.project-section .case-photo img { object-position: center; }
.project-photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 34px; text-align: center; font-size: clamp(21px,3vw,36px); line-height: 1.1; font-weight: 700; color: #f0dfe1; background: radial-gradient(ellipse at 25% 30%, #603b43, #28191e 75%); }
.case-photo[data-remote-photo]:not(.has-project-photo) figcaption { display: none; }
.case-photo.has-project-photo .project-photo-placeholder { visibility: hidden; }
.project-controls { display: flex; align-items: center; gap: 7px; justify-content: flex-end; margin: 10px 0 19px; }
.project-controls button { background: #fff; color: #492026; border: 1px solid #d8c9ca; border-radius: 4px; min-width: 44px; min-height: 44px; padding: 5px 13px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.project-controls button:hover { background: #f8edef; }
.project-controls button:focus-visible, .project-jump:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.project-count { margin-right: auto; color: #574145; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.project-announcement { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.project-jump { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #a57b80; }
.project-jump:hover { color: var(--accent); }
@media (max-width:640px) { .project-rotation { scroll-margin-top: 107px; } .project-section .case-body { min-height: 205px; } }

.photo-credits-page { max-width: 720px; }
.photo-credits-page h1 { margin-top: 30px; font-size: clamp(30px,5vw,52px); }
.photo-credits-page ul { list-style: none; padding: 0; margin-block: 25px; }
.photo-credits-page li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.photo-credits-page a:not(.brand) { text-decoration: underline; text-underline-offset: 3px; }
