:root {
  --brand-orange: #f7941f;
  --brand-navy: #112346;
  --navy: var(--brand-navy);
  --ink: var(--brand-navy);
  --orange: var(--brand-orange);
  --paper: #f9f7f2;
}
.header, .intro-band, .page-cta, .contact { background: var(--brand-navy); }
.primary { color: var(--brand-navy); background: var(--brand-orange); }
.primary:hover { background: #ffb560; }
.home-hero { background-color: var(--brand-navy); }
.home-backdrop { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.home-hero > .letter-stage::before { background: linear-gradient(to left,#112346fa 0%,#112346e8 30%,#11234650 67%,#11234605 100%); }
.home-caption h1 { font-size: clamp(32px,4.25vw,67px); max-width: 16ch; }
.home-caption h1 em { color: #ffae58; }
.home-hero .sign-word:nth-child(2) { color: var(--brand-orange); }
.home-caption .hero-desc { max-width: 43ch; }
.category-card .service-image { height: auto; aspect-ratio: 1.72; object-fit: cover; padding: 0; }
#service-list .service-card { background: #fff; overflow: hidden; border: 1px solid #d8dfe8; }
#service-list .service-card .service-card-body { min-height: 128px; padding: 18px 16px; }
#service-list .service-card .english-label { margin: 4px 0 8px; }
.page-hero.service-entry { background: var(--brand-navy); min-height: min(700px,max(520px,70svh)); }
.page-hero.service-entry::after { background: linear-gradient(to left,#112346 0%,#112346fb 19%,#112346e8 36%,#11234648 65%,#11234609 100%); }
html[dir=ltr] .page-hero.service-entry::after { transform: scaleX(-1); }
.page-hero.service-entry .page-hero-photo { inset: 0; width: 100%; height: 100%; object-position: 35% center; }
html[dir=ltr] .page-hero.service-entry .page-hero-photo { object-position: 61% center; }
.page-hero .page-overline { color: #ffc17c; }
.page-hero-content h1 { font-size: clamp(34px,5vw,75px); }
.page-hero-content .breadcrumbs + div { margin-block: auto; }
.page-hero-content h1 + p { max-width: 38ch; text-wrap: pretty; }
.page-options .service-card .service-image { height: auto; aspect-ratio: 1.43; object-fit: contain; padding: 5%; }
.product-card .service-image.is-photo { object-fit: cover; padding: 0; }
.service-preview-note { color: #eef2f5; margin-inline-start: auto; font-size: 12px; }
.page-build { pointer-events: none; position: fixed; inset: 0; overflow: hidden; z-index: 10; isolation: isolate; }
.page-build>i { display: block; position: absolute; }
.building-page .page-build { animation: build-fade 3s linear both; }
.building-page > section { animation: build-content 1.15s cubic-bezier(.22,.65,.23,1) both; }
.building-page > section:nth-of-type(2) { animation-delay: .30s; }
.building-page > section:nth-of-type(3) { animation-delay: .55s; }
.building-page > section:nth-of-type(4) { animation-delay: .80s; }
.building-page > section:nth-of-type(n+5) { animation-delay: 1s; }
.building-page .page-hero-photo { animation: build-photo 2s ease both; }
.building-page .page-hero-content>div { animation: build-content 1.45s .22s cubic-bezier(.22,.65,.23,1) both; }
.entry-signs::before { content: ''; position: absolute; inset: 0; background: #122241; animation: build-night 2.65s ease both; }
.entry-signs>i { width: 50%; height: 85%; inset-block-start: 9%; border-radius: 50%; background: radial-gradient(ellipse,#f7941f47,transparent 67%); animation: build-lamp 2.35s ease both; }
.entry-signs>i:nth-child(2) { inset-inline-start: 24%; animation-delay: .15s; }
.entry-signs>i:nth-child(3) { inset-inline-start: 50%; animation-delay: .30s; }
.entry-facades { display: grid; grid-template-columns: repeat(8,1fr); }
.page-build.entry-facades>i { position: relative !important; height: 100%; align-self: stretch; background: linear-gradient(95deg,#0e1b34 0%,#293f62 64%,#112346 100%); border-inline-end: 1px solid #8394ae; animation: build-slat 2.42s cubic-bezier(.25,.09,.34,1) calc(.075s * var(--slat)) both; }
.entry-print::before { content: ''; position: absolute; inset: 0; background: #ece9e0; transform-origin: bottom; animation: build-paper 2.55s cubic-bezier(.32,.05,.38,1) both; }
.page-build.entry-print .press-rail { background-color: #748597; top: 0; z-index: 1; animation: build-rail 2.8s cubic-bezier(.32,.05,.38,1) both; }
.page-build.entry-print .press-carriage { animation: entry-carriage 2.8s linear both; }
.page-build.entry-packaging { perspective: 900px; }
.page-build.entry-packaging>i { inset: 0; background: linear-gradient(115deg,#c19b73,#71543a); border: 0; transform-origin: center; animation: build-flap 2.78s ease both; }
.page-build.entry-packaging>i:nth-child(1) { clip-path: polygon(0 0,100% 0,100% 36%,0 50%); --move-y:-104%; --move-x:0; }
.page-build.entry-packaging>i:nth-child(2) { clip-path: polygon(0 50%,100% 64%,100% 100%,0 100%); --move-y:106%; --move-x:0; }
.page-build.entry-packaging>i:nth-child(3) { clip-path: polygon(0 30%,50% 50%,0 80%); --move-y:0; --move-x:-103%; opacity: .7; }
.page-build.entry-packaging>i:nth-child(4) { clip-path: polygon(100% 30%,50% 50%,100% 80%); --move-y:0; --move-x:103%; opacity: .7; }
.page-build.entry-branding>i { inset: 0; background: linear-gradient(100deg,#112346 44%,#53677e 49.2%,#f7941f 49.75%,#fff2d2 49.9%,transparent 50.2%); transform-origin: left; animation: build-vinyl 2.6s ease both; }
.page-build.entry-events>i { inset: 0; transform-origin: bottom; background: #112346d0 repeating-linear-gradient(90deg,transparent 0 10%,#b2c2d352 10.05% 10.15%,transparent 10.25% 20%); animation: build-frame 2.5s ease both; }
.page-build.entry-events>i:nth-child(2) { inset: 24% 16% 23%; background: none; border: 2px solid #c9d7e6b8; animation-delay: .13s; }
.page-build.entry-events>i:nth-child(3) { inset: 23% 15% auto; height: 2px; background: #f7941f; animation-delay: .33s; }
.page-build.entry-events>i:nth-child(4) { inset: 38% 23% -4%; background: none; border-inline: 2px solid #c9d7e6aa; animation-delay: .21s; }

@keyframes build-fade { 0%,88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes build-content { 0% { opacity: .6; transform: translateY(22px); } 100% { opacity: 1; transform: none; } }
@keyframes build-photo { 0% { opacity: .55; transform: scale(1.027); } 100% { opacity: 1; transform: none; } }
@keyframes build-night { 0% { opacity: .51; } 56% { opacity: .23; } 100% { opacity: 0; } }
@keyframes build-lamp { 0%,32% { opacity: 0; } 55% { opacity: .5; } 95%,100% { opacity: 0; } }
@keyframes build-slat { 0% { transform: translateY(-102%); opacity:.64; } 43% { transform: none; opacity: .62; } 100% { transform: translateY(100%); opacity: 0; } }
@keyframes build-paper { 0% { transform: none; opacity: .44; } 100% { transform: scaleY(0); opacity: .26; } }
@keyframes build-rail { 0% { transform: translateY(-40px); } 100% { transform: translateY(105svh); } }
@keyframes build-flap { 0% { transform: none; opacity: .55; } 100% { transform: translate(var(--move-x),var(--move-y)) scale(.67); opacity: 0; } }
@keyframes build-vinyl { 0% { transform: translateX(44%); opacity: .63; } 100% { transform: translateX(-83%); opacity: .08; } }
@keyframes build-frame { 0% { transform: scaleY(.03); opacity: 0; } 52% { transform: none; opacity: .66; } 100% { transform: none; opacity: 0; } }
@media(max-width: 570px) {
  .home-caption h1 { font-size: clamp(28px,8vw,42px); }
  .home-hero > .letter-stage::before, html[dir=ltr] .home-hero > .letter-stage::before { background: linear-gradient(180deg,#11234628 0%,#11234677 32%,#112346f9 56%); }
  .page-hero.service-entry .page-hero-photo, html[dir=ltr] .page-hero.service-entry .page-hero-photo { height: 57%; object-position: center; }
  .page-hero.service-entry::after, html[dir=ltr] .page-hero.service-entry::after { transform: none; background: linear-gradient(180deg,#11234622 0%,#11234611 20%,#112346 56%); }
  .page-hero.service-entry .page-hero-content { padding-block-start: 17px; }
  .page-hero.service-entry .page-hero-content>div { margin-block: auto 16px; width: 100%; padding-block-start: 185px; }
}
@media(prefers-reduced-motion:reduce) {
  .page-build { display: none !important; }
  .building-page > section,.building-page .page-hero-photo,.building-page .page-hero-content>div { animation: none; }
}

.service-replay { background:#112346e0; color:white; border-color:#bac6d6; }
.service-illustration { position:absolute; bottom:27px; inset-inline-start:max(3.5%,calc((100vw - 1190px)/2)); color:#fff; padding:3px 8px; background:#112346df; font-size:11px; border-radius:3px; }
@media (prefers-reduced-motion: no-preference) {
  .interior [data-enter].scene-entered > .frame, .interior .page-options.scene-entered > div {
    animation: build-content .72s cubic-bezier(.22,.65,.23,1) both;
  }
}
@media(max-width:570px) {
  .service-illustration { bottom:16px; }
}
.production-reel { background:var(--brand-navy); color:white; }
.reel-grid { display:grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items:center; gap:clamp(22px,5vw,80px); padding-block:clamp(28px,5vw,65px); }
.reel-grid h2 { font-size:clamp(28px,3.9vw,57px); margin-block-end:10px; line-height:1.24; }
.reel-grid p { color:#e5edf7; max-width:43ch; }
.reel-grid .reel-trigger { margin-block-start:18px; border-color:#c7d3e2; }
.reel-grid img { width:100%; height:auto; display:block; aspect-ratio:2; object-fit:cover; border-radius:5px; }
.reel-dialog { position:fixed; inset:0; margin:auto; max-width:min(920px,92vw); width:100%; padding:12px; border:1px solid #b1bdce; background:var(--brand-navy); color:#fff; }
.reel-dialog::backdrop { background:#0b1531d9; }
.reel-dialog button { margin-block-end:12px; }
.reel-dialog video { display:block; width:100%; max-height:72svh; }
@media(max-width:700px) { .reel-grid { grid-template-columns:1fr; } }
.home-caption h1 { max-width:100%; }
.home-hero:has(.is-starting) .home-lead { animation: none; }

/* Keep each illustrated sample and its branding visible beside the service text. */
.page-hero.service-entry .page-hero-photo {
  inset: 0 auto 0 0;
  width: 62%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
html[dir=ltr] .page-hero.service-entry .page-hero-photo {
  inset: 0 0 0 auto;
  object-position: center;
}
.page-hero.service-entry::after {
  background: linear-gradient(to left, #112346 29%, #112346ed 39%, #11234630 55%, transparent 69%);
}
#service-list .service-image.is-photo { object-position: center; }
@media(max-width: 570px) {
  .page-hero.service-entry .page-hero-photo,
  html[dir=ltr] .page-hero.service-entry .page-hero-photo {
    inset: 2.75rem 0 auto;
    width: 100%;
    height: 45%;
  }
  .page-hero.service-entry::after,
  html[dir=ltr] .page-hero.service-entry::after {
    background: linear-gradient(180deg, #11234600 34%, #11234610 45%, #112346 57%);
  }
}
