:root {
  --navy: #345882;
  --blue: #0075BA;
  --light-blue: #5678A5;
  --gold: #FFA300;
  --orange: #FE5000;
  --ink: #191919;
  --off-white: #FAF9F7;
  --white: #FFFFFF;
  --coffee: #4A2E23;
  --oat: #EBDDC8;
  --green: #58B66A;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; }
body {
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* Concept chooser */
.chooser-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px;
  background: var(--off-white);
}
.chooser { width: min(1050px, 100%); }
.chooser-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
}
.chooser h1 {
  margin: 0;
  font-size: clamp(14px, 1vw, 20px);
  letter-spacing: -.055em;
}
.chooser-intro {
  margin: 18px 0 44px;
  color: #66717B;
  font-size: 20px;
}
.concept-list { display: grid; gap: 12px; }
.concept-list a {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  padding-top: 8px;
  gap: 22px;
  padding: 25px 28px;
  border: 1px solid rgba(52, 88, 130, .12);
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0 15px 38px rgba(52, 88, 130, .07);
  text-decoration: none;
}
.concept-list a:focus-visible {
  outline: 4px solid rgba(0, 117, 186, .3);
  outline-offset: 3px;
}
.concept-number { color: var(--orange); font-size: 12px; font-weight: 800; }
.concept-list strong { display: block; font-size: 25px; }
.concept-list small { display: block; margin-top: 5px; color: #6E7780; font-size: 15px; }
.concept-list b { color: var(--blue); font-size: 13px; letter-spacing: .04em; }
.chooser-note { margin: 26px 0 0; color: #70777D; font-size: 14px; }
kbd {
  padding: 3px 7px;
  border: 1px solid #C7CDD2;
  border-radius: 5px;
  background: #FFF;
  box-shadow: 0 2px 0 #D7DCE0;
  font-family: inherit;
  font-weight: 800;
}

/* Shared signage shell and brand placeholders */
.signage-page {
  overflow: hidden;
  background: var(--off-white);
}
.screen {
  width: 100vw;
  height: 100vh;
  min-width: 960px;
  min-height: 560px;
  overflow: hidden;
}
.java-wordmark {
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 13px;
  width: max-content;
  text-decoration: none;
}
.java-wordmark > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-style: normal;
  font-size: 22px;
}
.java-wordmark span { font-size: 22px; font-weight: 900; letter-spacing: .06em; }
.java-wordmark b { color: var(--orange); }
.java-wordmark.light > i { background: var(--off-white); }
.java-wordmark.light span { color: var(--white); }
.think-logo { width: clamp(240px, 19vw, 360px); max-height: 84px; object-fit: contain; }
[data-bind="message"] { transition: opacity .42s ease, transform .42s ease; }
[data-bind="message"].is-changing { opacity: 0; transform: translateY(5px); }
[data-status-dot] {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(88, 182, 106, .14);
}
[data-status-dot].is-offline {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(254, 80, 0, .13);
}

/* Concept 01 — quiet, minimal and centred */
.minimal-screen {
  display: grid;
  grid-template-rows:
    clamp(86px, 11.5vh, 124px)
    minmax(230px, .72fr)
    minmax(145px, .45fr)
    clamp(118px, 15vh, 162px)
    clamp(78px, 8vh, 90px);
  background:
    radial-gradient(circle at 50% 43%, rgba(255, 163, 0, .08), transparent 25%),
    var(--off-white);
}
.minimal-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 8px;
  padding: clamp(10px, 1.2vh, 16px) clamp(48px, 4.2vw, 80px) clamp(6px, .8vh, 10px);
  border-bottom: 1px solid rgba(52, 88, 130, .1);
  background: rgba(255, 255, 255, .68);
}
.minimal-header .java-logo-art {
  position: relative;
  display: block;
  width: clamp(285px, 20vw, 380px);
  height: clamp(68px, 7.8vh, 84px);
  overflow: visible;
}
.minimal-header .java-logo-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(56px, 4.8vw, 72px);
  height: auto;
  display: block;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
}
.minimal-header .think-logo { justify-self: end; }
.live-rooftop {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--light-blue);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.live-rooftop i {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 50%;
  background: var(--orange);
}
.minimal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  justify-content: center;
  min-height: 0;
  padding-top: 0;
  text-align: center;
}
.minimal-hero .overline {
  margin: 0 0 1vh;
  color: var(--blue);
  font-size: clamp(11px, .75vw, 14px);
  font-weight: 800;
  letter-spacing: .22em;
}
.minimal-hero h1 {
  margin: 0;
  font-size: clamp(33px, 2.8vw, 54px);
  letter-spacing: -.05em;
  line-height: 1;
}
.minimal-power {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: clamp(6px, 0.8vh, 10px) 0 0;
  line-height: .82;
}
.minimal-power strong {
  min-width: 2.5ch;
  font-size: clamp(112px, 14.5vh, 157px);
  font-weight: 900;
  letter-spacing: -.085em;
  text-align: right;
}
.minimal-power span {
  margin-left: 18px;
  color: var(--orange);
  font-size: clamp(32px, 3.6vh, 44px);
  font-weight: 800;
}
.minimal-message {
  margin: clamp(6px, 0.8vh, 10px) 0 0;
  color: var(--navy);
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 700;
}
.minimal-coffee-band {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(4px, .5vh, 8px) clamp(72px, 8vw, 154px) 0;
}
Rpx;
  color: var(--light-blue);
  font-size: clamp(18px, 1.25vw, 26px);
  font-weight: 900;
  letter-spacing: .17em;
  white-space: nowrap;
}
.floating-rule::before,
.floating-rule::after {
  height: 1px;
  flex: 1;
  background: rgba(52, 88, 130, .18);
  content: "";
}
.coffee-equivalents {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  padding-top: 8px;
  width: min(1080px, 78vw);
  margin: clamp(8px, 1vh, 12px) auto 0;
}
.coffee-equivalents > i {
  width: 1px;
  height: clamp(64px, 7.5vh, 81px);
  background: rgba(52, 88, 130, .18);
}
.coffee-equivalents article {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: center;
  column-gap: 12px;
  text-align: center;
}
.coffee-equivalents article > span {
  grid-column: 1 / 3;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: clamp(8px, .58vw, 11px);
  font-weight: 900;
  letter-spacing: .13em;
}
.coffee-equivalents strong {
  color: var(--ink);
  font-size: clamp(46px, 3.7vw, 71px);
  letter-spacing: -.055em;
  line-height: .9;
}
.coffee-equivalents p {
  margin: 0;
  color: var(--navy);
  font-size: clamp(13px, .9vw, 17px);
  font-weight: 700;
}
.minimal-metrics {
  display: grid;
  grid-template-columns: .85fr 1fr 1.16fr 1fr;
  gap: clamp(12px, 1.25vw, 24px);
  padding: 2px clamp(48px, 5vw, 96px) clamp(15px, 1.8vh, 20px);
}
.minimal-metrics article,
.minimal-status {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(15px, 1.7vw, 26px);
  border: 1px solid rgba(52, 88, 130, .1);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 17px 42px rgba(52, 88, 130, .08);
}
.minimal-metrics span {
  color: #737E87;
  font-size: clamp(9px, .65vw, 12px);
  font-weight: 800;
  letter-spacing: .13em;
}
.minimal-metrics strong {
  margin-top: 9px;
  font-size: clamp(24px, 2vw, 39px);
  letter-spacing: -.045em;
  white-space: nowrap;
}
.minimal-status i { position: absolute; top: 20px; right: 20px; }
.minimal-status strong { font-size: clamp(18px, 1.5vw, 27px); }
.minimal-metrics .co2-metric {
  border-color: rgba(254, 80, 0, .2);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
}
.co2-metric span { color: var(--orange); }
.minimal-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 8px;
  gap: 32px;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
  padding: clamp(10px, 1.2vh, 16px) clamp(48px, 4.2vw, 80px) clamp(6px, .8vh, 10px);
  align-content: center;
  background: var(--blue);
  color: #FFF;
  margin-top: clamp(24px, 2vh, 36px);
}

.minimal-footer strong {
  justify-self: start;
  align-self: center;
  font-size: clamp(18px, 1.25vw, 22px);
  font-weight: 800;
  white-space: nowrap;
}

.minimal-footer span {
  color: rgba(255, 255, 255, .92);
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 700;
  white-space: nowrap;
}

