/* Scoped content/navigation additions; existing shared visual layers stay unchanged. */
[data-home-content] .section[id] {scroll-margin-top:160px;}
[data-home-content] .home-card-link {display:block;width:100%;height:100%;color:inherit;border-radius:inherit;}
[data-home-content] .side-card,
[data-home-content] #business .mini-side-card,
[data-home-content] #technology .research-side-card {display:block;}
[data-home-content] .mini-side-card > .home-card-link,
[data-home-content] .research-side-card > .home-card-link {display:grid;grid-template-columns:inherit;gap:inherit;}
[data-home-content] .news-feature-card > .home-card-link {display:flex;flex-direction:column;}
[data-home-content] #business .news-feature-card > .home-card-link img {height:auto;aspect-ratio:900/480;object-fit:cover;}
[data-home-content] .news-feature-body {flex:1;}
[data-home-content] .home-article-window {min-width:0;}
[data-home-content] #business .news-side-stack.home-article-scroll,
[data-home-content] #technology .research-side-stack.v3.home-article-scroll {
  --home-article-card:144px;--home-article-height:456px;
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;
  grid-auto-rows:minmax(var(--home-article-card),auto);align-content:start;gap:12px;
  height:min(var(--home-article-height),calc(100svh - 96px));min-height:144px;
  overflow-y:auto;overflow-x:hidden;scroll-snap-type:y proximity;scroll-padding-block:1px;
  scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b59bc6 transparent;
  scroll-behavior:auto;
}
[data-home-content] #technology .research-side-stack.v3.home-article-scroll {
  --home-article-card:158px;--home-article-height:328px;
}
[data-home-content] #business .home-article-scroll .mini-side-card,
[data-home-content] #technology .research-side-stack.v3.home-article-scroll .research-side-card {
  min-width:0;max-width:100%;height:auto;min-height:var(--home-article-card);scroll-snap-align:start;
}
[data-home-content] .home-article-scroll .home-card-link {
  min-width:0;max-width:100%;height:auto;min-height:var(--home-article-card);overflow-wrap:anywhere;
}
[data-home-content] .home-article-scroll:focus-visible {
  outline:2px solid var(--tao-color-focus-ring);outline-offset:3px;border-radius:4px;
}
[data-home-content] .home-article-scroll-hint {
  margin:8px 0 0;color:var(--tao-color-muted);font-size:12px;line-height:1.4;text-align:right;
}
[data-home-content] .home-article-scroll-hint span {color:var(--tao-color-accent);}
[data-home-content] .side-card > .home-card-link {display:flex;align-items:stretch;}
[data-home-content] .side-card > .home-card-link img {flex:0 0 44%;width:44%;object-fit:cover;}
[data-home-content] .side-card .side-text {min-width:0;flex:1;}
[data-home-content] .research-feature-card > .home-card-link {position:relative;}
[data-home-content] #technology .research-overlay {background:rgba(10,15,25,.88);padding:16px;border-radius:12px;top:20px;right:20px;}
[data-home-content] #technology .research-overlay .date {color:#f0e4fa;}
[data-home-content] .home-card-link:focus-visible,
[data-home-content] .home-view-all:focus-visible {outline:3px solid #6a0dad;outline-offset:-3px;}
[data-home-content] .home-card-link:hover b,
[data-home-content] .home-card-link:hover h4 {text-decoration:underline;text-underline-offset:.16em;}
[data-home-content] .section-head {display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;}
[data-home-content] .home-view-all {display:inline-flex;align-items:center;min-height:44px;color:#660874;font-size:14px;font-weight:600;}
[data-home-content] .home-card-action {display:inline-block;margin-top:12px;color:#660874;font-size:13px;font-weight:600;}
[data-home-content] .product-v2-card > .home-card-link {height:auto;flex:1;}
[data-home-content] .project-v6-card > .home-card-link {position:relative;}
[data-home-content] .search {
  display:grid;grid-template-columns:20px minmax(0,1fr) auto auto;
  align-items:center;gap:8px;height:auto;min-height:64px;padding:9px 10px 9px 18px;
  border:1px solid #ded5e6;border-radius:20px;background:#fff;
  box-shadow:0 6px 24px rgba(35,18,49,.05);
}
[data-home-content] .search:focus-within {
  border-color:var(--tao-color-accent);box-shadow:0 0 0 3px rgba(106,13,173,.12);
}
[data-home-content] .search .spark {
  display:grid;grid-column:1;grid-row:1;place-items:center;width:20px;height:20px;
  margin:0;color:var(--tao-color-accent);
}
[data-home-content] .search .spark svg {
  display:block;width:20px;height:20px;fill:none;stroke:currentColor;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
[data-home-content] .search input {
  grid-column:2;grid-row:1;min-width:0;width:100%;min-height:44px;padding:0;
  background:transparent;font-size:16px;line-height:1.5;
}
[data-home-content] .search input:focus-visible {outline:0;}
[data-home-content] [data-home-search-ready] input::-webkit-search-cancel-button {display:none;}
[data-home-content] .search .go {
  display:flex;grid-column:4;grid-row:1;align-items:center;justify-content:center;
  min-width:80px;min-height:44px;padding:10px 14px;border:1px solid var(--tao-color-accent);
  border-radius:12px;background:var(--tao-color-accent);color:#fff;
  font-size:14px;font-weight:600;line-height:1.35;
}
[data-home-content] .home-search-clear {
  display:grid;grid-column:3;grid-row:1;place-items:center;width:44px;height:44px;
  padding:0;border:0;border-radius:10px;background:transparent;color:var(--tao-color-muted);
  font:inherit;font-size:24px;line-height:1;cursor:pointer;
}
[data-home-content] .home-search-clear[hidden] {display:none;}
[data-home-content] .home-search-clear:hover {background:var(--tao-color-lavender);color:var(--tao-color-accent);}
[data-home-content] .search .go:enabled:hover {background:var(--tao-color-accent-dark);}
[data-home-content] .home-search-clear:focus-visible,
[data-home-content] .search .go:focus-visible,
[data-home-content] .pills .pill:focus-visible {outline:2px solid var(--tao-color-focus-ring);outline-offset:3px;}
[data-home-content] .pills {gap:8px;}
[data-home-content] .pills .pill {
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;
  border-color:#e3dbe9;border-radius:999px;box-shadow:none;
}
[data-home-content] .pills .pill:hover {background:var(--tao-color-lavender);border-color:#cdb2df;}
[data-home-content] .home-search-results {text-align:left;margin-top:16px;padding:20px;border:1px solid #e9e9f1;border-radius:16px;background:#fff;}
[data-home-content] .home-search-results[hidden] {display:none;}
[data-home-content] .home-search-results h2 {font-size:18px;line-height:1.4;margin:0 0 10px;}
[data-home-content] .home-search-results ul {list-style:none;padding:0;margin:0;}
[data-home-content] .home-search-results a {display:block;padding:12px 0;border-bottom:1px solid #e9e9f1;overflow-wrap:anywhere;}
[data-home-content] .home-search-results a:focus-visible {outline:2px solid var(--tao-color-focus-ring);outline-offset:3px;border-radius:4px;}
[data-home-content] .home-search-results span {display:block;margin-top:4px;font-size:13px;color:#697085;line-height:1.6;}
.home-article-image {margin:24px 0;}
.home-article-image img {display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:16px;}
@media (min-width:1025px) {
  /* The feature establishes the shared row height; the hint sits below it.
     Fixed tracks fill three slots even while the fourth row overflows.
     A flexible minmax track would stay at its minimum without free space. */
  [data-home-content] #business .news-feature-card {min-height:456px;}
  [data-home-content] #business .home-article-window {position:relative;min-height:0;container-type:size;}
  [data-home-content] #business .news-side-stack.home-article-scroll {
    position:absolute;inset:0;height:100%;min-height:0;
    grid-auto-rows:calc((100cqh - 24px)/3);
  }
  [data-home-content] #business .home-article-scroll .mini-side-card,
  [data-home-content] #business .home-article-scroll .home-card-link {
    height:100%;min-height:0;
  }
  [data-home-content] #business .home-article-scroll-hint {position:absolute;top:100%;right:0;}
}
@media (max-width:1024px) {
  [data-home-content] .side-card > .home-card-link {flex-direction:column;}
  [data-home-content] .side-card > .home-card-link img {flex:0 0 auto;width:100%;}
  [data-home-content] .side-card .side-text {padding:16px;}
}
@media (max-width:640px) {
  [data-home-content] #technology .research-side-stack.v3.home-article-scroll {
    --home-article-card:224px;--home-article-height:460px;
  }
  [data-home-content] .side-stack {display:grid;grid-template-columns:1fr;gap:12px;}
  [data-home-content] .side-card > .home-card-link {flex-direction:row;}
  [data-home-content] .side-card > .home-card-link img {width:38%;height:auto;min-height:128px;}
  [data-home-content] .side-card .side-text {justify-content:center;padding:16px;}
  [data-home-content] .side-card b {font-size:16px;line-height:1.35;}
  [data-home-content] .side-card small {font-size:13px;line-height:1.5;}
  [data-home-content] .section-head {gap:4px 16px;}
}
@media (prefers-reduced-motion:reduce) {
  [data-home-content] {scroll-behavior:auto;}
}
@media (max-width:480px) {
  [data-home-content] .search {grid-template-columns:20px minmax(0,1fr) auto;padding:8px 10px;}
  [data-home-content] .search .go {grid-column:1 / -1;grid-row:2;min-width:0;}
}

/* Native 200% on a small phone can leave only 160/195 CSS px. Keep content
   in natural flow at this boundary; ordinary 320px+ presentation is unchanged. */
@media (max-width:240px) {
  [data-home-content] #business .news-side-stack.home-article-scroll,
  [data-home-content] #technology .research-side-stack.v3.home-article-scroll {
    grid-auto-rows:max-content;scroll-snap-type:none;
  }
  [data-home-content] > main {overflow-wrap:anywhere;}
  [data-home-content] .hero-main {min-height:0;}
  [data-home-content] .hero-copy {
    position:relative;left:auto;top:auto;width:auto;padding:16px;
  }
  [data-home-content] .white-btn {max-width:100%;}
  [data-home-content] .side-card > .home-card-link {flex-direction:column;height:auto;}
  [data-home-content] .side-card > .home-card-link img {
    width:100%;height:auto;min-height:0;
  }
  [data-home-content] #business .news-side-stack.home-article-scroll > .mini-side-card,
  [data-home-content] #technology .research-side-stack.v3.home-article-scroll > .research-side-card {
    height:auto;min-height:0;
  }
  [data-home-content] #business .news-side-stack.home-article-scroll > .mini-side-card > .home-card-link,
  [data-home-content] #technology .research-side-stack.v3.home-article-scroll > .research-side-card > .home-card-link {
    grid-template-columns:minmax(0,1fr);gap:0;height:auto;min-height:0;
  }
  [data-home-content] #business .news-side-stack.home-article-scroll .mini-side-card img,
  [data-home-content] #technology .research-side-stack.v3.home-article-scroll .research-side-card img {
    width:100%;max-width:100%;height:auto;min-height:0;
  }
  [data-home-content] #business .home-article-scroll .mini-side-body,
  [data-home-content] #technology .home-article-scroll .research-side-body {
    min-width:0;max-width:100%;height:auto;padding:16px;overflow-wrap:anywhere;
  }
  [data-home-content] #business .mini-side-body .tag,
  [data-home-content] #technology .research-side-body .tag {height:auto;line-height:1.4;}
  [data-home-content] #technology .research-feature-clean,
  [data-home-content] #technology .research-feature-clean img {
    height:auto;min-height:0;
  }
  [data-home-content] #technology .research-overlay {position:static;width:auto;}
}
