/* TVIBIT HUB 0.4 — editorial / color-first visual identity.
   The underlying v0.3 layout and workflows remain intact; this file is the new visual layer.
   Palette is drawn from the user's real Tvibit logo, website and social artwork references.
*/
:root {
  --bg:#f7f7f5;
  --panel:#fff;
  --panel2:#f2f2ef;
  --line:#e7e7e4;
  --ink:#171719;
  --sub:#65656b;
  --muted:#8e8e92;
  --green:#ffcf33; /* legacy token, now sunny yellow; no green in the new identity */
  --green-soft:#ffb748;
  --warning:#f5b950;
  --danger:#fa6b66;
  --yellow:#fff24b;
  --pink:#fa3a95;
  --cyan:#00bddd;
  --purple:#7854ff;
  --coral:#ff7546;
  --edge:#e9e9e7;
  font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;
  background:var(--bg);color:var(--ink);
}
body{background:var(--bg)}
::selection{background:#ffb3dc;color:#131313}
button:focus-visible,input:focus-visible,select:focus-visible {outline:3px solid #ff47a1;outline-offset:3px}
a{color:#111}
.loading-screen{color:#23232a;background:#fff}
.brand-logo{display:block;width:145px;max-width:100%;height:auto;object-fit:contain}
.brand-word{display:flex;align-items:center}
.brand-word strong{font-weight:800}
.brand-word small{color:#777;letter-spacing:1.4px;font-size:8px;margin:0;white-space:nowrap}

/* Clean white workspace / black navigation */
.app-shell{background:var(--bg)}
.sidebar{background:#fff;border-right:1px solid var(--edge);padding:24px 14px 18px}
.sidebar-brand{padding:0 14px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:33px;color:#141414;border-bottom:1px solid #ededed}
.sidebar-brand .brand-logo{width:151px}
.sidebar-brand .brand-word small{color:#727279;letter-spacing:2px}
.nav-caption,.nav-caption.lower{color:#8a8a91;font-size:9px;letter-spacing:2.1px}
.nav-item{color:#515158;border-radius:10px;gap:13px;font-size:12.5px;font-weight:650;padding:12px 15px}
.nav-item svg{color:#55565b}
.nav-item:hover{color:#141416;background:#f3f3f2}
.nav-item.is-active{color:#fff;background:#171719}
.nav-item.is-active svg{color:#fff}
.count-mini{background:#ffcf33;color:#191919}
.side-note{background:#ffb7da;border-radius:16px;color:#211122;min-height:190px;isolation:isolate}
.side-note::before{content:'✳';font-size:150px;position:absolute;right:-28px;top:22px;color:#ff5aaf;transform:rotate(-20deg);z-index:-1;line-height:1}
.side-note>div:first-child{color:#1b1b1b;font-weight:800}
.side-note p{font-size:22px;line-height:1.18;font-weight:850;letter-spacing:-.9px;margin:21px 0 25px}
.side-note-steps span{border-color:#ffb7da;background:#ea73b4;color:#fff}
.side-note-steps span:last-child{background:#171719;color:#fff}
.user-pill{border-color:var(--edge);color:#191919}
.user-pill-copy small{color:#86868b}
.user-pill svg{color:#626267}
.initial,.header-initial{background:#ffda46;color:#191919}
.topbar{background:#fff;border-bottom:1px solid var(--edge)}
.breadcrumb{color:#8b8b90}
.breadcrumb span{color:#c2c2c5}
.breadcrumb strong{color:#242424}
.connected{color:#858585}
.connection-dot{background:#191919;box-shadow:none}
.connection-dot.offline{background:#e56855}
.icon-btn{color:#55565e}
.icon-btn:hover{color:#171717;background:#f4f4f4}
.icon-btn.has-dot::after{background:#fa3a95}
.content{max-width:1600px}
.footer{border-color:var(--edge);color:#8d8d93}

/* Buttons / typography / layout */
.eyebrow{color:#151517;letter-spacing:1.65px;font-weight:800}
.eyebrow.dim{color:#7f7f86}
.btn.primary{background:#171719;color:#fff}
.btn.primary:hover{background:#333338}
.btn.secondary{background:#f0f0ee;color:#171719}
.btn.secondary:hover{background:#e6e6e4}
.btn.tertiary{background:#efefef;color:#38383e}
.btn.tertiary:hover{background:#e1e1e0}
.btn.ghost{color:#1d1d20}
.btn.ghost:hover{background:#1c1c1c0b}
.link-action{color:#161616}
.link-action:hover{color:#ec2795}
.badge{background:#f0f0f0;color:#41414a}
.badge.positive{background:#daf8ee;color:#116956}
.badge.warm{background:#fff2c7;color:#806000}
.badge.muted{background:#efefef;color:#68686c}
.quiet{color:#7e7e85}
.under-note{background:#fff2ce;color:#69572c}
.under-note svg{color:#5e451e}
.section-title h2,.page-intro h1{color:#191919}
.section-title>span,.page-intro p{color:#77777c}

/* Hero: an energetic multi-color portal and the real, unmodified Tvibit mark */
.hero{background:#111012;min-height:396px;border-radius:17px;isolation:isolate;box-shadow:inset 0 0 0 1px #ffffff1c}
.hero::before{content:'';position:absolute;inset:0;pointer-events:none;background:
  radial-gradient(ellipse at 76% 49%,#ff4eab50 0%,transparent 35%),
  radial-gradient(ellipse at 94% 20%,#ffef8452 0%,transparent 30%),
  radial-gradient(ellipse at 58% 92%,#206eff45 0%,transparent 30%),
  linear-gradient(103deg,#191519 0%,#1a1322 53%,#16141a 100%)}
.hero-copy{width:58%;min-width:410px;position:relative;z-index:8;padding:57px clamp(29px,3.4vw,61px)}
.hero .eyebrow{color:#f5dbff}
.hero h1{color:#fff;font-weight:760;letter-spacing:-.067em;font-size:clamp(46px,4.15vw,69px)}
.hero h1 em{color:var(--yellow)}
.hero-copy>p{color:#e0dce2;max-width:355px}
.hero .btn.primary{color:#111;background:var(--yellow)}
.hero .btn.primary:hover{background:#fff}
.hero .btn.ghost{color:#fff}
.hero .btn.ghost:hover{background:#ffffff25}
.hero-illustration{inset:0 -2% 0 44%;overflow:hidden;opacity:1;z-index:2;pointer-events:none}
.hero-grid{background-image:linear-gradient(#ffffff19 1px,transparent 1px),linear-gradient(90deg,#ffffff19 1px,transparent 1px);background-size:66px 66px;opacity:.18;transform:perspective(550px) rotateX(63deg) rotateZ(-18deg) scale(1.4)}
.portal-glow{position:absolute;width:67%;height:115%;border-radius:50%;right:10%;top:-6%;background:conic-gradient(from 12deg,#ffed62,#ff5194,#ec4aff,#705dff,#36d8fd,#ffed62);filter:blur(78px);opacity:.62;animation:portalPulse 8s ease-in-out infinite alternate}
.portal-orb{position:absolute;top:-17%;right:10%;width:490px;height:490px;border-radius:50%;transform:rotate(-12deg);background:conic-gradient(from -30deg,#fff86f,#f847a5,#9d51ff,#547cff,#f63fbb,#ffdd55,#fff86f);box-shadow:0 0 15px #ff5db2,0 0 62px #ff42a466,0 0 110px #6593ff55,inset 8px 12px 20px #fff9;animation:portalTurn 24s linear infinite}
.portal-orb::before{content:'';position:absolute;inset:18px;border-radius:50%;background:radial-gradient(circle at 37% 36%,#e975fa69 0%,#35254c 44%,#130f20 76%);box-shadow:inset 20px 16px 40px #d146d0aa,inset -25px -35px 70px #141026}
.portal-orb::after{content:'';position:absolute;inset:31px;border-radius:50%;border:2px solid #ffffff7a;box-shadow:0 0 35px #fff8,0 0 60px #ff86b288,inset 0 0 28px #e679ff77}
.portal-orb-inner{position:absolute;z-index:2;inset:18% 17% 13%;border-radius:50%;background:radial-gradient(ellipse at 40% 30%,#8a3bc26b,#2a173f50 46%,#0c1025d8 73%);filter:blur(5px)}
.portal-orbit{position:absolute;z-index:3;width:95%;height:33%;left:0;top:38%;border:3px solid #fff3a6ab;border-radius:50%;transform:rotate(-25deg);box-shadow:0 0 20px #ffee8c89;opacity:.8}
.portal-orbit-b{border-color:#4edaffaa;transform:rotate(26deg);top:35%;left:13%;width:77%;height:47%;box-shadow:0 0 18px #48c6fc66}
.portal-orbit-c{border-color:#fb6ac083;transform:rotate(-7deg);top:49%;left:11%;height:22%;width:94%;box-shadow:0 0 17px #f44fad79}
.hero-wordmark{position:absolute;z-index:6;width:58%;height:auto;object-fit:contain;left:24%;top:30%;filter:drop-shadow(0 7px 17px #0b0b0baa)}
.portal-star{position:absolute;z-index:4;font-size:50px;color:#ffef71;text-shadow:0 0 22px #ffe77b95;animation:starBob 9s ease-in-out infinite alternate}
.portal-star-a{top:10%;right:8%}
.portal-star-b{bottom:13%;left:17%;color:#7be6ff}
.orbit-tag{color:#fff4ed;z-index:5}
.tag-one{left:21%;top:20%}.tag-two{right:13%;bottom:15%}.tag-three{right:7%;top:46%}
.hero-number{color:#fffaee;z-index:7}
@keyframes portalTurn{to{transform:rotate(348deg)}}
@keyframes portalPulse{to{opacity:.88;transform:scale(1.1)}}
@keyframes starBob{to{transform:translate(12px,-9px) rotate(18deg)}}

/* Six editorial module tiles: varied color, a black logo/typographic foundation. */
.module-grid{gap:13px}
.module-card{min-height:208px;border-radius:12px;color:#191919;transition:transform .2s,filter .2s;background:#ffe06b}
.module-card:hover{filter:brightness(.97);transform:translateY(-4px)}
.module-card::before{height:190px;width:190px;right:-75px;bottom:-77px;background:repeating-radial-gradient(circle,#ffffff60 0 7px,transparent 7px 22px);opacity:.75}
.module-card.m0{background:#ffdb48}
.module-card.m1{background:#8de2fb}
.module-card.m2{background:#ff9fd3}
.module-card.m3{background:#b6a4ff}
.module-card.m4{background:#ff9770}
.module-card.m5{background:#f8e4ef}
.module-icon,.m1 .module-icon,.m2 .module-icon,.m3 .module-icon,.m4 .module-icon,.m5 .module-icon{background:#151515;color:#fff;border-radius:12px}
.module-card-top,.module-card-top>svg:last-child{color:#1e1e1e}
.tiny-eyebrow{color:#252328aa;font-weight:760}
.module-card h3{font-size:27px;font-weight:810;color:#141414}
.module-card p{color:#222222c7;max-width:260px}

/* Responsive layout and reduced motion */
@media(max-width:1250px){
  .hero-illustration{inset:0 -13% 0 42%}
  .hero-wordmark{width:57%}
  .portal-orb{width:445px;height:445px}
  .sidebar-brand .brand-logo{width:130px}
  .culture-caption strong{font-size:14px}
}
@media(max-width:1010px){
  .hero-copy{width:70%;min-width:0}
  .hero-illustration{inset:0 -28% 0 39%;opacity:.75}
  .hero-wordmark{left:26%;top:31%;width:53%}
  .culture-grid{grid-template-columns:repeat(2,1fr)}
  .culture-card{aspect-ratio:1.2/1}
  .culture-heading{align-items:flex-start}
  .culture-label{white-space:normal;max-width:160px}
}
@media(max-width:790px){
  .sidebar{box-shadow:10px 0 70px #0002}
  .sidebar-brand .brand-logo{width:150px}
  .topbar{background:#fff}
  .auth-visual{min-height:340px}
  .auth-motif{inset:-35% -30% 10% 52%}
  .motif-orb{width:350px;left:0;top:10%}
  .auth-story{bottom:18px}
  .auth-story h1{font-size:47px}
  .auth-form-side{min-height:550px}
  .metric:last-child{grid-column:1/-1}
  .workflow>div:nth-child(-n+2){border-color:#efefef}
}
@media(max-width:550px){
  .content{padding:18px 14px}
  .hero{min-height:375px;border-radius:13px}
  .hero-copy{width:100%;padding:30px 22px;min-width:0}
  .hero-copy>p{max-width:250px;font-size:11px}
  .hero h1{font-size:44px}
  .hero-illustration{inset:0 -64% 0 4%;opacity:.35}
  .hero-wordmark{left:34%;top:34%;width:49%}
  .hero .eyebrow{font-size:8px}
  .portal-orb{width:370px;height:370px;right:0;top:-8%}
  .portal-star{font-size:30px}
  .metric-row{gap:8px}
  .metric{padding:14px 13px}
  .metric span{font-size:8px}
  .module-grid{gap:9px}
  .module-card{min-height:177px;padding:15px}
  .module-card h3{font-size:24px}
  .module-card p{font-size:10px}
  .culture-section{margin-top:40px}
  .culture-heading{display:block}
  .culture-heading h2{font-size:29px}
  .culture-label{display:block;margin-top:10px;text-align:left;max-width:none}
  .culture-grid{gap:8px}
  .culture-card{aspect-ratio:1/1.22}
  .culture-caption{padding:10px}
  .culture-caption strong{font-size:12px}
  .culture-caption svg{width:15px}
  .culture-tag{top:9px;left:8px;font-size:7px;padding:5px 6px}
  .spotlight-art{min-width:88px;width:88px;height:120px}
  .spotlight-art span{font-size:20px}
  .auth-visual{min-height:320px}
  .auth-topmark .brand-logo{width:152px}
  .auth-story h1{font-size:44px}
}
@media(prefers-reduced-motion:reduce){.portal-orb,.portal-glow,.portal-star{animation:none!important}}

/* =====================================================
   TVIBIT / LIVE — full-bleed Afterglow archive experience
   ===================================================== */
.app-shell.is-live .content{max-width:none;padding:20px clamp(12px,2vw,32px) 22px;}
.app-shell.is-live .footer{margin-top:24px;}
.live-page{min-width:0;}
.live-page-head{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:5px 2px 18px;}
.live-page-copy{min-width:0;}
.live-kicker{font-size:10px;letter-spacing:.2em;font-weight:750;color:#9a3291;margin-bottom:7px;}
.live-page-head h1{font-size:clamp(25px,3.1vw,43px);line-height:1.02;letter-spacing:-.055em;font-weight:800;margin:0 0 7px;color:#171719;}
.live-page-head h1 em{font-style:normal;color:#ea5294;}
.live-page-head p{margin:0;color:#64646a;font-size:12px;line-height:1.5;max-width:680px;}
.live-page-actions{display:flex;align-items:center;justify-content:flex-end;gap:11px;flex-wrap:wrap;padding-bottom:2px;}
.live-archive-counter{color:#77777c;text-transform:uppercase;font-size:9px;white-space:nowrap;letter-spacing:.12em;font-weight:700;}
.live-archive-counter i{font-style:normal;color:#fc67a6;padding:0 4px;}
.live-open{font-size:11px;text-decoration:none;font-weight:700;color:#171719;white-space:nowrap;padding:10px 4px;}
.live-open:hover{text-decoration:underline;}
.live-focus-toggle{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;border-radius:100px;background:#1b1b1d;color:#fff;font-size:12px;font-weight:750;white-space:nowrap;padding:11px 15px;transition:background .2s ease,transform .2s ease;}
.live-focus-toggle:hover{background:#d43e8b;transform:translateY(-1px);}
.live-focus-toggle:focus-visible{outline:3px solid #fa3a95;outline-offset:3px;}
.live-stage{height:clamp(600px,calc(100dvh - 254px),920px);border-radius:17px;overflow:hidden;background:#07070b;position:relative;box-shadow:0 15px 45px #10101718;}
.live-frame{width:100%;height:100%;border:0;display:block;background:#07070b;}
.live-page-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 4px 0;color:#77777d;font-size:10px;line-height:1.5;}
.live-page-foot a{text-decoration:underline;text-underline-offset:3px;color:#313139;}
/* Focus/immersive mode keeps all controls of the embedded archive, but hides Hub chrome. */
.app-shell.is-live.live-focus{height:100dvh;min-height:560px;overflow:hidden;background:#07070b;}
.app-shell.is-live.live-focus .sidebar,.app-shell.is-live.live-focus .topbar,.app-shell.is-live.live-focus .footer{display:none;}
.app-shell.is-live.live-focus .main-shell{height:100dvh;min-height:560px;overflow:hidden;}
.app-shell.is-live.live-focus .content{height:100%;min-height:0;padding:0;max-width:none;display:block;}
.app-shell.is-live.live-focus .page-content,.app-shell.is-live.live-focus .live-page{height:100%;}
.app-shell.is-live.live-focus .live-page-head{position:absolute;z-index:40;right:19px;top:82px;width:auto;padding:0;pointer-events:none;}
.app-shell.is-live.live-focus .live-page-copy,.app-shell.is-live.live-focus .live-archive-counter,.app-shell.is-live.live-focus .live-open,.app-shell.is-live.live-focus .live-page-foot{display:none;}
.app-shell.is-live.live-focus .live-page-actions{pointer-events:auto;}
.app-shell.is-live.live-focus .live-focus-toggle{background:#fff;color:#171719;box-shadow:0 8px 32px #0009;padding:10px 14px;}
.app-shell.is-live.live-focus .live-focus-toggle:hover{background:#ffbfdc;}
.app-shell.is-live.live-focus .live-stage{height:100dvh;min-height:560px;border-radius:0;box-shadow:none;}
@media(max-width:1000px){.live-page-head{align-items:start;flex-direction:column;gap:10px;}.live-page-actions{justify-content:flex-start;}.live-stage{height:clamp(600px,calc(100dvh - 260px),920px);}}
@media(max-width:600px){.app-shell.is-live .content{padding:10px 8px 14px;}.live-page-head{padding:8px 9px 13px;}.live-page-head h1{font-size:27px;}.live-page-head p{font-size:11px;}.live-archive-counter{font-size:8px;}.live-page-actions{gap:13px;}.live-focus-toggle{font-size:11px;padding:10px 12px;}.live-stage{height:clamp(600px,calc(100dvh - 250px),900px);border-radius:12px;}.live-page-foot{flex-direction:column;align-items:flex-start;gap:3px;font-size:9px;}.app-shell.is-live.live-focus .live-page-head{top:66px;right:12px;}}
@media(prefers-reduced-motion:reduce){.live-focus-toggle{transition:none;}}
/* Keep the archive truly edge-to-edge on narrow screens as well as desktops. */
@media(max-width:600px){
 .app-shell.is-live.live-focus .live-stage{height:100dvh !important;min-height:100dvh;border-radius:0 !important;}
 .app-shell.is-live.live-focus .live-frame{height:100dvh !important;min-height:100dvh;}
 .app-shell.is-live.live-focus .page-content{height:100dvh !important;}
}

/* Public discovery: live content, existing Tvibit services, no extra UI library. */
a:focus-visible{outline:3px solid #fa3a95;outline-offset:4px}
.public-site-link{display:inline-flex;align-items:center;gap:7px;color:#262629;text-decoration:none;font-size:11px;font-weight:700;white-space:nowrap}
.public-address{display:flex;align-items:center;gap:11px;border-top:1px solid #eee;padding:17px 9px 0;text-decoration:none;color:#34343a}
.public-address>span{flex:1}.public-address strong,.public-address small{display:block}.public-address strong{font-size:11px;font-weight:700}.public-address small{color:#818187;font-size:10px;margin-top:5px}
.public-shell .nav-caption{margin-top:3px}.public-shell .sidebar-brand{margin-bottom:25px}.public-shell .side-note{min-height:166px}.public-shell .side-note p{margin:17px 0 18px}
.public-quicklinks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e9e9e6;background:#fff;border-radius:12px;margin-top:14px;overflow:hidden}
.public-quicklinks>a,.public-quicklinks>button{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:66px;background:transparent;padding:16px 21px;text-decoration:none;color:#2b2b30;text-align:left;border-radius:0;border-right:1px solid #e9e9e6}
.public-quicklinks>:last-child{border-right:0}.public-quicklinks>a:hover,.public-quicklinks>button:hover{background:#fff9d3}.public-quicklinks span{display:flex;align-items:center;gap:11px;font-size:11px;font-weight:700}.public-quicklinks span svg{flex-shrink:0}
.public-section{margin-top:46px}.public-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px}.public-section-head h2{font-size:clamp(29px,2.8vw,40px);font-weight:800;letter-spacing:-1.5px;line-height:1.04;margin:11px 0 0}.public-section-head .link-action{display:inline-flex;gap:5px;align-items:center;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap;padding-bottom:2px}.section-note{font-size:11px;color:#86868a}
.feed-source{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;font-size:10px;color:#7d7d83}.feed-source a{display:inline-flex;align-items:center;gap:5px;text-decoration:none;color:#696970}.feed-source a:hover{color:#171719;text-decoration:underline}.feed-state{display:flex;align-items:center;gap:7px}.feed-state i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#55555e}.feed-state.live i{background:#16846d}.feed-state.stale i{background:#d48b17}.feed-state.unavailable i{background:#e06c64}.feed-state.loading i{background:#b5a5df}
.events-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.event-card{display:flex;flex-direction:column;overflow:hidden;background:#fff;border:1px solid #e9e9e6;border-radius:13px;color:#171719;text-decoration:none;transition:transform .2s ease,box-shadow .2s ease;min-width:0}.event-card:hover{transform:translateY(-4px);box-shadow:0 13px 35px #1717190d}.event-visual{position:relative;aspect-ratio:1.65;overflow:hidden;background:#ffdb48}.event-tone-1 .event-visual{background:#b6a4ff}.event-tone-2 .event-visual{background:#8de2fb}.event-tone-3 .event-visual{background:#ff9fd3}.event-visual img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.event-card:hover .event-visual img{transform:scale(1.04)}.event-visual::after{content:'';position:absolute;inset:0;background:linear-gradient(#00000015,transparent 30%,#0000002a);pointer-events:none}.event-date{position:absolute;top:12px;left:12px;z-index:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;background:#fff;color:#1b1b1d;width:50px;min-height:60px;padding:7px 5px;border-radius:6px;box-shadow:0 2px 12px #0000000a}.event-date strong{font-size:24px;font-weight:800;line-height:1.1;letter-spacing:-1px}.event-date span{text-transform:uppercase;font-size:9px;font-weight:700;letter-spacing:.7px}.event-category{position:absolute;z-index:1;bottom:11px;left:12px;color:#222;padding:6px 8px;font-size:8px;font-weight:750;letter-spacing:.5px;background:#fffffff2;border-radius:3px;max-width:calc(100% - 24px);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.event-placeholder{display:grid;place-items:center;width:100%;height:100%;color:#171719b0;background:repeating-radial-gradient(circle at 75% 35%,transparent 0 18px,#ffffff40 18px 24px,transparent 24px 43px)}.event-placeholder svg{transform:rotate(-14deg);margin-left:24px}
.event-copy{display:flex;flex-direction:column;flex:1;padding:19px 18px 17px}.event-time{font-size:9px;color:#74747a;letter-spacing:.2px}.event-copy h3{margin:11px 0 8px;font-size:19px;line-height:1.2;font-weight:780;letter-spacing:-.55px;text-wrap:pretty}.event-copy>p{font-size:11px;line-height:1.5;color:#85858b;margin:0 0 19px}.event-more{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;font-weight:720;color:#333339}.event-copy .event-more{padding-top:15px;border-top:1px solid #f0f0ee}
.public-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:40px 22px;background:#fff;border:1px dashed #dededc;border-radius:12px;color:#8a8a91;text-align:center;min-height:210px}.public-empty strong{font-size:17px;font-weight:700;color:#3c3c42;letter-spacing:-.3px}.public-empty p{font-size:12px;line-height:1.6;margin:0;color:#89898e;max-width:390px}.public-empty .btn{margin-top:3px;font-size:11px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.news-card{background:#fff;border:1px solid #e9e9e6;border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;text-decoration:none;transition:transform .2s}.news-card:hover{transform:translateY(-3px)}.news-image{aspect-ratio:1.8;background:#ffe06b;overflow:hidden}.news-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}.news-card:hover img{transform:scale(1.04)}.news-placeholder{display:grid;place-items:center;background:#f8e4ef}.news-copy{display:flex;flex-direction:column;flex:1;padding:21px 18px}.news-copy>.eyebrow{font-size:8px;letter-spacing:1px}.news-copy h3{font-size:19px;line-height:1.2;font-weight:760;letter-spacing:-.55px;margin:11px 0}.news-copy p{font-size:11px;color:#808087;line-height:1.7;margin:0 0 16px}.news-copy .event-more{padding-top:14px}
.public-visit{display:flex;align-items:center;justify-content:space-between;gap:22px;border-radius:14px;padding:35px;margin-top:46px;background:#ffdf61}.public-visit h2{font-size:32px;letter-spacing:-1.3px;line-height:1.08;margin:12px 0}.public-visit p{font-size:12px;color:#6b592e;margin:0}.public-visit>div:last-child{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.public-visit a{text-decoration:none}.public-visit .link-action{font-size:11px;font-weight:720;display:inline-flex;align-items:center;gap:6px}
.public-event-filters{display:flex;align-items:end;gap:11px;flex-wrap:wrap;padding:17px;background:#fff;border:1px solid #e9e9e6;border-radius:12px;margin:18px 0}.public-event-filters .search-box{flex:1;min-width:180px;height:43px;background:#f8f8f6;border-color:#ededea;border-radius:7px}.public-select{display:flex;flex-direction:column;gap:7px;color:#85858b;font-size:9px;font-weight:650;letter-spacing:.3px}.public-select select,.public-select input{font-family:inherit;font-size:11px;color:#34343b;background:#f8f8f6;border:1px solid #ededea;border-radius:7px;min-height:43px;padding:0 12px;color-scheme:light;max-width:200px}.public-event-filters .btn{height:43px;border-radius:7px;padding:10px 14px;font-size:11px}.public-results-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 17px;color:#8b8b91;font-size:10px}.public-results-head>span:first-child{color:#44444c;font-weight:650}
.public-module-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.public-module-link{display:flex;align-items:start;gap:20px;background:#fff;border:1px solid #e9e9e6;border-radius:14px;padding:27px;text-decoration:none;color:#191919;min-height:230px;position:relative;transition:transform .2s}.public-module-link:hover{transform:translateY(-3px)}.public-module-link>svg{position:absolute;right:23px;bottom:23px}.public-module-link h2{font-size:24px;line-height:1.14;font-weight:790;letter-spacing:-.9px;margin:14px 0 11px}.public-module-link p{color:#83838a;font-size:12px;line-height:1.6;max-width:220px}.public-module-symbol{flex-shrink:0;display:flex;align-items:center;flex-direction:column;gap:17px;padding:17px 13px;background:#ffdb48;border-radius:9px}.public-module-symbol span{font-size:8px;font-weight:800;letter-spacing:1px}.public-module-link.m1 .public-module-symbol{background:#8de2fb}.public-module-link.m2 .public-module-symbol{background:#ff9fd3}.public-module-link.m3 .public-module-symbol{background:#b6a4ff}.public-module-link.m5 .public-module-symbol{background:#f8e4ef}.public-module-link .eyebrow{font-size:8px;letter-spacing:1.4px}
.public-official-note{display:flex;align-items:center;gap:13px;color:#828289;padding:19px 2px;margin-top:12px;font-size:11px;line-height:1.7}.public-official-note>svg{flex-shrink:0;color:#6c6c73}.public-official-note p{margin:0;flex:1}.public-official-note .link-action{font-size:11px;text-decoration:none;display:inline-flex;align-items:center;gap:4px}.public-shell .footer a{color:inherit;text-underline-offset:3px}.public-shell .public-calendar .page-intro{margin-bottom:26px}
.is-refreshing svg{animation:publicRefresh 1.5s linear infinite}@keyframes publicRefresh{to{transform:rotate(360deg)}}
@media(max-width:1100px){.public-quicklinks>a,.public-quicklinks>button{padding:15px}.public-quicklinks span{font-size:10px;gap:8px}.public-module-link{padding:20px;gap:14px}.public-module-symbol{padding:14px 10px}.public-module-symbol svg{width:35px;height:35px}.public-module-link h2{font-size:22px}.event-copy{padding:16px 14px}.event-copy h3,.news-copy h3{font-size:17px}.news-copy{padding:18px 15px}}
@media(max-width:950px){.events-grid,.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.public-overview .events-grid>.event-card:last-child,.public-overview .news-grid>.news-card:last-child{display:none}.public-visit{padding:27px}.public-visit>div:last-child{gap:15px;flex-direction:column;align-items:start}.public-quicklinks{grid-template-columns:1fr}.public-quicklinks>a,.public-quicklinks>button{border-right:0;border-bottom:1px solid #eee;min-height:49px}.public-quicklinks>:last-child{border-bottom:0}.public-quicklinks span{font-size:11px}.public-module-links{grid-template-columns:1fr}.public-module-link{min-height:190px}}
@media(max-width:790px){.public-shell .sidebar{z-index:15}.public-shell .sidebar-brand{margin-bottom:16px}.public-shell .sidebar .side-note{min-height:145px}.public-shell .nav-item{padding:10px 15px}.public-section{margin-top:35px}.public-module-links{grid-template-columns:repeat(2,minmax(0,1fr))}.public-module-link{padding:22px;flex-direction:column;min-height:270px}.public-module-symbol{flex-direction:row;gap:15px;padding:12px 15px}.public-module-link p{margin-bottom:28px}.public-calendar .page-intro h1{font-size:42px;letter-spacing:-2px}.public-calendar .page-intro-aside{margin-top:18px}}
@media(max-width:550px){.public-shell .top-actions{gap:12px}.public-site-link{font-size:10px}.public-site-link svg{width:12px}.public-shell .hero{min-height:360px}.public-section-head{gap:12px}.public-section-head h2{font-size:29px;letter-spacing:-1.2px}.public-section-head .link-action{font-size:10px}.public-section-head .eyebrow{font-size:8px;letter-spacing:1.2px}.feed-source{font-size:8px;gap:9px}.feed-source a{font-size:8px}.feed-source a svg{width:10px}.events-grid,.news-grid{gap:9px}.event-visual{aspect-ratio:1.25}.event-date{top:8px;left:8px;width:40px;min-height:48px;padding:5px}.event-date strong{font-size:20px}.event-date span{font-size:8px}.event-category{bottom:8px;left:8px;max-width:calc(100% - 16px);font-size:7px;padding:5px 6px}.event-copy{padding:13px 11px}.event-time{font-size:8px;line-height:1.5}.event-copy h3{font-size:15px;letter-spacing:-.35px;margin-top:8px}.event-copy>p{font-size:9px;margin-bottom:12px}.event-more{font-size:9px}.event-more svg{width:14px;height:14px}.event-copy .event-more{padding-top:11px}.news-image{aspect-ratio:1.3}.news-copy{padding:15px 11px}.news-copy h3{font-size:16px}.news-copy>.eyebrow{font-size:7px;line-height:1.5;letter-spacing:.4px}.news-copy p{font-size:10px;line-height:1.6}.news-copy .event-more{font-size:8px}.public-visit{padding:25px;display:block}.public-visit h2{font-size:30px}.public-visit>div:last-child{flex-direction:row;align-items:center;margin-top:22px}.public-visit .btn{font-size:10px}.public-visit .link-action{font-size:10px}.public-event-filters{padding:12px;gap:10px}.public-event-filters .search-box{flex-basis:100%}.public-select{flex:1;min-width:100px}.public-select select,.public-select input{width:100%;min-width:0;max-width:none;font-size:10px;padding:0 8px}.public-event-filters .btn{align-self:end;font-size:10px;padding:10px}.public-results-head{font-size:9px}.public-module-links{grid-template-columns:1fr}.public-module-link{flex-direction:row;gap:18px;min-height:210px;padding:24px 20px}.public-module-symbol{flex-direction:column;gap:12px;padding:14px 11px}.public-module-symbol svg{width:31px;height:31px}.public-module-link h2{font-size:22px;margin-top:11px}.public-module-link p{font-size:11px;margin-bottom:20px}.public-official-note{align-items:flex-start;flex-wrap:wrap;font-size:10px;gap:9px}.public-official-note>p{min-width:180px}.public-official-note .link-action{font-size:10px}.public-empty{padding:30px 18px}.public-empty strong{font-size:16px}.public-empty p{font-size:11px}.public-calendar .page-intro h1{font-size:38px}.public-shell .breadcrumb{font-size:8px}.public-shell .topbar{padding:0 14px}}
@media(max-width:350px){.events-grid,.news-grid{grid-template-columns:1fr}.public-overview .events-grid>.event-card:last-child,.public-overview .news-grid>.news-card:last-child{display:flex}.event-visual{aspect-ratio:1.6}.public-site-link{display:none}.public-section-head h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){.event-card,.event-visual img,.news-card,.news-image img,.public-module-link{transition:none}.is-refreshing svg{animation:none}}
/* Project collection: linked evidence and explicit programme/completion status. */
.project-context{display:grid;grid-template-columns:1.2fr 1fr;gap:34px;margin:8px 0 26px;padding:25px 27px;background:#fff;border:1px solid #e9e9e6;border-radius:12px}.project-context>div:first-child p{font-size:13px;line-height:1.7;color:#717178;margin:12px 0 0;max-width:580px}.project-context .eyebrow{font-size:8px;letter-spacing:1.2px}.project-context-note{display:flex;align-items:start;gap:10px;border-left:1px solid #ececea;padding-left:26px;color:#8c8c93}.project-context-note svg{flex-shrink:0;margin-top:2px}.project-context-note p{font-size:11px;line-height:1.7;margin:0}
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.project-card{background:#fff;border:1px solid #e9e9e6;border-radius:13px;display:flex;flex-direction:column;overflow:hidden;text-decoration:none;transition:transform .2s,box-shadow .2s;min-width:0}.project-card:hover{transform:translateY(-3px);box-shadow:0 13px 35px #1717190d}.project-card-top{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;background:#ffdb48;color:#222228}.project-tone-1 .project-card-top{background:#b6a4ff}.project-tone-2 .project-card-top{background:#8de2fb}.project-tone-3 .project-card-top{background:#ff9fd3}.project-area{font-size:9px;letter-spacing:1.4px;font-weight:800;text-transform:uppercase}.project-card-body{display:flex;flex:1;flex-direction:column;padding:23px 21px 19px}.project-status{display:inline-flex;align-self:start;align-items:center;background:#f3f3ef;color:#707078;border-radius:4px;padding:5px 7px;font-size:8px;letter-spacing:.2px;font-weight:650}.project-status.completed{background:#def3e8;color:#276a4c}.project-card h2{font-size:24px;line-height:1.14;letter-spacing:-.8px;color:#18181d;margin:15px 0 9px;font-weight:780}.project-years{font-size:10px;color:#8b8b92;line-height:1.5}.project-card-body p{font-size:12px;line-height:1.7;color:#7f7f86;margin:14px 0 0}.project-card>.event-more{margin:0 21px 20px;padding-top:15px;border-top:1px solid #eeeee9}
@media(max-width:1100px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-context{gap:22px;padding:22px}.project-context-note{padding-left:20px}.project-card h2{font-size:22px}}
@media(max-width:790px){.project-context{grid-template-columns:1fr;gap:17px}.project-context-note{padding:15px 0 0;border-left:0;border-top:1px solid #ececea}.public-projects .page-intro-aside{margin-top:18px}}
@media(max-width:550px){.project-grid{grid-template-columns:1fr;gap:13px}.project-card-top{padding:15px 20px}.project-card-body{padding:20px}.project-card h2{font-size:25px;margin-top:14px}.project-card-body p{font-size:12px}.project-context{padding:21px;gap:16px}.project-context>div:first-child p{font-size:12px}.project-context-note p{font-size:10px}.public-projects .page-intro h1{font-size:40px;letter-spacing:-1.8px}.public-projects .page-intro p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}}
