:root {
  --black: #080808;
  --white: #f7f7f4;
  --accent: #00d89b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Helvetica Neue", "Noto Sans JP", Arial, sans-serif;
}

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

main {
  overflow: hidden;
}


/* =========================
   COMMON
========================= */

.thought {
  color: var(--accent);
  -webkit-text-stroke: 0.7px #063c32;
  paint-order: stroke fill;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 700;
}

.kinetic-section {
  position: relative;
}

.dark {
  background: #080808;
  color: #fff;
}


/* =========================
   HEADER
========================= */

.site-header {
  position: absolute;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 4vw;
  color: #fff;
}

.brand img,
.footer-brand img {
  width: 250px;
}

.site-header nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.site-header nav a:hover {
  color: var(--accent);
}

.nav-contact {
  border: 1px solid #777;
  padding: 13px 18px;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 100svh;
  background: #080808;
  color: #fff;
  padding: 170px 8vw 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero h1 {
  font-size: clamp(76px, 13vw, 190px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  margin: 5vh 0;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  line-height: 2;
}

.circle-link {
  width: 88px;
  height: 88px;
  border: 1px solid #555;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 10px;
}


/* =========================
   SECTIONS
========================= */

.statement,
.services,
.works,
.experience,
.company {
  padding: 140px 8vw;
  display: grid;
  grid-template-columns: 18% 1fr;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.section-label span {
  color: #888;
  margin-right: 18px;
}

.section-main h2,
.contact h2 {
  font-size: clamp(45px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  margin: 30px 0 70px;
}


/* =========================
   PHILOSOPHY
========================= */

.statement-copy {
  margin-left: 30%;
  max-width: 620px;
  line-height: 2.1;
}


/* =========================
   MARQUEE
========================= */

.marquee {
  overflow: hidden;
  border-block: 1px solid #ccc;
  padding: 22px 0;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  white-space: nowrap;
}

.marquee div {
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-45%);
  }
}


/* =========================
   SERVICE
========================= */

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #333;
}

.service-card {
  min-height: 300px;
  padding: 40px;
  border-bottom: 1px solid #333;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      transparent 20%,
      rgba(255, 255, 255, 0.13),
      transparent 80%
    );
  transform: translateX(-110%);
  transition: 0.8s;
}

.service-card:hover::before {
  transform: translateX(110%);
}

.service-card h3 {
  font-size: clamp(34px, 4vw, 60px);
  margin: 35px 0 5px;
  transition: 0.4s;
}

.service-card:hover h3 {
  color: var(--accent);
  transform: translateX(10px);
}

.service-card b {
  font-size: 12px;
  color: #aaa;
}

.service-card p {
  font-size: 13px;
  line-height: 1.9;
  color: #aaa;
}


/* =========================
   WORKS
========================= */

.works-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 70px;
}

.works-heading h2,
.archive-hero h1 {
  font-size: clamp(64px, 9vw, 130px);
  line-height: 0.85;
  letter-spacing: -0.07em;
  margin: 24px 0 0;
}

.work-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid #aaa;
  border-top: 1px solid #aaa;
  margin-bottom: 70px;
}

.work-categories a {
  min-height: 85px;
  padding: 14px;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 10px;
}

.work-categories a:hover {
  background: var(--accent);
  color: #071d18;
}

.works-grid,
.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 28px;
}

.work-thumb {
  aspect-ratio: 1.35;
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #111;
  transition: 0.6s;
}

.work-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.work-thumb span,
.work-thumb strong {
  position: relative;
  z-index: 1;
}

.work-thumb span {
  font-size: 9px;
  letter-spacing: 0.12em;
}

.work-thumb strong {
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.9;
}

.work-card:hover .work-thumb {
  transform: translateY(-8px);
  box-shadow: 14px 18px 0 var(--accent);
}

.work-meta {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #bbb;
  padding: 15px 0 12px;
  font-size: 9px;
  color: #777;
}

.work-card h3,
.work-card h2 {
  font-size: 20px;
  font-weight: 500;
}


/* =========================
   EXPERIENCE
========================= */

.experience .section-main {
  max-width: 750px;
}


/* =========================
   COMPANY
========================= */

.company dl div {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 25px 0;
  border-bottom: 1px solid #bbb;
}

.company dd {
  margin: 0;
}


/* =========================
   CONTACT
========================= */

.contact {
  padding: 130px 8vw;
  text-align: center;
  background: #e9e9e5;
}

.contact-button {
  max-width: 620px;
  height: 90px;
  margin: 60px auto 0;
  padding: 0 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #080808;
  color: #fff;
}

.contact-button:hover {
  background: var(--accent);
  color: #071d18;
}

.contact-note {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  background: #080808;
  color: #fff;
  padding: 65px 8vw 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-info {
  font-size: 12px;
  color: #aaa;
}

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

.copyright {
  grid-column: 1 / -1;
  border-top: 1px solid #292929;
  padding-top: 25px;
  color: #666;
  font-size: 10px;
}


/* =========================
   ARCHIVE
========================= */

.archive-page {
  min-height: 85vh;
  padding-top: 100px;
}

.archive-hero {
  padding: 100px 8vw 80px;
}

.archive-grid {
  padding: 0 8vw 130px;
}

.archive-empty {
  grid-column: 1 / -1;
  min-height: 300px;
  display: grid;
  place-content: center;
  text-align: center;
  border-block: 1px solid #bbb;
}

.archive-empty strong {
  font-size: clamp(42px, 8vw, 100px);
  color: #d2d2cd;
}


/* =========================
   SINGLE WORK
========================= */

.single-work {
  padding: 180px 8vw 120px;
}

.single-work h1 {
  font-size: clamp(50px, 8vw, 110px);
  letter-spacing: -0.06em;
}

.single-work-image img {
  width: 100%;
  height: auto;
}

.single-work-content {
  max-width: 800px;
  margin: 70px auto;
  line-height: 2;
}


/* =========================
   EFFECT
========================= */

.cursor-glow {
  position: fixed;
  z-index: 30;
  left: -130px;
  top: -130px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(0, 216, 155, 0.16),
      rgba(0, 216, 155, 0.05) 42%,
      transparent 70%
    );
}

.kinetic-type {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  opacity: 0.72;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 760px) {

  .site-header {
    padding: 20px;
  }

  .site-header nav a:not(.nav-contact) {
    display: none;
  }

  .hero {
    padding: 140px 24px 35px;
    min-height: 780px;
  }

  .hero h1 {
    font-size: 90px;
  }

  .statement,
  .services,
  .works,
  .experience,
  .company {
    display: block;
    padding: 95px 24px;
  }

  .section-label {
    margin-bottom: 65px;
  }

  .section-main h2 {
    font-size: 40px;
  }

  .statement-copy {
    margin: 0;
  }

  .service-grid,
  .works-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .work-categories {
    grid-template-columns: 1fr 1fr;
  }

  .works-heading {
    display: block;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 55px 24px 25px;
  }

  .archive-hero,
  .archive-grid,
  .single-work {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cursor-glow {
    display: none;
  }
}


/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {

  * {
    animation: none !important;
    transition: none !important;
  }

  .kinetic-type,
  .cursor-glow {
    display: none;
  }
}