:root {
  color-scheme: dark;
  --ink: #f4f1e9;
  --muted: #a2a7ad;
  --dim: #737d89;
  --night: #08111d;
  --night-soft: #0c1725;
  --line: rgba(239, 238, 229, 0.17);
  --page-pad: clamp(1.25rem, 5.5vw, 6rem);
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, a { color: inherit; font: inherit; }
a { text-decoration: none; }
button { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--night); background: #e7cba7; }

.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; color: var(--night); background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.hero { position: fixed; z-index: 25; top: 0; right: 0; left: 0; height: 100svh; min-height: 620px; overflow: hidden; background: var(--night); isolation: isolate; transition: height .55s cubic-bezier(.2,.7,.2,1), background-color .3s ease; }
.hero-spacer { height: 98px; min-height: 98px; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-fragment { position: absolute; width: 37vw; height: 60vh; object-fit: cover; opacity: .44; filter: saturate(.78) brightness(.73); -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%); mask-composite: intersect; box-shadow: 0 30px 100px rgba(0,0,0,.35); animation: drift 26s ease-in-out infinite alternate; will-change: transform; }
.hero-fragment-one { left: 1vw; top: 20vh; transform: rotate(-4deg); }
.hero-fragment-two { top: 13vh; right: 1vw; width: 35vw; animation-delay: -8s; transform: rotate(3deg); }
.hero-fragment-three { bottom: -18vh; left: 35vw; width: 32vw; height: 50vh; animation-delay: -14s; transform: rotate(-2deg); }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(180deg, #07101e 0%, rgba(8,17,29,.91) 21%, rgba(8,17,29,.69) 52%, rgba(8,17,29,.94) 100%), radial-gradient(ellipse at 50% 42%, rgba(28,49,75,.45), transparent 58%); }
.hero-center { position: absolute; top: 46%; left: 50%; width: calc(100% - var(--page-pad) - var(--page-pad)); text-align: center; transform: translate(-50%, -50%); transition: top .55s cubic-bezier(.2,.7,.2,1), left .55s cubic-bezier(.2,.7,.2,1), width .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1), text-align .2s ease; }
.eyebrow { margin: 0; color: #c3b08f; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; }
.hero-center h1 { margin: .52rem 0 .15rem; font-size: clamp(4.7rem, 11.5vw, 11.6rem); font-weight: 400; letter-spacing: -.085em; line-height: .91; white-space: nowrap; transition: font-size .55s cubic-bezier(.2,.7,.2,1), letter-spacing .55s ease, margin .55s ease; }
.hero-center h1 em { font-family: var(--display); font-weight: 400; }
.hero-center h1 em .star-i { position: relative; display: inline-block; }
.hero-center h1 em .star-i::before { content: "✦"; position: absolute; top: -.78em; left: 50%; color: var(--ink); font-family: var(--body); font-size: .3em; font-style: normal; line-height: 1; transform: translateX(-50%); }
.hero-bottomline { position: absolute; right: var(--page-pad); bottom: 2.5rem; left: var(--page-pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; transition: top .55s cubic-bezier(.2,.7,.2,1), right .55s ease, bottom .55s ease, left .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.hero-work-nav { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, calc(-50% + 6px)); transition: opacity .3s ease, visibility .3s ease, transform .3s ease; }
.hero-work-link { position: relative; padding: .5rem 0; color: rgba(244,241,233,.76); font-size: .64rem; letter-spacing: .13em; white-space: nowrap; transition: color .25s ease; }
.hero-work-link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: #dbc6a3; content: ''; transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.hero-work-link:hover { color: var(--ink); }
.hero-work-link:hover::after { transform: scaleX(1); }
.hero-bottom-label, .scroll-note { color: rgba(244,241,233,.54); font-size: .58rem; letter-spacing: .18em; }
.scroll-note { justify-self: end; }
.scroll-note span { padding-left: .5rem; font-size: .9rem; }
.project-nav { display: flex; justify-content: center; gap: clamp(.5rem, 1.2vw, 1.2rem); min-width: 0; max-width: 70vw; overflow-x: auto; scrollbar-width: none; }
.project-nav::-webkit-scrollbar { display: none; }
.project-link { position: relative; flex: 0 0 auto; padding: .5rem 0; border: 0; background: none; color: rgba(244,241,233,.66); cursor: pointer; font-size: .66rem; transition: color .25s ease; white-space: nowrap; }
.project-link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: #dbc6a3; content: ''; transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.project-link:hover, .project-link.is-active { color: var(--ink); }
.project-link.is-active::after { transform: scaleX(1); }

/* These shortcuts belong only to the minimized navigation, not the welcome-page list. */
.project-nav-shortcut { display: none; }
body.is-scrolled .project-nav-shortcut { display: inline-flex; align-items: center; }

body.is-scrolled .hero { height: 98px; min-height: 0; border-bottom: 1px solid var(--line); background: rgba(6,14,24,.66); backdrop-filter: blur(14px); }
body.is-scrolled .hero-art { opacity: 0; }
body.is-scrolled .hero-fragment { animation-play-state: paused; }
.hero-art { transition: opacity .35s ease; }
body.is-scrolled .hero-center { top: 50%; left: var(--page-pad); width: auto; text-align: left; transform: translateY(-50%); }
body.is-scrolled .hero-center h1 { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.4rem); letter-spacing: -.045em; }
.hero-center .eyebrow { transition: opacity .2s ease, visibility .2s ease; }
body.is-scrolled .hero-center .eyebrow { visibility: hidden; opacity: 0; }
body.is-scrolled .hero-work-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%); }
body.is-scrolled .hero-bottomline { top: 50%; right: var(--page-pad); bottom: auto; left: auto; width: calc(50% - var(--page-pad) - 9rem); display: flex; justify-content: flex-end; transform: translateY(-50%); }
body.is-scrolled .hero-bottom-label, body.is-scrolled .scroll-note { visibility: hidden; opacity: 0; }
body.is-scrolled .hero-bottomline .project-nav { width: 100%; max-width: none; justify-content: flex-end; gap: clamp(.7rem, 1.1vw, 1.1rem); }
body.is-scrolled .hero-bottomline .project-link { font-size: .64rem; }

