/* ============================================================
   Enduro Field Portal — home.css  (the launcher)
   Standalone page. No cross-page transitions, no photo hover.
   ============================================================ */

html, body { height: 100%; overflow: hidden; }

/* ── Outer split card ── */
.app-card {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  width: 90%;
  max-width: var(--max);
  height: 100vh;             /* photo panel is full viewport height */
  overflow: hidden;
  position: relative;
}
.split { display: flex; width: 100%; overflow: hidden; }

/* ── LEFT — content panel ── */
.panel-content {
  flex: 1;
  min-width: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 5;
}

.brand-logo {
  position: absolute;
  top: 0;
  left: clamp(28px, 4.6vw, 58px);
  height: 94px;                 /* nav-height band — logo vertically centred, same as the forms' top nav */
  display: inline-flex;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 100%;
  padding: clamp(81px, 8.1vw, 126px) clamp(28px, 4.6vw, 58px) clamp(28px, 4.6vw, 58px);
  box-sizing: border-box;
  position: relative;
}

.content-col {
  display: flex;
  flex-direction: column;
  width: fit-content;   /* shrink to the headline width → the buttons match the title text */
  max-width: 100%;
  margin-top: 75px;     /* nudge the whole headline + form list down (Radik) */
}

.card-headline {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.card-sub {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.55;
  margin-top: 8px;
}

/* ── Forms launcher ── */
.forms-card { margin-top: clamp(28px, 3.4vw, 46px); width: 100%; }

.forms-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

/* DOUBLE the spacing (was 7px → 14px) */
.form-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

/* White card on white — square, faint drop shadow, no grey stroke */
.form-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 58px;
  padding: 0 18px;
  background: var(--white);
  color: var(--ink);
  border: none;                         /* grey stroke removed */
  box-shadow: 0 1px 2px rgba(16,24,32,0.06),
              0 4px 12px rgba(16,24,32,0.07);   /* very slight — reads as a white card */
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'Inter', Arial, sans-serif;
  transition: box-shadow 0.18s var(--ease-out), transform 0.12s var(--ease-out);
}
.form-btn:not(.disabled):hover {
  transform: translateX(4px);
  box-shadow: 0 2px 4px rgba(16,24,32,0.08),
              0 8px 22px rgba(16,24,32,0.10);
}
.form-btn .arrow {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 10px;
  display: flex;
  align-items: center;
  color: var(--red);
}
.form-btn.disabled {
  background: var(--white);
  color: var(--ink-dim);
  box-shadow: 0 1px 2px rgba(16,24,32,0.04);
  cursor: default;
  pointer-events: none;
}
.form-btn.disabled .arrow { color: var(--ink-faint); }
.form-btn .soon {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--ink-faint);
}

/* ── Help link — bottom-left anchor ── */
.help-link {
  position: absolute;
  bottom: 32px;
  left: calc(clamp(28px, 4.6vw, 58px) + 18px);
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 800;
  color: var(--ink-dim);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s, transform 0.1s;
}
.help-link:hover { color: var(--red); transform: translateX(3px); }

/* ── RIGHT — photo panel (static, no hover) ── */
.panel-photo {
  width: 50%;
  flex: none;
  position: relative;
  overflow: hidden;
  background: #0a0f14;
}
.panel-photo::before {           /* brand gradient depth — not a hover effect */
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,19,23,0.45) 0%, transparent 22%),
    linear-gradient(to top,    rgba(14,19,23,0.62) 0%, transparent 40%);
  z-index: 2;
  pointer-events: none;
}
.panel-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  html, body { overflow: auto; }
  .app-card { flex-direction: column; height: auto; min-height: 88vh; width: 92%; margin: 6vh auto; }
  .split { flex-direction: column; }
  .panel-photo { width: 100%; height: 220px; order: -1; }
  .card-inner { padding: clamp(72px,16vw,96px) 28px 40px; }
  .form-btn { height: 60px; }
  .help-link { position: static; margin-top: 28px; left: auto; }
}
