﻿:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --surface: #161616;
  --surface-2: #1b1b1b;
  --text: #f8f3e6;
  --muted: #bfb6a3;
  --gold: #d8b25a;
  --gold-strong: #f2ce79;
  --gold-soft: #9f8645;
  --border: #2f281b;
  --border-soft: #262018;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
  --container: min(1160px, 92vw);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% -12%, rgba(216, 178, 90, 0.18), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(216, 178, 90, 0.12), transparent 30%),
    linear-gradient(180deg, #070707 0%, #0a0a0a 56%, #0f0f0f 100%);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.ambient-glow {
  position: fixed;
  inset: -35% auto auto -15%;
  width: 40vw;
  max-width: 520px;
  aspect-ratio: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(216, 178, 90, 0.18), transparent 65%);
  filter: blur(12px);
  z-index: -1;
}

.site-header {
  position: relative;
  padding: 1.15rem 0 5.8rem;
  border-bottom: 1px solid var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.045em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-inline: auto;
  font-size: 0.92rem;
  color: #ddd4c3;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 2rem;
  align-items: center;
  margin-top: 4.8rem;
}

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

.kicker,
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 600;
}

.kicker {
  margin-bottom: 0.95rem;
}

.subtitle {
  max-width: 44ch;
  margin-top: 1rem;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.trust-row {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.trust-row span {
  font-size: 0.78rem;
  padding: 0.34rem 0.58rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  color: #d3cab9;
}

.hero-panel {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid #473a22;
  background:
    linear-gradient(165deg, rgba(216, 178, 90, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.panel-label {
  font-size: 0.78rem;
  color: #dfc488;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.hero-panel h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.metric-grid article {
  background: rgba(15, 15, 15, 0.84);
  border: 1px solid #3a2f1b;
  border-radius: 12px;
  padding: 0.72rem;
}

.metric-grid strong {
  display: block;
  color: var(--gold-strong);
  font-size: 1.06rem;
}

.metric-grid span {
  font-size: 0.78rem;
  color: #c0b69f;
}

.section {
  padding: 5rem 0;
}

.section-head {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.45rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 350px);
  gap: 1rem;
}

.about-layout p {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.3rem;
}

.stack-list {
  display: grid;
  gap: 0.55rem;
}

.stack-list span {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.88rem;
  color: #dfd4bf;
}

.grid {
  display: grid;
  gap: 0.95rem;
}

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

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

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

.card {
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #4b3e28;
}

.card h3 {
  margin-top: 0.15rem;
  margin-bottom: 0.55rem;
}

.card-index {
  font-size: 0.74rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.project {
  display: flex;
  flex-direction: column;
}

.project-banner {
  height: 128px;
  border-radius: 11px;
  margin-bottom: 0.95rem;
  border: 1px solid #433722;
  background-size: cover;
  background-position: center;
}

.project-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center center;
  border-radius: 11px;
  margin-bottom: 0.95rem;
  border: 1px solid #433722;
  background: #0f0f0f;
  display: block;
}

.banner-fit {
  background:
    linear-gradient(160deg, rgba(216, 178, 90, 0.35), rgba(216, 178, 90, 0.06)),
    linear-gradient(45deg, #1f1a12, #0f0f0f);
}

.banner-prime {
  background:
    linear-gradient(160deg, rgba(242, 206, 121, 0.28), rgba(216, 178, 90, 0.08)),
    linear-gradient(45deg, #19140d, #101010);
}

.banner-scale {
  background:
    linear-gradient(160deg, rgba(216, 178, 90, 0.26), rgba(216, 178, 90, 0.06)),
    linear-gradient(45deg, #17130d, #0b0b0b);
}

.project .btn {
  margin-top: auto;
  width: fit-content;
}

.highlight {
  border-color: var(--border);
}

.quote {
  position: relative;
}

.quote::before {
  content: "★★★★★";
  display: block;
  margin-bottom: 0.6rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.quote cite {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--gold-strong);
  font-style: normal;
  font-size: 0.86rem;
}

.cta {
  padding-top: 0.6rem;
}

.cta-box {
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid #4a3c25;
  background:
    radial-gradient(circle at top, rgba(216, 178, 90, 0.2), transparent 48%),
    linear-gradient(180deg, #15120d, #121212);
  padding: clamp(1.6rem, 4vw, 3rem);
}

.cta-box p {
  max-width: 50ch;
  margin: 0.7rem auto 1.35rem;
}

.footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 3.4rem;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.contact a {
  color: var(--gold);
}

.copyright {
  text-align: center;
  font-size: 0.82rem;
  margin-top: 1.6rem;
  color: #9e957f;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0.78rem 1.1rem;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
  color: #17120a;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e2ba62 0%, #f4d88c 100%);
}

.btn-secondary {
  border-color: #3f3320;
  background: rgba(255, 255, 255, 0.01);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-strong);
}

.btn-nav {
  min-height: 40px;
  padding-inline: 0.95rem;
  font-size: 0.84rem;
  border-color: #433620;
  background: rgba(255, 255, 255, 0.02);
  color: #f4ead5;
}

.btn-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

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

.site-header.is-scrolled .nav {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: var(--container);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid #2f2719;
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    margin-top: 3.6rem;
  }

  .hero-panel {
    max-width: 520px;
  }

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

@media (max-width: 820px) {
  .site-header {
    padding-bottom: 4.4rem;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 0.2rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .section {
    padding: 3.8rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .project .btn {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .card {
    transition: none;
    transform: none;
  }
}

