/* WeForm V5 / restrained polish, not a visual redesign. */
:root{--v5-ease:cubic-bezier(.22,1,.36,1)}

/* HERO — a word-sized invisible template maintains the exact line width.
   The visible typing always begins at the same x position after "Ideas in". */
.hero-content{max-width:1100px;margin-inline:auto}
.hero-kinetic-title{
  display:flex!important;justify-content:center!important;align-items:center!important;
  flex-wrap:nowrap;gap:.155em!important;white-space:nowrap;text-align:center;
  margin:4px auto 0!important;min-height:1.22em;height:1.22em;
}
.hero-kinetic-title .headline-fixed{flex:0 0 auto!important;transform-origin:center}
.hero-kinetic-title .headline-slot{
  display:inline-grid!important;flex:0 0 auto!important;align-items:center!important;
  justify-content:start!important;justify-items:start!important;position:relative;
  width:max-content!important;min-width:0!important;max-width:none!important;
  height:1.12em!important;margin:0!important;line-height:1!important;
}
.hero-kinetic-title .word-reserve,
.hero-kinetic-title .typed-live{grid-area:1/1;white-space:nowrap;line-height:1!important}
.hero-kinetic-title .word-reserve{visibility:hidden;pointer-events:none;padding-right:.09em}
.hero-kinetic-title .typed-live{display:inline-flex;align-items:center;justify-content:flex-start;min-width:0}
.hero-kinetic-title .typed-word{min-height:0!important;height:auto!important;line-height:1!important;display:inline!important;flex:none!important}
.hero-kinetic-title .type-caret{width:2.5px;max-width:2.5px;height:.7em;flex:0 0 2.5px;align-self:center;margin-left:.045em}
.hero-subline{max-width:600px!important;text-wrap:balance;line-height:1.55;margin:9px auto 0!important}

