/* Root & reset */
:root {
  --bg-color: #050608;
  --bg-elevated: #101119;
  --bg-elevated-soft: #171824;
  --accent: #e0b973;
  --accent-soft: rgba(224, 185, 115, 0.12);
  --accent-strong: #ffcf73;
  --text-main: #f5f5f7;
  --text-muted: #9b9cb3;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --chip-bg: rgba(255, 255, 255, 0.05);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 26px 60px rgba(0, 0, 0, 0.55);
}

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

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text-main);
  background: radial-gradient(circle at top left, #1a1b2f 0, #050608 55%);
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

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

body {
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

main {
  padding-top: 80px;
}

/* Header / Nav */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 8, 0.96),
    rgba(5, 6, 8, 0.86),
    transparent
  );
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0, var(--accent-strong), #b37a28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: #050608;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  position: relative;
  padding-block: 0.2rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), var(--accent-strong));
  transition: width 0.25s ease;
}

.nav a:hover {
  color: var(--text-main);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-block: 4px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-open span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle-open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(620px, 90vh);
  display: flex;
  align-items: center;
  padding-block: 4rem 3.5rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 5% 0%,
      rgba(224, 185, 115, 0.2),
      transparent 64%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(109, 168, 255, 0.16),
      transparent 55%
    );
  mix-blend-mode: screen;
  opacity: 0.75;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.2rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.hero-text h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(2.4rem, 3.4vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-subtitle {
  margin: 0;
  color: var(--text-muted);
  max-width: 460px;
  font-size: 0.98rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.1s ease, box-shadow 0.1s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #151515;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.8);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn.full-width {
  width: 100%;
  justify-content: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-meta span {
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panel {
  background: radial-gradient(circle at top left, #202336, #0a0b11);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset-inline: -40%;
  bottom: -50%;
  height: 70%;
  background: radial-gradient(
    circle at center,
    rgba(224, 185, 115, 0.28),
    transparent 60%
  );
  opacity: 0.4;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat-number {
  font-size: 1.4rem;
  font-weight: 600;
}

.hero-stat-label {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.hero-panel-text {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: #d0d2e4;
}

/* Sections */
.section {
  padding-block: 4.2rem;
}

.section:nth-of-type(even) {
  background: radial-gradient(circle at top, #151624 0, #050608 68%);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 2.6rem;
  align-items: flex-start;
}

.section-header {
  text-align: left;
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.section-header h2 {
  margin: 0.4rem 0 0.8rem;
}

.section-intro {
  margin: 0;
  color: var(--text-muted);
}

h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.3vw, 2.1rem);
  line-height: 1.2;
}

p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-top: 0;
}

.about p + p {
  margin-top: 0.9rem;
  color: var(--text-muted);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.card {
  background: linear-gradient(145deg, #161722, #10111a);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.2rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(224, 185, 115, 0.12),
    transparent 58%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Chips */
.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  padding: 0.46rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--chip-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #080910;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.7);
}

.project-image {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.85), transparent 50%);
}

/* Abstract architectural placeholder imagery */
.project-image-1 {
  background-image: linear-gradient(
      130deg,
      rgba(224, 185, 115, 0.75),
      rgba(16, 104, 255, 0.7)
    ),
    url("https://images.pexels.com/photos/323780/pexels-photo-323780.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-image-2 {
  background-image: linear-gradient(
      140deg,
      rgba(0, 0, 0, 0.4),
      rgba(224, 185, 115, 0.7)
    ),
    url("https://images.pexels.com/photos/3803373/pexels-photo-3803373.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-image-3 {
  background-image: linear-gradient(
      130deg,
      rgba(20, 126, 255, 0.7),
      rgba(3, 3, 3, 0.7)
    ),
    url("https://images.pexels.com/photos/37347/office-freelancer-computer-business-37347.jpeg?auto=compress&cs=tinysrgb&w=1200");
}

.project-body {
  padding: 1.05rem 1.05rem 1.15rem;
}

.project-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.project-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */
.contact-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.contact-list li + li {
  margin-top: 0.4rem;
}

.contact-list a {
  color: var(--accent-strong);
}

.contact-form {
  background: linear-gradient(150deg, #141524, #0b0c16);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 6, 10, 0.9);
  color: var(--text-main);
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease;
}

textarea {
  border-radius: 16px;
  min-height: 110px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(155, 156, 179, 0.8);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(224, 185, 115, 0.4);
  background: #050608;
}

.form-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-note a {
  color: var(--accent-strong);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 1.4rem 1.7rem;
  background: radial-gradient(circle at top, #111321 0, #050608 70%);
}

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

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-small {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

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

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

@media (max-width: 720px) {
  .nav {
    position: absolute;
    right: 1.5rem;
    top: 56px;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    background: rgba(5, 6, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96) translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-meta {
    gap: 0.4rem;
  }

  .section {
    padding-block: 3.3rem;
  }

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

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

