:root {
  color-scheme: light;
  --paper: #faf8f3;
  --mint: #ebf5f0;
  --ink: #2a3c38;
  --green: #395f50;
  --line: #d1ddd6;
  --sans: Meiryo, "Hiragino Sans", "Noto Sans CJK JP", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.375rem/1.8 var(--sans);
  letter-spacing: .055em;
  line-break: strict;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: "Yu Gothic", var(--sans); font-weight: 700; line-height: 1.4; letter-spacing: .025em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.35vw, 3.125rem); text-wrap: wrap; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 2.1vw, 1.75rem); }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }

.masthead { border-bottom: 1px solid var(--line); }
.masthead-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  padding-block: 16px;
  font-size: 1.125rem;
  color: var(--green);
}
.hero {
  padding-block: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
}
.hero-phrase { display: inline-block; }
.lead {
  margin-top: 14px;
  color: var(--green);
  font-size: clamp(1.25rem, 2.15vw, 1.875rem);
  text-wrap: balance;
}
.hero-description { margin-top: 16px; }
.hero-art {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0;
  padding: clamp(12px, 2vw, 26px);
  list-style: none;
  background: linear-gradient(145deg, #f2f8f4, #dfede6);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.hero-art li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  min-height: 120px;
  padding: 10px 5px;
  background: #fcfdfa;
  border: 1px solid #d4e2da;
  border-radius: 14px;
  box-shadow: 0 3px 7px #395f5012;
  color: var(--green);
  font: 700 clamp(1rem, 1.65vw, 1.375rem)/1.4 "Yu Gothic", var(--sans);
  letter-spacing: .025em;
  text-align: center;
}
.hero-icon {
  width: 68px;
  height: 57px;
  border-radius: 12px;
  background: #edf6f0 url("./assets/technical-overview.png") no-repeat;
  background-size: 552px 299px;
  background-blend-mode: multiply;
  filter: grayscale(.75);
}
.icon-cad { background-position: -66px -139px; }
.icon-improvement { background-position: -184px -139px; }
.icon-it { background-position: -310px -139px; }
.icon-ai { background-position: -436px -139px; }

.section { padding-block: clamp(36px, 5vw, 62px); }
.section h2 { margin-bottom: 24px; }
.introduction { border-top: 1px solid var(--line); }
.bio { max-width: 42em; }
.bio p + p { margin-top: 20px; }
.band { background: var(--mint); border-block: 1px solid var(--line); }
.grid { display: grid; gap: 20px; }
.skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 2.4vw, 30px);
}
.label { margin-bottom: 8px; color: var(--green); font-size: 1.125rem; letter-spacing: .04em; }
.card h3 { margin-bottom: 12px; text-wrap: pretty; }
.summary { color: var(--green); }
.card ul { margin: 16px 0 0; padding-left: 1.2em; }
.card li + li { margin-top: 4px; }
li::marker { color: var(--green); }
.featured { border-top: 2px solid var(--green); }
.result-emphasis {
  text-decoration: underline 2px #ab353d;
  text-underline-offset: .22em;
  white-space: nowrap;
}
.support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 36px;
  margin: 0;
  padding-left: 1.25em;
}

@media (max-width: 1000px) {
  .results { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1.25rem; }
  .wrap { width: calc(100% - 36px); }
  .hero { grid-template-columns: 1fr; }
  h1 { font-size: clamp(1.5rem, 6.7vw, 2.25rem); }
}
@media (max-width: 620px) {
  .skills, .support { grid-template-columns: 1fr; }
}






