/*
Theme Name: Archi Vitrail
Description: Un thème éditorial pour le vitrail et le verre d’art.
Version: 1.0
Text Domain: archivitrail
*/

:root {
  --ivory: #f5f1e8;
  --paper: #fcfaf4;
  --ink: #262b23;
  --olive: #46513a;
  --olive-dark: #303b2c;
  --gold: #aa8a50;
  --muted: #686d60;
  --line: rgba(48, 59, 44, .18);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --gutter: clamp(22px, 4.5vw, 72px);
  --section-space: clamp(64px, 7vw, 108px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
::selection { background: #d8c496; color: #20271c; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}
p { margin-bottom: 1.15em; }
button, input, textarea, select { border-radius: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.container { width: min(1280px, calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.screen-reader-text, .honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

/* Une identité calme et une navigation toujours lisible. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1600px;
  margin-inline: auto;
  padding: 21px var(--gutter) 19px;
}
.brand { display: inline-flex; flex-direction: column; flex-shrink: 0; }
.brand-name {
  font: 500 clamp(29px, 2.8vw, 42px)/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .055em;
}
.brand-tagline {
  margin-top: 9px;
  color: #645534;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(16px, 2.3vw, 35px);
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-link {
  display: inline-block;
  padding-block: 10px;
  font-size: 15px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* Le verre reste l’image principale ; le texte appartient au HTML. */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(850px, calc(100svh - 102px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #26231b;
  color: #fffaf0;
}
.hero-image { position: absolute; inset: -28px 0; z-index: -3; }
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(16, 20, 15, .8), rgba(19, 23, 18, .56) 30%, rgba(19, 23, 18, .12) 66%, rgba(19, 23, 18, .03));
}
.hero-content {
  width: min(1440px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  padding-block: 88px 118px;
}
.hero .hero-caption {
  position: absolute;
  left: var(--gutter);
  bottom: 28px;
  max-width: calc(100% - var(--gutter) * 2);
  margin: 0;
  color: #eee6d6;
  font-size: 11px;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .65);
}
.eyebrow, .section-kicker, .project-category, .journal-category {
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #f7e9cf; }
.hero-title {
  max-width: 710px;
  margin-bottom: 25px;
  font-size: clamp(60px, 7.1vw, 110px);
  line-height: .99;
  font-weight: 500;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-copy { max-width: 430px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 30px; margin-top: 36px; }
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: #fffaf0;
}
.scroll-cue > span { font-size: 20px; }
.scroll-cue::after { content: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 26px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button-light { background: var(--ivory); color: var(--ink); }
.button-light:hover { background: #e7dcc6; }
.button-dark { background: var(--olive); color: #fffaf0; }
.button-dark:hover { background: var(--olive-dark); }
.button:disabled, .submit-button:disabled { opacity: .55; cursor: wait; }
.text-link, .section-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--olive);
  font-size: 15px;
  line-height: 1.45;
}
.text-link::after, .section-link::after { content: none; }
.hero .text-link { color: #fffaf0; }

/* Des pages éditoriales, plutôt qu’une succession de boîtes. */
.section-heading { max-width: 750px; margin-bottom: 42px; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}
.section-header .section-heading { margin-bottom: 0; }
.section-kicker { color: #756035; margin-bottom: 15px; }
.section-title { font-size: clamp(38px, 4.1vw, 64px); margin-bottom: 18px; text-wrap: balance; }
.section-intro { max-width: 680px; color: var(--muted); font-size: 18px; margin-bottom: 0; }
.section-link { flex-shrink: 0; margin-bottom: 6px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; }
.project-card { min-width: 0; }
.project-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e5dfd0; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.project-card:hover .project-image img { transform: scale(1.035); }
.project-meta { margin-top: 20px; }
.project-category { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.project-title { font-size: clamp(27px, 2.4vw, 36px); margin-bottom: 8px; }
.project-meta p:last-child { color: var(--muted); font-size: 15px; }
.home-collection .project-grid { grid-template-columns: 1.2fr 1fr 1fr; }
.portfolio-note { margin: 30px 0 0; color: var(--muted); font-size: 14px; }
.styles-section { background: var(--paper); border-block: 1px solid var(--line); }
.style-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 35px; }
.style-card { min-width: 0; }
.style-image { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 48% 48% 0 0; background: #dfd6c4; }
.style-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.style-card:hover .style-image img { transform: scale(1.035); }
.style-content { padding-top: 23px; }
.style-content h3 { font-size: 36px; margin-bottom: 12px; }
.style-content p { max-width: 330px; color: var(--muted); font-size: 16px; }
.craft-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
}
.craft-image { min-width: 0; min-height: 470px; background: #dcd4c3; }
.craft-image img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.craft-content { max-width: 560px; }
.craft-content > p { color: var(--muted); }
.craft-list { margin: 28px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.craft-list li { padding-block: 14px; border-bottom: 1px solid var(--line); }
.craft-list a { display: flex; align-items: center; gap: 16px; }
.craft-list a > span:first-child { color: var(--muted); font-size: 13px; }
.craft-list a > span:last-child { margin-left: auto; }
.craft-list strong { font-weight: 500; }
.laila-section { background: #eae8da; }
.laila-section .container {
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.laila-image { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 48% 48% 0 0; background: #d5ccb9; }
.laila-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.real-portrait img { object-position: 20% 50%; }
.laila-content { max-width: 590px; }
.laila-content > p { font-size: 19px; color: #59604f; }
.image-caption { margin: 11px 0 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.journal-card { min-width: 0; }
.journal-image { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e0d8c8; }
.journal-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.journal-card:hover .journal-image img { transform: scale(1.035); }
.journal-content { padding-top: 21px; }
.journal-category { font-size: 11px; color: #756035; margin-bottom: 11px; }
.journal-title { font-size: clamp(28px, 2.5vw, 37px); margin-bottom: 14px; }
.journal-content > p { color: var(--muted); font-size: 16px; }
.project-cta { padding-block: 68px; background: var(--olive-dark); color: #fffaf0; }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.cta-copy { min-width: 0; flex: 1; }
.project-cta .section-kicker { color: #d5c092; margin: 0 0 15px; }
.project-cta .section-title { max-width: 780px; margin-bottom: 0; }
.project-cta p { max-width: 610px; margin: 16px 0 0; color: #e2e5d6; }
.project-cta .button { flex-shrink: 0; }

/* Pied de page et pages de destination. */
.site-footer { padding: 55px 0 22px; background: #eee8da; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 38px; }
.footer-brand { max-width: 360px; }
.footer-brand .brand-name { font-size: 32px; }
.footer-brand p { color: var(--muted); font-size: 15px; margin: 18px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px 27px; align-content: start; list-style: none; padding: 0; margin: 0; font-size: 15px; }
.footer-links a { display: inline-block; padding-block: 6px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 26px; border-top: 1px solid var(--line); padding-top: 19px; color: var(--muted); font-size: 13px; }
.footer-bottom p { margin: 0; }
.page-hero { position: relative; overflow: hidden; background: #eae5d8; }
.page-hero-inner { position: relative; z-index: 2; padding-block: 52px 65px; }
.page-hero .eyebrow { color: #756035; }
.page-hero h1 { max-width: 1000px; font-size: clamp(47px, 5.9vw, 88px); margin-bottom: 20px; text-wrap: balance; }
.page-hero-image { position: absolute; inset: 0; }
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; }
.page-hero.has-image, .page-hero:has(.page-hero-image) { background: #2d2c22; color: #fffaf0; }
.page-hero.has-image::after, .page-hero:has(.page-hero-image)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 25, 18, .8), rgba(20, 25, 18, .3));
  z-index: 1;
}
.page-hero.has-image .page-hero-inner, .page-hero:has(.page-hero-image) .page-hero-inner { padding-block: 55px 90px; }
.page-hero.has-image .eyebrow, .page-hero:has(.page-hero-image) .eyebrow { color: #f1dfb7; }
.page-intro { max-width: 780px; font-size: 20px; line-height: 1.6; color: var(--muted); }
.page-hero .page-intro { margin-bottom: 0; }
.page-hero.has-image .page-intro, .page-hero:has(.page-hero-image) .page-intro { color: #eee9dd; }
.breadcrumb { margin: 0 0 31px; font-size: 13px; line-height: 1.6; color: inherit; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: '/'; padding-right: 9px; opacity: .5; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter-button { min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 10px 19px; font-size: 14px; line-height: 1.4; }
.filter-button:hover { border-color: var(--olive); }
.filter-button[aria-pressed="true"] { background: var(--olive); color: #fffaf0; border-color: var(--olive); }
.filter-status { font-size: 13px; color: var(--muted); margin: 0 0 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.gallery-item { min-width: 0; }
.gallery-item:first-child { grid-column: 1 / -1; }
.gallery-item button { width: 100%; padding: 0; border: 0; background: #e2daca; display: block; cursor: zoom-in; }
.gallery-item img { width: 100%; height: auto; max-height: 730px; object-fit: contain; }
.gallery-item .image-caption { margin-bottom: 6px; }
.lightbox { width: min(1220px, 96vw); max-width: none; max-height: 96dvh; padding: 49px 49px 24px; border: 0; background: transparent; color: #fffaf0; overflow: auto; }
.lightbox::backdrop { background: rgba(14, 18, 12, .93); }
.lightbox img { max-height: 76dvh; max-width: 100%; width: auto; height: auto; margin-inline: auto; object-fit: contain; }
.lightbox-close, [data-lightbox-prev], [data-lightbox-next] { width: 44px; height: 44px; border: 1px solid rgba(255, 250, 240, .5); color: #fffaf0; background: #303b2c; display: grid; place-items: center; font-size: 23px; line-height: 1; }
.lightbox-close { position: absolute; right: 5px; top: 0; }
[data-lightbox-prev], [data-lightbox-next] { position: absolute; top: 47%; }
[data-lightbox-prev] { left: 0; }
[data-lightbox-next] { right: 0; }
.lightbox-caption { margin: 17px auto 0; max-width: 850px; font-size: 15px; line-height: 1.45; text-align: center; }

/* Lecture, projets détaillés et formulaire. */
.article-layout { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(220px, 1fr); gap: clamp(38px, 5vw, 76px); align-items: start; }
.article-body, .prose { font-size: 19px; line-height: 1.8; }
.article-body > :last-child, .prose > :last-child { margin-bottom: 0; }
.article-body h2, .prose h2 { font-size: clamp(34px, 3.4vw, 49px); margin: 46px 0 22px; }
.article-body h3, .prose h3 { font-size: 31px; margin: 35px 0 17px; }
.article-body a:not(.button), .prose a:not(.button) { color: var(--olive); text-decoration: underline; text-underline-offset: 4px; }
.article-body ul, .article-body ol, .prose ul, .prose ol { padding-left: 24px; }
.article-body li, .prose li { margin-bottom: 10px; padding-left: 5px; }
.article-body figure, .prose figure { margin-block: 32px; }
.article-body img, .prose img { height: auto; }
.article-body table, .prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td, .prose th, .prose td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); }
.article-aside { position: sticky; top: 135px; padding: 27px; background: #eae6da; font-size: 15px; }
.article-aside h2, .article-aside h3 { font-size: 28px; }
.article-aside p:last-child { margin-bottom: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-block: 25px; color: var(--muted); font-size: 14px; }
.article-meta span + span { border-left: 1px solid var(--line); padding-left: 22px; }
.page-hero.has-image .article-meta, .page-hero:has(.page-hero-image) .article-meta { color: #e7dfcd; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.quote-line { margin: 35px 0; padding: 5px 0 5px 26px; border-left: 2px solid var(--gold); color: var(--olive); font: italic 400 clamp(28px, 3vw, 42px)/1.25 var(--font-display); }
.portfolio-detail .project-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-block: 20px; border-block: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(240px, .8fr); gap: clamp(42px, 7vw, 100px); align-items: start; }
.contact-form { position: relative; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { margin-bottom: 25px; min-width: 0; }
.field label { display: block; margin-bottom: 9px; font-size: 15px; font-weight: 500; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #b8b9aa;
  font-size: 16px;
  line-height: 1.5;
}
.field input::placeholder, .field textarea::placeholder { color: #7b7e73; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--olive); }
.field textarea { min-height: 180px; resize: vertical; }
.field input[type="checkbox"], .field input[type="radio"] { width: 18px; height: 18px; margin-right: 9px; accent-color: var(--olive); vertical-align: middle; }
.field input[type="file"] { padding: 10px; font-size: 14px; }
.form-note { font-size: 14px; line-height: 1.6; color: var(--muted); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-bottom: 24px; padding: 18px 20px; background: #e3e8d9; border-left: 3px solid var(--olive); }
.form-status.is-error { background: #f2e3d9; border-color: #a65335; }
.submit-button { min-height: 52px; }
.not-found { text-align: center; padding: 90px var(--gutter); }
.not-found h1 { font-size: clamp(55px, 8vw, 110px); }
.not-found p { max-width: 590px; margin-inline: auto; }
.wp-block-image figcaption { color: var(--muted); font-size: 14px; }
.wp-block-separator { margin-block: 35px; border: 0; border-top: 1px solid var(--line); }
.aligncenter { margin-inline: auto; }
.reveal.is-pending { opacity: 0; transform: translate3d(0, 20px, 0); }
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .6, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.admin-bar .site-header { top: 32px; }

/* Le téléphone possède sa propre composition, sans gestes complexes. */
@media (max-width: 1100px) {
  .header-inner { gap: 22px; }
  .nav-list { gap: 18px; }
  .nav-link { font-size: 14px; }
  .hero-title { max-width: 600px; }
  .project-grid, .home-collection .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-collection .project-card:first-child { grid-column: 1 / -1; }
  .home-collection .project-card:first-child .project-image { aspect-ratio: 16 / 8; }
  .craft-split { gap: 35px; }
  .craft-image, .craft-image img { min-height: 400px; }
  .journal-grid { gap: 25px; }
  .article-layout { grid-template-columns: minmax(0, 2fr) minmax(210px, 1fr); gap: 34px; }
}
@media (max-width: 820px) {
  :root { --gutter: 25px; --section-space: 64px; }
  html { scroll-padding-top: 100px; }
  .header-inner { position: relative; flex-wrap: wrap; padding-block: 19px; gap: 16px; }
  .brand-name { font-size: 32px; }
  .brand-tagline { font-size: 9px; letter-spacing: .25em; margin-top: 7px; }
  .site-nav { width: 100%; }
  .nav-list { justify-content: flex-start; gap: 5px 21px; }
  .nav-link { font-size: 15px; }
  .js .menu-toggle { position: relative; display: flex; align-items: center; justify-content: center; min-width: 56px; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; }
  .js .menu-toggle > span:not(.screen-reader-text) { position: absolute; width: 23px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .js .menu-toggle > span:first-child { transform: translateY(-4px); }
  .js .menu-toggle > span:nth-child(2) { transform: translateY(4px); }
  .js .menu-toggle[aria-expanded="true"] > span:first-child { transform: rotate(45deg); }
  .js .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: rotate(-45deg); }
  .js .site-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 16px var(--gutter) 23px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 16px 25px rgba(33, 35, 25, .07); max-height: calc(100dvh - 96px); overflow-y: auto; }
  .js .nav-list { display: block; }
  .js .nav-link { display: block; padding-block: 12px; font-size: 18px; }
  .js .nav-link::after { bottom: 9px; right: auto; width: 28px; }
  .hero { min-height: 700px; min-height: max(610px, calc(90svh - 95px)); }
  .hero-content { padding-block: 72px 112px; }
  .hero-title { font-size: clamp(62px, 9.5vw, 83px); max-width: 590px; }
  .hero-shade { background: linear-gradient(90deg, rgba(15, 19, 14, .8), rgba(15, 19, 14, .45) 63%, rgba(15, 19, 14, .2)); }
  .hero-copy { max-width: 420px; font-size: 20px; }
  .section-header { align-items: flex-start; flex-direction: column; gap: 20px; }
  .section-heading { margin-bottom: 33px; }
  .section-header { margin-bottom: 33px; }
  .section-title { font-size: clamp(39px, 6vw, 51px); }
  .style-grid { gap: 28px 23px; }
  .style-content h3 { font-size: 31px; }
  .style-content p { font-size: 15px; }
  .craft-split { grid-template-columns: 1fr; gap: 37px; }
  .craft-image, .craft-image img { min-height: 0; }
  .craft-image img { max-height: 620px; object-fit: cover; }
  .craft-content { max-width: 100%; }
  .laila-section .container { gap: 36px; }
  .laila-content > p { font-size: 17px; }
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 25px; }
  .journal-grid .journal-card:first-child { grid-column: 1 / -1; }
  .journal-grid .journal-card:first-child .journal-image { aspect-ratio: 16 / 8; }
  .cta-content { align-items: flex-start; flex-direction: column; gap: 25px; }
  .project-cta { padding-block: 54px; }
  .footer-inner { flex-direction: column; gap: 27px; }
  .footer-brand { max-width: 490px; }
  .page-hero h1 { font-size: clamp(44px, 7.5vw, 67px); }
  .page-hero-inner { padding-block: 34px 45px; }
  .page-intro { font-size: 18px; }
  .article-layout, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .article-aside { position: static; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-body, .prose { font-size: 18px; }
  .filter-status { width: 100%; margin: 8px 0 0; }
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 560px) {
  :root { --gutter: 22px; --section-space: 54px; }
  body { font-size: 16px; }
  .header-inner { padding-block: 18px; gap: 12px; }
  .brand-name { font-size: 29px; letter-spacing: .035em; }
  .brand-tagline { font-size: 8px; letter-spacing: .23em; }
  .js .menu-toggle { min-width: 50px; padding-inline: 9px; font-size: 13px; }
  .hero { min-height: max(640px, calc(100svh - 88px)); }
  .hero-image img { object-position: 68% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(14, 18, 13, .38), rgba(14, 18, 13, .75) 42%, rgba(14, 18, 13, .79)); }
  .hero-content { padding-block: 65px 100px; }
  .desktop-break { display: none; }
  .hero-title { font-size: clamp(53px, 14vw, 76px); max-width: 470px; margin-bottom: 22px; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 23px; }
  .hero-copy { font-size: 18px; max-width: 345px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 28px; }
  .scroll-cue { left: var(--gutter); right: auto; bottom: 54px; font-size: 12px; }
  .hero .hero-caption { bottom: 22px; font-size: 10px; }
  .button { min-height: 50px; padding: 13px 23px; font-size: 15px; }
  .section-title { font-size: 40px; }
  .section-intro { font-size: 17px; }
  .section-kicker { font-size: 11px; }
  .project-grid, .home-collection .project-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-collection .project-card:first-child .project-image { aspect-ratio: 4 / 3; }
  .project-meta { margin-top: 17px; }
  .project-title { font-size: 31px; }
  .style-grid { grid-template-columns: 1fr; gap: 36px; }
  .style-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 22px; }
  .style-image { aspect-ratio: 3 / 4; }
  .style-content { padding: 0; }
  .style-content h3 { font-size: 31px; }
  .style-content p { font-size: 15px; margin-bottom: 12px; }
  .style-content .text-link { font-size: 13px; gap: 8px; }
  .laila-section .container { grid-template-columns: 1fr; gap: 34px; }
  .laila-image { width: min(100%, 420px); max-height: 520px; }
  .laila-content > p { font-size: 18px; }
  .journal-grid, .related-grid { grid-template-columns: 1fr; gap: 37px; }
  .journal-grid .journal-card:first-child .journal-image { aspect-ratio: 16 / 10; }
  .journal-title { font-size: 32px; }
  .journal-content > p { font-size: 16px; }
  .project-cta .section-title { font-size: 39px; }
  .footer-inner { padding-bottom: 30px; }
  .footer-links { gap: 9px 24px; font-size: 14px; }
  .footer-bottom { flex-direction: column; gap: 11px; }
  .page-hero h1 { font-size: 49px; }
  .breadcrumb { margin-bottom: 27px; font-size: 12px; }
  .page-hero.has-image .page-hero-inner, .page-hero:has(.page-hero-image) .page-hero-inner { padding-block: 34px 57px; }
  .filter-bar { gap: 8px; margin-bottom: 29px; }
  .filter-button { padding-inline: 13px; font-size: 13px; }
  .gallery-grid { gap: 21px; grid-template-columns: 1fr; }
  .lightbox { width: 100vw; max-height: 100dvh; padding: 51px 10px 72px; }
  .lightbox img { max-height: 72dvh; }
  .lightbox-close { right: 12px; }
  [data-lightbox-prev], [data-lightbox-next] { top: auto; bottom: 12px; }
  [data-lightbox-prev] { left: calc(50% - 52px); }
  [data-lightbox-next] { right: calc(50% - 52px); }
  .lightbox-caption { font-size: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field { margin-bottom: 23px; }
  .article-body, .prose { font-size: 17px; line-height: 1.8; }
  .article-body h2, .prose h2 { font-size: 35px; }
  .article-body h3, .prose h3 { font-size: 29px; }
  .article-meta { gap: 9px 14px; font-size: 13px; }
  .article-meta span + span { padding-left: 14px; }
  .portfolio-detail .project-meta { gap: 12px; }
}
/* Laila dans l’atelier : une image lumineuse et une composition dédiée. */
.atelier-hero {
  min-height: min(880px, calc(100svh - 100px));
  background: #f5eedf;
  color: #292c19;
}
.atelier-hero .hero-image { inset: 0; }
.atelier-hero .hero-image img { object-position: 50% 50%; }
.atelier-hero .atelier-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250, 245, 233, .2), rgba(250, 245, 233, .08) 31%, transparent 43%);
}
.atelier-hero .hero-content {
  width: min(1600px, calc(100% - var(--gutter) * 2));
  padding-block: 72px 140px;
}
.atelier-hero .eyebrow {
  color: #41452e;
  margin-bottom: 23px;
  font-size: 12px;
  letter-spacing: .3em;
}
.atelier-hero .hero-title {
  max-width: min(550px, 41vw);
  margin-bottom: 22px;
  font-size: clamp(70px, 7.65vw, 130px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.04em;
  text-wrap: initial;
}
.atelier-hero .hero-copy {
  max-width: min(480px, 39vw);
  font-family: var(--font-display);
  font-size: clamp(23px, 1.9vw, 32px);
  line-height: 1.2;
  color: #343b28;
}
.atelier-hero .hero-actions { max-width: min(560px, 42vw); gap: 20px 32px; margin-top: 33px; }
.atelier-hero .button-dark {
  min-height: 61px;
  padding: 14px 28px;
  border: 2px solid #b49a5d;
  background: #4b512d;
  box-shadow: inset 0 0 0 2px rgba(245, 237, 213, .35);
  color: #fff8e9;
  font-family: var(--font-display);
  font-size: 22px;
}
.atelier-hero .button-dark:hover { background: #353d25; border-color: #88703a; }
.atelier-hero .text-link {
  padding-block: 8px 4px;
  border-color: #8c794c;
  color: #353b26;
  font-family: var(--font-display);
  font-size: 21px;
}
.atelier-hero .atelier-scroll {
  left: var(--gutter);
  right: auto;
  bottom: 35px;
  max-width: 430px;
  color: #333a24;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.4;
}
.atelier-hero .atelier-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 22px;
  margin: 0;
  padding: 5px 9px;
  max-width: calc(100% - var(--gutter) * 2);
  background: rgba(248, 243, 232, .88);
  color: #4b503c;
  font-size: 11px;
  line-height: 1.45;
}
@media (max-width: 1100px) and (min-width: 821px) {
  .atelier-hero { min-height: 690px; }
  .atelier-hero .hero-content { padding-block: 64px 128px; }
  .atelier-hero .hero-title { font-size: clamp(70px, 7.65vw, 85px); }
  .atelier-hero .hero-actions { gap: 17px 24px; }
  .atelier-hero .button-dark { min-height: 55px; padding-inline: 21px; font-size: 20px; }
  .atelier-hero .text-link { font-size: 19px; }
}
@media (max-width: 820px) {
  .atelier-hero {
    --atelier-image-height: clamp(330px, 58vw, 430px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #f6f0e3;
  }
  .atelier-hero .hero-image {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: var(--atelier-image-height);
    overflow: hidden;
    flex: 0 0 auto;
  }
  .atelier-hero .hero-image img { object-position: 83% 51%; }
  .atelier-hero .atelier-shade { display: none; }
  .atelier-hero .hero-content {
    width: 100%;
    margin: 0;
    padding: 42px var(--gutter) 27px;
  }
  .atelier-hero .eyebrow { font-size: 11px; margin-bottom: 20px; letter-spacing: .23em; }
  .atelier-hero .hero-title {
    max-width: 100%;
    font-size: clamp(60px, 10vw, 82px);
    line-height: .94;
    margin-bottom: 22px;
  }
  .atelier-hero .hero-copy { max-width: 480px; font-size: clamp(24px, 3.8vw, 29px); line-height: 1.25; }
  .atelier-hero .hero-actions { max-width: 100%; margin-top: 27px; gap: 18px 29px; flex-direction: row; align-items: center; }
  .atelier-hero .button-dark { min-height: 57px; font-size: 21px; padding-inline: 23px; }
  .atelier-hero .text-link { font-size: 20px; }
  .atelier-hero .atelier-scroll {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    align-self: flex-start;
    min-height: 44px;
    margin: 0 var(--gutter) 32px;
    font-size: 16px;
  }
  .atelier-hero .atelier-caption {
    top: calc(var(--atelier-image-height) - 37px);
    bottom: auto;
    right: var(--gutter);
    font-size: 10px;
  }
}
@media (max-width: 560px) {
  .atelier-hero .hero-content { padding-top: 35px; }
  .atelier-hero .hero-title { font-size: clamp(56px, 15vw, 78px); }
  .atelier-hero .hero-actions { flex-direction: column; align-items: flex-start; gap: 17px; }
  .atelier-hero .hero-copy { max-width: 100%; font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
  .project-card:hover .project-image img, .style-card:hover .style-image img, .journal-card:hover .journal-image img { transform: none; }
}
