/* =============================================================
   WeForm V6 / Original V4 top navigation + bottom floating dock.
   Palette: supplied WeForm brand colors only. Edit config.js.
   ============================================================= */
:root { scroll-padding-top: 18px; }
body { overflow-x: clip; }

/* Restore the original V4 navigation: it lives in the hero's normal flow,
   and scrolls away. It is deliberately NOT sticky or fixed. */
.hero-shell .site-header,
body:not(:has(.hero-shell)) .site-header {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  z-index: 75 !important;
  pointer-events: auto !important;
}
.hero-shell .site-header .header-inner,
body:not(:has(.hero-shell)) .site-header .header-inner,
.site-header.is-scrolled .header-inner {
  width: 100% !important;
  max-width: 1400px !important;
  height: 86px !important;
  padding-inline: clamp(24px, 4.2vw, 57px) !important;
  margin: auto !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  pointer-events: auto !important;
}
.hero-shell .site-header .logo,
.hero-shell .site-header .logo .logo-type,
.hero-shell .site-header .main-nav a,
.hero-shell .site-header .main-nav a[aria-current="page"] {
  color: var(--weform-white) !important;
  text-shadow: none !important;
}
.hero-shell .site-header .logo .weform-brand-symbol {
  content: url('assets/weform-mark-white.svg') !important;
}
.hero-shell .site-header .header-cta,
.hero-shell .site-header .header-cta.btn-dark {
  background: var(--weform-white) !important;
  border-color: var(--weform-white) !important;
  color: var(--weform-navy) !important;
  box-shadow: none !important;
}
.hero-shell .site-header .header-cta:hover {background:var(--weform-mist)!important;}
.hero-shell .site-header .main-nav a:hover { color:var(--weform-mist)!important; }
.hero-shell .site-header .main-nav a::after {background:var(--weform-mint)!important;}
.hero-shell .site-header .nav-toggle {color:var(--weform-white)!important;}
body:not(:has(.hero-shell)) .site-header .logo,
body:not(:has(.hero-shell)) .site-header .logo .logo-type,
body:not(:has(.hero-shell)) .site-header .main-nav a {color:var(--weform-navy)!important;}
body:not(:has(.hero-shell)) .site-header .logo .weform-brand-symbol {content:url('assets/weform-mark-color.svg')!important;}
body:not(:has(.hero-shell)) .site-header .header-cta {color:var(--weform-white)!important;background:var(--weform-blue)!important;}
.page-shell main {padding-top:0!important;}

/* Bottom glass dock: appears only when the original top header is gone. */
.weform-bottom-nav {
  position:fixed;
  z-index:1880;
  left:50%;bottom:clamp(15px, 2.6vh, 28px);
  display:flex;align-items:center;justify-content:center;gap:4px;
  width:max-content;max-width:calc(100vw - 24px);
  min-height:61px;padding:7px 9px 7px 11px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:999px;
  color:var(--weform-navy);
  background:rgba(255,255,255,.75);
  box-shadow:0 14px 48px rgba(8,22,55,.16), inset 0 1px 1px rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(22px) saturate(1.5);
  backdrop-filter:blur(22px) saturate(1.5);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate3d(-50%,calc(100% + 45px),0) scale(.95);
  transition:transform .42s cubic-bezier(.22,.72,.2,1),opacity .32s ease,visibility .32s;
}
.weform-bottom-nav.is-visible {
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translate3d(-50%,0,0) scale(1);
}
.weform-bottom-brand {display:flex;align-items:center;gap:7px;padding:0 10px 0 7px;font-size:13px;letter-spacing:-.045em;font-weight:800;white-space:nowrap;}
.weform-bottom-brand img {width:28px;height:27px;object-fit:contain;}
.weform-bottom-separator {width:1px;height:26px;margin:0 5px;background:rgba(29,85,230,.16);}
.weform-bottom-link {display:inline-flex;align-items:center;justify-content:center;min-width:65px;min-height:44px;padding:0 14px;border-radius:999px;font-size:12px;font-weight:700;transition:background .22s,color .22s,transform .22s;white-space:nowrap;}
.weform-bottom-link:hover,.weform-bottom-link:focus-visible {background:var(--weform-mist);color:var(--weform-blue);transform:translateY(-1px);}
.weform-bottom-link:last-child {background:var(--weform-blue);color:var(--weform-white);margin-left:3px;}
.weform-bottom-link:last-child:hover {background:var(--weform-navy);color:var(--weform-white);}

