@font-face {
  font-family: 'Helvetica Now Display Local';
  src: local('Helvetica Now Display Regular'),
       local('HelveticaNowDisplay-Regular'),
       url('assets/fonts/HelveticaNowDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SC Local';
  src: local('Noto Sans SC Regular'),
       local('Noto Sans SC'),
       url('assets/fonts/NotoSansSC-Regular-subset.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #c8c8c8;
  --fg: #121212;
  --line: rgba(18, 18, 18, .09);
  --accent: #d4ff00;
  --header: 6vh;
  --unit: 1vh;
  color-scheme: light;
  font-family: 'Helvetica Now Display Local', 'Noto Sans SC Local', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-feature-settings: 'liga', 'ss01', 'case', 'zero', 'ss04', 'tnum';
}

:root[data-theme=dark] {
  --bg: #1c1c1c;
  --fg: #fff;
  --line: rgba(255, 255, 255, .12);
  --accent: #ae00ff;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html {
  margin: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .3s, color .3s;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: none; }
button, h1, h2, h3, p, figure { margin: 0; }

::selection {
  background: var(--accent);
  color: #121212;
}

/* 移动端专有布局默认在 PC 端完全隐藏 */
.mobile-title, .m-type-wrapper, .about-mobile-wrap { display: none; }

/* ==========================================================================
   桌面端（PC）核心样式
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  display: grid;
  grid-template-columns: .5fr 1fr 1fr .5fr;
  align-items: start;
  padding: .8vh 1.225vh 0 1.225vh;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  isolation: isolate;
}

.site-header:before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: .35;
  z-index: -1;
}

.logo { width: 7vh; height: 4.8vh; display: block; }
.logo svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.site-header h1 { font-weight: 400; font-size: 3.5vh; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.wordmark { text-transform: uppercase; white-space: nowrap; font: inherit; cursor: pointer; }
.email, .location { font-size: 1.38vh; line-height: 1; padding-top: .3vh; }
.location { display: flex; flex-direction: column; align-items: flex-end; gap: .5vh; justify-self: end; }
.location-top { display: flex; gap: 2vh; align-items: center; white-space: nowrap; font-size: 1.38vh; line-height: 1; }

.theme-toggle {
  font: inherit;
  font-size: 1.38vh;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .3vh .8vh;
  border: 1px solid var(--line);
  border-radius: 2vh;
  background: var(--bg);
  transition: border-color .2s;
  text-transform: uppercase;
}
.theme-toggle:hover { border-color: var(--fg); text-decoration: none; }
.theme-label { white-space: nowrap; }
.theme-dot { width: .7vh; height: .7vh; background: var(--fg); border-radius: 50%; }

/* Desktop switch: sized from the supplied desktop demo. */
@media (min-width: 781px) {
  .theme-toggle {
    width: auto;
    justify-content: flex-start;
    gap: .45vh;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    touch-action: none;
    user-select: none;
  }

  .theme-toggle:hover { border-color: transparent; }

  .theme-dot {
    --switch-w: 2.8vh;
    --switch-h: 1.45vh;
    --switch-inset: .18vh;
    --switch-thumb: 1.09vh;
    position: relative;
    flex: 0 0 auto;
    order: -1;
    width: var(--switch-w);
    height: var(--switch-h);
    overflow: hidden;
    border-radius: 999px;
    background: #27272a;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
    transition: background-color .4s ease, transform .25s ease;
  }

  .theme-dot::after {
    content: '';
    position: absolute;
    top: var(--switch-inset);
    left: var(--switch-inset);
    width: var(--switch-thumb);
    height: var(--switch-thumb);
    border-radius: 50%;
    background: #bababa;
    transform: translate3d(0,0,0);
    transform-origin: center;
    transition: transform .42s cubic-bezier(.22,1,.36,1), background-color .4s ease;
  }

  :root[data-theme=dark] .theme-dot { background: #f5f5f5; }
  :root[data-theme=dark] .theme-dot::after {
    background: #6e6e6e;
    transform: translate3d(calc(var(--switch-w) - var(--switch-thumb) - var(--switch-inset) - var(--switch-inset)),0,0);
  }

  .theme-toggle[data-held] .theme-dot { transform: scale(1.045); }
  .theme-toggle[data-held] .theme-dot::after {
    transform: translate3d(var(--switch-drag-x, 0px),0,0) scaleX(1.25) scaleY(.8);
  }
}

#projects { padding-top: var(--header); }

.project-row {
  --scale: .35;
  position: relative;
  height: calc(100vh * var(--scale));
  overflow: hidden;
  transition: none;
  touch-action: pan-y;
  cursor: crosshair;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  outline: none;
  transform: translateZ(0);
  will-change: height;
}

.row-scale {
  height: 100vh;
  width: max-content;
  transform: scale(var(--scale));
  transform-origin: 0 0;
  transition: none;
  backface-visibility: hidden;
}

.track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}

.group {
  display: flex;
  align-items: flex-start;
  width: max-content;
  flex: none;
  height: 100%;
  padding: 1.5vh 0;
  gap: 3.5vh;
}

.project-info {
  width: 177.778vh;
  max-width: 100vw;
  height: 100%;
  padding-left: 3.5vh;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.project-info h2 {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 10vh;
  line-height: 1;
  letter-spacing: -.02em;
  width: 100%;
  margin-bottom: .6em;
}

.project-meta { font-size: 2.857vh; line-height: 1.12; text-transform: uppercase; }

.description {
  font-size: 2.857vh;
  line-height: 1.2;
  word-spacing: .2em;
  width: 75%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s;
}
.description p { text-indent: 25%; }
.description p + p { margin-top: .25em; }

.project-link {
  text-transform: uppercase;
  display: block;
  text-align: right;
  margin-top: 1em;
  white-space: nowrap;
}
.project-link:before { content: '‹'; padding-right: .15em; }

.media {
  height: 100%;
  width: calc((100vh - 3vh) * var(--size) * var(--ratio));
  flex: none;
  position: relative;
  border-radius: 1vh;
  overflow: hidden;
  user-select: none;
  border: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
  background-color: var(--bg);
  contain: paint;
  isolation: isolate;
}

.media[data-size='1'] { height: 40%; }
.media[data-size='2'] { height: 60%; }
.media[data-size='3'] { height: 80%; }

.media img, .media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (min-width: 781px) {
  /* Let the moving track own the compositing layer. Promoting every image/video
     separately makes Chrome re-sample textured artwork and can flash video planes. */
  .media,
  .media img,
  .media video {
    transform: none;
    backface-visibility: visible;
  }
}

.media video { position: absolute; inset: 0; }
.media video:not(.ready) { opacity: 0; }
.media img { background: transparent; }

/* Low-quality preview is a paint-only overlay. It never changes the media DOM,
   geometry, hit testing, marquee transform, or video playback lifecycle. */
.media.lqip-pending::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  background: var(--bg) var(--lqip-image) center / cover no-repeat;
  image-rendering: pixelated;
  pointer-events: none;
  opacity: 1;
  transition: opacity .55s cubic-bezier(.22, 1, .36, 1);
}

.media.lqip-pending.media-ready::before {
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .55s;
}

.gap { width: 40vh; flex: none; }

.project-row.expanded {
  border-bottom: 1px solid var(--line);
}
.project-row.expanded .description { opacity: 1; visibility: visible; }
.project-row.expanded .project-info { max-width: 100vw; }
.project-row.expanded .media { cursor: grab; }

/* ABOUT 栏 (PC) */
.about-row {
  --scale: 1;
  position: relative;
  height: 28vh;
  overflow: hidden;
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid var(--line);
}

.about-scale {
  width: max-content;
  height: 28vh;
  padding: 0.2vh 3vw;
  transform: scale(var(--scale));
  transform-origin: 0 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.about-copy {
  width: calc((100vw - 6vh) * .726);
  display: flex;
  flex-wrap: wrap;
  font-size: 1.38vh;
  line-height: 1.35;
  word-spacing: .2em;
}

.about-copy p:first-child {
  width: 100%;
  max-width: 32em;
  font-size: 2.5vh;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.about-copy p:nth-child(2) { width: 50%; max-width: 48em; margin-left: 35%; margin-top: .8vh; }
.about-copy p:nth-child(3) { width: 50%; max-width: 48em; margin-left: 15em; margin-top: .8vh; }

/* Contact 栏 (PC) */
.contact-row {
  --scale: 1;
  position: relative;
  height: 35vh;
  overflow: hidden;
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid var(--line);
}

.contact-scale {
  width: max-content;
  height: 35vh;
  padding-top: 0.2vh;
  transform: scale(var(--scale));
  transform-origin: 0 0;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.contact-main {
  width: 75vw;
  margin-left: 25vw;
  font-size: 3.5vh;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4vw;
  margin: 4vh 0 0 50vw;
  font-size: 1.38vh;
  text-transform: uppercase;
  line-height: 1.25;
}

.legal { position: absolute; bottom: 1.5vh; left: 50%; font-size: 1.38vh; display: flex; gap: 2em; z-index: 10; transform: translateX(-50%); }

.close-detail {
  position: fixed;
  right: 1.225vh;
  bottom: 1.5vh;
  font-size: 13px;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  z-index: 80;
  backdrop-filter: blur(12px);
  text-transform: uppercase;
}
.close-detail span { margin-left: 15px; }
.close-detail[hidden] { display: none; }

/* 光标 */
.cursor {
  --cursor-size: 47px;
  --cursor-cross-size: 15px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9000;
  display: none;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transition: opacity 400ms;
}
.cursor.is-visible { opacity: 1; }

.cursor-circle {
  display: block;
  width: var(--cursor-size);
  height: var(--cursor-size);
  border-radius: 50%;
  background: var(--bg);
  opacity: .3;
  transform: translate(calc(var(--cursor-size) / -2), calc(var(--cursor-size) / -2)) scale(.8);
  will-change: transform, opacity;
  transition: transform 600ms cubic-bezier(.16,1,.3,1), opacity 200ms;
}
.cursor[data-state='expand'] .cursor-circle,
.cursor[data-state='shrink'] .cursor-circle,
.cursor[data-state='pointer'] .cursor-circle {
  transform: translate(calc(var(--cursor-size) / -2), calc(var(--cursor-size) / -2));
}
.cursor[data-background-hidden='true'] .cursor-circle { opacity: 0; }

.cursor-cross {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: calc(var(--cursor-size) + 1px);
  height: calc(var(--cursor-size) + 1px);
  transform: translate(-50%, -50%);
}
.cursor-cross::before,
.cursor-cross::after {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  width: var(--cursor-cross-size);
  height: var(--cursor-cross-size);
  margin: auto;
  border-radius: 25%;
  transition: transform 600ms cubic-bezier(.16,1,.3,1), border-radius 200ms linear;
}
.cursor-cross::before {
  border-left: 1px solid var(--fg);
  border-top: 1px solid var(--fg);
}
.cursor-cross::after {
  border-right: 1px solid var(--fg);
  border-bottom: 1px solid var(--fg);
}
.cursor[data-state='expand'] .cursor-cross::before {
  border-radius: 0;
  transform: translate(-4px,-4px);
}
.cursor[data-state='expand'] .cursor-cross::after {
  border-radius: 0;
  transform: translate(5px,5px);
}
.cursor[data-state='shrink'] .cursor-cross::before {
  border-radius: 0;
  transform: translate(calc(var(--cursor-cross-size) / 2 + 3px), calc(var(--cursor-cross-size) / 2 + 3px));
}
.cursor[data-state='shrink'] .cursor-cross::after {
  border-radius: 0;
  transform: translate(calc(var(--cursor-cross-size) / -2 + 1px - 3px), calc(var(--cursor-cross-size) / -2 + 1px - 3px));
}
.cursor[data-state='pointer'] .cursor-cross::before {
  border-radius: 0;
  transform: translate(calc(var(--cursor-cross-size) / 2), calc(var(--cursor-cross-size) / 2));
}
.cursor[data-state='pointer'] .cursor-cross::after {
  border-radius: 0;
  transform: translate(calc(var(--cursor-cross-size) / -2 + 1px), calc(var(--cursor-cross-size) / -2 + 1px));
}

@media (hover:hover) and (pointer:fine) {
  .cursor { display: block; }
  .use-cursor, .use-cursor * { cursor: none !important; }
}
@media (max-height:780px) {
  .cursor { --cursor-size: 37px; --cursor-cross-size: 10px; }
}

.skip-link { position: fixed; top: -60px; left: 12px; background: var(--bg); padding: 12px; z-index: 110; }
.skip-link:focus { top: 12px; }

@media (hover: hover) and (pointer: fine) {
  .project-row:hover { cursor: none; }
  .project-row:not(.expanded):hover { z-index: 20; }
  
  .about-row:hover { height: calc(28vh * 1.2); --scale: 1.2; z-index: 20; }
  .contact-row:hover { height: calc(35vh * 1.2); --scale: 1.2; z-index: 20; }
}

@media (min-width: 781px) {
  /* Desktop mark: static artwork following the active theme foreground. */
  .logo svg,
  .logo svg g,
  .logo svg use {
    filter: none !important;
  }

  .logo svg use {
    fill: currentColor !important;
  }

  html.has-detail { scroll-behavior: auto; }
  .has-detail .project-row:not(.expanded) .track,
  .has-detail .about-scale,
  .has-detail .contact-scale { opacity: .2; }
  /* The marquee transform is updated every animation frame. Transitioning it causes
     sub-pixel flicker and makes the loop reset animate backwards across the page. */
  .track { transition: opacity .3s; }
  .about-scale, .contact-scale { transition: opacity .3s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
}

/* ==========================================================================
   移动端（Mobile） - 精确复刻：左高右低非对称垂直错位排版
   ========================================================================== */
@media (max-width: 780px) {
  :root {
    --header: 22.5vw;
    --m-pad: 2vw;
  }

  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
  }

  .group .project-info { display: none !important; }
  .about-scale { display: none !important; }
  
  .mobile-title { 
    display: block !important; 
    padding: 0 var(--m-pad); 
    margin-bottom: 1.5vw; 
  }
  .mobile-title h2 { 
    font-size: 6vw !important; 
    text-transform: uppercase; 
    line-height: 1.0; 
    font-weight: 400; 
    letter-spacing: -0.02em;
  }

  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto min-content;
    padding: 1vw var(--m-pad);
    align-items: start;
    height: var(--header);
    background: var(--bg);
  }

  .site-header h1 {
    grid-column: 2 / 4;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
    font-size: 6vw;
    line-height: 1;
    letter-spacing: -.04em;
  }

  .wordmark { font-size: inherit; }

  .logo {
    grid-column: 1;
    grid-row: 1;
    width: 12vw;
    height: 6vw;
  }

  .email {
    grid-column: 1;
    grid-row: 2;
    /* Keep the email's top edge aligned with the first line of the clock. */
    align-self: start;
    justify-self: start;
    padding-top: 0;
    font-size: 2.75vw;
    line-height: 1.15;
    text-transform: uppercase;
  }

  .location {
    display: contents !important;
  }

  .location-top {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    justify-self: start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 2.75vw;
    line-height: 1.15;
    text-transform: uppercase;
  }

  /* The mobile mark is intentionally static: no animated gradient, relief, or
     filter pass. It follows the current light/dark foreground color. */
  .logo svg {
    filter: none !important;
  }

  .logo svg g,
  .logo svg use {
    filter: none !important;
  }

  .logo svg use {
    fill: currentColor !important;
  }

  .theme-toggle {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    justify-self: center;
    display: flex !important;
    width: max-content;
    flex-direction: column;
    align-items: flex-start;
    gap: .8vw;
    font-size: 2.75vw;
    line-height: 1;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: transform .2s ease;
    touch-action: none;
    user-select: none;
  }

  .theme-dot {
    --switch-w: 4.2vw;
    --switch-h: 2.1vw;
    --switch-inset: .25vw;
    --switch-thumb: 1.6vw;
    position: relative;
    flex: 0 0 auto;
    width: var(--switch-w);
    height: var(--switch-h);
    overflow: hidden;
    border-radius: 999px;
    background: #27272a;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
    transition: background-color .4s ease, transform .25s ease;
    order: -1;
  }

  .theme-dot::after {
    content: '';
    position: absolute;
    top: var(--switch-inset);
    left: var(--switch-inset);
    width: var(--switch-thumb);
    height: var(--switch-thumb);
    border-radius: 50%;
    background: #bababa;
    transform: translate3d(0,0,0);
    transform-origin: center;
    transition: transform .42s cubic-bezier(.22,1,.36,1), background-color .4s ease;
  }

  :root[data-theme=dark] .theme-dot { background: #f5f5f5; }
  :root[data-theme=dark] .theme-dot::after {
    background: #6e6e6e;
    transform: translate3d(calc(var(--switch-w) - var(--switch-thumb) - var(--switch-inset) - var(--switch-inset)),0,0);
  }

  .theme-toggle[data-held] .theme-dot { transform: scale(1.045); }
  .theme-toggle[data-held] .theme-dot::after {
    transform: translate3d(var(--switch-drag-x, 0px),0,0) scaleX(1.25) scaleY(.8);
  }

  .theme-label { line-height: 1; }

  #projects { padding-top: 0; }

  .project-row {
    height: auto !important;
    border-bottom: 1px solid var(--line);
    padding: 20px 0 32px 0;
    overflow: hidden;
  }

  .project-row::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: var(--fg);
    opacity: .075;
    transform: translate3d(var(--guide-x, 0px), 0, 0);
    will-change: transform;
    pointer-events: none;
  }

  .row-scale {
    transform: none !important;
    height: auto !important;
    width: 100% !important;
  }

  .track {
    display: flex !important;
    height: 70vw !important;
    width: max-content !important;
  }

  .group {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    height: 100% !important;
    padding: 0 !important;
    gap: 0 !important;
  }

.media {
    height: 100% !important;
    /* 核心修复：宽度同步乘以 size 缩放系数，保证无论 size 是 1/2/3/4，图片比例永远 100% 正确、不裁切 */
    width: calc(70vw * var(--size, 1) * var(--ratio)) !important;
    max-width: none;
    margin-left: var(--m-pad);
    border-radius: 4px;
  }

  .media[data-size='1'] { height: 40% !important; }
  .media[data-size='2'] { height: 60% !important; }
  .media[data-size='3'] { height: 80% !important; }

  .media img, .media video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .gap { width: 40px !important; }

  /* -------------------------------------------------------------------------
     移动端文字布局：使用 4 栏节奏。
     元数据占满一行；正文从第 2 栏开始，占右侧 3 栏；每段首行再缩进 1 栏。
     ------------------------------------------------------------------------- */
  .m-type-wrapper {
    position: relative;
    display: flex !important;
    flex-direction: column;
    padding: 16px var(--m-pad) 0 var(--m-pad);
    font-size: 2.75vw;
    line-height: 1.25;
    letter-spacing: 0.02em;
    word-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg);
  }

  /* 1. 服务与年份保持左对齐，作为正文错位的视觉锚点。 */
  .m-tag {
    position: relative;
    width: 100%;
    text-align: left;
    margin-bottom: 0;
    z-index: 2;
  }
  .m-tag .m-subline {
    display: block;
    width: 100%;
  }
  .m-tag .m-year {
    display: block;
    width: 50%;
    opacity: 1;
    margin-top: 0;
  }

  /* 2. 正文整体右移 25%，后续行回到正文左边缘，形成不规则轮廓。 */
  .m-desc-block {
    width: 75%;
    align-self: flex-start;
    text-align: left;
    margin: 0 0 0 25%;
  }

  .m-justify-text {
    width: 100%;
    font: inherit;
    text-align: left;
    letter-spacing: inherit;
    word-spacing: inherit;
  }

  .m-justify-text p {
    margin: 0;
    text-indent: 33.333% !important;
  }

  .m-justify-text p + p {
    margin-top: 0;
  }

  /* 3. 链接行 */
  .m-link-row {
    text-align: right;
    margin-top: 0;
  }

  .m-link-row .project-link {
    font-size: inherit;
    display: inline-block;
    text-indent: 0;
  }

  /* -------------------------------------------------------------------------
     ABOUT & CONTACT 区域
     ------------------------------------------------------------------------- */
  .about-row {
    height: auto !important;
    padding: 2vw var(--m-pad) 6vw var(--m-pad) !important;
    border-bottom: 1px solid var(--line);
  }

  .about-mobile-wrap {
    display: block !important;
    width: 100%;
  }

  .about-hero-text {
    font-size: 6vw !important;
    line-height: 1 !important;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-align: left;
    width: 100%;
    margin: 0;
  }

  .about-sub-copy {
    width: 100% !important;
    margin: 0 !important;
    text-align: left;
    display: block;
    font-size: 2.75vw !important;
    line-height: 1.25 !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    word-spacing: 0.2em;
    opacity: 1;
  }

  .about-sub-copy p { margin: 0; }

  .about-sub-copy p:first-child {
    width: 75%;
    margin: 5em 0 0 25%;
  }

  .about-sub-copy p:nth-child(2) {
    width: 75%;
    margin-left: 0;
    text-indent: 33.333%;
  }

  .contact-main {
    width: 100% !important;
    margin-left: 0 !important;
    font-size: 18px !important;
    line-height: 1.2;
  }

  .contact-links {
    margin: 20px 0 0 0 !important;
    gap: 12px;
    flex-direction: column;
  }

  .legal {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 24px;
  }

  .cursor, .close-detail { display: none !important; }
}
