:root {
  --bg: #050608;
  --bg-alt: #0c0f14;
  --accent: #d6a35a;
  --accent-soft: rgba(214, 163, 90, 0.14);
  --text: #f5f5f5;
  --muted: #a7a9b0;
  --border-subtle: rgba(255, 255, 255, 0.06);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.94), rgba(5, 6, 8, 0.7));
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.5rem;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 10% 0, #2b2f3a 0, #050608 60%);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

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

.brand-name {
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

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

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav a {
  position: relative;
  color: var(--muted);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 180ms ease-out;
}

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

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

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(
      120deg,
      rgba(5, 6, 8, 0.97) 30%,
      rgba(5, 6, 8, 0.7) 55%,
      rgba(5, 6, 8, 0.1) 100%
    ),
    url("https://images.pexels.com/photos/323780/pexels-photo-323780.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size: cover;
  background-position: center;
  color: var(--text);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 0, rgba(214, 163, 90, 0.18), transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 5.5rem 1.5rem 4rem;
  max-width: 640px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

h1 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}

h1 span {
  display: block;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--muted);
}

.hero-text {
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out,
    transform 150ms ease-out, box-shadow 150ms ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #d6a35a, #f4c888);
  color: #1b1309;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.btn-ghost {
  border-color: var(--border-subtle);
  background-color: rgba(12, 15, 20, 0.9);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background-color: rgba(12, 15, 20, 1);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
}

.meta-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
}

.meta-value {
  display: inline-block;
  color: var(--text);
}

.section {
  padding: 4rem 0 3.7rem;
}

.about {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: flex-start;
}

.about p {
  color: var(--muted);
  line-height: 1.7;
}

.about p + p {
  margin-top: 0.9rem;
}

.about-keywords h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
}

.about-keywords ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-keywords li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 0.55rem 0.85rem;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at 0 0, rgba(214, 163, 90, 0.06), transparent 60%);
}

.philosophy {
  background: radial-gradient(circle at 10% 0, rgba(214, 163, 90, 0.08), transparent 60%),
    linear-gradient(to bottom, #050608, #050608);
}

.philosophy-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-start;
}

.philosophy-inner p {
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.7;
}

.projects {
  background-color: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.projects-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.projects-header {
  max-width: 38rem;
}

.projects-text {
  max-width: 32rem;
  color: var(--muted);
  line-height: 1.7;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid var(--border-subtle);
  background-color: #080a10;
  cursor: pointer;
}

.project-image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease-out;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.9), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.project-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.2rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.project-meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.project-title {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0;
}

.project-card:hover .project-image-wrapper img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: min(960px, 100vw - 3rem);
  background: #050608;
  border-radius: 1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
  padding: 0.75rem 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lightbox-close {
  position: absolute;
  bottom: 0.4rem;
  right: 0.6rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(12, 15, 20, 0.96);
  color: var(--muted);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--text);
}

.lightbox-toolbar {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.lightbox-btn {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #0c0f14;
  color: var(--muted);
  padding: 0.15rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.lightbox-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.lightbox-image-frame {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 200ms ease-out;
}

h2 {
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 1rem;
}

.contact {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-start;
}

.contact-inner p {
  color: var(--muted);
  max-width: 26rem;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  min-width: 15rem;
}

.contact-details a:hover {
  color: var(--accent);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
}

.contact-link--whatsapp {
  border-color: rgba(37, 211, 102, 0.6);
}

.contact-link--linkedin {
  border-color: rgba(0, 119, 181, 0.6);
}

.instagram {
  background-color: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

.instagram-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: flex-start;
}

.instagram-text {
  color: var(--muted);
  max-width: 24rem;
  line-height: 1.7;
}

.instagram-text a {
  color: var(--accent);
}

.instagram-text a:hover {
  text-decoration: underline;
}

.instagram-grid {
  width: 100%;
  max-width: 640px;
  display: block;
}

behold-widget {
  display: block;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background-color: #050608;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem 1.8rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-note {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .header-inner {
    padding-inline: 0.2rem;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero-content {
    padding-top: 4.2rem;
    padding-bottom: 3rem;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .philosophy-inner,
  .contact-inner,
  .instagram-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.4rem;
    align-items: flex-start;
  }
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

