/* ==========================================================
   Kailoo portfolio — layout & interaction study
   Design tokens
   ========================================================== */
:root {
  --bg: #f0f1f4;
  --primary: #0a0e15;
  --muted: rgba(10, 14, 21, 0.55);
  --line: rgba(10, 14, 21, 0.9);
  --line-soft: rgba(10, 14, 21, 0.18);
  --bg-muted: rgba(240, 241, 244, 0.55);
  --line-dark: rgba(240, 241, 244, 0.25);

  --sp: 1.389vw;                 /* base spacing (20px @1440) */
  --radius: 0.35vw;
  --header-h: 3.472vw;           /* 50px @1440 */
  /* 标题/字标用 Futura（非 Mac 回退 Jost），正文用 Hanken Grotesk */
  --font-display: "Futura", "Futura PT", "Jost", "Century Gothic", "PingFang SC", sans-serif;
  --font-sans: "Hanken Grotesk", "Helvetica Neue", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  --font-editorial: "EB Garamond", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: initial; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* 隐藏浏览器原生滚动条（已有右侧细进度条替代） */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

body {
  background: var(--bg);
  color: var(--primary);
  font-family: var(--font-sans);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; }
.font-editorial { font-family: var(--font-editorial); font-weight: 400; }

.container { padding-left: var(--sp); padding-right: var(--sp); }

/* ==========================================================
   Wordmark (placeholder logo — replace with your own)
   ========================================================== */
.wordmark {
  display: inline-flex;
  align-items: flex-end;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.82; /* 紧凑贴底；揭示动画结束后 JS 会放开 overflow 以免裁切 */
  overflow: hidden;
}
.wm-letter { display: inline-block; transform: translateY(110%); }

/* ==========================================================
   Preloader
   ========================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: var(--sp);
  pointer-events: none;
}
.preloader__inner { grid-column: 1 / -1; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.preloader__count { font-size: 1vw; font-weight: 500; letter-spacing: 0.05em; }
.preloader__count::after { content: "%"; }
.preloader__brand {
  font-size: 11vw; line-height: 1;
  /* 遮罩下边缘向下扩展，让 g 的下伸部在动画中也不被裁切 */
  padding-bottom: 0.24em; margin-bottom: -0.24em;
}
.preloader__brand .wm-letter { transform: translateY(160%); }

/* ==========================================================
   Scroll progress (fixed right vertical bar)
   ========================================================== */
.scroll-progress {
  position: fixed; z-index: 90;
  right: 12px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.scroll-progress__track { width: 2px; height: 30vh; background: rgba(10, 14, 21, 0.12); border-radius: 2px; overflow: hidden; }
.scroll-progress__fill { height: 100%; width: 100%; background: var(--primary); border-radius: 2px; transform: scaleY(0); transform-origin: center top; }

/* ==========================================================
   Menus / label roll hover
   ========================================================== */
.label-wrap { display: inline-flex; flex-direction: column; overflow: hidden; height: 1.25em; }
.label-wrap span { display: block; line-height: 1.25; transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1); }
a:hover .label-wrap span { transform: translateY(-100%); }

