/*
Theme Name: CALGI — Charis Advantage Life Group International
Theme URI: https://calgi.org/
Author: Charis Advantage Life Group International
Author URI: https://calgi.org/
Description: Custom one-page site for Charis Advantage Life Group International (CALGI) — a housing ownership organisation in Benin City, Edo State, helping members buy, build, complete, and finance homes. Adapted from the Rivovia Smart City theme.
Version: 1.0.0
Text Domain: calgi
*/


:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;
  --ink: #14181F;
  --body: #5B6470;
  --body-light: #8891A0;
  --orange: #fe6603;
  --royal-blue: #2b328c;
  --sky: #4FAEE0;
  --teal: #2E9E6B;
  --line: #E4E7EC;
  --line-strong: #D2D7DF;
  --card-shadow: 0 8px 30px rgba(20, 24, 31, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.display {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.14;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  font-family: inherit;
}

::selection {
  background: var(--sky);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--orange);
  display: inline-block;
}

.eyebrow.on-photo {
  color: #DCE8FF;
}

.eyebrow.on-photo::before {
  background: #DCE8FF;
}

/* ---------- NAV ---------- */
header.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

nav.mainnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand .sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--body-light);
  margin-top: 3px;
}

.navlinks {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.navlinks a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  transition: color .2s;
}

.navlinks a:hover {
  color: var(--orange);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: all .2s;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--royal-blue);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: #fff;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-on-photo {
  background: #fff;
  color: var(--royal-blue);
}

.btn-on-photo:hover {
  background: #EAF1FF;
}

.btn-ghost-photo {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost-photo:hover {
  border-color: #fff;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 12.5px;
}

/* ---------- TICKER ---------- */
.ticker {
  background: var(--bg-soft);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid var(--line);
}

.ticker-track {
  display: inline-block;
  padding: 8px 0;
  animation: scroll-left 32s linear infinite;
}

.ticker-track span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--royal-blue);
  font-weight: 600;
  padding-right: 40px;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- HERO (photo) ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  /* TODO: swap in a real photo of CALGI members, homes, or handover events —
     this is a brand-colour placeholder gradient, not a photo of Rivovia or
     anyone else's project. */
  background-image:
    linear-gradient(180deg, rgba(9, 20, 15, 0.30) 0%, rgba(9, 20, 15, 0.20) 35%, rgba(6, 14, 10, 0.86) 100%),
    radial-gradient(circle at 20% 15%, rgba(79, 174, 224, 0.25), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(46, 158, 107, 0.35), transparent 55%),
    linear-gradient(135deg, #0F2E22 0%, #14181F 60%, #0E1A2E 100%);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 70px 0 56px;
}

.hero .wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 68px);
  color: #fff;
  letter-spacing: 0.01em;
  margin: 14px 0 4px;
}

.hero .locline {
  font-size: 15px;
  color: #DCE8FF;
  font-weight: 500;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 16.5px;
  color: #EAF0FF;
  max-width: 540px;
  margin-bottom: 30px;
  opacity: 0.92;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.statbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.statrow {
  display: flex;
  flex-wrap: wrap;
  padding: 22px 0;
}

.stat {
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  color: var(--orange);
  font-weight: 700;
}

.stat .lbl {
  font-size: 11px;
  color: var(--body-light);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 4px;
}

/* ---------- INTRO ---------- */
.intro {
  padding: 72px 0 40px;
}

.intro-head {
  max-width: 680px;
  margin-bottom: 20px;
}

.intro-head h2 {
  font-size: clamp(26px, 3.4vw, 34px);
  margin-top: 10px;
}

.intro-head p {
  color: var(--body);
  margin-top: 14px;
  font-size: 15.5px;
}

.highlight-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 46px 0 8px;
}

@media(max-width:900px) {
  .highlight-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:520px) {
  .highlight-row {
    grid-template-columns: 1fr;
  }
}

.hl-item {
  text-align: left;
}

.hl-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #EAF3FC;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.hl-icon svg {
  width: 22px;
  height: 22px;
  color: var(--sky);
}

.hl-item h3 {
  font-size: 16.5px;
  color: var(--sky);
  margin-bottom: 6px;
}

.hl-item p {
  font-size: 13.5px;
  color: var(--body-light);
  margin: 0;
}

/* ---------- AD BANNER ---------- */
.ad-section {
  padding: 52px 0;
}

.ad-card {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative;
  box-shadow: var(--card-shadow);
}

.ad-card::before {
  content: "AD";
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--body-light);
  border: 1px solid var(--line-strong);
  padding: 2px 6px;
  border-radius: 4px;
  background: #fff;
}

.ad-text {
  max-width: 600px;
}

.ad-text .eyebrow {
  margin-bottom: 10px;
}

.ad-text h3 {
  font-size: 23px;
  margin-bottom: 10px;
}

