:root {
  --bg: #0b0b0a;
  --fg: #eceae4;
  --muted: #8d8880;
  --line: rgba(236, 234, 228, 0.1);
  --gold: #c9a56a;
  --paper: #141412;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Outfit", "Noto Serif SC", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.09;
  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");
}

.cursor {
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width .25s, height .25s, background .25s;
}

.cursor.grow {
  width: 42px;
  height: 42px;
  background: rgba(201, 165, 106, 0.18);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(11, 11, 10, 0.86), rgba(11, 11, 10, 0.2));
}

.logo {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover {
  color: var(--fg);
}

.nav-cta {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
}

.nav-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero {
  min-height: 100vh;
  padding: 160px 40px 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 48vw;
  height: 48vw;
  right: -8vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(201, 165, 106, 0.16), transparent 62%);
  pointer-events: none;
}

.hero-kicker {
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-weight: 400;
  font-size: clamp(48px, 8vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-title span {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: "Outfit", sans-serif;
}

.hero-title em {
  font-style: italic;
  display: block;
}

.hero-meta {
  margin-top: 40px;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
}

.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll i {
  width: 1px;
  height: 48px;
  background: var(--gold);
  display: block;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

.section {
  padding: 120px 40px;
  border-top: 1px solid var(--line);
}

.section-index {
  color: var(--gold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 28px;
}

h2 {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.about-lead p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
}

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

.about-card dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.about-card dl > div:last-child {
  border-bottom: 0;
}

.about-card dt {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
}

.stats li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.stats strong {
  display: block;
  font-family: "Instrument Serif", serif;
  font-size: 48px;
  font-weight: 400;
}

.stats span {
  color: var(--muted);
}

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

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: slide 22s linear infinite;
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  font-style: italic;
  color: var(--muted);
}

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

.work-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.work-head p {
  color: var(--muted);
  align-self: end;
  font-size: 17px;
}

.work-list {
  display: grid;
  gap: 80px;
}

.work-item {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.work-item.reverse {
  grid-template-columns: 0.8fr 1.2fr;
}

.work-item.reverse .work-visual {
  order: 2;
}

.work-visual {
  min-height: 360px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(11, 11, 10, 0.35));
}

.v1 {
  background:
    radial-gradient(circle at 20% 20%, #c9a56a 0 2px, transparent 3px),
    linear-gradient(135deg, #1b1712, #2a241c 40%, #0f0e0c);
  background-size: 28px 28px, cover;
}

.v2 {
  background:
    repeating-linear-gradient(90deg, rgba(201, 165, 106, 0.12) 0 1px, transparent 1px 48px),
    linear-gradient(160deg, #12161a, #24303a);
}

.v3 {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(236, 234, 228, 0.12), transparent 45%),
    linear-gradient(200deg, #161412, #2b2218);
}

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

.work-body h3 {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 16px;
}

.work-body p {
  color: var(--muted);
  margin-bottom: 20px;
}

.work-body ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-body li {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.notes h2 {
  margin-bottom: 48px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.notes-grid article {
  background: var(--bg);
  padding: 36px;
}

.notes-grid h3 {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

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

.contact h2 {
  max-width: 900px;
}

.contact-lead {
  margin: 28px 0 48px;
  color: var(--muted);
  max-width: 560px;
  font-size: 18px;
}

.mail {
  display: inline-block;
  font-family: "Instrument Serif", serif;
  font-size: clamp(32px, 5vw, 64px);
  font-style: italic;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 6px;
}

.mail:hover {
  color: var(--gold);
}

.contact-links {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}

.contact-links a:hover {
  color: var(--fg);
}

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

@media (max-width: 900px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    display: none;
  }

  .about-grid,
  .work-head,
  .work-item,
  .work-item.reverse,
  .notes-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .work-item.reverse .work-visual {
    order: 0;
  }

  .hero-scroll {
    display: none;
  }

  .work-visual {
    min-height: 240px;
  }
}

@media (hover: none) {
  .cursor {
    display: none;
  }
}
