/* ASTRA export, 1440 px desktop / 400 px mobile. Existing interactions stay in main.js. */
@font-face { font-family: "Mona Sans ASTRA"; src: url('../fonts/MonaSans-v2-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans ASTRA"; src: url('../fonts/MonaSans-v2-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans ASTRA"; src: url('../fonts/MonaSans-v2-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans ASTRA"; src: url('../fonts/MonaSans-v2-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  --font: "Mona Sans ASTRA", "Mona Sans", sans-serif;
  --white: #fefdfc;
  --cream: #f8f4f0;
  --ink: #2a1716;
  --container: 1140px;
  --gutter: clamp(30px, calc(var(--layout-width) * .104166667), 150px);
  --header-h: 80px;
}
body { font-variation-settings: "wdth" 100; font-optical-sizing: none; }
html:has(.page-competences) { --header-h: 96px; }
figure { margin: 0; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); }
.brand img { width: 141px; height: 40px; }
.site-nav { align-items: center; gap: 40px; }
.nav-link { font-size: 12px; font-weight: 500; line-height: 17px; letter-spacing: .72px; }
.nav-link[aria-current="page"] { font-weight: 700; }
.site-footer { margin-top: 0; }
.site-footer-inner { width: calc(100% - var(--gutter) * 2); max-width: none; min-height: 88px; padding: 24px 0; grid-template-columns: minmax(141px, 458fr) minmax(223px, 471fr) 211px; gap: 0; }
.footer-logo img { width: 141px; height: 40px; }
.site-footer-inner > p { font-size: 12px; line-height: 17px; white-space: nowrap; }
.footer-contact { gap: 32px; font-size: 14px; line-height: 20px; }
.footer-contact a:not([aria-label]) { text-decoration: underline; text-underline-offset: 2px; }
.footer-contact img { width: 21px; height: 21px; }
.footer-pending { text-decoration: underline; text-underline-offset: 2px; }
.page-competences { --header-h: 96px; }
.page-competences .site-header { padding-bottom: 36px; }
.page-competences .site-footer-inner { grid-template-columns: minmax(141px, 458fr) minmax(223px, 471fr) 211px; }
.page-competences .site-footer-inner > p { font-size: 12px; line-height: 17px; }
.page-competences .site-footer-inner strong { font-weight: 400; }
.page-competences .button { letter-spacing: .65px; }
.page-competences .method .tag { letter-spacing: .56px; }
.page-competences .method h2 { line-height: 39px; }
.page-competences .method-content { transform: translateY(6px); }
.page-competences .accordion-trigger { padding-bottom: 23.43px; }
.page-competences .accordion-title { line-height: 34px; }
.page-competences .accordion-panel { line-height: 22px; }
.page-competences .accordion-item:last-child .accordion-panel { padding-bottom: 24px; }
.page-competences #direction { height: calc(var(--layout-height) - var(--header-h) + 1px); }
.page-competences #energie { height: calc(var(--layout-height) - var(--header-h) - 5px); }
.visual-placeholder { display: block; background: #d9d9d9; }
.open-stamp {
  --stamp-size: 124px;
  position: fixed;
  z-index: 90;
  top: 25%;
  left: 80%;
  width: var(--stamp-size);
  height: var(--stamp-size);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--sage);
  box-shadow: none;
  transform: translate(-50%, -50%);
  isolation: isolate;
}
.open-stamp::before {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange) 0%, var(--orange) 35%, transparent 72%);
  opacity: .5;
  transform: scale(.12);
  animation: open-stamp-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}
.open-stamp-ring {
  position: absolute;
  z-index: 1;
  inset: 6px;
  display: grid;
  place-items: center;
  font-size: calc(var(--stamp-size) * .11);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  pointer-events: none;
}
.open-stamp-ring.is-circular {
  animation: open-stamp-turn 24s linear infinite;
}
.open-stamp-ring > span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1em;
  height: 50%;
  white-space: pre;
  transform-origin: 50% 100%;
  transform: translateX(-50%) rotate(var(--letter-angle));
}
.is-menu-open .open-stamp { visibility: hidden; }
@keyframes open-stamp-turn { to { transform: rotate(360deg); } }
@keyframes open-stamp-pulse {
  0%, 100% { transform: scale(.12); opacity: .5; }
  50% { transform: scale(1); opacity: .22; }
}
@media (prefers-reduced-motion: reduce) {
  .open-stamp-ring.is-circular, .open-stamp::before { animation: none; }
}

