/* Route 1 page system (inc/route1.php). Loaded only on pages with body.aura-route1.
   Colours: AURA 2026 Brand Refresh v1.2, current navy and gold (change here when the new
   palette is confirmed). Type: Crimson Text headings and Inter Light for the AURA wordmark (self-hosted);
   body text keeps the site's existing font, so only two font files load. */
@font-face{font-family:'Crimson Text';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/crimson-text-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(../fonts/inter-latin-300-normal.woff2) format('woff2')}
body.aura-route1{--r1-navy:#1b3857;--r1-navy-2:#16304b;--r1-gold:#C9A84C;--r1-gold-soft:#dcc58a;--r1-line:rgba(201,168,76,.45);--r1-text:rgba(255,255,255,.84);
  --r1-serif:'Crimson Text',Georgia,'Times New Roman',serif;--r1-sans:Inter,'Segoe UI',system-ui,sans-serif;background:var(--r1-navy)!important}
body.aura-route1 #aura-main#aura-main{background:var(--r1-navy)!important;color:#fff}

/* Header: transparent over the hero, navy once scrolled */
body.aura-route1 .aura-site-header:not(.scrolled){background:linear-gradient(rgba(11,27,43,.6),rgba(11,27,43,0))!important;box-shadow:none!important}
body.aura-route1 .aura-site-header.scrolled{background:var(--r1-navy)!important}
@media (prefers-reduced-motion:no-preference){body.aura-route1 .aura-site-header{transition:background-color .3s ease}}

/* Sections, dividers and type */
body.aura-route1 #aura-main .aura-r1-section{background:transparent!important;padding:clamp(64px,8vw,104px) 20px!important;position:relative}
body.aura-route1 #aura-main .aura-r1-section+.aura-r1-section::before,
body.aura-route1 #aura-main .aura-r1-section+.aura-developer-enquiry::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(1180px,calc(100% - 40px));height:1px;background:var(--r1-line)}
body.aura-route1 #aura-main#aura-main :is(.aura-r1-section,.aura-developer-enquiry,.aura-project-content-wrap) :is(h2,h3){font-family:var(--r1-serif)!important;font-weight:400!important;color:#fff!important;letter-spacing:-.005em!important}
body.aura-route1 #aura-main#aura-main .aura-r1-section h2{font-size:clamp(2rem,3.6vw,3.1rem)!important;line-height:1.08!important;margin:0 0 24px!important;max-width:22ch}
body.aura-route1 #aura-main mark.has-inline-color{color:var(--r1-gold)!important;background:none!important}
body.aura-route1 #aura-main#aura-main .aura-r1-section p:not(.aura-eyebrow):not(.aura-r1-figure):not(.aura-r1-label){color:var(--r1-text)!important;font-size:1rem;line-height:1.7;max-width:60ch}
body.aura-route1 #aura-main#aura-main :is(.aura-r1-section,.aura-developer-enquiry) .aura-eyebrow{display:flex!important;align-items:center;gap:10px;color:var(--r1-gold-soft)!important;font-size:.92rem!important;line-height:1.3!important;font-weight:400!important;letter-spacing:.01em!important;text-transform:none!important;margin:0 0 14px!important}
body.aura-route1 #aura-main :is(.aura-r1-section,.aura-developer-enquiry) .aura-eyebrow::before{content:"";flex:none;width:6px;height:16px;border-left:2px solid var(--r1-gold);border-right:2px solid var(--r1-gold)}
body.aura-route1 #aura-main .aura-eyebrow a{color:inherit!important;text-decoration:none}

