:root {
  --bg: #0a0b0d;
  --panel: #0c0d10;
  --ink: #f4f5f3;
  --muted: rgba(244, 245, 243, 0.56);
  --line: rgba(255, 255, 255, 0.1);
  --lime: #c8ff5a;
  --mint: #6fe3c4;
  --max: 1280px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: var(--bg);
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid rgba(200, 255, 90, 0.9);
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.cursor-ring.is-link {
  width: 54px;
  height: 54px;
  background: rgba(200, 255, 90, 0.18);
}

.cursor-ring.is-view {
  width: 76px;
  height: 76px;
  background: rgba(200, 255, 90, 0.2);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1001;
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--mint));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px 44px;
  background: rgba(10, 11, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 25px;
}

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

.desktop-nav a,
.quote-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.desktop-nav a {
  opacity: 0.84;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.desktop-nav a:hover {
  color: var(--lime);
  opacity: 1;
}

.quote-link {
  justify-self: end;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  justify-self: end;
  padding: 10px;
  border: 0;
  background: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  flex-direction: column;
  padding: 18px 20px 40px;
  background: var(--bg);
  color: var(--ink);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-menu-head img {
  height: 24px;
  width: auto;
}

.mobile-menu-head button {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.mobile-menu nav span,
.mobile-menu nav em {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  color: rgba(244, 245, 243, 0.44);
  font-style: normal;
}

.mobile-menu nav strong {
  font-size: 30px;
  font-weight: 700;
}

.mobile-quote {
  margin-top: auto;
  padding: 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--bg);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 3000px;
  min-height: 620px;
  max-height: 1100px;
  margin: 0 auto;
  aspect-ratio: 3000 / 1100;
  overflow: hidden;
  background: #101114;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.42) 0%, rgba(10, 11, 13, 0.2) 42%, rgba(10, 11, 13, 0.04) 72%, rgba(10, 11, 13, 0) 100%),
    rgba(10, 11, 13, 0.18);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 44px;
}

.hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: 104px;
  line-height: 1.02;
  font-weight: 800;
}

.hero h1 span {
  display: block;
}

.typed-line {
  min-height: 1.08em;
}

.typed-line [data-typed],
.contact-section h2 span {
  display: inline;
  background: linear-gradient(120deg, var(--lime), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.typed-line i {
  display: inline-block;
  width: 0.55ch;
  height: 0.86em;
  margin-left: 4px;
  border-radius: 2px;
  background: var(--lime);
  animation: blink 1s steps(1) infinite;
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 2;
  display: flex;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-cue span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  color: rgba(244, 245, 243, 0.5);
}

.scroll-cue b {
  position: relative;
  display: block;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(244, 245, 243, 0.2);
}

.scroll-cue b::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: var(--lime);
  animation: scrollcue 1.8s ease-in-out infinite;
  content: "";
}

.marquee-band {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marq 28s linear infinite;
}

.marquee-track div {
  display: flex;
  align-items: center;
}

.marquee-track span {
  padding: 0 28px;
  color: rgba(244, 245, 243, 0.16);
  font-family: "Space Grotesk", sans-serif;
  font-size: 34px;
  font-weight: 700;
  white-space: nowrap;
}

.marquee-track i {
  color: var(--lime);
  font-style: normal;
}

.section,
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding-right: 44px;
  padding-left: 44px;
}

.about-section {
  padding-top: 140px;
  padding-bottom: 140px;
}

.eyebrow {
  margin: 0;
  color: rgba(244, 245, 243, 0.42);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.about-section h2,
.section-head h2,
.contact-section h2 {
  margin: 0;
  font-weight: 800;
}

.about-section h2 {
  max-width: 1100px;
  margin-top: 28px;
  font-size: 78px;
  line-height: 1.1;
}

.about-section h2 span {
  color: var(--lime);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 90px;
}

.stat {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 70px;
  line-height: 1;
}

.stat p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.service-section {
  padding-top: 40px;
  padding-bottom: 140px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
}

.section-head h2 {
  margin-top: 18px;
  font-size: 52px;
}

.section-head > p,
.section-head div > p:last-child {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px 14px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s ease, padding 0.4s ease;
}

.service-row:hover {
  padding-left: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.service-row span {
  color: rgba(244, 245, 243, 0.36);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
}

.service-row strong {
  display: block;
  font-size: 34px;
  line-height: 1.2;
}

.service-row em {
  display: block;
  margin-top: 6px;
  color: rgba(244, 245, 243, 0.44);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-style: normal;
}

.service-row b {
  color: var(--lime);
  font-size: 24px;
}

.portfolio-section {
  padding-bottom: 140px;
}

.outline-link {
  padding: 11px 20px;
  border: 1px solid rgba(200, 255, 90, 0.4);
  border-radius: 999px;
  color: var(--lime);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 36px;
}

.portfolio-card.offset {
  margin-top: 80px;
}

.portfolio-card a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #1b1d20;
  text-decoration: none;
}

.portfolio-card a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.42) 100%);
  content: "";
}

.portfolio-card img,
.magazine-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card a:hover img,
.magazine-card a:hover img {
  transform: scale(1.08);
}