/* Above the fold: shrink empty space, not the typographic hierarchy.
   Show both GIF rows as early as possible while preserving the V4 hero. */
.hero-shell {min-height:auto!important;padding-bottom:clamp(20px,2.4vw,36px)!important;}
.hero-shell .hero-content {
  padding-top:clamp(12px,2.25vw,31px)!important;
  padding-bottom:0!important;
}
.hero-shell .hero-content h1 {margin-top:clamp(10px,1.5vw,21px)!important;}
.hero-shell .hero-content .motion-thread {margin-top:0!important;margin-bottom:0!important;}
.hero-shell .hero-media[data-gif-only="true"] {
  --video-h:clamp(140px,13.2vw,184px);
  margin-top:clamp(14px,2vw,23px)!important;
  padding-top:6px!important;
  padding-bottom:10px!important;
}
.hero-shell .hero-media[data-gif-only="true"] .marquee-viewport {padding:14px 0!important;}
.hero-shell .hero-media[data-gif-only="true"] .marquee-viewport + .marquee-viewport {margin-top:-6px!important;}
.hero-gallery-cta {margin-top:clamp(8px,1.2vw,18px)!important;}

/* Selected work: four equal 16:9 films with alternating client briefs. */
.weform-featured-work {padding:clamp(70px,7vw,105px) 0 clamp(74px,8vw,112px)!important;}
.weform-featured-work .weform-featured-head {margin-bottom:clamp(34px,4vw,58px)!important;}
.weform-featured-grid {display:flex!important;flex-direction:column!important;gap:clamp(45px,6.5vw,100px)!important;max-width:1160px;margin:0 auto;}
.weform-case-row {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:clamp(28px,6.8vw,100px);min-width:0;}
.weform-case-row.is-reversed {grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);}
.weform-case-row.is-reversed .weform-case-video {order:2;}
.weform-case-row.is-reversed .weform-case-info {order:1;}
.weform-case-video {padding:0;border:0;background:transparent;min-width:0;width:100%;cursor:pointer;text-align:left;}
.weform-case-poster {display:block;position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:clamp(15px,2.25vw,25px);background:var(--weform-mist);border:1px solid rgba(29,85,230,.12);box-shadow:0 22px 46px rgba(8,22,55,.1);transition:transform .35s ease,box-shadow .35s ease;}
.weform-case-poster img {width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.weform-case-video:hover .weform-case-poster,.weform-case-video:focus-visible .weform-case-poster {transform:translateY(-4px);box-shadow:0 30px 55px rgba(29,85,230,.17);}
.weform-case-video:hover img,.weform-case-video:focus-visible img {transform:scale(1.027);}
.weform-case-play {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:62px;height:62px;padding-left:3px;border-radius:50%;background:rgba(255,255,255,.9);color:var(--weform-blue);font-size:20px;box-shadow:0 8px 32px rgba(8,22,55,.2);transition:background .25s,transform .25s;}
.weform-case-video:hover .weform-case-play {background:var(--weform-white);transform:translate(-50%,-50%) scale(1.07);}
.weform-case-info {min-width:0;max-width:460px;}
.weform-case-client {color:var(--weform-navy);font-size:clamp(31px,3.65vw,55px);letter-spacing:-.075em;line-height:1.08;margin:0 0 clamp(17px,2vw,27px);font-weight:750;}
.weform-case-description {color:rgba(8,22,55,.71);font-size:clamp(14px,1.16vw,17px);line-height:1.85;margin:0;max-width:39ch;}

/* Section 02: concise, one card, title on left and explanation on right. */
.audience-section {padding-block:clamp(65px,6vw,85px)!important;}
.audience-section .audience-card--focus {
  min-height:320px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(120px,.45fr);
  align-items:center;gap:clamp(16px,3vw,48px);
  padding:clamp(26px,3.5vw,47px)!important;
  overflow:hidden;
}
.audience-card--focus .audience-heading-block {z-index:2;position:relative;}
.audience-card--focus .audience-heading-block h3 {font-size:clamp(34px,4.2vw,61px)!important;line-height:1.07!important;margin:14px 0 0!important;}
.audience-card--focus .audience-detail-block {z-index:2;position:relative;}
.audience-card--focus .audience-detail-block .audience-intro {font-size:clamp(14px,1.15vw,16px)!important;line-height:1.7!important;max-width:44ch!important;margin-bottom:14px!important;}
.audience-card--focus .audience-detail-block .audience-list {margin-bottom:15px!important;font-size:13px!important;line-height:1.8;}
.audience-card--focus .audience-detail-block .audience-link {margin-top:10px!important;}
.audience-card--focus > img.audience-visual {
  position:relative!important;inset:auto!important;bottom:auto!important;right:auto!important;
  width:100%!important;height:200px!important;max-width:230px;opacity:.85;
  object-fit:cover!important;object-position:center!important;
  border-radius:15px;
  -webkit-mask-image:none!important;mask-image:none!important;
  box-shadow:0 18px 38px rgba(29,85,230,.12);margin:0!important;
}

/* Section 03: only two non-interactive cards; hover adds a tiny lift. */
.deliverables-section .deliverables-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(16px,2vw,25px)!important;}
.deliverables-section .deliverable-card {min-height:254px!important;cursor:default!important;display:flex;flex-direction:column;justify-content:space-between;}
.deliverables-section .deliverable-card:hover {transform:translateY(-4px)!important;box-shadow:0 23px 45px rgba(29,85,230,.11)!important;}
.deliverables-section .deliverable-card:focus {outline:0;}
.deliverables-section .deliverable-meta .deliverable-duration {color:var(--weform-blue)!important;}
.deliverables-section .deliverable-arrow,.deliverables-section .service-cta-chip {display:none!important;}