/* Buttons: white with navy serif text, gold on hover */
.aura-r1-button .wp-block-button__link,body.aura-route1 .aura-r1-button .wp-block-button__link{background:#fff!important;color:#1b3857!important;border:0!important;border-radius:0!important;font:400 1.05rem/1.25 'Crimson Text',Georgia,serif!important;letter-spacing:.01em!important;text-transform:none!important;padding:14px 28px!important;text-align:center}
.aura-r1-button .wp-block-button__link:hover{background:#C9A84C!important;color:#1b3857!important;filter:none!important}

/* Home hero: AURA wordmark */
body.aura-route1 #aura-main .aura-r1-hero{margin-top:0!important;padding:0 20px!important}
body.aura-route1 #aura-main .aura-r1-wordmark{display:inline-block;font:300 clamp(4.6rem,17vw,15rem)/.9 var(--r1-sans)!important;letter-spacing:.32em!important;margin:0 -.32em 0 0!important;color:#fff!important;text-align:center;text-transform:uppercase}
body.aura-route1 #aura-main .aura-r1-hero .wp-block-cover__inner-container{text-align:center;width:100%}
body.aura-route1 #aura-main .aura-r1-wordmark .aura-r1-sub{display:block;font:400 clamp(1.1rem,2.2vw,1.9rem)/1.2 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:.01em;text-transform:none;text-align:right;margin:.5em .32em 0 0;white-space:nowrap}

/* Intro */
body.aura-route1 #aura-main .aura-r1-intro .wp-block-columns{gap:clamp(28px,6vw,96px)!important;max-width:1060px;margin-inline:auto}
body.aura-route1 #aura-main .aura-r1-intro-image{margin:0!important}
body.aura-route1 #aura-main .aura-r1-intro-image img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}

/* Why us: tiles */
body.aura-route1 #aura-main .aura-r1-tiles{gap:18px!important;margin-top:36px!important}
body.aura-route1 #aura-main .aura-r1-tile{background:var(--r1-navy-2);border:1px solid rgba(255,255,255,.12);padding:clamp(26px,3vw,40px) 22px!important;min-height:210px;display:flex;flex-direction:column;justify-content:center;text-align:center}
body.aura-route1 #aura-main .aura-r1-tile.is-light{background:#fff}
body.aura-route1 #aura-main .aura-r1-tile.is-gold{background:var(--r1-gold)}
body.aura-route1 #aura-main#aura-main .aura-r1-tile :is(.aura-r1-figure,p:first-child){font:400 clamp(2.3rem,3.6vw,3.2rem)/1 var(--r1-serif)!important;color:#fff!important;margin:0 0 12px!important;max-width:none}
body.aura-route1 #aura-main#aura-main .aura-r1-tile .aura-r1-label{font:500 .78rem/1.4 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;letter-spacing:.06em;color:var(--r1-gold-soft)!important;margin:0!important;max-width:none}
body.aura-route1 #aura-main#aura-main .aura-r1-tile:is(.is-light,.is-gold) :is(.aura-r1-figure,p:first-child,.aura-r1-label){color:#1b3857!important}

/* Project carousel */
.aura-r1-carousel{position:relative;margin-top:36px}
.aura-r1-track{display:flex;gap:24px;list-style:none;margin:0;padding:0 0 6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;outline-offset:4px}
.aura-r1-track::-webkit-scrollbar{display:none}
.aura-r1-card{flex:0 0 calc((100% - 72px)/4);scroll-snap-align:start;min-width:0}
.aura-r1-card a{position:relative;display:block;overflow:hidden;color:#fff;text-decoration:none}
.aura-r1-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.aura-r1-card a::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,rgba(11,27,43,.78))}
.aura-r1-card-title{position:absolute;left:16px;right:16px;bottom:14px;z-index:1;font:400 1.05rem/1.25 'Crimson Text',Georgia,serif}
.aura-r1-card a:focus-visible{outline:2px solid #C9A84C;outline-offset:3px}
.aura-r1-carousel :is(.aura-r1-prev,.aura-r1-next){position:absolute;top:calc(50% - 22px);z-index:2;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.6);background:rgba(11,27,43,.55);color:#fff;font-size:1.6rem;line-height:1;cursor:pointer;display:grid;place-content:center}
.aura-r1-carousel .aura-r1-prev{left:-14px}.aura-r1-carousel .aura-r1-next{right:-14px}
.aura-r1-carousel :is(.aura-r1-prev,.aura-r1-next)[hidden]{display:none}
.aura-r1-carousel :is(.aura-r1-prev,.aura-r1-next):disabled{opacity:.35;cursor:default}
.aura-r1-carousel :is(.aura-r1-prev,.aura-r1-next):focus-visible{outline:2px solid #C9A84C;outline-offset:2px}
body.aura-route1 #aura-main .aura-r1-more{margin-top:22px!important}
body.aura-route1 #aura-main .aura-r1-more a{color:var(--r1-gold-soft)!important;text-underline-offset:.25em}
@media (max-width:1024px){.aura-r1-card{flex-basis:calc((100% - 24px)/2)}}
@media (max-width:600px){.aura-r1-card{flex-basis:82%}.aura-r1-carousel :is(.aura-r1-prev,.aura-r1-next){display:none}}

/* Specialisms */
body.aura-route1 #aura-main .aura-r1-specialisms .wp-block-columns{gap:clamp(28px,6vw,90px)!important;max-width:1180px;margin-inline:auto}
.aura-r1-numbered{list-style:none;counter-reset:r1;margin:0 0 30px;padding:0}
.aura-r1-numbered li{counter-increment:r1;display:flex;gap:12px;align-items:baseline;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.aura-r1-numbered li::before{content:counter(r1,decimal-leading-zero) " ||";color:#fff;font:500 .78rem/1 Inter,system-ui,sans-serif;letter-spacing:.04em;flex:none;min-width:44px}
body.aura-route1 #aura-main .aura-r1-numbered a{color:#dcc58a!important;font:400 .98rem/1.35 'Crimson Text',Georgia,serif;text-transform:uppercase;letter-spacing:.05em;text-decoration:none}
body.aura-route1 #aura-main .aura-r1-numbered a:hover{color:#fff!important}

/* Case study: hero with AURA wordmark and project title */
body.aura-route1 #aura-main .aura-r1-case-hero{position:relative;min-height:78vh;display:grid;margin:0!important;padding:0!important;overflow:hidden;background:#0b1b2b}
body.aura-route1 #aura-main .aura-r1-case-hero-image{position:absolute!important;inset:0;margin:0!important;height:100%!important}
body.aura-route1 #aura-main .aura-r1-case-hero-image img{width:100%;height:100%!important;object-fit:cover}
body.aura-route1 #aura-main .aura-r1-case-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(11,27,43,.35),rgba(11,27,43,.15) 45%,rgba(11,27,43,.55))}
body.aura-route1 #aura-main .aura-r1-case-hero-inner{position:relative;z-index:1;align-self:center;text-align:center;padding:120px 20px 60px!important;width:100%}
body.aura-route1 #aura-main .aura-r1-wordmark-deco{font:300 clamp(4.2rem,16vw,14rem)/.9 Inter,system-ui,sans-serif!important;letter-spacing:.32em!important;margin:0 -.32em 0 0!important;color:#fff!important;user-select:none}
body.aura-route1 #aura-main#aura-main .aura-r1-case-title{font:400 clamp(1.2rem,2.4vw,2rem)/1.25 Inter,system-ui,sans-serif!important;color:#fff!important;margin:18px auto 0!important;max-width:28ch;letter-spacing:0!important}
body.aura-route1 #aura-main .aura-r1-case-intro{padding-bottom:clamp(32px,4vw,56px)!important}
body.aura-route1 #aura-main .aura-r1-case-excerpt p{font:400 clamp(1.4rem,2.4vw,2rem)/1.35 var(--r1-serif)!important;color:#fff!important;max-width:34ch!important}

/* Case study content in the navy layout */
body.aura-route1 #aura-main .aura-project-content-wrap{padding-top:clamp(40px,5vw,64px)!important}
body.aura-route1 #aura-main#aura-main .aura-project-content-wrap :is(.aura-project-section,.aura-project-facts,.aura-project-cta,.aura-project-related-services,.wp-block-group){background:transparent!important;color:#fff;border-color:rgba(255,255,255,.14)!important}
body.aura-route1 #aura-main#aura-main .aura-project-content-wrap h2{font-size:clamp(1.7rem,2.8vw,2.4rem)!important;line-height:1.12!important}
body.aura-route1 #aura-main#aura-main .aura-project-content-wrap :is(p,li){color:var(--r1-text)!important}
body.aura-route1 #aura-main#aura-main .aura-project-content-wrap .aura-project-facts{border-top:1px solid var(--r1-line)!important;border-bottom:1px solid var(--r1-line)!important;padding:18px 0!important}
body.aura-route1 #aura-main#aura-main .aura-project-content-wrap .aura-project-facts p{color:var(--r1-gold-soft)!important;font:400 1.15rem/1.5 var(--r1-serif)!important}
body.aura-route1 #aura-main#aura-main .aura-project-content-wrap a{color:var(--r1-gold-soft)!important}
body.aura-route1 #aura-main .aura-project-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-bottom:clamp(50px,6vw,78px)!important;grid-auto-rows:clamp(150px,17vw,250px);grid-auto-flow:dense;gap:14px!important;max-width:1100px;margin-inline:auto}
body.aura-route1 #aura-main .aura-project-gallery .aura-project-gallery-item{margin:0!important;height:100%;min-height:0;aspect-ratio:auto!important;grid-column:auto!important;grid-row:auto;background:#16304b!important}
body.aura-route1 #aura-main .aura-project-gallery .aura-project-gallery-item:nth-child(6n+1){grid-column:span 2!important;grid-row:span 2}
body.aura-route1 #aura-main .aura-project-gallery .aura-project-gallery-item:nth-child(6n+5){grid-column:span 2!important}
body.aura-route1 #aura-main .aura-project-gallery-item :is(button,img){display:block;width:100%;height:100%!important}
body.aura-route1 #aura-main .aura-project-gallery-item img{object-fit:cover;aspect-ratio:auto!important}
@media (max-width:781px){body.aura-route1 #aura-main .aura-project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:38vw}body.aura-route1 #aura-main .aura-project-gallery .aura-project-gallery-item:nth-child(6n+5){grid-column:span 1!important}}

/* Footer joins the navy page */
body.aura-route1 footer .aura-footer,body.aura-route1 .aura-footer{border-top:1px solid var(--r1-line)}

@media (max-width:781px){
  body.aura-route1 #aura-main .aura-r1-tiles{display:grid!important;grid-template-columns:1fr 1fr}
  body.aura-route1 #aura-main .aura-r1-tile{min-height:160px}
  body.aura-route1 #aura-main .aura-r1-wordmark .aura-r1-sub{text-align:center;margin-right:0}
}
@media (prefers-reduced-motion:no-preference){
  .aura-r1-card img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
  .aura-r1-card a:hover img{transform:scale(1.04)}
  .aura-r1-button .wp-block-button__link{transition:background-color .25s ease,color .25s ease}
}
body.aura-route1 #aura-main .aura-r1-case-label{max-width:1100px!important;margin:0 auto 8px!important}
