:root {
  color-scheme: dark;
  --bg: #050608;
  --bg-2: #0b0d11;
  --text: #f5f5f2;
  --muted: #999da5;
  --faint: #696f7a;
  --panel: rgba(255, 255, 255, .045);
  --panel-strong: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .12);
  --orange: #ff5c1a;
  --orange-soft: rgba(255, 92, 26, .18);
  --blue: #6a8dff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Onest, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(180deg, rgba(255, 92, 26, .055), transparent 20%),
    radial-gradient(ellipse at 66% 12%, rgba(106, 141, 255, .12), transparent 35%),
    #050608;
  content: "";
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #120906;
  background: var(--orange);
}

.matter-canvas,
.grain,
.cursor-glow {
  pointer-events: none;
  position: fixed;
}

.matter-canvas {
  inset: 0;
  z-index: -3;
  opacity: .95;
}

.grain {
  inset: 0;
  z-index: 30;
  opacity: .035;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
}

.cursor-glow {
  left: 0;
  top: 0;
  z-index: 29;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 26, .22), rgba(255, 92, 26, .07) 35%, transparent 68%);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.7);
  transition: opacity .2s ease, transform .2s ease;
  will-change: transform;
}

.cursor-glow.is-visible {
  opacity: 1;
}

.cursor-glow.is-hot {
  transform: translate3d(-50%, -50%, 0) scale(1.12);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 2px;
  background: rgba(255, 255, 255, .04);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 92, 26, .2), var(--orange));
  box-shadow: 0 0 18px rgba(255, 92, 26, .72);
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #000;
  color: rgba(245, 245, 242, .74);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: lowercase;
  animation: intro-out 1.45s ease forwards;
}

.intro span {
  opacity: 0;
  transform: translateY(8px);
  animation: intro-word .78s ease forwards;
}

.intro.is-skipped {
  display: none;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 58px;
  padding: 8px 8px 8px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text);
  transform: translateX(-50%);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(5, 6, 8, .75);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  color: var(--orange);
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}

