@font-face {
  font-family: 'Graphik';
  font-weight: 400;
  src: url('assets/fonts/Graphik-Regular.otf') format('opentype');
}

@font-face {
  font-family: 'Graphik';
  font-weight: 500;
  src: url('assets/fonts/Graphik-Medium.otf') format('opentype');
}

@font-face {
  font-family: 'Graphik';
  font-weight: 600;
  src: url('assets/fonts/Graphik-Semibold.otf') format('opentype');
}

@font-face {
  font-family: 'Graphik';
  font-weight: 700;
  src: url('assets/fonts/Graphik-Bold.otf') format('opentype');
}

@font-face {
  font-family: 'Graphik';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/Graphik/Graphik-RegularItalic-Web.woff') format('woff');
}

@font-face {
  font-family: 'Graphik';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/Graphik/Graphik-SemiboldItalic-Web.woff') format('woff');
}

* {
  box-sizing: border-box;
}

:root {
  /* Extra side space beyond the 1440px design width, so content stays put while backgrounds go edge to edge. */
  --edge: max(0px, (100% - 1440px) / 2);
}

body {
  margin: 0;
  background: #fff;
  color: #030712;
  font-family: 'Graphik', sans-serif;
}

h1,
h2,
p {
  margin: 0;
}

/* Header */

.site-header {
  display: flex;
  height: 80px;
  padding: 0 calc(var(--edge) + 112px) 0 calc(var(--edge) + 104px);
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  color: #111113;
  font-size: clamp(11px, 1.1vw, 16px);
  font-weight: 500;
  white-space: nowrap;
}

.brand img {
  display: block;
}

.header-button {
  display: inline-flex;
  height: 44px;
  padding: 0 18px;
  align-items: center;
  border-radius: 8px;
  background: #111827;
  box-shadow:
    0 1px 2px rgba(10, 13, 18, 0.05),
    inset 0 -2px 0 rgba(10, 13, 18, 0.05),
    inset 0 0 0 1px rgba(10, 13, 18, 0.18);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

/* Hero */

.hero {
  min-height: 987px;
  padding: 21px calc(var(--edge) + 32px) 40px;
  background: url('img/hero.png') center / cover no-repeat;
}

.hero-inner {
  display: flex;
  padding: 80px 0;
  align-items: flex-start;
  justify-content: space-between;
}

.hero-text {
  display: flex;
  min-height: 412px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.hero h1 {
  max-width: 588px;
  font-size: 96px;
  font-weight: 400;
  line-height: 98px;
  letter-spacing: -2.4px;
}

.hero-text p {
  max-width: 620px;
  font-size: 18px;
  line-height: 24px;
}

.journey {
  position: relative;
  width: 677px;
  height: 810px;
  flex: none;
  border-radius: 12px;
}

.journey-content {
  position: absolute;
  top: 42px;
  left: -1px;
  display: flex;
  width: 678px;
  height: 563px;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.journey-tab {
  display: flex;
  padding: 16px 0 24px 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid #d1d5db;
  color: inherit;
  text-decoration: none;
}

.journey-copy {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 4px;
}

.journey-copy-narrow {
  max-width: 565px;
}

.journey-copy h2 {
  font-size: 22px;
  font-weight: 400;
  line-height: 30.8px;
}

.journey-copy p {
  font-size: 18px;
  line-height: 28px;
}

.journey-button {
  display: inline-flex;
  align-self: flex-end;
  margin-right: 20%;
  align-items: center;
  gap: 6px;
  color: inherit;
  font-size: 15.6px;
  font-weight: 500;
  line-height: 26.4px;
  text-decoration: none;
}

.journey-tab:hover .journey-button {
  text-decoration: underline;
}

.journey-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #000;
  stroke-width: 1.667;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Approach */

.approach {
  max-width: 1440px;
  margin-inline: auto;
  padding: 99px 40px 89px;
  background: #fff;
}

.approach-row {
  display: grid;
  grid-template-columns: minmax(0, 650fr) minmax(0, 630fr);
  align-items: center;
  gap: clamp(40px, 5.56vw, 80px);
}

.approach-row-sprints {
  grid-template-columns: minmax(0, 630fr) minmax(0, 650fr);
  margin-top: 178px;
}

.approach-row-scale {
  margin-top: 160px;
}

.approach-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.video-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.video-trigger::before {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.15);
  content: '';
  transition: background-color 0.2s ease;
}

.video-trigger::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='%23030712'/%3E%3C/svg%3E") calc(50% + 2px) center / 30px no-repeat;
  box-shadow: 0 4px 16px rgba(3, 7, 18, 0.25);
  content: '';
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-trigger:hover::before {
  background: rgba(3, 7, 18, 0.05);
}

.video-trigger:hover::after {
  background-color: #fff;
  transform: scale(1.08);
}

/* Video lightbox */

.lightbox {
  width: min(90vw, 1280px);
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(3, 7, 18, 0.85);
}

.lightbox video {
  display: block;
  width: 100%;
  max-height: 85vh;
  background: #000;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  cursor: pointer;
  font-size: 36px;
  line-height: 40px;
}

.approach-copy {
  color: #535862;
}

.approach-row-sprints .approach-copy {
  color: #4b5563;
}

.approach-pill {
  display: inline-flex;
  height: 47px;
  padding: 0 20px;
  align-items: center;
  border-radius: 23.5px;
  background: rgba(217, 217, 217, 0.3);
  color: #4b5563;
  font-size: 16px;
  font-style: italic;
  line-height: 24px;
}

.approach-copy h2 {
  margin-top: 36px;
  color: #000;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
}

.approach-number {
  color: #9ca3af;
}

.approach-intro {
  margin-top: 28px;
  font-size: 18px;
  line-height: 28px;
}

.approach-list {
  display: flex;
  max-width: 550px;
  margin: 32px 0 0;
  padding: 0;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  font-size: 18px;
  line-height: 28px;
}

.approach-list li {
  position: relative;
  padding-left: 56px;
}

.approach-list li::before {
  position: absolute;
  top: 7px;
  left: 19px;
  width: 19px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 13' fill='none' stroke='%23030712' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6.5 6.5 12 18 1'/%3E%3C/svg%3E") no-repeat;
  content: '';
}

/* Pricing */

.pricing {
  max-width: 1440px;
  min-height: 760px;
  margin-inline: auto;
  background: #fff;
}

.pricing-heading {
  display: flex;
  height: 274px;
  padding: 40px 40px 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pricing-heading h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
}

.pricing-intro {
  max-width: 730px;
  margin-top: 25px;
  color: #535862;
  font-size: 18px;
  line-height: 28px;
  text-align: left;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 382px));
  justify-content: center;
  gap: 33px;
  padding-inline: 40px;
}

