:root {
  --bg: #ffcfe2;
  --ink: #860021;
  --muted: rgba(134, 0, 33, 0.82);
  --line: rgba(134, 0, 33, 0.55);
  --max: 1260px;
  --acid: #c4bc42;
  --brown: #860021;
  --link: #aa2c07;
  --link-hover: #860021;
  --ice: #c4bc42;
  --sage: #c4bc42;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
}
.wrap {
  width: min(calc(100% - 70px), var(--max));
  margin: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 207, 226, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav {
  height: 78px;
  width: min(calc(100% - 70px), var(--max));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 18px;
}
.navlinks {
  display: flex;
  gap: 32px;
  font:
    12px "DM Mono",
    monospace;
  text-transform: uppercase;
}
.navlinks a {
  color: var(--link);
}
.navlinks a:hover {
  color: var(--acid);
}
.hero {
  height: calc(100vh - 78px);
  min-height: calc(100vh - 78px);
  padding: 72px 0 70px;
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: end;
}
.eyebrow,
.label,
small,
.social,
a.project-log,
button {
  font:
    12px "DM Mono",
    monospace;
  text-transform: uppercase;
}
.eyebrow span {
  margin: 0 8px;
  color: var(--muted);
}
h1 {
  font-size: clamp(110px, 16.5vw, 230px);
  line-height: 0.76;
  letter-spacing: -0.095em;
  font-weight: 600;
  margin: 28px 0 68px;
}
i {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}
.intro {
  font-size: 20px;
  line-height: 1.65;
  max-width: 600px;
  color: var(--link-hover);
}
.project-log {
  position: relative;
  display: inline-flex;
  gap: 22px;
  margin-top: 30px;
  padding-bottom: 8px;
  color: var(--link);
  transition: color 0.28s ease;
}
.project-log::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
}
.hero aside {
  border-left: 1px solid var(--line);
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hero aside small {
  color: var(--muted);
}
.hero aside strong {
  font:
    17px "DM Mono",
    monospace;
  font-weight: 400;
  margin-bottom: 18px;
}
.section {
  border-top: 1px solid var(--line);
  padding: 88px 0;
}
#toolkit,
#contact {
  border-top: 0;
  padding-top: 40px;
}
#about {
  background: var(--brown);
  color: var(--acid);
  box-shadow: 0 0 0 100vmax var(--brown);
  clip-path: inset(0 -100vmax);
}
#about .label,
#about .copy p {
  color: #fff;
}
#about .copy span {
  color: var(--acid);
  font-weight: 800;
}
#about i {
  -webkit-text-stroke-color: var(--acid);
}
.label {
  color: var(--muted);
  margin-bottom: 65px;
}
.about {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 80px;
}
.about h2,
.contact h2 {
  font-size: clamp(68px, 8.5vw, 118px);
  line-height: 0.78;
  letter-spacing: -0.08em;
  margin: 0;
}
.copy {
  max-width: 680px;
}
.copy p {
  font-size: 17px;
  line-height: 1.78;
  color: var(--link-hover);
  margin: 0 0 25px;
}
.toolgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.toolgrid > div {
  position: relative;
  padding: 34px 40px;
  border-bottom: 1px solid var(--line);
}
.toolgrid > div:nth-child(odd) {
  border-right: 1px solid var(--line);
}
.toolhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.toolhead span {
  font:
    12px "DM Mono",
    monospace;
  color: var(--muted);
}
.toolgrid h3 {
  font:
    12px "DM Mono",
    monospace;
  margin: 0;
  text-align: right;
}
.toolgrid h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 8px 0 0 auto;
  background: var(--acid);
}
.toolgrid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toolgrid li {
  font:
    16px/1.9 "DM Mono",
    monospace;
  color: var(--link-hover);
  width: fit-content;
  cursor: default;
}
@media (hover: hover) and (pointer: fine) {
  .toolgrid li {
    transition: color 0.2s ease, box-shadow 0.2s ease;
  }
  .toolgrid li:hover {
    color: var(--ink);
    box-shadow: inset 0 -1px 0 var(--acid);
  }
}
.works {
  border-top: 1px solid var(--line);
}
.works > a {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  gap: 25px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.works > a:hover {
  background: var(--acid);
  padding-left: 15px;
  padding-right: 15px;
}
.works > a > span:first-child {
  font:
    12px "DM Mono",
    monospace;
  color: var(--muted);
}
.works h3 {
  font-size: 34px;
  letter-spacing: -0.05em;
  margin: 0 0 9px;
}
.works p {
  margin: 0;
  font:
    13px "DM Mono",
    monospace;
  color: var(--muted);
}
.arrow {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.12em;
  flex-shrink: 0;
}
.works > a > .arrow {
  width: 22px;
  height: 22px;
  margin-top: 4px;
}
.contactgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.social {
  display: flex;
  gap: 20px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.social a {
  position: relative;
  font-size: 11px;
  padding-bottom: 5px;
  color: var(--link);
  transition: color 0.28s ease;
}
.social a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
}
.project-log:hover,
.social a:hover {
  color: var(--acid);
}
@media (hover: hover) and (pointer: fine) {
  .project-log:hover::after,
  .social a:hover::after {
    animation: line-redraw 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
}
@keyframes line-redraw {
  0% {
    transform: scaleX(1);
    transform-origin: right;
  }
  45% {
    transform: scaleX(0);
    transform-origin: right;
  }
  55% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-log:hover::after,
  .social a:hover::after {
    animation: none;
  }
}
form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
label {
  font:
    11px "DM Mono",
    monospace;
  text-transform: uppercase;
  color: var(--muted);
}
input,
textarea {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  outline: 0;
  font: 16px Manrope;
  color: var(--ink);
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  padding: 15px 21px;
  cursor: pointer;
}
button:hover {
  background: var(--acid);
  border-color: var(--acid);
  color: var(--ink);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
#note {
  font:
    11px "DM Mono",
    monospace;
  color: var(--muted);
  min-height: 15px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 45px;
  display: flex;
  justify-content: space-between;
  font:
    11px "DM Mono",
    monospace;
  text-transform: uppercase;
}
@media (max-height: 820px) and (min-width: 761px) {
  .hero {
    padding: 48px 0 52px;
  }
  h1 {
    margin: 20px 0 48px;
    font-size: clamp(88px, 13vw, 180px);
  }
}
@media (max-width: 760px) {
  .wrap,
  nav {
    width: calc(100% - 36px);
  }
  .navlinks {
    gap: 12px;
    font-size: 9px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 0 90px;
    height: auto;
    min-height: auto;
  }
  .hero aside {
    margin-top: 65px;
  }
  .hero h1 {
    font-size: 27vw;
  }
  .intro {
    font-size: 17px;
  }
  .section {
    padding: 90px 0;
  }
  .about,
  .contactgrid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .toolgrid {
    grid-template-columns: 1fr;
  }
  .toolgrid > div {
    padding: 28px 0;
  }
  .toolgrid > div:nth-child(odd) {
    border-right: 0;
  }
  .works > a {
    grid-template-columns: 55px 1fr 20px;
  }
  .works h3 {
    font-size: 25px;
  }
  .contact h2 {
    font-size: 23vw;
  }
  .social {
    margin-top: 45px;
  }
  footer {
    flex-direction: column;
    gap: 15px;
  }
  .work-preview {
    display: none;
  }
}
@media (hover: none) {
  .work-preview {
    display: none;
  }
}
.work-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 50;
  width: min(500px, 72vw);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-50% - 88px)) scale(0.8);
  transition:
    opacity 0.28s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s;
  border: 1px solid var(--sage);
  box-shadow: 0 22px 50px rgba(134, 0, 33, 0.22);
  background: var(--ink);
}
.work-preview.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, calc(-50% - 88px)) scale(1);
}
.work-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
