@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --black: #0b0b0c;
  --black-soft: #141416;
  --panel: #1a1a1d;
  --gold: #c9a86a;
  --gold-bright: #e6c98a;
  --cream: #f3ede2;
  --grey: #9a968d;
  --line: rgba(201, 168, 106, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--gold-bright);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1.2em; color: var(--cream); }

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--gold); }

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 1em;
  display: block;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--gold); color: var(--black); }
.btn-solid {
  background: var(--gold);
  color: var(--black);
}
.btn-solid:hover { background: var(--gold-bright); color: var(--black); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
  text-transform: uppercase;
}
.logo small {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.32em;
  color: var(--grey);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--cream);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-toggle { display: none; background: none; border: none; color: var(--gold); font-size: 1.6rem; }

@media (max-width: 780px) {
  .nav-links {
    position: absolute;
    top: 88px; left: 0; right: 0;
    background: var(--black-soft);
    flex-direction: column;
    padding: 1.5rem 24px;
    gap: 1.2rem;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center 30%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.35) 0%, rgba(11,11,12,0.55) 55%, rgba(11,11,12,0.96) 100%);
}
.hero-content { position: relative; z-index: 2; padding-bottom: 6rem; }
.hero-content .container { max-width: 820px; }

.hero-center {
  min-height: 68vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-center::after {
  background: rgba(10, 10, 12, 0.55);
}
.hero-center .hero-content { padding-bottom: 0; }
.hero-center .hero-content .container { max-width: 720px; margin: 0 auto; }
.hero-center h1 {
  font-variant: small-caps;
  letter-spacing: 0.04em;
}
.hero-center .btn { margin: 0; }

.page-hero {
  padding: 9rem 0 4rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero p { max-width: 640px; margin-left: auto; margin-right: auto; color: var(--grey); }
.page-hero-flush { border-bottom: none; padding-bottom: 2rem; }
.section-tight { padding: 2.5rem 0; }

/* ---- Sections ---- */
section { padding: 5.5rem 0; }
.section-alt { background: var(--black-soft); }
.section-header { max-width: 720px; margin-bottom: 3rem; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---- Pillars grid ---- */
.grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.pillar { border-top: 1px solid var(--gold); padding-top: 1.2rem; }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { color: var(--grey); font-size: 0.94rem; margin-bottom: 0; }

/* ---- Process ---- */
.process-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.process-item { display: flex; flex-direction: column; }
.process-item .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--line);
  -webkit-text-stroke: 1px var(--gold);
  color: transparent;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.process-item p { color: var(--grey); font-size: 0.94rem; }
.step-photo { margin-top: auto; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line); flex-shrink: 0; }
.step-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Cards / grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 2rem;
}
.card h3 { margin-bottom: 0.7rem; }
.card p { color: var(--grey); margin-bottom: 0; font-size: 0.94rem; }

/* ---- Video embed ---- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.4rem;
}
.gallery-item { display: block; position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--panel); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.1rem 1rem;
  background: linear-gradient(180deg, rgba(11,11,12,0) 0%, rgba(11,11,12,0.92) 100%);
}
.gallery-caption .cat {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.gallery-caption h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--cream);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 500;
}
.gallery-item .play-icon {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(11,11,12,0.55);
  border: 1px solid var(--gold-bright);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.gallery-item .play-icon::before {
  content: "";
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--gold-bright);
  margin-left: 4px;
}

.filter-bar { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--grey);
  padding: 0.5rem 1.1rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--gold); color: var(--gold-bright); }

/* ---- Case studies ---- */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.case + .case { margin-top: 5rem; }
.case-stats { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.5rem; }
.case-stats div { min-width: 110px; }
.case-stats strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; color: var(--gold-bright); }
.case-stats span { font-size: 0.76rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }

