@layer reset, tokens, base, components, pages, utilities;

@layer pages {
  .is-home {
    background: var(--color-green-900);
  }

  .home-section {
    --home-kicker-size: clamp(13px, 3.5vw, 15px);
    --home-heading-size: clamp(36px, 9vw, 50px);
    --home-body-size: clamp(15px, 4vw, 17px);
    --home-button-size: clamp(13px, 3.4vw, 14px);

    position: relative;
    isolation: isolate;
    overflow: hidden;
  }

  .home-motion {
    --home-motion-duration: 720ms;
    --home-motion-stagger: 95ms;
    --home-motion-distance: 28px;
    --home-motion-scale: .975;
    --home-motion-map-delay: 760ms;
  }

  .home-motion--slow {
    --home-motion-duration: 880ms;
    --home-motion-stagger: 120ms;
    --home-motion-distance: 34px;
    --home-motion-scale: .968;
    --home-motion-map-delay: 960ms;
  }

  .home-motion--fast {
    --home-motion-duration: 560ms;
    --home-motion-stagger: 70ms;
    --home-motion-distance: 22px;
    --home-motion-scale: .982;
    --home-motion-map-delay: 600ms;
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion] {
    opacity: 0;
    translate: 0 var(--home-motion-distance);
    scale: 1;
    transition:
      opacity var(--home-motion-duration) var(--ease-out),
      translate var(--home-motion-duration) var(--ease-out),
      scale var(--home-motion-duration) var(--ease-out);
    transition-delay: calc(var(--motion-order, 0) * var(--home-motion-stagger));
    will-change: opacity, translate, scale;
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion="fade-left"] {
    translate: calc(var(--home-motion-distance) * -1) 0;
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion="fade-right"] {
    translate: var(--home-motion-distance) 0;
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion="fade-down"] {
    translate: 0 calc(var(--home-motion-distance) * -.75);
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion="scale-in"] {
    translate: 0 0;
    scale: var(--home-motion-scale);
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion="mask-up"] {
    clip-path: inset(100% 0 0 0);
    translate: 0 calc(var(--home-motion-distance) * .6);
    scale: .99;
    transition:
      opacity var(--home-motion-duration) var(--ease-out),
      translate var(--home-motion-duration) var(--ease-out),
      scale var(--home-motion-duration) var(--ease-out),
      clip-path var(--home-motion-duration) var(--ease-out);
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion].is-motion-visible {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    will-change: auto;
  }

  .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion="mask-up"].is-motion-visible {
    clip-path: inset(0 0 0 0);
  }

  .home-section .kicker {
    margin-bottom: 15px;
    font-size: var(--home-kicker-size);
    line-height: 1.3;
    letter-spacing: .12em;
  }

  .home-section .button {
    min-height: 50px;
    gap: 28px;
    padding-inline: 24px;
    font-size: var(--home-button-size);
  }

  .home-section .button span {
    font-size: 1.14em;
  }

  .hero-section {
    min-height: 100svh;
    color: var(--color-white);
    background: var(--color-green-950);
  }

  .hero-slider,
  .hero-slide {
    position: absolute;
    inset: 0;
  }

  .hero-slide {
    visibility: hidden;
    opacity: 0;
    transform: translateX(4%);
    transition:
      opacity .9s var(--ease-out),
      transform .9s var(--ease-out),
      visibility .9s;
  }

  .hero-slide__link,
  .hero-slide__picture {
    position: absolute;
    inset: 0;
    display: block;
    color: inherit;
  }

  .hero-slide.is-active {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .hero-slide__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform:
      translate3d(calc(var(--pointer-x, 0) * 8px), calc(var(--pointer-y, 0) * 5px), 0)
      scale(1.055);
    transition: transform 6.2s linear;
  }

  .hero-slide.is-active .hero-slide__media {
    transform:
      translate3d(calc(var(--pointer-x, 0) * 8px), calc(var(--pointer-y, 0) * 5px), 0)
      scale(1.015);
  }

  .hero-slide__media--city,
  .hero-slide__media--team {
    object-position: center;
  }

  .hero-slide__veil {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgb(0 29 21 / 48%) 0%, transparent 23%),
      linear-gradient(0deg, rgb(0 27 20 / 42%) 0%, transparent 28%);
    pointer-events: none;
  }

  .slider-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 3px;
    color: var(--color-white);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: var(--radius-pill);
    background: rgb(2 42 31 / 44%);
    box-shadow: 0 10px 28px rgb(0 0 0 / 16%);
    backdrop-filter: blur(12px) saturate(118%);
  }

  .slider-controls__button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    padding: 0;
    color: inherit;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: .82;
    transition:
      color .22s ease,
      background-color .22s ease,
      opacity .22s ease,
      transform .22s var(--ease-out);
  }

  .slider-controls__button:hover,
  .slider-controls__button:focus-visible {
    color: var(--color-green-950);
    background: var(--color-accent);
    opacity: 1;
  }

  .slider-controls__button:first-child:hover svg,
  .slider-controls__button:first-child:focus-visible svg {
    transform: translateX(-2px);
  }

  .slider-controls__button:last-child:hover svg,
  .slider-controls__button:last-child:focus-visible svg {
    transform: translateX(2px);
  }

  .slider-controls__button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .22s var(--ease-out);
  }

  .slider-controls__status {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 6px;
    min-width: 58px;
    padding-inline: 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .slider-controls__current {
    color: var(--color-accent);
    font-size: 11px;
    line-height: 1;
  }

  .slider-controls__total {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    line-height: 1;
    opacity: .62;
  }

  .slider-controls__total::before {
    content: '/';
    margin-right: 3px;
    opacity: .72;
  }

  .slider-controls__track {
    min-width: 30px;
  }

  .hero-controls {
    position: absolute;
    z-index: 6;
    left: 50%;
    bottom: max(22px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
  }

  .hero-controls__dots,
  .project-controls__dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .hero-controls__dots button,
  .project-controls__dots button {
    width: 12px;
    height: 2px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: currentColor;
    opacity: .22;
    cursor: pointer;
    transition:
      width .25s var(--ease-out),
      background-color .25s ease,
      opacity .25s ease;
  }

  .hero-controls__dots button.is-active,
  .project-controls__dots button.is-active {
    width: 22px;
    background: var(--color-accent);
    opacity: 1;
  }

  .about-section {
    min-height: 760px;
    color: var(--color-white);
    background:
      radial-gradient(circle at 100% 40%, rgb(196 217 79 / 7%), transparent 34%),
      var(--color-green-800);
  }

  .about-section__pattern,
  .news-section__pattern,
  .footer-section__pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .22;
    background:
      linear-gradient(35deg, transparent 46%, rgb(255 255 255 / 8%) 47%, transparent 48%),
      linear-gradient(145deg, transparent 43%, rgb(255 255 255 / 7%) 44%, transparent 45%);
    background-size: 210px 210px, 270px 270px;
  }

  .about-layout {
    display: grid;
    gap: 34px;
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 86px;
  }

  .about-visual {
    position: relative;
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .about-visual__mask {
    display: block;
    width: 100%;
    aspect-ratio: 680 / 660;
    overflow: visible;
    filter: drop-shadow(0 20px 35px rgb(0 0 0 / 25%));
  }

  .about-visual__base {
    fill: url(#aboutLetterBase);
  }

  .about-visual__image {
    pointer-events: none;
    user-select: none;
  }

  .about-visual__outline {
    fill: none;
    stroke: rgb(255 255 255 / 18%);
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
  }

  .video-play {
    position: absolute;
    right: 10%;
    bottom: 15%;
    isolation: isolate;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--color-white);
    border: 1px solid rgb(255 255 255 / 58%);
    border-radius: 50%;
    background: rgb(6 73 54 / 62%);
    box-shadow:
      0 12px 30px rgb(0 0 0 / 24%),
      inset 0 0 0 1px rgb(255 255 255 / 8%);
    cursor: pointer;
    backdrop-filter: blur(9px) saturate(118%);
    animation: about-video-float 3s ease-in-out infinite;
    transition:
      color .25s var(--ease-out),
      border-color .25s var(--ease-out),
      background .25s var(--ease-out),
      box-shadow .25s var(--ease-out),
      transform .25s var(--ease-out);
  }

  .video-play span {
    position: relative;
    z-index: 2;
    display: block;
    margin-left: 3px;
    font-size: 16px;
    line-height: 1;
    transition: transform .25s var(--ease-out);
  }

  .video-play::before,
  .video-play::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgb(255 255 255 / 34%);
    border-radius: inherit;
    pointer-events: none;
  }

  .video-play::before {
    inset: -9px;
    animation: about-video-pulse 2.6s ease-out infinite;
  }

  .video-play::after {
    inset: -18px;
    opacity: 0;
    animation: about-video-pulse 2.6s 1.3s ease-out infinite;
  }

  .video-play:hover,
  .video-play:focus-visible {
    color: var(--color-green-950);
    border-color: rgb(255 255 255 / 82%);
    background: var(--color-accent);
    box-shadow:
      0 16px 36px rgb(0 0 0 / 28%),
      0 0 0 6px rgb(255 255 255 / 9%);
    animation: none;
    transform: translateY(-2px) scale(1.06);
  }

  .video-play:hover span,
  .video-play:focus-visible span {
    transform: translateX(2px);
  }

  .video-play:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 5px;
  }

  .video-play:active {
    transform: translateY(0) scale(.96);
  }

  @keyframes about-video-float {
    0%,
    100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-5px);
    }
  }

  @keyframes about-video-pulse {
    0% {
      opacity: .72;
      transform: scale(.88);
    }

    72%,
    100% {
      opacity: 0;
      transform: scale(1.24);
    }
  }

  .about-copy h2 {
    margin-bottom: 20px;
    color: var(--color-accent);
    font-size: var(--home-heading-size);
  }

  .about-copy p:not(.kicker) {
    margin-bottom: 14px;
    color: rgb(255 255 255 / 82%);
    font-size: var(--home-body-size);
    line-height: 1.72;
  }

  .about-copy .button {
    margin-top: 18px;
  }

  .projects-section {
    min-height: 780px;
    color: var(--color-white);
    background: var(--color-green-950);
  }

  .project-slider,
  .project-slide {
    position: absolute;
    inset: 0;
  }

  .project-slide {
    visibility: hidden;
    opacity: 0;
    transition: opacity .75s var(--ease-out), visibility .75s;
  }

  .project-slide.is-active {
    visibility: visible;
    opacity: 1;
  }

  .project-slide__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 7s linear;
  }

  .project-slide.is-active .project-slide__media {
    transform: scale(1);
  }

  .project-slide__shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgb(0 31 22 / 88%) 0%, rgb(0 31 22 / 45%) 46%, rgb(0 31 22 / 8%) 76%),
      linear-gradient(0deg, rgb(0 25 18 / 58%) 0%, transparent 46%);
  }

  .project-slide__content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding-top: 150px;
    padding-bottom: 130px;
  }

  .project-copy {
    width: min(100%, 560px);
  }

  .project-copy h2 {
    margin-bottom: 18px;
    font-size: var(--home-heading-size);
    text-transform: uppercase;
  }

  .project-copy > p:not(.kicker) {
    max-width: 540px;
    margin-bottom: 26px;
    color: rgb(255 255 255 / 82%);
    font-size: var(--home-body-size);
    line-height: 1.72;
  }

  .project-wordmark {
    position: absolute;
    top: calc(var(--header-height) + 72px);
    right: var(--container-inline);
    max-width: 150px;
    text-align: right;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .project-tabs {
    position: absolute;
    z-index: 8;
    top: calc(var(--header-height) + 14px);
    left: var(--container-inline);
    display: flex;
    width: calc(100% - (var(--container-inline) * 2));
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .project-tabs::-webkit-scrollbar,
  .news-tabs::-webkit-scrollbar,
  .news-carousel::-webkit-scrollbar {
    display: none;
  }

  .project-tabs button,
  .news-tabs button,
  .news-tabs a {
    flex: 0 0 auto;
    min-height: 34px;
    padding-inline: 14px;
    color: var(--color-white);
    border: 1px solid rgb(255 255 255 / 42%);
    border-radius: var(--radius-pill);
    background: transparent;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition:
      color .24s ease,
      border-color .24s ease,
      background-color .24s ease,
      box-shadow .24s ease,
      transform .24s var(--ease-out);
  }

  .news-tabs button:hover,
  .news-tabs a:hover {
    color: var(--color-white);
    border-color: rgb(255 255 255 / 72%);
    background: rgb(255 255 255 / 11%);
    box-shadow: none;
    transform: none;
  }

  .news-tabs button:focus-visible,
  .news-tabs a:focus-visible {
    color: var(--color-white);
    border-color: rgb(255 255 255 / 72%);
    background: rgb(255 255 255 / 11%);
    box-shadow: none;
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    transform: none;
  }

  .news-tabs button.is-active:hover,
  .news-tabs button.is-active:focus-visible {
    color: var(--color-green-950);
    border-color: var(--color-accent);
    background: var(--color-accent);
    box-shadow: none;
    transform: none;
  }

  .project-tabs button.is-active,
  .news-tabs button.is-active {
    color: var(--color-green-950);
    border-color: var(--color-accent);
    background: var(--color-accent);
  }

  .project-controls {
    position: absolute;
    z-index: 8;
    left: var(--container-inline);
    bottom: 54px;
  }

  .project-controls__status {
    min-width: 62px;
  }

  .numbers-section {
    min-height: 820px;
    color: var(--color-green-800);
    background: #f7faf8;
  }

  .numbers-section__background {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--numbers-bg-clarity, .58);
    filter:
      saturate(var(--numbers-bg-saturation, .88))
      contrast(var(--numbers-bg-contrast, .97));
  }

  .numbers-section::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgb(255 255 255 / var(--numbers-bg-overlay-start, .66)) 0%,
        rgb(255 255 255 / var(--numbers-bg-overlay-middle, .59)) 34%,
        rgb(247 250 248 / var(--numbers-bg-overlay-soft, .46)) 68%,
        rgb(247 250 248 / var(--numbers-bg-overlay-end, .27)) 100%
      );
  }

  .numbers-section__mark {
    position: absolute;
    z-index: -1;
    top: 14%;
    right: -18%;
    color: rgb(22 126 70 / 7%);
    font-size: min(108vw, 620px);
    font-weight: 900;
    line-height: .78;
    letter-spacing: -.08em;
    transform: perspective(1000px) rotateY(-6deg);
    transform-origin: center right;
    pointer-events: none;
  }

  .numbers-section__cloud {
    position: absolute;
    z-index: 1;
    bottom: -54px;
    width: 78vw;
    height: 132px;
    border-radius: 50%;
    background: rgb(255 255 255 / 72%);
    filter: blur(22px);
    pointer-events: none;
  }

  .numbers-section__cloud--one {
    left: -22%;
  }

  .numbers-section__cloud--two {
    right: -20%;
  }

  .numbers-layout {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 34px;
    min-height: 820px;
    padding-top: calc(var(--header-height) + 48px);
    padding-bottom: 92px;
  }

  .numbers-heading {
    max-width: 480px;
  }

  .numbers-heading h2 {
    max-width: 420px;
    margin-bottom: 26px;
    font-size: var(--home-heading-size);
    line-height: 1.14;
    letter-spacing: -.018em;
    text-transform: uppercase;
  }

  .primary-stat {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 5px;
  }

  .primary-stat__number {
    font-size: clamp(58px, 14vw, 80px);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.045em;
  }

  .primary-stat__plus {
    font-size: clamp(21px, 5.5vw, 28px);
    font-weight: 700;
  }

  .primary-stat small {
    flex-basis: 100%;
    margin-top: 14px;
    color: var(--color-muted);
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.55;
  }

  .stats-grid {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
    width: min(100%, 620px);
    justify-self: center;
    padding: 12px 0 4px;
  }

  .stats-grid::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -12% -10% -16%;
    background: radial-gradient(
      ellipse at center,
      rgb(255 255 255 / 62%) 0%,
      rgb(255 255 255 / 32%) 46%,
      transparent 76%
    );
    filter: blur(24px);
    pointer-events: none;
  }

  .stats-grid article {
    min-width: 0;
  }

  .stats-grid__featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 84px;
    padding: 0 0 18px;
    border-bottom: 1px solid rgb(6 73 54 / 12%);
  }

  .stats-grid__item {
    min-height: 112px;
    padding: 22px 0 18px;
    border-top: 1px solid rgb(6 73 54 / 9%);
  }

  .stats-grid__item:nth-child(2),
  .stats-grid__item:nth-child(3) {
    border-top: 0;
  }

  .stats-grid__item:nth-child(odd) {
    padding-left: 24px;
    border-left: 1px solid rgb(6 73 54 / 9%);
  }

  .stats-grid__metric {
    display: flex;
    align-items: baseline;
    min-width: 0;
  }

  .stats-grid strong {
    font-size: clamp(34px, 9vw, 48px);
    line-height: .95;
    letter-spacing: -.045em;
  }

  .stats-grid__featured strong {
    font-size: clamp(46px, 12vw, 60px);
  }

  .stats-grid__metric > span {
    margin-left: 4px;
    font-size: clamp(11px, 3vw, 13px);
    font-weight: 700;
  }

  .stats-grid__featured .stats-grid__metric > span {
    margin-left: 7px;
    font-size: clamp(12px, 3.2vw, 14px);
    text-transform: uppercase;
    letter-spacing: .08em;
  }

  .stats-grid small {
    display: block;
    margin-top: 9px;
    color: var(--color-muted);
    font-size: clamp(13px, 3.2vw, 15px);
    line-height: 1.45;
  }

  .stats-grid__featured small {
    margin: 0;
    padding-left: 18px;
    border-left: 1px solid rgb(6 73 54 / 15%);
    font-size: clamp(14px, 3.4vw, 16px);
  }

  .careers-section {
    min-height: 740px;
    background: #fafbf9;
  }

  .careers-section__city {
    position: absolute;
    z-index: -1;
    inset: 20% 0 0;
    opacity: .13;
    background:
      linear-gradient(90deg, transparent 0 5%, #527067 5% 11%, transparent 11% 14%, #527067 14% 25%, transparent 25% 29%, #527067 29% 36%, transparent 36% 43%, #527067 43% 55%, transparent 55% 63%, #527067 63% 78%, transparent 78% 84%, #527067 84% 94%, transparent 94%) bottom / 100% 58% no-repeat;
    filter: blur(.5px);
  }

  .careers-layout {
    display: grid;
    align-content: center;
    gap: 40px;
    min-height: 740px;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 90px;
  }

  .careers-copy {
    max-width: 560px;
  }

  .careers-copy h2 {
    margin-bottom: 20px;
    font-size: var(--home-heading-size);
  }

  .careers-copy > p:not(.kicker) {
    color: var(--color-muted);
    font-size: var(--home-body-size);
    line-height: 1.72;
  }

  .job-list {
    display: grid;
    align-content: start;
  }

  .job-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 98px;
    border-top: 1px solid rgb(6 73 54 / 20%);
  }

  .job-item:last-of-type {
    border-bottom: 1px solid rgb(6 73 54 / 20%);
  }

  .job-item__number {
    color: var(--color-green-700);
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.05em;
  }

  .job-item__copy {
    min-width: 0;
  }

  .job-item__copy strong,
  .job-item__copy small {
    display: block;
  }

  .job-item__copy strong {
    font-size: clamp(15px, 3.8vw, 17px);
    line-height: 1.45;
  }

  .job-item__copy small {
    margin-top: 6px;
    color: var(--color-muted);
    font-size: clamp(11px, 2.8vw, 13px);
    line-height: 1.45;
  }

  .job-item__arrow {
    font-size: 18px;
  }

  .job-list .button {
    justify-self: start;
    margin-top: 26px;
  }

  .news-section {
    min-height: 760px;
    color: var(--color-white);
    background: var(--color-green-900);
  }

  .news-layout {
    display: grid;
    align-content: center;
    min-height: 760px;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 78px;
  }

  .news-heading {
    display: grid;
    gap: 18px;
    margin-bottom: 22px;
  }

  .news-heading h2 {
    color: var(--color-accent);
    font-size: var(--home-heading-size);
    line-height: 1.06;
  }

  .news-tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .news-tabs a {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
  }

  .news-carousel {
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
  }

  .news-carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 350px);
    gap: 14px;
    width: 100%;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  .news-card {
    min-width: 0;
  }

  .news-card:hover,
  .news-card:focus-within {
    transform: none;
  }

  .news-carousel.is-news-animating {
    pointer-events: none;
  }

  .news-carousel.is-news-animating .news-card img {
    animation: news-track-image-settle .72s cubic-bezier(.22, 1, .36, 1) both;
  }

  @keyframes news-track-image-settle {
    from {
      transform: scale(1.025);
    }

    to {
      transform: scale(1);
    }
  }

  .news-card.is-hidden {
    display: none;
  }

  .news-card a {
    position: relative;
    display: block;
    height: clamp(350px, 54vh, 430px);
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-green-950);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 5%);
    transition:
      box-shadow .32s ease,
      filter .32s ease;
  }

  .news-card:hover a,
  .news-card:focus-within a {
    box-shadow:
      0 14px 34px rgb(0 0 0 / 16%),
      inset 0 0 0 1px rgb(196 217 79 / 24%);
  }

  .news-card a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
  }

  .news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
      transform .5s var(--ease-out),
      filter .32s ease;
  }

  .news-card:hover img,
  .news-card:focus-within img {
    transform: scale(1.025);
    filter: brightness(1.03) saturate(1.04);
  }

  .news-card__shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        0deg,
        rgb(0 28 20 / 94%) 0%,
        rgb(0 28 20 / 82%) 25%,
        rgb(0 28 20 / 24%) 54%,
        transparent 74%
      );
  }

  .news-card__content {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 9px;
    padding: 20px 18px 18px;
  }

  .news-card__content small {
    font-size: clamp(11px, 2.7vw, 13px);
    line-height: 1.45;
    letter-spacing: .02em;
    opacity: .78;
  }

  .news-card__content strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: clamp(16px, 3.8vw, 18px);
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .news-card__content i {
    font-style: normal;
    justify-self: end;
  }

  .news-controls {
    width: min(100%, 188px);
    margin: 18px auto 0;
  }

  .news-controls__status {
    display: block;
    min-width: 92px;
    padding-inline: 8px;
  }

  .news-controls .slider-controls__button:disabled {
    cursor: default;
    opacity: .28;
    pointer-events: none;
  }

  .news-controls .slider-controls__current,
  .news-controls .slider-controls__total {
    display: none;
  }

  .news-controls__progress {
    position: relative;
    display: block;
    width: 100%;
    height: 18px;
    cursor: pointer;
    touch-action: none;
  }

  .news-controls__progress::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 2px;
    border-radius: var(--radius-pill);
    background: rgb(255 255 255 / 22%);
    transform: translateY(-50%);
  }

  .news-controls__progress span {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: var(--news-progress, 0%);
    width: 9px;
    height: 9px;
    border: 2px solid rgb(255 255 255 / 72%);
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 4px rgb(196 217 79 / 12%);
    transform: translate(-50%, -50%);
    transition:
      left 720ms cubic-bezier(.22, 1, .36, 1),
      box-shadow .22s ease,
      transform .22s var(--ease-out);
  }

  .news-controls__progress:hover span,
  .news-controls__progress:focus-visible span,
  .news-controls__progress.is-dragging span {
    box-shadow: 0 0 0 6px rgb(196 217 79 / 18%);
    transform: translate(-50%, -50%) scale(1.14);
  }

  .news-controls__progress:focus-visible {
    outline: 1px solid rgb(255 255 255 / 64%);
    outline-offset: 3px;
    border-radius: var(--radius-pill);
  }

  .footer-section {
    min-height: 100svh;
    color: var(--color-white);
    background: var(--color-green-900);
  }

  .footer-layout {
    display: grid;
    gap: 52px;
    padding-top: calc(var(--header-height) + 74px);
    padding-bottom: 110px;
  }

  .footer-company h2 {
    margin-bottom: 24px;
    color: var(--color-accent);
    font-size: var(--home-heading-size);
  }

  .footer-contact-list,
  .footer-social {
    display: grid;
    gap: 8px;
  }

  .footer-company__description {
    max-width: 560px;
    margin: 18px 0 0;
    color: rgb(255 255 255 / 72%);
    font-size: var(--home-body-size);
    line-height: 1.75;
  }

  .footer-contact-list {
    margin-bottom: 24px;
    color: rgb(255 255 255 / 84%);
    font-size: var(--home-body-size);
    line-height: 1.65;
  }

  .footer-social {
    grid-auto-flow: column;
    justify-content: start;
    gap: 18px;
    margin-bottom: 28px;
    font-size: 11px;
  }

  .footer-offices {
    display: grid;
    align-content: start;
    gap: 22px;
  }

  .office-item {
    padding-top: 18px;
    border-top: 1px solid rgb(255 255 255 / 18%);
  }

  .office-item strong {
    font-size: clamp(14px, 3.5vw, 16px);
  }

  .office-item p {
    margin-top: 8px;
    color: rgb(255 255 255 / 70%);
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.55;
  }

  .office-item a {
    display: inline-block;
    margin-top: 7px;
    color: var(--color-accent);
    font-size: 10px;
  }

  .footer-map {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 10%);
  }

  .footer-map img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    opacity: .6;
  }

  .footer-map__pin {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: var(--color-green-950);
    border-radius: 50% 50% 50% 0;
    background: var(--color-accent);
    font-weight: 900;
    transform: translate(-50%, -70%) rotate(-45deg);
  }

  .footer-map__pin i {
    font-style: normal;
    transform: rotate(45deg);
  }

  .home-motion[data-motion-enabled="1"] .footer-map.is-motion-visible .footer-map__pin {
    animation: home-map-pin-settle .72s var(--home-motion-map-delay) var(--ease-out) both;
  }

  @keyframes home-map-pin-settle {
    0% {
      opacity: 0;
      transform: translate(-50%, -92%) rotate(-45deg) scale(.82);
    }

    70% {
      opacity: 1;
      transform: translate(-50%, -64%) rotate(-45deg) scale(1.05);
    }

    100% {
      opacity: 1;
      transform: translate(-50%, -70%) rotate(-45deg) scale(1);
    }
  }

  .footer-bottom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
    padding-block: 18px max(18px, env(safe-area-inset-bottom));
    color: rgb(255 255 255 / 62%);
  }

  .footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: var(--container-inline);
    right: var(--container-inline);
    height: 1px;
    background: linear-gradient(90deg, rgb(196 217 79 / 52%), rgb(255 255 255 / 16%) 34%, rgb(255 255 255 / 6%) 100%);
  }

  .footer-bottom__copyright {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: .075em;
    text-transform: uppercase;
  }

  .footer-bottom__copyright-mark {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    margin-right: 3px;
    color: var(--color-green-950);
    border-radius: 50%;
    background: var(--color-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
  }

  .footer-bottom__copyright-year {
    color: rgb(255 255 255 / 68%);
  }

  .footer-bottom__copyright strong {
    color: var(--color-white);
    font-size: inherit;
    font-weight: 700;
    letter-spacing: .09em;
  }

  .footer-bottom__top {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 42px;
    padding: 4px 5px 4px 17px;
    color: rgb(255 255 255 / 86%);
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: var(--radius-pill);
    background: rgb(255 255 255 / 5%);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    transition:
      color .25s ease,
      border-color .25s ease,
      background-color .25s ease,
      transform .25s var(--ease-out);
  }

  .footer-bottom__top i {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    color: var(--color-green-950);
    border-radius: 50%;
    background: var(--color-accent);
    font-size: 15px;
    font-style: normal;
    line-height: 1;
    transition: transform .25s var(--ease-out);
  }

  .footer-bottom__top:hover,
  .footer-bottom__top:focus-visible {
    color: var(--color-white);
    border-color: rgb(196 217 79 / 58%);
    background: rgb(255 255 255 / 9%);
    transform: translateY(-2px);
  }

  .footer-bottom__top:hover i,
  .footer-bottom__top:focus-visible i {
    transform: translateY(-2px);
  }

  .footer-bottom__top:focus-visible {
    outline: 2px solid rgb(196 217 79 / 72%);
    outline-offset: 3px;
  }

  @media (max-width: 767px) {
    .hero-section {
      height: 100svh;
      min-height: 620px;
      max-height: 920px;
    }

    .hero-slide__media {
      object-position: var(--hero-mobile-position-x, 50%) var(--hero-mobile-position-y, 75%);
      transform: scale(var(--hero-mobile-scale-start, 1.16));
      transition: transform 6.2s linear;
    }

    .hero-slide.is-active .hero-slide__media {
      transform: scale(var(--hero-mobile-scale, 1.12));
    }

    .hero-slide__veil {
      background: linear-gradient(
        180deg,
        rgb(0 25 31 / 70%) 0%,
        rgb(0 25 31 / 42%) 14%,
        rgb(0 25 31 / 12%) 30%,
        transparent 46%
      );
    }

    .hero-controls {
      bottom: max(22px, calc(env(safe-area-inset-bottom) + 10px));
      min-height: 28px;
      padding: 0;
      border: 0;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
    }

    .hero-controls__button,
    .hero-controls__current,
    .hero-controls__total {
      display: none;
    }

    .hero-controls__status {
      display: flex;
      min-width: 0;
      padding: 6px 9px;
      border-radius: var(--radius-pill);
      background: rgb(0 31 37 / 18%);
      backdrop-filter: blur(6px);
    }

    .hero-controls__dots {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .hero-controls__dots button {
      width: 6px;
      height: 6px;
      border: 1px solid rgb(255 255 255 / 70%);
      border-radius: 50%;
      background: rgb(255 255 255 / 42%);
      opacity: 1;
      transition: width .25s var(--ease-out), height .25s var(--ease-out), background-color .25s ease, box-shadow .25s ease;
    }

    .hero-controls__dots button.is-active {
      width: 10px;
      height: 10px;
      background: transparent;
      box-shadow: inset 0 0 0 2px var(--color-white);
    }

    .hero-section > .section-next {
      display: none;
    }

    .home-motion {
      --home-motion-distance: 18px;
    }

    .footer-bottom {
      align-items: stretch;
      flex-direction: column;
      gap: 14px;
      min-height: 0;
      padding-top: 22px;
      padding-bottom: max(22px, env(safe-area-inset-bottom));
    }

    .footer-bottom::before {
      left: var(--container-inline);
      right: var(--container-inline);
    }

    .footer-bottom__copyright {
      font-size: 10px;
    }

    .footer-bottom__top {
      width: 100%;
      min-height: 44px;
    }
  }

  @media (min-width: 768px) {
    .home-section {
      --home-kicker-size: clamp(14px, .95vw, 16px);
      --home-heading-size: clamp(42px, 3.65vw, 50px);
      --home-body-size: clamp(16px, 1.05vw, 18px);
      --home-button-size: clamp(14px, .82vw, 15px);
    }

    .home-section .kicker {
      margin-bottom: 17px;
    }

    .home-section .button {
      min-height: 52px;
      padding-inline: 27px;
    }

    .slider-controls {
      min-height: 42px;
      padding: 4px;
    }

    .slider-controls__button {
      width: 34px;
      height: 34px;
      flex-basis: 34px;
    }

    .slider-controls__status {
      grid-template-columns: auto minmax(30px, 1fr) auto;
      gap: 8px;
      min-width: 96px;
      padding-inline: 4px;
    }

    .hero-controls {
      bottom: 28px;
    }

    .hero-controls__dots,
    .project-controls__dots {
      display: flex;
    }

    .project-controls__status {
      min-width: 108px;
    }

    .news-controls {
      width: min(100%, 214px);
      margin-right: auto;
      margin-left: auto;
    }

    .news-controls__status {
      min-width: 118px;
    }

    .about-layout {
      grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
      align-items: center;
      min-height: 100svh;
      gap: clamp(44px, 6vw, 110px);
      padding-top: calc(var(--header-height) + 50px);
      padding-bottom: 70px;
    }

    .project-slide__content {
      align-items: center;
      padding-top: var(--header-height);
      padding-bottom: 10vh;
    }

    .project-copy {
      width: 47%;
    }

    .project-tabs {
      top: calc(var(--header-height) + 24px);
      left: auto;
      right: var(--container-inline);
      width: auto;
    }

    .project-wordmark {
      top: calc(var(--header-height) + 82px);
      max-width: 210px;
      font-size: 19px;
    }

    .numbers-layout {
      grid-template-columns: minmax(340px, .88fr) minmax(520px, 1.12fr);
      align-items: center;
      gap: clamp(68px, 7vw, 126px);
      min-height: 100svh;
      padding-top: calc(var(--header-height) + 44px);
      padding-bottom: 9vh;
    }

    .numbers-heading {
      align-self: center;
    }

    .numbers-section__mark {
      top: 11%;
      right: -8%;
      font-size: min(54vw, 650px);
    }

    .primary-stat__number {
      font-size: clamp(66px, 5.4vw, 80px);
    }

    .stats-grid {
      align-self: center;
      gap: 0 clamp(36px, 3vw, 54px);
      padding: 10px 0 4px;
    }

    .stats-grid__featured {
      min-height: 94px;
      gap: 24px;
      padding-bottom: 22px;
    }

    .stats-grid__item {
      min-height: 126px;
      padding: 24px 0 18px;
    }

    .stats-grid__item:nth-child(odd) {
      padding-left: 30px;
    }

    .careers-layout {
      grid-template-columns: minmax(300px, .8fr) minmax(430px, 1.2fr);
      align-items: center;
      gap: clamp(50px, 7vw, 130px);
      min-height: 100svh;
    }

    .job-item {
      grid-template-columns: 76px minmax(0, 1fr) auto;
      min-height: 116px;
    }

    .job-item__number {
      font-size: 42px;
    }

    .news-layout {
      min-height: 100svh;
    }

    .news-heading {
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: end;
      column-gap: 28px;
    }

    .news-tabs {
      justify-content: flex-end;
    }

    .news-carousel__track {
      grid-auto-columns: 44%;
      gap: 16px;
    }

    .footer-layout {
      grid-template-columns: minmax(250px, .75fr) minmax(280px, .8fr) minmax(380px, 1.45fr);
      align-items: center;
      min-height: calc(100svh - 74px);
      gap: clamp(36px, 4vw, 80px);
      padding-top: calc(var(--header-height) + 54px);
      padding-bottom: 70px;
    }

    .footer-offices {
      padding-left: 34px;
      border-left: 1px solid rgb(255 255 255 / 16%);
    }

    .footer-map {
      height: min(65vh, 650px);
    }
  }

  @media (min-width: 1024px) {
    .home-section {
      --home-side-rail-left: clamp(14px, 1.1vw, 22px);
      --home-side-rail-width: 52px;
      --home-content-rail-gap: clamp(32px, 2.2vw, 42px);
      --home-content-safe-left: calc(
        var(--home-side-rail-left) +
        var(--home-side-rail-width) +
        var(--home-content-rail-gap)
      );
      --home-content-rail-offset: max(
        0px,
        calc(var(--home-content-safe-left) - var(--container-inline))
      );
    }

    .project-copy,
    .numbers-heading,
    .careers-copy,
    .news-heading > :first-child,
    .footer-company {
      margin-left: var(--home-content-rail-offset);
    }

    .news-carousel {
      width: calc(100% - var(--home-content-rail-offset));
      margin-left: var(--home-content-rail-offset);
    }
  }

  @media (min-width: 1200px) {
    html {
      scroll-padding-top: 0;
    }

    html.is-section-navigation-ready {
      /* Scroll snap chỉ hỗ trợ thao tác kéo scrollbar. JavaScript chịu trách
         nhiệm cho chuyển cảnh cinematic bằng wheel, trackpad và nút điều hướng. */
      scroll-snap-type: y proximity;
      overscroll-behavior-y: none;
    }

    html.is-section-navigating {
      scroll-behavior: auto;
      scroll-snap-type: none;
    }

    .home-section {
      min-height: 100svh;
      scroll-snap-align: start;
      scroll-snap-stop: normal;
    }

    .about-section,
    .projects-section,
    .numbers-section,
    .careers-section {
      min-height: 100svh;
    }

    .news-section {
      height: 100svh;
      min-height: 100svh;
    }

    .news-layout {
      grid-template-rows: auto auto auto;
      align-content: center;
      width: 100%;
      height: 100svh;
      min-height: 0;
      box-sizing: border-box;
      padding-top: calc(var(--header-height) + clamp(24px, 3.5svh, 42px));
      padding-bottom: clamp(58px, 7svh, 76px);
    }

    .news-heading {
      gap: 14px;
      margin-bottom: clamp(16px, 2.2svh, 24px);
    }

    .news-heading h2 {
      font-size: var(--home-heading-size);
      line-height: 1.04;
    }

    .news-carousel {
      align-self: center;
      min-height: 0;
      height: auto;
      max-height: none;
    }

    .news-carousel__track {
      gap: 12px;
    }

    .news-card {
      min-height: 0;
      height: auto;
    }

    .news-card a {
      min-height: 0;
      height: auto;
      aspect-ratio: 2 / 3;
    }

    .news-controls {
      margin-top: clamp(14px, 1.8svh, 18px);
    }

    .about-copy p:not(.kicker),
    .project-copy > p:not(.kicker),
    .careers-copy > p:not(.kicker) {
      font-size: var(--home-body-size);
    }

    .project-controls {
      left: 50%;
      transform: translateX(-50%);
    }

    .news-carousel__track {
      /* 5 thẻ đầy đủ + khoảng 2/3 thẻ thứ 6 trong vùng nhìn thấy. */
      grid-auto-columns: calc(17.6471% - 10.59px);
      gap: 12px;
    }
  }

  @media (max-width: 1023px) {
    .numbers-heading {
      margin-left: 0;
    }

    .stats-grid {
      width: 100%;
      justify-self: stretch;
    }
  }

  @media (max-height: 760px) and (min-width: 1024px) {
    .about-layout,
    .careers-layout {
      min-height: 760px;
    }

    .numbers-layout {
      min-height: 100svh;
      gap: clamp(38px, 5vw, 72px);
      padding-top: calc(var(--header-height) + 24px);
      padding-bottom: 58px;
    }

    .numbers-heading h2 {
      margin-bottom: 22px;
      line-height: 1.08;
    }

    .primary-stat__number {
      font-size: clamp(62px, 5.2vw, 74px);
    }

    .stats-grid {
      padding-top: 8px;
      padding-bottom: 2px;
    }

    .stats-grid__featured {
      min-height: 78px;
      padding-bottom: 16px;
    }

    .stats-grid__item {
      min-height: 102px;
      padding-top: 16px;
      padding-bottom: 12px;
    }

    .project-slide__content {
      padding-bottom: 90px;
    }

    .news-layout {
      min-height: 0;
      padding-top: calc(var(--header-height) + 16px);
      padding-bottom: 52px;
    }

    .news-heading {
      gap: 10px;
      margin-bottom: 12px;
    }

    .news-heading h2 {
      font-size: min(var(--home-heading-size), 50px);
    }

    .news-carousel {
      height: clamp(310px, 43svh, 350px);
      max-height: 350px;
    }

    .news-carousel__track,
    .news-card,
    .news-card a {
      height: 100%;
    }

    .news-controls {
      margin-top: 10px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-slide,
    .project-slide,
    .project-slide__media,
    .hero-slide__media {
      transition: none;
      transform: none;
    }

    .video-play,
    .video-play::before,
    .video-play::after {
      animation: none;
    }

    .home-motion[data-motion-enabled="1"].is-motion-ready [data-motion] {
      opacity: 1;
      clip-path: none;
      translate: 0 0;
      scale: 1;
      transition: none;
      animation: none;
    }

    .home-motion[data-motion-enabled="1"] .footer-map.is-motion-visible .footer-map__pin {
      animation: none;
    }

    .news-carousel.is-news-animating .news-card img {
      animation: none;
    }
  }
}
