/* ============================================================
   LOCAL FONTS — Self-hosted, zero network dependency
   ============================================================ */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500 600;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700 800;
  font-style: normal;
  font-display: block;
}

/* ============================================================
   RESET & TOKENS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #111111;
  --surface:     #1a1a1a;
  --surface2:    #222222;
  --border:      #2e2e2e;
  --orange:      #f5a623;
  --orange-dark: #d48b10;
  --white:       #ffffff;
  --text:        #f0f0f0;
  --muted:       #777777;
  --danger:      #e84040;
  --radius:      14px;

  /*
   * --s = average of 1vw and 1vh — the core scaling unit.
   *
   * Why this works for orientation detection:
   *   Phone portrait  375×812:  vw=3.75, vh=8.12  → --s ≈ 5.9
   *   Tablet portrait 768×1024: vw=7.68, vh=10.24 → --s ≈ 8.96
   *   Tablet landscape 1024×768: vw=10.24, vh=7.68 → --s ≈ 8.96
   *   Phone landscape  812×375: vw=8.12, vh=3.75  → --s ≈ 5.9
   *
   * A tablet in landscape is naturally larger than a phone in landscape,
   * so --s is larger → everything scales up proportionally.
   * No orientation media queries needed.
   */
  --s: calc((1vw + 1vh) * 0.5);

  --header-h: clamp(52px, calc(var(--s) * 5.5), 70px);
  --sp:        clamp(12px, calc(var(--s) * 1.5), 28px);
}

/* ============================================================
   BASE
   ============================================================ */
html { height: 100%; overflow-y: auto; }

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent 0px, transparent 28px,
    rgba(245, 166, 35, 0.025) 28px, rgba(245, 166, 35, 0.025) 30px
  );
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, calc(var(--s) * 2), 36px);
  background: #0a0a0a;
  border-bottom: 3px solid var(--orange);
  z-index: 100;
}

.header .logo svg {
  display: block;
  height: clamp(24px, calc(var(--header-h) * 0.52), 38px);
  width: auto;
}

.header .live-time {
  font-size: clamp(18px, calc(var(--s) * 2.2), 30px);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.05em;
}

/* ============================================================
   SCREENS
   ============================================================ */
