/* V17 — one signature, five ways of entering the work. */
:root { --header-height: 90px; --journey-height: 54px; }
section[id] { scroll-margin-top: calc(var(--header-height) + var(--journey-height) + 20px); }
.chapter { padding-top: clamp(52px, 6vw, 88px); padding-bottom: clamp(42px, 5vw, 72px); }
.section-heading { position: relative; isolation: isolate; margin-bottom: 35px; }
.heading-line { padding-top: 30px; gap: 28px; align-items: end; }
.heading-line h2 { font-size: clamp(52px, 6vw, 96px); }
.heading-line > p { position: relative; font-size: 12px; line-height: 1.8; }
.section-end { margin-top: 32px; }
.films { padding-bottom: 64px; }
.film-gallery { row-gap: 32px; }
.world-mark { position: absolute; right: -2%; top: 15px; width: 44%; height: 170px; z-index: -1; pointer-events: none; color: var(--brand-accent); opacity: .24; transform: translateY(calc((1 - var(--world-entry, 1)) * 24px)); }
.world-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1; overflow: visible; }
.world-mark-films { transform: scaleX(calc(.75 + var(--world-entry, 1) * .25)); transform-origin: center; }
.world-mark-films svg { stroke-width: 1.3; }
.world-mark-films rect { transform: scaleX(calc(.4 + var(--world-entry, 1) * .6)); transform-origin: center; }
.films .heading-line h2 { transform: translateX(calc((1 - var(--world-entry, 1)) * -34px)); }
.films .heading-line h2 em { display: inline-block; transform: translateX(calc((1 - var(--world-entry, 1)) * 68px)); }
.films .heading-line { min-height: 230px; }
.design { border-radius: 40px; padding-block: 65px; }
.design-wireframe { display: none; }
.design-backdrop { background-size: 64px 64px; }
.design-backdrop::after { display: none; }
.design .section-heading { margin-bottom: 38px; }
.design .heading-line { min-height: 250px; grid-template-columns: minmax(0, 1fr) minmax(170px, 235px); }
.design .heading-line h2 { font-size: clamp(52px, 6.7vw, 104px); }
.design h2 em { display: inline-block; font: 700 .74em/1.16 Syne,sans-serif; letter-spacing: -.06em; }
.design .heading-line h2 em { clip-path: inset(0 calc((1 - var(--world-entry, 1)) * 100%) 0 0); }
.world-mark-design { top: 18px; opacity: .55; transform: rotate(calc(-8deg + var(--world-entry, 1) * 8deg)); }
.design-guides { opacity: .3; stroke-dasharray: 3 5; }
.design-sign { stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--world-entry, 1)); fill: rgb(var(--brand-accent-rgb) / calc(var(--world-entry, 1) * .12)); }
.design-nodes { fill: var(--brand-accent); stroke: #151718; stroke-width: 3; }
.design .design-gallery { gap: 35px clamp(22px,3vw,48px); }
.design .design-tile:nth-child(even) { margin-top: 12%; }
.design .design-tile:nth-child(4) { margin-top: 7%; }
.design .design-tile:nth-child(6) { margin-top: 8%; }
.design .design-caption { padding-top: 16px; }
.design .section-end { margin-top: 35px; }
.showcase-world { padding-top: 75px; padding-bottom: 48px; }
.showcase-world > .section-heading { margin-bottom: 35px; }
.showcase-world .heading-line { min-height: 250px; }
.world-mark-web { transform: perspective(700px) rotateY(calc((1 - var(--world-entry, 1)) * -25deg)) translateY(calc((1 - var(--world-entry, 1)) * 25px)); }
.showcase-world .heading-line h2 { transform: perspective(1000px) rotateX(calc((1 - var(--world-entry, 1)) * 10deg)); transform-origin: bottom left; }
.photography { margin-top: 24px; background: #111314; padding-top: 58px; padding-bottom: 46px; }
.photography .heading-line { display: block; text-align: center; padding-top: 40px; }
.photography .heading-line h2 { max-width: none; }
.photography .heading-line h2 em { display: inline-block; transform: translateY(calc((1 - var(--world-entry, 1)) * 22px)); }
.photography .heading-line > p { max-width: 400px; margin: 22px auto 0; }
.world-mark-photographie { opacity: .16; right: -3%; width: 30%; transform: translateY(calc((1 - var(--world-entry, 1)) * 40px)) rotate(calc((1 - var(--world-entry, 1)) * 14deg)); }
.photo-filters { justify-content: center; }
.sound-world { margin-top: 30px; padding-block: 58px; }
.sound-world .heading-line { min-height: 210px; }
.sound-world .heading-line h2 { font-family: Syne,sans-serif; font-weight: 700; }
.sound-world .heading-line h2 em { font: 500 .82em/1.1 Space,sans-serif; letter-spacing: -.055em; }
.world-mark-son { color: #18200d; opacity: .24; }
.world-mark-son path { transform-origin: center; transform: scaleY(calc(.38 + var(--sound-energy, 0) * .65 + var(--world-entry, 1) * .22)); transition: transform .14s; stroke-width: 3; stroke-linecap: round; }

/* The section index stays within the page, directly below the existing navbar. */
.discipline-nav { position: sticky; top: var(--header-height); z-index: 35; margin: 0; padding-inline: var(--layout-inset, 5%); height: var(--journey-height); display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); background: #0d0f10f5; backdrop-filter: blur(16px); border-block: 1px solid #ffffff19; overflow: visible; }
.discipline-nav a, .discipline-nav a:first-child, .discipline-nav a:last-child { position: relative; justify-content: center; min-width: 0; padding: 0 12px !important; font-size: 11px; gap: 12px; border: 0; transition: color .2s, background .2s; }
.discipline-nav a > b { display: none; }
.discipline-nav a::after { content: ''; position: absolute; bottom: -1px; left: 12px; right: 12px; height: 2px; background: var(--brand-accent); transform: scaleX(0); transform-origin: left; }
.discipline-nav a[aria-current="location"] { color: var(--brand-accent); background: #d6ff5f08; }
.discipline-nav a[aria-current="location"] > span { color: inherit; }
.discipline-nav a[aria-current="location"]::after { transform: scaleX(var(--chapter-progress,0)); }
.sacha-intro { display: flex; align-items: center; gap: 15px; margin: 22px var(--layout-inset,5%) 30px; padding: 14px 0; max-width: 520px; }
.sacha-avatar { position: relative; display: block; width: 56px; height: 56px; flex: 0 0 auto; overflow: hidden; border-radius: 50%; }
.sacha-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(2.1); transform-origin: 50% 35%; }
.sacha-intro > span { font-size: 10px; line-height: 1.7; color: #b8bab4; }
.sacha-intro strong { font-size: 17px; color: var(--paper); font-weight: 500; }
.sacha-intro .sacha-intro-link { margin-left: auto; color: var(--brand-accent); border-bottom: 1px solid #d6ff5f55; padding: 8px 0; }
.sacha-intro-link b { margin-left: 20px; font-weight: 400; }

/* Sacha: one real shoot photo, lightly graded, used throughout his presentation. */
.about { padding-top: 75px; }
.about-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: clamp(32px,5vw,85px); align-items: start; margin-top: 38px; }
.sacha-visual { min-width: 0; position: sticky; top: calc(var(--header-height) + var(--journey-height) + 22px); }
.sacha-portraits { position: relative; aspect-ratio: 1.05; overflow: hidden; border-radius: 36px; background: #191b1a; }
.sacha-shot { position: absolute; inset: 0; margin: 0; }
.sacha-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 29%; }
.sacha-shot::after { content: ''; position: absolute; inset: 75% 0 0; background: linear-gradient(transparent,#05060599); pointer-events: none; }
.sacha-shot figcaption { position: absolute; inset: auto 26px 25px; z-index: 2; font-size: 19px; color: #fff; }
.about-copy h2 { font-size: clamp(43px,4.9vw,78px); margin: 0 0 26px; }
.about-copy > p { font-size: 13px; line-height: 1.85; margin: 15px 0; color: #c1c2bb; }
.about .sacha-signature { display: block; margin: 20px 0 28px; font-size: 35px; }
.about .chat-window { width: 100%; max-width: none; padding: 23px; border-radius: 28px; transform: none; background: #ffffff04; box-shadow: none; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.about .chat-title { padding-bottom: 17px; }
.about .chat-title > div { font-size: 13px; }
.about .chat-title small { font-size: 7px; }
.about .chat-messages { display: none; }
.about .chat-choices { justify-content: start; margin-top: 18px; }
.about .chat-choices button { min-height: 43px; font-size: 10px; }
.client-words { margin: 50px var(--layout-inset,5%); display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; }
.client-words figure { margin: 0; padding: 25px; border: 1px solid var(--line); border-radius: 26px; }
.client-words blockquote { margin: 0 0 22px; font: italic 28px/1.2 Instrument,serif; }
.client-words figcaption { font-size: 12px; color: var(--accent); }
.client-words figcaption span { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }

/* Project reader: an image-led spread with a compact editorial sidebar. */
#project-dialog { width: min(1510px,96vw); max-width: 96vw; max-height: 94svh; border-radius: 30px; background: #111314; }
#project-dialog .dialog-close { position: sticky; top: 12px; min-height: 44px; background: #1d2020f2; }
#project-content { clear: both; }
.project-reader { display: grid; grid-template-columns: minmax(0,2.6fr) minmax(250px,1fr); gap: 24px 30px; padding: 0 30px 30px; min-height: 0; }
.case-heading { grid-column: 1/-1; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding-top: 4px; }
.case-heading .eyebrow { color: var(--brand-accent); font-size: 9px; }
.case-heading h2 { font: 500 clamp(30px,4vw,58px)/1.05 Space,sans-serif; letter-spacing: -.06em; margin-top: 9px; }
.case-total { font-size: 11px; color: #b8bcb5; line-height: 1.6; text-align: right; }
.case-cinema { min-width: 0; }
.project-stage { min-height: 0; height: clamp(290px,56svh,720px); border-radius: 22px; overflow: hidden; background: #060707; }
.project-stage img,.project-stage video { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.project-media-caption { left: 15px; top: 15px; border: 1px solid #ffffff26; border-radius: 18px; background: #0c0e0edc; max-width: calc(100% - 30px); font-size: 9px; padding: 9px 12px; }
.media-step { width: 42px; height: 48px; border-radius: 22px; background: #131616d9; }
.project-reader .media-selector { position: relative; display: flex; overflow-x: auto; scrollbar-width: thin; gap: 10px; padding: 14px 2px 10px; scroll-padding-inline: 5px; }
.media-choice { flex: 0 0 105px; border-radius: 14px; border: 1px solid #ffffff22; padding: 5px; text-align: left; min-width: 0; }
.media-choice img,.media-choice .audio-icon { width: 100%; height: 62px; object-fit: cover; border-radius: 9px; }
.media-choice .audio-icon { display: grid; place-items: center; font-size: 24px; color: var(--brand-accent); background: #20271a; }
.media-choice > span:not(.audio-icon) { display: block; font-size: 8px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 7px 2px 0; }
.media-choice small { font-size: 6px; letter-spacing: .7px; color: #abb0a7; display: block; padding: 4px 2px 1px; }
.media-choice[aria-pressed="true"] { border-color: var(--brand-accent); background: #d6ff5f09; }
.project-reader-copy { padding: 12px 0 0; display: flex; flex-direction: column; gap: 26px; align-items: start; }
.project-reader-copy h3 { font-size: 9px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--brand-accent); margin-bottom: 12px; font-weight: 500; }
.project-reader-copy p { font-size: 13px; line-height: 1.85; color: #d4d5cd; }
.project-reader-copy .detail-tags { margin: 0; gap: 7px; }
.project-reader-copy .detail-tags span { padding: 9px 11px; font-size: 9px; border-color: #ffffff32; }
.project-reader-copy .project-credit { font-size: 10px; line-height: 1.8; color: #aeb3aa; margin-top: 8px; }
.project-reader-copy .action-button { gap: 20px; background: var(--brand-accent); min-height: 47px; font-size: 11px; margin-top: auto; margin-bottom: 8px; }
.case-audio-art { position: absolute; inset: 20% 12%; display: flex; align-items: center; justify-content: center; gap: 7px; }
.case-audio-art i { width: 7px; height: var(--height); background: var(--brand-accent); opacity: .55; border-radius: 8px; }
.project-stage audio { position: absolute; bottom: 30px; width: 80%; }
.contact-dialog-inner { padding-top: 20px; }
.contact-selection { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; margin-bottom: 15px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--brand-accent); }
.contact-selection button { min-height: 40px; white-space: nowrap; border: 1px solid #ffffff35; border-radius: 22px; padding: 8px 13px; font-size: 10px; color: var(--paper); }
.contact-dialog .form-grid { gap: 18px; }
.contact-dialog [data-step="1"] > h3 { font-size: 22px; letter-spacing: -.6px; }
.form-navigation { gap: 16px; }

@media (max-width: 900px) {
  :root { --header-height: 76px; --journey-height: 48px; }
  .world-mark { height: 135px; width: 42%; }
  .heading-line h2,.design .heading-line h2 { font-size: clamp(48px,7vw,72px); }
  .design .heading-line,.showcase-world .heading-line,.films .heading-line { min-height: 215px; }
  .design .design-tile:nth-child(even) { margin-top: 10%; }
  .about-grid { gap: 30px; }
  .about-copy h2 { font-size: 46px; }
  .about .chat-window { padding: 18px; }
  .sacha-portraits { aspect-ratio: .8; }
  .sacha-shot figcaption { inset-inline: 20px; font-size: 16px; }
  .project-reader { grid-template-columns: minmax(0,1fr); padding: 0 22px 24px; gap: 20px; }
  .case-heading { grid-column: auto; }
  .project-reader-copy { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; padding: 0; }
  .project-reader-copy .action-button { justify-self: start; margin-top: 0; }
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: minmax(0,1fr); }
  .sacha-visual { position: relative; top: auto; }
  .sacha-portraits { aspect-ratio: 1.15; }
  .about-copy h2 { font-size: clamp(46px,9vw,68px); margin-bottom: 22px; }
  .about-copy > p { max-width: 590px; }
  .world-mark { opacity: .16; }
}
@media (max-width: 600px) {
  .chapter { padding-top: 40px; padding-bottom: 40px; }
  .section-heading { margin-bottom: 25px; }
  .heading-line,.design .heading-line,.showcase-world .heading-line,.films .heading-line,.sound-world .heading-line { min-height: 0; display: block; padding-top: 28px; }
  .heading-line h2,.design .heading-line h2 { font-size: clamp(42px,10.2vw,60px); }
  .heading-line > p { margin-top: 20px; max-width: 275px; font-size: 11px; }
  .world-mark { top: 20px; right: 0; width: 62%; height: 150px; opacity: .13; }
  .world-mark-design { opacity: .22; }
  .design h2 em { font-size: .78em; }
  .design .section-heading { margin-bottom: 28px; }
  .design .design-gallery { gap: 30px; }
  .design .design-tile:nth-child(n) { margin-top: 0; }
  .design .section-end { margin-top: 26px; }
  .design-category { font-size: 8px; }
  .photography .heading-line { text-align: left; }
  .photography .heading-line > p { margin: 20px 0 0; }
  .photo-filters { justify-content: start; }
  .world-mark-photographie { width: 60%; }
  .showcase-world > .section-heading { margin-bottom: 28px; }
  .sound-world,.photography { margin-top: 16px; }
  .discipline-nav { padding-inline: 10px; }
  .discipline-nav a,.discipline-nav a:first-child,.discipline-nav a:last-child { padding: 0 4px !important; font-size: 10px; gap: 0; }
  .discipline-nav a > span { display: none; }
  .discipline-nav a::after { left: 5px; right: 5px; }
  .sacha-intro { margin-top: 15px; margin-bottom: 20px; gap: 10px; }
  .sacha-intro .sacha-intro-link { font-size: 9px; }
  .sacha-intro-link b { margin-left: 5px; }
  .sacha-intro .sacha-avatar { width: 48px; height: 48px; }
  .about-grid { margin-top: 26px; gap: 28px; }
  .sacha-portraits { border-radius: 27px; }
  .sacha-shot figcaption { bottom: 20px; }
  #project-dialog { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; border: 0; border-radius: 0; }
  #project-dialog .dialog-close { margin-top: 10px; margin-right: 14px; top: 10px; }
  .project-reader { padding: 0 16px 25px; gap: 18px; }
  .case-heading { display: block; padding-top: 6px; }
  .case-heading h2 { font-size: 34px; }
  .case-heading .eyebrow { font-size: 8px; }
  .case-total { display: block; text-align: left; margin-top: 10px; font-size: 10px; }
  .project-stage { height: 52svh; min-height: 260px; border-radius: 18px; }
  .project-stage[data-format="landscape"]:not([data-media="audio"]) { height: auto; min-height: 0; aspect-ratio: var(--case-ratio,16/9); }
  .project-media-caption { font-size: 8px; top: 10px; left: 10px; max-width: calc(100% - 20px); }
  .media-choice { flex-basis: 94px; }
  .media-step { width: 38px; height: 44px; }
  .project-reader-copy { grid-template-columns: 1fr; gap: 22px; }
  .project-reader-copy p { font-size: 12px; }
  .contact-dialog-inner { padding-top: 12px; }
  .contact-selection { font-size: 10px; }
  .contact-dialog h2 { margin-top: 12px; margin-bottom: 25px; }
  .contact-dialog [data-step="1"] > h3 { font-size: 20px; }
  .form-navigation { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .world-mark,.world-mark-films rect,.world-mark-son path { transform: none; transition: none; }
  .films .heading-line h2,.films .heading-line h2 em,.showcase-world .heading-line h2,.photography .heading-line h2 em { transform: none; }
  .design .heading-line h2 em { clip-path: none; }
  .design-sign { stroke-dashoffset: 0; }
}