.minimal-footer span:nth-child(2) {
  justify-self: center;
  align-self: center;
  margin-left: 0;
}

.minimal-footer span:nth-child(3) {
  justify-self: end;
  align-self: center;
}

.minimal-footer b {
  color: #FFF;
  font-weight: 800;
}

/* Concept 02 — warm café composition */
.cafe-screen {
  display: grid;
  grid-template-rows: clamp(88px, 11.5vh, 124px) 1fr clamp(56px, 6.8vh, 74px);
  background:
    radial-gradient(circle at 62% 47%, rgba(255, 163, 0, .14), transparent 28%),
    #F4EBDD;
}
.cafe-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 8px;
  padding: 0 clamp(46px, 4vw, 76px);
  background: var(--coffee);
}
.cafe-header > p {
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 9px;
  margin: 0;
  color: var(--oat);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}
.cafe-header > p i { width: 30px; height: 1px; background: rgba(235, 221, 200, .5); }
.solar-credit {
  display: flex;
  align-items: center;
  padding-top: 8px;
  justify-self: end;
  align-self: center;
  gap: 12px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  font-weight: 700;
}
.solar-credit img {
  width: clamp(170px, 14vw, 260px);
  max-height: 64px;
  object-fit: contain;
  padding: 7px 11px;
  border-radius: 8px;
  background: #FFF;
}
.cafe-main {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .95fr .78fr;
  align-items: center;
  padding-top: 8px;
  gap: clamp(28px, 3vw, 58px);
  min-height: 0;
  padding: clamp(36px, 4vh, 54px) clamp(52px, 5vw, 96px);
}
.cafe-main::before {
  position: absolute;
  left: 39%;
  bottom: 5%;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(74, 46, 35, .09);
  border-radius: 50%;
  content: "";
}
.cafe-story { position: relative; z-index: 1; }
.handwritten {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.5vw, 28px);
  font-style: italic;
}
.cafe-story h1 {
  max-width: 680px;
  margin: 0;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.5vw, 85px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
}
.cafe-message {
  max-width: 590px;
  margin: clamp(20px, 2.4vh, 30px) 0 0;
  color: #725F55;
  font-size: clamp(16px, 1.18vw, 22px);
  line-height: 1.45;
}
.coffee-line {
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 18px;
  margin-top: clamp(24px, 3.8vh, 46px);
}
.coffee-cup {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--coffee);
}
.coffee-cup i {
  position: absolute;
  top: 23px;
  left: 16px;
  width: 25px;
  height: 18px;
  border: 3px solid var(--oat);
  border-top: 0;
  border-radius: 0 0 7px 7px;
}
.coffee-line p { display: flex; align-items: center;
  padding-top: 8px; gap: 14px; margin: 0; }