.main-nav a,
.header-max {
  min-height: 38px;
  padding: 11px 13px;
  border-radius: 999px;
  color: rgba(245, 245, 242, .74);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.header-max {
  color: #120906;
  background: var(--orange);
  box-shadow: 0 10px 30px rgba(255, 92, 26, .24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 520px);
  gap: 46px;
  align-items: center;
  width: min(var(--max), calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 118px 0 34px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: -15vw;
  bottom: -8vh;
  z-index: -2;
  width: 58vw;
  height: 58vw;
  max-width: 720px;
  max-height: 720px;
  border: 1px solid rgba(255, 92, 26, .12);
  border-radius: 42% 58% 47% 53%;
  background:
    linear-gradient(135deg, rgba(255, 92, 26, .13), rgba(106, 141, 255, .055)),
    rgba(255, 255, 255, .018);
  filter: blur(8px);
  opacity: .72;
  content: "";
  animation: liquid-turn 18s ease-in-out infinite alternate;
}

.hero-copy {
  max-width: 680px;
  padding-top: 24px;
}

.label,
.section-kicker,
.skill-label {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-title {
  margin: 18px 0 22px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
  overflow-wrap: anywhere;
}

.hero-title span + span {
  margin-top: .08em;
}

.hero-lead,
.hero-note,
.section-head p,
.about-layout p,
.fast-copy p,
.interest-grid p,
.no-copy p,
.personal-section p,
.work-steps p,
.project-card p,
.final-inner span {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-lead {
  max-width: 660px;
  margin: 0;
  color: rgba(245, 245, 242, .82);
  font-size: 20px;
}

.hero-note {
  max-width: 590px;
  margin: 14px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button.primary {
  color: #120906;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .32), transparent 52%),
    var(--orange);
  box-shadow: 0 18px 48px rgba(255, 92, 26, .28);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, .13);
  color: rgba(245, 245, 242, .88);
  background: rgba(255, 255, 255, .045);
}

.button.big {
  min-height: 62px;
  padding: 0 28px;
  font-size: 18px;
}

.button:hover,
.header-max:hover,
.project-card:hover {
  transform: translateY(-2px);
}

.button.primary:hover {
  box-shadow: 0 20px 54px rgba(255, 92, 26, .36);
}

.button:focus-visible,
.main-nav a:focus-visible,
.header-max:focus-visible,
.brand:focus-visible,
.skill-tabs button:focus-visible,
.mobile-max:focus-visible {
  outline: 3px solid rgba(255, 92, 26, .34);
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: min(86vh, 760px);
  align-self: end;
  place-items: end center;
  transform-origin: bottom right;
  will-change: transform;
}

.hero-person {
  position: relative;
  z-index: 4;
  display: block;
  width: min(100%, 430px);
  max-height: 89vh;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 34px 55px rgba(0, 0, 0, .58));
  opacity: 0;
  transform: translateY(26px) scale(.98);
  animation: person-in .85s 1.02s cubic-bezier(.2, .85, .2, 1) forwards;
}

.energy-structure {
  position: absolute;
  inset: 10% 2% 8% auto;
  z-index: 1;
  width: min(78vw, 520px);
  height: min(72vh, 620px);
  opacity: .92;
  transform: rotate(-8deg);
}

.energy-structure span,
.light-thread {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}

.energy-structure span:nth-child(1) {
  inset: 8% 12% 18% 14%;
  border-radius: 34% 66% 52% 48%;
  background: linear-gradient(135deg, rgba(255, 92, 26, .13), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 38px rgba(255, 255, 255, .08), 0 0 70px rgba(255, 92, 26, .16);
  animation: float-a 12s ease-in-out infinite;
}

.energy-structure span:nth-child(2) {
  inset: 18% 4% 28% 24%;
  border-color: rgba(106, 141, 255, .17);
  border-radius: 58% 42% 38% 62%;
  background: rgba(106, 141, 255, .045);
  animation: float-b 15s ease-in-out infinite;
}

.energy-structure span:nth-child(3) {
  inset: 28% 22% 10% 2%;
  border-color: rgba(255, 92, 26, .16);
  border-radius: 48% 52% 61% 39%;
  background: linear-gradient(45deg, transparent, rgba(255, 92, 26, .07));
  animation: float-c 17s ease-in-out infinite;
}

.light-thread {
  z-index: 3;
  height: 2px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 92, 26, .95), transparent);
  filter: drop-shadow(0 0 12px rgba(255, 92, 26, .78));
  transform-origin: center;
}

.thread-a {
  top: 27%;
  right: 5%;
  width: 72%;
  animation: thread-pass 3.8s 1.1s ease-in-out infinite;
}

.thread-b {
  right: 8%;
  bottom: 28%;
  width: 54%;
  opacity: .55;
  transform: rotate(-22deg);
  animation: thread-pass 5.4s 1.8s ease-in-out infinite;
}

.transition-line {
  display: grid;
  min-height: 42vh;
  place-items: center;
  padding: 80px 16px;
}

.transition-line p {
  max-width: 980px;
  margin: 0;
  color: rgba(245, 245, 242, .92);
  font-size: clamp(38px, 7vw, 88px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  opacity: .2;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease;
}

.transition-line p.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 104px 0;
  scroll-margin-top: 110px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section h2,
.final-inner h2 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p {
  margin: 16px 0 0;
  max-width: 660px;
}

.about-layout,
.fast-section,
.no-section,
.personal-section {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, .74fr);
  gap: clamp(52px, 6vw, 88px);
  align-items: center;
}

.about-layout p,
.personal-section p {
  max-width: 720px;
}

blockquote,
.cook-note,
.education-panel {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 92, 26, .12), transparent 55%),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

blockquote {
  padding: 32px;
  color: rgba(245, 245, 242, .93);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 850;
  line-height: 1.14;
}

.skill-system {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  min-width: 0;
}

.skill-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.skill-tabs button {
  width: 100%;
  min-height: 62px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  color: rgba(245, 245, 242, .52);
  background: rgba(255, 255, 255, .026);
  font: inherit;
  font-size: clamp(20px, 2.7vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.skill-tabs button:hover,
.skill-tabs button.is-active {
  border-color: rgba(255, 92, 26, .38);
  color: var(--text);
  background: rgba(255, 92, 26, .075);
}

.skill-tabs button.is-active {
  transform: translateX(8px);
}

.skill-detail {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 92, 26, .11), rgba(106, 141, 255, .055) 46%, transparent),
    rgba(255, 255, 255, .045);
}

.skill-detail::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 8px;
  content: "";
}

