:root {
  --bg: #090909;
  --ink: #f3f0e8;
  --muted: #a7a098;
  --line: rgba(243, 240, 232, 0.2);
  --line-strong: rgba(243, 240, 232, 0.45);
  --red: #ff2a1c;
  --max: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at var(--mx, 72%) var(--my, 35%), rgba(255, 42, 28, 0.1), transparent 19rem),
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px) 0 0 / 100% 78px,
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

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

svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
p {
  margin-top: 0;
}

.cursor-light {
  display: none;
  position: fixed;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  z-index: 0;
  width: 34rem;
  height: 34rem;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 42, 28, 0.13), transparent 62%);
  mix-blend-mode: screen;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 74px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.74);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 14px;
  font-weight: 780;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  max-width: 184px;
  color: var(--ink);
  font-size: 13px;
}

nav a {
  color: rgba(243, 240, 232, 0.86);
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--red);
}

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

.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px clamp(18px, 5vw, 74px) 30px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  border-bottom: 1px solid var(--line-strong);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

h1 {
  margin: 0 0 28px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 17.5vw, 68px);
  font-weight: 500;
  line-height: 0.86;
  text-shadow: 0 0 34px rgba(255, 255, 255, 0.08);
}

.hero-copy p {
  margin-bottom: 30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 10vw, 58px);
  line-height: 1.05;
}

.link-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--red);
  color: var(--ink);
  font-size: 18px;
  font-weight: 720;
}

.link-button svg,
.work-list svg {
  color: var(--red);
  transition: transform 190ms ease;
}

.link-button:hover svg,
.link-button:focus-visible svg,
.work-list a:hover svg,
.work-list a:focus-visible svg {
  transform: translateX(8px);
}

.signal-words {
  margin-top: clamp(36px, 7vh, 68px);
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
  display: grid;
  gap: 8px;
  color: rgba(243, 240, 232, 0.72);
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-art {
  position: relative;
  z-index: 1;
  align-self: end;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 820 / 390;
  object-fit: cover;
  display: block;
  margin-left: auto;
  border: 1px solid rgba(243, 240, 232, 0.12);
  filter: contrast(1.05) drop-shadow(0 38px 46px rgba(0, 0, 0, 0.5));
}

.signal-line {
  position: absolute;
  z-index: 3;
  inset: 18% 0 auto 0;
  width: 100%;
  height: 42%;
  pointer-events: none;
}

.signal-line path {
  stroke: var(--red);
  stroke-width: 2.2;
  vector-effect: non-scaling-stroke;
  fill: none;
  stroke-dasharray: 1750;
  stroke-dashoffset: 1750;
  animation: draw 1900ms cubic-bezier(.2,.8,.2,1) 260ms forwards;
}

.manifesto {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 5vw, 74px) clamp(58px, 9vw, 118px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 6vw, 86px);
  border-bottom: 1px solid var(--line);
}

.manifesto p {
  color: var(--red);
  font-size: 15px;
  font-weight: 760;
}

h2 {
  max-width: 920px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 500;
  line-height: 0.98;
}

.work-list {
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.work-list a {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: clamp(24px, 4vw, 38px) clamp(18px, 5vw, 74px);
  border-top: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.work-list a:hover,
.work-list a:focus-visible {
  background: rgba(255, 42, 28, 0.08);
}

.work-list span {
  color: var(--muted);
  font-size: 15px;
}

.work-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 500;
}

.contact {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 142px) clamp(18px, 5vw, 74px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}

.contact-mail {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 22px;
  border: 1px solid var(--red);
  color: var(--red);
  font-weight: 760;
  transition: background 180ms ease, color 180ms ease;
}

.contact-mail:hover,
.contact-mail:focus-visible {
  background: var(--red);
  color: var(--bg);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .signal-line path,
  .link-button svg,
  .work-list svg {
    animation: none;
    transition: none;
    stroke-dashoffset: 0;
  }
}

@media (min-width: 561px) {
  .brand {
    font-size: 18px;
  }

  nav {
    max-width: none;
    gap: clamp(20px, 5vw, 74px);
    font-size: 15px;
  }

  h1 {
    font-size: clamp(78px, 15.8vw, 218px);
    line-height: 0.78;
  }

  .signal-words {
    letter-spacing: 0.42em;
  }

  .work-list a {
    grid-template-columns: 84px 1fr auto;
    gap: 24px;
  }
}

@media (min-width: 901px) {
  .cursor-light {
    display: block;
  }

  .site-header {
    position: fixed;
    align-items: center;
  }

  .hero {
    min-height: 80svh;
    padding-top: clamp(88px, 11vh, 112px);
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.9fr);
  }

  .hero-copy p {
    font-size: clamp(38px, 5.3vw, 72px);
  }

  .hero-art img {
    width: min(100%, 720px);
  }

  .signal-line {
    inset: 12% 0 auto 0;
    height: 62%;
  }

  .manifesto {
    grid-template-columns: minmax(120px, 0.22fr) minmax(0, 1fr);
  }

  .contact {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .contact-mail {
    width: auto;
  }
}
