:root {
  --ink: #181716;
  --muted: #6f6a62;
  --line: #e6dfd5;
  --paper: #fbf8f2;
  --white: #ffffff;
  --accent: #2f6f73;
  --accent-dark: #19494d;
  --gold: #c78d3f;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(24, 23, 22, 0.08);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.site-header nav,
.hero-actions,
.contact-section {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
}

.site-header nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero,
.projects-section,
.contact-section,
footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  min-height: 72vh;
  padding: clamp(70px, 10vw, 120px) 0 56px;
}

.eyebrow,
.project-type {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 500;
  line-height: 0.96;
}

h2 {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p,
.contact-section p,
.project-content p {
  color: var(--muted);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  font-size: 1.12rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 720;
}

.primary {
  background: var(--accent-dark);
  color: var(--white);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: 0 24px 60px rgba(47, 39, 29, 0.12);
}

.hero-panel div {
  padding: 28px;
  background: var(--white);
}

.hero-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.hero-panel span {
  color: var(--muted);
}

.projects-section {
  padding: 46px 0 80px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(47, 39, 29, 0.13);
}

.project-preview {
  display: grid;
  min-height: 150px;
  place-items: center;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.theme-nexora .project-preview {
  background: linear-gradient(135deg, #172235, #b88a44);
}

.theme-vantage .project-preview {
  background: linear-gradient(135deg, #101923, #54c46f);
}

.theme-orion .project-preview {
  background: linear-gradient(135deg, #244236, #d9783d);
}

.theme-aurum .project-preview {
  background: linear-gradient(135deg, #33251f, #c9a45d);
}

.theme-luma .project-preview {
  background: linear-gradient(135deg, #5b3958, #e0926c);
}

.theme-nova .project-preview {
  background: linear-gradient(135deg, #263d66, #69a7a7);
}

.project-content {
  padding: 22px;
}

.project-content p {
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.project-content a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid currentColor;
  color: var(--accent-dark);
  font-weight: 780;
}

.contact-section {
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.contact-section p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-section .primary {
  flex: 0 0 auto;
  background: var(--gold);
  color: var(--ink);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.94rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .projects-section,
  .contact-section,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: 3rem;
  }

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

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