/* Featured identity and its print-to-web match cut. */
.sr-only, .choice-radio {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.portfolio-hero {
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  align-items: center; gap: clamp(2rem,4.2vw,5.5rem);
  min-height: 0; padding: clamp(3rem,5.5vw,6rem) var(--pad);
}
.portfolio-hero .hero-copy { padding: 0; }
.portfolio-hero h1 { font-size: clamp(3.55rem,6.65vw,7.9rem); line-height: .91; margin: 1.2rem 0 1.35rem; }
html[lang="fr"] .portfolio-hero h1 { font-size: clamp(3rem,5.5vw,6.6rem); line-height: .96; }
.portfolio-hero .lede { max-width: 37ch; margin-bottom: 1.55rem; }
.oui-feature { min-width: 0; margin: 0; }
.oui-stage {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.37; container-type: inline-size;
  background: linear-gradient(146deg,#dfd2bb 0%,#c7b6a0 45%,#a99277 87%,#b09a81 100%);
}
.oui-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(108deg,transparent 29%,#f5ecde4f 51%,transparent 72%);
}
.oui-print, .oui-browser, .oui-photo { position: absolute; }
.oui-print {
  display: grid; grid-template-columns: 1fr 1fr;
  inset: 20% 7.5% 19%; transform: rotate(-5deg);
  background: #efe9d9; box-shadow: .3rem .8rem 1.6rem #49352460, 1px 3px 0 #b1a28c;
  transition: opacity .85s ease, transform 1.35s var(--ease);
}
.sheet-left { padding: 10.5% 9.5%; display: flex; flex-direction: column; align-items: start; justify-content: space-between; color: #2f302a; background: linear-gradient(90deg,#f2eddf 78%,#e8dfce 95%,#c5bbaa); }
.sheet-left small, .oui-mast span, .web-foot span { font: 630 clamp(.32rem,1.14cqw,.6rem)/1.35 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.sheet-left strong { font: 400 12.2cqw/.68 var(--serif); letter-spacing: -.1em; }
.sheet-left strong span { display: block; margin: .65em .1em 0; font: 580 1.45cqw/1 var(--sans); text-transform: uppercase; letter-spacing: .32em; }
.sheet-left i { align-self: stretch; height: 1px; background: #aca393; }
.sheet-right { background: linear-gradient(90deg,#d1c8b5,#ece5d7 9%,#f6f1e7); }
.oui-browser {
  inset: 8% 6.5% 9%; overflow: hidden; background: #f6f1e7; border-radius: 3px; opacity: 0;
  box-shadow: .35rem .85rem 1.8rem #432b1e50; transform: scale(.94);
  transition: opacity .9s ease, transform 1.35s var(--ease);
}
.browser-bar { height: 8%; display: flex; align-items: center; gap: .65cqw; padding-inline: 2cqw; background: #302d28; }
.browser-bar i { height: .7cqw; width: .7cqw; border-radius: 50%; background: #b9afa0; }
.oui-mast,.web-foot { display: flex; align-items: center; justify-content: space-between; padding-inline: 3.5%; }
.oui-mast { height: 16%; }
.oui-mast b { font: 650 2.35cqw/1 var(--sans); letter-spacing: -.06em; }
.oui-mast span { color: #514a42; }
.web-foot { position: absolute; left: 0; right: 0; bottom: 0; height: 19%; }
.web-foot span { font-family: var(--serif); text-transform: none; font-size: 2.4cqw; letter-spacing: -.025em; font-weight: 400; }
.web-foot b { font: 400 3.7cqw/.9 var(--serif); letter-spacing: -.07em; }
.oui-photo {
  z-index: 1; top: 21.3%; left: 50.4%; width: 39%; height: 50%; transform: rotate(-5deg); overflow: hidden;
  transition: left 1.35s var(--ease), top 1.35s var(--ease), width 1.35s var(--ease), height 1.35s var(--ease), transform 1.35s var(--ease);
}
.oui-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 49% 52%; }
.oui-feature[data-mode="web"] .oui-print { opacity: 0; transform: translateY(3%) rotate(-2deg) scale(.97); }
.oui-feature[data-mode="web"] .oui-browser { opacity: 1; transform: none; }
.oui-feature[data-mode="web"] .oui-photo { left: 9.5%; top: 28%; width: 81%; height: 47%; transform: none; }
.oui-feature.is-rewinding .oui-stage * { transition: none; }
.oui-caption { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .85rem 0 .15rem; }
.oui-caption > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .85rem; }
.oui-caption a { font: 600 .87rem/1.3 var(--sans); }
.oui-caption a .icon { width: .76rem; height: .76rem; }
.oui-caption > div > span, .replay-link, .film-index-foot { font: 550 .68rem/1.4 var(--sans); }
.oui-caption > div > span { color: var(--muted); }
.replay-link,.film-play-button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .2rem; background: none; border: 0; cursor: pointer; }
.replay-link .icon { width: .95rem; height: .95rem; }
.portfolio-hero + #work { border-top: 1px solid var(--line); padding-top: clamp(2.4rem,4vw,4.25rem); }
#work .work-grid, .archive-grid .work-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.55rem,.85vw,1.05rem); }
#work .work-card, .archive-grid .work-card { grid-column: auto; min-height: clamp(220px,25.5vw,390px); }
.work-card:not(.film-index) .card-info { margin-top: auto; margin-bottom: 0; }
.work-card:not(.film-index) .card-link { margin-top: .85rem; }
.work-card.marie-index { grid-column: 1 / -1; background: linear-gradient(115deg,#86565e,#bc8990 52%,#afa08e); }
.work-card.film-index { padding: 0; justify-content: space-between; background: #32111c; }
.film-index::after { display: none; }
.film-index-cover { position: absolute; inset: 0 0 2.45rem; }
.film-index-cover img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .55s var(--ease); }
.film-index-foot { display: flex; align-items: center; justify-content: space-between; gap: .4rem; position: absolute; inset: auto 0 0; background: #290d16; border-top: 1px solid #ae798343; min-height: 2.45rem; padding: .5rem 1rem; letter-spacing: .015em; }
.film-index-foot b { display: inline-flex; align-items: center; gap: .4rem; font-weight: 620; }
.film-index-foot span span { padding: 0 .28rem; color: #c67d86; }
.play-triangle { display: inline-block; width: 0; height: 0; border-block: .32em solid transparent; border-left: .55em solid currentColor; }
.motion-index { background: radial-gradient(ellipse at 82% 42%,#bb535a 0,#6e2732 45%,#361722 100%); }
.motion-index.poster .work-image { right: 5%; width: 47%; --rot: 3deg; height: 102%; }
.motion-index .card-type { align-self: start; color: #fff2e9; font: 620 .65rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.motion-index h3 { max-width: 7.2em; }
.motion-index .card-link { gap: .48rem; }
.services .section-title em, .study-section-title em, .study-heading h1 em { font-family: var(--serif); font-weight: 400; color: #a23e29; }
@media (min-width: 1150px) {
  .services { grid-template-columns: minmax(0,.73fr) minmax(0,1.7fr); gap: 4vw; }
  .service-cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (min-width: 1021px) and (max-width: 1149px) { .service-cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }

/* Work index and editorial project spreads. */
.archive-heading,.study-heading { padding: clamp(2.2rem,4.5vw,5rem) var(--pad) clamp(1.8rem,3.2vw,3.6rem); }
.archive-heading h1,.study-heading h1 { color: var(--ink); font: 400 clamp(3.4rem,7.5vw,8.5rem)/.94 var(--serif); letter-spacing: -.05em; margin: .65rem 0 0; }
.archive-heading h1 i { color: var(--accent); }
.archive-grid { padding: 0 var(--pad) clamp(3.2rem,6vw,6rem); }
.archive-grid .filters { margin-bottom: 1.3rem; }
.back-index,.text-link { display: inline-flex; align-items: center; gap: .5rem; font: 650 .74rem/1.5 var(--sans); }
.back-index { margin-bottom: clamp(1.8rem,3vw,3.3rem); color: var(--muted); }
.back-index span { font-size: 1rem; }
.study-intro,.study-editorial { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(230px,.65fr); align-items: end; gap: clamp(2rem,5vw,6.2rem); }
.study-heading h1 { max-width: 13ch; }
.study-heading h1 em { display: block; }
.study-summary p,.study-editorial p,.motion-aside p { font: 430 clamp(.97rem,1.15vw,1.17rem)/1.6 var(--sans); margin: 0; max-width: 50ch; }
.study-summary > span { display: block; font: 580 .68rem/1.5 var(--sans); color: var(--muted); margin-top: 1rem; }
.study-body { padding: 0 var(--pad) clamp(3.1rem,6vw,6rem); }
.study-body figure { margin: 0; }
.architecture-hero { position: relative; padding: clamp(1.5rem,4.5vw,5rem); background: #d8cfba; display: grid; justify-items: center; }
.architecture-hero img { display: block; width: min(100%,720px); height: auto; box-shadow: 0 .7rem 1.6rem #4439233d; }
.study-editorial { align-items: start; margin-block: clamp(2.5rem,5vw,6rem); }
.study-section-title { font: 400 clamp(2.55rem,4.5vw,4.9rem)/.97 var(--serif); letter-spacing: -.048em; margin: 0 0 1rem; }
.design-notes, .piece-credit { border-block: 1px solid #b4a590; }
.design-notes summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem .1rem; font: 650 .84rem/1.5 var(--sans); cursor: pointer; list-style: none; }
.design-notes summary::-webkit-details-marker { display: none; }
.design-notes summary i { position: relative; width: 1rem; height: 1rem; }
.design-notes summary i::before,.design-notes summary i::after { content: ""; position: absolute; top: 50%; left: 0; height: 1px; width: 100%; background: currentColor; }
.design-notes summary i::after { transform: rotate(90deg); }
.notes-open, .design-notes[open] .notes-closed,.design-notes[open] summary i::after { display: none; }
.design-notes[open] .notes-open { display: inline; }
.design-notes div { padding-bottom: 1rem; }
.study-editorial .design-notes p,.piece-credit p { font-size: .88rem; color: var(--muted); }
.design-notes p + p { margin-top: .75rem; }
.art-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem,2.2vw,2.5rem); }
.study-figure.wide { grid-column: 1 / -1; }
.figure-mat { --mat: #e3d8c8; min-height: clamp(220px,25vw,370px); display: grid; place-items: center; padding: clamp(1rem,3.3vw,3.75rem); background: var(--mat); }
.mat-paper { --art-tone: #e2d8c8; }.mat-ink { --art-tone: #332f2b; }.mat-atlas { --art-tone: #433b2f; }.mat-wine { --art-tone: #51242b; }
.study-figure .figure-mat { background: var(--art-tone); }
.figure-mat img { width: auto; height: auto; max-width: 100%; max-height: 350px; box-shadow: 0 .65rem 1.5rem #1d151c3d; }
.study-figure figcaption { margin-top: .65rem; font: 570 .75rem/1.4 var(--sans); }
.study-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: clamp(2rem,3.8vw,4rem); }
.study-next { border-top: 1px solid var(--line); padding: clamp(2rem,4vw,4.2rem) var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.study-next > span { font: 570 .75rem/1.4 var(--sans); color: var(--muted); }
.study-next a { font: 400 clamp(1.8rem,3.4vw,3.5rem)/1 var(--serif); letter-spacing: -.04em; }
.study-next .icon { width: .52em; height: .52em; }
.crest-compare { min-width: 0; margin: 0; padding: 0; border: 0; }
.crest-compare legend { float: left; margin: .35rem 1rem .8rem 0; padding: 0; font: 400 clamp(1.2rem,2.35vw,2.2rem)/1.1 var(--serif); letter-spacing: -.025em; }
.crest-toolbar { display: flex; justify-content: end; flex-wrap: wrap; padding-bottom: .75rem; gap: .45rem; }
.crest-toolbar label { display: inline-flex; padding: .6rem .85rem; align-items: center; border: 1px solid #b0a28f; border-radius: 5rem; font: 600 .74rem/1.25 var(--sans); cursor: pointer; }
#crest-card:checked ~ .crest-toolbar [for="crest-card"], #crest-sign:checked ~ .crest-toolbar [for="crest-sign"] { color: #fff6e4; background: #48252a; border-color: #48252a; }
#crest-card:focus-visible ~ .crest-toolbar [for="crest-card"], #crest-sign:focus-visible ~ .crest-toolbar [for="crest-sign"] { outline: 3px solid var(--accent); outline-offset: 3px; }
.crest-picture { clear: both; position: relative; height: clamp(270px,31vw,430px); overflow: hidden; }
.crest-picture figure { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .65s ease,visibility 0s .65s; }
.crest-card-art { background: radial-gradient(ellipse at 53% 40%,#aa886d,#604739); }
.crest-sign-art { background: radial-gradient(ellipse at 50% 50%,#b5986c,#736044); }
.crest-picture img { position: absolute; top: 43%; left: 50%; height: auto; box-shadow: .25rem .7rem 1.3rem #2d211d57; }
.crest-card-art img { width: min(85%,540px); transform: translate(-47%,-32%); }
.crest-sign-art img { width: min(49%,285px); transform: translate(-50%,-42%); }
#crest-card:checked ~ .crest-picture .crest-card-art,#crest-sign:checked ~ .crest-picture .crest-sign-art { opacity: 1; visibility: visible; transition-delay: 0s; }
.media-player { position: relative; overflow: hidden; background: #291219; color: #fbf0df; }
.player-mat { display: grid; place-items: center; background: #260f15; }
.media-player video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; }
.media-player figcaption { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .43rem .95rem; border-top: 1px solid #76535a; font: 530 .72rem/1.4 var(--sans); }
.film-play-button { color: #fff5e5; font: 630 .72rem/1.4 var(--sans); min-height: 35px; }
.film-player figcaption { min-height: 3rem; }
.film-player:not(.has-played) .film-play-button {
  position: absolute; top: calc(50% - 1.5rem); left: 50%; transform: translate(-50%,-50%);
  min-height: 44px; padding: .55rem 1.05rem; gap: .62rem; border: 1px solid #d8b69e;
  border-radius: 4rem; background: #25151bed; box-shadow: 0 .2rem .7rem #200a1233;
}
.film-player .film-play-button:focus-visible { outline-color: #f6b28e; }
.film-play-button[data-playing] .play-triangle { height: .72em; width: .52em; border: 0; border-left: .16em solid; border-right: .16em solid; }
.film-study > .film-player { max-width: 1320px; margin-inline: auto; }
.piece-credit { padding: 1rem .1rem; }
.piece-credit h3 { font: 650 .85rem/1.4 var(--sans); margin: 0 0 .65rem; }
.study-body .text-link { margin-top: 1rem; border-bottom: 1px solid currentColor; padding: .2rem 0; }
.motion-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: center; gap: min(7vw,7.2rem); }
.portrait-player .player-mat { padding: clamp(1rem,2.1vw,2.5rem); background: radial-gradient(ellipse at 45% 24%,#884951,#441d29 80%); }
.portrait-player video { width: auto; height: auto; max-height: min(66svh,640px); max-width: 100%; aspect-ratio: 9/16; box-shadow: 0 .55rem 1.4rem #1e081552; }
.poster-archive { margin-top: clamp(3rem,5.5vw,6rem); }
.poster-archive .study-section-title { margin-bottom: 1.6rem; }
.poster-sheet .figure-mat img { max-height: clamp(230px,34vw,510px); }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .film-index:hover .film-index-cover img { transform: scale(1.025); }
}
@media (max-width: 760px) {
  .portfolio-hero { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.3rem var(--pad) 1.65rem; }
  .portfolio-hero h1 { font-size: clamp(3.55rem,10vw,5rem); }
  html[lang="fr"] .portfolio-hero h1 { font-size: clamp(2.95rem,9.2vw,4.85rem); }
  .portfolio-hero h1 br:nth-of-type(2) { display: none; }
  .portfolio-hero h1 em::before { content: " "; }
  .oui-stage { aspect-ratio: 1.54; }
  .study-intro,.study-editorial { grid-template-columns: 1fr; gap: 1.25rem; }
  .study-summary p { max-width: 46ch; }
  .study-heading h1 { max-width: none; }
  .study-heading h1 em { display: inline; }
  .study-editorial { gap: 1.7rem; }
  .art-grid { gap: 1rem; }
  .motion-layout { grid-template-columns: 1fr; gap: 2rem; }
  .motion-aside { max-width: 46ch; }
  .crest-compare legend { float: none; }
  .crest-toolbar { justify-content: start; }
  .crest-card-art img { transform: translate(-49%,-36%); }
  .crest-sign-art img { width: min(60%,250px); }
  .study-next { align-items: start; flex-direction: column; gap: .55rem; }
}
@media (max-width: 525px) {
  #work .work-grid,.archive-grid .work-grid { grid-template-columns: minmax(0,1fr); }
  #work .work-card,.archive-grid .work-card { min-height: clamp(215px,63vw,310px); }
  #work .film-index,.archive-grid .film-index { min-height: 0; aspect-ratio: 1.55; }
  .art-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .portfolio-hero .hero-copy h1 { font-size: clamp(3rem,12.1vw,4.1rem); }
  html[lang="fr"] .portfolio-hero .hero-copy h1 { font-size: clamp(2.45rem,9.7vw,3.65rem); }
  .portfolio-hero h1 br:nth-of-type(2) { display: initial; }
  .portfolio-hero h1 em::before { content: none; }
  .study-figure.wide { grid-column: auto; }
  .portrait-player video { max-height: min(64svh,560px); }
  .film-index-foot { padding-inline: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .oui-feature *, .crest-picture figure, .film-index-cover img { transition: none !important; }
}