.scroll-progress { position: fixed; z-index: 35; top: 0; right: 0; left: 0; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 100%; height: 100%; background: #d8c5a5; transform: scaleX(0); transform-origin: left; }
main { overflow: clip; }
.section-intro { min-height: 140px; padding: 3.5rem var(--page-pad) 1.4rem; display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--line); background: var(--night); }
.section-intro > p:last-child { margin: 0; color: var(--muted); font-family: var(--display); font-size: clamp(1.1rem, 1.8vw, 1.6rem); font-style: italic; }
.project { padding: clamp(5rem, 9vw, 9rem) var(--page-pad) clamp(4rem, 8vw, 8rem); border-bottom: 1px solid var(--line); background: var(--night); scroll-margin-top: 115px; }
.project:nth-of-type(odd) { background: linear-gradient(180deg, #0b1624 0%, #08111d 70%); }
.project.colour-grading-project { background: #f7eee2; color: #08111d; filter: none; }
.project.colour-grading-project .project-category { color: #796746; border-bottom-color: rgba(8,17,29,.2); }
.project.colour-grading-project .project-heading h2 em { color: #68788a; }
.project.colour-grading-project .project-stats { border-top-color: rgba(8,17,29,.2); color: #3f4b57; }
.project.colour-grading-project .project-stats small { color: #65717c; }
.project.colour-grading-project .credits { border-color: rgba(8,17,29,.2); }
.project.colour-grading-project .credits summary { color: #796746; }
.project.colour-grading-project .credits dl div { border-bottom-color: rgba(8,17,29,.1); }
.project.colour-grading-project .credits dt { color: #66717b; }
.project.colour-grading-project .credits dd { color: #08111d; }
.project-category { margin: 0 0 clamp(1.5rem, 3vw, 3rem); padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.project-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(240px, .7fr); align-items: end; gap: 5vw; margin-bottom: clamp(2.5rem, 5vw, 5rem); }
.project-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 8vw, 8rem); font-weight: 400; letter-spacing: -.065em; line-height: .86; }
.project-heading h2 em { color: #c9b69a; font-weight: 400; }
.project-deck { max-width: 440px; padding-bottom: .25rem; }
.project-stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 3vw, 3rem); padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.project-stats span { display: flex; flex-direction: column; gap: .3rem; }
.project-stats small { color: #8b97a4; font-size: .55rem; letter-spacing: .17em; }
.project-camera-kit { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .65rem; }
.project-camera-kit small { display: block; margin-bottom: .4rem; color: #8b97a4; font-size: .55rem; letter-spacing: .17em; }
.project-camera-kit ul { display: grid; gap: .14rem; margin: 0; padding: 0; list-style: none; }

.image-button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #101e2c; color: var(--ink); cursor: zoom-in; text-align: left; }
.project-cover { aspect-ratio: 2.08 / 1; }
.project-cover img, .gallery-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1), filter .4s ease; }
.project-cover img { filter: saturate(.83); }
.project-cover::after { position: absolute; inset: 42% 0 0; background: linear-gradient(0deg, rgba(4,8,13,.58), transparent); content: ''; pointer-events: none; }
.project-film { margin: clamp(2rem, 4vw, 4rem) 0 0; overflow: hidden; background: #03070c; }
.project-film-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #03070c; object-fit: contain; }
.image-button:hover img { transform: scale(1.02); filter: saturate(1); }
.image-caption { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.15rem; left: 1.25rem; display: flex; justify-content: space-between; color: rgba(255,255,255,.85); font-size: .57rem; letter-spacing: .14em; pointer-events: none; }
.image-caption b { margin-left: .35rem; color: #dbc6a3; font-size: .9rem; font-weight: 400; }
.project-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2.2vw, 2rem); align-items: start; }
.gallery-four .gallery-card:nth-child(odd), .gallery-six .gallery-card:nth-child(odd) { grid-column: span 7; }
.gallery-four .gallery-card:nth-child(even), .gallery-six .gallery-card:nth-child(even) { grid-column: span 5; margin-top: 6rem; }
.gallery-two .gallery-card { grid-column: 3 / span 8; }
.gallery-card { aspect-ratio: 1.38 / 1; }
.gallery-two .gallery-card { aspect-ratio: 1.85 / 1; }
.gallery-card::after { position: absolute; inset: 60% 0 0; background: linear-gradient(0deg, rgba(4,8,13,.5), transparent); content: ''; pointer-events: none; }
.credits { margin-top: clamp(3rem, 6vw, 6rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.credits summary { display: flex; justify-content: space-between; padding: 1rem 0; color: #d2c0a2; cursor: pointer; font-size: .62rem; letter-spacing: .17em; list-style: none; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary span { font-size: 1rem; }
.credits[open] summary span { transform: rotate(45deg); }
.credits dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem 3rem; max-width: 900px; padding: .5rem 0 1.6rem; }
.credits dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(239,238,229,.08); font-size: .75rem; }
.credits dt { color: #98a2ac; }
.credits dd { margin: 0; text-align: right; }
.credits-social { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; margin: 0; padding: .5rem 0 1.5rem; list-style: none; color: #98a2ac; font-size: .75rem; }
.credits-social a { transition: color .2s ease; }
.credits-social a:hover, .credits-social a:focus-visible { color: #d2c0a2; }
.project-awards { margin-top: clamp(2rem, 4vw, 4rem); padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-awards-title { margin: 0 0 .85rem; color: #8b97a4; font-size: .55rem; letter-spacing: .17em; }
.project-awards-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.project-awards-list li { padding: .35rem .55rem; border: 1px solid rgba(239,238,229,.16); color: var(--muted); font-size: .62rem; letter-spacing: .08em; }
.project.colour-grading-project .project-awards { border-color: rgba(8,17,29,.2); }
.project.colour-grading-project .project-awards-title { color: #65717c; }
.project.colour-grading-project .project-awards-list li { border-color: rgba(8,17,29,.16); color: #3f4b57; }

.about-section { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 9vw, 9rem); align-items: center; padding: clamp(4rem, 6vw, 6rem) var(--page-pad); background: #0a1421; scroll-margin-top: 120px; }
.about-copy h2 { margin: 1.7rem 0 2rem; font-family: var(--display); font-size: clamp(4rem, 7vw, 7rem); font-weight: 400; letter-spacing: -.07em; line-height: .88; }
.about-copy h2 em { color: #c5b294; font-weight: 400; }
.about-bio { margin: 0 0 .8rem; color: #d6d3cc; font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.65rem); }
.about-education { max-width: 34rem; margin: 0 0 1.4rem; color: #a2a7ad; font-size: .76rem; line-height: 1.6; }
.about-location { color: #87919d; font-size: .55rem; letter-spacing: .17em; }
.about-contact { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; margin-top: 1.35rem; color: #c5b294; font-size: .68rem; letter-spacing: .04em; }
.about-contact a { transition: color .2s ease; }
.about-contact a:hover, .about-contact a:focus-visible { color: var(--ink); }
.about-contact a span { padding-left: .2rem; }
.about-image { position: relative; margin: 0; }
.about-image img { display: block; width: 100%; aspect-ratio: 1.52 / 1; object-fit: cover; filter: saturate(.85); }
.about-image figcaption { position: absolute; right: 1rem; bottom: 1rem; color: rgba(255,255,255,.8); font-size: .55rem; letter-spacing: .16em; }

.position-section { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); padding: clamp(5rem, 10vw, 10rem) var(--page-pad); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #101b29; }
.position-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(3.2rem, 5.4vw, 5.6rem); font-weight: 400; letter-spacing: -.065em; line-height: .94; }
.position-heading h2 em { color: #c5b294; font-weight: 400; }
.position-copy { align-self: center; }
.position-item { display: grid; grid-template-columns: minmax(8.5rem, .55fr) minmax(0, 1.45fr); gap: clamp(1.25rem, 3vw, 3rem); padding: 1.5rem 0; border-top: 1px solid var(--line); }
.position-item:first-child { padding-top: 0; border-top: 0; }
.position-item h3 { margin: .2rem 0 0; color: #c5b294; font-size: .6rem; font-weight: 400; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.position-item p { margin: 0; color: #d6d3cc; font-family: var(--display); font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.55; }

.showreel-section { padding: clamp(5rem, 10vw, 10rem) var(--page-pad); border-bottom: 1px solid var(--line); background: var(--night); scroll-margin-top: 110px; }
.showreel-section h2 { margin: 0 0 clamp(1.5rem, 3vw, 3rem); font-family: var(--display); font-size: clamp(3.2rem, 7vw, 7rem); font-weight: 400; letter-spacing: -.065em; line-height: .9; }
.showreel-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #03070c; object-fit: contain; }

.dog-section { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; padding: clamp(5rem, 10vw, 10rem) var(--page-pad); border-bottom: 1px solid var(--line); background: #0c1725; }
.dog-heading h2 { margin: 1rem 0 0; color: #c5b294; font-family: var(--display); font-size: clamp(6rem, 13vw, 13rem); font-weight: 400; letter-spacing: -.09em; line-height: .78; }
.dog-copy { max-width: 760px; }
.dog-description { margin: 0 0 2rem; color: #e0ddd5; font-family: var(--display); font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.4; }
.dog-synopsis { margin: 0; padding: 1.5rem 0 0 1.5rem; border-top: 1px solid var(--line); border-left: 1px solid #c5b294; color: #c5b294; font-family: var(--display); font-size: clamp(1.15rem, 1.65vw, 1.55rem); font-style: italic; line-height: 1.55; }
.dog-synopsis p { margin: 0; }
.dog-reference { max-width: 560px; margin: 1.8rem 0 0; }
.dog-reference img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }

.archive-section { padding: 1.2rem var(--page-pad); border-bottom: 1px solid var(--line); background: #0a1421; }
.archive-section a { color: #c5b294; font-size: .58rem; letter-spacing: .16em; transition: color .2s ease; }
.archive-section a:hover, .archive-section a:focus-visible { color: var(--ink); }
.archive-section a span { padding-left: .35rem; font-size: .85rem; }

.closing { padding: 3rem var(--page-pad); background: radial-gradient(ellipse at 70% 22%, rgba(34,57,82,.3), transparent 46%), #07101a; }
.closing-bottom { display: flex; justify-content: flex-end; align-items: flex-end; gap: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.back-to-top { color: #e3d4bd; font-size: .62rem; letter-spacing: .16em; }
.back-to-top span { padding-left: .65rem; font-size: 1rem; }

.side-nav { position: fixed; z-index: 20; top: 54%; right: 0; left: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 1rem; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
body.is-scrolled .side-nav { opacity: 1; pointer-events: auto; }
.side-arrow { display: flex; align-items: center; gap: .5rem; padding: .8rem .7rem; border: 0; background: rgba(7,16,26,.58); color: rgba(244,241,233,.76); cursor: pointer; backdrop-filter: blur(10px); transition: color .2s ease, background .2s ease; }
.side-arrow:hover { color: var(--ink); background: rgba(7,16,26,.9); }
.side-arrow span { font-size: 1.2rem; }
.side-arrow small { font-size: .52rem; letter-spacing: .12em; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
/* A quieter entrance for the introduction, without changing the scroll behavior. */
.about-copy.reveal, .about-image.reveal { transform: translateY(12px); transition: opacity 1.6s ease, transform 1.6s cubic-bezier(.2,.7,.2,1); }
.about-copy.reveal.in-view, .about-image.reveal.in-view { transform: translateY(0); }
.about-image.reveal { transition-delay: .12s; }
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; padding: 0; overflow: hidden; border: 0; background: #03070c; color: var(--ink); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(3,7,12,.9); backdrop-filter: blur(8px); }
.lightbox figure { position: relative; width: 100%; height: 100%; margin: 0; }
.lightbox figure img { display: block; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; object-fit: contain; }
.lightbox figcaption { position: absolute; bottom: 1rem; left: 1rem; padding: .4rem .6rem; background: rgba(3,7,12,.58); color: #aeb8c1; font-size: .62rem; letter-spacing: .14em; }
.lightbox-close { position: fixed; z-index: 2; top: 1rem; right: 1rem; display: flex; gap: .7rem; align-items: center; padding: .65rem .8rem; border: 1px solid rgba(255,255,255,.22); background: rgba(3,7,12,.72); color: var(--ink); cursor: pointer; font-size: .61rem; letter-spacing: .15em; backdrop-filter: blur(8px); }
.lightbox-close span { font-size: 1.3rem; }
:focus-visible { outline: 2px solid #d8c5a5; outline-offset: 4px; }

@keyframes drift { from { translate: 0 -1.2%; } to { translate: 0 1.6%; } }

@media (max-width: 1100px) {
  .hero-fragment { width: 48vw; height: 44vh; }
  .hero-fragment-two { width: 44vw; }
  .hero-fragment-three { left: 28vw; width: 44vw; }
  .hero-bottomline { grid-template-columns: 1fr; justify-items: center; gap: 1.3rem; }
  .hero-bottom-label, .scroll-note { display: none; }
  .hero-bottomline .project-nav { width: 100%; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .hero-bottomline .project-nav::-webkit-scrollbar { display: none; }
  body.is-scrolled .hero { height: 116px; }
  body.is-scrolled .hero-center { top: 28%; }
  body.is-scrolled .hero-work-nav {
    top: 28%;
    right: var(--page-pad);
    left: auto;
    display: flex;
    justify-content: flex-end;
    gap: clamp(.6rem, 1.5vw, 1rem);
    transform: translateY(-50%);
  }
  body.is-scrolled .hero-bottomline {
    position: absolute;
    top: auto;
    right: var(--page-pad);
    bottom: 0;
    left: var(--page-pad);
    display: flex;
    width: auto;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    transform: none;
  }
  body.is-scrolled .hero-bottomline .project-nav {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: clamp(.9rem, 2vw, 1.2rem);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: .5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.is-scrolled .hero-bottomline .project-link { padding: .45rem .05rem .65rem; font-size: .62rem; }
  .project-heading { grid-template-columns: 1fr; gap: 2rem; }
  .project-deck { max-width: 600px; }
  .position-section { grid-template-columns: 1fr; gap: 3rem; }
  .position-heading h2 { max-width: 11ch; font-size: clamp(3.5rem, 8vw, 5.4rem); }
  .dog-section { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 620px) {
  .hero-spacer { height: 116px; min-height: 116px; }
  :root { --page-pad: 1.1rem; }
  .hero { min-height: 560px; }
  .hero-center { top: 43%; }
  .hero-center h1 { font-size: clamp(3.35rem, 14vw, 5rem); }
  .hero-center .eyebrow { font-size: .52rem; letter-spacing: .16em; }
  .hero-fragment { width: 65vw; height: 40vh; }
  .hero-fragment-two { width: 60vw; }
  .hero-fragment-three { left: 20vw; width: 62vw; }
  .hero-bottomline { right: 1rem; bottom: 2.2rem; left: 1rem; }
  .hero-bottomline .project-nav { gap: 1rem; }
  .project-link { font-size: .64rem; }
  body.is-scrolled .hero { height: 116px; }
  body.is-scrolled .hero-center { top: 28%; }
  body.is-scrolled .hero-center h1 { font-size: 1.05rem; }
  body.is-scrolled .hero-work-nav {
    right: 1.1rem;
    gap: clamp(.22rem, 1vw, .4rem);
  }
  body.is-scrolled .hero-work-link { font-size: .48rem; letter-spacing: .05em; }
  body.is-scrolled .hero-bottomline { display: flex; }
  body.is-scrolled .hero-bottomline .project-link { padding: .45rem .05rem .65rem; font-size: .58rem; }
  .section-intro { min-height: 105px; padding: 2.4rem var(--page-pad) 1rem; gap: 1rem; align-items: flex-start; flex-direction: column; justify-content: flex-end; }
  .project { padding-top: 4.5rem; padding-bottom: 4rem; scroll-margin-top: 128px; }
  .project-heading { margin-bottom: 2rem; }
  .project-heading h2 { font-size: clamp(3.4rem, 15vw, 5.5rem); }
  .project-stats { gap: 1.5rem; }
  .project-stats span { max-width: 100%; }
  .project-cover { aspect-ratio: 1.15 / 1; }
  .project-cover img { object-position: center; }
  .project-gallery { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .gallery-four .gallery-card:nth-child(n), .gallery-six .gallery-card:nth-child(n) { grid-column: auto; margin-top: 0; aspect-ratio: 1 / 1.15; }
  .gallery-four .gallery-card:nth-child(3n), .gallery-six .gallery-card:nth-child(3n) { margin-top: 1.6rem; }
  .gallery-two .gallery-card { grid-column: 1 / -1; aspect-ratio: 1.2 / 1; }
  .image-caption { right: .75rem; bottom: .75rem; left: .75rem; font-size: .49rem; }
  .credits dl { grid-template-columns: 1fr; gap: 0; }
  .about-section { grid-template-columns: 1fr; gap: 3rem; padding-top: 3rem; padding-bottom: 5rem; }
  .about-copy h2 { font-size: clamp(3.6rem, 14vw, 5.7rem); }
  .about-image img { aspect-ratio: 1.2 / 1; }
  .showreel-section { padding-top: 5rem; padding-bottom: 5rem; scroll-margin-top: 94px; }
  .dog-section { gap: 2rem; padding-top: 5rem; padding-bottom: 5rem; }
  .dog-heading h2 { font-size: clamp(5.5rem, 24vw, 8rem); }
  .dog-description { margin-bottom: 1.5rem; font-size: 1.35rem; }
  .dog-synopsis { padding-left: 1rem; font-size: 1.15rem; }
  .position-section { gap: 2.5rem; padding-top: 5rem; padding-bottom: 5rem; }
  .position-heading h2 { font-size: clamp(3.2rem, 13vw, 4.8rem); }
  .position-item { grid-template-columns: 1fr; gap: .75rem; padding: 1.25rem 0; }
  .position-item:first-child { padding-top: 0; }
  .closing-bottom { align-items: flex-start; }
  .side-nav { top: auto; right: 0; bottom: 1rem; left: auto; justify-content: flex-end; gap: .3rem; padding: 0 .5rem; }
  .side-arrow { padding: .55rem; }
  .side-arrow small { display: none; }
  .side-arrow span { font-size: 1rem; }
}

/* Touch tablets in landscape can be wider than the standard tablet breakpoint.
   Keep the compact header in a two-row layout so the project scroller has room to work. */
@media (hover: none) and (pointer: coarse) and (min-width: 1101px) and (max-width: 1366px) {
  .hero-spacer { height: 116px; min-height: 116px; }
  body.is-scrolled .hero { height: 116px; min-height: 0; }
  body.is-scrolled .hero-center { top: 28%; }
  body.is-scrolled .hero-work-nav {
    top: 28%;
    right: var(--page-pad);
    left: auto;
    display: flex;
    justify-content: flex-end;
    gap: clamp(.6rem, 1.5vw, 1rem);
    transform: translateY(-50%);
  }
  body.is-scrolled .hero-bottomline {
    top: auto;
    right: var(--page-pad);
    bottom: 0;
    left: var(--page-pad);
    display: flex;
    width: auto;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    transform: none;
  }
  body.is-scrolled .hero-bottomline .project-nav {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: clamp(.9rem, 2vw, 1.2rem);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: .5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  body.is-scrolled .hero-bottomline .project-nav::-webkit-scrollbar { display: none; }
  body.is-scrolled .hero-bottomline .project-link { padding: .45rem .05rem .65rem; font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
