:root {
  --paper: #efece4;
  --ink: #1c1b19;
  --muted: #6a6862;
  --line: #d4d1c8;
  --accent: #2e6d62;
  --accent-hover: #245850;
  --pin: #161616;
  --paper-field: #f6f3ec;
  --paper-atmosphere:
    radial-gradient(ellipse 92% 72% at 6% -12%, rgba(46, 109, 98, 0.22), transparent 56%),
    radial-gradient(ellipse 68% 52% at 104% 10%, rgba(28, 27, 25, 0.1), transparent 52%),
    radial-gradient(ellipse 82% 48% at 88% 108%, rgba(46, 109, 98, 0.16), transparent 58%),
    radial-gradient(ellipse 44% 68% at 46% 36%, rgba(255, 252, 245, 0.62), transparent 72%),
    radial-gradient(ellipse 90% 80% at 50% 42%, transparent 48%, rgba(28, 27, 25, 0.055) 100%),
    linear-gradient(180deg, #f4f1e9 0%, #efece4 42%, #e7e3d8 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans JP", system-ui, sans-serif;
  letter-spacing: 0.02em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

input,
textarea,
select,
button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  left: 8px;
}

/* —— atmosphere —— */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--paper);
  background-image: var(--paper-atmosphere);
}

.page-bg__orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.page-bg__orb--a {
  width: min(74vw, 820px);
  height: min(74vw, 820px);
  left: -22vw;
  top: -26vw;
  background: radial-gradient(circle at 42% 42%, rgba(46, 109, 98, 0.3), rgba(46, 109, 98, 0.05) 48%, transparent 70%);
  animation: bgOrbA 34s ease-in-out infinite alternate;
}

.page-bg__orb--b {
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  right: -16vw;
  top: 14vh;
  background: radial-gradient(circle at 50% 50%, rgba(28, 27, 25, 0.14), transparent 68%);
  animation: bgOrbB 40s ease-in-out infinite alternate;
}

.page-bg__orb--c {
  width: min(68vw, 720px);
  height: min(68vw, 720px);
  left: 32vw;
  bottom: -34vw;
  background: radial-gradient(circle at 48% 38%, rgba(46, 109, 98, 0.22), transparent 68%);
  animation: bgOrbC 38s ease-in-out infinite alternate;
}

.page-bg__shaft {
  position: absolute;
  left: 16%;
  top: -24%;
  width: 30%;
  height: 148%;
  background: linear-gradient(180deg, transparent, rgba(255, 252, 245, 0.38) 38%, transparent 78%);
  transform: rotate(-18deg);
  opacity: 0.55;
}

.page-bg__ring {
  position: absolute;
  width: min(92vw, 940px);
  height: min(92vw, 940px);
  left: 48%;
  top: 4%;
  border: 1px solid rgba(28, 27, 25, 0.1);
  border-radius: 50%;
  transform: translateX(-28%);
}

.page-bg__ring--inner {
  width: min(58vw, 580px);
  height: min(58vw, 580px);
  left: 64%;
  top: 18%;
  border-color: rgba(46, 109, 98, 0.16);
  transform: translateX(-18%);
}

main,
footer {
  position: relative;
  z-index: 1;
}

/* —— loader —— */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--paper);
  background-image: var(--paper-atmosphere);
  pointer-events: none;
  animation: cfCurtain 2.05s cubic-bezier(0.76, 0, 0.24, 1) both;
}

.curtain.is-skip {
  display: none;
}

.curtain__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.mark {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 74px;
}

.mark__bar {
  width: 7px;
  height: 38%;
  background: var(--ink);
  transform-origin: bottom;
  animation: cfBar 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.02s both;
}

.mark__bar:nth-child(2) {
  height: 68%;
  animation-delay: 0.12s;
}

.mark__bar--accent {
  height: 100%;
  background: var(--accent);
  animation-delay: 0.22s;
}

.curtain__count {
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

/* —— header —— */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 3vw, 48px);
}

.header__logo {
  display: flex;
  align-items: center;
  line-height: 0;
}

.header__logo-img {
  display: block;
  height: 56px;
  width: auto;
}

.header__logo-img--pin {
  display: none;
}

.header.is-dark .header__logo-img--paper {
  display: none;
}

.header.is-dark .header__logo-img--pin {
  display: block;
}

.header__logo:hover {
  opacity: 0.78;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

.header__link {
  display: none;
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--header-ink, var(--ink));
}

.header__link:hover {
  color: var(--header-ink, var(--ink));
  opacity: 0.65;
}

.header.is-dark .header__link:hover {
  color: var(--paper);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}

.header__cta-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.header__cta:hover {
  background: var(--accent);
  color: var(--paper);
}