.ad-text p {
  color: var(--body);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- SECTION GENERIC ---------- */
section {
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin-top: 12px;
}

.section-head p {
  color: var(--body);
  margin-top: 14px;
  font-size: 15px;
}

/* ---------- MEDIA ---------- */
.media-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
}

@media(max-width:900px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}

.player {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 16/9;
  box-shadow: var(--card-shadow);
}

.player-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sky-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #EAF3FC 0%, #F4F8FD 55%, #EDF1F6 100%);
}

.sun {
  position: absolute;
  left: 14%;
  top: 18%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE7B3, #F7C873 70%);
  opacity: .9;
}

.skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 220%;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.skyline .bldg {
  background: #C9D8EC;
  border-top: 2px solid var(--orange);
  flex-shrink: 0;
}

.player.playing .skyline {
  animation: pan-skyline 14s linear infinite;
}

@keyframes pan-skyline {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.player .grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: .5;
}

.player-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 24, 31, 0.12);
  transition: opacity .3s;
}

.player.playing .player-controls {
  background: transparent;
  opacity: 0;
}

.player.playing:hover .player-controls {
  opacity: 1;
  background: rgba(20, 24, 31, 0.1);
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(47, 95, 214, .35);
}

.play-btn svg {
  width: 22px;
  height: 22px;
}

.player-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--body-light);
}

.player-caption .mono {
  color: var(--ink);
}

.slideshow {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  aspect-ratio: 16/9;
  box-shadow: var(--card-shadow);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  display: flex;
  flex-direction: column;
}

.slide.active {
  opacity: 1;
}

.slide .art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.slide .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide .cap {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.slide .cap .mono {
  color: var(--orange);
  font-size: 11px;
}

.slide-nav {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  padding: 0;
}

.dot.active {
  background: var(--orange);
  width: 18px;
  border-radius: 4px;
  transition: all .3s;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-strong);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.slide-arrow.prev {
  left: 10px;
}

.slide-arrow.next {
  right: 10px;
}

/* ---------- PROCESS ---------- */
.process-list {
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 30px;
  color: var(--orange);
  font-weight: 600;
}

.step .num small {
  display: block;
  font-size: 9px;
  letter-spacing: .14em;
  color: var(--body-light);
  font-weight: 400;
  margin-top: 4px;
}

.step h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step p {
  color: var(--body);
  font-size: 14.5px;
  max-width: 560px;
}

.step .tag {
  display: inline-block;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 3px 8px;
  border-radius: 20px;
}

/* ---------- APPLY ---------- */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media(max-width:900px) {
  .track-grid {
    grid-template-columns: 1fr;
  }
}

.track-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s, transform .2s;
  box-shadow: var(--card-shadow);
}

.track-card:hover {
  transform: translateY(-3px);
}

.track-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.track-card .icon svg {
  width: 22px;
  height: 22px;
}

.track-card h3 {
  font-size: 20px;
}

.track-card p {
  color: var(--body);
  font-size: 14px;
  flex: 1;
}

.track-card .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--body-light);
}

.track-card[data-track="buy"] {
  border-top: 3px solid var(--teal);
}

.track-card[data-track="buy"] .icon {
  background: #E6F5EE;
  color: var(--teal);
}

.track-card[data-track="build"] {
  border-top: 3px solid var(--sky);
}

.track-card[data-track="build"] .icon {
  background: #EAF6FC;
  color: var(--sky);
}

.track-card[data-track="loan"] {
  border-top: 3px solid var(--orange);
}

.track-card[data-track="loan"] .icon {
  background: #EAF0FE;
  color: var(--orange);
}

.link-btn {
  background: none;
  border: none;
  color: var(--orange);
  font-size: 12.5px;
  text-decoration: underline;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--royal-blue);
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 30, 0.55);
  backdrop-filter: blur(3px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 100;
  padding: 40px 16px;
  overflow-y: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  width: 100%;
  max-width: 580px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  position: relative;
  margin-top: 20px;
  box-shadow: 0 24px 60px rgba(15, 20, 30, 0.25);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--body-light);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.modal-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.modal-steps span {
  height: 3px;
  flex: 1;
  background: var(--line);
  border-radius: 2px;
}

.modal-steps span.done {
  background: var(--orange);
}

.modal .track-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal h3 {
  font-size: 23px;
  margin-bottom: 6px;
}

.modal .sub {
  color: var(--body);
  font-size: 13.5px;
  margin-bottom: 24px;
}

.qfield {
  margin-bottom: 22px;
}

.qfield label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 10px;
}

.opt-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.opt {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: all .15s;
}

.opt:hover {
  border-color: var(--orange);
}

.opt.selected {
  border-color: var(--orange);
  background: #EAF0FE;
  color: var(--royal-blue);
}

.fld {
  margin-bottom: 16px;
}