/* One small contact form, three direct communication choices. No booking UI. */
.weform-contact-v6 {width:min(830px,calc(100vw - 30px))!important;max-height:min(90dvh,830px)!important;overflow:auto!important;}
.weform-contact-v6 .contact-overlay-shell {padding:clamp(23px,3.2vw,42px)!important;}
.weform-contact-v6 .contact-overlay-top {padding-bottom:20px!important;margin-bottom:20px!important;}
.weform-contact-v6 .contact-overlay-top h2 {font-size:clamp(29px,3.3vw,43px)!important;max-width:650px;}
.weform-contact-v6 .contact-overlay-top p {max-width:60ch;line-height:1.7;color:rgba(8,22,55,.66)!important;}
.weform-lead-form {display:block;}
.weform-form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;}
.weform-form-grid .form-field {min-width:0;display:flex;flex-direction:column;gap:7px;}
.weform-form-grid .form-field label {font-size:11px;font-weight:700;color:var(--weform-navy);}
.weform-form-grid .form-field input,.weform-form-grid .form-field select,.weform-form-grid .form-field textarea {width:100%;border-radius:11px!important;border:1px solid rgba(29,85,230,.18)!important;background:var(--weform-mist)!important;color:var(--weform-navy)!important;padding:12px 14px;font-size:12px;outline-offset:2px;min-height:46px;}
.weform-form-grid .form-field textarea {resize:vertical;min-height:80px;}
.weform-form-grid .form-message {grid-column:1/-1;}
.contact-channel-heading {display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:26px 0 12px;}
.contact-channel-heading h3 {font-size:19px;letter-spacing:-.035em;margin:0;color:var(--weform-navy);}
.contact-channel-heading p {margin:0;font-size:11px;color:rgba(8,22,55,.57);}
.contact-channels {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;}
.contact-channel {display:flex;align-items:center;gap:10px;min-width:0;border:1px solid rgba(29,85,230,.17);border-radius:15px;padding:16px 13px;background:var(--weform-white);color:var(--weform-navy);box-shadow:0 8px 20px rgba(29,85,230,.06);transition:transform .22s,box-shadow .22s,background .22s;}
.contact-channel:hover {background:var(--weform-mist);transform:translateY(-3px);box-shadow:0 16px 28px rgba(29,85,230,.12);}
.contact-channel .channel-symbol {display:grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;font-size:16px;font-weight:800;color:var(--weform-white);background:var(--weform-blue);}
.contact-channel--whatsapp .channel-symbol {background:var(--weform-mint);color:var(--weform-navy);}
.contact-channel--linkedin .channel-symbol {background:var(--weform-sky);}
.contact-channel .channel-copy {display:flex;flex-direction:column;gap:4px;min-width:0;}
.contact-channel .channel-copy strong {font-size:12px;}
.contact-channel .channel-copy small {font-size:10px;color:rgba(8,22,55,.60);line-height:1.4;}
.contact-channel .channel-arrow {margin-left:auto;color:var(--weform-blue);}
.weform-contact-status {display:block;color:var(--weform-blue);font-size:11px;min-height:16px;margin-top:13px;line-height:1.5;}
.weform-contact-note {margin:5px 0 0;color:rgba(8,22,55,.57);font-size:11px;line-height:1.65;}
body:has(dialog[open]) .weform-bottom-nav {opacity:0!important;visibility:hidden!important;pointer-events:none!important;}
.site-footer {padding-bottom:105px!important;}

