/* WittyWriter Futuristic Home v1.0 — homepage-scoped, no framework required.
   Works with both original shared header/footer and the optional Phase-1 premium UI. */
main.ww-home {
  --ww-ink:#15243c; --ww-ink-soft:#53657f; --ww-muted:#71829a;
  --ww-border:#e4eaf5; --ww-surface:#fff; --ww-cobalt:#6355f5;
  --ww-violet:#8d69fa; --ww-mint:#1bcfae; --ww-navy:#0c1530;
  position:relative; isolation:isolate; overflow:hidden;
  margin:0; padding:0 0 62px; min-height:600px;
  color:var(--ww-ink); background:#f6f8fd;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.5; text-align:left;
}
.ww-home *, .ww-home *::before, .ww-home *::after {box-sizing:border-box}
.ww-home a {text-decoration:none; color:inherit}
.ww-home a:hover {color:var(--ww-cobalt);text-decoration:none}
.ww-home h1,.ww-home h2,.ww-home h3,.ww-home p,.ww-home ol,.ww-home ul {margin-top:0}
.ww-home button,.ww-home input {font:inherit}
.ww-home button {cursor:pointer}
.ww-home :is(a,button,input):focus-visible {outline:3px solid #756aff;outline-offset:3px}
.ww-home__canvas {position:absolute;inset:0 0 auto;height:760px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 37% 23% at 6% 6%,rgba(112,119,249,.14),transparent 85%),radial-gradient(ellipse 31% 25% at 96% 2%,rgba(33,209,191,.11),transparent 80%),linear-gradient(180deg,#f8faff 0%,#f6f8fd 100%)}
.ww-home__canvas::after {content:"";position:absolute;inset:0;opacity:.33;background-image:linear-gradient(rgba(114,132,174,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(114,132,174,.045) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(#000,transparent)}
.ww-home__shell {width:min(1380px,calc(100% - 76px));margin:0 auto}
.ww-home__topline {min-height:56px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-bottom:1px solid #dfe5f3;font-size:10px;letter-spacing:.17em;font-weight:800;color:#65768b}
.ww-home__signal,.ww-home__edition {display:inline-flex;align-items:center;gap:11px}
.ww-home__pulse {display:inline-block;width:8px;height:8px;border-radius:50%;background:#22bda5;box-shadow:0 0 0 4px rgba(34,189,165,.14)}
.ww-home__intro {display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);align-items:end;gap:44px;padding:48px 0 33px}
.ww-home__eyebrow,.ww-home__section-kicker,.ww-home__micro-label {display:block;font-size:11px;letter-spacing:.14em;font-weight:850;color:#6662df}
.ww-home__asterisk {font-size:19px;color:#675bfc;vertical-align:-2px;margin-right:6px}
.ww-home__intro h1 {font-size:clamp(35px,4.15vw,63px);max-width:740px;line-height:1.07;letter-spacing:-.055em;font-weight:850;margin:15px 0 16px;color:#121d3b}
.ww-home__intro h1 span {background:linear-gradient(100deg,#6551fc,#3a82ef 56%,#10a3a0);background-clip:text;-webkit-background-clip:text;color:transparent}
.ww-home__intro-copy>p {font-size:15px;color:#64738d;max-width:570px;margin:0;line-height:1.72}
.ww-home__intro-action {padding-bottom:6px}
.ww-home__search {display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dce4f3;border-radius:17px;box-shadow:0 7px 28px rgba(61,74,125,.075);padding:7px 7px 7px 16px;min-height:62px}
.ww-home__search:focus-within {border-color:#8d86fa;box-shadow:0 0 0 4px rgba(99,85,245,.12)}
.ww-home__search label {display:inline-flex;align-items:center;justify-content:center;min-width:24px;margin:0;color:#62718e}
.ww-home__search-icon {font-size:28px;line-height:1}
.ww-home__search input {background:transparent;outline:none;border:0;width:100%;min-width:0;color:#15243c;font-size:14px}
.ww-home__search input:focus-visible {outline:none}
.ww-home__search input::placeholder {color:#8793a7;opacity:1}
.ww-home__search button {border:0;border-radius:11px;min-height:47px;padding:0 20px;background:#6153f0;color:#fff;font-size:13px;font-weight:800;white-space:nowrap;transition:background .15s ease}
.ww-home__search button:hover {background:#493bda}
.ww-home__search button span {font-size:17px;margin-left:10px}
.ww-home__search-hint {font-size:11px;color:#8995ab;margin:11px 1px 0!important}
.ww-home__search-hint kbd {display:inline-block;border-radius:4px;padding:0 5px;background:#e9edfa;color:#51617a;font-size:10px;border:1px solid #dbe1f0}
.ww-home__topicbar {display:flex;gap:18px;align-items:center;margin:0 0 27px;min-height:53px}
.ww-home__topicbar-label {font-weight:850;font-size:10px;letter-spacing:.15em;flex-shrink:0;color:#8291a8}
.ww-home__chips {display:flex;gap:9px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#d4dcec transparent;padding:3px 2px 9px;flex:1;min-width:0}
.ww-home__chip {border:1px solid #dfe5f1;background:rgba(255,255,255,.78);box-shadow:0 2px 4px rgba(37,55,87,.025);padding:8px 12px 8px 14px;border-radius:11px;white-space:nowrap;font-size:12px;font-weight:750;transition:border-color .2s,background .2s}
.ww-home__chip:hover {border-color:#a4abff;background:#fff}
.ww-home__chip span {font-size:10px;color:#8090a7;margin-left:9px;font-weight:750}
.ww-home__chip--all {color:#5344db!important;background:#eeeefe;border-color:#d7d4ff}
.ww-home__panel {background:#fff;border:1px solid var(--ww-border);box-shadow:0 10px 38px rgba(22,39,91,.045);border-radius:22px}
.ww-home__feature-grid {display:grid;grid-template-columns:minmax(0,1.76fr) minmax(300px,.83fr);gap:20px;align-items:stretch}
.ww-home__spotlight {min-height:468px;position:relative;overflow:hidden;border:1px solid rgba(150,149,244,.2);background:radial-gradient(ellipse 80% 90% at 93% 4%,#30316d 0%,transparent 65%),linear-gradient(125deg,#0b132b 4%,#131c3c 58%,#28246a 100%);color:#fff}
.ww-home__spotlight::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(10,17,39,.95) 0%,rgba(10,17,39,.85) 48%,rgba(10,17,39,.08) 100%);z-index:1}
.ww-home__spotlight-content {position:relative;z-index:3;padding:29px 33px 31px;min-height:468px;display:flex;flex-direction:column;justify-content:space-between;width:74%}
.ww-home__spotlight-top,.ww-home__spotlight-bottom {display:flex;justify-content:space-between;align-items:center;gap:16px}
.ww-home__glass-label {display:inline-flex;gap:9px;align-items:center;padding:7px 11px;background:rgba(125,126,249,.14);border:1px solid rgba(146,144,255,.25);border-radius:8px;letter-spacing:.13em;font-size:9px;font-weight:850;color:#d6d5ff;white-space:nowrap}
.ww-home__bolt {color:#72f0da;font-size:14px}
.ww-home__spotlight-number {font-size:10px;letter-spacing:.1em;font-weight:800;color:#a5a9ce;white-space:nowrap}
.ww-home__spotlight-body {padding:24px 0 0}
.ww-home__spotlight-category {font-size:10px;letter-spacing:.14em;font-weight:850;color:#6de9d4;text-transform:uppercase}
.ww-home__spotlight h2 {font-size:clamp(29px,2.55vw,44px);line-height:1.12;letter-spacing:-.038em;color:#fff;font-weight:850;margin:13px 0 17px;max-width:610px;overflow-wrap:anywhere}
.ww-home__spotlight h2 a {color:inherit}
.ww-home__spotlight h2 a:hover {color:#adfaf0}
.ww-home__spotlight-body>p {font-size:14px;line-height:1.76;color:#bbc3da;max-width:500px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 22px}
.ww-home__feature-link {display:inline-flex;gap:24px;align-items:center;justify-content:space-between;min-height:46px;padding:0 17px;border-radius:11px;background:#fff;color:#171d38!important;font-size:12px;font-weight:850;box-shadow:0 6px 20px rgba(0,0,0,.1);white-space:nowrap}
.ww-home__feature-link:hover {background:#a8fbef;color:#161d39!important}
.ww-home__feature-link span {font-size:18px}
.ww-home__featured-date {font-size:11px;color:#b0bada}
.ww-home__spotlight-visual {position:absolute;inset:0 0 0 48%;overflow:hidden;z-index:0}
.ww-home__spotlight-visual img {display:block;width:100%!important;height:100%!important;max-width:none;object-fit:cover;object-position:center;opacity:.65;filter:saturate(.94)}
.ww-home__spotlight-visual::after {content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(22,14,70,.32),rgba(73,57,139,.12))}
.ww-home__orb {position:absolute;border-radius:50%;filter:blur(12px);background:rgba(86,82,246,.6);z-index:1}
.ww-home__orb--one {height:180px;width:180px;top:-85px;right:-45px}
.ww-home__orb--two {width:140px;height:140px;bottom:-82px;left:15px;background:rgba(17,209,186,.26)}
.ww-home__visual-glyph {position:absolute;font-size:clamp(140px,18vw,300px);font-weight:950;color:rgba(158,151,255,.15);line-height:1;letter-spacing:-.11em;right:5%;top:29%}
.ww-home__side-stack {display:grid;grid-template-rows:131px minmax(0,1fr);gap:18px;min-width:0}
.ww-home__stats-grid {display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ww-home__stat {padding:17px 20px;display:flex;flex-direction:column;min-width:0}
.ww-home__stat-icon {display:grid;place-items:center;height:28px;width:28px;border-radius:8px;background:#efecff;color:#6658ee;font-size:19px;font-weight:800}
.ww-home__stat-icon--mint {background:#e0fbf3;color:#14a98d}
.ww-home__stat strong {font-size:27px;letter-spacing:-.05em;line-height:1.2;font-weight:850;margin-top:9px}
.ww-home__stat>span:last-child {font-size:11px;color:#7c8ba1;font-weight:650}
.ww-home__trending {padding:22px 24px;min-width:0;overflow:hidden}
.ww-home__panel-heading {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:6px}
.ww-home__micro-label {font-size:9px;color:#8f8bfe}
.ww-home__panel-heading h2 {font-size:18px;line-height:1.25;letter-spacing:-.025em;font-weight:850;margin:5px 0 0;color:#182544}
.ww-home__hot {color:#6557f4;font-size:24px;line-height:1}
.ww-home__trending-list {list-style:none;margin:8px 0 0;padding:0}
.ww-home__trending-list li {display:flex;gap:12px;padding:13px 0;border-top:1px solid #edf0f6;min-width:0}
.ww-home__rank {font-size:20px;line-height:1;color:#c4c8d8;font-weight:850;letter-spacing:-.04em;min-width:24px}
.ww-home__trending-list li>div {min-width:0}
.ww-home__trending-list a {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.4;font-weight:780;color:#293651;overflow-wrap:anywhere}
.ww-home__trending-list li>div>span {display:block;font-size:10px;color:#8491a7;margin-top:5px}
.ww-home__muted {font-size:13px;color:#73839b;margin:12px 0}
.ww-home__browse,.ww-home__collections {padding-top:56px}
.ww-home__section-head {display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}
.ww-home__section-kicker {font-size:10px;color:#7368dc;margin-bottom:10px}
.ww-home__section-kicker span {color:#adb6cd}
.ww-home__section-head h2 {font-size:clamp(24px,2.4vw,35px);font-weight:880;letter-spacing:-.045em;line-height:1.17;margin:0 0 8px;color:#182441}
.ww-home__period {color:#6355f5}
.ww-home__section-head p {font-size:13px;line-height:1.6;color:#7e8ca2;margin:0}
.ww-home__view-buttons {display:flex;gap:5px;padding:4px;border:1px solid #e3e7f4;border-radius:11px;background:#fff}
.ww-home__view-button {height:33px;width:36px;border:0;background:transparent;color:#92a0b7;font-size:21px;line-height:1;border-radius:7px}
.ww-home__view-button:hover,.ww-home__view-button.is-current {background:#eeedff;color:#6556ec}
.ww-home__filterbar {display:flex;align-items:center;gap:19px;margin-bottom:19px;min-height:44px}
.ww-home__filterbar>span {font-size:11px;font-weight:850;color:#98a4b5;white-space:nowrap}
.ww-home__filters {display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 6px}
.ww-home__filter {font-size:11px;font-weight:750;border-radius:9px;min-height:32px;padding:0 12px;border:1px solid #e0e6f0;background:#fff;color:#677791;white-space:nowrap}
.ww-home__filter:hover {border-color:#a8acfc}
.ww-home__filter.is-current {border-color:#6658ed;background:#6658ed;color:white}
.ww-home__story-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ww-home__story {min-width:0;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .16s ease,transform .16s ease,border-color .16s ease}
.ww-home__story:hover {transform:translateY(-3px);border-color:#d4d8ff;box-shadow:0 16px 37px rgba(37,49,112,.09)}
.ww-home__story[hidden] {display:none!important}
.ww-home__story-image {display:block;position:relative;height:auto;aspect-ratio:1.77;overflow:hidden;background:linear-gradient(135deg,#e0e5f8,#e9f5f3);border-radius:20px 20px 0 0}
.ww-home__story-image img {width:100%!important;height:100%!important;object-fit:cover;display:block;max-width:none;transition:transform .22s ease}
.ww-home__story:hover .ww-home__story-image img {transform:scale(1.025)}
.ww-home__story-image-arrow {position:absolute;top:13px;right:13px;width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.9);color:#33415e;font-size:16px;box-shadow:0 3px 12px rgba(19,24,48,.1)}
.ww-home__story-content {padding:19px 21px 17px;display:flex;flex-direction:column;flex:1;min-width:0}
.ww-home__story-top {display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:9px}
.ww-home__story-category {font-size:10px;letter-spacing:.03em;font-weight:800;color:#6154ed;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ww-home__pinned {font-size:9px;font-weight:750;color:#a17a09;background:#fff6db;border-radius:6px;padding:4px 7px}
.ww-home__story-content h3 {font-size:17px;line-height:1.38;font-weight:820;color:#1e2b48;letter-spacing:-.02em;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 8px}
.ww-home__story-content h3 a {color:inherit}
.ww-home__story-content h3 a:hover {color:#564be4}
.ww-home__story-content>p {font-size:12px;line-height:1.65;color:#7a89a0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 14px}
.ww-home__story-bottom {margin-top:auto;padding-top:12px;border-top:1px solid #eef1f7;display:flex;align-items:center;justify-content:space-between;color:#8c99ad;font-size:11px;font-weight:650}
.ww-home__mini-arrow {font-size:16px;color:#6659ed}
.ww-home__story-grid.is-list {grid-template-columns:1fr;gap:12px}
.ww-home__story-grid.is-list .ww-home__story {display:grid;grid-template-columns:190px minmax(0,1fr);min-height:165px}
.ww-home__story-grid.is-list .ww-home__story-image {height:100%;aspect-ratio:auto;border-radius:20px 0 0 20px}
.ww-home__story-grid.is-list .ww-home__story-content {padding:19px 24px}
.ww-home__story-grid.is-list .ww-home__story-content h3 {font-size:19px;-webkit-line-clamp:2}
.ww-home__story-grid.is-list .ww-home__story-content>p {-webkit-line-clamp:2}
.ww-home__filter-empty {text-align:center;font-size:13px;background:#fff;border:1px dashed #cfd8ed;border-radius:15px;padding:25px;margin:0}
.ww-home__pagination {display:flex;justify-content:space-between;align-items:center;gap:18px;padding:23px 2px 2px;font-size:12px;color:#8792a8}
.ww-home__pagination>div {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ww-home__pagination a,.ww-home__page-status {display:inline-flex;align-items:center;min-height:39px;padding:0 12px;border:1px solid #dfe4f1;background:white;border-radius:10px;font-size:11px;font-weight:800;color:#465774}
.ww-home__pagination a:hover {border-color:#a49afb;color:#5445d2}
.ww-home__page-status {background:transparent;color:#929cb0;border-color:transparent}
.ww-home__empty {padding:52px;text-align:center}
.ww-home__empty>span {font-size:36px;color:#6053f6}
.ww-home__empty h3 {font-size:24px;font-weight:850;margin:8px 0}
.ww-home__empty p {color:#7f8ea4}
.ww-home__empty a {font-size:13px;font-weight:800;color:#6153f6}
.ww-home__all-topics {display:inline-flex;gap:15px;align-items:center;font-size:12px;font-weight:800;color:#6355ed!important;padding:9px 0;white-space:nowrap}
.ww-home__all-topics:hover {color:#473cc9!important}
.ww-home__collection-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ww-home__collection {padding:23px 24px 21px;position:relative;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.ww-home__collection::before {content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#7c70f4,#38c9bc);opacity:.7}
.ww-home__collection:nth-child(3n+2)::before {background:linear-gradient(90deg,#1bcfae,#76cbee)}
.ww-home__collection:nth-child(3n)::before {background:linear-gradient(90deg,#a76df6,#7465ee)}
.ww-home__collection-top {display:flex;justify-content:space-between;align-items:center;color:#99a7ba;font-size:10px;letter-spacing:.09em;font-weight:800}
.ww-home__collection-symbol {display:grid;place-items:center;border-radius:12px;height:42px;width:42px;font-size:25px;color:#6354f7;background:#f0edff;letter-spacing:0}
.ww-home__collection:nth-child(3n+2) .ww-home__collection-symbol {background:#e7faf4;color:#15b39b}
.ww-home__collection:nth-child(3n) .ww-home__collection-symbol {background:#f4eaff;color:#9561e7}
.ww-home__collection h3 {font-size:21px;line-height:1.25;font-weight:850;letter-spacing:-.025em;margin:22px 0 9px;overflow-wrap:anywhere}
.ww-home__collection h3 a {color:#192640}
.ww-home__collection>p {font-size:12px;line-height:1.6;color:#8090a7;margin:0 0 16px;min-height:36px}
.ww-home__collection-links {list-style:none;padding:0;margin:0 0 20px;border-top:1px solid #edf0f6;flex:1}
.ww-home__collection-links li {border-bottom:1px solid #edf0f6;padding:10px 0 10px 15px;position:relative}
.ww-home__collection-links li::before {content:"";position:absolute;top:17px;left:2px;width:5px;height:5px;border-radius:50%;background:#aaa9f9}
.ww-home__collection-links a {display:block;color:#53637a;font-size:12px;line-height:1.45;font-weight:670;overflow-wrap:anywhere}
.ww-home__collection-cta {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;font-size:12px;font-weight:830;color:#5d4ce9!important;min-height:28px}
.ww-home__collection-cta span {font-size:18px}
.ww-home__outro {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:61px;border-radius:22px;padding:28px 37px;background:linear-gradient(110deg,#eae8ff,#e8f6f7 75%,#f3f8ff);border:1px solid #dcdcf8}
.ww-home__outro-star {float:left;line-height:1;margin:4px 17px 4px 0;color:#6453ed;font-size:40px}
.ww-home__outro p {font-size:11px;color:#73729a;margin:0 0 3px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ww-home__outro h2 {font-size:21px;color:#253352;font-weight:850;letter-spacing:-.025em;margin:0}
.ww-home__outro>a {display:inline-flex;gap:15px;align-items:center;justify-content:space-between;background:#171e41;color:#fff!important;padding:13px 17px;border-radius:11px;font-size:12px;font-weight:850;white-space:nowrap;min-height:44px}
.ww-home__outro>a:hover {background:#4b42ba}

@media (max-width:1150px) {
  .ww-home__shell {width:min(1300px,calc(100% - 48px))}
  .ww-home__feature-grid {grid-template-columns:minmax(0,1.5fr) minmax(275px,.85fr)}
  .ww-home__spotlight-content {width:82%}
  .ww-home__spotlight::after {background:linear-gradient(90deg,rgba(10,17,39,.96) 0%,rgba(10,17,39,.79) 56%,rgba(10,17,39,.08) 100%)}
  .ww-home__spotlight h2 {font-size:33px}
  .ww-home__story-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ww-home__collection-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:850px) {
  .ww-home__intro {grid-template-columns:1fr;align-items:start;gap:22px;padding:37px 0 27px}
  .ww-home__intro h1 {max-width:600px;font-size:clamp(37px,6.2vw,56px)}
  .ww-home__intro-action {max-width:680px}
  .ww-home__feature-grid {grid-template-columns:1fr}
  .ww-home__spotlight,.ww-home__spotlight-content {min-height:400px}
  .ww-home__spotlight-content {width:77%}
  .ww-home__side-stack {grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);grid-template-rows:auto;gap:16px}
  .ww-home__stats-grid {grid-template-columns:1fr;gap:12px}
  .ww-home__trending {min-height:285px}
  .ww-home__browse,.ww-home__collections {padding-top:46px}
}
@media (max-width:600px) {
  main.ww-home {padding-bottom:35px}
  .ww-home__shell {width:calc(100% - 30px)}
  .ww-home__topline {min-height:43px;font-size:9px}
  .ww-home__edition {display:none}
  .ww-home__intro {padding:31px 0 25px;gap:20px}
  .ww-home__intro h1 {font-size:clamp(34px,9vw,48px);margin:13px 0}
  .ww-home__intro-copy>p {font-size:13px}
  .ww-home__search {min-height:57px;padding-left:10px;gap:6px}
  .ww-home__search input {font-size:12px}
  .ww-home__search button {font-size:12px;min-height:42px;padding:0 13px}
  .ww-home__search button span {margin-left:4px}
  .ww-home__search-hint {font-size:10px}
  .ww-home__topicbar {gap:10px;margin-bottom:17px}
  .ww-home__topicbar-label {display:none}
  .ww-home__feature-grid {gap:14px}
  .ww-home__spotlight,.ww-home__spotlight-content {min-height:425px}
  .ww-home__spotlight-content {width:100%;padding:20px 20px 22px}
  .ww-home__spotlight::after {background:linear-gradient(0deg,rgba(9,16,36,.97),rgba(11,15,38,.79) 70%,rgba(11,15,38,.55))}
  .ww-home__spotlight-visual {inset:0 0 36% 15%;opacity:.65}
  .ww-home__spotlight h2 {font-size:31px}
  .ww-home__spotlight-top {align-items:flex-start}
  .ww-home__glass-label {white-space:normal}
  .ww-home__spotlight-number {font-size:9px}
  .ww-home__spotlight-body {padding-top:30px}
  .ww-home__featured-date {font-size:10px}
  .ww-home__side-stack {grid-template-columns:1fr}
  .ww-home__stats-grid {grid-template-columns:1fr 1fr}
  .ww-home__stat {padding:14px}
  .ww-home__trending {padding:19px 21px;min-height:auto}
  .ww-home__browse,.ww-home__collections {padding-top:42px}
  .ww-home__section-head {align-items:flex-start;gap:12px}
  .ww-home__section-head h2 {font-size:27px}
  .ww-home__section-head p {font-size:12px}
  .ww-home__filterbar {display:block}
  .ww-home__filterbar>span {display:block;margin-bottom:8px}
  .ww-home__story-grid,.ww-home__collection-grid {grid-template-columns:1fr;gap:15px}
  .ww-home__story-content {padding:18px}
  .ww-home__story-grid.is-list .ww-home__story {grid-template-columns:115px minmax(0,1fr);min-height:145px}
  .ww-home__story-grid.is-list .ww-home__story-content {padding:11px 12px}
  .ww-home__story-grid.is-list .ww-home__story-content h3 {font-size:14px}
  .ww-home__story-grid.is-list .ww-home__story-content>p {display:none}
  .ww-home__story-grid.is-list .ww-home__story-image {border-radius:20px 0 0 20px}
  .ww-home__pagination {flex-direction:column;align-items:flex-start}
  .ww-home__all-topics {font-size:11px;white-space:normal;min-width:110px}
  .ww-home__collection {padding:21px}
  .ww-home__outro {margin-top:42px;align-items:flex-start;flex-direction:column;padding:24px 22px}
  .ww-home__outro-star {font-size:28px}
  .ww-home__outro h2 {font-size:19px}
  .ww-home__outro>a {align-self:stretch;justify-content:space-between}
}
@media (prefers-reduced-motion:reduce) {
  .ww-home *, .ww-home *::before, .ww-home *::after {scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Respect HTML hidden states for progressive controls and empty/filter states. */
.ww-home [hidden] { display: none !important; }

/* Future Home v2: admin-controlled layouts & accessible progressive behavior. */
.ww-home__shell{display:flex;flex-direction:column}
.ww-home__topline{order:0}.ww-home__intro{order:1}.ww-home__topicbar{order:2}
.ww-home__feature-grid{order:3}.ww-home__browse{order:4}.ww-home__collections{order:5}.ww-home__outro{order:6}
.ww-home[data-order="collections_first"] .ww-home__browse{order:5}
.ww-home[data-order="collections_first"] .ww-home__collections{order:4}
.ww-home__feature-grid--no-spotlight{grid-template-columns:minmax(0,1fr)}
.ww-home__feature-grid--no-spotlight .ww-home__side-stack{display:grid;grid-template-columns:1fr 1.5fr;gap:20px}
.ww-home__feature-grid--solo{grid-template-columns:1fr}
.ww-home__feature-grid--no-spotlight .ww-home__side-stack>:only-child{grid-column:1/-1}
.ww-home[data-theme="teal"]{--ww-cobalt:#0c8e86;--ww-violet:#23b6ab;--ww-mint:#05a68b}
.ww-home[data-theme="blue"]{--ww-cobalt:#2563eb;--ww-violet:#537feb;--ww-mint:#36c4df}
.ww-home[data-theme="teal"] .ww-home__intro h1 span{background-image:linear-gradient(100deg,#067f86,#13ab97,#21a6d5)}
.ww-home[data-theme="blue"] .ww-home__intro h1 span{background-image:linear-gradient(100deg,#164fe1,#2f8af0,#28c2d1)}
.ww-home[data-theme="teal"] :is(.ww-home__search button,.ww-home__filter.is-current){background:#087f78;border-color:#087f78}
.ww-home[data-theme="blue"] :is(.ww-home__search button,.ww-home__filter.is-current){background:#245edb;border-color:#245edb}
.ww-home[data-theme="teal"] :is(.ww-home__section-kicker,.ww-home__story-category,.ww-home__collection-cta,.ww-home__period,.ww-home__all-topics){color:#087f78!important}
.ww-home[data-theme="blue"] :is(.ww-home__section-kicker,.ww-home__story-category,.ww-home__collection-cta,.ww-home__period,.ww-home__all-topics){color:#255fdf!important}
.ww-home[data-density="compact"] .ww-home__story-grid,.ww-home[data-density="compact"] .ww-home__collection-grid{gap:12px}
.ww-home[data-density="compact"] .ww-home__story-content{padding:15px}
.ww-home[data-density="compact"] .ww-home__collection{padding:18px}
.ww-home__intro--no-search{grid-template-columns:1fr}
@media(max-width:991.98px){.ww-home__feature-grid--no-spotlight .ww-home__side-stack{grid-template-columns:1fr}}
.ww-home__feature-grid--solo .ww-home__spotlight{min-height:380px}
.ww-home [hidden]{display:none!important}

/* v3: all-category collections, mixed blog/page content. */
.ww-home__collection-count{display:inline-flex;align-self:flex-start;font-size:11px;font-weight:780;border:1px solid #e3e6f8;border-radius:999px;padding:5px 10px;background:#f7f8ff;color:#6156a0;margin:0 0 11px}
.ww-home__item-type{font-size:9px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:#838eb1;display:block;margin-bottom:3px}
.ww-home__collection-links li{padding:9px 0 9px 14px}
.ww-home__collection-links li::before{top:18px}
.ww-home__collection-grid{align-items:stretch}
.ww-home__collection h3{margin-bottom:9px}
