/* ─── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --bg:      #111111;
  --card:    #181818;
  --divider: #2A2A2A;
  --text:    #FFFFFF;
  --muted:   rgba(255, 255, 255, 0.5);
  --strong:  rgba(255, 255, 255, 0.8);
  --dim:     #444444;
  --accent:  #D4922A;
  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --px:      60px;
  --r-card:  16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 var(--px);
  background: var(--bg);
}

.nav-brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  transition: opacity 0.15s;
}

.nav-links a:hover { opacity: 0.55; }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--accent);
}

.nav-cta:hover { opacity: 0.7 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 160px var(--px) 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-title {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  max-width: 20ch;
}

.hero-sub {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.15;
  color: var(--muted);
}

/* ─── About ──────────────────────────────────────────────────────────────── */
.about-title {
  letter-spacing: -3px;
  line-height: 0.9;
  max-width: none;
}

.about-bio {
  font-size: 58px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.15;
  color: var(--muted);
}

/* ─── Logo Band ──────────────────────────────────────────────────────────── */
.logo-band {
  padding: 40px var(--px);
}

.logo-row {
  display: inline-flex;
  align-items: center;
  gap: 110px;
}

.client-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.38;
  flex-shrink: 0;
}

/* ─── Shared divider ─────────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--divider);
}

/* ─── Intro ──────────────────────────────────────────────────────────────── */
.section-intro {
  padding: 80px var(--px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.intro-row {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1100px;
}

.intro-body {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.15;
  color: var(--strong);
  flex: 1;
  max-width: 678px;
}

.profile-photo {
  width: 380px;
  height: 480px;
  object-fit: cover;
  border-radius: var(--r-card);
  flex-shrink: 0;
}

/* ─── Capabilities ───────────────────────────────────────────────────────── */
.section-capabilities {
  padding: 80px var(--px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-heading {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
}

.cap-row {
  display: flex;
  gap: 60px;
  padding-top: 28px;
}

.cap-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  flex: 0 0 287px;
  line-height: 1.2;
}

.cap-body {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--muted);
  max-width: 560px;
}

/* ─── Projects ───────────────────────────────────────────────────────────── */
.section-projects {
  padding: 80px;
}

.section-projects--grid {
  padding-top: 0;
}

.project-card {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.project-desc {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -1px;
  color: var(--muted);
}

.project-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.project-image--featured img {
  max-height: 620px;
  object-fit: cover;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-grid .project-image img {
  max-height: 500px;
}

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.section-testimonials {
  padding: 80px var(--px);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimonials-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 24px;
  border-left: 1px solid var(--divider);
}

.tm-quote {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #888888;
  font-style: normal;
}

.tm-attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tm-name {
  font-size: 24px;
  font-weight: 600;
}

.tm-role {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── Contact CTA ────────────────────────────────────────────────────────── */
.section-contact {
  padding: 120px var(--px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-heading {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
}

.contact-services {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -2px;
  line-height: 1.15;
  color: var(--strong);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-start;
  transition: opacity 0.15s;
}

.contact-btn:hover { opacity: 0.85; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px var(--px);
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 900;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-copy {
  font-size: 13px;
  color: var(--dim);
}

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
  .testimonials-row { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --px: 24px; }

  /* Hamburger nav */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-top: 1px solid var(--divider);
    padding-bottom: 8px;
  }

  .nav-links.is-open { display: flex; }

  .nav-links a {
    display: block;
    padding: 16px var(--px);
    border-bottom: 1px solid var(--divider);
    font-size: 16px;
  }

  .nav-links a:last-child { border-bottom: none; }

  .nav-cta {
    padding: 16px var(--px);
    font-size: 16px;
  }

  /* Hero */
  .hero { padding: 60px var(--px) 48px; }
  .hero-title { font-size: 40px; letter-spacing: -1px; }
  .hero-sub   { font-size: 20px; letter-spacing: -1px; }
  .about-bio  { font-size: 22px; letter-spacing: -1px; }

  /* Logo band */
  .logo-band { padding: 32px var(--px); }
  .logo-row  { flex-wrap: wrap; justify-content: flex-start; gap: 20px 36px; }

  /* Intro */
  .section-intro { padding: 60px var(--px); }
  .intro-row { flex-direction: column; gap: 40px; }
  .intro-body { font-size: 24px; letter-spacing: -1px; }
  .profile-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; }

  /* Capabilities */
  .section-capabilities { padding: 60px var(--px); }
  .section-heading { font-size: 28px; }
  .cap-row { flex-direction: column; gap: 12px; padding-top: 20px; }
  .cap-title { font-size: 16px; flex: none; }
  .cap-body  { font-size: 15px; }

  /* Projects */
  .section-projects { padding: 40px var(--px); }
  .section-projects--grid { padding-top: 24px; }

  /* Testimonials */
  .section-testimonials { padding: 60px var(--px); }

  /* Contact */
  .section-contact { padding: 80px var(--px); }
  .contact-heading  { font-size: 36px; }
  .contact-services { font-size: 20px; letter-spacing: -1px; }
  .project-title { font-size: 28px; }
  .project-desc  { font-size: 16px; }
  .tm-quote { font-size: 16px; }
  .tm-name  { font-size: 16px; }

  /* Footer */
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px var(--px);
  }
}
