:root {
    --ink:#212b2f;
    --ink-dark:#1a242a;
    --paper:#f3f1eb;
    --white:#fffefa;
    --water:#e5d2af;
    --muted:#535c58;
    --line:#c9c9bc;
    --gutter:clamp(24px,5.6vw,100px);
    --display:'Jepatri Editorial', Georgia, serif;
}
body { background:var(--paper); }
h1,h2,h3 { font-family:var(--display); font-weight:400; letter-spacing:-.032em; }
h1,h2,h3,p { overflow-wrap:break-word; }
.site-header,.site-header.is-scrolled {
    position:sticky; top:0; inset-inline:0; height:78px; gap:24px;
    background:var(--ink-dark); padding-inline:var(--gutter);
    box-shadow:none; border-bottom:1px solid #ffffff26;
}
.admin-bar .site-header { top:32px; }
.site-header .brand img {width:126px}
.desktop-nav { gap:8px; }
.desktop-nav a { padding:8px 18px; border-radius:40px; }
.desktop-nav a::after { content:none; }
.desktop-nav a[aria-current],.desktop-nav a:hover { background:#ffffff19; }
.header-actions {gap:20px}
.header-contact,.button,.contact-form .wpcf7-submit { border-radius:40px; }
.header-contact { padding:9px 19px; }
.menu-trigger { border:1px solid #ffffff73; border-radius:40px; padding:6px 15px; }
.menu-dialog nav a[aria-current] { color:var(--water); }
.menu-dialog nav a,.menu-top .icon-button { border-color:#ffffff45; }
.hero { height:calc(100svh - 78px); min-height:640px; max-height:1100px; }
.hero h1 { font-size:clamp(72px,10vw,150px); letter-spacing:-.038em; max-width:none; line-height:.97; }
.hero-content { bottom:125px; }
.hero-intro {max-width:490px;margin:21px 0 28px;}
.hero-bottom {bottom:38px}
.hero-shade {background:linear-gradient(0deg,#09161cde 0%,#09161c5e 52%,#09161c00 85%)}
.hero-visual .hero-poster {object-position:center 47%}
.render-note {font-size:12px}
.koru-caption {position:relative;border-bottom:1px solid var(--line);padding:17px var(--gutter);font-size:14px;color:var(--muted)}
.koru-chapters {display:flex;flex-wrap:wrap;gap:9px 26px;padding:18px var(--gutter);border-bottom:1px solid var(--line);align-items:center}
.koru-chapters a {padding:6px 0;border-bottom:1px solid transparent;font-size:15px}
.koru-chapters a:hover {border-color:currentColor}
.introduction .intro-location {border-color:var(--line)}
.image-plus { display:none; }
.image-button { cursor:zoom-in; border-radius:8px; }
.gallery-action {display:block;text-align:left;font-size:14px;margin-top:14px;text-decoration:underline;text-underline-offset:.28em}
.video-control,.icon-button {border-radius:50%;}
.cinema-words {font-family:var(--display);}
.site-footer {padding-block:72px 25px;background:var(--ink-dark);}
.footer-main {display:grid;grid-template-columns:1.55fr 1fr 1fr;gap:56px;padding-bottom:54px}
.footer-main .brand img {width:145px}
.footer-main p {max-width:27ch;margin-top:17px;color:#dddacf}
.footer-main nav,.footer-contact {display:grid;align-content:start;gap:12px}
.footer-contact span {color:#dddacf}
.site-footer a:hover {text-decoration:underline}
.footer-bottom {border-color:#ffffff38}
.editorial-intro {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,.65fr);align-items:end;gap:38px;padding-top:clamp(78px,11vw,168px);padding-bottom:clamp(55px,7vw,110px)}
.editorial-intro h1 {font-size:clamp(68px,10.6vw,155px);line-height:.92}
.editorial-intro>p {max-width:34ch;font-size:clamp(18px,1.6vw,23px);padding-bottom:5px}
.work-index {padding-top:0}
.project-filters {display:flex;gap:8px;flex-wrap:wrap;border-block:1px solid var(--line);padding:17px 0;margin-bottom:40px}
.project-filters button {border:1px solid var(--line);background:none;border-radius:40px;padding:7px 14px;font-size:15px;min-height:42px}
.project-filters button[aria-pressed="true"],.project-filters button:hover {background:var(--ink);color:var(--white);border-color:var(--ink)}
.project-filter-mobile {display:none}
.portfolio-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(20px,4vw,72px);row-gap:65px}
.project-card a {display:block;height:100%;padding-bottom:20px;border-bottom:1px solid var(--line)}
.project-picture,.case-cover,.case-gallery figure {overflow:hidden;background:#e4e0d5;border-radius:7px}
.project-picture {aspect-ratio:1.52}
.project-picture img,.case-cover img,.case-gallery img {width:100%;height:100%;object-fit:cover}
.project-picture img {transition:transform .65s var(--ease)}
.project-index {display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 18px;margin:14px 0 9px;color:var(--muted);font-size:14px}
.project-card h2 {font-size:clamp(28px,3.1vw,52px);line-height:1.05}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
    .project-card a:hover img {transform:scale(1.045)}
}
.project-heading {display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,.6fr);gap:20px 50px;padding-block:clamp(55px,6.5vw,99px) 55px}
.project-heading h1 {font-size:clamp(60px,7vw,108px);max-width:18ch;margin:0}
.project-heading .editorial-back {grid-column:1/-1;justify-self:start}
.editorial-back {font-size:15px;text-decoration:underline}
.project-facts {display:flex;flex-wrap:wrap;gap:8px 28px;color:var(--muted);font-size:16px}
.case-cover,.studio-film {margin-inline:var(--gutter)}
.case-cover {aspect-ratio:2}
.case-cover--archive {width:min(860px,calc(100% - 2 * var(--gutter)));margin-inline:auto;aspect-ratio:1.58}
.case-cover[data-frame],.project-picture[data-frame] {view-transition-name:var(--project-frame,none)}
.case-story,.studio-history {display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(24px,8vw,120px)}
.case-story p,.studio-history p {max-width:54ch;margin-bottom:22px;font-size:clamp(18px,1.7vw,23px)}
.case-story .fine-print {font-size:14px;margin-top:15px}
.case-gallery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding-top:0}
.case-gallery figure {aspect-ratio:1.4}
.case-gallery figure:only-child {grid-column:1/-1;max-width:950px;justify-self:center;width:100%}
.related-work {border-top:1px solid var(--line)}
.related-work>.portfolio-grid {margin-top:38px}
.editorial-section-head {display:flex;align-items:end;justify-content:space-between;gap:22px}
.studio-film video {width:100%;aspect-ratio:2;object-fit:cover;background:var(--ink-dark);border-radius:7px}
.studio-film figcaption {padding-top:11px;color:var(--muted);font-size:14px}
.studio-date {font:400 clamp(85px,16vw,220px)/.8 var(--display);letter-spacing:-.04em;color:#5a635c}
.studio-history h2 {margin-bottom:25px}
.studio-services {background:#e6e2d7}
.studio-services>h2 {margin-bottom:35px}
.service-line {display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:25px;border-top:1px solid #a9aa9e;padding:28px 0}
.service-line:last-child {border-bottom:1px solid #a9aa9e}
.service-line h3 {font-size:clamp(27px,4vw,54px)}
.editorial .contact {padding-top:0}
.koru-films {background:#e6e2d7}
.koru-films .case-gallery {padding:30px 0 0}
.koru-films figure {aspect-ratio:auto;background:none}
.koru-films video {width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:var(--ink-dark)}
.koru-films figcaption {padding-top:12px}
.koru-transition {display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(24px,6vw,100px);border-top:1px solid var(--line)}
.koru-transition img {border-radius:7px}
.koru-transition h2 {margin-bottom:18px}
.koru-transition p {margin-bottom:22px}
@media(max-width:899px) {
    .site-header,.site-header.is-scrolled {height:68px;}
    .hero {height:calc(100svh - 68px); min-height:590px;}
    .footer-main {gap:25px}
}
@media(max-width:599px) {
    .site-header,.site-header.is-scrolled {height:64px;}
    .admin-bar .site-header {top:46px}
    .site-header .brand img {width:112px}
    .site-header .header-actions {gap:15px}
    .hero {height:calc(100svh - 64px);min-height:540px}
    .hero h1 {font-size:clamp(58px,17.5vw,95px)}
    .hero-content {bottom:143px}
    .hero-bottom {bottom:34px}
    .hero-visual .hero-poster {object-position:59% center}
    .hero-shade {background:linear-gradient(0deg,#09161cf2 0%,#09161c80 44%,#09161c00 75%)}
    .koru-chapters {gap:3px 18px;padding-block:12px}
    .intro-story h2,.section-heading h2 {font-size:43px}
    .editorial-intro,.case-story,.studio-history,.service-line {grid-template-columns:1fr;gap:20px}
    .editorial-intro {padding-top:61px;padding-bottom:38px}
    .editorial-intro h1 {font-size:clamp(56px,14vw,85px);line-height:.98}
    .editorial-intro>p {font-size:18px}
    .portfolio-grid,.case-gallery,.koru-transition {grid-template-columns:minmax(0,1fr);gap:32px}
    .project-filters {margin-bottom:28px}
    .project-filters button {display:none}
    .project-filter-mobile {display:flex;align-items:center;gap:15px;font-size:15px;width:100%}
    .project-filter-mobile select {min-width:0;max-width:100%;flex:1;background:var(--white);color:var(--ink);border:1px solid var(--line);padding:8px 12px;border-radius:40px;font-size:16px}
    .project-heading {display:block}
    .project-heading h1 {font-size:clamp(48px,12vw,78px);margin:22px 0;max-width:13ch}
    .case-cover,.studio-film video {aspect-ratio:1.32}
    .studio-film video {aspect-ratio:1.91;object-fit:cover}
    .editorial-section-head {display:block}
    .editorial-section-head .text-link {margin-top:12px}
    .footer-main {grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 15px;padding-bottom:33px}
    .footer-main>div:first-child {grid-column:1/-1}
    .footer-main p {font-size:16px}
    .footer-main nav,.footer-contact {font-size:15px;gap:11px}
    .site-footer {padding-block:50px 27px}
}
@media(prefers-reduced-motion:reduce) {
    .project-picture img {transition:none}
    .case-cover[data-frame],.project-picture[data-frame] {view-transition-name:none}
}
@media(prefers-reduced-motion:no-preference) {
    @view-transition {navigation:auto}
    ::view-transition-group(*) {animation-duration:.48s;animation-timing-function:cubic-bezier(.25,.65,.2,1)}
}
.gallery-action {padding:9px 14px;margin:0;position:absolute;right:14px;bottom:14px;background:var(--white);color:var(--ink);border-radius:28px;text-decoration:none}
.image-button {position:relative}
.hero-location>span:first-child {display:none}

@font-face {font-family:'Jepatri Editorial';src:url('instrument-serif.ttf') format('truetype');font-display:swap;font-weight:400}
