/* W2 visual media layer, October 2026.
   Presentation only: page copy, headings and search metadata stay in the renderer.
   Authored slideshow frames always remain uncropped at their native 16:9 ratio. */

.media-hero {
  background: #202629;
  border-bottom: 1px solid #384145;
}
.media-hero .hero-layout {
  width: min(calc(100% - 96px), 1440px);
  max-width: 1440px;
  min-height: 0;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(32px, 3vw, 52px);
  padding-block: clamp(48px, 5vw, 78px);
}
.media-hero .hero-copy { padding: 0; min-width: 0; }
.media-hero h1 {
  font-size: clamp(2.65rem, 3.9vw, 4.15rem);
  line-height: 1.075;
  letter-spacing: -.04em;
  max-width: 680px;
  margin-block: 24px;
}
.media-hero .hero-copy > p {
  max-width: 570px;
  color: #d3d9dc;
  font-size: 1.0625rem;
  line-height: 1.75;
}
.media-hero .hero-context {
  border-color: #586066;
  padding-top: 24px;
  margin-top: 30px;
  gap: 18px;
  color: #c8d1d5;
}
.media-hero .hero-context span { max-width: 180px; }
.media-hero .actions { gap: 18px 24px; }
.media-hero .w2-film--hero { width: 100%; align-self: center; }

