body { margin: 0; background: #FBF3E6; }
a { color: inherit; }
a:hover { color: inherit; }
.squash { transition: transform .18s cubic-bezier(.34,1.8,.64,1), box-shadow .18s ease; }
.squash:hover { transform: scale(1.05,.94) translateY(2px); }
.squash:active { transform: scale(.94,1.06); }
.navlink:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #12293A; outline-offset: 3px; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 9px #FFFFFF; }
.lift { transition: transform .2s cubic-bezier(.34,1.8,.64,1); }
.lift:hover { transform: translateY(-6px) rotate(-1deg); }
.travel { animation: travel 7s linear infinite alternate; }
.bounce { animation: bounce .8s infinite; transform-origin: 50% 100%; }
.shade { animation: shade .8s infinite; }
.marquee { animation: marquee 36s linear infinite; }
/* Film strip band on the home page: sprocket holes along the top and bottom scroll with the words */
.filmstrip { background: #12293A; color: #FFBE3D; border-top: 6px solid #12293A; overflow: hidden; }
.filmstrip .marquee { display: flex; width: max-content; font-family: 'Bowlby One', Impact, sans-serif; font-size: clamp(20px, 2.6vw, 32px); text-transform: uppercase; white-space: nowrap; }
.filmstrip span {
  padding: clamp(28px, 3vw, 36px) 32px clamp(28px, 3vw, 36px) 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='12'%3E%3Crect x='7' width='16' height='12' rx='3' fill='%23FBF3E6'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='12'%3E%3Crect x='7' width='16' height='12' rx='3' fill='%23FBF3E6'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: 0 8px, 0 calc(100% - 8px);
  background-size: 30px 12px;
}
.spin { animation: spin 7s linear infinite; }
.hop { animation: hop 1.4s ease-in-out infinite; }
.sway { animation: sway 2.4s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes travel {
  from { left: 0; }
  to { left: calc(100% - 92px); }
}
@keyframes bounce {
  0% { transform: translateY(-112px) scale(.92,1.1); animation-timing-function: cubic-bezier(.55,0,1,.6); }
  46% { transform: translateY(0) scale(.92,1.14); }
  52% { transform: translateY(0) scale(1.34,.64); animation-timing-function: cubic-bezier(0,.4,.45,1); }
  60% { transform: translateY(-14px) scale(.9,1.14); animation-timing-function: cubic-bezier(0,.4,.45,1); }
  100% { transform: translateY(-112px) scale(.92,1.1); }
}
@keyframes shade {
  0%, 100% { transform: scaleX(.42); opacity: .22; }
  50% { transform: scaleX(1.16); opacity: .6; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1.12,.88); }
  50% { transform: translateY(-36px) scale(.92,1.1); }
}
@keyframes sway {
  0%, 100% { transform: rotate(-9deg); }
  50% { transform: rotate(9deg); }
}
@media (prefers-reduced-motion: reduce) {
  .travel, .bounce, .shade, .marquee, .spin, .hop, .sway { animation: none; }
  .squash, .lift { transition: none; }
}
.menulink { position: relative; transform-origin: 50% 100%; }
.squiggle { position: absolute; left: -5px; bottom: -3px; width: calc(100% + 10px); height: 13px; overflow: visible; pointer-events: none; fill: none; stroke: #FF7A45; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.squiggle path { opacity: 0; }
.squiggle .sqa { opacity: 1; stroke-dasharray: 170; stroke-dashoffset: 170; }
.menulink[aria-current="page"] .sqa { stroke-dashoffset: 0; }
@media (hover: hover) {
  .menulink:hover { animation: menuword .42s ease-out both; }
  .menulink:hover .sqa { animation: sqdraw .32s ease-out forwards, sqa .48s step-end .32s infinite; }
  .menulink:hover .sqb { animation: sqb .48s step-end .32s infinite; }
  .menulink:hover .sqc { animation: sqc .48s step-end .32s infinite; }
}
.menulink:focus-visible { animation: menuword .42s ease-out both; }
.menulink:focus-visible .sqa { animation: sqdraw .32s ease-out forwards, sqa .48s step-end .32s infinite; }
.menulink:focus-visible .sqb { animation: sqb .48s step-end .32s infinite; }
.menulink:focus-visible .sqc { animation: sqc .48s step-end .32s infinite; }
@keyframes sqdraw {
  to { stroke-dashoffset: 0; }
}
@keyframes sqa {
  0% { opacity: 1; }
  33.33%, 100% { opacity: 0; }
}
@keyframes sqb {
  0%, 66.66%, 100% { opacity: 0; }
  33.33% { opacity: 1; }
}
@keyframes sqc {
  0%, 33.33% { opacity: 0; }
  66.66%, 100% { opacity: 1; }
}
@keyframes menuword {
  0% { transform: scale(1,1); }
  35% { transform: scale(1.07,.9); }
  70% { transform: scale(.98,1.04); }
  100% { transform: scale(1,1); }
}
@media (prefers-reduced-motion: reduce) {
  .menulink:hover, .menulink:focus-visible, .menulink:hover .squiggle path, .menulink:focus-visible .squiggle path { animation: none; }
  .menulink:hover .sqa, .menulink:focus-visible .sqa { stroke-dashoffset: 0; opacity: 1; }
}

html { scroll-behavior: smooth; }
img { max-width: 100%; }
summary { cursor: pointer; }
body.contact { background: #12293A; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 20; padding: 12px 18px; background: #12293A; color: #FFFFFF; border-radius: 10px; font: 700 17px Figtree, sans-serif; }
.skip:focus { top: 12px; color: #FFFFFF; }
.work-card[hidden] { display: none !important; }
.filter { min-height: 48px; padding: 0 22px; border: 3px solid #12293A; border-radius: 999px; cursor: pointer; font-family: Figtree, sans-serif; font-weight: 700; font-size: 18px; color: #12293A; background: transparent; }
.filter[aria-pressed="true"] { color: #FBF3E6; background: #12293A; }

#enquiry { display: flex; flex-direction: column; gap: 24px; }
.hp { position: absolute; left: -9999px; }
.progress-wrap { display: flex; flex-direction: column; gap: 10px; }
#step-label { margin: 0; font-size: 17px; font-weight: 800; }
.progress { height: 14px; background: #F3E9CE; border: 3px solid #12293A; border-radius: 999px; overflow: hidden; }
#progress-bar { height: 100%; width: 33%; background: #FF7A45; transition: width .3s ease; }
.step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.step[hidden] { display: none; }
.step legend { padding: 0 0 16px; font-family: 'Bowlby One', Impact, sans-serif; font-size: clamp(25px, 3vw, 34px); line-height: 1.12; }
.step > p { margin: 0; font-size: 18px; }
.step .note { font-size: 16px; }
.chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 10px; }
.chip { position: relative; display: flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { flex: 1; display: flex; align-items: center; min-height: 56px; padding: 8px 14px; box-sizing: border-box; background: #FFFFFF; color: #12293A; border: 3px solid #12293A; border-radius: 14px; font-size: 18px; font-weight: 700; transition: transform .18s cubic-bezier(.34,1.8,.64,1); }
.chip:hover span { transform: scale(1.03,.96); }
.chip input:checked + span { background: #12293A; color: #FBF3E6; }
.chip input:focus-visible + span { outline: 3px solid #12293A; outline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 18px; font-weight: 700; }
.field input, .field textarea { width: 100%; box-sizing: border-box; background: #FFFFFF; color: #12293A; border: 3px solid #12293A; border-radius: 12px; font-family: Figtree, sans-serif; font-size: 18px; }
.field input { min-height: 52px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; }
#form-error { margin: 0; font-size: 18px; font-weight: 700; color: #B3261E; }
#form-error a { color: inherit; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.btn-back, .btn-next { display: inline-flex; align-items: center; min-height: 56px; box-sizing: border-box; border-radius: 999px; cursor: pointer; font-family: Figtree, sans-serif; color: #12293A; text-decoration: none; }
.btn-back { padding: 0 22px; background: transparent; border: 3px solid #12293A; font-size: 19px; font-weight: 700; }
.btn-next { padding: 0 30px; background: #FF7A45; border: 4px solid #12293A; font-size: 20px; font-weight: 800; }
.btn-next[disabled] { opacity: .65; cursor: wait; }
[hidden].btn-back, [hidden].btn-next { display: none; }
#thanks { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 0; outline: none; }
#thanks[hidden] { display: none; }
#thanks .hop { width: 76px; height: 76px; margin-top: 32px; box-sizing: border-box; background: #FF7A45; border: 4px solid #12293A; border-radius: 50%; }
#thanks h2 { margin: 0; font-family: 'Bowlby One', Impact, sans-serif; font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.06; text-transform: uppercase; }
#thanks p { margin: 0; font-size: 20px; line-height: 1.42; }

#video-dialog { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; background: transparent; border: 0; overflow: visible; }
#video-dialog::backdrop { background: rgba(18, 41, 58, .9); }
#video-close { display: block; min-height: 46px; margin: 0 0 10px auto; padding: 0 20px; background: #FFBE3D; color: #12293A; border: 3px solid #12293A; border-radius: 999px; font: 800 17px Figtree, sans-serif; cursor: pointer; }
#video-frame { aspect-ratio: 16 / 9; background: #12293A; border: 4px solid #12293A; border-radius: 14px; overflow: hidden; }
#video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip span, #progress-bar { transition: none; }
}
#enquiry[hidden] { display: none; }
