/* ============================================
   SABETI GROWTH — Stylesheet
   ============================================ */

/* ---- Custom Properties ---- */
:root {
  --navy: #1a3050;
  --navy-dark: #0f1f33;
  --navy-light: #2d4a6a;
  --sage: #7d8e6d;
  --sage-light: #a4b590;
  --terracotta: #c07f5a;
  --terracotta-light: #d4a07e;
  --stone: #e8ddd1;
  --stone-light: #f0e8de;
  --cream: #f9f8f5;
  --white: #ffffff;
  --text-primary: #1a2030;
  --text-secondary: #5a6775;
  --text-light: #8a9299;
  --border: #e2ddd6;

  --font-sans: 'Atkinson Hyperlegible Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1140px;
  --nav-height: 72px;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section--stone {
  background-color: var(--stone-light);
}

.section--cream {
  background-color: var(--cream);
}

/* ---- Typography ---- */
.label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 20px;
}

.section__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn--primary {
  background-color: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(26, 48, 80, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 12px 4px;
}

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

.btn--light {
  background-color: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background-color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--large {
  padding: 12px 28px;
  font-size: 15px;
}

.btn svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(249, 248, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.3s var(--ease-smooth);
}

.nav--scrolled {
  background: rgba(249, 248, 245, 0.95);
  box-shadow: 0 1px 0 var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__left {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.nav__logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav__logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease-smooth);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--navy);
  transition: width 0.3s var(--ease-smooth);
}

.nav__link:hover {
  color: var(--navy);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__linkedin {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  transition: color 0.25s var(--ease-smooth);
}

.nav__linkedin:hover {
  color: var(--navy);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all 0.3s var(--ease-smooth);
  transform-origin: center;
}

.nav__hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-smooth);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateY(20px);
  transition: transform 0.4s var(--ease-smooth) 0.1s;
}

.mobile-menu.is-open .mobile-menu__nav {
  transform: translateY(0);
}

.mobile-menu__link {
  font-family: var(--font-sans);
  font-size: 36px;
  color: var(--navy);
  padding: 8px 16px;
  transition: color 0.25s var(--ease-smooth);
}

.mobile-menu__link:hover {
  color: var(--terracotta);
}

.mobile-menu__email {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 24px;
}

.mobile-menu__linkedin {
  color: var(--text-secondary);
  margin-top: 12px;
  transition: color 0.25s var(--ease-smooth);
}

.mobile-menu__linkedin:hover {
  color: var(--navy);
}

/* ---- Hero ---- */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 60px;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__content {
  max-width: 720px;
}


.hero__title {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 580px;
}

.hero__subtitle .hero__link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  background-image: linear-gradient(var(--terracotta), var(--terracotta));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding-bottom: 1px;
}

.hero__subtitle .hero__link:hover {
  background-size: 100% 1.5px;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}

.hero__location svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Client Logos ---- */
.clients {
  padding: 40px 0 80px;
  overflow: hidden;
}

.clients__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 32px;
}

.clients__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.clients__track img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.45);
  transition: filter 0.4s var(--ease-smooth);
}

.clients__track img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Services ---- */
.services {
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.35s var(--ease-smooth);
  background: var(--white);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 48, 80, 0.08);
  border-color: transparent;
}

.service-card__number {
  font-size: 14px;
  font-weight: 700;
  color: var(--terracotta);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 20px;
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ---- Engagement Models ---- */
.engagement__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.engagement-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-smooth);
}

.engagement-card:hover {
  /* hover disabled */
}

.engagement-card--featured {
  background: var(--navy);
  border-color: var(--navy);
}

.engagement-card--featured:hover {
  box-shadow: 0 12px 32px rgba(26, 48, 80, 0.25);
  border-color: var(--navy);
}

.engagement-card--featured .engagement-card__title,
.engagement-card--featured .engagement-card__subtitle,
.engagement-card--featured .engagement-card__body,
.engagement-card--featured .engagement-card__label {
  color: var(--white);
}