/* Each film is a complete, independently controllable visual component. */
.w2-film {
  margin: 0;
  min-width: 0;
  color: #202629;
  background: #ffffff;
  border: 1px solid #d6dfe2;
  border-top: 3px solid var(--orange, #ff751f);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 46px #17252d0d;
}
.media-hero .w2-film { border-color: #566168; border-top-color: var(--orange, #ff751f); box-shadow: 0 24px 54px #00000030; }
/* Presentation films loop cleanly, with no permanent toolbar below them. */
.w2-film[data-controls="minimal"] { position: relative; }
.w2-film[data-controls="minimal"] .w2-film-caption { position: absolute; inset: 12px 12px auto auto; z-index: 3; padding: 0; border: 0; background: transparent; }
.w2-film[data-controls="minimal"] .w2-film-caption > div:first-child { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.w2-film[data-controls="minimal"] .w2-film-actions { width: auto; gap: 8px; }
.w2-film[data-controls="minimal"] .w2-film-actions button, .w2-film[data-controls="minimal"] .w2-film-open { background: #202629e8; color: #fff; border-color: #ffffff70; box-shadow: 0 2px 10px #0003; }
.w2-film[data-controls="minimal"] .w2-film-actions [data-film-toggle] { width: 44px; min-height: 44px; padding: 0; font-size: 1rem; opacity: .8; }
.w2-film[data-controls="minimal"] .w2-film-actions [data-film-toggle]:hover,
.w2-film[data-controls="minimal"] .w2-film-actions [data-film-toggle]:focus-visible { opacity: 1; }
.w2-film[data-controls="minimal"][data-film-enhanced="true"] .w2-film-open,
.w2-film[data-controls="minimal"] [data-film-fullscreen] { display: none; }
.w2-film[data-controls="minimal"][data-motion-state="error"] .w2-film-open { display: inline-flex; }
.w2-film[data-controls="minimal"] .w2-film-status:not([hidden]) { position: absolute; inset: auto 0 0; z-index: 4; padding: 12px 16px; }
.w2-film-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eff2f3;
  isolation: isolate;
}
.w2-film-poster,
.w2-film-video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
.w2-film-poster { z-index: 0; }
.w2-film-video { z-index: 1; opacity: 0; background: transparent; }
.w2-film[data-film-ready="true"] .w2-film-video { opacity: 1; }
.w2-film-stage:fullscreen { background: #000; display: grid; place-items: center; }
.w2-film-stage:fullscreen .w2-film-video { opacity: 1; }
.w2-film:fullscreen { display: flex; flex-direction: column; justify-content: center; border: 0; border-radius: 0; background: #11191d; }
.w2-film:fullscreen .w2-film-stage { flex: 1; aspect-ratio: auto; background: #11191d; }
.w2-film-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding: 19px 22px;
  background: #ffffff;
  border-top: 1px solid #e2e7e9;
  color: #202629;
  line-height: 1.5;
}
.w2-film-caption > div:first-child { min-width: 0; }
.w2-film-label { display: block; font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; }
.w2-film-caption small { display: block; margin-top: 4px; color: #5c686f; font-size: .78125rem; line-height: 1.55; }
.w2-film-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; flex-shrink: 0; }
.w2-film-actions button,
.w2-film-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #bdc8cd;
  border-radius: 7px;
  background: #ffffff;
  color: #202629;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}
.w2-film-actions [data-film-toggle] { background: #202629; border-color: #202629; color: #ffffff; }
.w2-film-actions [data-film-toggle]:hover { background: #3c474d; border-color: #3c474d; }
.w2-film-actions [data-film-fullscreen]:hover,
.w2-film-open:hover { background: #f0f3f4; border-color: #73848d; }
.w2-film-actions button:focus-visible,
.w2-film-open:focus-visible { outline: 3px solid #a6410c; outline-offset: 3px; }
.w2-film-actions button:disabled { cursor: wait; opacity: .65; }
.w2-film-status { margin: 0; padding: 0 22px 17px; color: #735128; background: #ffffff; font-size: .875rem; line-height: 1.65; }
.w2-film .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.w2-film [hidden] { display: none !important; }

/* The original pathway text remains intact inside an illustrated card. */
.pathway:has(.pathway-image) { padding: 0; overflow: hidden; background: #ffffff; border-color: #dbe1e4; border-top-color: var(--orange, #ff751f); }
.pathway.dark:has(.pathway-image) { background: #292f33; border-color: #292f33; border-top-color: var(--orange, #ff751f); }
.pathway-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8.5; object-fit: cover; object-position: center; border-bottom: 1px solid #dce2e4; }
.pathway-copy { padding: 30px 32px; display: flex; flex-direction: column; flex: 1; }
.pathway-copy .kicker { margin-bottom: 20px; }
.pathway-copy p { max-width: 52ch; }
.pathway-copy .pathway-bottom { margin-top: auto; }

/* Image-led homepage services; the complete service directory stays available. */
.visual-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; border: 0; }
.visual-services .service-row {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  gap: 14px 12px;
  align-items: start;
  min-width: 0;
  padding: 0 24px 24px;
  background: #ffffff;
  border: 1px solid #dce2e5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px #192f3c05;
}
.visual-services .service-row-image {
  grid-column: 1 / -1;
  grid-row: 1;
  display: block;
  width: calc(100% + 48px);
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  margin: 0 -24px 9px;
  border-bottom: 1px solid #e2e7e9;
}
.visual-services .service-row .num { grid-column: 1; grid-row: 2; padding-top: 3px; font-size: .75rem; color: #915028; }
.visual-services .service-row h3 { grid-column: 2; grid-row: 2; font-size: clamp(1.2rem, 1.5vw, 1.4rem); line-height: 1.32; }
.visual-services .service-row p { grid-column: 1 / -1; grid-row: 3; max-width: none; color: #59666e; font-size: .9375rem; line-height: 1.7; }
.visual-services .service-row .round-arrow { grid-column: 2; grid-row: 4; justify-self: end; width: 36px; height: 36px; flex-basis: 36px; font-size: 1.15rem; border-color: #c7d0d5; }
.visual-services .service-row:hover,
.visual-services .service-row:focus-visible { border-color: #aa643b; box-shadow: 0 12px 30px #192f3c0f; }
.visual-services .service-row:hover .round-arrow { background: #202629; border-color: #202629; color: #ffffff; }

.service-row--illustrated { grid-template-columns: 132px 28px minmax(0, 1fr) minmax(0, 1.05fr) 42px; gap: 22px; }
.service-directory-image { display: block; width: 132px; height: 90px; object-fit: cover; border-radius: 8px; }

/* Dedicated feature modules keep presentations out of long-form reading columns. */
.w2-media-section { padding-block: clamp(40px, 5vw, 72px); background: #ffffff; border-bottom: 1px solid #e3e7e9; }
.w2-media-section > .wrap { max-width: 1280px; }
.w2-media-wide { max-width: 1080px; margin-inline: auto; }
.w2-media-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(30px, 4vw, 58px); }
.w2-media-context { min-width: 0; }
.w2-media-context p { color: #56636b; line-height: 1.8; }
.w2-media-context > :last-child { margin-bottom: 0; }
.service-page .page-intro { background: linear-gradient(110deg, #f2f5f6 0%, #f9fafb 65%, #ffffff 100%); border-bottom-color: #dce3e6; }
.page-intro:has(.w2-film) { background: linear-gradient(110deg, #f2f5f6 0%, #f9fafb 65%, #ffffff 100%); border-bottom-color: #dce3e6; }
.service-page .intro-split .intro-image { border-bottom-width: 3px; box-shadow: 0 10px 32px #19313e0c; }
.service-page .service-summary { background: #f8f9f9; border-color: #dce2e5; border-top-color: var(--orange, #ff751f); }
.service-page .service-summary div { border-color: #d4dde2; }
.service-page .service-summary strong { color: #3c4d57; }
.approach-grid .architectural-image img { box-shadow: 0 10px 32px #19313e0a; }

@media (min-width: 901px) and (max-width: 1200px) {
  .media-hero .hero-layout { width: calc(100% - 72px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 30px; }
  .media-hero h1 { font-size: clamp(2.5rem, 4vw, 3.1rem); }
  .w2-film-caption { flex-wrap: wrap; }
  .w2-film-actions { justify-content: flex-start; }
  .visual-services { gap: 20px; }
  .visual-services .service-row { padding-inline: 20px; }
  .visual-services .service-row-image { width: calc(100% + 40px); margin-inline: -20px; }
}
@media (max-width: 900px) {
  .media-hero .hero-layout { grid-template-columns: minmax(0, 1fr); width: min(calc(100% - 64px), 720px); gap: 34px; padding-block: 42px; }
  .media-hero .hero-copy { max-width: none; }
  .media-hero h1 { font-size: clamp(2.6rem, 6vw, 3.6rem); max-width: 680px; }
  .media-hero .hero-copy > p { max-width: 620px; }
  .media-hero .hero-context { margin-top: 25px; }
  .media-hero .w2-film--hero { max-width: 720px; }
  .visual-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w2-film-caption { flex-wrap: wrap; gap: 12px 18px; }
  .w2-film-actions { justify-content: flex-start; }
  .w2-media-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .w2-media-context { max-width: 72ch; }
  .pathway-copy { padding: 25px; }
  .service-row--illustrated { grid-template-columns: 104px 24px minmax(0, 1fr) 38px; gap: 12px 18px; }
  .service-row--illustrated .service-directory-image { grid-column: 1; grid-row: 1 / 3; width: 104px; height: 90px; }
  .service-row--illustrated .num { grid-column: 2; grid-row: 1; }
  .service-row--illustrated h3 { grid-column: 3; grid-row: 1; }
  .service-row--illustrated p { grid-column: 2 / 4; grid-row: 2; }
  .service-row--illustrated .round-arrow { grid-column: 4; grid-row: 1 / 3; }
}
@media (max-width: 600px) {
  .media-hero .hero-layout { width: calc(100% - 36px); padding-block: 32px; gap: 26px; }
  .media-hero h1 { font-size: clamp(2.25rem, 8.5vw, 2.9rem); line-height: 1.1; margin-block: 18px 21px; }
  .media-hero .hero-copy > p { font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
  .media-hero .actions { gap: 10px; }
  .media-hero .hero-context { gap: 12px; margin-top: 24px; }
  .media-hero .hero-context span { font-size: .75rem; }
  .w2-film { border-radius: 10px; }
  .w2-film-caption { padding: 16px; gap: 13px; }
  .w2-film-label { font-size: .9375rem; }
  .w2-film-caption small { font-size: .75rem; }
  .w2-film-actions { width: 100%; gap: 8px; }
  .w2-film-actions button,
  .w2-film-open { font-size: .8125rem; padding: 10px 12px; }
  .w2-film-status { padding: 0 16px 16px; }
  .visual-services { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .visual-services .service-row { padding: 0 22px 22px; gap: 14px 12px; }
  .visual-services .service-row-image { width: calc(100% + 44px); margin: 0 -22px 7px; }
  .visual-services .service-row h3 { font-size: 1.35rem; line-height: 1.32; }
  .visual-services .service-row p { font-size: 1rem; }
  .pathway-copy { padding: 25px 23px; }
  .pathway-image { aspect-ratio: 16 / 9; }
  .pathway-copy .kicker { margin-bottom: 18px; }
  .w2-media-section { padding-block: 34px; }
  .w2-media-section > .wrap { width: calc(100% - 36px); }
  .service-row--illustrated { grid-template-columns: 80px minmax(0, 1fr) 32px; gap: 10px 14px; }
  .service-row--illustrated .service-directory-image { grid-column: 1; grid-row: 1 / 4; width: 80px; height: 80px; }
  .service-row--illustrated .num { grid-column: 2; grid-row: 1; }
  .service-row--illustrated h3 { grid-column: 2; grid-row: 2; font-size: 1.2rem; }
  .service-row--illustrated p { grid-column: 1 / -1; grid-row: 4; }
  .service-row--illustrated .round-arrow { grid-column: 3; grid-row: 1 / 4; }
}
@media (prefers-reduced-motion: no-preference) {
  .visual-services .service-row { transition: border-color .18s ease, box-shadow .18s ease; }
  .pathway-image,
  .service-row-image { transition: filter .18s ease; }
  .pathway:hover .pathway-image,
  .service-row:hover .service-row-image { filter: brightness(1.025); }
}
@media (prefers-reduced-motion: reduce) {
  .w2-film,
  .w2-film *,
  .visual-services *,
  .pathway-image { scroll-behavior: auto; transition: none !important; animation: none !important; }
}
