/* Local owner correction: preserve the original dark design. */
.home-refined { --flow-ink: #f2f4f7; --flow-muted: #a5aab3; }
.home-refined main { color: var(--flow-ink); }
.home-refined main > section[id] { scroll-margin-top: 100px; }
.home-refined .hero-v2 { min-height: 540px; height: calc(100svh - 180px); max-height: 720px; }
.home-refined .hero-v2 .hero-content { padding: 54px 0; }
.home-refined .hero-v2 h1 { font-size: 76px; }
.home-refined .hero-copy { max-width: 470px; font-size: 18px; }
.home-refined .hero-kicker { margin-bottom: 30px; }
.home-refined .hero-facts-rail .proof-item { min-height: 96px; }
.home-refined .section,
.home-refined .motion-section { padding-block: 68px; }
.home-refined .section h2,
.home-refined .motion-copy h2 { font-size: 38px; line-height: 1.2; }
.home-refined .section-heading,
.home-refined .showcase-heading { margin-bottom: 28px; }
.home-refined .service-nav { scroll-margin-top: 100px; }
.home-refined .service-nav a { transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.home-refined .service-nav a[aria-expanded="true"] { color: #a7f3e5; border-color: #a7f3e5; background: #152522; }
.home-refined .work-showcase { background: #090b0e; }
.home-refined .showcase-heading { align-items: end; }
.home-refined .showcase-heading h2 { font-size: 42px; }
.home-refined .showcase-intro { align-self: end; padding: 0; }

/* The flight lane is a sibling below the whole phrase, not inside a word. */
.slogan-section { padding: 22px 0 40px; background: #090b0e; }
.home-refined .brand-glow-scene { display: block; min-height: 0; width: min(calc(100% - 48px), 1200px); margin: 0 auto; padding: 28px 0; overflow: hidden; font-size: 62px; line-height: 1.15; }
.slogan-words { display: flex; justify-content: center; gap: .28em; }
.slogan-words > span { color: #aaaeb8; }
.home-refined .brand-glow-scene strong { color: #f5f8ff; font-weight: 500; animation: none; text-shadow: 0 0 18px #5c98cf55; }
.slogan-flight { position: relative; height: 20px; margin-top: 18px; overflow: hidden; }
.home-refined .slogan-flight i { position: absolute; left: 0; top: 6px; width: 25%; height: 2px; background: linear-gradient(90deg, transparent, #91e6fa 65%, #fff); box-shadow: 0 0 8px #a3eeff, 0 0 18px #449bdd; transform: translateX(-110%); animation: none; }
.home-refined .is-in-view .slogan-flight i { animation: phrase-flight 5.5s cubic-bezier(.25,.1,.3,1) infinite; }
@keyframes phrase-flight {
  0%, 12% { transform: translateX(-110%); opacity: 0; }
  17% { opacity: 1; }
  65% { transform: translateX(410%); opacity: 1; }
  70%, 100% { transform: translateX(410%); opacity: 0; }
}

/* Fixed preview floats over the page without resizing the moving rail. */
.direction-preview[hidden] { display: none; }
.direction-preview { position: fixed; z-index: 90; width: 258px; padding: 8px; color: #f2f4f7; background: #101216; border: 1px solid #454a52; border-radius: 6px; box-shadow: 0 18px 58px #0009; animation: preview-enter 160ms ease-out; }
.direction-preview figure { margin: 0; width: 100%; height: 276px; background: #050608; overflow: hidden; }
.direction-preview img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 160ms ease; }
.direction-preview[data-image-ready="true"] img { opacity: 1; }
.direction-preview-caption { padding: 12px 6px 8px; }
.direction-preview-caption strong { font-size: 17px; font-weight: 600; }
.direction-preview-caption p { margin: 4px 0 0; color: #a5aab3; font-size: 12px; line-height: 1.4; }
.direction-preview-link { display: flex; min-height: 40px; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 6px; border-top: 1px solid #30343a; color: #c3f4ed; font-size: 13px; }
.direction-preview-link svg { width: 18px; height: 18px; }
.direction-preview .direction-preview-close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 36px; height: 36px; color: white; background: #101216e8; border: 1px solid #686d73; border-radius: 50%; }
.direction-preview a:focus-visible,
.direction-preview button:focus-visible { outline: 2px solid #a7f3e5; outline-offset: 3px; }
@keyframes preview-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.home-refined .reviews-reel-section { background: #101216; }
.home-refined .reviews-reel-heading { margin-bottom: 26px; }

/* Portrait clips and finished work form one gallery with a shared top edge. */
.home-refined .motion-section { background: #090b0e; }
.home-refined .motion-layout { display: grid; width: min(calc(100% - 48px), 1100px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 16px; }
.home-refined .motion-copy { grid-column: 2; grid-row: 1; align-self: center; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 24px; padding: 0 20px 34px; }
.home-refined .motion-copy .eyebrow { display: none; }
.home-refined .motion-layout .motion-reel { grid-column: auto; grid-row: auto; }
.home-refined .motion-copy h2 { margin: 0; font-size: 38px; line-height: 1.1; }
.home-refined .motion-intro { margin: 0; color: #a9afb5; font-size: 15px; line-height: 1.65; }
.home-refined .motion-pointers { display: flex; justify-content: space-between; width: 100%; max-width: 270px; color: #83b9d1; }
.home-refined .motion-pointers svg { width: 68px; height: 38px; stroke-width: 1; }
.home-refined .motion-pointers svg:first-child { transform: rotate(180deg); }
.home-refined .motion-copy .text-link { font-size: 13px; white-space: nowrap; }
.home-refined .motion-reel { display: block; position: relative; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: transparent; }
.home-refined .motion-reel video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; background: #030405; border-radius: 4px; }
.home-refined .motion-reel figcaption { position: static; display: block; padding: 12px 0 0; min-height: 34px; background: none; opacity: 1; transform: none; color: #a5aab3; }
.home-refined .motion-reel figcaption strong { font-size: 13px; font-weight: 400; white-space: normal; }
.home-refined .motion-reel .motion-play { inset: auto 12px 46px auto; opacity: 1; pointer-events: auto; }
.home-refined .motion-reel .motion-sound { inset: 12px auto auto 12px; }
.home-refined .motion-reel .motion-play,
.home-refined .motion-reel .motion-sound { width: 42px; height: 42px; color: #fff; background: #0b0d11cc; border: 1px solid #a9aeb5; }

.home-refined .process-section-v2 { background: #101216; }
.home-refined .process-wave-field { display: none; }
.home-refined .process-stage { display: grid; grid-template-columns: minmax(0, 700px) minmax(240px, 1fr); gap: 48px; width: min(calc(100% - 48px), var(--container)); height: auto; min-height: 0; margin: 0 auto; border: 0; }
.home-refined .process-media-grid { display: grid; grid-template-columns: .75fr .46fr .46fr; gap: 12px; height: 400px; min-height: 0; }
.home-refined .process-media-grid figure { position: static; width: 100%; height: 400px; margin: 0; min-height: 0; overflow: hidden; background: #080a0d; }
.home-refined .process-media-grid img { width: 100%; height: 100%; object-fit: contain; filter: none; }
.home-refined .process-list-v2 { display: grid; grid-template-columns: 1fr; grid-auto-flow: row; grid-auto-columns: auto; width: 100%; max-width: 100%; overflow: visible; gap: 10px; padding: 0; margin: 0; border: 0; background: none; }
.home-refined .process-list-v2 + .swipe-affordance { display: none; }
.home-refined .process-list-v2 li,
.home-refined .process-list-v2 li + li { display: block; min-height: 0; padding: 18px 0 0; border: 0; border-top: 1px solid #3b3f46; background: transparent; }
.home-refined .process-list-v2 h3 { font-size: 17px; line-height: 1.4; margin: 0 0 6px; }
.home-refined .process-list-v2 p { margin: 0; color: #a5aab3; font-size: 14px; line-height: 1.5; }
.material-note { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 36px; padding-top: 26px; border-top: 1px solid #33373e; }
.material-note img { width: 72px; height: 88px; object-fit: contain; }
.material-note h3 { margin: 0 0 8px; font-size: 18px; }
.material-note p { max-width: 470px; margin: 0; color: #a5aab3; font-size: 14px; line-height: 1.5; }
.material-note .text-link { color: #c3f4ed; font-size: 14px; }

.home-refined .brief-section { background: #090b0e; border-top: 1px solid #30343a; border-bottom: 1px solid #30343a; }
.home-refined .contact-panel { padding: 0; border: 0; border-radius: 0; background: transparent; color: #f2f4f7; box-shadow: none; }
.home-refined .contact-panel h2 { max-width: 650px; color: #f2f4f7; }
.home-refined .contact-panel p { max-width: 540px; color: #a5aab3; font-size: 16px; }
.home-refined .contact-panel .eyebrow { color: #a7f3e5; font-size: 12px; }
.home-refined .contact-panel .button-dark { background: #a7f3e5; color: #07110f; border-color: #a7f3e5; }
.home-refined .contact-panel .button-light { background: transparent; color: #f2f4f7; border-color: #71767e; }
.home-refined .faq-section { background: #101216; }
.home-refined .contact-section { display: block; min-height: 0; padding: 52px 0; background: #090b0e; }
.home-refined .contact-content { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; padding: 0; background: none; }
.home-refined .contact-content h2 { max-width: none; font-size: 30px; line-height: 1.3; }
.home-refined .contact-details { display: flex; flex-wrap: wrap; gap: 16px 48px; }
.home-refined .contact-details p { margin: 0; font-size: 15px; }
.home-refined .contact-actions { flex-wrap: wrap; }
.home-refined .contact-actions .button { font-size: 14px; }
.home-refined .site-footer { padding-top: 32px; }

@media (max-width: 1100px) {
  .home-refined .process-stage { display: block; }
  .home-refined .process-media-grid { max-width: 700px; margin-inline: auto; }
  .home-refined .process-list-v2 { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding-top: 24px; }
  .home-refined .hero-v2 h1 { font-size: 62px; }
  .home-refined .brand-glow-scene { font-size: 46px; }
  .home-refined .section h2,
  .home-refined .showcase-heading h2 { font-size: 32px; }
}
@media (max-width: 680px) {
  .home-refined .hero-v2 { height: auto; min-height: 0; max-height: none; }
  .home-refined .hero-editorial-grid { min-height: 0; }
  .home-refined .hero-v2 .hero-content { padding: 38px 0; }
  .home-refined .hero-v2 h1 { font-size: 44px; line-height: 1.03; }
  .home-refined .hero-v2 h1 em { font-size: 28px; }
  .home-refined .hero-copy { font-size: 16px; max-width: 320px; line-height: 1.5; }
  .home-refined .hero-kicker { margin-bottom: 24px; }
  .home-refined .hero-kicker .eyebrow { font-size: 10px; }
  .home-refined .hero-facts-rail .proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; }
  .home-refined .hero-facts-rail .proof-item { min-height: 65px; padding: 10px; }
  .home-refined .hero-facts-rail .proof-item strong { font-size: 17px; }
  .home-refined .hero-facts-rail .proof-item span { font-size: 12px; }
  .home-refined .section, .home-refined .motion-section { padding-block: 38px; }
  .home-refined .section h2,
  .home-refined .showcase-heading h2,
  .home-refined .motion-copy h2 { font-size: 26px; line-height: 1.3; }
  .home-refined .showcase-heading { display: block; margin-bottom: 22px; }
  .home-refined .showcase-intro { margin-top: 14px; }
  .home-refined .showcase-intro .text-link { font-size: 13px; }
  .home-refined .brand-glow-scene { width: calc(100% - 32px); font-size: 34px; padding: 16px 0; }
  .slogan-words { flex-wrap: wrap; gap: 10px; }
  .slogan-section { padding: 4px 0 16px; }
  .slogan-flight { margin-top: 16px; }
  .direction-preview { width: min(360px, calc(100% - 32px)); left: 16px !important; right: 16px; top: auto !important; bottom: 98px; margin-inline: auto; }
  .direction-preview figure { height: min(28svh, 230px); }
  .direction-preview-caption { padding: 9px 6px; }
  .direction-preview-caption p { font-size: 12px; }
  .home-refined .motion-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-refined .motion-copy { grid-column: 1 / -1; flex-direction: column; align-items: center; gap: 14px; padding: 0 0 14px; }
  .home-refined .motion-intro { font-size: 14px; }
  .home-refined .motion-pointers { max-width: 210px; }
  .home-refined .motion-pointers svg:first-child { transform: rotate(145deg); }
  .home-refined .motion-pointers svg:last-child { transform: rotate(35deg); }
  .home-refined .motion-copy .text-link { font-size: 12px; white-space: normal; max-width: 100%; }
  .home-refined .motion-reel .motion-play,
  .home-refined .motion-reel .motion-sound { width: 34px; height: 34px; }
  .home-refined .motion-reel .motion-play { inset: auto 8px 44px auto; }
  .home-refined .motion-reel .motion-sound { inset: 8px auto auto 8px; }
  .home-refined .motion-reel figcaption { font-size: 11px; padding-top: 9px; }
  .home-refined .motion-reel figcaption strong { font-size: 11px; }
  .home-refined .process-stage { width: calc(100% - 32px); }
  .home-refined .process-media-grid { grid-template-columns: .75fr .46fr .46fr; height: 220px; gap: 6px; }
  .home-refined .process-media-grid figure { height: 220px; }
  .home-refined .process-list-v2 { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding-top: 20px; }
  .home-refined .process-list-v2 h3 { font-size: 15px; }
  .home-refined .process-list-v2 p { font-size: 13px; }
  .material-note { grid-template-columns: 54px minmax(0,1fr); gap: 14px; margin-top: 28px; }
  .material-note img { width: 54px; height: 78px; }
  .material-note h3 { font-size: 15px; }
  .material-note p { font-size: 13px; }
  .material-note .text-link { grid-column: 2; justify-self: start; font-size: 13px; }
  .home-refined .contact-panel { display: block; }
  .home-refined .contact-panel-actions { margin-top: 24px; }
  .home-refined .contact-content { width: calc(100% - 32px); }
  .home-refined .contact-content h2 { font-size: 24px; }
  .home-refined .contact-details { display: grid; gap: 10px; }
  .home-refined .contact-section { padding-block: 34px; }
}
@media (max-width: 360px) {
  .home-refined .process-list-v2 h3 { font-size: 13px; }
  .home-refined .hero-v2 h1 { font-size: 37px; }
  .home-refined .brand-glow-scene { font-size: 29px; }
  .home-refined .section h2, .home-refined .motion-copy h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-refined .is-in-view .slogan-flight i { animation: none; transform: none; left: 0; width: 100%; opacity: .65; box-shadow: none; }
  .direction-preview { animation: none; }
  .direction-preview img, .home-refined .service-nav a { transition: none; }
}