.menu { display: flex; align-items: center; gap: 2.08vw; font-weight: 500; text-transform: lowercase; font-size: 1vw; }
.menu-link { display: inline-flex; align-items: center; gap: 0.35vw; }
.menu-marker {
  width: 0.55vw; height: 0.55vw; display: inline-block;
  background: currentColor;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.9;
  transition: transform 0.3s ease;
}
.menu-link:hover .menu-marker { transform: rotate(90deg); }
.menu-marker--star { clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.menu-sup { font-family: var(--font-editorial); font-size: 0.65em; margin-left: 0.15vw; transform: translateY(-0.35em); }

/* ==========================================================
   Sticky header
   ========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: stretch;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transform: translateY(-101%);
  transition: background 0.35s ease, color 0.35s ease;
}
.site-header__logo {
  width: 7vw; display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.35vw; letter-spacing: -0.025em;
}
.site-header__nav { display: flex; align-items: center; padding: 0 var(--sp); flex: 1; }
.site-header__lang {
  display: flex; align-items: center; padding: 0 1vw;
  border-left: 1px solid var(--line);
  font-weight: 500; font-size: 0.9vw;
}
/* header over dark section */
.site-header.is-dark { background: var(--primary); color: var(--bg); border-color: var(--line-dark); }
.site-header.is-dark .site-header__logo { border-color: var(--line-dark); }
.site-header.is-dark .site-header__lang { border-color: var(--line-dark); }

/* ==========================================================
   Burger + mobile menu
   ========================================================== */
.burger {
  position: fixed; top: 14px; right: 16px; z-index: 110;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: none; flex-direction: column; justify-content: center; gap: 7px;
}
.burger span { height: 2px; background: var(--primary); transition: transform 0.35s ease, background 0.35s ease; }
.burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.burger.is-open span { background: var(--bg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--primary); color: var(--bg);
  opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex; flex-direction: column;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__head { padding: 18px 20px; border-bottom: 1px solid var(--line-dark); }
.mobile-menu__logo { font-weight: 600; font-size: 26px; letter-spacing: -0.04em; }
.mobile-menu__list { font-size: 44px; font-weight: 500; margin-top: 30px; }
.mobile-menu__list li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list a { display: block; padding: 8px 40px; }
.mobile-menu__list sup { font-family: var(--font-editorial); font-size: 16px; }
.mobile-menu__foot { margin-top: auto; display: flex; justify-content: space-between; padding: 24px 20px; font-weight: 500; font-size: 15px; }

/* ==========================================================
   Buttons
   ========================================================== */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 15.5vw; min-height: 3.2vw;
  padding: 1vw 2vw;
  background: var(--primary); color: #fff;
  border-radius: var(--radius);
  font-size: 0.9vw; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn--light { background: var(--bg); color: var(--primary); }
.btn__corner {
  display: none; /* 按用户要求隐藏按钮角标三角 */
  position: absolute; width: 0.6vw; height: 0.6vw; background: currentColor;
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn__corner--tr { top: -0.25vw; right: -0.25vw; clip-path: polygon(100% 0, 100% 100%, 0 0); color: var(--primary); }
.btn__corner--bl { bottom: -0.25vw; left: -0.25vw; clip-path: polygon(0 100%, 100% 100%, 0 0); color: var(--primary); }
.btn--light .btn__corner { color: var(--bg); }
.btn:hover .btn__corner--tr { transform: translate(0.3vw, -0.3vw); }
.btn:hover .btn__corner--bl { transform: translate(-0.3vw, 0.3vw); }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
.hero__right {
  position: relative;
  margin-left: 50%; width: 50%;
  padding-bottom: 6.9vw;
}
.hero__vline {
  position: absolute; left: 0; top: 0; height: 0;
  border-left: 1px solid var(--line);
}
.hero__nav { display: flex; justify-content: space-between; align-items: center; padding: 1.1vw var(--sp) 1vw; }
.hero__lang { font-weight: 500; font-size: 1vw; }
.hero__nav-line { border-bottom: 1px solid var(--line); margin-left: auto; width: 0%; }
.hero__title {
  font-family: var(--font-display);
  font-size: 3.333vw; line-height: 1.12; font-weight: 400; letter-spacing: 0;
  padding: 1.32vw var(--sp) 0;
  max-width: 90%;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.9vw;
  margin: 2vw var(--sp) 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.45vw 0.7vw 0.45vw 1.1vw;
  opacity: 0;
}
.hero__badge-label { font-size: 0.62vw; font-weight: 600; letter-spacing: 0.08em; line-height: 1.25; }
.hero__badge-year { font-size: 1.45vw; }
.hero__wordmark {
  margin-top: auto;
  padding: 0 var(--sp);
  font-size: 17vw;
}
.hero__meta {
  position: absolute; top: 1.1vw; left: var(--sp);
  display: flex; flex-direction: column; gap: 0.35vw;
  font-size: 0.72vw; font-weight: 600; letter-spacing: 0.1em;
  opacity: 0;
}
.hero__meta-line { display: inline-flex; align-items: center; gap: 0.4vw; }
.hero__bottom-line { border-bottom: 1px solid var(--line); margin: 0 auto; width: 0%; }

/* ==========================================================
   Scene block (3D) + scroll hint
   ========================================================== */
.scene-block { position: relative; }
/* SCROLL 提示：与 hero 字标同行，靠右底部对齐 */
.scroll-hint {
  position: absolute; right: var(--sp); bottom: 1.6vw;
  display: flex; font-size: 0.83vw; letter-spacing: 0.05em;
}
.scroll-hint__inner { display: inline-flex; align-items: center; }
.scene-block__spacer { height: 150vh; margin-top: -14vh; }
.scene-block__sticky { position: sticky; top: 0; height: 100vh; }
#webgl { width: 100%; height: 100%; display: block; }

/* ==========================================================
   Section label + indent pattern
   ========================================================== */
.section-indent { position: relative; }
.section-name {
  position: absolute; left: 0; top: 0.4em;
  font-size: 0.7vw; font-weight: 600; letter-spacing: 0.1em;
}
.about-intro { margin-top: -23vw; margin-bottom: 20vw; position: relative; z-index: 2; }
.about-intro__text {
  font-size: 2.222vw; line-height: 1.12; font-weight: 400; letter-spacing: -0.005em;
  max-width: 46vw;
  text-indent: 6vw;
  text-align: justify;
}
/* 逐行拆分动画后每行是独立块：行内容器改为 block 并两端对齐（CJK 按字距分配），最后一行保持左对齐 */
.about-intro__text .split-line__inner {
  display: block;
  text-align: justify;
  text-align-last: justify;
}
.about-intro__text .split-line:last-child .split-line__inner {
  text-align-last: left;
}

/* split lines（上下留出内边距，避免上伸部/下伸部被遮罩裁切） */
.split-line {
  display: block; overflow: hidden;
  padding: 0.08em 0 0.14em;
  margin: -0.08em 0 -0.14em;
}
.split-line__inner { display: block; transform: translateY(130%); }

/* ==========================================================
   Featured head
   ========================================================== */
.featured-head { margin-bottom: 3.6vw; }
.featured-head__row { position: relative; padding-right: 11.5vw; }
.featured-head__counter {
  position: absolute; right: 1.3vw; top: 0;
  font-size: 2.2vw;
}
.featured-head__title {
  font-family: var(--font-display);
  font-size: 16vw; font-weight: 500; letter-spacing: -0.04em; line-height: 0.9;
}
.wordmark-huge { display: inline-flex; overflow: hidden; }
.wordmark-huge .wm-letter { transform: translateY(110%); }

/* ==========================================================
   Projects — stacking collapse
   ========================================================== */
.projects { padding-bottom: 10.4vw; }
.projects__topline { border-top: 1px solid var(--line); margin: 0 var(--sp); }
.projects__pin { padding: 0 var(--sp); }

.project {
  position: relative;
  height: 32.3vw;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: row;
  padding: var(--sp) 0;
  gap: var(--sp);
}
.project__info { width: 33vw; flex: none; display: flex; flex-direction: column; }
.project__title { font-family: var(--font-display); font-size: 3.4vw; font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; }
.project__cat { font-size: 1vw; font-weight: 500; letter-spacing: 0.06em; margin-top: 0.7vw; color: rgba(10, 14, 21, 0.45); }
.project__desc {
  font-size: 1.1vw; line-height: 1.35; max-width: 21vw;
  margin-top: 2.2vw; opacity: 0;
  text-align: justify;
}
.project__media { flex: 1; border-radius: var(--radius); overflow: hidden; position: relative; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__media[data-video] { cursor: pointer; }
.project__media .project__preview {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.project__media.is-previewing .project__preview { opacity: 1; }
.project__play {
  position: absolute; left: 1.1vw; bottom: 1.1vw;
  display: inline-flex; align-items: center; gap: 0.4vw;
  padding: 0.45vw 0.9vw; border-radius: 99px;
  background: rgba(10, 14, 20, 0.72); color: #fff;
  font-size: 0.72vw; font-weight: 600; letter-spacing: 0.12em;
  backdrop-filter: blur(4px); transition: transform 0.3s ease;
}
.project__play svg { width: 0.85vw; height: 0.85vw; }
.project__media[data-video]:hover .project__play { transform: scale(1.06); }

/* ---------- Video lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 10, 14, 0.85);
  backdrop-filter: blur(8px);
}
.lightbox__scroll {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  overflow-y: auto; overflow-x: hidden;
  overscroll-behavior: contain;
  touch-action: pan-y;
  scrollbar-width: none; -ms-overflow-style: none;
}
.lightbox__scroll::-webkit-scrollbar { display: none; }
.lightbox__reel {
  width: min(82vw, 1280px);
  margin: 0 auto;
  padding: 8vh 0 14vh;
  display: flex; flex-direction: column; align-items: stretch; gap: 6vh;
}
.lightbox__reel video {
  display: block; width: 100%; max-height: 82vh;
  border-radius: 10px; background: #000;
}
.lightbox__hint {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-align: center; text-transform: uppercase;
}
.lightbox__close {
  position: fixed; top: 22px; right: 28px; z-index: 2;
  background: none; border: none; color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer;
  padding: 0.2rem 0.6rem; opacity: 0.8; transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }

.projects__more {
  display: flex; align-items: flex-start;
  padding-top: 2.4vw;
}
.projects__badge {
  display: inline-flex; align-items: center; gap: 0.8vw;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.55vw 1vw;
}
.projects__badge-icon { width: 1.5vw; height: 1.5vw; }
.projects__badge-label { font-size: 0.58vw; font-weight: 600; letter-spacing: 0.06em; line-height: 1.3; }
.projects__badge-num { font-size: 2vw; }
.projects__more-right { margin-left: 24vw; }
.projects__more-text { font-size: 1.05vw; line-height: 1.4; }
.projects__more-right .btn { margin-top: 2vw; }

/* ==========================================================
   Services — dark horizontal collapse
   ========================================================== */
.services {
  background: var(--primary); color: var(--bg);
  /* pull the dark section up over the space freed by the collapsed
     project rows (3 rows x (32.3vw - 6.2vw) ≈ 78vw) */
  margin-top: -74vw;
  position: relative; z-index: 3;
}
.services__pin {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(var(--header-h) + 2vw);
}
.services .section-name { color: var(--bg); }
.services__heading {
  font-size: 3.333vw; line-height: 1.1; font-weight: 400;
  max-width: 70vw; text-indent: 6vw;
}
.services__track {
  display: flex; flex-wrap: nowrap; align-items: stretch;
  border-top: 1px solid var(--line-dark);
  margin-top: 4.8vw;
  height: 38vw;
  overflow: hidden;
}
.service-panel {
  position: relative;
  flex: none;
  width: 34vw;
  border-right: 1px solid var(--line-dark);
  padding: 1.4vw 1vw;
  overflow: hidden;
}
.service-panel__head { display: flex; flex-direction: column; gap: 1.6vw; align-items: flex-start; }
.service-panel__label { font-size: 0.72vw; font-weight: 600; letter-spacing: 0.09em; white-space: nowrap; }
.service-panel__icon { width: 1.9vw; height: 1.9vw; }
.service-panel__word {
  position: absolute; top: 44%; left: 1vw;
  font-family: var(--font-display);
  font-size: 5.2vw; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap;
  transform: translateY(-50%);
}
.service-panel__desc {
  position: absolute; bottom: 4.2vw; left: 1vw;
  font-size: 0.9vw; line-height: 1.45; color: rgba(240, 241, 244, 0.65);
  white-space: nowrap;
}
.service-panel--last {
  width: 72.4vw;
  border-right: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 0 0 4vw 1.4vw;
}
.service-panel__giant {
  font-family: var(--font-display);
  font-size: 12vw; font-weight: 400; letter-spacing: -0.03em; line-height: 1;
  white-space: nowrap;
}
.services__btn { align-self: center; }

/* ==========================================================
   About us
   ========================================================== */
.about-us { margin: 8.3vw 0; }
.about-us__grid { display: flex; gap: var(--sp); }
.about-us__media { flex: none; width: 45vw; position: relative; }
.about-us__media-inner {
  position: sticky; top: var(--sp);
  height: 0; overflow: hidden;
  border-radius: var(--radius);
}
/* 等比完整展示图片，不做 cover 裁切 */
.about-us__media-inner img { width: 100%; height: auto; display: block; }
.about-us__content { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.about-us__heading {
  font-size: 2.222vw; line-height: 1.14; font-weight: 400;
  text-indent: 6vw; max-width: 44vw;
}
.about-us__body { max-width: 31.5vw; margin-left: 24.6vw; margin-top: 5.5vw; }
.about-us__desc { font-size: 1.05vw; line-height: 1.45; color: var(--primary); text-align: justify; }
.about-us__body .btn { margin-top: 2.3vw; }

/* ==========================================================
   CTA
   ========================================================== */
.cta { margin: 8.3vw 0; overflow: hidden; }
.cta__line1, .cta__line2 {
  font-family: var(--font-display);
  font-size: 7.6vw; font-weight: 400; letter-spacing: -0.02em; line-height: 1;
}
.cta__line1 { white-space: nowrap; }
.cta__line2 { display: flex; align-items: center; gap: 2.8vw; }
.cta__arrow { width: 4.4vw; height: auto; flex: none; }
.cta__block2 { margin-left: 0; margin-top: 0.5vw; }
.cta__footer { display: flex; align-items: flex-start; gap: 6vw; margin-top: 4vw; margin-left: 30vw; }
.cta__desc { font-size: 1.05vw; line-height: 1.45; }

/* ==========================================================
   Footer
   ========================================================== */
.footer {
  background: var(--primary); color: var(--bg);
  font-size: 0.97vw;
  overflow: hidden;
}
.footer__top {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line-dark);
}
.footer__col--menu { border-right: 1px solid var(--line-dark); }
.footer__col-title {
  font-size: 1.25vw; font-weight: 500;
  padding: var(--sp);
  border-bottom: 1px solid var(--line-dark);
}
.footer__col--services .footer__col-title { border-bottom: 0; }
.footer__menu li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75vw var(--sp);
  border-bottom: 1px solid var(--line-dark);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.footer__menu li:last-child a { border-bottom: 0; }
.footer__menu-arrow { opacity: 0; transform: translateX(-0.6vw); transition: opacity 0.3s ease, transform 0.3s ease; }
.footer__menu li a:hover { background: rgba(240, 241, 244, 0.06); padding-left: calc(var(--sp) * 1.6); }
.footer__menu li a:hover .footer__menu-arrow { opacity: 1; transform: translateX(0); }
.footer__links { padding: 1vw var(--sp) var(--sp); display: flex; flex-direction: column; gap: 0.45vw; }
.footer__links a { opacity: 0.85; transition: opacity 0.25s ease; }
.footer__links a:hover { opacity: 1; text-decoration: underline; }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: var(--sp);
}
.footer__wordmark { font-size: 13.5vw; color: var(--bg); }
.footer__meta { display: flex; gap: 3vw; align-items: center; font-weight: 500; letter-spacing: 0.03em; }
.footer__meta-link:hover { text-decoration: underline; }

/* ==========================================================
   Responsive (tablet & mobile)
   ========================================================== */
@media (max-width: 1024px) {
  :root { --sp: 20px; --radius: 6px; --header-h: 56px; }

  .container { padding-left: 20px; padding-right: 20px; }
  .menu, .site-header, .scroll-progress { display: none; }
  .burger { display: flex; }

  /* 移动端顶部白色条：给右上角菜单按钮做底 */
  body::before {
    content: ""; position: fixed; top: 0; left: 0; right: 0;
    height: 60px; background: var(--bg); z-index: 60;
    border-bottom: 1px solid var(--line-soft);
  }

  .preloader__count { font-size: 13px; }
  .preloader__brand { font-size: 17vw; line-height: 1; }
  .hero__meta { top: 24px; left: 20px; font-size: 10px; gap: 5px; }

  .hero__right { margin-left: 0; width: 100%; padding-top: 96px; }
  .hero__vline, .hero__nav-line, .hero__nav { display: none; }
  .hero__title { font-size: 44px; padding: 0 20px; max-width: 600px; }
  .hero__badge { margin: 40px 20px 0; padding: 8px 12px; gap: 12px; }
  .hero__badge-label { font-size: 9px; }
  .hero__badge-year { font-size: 21px; }
  .hero__wordmark { font-size: 27vw; }

  .scroll-hint { font-size: 12px; right: 20px; bottom: 16px; }
  .scene-block__spacer { height: 90vh; }
  .about-intro { margin-top: -16vh; margin-bottom: 120px; }
  .about-intro__text { font-size: 28px; max-width: 100%; text-indent: 80px; }
  .section-name { font-size: 10px; }

  .featured-head__title { font-size: 21vw; }
  .featured-head__counter { font-size: 22px; }

  .project { height: auto; flex-direction: column-reverse; }
  .project__info { width: 100%; }
  .project__title { font-size: 34px; }
  .project__cat { font-size: 11px; }
  .project__desc { font-size: 15px; max-width: 100%; margin-top: 14px; opacity: 1; }
  .project__media { width: 100%; aspect-ratio: 16 / 9; flex: none; }
  .project__play { font-size: 11px; padding: 6px 12px; gap: 5px; left: 12px; bottom: 12px; }
  .project__play svg { width: 12px; height: 12px; }

  .projects__more { flex-direction: column; gap: 30px; }
  .projects__more-right { margin-left: 0; }
  .projects__badge-icon { width: 22px; height: 22px; }
  .projects__badge-label { font-size: 9px; }
  .projects__badge-num { font-size: 28px; }
  .projects__more-text { font-size: 15px; }

  .btn { min-width: 223px; min-height: 48px; font-size: 13px; padding: 14px 28px; }
  .btn__corner { width: 9px; height: 9px; }
  .btn__corner--tr { top: -4px; right: -4px; }
  .btn__corner--bl { bottom: -4px; left: -4px; }

  .services { margin-top: 0; }
  .services__pin { padding-top: 80px; }
  .services__heading { font-size: 30px; max-width: 100%; text-indent: 70px; }
  .services__track { flex-direction: column; height: auto; margin-top: 50px; }
  .service-panel { width: 100% !important; border-right: 0; border-bottom: 1px solid var(--line-dark); min-height: 220px; }
  .service-panel__label { font-size: 11px; }
  .service-panel__icon { width: 26px; height: 26px; }
  .service-panel__word { font-size: 52px; left: 14px; }
  .service-panel__desc { font-size: 14px; bottom: 20px; left: 14px; }
  .service-panel--last { width: 100% !important; padding: 20px; gap: 30px; }
  .service-panel__giant { font-size: 19vw; }

  .about-us__grid { flex-direction: column; }
  .about-us__media { display: none; }
  .about-us__heading { font-size: 28px; max-width: 100%; text-indent: 70px; }
  .about-us__body { max-width: 100%; margin: 40px 0 0; }
  .about-us__desc { font-size: 15px; }

  .cta__line1, .cta__line2 { font-size: 76px; }
  .cta__arrow { width: 44px; }
  .cta__footer { margin-left: 0; flex-direction: column; gap: 26px; }
  .cta__desc { font-size: 15px; }

  .footer { font-size: 13px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__col--menu { border-right: 0; }
  .footer__col-title { font-size: 17px; }
  .footer__menu li a { padding: 12px 20px; }
  .footer__links { padding: 14px 20px 24px; gap: 8px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer__wordmark { font-size: 27vw; }
  .footer__meta { gap: 24px; }
}
