
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    height: 100%;
  }

  body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    background-color: #000;
    color: #fff;
    letter-spacing: 0;
    font-family: Inter, sans-serif;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.5;
    overflow-x: hidden;
  }

  body::before {
    --line: hsl(0 0% 95% / 0.25);
    content: "";
    height: 100vh;
    width: 100%;
    position: fixed;
    background: linear-gradient(90deg, var(--line) 1px, transparent 1px 10vmin)
        0 -5vmin / 10vmin 10vmin,
      linear-gradient(var(--line) 1px, transparent 1px 10vmin) 0 -5vmin / 10vmin
        10vmin;
    mask: linear-gradient(-15deg, transparent 30%, white);
    top: 0;
    left: 0;
    z-index: -1;
  }


  * {
    box-sizing: border-box;
  }


  img {
    vertical-align: middle;
    max-width: 100%;
    display: inline-block;
    border: 0;
  }


  .techs-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    background-color: black;
  }

  #section-tool {
    padding-right: 0;
    min-height: auto;
    padding-bottom: 6em;
    padding-top: 6em;
  }

  .mq-wrap {
    display: grid;
    align-content: center;
    overflow: hidden;
    gap: calc(clamp(10rem, 1rem + 20vmin, 10rem) / 14);
    width: 100%;
  }

  .marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: calc(clamp(10rem, 1rem + 20vmin, 10rem) / 14);
    mask-image: linear-gradient(
      var(--mask-direction, to right),
      hsl(0 0% 0% / 0),
      hsl(0 0% 0% / 1) 20%,
      hsl(0 0% 0% / 1) 80%,
      hsl(0 0% 0% / 0)
    );
  }

  .marquee__group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: calc(clamp(10rem, 1rem + 20vmin, 10rem) / 14);
    min-width: 100%;
    animation: scroll-x 60s linear infinite;
  }

  @media (prefers-reduced-motion: reduce) {
    .marquee__group {
      animation-play-state: paused;
    }
  }

  .marquee--vertical {
    --mask-direction: to bottom;
  }

  .marquee--vertical,
  .marquee--vertical .marquee__group {
    flex-direction: column;
  }

  .marquee--reverse .marquee__group {
    animation-direction: reverse;
    animation-delay: -3s;
  }

  @keyframes scroll-x {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(
        calc(-100% - calc(clamp(10rem, 1rem + 20vmin, 10rem) / 14))
      );
    }
  }

  .marquee svg {
    display: grid;
    place-items: center;
    width: clamp(10rem, 1rem + 20vmin, 10rem);
    fill: white;
    background: #111;
    aspect-ratio: 16/9;
    padding: calc(clamp(10rem, 1rem + 20vmin, 10rem) / 10);
    border-radius: 0.5rem;
    box-shadow: rgb(255 255 255 / 6%) 0px 2px 4px 0px inset;
  }

  .marquee--vertical svg {
    aspect-ratio: 1;
    width: calc(clamp(10rem, 1rem + 20vmin, 10rem) / 1.5);
    padding: calc(clamp(10rem, 1rem + 20vmin, 10rem) / 6);
  }

  .wrapper {
    display: flex;
    flex-direction: column;
    gap: calc(clamp(10rem, 1rem + 20vmin, 10rem) / 14);
    margin: auto;
    max-width: 1180px;
  }

  .wrapper--vertical {
    flex-direction: row;
    height: 100vh;
  }

  @keyframes fade {
    to {
      opacity: 0;
      visibility: hidden;
    }
  }

  .tag-canvas > canvas {
    position: relative;
    top: -1px;
    left: -1px;
    right: -1px;
  }
  .tag-canvas {
    background-color: rgba(41, 37, 37, 0.67);
    background-image: linear-gradient(
      rgba(0, 0, 0, 0.86),
      rgba(255, 255, 255, 0)
    );
    border-radius: 20px;
    width: 100%;
    height: 60%;
    max-width: 1280px;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(255, 255, 255, 0.25),
      0 30px 60px -30px rgba(255, 255, 255, 0.3),
      inset 0 -2px 6px rgba(255, 255, 255, 0.35);
  }

  .light-right {
    width: 80vw;
    max-width: 1440px;
    position: absolute;
    top: 0%;
    bottom: auto;
    left: auto;
    right: 0%;
  }

  .light-left {
    width: 80vw;
    max-width: 1440px;
    position: absolute;
    top: 0%;
    bottom: auto;
    left: 0%;
    right: auto;
  }

  @media screen and (max-width: 767px) {
    .tag-canvas {
      width: 100%;
      height: 100%;
      pointer-events: none;
    }
  }

  .form-wrap {
    width: 100%;
    max-width: 600px;
  }

  .p-contact {
    margin-bottom: 2em;
    color: #999;
    font-size: 1.05em;
    line-height: 1.6;
    font-weight: 400;
    text-align: center;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .form-g-msg {
    margin-top: 1.5em;
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
  }

  .allbut-msg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    gap: 1.5em;
  }

  input,
  textarea {
    padding: 0.8em;
    border: 1px solid #333;
    border-radius: 0.5em;
    background: #111;
    color: white;
    font-size: 14px;
    letter-spacing: -0.2px;
    line-height: 1.5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
      sans-serif;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px,
      rgba(0, 0, 0, 0.24) 0px 1px 2px;
  }

  #btn-form-submit {
    padding: 1.1em;
    background-color: #fefefe;
    color: #000;
    letter-spacing: 0.4px;
    font-weight: 550;
    font-size: 0.9em;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
      sans-serif;
    text-transform: uppercase;
    border: none;
    border-radius: 0.5em;
    cursor: pointer;
    width: 100%;
    border-style: solid;
    border-color: white;
    border-width: medium;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #btn-form-submit:hover {
    border-color: #999;
    background-color: #fff;
  }

  #contact {
    position: relative;
    overflow: hidden;
  }

  .cont-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/figure/3d-footer.svg");
    background-size: contain, cover;
    background-repeat: round;
    background-position: center bottom, center center;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    animation-fill-mode: forwards;
    z-index: -1;
  }



  label {
    margin-bottom: 0.5em;
    padding-left: 0.3em;
    color: #999;
    font-size: 0.78em;
  }

  input:focus,
  textarea:focus {
    outline: none;
    border-color: #fff;
  }

  textarea {
    resize: vertical;
  }

  @media (max-width: 600px) {
    .allbut-msg {
      grid-template-columns: 1fr;
      gap: 1em;
    }

    #contact {
      margin-top: 8em;
      min-height: auto;
    }

    .cont-bg {
      background-size: cover;
    }
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }

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

  .text {
    font-size: 2.1rem;
    max-width: 740px;
    font-weight: 400;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
      sans-serif;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-align: center;
  }

  .xl-sticky-title {
    height: auto;
    max-height: 15em;
    position: sticky;
    top: 3em;
  }

  .light-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: -1;
    opacity: 0;
  }

  .light-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: inherit;
    opacity: 0;
    z-index: -1;
  }

  /* add responsive .text */
  @media (max-width: 768px) {
    .text {
      font-size: 1.2rem;
    }

    .xl-sticky-title {
      position: unset;
    }
  }

  .text__word {
    opacity: 0.2;
  }

  .section {
    align-items: center;
    display: flex;
    height: auto;
    justify-content: center;
    padding: 0 2rem;
    min-height: 100vh;
    flex-direction: column;
  }

  .scroll-down {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
  }

  .word {
    opacity: 0;
    transition: opacity 1s ease-out;
    line-height: 1.3;
  }

  .visible {
    opacity: 1;
  }

  nav {
    position: absolute;
    top: 1.3em;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 1000;
    max-width: 360px;
    padding: 1em;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(33, 33, 33, 0.692);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.125);
  }

  nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style-type: none;
  }

  nav ul li {
    margin: 0 1rem;
  }

  nav ul li a {
    text-decoration: none;
    color: white;
  }

  section {
    display: block;
  }

  video {
    vertical-align: baseline;
    display: inline-block;
    border-radius: 12px;
  }

  a {
    background-color: rgba(0, 0, 0, 0);
  }

  a:active,
  a:hover {
    outline: 0;
  }

  svg:not(:root) {
    overflow: hidden;
  }

  p {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .glow {
    animation: move 5s linear infinite;
    offset-path: rect(0% auto 100% auto);
    background: radial-gradient(#ffffff96, #f1f5f997, transparent);
  }

  @keyframes move {
    0% {
      offset-distance: 0%;
    }

    100% {
      offset-distance: 100%;
    }
  }

  h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
  }

  p {
    margin-top: 0;
    margin-bottom: 0;
  }

  a {
    font-size: 1em;
    text-decoration: none;
  }

  .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.8em;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  /* mobile */
  @media screen and (max-width: 767px) {
    .container {
      min-height: auto;
      height: auto;
    }
  }

  .container.is-work {
    padding-top: 3em;
    padding-bottom: 3em;
  }

  .grid {
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    width: 100%;
    display: grid;
  }

  .text-style-sub {
    text-transform: uppercase;
    font-size: 0.9em;
  }

  .text-style-sub.is-2 {
    position: absolute;
    top: 0%;
    bottom: auto;
    left: 0%;
    right: auto;
  }

  .home-hero_p {
    max-width: 20em;
  }


  .work_content {
    grid-column-gap: 1em;
    grid-row-gap: 1em;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    max-width: 28em;
    display: flex;
    padding-bottom: 3em;
  }

  .work_visual {
    display: block;
    position: relative;
    overflow: hidden;
  }

  .work_visual-height-radius {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
  }

  .work_image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
  }

  .text-style-h1 {
    letter-spacing: -0.06em;
    font-size: 5em;
    margin-bottom: 0.3em;
    font-weight: 500;
    line-height: 1.3;
    background-image: linear-gradient(135deg, white, rgba(255, 255, 255, 0.5));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }

  @media screen and (max-width: 767px) {
    .text-style-h1 {
      margin-top: 2em;
      font-size: 4em;
    }
  }

  @media screen and (max-width: 767px) {
    .scroll-down {
      display: none;
    }
  }

  .text-style-h2 {
    letter-spacing: -0.06em;
    font-size: 3em;
    font-weight: 500;
    line-height: 1.3;
    background-image: linear-gradient(135deg, white, rgba(255, 255, 255, 0.5));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
  }

  .text-style-h3 {
    letter-spacing: -0.06em;
    font-size: 2.5em;
    font-weight: 500;
    line-height: 1.3;
    background-image: linear-gradient(135deg, white, rgba(255, 255, 255, 0.5));
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    margin-top: 0;
    margin-bottom: 0;
  }

  .work_video {
    z-index: 3;
    /* opacity: 0; */
    width: 100%;
    height: 100%;
    /* transition: opacity .4s; */
    position: absolute;
    top: 0%;
    bottom: 0%;
    left: 0%;
    right: 0%;
  }

  .work_role-wrap {
    padding-bottom: 1em;
  }

  .role_list {
    grid-column-gap: 0.75em;
    grid-row-gap: 0.75em;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    display: flex;
  }

  .opacity-low {
    color: rgba(255, 255, 255, 0.54);
  }

  .work_link {
    grid-column-gap: 0.5em;
    grid-row-gap: 0.5em;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 100vw;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding: 0.6em 1.2em;
    line-height: 1.4;
    transition: color 0.2s, background-color 0.2s;
    display: flex;
    background-color: black;
    color: white;
  }

  .work_link:hover {
    background-color: var(--black);
    color: var(--white);
  }

  .work_link-svg {
    flex: none;
    width: 0.7em;
    height: 1.2em;
    transition: transform 0.2s;
  }

  .sr-only {
    opacity: 0;
    max-width: 0;
    max-height: 0;
    position: absolute;
    top: 0%;
    bottom: auto;
    left: 0%;
    right: auto;
    overflow: hidden;
  }

  .work_link-text-wrap {
    position: relative;
    overflow: hidden;
  }

  @media screen and (max-width: 991px) {
    .container {
      padding: 1.2em;
    }

    .grid {
      grid-column-gap: 0.75em;
    }

    .work_content {
      padding-bottom: 1.5em;
    }
  }

  @media screen and (max-width: 767px) {
    .container {
      padding: 1em;
    }

    .grid {
      grid-column-gap: 0.5em;
    }
  }

  #w-node-_8988a9d2-9f25-7161-a337-76a45bd3dd7c-155a0086 {
    grid-area: span 1 / span 4 / span 1 / span 4;
  }

  #w-node-_635303b4-300b-482e-29a2-7c760ee1b9fd-155a0086 {
    grid-area: span 1 / span 8 / span 1 / span 8;
  }

  @media screen and (max-width: 991px) {
    #w-node-_8988a9d2-9f25-7161-a337-76a45bd3dd7c-155a0086,
    #w-node-_635303b4-300b-482e-29a2-7c760ee1b9fd-155a0086 {
      grid-area: span 1 / span 12 / span 1 / span 12;
    }
  }

  #thank-you-message {
    margin-top: 20px;
    color: white;
    font-size: 1.2em;
    letter-spacing: -0.3px;
    font-weight: 600;
    text-align: center;
    justify-content: center;
    align-items: center;
}