.skill-detail > * {
  position: relative;
}

.skill-detail h3 {
  max-width: 760px;
  margin: 18px 0;
  font-size: clamp(32px, 4.7vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.skill-detail p:not(.skill-label) {
  max-width: 620px;
  margin: 0;
  color: rgba(245, 245, 242, .76);
  font-size: 20px;
  line-height: 1.55;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.skill-tags span,
.no-list li {
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: rgba(245, 245, 242, .76);
  font-size: 14px;
  font-weight: 750;
}

.skill-tags span {
  padding: 9px 12px;
}

.fast-section {
  align-items: end;
}

.fast-copy p {
  max-width: 720px;
}

.learn-line {
  display: grid;
  gap: 16px;
  justify-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
}

.learn-line span {
  color: rgba(245, 245, 242, .38);
  font-size: clamp(32px, 4.8vw, 62px);
  font-weight: 900;
  line-height: 1;
  transition: color .35s ease, text-shadow .35s ease, transform .35s ease;
}

.learn-line span.is-lit {
  color: var(--text);
  text-shadow: 0 0 24px rgba(255, 92, 26, .32);
  transform: translateX(8px);
}

.learn-line i {
  width: 68px;
  height: 2px;
  background: rgba(255, 92, 26, .46);
}

.marquee-section {
  overflow: clip;
  contain: paint;
  padding: 26px 0;
  border-block: 1px solid rgba(255, 255, 255, .075);
  background: rgba(255, 255, 255, .025);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
  will-change: transform;
}

.marquee div {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-right: 18px;
}

.marquee span {
  color: rgba(245, 245, 242, .56);
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 900;
  white-space: nowrap;
}

.interest-grid,
.work-steps,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.interest-grid article,
.work-steps article,
.project-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.interest-grid h3,
.work-steps h3,
.project-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.1;
}

.interest-grid p,
.work-steps p,
.project-card p {
  margin: 0;
  font-size: 15px;
}

.no-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.no-list li {
  padding: 11px 14px;
}

.education-panel {
  padding: clamp(28px, 6vw, 70px);
  text-align: center;
}

.education-panel p,
.final-inner p {
  margin: 0;
  color: var(--orange);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 900;
}

.education-panel h2 {
  margin-top: 2px;
  font-size: clamp(72px, 15vw, 188px);
}

.education-panel span {
  display: block;
  max-width: 820px;
  margin: 22px auto 0;
  color: rgba(245, 245, 242, .72);
  font-size: 18px;
  line-height: 1.6;
}

.cook-note {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.cook-note span {
  color: var(--muted);
}

.cook-note strong {
  font-size: clamp(24px, 3.3vw, 42px);
  line-height: 1.08;
}

.work-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.work-steps span,
.project-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.project-card::before {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: linear-gradient(115deg, transparent, rgba(255, 92, 26, .13), transparent 58%);
  opacity: 0;
  transform: translateX(-28%);
  transition: opacity .22s ease, transform .65s ease;
  content: "";
}

.project-card:hover {
  border-color: rgba(255, 92, 26, .36);
  background: var(--panel-strong);
  transform: scale(1.025);
}

.project-card:hover::before {
  opacity: 1;
  transform: translateX(28%);
}

.project-card b {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: rgba(245, 245, 242, .86);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.project-card:hover b {
  opacity: 1;
  transform: translateY(0);
}

.final-screen {
  display: grid;
  min-height: 92vh;
  place-items: center;
  padding: 120px 16px;
}

.final-inner {
  max-width: 860px;
  text-align: center;
}

.final-inner h2 {
  margin-bottom: 18px;
  font-size: clamp(58px, 10vw, 132px);
}

.final-inner span {
  display: block;
  max-width: 620px;
  margin: 0 auto 30px;
}

.final-inner small {
  display: block;
  margin-top: 14px;
  color: var(--faint);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(245, 245, 242, .62);
}

.site-footer span {
  font-weight: 800;
}

.site-footer small {
  grid-column: 1 / -1;
  color: var(--faint);
}

.mobile-max {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 52;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  color: #120906;
  background: var(--orange);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .35), 0 12px 34px rgba(255, 92, 26, .26);
  font-weight: 900;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.mobile-max.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal,
[data-split] {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(20px);
  animation: reveal-up .7s cubic-bezier(.2, .75, .18, 1) forwards;
}

[data-split]:nth-child(1) {
  animation-delay: .98s;
}

[data-split]:nth-child(2) {
  animation-delay: 1.18s;
}

.hero-lead {
  animation-delay: 1.36s;
}

.hero-note {
  animation-delay: 1.48s;
}

.hero-actions {
  animation-delay: 1.62s;
}

.reveal-words {
  opacity: 0;
  animation: reveal-label .55s .82s ease forwards;
}

@keyframes intro-word {
  42%, 72% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-out {
  0%, 68% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes reveal-label {
  to {
    opacity: 1;
  }
}

@keyframes reveal-up {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes person-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float-a {
  50% { transform: translate3d(14px, -18px, 0) rotate(7deg) scale(1.03); }
}

@keyframes float-b {
  50% { transform: translate3d(-18px, 12px, 0) rotate(-8deg) scale(.96); }
}

@keyframes float-c {
  50% { transform: translate3d(18px, 18px, 0) rotate(10deg) scale(1.02); }
}

@keyframes liquid-turn {
  50% { border-radius: 58% 42% 56% 44%; transform: rotate(8deg) scale(1.04); }
}

@keyframes thread-pass {
  0%, 100% { opacity: .12; transform: translateX(-20px) rotate(13deg) scaleX(.6); }
  45%, 55% { opacity: 1; transform: translateX(16px) rotate(13deg) scaleX(1); }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(44px, 6.4vw, 72px);
  }

  .interest-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    min-height: 52px;
    padding-left: 14px;
  }

  .main-nav {
    display: none;
  }

  .header-max {
    min-height: 36px;
    padding: 10px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 8px;
    align-content: start;
    min-height: 100svh;
    padding-top: 94px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-title {
    margin-top: 14px;
    font-size: clamp(36px, 10.7vw, 56px);
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-note {
    font-size: 15px;
    line-height: 1.5;
  }

  .hero-actions {
    display: none;
  }

  .hero-visual {
    min-height: 39svh;
    margin-top: -14px;
    place-items: end center;
  }

  .hero-person {
    width: min(62vw, 280px);
    max-height: 47svh;
  }

  .energy-structure {
    inset: 0 4% 0 auto;
    width: min(92vw, 460px);
    height: 48svh;
  }

  .transition-line {
    min-height: 32vh;
  }

  .section {
    padding: 72px 0;
  }

  .about-layout,
  .fast-section,
  .no-section,
  .personal-section,
  .skill-system {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .skill-tabs {
    display: flex;
    overflow-x: auto;
    max-width: calc(100vw - 24px);
    gap: 8px;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }

  .skill-tabs button {
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 48px;
    padding: 0 16px;
    font-size: 18px;
    scroll-snap-align: start;
  }

  .skill-tabs button.is-active {
    transform: none;
  }

  .skill-detail {
    min-height: 390px;
  }

  .skill-detail h3 {
    font-size: clamp(30px, 9vw, 46px);
  }

  .work-steps {
    grid-template-columns: 1fr;
  }

  .mobile-max {
    display: flex;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 560px) {
  .hero,
  .section,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    padding-bottom: 18px;
  }

  .hero-title {
    line-height: 1.08;
  }

  .button {
    width: 100%;
  }

  blockquote,
  .learn-line,
  .cook-note,
  .skill-detail,
  .education-panel,
  .interest-grid article,
  .work-steps article,
  .project-card {
    padding: 20px;
  }

  .interest-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .education-panel h2 {
    font-size: clamp(64px, 23vw, 112px);
  }

  .final-inner h2 {
    font-size: clamp(54px, 17vw, 84px);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .intro {
    display: none;
  }
}
