/* ==========================================================================
   Art — every section after the customer strip composed like the stage:
   duotone photography, layered glass, notched cards, one accent.
   Loaded last on index.
   ========================================================================== */
body.home {
  --art-duo: grayscale(1) sepia(0.6) hue-rotate(150deg) saturate(2.25) brightness(0.74) contrast(1.08);
  --art-duo-hover: grayscale(0.35) sepia(0.3) hue-rotate(150deg) saturate(1.80) brightness(0.92) contrast(1.05);
  --art-ease: cubic-bezier(0.16, 1, 0.3, 1);
}
body.home .art-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--art-duo);
  transform: scale(1.04);
  transition: filter 0.9s ease, transform 1.4s var(--art-ease);
}

/* ==========================================================================
   01 · Signals — a four-panel strip; the hovered panel opens
   ========================================================================== */
body.home .sigs {
  display: flex !important;
  gap: 2px !important;
  height: clamp(420px, 34vw, 520px);
  background: transparent !important;
}
body.home .sig {
  position: relative !important;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px !important;
  padding: 28px 26px !important;
  background: #0b8fa8 !important;
  color: #fff !important;
  box-shadow: none !important;
  overflow: hidden;
  isolation: isolate;
  transform: none !important;
  transition: flex-grow 0.8s var(--art-ease) !important;
}
body.home .sig::before {
  content: "" !important;
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 143, 168, 0.05) 0%, rgba(11, 143, 168, 0.35) 45%, rgba(11, 143, 168, 0.94) 100%) !important;
}
body.home .sig::after { height: 2px !important; background: rgba(161, 225, 238, 0.8) !important; transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--art-ease); }
body.home .sig__icon {
  position: absolute;
  top: 26px;
  left: 26px;
  margin: 0 !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(11, 143, 168, 0.45) !important;
  backdrop-filter: blur(6px);
}
body.home .sig__icon svg { stroke: #fff !important; }
body.home .sig__n { margin: 0 !important; color: #a1e1ee !important; }
body.home .sig h3 { color: #fff !important; font-size: clamp(22px, 1.9vw, 30px) !important; }
body.home .sig p {
  color: rgba(230, 247, 251, 0.82) !important;
  max-width: 38ch;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s var(--art-ease), opacity 0.6s ease;
}
@media (hover: hover) and (min-width: 900px) {
  body.home .sigs:hover .sig { flex-grow: 0.8; }
  body.home .sigs .sig:hover { flex-grow: 2.4; }
  body.home .sig:hover .art-img { filter: var(--art-duo-hover); transform: scale(1.08); }
  body.home .sig:hover p { max-height: 160px; opacity: 1; }
  body.home .sig:hover::after { transform: scaleX(1); }
}
@media (hover: none), (max-width: 899px) {
  body.home .sigs { flex-direction: column; height: auto; }
  body.home .sig { min-height: 280px !important; }
  body.home .sig p { max-height: none; opacity: 1; }
}

/* ==========================================================================
   02 · Memory — layers as strata, deepening from "now" to "why"
   ========================================================================== */
body.home .s-memory .nm__canvas {
  box-shadow: 0 40px 90px -50px rgba(11, 143, 168, 0.6);
}
body.home .nm__layer-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  border: 1px solid #c9d6d8;
}
body.home .nm-layer {
  --depth: 0;
  display: grid !important;
  grid-template-columns: 64px minmax(160px, 1.1fr) minmax(200px, 2fr) 140px minmax(200px, 1.6fr);
  align-items: center;
  gap: 18px !important;
  padding: 18px 22px !important;
  border: 0 !important;
  border-top: 1px solid rgba(11, 143, 168, 0.08) !important;
  background: color-mix(in srgb, #0b8fa8 calc(var(--depth) * 1%), #ffffff) !important;
  transform: none !important;
  clip-path: none !important;
  transition: background-color 0.4s ease, padding 0.4s var(--art-ease);
}
body.home .nm-layer:nth-child(1) { --depth: 0; }
body.home .nm-layer:nth-child(2) { --depth: 4; }
body.home .nm-layer:nth-child(3) { --depth: 8; }
body.home .nm-layer:nth-child(4) { --depth: 13; }
body.home .nm-layer:nth-child(5) { --depth: 18; }
body.home .nm-layer:first-child { border-top: 0 !important; }
body.home .nm-layer:hover,
body.home .nm-layer.is-on { background: #0b8fa8 !important; padding-left: 30px !important; }
body.home .nm-layer:hover *,
body.home .nm-layer.is-on * { color: #e6f7fb !important; }
body.home .nm-layer:hover blockquote,
body.home .nm-layer.is-on blockquote { background: rgba(255, 255, 255, 0.06) !important; border-left-color: #a1e1ee !important; }
body.home .nm-layer__n { font: 500 30px/1 "Newsreader", Georgia, serif !important; color: #048eaa !important; letter-spacing: 0 !important; }
body.home .nm-layer h4 { font: 500 20px/1.15 "Newsreader", Georgia, serif !important; }
body.home .nm-layer__q { font-size: 14px !important; margin-top: 4px !important; }
body.home .nm-layer > h4 { grid-column: 2; grid-row: 1; align-self: end; }
body.home .nm-layer > .nm-layer__q { grid-column: 2; grid-row: 2; align-self: start; }
body.home .nm-layer > .nm-layer__n { grid-row: 1 / span 2; }
body.home .nm-layer > p:not(.nm-layer__q) { grid-column: 3; grid-row: 1 / span 2; }
body.home .nm-layer > dl { grid-column: 4; grid-row: 1 / span 2; flex-direction: column; gap: 2px !important; margin: 0 !important; }
body.home .nm-layer > blockquote { grid-column: 5; grid-row: 1 / span 2; margin: 0 !important; border-left: 2px solid #048eaa; }
@media (max-width: 1100px) {
  body.home .nm-layer { grid-template-columns: 48px 1fr; }
  body.home .nm-layer > p:not(.nm-layer__q),
  body.home .nm-layer > dl,
  body.home .nm-layer > blockquote { grid-column: 2 !important; grid-row: auto !important; }
}

/* ==========================================================================
   03 · Products — each screenshot on a duotone stage
   ========================================================================== */
body.home .s-grid .fh-card { background: #fff !important; box-shadow: 0 0 0 1px #c9d6d8 inset !important; }
body.home .s-grid .fh-card__shot {
  position: relative;
  aspect-ratio: 4 / 3 !important;
  padding: 22px 22px 0 !important;
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(10, 196, 233, 0.55), transparent 60%),
    linear-gradient(160deg, #0b8fa8, #0b8fa8) !important;
  overflow: hidden;
}
body.home .s-grid .fh-card__shot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(161, 225, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 225, 238, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
body.home .s-grid .fh-card__shot img {
  position: relative;
  height: 100% !important;
  object-fit: cover;
  object-position: top left !important;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translateY(10px) !important;
  transition: transform 0.9s var(--art-ease) !important;
}
body.home .s-grid .fh-card:hover .fh-card__shot img { transform: translateY(0) scale(1.02) !important; }
body.home .s-grid .fh-card:hover { box-shadow: 0 0 0 1px #048eaa inset, 0 30px 60px -36px rgba(11, 143, 168, 0.5) !important; transform: translateY(-4px); }

/* ==========================================================================
   06 · Method — four photographed steps + a split banner
   ========================================================================== */
body.home .steps {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2px !important;
}
@media (min-width: 760px) { body.home .steps { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1080px) { body.home .steps { grid-template-columns: repeat(4, 1fr) !important; } body.home .steps::before { display: none !important; } }
body.home .steps li {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 26px 24px !important;
  background: #0b8fa8;
}
body.home .steps li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 143, 168, 0.1) 0%, rgba(11, 143, 168, 0.45) 45%, rgba(11, 143, 168, 0.95) 100%);
}
body.home .steps li:hover .art-img { filter: var(--art-duo-hover); transform: scale(1.08); }
body.home .steps b {
  position: absolute;
  top: 22px;
  left: 24px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  clip-path: none !important;
  font: 500 56px/1 "Newsreader", Georgia, serif !important;
  color: rgba(255, 255, 255, 0.85) !important;
}
body.home .steps li:hover b { background: none !important; color: #a1e1ee !important; }
body.home .steps h3 { color: #fff !important; font-size: 26px !important; }
body.home .steps p { color: rgba(230, 247, 251, 0.82) !important; }

body.home .vs { gap: 2px !important; }
body.home .vs__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #294448 !important;
  box-shadow: none !important;
  clip-path: none !important;
}
body.home .vs__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 34, 36, 0.35), rgba(20, 34, 36, 0.92));
}
body.home .vs__card:not(.vs__card--aw) .art-img { filter: grayscale(1) brightness(0.55) contrast(1.05); }
body.home .vs__card--aw { background: #0b8fa8 !important; }
body.home .vs__card--aw::before { background: linear-gradient(180deg, rgba(11, 143, 168, 0.25), rgba(11, 143, 168, 0.95)) !important; }
body.home .vs__card h3,
body.home .vs__card--aw h3 { color: #fff !important; }
body.home .vs__card li,
body.home .vs__card--aw li { color: rgba(230, 247, 251, 0.85) !important; }
body.home .vs__card .vs__tag { color: rgba(230, 247, 251, 0.6) !important; }
body.home .vs__card--aw .vs__tag { color: #a1e1ee !important; }
body.home .vs__card li::before { background-color: rgba(255, 255, 255, 0.1) !important; filter: grayscale(1) brightness(2); }
body.home .vs__card--aw .s-cta { background: #fff !important; color: #2f3a3d !important; }

/* ==========================================================================
   07 · Contact — a closing banner
   ========================================================================== */
body.home .s-contact {
  isolation: isolate;
  overflow: hidden;
  background: #0b8fa8 !important;
  color: #e6f7fb !important;
}
body.home .s-contact::before { display: none !important; }
body.home .s-contact .art-bg { position: absolute; inset: 0; z-index: -1; }
body.home .s-contact .art-bg img { width: 100%; height: 100%; object-fit: cover; filter: var(--art-duo); }
body.home .s-contact .art-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 143, 168, 0.96) 0%, rgba(11, 143, 168, 0.82) 45%, rgba(11, 143, 168, 0.55) 100%);
}
body.home .s-contact .s-title { color: #fff !important; }
body.home .s-contact .s-title .hl { color: #a1e1ee !important; -webkit-text-fill-color: #a1e1ee !important; }
body.home .s-contact .s-eyebrow { color: #a1e1ee !important; }
body.home .s-contact .s-lede { color: rgba(230, 247, 251, 0.8) !important; }
body.home .s-contact__meta { border-top-color: rgba(255, 255, 255, 0.14) !important; }
body.home .s-contact__meta div { border-bottom-color: rgba(255, 255, 255, 0.14) !important; }
body.home .s-contact__meta dt { color: rgba(230, 247, 251, 0.5) !important; }
body.home .s-contact__meta dd, body.home .s-contact__meta a { color: #fff !important; }
body.home .s-form {
  background:
    linear-gradient(160deg, rgba(11, 143, 168, 0.88), rgba(11, 143, 168, 0.94)) padding-box,
    linear-gradient(135deg, rgba(161, 225, 238, 0.55), rgba(255, 255, 255, 0.06)) border-box !important;
  border: 1px solid transparent !important;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  backdrop-filter: blur(12px);
  box-shadow: none !important;
}
body.home .s-form label > span { color: rgba(230, 247, 251, 0.55) !important; }
body.home .s-form input,
body.home .s-form select,
body.home .s-form textarea { background-color: rgba(11, 143, 168, 0.6) !important; border-color: rgba(161, 225, 238, 0.22) !important; color: #fff !important; }
body.home .s-form input::placeholder,
body.home .s-form textarea::placeholder { color: rgba(230, 247, 251, 0.4) !important; }
body.home .s-form input:focus,
body.home .s-form select:focus,
body.home .s-form textarea:focus { border-color: #a1e1ee !important; background-color: rgba(11, 143, 168, 0.8) !important; box-shadow: 0 0 0 3px rgba(161, 225, 238, 0.15) !important; }
body.home .s-form .s-cta { background: #fff !important; color: #2f3a3d !important; }
body.home .s-form__actions a { color: rgba(230, 247, 251, 0.75) !important; }

@media (prefers-reduced-motion: reduce) {
  body.home .art-img, body.home .sig, body.home .sig p { transition: none !important; }
}
