@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

:root {
  --paper: #f7f6f2;
  --ink: #252922;
  --muted: #72776d;
  --line: #dedfd6;
  --green: #416b55;
  --lime: #d9e6a2;
  --orange: #ef9a70;
  --white: #fffefa;
  --mono: "DM Mono", monospace;
  --sans: "DM Sans", "Noto Sans JP", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 82px;
  max-width: 1180px;
  padding: 0 34px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-size: 15px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--green);
  color: white;
  border-radius: 11px 11px 11px 3px;
  font-size: 16px;
  letter-spacing: -0.07em;
}
nav {
  display: flex;
  gap: 34px;
  color: #62675e;
  font-family: var(--mono);
  font-size: 11px;
}
nav a:hover,
.text-link:hover {
  color: var(--green);
}
.hero {
  max-width: 1180px;
  margin: auto;
  padding: 90px 34px 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  column-gap: 35px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--green);
  font-weight: 500;
  margin: 0 0 22px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7a9c66;
  margin-right: 8px;
  box-shadow: 0 0 0 4px #e5ebd9;
}
h1 {
  font-size: clamp(39px, 5.2vw, 66px);
  letter-spacing: -0.07em;
  line-height: 1.35;
  margin: 0 0 25px;
  font-weight: 700;
}
h1 span {
  color: var(--green);
}
.hero-lead {
  max-width: 510px;
  color: #60655c;
  font-size: 14px;
  line-height: 2.15;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 13px 19px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--green);
  color: white;
}
.button-primary:hover {
  background: #315640;
}
.text-link {
  font-size: 12px;
  font-weight: 600;
}
.hero-art {
  min-height: 400px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.orbit {
  position: absolute;
  border: 1px solid #d7dccb;
  border-radius: 50%;
  transform: rotate(-23deg);
}
.orbit-one {
  width: 365px;
  height: 270px;
}
.orbit-two {
  width: 300px;
  height: 385px;
  transform: rotate(37deg);
}
.art-card {
  position: absolute;
  width: 265px;
  height: 265px;
  border-radius: 15px;
  box-shadow: 0 24px 65px #26362818;
}
.card-back {
  background: var(--lime);
  transform: rotate(9deg) translate(21px, 7px);
  display: flex;
  justify-content: space-between;
  padding: 23px;
}
.tiny-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}
.squiggle {
  font-size: 42px;
  color: var(--green);
  align-self: end;
}
.card-front {
  background: var(--white);
  transform: rotate(-5deg) translate(-8px, 0);
  padding: 18px 20px;
  border: 1px solid #ecebe4;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #ecebe4;
  padding-bottom: 15px;
  margin-bottom: 23px;
}
.mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8d9d0;
}
.card-code {
  margin-left: auto;
  color: #a0a397;
  font: 9px var(--mono);
}
.code-line {
  height: 7px;
  border-radius: 10px;
  margin: 13px 0;
  background: #dce4d2;
}
.line-short {
  width: 34%;
}
.line-long {
  width: 85%;
}
.line-mid {
  width: 61%;
}
.code-line.muted {
  background: #ecece5;
}
.code-line.accent {
  width: 48%;
  background: #efc1a8;
}
.card-caption {
  font: 11px/1.65 var(--mono);
  color: var(--green);
  margin-top: 22px;
}
.floating-note {
  position: absolute;
  z-index: 2;
  font: 9px var(--mono);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 11px;
  box-shadow: 0 8px 25px #2636280b;
}
.note-one {
  top: 52px;
  right: 0;
  transform: rotate(4deg);
}
.note-two {
  bottom: 43px;
  left: 1px;
  transform: rotate(-5deg);
  font-family: var(--sans);
}
.star {
  position: absolute;
  color: var(--orange);
}
.star-one {
  top: 72px;
  left: 43px;
  font-size: 27px;
}
.star-two {
  right: 37px;
  bottom: 77px;
  color: var(--green);
  font-size: 24px;
}
.hero-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  margin-top: 58px;
  font: 9px var(--mono);
  color: #8a8d83;
  letter-spacing: 0.1em;
}
.section {
  max-width: 1112px;
  margin: auto;
  padding: 112px 34px;
}
.about-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}
.section-heading .eyebrow {
  margin-bottom: 18px;
}
h2 {
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.5;
  letter-spacing: -0.055em;
  margin: 0;
}
.about-content {
  padding-top: 33px;
  color: #62675e;
  font-size: 13px;
}
.about-content p {
  margin: 0 0 19px;
}
.about-content .large-copy {
  font-size: 20px;
  line-height: 1.8;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.tag-list span {
  border: 1px solid #d7dbcf;
  border-radius: 3px;
  padding: 5px 10px;
  font: 9px var(--mono);
  color: var(--green);
}
.work-section {
  max-width: none;
  background: #eeefe8;
  padding-left: max(34px, calc((100% - 1112px) / 2));
  padding-right: max(34px, calc((100% - 1112px) / 2));
}
.section-intro {
  color: var(--muted);
  font-size: 13px;
  margin-top: 12px;
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}
.work-card {
  background: var(--white);
  border: 1px solid #e5e5dc;
  padding: 27px 25px 23px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
}
.work-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 19px;
  margin-bottom: 27px;
}
.icon-app {
  background: #e8eed7;
  color: var(--green);
}
.icon-tech {
  background: #f7e5d9;
  color: #a65e3e;
  font: 15px var(--mono);
}
.icon-note {
  background: #e4e8e9;
  color: #526b70;
}
.card-number {
  font: 9px var(--mono);
  letter-spacing: 0.1em;
  color: #90958a;
  margin: 0 0 8px;
}
.work-card h3 {
  font-size: 17px;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.work-card > p:not(.card-number) {
  color: #6a6f65;
  font-size: 12px;
  line-height: 2;
  margin: 0 0 25px;
}
.card-foot {
  margin-top: auto;
  border-top: 1px solid #ecece5;
  padding-top: 14px;
  font: 9px var(--mono);
  color: #92968b;
}
.profile-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}
.profile-panel {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.profile-mark {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 18px 18px 18px 5px;
  background: var(--lime);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 25px;
  font-weight: 700;
}
.profile-panel .eyebrow {
  margin-bottom: 10px;
}
.profile-panel h2 {
  font-size: 29px;
}
.profile-intro {
  color: var(--muted);
  font-size: 12px;
  margin-top: 12px;
}
.timeline {
  border-left: 1px solid #d8dcd0;
  padding-left: 28px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 20px;
  padding: 0 0 29px;
  position: relative;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item:before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green);
  border: 4px solid var(--paper);
  border-radius: 50%;
  position: absolute;
  left: -34px;
  top: 7px;
}
.timeline-period {
  font: 10px var(--mono);
  color: var(--green);
  padding-top: 3px;
}
.timeline-item h3 {
  font-size: 14px;
  margin: 0 0 6px;
}
.timeline-item p {
  font-size: 12px;
  color: #6c7167;
  line-height: 2;
  margin: 0;
}
.coming-soon {
  font: 9px var(--mono);
  color: #c2d3bd;
  letter-spacing: 0.13em;
  margin-top: 38px;
}
.site-footer {
  padding: 28px 34px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #c2d3bd;
  font-size: 10px;
}
.footer-brand {
  font-size: 12px;
}
.footer-brand .brand-mark {
  width: 28px;
  height: 28px;
  font-size: 13px;
  border-radius: 9px 9px 9px 3px;
}
.site-footer p {
  margin: 0;
  font-family: var(--mono);
  font-size: 9px;
}
.copyright {
  font-family: var(--mono);
  font-size: 9px;
}
@media (max-width: 760px) {
  .site-header {
    height: 70px;
    padding: 0 21px;
  }
  nav {
    gap: 15px;
    font-size: 10px;
  }
  .hero {
    padding: 62px 22px 24px;
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: clamp(40px, 11vw, 57px);
  }
  .hero-art {
    min-height: 340px;
    margin-top: 25px;
  }
  .art-card {
    width: 225px;
    height: 235px;
  }
  .orbit-one {
    width: 300px;
    height: 225px;
  }
  .orbit-two {
    width: 250px;
    height: 330px;
  }
  .note-one {
    right: 3px;
    top: 28px;
  }
  .note-two {
    bottom: 20px;
    left: 0;
  }
  .hero-foot {
    margin-top: 36px;
    font-size: 8px;
    gap: 8px;
  }
  .section {
    padding: 76px 22px;
  }
  .about-section,
  .profile-section {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .about-content {
    padding-top: 0;
  }
  .about-content .large-copy {
    font-size: 18px;
  }
  .work-section {
    padding: 76px 22px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }
  .work-card {
    min-height: 0;
  }
  .work-icon {
    margin-bottom: 18px;
  }
  .profile-section {
    gap: 36px;
  }
  .timeline {
    margin-left: 6px;
  }
  .timeline-item {
    grid-template-columns: 68px 1fr;
    gap: 12px;
  }
  .site-footer {
    padding: 25px 22px;
    flex-wrap: wrap;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
