:root {
  --black: #0a0a0a;
  --near-black: #17171a;
  --charcoal: #26262b;
  --dark-gray: #4a4a4f;
  --mid-gray: #767680;
  --light-gray: #d4d4d8;
  --off-white: #f4f4f5;
  --white: #ffffff;
  --border: #e2e2e6;
  --radius: 3px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Libre Franklin', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 3px solid var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-size: 19px;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--mid-gray); font-weight: 400; }

.logo-icon {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 4px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--light-gray);
  font-size: 14.5px;
  font-weight: 500;
}

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

.nav-phone {
  font-weight: 600 !important;
  color: #fff !important;
}

.btn-nav {
  background: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  color: var(--black) !important;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--light-gray); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Hero */
.hero {
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 0 130px;
  text-align: center;
}

.hero-logo {
  width: 190px;
  height: auto;
  margin-bottom: 32px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: var(--light-gray);
  margin: 0 0 16px;
  font-weight: 700;
}
.eyebrow-dark { color: var(--mid-gray); }

.hero h1 {
  font-size: clamp(36px, 5.8vw, 62px);
  margin: 0 0 18px;
  line-height: 1.08;
  max-width: 700px;
}

.hero-sub {
  font-size: 17px;
  color: var(--light-gray);
  margin: 0 0 38px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}
.btn-primary:hover { background: var(--light-gray); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Services */
.services { padding: 90px 0; background: var(--off-white); }
.services h2 { font-size: 32px; text-align: center; margin-bottom: 44px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: #fff;
  padding: 32px 28px;
  border-top: 3px solid var(--black);
}

.service-num {
  display: block;
  font-size: 14px;
  color: var(--mid-gray);
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 19px;
  margin: 0 0 10px;
}

.service-card p {
  margin: 0;
  color: var(--dark-gray);
  font-size: 15px;
}

/* Work gallery */
.work { padding: 90px 0; background: var(--near-black); }
.work h2 { font-size: 32px; text-align: center; margin-bottom: 44px; color: #fff; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  filter: grayscale(35%);
  transition: filter 0.3s ease;
}

.work-grid figure:hover { filter: grayscale(0%); }

.work-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.work-grid figure:hover img { transform: scale(1.05); }

.work-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* Who we are / What we do (split sections) */
.who-we-are, .what-we-do {
  padding: 80px 0;
}
.who-we-are { background: #fff; }
.what-we-do { background: var(--off-white); }

.split-text { max-width: 720px; }
.split-text h2 { font-size: 30px; margin: 0 0 20px; }
.split-text p { color: var(--dark-gray); font-size: 16.5px; margin-bottom: 16px; }

/* Process */
.process { padding: 90px 0; background: var(--black); color: #fff; }
.process h2 { font-size: 32px; text-align: center; margin-bottom: 50px; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.process-step { text-align: center; }

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--black);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 18px;
  margin: 0 0 10px;
}

.process-step p {
  color: var(--light-gray);
  font-size: 14.5px;
  margin: 0;
}

/* Contact */
.contact { padding: 90px 0; background: var(--off-white); text-align: center; }
.contact h2 { font-size: 32px; margin-bottom: 10px; }
.contact > .container > p { color: var(--dark-gray); margin-bottom: 44px; font-size: 16px; }

.contact-details {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.contact-details h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid-gray);
  margin: 0 0 10px;
  font-weight: 600;
}

.contact-details a {
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  font-size: 17px;
}

.contact-details address {
  font-style: normal;
  font-size: 16px;
  color: var(--black);
}

.contact .btn-primary {
  background: var(--black);
  color: #fff;
}
.contact .btn-primary:hover { background: var(--charcoal); }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--mid-gray);
  padding: 40px 0 28px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  font-family: 'Libre Franklin', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo span { color: var(--mid-gray); font-weight: 400; }
.footer-logo .logo-icon { height: 30px; }

.footer-info p { margin: 4px 0; }
.footer-info a { text-decoration: none; color: var(--light-gray); }

.footer-copy {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 28px;
    gap: 18px;
    display: none;
    border-bottom: 3px solid var(--white);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}
