:root {
  --bg: #050509;
  --bg-alt: #0b0b12;
  --surface: #15151f;
  --accent: #f4b265;
  --accent-soft: rgba(244, 178, 101, 0.14);
  --text: #f6f6f8;
  --muted: #9a9aad;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.75);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  background: radial-gradient(circle at top left, #151525 0, #050509 52%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 9, 0.9),
    rgba(5, 5, 9, 0.7),
    transparent
  );
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, #25253a, #10101a);
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  position: relative;
  padding-bottom: 0.1rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.18s ease-out;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.hero {
  padding: 5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  gap: 2.5rem;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.hero-subtitle {
  max-width: 30rem;
  color: var(--muted);
  margin: 0 0 1.8rem;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0 0 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.button.primary {
  background: linear-gradient(135deg, #fbd38d, #f4b265);
  color: #222;
  box-shadow: 0 18px 40px rgba(244, 178, 101, 0.35);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(244, 178, 101, 0.5);
}

.button.ghost {
  border-color: var(--border-subtle);
  color: var(--muted);
  background: rgba(15, 15, 25, 0.7);
}

.button.ghost:hover {
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(21, 21, 33, 0.95);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 320px;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, #262642, #10101a);
  box-shadow: var(--shadow-soft);
}

.hero-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.hero-card-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.hero-card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: radial-gradient(circle at top left, #151525, #050509 60%);
}

.section-header {
  max-width: 34rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.6rem;
  font-size: 1.7rem;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.7rem;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.project-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(145deg, #10101a, #151521);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 178, 101, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.project-image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.project-image.placeholder {
  background-image: linear-gradient(
    135deg,
    rgba(244, 178, 101, 0.16),
    rgba(163, 135, 255, 0.12)
  );
}

.project-content {
  padding: 1.3rem 1.35rem 1.25rem;
}

.project-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.project-meta {
  margin: 0 0 0.5rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.project-text {
  margin: 0;
  font-size: 0.95rem;
  color: #d2d2dd;
}

.about-grid {
  display: grid;
  gap: 1.8rem;
}

.about-grid h2 {
  margin: 0;
  font-size: 1.7rem;
}

.about-text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.about-text p {
  margin: 0 0 0.9rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.contact {
  display: grid;
  gap: 1.8rem;
}

.contact-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, #212133, #10101a);
  padding: 1.4rem 1.5rem;
}

.contact-label {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-link {
  display: inline-flex;
  margin-bottom: 0.4rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.02rem;
}

.contact-link:hover {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.contact-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 1.6rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, #10101a, #050509);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-meta {
  opacity: 0.8;
}

@media (min-width: 720px) {
  .hero-inner {
    grid-template-columns: 3fr 2.2fr;
    align-items: center;
  }

  .section {
    padding: 4rem 0;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1.4fr 2fr;
    align-items: start;
  }

  .contact {
    grid-template-columns: 1.4fr 2fr;
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

