/* The visual identity stays charcoal + limestone; movement supplies the new rhythm. */
.header-spacer{height:94px}.motion-ready .site-header{position:fixed;top:0;left:50%;transform:translateX(-50%);width:100%;background:rgba(23,25,22,.93);backdrop-filter:blur(18px);transition:height .4s cubic-bezier(.2,.72,.22,1),background .4s,box-shadow .4s;z-index:40}.motion-ready .site-header.is-scrolled{height:74px;background:rgba(23,25,22,.97);box-shadow:0 8px 30px #0002}.reading-progress{position:absolute;bottom:0;left:var(--gutter);width:calc(100% - var(--gutter)*2);height:1px;background:var(--paper);transform:scaleX(0);transform-origin:left;z-index:2;opacity:.75}.main-nav>a{position:relative}.main-nav>a:after{content:'';position:absolute;left:0;bottom:-9px;height:1px;width:100%;background:var(--paper);transform:scaleX(0);transform-origin:left;transition:transform .35s cubic-bezier(.2,.72,.22,1)}.main-nav>a:hover:after,.main-nav>a[aria-current]:after{transform:scaleX(1)}
.motion-ready .hero-intro .eyebrow{animation:mdrn-intro 1s cubic-bezier(.2,.72,.22,1) both}.motion-ready h1>span{animation:mdrn-intro 1.2s cubic-bezier(.2,.72,.22,1) both;animation-delay:.12s}.motion-ready h1>span:nth-child(2){animation-delay:.28s}.motion-ready .hero-aside{animation:mdrn-intro 1.1s cubic-bezier(.2,.72,.22,1) .42s both}.motion-ready .hero-stage{animation:mdrn-open-frame .9s cubic-bezier(.2,.72,.22,1) backwards}.hero-visual{position:absolute;inset:0;overflow:hidden;transform:translate3d(0,var(--scene-shift,0px),0) scale(1.1);will-change:transform}.hero-visual .hero-image,.hero-ghost{width:100%;height:100%;object-fit:cover}.hero-ghost{position:absolute;inset:0;pointer-events:none;z-index:2}.hero-image.scene-drift{animation:mdrn-scene-drift 10s ease-out both;will-change:transform}.hero-stage.is-paused .scene-drift{animation-play-state:paused}.hero-stage[aria-busy=true] .expand-symbol{opacity:.35}.hero-image-footer{z-index:4}.hero-shade{z-index:3}.motion-ready .slide-progress{max-width:none}.motion-ready .slide-progress span{width:100%;transform-origin:left;transition:none}.slideshow-toggle{display:none;align-items:center;justify-content:center;gap:9px;min-width:77px;min-height:42px;font-size:9px;letter-spacing:.08em;color:var(--muted);padding:8px 14px 8px 5px;margin-right:10px;border-right:1px solid var(--rule)}.slideshow-toggle:hover{color:var(--text)}.playback-icon{height:11px;width:9px;border-left:2px solid currentColor;border-right:2px solid currentColor;display:block}.slideshow-toggle.is-paused .playback-icon{width:0;height:0;border:5px solid transparent;border-right:0;border-left:8px solid currentColor}.motion-ready .view-project .expand-symbol{transition:background .4s,color .4s,transform .4s}.motion-ready .view-project:hover .expand-symbol{transform:rotate(45deg)}
/* The section boundary draws first; headings, imagery and detail then rise into place. */
.section-entrance { position: relative; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready:not(.motion-off) .section-entrance.is-visible::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    top: 0;
    inset-inline: var(--gutter);
    height: 2px;
    background: linear-gradient(to right, var(--orange), var(--paper));
    opacity: 0;
    transform-origin: left center;
    animation: section-rule 1.15s cubic-bezier(.22,.74,.22,1);
  }
}
@keyframes section-rule {
  0% { transform: scaleX(0); opacity: .9; }
  68% { transform: scaleX(1); opacity: .64; }
  100% { transform: scaleX(1); opacity: 0; }
}
.motion-ready .motion-reveal {
  --entry-rise: clamp(24px, 4vw, 44px);
  opacity: .08;
  transform: translateY(var(--entry-rise)) scale(var(--entry-scale, 1));
  transition: opacity .5s ease-out, transform .84s cubic-bezier(.18,.78,.22,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.motion-ready [data-entrance="heading"] { --entry-rise: clamp(40px, 5vw, 74px); }
.motion-ready [data-entrance="visual"] {
  --entry-rise: clamp(34px, 4vw, 56px);
  --entry-scale: .965;
}
.motion-ready .motion-reveal.is-visible,
.motion-ready .motion-reveal:focus-within,
.motion-ready .motion-reveal:target,
.motion-ready .motion-reveal:has(:target) { opacity: 1; transform: none; }
.motion-ready .motion-reveal:focus-within,
.motion-ready .motion-reveal:target,
.motion-ready .motion-reveal:has(:target) { transition: none; }
.motion-ready .image-button img{transition:transform 1.1s cubic-bezier(.2,.72,.22,1),filter .6s}.motion-ready .image-button:hover img{transform:scale(1.055);filter:brightness(1.035)}.motion-ready .image-corner{border-radius:50%;width:40px;height:40px;transform:translateY(7px);transition:opacity .4s,transform .5s cubic-bezier(.2,.72,.22,1)}.motion-ready .image-button:hover .image-corner,.motion-ready .image-button:focus-visible .image-corner{transform:translateY(0)}.motion-ready .project-card .image-button{overflow:hidden}.motion-ready .project-caption{transition:color .4s}.motion-ready .project-card:hover .project-caption{color:var(--paper)}
.button-clip{display:block;position:relative;overflow:hidden;line-height:1.55}.button-top,.button-bottom{display:block;transition:transform .4s cubic-bezier(.2,.72,.22,1)}.button-bottom{position:absolute;left:0;right:0;top:100%;white-space:nowrap}.button:hover .button-top,.button:hover .button-bottom,.button:focus-visible .button-top,.button:focus-visible .button-bottom{transform:translateY(-100%)}.motion-ready .button{transition:background .35s,color .35s,transform .35s}.motion-ready .button:hover{transform:translateY(-2px)}.motion-ready .text-link{transition:color .3s,border-color .3s}.motion-ready .main-nav.is-open{animation:mdrn-menu .45s cubic-bezier(.2,.72,.22,1) both}.motion-toggle{padding:0;border-bottom:1px solid var(--rule);font-size:10px;color:var(--muted)}.motion-toggle:hover{color:var(--text)}.motion-ready .details-symbol:after{transition:transform .35s cubic-bezier(.2,.72,.22,1)}.motion-ready .service-list details[open]>p,.motion-ready .faq-list details[open]>p{animation:mdrn-details .55s ease-out both}.motion-ready .hero-controls{gap:30px}
.motion-off{scroll-behavior:auto}.motion-off *,.motion-off *:before,.motion-off *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-off .motion-reveal{opacity:1!important;transform:none!important;clip-path:none!important}.motion-off .hero-stage{clip-path:none!important;opacity:1!important}.motion-off .hero-visual,.motion-off .hero-image{transform:none!important;will-change:auto}.motion-off #hero-play{display:none}.motion-off .hero-ghost{display:none}.motion-off .button-top,.motion-off .button-bottom{transform:none!important}.motion-off .button-bottom{display:none}
@keyframes mdrn-intro{from{opacity:0;transform:translate3d(0,30px,0);clip-path:inset(0 0 8% 0)}to{opacity:1;transform:translate3d(0,0,0);clip-path:inset(0)}}
/* The hero opens like a widening photographic frame, with the subject visible immediately. */
@keyframes mdrn-open-frame {
  from { clip-path: inset(0 10%); }
  to { clip-path: inset(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready:not(.motion-off) .hero-image-footer {
    animation: hero-caption-in .48s cubic-bezier(.2,.72,.22,1) .14s backwards;
  }
}
@keyframes hero-caption-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mdrn-scene-drift{from{transform:scale(1.07)}to{transform:scale(1)}}
@keyframes mdrn-menu{from{opacity:0;clip-path:inset(0 0 100% 0)}to{opacity:1;clip-path:inset(0)}}
@keyframes mdrn-details{from{opacity:.1;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1681px){.header-spacer{height:104px}}
@media(max-width:1100px){.header-spacer{height:82px}.motion-ready .site-header.is-scrolled{height:72px}.motion-ready .site-header.is-scrolled .main-nav{top:72px}.hero-visual{transform:scale(1.025)}}
@media(max-width:700px){.header-spacer{height:76px}.motion-ready .site-header.is-scrolled{height:68px}.motion-ready .site-header.is-scrolled .main-nav{top:68px}.motion-ready .hero-controls{gap:16px}.slideshow-toggle{min-width:65px;font-size:8px;gap:7px;margin-right:5px;padding-right:10px}.motion-ready .arrow-group{gap:0}.motion-ready .hero-intro .eyebrow{animation-duration:.8s}.motion-ready h1>span{animation-duration:.95s}.motion-ready .hero-stage{animation-duration:1s}.motion-toggle{font-size:9px}.hero-image.scene-drift{animation-duration:10s}.motion-ready .image-corner{width:32px;height:32px}.footer-bottom{row-gap:20px}.footer-bottom>.motion-toggle{margin-left:auto}.footer-bottom>a{margin-left:0}}
@media(prefers-reduced-motion:reduce){.motion-ready .motion-reveal{opacity:1;transform:none;clip-path:none}.motion-ready .hero-stage{clip-path:none}.hero-visual{will-change:auto}}

.motion-ready .slideshow-toggle{display:flex}.motion-off #hero-play{display:none}.gallery-image-wrap[aria-busy=true] img{opacity:.55;transition:opacity .2s}.gallery-image-wrap[aria-busy=true]{cursor:progress}
