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

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

:root {
  --bg:       #0a0a0a;
  --bg2:      #111111;
  --bg3:      #161616;
  --gold:     #C8A97E;
  --gold-dim: #a07d55;
  --text:     #f0f0f0;
  --muted:    #999;
  --border:   #222;
  --radius:   10px;
}

html { scroll-behavior: smooth; }


body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  transition: background 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav-logo svg { width: 52px; height: 52px; }

.nav-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-links a.nav-cta {
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.45rem 1.2rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a.nav-cta:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-burger span {
  display: block;
  width: 32px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  background: #2a2318;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  max-width: 800px;
  transition: transform 0.08s linear;
  will-change: transform;
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1rem;
  color: #ccc;
  font-weight: 300;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0,0,0,0.9);
}

.hero-btn {
  margin-top: 0.5rem;
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
}

.hero-btn:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: lineDown 2s ease-in-out infinite;
}

@keyframes lineDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ── SHARED ── */
section { padding: 7rem 2rem; }

.overline {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-title.left { text-align: left; }

/* ── PROJECTS ── */
.projects { background: var(--bg); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg3);
}

.card-logo-bg {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.card:hover .card-logo-bg { background: #f0f0f0; }

.card-logo-img {
  width: 55%;
  max-height: 50%;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.85;
  transition: transform 0.4s ease, opacity 0.3s;
}

.card:hover .card-logo-img {
  transform: scale(1.06);
  opacity: 0.6;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  transition: opacity 0.3s;
}

.card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 400;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.card-arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200,169,126,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}

/* ── More card ── */
.card-more {
  background: transparent;
  border: 1px solid rgba(200,169,126,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: border-color 0.3s;
}

.card-more:hover { border-color: rgba(200,169,126,0.55); }

.card-more-inner {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.card-more-amp {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  opacity: 0.5;
}

.card-more-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
}

.card-more-sub {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.card-more-btn {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,169,126,0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.card-more-btn:hover { border-color: var(--gold); }

.card:hover .card-arrow { opacity: 1; }

/* ── ABOUT ── */
.about { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-inner .section-title { margin: 0.5rem 0 1.8rem; }

.about-inner p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.1rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.stat { border-left: 1px solid var(--gold-dim); padding-left: 1.5rem; }

.stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ── CLIENTS ── */
.clients {
  background: var(--bg);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.logos-track { overflow: hidden; }

.logos-inner {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scrollLogos 22s linear infinite;
}

.logos-inner img {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.logos-inner img:hover { opacity: 0.75; }

@keyframes scrollLogos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SERVICES ── */
.services {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.services-inner { max-width: 1100px; margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.service-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.6rem;
  transition: border-color 0.3s, transform 0.3s;
}

.service-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.4rem;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── CONTACT ── */
.contact { background: var(--bg); }

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro .section-title { margin: 0.5rem 0 1.2rem; }

.contact-sub {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.25s;
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea { resize: vertical; }

.contact-form button {
  background: transparent;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  border-radius: 6px;
  padding: 0.9rem 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.25s, color 0.25s;
}

.contact-form button:hover {
  background: var(--gold);
  color: #0a0a0a;
}

.form-success {
  color: var(--gold);
  font-size: 0.9rem;
  display: none;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 3rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo svg { width: 26px; height: 26px; }

.footer-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: var(--muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.footer-social a:hover { color: var(--gold); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  max-width: 1100px;
  margin: 1.2rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(6px);
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  max-width: 700px;
  width: 100%;
  position: relative;
  animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-logo-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.modal-logo-wrap img {
  max-width: 60%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.modal-body { padding: 2rem 2.2rem 2.5rem; }

.modal-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.modal-body h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  margin: 0.5rem 0 0.9rem;
}

.modal-body p { color: var(--muted); font-size: 0.97rem; line-height: 1.75; }

.modal-meta {
  margin-top: 1.6rem;
  display: flex;
  gap: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
}

.modal-meta span { display: flex; flex-direction: column; gap: 3px; }
.modal-meta strong { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.modal-meta em { font-style: normal; font-size: 0.92rem; color: var(--text); }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.08);
  color: #aaa;
  font-size: 1.1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.modal-close:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .navbar { padding: 1rem 1.5rem; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.97);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 49;
  }
  .nav-links.open a { font-size: 1.2rem; color: var(--text); }
  .contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 1.2rem; text-align: center; }
  .footer-nav { justify-content: center; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
}

@media (max-width: 700px) {
  section { padding: 4rem 1.2rem; }
  .hero { justify-content: center; padding-top: 80px; background: #2a2318; }
  .hero-video { display: none; }
  .navbar { padding: 1.4rem 1.6rem; }
  .hero-title { font-size: 2.6rem; line-height: 1.15; }
  .hero-sub { font-size: 0.9rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-inner { gap: 2rem; }
  .contact-intro .section-title { font-size: 1.8rem; }
  .modal { margin: 1rem; border-radius: 10px; }
  .modal-body { padding: 1.2rem 1.4rem 1.8rem; }
  .modal-body h2 { font-size: 1.4rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .about-inner { padding: 0 0.5rem; }
  .card-more-inner { padding: 1.2rem; }
}

@media (max-width: 440px) {
  .grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.1rem; }
  .logos-inner { gap: 2.5rem; }
  .logos-inner img { height: 22px; }
}