.fld label {
  display: block;
  font-size: 12.5px;
  color: var(--body);
  margin-bottom: 6px;
}

.fld input,
.fld select,
.fld textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 14px;
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  border-color: var(--orange);
}

.fld-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media(max-width:480px) {
  .fld-row {
    grid-template-columns: 1fr;
  }
}

.result-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 20px;
  background: var(--bg-soft);
}

.meter {
  height: 6px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  margin: 14px 0 10px;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--orange));
  width: 0%;
  transition: width 1s ease;
}

.result-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.result-badge.strong {
  background: #E6F5EE;
  color: var(--teal);
}

.result-badge.good {
  background: #EAF0FE;
  color: var(--orange);
}

.result-badge.conditional {
  background: #FFF2E5;
  color: #C9781F;
}

.progress-log {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--body);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.progress-log .line {
  opacity: 0;
  transform: translateY(4px);
  animation: fadein .4s forwards;
}

@keyframes fadein {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--orange);
  transition: width 2.4s linear;
}

.accepted-card {
  text-align: center;
  padding: 12px 0;
}

.accepted-card .id {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  color: var(--orange);
  letter-spacing: .06em;
  margin: 14px 0 4px;
}

.alloc {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0;
  text-align: left;
  background: var(--bg-soft);
}

.alloc .k {
  font-size: 11px;
  color: var(--body-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.alloc .v {
  font-size: 15px;
  margin-top: 2px;
  margin-bottom: 12px;
  color: var(--ink);
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 10px;
  flex-wrap: wrap;
}

.err {
  color: #C9781F;
  font-size: 12.5px;
  margin-top: 6px;
  display: none;
}

/* ---------- ACCOUNT ---------- */
.account-box {
  max-width: 460px;
}

.lookup-row {
  display: flex;
  gap: 10px;
}

.lookup-row input {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font-size: 14px;
}

.dashboard {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  max-width: 640px;
  margin-top: 26px;
  background: #fff;
  box-shadow: var(--card-shadow);
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.dash-id {
  font-family: 'JetBrains Mono', monospace;
  color: var(--orange);
  font-size: 13px;
}

.track-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 20px 0;
}

.tl-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-left: 2px solid var(--line-strong);
  margin-left: 9px;
  padding-left: 22px;
  position: relative;
}

.tl-item:last-child {
  border-left: 2px solid transparent;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.tl-item .t-title {
  font-weight: 700;
  font-size: 14px;
}

.tl-item .t-date {
  font-size: 11.5px;
  color: var(--body-light);
  font-family: 'JetBrains Mono', monospace;
}

/* Status stepper states, used by My Account / Member Dashboard */
.tl-item.done {
  border-left-color: var(--teal);
}

.tl-item.done::before {
  background: var(--teal);
}

.tl-item.done .t-title {
  color: var(--teal);
}

.tl-item.active::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(254, 102, 3, .16);
}

.tl-item.active.rejected::before {
  background: #C9781F;
  box-shadow: 0 0 0 4px rgba(201, 120, 31, .16);
}

.tl-item.active.rejected .t-title {
  color: #C9781F;
}

.tl-item.pending::before {
  background: #fff;
  border: 3px solid var(--line-strong);
  box-shadow: none;
}

.tl-item.pending .t-title {
  color: var(--body-light);
}

/* My Account / Member Dashboard extras */
.dash-greet {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--body-light);
  margin: 0;
}

.dash-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--body-light);
  font-weight: 700;
  margin: 24px 0 10px;
}

.notice-panel {
  border-left: 3px solid var(--sky);
  background: var(--bg-soft);
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 18px 0 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
}

.notice-panel.is-approved {
  border-left-color: var(--teal);
}

.notice-panel.is-rejected {
  border-left-color: #C9781F;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-tile {
  flex: 1 1 150px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  text-align: left;
  background: var(--bg-soft);
  cursor: pointer;
  font-family: inherit;
  transition: .15s;
}

.quick-tile:hover {
  border-color: var(--line-strong);
  background: #fff;
  box-shadow: var(--card-shadow);
}

.quick-tile .qt-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.quick-tile .qt-sub {
  display: block;
  font-size: 11.5px;
  color: var(--body-light);
  font-weight: 400;
}

.empty-state {
  color: var(--body);
  font-size: 13.5px;
  margin-top: 14px;
  display: none;
  border: 1px dashed var(--line-strong);
  padding: 16px;
  border-radius: 10px;
}

footer {
  padding: 48px 0 60px;
  background: var(--bg-soft);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
}

footer .fbrand {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 800;
}

footer .floc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--body-light);
  margin-top: 6px;
  letter-spacing: .05em;
}

footer .flinks {
  display: flex;
  gap: 20px;
}

footer .flinks a {
  font-size: 12.5px;
  color: var(--body);
}

footer .flinks a:hover {
  color: var(--orange);
}