/* Project master. Inherits the relaunch's original colour, type and glass tokens. */
.example-site .and-project-story{--story-width:1120px;--story-space:clamp(64px,9vw,136px);color:var(--ink)}
.and-project-story *{box-sizing:border-box}
.and-project-story :is(.and-story-opening,.and-story-text,.and-story-delivery,.and-story-next){width:100%;max-width:var(--story-width);margin-inline:auto}
.and-project-story .and-story-opening{padding:40px 0 56px}
.and-project-story .and-story-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--muted);font:12px/1.5 'ANEWDAY Roboto Mono',monospace;text-decoration:none}
.and-story-back .and-arrow-left{transform:rotate(180deg);width:16px;height:16px}
.and-project-story .and-story-heading{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:end;margin-top:32px}
.and-project-story .and-story-heading h1{font:400 clamp(52px,7vw,104px)/1.02 'ANEWDAY Oswald',sans-serif;text-transform:uppercase;margin:16px 0 0;letter-spacing:-.035em;overflow-wrap:anywhere}
.and-project-story .and-story-label{font:12px/1.6 'ANEWDAY Roboto Mono',monospace;color:var(--muted);margin:0;letter-spacing:.01em}
.and-project-story .and-story-headline{font:400 clamp(28px,3.5vw,48px)/1.15 'ANEWDAY Oswald',sans-serif;text-transform:uppercase;margin:0;max-width:17ch;padding-bottom:3px}
.and-layer-hero{position:relative;isolation:isolate;overflow:hidden;min-width:0;background:var(--hero-color-a,#e00079)}
.and-layer-background{position:absolute;inset:-32px;background:linear-gradient(32deg,var(--hero-color-a,#e00079) 4%,var(--hero-color-b,#fcba00) 100%)}
.and-layer-background>img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
.and-layer-drift{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.and-layer-foreground{width:clamp(160px,27vw,420px);max-width:66%;line-height:0}
.and-layer-foreground :is(svg,img){display:block;width:100%!important;height:auto!important;max-width:100%;object-fit:contain!important}
.and-project-story>.and-layer-hero,.and-project-story>.and-story-flat{width:var(--and-viewport-width,100vw);margin:0 0 0 calc((100% - var(--and-viewport-width,100vw))/2);height:clamp(460px,75svh,900px)}
.and-story-flat img{display:block;width:100%;height:100%;object-fit:contain}
.example-site .studio-project-image>.and-layer-hero{position:absolute;inset:0;width:100%;height:100%}
.studio-project-image:has(>.and-layer-hero){position:relative}
.example-site .and-story-content{padding:0;margin:0;width:100%;max-width:none}
.and-project-story .and-story-text{display:grid;grid-template-columns:168px minmax(0,1fr);gap:32px;padding-block:var(--story-space)}
.and-story-text>.wp-block-group__inner-container{display:contents}
.and-story-text>.and-story-label{padding-top:8px}
.and-project-story .and-story-copy{min-width:0}
.and-project-story .and-story-copy h2{font:400 clamp(36px,4.4vw,64px)/1.1 'ANEWDAY Oswald',sans-serif;text-transform:uppercase;max-width:22ch;margin:0 0 28px}
.and-project-story .and-story-copy p{font:18px/1.65 'ANEWDAY Roboto',sans-serif;max-width:58ch;margin:0 0 18px}
.and-project-story .and-story-copy p:last-child{margin-bottom:0}
.and-project-story .and-story-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,28px);margin:0 auto;width:100%;max-width:1440px}
.and-project-story :is(.and-story-pair,.and-story-wide)>.wp-block-group__inner-container{display:contents}
.and-project-story :is(.wp-block-image,.wp-block-video){padding:0;margin:0;min-width:0}
.and-project-story :is(.and-story-pair,.and-story-wide) img{display:block;width:100%;height:auto;object-fit:contain}
.and-project-story .and-story-wide{width:100%;max-width:1440px;margin:0 auto}
.and-project-story .and-story-wide+.and-story-pair,.and-project-story .and-story-pair+.and-story-wide{margin-top:clamp(12px,2vw,28px)}
.and-project-story .wp-block-video{position:relative;background:transparent}
.and-project-story .wp-block-video video{display:block;width:100%;height:auto;max-height:85svh;aspect-ratio:1;object-fit:contain;margin:0}
.and-project-story .and-story-video-action{position:absolute;right:16px;bottom:16px;min-width:72px;min-height:44px;cursor:pointer;border-radius:999px;font:12px/1.5 'ANEWDAY Roboto Mono',monospace;padding:10px 16px;color:#fff;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.4);backdrop-filter:blur(16px)}
.and-project-story .and-story-delivery{display:grid;grid-template-columns:168px minmax(0,1fr);gap:32px;padding-block:64px;border-bottom:1px solid var(--line)}
.and-project-story .and-story-delivery p:not(.and-story-label){font:16px/1.65 'ANEWDAY Roboto',sans-serif;max-width:55ch;margin:0 0 24px}
.and-project-story .and-story-next{display:grid;grid-template-columns:1fr 1fr;gap:56px;padding-block:var(--story-space)}
.and-project-story .and-story-next h2{font:400 clamp(36px,4vw,56px)/1.1 'ANEWDAY Oswald',sans-serif;text-transform:uppercase;margin:20px 0;max-width:17ch}
.and-story-next-links{display:flex;flex-direction:column;gap:20px;align-items:flex-start;justify-content:center}
.and-story-next-links>.and-button{margin-bottom:12px}
.and-project-story .and-story-related{display:flex;justify-content:space-between;gap:24px;width:100%;padding-block:16px;border-bottom:1px solid var(--line);text-decoration:none;font:14px/1.5 'ANEWDAY Roboto Mono',monospace}
.and-project-story :is(a,button):focus-visible{outline:2px solid var(--ink);outline-offset:5px}
.and-story-pair>.wp-block-group{min-width:0}
@media(max-width:760px){
 .and-project-story .and-story-opening{padding:16px 0 36px}
 .and-project-story .and-story-heading{grid-template-columns:1fr;gap:24px;margin-top:24px}
 .and-project-story .and-story-heading h1{font-size:clamp(48px,13vw,72px)}
 .and-project-story .and-story-headline{font-size:32px;max-width:23ch}
 .and-project-story>.and-layer-hero,.and-project-story>.and-story-flat{height:clamp(360px,60svh,680px)}
 .and-layer-foreground{width:48vw;max-width:62%}
 .and-project-story .and-story-text,.and-project-story .and-story-delivery,.and-project-story .and-story-next{grid-template-columns:1fr;gap:12px}
 .and-story-text>.and-story-label{padding-top:0}
 .and-project-story .and-story-copy p{font-size:17px}
 .and-project-story .and-story-pair{grid-template-columns:1fr;gap:16px}
 .and-project-story .wp-block-video video{max-height:none}
 .and-project-story .and-story-delivery{padding-block:48px}
}
@media(prefers-reduced-motion:reduce){.and-layer-hero *{animation:none!important;transition:none!important;transform:none!important}}
@media print{.and-project-story>.and-layer-hero{width:100%;margin:0;height:340px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.and-story-back,.and-story-video-action,.and-story-next{display:none!important}.and-project-story .and-story-text{padding-block:32px}.and-layer-hero *{transform:none!important}.and-project-story .and-story-pair{grid-template-columns:1fr 1fr}}

.and-project-story .and-story-client{display:inline-flex;gap:8px;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}.and-story-client .and-arrow-icon{width:14px;height:14px}.and-story-motion .and-layer-hero[data-and-build="pending"] .and-layer-foreground{opacity:0}
@media(prefers-reduced-motion:reduce){.and-story-motion .and-layer-hero[data-and-build="pending"] .and-layer-foreground{opacity:1}}