.header.is-dark .header__cta {
  background: var(--paper);
  color: var(--ink);
}

.header.is-dark .header__cta:hover {
  background: var(--accent);
  color: var(--paper);
}

@media (min-width: 900px) {
  .header__link {
    display: inline-flex;
  }
}

/* —— buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: rgba(17, 17, 17, 0.06);
  color: var(--ink);
}

.btn--fill {
  background: var(--accent);
  color: var(--paper);
  border: 0;
}

.btn--fill:hover {
  background: var(--accent-hover);
  color: var(--paper);
}

.btn--ghost-light {
  border: 1px solid rgba(241, 240, 235, 0.45);
  color: var(--paper);
}

.btn--ghost-light:hover {
  background: rgba(241, 240, 235, 0.1);
  color: var(--paper);
}

.btn--submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 360px);
  height: 60px;
  padding: 0 22px 0 32px;
  gap: 18px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.14em;
  cursor: pointer;
  border: 0;
}

.btn--submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--submit:hover::before,
.btn--submit:focus-visible::before {
  transform: translateX(0);
}

.btn--submit > * {
  position: relative;
  z-index: 1;
}

.btn--submit-mark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 16px;
}

.btn--submit-mark span {
  width: 3px;
  background: currentColor;
  transform-origin: bottom;
}

.btn--submit-mark span:nth-child(1) {
  height: 38%;
}

.btn--submit-mark span:nth-child(2) {
  height: 68%;
}

.btn--submit-mark span:nth-child(3) {
  height: 100%;
}

.btn--submit:hover .btn--submit-mark span,
.btn--submit:focus-visible .btn--submit-mark span {
  animation: cfBar 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn--submit:hover .btn--submit-mark span:nth-child(2),
.btn--submit:focus-visible .btn--submit-mark span:nth-child(2) {
  animation-delay: 0.08s;
}

.btn--submit:hover .btn--submit-mark span:nth-child(3),
.btn--submit:focus-visible .btn--submit-mark span:nth-child(3) {
  animation-delay: 0.16s;
}

/* —— hero —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px clamp(20px, 3vw, 48px) 64px;
  overflow: clip;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__atmosphere::before {
  content: "";
  position: absolute;
  width: min(86vw, 760px);
  height: min(86vw, 760px);
  left: -16%;
  top: 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 109, 98, 0.18), transparent 68%);
}

.hero__watermark {
  position: absolute;
  left: -8%;
  top: 4%;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: clamp(160px, 34vw, 440px);
  line-height: 0.72;
  letter-spacing: -0.07em;
  color: var(--ink);
  opacity: 0.055;
  white-space: nowrap;
  transform: rotate(-7deg);
}

.hero__mark {
  position: absolute;
  right: clamp(18px, 6vw, 88px);
  top: 18%;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  height: min(48vh, 400px);
  opacity: 0.12;
}

.hero__mark span {
  width: 11px;
  height: 38%;
  background: var(--ink);
}

.hero__mark span:nth-child(2) {
  height: 68%;
}

.hero__mark span:nth-child(3) {
  height: 100%;
  background: var(--accent);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero__kicker {
  margin: 0 0 clamp(18px, 4vh, 44px);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.hero__stage {
  position: relative;
}

.hero__clip {
  overflow: clip;
}

.hero__line {
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: clamp(52px, 13.5vw, 168px);
  line-height: 0.88;
  letter-spacing: -0.03em;
}

.hero__line span {
  display: inline-block;
  will-change: transform, opacity;
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__line span.is-broken {
  opacity: 0;
  transform: scale(0.42) translateY(10px);
}

.hero__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.hero__shadow {
  position: absolute;
  left: 0;
  top: 0;
  width: 88px;
  height: 8px;
  border-radius: 999px;
  background: rgba(28, 27, 25, 0.22);
  opacity: 0;
  pointer-events: none;
}

.hero__ball {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  background: var(--accent);
}

.hero__hand {
  position: absolute;
  right: clamp(0px, 6vw, 140px);
  bottom: clamp(-6px, 1vw, 18px);
  font-family: Fraunces, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4.4vw, 64px);
  color: var(--accent);
  transform: rotate(-8deg);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 80px);
  margin-top: clamp(32px, 6vh, 64px);
}

.hero__copy {
  max-width: 520px;
}

.hero__copy h1 {
  margin: 0 0 14px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.hero__copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  margin: 0;
  transform: translateX(-50%);
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hero__scroll span {
  display: inline-block;
  animation: cfScroll 2.4s ease-in-out 3s infinite;
}

html.js [data-anim="fade"] {
  animation: cfFade 0.8s ease var(--delay, 0s) both;
}

html.js [data-anim="line"] {
  animation: cfLine 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) both;
}

html.js .hero__kicker {
  animation-duration: 0.7s;
}

html.no-loader [data-anim="fade"] {
  animation: cfFade 0.6s ease 0.12s both;
}

html.no-loader [data-anim="line"] {
  animation: cfLine 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

/* —— works pin —— */
.works {
  position: relative;
  height: 340vh;
  background: var(--pin);
}

