:root {
  color-scheme: light;
  --paper: #f7f3eb;
  --ink: #201c24;
  --muted: #59535b;
  --berry: #663298;
  --soft: #e6dfed;
  --line: #d7cfd4;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }
a:focus-visible, video:focus-visible { outline: 3px solid #7233ad; outline-offset: 5px; }
h1, h2, h3, p, figure, dl { margin: 0; }
p, dd { line-height: 1.6; }
img { display: block; width: 100%; height: auto; }
.wrap { width: min(76rem, calc(100% - 6rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: 1rem; left: 1rem; padding: .75rem; color: white; background: var(--ink); transform: translateY(-300%); }
.skip:focus { transform: none; }
section[id] { scroll-margin-top: 1.25rem; }
.header { display: flex; gap: 1rem; justify-content: space-between; align-items: center; min-height: 5.25rem; border-bottom: 1px solid var(--line); }
.header a { text-decoration: none; }
.signature { font-family: Georgia, serif; font-size: clamp(1.22rem, 2.25vw, 1.65rem); letter-spacing: -.06em; font-weight: 700; }
.signature span, h2 span { color: var(--berry); }
nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2.1rem); }
nav a { font-weight: 650; padding-block: .6rem; }
nav a:hover, .underlink:hover, .footer a:hover { color: var(--berry); }
.outline { padding-inline: .95rem; border: 1px solid var(--ink); border-radius: 100px; }
.hero { display: grid; grid-template-columns: 1.16fr .84fr; align-items: center; gap: clamp(1rem, 4vw, 4rem); padding-block: clamp(2.7rem, 6vw, 6rem); }
.label { font-size: .875rem; font-weight: 750; line-height: 1.4; letter-spacing: .065em; text-transform: uppercase; color: var(--berry); }
h1, h2 { font-weight: 700; letter-spacing: -.073em; line-height: .94; }
h1 { font-size: clamp(3.1rem, 6.9vw, 7rem); margin-block: .9rem 1.4rem; }
h1 em, h2 em { font-family: Georgia, serif; font-weight: 400; color: var(--berry); }
h1 em { display: block; font-size: .96em; }
h1 em::first-line { line-height: 1; }
.intro { max-width: 46ch; color: var(--muted); font-size: clamp(1.02rem, 1.55vw, 1.25rem); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.35rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; min-height: 3rem; padding: .7rem 1.15rem; background: var(--ink); color: white; border-radius: 100px; text-decoration: none; font-weight: 700; }
.button:hover { background: var(--berry); }
.underlink { text-underline-offset: .23em; font-weight: 650; }
.hero-figure { padding-inline: 7% 4%; }
.photo-stack { position: relative; padding: 0 10% 0 0; }
.hero-photo { aspect-ratio: .8; object-fit: cover; object-position: center 45%; border: .5rem solid #fffdf7; box-shadow: 0 .5rem 1.6rem #201c2430; transform: rotate(-4deg); }
.detail-photo { position: absolute; bottom: 1%; right: 0; width: 38%; aspect-ratio: 1; object-fit: cover; border: .44rem solid #fffdf7; box-shadow: 0 .5rem 1.4rem #201c243b; transform: rotate(9deg); }
.hero-figure figcaption { margin-top: 1.05rem; font-weight: 650; font-size: .875rem; line-height: 1.45; }
.hero-figure figcaption span { display: block; color: var(--muted); font-weight: 400; }
.projects { padding-block: clamp(3rem, 6.2vw, 6rem); background: var(--ink); color: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.8rem; }
.section-head p { max-width: 32ch; }
h2 { font-size: clamp(2.85rem, 6.7vw, 6.1rem); }
.projects .section-head { color: var(--soft); }
.projects .section-head p { color: #e8e1e9; }
.projects h2 span { color: inherit; }
.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 1.6rem; }
.project { min-width: 0; }
.project-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; background: #362e3a; object-fit: cover; }
.kitchen .project-media img { object-position: center 44%; }
.advent .project-media img { object-position: center 40%; }
.project-media figcaption, .media-credit { margin-top: .4rem; font-size: .875rem; line-height: 1.35; color: #e8e1e9; }
.video-card, .beer-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  aspect-ratio: 4 / 3;
  gap: .85rem;
  padding: clamp(1.5rem, 4.5vw, 4rem);
}
.video-card { background: #eae2ee; color: var(--ink); }
.beer-card { background: #eadbba; color: #283325; }
.video-title, .beer-title { font-size: clamp(2rem, 5vw, 4.4rem); line-height: .96; letter-spacing: -.065em; font-weight: 750; }
.beer-title em { font-family: Georgia, serif; font-weight: 400; }
.play-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: .9rem;
}
.media-link { font-weight: 700; text-underline-offset: .25em; }
.media-link { padding-block: .35rem; }
.media-link:hover { text-decoration-thickness: 2px; }
.project-text { margin-top: 1rem; }
.project-text .label { color: var(--soft); }
h3 { margin-block: .5rem; font-size: clamp(1.45rem, 3vw, 2.35rem); letter-spacing: -.048em; line-height: 1.05; }
.project-text p:not(.label) { max-width: 55ch; }
.role { margin-top: .65rem; color: #e8e1e9; }
.role strong { display: block; color: var(--paper); }
.services { padding-block: clamp(3.2rem, 7vw, 7rem); }
.services .section-head p { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem 1.5rem; }
.service-grid div { border-top: 1px solid var(--line); padding-block: 1rem; }
dt { font-size: 1.2rem; font-weight: 750; letter-spacing: -.026em; }
dd { margin: .4rem 0 0; color: var(--muted); }
.about { background: var(--soft); }
.about-content { display: grid; align-items: center; grid-template-columns: 1fr .9fr; gap: 2rem; padding-block: clamp(2.8rem, 6vw, 5.9rem); }
.about h2 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.about p + p { margin-top: .75rem; }
.contact { display: flex; justify-content: space-between; align-items: end; gap: 1rem; padding-block: clamp(3.1rem, 7vw, 6rem); }
.contact h2 { font-size: clamp(2.7rem, 6vw, 5.5rem); margin-top: .6rem; }
.contact .button { flex: none; }
.footer { display: flex; justify-content: space-between; padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer a { text-underline-offset: .2em; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 3rem); }
  .hero { gap: 1.15rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 2rem); }
  .header { min-height: 4.4rem; }
  nav { gap: .7rem; }
  nav a { font-size: .875rem; }
  .outline { padding-inline: .65rem; }
  .hero { grid-template-columns: 1fr; gap: 2.5rem; }
  h1 { font-size: clamp(3.1rem, 10.6vw, 5.85rem); }
  .hero-figure { max-width: 26rem; padding-inline: 8% 6%; }
  .section-head, .contact { flex-direction: column; align-items: start; }
  .portfolio-grid, .service-grid, .about-content { grid-template-columns: 1fr; }
  .portfolio-grid { gap: 2.5rem; }
  .project-media img, .video-card, .beer-card { aspect-ratio: 1; }
}
@media (max-width: 370px) {
  .signature { font-size: 1.08rem; }
  .header { gap: .45rem; }
  nav { gap: .48rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.case-link { display: inline-block; margin-top: .75rem; color: var(--soft); text-underline-offset: .25em; font-weight: 700; }

.team .team-cover img { aspect-ratio: 3 / 2; object-fit: contain; background: #171118; }
.project-media .photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .28rem; }
.project-media .photo-pair img { aspect-ratio: 2 / 3; object-fit: contain; background: #171118; }
.project-gallery { margin-top: .8rem; }
.project-gallery summary { cursor: pointer; font-weight: 700; color: var(--soft); }
.project-gallery summary:focus-visible { outline: 2px solid var(--soft); outline-offset: 4px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; margin-top: .7rem; }
.gallery-grid img { aspect-ratio: 3 / 4; object-fit: contain; background: #171118; }
@media (max-width: 660px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.career { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.75rem, 5vw, 5rem); padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid #63586a66; }
.career h3 { font-size: clamp(2.2rem, 5vw, 4.5rem); margin-bottom: 1rem; letter-spacing: -.06em; }
.career-intro p { max-width: 41ch; }
.career-intro .button { margin-top: 1.1rem; }
.career-list { list-style: none; padding: 0; margin: 0; }
.career-list li { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); gap: .55rem; padding-block: .8rem; border-bottom: 1px solid #63586a66; }
.career-list li:first-child { padding-top: 0; }
.career-date { color: #5f337e; font-size: .9rem; font-weight: 700; }
.career-list strong { display: block; margin-bottom: .15rem; font-size: 1.08rem; }
@media (max-width: 660px) { .career { grid-template-columns: 1fr; } }
@media (max-width: 465px) { .header { flex-wrap: wrap; justify-content: flex-start; gap: .35rem; padding-block: .65rem; } .header nav { flex-basis: 100%; justify-content: space-between; } }


.hero-area, .service-extra, .contact-intro { color: var(--muted); line-height: 1.55; }
.hero-area { margin-top: .75rem; max-width: 46ch; }
.service-mode { font-weight: 700; font-size: .88rem; margin-top: .8rem; }
.service-extra { margin-top: 1rem; max-width: 68ch; }
.contact-intro { margin-top: .75rem; max-width: 52ch; }


.workshops { border-top: 1px solid var(--line); padding-block: clamp(2.9rem, 6vw, 6rem); }
.workshops .section-head p, .workshop > p:last-child { color: var(--muted); }
.workshop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.workshop { padding: clamp(1.05rem, 2.7vw, 2rem); border: 1px solid var(--line); }
.workshop h3 { margin-bottom: .7rem; }
.workshop p + p { margin-top: .65rem; }
.workshop .workshop-rate { font-weight: 750; margin-bottom: .8rem; }
.workshop-bundle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem; padding: 1rem 0 0; margin-top: 1rem; border-top: 1px solid var(--line); }
.workshop-bundle strong { font-size: 1.35rem; letter-spacing: -.025em; }
@media (max-width: 700px) { .workshop-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 465px) { .header nav { flex-wrap: wrap; justify-content: flex-start; gap: .45rem .7rem; } }


.signature { display: inline-flex; gap: .45rem; align-items: center; }
.signature img { width: 2.45rem; height: auto; flex: none; }
.about { background: #ede8df; }
.workshop { background: #fffdf7; }


.workshop-support { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem 1.15rem; list-style: none; padding: 1rem 0; margin: 0 0 1.05rem; border-block: 1px solid var(--line); }
.workshop-support li { min-width: 0; color: var(--muted); line-height: 1.55; }
.workshop-support strong { display: block; color: var(--ink); margin-bottom: .28rem; }
.workshop-handover { display: grid; grid-template-columns: 1.15fr 1fr; gap: .9rem 2rem; align-items: start; padding: clamp(1.05rem, 3vw, 2rem); margin-top: 2rem; background: #ede8df; border: 1px solid var(--line); scroll-margin-top: 1.25rem; }
.workshop-handover p:not(.label), .workshop-handover ul { color: var(--muted); line-height: 1.55; }
.workshop-handover .button { margin-top: .9rem; }
.workshop-handover ul { padding-inline-start: 1.15rem; margin-block: .2rem; }
.workshop-handover li + li { margin-top: .4rem; }
@media (max-width: 700px) { .workshop-support, .workshop-handover { grid-template-columns: minmax(0, 1fr); } .workshop-support li + li { border-top: 1px solid var(--line); padding-top: .75rem; } }

/* Service prices and inclusions */
.service-grid dd + dd:not(.service-mode) { margin-top: .55rem; }
.service-grid .service-rate strong { color: var(--ink); }
.service-options { list-style: none; margin: 0; padding: 0; }
.service-options li + li { margin-top: .28rem; }
.workshop-handover .workshop-rate { margin-bottom: .65rem; }

/* Let the site navigation wrap cleanly with the two dedicated pages. */
@media (max-width: 650px) {
  .header { flex-wrap: wrap; justify-content: flex-start; gap: .35rem; padding-block: .65rem; }
  .header nav { flex-basis: 100%; flex-wrap: wrap; justify-content: flex-start; gap: .25rem .75rem; }
}

/* Viséora : de la respiration et quelques repères visuels sous l’accueil. */
.services .section-head,
.workshops .section-head { display: block; }
.services .section-head > p,
.workshops .section-head > p { max-width: none; margin-top: .85rem; }
.service-grid dt { text-align: center; text-wrap: balance; }
.service-icon { display: block; margin-bottom: .4rem; font-size: 1.35rem; }
@media (min-width: 46rem) {
  .services .section-head > p,
  .workshops .section-head > p { text-align: justify; hyphens: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .service-icon, .step-stamp span { transition: transform 230ms ease; }
  .service-grid > div:hover .service-icon, .month-steps > li:hover .step-stamp span { transform: translateY(-.22rem) rotate(-6deg); }
}

/* Les paragraphes suivent toute la largeur de leur bloc, sans changer l’accueil. */
main > section:not(.hero) p:not(.label):not(.page-price):not(.workshop-rate):not(.beer-title):not(.video-title):not(.media-credit),
.service-grid dd:not(.service-mode):not(.service-rate) {
  max-width: none;
  text-align: justify;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.projects .section-head { display: block; }
.projects .section-head > p { margin-top: .85rem; }

/* Mouvement éditorial, hors du premier écran de l’accueil. */
.motion-crop, .project-media .photo-pair { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  main > section:not(.hero) .button {
    transition: background-color 200ms ease, box-shadow 230ms ease, translate 230ms ease;
  }
  main > section:not(.hero) .button:is(:hover, :focus-visible) {
    translate: 0 -3px;
    box-shadow: 0 .45rem .95rem #201c2426;
  }
  main > section:not(.hero) .button:active { translate: 0 0; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .project-media img { transition: scale 420ms cubic-bezier(.22,.75,.22,1); }
  .motion-crop:hover > img, .photo-pair img:hover { scale: 1.045; }
  .service-grid > div, .page-card, .workshop { transition: border-color 230ms ease, box-shadow 230ms ease; }
  :is(.service-grid > div, .page-card, .workshop):hover {
    border-color: var(--berry);
    box-shadow: 0 .55rem 1.35rem #201c2412;
  }
}

/* Un menu identique sur chaque page, repliable sur les petits écrans. */
.header .menu-toggle[hidden], .header #menu-principal[hidden] { display: none; }
.header #menu-principal { flex-wrap: wrap; gap: .3rem clamp(.55rem,1.35vw,1.45rem); }
.header #menu-principal a[aria-current="page"] { color: var(--berry); text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .85rem;
  min-height: 44px;
  border: 1px solid var(--ink); border-radius: 100px;
  background: transparent; color: var(--ink);
  font: inherit; font-weight: 700;
}
.menu-toggle:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
.menu-toggle[aria-expanded="false"] .menu-icon-close, .menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
@media (max-width: 54rem) {
  .header { min-height: 0; padding-block: .7rem; flex-wrap: wrap; justify-content: space-between; gap: .55rem 1rem; }
  .header #menu-principal {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(100%,13rem),1fr));
    align-items: start;
    flex: 0 0 100%; padding-block: .5rem;
    border-top: 1px solid var(--line);
  }
  .header #menu-principal a { min-height: 44px; padding: .55rem .65rem; }
  .header #menu-principal .outline { justify-self: start; padding-inline: .85rem; }
}

/* Un point d’entrée pour les offres ; les quatre liens restent dans le HTML. */
.header .nav-offers { position: relative; }
.nav-offers summary {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem 0; min-height: 44px; cursor: pointer;
  font-weight: 650; list-style: none;
}
.nav-offers summary::-webkit-details-marker { display: none; }
.nav-offers summary::after {
  content: ""; width: .43rem; height: .43rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin: -.25rem .1rem 0 0;
}
.nav-offers[open] summary::after { transform: rotate(225deg); margin-top: .2rem; }
.nav-offers summary:is(:hover, .nav-branch-current) { color: var(--berry); }
.nav-offers summary:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
.nav-offers-links {
  position: absolute; z-index: 4; top: 100%; left: -.55rem;
  min-width: 15rem; width: max-content;
  max-width: min(22rem,calc(100vw - 3rem));
  padding: .4rem; border: 1px solid var(--line); border-radius: .65rem;
  background: #fffdf7; box-shadow: 0 .45rem 1.2rem #201c2426;
}
.header #menu-principal .nav-offers-links a { display: block; min-height: 44px; padding: .6rem .7rem; }
.nav-offers-links .nav-all-offers { border-bottom: 1px solid var(--line); }
.crumbs { padding-top: 1.05rem; font-size: .88rem; color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .55rem; }
.crumbs li + li::before { content: "/"; margin-right: .55rem; color: var(--berry); }
.crumbs li[aria-current="page"] { color: var(--ink); }
.crumbs + .page-hero { padding-top: clamp(1.7rem,5vw,4.65rem); }
@media (max-width: 54rem) {
  .header #menu-principal { grid-template-columns: minmax(0,1fr); gap: .08rem; }
  .header .nav-offers summary { padding-inline: .65rem; }
  .header .nav-offers-links { position: static; box-shadow: none; min-width: 0; max-width: none; width: auto; margin: 0 0 .35rem .7rem; }
}
