:root {
  --bg: #efeee9;
  --white: #ffffff;
  --ink: #1a1d20;
  --ink-soft: #3c4046;
  --muted: #767b82;
  --dark: #202328;
  --dark-soft: #2b2f35;
  --accent: #f4c400;
  --accent-deep: #ddb100;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(25, 29, 34, 0.12);
  --shadow: 0 24px 70px rgba(18, 21, 25, 0.14);
  --shell: min(1120px, calc(100vw - 56px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: var(--white);
  color: var(--ink);
}

img {
  display: block;
  width: 100%;
}

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

a,
.solution,
.pill-button,
.talk-button,
.cta-card,
.brand img,
.circle-button {
  transition:
    transform 0.32s ease,
    background-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.32s ease,
    border-color 0.28s ease,
    opacity 0.28s ease;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background: #111318;
}

.hero-media,
.hero-overlay,
.cta-background {
  position: absolute;
  inset: 0;
}

.hero-media img,
.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(12, 15, 19, 0.22), rgba(12, 15, 19, 0.44)),
    linear-gradient(90deg, rgba(12, 15, 19, 0.46) 0%, rgba(12, 15, 19, 0.08) 56%, rgba(12, 15, 19, 0.58) 100%);
}

.hero-topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  width: var(--shell);
  margin: 0 auto;
  padding-top: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.brand:hover img {
  transform: rotate(-10deg) scale(1.06);
}

.hero .brand,
.hero .nav a {
  color: var(--white);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav a {
  font-size: 0.92rem;
  opacity: 0.8;
}

.nav a:hover {
  opacity: 1;
}

.talk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 26px;
  background: var(--accent);
  color: #16181c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.talk-button:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  align-items: end;
  min-height: 620px;
  padding: 170px 0 70px;
}

.hero-main {
  color: var(--white);
}

.hero-main h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.hero-title {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-button:hover,
.circle-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(19, 22, 26, 0.18);
}

.pill-light {
  background: var(--white);
  color: var(--ink);
}

.pill-dark {
  background: #23272d;
  color: var(--white);
}

.pill-dark:hover {
  background: #171a1f;
}

.circle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #17191c;
  font-size: 1.3rem;
  font-weight: 800;
}

.hero-side {
  align-self: center;
  color: rgba(255, 255, 255, 0.9);
}

.hero-side p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.stats-bar {
  background: var(--dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
  padding: 26px 0 34px;
}

.stat {
  color: var(--white);
}

.stat-label {
  display: block;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 22px;
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr);
  gap: 54px;
  padding: 86px 0 92px;
  background: var(--white);
}

.intro-main h2,
.project-head h2,
.section-head h2,
.cta-card h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.intro-main h2 {
  max-width: 700px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.16;
}

.intro-main .pill-button {
  margin-top: 28px;
}

.intro-side {
  display: flex;
  align-items: flex-end;
}

.intro-side p,
.project-description,
.project-meta p,
.solution p,
.cta-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.75;
}

.project-feature {
  display: block;
  background: var(--white);
}

.project-center {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.project-copy {
  padding: 48px 56px 40px;
  background: #dce8f9;
}

.project-head {
  display: block;
}

.project-head h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-description {
  max-width: 760px;
  margin-top: 24px;
}

.project-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.project-image img {
  height: 100%;
  object-fit: cover;
}

.solutions {
  padding: 88px 0 92px;
  background: var(--white);
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.solution:hover,
.cta-card:hover {
  transform: translateY(-8px);
}

.solution h3,
.solution h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.solution-image {
  margin-top: 20px;
  overflow: hidden;
}

.solution-image img {
  aspect-ratio: 1.12 / 0.9;
  object-fit: cover;
}

.cta-strip {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.cta-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 20, 0.2);
}

.cta-shell {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: 56px 0 58px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 26px;
  width: min(820px, 100%);
  padding: 46px 42px;
  background: var(--accent);
  color: #131519;
}

.cta-card h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 24px;
  padding: 0 26px;
  border-radius: 999px;
  background: #17191d;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-button:hover {
  transform: translateY(-3px);
  background: #0f1114;
  box-shadow: 0 14px 28px rgba(17, 20, 24, 0.22);
}

.footer {
  background: var(--dark);
  color: var(--white);
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 46px 0 34px;
}

.footer-brand-link {
  color: var(--white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 12px 34px;
  font-size: 0.95rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
}

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

@media (max-width: 1100px) {
  .hero-topbar,
  .hero-content,
  .intro,
  .solutions-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-topbar {
    gap: 18px;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-content {
    min-height: auto;
    padding-top: 120px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .project-feature {
    display: block;
  }

  .project-copy {
    padding: 36px 30px 28px;
  }

  .project-meta {
    grid-template-columns: 1fr;
  }

  .project-image {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 28px, 1000px);
  }

  .hero {
    min-height: auto;
  }

  .hero-topbar {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }

  .talk-button {
    min-height: 52px;
    width: fit-content;
  }

  .hero-content {
    padding: 92px 0 36px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    padding: 20px 0 28px;
  }

  .intro,
  .solutions {
    padding-top: 60px;
    padding-bottom: 62px;
  }

  .cta-shell {
    justify-content: stretch;
    padding: 28px 0;
  }

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

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
