:root {
  --bg: #0c0b0a;
  --bg-2: #141210;
  --ink: #efe8dc;
  --muted: #9a9186;
  --line: rgba(239, 232, 220, 0.12);
  --gold: #c9a36a;
  --gold-2: #e8c990;
  --sage: #8ea07a;
  --font-display: "Instrument Serif", "Noto Sans SC", serif;
  --font-sans: "Noto Sans SC", "Syne", sans-serif;
  --font-ui: "Syne", "Noto Sans SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 100;
}

.cursor {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 90;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  }

  .cursor.expand {
    width: 36px;
    height: 36px;
    opacity: 0.7;
  }

  body,
  a,
  button {
    cursor: none;
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 7vw;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.nav-logo span {
  color: var(--gold);
  margin: 0 4px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 7px 0;
}

.hero {
  padding: 12vh 7vw 8vh;
  max-width: 1280px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 rgba(142, 160, 122, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(142, 160, 122, 0);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-title .line {
  display: block;
}

.hero-title .italic {
  font-style: italic;
  color: var(--gold-2);
}

.hero-lead {
  max-width: 520px;
  margin-top: 36px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-1px);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 28px;
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.meta-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: drift 28s linear infinite;
  font-family: var(--font-ui);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

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

.section {
  padding: 14vh 7vw;
  max-width: 1280px;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 56px;
}

.index {
  font-family: var(--font-ui);
  color: var(--gold);
  letter-spacing: 0.18em;
  font-size: 12px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-copy {
  font-size: 18px;
  color: #d8d0c4;
}

.about-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--bg-2);
}

.about-card h3 {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-card li {
  list-style: none;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.about-card strong {
  display: block;
  font-weight: 500;
}

.about-card span {
  color: var(--muted);
  font-size: 14px;
}

.work-list {
  display: flex;
  flex-direction: column;
}

.work-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

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

.work-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 28px;
}

.work-tag {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.work-body h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 10px;
}

.work-body p {
  max-width: 560px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chips span {
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 999px;
}

.work-link {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  white-space: nowrap;
  margin-top: 10px;
}

.work-item:hover h3 {
  color: var(--gold-2);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.note {
  border-top: 1px solid var(--gold);
  padding-top: 20px;
}

.note time {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.note h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin: 12px 0 10px;
  line-height: 1.25;
}

.note p {
  color: var(--muted);
}

.contact-wrap {
  max-width: 720px;
}

.contact-lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
}

.mail {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  line-height: 1.2;
}

.copy-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.social {
  display: flex;
  gap: 24px;
  margin-top: 36px;
}

.social a {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.social a:hover {
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 7vw 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.08s;
}

.reveal:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 7vw;
    flex-direction: column;
    gap: 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 20px 24px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .about-grid,
  .notes-grid,
  .work-item,
  .hero-meta,
  .footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .work-item {
    gap: 8px;
  }

  .hero-meta {
    gap: 18px;
  }

  .footer {
    gap: 8px;
  }
}
