@font-face {
  font-family: "Archivo Black";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/archivo-black.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/inter.woff2") format("woff2");
}

:root {
  --cream: #f4f1e8;
  --navy: #1a2036;
  --orange: #ff6a1a;
  --orange-dark: #e2570d;
  --muted: #5c6178;
  --card: #ffffff;
  --border: rgba(26, 32, 54, 0.1);
  --radius: 14px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
  font-family: "Archivo Black", "Inter", sans-serif;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

p { margin: 0; }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 232, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-size: 20px;
  color: var(--orange);
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.main-nav a:hover { opacity: 1; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-ghost {
  color: var(--navy);
  opacity: 0.8;
}

.btn-ghost:hover { opacity: 1; }

.nav-cta { white-space: nowrap; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 72px 24px 96px;
}

.eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
}

.hero .accent { color: var(--orange); }

.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-photo {
  justify-self: center;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 24px 48px -18px rgba(26, 32, 54, 0.35);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sections */
.section {
  padding: 72px 24px;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 70ch;
}

/* Capabilities tags */
.tag-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 32px 0 0;
}

.tag-grid li {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Work tools */
.logo-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.logo-grid li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.logo-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -20px rgba(26, 32, 54, 0.35);
}

.logo-grid img {
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

/* Process */
.process-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
}

.process-num {
  display: block;
  color: var(--orange);
  font-family: "Archivo Black", sans-serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.process-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-card p {
  color: var(--muted);
  font-size: 15px;
}

.discovery-cta {
  margin-top: 48px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.discovery-cta h3 {
  font-size: 24px;
  color: #fff;
}

.discovery-cta p {
  color: rgba(244, 241, 232, 0.75);
  max-width: 65ch;
}

.cta-note {
  font-size: 13px;
  color: rgba(244, 241, 232, 0.55);
}

/* Work grid */
.work-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(26, 32, 54, 0.4);
}

.work-tag {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.work-card h3 {
  font-size: 19px;
  text-transform: none;
  margin-bottom: 8px;
}

.work-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Contact */
.contact-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease;
}

a.contact-card:hover { transform: translateY(-4px); }

.contact-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.contact-value {
  font-size: 17px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 48px;
  }
  .hero-actions { justify-content: center; }
  .hero-photo { order: -1; max-width: 260px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .process-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
  }
}
