:root {
  color-scheme: dark;
  --bg: #09180f;
  --surface: rgba(16, 26, 19, 0.92);
  --surface-soft: rgba(18, 35, 27, 0.78);
  --text: #f7f4e9;
  --muted: #b8c3a4;
  --accent: #f5d248;
  --accent-strong: #ffeb95;
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.2);
  --radius: 28px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(245, 210, 72, 0.14), transparent 26%),
    radial-gradient(circle at 90% 20%, rgba(255, 235, 149, 0.12), transparent 14%),
    linear-gradient(180deg, #0c2215 0%, #050a05 100%);
  color: var(--text);
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10, 22, 12, 0.85);
  border-bottom: 1px solid rgba(255, 235, 148, 0.12);
}

.inner-width {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-strong);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 6px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 90% 20%, rgba(245, 210, 72, 0.16), transparent 22%),
    radial-gradient(circle at 15% 75%, rgba(255, 235, 149, 0.12), transparent 18%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero h1,
.section-header h2,
.about-grid h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.4rem, 3.5vw, 4rem);
  line-height: 1.02;
}

.hero p,
.section-header p,
.about-item p,
.contact-copy p,
.feature-card p,
.portfolio-card p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 1rem 1.75rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #f5d248, #ffeb95);
  color: #081a09;
}

.button-secondary {
  background: rgba(255, 235, 148, 0.12);
  color: var(--text);
}

.visual-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 235, 148, 0.12), rgba(16, 26, 19, 0.95));
  border: 1px solid rgba(255, 235, 148, 0.16);
  box-shadow: var(--shadow);
}

.visual-badge {
  display: inline-flex;
  margin-bottom: 1.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(245, 210, 72, 0.18);
  color: #fff7d2;
  font-size: 0.85rem;
}

.visual-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  object-fit: cover;
  display: block;
}

.visual-link {
  text-decoration: none;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.visual-link:hover,
.visual-link:focus-visible {
  transform: scale(1.02);
  filter: brightness(1.08);
}

.visual-text {
  margin-top: 1.5rem;
}

.section-overview,
.portfolio,
.about,
.contact {
  padding: 5rem 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.cards-grid,
.portfolio-grid {
  display: grid;
  gap: 1.75rem;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.portfolio-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.feature-card h3,
.portfolio-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-swatch {
  height: 180px;
  border-radius: 22px;
  margin-bottom: 1.4rem;
  background-size: cover;
  background-position: center;
}

.swatch-1 {
  background: linear-gradient(180deg, #f5d248 0%, #3c5028 100%);
}

.swatch-2 {
  background: linear-gradient(180deg, #ffeda4 0%, #1f391f 100%);
}

.swatch-3 {
  background: linear-gradient(180deg, #d6cc88 0%, #0f2916 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about-list {
  display: grid;
  gap: 1rem;
}

.about-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 1.75rem;
}

.about-item strong {
  display: block;
  margin-bottom: 0.75rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(245, 210, 72, 0.28);
  outline-offset: 2px;
  border-color: rgba(245, 210, 72, 0.45);
}

.form-status {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 0;
}

footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 960px) {
  .hero-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-row,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .visual-image {
    height: 240px;
  }
}
