/* assets/style.css — photo background, frosted glass panel. Palette: #129035, #000000, #FFFFFF */
:root {
  --green: #129035;
  --green-dark: #0e7a2d;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --caps: 'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--serif); color: #fff; background: #0a1411;
  -webkit-font-smoothing: antialiased; font-size: 16px; font-weight: 600;
}
a { color: #fff; }

/* ---- stage ---- */
.stage {
  position: relative; min-height: 100vh; overflow: hidden;
  background: #1a0f08 url('background.jpg') center / cover no-repeat;
}

/* darkening overlay so white text stays readable on the bright photo */
.stage::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.3) 40%, rgba(0,0,0,.38) 100%);
}

.tnav { position: absolute; top: 26px; right: 44px; z-index: 4; display: flex; gap: 34px; }
.tnav a {
  font-family: var(--caps); font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.75); transition: color .15s;
}
.tnav a:hover { color: #fff; }

/* ---- hero text ---- */
.hero { position: absolute; left: 480px; right: 40px; top: 50%; transform: translateY(-50%); z-index: 2; pointer-events: none; }
.hero h2 {
  margin: 0; font-family: var(--caps); font-weight: 600; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 52px); letter-spacing: 1.5px; line-height: 1.1;
  text-shadow: 0 4px 28px rgba(0,0,0,.7);
}
.chev { display: flex; gap: 34px; margin-top: 26px; padding-left: 6px; }
.chev i {
  width: 22px; height: 22px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(45deg); opacity: .9;
}
.chev i:nth-child(2) { opacity: .65; } .chev i:nth-child(3) { opacity: .4; } .chev i:nth-child(4) { opacity: .2; }

/* ---- glass panel ---- */
.glass {
  position: absolute; left: 0; top: 0; bottom: 0; width: 390px; z-index: 3;
  display: flex; flex-direction: column; overflow-y: auto;
  background: linear-gradient(180deg, rgba(20,12,6,.5), rgba(20,12,6,.38));
  -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
  border-right: 1px solid rgba(255,255,255,.18);
  border-radius: 0 46px 46px 0;
  box-shadow: 8px 0 40px rgba(0,0,0,.25);
}
.glass-inner { margin: auto 0; padding: 26px 40px 30px; text-align: center; }
.brand { display: inline-block; line-height: 0; }
.brand img { height: 54px; width: auto; display: block; }

.eyebrow {
  margin-top: 14px; font-family: var(--caps); font-size: 14px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255,255,255,.75);
}
h1.title {
  margin: 10px 0 0; font-family: var(--caps); font-weight: 600; text-transform: uppercase;
  font-size: 25px; line-height: 1.2; letter-spacing: 1.5px;
}
h1.title .dot { color: var(--green); }
.sub { margin: 14px 0 0; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88); }
.sub a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- fields ---- */
form { margin-top: 22px; text-align: left; }
.grid2 { display: block; }
.fld { margin-bottom: 12px; }
.fl { display: block; margin: 0 0 4px 12px; font-size: 13px; color: rgba(255,255,255,.85); }
.pill {
  position: relative; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px 0 10px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38); border-radius: 30px;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.pill:focus-within { background: rgba(255,255,255,.22); border-color: #fff; box-shadow: 0 0 0 3px rgba(18,144,53,.55); }
.ficon {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.85); color: #fff;
}
.ficon svg { width: 16px; height: 16px; }
.pill input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff;
  font: inherit; font-size: 16px; height: 100%;
}
.eye { flex: none; width: 24px; height: 24px; background: none; border: 0; padding: 0; cursor: pointer; color: rgba(255,255,255,.75); display: grid; place-items: center; }
.eye svg { width: 19px; height: 19px; }
.eye:hover, .eye.on { color: #fff; }
.pill input:-webkit-autofill {
  -webkit-text-fill-color: #fff; transition: background-color 9999s ease-out;
}

/* ---- buttons ---- */
.actions { display: flex; flex-direction: column-reverse; gap: 12px; margin-top: 20px; }
.btn {
  display: flex; align-items: center; justify-content: center; height: 46px; width: 100%;
  border-radius: 30px; border: 1px solid transparent; cursor: pointer;
  font-family: var(--caps); font-size: 16px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: background .15s, transform .12s, border-color .15s;
}
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.35); }
.btn.primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn.ghost { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color: #fff; font-size: 14px; }
.btn.ghost:hover { background: #fff; color: #000; }

/* ---- alerts ---- */
.alert { margin: 14px 0 0; padding: 10px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.4; text-align: left; }
.alert.error { background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.5); color: #fff; }
.alert.success, .alert.info { background: rgba(18,144,53,.55); border: 1px solid rgba(255,255,255,.4); color: #fff; }
.alert.info { word-break: break-all; }
.alert a { text-decoration: underline; }

/* ---- dashboard ---- */
.stats { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; text-align: left; }
.stat { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 22px; padding: 9px 18px; }
.stat small { display: block; font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: 1px; text-transform: uppercase; }
.stat b { display: block; font-size: 16px; word-break: break-word; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .hero { display: none; }
  .glass { width: min(100%, 420px); }
}
@media (max-width: 560px) {
  .glass { position: relative; width: 100%; min-height: 100vh; border-radius: 0; border-right: 0; }
  .tnav { top: 16px; right: 18px; gap: 18px; z-index: 5; }
}