@media (max-width:1050px) {
  .audience-section .audience-card--focus {grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;min-height:330px!important;}
  .audience-card--focus > img.audience-visual {display:none!important;}
}
@media (max-width:820px) {
  .hero-shell .site-header .header-inner,body:not(:has(.hero-shell)) .site-header .header-inner {
    height:78px!important;padding-inline:clamp(20px,4vw,32px)!important;border-radius:0!important;
  }
  .hero-shell .site-header .main-nav {position:absolute!important;top:calc(100% + 0px)!important;left:20px!important;right:20px!important;z-index:30;background:rgba(255,255,255,.96)!important;border-radius:16px!important;box-shadow:0 15px 40px rgba(8,22,55,.18);padding:18px!important;border:1px solid rgba(29,85,230,.1)!important;}
  .hero-shell .site-header .main-nav a {color:var(--weform-navy)!important;}
  .hero-shell .site-header .nav-toggle {color:var(--weform-white)!important;}
  .hero-shell .hero-content {padding-top:15px!important;}
  .hero-shell .hero-media[data-gif-only="true"] {--video-h:clamp(132px,22vw,170px);}
  .weform-case-row,.weform-case-row.is-reversed {grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:25px;}
  .weform-case-client {font-size:clamp(28px,4vw,38px);}
  .audience-card--focus .audience-heading-block h3 {font-size:clamp(33px,5vw,45px)!important;}
}
@media(max-width:620px) {
  .hero-shell .site-header .header-inner,body:not(:has(.hero-shell)) .site-header .header-inner {height:70px!important;padding-inline:21px!important;}
  .hero-shell .hero-content {padding-top:8px!important;}
  .hero-shell .hero-content h1 {font-size:clamp(46px,11vw,60px)!important;margin:13px 0 9px!important;}
  .hero-shell .hero-media[data-gif-only="true"] {--video-h:clamp(135px,40vw,175px);margin-top:12px!important;padding-bottom:4px!important;}
  .hero-shell .hero-media[data-gif-only="true"] .marquee-viewport {padding:10px 0!important;}
  .hero-shell .hero-media[data-gif-only="true"] .marquee-viewport + .marquee-viewport {margin-top:-8px!important;}
  .hero-gallery-cta {padding-top:0!important;}
  .weform-bottom-nav {gap:2px;min-height:57px;padding:6px 7px;bottom:12px;}
  .weform-bottom-brand {font-size:12px;gap:5px;padding-inline:5px;}
  .weform-bottom-brand img {width:24px;height:23px;}
  .weform-bottom-separator {margin-inline:2px;}
  .weform-bottom-link {min-width:49px;min-height:42px;padding-inline:9px;font-size:11px;}
  .weform-featured-work .weform-featured-head h2 {font-size:clamp(34px,8vw,45px)!important;}
  .weform-featured-grid {gap:49px!important;}
  .weform-case-row,.weform-case-row.is-reversed {display:flex;flex-direction:column;align-items:stretch;gap:17px;}
  .weform-case-row .weform-case-video,.weform-case-row.is-reversed .weform-case-video {order:0!important;}
  .weform-case-row .weform-case-info,.weform-case-row.is-reversed .weform-case-info {order:1!important;}
  .weform-case-client {font-size:33px;margin:0 0 7px;}
  .weform-case-description {font-size:14px;line-height:1.7;}
  .audience-section .audience-card--focus {display:flex!important;flex-direction:column;align-items:flex-start;gap:20px;min-height:0!important;padding:28px!important;}
  .audience-card--focus .audience-heading-block h3 {font-size:40px!important;}
  .audience-card--focus .audience-detail-block .audience-intro {margin-bottom:12px!important;}
  .audience-card--focus > img.audience-visual {display:none!important;}
  .deliverables-section .deliverables-grid {grid-template-columns:1fr!important;}
  .weform-form-grid {grid-template-columns:1fr;gap:13px;}
  .weform-form-grid .form-message {grid-column:auto;}
  .contact-channel-heading {display:block;margin-top:23px;}
  .contact-channel-heading p {margin-top:5px;}
  .contact-channels {grid-template-columns:1fr;gap:9px;}
  .contact-channel {padding:11px 13px;}
  .weform-contact-v6 {max-height:calc(100dvh - 22px)!important;}
  .weform-contact-v6 .contact-overlay-shell {padding:20px 17px!important;}
}
@media (prefers-reduced-motion:reduce) {
  .weform-bottom-nav,.weform-case-poster,.weform-case-poster img,.contact-channel,.deliverables-section .deliverable-card {transition:none!important;}
}
/* Artwork may contain an embedded play glyph. Keep our click hint in a corner
   rather than layering a second, oversized play button over the artwork. */
