:root {
  --paper: #f7f4e9;
  --ink: #222019;
  --blue: #2428bf;
  --acid: #e4f548;
  --soft: #575449;
  --mono: "IBM Plex Mono", Consolas, monospace;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
*, *::after, *::before { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #565bff; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1320px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 5; padding: 10px; background: var(--acid); transform: translateY(-160%); }
.skip:focus { transform: none; }

.masthead { display: flex; align-items: center; min-height: 87px; gap: 28px; border-bottom: 1px solid var(--ink); }
.wordmark { font-size: 38px; font-weight: 900; line-height: 1; letter-spacing: -.1em; text-decoration: none; }
.wordmark span { color: var(--blue); font-size: .7em; vertical-align: top; margin-left: .23em; }
.masthead-note { font: 600 12px var(--mono); white-space: nowrap; }
.masthead-note span { color: #777366; margin-inline: 3px; }
.masthead nav { margin-left: auto; display: flex; gap: clamp(12px, 2.7vw, 40px); }
.masthead nav a { font-size: 14px; font-weight: 700; white-space: nowrap; }
.masthead nav a:hover, .footer a:hover, .about a:hover { color: var(--blue); }

.hero { display: grid; grid-template-columns: 1fr 1.08fr; align-items: center; position: relative; min-height: clamp(490px, 48vw, 680px); padding: 50px 0 72px; }
.hero-copy { z-index: 1; position: relative; }
.hero h1 { font-size: clamp(63px, 10.5vw, 155px); font-weight: 950; letter-spacing: -.095em; line-height: .99; white-space: nowrap; }
.hero h1 span { display: inline-block; color: var(--blue); position: relative; z-index: 0; margin-left: -.025em; }
.hero h1 span::after { content: ""; position: absolute; inset: auto 3% 1% 1%; height: .19em; background: var(--acid); transform: rotate(-3deg); z-index: -1; clip-path: polygon(0 25%, 99% 0, 100% 70%, 1% 100%); }
.hero-copy > p { border-left: 2px solid var(--blue); padding-left: 17px; margin-top: clamp(23px, 3.9vw, 56px); font-size: clamp(14px, 1.3vw, 19px); line-height: 1.8; }
.hero-art { width: 104%; margin-left: -4%; }
.hero-art img { mix-blend-mode: multiply; width: 100%; }
.jump { position: absolute; bottom: 27px; right: 1px; display: grid; place-items: center; width: 52px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; text-decoration: none; font-size: 27px; transition: color .18s, background .18s; }
.jump:hover { color: var(--paper); background: var(--ink); }

.work-section { background: var(--blue); color: var(--paper); padding-bottom: clamp(38px, 6vw, 82px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: clamp(36px, 5vw, 72px) 0; }
.section-head h2, .about h2 { font-size: clamp(41px, 7vw, 100px); font-weight: 900; letter-spacing: -.085em; line-height: 1; }
.section-head h2 { font-size: clamp(36px, 5.5vw, 78px); }
.section-head h2 span { color: var(--acid); }
.section-head p { padding-bottom: 3px; font-size: clamp(13px, 1.25vw, 18px); line-height: 1.7; }
.feature { display: grid; grid-template-columns: minmax(185px, .78fr) minmax(0, 1.65fr); align-items: center; gap: clamp(20px, 5vw, 65px); padding: clamp(25px, 4.2vw, 60px) 0; }
.feature:not(.feature-pinger) { padding-inline: clamp(16px, 4vw, 54px); background: var(--acid); color: var(--ink); }
.feature-copy h3 { font-size: clamp(45px, 5.5vw, 77px); line-height: 1; letter-spacing: -.07em; margin-top: 9px; }
.project-state { font: 600 13px var(--mono); white-space: nowrap; }
.project-state > span { display: inline-block; width: .57em; height: .57em; background: currentColor; border-radius: 50%; }
.project-name { font-weight: 750; font-size: 20px; margin-top: 6px; letter-spacing: -.045em; }
.project-description { font-size: 15px; line-height: 1.7; margin-top: 14px; }
.launch { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 20px; padding: 11px 15px; background: var(--ink); color: var(--paper); font-weight: 750; text-decoration: none; }
.launch:hover, .note button:hover { background: var(--blue); }
.project-links { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 13px; font-size: 13px; }
.work-figure { padding: 8px 8px 7px; border: 1px solid #bcb7a9; background: #fcfaf2; transform: rotate(1.3deg); }
.work-figure img { width: 100%; }
.work-figure figcaption { margin-top: 7px; text-align: right; color: var(--soft); font: 11px var(--mono); }
.feature-pinger .work-figure { color: var(--ink); transform: rotate(-1.3deg); }
.feature-pinger .project-state { color: var(--acid); }
.feature-pinger .launch { background: var(--acid); color: var(--ink); }
.feature-pinger .launch:hover { background: var(--paper); }
.feature-pinger a:focus-visible { outline-color: var(--acid); }
.pinger-logo { width: clamp(37px, 5vw, 52px); margin-bottom: 13px; }
.project-list { border-bottom: 1px solid #b5b4f4; }
.project { display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 1.05fr) auto; gap: 12px; align-items: center; border-top: 1px solid #b5b4f4; padding: 17px 0; }
.project h3 { font-size: clamp(25px, 3.6vw, 53px); font-weight: 850; letter-spacing: -.06em; }
.project > p { font-size: 15px; line-height: 1.55; }
.project .project-state { color: var(--acid); }

.about { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(27px, 8vw, 116px); padding: clamp(49px, 9vw, 120px) 0; }
.aside-label { font: 600 13px var(--mono); margin-bottom: 14px; }
.about-copy h2 span { color: var(--blue); }
.about-copy h2 + p { margin-top: 22px; }
.about-copy p:not(.aside-label) { max-width: 480px; line-height: 1.8; font-size: 16px; color: var(--soft); }
#contact { margin-top: 12px; }
#contact a { display: inline-block; margin-top: 12px; font-weight: 750; overflow-wrap: anywhere; }
.note { position: relative; background: var(--acid); padding: 36px clamp(17px, 3.4vw, 50px) 28px; box-shadow: 3px 4px 0 #d5d0bb; transform: rotate(-2deg); }
.note-pin { position: absolute; top: -13px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%) rotate(4deg); background: #999af856; }
.note h2 { font-size: clamp(25px, 3vw, 42px); line-height: 1.2; }
.note label { display: block; margin: 16px 0 5px; font-size: 13px; font-weight: 700; }
.note input[type=email] { width: 100%; min-width: 0; min-height: 42px; padding: 9px 10px; color: var(--ink); border: 1px solid var(--ink); background: var(--paper); font-size: 16px; }
.note button { display: inline-flex; gap: 12px; padding: 10px 12px; margin-top: 8px; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; }
.note button:disabled { opacity: .6; cursor: wait; }
.honeypot { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
#submsg:not(:empty) { margin-top: 12px; line-height: 1.5; font-size: 13px; }

.footer { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--ink); padding: 19px 0 28px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--mono); }

@media (max-width: 880px) {
  .wrap { width: calc(100% - 56px); }
  .masthead-note { display: none; }
  .hero { min-height: clamp(420px, 64vw, 590px); padding: 47px 0 75px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { min-height: 58px; gap: 5px; }
  .wordmark { font-size: 29px; }
  .masthead nav { gap: 10px; }
  .masthead nav a { font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding: 39px 0 35px; }
  .hero h1 { font-size: clamp(61px, 16.1vw, 95px); }
  .hero-copy > p { padding-left: 10px; margin-top: 22px; }
  .hero-art { width: 92%; margin: -15px auto -16px; }
  .jump { width: 36px; font-size: 20px; bottom: 18px; }
  .section-head { align-items: center; }
  .section-head h2 { font-size: clamp(32px, 8.5vw, 52px); }
  .feature { grid-template-columns: 1fr; padding: 25px 5px; }
  .work-figure { grid-row: 1; }
  .feature-pinger .feature-copy { grid-row: 1; }
  .feature-pinger .work-figure { grid-row: 2; }
  .feature-copy h3 { font-size: 48px; }
  .project { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; padding: 13px 0; }
  .project > p { grid-column: 1; grid-row: 2; font-size: 13px; }
  .project .project-state { grid-column: 2; grid-row: 1 / span 2; }
  .about { grid-template-columns: 1fr; gap: 38px; }
  .note { margin: 0 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
