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

:root {
  --paper: #f4eee6;
  --ink: #1c1b19;
  --muted: #736d65;
  --line: #cbc2b7;
  --acid: #d7ef4c;
  --blue: #9ed5ec;
  --orange: #f5a05d;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Noto Sans JP", sans-serif;
  --mono: "DM Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  height: 76px;
  padding: 0 clamp(22px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.wordmark span {
  color: #ee5e49;
}
.main-nav {
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  margin-left: auto;
  margin-right: clamp(24px, 4vw, 65px);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}
.main-nav a {
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: #ee5e49;
}
.theme-toggle {
  border: 1px solid var(--ink);
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 17px;
  line-height: 1;
}
.section-wrap {
  padding-left: clamp(22px, 8vw, 128px);
  padding-right: clamp(22px, 8vw, 128px);
}
.hero {
  min-height: min(790px, calc(100vh - 76px));
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 7vw;
  padding-top: 70px;
  padding-bottom: 80px;
  overflow: hidden;
}
.eyebrow,
.section-index {
  font: 11px var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 27px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: #5bba6e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px #5bba6e22;
}
h1 {
  font-size: clamp(64px, 9.2vw, 145px);
  line-height: 0.9;
  letter-spacing: -0.085em;
  margin: 0 0 32px;
  font-weight: 800;
}
.hero h1 em,
h2 em {
  color: #ee5e49;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.08em;
}
.hero-lead {
  font-size: 17px;
  margin: 0 0 35px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 14px 19px;
  font-weight: 700;
  font-size: 13px;
  border-radius: 1px;
  flex-shrink: 0;
}
.button-dark {
  color: var(--paper);
  background: var(--ink);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.button-dark:hover {
  transform: translate(3px, -3px);
  background: #ee5e49;
}
.button span {
  font-size: 20px;
  line-height: 0;
}
.hero-art {
  aspect-ratio: 1 / 1.05;
  max-width: 550px;
  width: 100%;
  position: relative;
  background: var(--acid);
  overflow: hidden;
}
.portrait-shape {
  position: absolute;
  width: 47%;
  height: 77%;
  background: #ee5e49;
  border-radius: 50% 50% 9% 9%;
  left: 27%;
  top: 22%;
  transform: rotate(8deg);
}
.portrait-shape:after {
  content: "";
  position: absolute;
  width: 53%;
  height: 39%;
  background: var(--ink);
  border-radius: 52% 45% 45% 50%;
  left: 23%;
  top: -7%;
}
.art-ring {
  position: absolute;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.ring-one {
  width: 79%;
  aspect-ratio: 1;
  left: 10%;
  top: 10%;
}
.ring-two {
  width: 37%;
  aspect-ratio: 1;
  left: 31%;
  top: 37%;
  border-width: 2px;
}
.art-note {
  position: absolute;
  left: 18px;
  top: 15px;
  font: 10px/1.5 var(--mono);
  z-index: 2;
}
.art-label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  text-align: right;
  font: 700 11px/1.05 var(--mono);
  z-index: 2;
}
.art-cross {
  position: absolute;
  font: 28px var(--mono);
}
.cross-one {
  top: 40%;
  left: 8%;
}
.cross-two {
  top: 11%;
  right: 9%;
}
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  white-space: nowrap;
  padding: 13px 0;
  font: 12px var(--mono);
  letter-spacing: 0.13em;
}
.ticker-track {
  width: max-content;
  animation: ticker 26s linear infinite;
}
.ticker span {
  color: var(--acid);
  margin: 0 20px;
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
.about,
.work {
  display: grid;
  grid-template-columns: minmax(130px, 0.26fr) 1fr;
  gap: 40px;
  padding-top: 145px;
  padding-bottom: 145px;
}
.section-index {
  padding-top: 8px;
  color: var(--muted);
}
.about h2,
.work h2,
.contact h2 {
  font-size: clamp(46px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin: 0;
}
.about h2 span,
.work h2 span {
  color: #ee5e49;
  font-family: var(--serif);
  font-weight: 400;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  margin-top: 80px;
}
.intro-text {
  font-size: 22px;
  line-height: 1.6;
  margin: 0;
}
.intro-text strong {
  color: #ee5e49;
}
.bio-copy {
  color: var(--muted);
  font-size: 14px;
}
.bio-copy p {
  margin: 0 0 36px;
}
.facts {
  border-top: 1px solid var(--line);
}
.facts div {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}
.facts span {
  font: 10px var(--mono);
  color: var(--muted);
}
.facts strong {
  color: var(--ink);
  font-weight: 600;
}
.work {
  background: #ede6dc;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 72px;
}
.section-heading-row p {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  margin: 0;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-visual {
  aspect-ratio: 0.88;
  position: relative;
  overflow: hidden;
  padding: 15px;
}
.visual-lime {
  background: var(--acid);
}
.visual-blue {
  background: var(--blue);
}
.visual-orange {
  background: var(--orange);
}
.project-visual > span {
  font: 11px var(--mono);
}
.project-visual b {
  position: absolute;
  left: 16px;
  bottom: 15px;
  font: 800 clamp(28px, 3vw, 47px)/0.86 var(--sans);
  letter-spacing: -0.07em;
}
.visual-lime b {
  color: #ea553e;
}
.visual-blue b {
  color: #26738d;
}
.visual-orange b {
  color: #fff0df;
}
.project-info {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--ink);
}
.project-info h3 {
  font-size: 14px;
  margin: 0 0 3px;
}
.project-info p {
  font: 10px var(--mono);
  color: var(--muted);
  margin: 0;
}
.arrow {
  font-size: 22px;
}
.project {
  transition: transform 0.25s ease;
}
.project:hover {
  transform: translateY(-8px);
}
.contact {
  padding-top: 90px;
  padding-bottom: 90px;
  background: var(--ink);
  color: var(--paper);
}
.contact-panel {
  border: 1px solid #615c55;
  padding: clamp(25px, 5vw, 70px);
  display: grid;
  grid-template-columns: 0.25fr 1fr 0.45fr;
  gap: 40px;
  background: repeating-linear-gradient(
    -45deg,
    #201f1c,
    #201f1c 2px,
    #22211e 2px,
    #22211e 4px
  );
}
.contact .section-index {
  color: #a7a098;
}
.contact-main h2 {
  font-size: clamp(52px, 7vw, 94px);
}
.contact-main p {
  color: #b6afa6;
  margin: 30px 0;
}
.email-link {
  font: 500 clamp(20px, 2.6vw, 34px) var(--mono);
  display: inline-flex;
  gap: 20px;
  border-bottom: 1px solid #aaa299;
  padding-bottom: 8px;
}
.email-link span {
  color: var(--acid);
}
.copy-button {
  display: block;
  background: transparent;
  color: #aaa299;
  border: 0;
  padding: 13px 0;
  font: 11px var(--mono);
  cursor: pointer;
}
.contact-side {
  border-left: 1px solid #615c55;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-stamp {
  font: 700 25px/0.88 var(--mono);
  color: var(--acid);
}
.contact-side p {
  color: #aaa299;
  font-size: 12px;
  margin: 0;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  padding-bottom: 22px;
  color: var(--muted);
  font: 10px var(--mono);
}
.site-footer a {
  color: var(--ink);
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--acid);
  color: var(--ink);
  padding: 12px 18px;
  font-size: 12px;
  transform: translateY(90px);
  transition: transform 0.3s ease;
}
.toast.show {
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
body.warm {
  --paper: #20221d;
  --ink: #f2e9dc;
  --muted: #b8b3a6;
  --line: #55594d;
  --acid: #d4ed56;
  --blue: #7ac4dc;
}
.warm .work {
  background: #292b25;
}
.warm .hero-art {
  background: #68713b;
}
.warm .site-header,
.warm .site-footer {
  border-color: var(--line);
}
.warm .button-dark {
  color: #20221d;
  background: var(--acid);
}
.warm .ticker {
  background: #d8e8a0;
  color: #20221d;
}
@media (max-width: 760px) {
  .site-header {
    height: 64px;
  }
  .main-nav {
    gap: 15px;
    margin-right: 14px;
  }
  .main-nav a {
    font-size: 9px;
  }
  .theme-toggle {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 55px;
    padding-top: 70px;
  }
  .hero h1 {
    font-size: clamp(61px, 18vw, 100px);
  }
  .hero-art {
    max-width: none;
  }
  .about,
  .work {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 48px;
  }
  .intro-text {
    font-size: 19px;
  }
  .section-heading-row {
    display: block;
    margin-bottom: 45px;
  }
  .section-heading-row p {
    text-align: left;
    margin-top: 28px;
  }
  .project-list {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .project-visual {
    aspect-ratio: 1.25;
  }
  .contact {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .contact-side {
    border-left: 0;
    border-top: 1px solid #615c55;
    padding-left: 0;
    padding-top: 28px;
    gap: 35px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .site-footer a {
    width: 100%;
  }
}

/* One-screen business card layout */
html,
body {
  height: 100%;
  overflow: hidden;
}
.site-header {
  height: 64px;
}
.header-note {
  margin: 0 24px 0 auto;
  color: var(--muted);
  font: 10px var(--mono);
  letter-spacing: 0.08em;
}
main {
  height: calc(100dvh - 104px);
}
.hero {
  height: 100%;
  min-height: 0;
  padding-top: 30px;
  padding-bottom: 30px;
  gap: clamp(30px, 6vw, 100px);
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(58px, 8.2vw, 125px);
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 15px;
  margin-bottom: 20px;
}
.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0 0 22px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.hero-details div {
  display: grid;
  gap: 2px;
  flex: 1 1 130px;
}
.hero-details span {
  color: var(--muted);
  font: 9px var(--mono);
}
.hero-details strong {
  font-size: 11px;
  font-weight: 600;
}
.experience-list {
  display: grid;
  gap: 2px;
}
.experience-list span {
  color: var(--ink);
  font: inherit;
}
.hero-contact {
  display: flex;
  align-items: center;
  gap: 22px;
}
.contact-links {
  display: grid;
  gap: 2px;
  font: 10px var(--mono);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 5px;
}
.contact-link a {
  border-bottom: 1px solid transparent;
}
.contact-link a:hover {
  border-bottom-color: currentColor;
}
.copy-icon-button {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.copy-icon-button:hover,
.copy-icon-button:focus-visible {
  color: #ee5e49;
}
.copy-icon-button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
.copy-icon-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.hero-art {
  max-width: min(44vw, 500px);
  max-height: calc(100dvh - 140px);
}
.art-email {
  position: absolute;
  left: 16px;
  bottom: 15px;
  font: 10px var(--mono);
  z-index: 2;
}
.site-footer {
  height: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media (max-width: 760px) {
  .header-note {
    display: none;
  }
  main {
    height: calc(100dvh - 104px);
  }
  .hero {
    gap: 20px;
    padding-top: 25px;
    padding-bottom: 16px;
    align-content: center;
  }
  .hero h1 {
    font-size: clamp(54px, 17vw, 78px);
    margin-bottom: 17px;
  }
  .eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }
  .hero-lead {
    font-size: 13px;
    margin-bottom: 15px;
  }
  .hero-details {
    gap: 15px;
    margin-bottom: 15px;
    padding-top: 9px;
  }
  .hero-details strong {
    font-size: 10px;
  }
  .hero-contact {
    gap: 14px;
    flex-wrap: wrap;
  }
  .contact-links {
    width: 100%;
    font-size: 9px;
  }
  .button {
    padding: 11px 15px;
    font-size: 12px;
  }
  .hero-art {
    width: 100%;
    max-width: none;
    max-height: none;
    height: min(31dvh, 230px);
    aspect-ratio: auto;
  }
  .art-email {
    font-size: 9px;
  }
}
