/* Aventura lobby display. Designed on a fixed 1920x1080 stage that is scaled to fit any screen. */
:root {
  --ink: #1b1d1c;
  --paper: #f6f4ef;
  --card: #ffffff;
  --gold: #b2955f;
  --gold-soft: #e9e0cf;
  --slate: #666d69;
  --stone: #ccc9c0;
  --lime: #9dc23b;
  --night: #1f2422;
  --alert: #b3261e;
  --fade: 900ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; }
body { font-family: Roboto, "Segoe UI", Arial, sans-serif; color: var(--ink); cursor: none; }
img { display: block; }

/* ---------- not authorised ---------- */
.locked { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; background: var(--paper); cursor: default; text-align: center; padding: 16px; }
.locked img { width: min(460px, 80vw); }
.locked p { font: 300 28px Jost, sans-serif; }
.locked .small { font-size: 18px; color: var(--slate); }

/* ---------- stage ---------- */
.stage { position: absolute; left: 50%; top: 50%; width: 1920px; height: 1080px; transform-origin: center; overflow: hidden; background: var(--paper); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--fade) ease; background: var(--paper); }
.slide.show { opacity: 1; z-index: 2; }
.slide.dark { background: var(--night); color: #fff; }

.emergency { position: absolute; left: 0; right: 0; bottom: 0; z-index: 9; background: var(--alert); color: #fff; font: 500 40px/1.2 Jost, sans-serif; padding: 22px 80px; text-align: center; letter-spacing: .01em; }
.emergency::before { content: "IMPORTANT  ·  "; font-weight: 500; opacity: .85; }
.has-emergency .slide-body { padding-bottom: 150px; }

/* ---------- shared header ---------- */
.hd { position: absolute; top: 0; left: 0; right: 0; height: 130px; display: flex; align-items: center; justify-content: space-between; padding: 0 80px; z-index: 3; }
.hd-logo { height: 40px; }
.dark .hd-logo, .photo .hd-logo { filter: brightness(0) invert(1); }
.hd-right { font: 300 38px Jost, sans-serif; color: var(--slate); display: flex; gap: 28px; align-items: baseline; }
.dark .hd-right, .photo .hd-right { color: rgba(255,255,255,.85); }
.photo .hd-temp { color: #f0dfb8; }
.hd-temp { color: var(--gold); }
.slide-body { position: absolute; inset: 130px 80px 60px; display: flex; flex-direction: column; }
.kicker { font: 500 26px Jost, sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 22px; }
.kicker::after { content: ""; height: 2px; width: 120px; background: var(--lime); }
h1.title { font: 300 84px/1.08 Jost, sans-serif; margin: 14px 0 40px; letter-spacing: -.005em; }
.muted { color: var(--slate); }
.dark .muted { color: rgba(255,255,255,.65); }
.pre { white-space: pre-line; }

/* ---------- clock ---------- */
.clock { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; background: radial-gradient(ellipse at 50% 30%, #2c3330 0%, var(--night) 70%); }
.clock .logo-big { width: 560px; filter: brightness(0) invert(1); margin-bottom: 70px; opacity: .95; }
.clock .time { font: 200 300px/1 Jost, sans-serif; letter-spacing: -.02em; }
.clock .time small { font-size: 90px; font-weight: 300; margin-left: 20px; color: var(--gold); letter-spacing: .05em; }
.clock .date { font: 300 64px Jost, sans-serif; margin-top: 40px; color: rgba(255,255,255,.85); }
.clock .rule { width: 160px; height: 3px; background: var(--lime); margin-top: 60px; }

/* ---------- welcome / full photo ---------- */
.photo-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: drift 30s ease-out forwards; }
@keyframes drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); }
.photo-text { position: absolute; left: 100px; right: 100px; bottom: 110px; color: #fff; }
.photo-text h1 { font: 300 128px/1.02 Jost, sans-serif; letter-spacing: -.01em; }
.photo-text p { font: 300 46px Jost, sans-serif; margin-top: 18px; color: rgba(255,255,255,.9); }
.photo-text .rule { width: 140px; height: 3px; background: var(--lime); margin-bottom: 34px; }

/* ---------- weather ---------- */
.wx { display: grid; grid-template-columns: 1fr 760px; gap: 60px; flex: 1; min-height: 0; }
.wx.no-radar { grid-template-columns: 1fr; }
.wx-now { display: flex; flex-direction: column; min-height: 0; }
.wx-current { display: flex; align-items: center; gap: 40px; }
.wx-icon-big { font-size: 190px; line-height: 1; }
.wx-temp { font: 200 220px/1 Jost, sans-serif; letter-spacing: -.03em; }
.wx-temp sup { font-size: 90px; vertical-align: top; position: relative; top: 26px; color: var(--gold); }
.wx-cond { font: 400 48px Jost, sans-serif; margin-top: 8px; }
.wx-meta { font-size: 30px; color: var(--slate); margin-top: 14px; display: flex; gap: 36px; flex-wrap: wrap; }
.wx-detail { font-size: 30px; line-height: 1.4; color: var(--slate); margin-top: 26px; max-width: 980px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wx-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: auto; }
.wx-day { background: var(--card); border-radius: 18px; padding: 24px 16px; text-align: center; box-shadow: 0 2px 0 rgba(0,0,0,.04); border-top: 4px solid var(--gold-soft); }
.wx-day:first-child { border-top-color: var(--gold); }
.wx-day .n { font: 500 30px Jost, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.wx-day .i { font-size: 76px; margin: 10px 0; line-height: 1.1; }
.wx-day .t { font: 400 40px Jost, sans-serif; }
.wx-day .t span { color: var(--slate); font-weight: 300; }
.wx-day .p { font-size: 24px; color: #2f6fa3; margin-top: 6px; min-height: 30px; }
.wx-radar { align-self: center; }
.wx-radar-img { border-radius: 22px; overflow: hidden; background: #fff; aspect-ratio: 600 / 550; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.wx-radar-img img { width: 100%; height: 100%; object-fit: contain; }
.wx-radar .lbl { margin-top: 14px; color: var(--slate); font: 400 22px Jost, sans-serif; letter-spacing: .14em; text-transform: uppercase; text-align: center; }

/* ---------- cards: announcements / notices / tips ---------- */
.cards { display: grid; gap: 30px; flex: 1; min-height: 0; align-content: center; padding-bottom: 40px; }
.cards.c1 { grid-template-columns: 1fr; }
.cards.c2 { grid-template-columns: 1fr 1fr; }
.card { background: var(--card); border-radius: 22px; padding: 40px 48px; border-left: 8px solid var(--gold); overflow: hidden; }
.card h2 { font: 400 52px/1.15 Jost, sans-serif; }
.card p { font-size: 34px; line-height: 1.45; color: #3c403e; margin-top: 16px; white-space: pre-line; }
.card .when { font: 500 26px Jost, sans-serif; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.cards.big .card h2 { font-size: 64px; }
.cards.big .card p { font-size: 42px; }
.tip-num { font: 200 72px/1 Jost, sans-serif; color: var(--gold); float: left; margin: 0 28px 0 0; }

/* ---------- meeting ---------- */
.meet { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; flex: 1; }
.cal { background: var(--card); border-radius: 30px; overflow: hidden; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.08); }
.cal .m { background: var(--gold); color: #fff; font: 500 44px Jost, sans-serif; letter-spacing: .25em; padding: 24px 0; text-transform: uppercase; }
.cal .d { font: 200 230px/1.05 Jost, sans-serif; padding: 10px 0 0; }
.cal .w { font: 400 38px Jost, sans-serif; color: var(--slate); padding-bottom: 34px; letter-spacing: .1em; text-transform: uppercase; }
.meet-info .row { display: flex; gap: 30px; align-items: baseline; font: 300 64px/1.2 Jost, sans-serif; margin-bottom: 26px; }
.meet-info .row b { font: 500 26px Jost, sans-serif; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); width: 200px; flex: none; }
.meet-info .details { font-size: 36px; line-height: 1.45; color: var(--slate); margin-top: 30px; white-space: pre-line; max-width: 1100px; }
.countdown { display: inline-block; margin-top: 34px; background: var(--ink); color: #fff; font: 400 32px Jost, sans-serif; padding: 14px 30px; border-radius: 999px; letter-spacing: .05em; }

/* ---------- pet ---------- */
.pet { display: grid; grid-template-columns: 820px 1fr; gap: 90px; align-items: center; flex: 1; min-height: 0; }
.pet-photo { height: 820px; border-radius: 40px; background-size: cover; background-position: center; box-shadow: 0 30px 60px rgba(0,0,0,.15); background-color: var(--gold-soft); }
.pet-name { font: 300 150px/1 Jost, sans-serif; letter-spacing: -.01em; margin: 20px 0 26px; }
.pet-owner { font: 400 40px Jost, sans-serif; color: var(--gold); }
.pet-story { font-size: 40px; line-height: 1.5; color: #3c403e; margin-top: 36px; white-space: pre-line; }
.paw { font-size: 60px; margin-top: 40px; letter-spacing: 20px; opacity: .5; }

/* ---------- events ---------- */
.events { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 28px; flex: 1; min-height: 0; }
.ev { background: var(--card); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.ev-img { height: 200px; background-size: cover; background-position: center; background-color: var(--gold-soft); flex: none; }
.ev-txt { padding: 20px 24px; min-height: 0; overflow: hidden; }
.ev-when { font: 500 22px Jost, sans-serif; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; }
.ev-title { font: 400 32px/1.15 Jost, sans-serif; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-cat { font-size: 21px; color: var(--slate); margin-top: 8px; }
.events.rows1 .ev-img { height: 380px; }
.events.rows1 .ev-title { font-size: 40px; }
.source { position: absolute; right: 0; top: 4px; font-size: 22px; color: var(--slate); }

/* ---------- residents ---------- */
.res { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; text-align: center; }
.res-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; max-width: 1600px; }
.res-names span { font: 300 76px/1.2 Jost, sans-serif; }
.res-names span + span::before { content: "·"; color: var(--lime); margin-right: 40px; }
.res p { font-size: 40px; color: var(--slate); margin-top: 60px; max-width: 1300px; line-height: 1.45; }

/* ---------- open page ---------- */
.open { display: grid; grid-template-columns: 1fr; gap: 80px; flex: 1; align-items: center; min-height: 0; }
.open.with-img { grid-template-columns: 1fr 820px; }
.open-img { height: 760px; border-radius: 30px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.open-body { font-size: 44px; line-height: 1.5; color: #3c403e; white-space: pre-line; }
.open h1.title { margin-bottom: 30px; }
.wx-icon-big svg { width: 210px; height: 210px; }
.wx-day .i svg { width: 88px; height: 88px; margin: 0 auto; display: block; }
.fs-hint { position: fixed; right: 24px; bottom: 24px; z-index: 20; background: rgba(27,29,28,.85); color: #fff; font: 400 18px Roboto, sans-serif; padding: 12px 20px; border-radius: 999px; }
.fs-hint[hidden] { display: none; }
