/* ============================================================
   WWMV · projects.worldwidemultivision.com — access stub + project stub
   Brand: #001233 navy · #002855 label · #ECEDF0 value · SF Pro
   ============================================================ */

@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/sf-pro-text-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/sf-pro-text-medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/sf-pro-text-semibold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "SF Pro Text";
  src: url("/fonts/sf-pro-text-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --navy-900: #001233;
  --navy-600: #002855;
  --light:    #ECEDF0;
  --pad-x: clamp(28px, 5vw, 100px);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "SF Pro Text", -apple-system, "Segoe UI", sans-serif;
  background: var(--navy-900);
  color: var(--light);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   ACCESS GATE
   ============================================================ */

.layout {
  display: flex;
  min-height: 100vh;
}

/* ---- Left navy panel (60%) ---- */
.panel {
  flex: 0 0 60%;
  min-width: 0;
  background: var(--navy-900);
  padding: var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.panel__logo {
  height: clamp(28px, 4vh, 44px);
  width: auto;
  align-self: flex-start;
}

.panel__body {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vh, 28px);
}

.display {
  font-family: "SF Pro Text", sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 96px);
  line-height: 1.05;
  color: var(--light);
  margin: 0;
  letter-spacing: -0.01em;
}

.sub {
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 400;
  color: var(--light);
  opacity: 0.85;
  margin: 0;
}

/* ---- Field rows (inline label + borderless text input) ---- */
.rows {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2.5vh, 22px);
  margin-top: clamp(8px, 2vh, 16px);
}

.row {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: clamp(16px, 1.6vw, 26px);
}
.row__label { color: var(--navy-600); white-space: nowrap; }

.row__input {
  font-family: "SF Pro Text", sans-serif;
  font-size: inherit;
  color: var(--light);
  background: transparent;
  border: none;
  padding: 0;
  width: 100%;
  min-width: 120px;
}
.row__input::placeholder { color: var(--navy-600); opacity: 0.7; }
.row__input:focus { outline: none; border-bottom: 2px solid var(--navy-600); }

/* ---- Submit + error ---- */
.row--submit {
  align-items: center;
  margin-top: clamp(8px, 2vh, 16px);
}

.submit {
  font-family: "SF Pro Text", sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 22px);
  color: var(--navy-900);
  background: var(--light);
  border: none;
  border-radius: 6px;
  padding: 0.55em 1.4em;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}
.submit:hover { opacity: 0.92; }
.submit:active { transform: translateY(1px); }

.form-error {
  font-size: clamp(13px, 1.2vw, 18px);
  color: #ff7b72;
  min-height: 1.2em;
}

/* ---- Footer email ---- */
.panel__footer { margin-top: clamp(24px, 6vh, 60px); }
.panel__email {
  font-size: clamp(14px, 1.3vw, 20px);
  color: var(--light);
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.panel__email:hover { opacity: 1; text-decoration: underline; }

.panel__ray {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--navy-600);
  letter-spacing: 0.02em;
  font-family: "SF Pro Text", monospace;
}

/* ---- Right sky panel (40%) ---- */
.sky {
  flex: 0 0 40%;
  min-width: 0;
  background: url("/sky.jpg") center / cover no-repeat;
}

/* ============================================================
   PROJECT STUB (TP-VISUAL-05) — solid navy, top + bottom bars only
   ============================================================ */

body.project {
  min-height: 100vh;
  background: var(--navy-900);
}

/* ---- Top bar ---- */
.topbar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 64px);
  padding: clamp(14px, 2.5vh, 24px) var(--pad-x);
  border-bottom: 1px solid rgba(236, 237, 240, 0.08);
}
.topbar__logo {
  height: clamp(22px, 3vh, 36px);
  width: auto;
}
.topbar__meta {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 40px);
  flex: 1 1 auto;
}
.topbar__item {
  font-size: clamp(13px, 1.3vw, 18px);
  color: var(--light);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.topbar__item b { color: rgba(236, 237, 240, 0.62); font-weight: 500; }
.topbar__clock {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  font-size: clamp(13px, 1.3vw, 18px);
  color: var(--light);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#clock-time { font-weight: 600; }

/* ---- Bottom bar ---- */
.botbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 40px);
  padding: clamp(12px, 2vh, 20px) var(--pad-x);
  background: #00102c;
  border-top: 1px solid rgba(236, 237, 240, 0.08);
}
.botbar__item {
  font-size: clamp(12px, 1.2vw, 16px);
  color: var(--light);
  white-space: nowrap;
}
.botbar__item b { color: rgba(236, 237, 240, 0.62); font-weight: 500; }
#eds-status { color: #3fb950; font-weight: 600; }

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {
  .layout { flex-direction: column; }

  .panel {
    flex: 1 0 auto;
    min-height: 62vh;
    justify-content: space-between;
  }
  .display { font-size: 40px; }
  .row { flex-wrap: wrap; font-size: 17px; }

  .sky {
    flex: 0 0 38vh;
    height: 38vh;
  }

  .topbar { flex-wrap: wrap; gap: 8px; }
  .topbar__meta { order: 3; flex-basis: 100%; }
  .topbar__clock { margin-left: auto; }

  .botbar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .botbar__item { white-space: normal; }
}