.weform-case-play {
  left:auto!important;top:auto!important;right:15px!important;bottom:15px!important;
  transform:none!important;width:43px;height:43px;padding-left:2px;font-size:15px;
}
.weform-case-video:hover .weform-case-play {transform:scale(1.06)!important;}
/* Mobile dialog: compact two-column lead fields so the three contact
   methods become visible earlier instead of hiding deep below the fold. */
@media(max-width:620px) {
  .weform-contact-v6 .contact-overlay-top {padding-bottom:12px!important;margin-bottom:12px!important;}
  .weform-contact-v6 .contact-overlay-top h2 {font-size:clamp(27px,7.5vw,33px)!important;margin:7px 0 8px!important;line-height:1.08!important;}
  .weform-contact-v6 .contact-overlay-top p {line-height:1.45!important;font-size:11px!important;}
  .weform-contact-v6 .weform-form-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .weform-contact-v6 .weform-form-grid .form-field:nth-child(3),
  .weform-contact-v6 .weform-form-grid .form-message {grid-column:1/-1;}
  .weform-contact-v6 .weform-form-grid .form-field input,
  .weform-contact-v6 .weform-form-grid .form-field select {min-height:41px;padding:10px;font-size:11px;}
  .weform-contact-v6 .weform-form-grid .form-field textarea {min-height:65px;padding:9px 10px;font-size:11px;}
  .weform-contact-v6 .contact-channel-heading {margin-top:14px;}
  .weform-contact-v6 .contact-channel-heading h3 {font-size:17px;}
  .weform-contact-v6 .contact-channels {gap:7px;}
  .weform-contact-v6 .contact-channel {padding:9px 12px;}
  .weform-contact-v6 .channel-symbol {width:27px;height:27px;font-size:13px;}
  .weform-contact-v6 .weform-contact-note {margin-top:0;}
}