.coffee-line strong { color: var(--orange); font-size: clamp(34px, 3vw, 55px); letter-spacing: -.05em; }
.coffee-line p span { color: #725F55; font-size: 12px; font-weight: 800; letter-spacing: .07em; line-height: 1.35; }
.cafe-sun {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  justify-content: center;
  justify-self: center;
  width: min(27vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  color: var(--coffee);
  box-shadow: 0 30px 70px rgba(178, 102, 17, .2);
}
.cafe-sun::after {
  position: absolute;
  inset: -19px;
  border: 1px solid rgba(254, 80, 0, .28);
  border-radius: 50%;
  content: "";
}
.cafe-live {
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .5);
  font-size: clamp(8px, .58vw, 11px);
  font-weight: 900;
  letter-spacing: .13em;
}
.cafe-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.cafe-sun > div { display: flex; align-items: baseline; margin-top: 1vh; line-height: .9; }
.cafe-sun > div strong { min-width: 2.25ch; font-size: clamp(78px, 8vw, 145px); letter-spacing: -.09em; text-align: right; }
.cafe-sun > div b { margin-left: 9px; font-size: clamp(23px, 2vw, 36px); }
.cafe-sun > p { margin: 10px 0 0; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.cafe-receipt {
  position: relative;
  z-index: 1;
  padding: clamp(25px, 2.6vw, 42px);
  border-top: 7px solid var(--blue);
  background: #FFFDF8;
  box-shadow: 0 28px 65px rgba(74, 46, 35, .14);
  transform: rotate(1deg);
}
.receipt-title {
  margin: 0 0 2vh;
  padding-bottom: 2vh;
  border-bottom: 1px dashed #CBBCA8;
  color: var(--coffee);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}
.cafe-receipt > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 1.5vh 0;
  border-bottom: 1px dashed #D8CDBE;
}
.cafe-receipt > div > span { color: #7A6D64; font-size: clamp(11px, .72vw, 14px); }
.cafe-receipt > div > strong { color: var(--coffee); font-size: clamp(22px, 1.75vw, 34px); letter-spacing: -.04em; }
.receipt-status { display: flex; align-items: center;
  padding-top: 8px; gap: 12px; }
.receipt-status b { font-size: .72em; }
.receipt-thanks { margin: 2.2vh 0 0; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-align: center; }
.cafe-footer {
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 34px;
  padding: 0 clamp(46px, 4vw, 76px);
  background: var(--navy);
  color: #FFF;
}
.cafe-footer strong { font-family: Georgia, serif; font-size: clamp(16px, 1.2vw, 22px); }
.cafe-footer span { color: rgba(255, 255, 255, .55); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.cafe-footer span:nth-child(2) { margin-left: auto; }
.cafe-footer b { color: #FFF; }

/* Concept 03 — graphic editorial composition */
.editorial-screen {
  display: grid;
  grid-template-rows: clamp(88px, 11.5vh, 124px) 1fr clamp(54px, 6.7vh, 72px);
  background: var(--off-white);
}
.editorial-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 8px;
  padding: clamp(10px, 1.2vh, 16px) clamp(48px, 4.2vw, 80px) clamp(6px, .8vh, 10px);
  border-bottom: 3px solid var(--ink);
}
.editorial-header > p {
  margin: 0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}
.editorial-header > p span { color: var(--orange); }
.editorial-header .think-logo { justify-self: end; }
.editorial-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr .82fr;
  grid-template-rows: 1fr minmax(170px, 23vh);
  min-height: 0;
  padding: clamp(30px, 3.6vh, 48px) clamp(48px, 4.2vw, 80px);
}
.editorial-power {
  position: relative;
  grid-row: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  align-content: center;
  padding-right: clamp(25px, 3vw, 58px);
  border-right: 1px solid rgba(25, 25, 25, .22);
}
.edition-label {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}
.editorial-power > strong {
  grid-row: 2;
  align-self: end;
  min-width: 2.1ch;
  font-size: clamp(150px, 20vw, 360px);
  font-weight: 900;
  letter-spacing: -.12em;
  line-height: .68;
}
.editorial-power > b {
  grid-row: 2;
  align-self: end;
  margin-left: 15px;
  color: var(--orange);
  font-size: clamp(33px, 3vw, 57px);
  line-height: .75;
}
.editorial-power > p {
  position: absolute;
  right: clamp(22px, 2.5vw, 48px);
  bottom: 0;
  margin: 0;
  color: var(--light-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.45;
  text-align: right;
}
.editorial-story {
  grid-column: 2 / 4;
  padding: 0 0 0 clamp(36px, 4vw, 75px);
  align-self: center;
}
.story-number {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}
.editorial-story h1 {
  max-width: 700px;
  margin: 2vh 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5vw, 92px);
  letter-spacing: -.055em;
  line-height: .95;
}
.editorial-story > p {
  max-width: 680px;
  margin: 2.5vh 0 0;
  color: #59646C;
  font-size: clamp(16px, 1.2vw, 22px);
  line-height: 1.45;
}
.editorial-rule { width: 80px; height: 6px; margin: 2.7vh 0 1.5vh; background: var(--gold); }
.solar-by { font-size: 10px; letter-spacing: .13em; }
.solar-by b { color: var(--navy); }
.editorial-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: clamp(22px, 2.5vh, 32px);
  padding: clamp(20px, 2vw, 34px);
  border-top: 2px solid var(--ink);
}
.editorial-stat + .editorial-stat { border-left: 1px solid rgba(25, 25, 25, .18); }
.editorial-stat > span { font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.editorial-stat > strong { margin-top: 9px; font-size: clamp(31px, 2.8vw, 53px); letter-spacing: -.05em; }
.editorial-stat > p { margin: 6px 0 0; color: #707A81; font-size: clamp(10px, .65vw, 13px); }
.stat-coffee { background: var(--gold); }
.stat-lifetime { background: var(--navy); color: #FFF; }
.stat-lifetime > p { color: rgba(255, 255, 255, .56); }
.editorial-footer {
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 32px;
  padding: clamp(10px, 1.2vh, 16px) clamp(48px, 4.2vw, 80px) clamp(6px, .8vh, 10px);
  background: var(--ink);
  color: #FFF;
}
.editorial-footer > strong { color: var(--gold); font-size: clamp(12px, .9vw, 17px); letter-spacing: .08em; }
.editorial-footer > span {
  display: flex;
  align-items: center;
  padding-top: 8px;
  gap: 10px;
  color: rgba(255, 255, 255, .5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.editorial-footer > span:nth-child(2) { margin-left: auto; }
.editorial-footer b { color: #FFF; }

/* Hidden, removable design-test controls */
.demo-panel {
  position: fixed;
  z-index: 1000;
  top: 22px;
  right: 22px;
  width: 300px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(25, 25, 25, .96);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .35);
  color: #FFF;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .18s ease, transform .18s ease;
}
.demo-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.demo-panel header { display: flex; align-items: flex-start; justify-content: space-between; }
.demo-panel header div { display: flex; flex-direction: column; gap: 3px; }
.demo-panel header strong { font-size: 16px; }
.demo-panel header span, .demo-panel > small { color: rgba(255, 255, 255, .5); font-size: 10px; }
.demo-panel header button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #FFF;
  font-size: 20px;
  cursor: pointer;
}
.demo-panel > p { margin: 16px 0 12px; color: rgba(255, 255, 255, .68); font-size: 12px; line-height: 1.4; }
.scenario-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 14px; }
.scenario-buttons button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 7px;
  background: rgba(255, 255, 255, .06);
  color: #FFF;
  font: 700 11px Arial, sans-serif;
  text-transform: capitalize;
  cursor: pointer;
}
.scenario-buttons button.is-active { border-color: var(--gold); background: var(--gold); color: var(--ink); }

/* 1366×768 and 1280×720 tuning */
@media (max-height: 800), (max-width: 1450) {
  .java-wordmark > i { width: 40px; height: 40px; font-size: 18px; }
  .java-wordmark span { font-size: 18px; }
  .minimal-message { margin-top: 12px; }
  .minimal-metrics article, .minimal-status { border-radius: 14px; }
  .cafe-main { gap: 28px; }
  .cafe-story h1 { font-size: clamp(43px, 4.3vw, 64px); }
  .cafe-message { margin-top: 14px; }
  .coffee-line { margin-top: 18px; }
  .cafe-receipt > div { padding: 1vh 0; }
  .editorial-grid { padding-block: 24px; }
  .editorial-story h1 { font-size: clamp(44px, 4.6vw, 69px); }
  .editorial-story > p { margin-top: 12px; }
  .editorial-rule { margin-block: 14px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-bind="message"], .demo-panel { transition: none; }
}

/* Java Hut live hero rotation */
.minimal-power,
.minimal-message {
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.minimal-power.is-changing,
.minimal-message.is-changing {
  opacity: 0;
  transform: translateY(-10px);
}

/* Add breathing room beneath the metric cards */
.minimal-metrics {
  margin-bottom: clamp(18px, 1.6vw, 30px);
}

/* Think Solar blue footer */
.minimal-footer {
  background: var(--blue);
  margin-top: 0;
}

/* Restore Coffee Energy Equivalent heading and divider lines */
.floating-rule {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  gap: 24px !important;
  color: var(--light-blue) !important;
  font-size: clamp(15px, 1vw, 20px) !important;
  font-weight: 900 !important;
  letter-spacing: .17em !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.floating-rule::before,
.floating-rule::after {
  display: block !important;
  height: 1px !important;
  flex: 1 1 auto !important;
  background: rgba(52, 88, 130, .18) !important;
  content: "" !important;
}

/* =====================================================
   CHIP POLISH
   ===================================================== */

/* Centre everything inside the four information cards */
.minimal-metrics article,
.minimal-status{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
}

.minimal-metrics span,
.minimal-metrics strong,
.minimal-metrics p,
.minimal-status span,
.minimal-status strong,
.minimal-status p{
    text-align:center !important;
}

.minimal-metrics strong,
.minimal-status strong{
    margin-top:6px !important;
}

/* Keep the status indicator in the top-right */
.minimal-status [data-status-dot]{
    top:16px !important;
    right:16px !important;
    left:auto !important;
    bottom:auto !important;

    width:10px;
    height:10px;
    border-radius:50%;

    animation:statusPulse 3.2s ease-in-out infinite;
}

.minimal-status [data-status-dot].is-offline{
    animation:none;
}

/* Soft green glow */
@keyframes statusPulse{

    0%,100%{
        opacity:.85;
        box-shadow:
            0 0 0 0 rgba(40,170,90,.35),
            0 0 8px rgba(40,170,90,.25);
    }

    50%{
        opacity:1;
        box-shadow:
            0 0 0 8px rgba(40,170,90,0),
            0 0 16px rgba(40,170,90,.45);
    }
}


/* =====================================================
   Metric chip colour and status-dot alignment
   ===================================================== */

/* Keep all chip surfaces clean and white */
.minimal-metrics article,
.minimal-status {
  background: rgba(255, 255, 255, .88) !important;
}

/* Use Think Solar orange consistently for chip headings */
.minimal-metrics article > span,
.minimal-status > span,
.minimal-metrics .co2-metric > span {
  color: var(--orange) !important;
}

/* Keep the main values strong and readable */
.minimal-metrics article > strong,
.minimal-status > strong {
  color: var(--ink) !important;
}

/* Align the green status dot with the top of SOLAR STATUS */
.minimal-status [data-status-dot] {
  top: clamp(15px, 1.7vw, 26px) !important;
  right: clamp(15px, 1.7vw, 26px) !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(1px) !important;
  width: 10px !important;
  height: 10px !important;
  background: #2b9b62 !important;
  border-radius: 50% !important;
  animation: status-chip-pulse 3.2s ease-in-out infinite !important;
}

.minimal-status [data-status-dot].is-offline {
  animation: none !important;
}

@keyframes status-chip-pulse {
  0%,
  100% {
    opacity: .82;
    box-shadow:
      0 0 0 0 rgba(43, 155, 98, .32),
      0 0 8px rgba(43, 155, 98, .24);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 0 0 8px rgba(43, 155, 98, 0),
      0 0 15px rgba(43, 155, 98, .48);
  }
}

/* =========================================================
   Solar coffee scoreboard and rotating hero
   ========================================================= */

/* Smooth fade for all rotating hero content */
.minimal-hero h1,
.minimal-power,
.minimal-message {
  transition:
    opacity .42s ease,
    transform .42s ease;
}

.minimal-hero.is-changing h1,
.minimal-hero.is-changing .minimal-power,
.minimal-hero.is-changing .minimal-message {
  opacity: 0;
  transform: translateY(6px);
}

/* Keep hero units blue */
.minimal-power span {
  color: var(--blue) !important;
}

.minimal-power span.is-empty {
  display: none !important;
}

/* Simplified fixed solar-coffee scoreboard */
.coffee-equivalents {
  display: grid !important;
  grid-template-columns: 1fr 1px 1fr !important;
  align-items: center !important;
  width: min(920px, 72vw) !important;
  margin:
    clamp(16px, 2vh, 22px)
    auto
    0 !important;
}

.coffee-equivalents article {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  text-align: center !important;
}

.coffee-equivalents strong {
  color: var(--ink) !important;
  font-size:
    clamp(56px, 4.5vw, 84px) !important;
  font-weight: 900 !important;
  letter-spacing: -.055em !important;
  line-height: .88 !important;
  text-align: center !important;
}

.coffee-equivalents p {
  margin: 0 !important;
  color: var(--blue) !important;
  font-size:
    clamp(12px, .85vw, 17px) !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

.coffee-equivalents > i {
  width: 1px !important;
  height:
    clamp(58px, 7vh, 76px) !important;
  background:
    rgba(52, 88, 130, .15) !important;
}

/* Keep heading centred between its divider lines */
.floating-rule {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  gap: 24px !important;
  color: var(--light-blue) !important;
  font-size:
    clamp(15px, 1vw, 20px) !important;
  font-weight: 900 !important;
  letter-spacing: .17em !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.floating-rule::before,
.floating-rule::after {
  display: block !important;
  height: 1px !important;
  flex: 1 1 auto !important;
  background:
    rgba(52, 88, 130, .18) !important;
  content: "" !important;
}

/* =========================================================
   Cleaner rotating hero
   ========================================================= */

/* The fixed overline has been removed from the HTML */
.minimal-hero .overline {
  display: none !important;
}

/* Tighten the hero now that one line of copy is gone */
.minimal-hero h1 {
  margin-top: 0 !important;
}

.minimal-power {
  margin-top: clamp(8px, 1.1vh, 13px) !important;
}

.minimal-message {
  margin-top: clamp(6px, .8vh, 10px) !important;
}

/* Keep all hero units in Think Solar blue */
.minimal-power span {
  color: var(--blue) !important;
}

/* Improve alignment for slides with no unit, such as coffee count */
.minimal-hero.hero-without-unit .minimal-power {
  align-items: center !important;
  justify-content: center !important;
  margin-top: clamp(7px, .9vh, 11px) !important;
}

.minimal-hero.hero-without-unit .minimal-power strong {
  min-width: 0 !important;
  text-align: center !important;
  letter-spacing: -.075em !important;
}

.minimal-hero.hero-without-unit .minimal-power span {
  display: none !important;
}

.minimal-hero.hero-without-unit .minimal-message {
  margin-top: clamp(4px, .6vh, 8px) !important;
}

/* Match the rooftop live indicator to the green status pulse */
.live-rooftop i {
  background: #2b9b62 !important;
  animation: rooftop-status-pulse 3.2s ease-in-out infinite !important;
}

@keyframes rooftop-status-pulse {
  0%,
  100% {
    opacity: .82;
    box-shadow:
      0 0 0 0 rgba(43, 155, 98, .32),
      0 0 8px rgba(43, 155, 98, .24);
  }

  50% {
    opacity: 1;
    box-shadow:
      0 0 0 8px rgba(43, 155, 98, 0),
      0 0 15px rgba(43, 155, 98, .48);
  }
}

/* =====================================================
   Think Solar orange live indicators
   ===================================================== */

.live-rooftop i,
.minimal-status [data-status-dot]{
    background:#F59C00 !important;
    animation:thinkSolarPulse 3.2s ease-in-out infinite !important;
}

.minimal-status [data-status-dot].is-offline{
    animation:none !important;
    background:#b8c3cf !important;
}

@keyframes thinkSolarPulse{

    0%,100%{
        opacity:.82;
        box-shadow:
            0 0 0 0 rgba(245,156,0,.35),
            0 0 8px rgba(245,156,0,.25);
    }

    50%{
        opacity:1;
        box-shadow:
            0 0 0 8px rgba(245,156,0,0),
            0 0 16px rgba(245,156,0,.50);
    }
}


/* =====================================================
   HERO TYPOGRAPHY POLISH
   ===================================================== */

/* Hero title */
.minimal-hero h1{
    font-size:clamp(34px,2.15vw,46px)!important;
    font-weight:700!important;
    letter-spacing:-0.015em!important;
    line-height:1.08!important;
    margin-bottom:10px!important;
}

/* Hero number */
.minimal-power strong{
    color:var(--ink)!important;
    font-weight:900!important;
    letter-spacing:-0.02em!important;
    font-variant-numeric:tabular-nums lining-nums;
    font-feature-settings:"tnum" 1,"lnum" 1;
}

/* Unit (kW, kWh, MWh, cups) */
.minimal-power span{
    color:var(--ink)!important;
    font-size:.34em!important;
    font-weight:600!important;
    letter-spacing:0!important;
    margin-left:.18em!important;
    vertical-align:baseline!important;
}

/* Caption */
.minimal-message{
    color:var(--blue)!important;
    font-size:clamp(13px,.95vw,18px)!important;
    font-weight:800!important;
    letter-spacing:.16em!important;
    text-transform:uppercase!important;
    margin-top:10px!important;
}

/* Better spacing when there is no unit */
.minimal-hero.hero-without-unit .minimal-power{
    margin-top:8px!important;
}

.minimal-hero.hero-without-unit .minimal-message{
    margin-top:8px!important;
}


/* =====================================================
   Final hero typography polish
   ===================================================== */

/* Make units much more prominent */
.minimal-power span{
    font-size:.52em !important;
    font-weight:700 !important;
    color:var(--ink) !important;
    letter-spacing:0 !important;
    margin-left:.16em !important;
    vertical-align:baseline !important;
}

/* Improve decimal spacing */
.minimal-power strong{
    letter-spacing:-0.015em !important;
    font-variant-numeric:tabular-nums lining-nums;
    font-feature-settings:"tnum" 1,"lnum" 1;
}

/* Hero caption */
.minimal-message{
    margin-top:10px !important;
    line-height:1.15 !important;
    max-width:34rem;
}


/* =====================================================
   Larger hero units (kW, kWh, MWh, cups)
   ===================================================== */

.minimal-power{
    display:flex !important;
    align-items:baseline !important;
    justify-content:center !important;
    gap:.12em !important;
}

/* Main number */
.minimal-power strong{
    font-weight:900 !important;
    letter-spacing:-0.015em !important;
    font-variant-numeric:tabular-nums lining-nums;
    font-feature-settings:"tnum" 1,"lnum" 1;
}

/* Units */
.minimal-power span{

    font-size:.62em !important;      /* was around .34-.52 */

    font-weight:700 !important;

    color:var(--ink) !important;

    letter-spacing:0 !important;

    margin-left:0 !important;

    line-height:1 !important;

    align-self:baseline !important;
}

/* Keep coffee slide aligned */
.minimal-hero.hero-without-unit .minimal-power{
    gap:.12em !important;
}


/* Make hero units much larger: kW, kWh, MWh and cups */
.minimal-power {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: .10em !important;
}

.minimal-power span {
  font-size: .78em !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  margin-left: 0 !important;
  align-self: baseline !important;
}


/* Definitive hero unit sizing fix */
.minimal-power {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: clamp(10px, .8vw, 18px) !important;
}

.minimal-power strong {
  line-height: .86 !important;
}

.minimal-power span {
  display: inline-block !important;
  font-size: clamp(42px, 4.2vw, 76px) !important;
  font-weight: 750 !important;
  color: var(--ink) !important;
  letter-spacing: -.02em !important;
  line-height: .9 !important;
  margin: 0 !important;
  align-self: baseline !important;
  transform: translateY(-2px) !important;
}

/* Keep the units visible on every hero slide */
.minimal-power span.is-empty {
  display: none !important;
}

/* =====================================================
   Increase entire header by ~20%
   ===================================================== */

/* Header container */
.minimal-header{
    padding-top: clamp(28px, 3.2vh, 48px) !important;
    padding-bottom: clamp(24px, 2.6vh, 36px) !important;
}

/* Java Hut logo */
.minimal-header .java-logo-art{
    width: clamp(306px, 21.6vw, 410px) !important;
    height: clamp(70px, 8vh, 86px) !important;
}

/* Think Solar logo */
.think-logo{
    width: clamp(252px, 20.4vw, 384px) !important;
    max-height: 86px !important;
}

/* LIVE ROOFTOP SOLAR */
.live-rooftop{
    font-size: clamp(18px, 1.25vw, 24px) !important;
    letter-spacing: .16em !important;
}

/* Slightly larger status dot */
.live-rooftop i{
    width: 14px !important;
    height: 14px !important;
    margin-right: 12px !important;
}

/* Keep spacing between the logos balanced */
.minimal-header-top{
    gap: clamp(28px, 2vw, 42px) !important;
}


/* Increase the actual header background/row height by ~20% */
.minimal-screen {
  grid-template-rows:
    clamp(112px, 14vh, 150px)
    minmax(230px, .72fr)
    minmax(145px, .45fr)
    clamp(118px, 15vh, 162px)
    clamp(50px, 6.2vh, 67px) !important;
}

.minimal-header {
  min-height: clamp(112px, 14vh, 150px) !important;
  padding:
    clamp(14px, 1.8vh, 22px)
    clamp(48px, 4.2vw, 80px) !important;
}

/* =====================================================
   Header polish
   ===================================================== */

/* Lower the middle group slightly */
.live-rooftop{
    position:relative !important;
    top:6px !important;

    font-size:clamp(20px,1.45vw,27px) !important;

    letter-spacing:.13em !important;

    font-weight:800 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
}

/* Larger dot */
.live-rooftop i{
    width:16px !important;
    height:16px !important;

    margin-right:10px !important;

    flex:none !important;
}


/* Coffee hero refinement */
.minimal-message{
    margin-top:6px !important;
    line-height:1.05 !important;
}


/* Coffee hero - refine cups alignment */
.minimal-power span{

    /* Slightly smaller than other units */
    font-size:0.68em !important;

    font-weight:650 !important;

    margin-left:0.06em !important;

    transform:translateY(3px) !important;

    letter-spacing:-0.02em !important;

}


/* Coffee hero: centre the complete number + unit group */
.minimal-hero.hero-coffee-slide .minimal-power {
  display: inline-flex !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: clamp(8px, .55vw, 12px) !important;
}

/* Keep the number centred as part of the full 9 cups group */
.minimal-hero.hero-coffee-slide .minimal-power strong {
  min-width: 0 !important;
  text-align: right !important;
}

/* Cups halfway between the previous large and tiny sizes */
.minimal-hero.hero-coffee-slide .minimal-power span {
  display: inline-block !important;
  font-size: clamp(30px, 2.8vw, 50px) !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
  margin: 0 !important;
  align-self: baseline !important;
  transform: translateY(-1px) !important;
}

/* Restore normal hero units */
.minimal-power span{
    font-size:.78em !important;
    font-weight:700 !important;
    transform:none !important;
}


/* Restore normal hero units */
.minimal-power span{
    font-size:.78em !important;
    font-weight:700 !important;
    transform:none !important;
}


/* =====================================================
   Definitive hero unit sizing
   ===================================================== */

/* Energy slides only: kW, kWh and MWh */
.minimal-hero:not(.hero-coffee-slide) .minimal-power span {
  display: inline-block !important;
  font-size: clamp(50px, 5vw, 88px) !important;
  font-weight: 750 !important;
  color: var(--ink) !important;
  line-height: .9 !important;
  letter-spacing: -.025em !important;
  margin: 0 !important;
  align-self: baseline !important;
  transform: translateY(-2px) !important;
}

/* Coffee slide only */
.minimal-hero.hero-coffee-slide .minimal-power span {
  display: inline-block !important;
  font-size: clamp(32px, 3.1vw, 54px) !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  line-height: 1 !important;
  letter-spacing: -.02em !important;
  margin: 0 !important;
  align-self: baseline !important;
  transform: translateY(-1px) !important;
}

/* Centre the full number and unit together */
.minimal-hero .minimal-power {
  display: inline-flex !important;
  width: auto !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: clamp(8px, .6vw, 14px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Match hero captions to the Solar Powered Coffees heading */
.minimal-message,
.floating-rule {
  color: var(--light-blue) !important;
}


/* Next-hour weather icon replacing the header live dot */
.live-rooftop i.weather-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  height: auto !important;
  min-width: 30px !important;

  margin-right: 10px !important;

  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  animation: none !important;

  color: inherit !important;
  font-style: normal !important;
  font-size: clamp(25px, 1.9vw, 34px) !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

/* =====================================================
   Solar Conditions rotating hero slide
   ===================================================== */

/* Restore the header to its normal pulsing indicator */
.live-rooftop i {
  font-size: 0 !important;
}

/* Weather icon shown as the main hero value */
.minimal-hero.hero-weather-slide .minimal-power {
  min-height: clamp(92px, 10vh, 135px) !important;
  align-items: center !important;
}

.minimal-hero.hero-weather-slide .minimal-power strong {
  font-size: clamp(76px, 7vw, 124px) !important;
  font-family:
    "Segoe UI Emoji",
    "Apple Color Emoji",
    sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-shadow: none !important;
}

.minimal-hero.hero-weather-slide .minimal-power span {
  display: none !important;
}

.minimal-hero.hero-weather-slide .minimal-message {
  margin-top: clamp(5px, .6vh, 9px) !important;
}

/* Custom clear-sky sun: circular centre with eight rays */
.solar-sun-icon {
  position: relative !important;
  display: inline-block !important;
  width: clamp(72px, 6vw, 104px) !important;
  height: clamp(72px, 6vw, 104px) !important;
  color: #F59C00 !important;
}

.solar-sun-icon .sun-core {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 42% !important;
  height: 42% !important;
  border: clamp(4px, .32vw, 6px) solid currentColor !important;
  border-radius: 50% !important;
  background: transparent !important;
  transform: translate(-50%, -50%) !important;
}

.solar-sun-icon .sun-ray {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 8% !important;
  height: 23% !important;
  border-radius: 999px !important;
  background: currentColor !important;
  transform-origin: 50% 0 !important;
}

.solar-sun-icon .ray-1 {
  transform: translate(-50%, -50%) rotate(0deg) translateY(-38px) !important;
}

.solar-sun-icon .ray-2 {
  transform: translate(-50%, -50%) rotate(45deg) translateY(-38px) !important;
}

.solar-sun-icon .ray-3 {
  transform: translate(-50%, -50%) rotate(90deg) translateY(-38px) !important;
}

.solar-sun-icon .ray-4 {
  transform: translate(-50%, -50%) rotate(135deg) translateY(-38px) !important;
}

.solar-sun-icon .ray-5 {
  transform: translate(-50%, -50%) rotate(180deg) translateY(-38px) !important;
}

.solar-sun-icon .ray-6 {
  transform: translate(-50%, -50%) rotate(225deg) translateY(-38px) !important;
}

.solar-sun-icon .ray-7 {
  transform: translate(-50%, -50%) rotate(270deg) translateY(-38px) !important;
}

.solar-sun-icon .ray-8 {
  transform: translate(-50%, -50%) rotate(315deg) translateY(-38px) !important;
}

/* Keep space around the custom icon */
.minimal-hero.hero-weather-slide .minimal-power strong {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.minimal-hero.hero-weather-slide .minimal-power {
  margin-top: clamp(12px, 1.4vh, 20px) !important;
  margin-bottom: clamp(12px, 1.4vh, 20px) !important;
}

/* Reliable SVG sun for the Solar Conditions slide */
.minimal-hero.hero-weather-slide .minimal-power {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: clamp(82px, 9vh, 118px) !important;
  margin-top: clamp(12px, 1.4vh, 20px) !important;
  margin-bottom: clamp(12px, 1.4vh, 20px) !important;
}

.minimal-hero.hero-weather-slide .minimal-power strong {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.solar-weather-sun {
  display: block !important;
  width: clamp(68px, 5.4vw, 94px) !important;
  height: clamp(68px, 5.4vw, 94px) !important;
  overflow: visible !important;
  fill: none !important;
  stroke: #F59C00 !important;
  stroke-width: 7 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.minimal-hero.hero-weather-slide .minimal-power > span {
  display: none !important;
}

.weather-icon-solid{
    width:88px;
    height:88px;
    color:#F59C00;
    display:block;
    margin:auto;
}


/* =====================================================
   Solid Solar Outlook weather icons
   ===================================================== */

.minimal-hero.hero-weather-slide .minimal-power {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: clamp(80px, 8.5vh, 112px) !important;
  margin-top: clamp(16px, 1.8vh, 24px) !important;
  margin-bottom: clamp(12px, 1.3vh, 18px) !important;
}

.minimal-hero.hero-weather-slide .minimal-power strong {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
}

.minimal-hero.hero-weather-slide .minimal-power > span {
  display: none !important;
}

.solid-weather-icon {
  display: block !important;
  width: clamp(72px, 5.7vw, 100px) !important;
  height: clamp(72px, 5.7vw, 100px) !important;
  overflow: visible !important;
}

/* Clear and sunny */
.weather-icon-sun {
  fill: #F59C00 !important;
}

/* Sunny with cloud */
.weather-icon-sun-cloud .sun-shape {
  fill: #F59C00 !important;
}

.weather-icon-sun-cloud .cloud-shape {
  fill: #7F96A9 !important;
}

/* Cloud and fog */
.weather-icon-cloud,
.weather-icon-fog {
  fill: #7F96A9 !important;
}

/* Rain */
.weather-icon-rain {
  fill: #66859E !important;
}

/* Snow */
.weather-icon-snow {
  fill: #7794AA !important;
}

/* Storm */
.weather-icon-storm .cloud-shape {
  fill: #61798E !important;
}

.weather-icon-storm .bolt-shape {
  fill: #F59C00 !important;
}

/* Allow playful rain wording to fit cleanly */
.minimal-hero.hero-weather-slide .minimal-message {
  max-width: 700px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

/* =====================================================
   Seasonal and milestone review mode
   Appears only when the URL includes ?review=1
   ===================================================== */

.jh-review-controls {
  position: fixed;
  z-index: 10050;
  left: 16px;
  bottom: 16px;
  width: min(390px, calc(100vw - 32px));
  max-height: 80vh;
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(52, 88, 130, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 16px 40px rgba(31, 47, 61, .18);
  color: #263845;
  font-family: Inter, system-ui, sans-serif;
}

.jh-review-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.jh-review-heading strong {
  color: #345882;
  font-size: 18px;
}

.jh-review-heading span {
  color: #73818d;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.jh-review-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.jh-review-buttons button {
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid rgba(52, 88, 130, .16);
  border-radius: 10px;
  background: #f8fafb;
  color: #345882;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.jh-review-buttons button:hover {
  background: rgba(52, 88, 130, .08);
}

.jh-review-buttons .jh-reset-button {
  grid-column: 1 / -1;
  background: #345882;
  color: #fff;
}

.jh-seasonal-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 32px;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(255, 255, 255, .98),
      rgba(247, 243, 234, .96) 58%,
      rgba(238, 232, 220, .96)
    );
  opacity: 0;
  transition: opacity .35s ease;
  font-family: Inter, system-ui, sans-serif;
}

.jh-seasonal-overlay.is-visible {
  opacity: 1;
}

.jh-seasonal-content {
  position: relative;
  z-index: 5;
  max-width: 980px;
  text-align: center;
}

.jh-seasonal-eyebrow {
  margin-bottom: 16px;
  color: #f59c00;
  font-size: clamp(15px, 1.2vw, 21px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.jh-seasonal-title {
  color: #263845;
  font-size: clamp(38px, 4.8vw, 84px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.04em;
}

.jh-seasonal-value {
  margin-top: 20px;
  color: #f59c00;
  font-size: clamp(72px, 10vw, 170px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.055em;
}

.jh-seasonal-message {
  margin-top: 22px;
  color: #345882;
  font-size: clamp(18px, 1.7vw, 30px);
  font-weight: 800;
  line-height: 1.2;
}

.jh-seasonal-close {
  position: relative;
  z-index: 20;
  margin-top: 34px;
  padding: 11px 18px;
  border: 1px solid rgba(52, 88, 130, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  color: #345882;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.jh-firework {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: jh-firework-burst 1.8s ease-out infinite;
}

.jh-firework::before,
.jh-firework::after {
  content: "";
  position: absolute;
  inset: -30px;
  border: 4px dotted currentColor;
  border-radius: 50%;
  opacity: .7;
}

.jh-firework::after {
  inset: -58px;
  opacity: .3;
}

@keyframes jh-firework-burst {
  0% {
    opacity: 0;
    transform: scale(.25);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

.jh-milestone-banner {
  position: fixed;
  z-index: 9990;
  right: 28px;
  bottom: 84px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: min(620px, calc(100vw - 56px));
  padding: 18px 22px;
  border: 2px solid rgba(245, 156, 0, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 34px rgba(31, 47, 61, .16);
  font-family: Inter, system-ui, sans-serif;
}

.jh-banner-kicker {
  display: block;
  margin-bottom: 4px;
  color: #f59c00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.jh-milestone-banner strong {
  color: #345882;
  font-size: clamp(18px, 1.5vw, 25px);
}

.jh-milestone-banner button {
  flex: none;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: #345882;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.jh-hidden-egg {
  position: absolute;
  right: 8%;
  top: 28%;
  width: clamp(34px, 3vw, 52px);
  height: clamp(44px, 4vw, 68px);
  border-radius: 52% 52% 46% 46%;
  background:
    linear-gradient(
      145deg,
      #f59c00 0 34%,
      #345882 34% 60%,
      #f1cb65 60% 100%
    );
  box-shadow: 0 8px 20px rgba(31, 47, 61, .2);
  animation: jh-egg-peek 5s ease-in-out infinite;
}

@keyframes jh-egg-peek {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

.jh-sleigh {
  position: absolute;
  z-index: 3;
  top: 18%;
  left: -260px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(42px, 4.3vw, 76px);
  animation: jh-sleigh-flight 11s linear infinite;
}

.jh-reindeer {
  display: inline-block;
  transform: scaleX(-1);
}

@keyframes jh-sleigh-flight {
  from {
    transform: translateX(0) translateY(0);
  }

  45% {
    transform: translateX(60vw) translateY(-30px);
  }

  to {
    transform: translateX(calc(100vw + 440px)) translateY(5px);
  }
}

.jh-new-year-overlay {
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(255, 255, 255, .98),
      rgba(250, 244, 226, .97) 60%,
      rgba(232, 222, 194, .97)
    );
}

.jh-matariki-overlay {
  background:
    radial-gradient(
      circle at 50% 40%,
      #263f5c,
      #15283c 62%,
      #0c1927
    );
}

.jh-matariki-overlay .jh-seasonal-eyebrow {
  color: #f4c96c;
}

.jh-matariki-overlay .jh-seasonal-title,
.jh-matariki-overlay .jh-seasonal-message {
  color: #fff;
}

.jh-matariki-stars {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.jh-matariki-star {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f4c96c;
  box-shadow:
    0 0 12px rgba(244, 201, 108, .8),
    0 0 28px rgba(244, 201, 108, .42);
  animation: jh-star-twinkle 2.8s ease-in-out infinite;
}

@keyframes jh-star-twinkle {
  0%,
  100% {
    opacity: .45;
    transform: scale(.75);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.jh-earth-overlay .jh-seasonal-value,
.jh-coffee-overlay .jh-seasonal-value {
  font-size: clamp(74px, 8vw, 138px);
}

@media (max-width: 720px) {
  .jh-review-buttons {
    grid-template-columns: 1fr;
  }

  .jh-review-buttons .jh-reset-button {
    grid-column: auto;
  }

  .jh-milestone-banner {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
}

/* =====================================================
   Seasonal preview corrections
   ===================================================== */

/* Reindeer leads the sleigh while travelling to the right */
.jh-sleigh {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 2px !important;
  animation-duration: 9s !important;
}

/* Do not mirror the reindeer */
.jh-sleigh .jh-reindeer {
  display: inline-block !important;
  transform: none !important;
}

/* Keep the sleigh just behind the reindeer */
.jh-sleigh .jh-sleigh-body {
  display: inline-block !important;
  transform: translateY(5px) !important;
  margin-right: -5px !important;
}

/* Remove any old Easter egg decoration if still present */
.jh-hidden-egg {
  display: none !important;
}

/* =====================================================
   Correct sleigh direction
   Emoji face left, so the group travels right to left.
   ===================================================== */

.jh-sleigh {
  left: auto !important;
  right: -280px !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0 !important;

  animation-name: jh-sleigh-flight-left !important;
  animation-duration: 9s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

/* Reindeer leads on the left and faces the travel direction */
.jh-sleigh .jh-reindeer {
  order: 1 !important;
  display: inline-block !important;
  transform: none !important;
}

/* Sleigh follows immediately behind on the right */
.jh-sleigh .jh-sleigh-body {
  order: 2 !important;
  display: inline-block !important;
  margin-left: -8px !important;
  margin-right: 0 !important;
  transform: translateY(6px) !important;
}

@keyframes jh-sleigh-flight-left {
  0% {
    transform: translateX(0) translateY(0);
  }

  45% {
    transform:
      translateX(-60vw)
      translateY(-28px);
  }

  100% {
    transform:
      translateX(calc(-100vw - 440px))
      translateY(4px);
  }
}

/* =====================================================
   Java Hut genuine solar milestones
   ===================================================== */

.jh-milestone-celebration {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, .98),
      rgba(247, 243, 234, .97) 60%,
      rgba(237, 231, 218, .97)
    );
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  font-family: Inter, system-ui, sans-serif;
}

.jh-milestone-celebration.is-visible {
  opacity: 1;
}

.jh-milestone-celebration-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  text-align: center;
}

.jh-milestone-kicker {
  margin-bottom: 14px;
  color: #f59c00;
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.jh-milestone-number {
  color: #263845;
  font-size: clamp(100px, 13vw, 220px);
  font-weight: 950;
  line-height: .84;
  letter-spacing: -.065em;
}

.jh-milestone-title {
  margin-top: 26px;
  color: #345882;
  font-size: clamp(25px, 2.5vw, 45px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.jh-milestone-subtitle {
  margin-top: 16px;
  color: #5e6f7c;
  font-size: clamp(17px, 1.5vw, 27px);
  font-weight: 700;
}

.jh-milestone-firework {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  animation: jh-milestone-burst 1.8s ease-out infinite;
}

.jh-milestone-firework::before,
.jh-milestone-firework::after {
  content: "";
  position: absolute;
  inset: -30px;
  border: 4px dotted currentColor;
  border-radius: 50%;
  opacity: .72;
}

.jh-milestone-firework::after {
  inset: -58px;
  opacity: .28;
}

.firework-1 {
  left: 13%;
  top: 20%;
  color: #f59c00;
}

.firework-2 {
  right: 14%;
  top: 23%;
  color: #345882;
  animation-delay: .35s;
}

.firework-3 {
  left: 22%;
  bottom: 18%;
  color: #d3a22e;
  animation-delay: .7s;
}

.firework-4 {
  right: 21%;
  bottom: 20%;
  color: #f59c00;
  animation-delay: 1.05s;
}

@keyframes jh-milestone-burst {
  0% {
    opacity: 0;
    transform: scale(.25);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.jh-milestone-day-badge {
  display: block;
  width: fit-content;
  margin: 9px auto 0;
  padding: 7px 12px;
  border: 1px solid rgba(245, 156, 0, .28);
  border-radius: 999px;
  background: rgba(245, 156, 0, .09);
  color: #345882;
  font-size: clamp(11px, .8vw, 14px);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.jh-daily-record-chip {
  border-color: rgba(245, 156, 0, .38) !important;
  box-shadow:
    0 0 0 2px rgba(245, 156, 0, .08),
    0 8px 24px rgba(245, 156, 0, .08) !important;
}

.jh-record-label {
  color: #f59c00;
  font-size: clamp(11px, .75vw, 14px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.jh-record-value {
  margin-top: 10px;
  color: #263845;
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 900;
}

.jh-record-caption {
  margin-top: 4px;
  color: #61717d;
  font-size: clamp(11px, .75vw, 14px);
  font-weight: 700;
}

/* =====================================================
   Java Hut genuine solar milestones
   ===================================================== */

.jh-milestone-celebration {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 30px;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, .98),
      rgba(247, 243, 234, .97) 60%,
      rgba(237, 231, 218, .97)
    );
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  font-family: Inter, system-ui, sans-serif;
}

.jh-milestone-celebration.is-visible {
  opacity: 1;
}

.jh-milestone-celebration-content {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  text-align: center;
}

.jh-milestone-kicker {
  margin-bottom: 14px;
  color: #f59c00;
  font-size: clamp(14px, 1.1vw, 20px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .18em;
}

.jh-milestone-number {
  color: #263845;
  font-size: clamp(100px, 13vw, 220px);
  font-weight: 950;
  line-height: .84;
  letter-spacing: -.065em;
}

.jh-milestone-title {
  margin-top: 26px;
  color: #345882;
  font-size: clamp(25px, 2.5vw, 45px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.jh-milestone-subtitle {
  margin-top: 16px;
  color: #5e6f7c;
  font-size: clamp(17px, 1.5vw, 27px);
  font-weight: 700;
}

.jh-milestone-firework {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  animation: jh-milestone-burst 1.8s ease-out infinite;
}

.jh-milestone-firework::before,
.jh-milestone-firework::after {
  content: "";
  position: absolute;
  inset: -30px;
  border: 4px dotted currentColor;
  border-radius: 50%;
  opacity: .72;
}

.jh-milestone-firework::after {
  inset: -58px;
  opacity: .28;
}

.firework-1 {
  left: 13%;
  top: 20%;
  color: #f59c00;
}

.firework-2 {
  right: 14%;
  top: 23%;
  color: #345882;
  animation-delay: .35s;
}

.firework-3 {
  left: 22%;
  bottom: 18%;
  color: #d3a22e;
  animation-delay: .7s;
}

.firework-4 {
  right: 21%;
  bottom: 20%;
  color: #f59c00;
  animation-delay: 1.05s;
}

@keyframes jh-milestone-burst {
  0% {
    opacity: 0;
    transform: scale(.25);
  }

  20% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.jh-milestone-day-badge {
  display: block;
  width: fit-content;
  margin: 9px auto 0;
  padding: 7px 12px;
  border: 1px solid rgba(245, 156, 0, .28);
  border-radius: 999px;
  background: rgba(245, 156, 0, .09);
  color: #345882;
  font-size: clamp(11px, .8vw, 14px);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.jh-daily-record-chip {
  border-color: rgba(245, 156, 0, .38) !important;
  box-shadow:
    0 0 0 2px rgba(245, 156, 0, .08),
    0 8px 24px rgba(245, 156, 0, .08) !important;
}

.jh-record-label {
  color: #f59c00;
  font-size: clamp(11px, .75vw, 14px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

.jh-record-value {
  margin-top: 10px;
  color: #263845;
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 900;
}

.jh-record-caption {
  margin-top: 4px;
  color: #61717d;
  font-size: clamp(11px, .75vw, 14px);
  font-weight: 700;
}

/* =====================================================
   Think Solar weather icon family
   ===================================================== */

.minimal-hero.hero-weather-slide .minimal-power {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: clamp(92px, 9.5vh, 128px) !important;
  margin-top: clamp(16px, 1.8vh, 25px) !important;
  margin-bottom: clamp(14px, 1.5vh, 22px) !important;
}

.minimal-hero.hero-weather-slide .minimal-power strong {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 0 !important;
  height: auto !important;

  font-size: 0 !important;
  line-height: 1 !important;
}

.minimal-hero.hero-weather-slide .minimal-power > span {
  display: none !important;
}

.jh-weather-icon {
  display: block !important;

  width: clamp(92px, 7.2vw, 128px) !important;
  height: clamp(92px, 7.2vw, 128px) !important;

  overflow: visible !important;
  filter:
    drop-shadow(0 4px 3px rgba(38, 56, 69, .12))
    drop-shadow(0 9px 12px rgba(38, 56, 69, .08));
}

.jh-sun-rays,
.jh-small-sun {
  fill: #F5A000 !important;
}

.jh-sun-core {
  stroke: rgba(226, 126, 0, .45) !important;
  stroke-width: 2 !important;
}

.jh-cloud-shape {
  stroke: rgba(88, 111, 132, .28) !important;
  stroke-width: 2.5 !important;
  stroke-linejoin: round !important;
}

.jh-rain-drops {
  stroke: rgba(32, 105, 174, .35) !important;
  stroke-width: 1.5 !important;
}

.jh-lightning {
  stroke: rgba(217, 108, 0, .35) !important;
  stroke-width: 2 !important;
  stroke-linejoin: round !important;
}

.jh-fog-lines {
  fill: #839AAF !important;
}

.jh-snowflakes {
  fill: #87BDE8 !important;
}

/* Remove any older weather artwork if accidentally left in the DOM */
.hero-weather-slide .solar-weather-sun,
.hero-weather-slide .solar-sun-icon,
.hero-weather-slide .solid-weather-icon,
.hero-weather-slide .solar-weather-svg {
  display: none !important;
}

/* Keep the new icon visible */
.hero-weather-slide .jh-weather-icon {
  display: block !important;
}

/* Waiting-for-sun hero message */
.minimal-hero.hero-waiting-slide .minimal-power strong {
  font-size: clamp(48px, 5vw, 82px) !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}


/* Final waiting-for-sun hero sizing */
.minimal-hero.hero-waiting-slide .minimal-power strong {
  font-size: clamp(42px, 4vw, 68px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.025em !important;
  white-space: nowrap !important;
}


/* =====================================================
   Java Hut mobile dashboard
   Desktop signage layout remains unchanged
   ===================================================== */

@media (max-width: 720px) {

  html,
  body {
    width: 100% !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
  }

  body.signage-page {
    min-height: 100vh !important;
    overflow-y: auto !important;
  }

  .minimal-screen {
    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  .minimal-header {
    min-height: auto !important;
    padding: 18px !important;

    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "java think"
      "live live" !important;

    gap: 12px !important;
    align-items: center !important;
  }

  .java-logo-art {
    grid-area: java !important;
  }

  .java-logo-art img {
    max-width: 120px !important;
    height: auto !important;
  }

  .think-logo {
    grid-area: think !important;
    max-width: 120px !important;
    height: auto !important;
  }

  .live-rooftop {
    grid-area: live !important;
    justify-self: center !important;
    font-size: 11px !important;
  }

  .minimal-hero {
    min-height: 280px !important;
    padding: 34px 18px 26px !important;
  }

  .minimal-hero h1 {
    font-size: 30px !important;
    line-height: 1.1 !important;
  }

  .minimal-hero .minimal-power {
    min-height: 90px !important;
    margin: 12px 0 !important;
  }

  .minimal-hero .minimal-power strong {
    font-size: 72px !important;
    line-height: .95 !important;
  }

  .minimal-hero .minimal-power span {
    font-size: 28px !important;
  }

  .minimal-hero.hero-waiting-slide .minimal-power strong {
    max-width: 90vw !important;
    font-size: 40px !important;
    line-height: 1.05 !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .jh-weather-icon {
    width: 96px !important;
    height: 96px !important;
  }

  .minimal-coffee-band {
    padding: 24px 18px !important;
  }

  .coffee-equivalents {
    gap: 18px !important;
  }

  .coffee-equivalents strong {
    font-size: 44px !important;
  }

  .minimal-metrics {
    padding: 16px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .minimal-metrics > * {
    min-width: 0 !important;
    padding: 16px 10px !important;
  }

  .minimal-metrics span {
    font-size: 9px !important;
  }

  .minimal-metrics strong {
    font-size: 22px !important;
  }

  .minimal-footer {
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    text-align: center !important;
  }

  .minimal-footer strong,
  .minimal-footer span {
    font-size: 10px !important;
  }
}

@media (max-width: 420px) {

  .minimal-metrics {
    grid-template-columns: 1fr !important;
  }

  .java-logo-art img,
  .think-logo {
    max-width: 100px !important;
  }

  .minimal-hero .minimal-power strong {
    font-size: 62px !important;
  }

  .minimal-hero.hero-waiting-slide .minimal-power strong {
    font-size: 34px !important;
  }
}


/* Java Hut mobile fixed-canvas override */
@media (max-width: 720px) {
  html,
  body,
  body.signage-page,
  .screen,
  .minimal-screen {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html,
  body {
    overflow-x: hidden !important;
  }

  .minimal-screen {
    margin: 0 !important;
  }
}

/* =====================================================
   Java Hut mobile structural fix
   Phone only. Signage / desktop remains unchanged.
   ===================================================== */

@media (max-width: 720px) {

  /* Stop using the fixed signage grid on phones */
  .minimal-screen {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
  }

  /* -------------------------
     MOBILE HEADER
     ------------------------- */

  .minimal-header {
    display: grid !important;
    grid-template-columns: 120px minmax(0, 1fr) !important;
    grid-template-areas:
      "java think"
      "live live" !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 16px 18px 14px !important;
    gap: 10px 14px !important;

    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .minimal-header .java-logo-art {
    grid-area: java !important;

    width: 120px !important;
    max-width: 120px !important;
    height: 62px !important;
    min-width: 0 !important;

    justify-self: start !important;
    overflow: visible !important;
  }

  .minimal-header .java-logo-art img {
    width: 54px !important;
    max-width: 54px !important;
    height: auto !important;
  }

  .minimal-header .think-logo {
    grid-area: think !important;

    width: 138px !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 58px !important;

    justify-self: end !important;
    object-fit: contain !important;
  }

  .minimal-header .live-rooftop {
    grid-area: live !important;

    position: static !important;
    top: auto !important;

    justify-self: center !important;

    font-size: 11px !important;
    letter-spacing: .11em !important;
    line-height: 1.2 !important;
  }

  .minimal-header .live-rooftop i {
    width: 8px !important;
    height: 8px !important;
    flex-basis: 8px !important;
    margin-right: 2px !important;
  }

  /* -------------------------
     MAIN CONTENT
     ------------------------- */

  .minimal-hero,
  .minimal-coffee-band,
  .minimal-metrics,
  .minimal-footer {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Metric cards flow naturally above footer */
  .minimal-metrics {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    margin: 0 !important;
    padding: 16px 16px 20px !important;
    gap: 10px !important;

    overflow: visible !important;
  }

  .minimal-metrics article,
  .minimal-status {
    width: auto !important;
    min-width: 0 !important;
    min-height: 94px !important;

    padding: 16px 10px !important;
    box-sizing: border-box !important;
  }

  .minimal-metrics strong,
  .minimal-status strong {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* -------------------------
     FOOTER
     ------------------------- */

  .minimal-footer {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    height: auto !important;
    min-height: 82px !important;

    margin: 0 !important;
    padding: 16px 18px 18px !important;
    gap: 5px !important;

    background: var(--blue) !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .minimal-footer strong,
  .minimal-footer span {
    width: 100% !important;
    margin: 0 !important;

    justify-self: auto !important;
    align-self: auto !important;

    white-space: normal !important;
    text-align: center !important;

    font-size: 10px !important;
    line-height: 1.35 !important;
  }
}

@media (max-width: 420px) {

  .minimal-header {
    grid-template-columns: 100px minmax(0, 1fr) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .minimal-header .java-logo-art {
    width: 100px !important;
    max-width: 100px !important;
  }

  .minimal-header .think-logo {
    width: 125px !important;
  }

  .minimal-metrics {
    grid-template-columns: 1fr 1fr !important;
  }
}


/* =====================================================
   Mobile logo visibility fix
   ===================================================== */

@media (max-width: 720px) {

  .minimal-header {
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;
    padding: 16px 14px 14px !important;
  }

  .minimal-header .java-logo-art {
    width: 100% !important;
    max-width: none !important;
    height: 72px !important;
    min-width: 0 !important;
    overflow: visible !important;
    justify-self: stretch !important;
  }

  .minimal-header .java-logo-art img {
    width: 64px !important;
    max-width: 64px !important;
    height: auto !important;

    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    transform:
      translate(-50%, -50%)
      rotate(-90deg) !important;
  }

  .minimal-header .think-logo {
    width: 100% !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: 64px !important;

    justify-self: end !important;
    object-fit: contain !important;
  }
}

@media (max-width: 420px) {

  .minimal-header .java-logo-art {
    height: 68px !important;
  }

  .minimal-header .java-logo-art img {
    width: 58px !important;
    max-width: 58px !important;
  }

  .minimal-header .think-logo {
    max-width: 135px !important;
  }
}


/* =====================================================
   Mobile header logo correction
   ===================================================== */

@media (max-width: 720px) {

  .minimal-header {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 16px 20px 14px !important;

    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-areas:
      "java think"
      "live live" !important;

    column-gap: 24px !important;
    row-gap: 14px !important;
  }

  .java-logo-art {
    grid-area: java !important;
    width: 100% !important;
    min-width: 0 !important;

    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;

    overflow: visible !important;
  }

  .java-logo-art img {
    display: block !important;
    width: auto !important;
    height: auto !important;

    max-width: 150px !important;
    max-height: 64px !important;

    margin: 0 !important;
    transform: none !important;
  }

  .think-logo {
    grid-area: think !important;
    justify-self: end !important;

    display: block !important;
    width: auto !important;
    height: auto !important;

    max-width: 145px !important;
    max-height: 64px !important;

    margin: 0 !important;
    transform: none !important;
  }

  .live-rooftop {
    grid-area: live !important;
    justify-self: center !important;

    width: auto !important;
    margin: 0 !important;
  }
}

@media (max-width: 420px) {

  .minimal-header {
    padding-left: 16px !important;
    padding-right: 16px !important;
    column-gap: 18px !important;
  }

  .java-logo-art img {
    max-width: 135px !important;
  }

  .think-logo {
    max-width: 130px !important;
  }
}


/* Mobile logo aspect-ratio correction */
@media (max-width: 720px) {

  .java-logo-art img {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
    max-height: none !important;

    object-fit: contain !important;
    object-position: left center !important;

    transform: none !important;
  }

  .think-logo {
    width: 145px !important;
    max-width: 145px !important;
    height: auto !important;
    max-height: none !important;

    object-fit: contain !important;
    transform: none !important;
  }
}

@media (max-width: 420px) {

  .java-logo-art img {
    width: 135px !important;
    max-width: 135px !important;
  }

  .think-logo {
    width: 130px !important;
    max-width: 130px !important;
  }
}