.pricing-card {
  min-height: 363px;
  padding: 70px clamp(24px, 3.9vw, 56px) 40px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
}

.pricing-label {
  color: #9ca3af;
  font-size: 18px;
  line-height: 28px;
}

.pricing-card h3 {
  margin: 11px 0 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
}

.pricing-description {
  max-width: 260px;
  margin-top: 58px;
  font-size: 16px;
  line-height: 24px;
}

/* Contact */

.contact {
  position: relative;
  height: 316px;
  background: url('img/contact.png') center / cover no-repeat;
}

.contact-text {
  position: absolute;
  top: 87px;
  left: calc(var(--edge) + 152px);
}

.contact-text h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
}

.contact-text p {
  margin-top: 9px;
  font-size: 16px;
  line-height: 24px;
}

.contact-button {
  position: absolute;
  top: 126px;
  left: calc(var(--edge) + 1107px);
  display: inline-flex;
  height: 44px;
  padding: 0 18px;
  align-items: center;
  border-radius: 8px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(10, 13, 18, 0.05),
    inset 0 -2px 0 rgba(10, 13, 18, 0.05),
    inset 0 0 0 1px rgba(10, 13, 18, 0.18);
  color: #030712;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

/* Footer */

.site-footer {
  height: 168px;
  padding: 98px calc(var(--edge) + 113px) 0;
  background: #0c0e12;
  color: #94979c;
  font-size: 16px;
  line-height: 24px;
}

/* Scroll reveal (classes are added by script.js) */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease 0.25s, transform 0.9s ease 0.25s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Hero fade-in on page load */

@keyframes hero-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-text,
.journey-tab {
  animation: hero-fade-in 0.855s ease both;
}

.hero-text {
  animation-duration: 1.12s;
  animation-delay: 0.18s;
}

.journey-tab:nth-child(1) {
  animation-delay: 0.72s;
}

.journey-tab:nth-child(2) {
  animation-delay: 0.9s;
}

.journey-tab:nth-child(3) {
  animation-delay: 1.08s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-text,
  .journey-tab {
    animation: none;
  }
}

/* Desktop below the 1440px design width: scale proportionally, no stacking. */
@media (max-width: 1439px) {
  .site-header {
    padding: 0 7.78% 0 7.22%;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(64px, 6.67vw, 96px);
    line-height: 1.02;
  }

  .journey {
    width: auto;
    min-width: 0;
    flex: 0 0 49.2%;
  }

  .journey-content {
    width: calc(100% + 1px);
    height: auto;
    min-height: 563px;
  }

  .contact-text {
    left: 10.56%;
  }

  .contact-text h2 {
    font-size: clamp(36px, 3.33vw, 48px);
    line-height: 1.17;
  }

  .contact-button {
    left: 76.88%;
  }

  .site-footer {
    padding-inline: 7.85%;
  }
}

/* Tablet: stack two-column layouts into a single column. */
@media (max-width: 1023px) {
  .site-header {
    padding: 0 32px;
  }

  .hero {
    min-height: 0;
    padding: 48px 32px 56px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
    padding: 24px 0;
  }

  .hero-text {
    min-height: 0;
  }

  .hero h1 {
    font-size: 64px;
    line-height: 66px;
    letter-spacing: -1.6px;
  }

  .journey {
    width: 100%;
    height: auto;
    flex: none;
  }

  .journey-content {
    position: static;
    width: 100%;
    min-height: 0;
  }

  .approach {
    padding: 64px 32px 48px;
  }

  .approach-row,
  .approach-row-sprints {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .approach-row-sprints,
  .approach-row-scale {
    margin-top: 80px;
  }

  .approach-row-sprints .video-trigger {
    order: -1;
  }

  .approach-image,
  .approach-row-scale .approach-image {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .approach-list {
    max-width: none;
  }

  .pricing {
    min-height: 0;
    padding-bottom: 80px;
  }

  .pricing-heading {
    height: auto;
    padding: 38px 32px 40px;
  }

  .pricing-heading h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .pricing-cards {
    grid-template-columns: minmax(0, 600px);
    gap: 20px;
    padding-inline: 32px;
  }

  .pricing-card {
    min-height: 0;
    padding: 40px;
  }

  .pricing-description {
    max-width: none;
    margin-top: 24px;
  }

  .contact {
    display: flex;
    height: auto;
    padding: 64px 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .contact-text,
  .contact-button {
    position: static;
  }

  .contact-text h2 {
    font-size: 40px;
    line-height: 48px;
  }

  .site-footer {
    height: auto;
    padding: 48px 32px;
  }
}

/* Mobile: smaller type and tighter spacing. */
@media (max-width: 767px) {
  .site-header {
    height: 64px;
    padding: 0 20px;
  }

  .brand {
    gap: 10px;
  }

  .header-button {
    height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero {
    padding: 32px 20px 40px;
  }

  .hero-inner {
    gap: 40px;
    padding: 16px 0;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 48px;
    letter-spacing: -1px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .journey-tab {
    padding: 16px 0 20px;
  }

  .journey-copy h2 {
    font-size: 19.8px;
    line-height: 28.6px;
  }

  .journey-copy p {
    font-size: 16px;
    line-height: 24px;
  }

  .approach {
    padding: 48px 20px 38px;
  }

  .approach-row-sprints,
  .approach-row-scale {
    margin-top: 64px;
  }

  .approach-pill {
    height: auto;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 20px;
  }

  .video-trigger::after {
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    background-size: 24px;
  }

  .approach-copy h2 {
    margin-top: 24px;
    font-size: 26px;
    line-height: 34px;
  }

  .approach-intro {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
  }

  .approach-list {
    margin-top: 20px;
    gap: 14px;
    font-size: 16px;
    line-height: 24px;
  }

  .approach-list li {
    padding-left: 36px;
  }

  .approach-list li::before {
    top: 5px;
    left: 4px;
  }

  .pricing {
    padding-bottom: 64px;
  }

  .pricing-heading {
    padding: 29px 20px 32px;
  }

  .pricing-heading h2 {
    font-size: 32px;
    line-height: 40px;
  }

  .pricing-intro {
    font-size: 16px;
    line-height: 24px;
  }

  .pricing-cards {
    padding-inline: 20px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-card h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .contact {
    padding: 48px 20px;
    gap: 24px;
  }

  .contact-text h2 {
    font-size: 30px;
    line-height: 36px;
  }

  .contact-text p {
    font-size: 15px;
  }

  .site-footer {
    padding: 32px 20px;
    font-size: 14px;
  }
}