:root {
  --bg: #060816;
  --bg-soft: #0e1427;
  --panel: rgba(13, 19, 36, 0.78);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(255, 255, 255, 0.09);
  --text: #ebf1ff;
  --muted: #95a3c0;
  --gold: #ffca72;
  --gold-strong: #ffb32c;
  --shadow: 0 30px 80px rgba(2, 6, 23, 0.5);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 202, 114, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 24%),
    linear-gradient(180deg, #050714 0%, #08101f 42%, #050815 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body.site-shell::before,
body.site-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.site-shell::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
}

body.site-shell::after {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 60%);
  opacity: 0.24;
}

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

a,
button,
input,
textarea,
select {
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(11, 16, 32, 0.84));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.soft-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hover-panel {
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.hover-panel::after {
  content: "";
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  height: 7rem;
  width: 7rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 202, 114, 0.2), transparent 68%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}

.hover-panel:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 202, 114, 0.2);
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.5);
}

.hover-panel:hover::after {
  opacity: 1;
  transform: scale(1);
}

.icon-badge,
.icon-badge-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 202, 114, 0.16), rgba(255, 255, 255, 0.04));
  color: #ffe9bf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.icon-badge {
  height: 2.8rem;
  width: 2.8rem;
}

.icon-badge-sm {
  height: 2rem;
  width: 2rem;
  border-radius: 14px;
}

.hover-panel:hover .icon-badge,
.hover-panel:hover .icon-badge-sm {
  transform: translateY(-2px) rotate(-6deg);
  border-color: rgba(255, 202, 114, 0.25);
  box-shadow: 0 12px 28px rgba(255, 179, 44, 0.12);
}

.icon-inline {
  flex: none;
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.action-arrow {
  transition: transform 0.24s ease;
}

.link-inline:hover .action-arrow,
.button-primary:hover .action-arrow,
.button-secondary:hover .action-arrow {
  transform: translateX(3px);
}

.button-primary,
.button-secondary,
.nav-link,
.mobile-nav-link,
.footer-link {
  position: relative;
}

.button-primary,
.button-secondary {
  white-space: nowrap;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, color 0.24s ease, background-color 0.24s ease;
}

.button-primary .icon-inline,
.button-secondary .icon-inline {
  height: 1rem;
  width: 1rem;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #111827;
  padding: 0.85rem 1.3rem;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(255, 179, 44, 0.22);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(255, 179, 44, 0.3);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.85rem 1.3rem;
  font-weight: 700;
}

.button-secondary:hover {
  border-color: rgba(255, 202, 114, 0.5);
  color: #fff5de;
  transform: translateY(-1px);
}

.nav-link,
.mobile-nav-link {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1rem;
}

.nav-link:hover,
.mobile-nav-link:hover,
.footer-link:hover {
  color: #fff4de;
}

.nav-link-active {
  background: rgba(255, 202, 114, 0.14);
  border: 1px solid rgba(255, 202, 114, 0.24);
  color: #fff4de;
}

.mobile-nav-link {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.95rem 1rem;
}

.footer-link {
  color: var(--muted);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.8rem;
  color: #ffe6b8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  height: 0.45rem;
  width: 0.45rem;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255, 202, 114, 0.75);
}

.metric-tile,
.stat-pill,
.tag-pill {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.metric-tile {
  border-radius: 22px;
  padding: 1rem 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.stat-pill,
.tag-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
}

.stat-pill {
  color: #ffe6b8;
}

.tag-pill {
  color: var(--muted);
  font-size: 0.85rem;
}

.quote-mark {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 202, 114, 0.14);
  padding: 0.65rem;
}

.contact-input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.95rem 1rem;
}

.contact-input::placeholder {
  color: #64748b;
}

.contact-input:focus {
  border-color: rgba(255, 202, 114, 0.48);
  box-shadow: 0 0 0 4px rgba(255, 202, 114, 0.08);
  outline: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 202, 114, 0.4);
}

@media (max-width: 767px) {
  .button-primary,
  .button-secondary {
    width: 100%;
  }
}