.screen {
  position: absolute;
  inset: 0;
  top: var(--header-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp) clamp(16px, calc(var(--s) * 2.5), 48px);
  padding-bottom: max(var(--sp), env(safe-area-inset-bottom));
  z-index: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Landscape on phones: top-align + scroll so nothing is hidden */
@media (orientation: landscape) and (max-height: 500px) {
  .screen {
    justify-content: flex-start;
    padding-top: clamp(10px, calc(var(--s) * 1.2), 16px);
  }
  .greet-heading        { font-size: clamp(22px, calc(var(--s) * 5.5), 42px); margin-bottom: 2px; }
  .greet-eyebrow        { margin-bottom: 2px; }
  .greet-sub            { margin-bottom: clamp(8px, calc(var(--s) * 1), 14px); }
  .id-card              { padding: clamp(10px, calc(var(--s) * 1.2), 16px); }
  .btn-visitor-log      { margin-top: clamp(6px, calc(var(--s) * 0.8), 10px); padding: clamp(9px, calc(var(--s) * 1.1), 14px); }
  .emp-badge            { margin-bottom: clamp(8px, calc(var(--s) * 1), 14px); }
  .action-heading       { font-size: clamp(24px, calc(var(--s) * 5), 44px); }
  .last-event           { margin-bottom: clamp(10px, calc(var(--s) * 1.2), 18px); }
  .confirm-icon         { width: clamp(44px, calc(var(--s) * 6), 64px); height: clamp(44px, calc(var(--s) * 6), 64px); margin-bottom: clamp(8px, calc(var(--s) * 1), 14px); }
  .confirm-title        { font-size: clamp(20px, calc(var(--s) * 3.5), 34px); }
  .confirm-detail       { margin-bottom: clamp(10px, calc(var(--s) * 1.2), 16px); }
  .visitor-form-title   { font-size: clamp(22px, calc(var(--s) * 3.8), 38px); margin-bottom: clamp(8px, calc(var(--s) * 1), 14px); }
  .visitor-form         { gap: clamp(8px, calc(var(--s) * 0.9), 12px); }
  .visitor-detail-avatar { width: clamp(40px, calc(var(--s) * 5.5), 64px); height: clamp(40px, calc(var(--s) * 5.5), 64px); margin-bottom: clamp(6px, calc(var(--s) * 0.8), 12px); }
  .visitor-detail-company { margin-bottom: clamp(8px, calc(var(--s) * 1), 14px); }
  .visitor-detail-times { margin-bottom: clamp(8px, calc(var(--s) * 1), 14px); }
}

/* For non-screen elements like visitor list/empty divs */
[data-hidden] { display: none !important; }

.screen.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* ============================================================
   SCREEN 1 — GREETING
   ============================================================ */
.greet-wrap {
  width: 100%;
  max-width: clamp(300px, 72vw, 580px);
  text-align: center;
  display: flex;
  flex-direction: column;
}

.greet-eyebrow {
  font-size: clamp(10px, calc(var(--s) * 1.1), 14px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(6px, calc(var(--s) * 0.7), 12px);
}

.greet-heading {
  /* vw+vh average means a tablet landscape (large both) gets bigger text
     than a phone landscape (wide but short) */
  font-size: clamp(30px, calc(var(--s) * 6.5), 66px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: clamp(4px, calc(var(--s) * 0.5), 10px);
}

.greet-heading span { color: var(--orange); }

.greet-sub {
  font-size: clamp(12px, calc(var(--s) * 1.3), 16px);
  color: var(--muted);
  margin-bottom: clamp(14px, calc(var(--s) * 2), 32px);
}

.id-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(14px, calc(var(--s) * 1.8), 28px);
  width: 100%;
}

.id-card label {
  display: block;
  font-size: clamp(10px, calc(var(--s) * 1.1), 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(8px, calc(var(--s) * 1), 14px);
}

.input-row {
  display: flex;
  gap: clamp(8px, calc(var(--s) * 1), 14px);
  align-items: stretch;
  width: 100%;
}

.id-input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, calc(var(--s) * 2.8), 34px);
  font-weight: 600;
  padding: clamp(12px, calc(var(--s) * 1.5), 20px) clamp(12px, calc(var(--s) * 1.6), 20px);
  outline: none;
  letter-spacing: 0.1em;
  transition: border-color 0.2s;
}

.id-input:focus        { border-color: var(--orange); }
.id-input::placeholder { color: var(--border); }

.btn-go {
  flex-shrink: 0;
  background: var(--orange);
  color: #111;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(13px, calc(var(--s) * 1.5), 18px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: clamp(12px, calc(var(--s) * 1.5), 20px) clamp(14px, calc(var(--s) * 2.2), 30px);
  cursor: pointer;
  min-width: clamp(60px, calc(var(--s) * 7.5), 96px);
  transition: background 0.15s, transform 0.1s;
}

.btn-go:active   { transform: scale(0.97); background: var(--orange-dark); }
.btn-go:disabled { opacity: 0.5; }

.error-msg {
  margin-top: clamp(8px, calc(var(--s) * 0.9), 14px);
  font-size: clamp(11px, calc(var(--s) * 1.2), 14px);
  color: var(--danger);
  min-height: 18px;
  font-weight: 500;
}

.btn-visitor-log {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(10px, calc(var(--s) * 1.1), 16px);
  width: 100%;
  padding: clamp(12px, calc(var(--s) * 1.5), 18px);
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(12px, calc(var(--s) * 1.3), 16px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-visitor-log:hover,
.btn-visitor-log:active {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(245, 166, 35, 0.05);
}

.btn-visitor-log__icon { font-size: clamp(13px, calc(var(--s) * 1.4), 17px); }

.powered-by {
  margin-top: clamp(16px, calc(var(--s) * 2), 28px);
  font-size: clamp(10px, calc(var(--s) * 1), 12px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--border);
}

/* ============================================================
   SCREEN 2 — ACTION
   ============================================================ */
.action-wrap {
  width: 100%;
  max-width: clamp(300px, 68vw, 540px);
  text-align: center;
}

.emp-badge {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, calc(var(--s) * 1), 14px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: clamp(6px, calc(var(--s) * 0.8), 10px)
           clamp(14px, calc(var(--s) * 1.8), 22px)
           clamp(6px, calc(var(--s) * 0.8), 10px)
           clamp(6px, calc(var(--s) * 0.8), 10px);
  margin-bottom: clamp(14px, calc(var(--s) * 2), 28px);
}

.emp-avatar {
  width: clamp(34px, calc(var(--s) * 4), 50px);
  height: clamp(34px, calc(var(--s) * 4), 50px);
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(13px, calc(var(--s) * 1.6), 19px);
  font-weight: 800;
  flex-shrink: 0;
}

.emp-info .emp-name { font-size: clamp(13px, calc(var(--s) * 1.5), 17px); font-weight: 600; }
.emp-info .emp-id   { font-size: clamp(10px, calc(var(--s) * 1.1), 13px); color: var(--muted); margin-top: 2px; }

.action-status-label {
  font-size: clamp(10px, calc(var(--s) * 1.1), 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: clamp(6px, calc(var(--s) * 0.7), 10px);
}

.action-heading {
  font-size: clamp(36px, calc(var(--s) * 6.2), 68px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: clamp(4px, calc(var(--s) * 0.5), 8px);
}

.action-heading.clock-in  { color: var(--orange); }
.action-heading.clock-out { color: var(--danger); }

.action-divider {
  width: 40px; height: 3px;
  background: var(--border);
  margin: clamp(10px, calc(var(--s) * 1.3), 18px) auto;
}

.last-event {
  font-size: clamp(11px, calc(var(--s) * 1.2), 14px);
  color: var(--muted);
  margin-bottom: clamp(18px, calc(var(--s) * 2.5), 36px);
  line-height: 1.5;
}

.btn-action {
  width: 100%;
  padding: clamp(16px, calc(var(--s) * 2.1), 26px);
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(16px, calc(var(--s) * 2.1), 26px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s;
}

.btn-action:active   { transform: scale(0.98); filter: brightness(0.9); }
.btn-action:disabled { opacity: 0.5; }
.btn-action.clock-in  { background: var(--orange); color: #111; }
.btn-action.clock-out { background: var(--danger);  color: #fff; }

.btn-back {
  margin-top: clamp(8px, calc(var(--s) * 1), 14px);
  width: 100%;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--muted);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(12px, calc(var(--s) * 1.3), 15px);
  padding: clamp(11px, calc(var(--s) * 1.3), 16px);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-back:hover { border-color: var(--muted); color: var(--text); }

/* ============================================================
   SCREEN 3 — CONFIRMATION
   ============================================================ */
.confirm-wrap { text-align: center; }

.confirm-icon {
  width: clamp(60px, calc(var(--s) * 7.5), 96px);
  height: clamp(60px, calc(var(--s) * 7.5), 96px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto clamp(14px, calc(var(--s) * 2), 28px);
  font-size: clamp(24px, calc(var(--s) * 3.2), 42px);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.confirm-icon.in  { background: var(--orange); color: #111; }
.confirm-icon.out { background: var(--danger);  color: #fff; }

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.confirm-title {
  font-size: clamp(26px, calc(var(--s) * 4), 46px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: clamp(6px, calc(var(--s) * 0.8), 12px);
}

.confirm-detail {
  font-size: clamp(13px, calc(var(--s) * 1.4), 17px);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: clamp(22px, calc(var(--s) * 3), 42px);
}

.countdown-ring {
  width: clamp(44px, calc(var(--s) * 5.5), 64px);
  height: clamp(44px, calc(var(--s) * 5.5), 64px);
  margin: 0 auto;
  position: relative;
}

.countdown-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.countdown-ring circle { fill: none; stroke-width: 4; stroke-linecap: round; }
.countdown-ring .track    { stroke: var(--border); }
.countdown-ring .progress { stroke: var(--orange); transition: stroke-dashoffset 1s linear; }

.countdown-ring .num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(15px, calc(var(--s) * 1.9), 22px);
  font-weight: 700;
  color: var(--muted);
}

/* ============================================================
   SCREEN 4 — VISITOR LOG
   ============================================================ */
.visitor-log-wrap {
  width: 100%;
  max-width: clamp(300px, 82vw, 700px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.visitor-log-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(10px, calc(var(--s) * 1.5), 20px);
  flex-shrink: 0;
}

.visitor-log-title {
  font-size: clamp(16px, calc(var(--s) * 2.4), 28px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.btn-back--inline {
  margin-top: 0;
  width: auto;
  padding: clamp(8px, calc(var(--s) * 0.9), 12px) clamp(12px, calc(var(--s) * 1.5), 20px);
  font-size: clamp(11px, calc(var(--s) * 1.2), 14px);
  flex-shrink: 0;
}

.visitor-list {
  flex: 1;
  overflow-y: auto;
  margin-bottom: clamp(8px, calc(var(--s) * 1), 14px);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, calc(var(--s) * 0.8), 10px);
  min-height: 80px;
}

.visitor-list::-webkit-scrollbar { width: 4px; }
.visitor-list::-webkit-scrollbar-track { background: transparent; }
.visitor-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.visitor-row {
  display: flex;
  align-items: center;
  gap: clamp(10px, calc(var(--s) * 1.2), 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: clamp(10px, calc(var(--s) * 1.2), 16px) clamp(12px, calc(var(--s) * 1.4), 18px);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.visitor-row:hover  { border-color: var(--orange); background: rgba(245, 166, 35, 0.04); }
.visitor-row:active { background: rgba(245, 166, 35, 0.08); }

.visitor-row__avatar {
  width: clamp(32px, calc(var(--s) * 3.6), 44px);
  height: clamp(32px, calc(var(--s) * 3.6), 44px);
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(11px, calc(var(--s) * 1.3), 15px);
  font-weight: 700;
  flex-shrink: 0;
}

.visitor-row__avatar.active { background: var(--orange); color: #111; border-color: var(--orange); }

.visitor-row__info { flex: 1; min-width: 0; }

.visitor-row__name {
  font-size: clamp(13px, calc(var(--s) * 1.4), 16px);
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.visitor-row__company {
  font-size: clamp(11px, calc(var(--s) * 1.1), 13px);
  color: var(--muted); margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.visitor-row__status {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
}

.visitor-status-pill {
  font-size: clamp(9px, calc(var(--s) * 1), 11px);
  font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 100px;
}

.visitor-status-pill.in  { background: rgba(245,166,35,0.15); color: var(--orange); }
.visitor-status-pill.out { background: rgba(255,255,255,0.06); color: var(--muted); }

.visitor-row__time {
  font-size: clamp(10px, calc(var(--s) * 1.1), 12px);
  color: var(--muted); letter-spacing: 0.02em;
}

.visitor-list-empty {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: clamp(12px, calc(var(--s) * 1.3), 15px);
  border: 1px dashed var(--border);
  border-radius: 12px;
  margin-bottom: clamp(8px, calc(var(--s) * 1), 14px);
  min-height: 80px;
}
.visitor-list-empty.hidden{
  display: none !important;
}

.btn-add-visitor {
  width: 100%;
  padding: clamp(14px, calc(var(--s) * 1.8), 22px);
  background: var(--orange);
  color: #111;
  border: none;
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(14px, calc(var(--s) * 1.7), 19px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}

.btn-add-visitor:active { transform: scale(0.98); background: var(--orange-dark); }

/* ============================================================
   SCREEN 5 — VISITOR DETAIL
   ============================================================ */
.visitor-detail-wrap {
  width: 100%;
  max-width: clamp(280px, 65vw, 500px);
  text-align: center;
}

.visitor-detail-avatar {
  width: clamp(54px, calc(var(--s) * 7), 88px);
  height: clamp(54px, calc(var(--s) * 7), 88px);
  border-radius: 50%;
  background: var(--orange); color: #111;
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(20px, calc(var(--s) * 2.8), 34px);
  font-weight: 800;
  margin: 0 auto clamp(12px, calc(var(--s) * 1.5), 20px);
}

.visitor-detail-name {
  font-size: clamp(20px, calc(var(--s) * 3.3), 38px);
  font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px;
}

.visitor-detail-company {
  font-size: clamp(12px, calc(var(--s) * 1.3), 15px);
  color: var(--muted);
  margin-bottom: clamp(16px, calc(var(--s) * 2), 28px);
}

.visitor-detail-times {
  display: flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: clamp(12px, calc(var(--s) * 1.8), 24px);
  overflow: hidden;
}

.visitor-time-block {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(12px, calc(var(--s) * 1.7), 22px) clamp(10px, calc(var(--s) * 1.2), 16px);
  gap: 5px;
}

.visitor-time-divider {
  width: 1px; height: 44px;
  background: var(--border); flex-shrink: 0;
}

.visitor-time-label {
  font-size: clamp(9px, calc(var(--s) * 1), 11px);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

.visitor-time-value {
  font-size: clamp(16px, calc(var(--s) * 2.1), 24px);
  font-weight: 700; color: var(--text); letter-spacing: 0.02em;
}

.visitor-time-value.pending {
  color: var(--muted);
  font-size: clamp(12px, calc(var(--s) * 1.3), 15px);
}

/* ============================================================
   SCREEN 6 — ADD VISITOR FORM
   ============================================================ */
.visitor-form-wrap {
  width: 100%;
  max-width: clamp(280px, 72vw, 560px);
}

.visitor-form-title {
  font-size: clamp(28px, calc(var(--s) * 4.5), 54px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: clamp(16px, calc(var(--s) * 2), 28px);
}

.visitor-form {
  display: flex; flex-direction: column;
  gap: clamp(12px, calc(var(--s) * 1.4), 18px);
}

.form-field { display: flex; flex-direction: column; gap: clamp(5px, calc(var(--s) * 0.6), 8px); }

.form-field label {
  font-size: clamp(10px, calc(var(--s) * 1.1), 13px);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}

.form-input {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(15px, calc(var(--s) * 1.8), 20px);
  font-weight: 500;
  padding: clamp(13px, calc(var(--s) * 1.5), 18px) clamp(14px, calc(var(--s) * 1.7), 20px);
  outline: none; transition: border-color 0.2s; width: 100%;
}

.form-input:focus        { border-color: var(--orange); }
.form-input::placeholder { color: var(--border); }