:root { color-scheme: dark; --text:#f7eee4; --muted:#d1bfb2; --amber:#f3c390; --edge:#70402d; }
* { box-sizing:border-box; }
html { min-height:100%; background:#240d08; }
body { margin:0; min-height:100vh; color:var(--text); font-family:Segoe UI,Arial,sans-serif; background:radial-gradient(ellipse at 50% 0,#70321b 0,transparent 60%),linear-gradient(140deg,#200e0a,#3b160e 58%,#170a08); }
.shell { max-width:1030px; margin:0 auto; padding:20px 25px 14px; }
.heading { display:flex; justify-content:space-between; align-items:center; gap:18px; text-align:left; margin-bottom:12px; }
.heading-copy { min-width:0; }
.header-links { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
.header-links-label { color:var(--amber); font-size:11px; font-weight:700; letter-spacing:1.6px; }
.header-link-buttons { display:flex; flex-wrap:wrap; gap:10px; }
.header-links a { min-height:44px; justify-content:center; }
.contact-envelope { width:18px; height:18px; flex-shrink:0; }
.eyebrow { color:#e6bb96; font-size:10px; font-weight:700; letter-spacing:3px; }
h1 { margin:3px 0; font-size:clamp(28px,4vw,43px); font-weight:300; letter-spacing:.3px; }
.heading p { margin:5px 0 0; color:#f0cfae; font-size:clamp(15px,2vw,20px); font-style:italic; }
.content { display:grid; grid-template-columns:minmax(185px, .72fr) minmax(310px,1.55fr); gap:18px; align-items:stretch; }
.identity { border:1px solid #75452e; background:linear-gradient(155deg,rgba(121,60,31,.42),rgba(30,11,9,.65)); border-radius:15px; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:14px; text-align:center; min-width:0; }
.logo { display:block; width:min(100%,230px); height:auto; aspect-ratio:1; object-fit:contain; border-radius:8px; }
.identity-caption { color:#e3c6b2; font-size:12px; margin-top:14px; }
.grid-address { margin-top:7px; font-size:13px; color:var(--amber); letter-spacing:.5px; }
.feature { border:1px solid #75452e; border-radius:15px; background:#2c120c; overflow:hidden; min-width:0; }
.feature-top,.slide-bottom { height:34px; display:flex; align-items:center; justify-content:space-between; padding:0 12px; }
.feature-label,.feature-count { font-size:10px; letter-spacing:1.6px; color:#deb79c; font-weight:700; }
.slide-stage { position:relative; aspect-ratio:16/8.3; min-height:220px; background:#36180d; overflow:hidden; }
.slide-stage img { width:100%; height:100%; position:absolute; inset:0; display:block; object-fit:cover; transition:opacity .32s ease; }
.slide-stage img.fading { opacity:.13; }
.gradient { position:absolute; inset:0; background:linear-gradient(180deg,transparent 18%,rgba(19,6,3,.88)); pointer-events:none; }
.slide-copy { position:absolute; left:20px; right:18px; bottom:18px; text-shadow:0 1px 12px #130907; }
.slide-kicker { font-size:10px; color:#f6ca95; font-weight:700; letter-spacing:2px; }
.slide-copy h2 { font-size:clamp(18px,2.7vw,28px); font-weight:500; margin:5px 0; }
.slide-copy p { font-size:12px; line-height:1.45; margin:0; color:#fff1e6; }
.dots { display:flex; gap:7px; align-items:center; }
.dot { border:0; background:#80503b; width:7px; height:7px; border-radius:50%; cursor:pointer; padding:0; }
.dot.active { background:var(--amber); width:19px; border-radius:5px; }
.slide-controls { display:flex; gap:8px; }
.arrow { border:1px solid #85513b; border-radius:7px; background:#4a2419; color:white; cursor:pointer; width:25px; height:23px; line-height:15px; font-size:20px; }
.arrow:hover,.arrow:focus-visible { background:#74422f; }
.links { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:10px; margin-top:15px; }
.links a,.header-links a { display:flex; justify-content:space-between; gap:6px; align-items:center; border:1px solid #80503b; color:#fce8d6; background:#4a2519; border-radius:9px; padding:11px 13px; font-size:12px; text-decoration:none; }
.links a:hover,.links a:focus-visible,.header-links a:hover,.header-links a:focus-visible { background:#683721; border-color:#e9ba8e; }
.links span { color:#f3c390; }
@media(max-width:660px){ .heading{flex-direction:column;align-items:flex-start;} .header-links{align-items:flex-start;width:100%;} .shell{padding:14px;} .content{grid-template-columns:1fr;} .identity{padding:10px;flex-direction:row;gap:14px;justify-content:flex-start;text-align:left;} .logo{width:108px;} .identity-caption{margin-top:0;} .grid-address{margin-top:5px;} .links{grid-template-columns:repeat(2,minmax(0,1fr));} .slide-stage{min-height:180px;} }
@media(prefers-reduced-motion:reduce){ .slide-stage img{transition:none;} }

.links .disabled-link { display:flex; justify-content:space-between; gap:5px; align-items:center; padding:11px 13px; border:1px solid #56392f; border-radius:9px; background:#332019; color:#b09c92; font-size:12px; cursor:default; }
.links .disabled-link small { font-size:8px; letter-spacing:.4px; white-space:nowrap; }

/* Match existing Littlefield Grid copper/amber theme. */
.grid-stats { margin-top:15px; padding:15px; background:linear-gradient(155deg,#38180f,#26100c); border:1px solid #80503b; border-radius:15px; }
.grid-stats-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.grid-stats-head h2 { margin:0; font-size:11px; letter-spacing:1.6px; color:#f3c390; }
.grid-stats-status { padding:6px 10px; font-size:10px; border-radius:20px; color:#edc6aa; background:#543323; border:1px solid #80503b; font-weight:700; }
.grid-stats-status.healthy { background:#214230; color:#a8f5be; border-color:#446f51; }
.grid-stats-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.grid-stats-card { min-width:0; min-height:80px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; background:#49271b; border:1px solid #70402d; border-radius:9px; padding:12px 7px; }
.grid-stats-card strong { color:#fff1e6; font-size:clamp(17px,2.5vw,25px); font-weight:600; font-variant-numeric:tabular-nums; }
.grid-stats-card span { margin-top:6px; color:#d1bfb2; font-size:11px; }
.grid-stats-foot { display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; margin-top:12px; color:#bba192; font-size:10px; }
@media(max-width:660px){ .grid-stats-cards{grid-template-columns:repeat(2,minmax(0,1fr));} }

/* Compact news is isolated from slideshow and statistics styles. */
.news-box[hidden]{display:none}
.news-box{display:flex;flex-direction:column;flex:0 1 420px;width:420px;min-width:0;max-width:100%;height:100px;min-height:100px;max-height:100px;overflow:hidden;border:1px solid #80503b;border-radius:10px;background:#38180f;padding:5px 12px}
.news-box h2{display:flex;align-items:center;gap:7px;margin:0 0 7px;color:#f3c390;font-size:12px;letter-spacing:1.6px}
.news-head{display:flex;align-items:center;justify-content:space-between;gap:10px;height:24px;flex:0 0 24px;margin-bottom:2px}
.news-head h2{margin:0}
.news-head button{min-width:48px;min-height:24px;padding:2px 6px;border:1px solid #80503b;border-radius:5px;background:transparent;color:#f3c390;font:inherit;font-size:11px;cursor:pointer}
.news-head button:hover{background:#4a2519}
.news-box svg{width:19px;height:19px;flex:none}
.news-viewport{flex:1;min-height:0;overflow:hidden;overflow-wrap:anywhere;font-size:12px;line-height:1.45}
#news-item{display:flow-root;will-change:transform}
#news-title{display:block;line-height:16px}
.news-box p{white-space:pre-wrap;margin:3px 0 0;color:#e3c6b2;font-size:12px;font-style:normal;line-height:1.45}
.news-footer{flex:0 0 24px;height:24px;margin-top:0;font-size:11px}
.news-footer a{display:inline-flex;align-items:center;min-height:24px;color:#f3c390}
.news-footer a[hidden]{display:none}
.news-viewport:focus-visible,.news-head button:focus-visible,.news-footer a:focus-visible{outline:2px solid #f3c390;outline-offset:2px}
.news-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:661px){.heading{display:grid;grid-template-columns:minmax(250px,1fr) minmax(160px,420px) auto;gap:12px}.news-box{width:100%}}
@media(max-width:660px){.heading-copy{flex:0 1 auto}.news-box{flex:0 0 auto;width:100%}}

/* Fit the viewer splash through real sizing, while leaving mobile flow intact. */
@media(min-width:661px) and (max-height:760px){
 .shell{padding:10px 20px}
 .heading{margin-bottom:8px}
 .header-link-buttons{gap:6px}
 .content{gap:12px}
 .identity{padding:8px}
 .logo{width:min(100%,120px)}
 .identity-caption{margin-top:6px}
 .slide-stage{aspect-ratio:auto;min-height:120px;height:clamp(120px,calc(100vh - 470px),250px)}
 .feature-top,.slide-bottom{height:28px}
 .slide-copy{bottom:10px}
 .links{margin-top:8px;gap:8px}
 .grid-stats{margin-top:8px;padding:10px}
 .grid-stats-head{margin-bottom:6px}
 .grid-stats-cards{gap:6px}
 .grid-stats-card{min-height:48px;padding:5px 7px}
 .grid-stats-card span{margin-top:3px}
 .grid-stats-foot{margin-top:6px}
}
@media(max-width:660px){.identity{flex-wrap:wrap}}