/* Visibly actionable CTA under moving gallery. */
.hero-gallery-cta{margin-top:37px!important}
.hero-portfolio-link{
  width:min(770px,100%)!important;min-height:100px!important;padding:18px 24px 18px 30px!important;
  display:grid!important;grid-template-columns:1fr auto;grid-template-rows:auto auto;
  align-items:center;column-gap:22px;row-gap:2px;position:relative;
  background:#5df7b2!important;border:2px solid #081637!important;border-radius:24px!important;
  color:#101910!important;box-shadow:0 10px 0 #08163717,0 18px 42px #0816372c!important;
  text-decoration:none;cursor:pointer;
  transition:transform .48s var(--v5-ease),box-shadow .48s var(--v5-ease),background .4s ease!important;
}
.hero-portfolio-link .cta-invite{font-size:11px;letter-spacing:.11em;font-weight:800;color:#081637;grid-column:1;grid-row:1;line-height:1.4}
.hero-portfolio-link strong{grid-column:1;grid-row:2;font-size:clamp(25px,3.4vw,42px)!important;line-height:1.1;font-weight:850;letter-spacing:-.055em;margin:0!important}
.hero-portfolio-link .cta-arrow{
  grid-column:2;grid-row:1/3;display:grid;place-items:center;
  width:65px!important;height:65px!important;flex:0 0 65px!important;
  border-radius:50%!important;background:#0f170e!important;color:#eaf8ff!important;font-size:34px!important;
  transition:transform .48s var(--v5-ease),background .4s ease,color .4s ease!important;
}
.hero-portfolio-link:hover,.hero-portfolio-link:focus-visible{background:#eaf8ff!important;transform:translateY(-5px)!important;box-shadow:0 13px 0 #08163713,0 26px 44px #0816374d!important;outline-offset:5px}
.hero-portfolio-link:hover .cta-arrow,.hero-portfolio-link:focus-visible .cta-arrow{transform:translate(3px,-3px) rotate(0deg)!important;background:#172317!important;color:#fff!important}
.hero-portfolio-link:active{transform:translateY(-1px) scale(.99)!important}

/* Six products — show only the product, a plain-English sentence, duration, credits. */
.deliverables-section{padding-top:72px!important;padding-bottom:76px!important}
.services-deliverables{padding-bottom:70px!important}
.deliverables-grid{gap:13px!important}
.deliverable-card{
  min-height:207px!important;padding:18px 21px 17px!important;border-radius:19px!important;
  gap:4px;transform-origin:center;
}
.deliverable-top{justify-content:flex-end;min-height:28px}
.deliverable-arrow{width:29px;height:29px;font-size:16px}
.deliverable-main{display:flex;flex-direction:column;justify-content:center;flex:1;padding:1px 0 12px!important}
.deliverable-main h3{font-size:clamp(20px,1.78vw,25px)!important;line-height:1.15;margin:0 0 7px!important;max-width:300px}
.deliverable-main p{font-size:12px!important;line-height:1.45!important;max-width:280px;color:#657268!important}
.deliverable-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px!important}
.deliverable-meta .deliverable-duration{font-size:12px;line-height:1.35;color:#566159;font-weight:700;display:block!important}
.deliverable-meta .deliverable-credits{display:block!important;text-align:right;white-space:nowrap}
.deliverable-meta .deliverable-credits strong{font-size:16px!important;line-height:1.35!important;font-weight:850;letter-spacing:-.035em;color:#081637!important}
.deliverable-credits em{font-size:inherit!important;font-weight:inherit!important;font-style:normal!important;color:inherit!important}
.deliverable-card:hover{transform:translateY(-4px)!important}
.deliverables-section .section-lead{max-width:260px;font-size:13px}

/* Pricing headline is centered regardless of inherited page-hero alignment. */
.page-hero.pricing-page-hero{
  display:flex!important;flex-direction:column;justify-content:center;align-items:center;
  text-align:center!important;width:100%;max-width:1170px;margin-inline:auto!important;
}
.page-hero.pricing-page-hero .eyebrow,
.page-hero.pricing-page-hero h1,
.page-hero.pricing-page-hero p{align-self:center;text-align:center!important;margin-left:auto!important;margin-right:auto!important}
.page-hero.pricing-page-hero h1{width:100%}
.page-hero.pricing-page-hero p{max-width:575px!important;text-wrap:balance}

/* Work — exact 16:9 horizontal and 9:16 vertical, arranged in closed bento groups.
   Each set has three wide clips (two small, one spanning two columns) and one reel.
   The reel's height aligns with the two horizontal rows. */
#workGallery{display:flex!important;flex-direction:column!important;gap:17px!important;grid-template-columns:none!important;grid-auto-flow:initial!important;align-items:stretch!important;column-count:initial!important}
#workGallery .bento-set{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.987fr);
 grid-template-rows:auto auto;gap:13px;align-items:start;width:100%;
}
#workGallery .bento-set .portfolio-item{width:100%!important;grid-column:auto!important;grid-row:auto!important;min-width:0;display:block!important;margin:0!important}
#workGallery .bento-set .portfolio-item:nth-child(1){grid-column:1!important;grid-row:1!important}
#workGallery .bento-set .portfolio-item:nth-child(2){grid-column:2!important;grid-row:1!important}
#workGallery .bento-set .portfolio-item:nth-child(3){grid-column:1/3!important;grid-row:2!important}
#workGallery .bento-set .portfolio-item:nth-child(4){grid-column:3!important;grid-row:1/3!important}
#workGallery .portfolio-item .project-card{display:block!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;border-radius:16px!important;overflow:hidden}
#workGallery .portfolio-item.portrait-item .project-card{aspect-ratio:9/16!important}
#workGallery .portfolio-item-meta{display:none!important}
#workGallery .bento-remainder-wide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;width:100%}
#workGallery .bento-remainder-portrait{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,210px));gap:13px;width:100%}
#workGallery .bento-remainder-wide .portfolio-item,
#workGallery .bento-remainder-portrait .portfolio-item{width:100%!important;min-width:0;grid-column:auto!important;display:block!important;margin:0!important}
#workGallery .portfolio-item[hidden]{display:none!important}
.portfolio-controls{padding-bottom:12px;gap:15px!important}
.portfolio-filter-heading{flex-basis:100%;padding-bottom:1px!important}
.portfolio-controls .filter-bar{display:flex;flex-wrap:wrap;gap:8px}
.portfolio-controls .filter-button{white-space:nowrap;min-width:fit-content}
.portfolio-controls .count{margin-left:auto}

/* At narrower widths a no-gap, natural-ratio masonry is more readable. */
@media(max-width:900px){
 #workGallery{display:block!important;column-count:2!important;column-gap:13px!important}
 #workGallery .bento-set,#workGallery .bento-remainder-wide,#workGallery .bento-remainder-portrait{display:contents!important}
 #workGallery .portfolio-item,
 #workGallery .bento-set .portfolio-item,
 #workGallery .bento-remainder-wide .portfolio-item,
 #workGallery .bento-remainder-portrait .portfolio-item{display:inline-block!important;width:100%!important;margin:0 0 13px!important;break-inside:avoid!important;grid-column:auto!important;grid-row:auto!important}
 .portfolio-controls .count{margin-left:0}
}
@media(max-width:640px){
 .hero-kinetic-title{gap:.18em!important}
 .hero-portfolio-link{min-height:81px!important;padding:14px 16px 14px 19px!important;border-radius:18px!important}
 .hero-portfolio-link .cta-invite{font-size:9px}
 .hero-portfolio-link strong{font-size:clamp(21px,6.2vw,31px)!important}
 .hero-portfolio-link .cta-arrow{width:48px!important;height:48px!important;flex-basis:48px!important;font-size:26px!important}
 .deliverables-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 .deliverable-card{min-height:190px!important;padding:14px!important}
 .deliverable-main h3{font-size:19px!important}
 .deliverable-main p{font-size:11px!important}
 .deliverable-meta{flex-wrap:wrap;gap:4px;padding-top:9px!important}
 .deliverable-meta .deliverable-duration{font-size:11px}
 .deliverable-meta .deliverable-credits strong{font-size:15px!important}
 #workGallery{column-count:1!important}
 #workGallery .portfolio-item.portrait-item{display:block!important;max-width:230px;width:min(67vw,230px)!important;margin:0 auto 13px!important}
 .portfolio-controls .filter-button{font-size:11px;padding:10px 12px}
}
@media(max-width:390px){
 .hero-kinetic-title{font-size:clamp(28px,7.2vw,36px)!important}
 .deliverables-grid{grid-template-columns:1fr!important}
 .deliverable-card{min-height:164px!important}
}
@media(prefers-reduced-motion:reduce){
 .hero-portfolio-link,.deliverable-card{transition:none!important}
 .hero-portfolio-link:hover,.deliverable-card:hover{transform:none!important}
}
