/* Shoal TV - brand: Sora, navy #222251, blue #4368f9 / #1863dc (from shoal-safetyinnumbers.com) */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 100 800; font-display: swap;
  src: url(../assets/fonts/sora-latin.woff2) format('woff2'); }
:root {
  --navy-900: #0f0f31; --navy-800: #161640; --navy: #222251; --navy-600: #2c2c66;
  --blue: #4368f9; --blue-2: #1863dc; --sky: #8fb2ff; --white: #fff; --mute: #b4bbe0;
  --red: #e0302a; --hivis: #d8f03a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: min(calc(100vw / 96), calc(100vh / 54)); background: var(--navy-900); }
body { font-family: 'Sora', 'Segoe UI', Arial, sans-serif; color: var(--white); overflow: hidden; width: 100vw; height: 100vh; }
#tv { width: 100vw; height: 100vh; display: grid; grid-template-rows: 5.4rem .3rem 1fr 3.9rem;
  background: radial-gradient(120% 90% at 15% 0%, #2e2e7a 0%, var(--navy) 38%, var(--navy-900) 100%); }

/* top bar */
#topbar { display: flex; align-items: center; justify-content: space-between; padding: 0 2.4rem; gap: 2rem; }
#logo { height: 4.5rem; width: auto; display: block; }
#section-label { display: flex; align-items: center; gap: .8rem; font-weight: 800; font-size: 1.7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sky); white-space: nowrap; }
#section-dot { width: 1rem; height: 1rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(224,48,42,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .8rem rgba(224,48,42,0); } 100% { box-shadow: 0 0 0 0 rgba(224,48,42,0); } }
#top-right { display: flex; align-items: center; gap: 2.6rem; }
#weather { display: flex; align-items: center; gap: .7rem; font-size: 1.7rem; color: var(--mute); white-space: nowrap; }
#wx-icon { font-size: 2.2rem; }
#wx-temp { font-weight: 800; color: var(--white); font-size: 2.2rem; }
#clock { text-align: right; line-height: 1.05; }
#clock-time { font-size: 3.2rem; font-weight: 800; letter-spacing: .02em; }
#clock-date { font-size: 1.15rem; color: var(--mute); margin-top: .15rem; }

#progress { background: rgba(255,255,255,.12); margin: 0 2.4rem; border-radius: .2rem; overflow: hidden; }
#progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-2), var(--blue), var(--sky)); }

/* ticker */
#ticker { display: flex; align-items: stretch; background: var(--navy-900); border-top: .22rem solid var(--blue); overflow: hidden; }
#ticker-label { background: var(--blue); color: #fff; font-weight: 800; letter-spacing: .12em; font-size: 1.5rem; display: flex; align-items: center; padding: 0 2rem; white-space: nowrap; z-index: 2; }
#ticker-viewport { flex: 1; overflow: hidden; position: relative; display: flex; align-items: center; }
#ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; font-size: 1.7rem; font-weight: 400; }
.tk { padding: 0 1.6rem; display: inline-flex; align-items: center; gap: .9rem; }
.tk b { font-weight: 600; }
.tk i { font-style: normal; color: var(--sky); font-size: 1.25rem; }
.tk::after { content: ''; width: .7rem; height: .7rem; background: var(--blue); border-radius: 50%; margin-left: 1.6rem; flex: none; }

/* stage + slides */
#stage { position: relative; overflow: hidden; }
.slide { position: absolute; inset: 0; padding: 1.5rem 2.4rem 1.3rem; opacity: 0; visibility: hidden; transition: opacity .7s ease, transform .7s ease; transform: translateY(.8rem); display: flex; flex-direction: column; min-height: 0; }
.slide.active { opacity: 1; visibility: visible; transform: none; }
.hd { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.1rem; flex: none; }
.tag { background: var(--red); color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: .14em; text-transform: uppercase; padding: .45rem 1.2rem; border-radius: .3rem; white-space: nowrap; }
.tag.blue { background: var(--blue); }
.tag.hivis { background: var(--hivis); color: #12123a; }
.hd h2 { font-size: 3.6rem; font-weight: 800; line-height: 1.1; }
.hd h2 em { font-style: normal; color: var(--sky); }
.hd .hd-sub { margin-left: auto; font-size: 1.7rem; color: var(--sky); text-align: right; max-width: 45%; }
.body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.src { flex: none; font-size: 1.15rem; color: var(--mute); padding-top: .7rem; }
.card { background: rgba(255,255,255,.07); border: .1rem solid rgba(255,255,255,.1); border-radius: 1.2rem; }

/* split story + welcome */
.split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.4rem; }
.split .txt { display: flex; flex-direction: column; justify-content: center; min-height: 0; gap: 1.3rem; }
.split .photo { border-radius: 1.4rem; overflow: hidden; position: relative; background: var(--navy-800); box-shadow: 0 1rem 3rem rgba(0,0,0,.4); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .chip { position: absolute; left: 1.2rem; bottom: 1.2rem; background: rgba(15,15,49,.85); padding: .5rem 1.1rem; border-radius: .4rem; font-size: 1.4rem; font-weight: 600; }
.headline { font-weight: 800; line-height: 1.1; font-size: 4.6rem; }
.headline.fit { max-height: 15.5rem; overflow: hidden; }
.dek { font-size: 2.2rem; color: var(--sky); line-height: 1.3; font-weight: 600; }
.points { list-style: none; display: flex; flex-direction: column; gap: .95rem; }
.points li { font-size: 2.05rem; line-height: 1.28; padding-left: 2.2rem; position: relative; }
.points li::before { content: ''; position: absolute; left: 0; top: .72rem; width: .9rem; height: .9rem; background: var(--blue); border-radius: .15rem; transform: rotate(45deg); }
.meta { font-size: 1.5rem; color: var(--mute); display: flex; gap: 1.2rem; align-items: center; }
.meta b { color: var(--white); }

/* headlines list */
.hl { display: flex; flex-direction: column; gap: .85rem; flex: 1; min-height: 0; }
.hl .row { display: flex; align-items: center; gap: 1.6rem; padding: .95rem 1.5rem; border-radius: 1rem; background: rgba(255,255,255,.07); flex: 1; min-height: 0; overflow: hidden; }
.hl .row.lead { background: linear-gradient(90deg, var(--blue-2), #2b4fc8); flex: 1.5; }
.hl .row .d { font-size: 1.4rem; color: var(--sky); min-width: 11rem; font-weight: 600; }
.hl .row.lead .d { color: #dbe6ff; }
.hl .row .t { font-size: 2.1rem; font-weight: 600; line-height: 1.2; }
.hl .row.lead .t { font-size: 2.9rem; font-weight: 800; }
.hl .row .x { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.45rem; font-weight: 400; color: var(--mute); margin-top: .2rem; }
.hl .row.lead .x { color: #dbe6ff; }

/* grids */
.grid { display: grid; gap: 1.1rem; flex: 1; min-height: 0; grid-auto-rows: minmax(0, 1fr); }
.svc { grid-template-columns: repeat(3, 1fr); }
.svc .it { display: flex; align-items: center; padding: .6rem 1.4rem; font-size: 2.3rem; font-weight: 600; line-height: 1.18; gap: 1rem; background: linear-gradient(135deg, rgba(67,104,249,.35), rgba(24,99,220,.12)); }
.svc .it .n { font-size: 1.5rem; font-weight: 800; color: var(--sky); flex: none; }
.big4 { grid-template-columns: repeat(4, 1fr); }
.big3 { grid-template-columns: repeat(3, 1fr); }
.stat { padding: 1rem 1.2rem; overflow: hidden; display: flex; flex-direction: column; justify-content: center; text-align: center; gap: .6rem; }
.stat .n { font-size: 6.2rem; font-weight: 800; line-height: 1; color: var(--white); }
.stat .n.sm { font-size: 3.9rem; white-space: nowrap; }
.stat .l { font-size: 2rem; line-height: 1.25; color: var(--sky); font-weight: 600; }
.stat.red .n { color: #ff7d78; }
.banner { flex: none; margin-top: 1.1rem; padding: 1.1rem 1.8rem; font-size: 2.1rem; font-weight: 600; text-align: center; background: var(--blue); border-radius: 1rem; }
.projects { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); }
.proj { position: relative; overflow: hidden; border-radius: 1.2rem; background: var(--navy-800); min-height: 0; }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1.3rem 1rem; background: linear-gradient(0deg, rgba(15,15,49,.96) 55%, rgba(15,15,49,0)); }
.proj .cap b { display: block; font-size: 2rem; line-height: 1.15; font-weight: 800; }
.proj .cap span { font-size: 1.4rem; color: var(--sky); line-height: 1.25; display: block; margin-top: .2rem; }

/* quotes */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; flex: 1; min-height: 0; }
.quote { padding: 2.2rem 2.4rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
.quote::before { content: '\201C'; position: absolute; top: -.2rem; left: 1.4rem; font-size: 9rem; color: var(--blue); line-height: 1; font-weight: 800; }
.quote .q { font-size: 2.35rem; line-height: 1.32; font-weight: 600; margin-top: 3rem; }
.quote .by { margin-top: 1.4rem; font-size: 1.9rem; }
.quote .by b { display: block; font-weight: 800; }
.quote .by span { color: var(--sky); }

/* values */
.values { display: flex; flex-direction: column; gap: .9rem; flex: 1; min-height: 0; }
.val { flex: 1; min-height: 0; padding: .6rem 1.8rem; display: grid; grid-template-columns: 19.5rem 1fr; align-items: center; gap: 1.6rem; border-left: .6rem solid var(--blue); }
.val .w { font-size: 3.2rem; font-weight: 800; }
.val .t { font-size: 2.2rem; line-height: 1.28; color: #e4e8ff; }

/* memberships */
.mem { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, 1fr); }
.mem .it { padding: 1.3rem 1.6rem; display: flex; flex-direction: column; justify-content: center; gap: .6rem; }
.mem .it b { font-size: 2.3rem; font-weight: 800; }
.mem .it span { font-size: 1.55rem; line-height: 1.28; color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.1rem; flex: none; }
.chip2 { padding: .55rem 1.3rem; border-radius: 99rem; background: rgba(67,104,249,.3); border: .1rem solid var(--blue); font-size: 1.8rem; font-weight: 600; }
.chips .lbl { font-size: 1.6rem; color: var(--mute); margin-right: .6rem; }

/* clients */
.logos { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(0, 1fr); }
.logos .lg { background: #fff; border-radius: 1.1rem; display: flex; align-items: center; justify-content: center; padding: 1.4rem 2rem; min-height: 0; }
.logos .lg img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* energy projects */
.ep { grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, 1fr); gap: .8rem 1rem; }
.ep .it { padding: .3rem 1.1rem; display: flex; flex-direction: column; justify-content: center; border-left: .4rem solid var(--blue); background: rgba(255,255,255,.06); border-radius: .4rem; }
.ep .it b { font-size: 1.8rem; font-weight: 800; line-height: 1.15; }
.ep .it span { font-size: 1.3rem; color: var(--sky); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.step { padding: 1.3rem 1.5rem; }
.step .s { font-size: 1.3rem; font-weight: 800; color: var(--sky); letter-spacing: .12em; text-transform: uppercase; }
.step b { display: block; font-size: 2.3rem; font-weight: 800; margin: .2rem 0 .3rem; }
.step span { font-size: 1.6rem; line-height: 1.3; color: #e4e8ff; }

/* mission / vision */
.mission { font-size: 4rem; font-weight: 800; line-height: 1.2; }
.mission em { font-style: normal; color: var(--sky); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.pillar { padding: 1rem 1.3rem; display: flex; gap: 1rem; align-items: center; font-size: 1.9rem; font-weight: 600; }
.pillar i { font-style: normal; color: var(--sky); font-weight: 800; font-size: 1.6rem; }

/* contact */
.ct { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.2rem; flex: 1; min-height: 0; }
.ct .big { font-size: 5.4rem; font-weight: 800; line-height: 1; white-space: nowrap; }
.ct .mid { font-size: 2.4rem; font-weight: 600; color: var(--sky); word-break: break-all; }
.ct .addr { font-size: 2rem; line-height: 1.35; }
.ct .addr b { font-weight: 800; }
.ct .col { display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.ct .box { padding: 1.4rem 2rem; justify-content: center; display: flex; flex-direction: column; gap: .9rem; min-height: 0; }
.pill { display: inline-block; align-self: flex-start; background: var(--blue); padding: .7rem 1.6rem; border-radius: 99rem; font-size: 2rem; font-weight: 700; }
.logo-big { height: 5.2rem; width: auto; align-self: flex-start; }

.fit { overflow: hidden; }