.engagement-card--featured .engagement-card__subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.engagement-card--featured .engagement-card__body {
  color: rgba(255, 255, 255, 0.75);
}

.engagement-card--featured .engagement-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.engagement-card__title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.engagement-card__subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.engagement-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 28px;
}

.engagement-card__details {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.engagement-card__detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.engagement-card__detail svg {
  flex-shrink: 0;
  color: var(--text-light);
}

/* ---- Compact Services List ---- */
.services-focus {
  margin-top: 48px;
}

.services-focus__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 28px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}

.services-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.services-list__icon {
  flex-shrink: 0;
  color: var(--sage);
  margin-top: 2px;
}

.services-list__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 4px;
}

.services-list__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ---- Industries ---- */
.services-industries {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.services-industries__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 16px;
}

.services-industries__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Specialties ---- */
.specialties {
  background: var(--stone-light);
}

.specialties__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.tag {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s var(--ease-smooth);
}

.tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ---- Projects ---- */
.projects {
  background: var(--white);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.35s var(--ease-smooth);
  background: var(--white);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 48, 80, 0.08);
  border-color: transparent;
}

.project-card__inner {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.project-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--sage);
  background: rgba(125, 142, 109, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.project-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.project-card__body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
}

.project-card__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 20px;
  display: block;
  font-style: italic;
}

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 56px;
  align-items: start;
}

.about__photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 300px;
  background: var(--stone);
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.about__photo-placeholder span {
  font-family: var(--font-sans);
  font-size: 120px;
  color: rgba(255, 255, 255, 0.15);
}

.about__intro {
  margin-bottom: 20px;
}

.about__intro .section__title {
  margin-bottom: 4px;
}

.about__role {
  font-size: 13px;
  font-weight: 500;
  color: var(--terracotta);
  letter-spacing: 0.04em;
}

.about__bio p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about__bio p:first-child {
  font-size: 18px;
  color: var(--text-primary);
  font-weight: 500;
}

.about__bio p:last-child {
  margin-bottom: 0;
}

.about__bio .about__link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  background-image: linear-gradient(var(--terracotta), var(--terracotta));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
  padding-bottom: 1px;
}

.about__bio .about__link:hover {
  background-size: 100% 1.5px;
}

.about__cta {
  margin-top: 32px;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--navy);
  padding: 100px 0;
  text-align: center;
}

.cta-banner__inner {
  max-width: 640px;
}

.cta-banner__title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.cta-banner__body {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
}

.cta-banner__email {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
}

.cta-banner__email a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-smooth);
}

.cta-banner__email a:hover {
  color: var(--white);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-dark);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__logo span {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.25s var(--ease-smooth);
}

.footer__link:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 24px;
}

.footer__bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ---- Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .section {
    padding: 88px 0;
  }

  .section__title {
    font-size: 34px;
  }

  .hero__title {
    font-size: 44px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    gap: 40px;
  }

  .cta-banner__title {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 64px 0;
  }

  .nav__links,
  .nav__linkedin {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 48px);
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section__title {
    font-size: 30px;
  }

  .section__subtitle {
    font-size: 16px;
  }

  .clients {
    padding: 24px 0 48px;
  }

  .clients__track img {
    height: 24px;
  }

  .clients__track {
    gap: 40px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .engagement__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .engagement-card {
    padding: 28px 24px;
  }

  .services-focus {
    margin-top: 36px;
  }

  .services-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-industries {
    margin-top: 36px;
    padding-top: 36px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__photo {
    max-width: 240px;
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .cta-banner {
    padding: 64px 0;
  }

  .cta-banner__title {
    font-size: 30px;
  }

  .cta-banner__body {
    font-size: 16px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .hero__title {
    font-size: 30px;
  }

  .section__title {
    font-size: 26px;
  }

  .cta-banner__title {
    font-size: 26px;
  }

  .btn--large {
    padding: 12px 22px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
  }
}
