
:root {
  --bg: #050505;
  --bg-soft: #111111;
  --panel: #0f0f0f;
  --panel-strong: #000000;
  --line: rgba(255, 208, 0, 0.22);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --label: #ffd000;
  --topic: #ffd000;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 208, 0, 0.10), transparent 20%),
    linear-gradient(180deg, #000000 0%, var(--bg) 48%, var(--bg-soft) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 208, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 208, 0, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
}

.glow {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}

.glow-a {
  top: -8rem;
  left: -8rem;
  background: rgba(255, 208, 0, 0.22);
}

.glow-b {
  right: -8rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.header,
.page,
.footer {
  width: min(820px, calc(100% - 24px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 0 14px;
  backdrop-filter: blur(16px);
}

.brand,
.nav a,
.contact-card {
  text-decoration: none;
}

.brand {
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  max-width: 28px;
  min-height: 28px;
  max-height: 28px;
  flex: 0 0 28px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-mark {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  max-width: 20px;
  min-height: 20px;
  max-height: 20px;
  flex: 0 0 20px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}


.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  font-size: 0.98rem;
  transition: color 220ms ease, transform 220ms ease;
}

.nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.page {
  padding: 0 0 44px;
}

.section {
  padding-top: 30px;
}

.section-head {
  margin-bottom: 16px;
}

.summary-card,
.project-card,
.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.6vw, 24px);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease, box-shadow 280ms ease, opacity 650ms ease, filter 650ms ease;
}

.summary-card::before,
.project-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 32%);
  pointer-events: none;
}

.summary-card p,
.project-card li {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.85;
}

.eyebrow,
.section-label,
.contact-card span,
.phone-card strong {
  color: var(--label);
}

.eyebrow,
.section-label,
.contact-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

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

.chips span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 0, 0.24);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.chips span:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 208, 0, 0.42);
}

.projects-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.project-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 208, 0, 0.36);
  background: var(--panel-strong);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

.project-card strong,
.contact-card strong {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.project-card ul {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  padding-left: 18px;
}

.contact-card {
  color: var(--text);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(10px);
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 { transition-delay: 90ms; }
.delay-2 { transition-delay: 180ms; }
.delay-3 { transition-delay: 270ms; }

img {
  max-width: 100%;
  height: auto;
}

.brand img,
.footer-brand img {
  width: inherit !important;
  height: inherit !important;
  max-width: inherit !important;
  max-height: inherit !important;
}
