
:root {
  --bg: #0b0c0f;
  --bg-soft: #12141a;
  --panel: #171a22;
  --text: #e9e4dc;
  --muted: #a79f94;
  --line: rgba(233, 228, 220, 0.14);
  --accent: #d8174c;
  --accent-soft: rgba(216, 179, 122, 0.16);
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 12, 15, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
  color:#d8174c;
}

.brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color:#d8174c;
  font-size: 0.95rem;
}

.nav-links a:hover,
.lang-switch a:hover {
  color: var(--text);
}

.lang-switch {
  display: flex;
  gap: .45rem;
  color: var(--muted);
  font-size: .85rem;
}

.lang-switch .active {
  color: var(--accent);
}

main {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero {
  display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    text-align: center;
    min-height: 70vh;
    padding: 2rem 0;
}

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

h1, h2, h3 {
  line-height: 1.05;
  margin: 0;
  font-weight: 700;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.8rem);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.045em;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 850px;
  margin: 1.5rem 0 0;
}

.hero-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.hero-placeholder,
.image-placeholder {
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: rgba(233, 228, 220, 0.55);
  background:
    linear-gradient(135deg, rgba(216,179,122,.18), transparent 40%),
    linear-gradient(315deg, rgba(91,124,140,.22), transparent 45%),
    #161820;
  text-align: center;
  padding: 2rem;
}

.hero-placeholder span,
.image-placeholder span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1rem;
  background: rgba(0,0,0,.18);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
  text-align: justify
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin: 0;
}

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

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

.card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  border-radius: 24px;
  overflow: hidden;
}

.card-content {
  padding: 1.35rem;
}

.card p {
  color: var(--muted);
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.project-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.project-row:nth-child(even) .project-media {
  order: 2;
}

.project-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.project-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
}

.actions2 {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.4rem;
  justify-content: center;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 650;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

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

.photo-wall {
  columns: 3 240px;
  column-gap: 1rem;
}

.photo-tile {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
}

.photo-tile .image-placeholder {
  min-height: var(--h, 260px);
}

.footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.page-title {
  padding: 5rem 0 3rem;
}

.page-title p {
  color: var(--muted);
  max-width: 800;
  font-size: 1.15rem;
  text-align: justify;
}

.photo-tile {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
  
}

.photo-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .3s ease;
}

.photo-tile:hover img {
    transform: scale(1.03);
}

.photo-caption {
  padding: 1rem;
}

.photo-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 1rem;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.8),
            rgba(0,0,0,0)
        );

    color: white;
}

.photo-caption h3 {
  font-size: 1.15rem;
  margin: 0;
}

.photo-caption p {
  margin: .35rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.gallery-wall {
  columns: 3 260px;
  column-gap: 1rem;
}

.gallery-image {
  width: 100%;
  display: block;
  margin: 0 0 1rem;
  border-radius: 16px;
  cursor: pointer;
  transition: transform .25s ease, opacity .25s ease;
}

.gallery-image:hover {
  transform: scale(1.015);
  opacity: .9;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 2rem;
  background: rgba(0,0,0,.88);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1400px);
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(0,0,0,.25);
  color: white;
  font-size: 4rem;
  width: 64px;
  height: 96px;
  cursor: pointer;
  z-index: 101;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,.12);
}

.pdf-frame {
  width: 100%;
  min-height: 78vh;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.small-note {
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 840px) {
  .nav {
    min-height: 64px;
    padding: .75rem 0;
    align-items: center;
    flex-direction: row;
  }

  .brand {
    flex-shrink: 0;
  }

  .brand span {
    display: none;
  }

   .nav-links {
    flex-direction: row;
    align-items: center;
    gap: .9rem;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    padding-bottom: .15rem;
  }

  .hero, .project-row {
    grid-template-columns: 1fr;
  }

  .project-row:nth-child(even) .project-media {
    order: initial;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 360px;
  }

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

  .section-head {
    display: block;
  }

  .footer {
    flex-direction: column;
  }
}