.works__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: clip;
  color: var(--paper);
}

.works__field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.works__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 88% 42%, rgba(46, 109, 98, 0.28), transparent 58%),
    radial-gradient(ellipse 90% 70% at 10% -8%, rgba(46, 109, 98, 0.16), transparent 54%),
    radial-gradient(ellipse 70% 55% at 8% 108%, rgba(46, 109, 98, 0.12), transparent 52%);
}

.works__traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--accent);
  opacity: 0.42;
}

.works__traces-nodes circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: worksNode 4.8s ease-in-out infinite;
}

.works__traces-nodes circle:nth-child(3n) {
  animation-delay: 0.8s;
}

.works__traces-nodes circle:nth-child(3n + 1) {
  animation-delay: 1.6s;
}

.works__grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(241, 240, 235, 0.1) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.22;
  pointer-events: none;
}

.works__spread-wrap {
  position: absolute;
  top: clamp(56px, 8vh, 96px);
  left: 0;
  right: 0;
  overflow: clip;
  pointer-events: none;
}

.spread {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 6.6vw, 84px);
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.spread--on-dark {
  color: rgba(241, 240, 235, 0.22);
  padding-left: clamp(20px, 3vw, 48px);
}

.works__viewport {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: clip;
}

.works__track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 6vw, 112px);
  padding: clamp(112px, 17vh, 190px) clamp(20px, 3vw, 48px) clamp(88px, 13vh, 128px);
  will-change: transform;
}

.works__item {
  flex: 0 0 auto;
  width: min(1000px, 78vw);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
}

.works__fv {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(241, 240, 235, 0.25);
  overflow: hidden;
  cursor: zoom-in;
  color: inherit;
}

.works__fv:hover {
  color: inherit;
}

.works__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: #161616;
}

.works__cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(241, 240, 235, 0.6);
}

.works__id {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 18px;
}

.works__id span:first-child {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.06em;
  color: var(--paper);
}

.works__id span:last-child {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(241, 240, 235, 0.65);
}

.works__meta h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.works__role {
  margin: 0 0 24px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(241, 240, 235, 0.7);
}

.works__role:has(+ .works__note) {
  margin-bottom: 8px;
}

.works__note {
  margin: 0 0 26px;
  font-size: 13px;
  color: rgba(241, 240, 235, 0.5);
}

.works__bar {
  position: absolute;
  left: clamp(20px, 3vw, 48px);
  right: clamp(20px, 3vw, 48px);
  bottom: clamp(24px, 4.5vh, 44px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.works__bar p {
  margin: 0;
  max-width: 380px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(241, 240, 235, 0.55);
}

.works__tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.works__hint {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--paper);
}

.works__hint:hover {
  color: var(--paper);
  opacity: 0.65;
}

.works__rail {
  position: relative;
  width: 132px;
  height: 2px;
  background: rgba(241, 240, 235, 0.22);
}

.works__rail span {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 44px;
  background: var(--paper);
}

.works__all {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--paper);
  border-bottom: 1px solid rgba(241, 240, 235, 0.4);
  padding-bottom: 2px;
}

.works__all:hover {
  color: var(--paper);
}

@media (max-width: 899px) {
  .works__item {
    grid-template-columns: 1fr;
    width: min(1000px, 86vw);
  }

  .works__bar {
    flex-wrap: wrap;
  }
}

/* —— can —— */
.can {
  padding: clamp(72px, 12vh, 128px) clamp(20px, 3vw, 48px);
  overflow: clip;
}

.can [data-rise] {
  will-change: transform, opacity;
}

.can__inner,
.contact__body {
  max-width: 1440px;
  margin: 0 auto;
}

.spread-wrap {
  overflow: clip;
  margin-bottom: clamp(40px, 7vh, 72px);
}

.can .spread-wrap {
  text-align: center;
}

.can .spread {
  display: inline-block;
}

.contact .spread-wrap {
  padding-left: clamp(8px, 16vw, 22%);
}

.can__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 7vh, 72px);
  max-width: 900px;
  margin: 0 auto;
}

.can__intro {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.can__intro p,
.can__row p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

.can__accent {
  color: var(--accent);
  font-weight: 500;
}

.can__muted,
.can__row p {
  color: var(--muted);
}

.can__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 32px);
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.can__row--last {
  border-bottom: 1px solid var(--line);
}

.can__row span {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.can__row h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.can__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  padding-top: 26px;
}