/* Atelier */
.editorial-hero--atelier { margin-top: 2px; height: 614px; }
.atelier-intro { grid-template-columns: minmax(0,456fr) minmax(0,652fr); gap: 32px; padding: 120px 0; }
.atelier-intro h1 { max-width: none; font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: 0; }
.rich-text { font-size: 17px; line-height: 26px; }
.rich-text p + p { margin-top: 0; }
.team-section { grid-template-columns: minmax(0,359fr) minmax(0,357fr) minmax(0,358fr); gap: 32px; padding: 1px 0 120px; }
.team-photo { width: 100%; height: 400px; }
.team-card h2 { margin-top: 24px; font-size: 20px; font-weight: 700; line-height: 28px; }
.team-role { margin-top: 0; font-size: 10px; font-weight: 700; line-height: 14px; letter-spacing: .4px; }
.team-card p:not(.team-role) { margin-top: 8px; font-size: 14px; line-height: 22px; }
.team-card .team-bio + .team-bio { margin-top: 16px; }
.team-accordion { margin-top: 24px; border-width: 1px; border-color: #968b86; }
.team-trigger { min-height: 55px; padding: 0; }
.team-trigger span:first-child { font-size: 15px; font-weight: 700; line-height: 24px; }
.team-trigger span:last-child { width: 16px; height: 15.5px; background-image: url('../icons/competences-accordion.svg'); transform: rotate(45deg); }
.team-trigger[aria-expanded="true"] span:last-child { background-image: url('../icons/competences-accordion.svg'); transform: none; }
.team-panel { font-size: 14px; line-height: 22px; }
.values-band { display: flex; flex-direction: column; justify-content: center; min-height: 241px; padding: 56px 30px; }
.values-band p { font-size: 14px; font-weight: 700; line-height: 20px; }
.values-band h2 { max-width: 750px; margin-top: 16px; font-size: 28px; font-weight: 700; line-height: 31px; letter-spacing: 0; }
.figures-band { grid-template-columns: repeat(3, 163px); justify-content: center; column-gap: 130px; padding: 64px 30px; }
.figure-item { position: relative; display: block; min-height: 108px; padding: 0; border: 0; }
.figure-item + .figure-item::before { position: absolute; content: ''; left: -65px; top: 0; width: 1px; height: 107px; background: #b0a5a2; }
.figure-item strong { display: block; font-size: 12px; font-weight: 700; line-height: 17px; letter-spacing: .48px; }
.figure-item p { margin-top: 8px; font-size: 14px; line-height: 22px; }
.atelier-contact { grid-template-columns: minmax(0,650fr) minmax(0,454fr); gap: 35px; padding: 124px 0 135px; }
.atelier-contact-photo { width: 100%; height: 480px; }
.atelier-contact h2 { font-size: 28px; font-weight: 700; line-height: 31px; letter-spacing: 0; }
.atelier-contact p, .atelier-contact address { font-size: 17px; line-height: 26px; }
.atelier-contact > div > p:first-of-type { margin-top: 4px; }
.contact-columns { grid-template-columns: 163px 163px; gap: 32px; margin-top: 32px; }
.contact-columns--compact { margin: 24px 0; }
.contact-columns strong { margin-bottom: 0; font-weight: 700; }
.atelier-contact > div > p:nth-of-type(2) { font-size: 14px; line-height: 23px; }
.atelier-contact h3 { margin-top: 24px; font-size: 20px; font-weight: 700; line-height: 28px; }

/* Contact */
.contact-v3 { width: min(calc(100% - var(--gutter) * 2 - 3px),1137px); padding: 120px 0; }
.contact-v3 h1 { font-size: 28px; font-weight: 700; line-height: 31px; letter-spacing: 0; }
.contact-visual { height: 405px; margin-top: 40px; background: #d9d9d9; }
.contact-grid { grid-template-columns: minmax(0,553fr) minmax(0,552fr); gap: 33px; margin-top: 40px; }
.contact-copy h2 { max-width: none; font-size: 20px; font-weight: 700; line-height: 28px; }
.contact-copy > p { margin-top: 4px; font-size: 14px; line-height: 22px; }
.contact-copy address { font-size: 17px; line-height: 26px; }
.contact-copy .contact-links { margin-top: 32px; font-size: 17px; line-height: 23px; }
.contact-form { gap: 16px 32px; align-content: start; }
.contact-form input, .contact-form textarea { display: block; border-width: 1px; border-color: #776665; border-radius: 8px; color: var(--ink); font: 14px/22px var(--font); padding: 10px 21px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--ink); opacity: 1; }
.contact-form input { height: 43px; }
.contact-form textarea { height: 155px; min-height: 155px; resize: none; }
.form-submit { width: 162px; height: 41px; font-size: 13px; font-weight: 500; line-height: 18px; letter-spacing: .65px; border-width: 1.5px; border-radius: 10px; }
.contact-form .contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-privacy, .contact-status, .contact-form noscript { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 19px; }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: #8b2525; }
.contact-status[data-state="success"] { color: #355842; }
.contact-form [aria-invalid="true"] { border-color: #8b2525; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.button:hover, .button:focus-visible, .form-submit:hover, .form-submit:focus-visible { background-color: var(--sage); border-color: var(--sage); color: var(--cream); }
.button:active, .form-submit:active { font-weight: 700; }
.atelier-contact a[href^="tel:"], .contact-links a[href^="tel:"] { text-decoration: none; }
.jobs-cta { display: block; min-height: 135px; padding: 40px 150px 41px; }
.jobs-cta h2 { font-size: 20px; font-weight: 700; line-height: 28px; }
.jobs-cta p { margin-top: 0; font-size: 17px; line-height: 26px; }

/* Emploi */
.job-page { grid-template-columns: minmax(0,456fr) minmax(0,652fr); gap: 32px; min-height: 0; padding: 120px 0 123px; }
.eyebrow, .job-content h2 { font-size: 14px; font-weight: 700; line-height: 20px; letter-spacing: .04em; }
.job-title h1 { max-width: none; margin-top: 4px; font-size: 36px; font-weight: 700; line-height: 40px; letter-spacing: 0; }
.job-content { max-width: none; font-size: 17px; line-height: 26px; }
.job-content section + section { margin-top: 32px; }
.job-content h2 { margin-bottom: 4px; }
.job-content ul { padding-left: 26px; }
.job-content li::marker { font-size: .75em; }

/* Portfolio: six supplied cards and shared classifications. Scroll steps are handled in main.js. */
.portfolio-layout { grid-template-columns: 163px minmax(0,1fr); gap: 128px; padding-top: 72px; margin-inline: auto; }
.portfolio-filters { gap: 16px; top: calc(var(--header-h) + 24px); padding: 0; color: rgba(42,23,22,.3); }
.filter { display: block; padding: 0; }
.filter > img, .filter-all img { width: 38px; height: 38px; opacity: .3; }
.filter-all > span:first-child { display: flex; gap: 0; height: 38px; }
.filter > span:last-child { display: block; font-size: 10px; font-weight: 500; line-height: 14px; letter-spacing: .4px; white-space: nowrap; }
.filter.is-active { color: var(--ink); }
.filter.is-active > span:last-child { font-weight: 700; }
.filter.is-active img { opacity: 1; }
.filter:hover { color: var(--sage); }
.portfolio-grid { gap: 120px; }
.project-card-content, .project-card-image { display: block; }
.portfolio-mobile-copy { display: none; }
.project-card-image img { height: auto; aspect-ratio: 847 / 613; object-fit: cover; }
.project-card-image img[src*="portfolio-interior"] { object-position: 50% 62%; }
.project-card-image img[src*="portfolio-chalet"] { object-position: 50% 47%; }
.project-card-meta { gap: 20px; padding-top: 16px; align-items: center; }
.project-card h2 { font-size: 24px; font-weight: 700; line-height: 34px; }
.project-card small { margin-top: 4px; font-size: 12px; font-weight: 700; line-height: 17px; letter-spacing: .48px; }
.project-icons { align-items: center; gap: 0; }
.project-icons img { width: 48px; height: 49px; outline: .5px solid #e7e3df; outline-offset: -.5px; border-radius: 50%; }
.project-arrow { width: 23px; height: 23px; margin-top: -11.5px; background: url('../icons/competences-gallery-prev.svg') center / contain no-repeat; border-radius: 0; font-size: 0; }
.project-arrow--left { left: 16px; }
.project-arrow--right { right: 16px; transform: rotate(180deg); }
.project-arrow { padding: 0; border: 0; }
.project-arrow::after { content: ''; position: absolute; width: 44px; height: 44px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.project-arrow:disabled { cursor: default; }
.project-arrow:disabled::after { content: none; }
.project-image-link { display: block; }
.project-card-image[data-project-gallery] { touch-action: pan-y pinch-zoom; }
.project-mobile-track { display: none; }
.page-portfolio .site-footer { margin-top: 135px; }

/* Project details and existing mobile accordions. */
.project-intro { position: relative; left: 1px; grid-template-columns: minmax(0,359fr) minmax(0,749fr); gap: 32px; padding: 160px 0 120px; }
.project-title h1 { margin-bottom: 8px; font-size: 28px; font-weight: 700; line-height: 31px; }
.project-title .tag { font-size: 12px; font-weight: 700; line-height: 17px; letter-spacing: .48px; }
.project-details { gap: 8px; margin: 72px 0 8px; font-size: 14px; line-height: 22px; }
.project-details strong { font-size: 14px; font-weight: 700; line-height: 24px; }
.project-details .project-category { font-size: 10px; line-height: 14px; }
.project-text { max-width: none; font-size: 14px; line-height: 22px; }
.project-text p + p { margin-top: 16px; }
.project-gallery { gap: 88px; }
.project-gallery > :nth-child(2) { margin-top: -1px; }
.gallery-wide, .gallery-asym, .gallery-pair { width: min(calc(100% - var(--gutter) * 2),1140px); }
.gallery-pair { gap: 32px; }
.gallery-wide img { aspect-ratio: 1140 / 717; }
.gallery-wide img[src*="project-hero"] { object-position: 50% 74%; }
.gallery-pair img { aspect-ratio: 554 / 696; }
.gallery-asym img { aspect-ratio: 1140 / 504; }
.gallery-pair:nth-of-type(2) img { aspect-ratio: 554 / 724; }
.gallery-wide:last-child img { aspect-ratio: 1140 / 746; }
.page-project .site-footer { margin-top: 122px; }

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .open-stamp { --stamp-size: 96px; }
  .site-nav { gap: 24px; }
  .site-footer-inner, .page-competences .site-footer-inner { grid-template-columns: auto 1fr auto; gap: 16px; }
  .site-footer-inner > p { text-align: center; }
  .footer-contact { gap: 16px; font-size: 12px; }
  .portfolio-layout { grid-template-columns: 163px minmax(0,1fr); gap: 32px; }
  .figures-band { column-gap: 50px; }
  .figure-item + .figure-item::before { left: -25px; }
  .contact-columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .atelier-intro h1, .job-title h1 { font-size: 30px; line-height: 34px; }
  .jobs-cta { padding-inline: 90px; }
}

/* Fit a complete desktop project, including its caption and breathing room, in the viewport. */
@media (min-width: 841px), (hover: hover), (pointer: fine) {
  .page-portfolio {
    --portfolio-viewport-height: 100dvh;
    --portfolio-top-gap: clamp(20px, 7dvh, 72px);
    --portfolio-bottom-gap: clamp(32px, 10dvh, 120px);
  }
  .page-portfolio .portfolio-layout { padding-top: var(--portfolio-top-gap); }
  .page-portfolio .project-card-content {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: max(120px, calc(var(--portfolio-viewport-height) - var(--header-h) - var(--portfolio-top-gap) - var(--portfolio-bottom-gap)));
  }
  .page-portfolio .project-card-image { min-height: 0; }
  .page-portfolio .project-card-image > picture,
  .page-portfolio .project-image-link { display: block; height: 100%; }
  .page-portfolio .project-card-image img { height: 100%; aspect-ratio: auto; }
}

@media (max-width: 840px) and (hover: none) and (pointer: coarse) {
  :root, html:has(.page-competences), .page-competences { --gutter: 30px; --header-h: 70px; }
  .site-header, .page-competences .site-header { display: flex; justify-content: center; height: 70px; padding: 18.5px 30px; }
  /* Keep the fixed controls painted while a held swipe moves between sections. */
  .page-competences .brand, .page-portfolio .brand,
  .page-competences .nav-toggle, .page-portfolio .nav-toggle { transform: translateZ(0); }
  .brand img { width: 115px; height: 33px; }
  .site-nav { display: none; }
  /* Keep the mobile menu floating at the bottom right, as requested. */
  .nav-toggle { width: 35px; height: 35px; right: 30px; top: auto; bottom: calc(27px + env(safe-area-inset-bottom, 0px)); transform: none; background: url('../icons/astra-menu.svg') center / contain no-repeat; border: 0; border-radius: 0; }
  .nav-toggle::before, .nav-toggle::after { content: none; }
  .nav-toggle[aria-expanded="true"] { width: 32px; height: 32px; right: calc(50% - 16px); bottom: auto; top: calc(50% + 125px); transform: none; background: url('../icons/close.svg') center / 20px 20px no-repeat; }
  .mobile-menu { inset: 0; padding: 36px 0 0; background: var(--white); }
  .is-menu-open .site-header { z-index: 110; background: transparent; }
  .is-menu-open .site-header .brand { visibility: hidden; }
  .mobile-menu-logo { width: 141px; height: 40px; margin: 0 auto; }
  .mobile-menu-nav { position: absolute; top: calc(50% - 143px); left: 0; width: 100%; display: flex; flex-direction: column; gap: 49px; align-items: center; }
  .mobile-menu .nav-link { font-size: 17px; font-weight: 500; line-height: 24px; letter-spacing: .68px; }
  .mobile-menu .nav-link[aria-current="page"] { font-weight: 700; }
  .site-footer-inner, .page-competences .site-footer-inner { width: calc(100% - 60px); min-height: 58px; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 15px 11px; gap: 0; padding: 16px 0; }
  .footer-logo { transform: none; }
  .footer-logo img { width: 54px; height: 15px; }
  .site-footer-inner > p, .page-competences .site-footer-inner > p { margin: 0; font-size: 8px; line-height: 11px; text-align: left; }
  .footer-contact { grid-row: 1 / 3; align-self: end; gap: 16px; font-size: 9px; line-height: 13px; }
  .footer-contact img { width: 15px; height: 15px; }
  html:has(.home-page), .home-page { height: 100%; min-height: 0; overflow: hidden; overscroll-behavior: none; }
  .home-cover { --home-mobile-frame: 39px; --home-link-space: clamp(50px, 14dvh, 106px); --home-mobile-picto: min(80px, 10.6dvh, 24vw); height: 100dvh; min-height: 0; padding: max(12px, min(5dvh, 38px), env(safe-area-inset-top, 0px)) max(var(--home-mobile-frame), env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(var(--home-mobile-frame), env(safe-area-inset-left, 0px)); }
  .home-stack { width: 100%; max-width: none; height: 100%; min-height: 0; grid-template-columns: minmax(0,1fr); }
  .home-card { min-width: 0; border-radius: 20px; padding: clamp(12px, 4.63dvh, 35px) 29px clamp(12px, 9.13dvh, 69px); grid-template-columns: minmax(0,1fr); grid-template-rows: auto minmax(0,1fr); }
  .home-brand { width: min(263px,100%,34.8dvh); max-width: 100%; min-width: 0; }
  .home-actions { margin: clamp(12px, 12.7dvh, 96px) 5px 0 6px; height: auto; width: calc(100% - 11px); grid-template-rows: minmax(0,96fr) minmax(0,112fr) minmax(0,96fr); }
  .home-action { padding: 0 3px 0 0; overflow: visible; grid-template-columns: minmax(0,1fr) var(--home-mobile-picto); gap: 0; border-bottom: 1px solid #f8f4f0; }
  .home-action + .home-action { padding: min(16px, 2.12dvh) 0 0; }
  .home-action:last-child { border-bottom: 0; }
  .home-action:first-child .home-animation, .home-action:nth-child(2) .home-animation, .home-action:nth-child(3) .home-animation { width: var(--home-mobile-picto); height: var(--home-mobile-picto); align-self: start; }
  .home-action span { align-self: start; margin-top: min(21px, 2.78dvh); font-size: clamp(13px, 2.12dvh, 16px); line-height: 1.1875; }
  .home-action:first-child span { margin-top: min(30.5px, 4.03dvh); }
  .home-action:first-child, .home-action:nth-child(2), .home-action:nth-child(3) { width: 100%; }
  .home-action:nth-child(2) span, .home-action:nth-child(3) span { max-width: 88px; line-height: 1.1875; }
  .home-action span br { display: initial; }
  .home-action:nth-child(3) span { max-width: 78px; }
  .home-link { align-self: start; padding-top: 20px; gap: 2px; font-size: 14px; line-height: 16px; letter-spacing: 0; }
  .home-link-label { width: 176px; text-align: right; }
  .home-link > img { width: 24px; height: 21px; }
  .editorial-hero--atelier { margin-top: 0; height: 324px; }
  .atelier-intro { grid-template-columns: 1fr; gap: 16px; padding: 80px 0; }
  .atelier-intro h1 { max-width: 340px; font-size: 28px; line-height: 31px; letter-spacing: 0; }
  .rich-text { font-size: 14px; line-height: 22px; }
  .team-section { grid-template-columns: 1fr; gap: 40px; padding: 0 0 80px; }
  .team-photo { width: calc(100% - 2px); height: 400px; }
  .team-card h2 { margin-top: 24px; font-size: 20px; line-height: 28px; }
  .team-role { font-size: 10px; line-height: 14px; }
  .team-card p:not(.team-role), .team-panel { font-size: 14px; line-height: 22px; }
  .team-bio { width: calc(100% - 2px); }
  .team-accordion { margin-top: 24px; }
  .team-trigger { min-height: 55px; }
  .team-trigger span:first-child { font-size: 15px; }
  .values-band { display: none; }
  .figures-band { grid-template-columns: 163px; row-gap: 96px; padding: 80px 30px; }
  .figure-item { min-height: 0; padding: 0; }
  .figure-item + .figure-item { padding: 0; border: 0; }
  .figure-item + .figure-item::before { left: 28px; top: -48px; width: 107px; height: 1px; }
  .figure-item strong { font-size: 12px; line-height: 17px; }
  .figure-item p { font-size: 14px; line-height: 22px; }
  .atelier-contact { grid-template-columns: 1fr; gap: 35px; padding: 80px 0 113px; }
  .atelier-contact-photo { height: auto; aspect-ratio: 339 / 269; }
  .atelier-contact h2 { font-size: 28px; line-height: 31px; }
  .atelier-contact p, .atelier-contact address { font-size: 17px; line-height: 26px; }
  .atelier-contact > div > p:nth-of-type(2) { font-size: 17px; line-height: 23px; }
  .contact-columns--compact { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 24px 0; }
  .atelier-contact h3 { margin-top: 24px; font-size: 20px; line-height: 28px; }
  .open-stamp { --stamp-size: 88px; }
  .open-stamp-ring { inset: 5px; }
  .contact-v3 { width: calc(100% - 61px); margin-left: 30px; padding: 80px 0; }
  .contact-v3 h1 { font-size: 20px; line-height: 28px; letter-spacing: 0; }
  .contact-visual { height: auto; aspect-ratio: 339 / 236; margin-top: 16px; }
  .contact-grid { display: block; margin-top: 16px; }
  .contact-copy h2 { font-size: 16px; line-height: 23px; }
  .contact-copy > p { font-size: 12px; line-height: 19px; }
  .contact-copy .contact-columns { grid-template-columns: 1fr; gap: 14px; margin: 16px 0 0; }
  .contact-copy address { font-size: 12px; line-height: 18px; }
  .contact-copy .contact-links { margin-top: 14px; font-size: 12px; line-height: 18px; }
  .contact-form { margin-top: 24px; gap: 16px; }
  .contact-form input, .contact-form textarea { font-size: 12px; line-height: 19px; padding: 10px 21px; }
  .contact-form input { height: 40px; }
  .contact-form textarea { height: 155px; min-height: 155px; }
  .form-submit { width: 163px; height: 39px; font-size: 11px; line-height: 16px; }
  .jobs-cta { min-height: 145px; padding: 40px 30px; }
  .jobs-cta h2 { font-size: 16px; line-height: 23px; }
  .jobs-cta p { margin-top: 4px; font-size: 12px; line-height: 19px; }
  .job-page { display: block; padding: 81px 0 83px; }
  .eyebrow, .job-content h2 { font-size: 12px; line-height: 17px; }
  .job-title .eyebrow { position: relative; top: -4px; }
  .job-title h1 { margin-top: 0; font-size: 28px; line-height: 31px; letter-spacing: 0; }
  .job-content { margin-top: 28px; font-size: 12px; line-height: 19px; }
  .job-content section + section { margin-top: 24px; }
  .job-content ul { padding-left: 18px; }
  .portfolio-layout { display: block; width: calc(100% - 58px); margin-left: 30px; padding-top: 0; }
  .portfolio-filters { top: var(--header-h); display: flex; justify-content: space-between; gap: 10px; margin-inline: -30px -28px; padding: 38px 28px 24px 30px; background: var(--white); overflow: auto; }
  .filter { flex: none; }
  .filter-all > span:first-child, .filter > img { display: none; }
  .filter > span:last-child { font-size: 10px; line-height: 14px; letter-spacing: .4px; }
  .portfolio-grid { width: 100%; margin: 0; gap: 120px; }
  .project-card-image img { height: max(250px, calc(100svh - 275px)); aspect-ratio: auto; }
  .project-card-image img[src*="portfolio-interior"] { object-position: 45% 50%; }
  .project-card-image img[src*="portfolio-chalet"] { object-position: 25% 50%; }
  .project-card-image[data-project-gallery] { touch-action: pan-x pan-y pinch-zoom; }
  .project-card-image:has(.project-mobile-track) > .project-image-link { display: none; }
  .project-mobile-track { position: relative; display: flex; width: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .project-mobile-track::-webkit-scrollbar { display: none; }
  .project-mobile-track > a { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .portfolio-desktop-copy { display: none; }
  .portfolio-mobile-copy { display: inline; }
  .project-card-meta { padding: 16px 0 0; }
  .project-card h2 { font-size: 20px; line-height: 28px; }
  .project-card small { margin-top: 0; font-size: 10px; line-height: 14px; letter-spacing: .4px; }
  .project-icons img { width: 38px; height: 38px; }
  .project-arrow { width: 16px; height: 16px; margin-top: 2px; }
  .project-arrow--left { left: 12px; }
  .project-arrow--right { right: 12px; }
  .page-portfolio .site-footer { margin-top: 72px; }
  html:has(.page-project) { scrollbar-width: none; }
  html:has(.page-project)::-webkit-scrollbar { display: none; }
  .project-mobile-accordions { margin: 45px auto; border-top: 1px solid #968b86; border-inline: 0; }
  .project-mobile-accordions:has([aria-expanded="true"]) { margin-top: 43px; margin-bottom: 26px; }
  .project-mobile-accordions .accordion-item { border-bottom: 1px solid #968b86; }
  .project-mobile-accordions .accordion-trigger { grid-template-columns: 1fr 20px; min-height: 55.15px; padding: 15.3px 0; row-gap: 0; }
  .project-mobile-accordions .accordion-title { grid-row: 1; font-size: 15px; font-weight: 700; line-height: 24px; }
  .project-mobile-accordions .accordion-symbol { grid-row: 1; width: 16px; height: 15.5px; background-image: url('../icons/competences-accordion.svg'); transform: rotate(45deg); }
  .project-mobile-accordions .accordion-trigger[aria-expanded="true"] .accordion-symbol { background-image: url('../icons/competences-accordion.svg'); transform: none; }
  .project-mobile-accordions [aria-expanded="true"].accordion-trigger { min-height: 39.3px; padding-bottom: 0; }
  .project-mobile-accordions .accordion-panel { padding: 0 0 16px; }
  .project-mobile-accordions .project-title h2, .project-mobile-accordions .project-title .tag, .project-mobile-accordions .project-details > div:has(.project-category) { display: none; }
  .project-mobile-accordions .project-details { margin: 16px 0; gap: 16px; font-size: 12px; line-height: 19px; }
  .project-mobile-accordions .project-details > div { position: relative; }
  .project-mobile-accordions .project-details > div::after { position: absolute; content: ''; width: 45px; height: .7px; background: var(--sage); left: 0; bottom: -8px; }
  .project-mobile-accordions .project-details strong { font-size: 12px; font-weight: 600; line-height: 19px; }
  .project-mobile-accordions .project-title .project-icons { display: flex; }
  .project-mobile-accordions .project-title .project-icons img { width: 38px; height: 37px; }
  .project-mobile-accordions .project-text { margin-top: 16px; font-size: 12px; line-height: 19px; }
  .project-mobile-accordions .project-text p + p { margin-top: 16px; }
  .project-gallery { gap: 26px; }
  .gallery-wide, .gallery-asym { margin-left: calc(var(--gutter) + 1px); margin-right: calc(var(--gutter) - 1px); }
  .gallery-pair:nth-of-type(1) { width: calc(100% - 59px); margin-left: 30px; margin-right: 29px; gap: 11px; }
  .gallery-pair:nth-of-type(2) { width: calc(100% - 61px); margin-left: 31px; margin-right: 30px; gap: 11px; }
  .project-gallery > :nth-child(3) { margin-top: -1px; }
  .project-gallery > :nth-child(4) { margin-top: 1px; }
  .project-gallery > :last-child { margin-top: 1px; }
  .project-gallery > :nth-child(2) { margin-top: 0; }
  .gallery-pair { gap: 12px; }
  .gallery-wide img { aspect-ratio: 340 / 214; }
  .gallery-pair img { aspect-ratio: 165 / 208; }
  .gallery-asym img { aspect-ratio: 340 / 151; }
  .gallery-pair:nth-of-type(2) img { aspect-ratio: 164 / 215; }
  .gallery-wide:last-child img { aspect-ratio: 340 / 222; }
  .page-project .site-footer { margin-top: 38px; }
  .page-project:has(.project-mobile-accordions [aria-expanded="true"]) .site-footer { margin-top: 31px; }
  .page-project:has(.project-mobile-accordions [aria-expanded="true"]) .gallery-wide:first-child { width: calc(100% - 59px); margin-left: 30px; }
  .page-project:has(.project-mobile-accordions [aria-expanded="true"]) .gallery-wide:first-child img { aspect-ratio: 341 / 214; }
  .page-project:has(.project-mobile-accordions .accordion-item:first-child [aria-expanded="true"]) .gallery-wide:first-child img { object-position: 50% calc(74% + 10px); }
  .page-competences .method h2 { line-height: 34px; }
  .page-competences .method-content { transform: none; }
  .page-competences .accordion-item:last-child .accordion-panel { padding-bottom: 16px; }
  #direction .competence-copy, #energie .competence-copy { padding-right: 28px; }
  .page-competences #direction, .page-competences #energie { height: max(500px,calc(100svh - var(--header-h))); }
  .page-competences .method { padding-right: 28px; padding-bottom: 64px; }
  .page-competences .accordion-trigger { padding-bottom: 15.43px; }
  .page-competences .accordion-title { line-height: 28px; }
  .page-competences .accordion-trigger[aria-expanded="true"] .accordion-symbol { grid-row: 1; }
  .page-competences .carousel-arrow { background-size: 16px 16px; }
  .page-competences .competence-slide:nth-child(n+4) { display: none; }
  .page-competences .button { border-radius: 10px; }
  .page-competences .accordion-panel { line-height: 18px; }
}
/* Painted rules avoid fractional native border rounding in Chrome on Windows. */
.team-accordion { border-color: transparent; box-shadow: inset 0 1.3px #948a89, inset 0 -1.3px #948a89; }
.page-competences .accordion, .project-mobile-accordions { border-top-color: transparent; box-shadow: inset 0 1.3px #948a89; }
.page-competences .accordion-item, .project-mobile-accordions .accordion-item { border-bottom-color: transparent; box-shadow: inset 0 -1.3px #948a89; }
@media (max-width: 380px) and (hover: none) and (pointer: coarse) {
  .home-cover { --home-mobile-frame: 24px; }
  .home-card { padding-inline: 24px; }
  .home-actions { margin-top: min(72px, 9.52dvh); }
  .footer-contact { gap: 10px; }
  .site-footer-inner > p, .page-competences .site-footer-inner > p { font-size: 6px; }
  .atelier-contact .contact-columns { grid-template-columns: 1fr; }
  .portfolio-filters { justify-content: flex-start; gap: 16px; }
}
@media (max-width: 840px) and (max-height: 500px) and (hover: none) and (pointer: coarse) {
  .mobile-menu { display: flex; flex-direction: column; align-items: center; overflow-y: auto; padding: 24px 20px 72px; }
  .mobile-menu-logo { width: 115px; height: 33px; }
  .mobile-menu-nav { position: static; margin-top: 24px; gap: 14px; }
  .mobile-menu .nav-link { font-size: 16px; line-height: 24px; }
  .nav-toggle[aria-expanded="true"] { top: auto; bottom: 16px; }
}
