@font-face {
  font-family: "AlteHaasGroteskRegular";
  src: url("fonts/AlteHaasGroteskRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "AlteHaasGrotesk";
  src: url("fonts/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ─── Reset & base ───────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg:         #4a5f52;
  --fg:         #c2d4c9;
  --muted:      #99afa3;
  --border:     #6b7e73;
  --accent:     #d9ede4;
  --card-bg:    rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.08);
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  width: 100%;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  cursor: default;
}

/* ─── Sections ───────────────────────────────────────────────── */
.section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 36px 48px;
}

/* ─── DESKTOP NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 32px;
  left: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 300;
}

.nav-item {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-decoration: none;
  display: inline-block;
  position: relative;
  background: linear-gradient(to right, var(--fg) 50%, var(--muted) 50%);
  background-size: 200% 100%;
  background-position: 100% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  transform: translateX(-12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    background-position 0.45s cubic-bezier(0.77, 0, 0.18, 1);
}

.nav-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.nav-item:hover,
.nav-item.active {
  background-position: 0% center;
}

/* ─── HAMBURGER BUTTON (top-right, mobile only) ───────────────── */
.hamburger {
  display: none;
  position: fixed;
  top: 28px;
  right: 24px;
  z-index: 400;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  width: 36px;
}

.ham-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--fg);
  transform-origin: center;
  transition:
    transform 0.35s cubic-bezier(0.77, 0, 0.18, 1),
    opacity   0.25s ease,
    width     0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.hamburger.open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE OVERLAY ─────────────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 350;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-item {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: clamp(2rem, 12vw, 3.5rem);
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-20px);
  transition:
    color     0.2s ease,
    opacity   0.35s ease,
    transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.mobile-overlay.open .mobile-nav-item {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-item:hover { color: var(--fg); }

/* ─── HOME SECTION ───────────────────────────────────────────── */
.section--home {
  justify-content: center;
  align-items: flex-start;
  padding: 120px 0 0;
  overflow: hidden;
}

/* ─── HERO CONTENT ───────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 36px 60px 36px;
  max-width: 820px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-label {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ─── NAME ───────────────────────────────────────────────────── */
.name {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: clamp(4.5rem, 10vw, 9.5rem);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--fg);
  line-height: 0.9;
  margin-bottom: 32px;
  margin-left: -8px;
}

.hero-tagline {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.9;
  max-width: 380px;
  margin-bottom: 24px;
}

/* ─── HERO CTA ───────────────────────────────────────────────── */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
  background: linear-gradient(to right, var(--fg) 50%, var(--muted) 50%);
  background-size: 200% 100%;
  background-position: 100% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 0.45s cubic-bezier(0.77, 0, 0.18, 1), gap 0.3s ease;
}

.hero-cta:hover {
  background-position: 0% center;
  gap: 14px;
}

.hero-cta svg {
  -webkit-text-fill-color: initial;
  color: var(--muted);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.hero-cta:hover svg {
  color: var(--fg);
  transform: translateY(3px);
}

/* ─── SERVICES STRIP ─────────────────────────────────────────── */
.services-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  z-index: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s;
}

.services-strip.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
}

.service-divider {
  width: 1px;
  height: 44px;
  background: var(--border);
  flex-shrink: 0;
}

.service-num {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--border);
}

.service-name {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: clamp(0.7rem, 1.1vw, 0.85rem);
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.service-item:hover .service-name {
  color: var(--fg);
}

/* ─── Section label ──────────────────────────────────────────── */
.section-label {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

/* ─── SERVICES SECTION ───────────────────────────────────────── */
.section--services {
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 80px;
  gap: 52px;
}

.services-header { }

.services-grid {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}

.service-row:hover {
  padding-left: 12px;
  padding-right: 12px;
  margin-left: -12px;
  margin-right: -12px;
  background: var(--card-bg);
  border-radius: 2px;
}

.service-row__num {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--border);
  padding-top: 4px;
  flex-shrink: 0;
  width: 28px;
}

.service-row__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

@media (min-width: 601px) {
  .service-row__body {
    flex-direction: row;
    align-items: baseline;
    gap: 0;
  }

  .service-row__title {
    flex: 0 0 260px;
  }
}

.service-row__title {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: 0.06em;
  color: var(--fg);
  text-transform: uppercase;
  font-weight: 700;
}

.service-row__desc {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}

/* ─── WORK SECTION ───────────────────────────────────────────── */
.section--work {
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 60px;
  overflow: hidden;
}

.work-header { margin-bottom: 52px; }

.section-title {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--fg);
  line-height: 1.05;
}

/* ─── Client track ───────────────────────────────────────────── */
.clients-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 32px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.clients-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.clients-track {
  display: flex;
  gap: 16px;
  padding: 8px 80px 20px 0;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.clients-track::-webkit-scrollbar { display: none; }

/* ─── Client card ────────────────────────────────────────────── */
.client-card {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 360px);
  scroll-snap-align: start;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  color: var(--fg);
  transition:
    background   0.3s ease,
    border-color 0.3s ease,
    transform    0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  opacity: 0;
  transform: translateY(24px);
}

.client-card.revealed { opacity: 1; transform: translateY(0); }

.client-card:hover {
  background: var(--card-hover);
  border-color: var(--fg);
  transform: translateY(-3px);
}

.client-logo {
  height: 60px;
  display: flex;
  align-items: center;
  color: var(--fg);
}

.client-logo img,
.client-logo svg {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.client-meta { display: flex; flex-direction: column; gap: 4px; }

.client-name {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--fg);
  text-transform: uppercase;
}

.client-type {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.6;
}

.client-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 18px;
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.client-card:hover .client-arrow {
  color: var(--fg);
  transform: translate(2px, -2px);
}

.work-footnote {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 40px;
}
/* ─── CONTACT SECTION ────────────────────────────────────────── */
.section--contact {
  justify-content: space-between;
  padding-bottom: 40px;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: auto;
  margin-bottom: auto;
}

.contact-headline {
  font-family: 'AlteHaasGrotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--fg);
  line-height: 1.05;
}

/* ─── ABOUT BLURB ────────────────────────────────────────────── */
.contact-about {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  letter-spacing: 0.06em;
  color: var(--muted);
  line-height: 1.75;
  max-width: 420px;
}

.contact-email {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
  width: fit-content;
}

.contact-email::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.4s cubic-bezier(0.77, 0, 0.18, 1);
}

.contact-email:hover { color: var(--fg); }
.contact-email:hover::after { width: 100%; }

.contact-links { display: flex; gap: 28px; margin-top: 4px; }

.contact-link {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-link:hover { color: var(--fg); }

.copyright {
  font-family: 'AlteHaasGroteskRegular', sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--border);
  text-transform: uppercase;
  align-self: flex-start;
}

/* ─── MOBILE ─────────────────────────────────────────────────── */
@media (max-width: 600px) {

  .nav            { display: none; }
  .hamburger      { display: flex; }
  .mobile-overlay { display: block; }

  .section        { padding: 80px 24px 40px; }
  .section--home  { padding: 0; justify-content: center; }

  .hero-content {
    padding: 0 24px 60px 24px;
  }

  /* Services strip — 2×2 grid on mobile */
  .services-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
  }

  .service-divider {
    display: none;
  }

  .service-item {
    flex: unset;
    padding: 16px 18px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .name {
    margin-left: -4px;
  }

  .clients-track { gap: 12px; }
  .client-card   { width: min(80vw, 300px); }
  .contact-headline { font-size: clamp(1.8rem, 10vw, 2.6rem); }

  .contact-about {
    font-size: 0.85rem;
  }
}