@import url("https://fonts.googleapis.com/css2?family=Teko:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap");

:root {
  --bg: #0d0f12;
  --bg-2: #14181f;
  --panel: #171b22;
  --panel-2: #1d222b;
  --ink: #f5f2ec;
  --muted: #c5bdb0;
  --accent: #d90429;
  --accent-2: #ffb000;
  --outline: rgba(255, 255, 255, 0.08);
  --shadow-1: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius: 14px;
  --radius-lg: 26px;
}

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

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(217, 4, 41, 0.32), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(255, 176, 0, 0.2), transparent 40%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.03) 0%, transparent 45%),
    var(--bg);
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Teko", sans-serif;
  margin: 0 0 1rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

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

.bg {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(13, 15, 18, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem clamp(1.5rem, 6vw, 6.5rem);
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: "Teko", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--ink);
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav a {
  padding: 0.35rem 0.5rem;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--accent);
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.lang-switch a {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lang-switch a.active {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

main {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  padding: 3.5rem clamp(1.5rem, 6vw, 6.5rem) 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.8rem;
  align-items: start;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.tagline {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.lede {
  font-size: 1.05rem;
  max-width: 640px;
}

.hero-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.02), transparent 60%),
    var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-2);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-panel .panel-label {
  color: rgba(255, 255, 255, 0.55);
}

.hero-panel .panel-value {
  color: var(--ink);
}

.panel-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.panel-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.panel-value {
  font-size: 1rem;
  font-weight: 600;
}

.cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 600;
  box-shadow: var(--shadow-1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}

.link {
  font-weight: 600;
  color: var(--accent-2);
  border-bottom: 2px solid rgba(255, 176, 0, 0.3);
  padding-bottom: 0.2rem;
}

.projects {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
}

.card {
  background: var(--panel-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.card h3 {
  color: var(--ink);
}

.card p {
  color: var(--panel-muted, #c8c0b4);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  width: fit-content;
}

.tag-active {
  background: rgba(217, 4, 41, 0.2);
  color: #ffd2d2;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-top: auto;
}

.card-link::after {
  content: "→";
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent-2);
}

.section-link::after {
  content: "→";
}

.updates {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 820px;
}

.updates-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.updates-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.updates-list li {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-1);
}

.updates-list a {
  color: var(--ink);
}

.now {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.now-grid div {
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow-1);
}

.contact {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer {
  padding: 2rem clamp(1.5rem, 6vw, 6.5rem) 3rem;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1200px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0 0 0.6rem;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 3.5rem clamp(1.5rem, 6vw, 6.5rem) 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.7rem;
  color: var(--muted);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.page-section ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav {
    flex-wrap: wrap;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