.portfolio-card a span,
.portfolio-card a em {
  position: absolute;
  z-index: 2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
}

.portfolio-card a span {
  top: 16px;
  left: 16px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.portfolio-card a em {
  right: 16px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.portfolio-card > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.portfolio-card h3 {
  margin: 0;
  font-size: 22px;
}

.portfolio-card small {
  color: rgba(244, 245, 243, 0.44);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  white-space: nowrap;
}

.portfolio-card p {
  margin: 6px 0 0;
  color: rgba(244, 245, 243, 0.48);
  font-size: 13px;
}

.magazine-section {
  padding: 130px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--panel);
}

.magazine-section .section-head {
  margin-bottom: 50px;
}

.magazine-section .section-head p:last-child {
  margin-top: 14px;
}

.magazine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.magazine-card a {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #1b1d20;
}

.magazine-card h3 {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.4;
}

.magazine-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: rgba(244, 245, 243, 0.44);
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
}

.contact-section {
  padding-top: 150px;
  padding-bottom: 60px;
}

.contact-section h2 {
  margin-top: 24px;
  font-size: 100px;
  line-height: 1.02;
}

.contact-section .reveal > a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 44px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(244, 245, 243, 0.3);
  color: var(--ink);
  font-size: 30px;
  font-weight: 800;
  text-decoration: none;
}

.contact-section .reveal > a span {
  color: var(--lime);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 120px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}

footer span {
  margin-left: 6px;
  color: rgba(244, 245, 243, 0.44);
}

footer p {
  margin: 12px 0 0;
  color: rgba(244, 245, 243, 0.48);
  font-size: 13px;
  line-height: 1.7;
}

footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer nav a {
  color: rgba(244, 245, 243, 0.58);
  font-size: 13px;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@keyframes blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes scrollcue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes marq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 82px;
  }

  .about-section h2 {
    font-size: 64px;
  }

  .contact-section h2 {
    font-size: 78px;
  }

  .portfolio-grid {
    column-gap: 36px;
  }
}

@media (max-width: 820px) {
  body {
    cursor: auto;
  }

  .cursor-ring,
  .cursor-dot {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    padding: 14px 20px;
  }

  .brand img {
    height: 23px;
  }

  .desktop-nav,
  .desktop-quote {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    align-items: flex-end;
    min-height: 560px;
    max-height: 88vh;
    aspect-ratio: 720 / 1280;
  }

  .hero-video {
    object-position: 50% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10, 11, 13, 0.18) 0%, rgba(10, 11, 13, 0.08) 44%, rgba(10, 11, 13, 0.82) 100%),
      rgba(10, 11, 13, 0.1);
  }

  .hero-inner {
    padding: 0 20px 76px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.05;
  }

  .scroll-cue {
    bottom: 22px;
  }

  .scroll-cue span {
    font-size: 10px;
  }

  .scroll-cue b {
    height: 34px;
  }

  .marquee-band {
    padding: 14px 0;
  }

  .marquee-track {
    animation-duration: 22s;
  }

  .marquee-track span {
    padding: 0 18px;
    font-size: 22px;
  }

  .section,
  .section-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .about-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .about-section h2,
  .section-head h2 {
    font-size: 36px;
    line-height: 1.16;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 48px;
  }

  .stat {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
  }

  .stat strong {
    font-size: 54px;
  }

  .stat p {
    max-width: 48%;
    margin: 0;
    text-align: right;
  }

  .service-section {
    padding-top: 0;
    padding-bottom: 80px;
  }

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

  .section-head > p,
  .section-head div > p:last-child {
    margin-top: 12px;
    font-size: 14px;
  }

  .service-row {
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    padding: 20px 2px;
  }

  .service-row:hover {
    padding-left: 2px;
    background: transparent;
  }

  .service-row span {
    font-size: 12px;
  }

  .service-row strong {
    font-size: 22px;
  }

  .service-row em {
    font-size: 11px;
  }

  .portfolio-section {
    padding-bottom: 80px;
  }

  .portfolio-section .section-head {
    display: flex;
    align-items: flex-end;
  }

  .outline-link {
    padding: 8px 14px;
    font-size: 12px;
    white-space: nowrap;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }

  .portfolio-card.offset {
    margin-top: 0;
  }

  .portfolio-card h3 {
    font-size: 18px;
  }

  .portfolio-card p {
    font-size: 12px;
  }

  .magazine-section {
    padding: 80px 0;
  }

  .magazine-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .magazine-card h3 {
    margin-top: 12px;
  }

  .contact-section {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .contact-section h2 {
    font-size: 54px;
  }

  .contact-section .reveal > a {
    margin-top: 32px;
    font-size: 19px;
  }

  footer {
    display: block;
    margin-top: 80px;
    padding-top: 28px;
  }

  footer span {
    display: block;
    margin: 4px 0 0;
  }

  footer nav {
    margin-top: 24px;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 40px;
  }

  .mobile-menu nav strong {
    font-size: 28px;
  }

  .about-section h2,
  .section-head h2 {
    font-size: 32px;
  }

  .contact-section h2 {
    font-size: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