/* ---- Founder split ---- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.framed-photo {
  position: relative;
  padding: 14px;
  border: 1px solid var(--gold);
}
.framed-photo::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.framed-photo img { display: block; width: 100%; }

/* ---- FAQ ---- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.faq-item p { color: var(--grey); margin-bottom: 0; }

/* ---- Audience list ---- */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tag-list span {
  border: 1px solid var(--line);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--grey);
}

/* ---- CTA band ---- */
.cta-band {
  text-align: center;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 0.8rem; }
.cta-band p { color: var(--grey); max-width: 560px; margin: 0 auto 2rem; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1.3rem; }
.form-field label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 0.85rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.94rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.contact-info-item { margin-bottom: 1.6rem; }
.contact-info-item span.label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  text-align: center;
}
.site-footer p { color: var(--grey); font-size: 0.82rem; margin-bottom: 0.4rem; }
.footer-nav { display: flex; justify-content: center; gap: 1.6rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.footer-nav a { font-size: 0.8rem; color: var(--grey); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-nav a:hover { color: var(--gold-bright); }

/* ---- WhatsApp floating button ---- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.wa-float svg { width: 34px; height: 34px; }

/* ---- Video ---- */
.video-frame { border: 1px solid var(--line); background: var(--panel); }
.video-frame video { width: 100%; display: block; }

/* ---- Project tiles ---- */
.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 860px) { .project-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-list { grid-template-columns: 1fr; } }
.project-tile {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--panel);
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}
.project-tile:hover img { transform: scale(1.06); }
.project-tile-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1.6rem 1.1rem 1rem;
  background: linear-gradient(180deg, rgba(11,11,12,0) 0%, rgba(11,11,12,0.92) 100%);
}
.project-tile-text h3 {
  font-family: 'Jost', sans-serif;
  color: var(--cream);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0 0 0.35rem;
}
.project-tile-location {
  display: block;
  color: var(--grey);
  font-size: 0.76rem;
}
.project-tile-type {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  margin-top: 0.15rem;
}
.project-tile-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.project-tile:hover .project-tile-arrow { transform: translateX(4px); }

.project-tile.active { outline: 2px solid var(--gold); outline-offset: -2px; }

.project-detail-container {
  grid-column: 1 / -1;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              margin-top 0.4s ease;
}
.project-detail-container.open {
  opacity: 1;
  margin-top: 0.4rem;
}
.project-detail {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.8rem;
}
.project-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}
.project-detail-header h3 { margin: 0; }
.project-detail-container { scroll-margin-top: 108px; }
.project-detail-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}
.project-detail-close:hover { border-color: var(--gold); }
.project-detail .gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.project-detail-description {
  color: var(--grey);
  max-width: 760px;
  margin: 0 0 1.6rem;
  line-height: 1.6;
}
.project-detail-description p { margin: 0 0 1rem; }
.project-detail-description p:last-child { margin-bottom: 0; }
.project-detail-description h4 {
  color: var(--cream, #fff);
  margin: 1.4rem 0 0.6rem;
  font-size: 1.05rem;
}
.project-detail-description h4:first-child { margin-top: 0; }
.project-detail-description ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.project-detail-description li { margin-bottom: 0.4rem; }
.project-detail-description li:last-child { margin-bottom: 0; }
.project-detail-description strong { color: var(--cream, #fff); }

/* ---- Lightbox ---- */
.lightbox-gallery .gallery-item { cursor: pointer; }
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6, 6, 7, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img,
.lightbox-overlay video {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.lightbox-overlay video { display: none; }
.lightbox-overlay.video-active img { display: none; }
.lightbox-overlay.video-active video { display: block; }
.lightbox-caption {
  position: absolute;
  bottom: 3vh;
  left: 0; right: 0;
  text-align: center;
  color: var(--grey);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  background: none;
  border: 1px solid var(--line);
  color: var(--gold-bright);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); color: var(--gold); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.1rem; }
  .lightbox-close { width: 40px; height: 40px; top: 14px; right: 14px; }
}