.can__stats p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (max-width: 639px) {
  .can__row {
    grid-template-columns: 40px 1fr;
  }

  .can__row p {
    grid-column: 1 / -1;
  }
}

/* —— contact —— */
.contact {
  position: relative;
  padding: clamp(72px, 12vh, 128px) clamp(20px, 3vw, 48px) clamp(80px, 12vh, 128px);
  border-top: 1px solid var(--line);
  overflow: clip;
}

.contact__burst {
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 3;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 999px;
  background: var(--accent);
  transform: scale(0);
  pointer-events: none;
}

.contact__thanks {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.contact__thanks-en {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.contact__thanks p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(241, 240, 235, 0.75);
}

.contact.is-sent .contact__thanks {
  opacity: 1;
  transform: none;
}

.contact__body {
  position: relative;
  z-index: 2;
}

.contact__form-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact__form-wrap h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.contact__lead {
  margin: 0 0 clamp(32px, 5vh, 48px);
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.form {
  position: relative;
  display: grid;
  gap: 22px;
  text-align: left;
}

.form [data-form-item] {
  will-change: clip-path, opacity;
}

.form label {
  display: grid;
  gap: 8px;
}

.form label > span {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.req {
  color: #b42318;
}

.form input,
.form textarea,
.form select {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper-field);
  color: var(--ink);
  font-size: 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form textarea {
  height: auto;
  padding: 12px 14px;
  line-height: 1.85;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 2px 0 var(--accent);
}

.form__submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

.form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form__error {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #b42318;
  text-align: center;
}

.btn--submit:disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* —— footer —— */
.footer {
  padding: 40px clamp(20px, 3vw, 48px) 48px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer a,
.footer p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer__links a {
  font-family: Archivo, sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer .header__logo-img {
  height: 52px;
}

/* —— works index —— */
.page-works .hero,
.page-works .curtain,
.page-works .works,
.page-works .can,
.page-works .contact {
  display: none;
}

.archive {
  position: relative;
  padding: 128px clamp(20px, 3vw, 48px) 96px;
}

.archive__field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.archive__traces {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
  opacity: 0.09;
}

.archive__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
}

.archive h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.archive__lead {
  margin: 0 0 clamp(40px, 7vh, 72px);
  max-width: 640px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}

.archive__grid {
  display: grid;
  gap: 48px;
}

.archive__card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.archive__card .works__fv {
  border-color: var(--line);
}

.archive__card .works__art {
  background: #eceae4;
}

.archive__card .works__cap {
  color: var(--muted);
}

.archive__card .works__id span:first-child {
  color: var(--ink);
}

.archive__card .works__id span:last-child,
.archive__card .works__role,
.archive__card .works__note {
  color: var(--muted);
}

.archive__card h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 600;
}

.archive__cta {
  margin-top: 56px;
}

@media (max-width: 767px) {
  .archive__card {
    grid-template-columns: 1fr;
  }
}

.privacy {
  padding: 128px clamp(20px, 3vw, 48px) 96px;
}

.privacy__inner {
  max-width: 720px;
  margin: 0 auto;
}

.privacy h1 {
  margin: 0 0 40px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
}

.privacy__sign {
  margin-top: 56px;
  text-align: right;
}

.privacy__updated,
.privacy__name {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.privacy__name {
  margin-top: 6px;
}

.privacy h2 {
  margin: 36px 0 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.privacy p,
.privacy li {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  text-wrap: pretty;
}

.privacy p {
  margin: 0 0 14px;
}

.privacy ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

.privacy li + li {
  margin-top: 6px;
}

.privacy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* —— motion keyframes —— */
@keyframes cfLine {
  from {
    transform: translateY(112%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes cfFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cfBar {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes cfCurtain {
  0%,
  64% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-101%);
  }
}

@keyframes cfScroll {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@keyframes bgOrbA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(9%, 7%, 0) scale(1.12);
  }
}

@keyframes bgOrbB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-10%, 8%, 0) scale(1.08);
  }
}

@keyframes bgOrbC {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-6%, -9%, 0) scale(1.14);
  }
}

@keyframes worksNode {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .curtain,
  [data-anim],
  .hero__scroll span,
  .mark__bar,
  .page-bg__orb,
  .btn--submit-mark span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__play {
    display: none !important;
  }

  .works__traces-nodes circle {
    animation: none !important;
  }

  .curtain {
    display: none !important;
  }

  [data-rise],
  [data-form-item] {
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }

  .works {
    height: auto;
  }

  .works__pin {
    position: static;
    height: auto;
    overflow: visible;
  }

  .works__track {
    flex-direction: column;
    align-items: stretch;
    transform: none !important;
  }

  .works__item {
    width: 100%;
  }
}
