@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-cyrillic.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
:root {
  --paper: #f7faf5;
  --ink: #1c2d23;
  --muted: #596b5f;
  --accent: #2e6b4c;
  --accent-light: #e1eee0;
  --line: #d9e3d7;
  --surface: #edf4e7;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --page-width: 1312px;
  color-scheme: light;
  font-family: Manrope, Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: #9bb5a0 var(--paper);
  scrollbar-gutter: stable;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
body,
button,
input,
textarea {
  font-family: Manrope, Arial, sans-serif;
}
button,
input,
textarea {
  font-size: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.25em;
}
a:hover {
  text-decoration-thickness: 1px;
}
button,
textarea,
input {
  color: inherit;
}
button {
  border: 0;
}
a,
button {
  touch-action: manipulation;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
p {
  line-height: 1.65;
}
img,
video {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
svg {
  flex-shrink: 0;
  vertical-align: middle;
}
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
::selection {
  color: #fff;
  background: var(--accent);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
input,
textarea {
  caret-color: var(--accent);
}
[hidden] {
  display: none !important;
}
.wrapper {
  width: min(var(--page-width), calc(100% - 96px));
  margin-inline: auto;
}
.accent {
  color: var(--accent);
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 16px;
  transform: translateY(-180%);
  background: var(--ink);
  color: white;
  padding: 16px;
  border-radius: 8px;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.04em;
  line-height: 44px;
}
.wordmark span {
  color: var(--accent);
}
.main-nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
}
.main-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current]::after {
  transform: scaleX(1);
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 17px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px 80px;
  padding-top: 86px;
  padding-bottom: 24px;
}
.hero h1 {
  font-size: clamp(52px, 6.4vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
  animation: arrive 0.85s var(--ease) both;
}
.hero-role {
  font-size: clamp(24px, 2.75vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-top: 22px;
  font-weight: 500;
  max-width: 700px;
}
.hero-connector {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  height: 26px;
  margin-left: 17px;
  vertical-align: middle;
  color: var(--accent);
}
.hero-connector i {
  display: block;
  width: 3px;
  height: 8px;
  background: currentColor;
  transition: transform 0.55s var(--ease);
}
.hero-connector i:nth-child(2),
.hero-connector i:nth-child(4) {
  height: 16px;
}
.hero-connector i:nth-child(3) {
  height: 24px;
}
.hero-role:hover .hero-connector i {
  transform: scaleY(0.4);
}
.hero-role:hover .hero-connector i:nth-child(2n) {
  transform: scaleY(1.4);
}
.hero-description {
  font-size: 17px;
  color: var(--muted);
  max-width: 625px;
  margin-top: 27px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  padding: 15px 23px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  border-radius: 8px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.4s var(--ease);
}
.button svg {
  transition: transform 0.4s var(--ease);
}
.button:hover svg {
  transform: translate(2px, -2px);
}
.button:active {
  transform: scale(0.98);
}
.button--primary {
  background: var(--accent);
  color: #fff;
}
.button--primary:hover {
  background: #24563b;
}
.button--secondary {
  background: var(--accent-light);
  color: var(--accent);
}
.button--text {
  background: transparent;
  padding-inline: 20px;
}
.button--text:hover {
  background: var(--surface);
}
.button[disabled] {
  cursor: wait;
  opacity: 0.65;
}
.hero-portrait {
  padding-top: 6px;
}
.hero-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-portrait figcaption {
  font-size: 12px;
  margin-top: 18px;
  color: var(--muted);
}
.location-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: 2px;
}
.portrait-note {
  display: block;
  margin-top: 5px;
  padding-left: 14px;
  font-size: 11px;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.scroll-link {
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 32px;
}
.section-heading h2 {
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.section-heading > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 24px;
}
.section-heading--wide {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 48px;
}
.section-heading--wide > p {
  margin: 0;
  min-width: 235px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 48px 120px;
  padding-top: 110px;
  padding-bottom: 108px;
}
.about-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}
.about-photo {
  margin-top: 120px;
  max-width: 136px;
  flex-shrink: 0;
}
.about-photo img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}
.about-photo figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 10px;
}
.about-copy {
  padding-top: 0;
  max-width: 690px;
  font-size: 15px;
  color: var(--muted);
}
.about-copy .about-lead {
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.about-copy p + p {
  margin-top: 20px;
}
.directions {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.direction h3 {
  font-size: 14px;
  font-weight: 600;
}
.direction p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  max-width: 250px;
}
.projects {
  padding-top: 12px;
  padding-bottom: 110px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 80px 40px;
  align-items: start;
}
.project {
  min-width: 0;
}
.project--large {
  grid-column: span 8;
}
.project--narrow {
  grid-column: span 4;
  margin-top: 100px;
}
.project--music {
  grid-column: span 7;
}
.project--release {
  grid-column: 9 / span 4;
  margin-top: 80px;
}
.project-media {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  aspect-ratio: 1.55;
}
.project-media > picture,
.project-media > picture > img {
  display: block;
  width: 100%;
  height: 100%;
}
.project-media > picture > img {
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.project--music .project-media {
  aspect-ratio: 1.5;
}
.project--release .project-media {
  aspect-ratio: 1;
}
.project-media--contain > picture > img {
  object-fit: contain;
}
.project:hover .project-media > picture > img {
  transform: scale(1.025);
}
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin-top: 9px;
  flex-wrap: wrap;
}
.project h3 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-top: 20px;
}
.project-description {
  font-size: 14px;
  margin-top: 14px;
  max-width: 700px;
  color: #43594b;
}
.project-detail {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 680px;
}
.tags {
  display: flex;
  gap: 5px 15px;
  flex-wrap: wrap;
  margin-top: 19px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.tags li {
  white-space: nowrap;
}
.tags li + li::before {
  content: '/';
  margin-right: 15px;
  color: #839887;
}
.project-video {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 32%;
  height: auto;
  aspect-ratio: 5 / 3;
  border-radius: 8px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}
.project-video.has-started {
  opacity: 1;
}
.video-toggle {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 7px;
  background: #f7faf5;
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
}
.video-icon-pause {
  display: none;
}
.video-toggle[aria-pressed='true'] .video-icon-play {
  display: none;
}
.video-toggle[aria-pressed='true'] .video-icon-pause {
  display: inline-flex;
}
.video-toggle:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 2px var(--accent);
}
.automation-visual {
  aspect-ratio: 0.92;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  padding: 34px 28px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.automation-title {
  font-size: clamp(24px, 2.7vw, 39px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.automation-flow {
  padding-inline: 8px;
  margin: 20px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.automation-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
  gap: 20px;
  padding: 11px 15px;
  font-size: 11px;
  border: 1px solid #a4b3e1;
  border-radius: 7px;
  position: relative;
  transition: transform 0.6s var(--ease);
}
.automation-node--middle {
  margin-left: 20%;
  background: #4967c0;
}
.automation-node--last {
  background: #f0f3fc;
  color: #29479d;
  margin-right: 10%;
  border-color: transparent;
}
.automation-connector {
  width: 1px;
  height: 18px;
  background: #b2bee5;
}
.automation-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  font-size: 9px;
  color: #e0e7ff;
}
.automation-mark {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.process-lines {
  display: flex;
  gap: 3px;
  align-items: center;
  height: 17px;
}
.process-lines i {
  width: 3px;
  height: 10px;
  background: #fff;
}
.process-lines i:nth-child(2) {
  height: 17px;
}
.project:hover .automation-node--middle {
  transform: translateX(-7px);
}
.concerts-section {
  margin-top: 100px;
}
.subsection-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.concert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.concert-media {
  height: 310px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9e9e7;
}
.concert-media > picture,
.concert-media img {
  display: block;
  width: 100%;
  height: 100%;
}
.concert-media img {
  object-fit: contain;
  transition: transform 0.8s var(--ease);
}
.concert-media--portrait {
  background: #d9cece;
}
.concert-media--portrait img {
  object-fit: contain;
}
.concert:hover .concert-media img {
  transform: scale(1.02);
}
.concert-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.concert h4 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.concert-caption > span {
  font-size: 10px;
  color: var(--muted);
}
.concert-role {
  font-size: 11px;
  color: var(--accent);
  margin-top: 7px;
}
.concert-dates {
  list-style: none;
  display: grid;
  gap: 6px;
  padding: 0;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
}
.concert-dates time {
  color: var(--ink);
  white-space: nowrap;
}
.concert > p:not(.concert-role) {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 500px;
}
.concert .tags {
  margin-top: 13px;
}
.side-projects {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  padding: 40px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 80px;
}
.side-projects h3 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.side-projects p {
  max-width: 670px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
.side-symbol {
  color: var(--accent);
  padding-right: 25px;
}
.experience {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 65px 100px;
  padding-top: 100px;
  padding-bottom: 120px;
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 25px;
  padding-bottom: 34px;
  position: relative;
}
.timeline li:not(:last-child)::before {
  content: '';
  position: absolute;
  width: 1px;
  left: 0;
  top: 24px;
  bottom: -6px;
  background: var(--line);
}
.timeline-period {
  font-size: 11px;
  line-height: 24px;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.timeline-period::before {
  content: '';
  position: absolute;
  left: -3px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline-content h3 {
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.timeline-role {
  display: block;
  font-size: 12px;
  margin-top: 7px;
}
.timeline-content p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  max-width: 400px;
}
.education {
  padding-top: 27px;
  border-top: 1px solid var(--line);
}
.education > span {
  font-size: 11px;
  color: var(--muted);
}
.education h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  margin-top: 12px;
  max-width: 500px;
}
.education p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
}
.certification {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin-top: 35px;
  padding: 30px 0 5px;
  border-top: 1px solid var(--line);
  border-radius: 2px;
}
.certification-preview {
  display: block;
  transform: rotate(-4deg);
}
.certification-preview picture,
.certification-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.certification-preview img {
  border-radius: 7px;
  box-shadow: 0 10px 25px #1c2d231a;
}
.certification-copy h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.certification-role {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 5px;
}
.certification-details {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin-top: 11px;
  font-variant-numeric: tabular-nums;
}
.certification-action {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  min-height: 44px;
  margin-top: 5px;
}
.certification:hover .certification-action {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .certification-preview,
  .certification-action svg {
    transition: transform 0.6s var(--ease);
  }
  .certification:hover .certification-preview,
  .certification:focus-visible .certification-preview {
    transform: rotate(0deg) translateY(-3px);
  }
  .certification:hover .certification-action svg {
    transform: translate(2px, -2px);
  }
}
.competencies {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 100px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}
.competencies h3 {
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.competencies dl {
  margin: 0;
}
.competencies dl > div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 25px;
  font-size: 12px;
  padding-block: 9px;
}
.competencies dt {
  font-weight: 600;
}
.competencies dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.contact {
  background: var(--surface);
  padding-block: 85px 80px;
}
.contact h2 {
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.04em;
  max-width: 1000px;
}
.contact-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 100px;
  margin-top: 45px;
}
.contact-bottom > p {
  font-size: 16px;
  color: var(--muted);
  max-width: 470px;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 23px;
}
.contact-actions .button {
  min-width: 260px;
}
.email-link {
  font-size: 17px;
  display: flex;
  gap: 20px;
  align-items: center;
  min-height: 44px;
}
.email-link:hover {
  text-decoration: underline;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 90px;
  font-size: 10px;
  color: var(--muted);
}
.footer a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
}
.footer-note {
  font-size: 9px;
}
.media-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  width: 100%;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}
.media-contain {
  object-fit: contain;
}
.is-revealed {
  animation: section-in 0.8s var(--ease) both;
}
@keyframes arrive {
  from {
    opacity: 0.25;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes section-in {
  from {
    opacity: 0.45;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 100px;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px 110px;
  }
  .hero h1 {
    font-size: 96px;
  }
  .hero-role {
    font-size: 40px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-bottom {
    margin-top: 60px;
  }
}
@media (max-width: 1100px) {
  .wrapper {
    width: calc(100% - 64px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 24px 40px;
    padding-top: 66px;
  }
  .hero h1 {
    font-size: clamp(50px, 6.3vw, 72px);
  }
  .hero-role {
    font-size: 29px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-connector {
    margin-left: 12px;
  }
  .about {
    gap: 45px 65px;
  }
  .about-heading {
    flex-direction: column;
  }
  .about-photo {
    margin-top: 8px;
    max-width: 116px;
  }
  .about-copy .about-lead {
    font-size: 19px;
  }
  .project-grid {
    gap: 65px 28px;
  }
  .project--large {
    grid-column: span 7;
  }
  .project--narrow {
    grid-column: span 5;
    margin-top: 70px;
  }
  .project--release {
    grid-column: 8 / span 5;
    margin-top: 70px;
  }
  .automation-visual {
    aspect-ratio: 1.05;
  }
  .concert-grid {
    gap: 28px;
  }
  .concert-media {
    height: 255px;
  }
  .experience,
  .competencies {
    grid-template-columns: 1fr 1.7fr;
    gap: 60px;
  }
  .timeline li {
    grid-template-columns: 145px 1fr;
    gap: 15px;
  }
  .contact-bottom {
    gap: 70px;
  }
  .main-nav {
    gap: 25px;
  }
}
@media (max-width: 767px) {
  :root {
    scroll-padding-top: 85px;
  }
  .wrapper {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 68px;
    gap: 16px;
  }
  .wordmark {
    font-size: 25px;
  }
  .main-nav {
    gap: 18px;
    font-size: 11px;
    margin-left: auto;
  }
  .main-nav a:nth-child(1),
  .main-nav a:nth-child(3) {
    display: none;
  }
  .header-contact {
    font-size: 11px;
    gap: 7px;
  }
  .hero {
    grid-template-columns: 1fr 144px;
    gap: 28px 20px;
    padding-top: 42px;
    padding-bottom: 20px;
  }
  .hero-copy {
    display: contents;
  }
  .hero h1 {
    grid-column: 1/-1;
    font-size: clamp(44px, 8.7vw, 66px);
    letter-spacing: -0.04em;
    line-height: 1.13;
  }
  .hero-role {
    grid-column: 1/-1;
    grid-row: 2;
    font-size: clamp(25px, 4.9vw, 36px);
    margin: 0;
    max-width: 560px;
    line-height: 1.35;
  }
  .hero-connector {
    height: 20px;
    margin-left: 10px;
  }
  .hero-connector i {
    width: 2px;
  }
  .hero-description {
    grid-column: 1/-1;
    grid-row: 3;
    font-size: 14px;
    margin: 0;
    max-width: 620px;
    line-height: 1.7;
  }
  .hero-actions {
    grid-column: 1/-1;
    grid-row: 5;
    margin: 0;
    gap: 8px;
  }
  .button {
    font-size: 12px;
    gap: 20px;
    padding: 15px 18px;
  }
  .button--text {
    padding-inline: 14px;
  }
  .hero-portrait {
    grid-column: 1/-1;
    grid-row: 4;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0;
  }
  .hero-portrait > picture {
    width: 112px;
    flex-shrink: 0;
  }
  .hero-portrait img {
    width: 112px;
    aspect-ratio: 1;
    border-radius: 11px;
  }
  .hero-portrait figcaption {
    margin: 0;
    font-size: 12px;
  }
  .portrait-note {
    font-size: 10px;
    max-width: 150px;
    line-height: 1.5;
  }
  .hero-bottom {
    grid-row: 6;
    gap: 20px;
    margin-top: 5px;
    padding-top: 16px;
    font-size: 9px;
  }
  .hero-bottom > span {
    max-width: 190px;
  }
  .scroll-link {
    gap: 12px;
    white-space: nowrap;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 65px;
    padding-bottom: 70px;
  }
  .about-heading {
    flex-direction: row;
    align-items: start;
    gap: 30px;
  }
  .section-heading h2 {
    font-size: 35px;
    line-height: 1.15;
  }
  .about-photo {
    max-width: 85px;
    margin: 0;
  }
  .about-photo figcaption {
    font-size: 8px;
  }
  .about-copy {
    font-size: 13px;
  }
  .about-copy .about-lead {
    font-size: 17px;
    line-height: 1.65;
  }
  .about-copy p + p {
    margin-top: 16px;
  }
  .directions {
    grid-template-columns: 1fr 1fr;
    gap: 26px 25px;
    padding-top: 25px;
    margin-top: 6px;
  }
  .direction h3 {
    font-size: 12px;
  }
  .direction p {
    font-size: 11px;
    line-height: 1.65;
  }
  .projects {
    padding-top: 0;
    padding-bottom: 65px;
  }
  .section-heading--wide {
    display: block;
    margin-bottom: 29px;
  }
  .section-heading--wide h2 {
    font-size: 35px;
    max-width: 400px;
  }
  .section-heading--wide > p {
    font-size: 12px;
    margin-top: 17px;
  }
  .section-heading--wide > p br {
    display: none;
  }
  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .project--large,
  .project--narrow,
  .project--music,
  .project--release {
    grid-column: auto;
    margin: 0;
  }
  .project-media {
    aspect-ratio: 1.45;
  }
  .project--music .project-media {
    aspect-ratio: 1.5;
  }
  .project--release .project-media {
    aspect-ratio: 1;
    max-height: 440px;
  }
  .project-meta {
    font-size: 9px;
    margin-top: 7px;
    gap: 6px 12px;
  }
  .project h3 {
    font-size: 28px;
    margin-top: 17px;
  }
  .project-description {
    font-size: 13px;
    margin-top: 11px;
  }
  .project-detail {
    font-size: 11px;
  }
  .tags {
    font-size: 9px;
    gap: 4px 11px;
    margin-top: 16px;
  }
  .tags li + li::before {
    margin-right: 11px;
  }
  .video-toggle {
    left: 12px;
    right: auto;
    bottom: 12px;
    padding: 10px 12px;
  }
  .project-video {
    right: 12px;
    bottom: 12px;
    width: 34%;
  }
  .automation-visual {
    aspect-ratio: 1.25;
    padding: 27px 28px 22px;
    max-height: 400px;
  }
  .automation-title {
    font-size: 34px;
  }
  .automation-flow {
    width: 67%;
    align-self: flex-end;
    margin-block: -25px 16px;
  }
  .automation-node {
    font-size: 10px;
    padding: 10px 12px;
  }
  .automation-connector {
    height: 13px;
  }
  .automation-footer {
    font-size: 9px;
  }
  .automation-mark {
    font-size: 31px;
  }
  .concerts-section {
    margin-top: 52px;
  }
  .subsection-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  .concert-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .concert-media {
    height: 260px;
  }
  .concert-caption {
    margin-top: 15px;
    gap: 8px;
  }
  .concert h4 {
    font-size: 23px;
  }
  .concert-caption > span {
    font-size: 9px;
  }
  .concert > p:not(.concert-role) {
    font-size: 12px;
  }
  .side-projects {
    margin-top: 47px;
    padding-top: 27px;
    gap: 24px;
  }
  .side-projects h3 {
    font-size: 25px;
  }
  .side-projects p {
    font-size: 12px;
    line-height: 1.7;
  }
  .side-symbol {
    padding-right: 0;
  }
  .side-symbol svg {
    width: 40px;
    height: 40px;
  }
  .experience {
    display: block;
    padding-top: 62px;
    padding-bottom: 65px;
  }
  .experience > .section-heading h2 br {
    display: none;
  }
  .experience > .section-heading > p {
    font-size: 12px;
    margin-top: 16px;
  }
  .experience-content {
    margin-top: 36px;
  }
  .timeline li {
    grid-template-columns: 118px 1fr;
    gap: 20px;
    padding-bottom: 29px;
  }
  .timeline-period {
    font-size: 9px;
    line-height: 20px;
    padding-left: 15px;
    max-width: 110px;
  }
  .timeline-period::before {
    top: 7px;
  }
  .timeline li:not(:last-child)::before {
    top: 22px;
  }
  .timeline-content h3 {
    font-size: 21px;
  }
  .timeline-role {
    font-size: 11px;
  }
  .timeline-content p {
    font-size: 11px;
    line-height: 1.65;
  }
  .education {
    padding-top: 25px;
    margin-top: 5px;
  }
  .education h3 {
    font-size: 14px;
  }
  .education p {
    font-size: 11px;
  }
  .certification {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 20px;
    margin-top: 27px;
    padding-top: 26px;
  }
  .certification-copy h3 {
    font-size: 22px;
  }
  .certification-action {
    gap: 9px;
  }
  .competencies {
    display: block;
    margin-top: 40px;
    padding-top: 27px;
  }
  .competencies h3 {
    font-size: 22px;
  }
  .competencies dl {
    margin-top: 18px;
  }
  .competencies dl > div {
    grid-template-columns: 65px 1fr;
    gap: 20px;
    font-size: 11px;
  }
  .contact {
    padding-block: 55px 50px;
  }
  .contact h2 {
    font-size: clamp(35px, 6.2vw, 48px);
    line-height: 1.2;
  }
  .contact-bottom {
    display: block;
    margin-top: 27px;
  }
  .contact-bottom > p {
    font-size: 14px;
    line-height: 1.7;
  }
  .contact-actions {
    margin-top: 26px;
    gap: 18px;
  }
  .contact-actions .button {
    min-width: 235px;
  }
  .email-link {
    font-size: 15px;
    gap: 15px;
  }
  .footer {
    flex-wrap: wrap;
    gap: 0 20px;
    min-height: 100px;
    padding-block: 18px;
    font-size: 9px;
  }
  .footer-note {
    order: 3;
    width: 100%;
    font-size: 8px;
  }
  .footer a {
    margin-left: auto;
  }
}
@media (max-width: 380px) {
  .main-nav {
    gap: 12px;
  }
  .header-contact {
    gap: 4px;
  }
  .header-inner {
    gap: 12px;
  }
  .hero {
    gap: 24px 16px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero-role {
    font-size: 24px;
  }
  .hero-connector {
    display: none;
    margin-left: 6px;
    gap: 2px;
  }
  .hero-actions {
    gap: 2px;
  }
  .hero-actions .button {
    gap: 14px;
    padding-inline: 14px;
    font-size: 11px;
  }
  .hero-bottom {
    font-size: 8px;
  }
  .timeline li {
    grid-template-columns: 106px 1fr;
    gap: 18px;
  }
  .timeline-period {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .project:hover .project-media > picture > img,
  .concert:hover .concert-media img,
  .project:hover .automation-node--middle {
    transform: none;
  }
  .hero-role:hover .hero-connector i,
  .hero-role:hover .hero-connector i:nth-child(2n) {
    transform: none;
  }
}

/* PHP edition: light green, photographic foreground and authored motion. */
:root {
  --paper: #f7faf5;
  --ink: #1c2d23;
  --muted: #596b5f;
  --accent: #2e6b4c;
  --accent-light: #e1eee0;
  --line: #d9e3d7;
  --surface: #edf4e7;
  scrollbar-color: #9bb5a0 var(--paper);
}
.hero--v2 {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0 35px;
  padding-top: 28px;
  position: relative;
  isolation: isolate;
}
.hero--v2 .hero-copy {
  display: block;
  padding-top: 65px;
  position: relative;
  z-index: 2;
}
.hero--v2 h1 {
  font-size: clamp(58px, 6.1vw, 92px);
  animation: none;
  line-height: 1.1;
}
.hero-name-word {
  display: inline-block;
  overflow: clip;
  vertical-align: bottom;
}
.hero-char {
  display: inline-block;
}
.hero--v2 .hero-role {
  font-size: clamp(26px, 2.4vw, 36px);
  margin-top: 23px;
  line-height: 1.35;
}
.hero--v2 .hero-description {
  font-size: 16px;
  max-width: 610px;
}
.hero--v2 .hero-portrait {
  display: block;
  min-width: 0;
  padding: 0;
  position: relative;
  margin: 0;
}
.portrait-scene {
  position: relative;
  height: 570px;
  isolation: isolate;
}
.portrait-stage {
  position: absolute;
  inset: 80px 15px 15px 30px;
  background: #dcebd5;
  border-radius: 24px;
  transform: rotate(6deg);
  z-index: -2;
}
.portrait-person {
  position: absolute;
  inset: 0 -38px -2px -30px;
  transform: translate3d(var(--portrait-x, 0px), var(--portrait-y, 0px), 0);
}
.portrait-person > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero--v2 .portrait-person img {
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  object-position: center bottom;
  mask-image: linear-gradient(to bottom, #000 0%, #000 83%, transparent 100%);
}
.portrait-signal {
  position: absolute;
  inset: 0 -45px 0 -65px;
  width: calc(100% + 110px);
  height: 100%;
  overflow: visible;
  z-index: -1;
  color: #64896b;
}
.signal-path {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.signal-path--back {
  stroke: #bfd1b6;
  stroke-width: 22;
}
.signal-path--front {
  stroke-dasharray: 4 9;
  stroke-width: 1.6;
}
.signal-point {
  fill: var(--accent);
}
.portrait-label {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  --label-angle: -7deg;
  --label-depth: 1;
  transform: translate3d(calc(var(--portrait-x, 0px) * var(--label-depth)), calc(var(--portrait-y, 0px) * var(--label-depth)), 0) rotate(var(--label-angle));
}
.portrait-label-float {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 13px;
  font-weight: 600;
  color: #345842;
  background: var(--paper);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 10px 28px #17312212;
  animation: portrait-float var(--label-period, 7s) ease-in-out var(--label-delay, 0s) infinite;
  animation-play-state: var(--portrait-play, paused);
}
.portrait-label-float > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5a8b62;
}
.portrait-label--tech {
  left: -12px;
  top: 33%;
  --label-depth: 1.1;
  --label-delay: -2s;
}
.portrait-label--music {
  right: -4px;
  bottom: 19%;
  --label-angle: 5deg;
  --label-depth: 1.2;
  --label-delay: -4.5s;
  --label-period: 8s;
}
.portrait-label--ai {
  right: 4%;
  top: 11%;
  --label-angle: 9deg;
  --label-depth: -0.9;
  --label-delay: -1.2s;
  --label-period: 7.5s;
}
.portrait-label--events {
  right: -10px;
  top: 43%;
  --label-angle: -6deg;
  --label-depth: 0.75;
  --label-delay: -5.2s;
  --label-period: 8.5s;
}
.portrait-label--digital {
  left: 3%;
  bottom: 10%;
  --label-angle: -5deg;
  --label-depth: 1.35;
  --label-delay: -3.4s;
  --label-period: 9s;
}
.portrait-label--crm {
  left: 3%;
  top: 6%;
  --label-angle: 6deg;
  --label-depth: -0.7;
  --label-delay: -0.5s;
  --label-period: 8s;
}
.portrait-label--code {
  left: -14px;
  top: 62%;
  --label-angle: 5deg;
  --label-depth: -1.1;
  --label-delay: -6s;
  --label-period: 7.8s;
}
.portrait-scene.is-floating {
  --portrait-play: running;
}
@keyframes portrait-float {
  0%, 100% { transform: translate3d(0, 3px, 0) rotate(-0.6deg); }
  50% { transform: translate3d(0, -4px, 0) rotate(0.6deg); }
}
.hero--v2 .hero-portrait figcaption {
  display: block;
  margin: 0 15px 0 24px;
  font-size: 12px;
  position: relative;
}
.hero--v2 .portrait-note {
  display: inline;
  margin: 0 0 0 12px;
  padding: 0;
  font-size: 10px;
}
.hero--v2 .hero-bottom {
  margin-top: 34px;
}
.project--large {
  grid-column: span 7;
}
.project--narrow {
  grid-column: span 5;
  margin-top: 80px;
}
.project-media .media-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}
.media-slide.is-current {
  opacity: 1;
  z-index: 1;
}
.media-slide.is-incoming {
  opacity: 1;
  z-index: 2;
}
.media-slide > picture,
.media-slide img {
  display: block;
  width: 100%;
  height: 100%;
}
.media-slide img {
  object-fit: cover;
}
.project-media--contain .media-slide img {
  object-fit: contain;
}
.project-video {
  z-index: 3;
  width: 27%;
  right: 16px;
  bottom: 16px;
  aspect-ratio: 5/3;
}
.media-toolbar {
  position: absolute;
  z-index: 4;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border-radius: 8px;
  padding: 3px 10px 3px 3px;
  color: var(--ink);
}
.media-play {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 5px;
}
.media-play:hover {
  background: var(--accent-light);
}
.media-pages {
  display: flex;
  align-items: center;
  gap: 3px;
}
.media-pages button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  padding: 0;
}
.media-pages button span {
  width: 17px;
  height: 3px;
  border-radius: 2px;
  background: #b8cdb9;
  transition:
    background 0.3s,
    transform 0.3s;
}
.media-pages button[aria-pressed='true'] span {
  background: var(--accent);
  transform: scaleY(1.5);
}
.media-count {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.concert-media {
  height: auto;
  aspect-ratio: 16/9;
  background: transparent;
  border-radius: var(--radius);
}
.concert-media img {
  object-fit: cover;
  object-position: 50% 35%;
}
.concert:hover .concert-media img {
  transform: scale(1.025);
}
.side-request {
  display: flex;
  align-items: center;
  gap: 25px;
  min-height: 48px;
  color: var(--accent);
  font-size: 13px;
  white-space: nowrap;
}
.workflow {
  border-radius: var(--radius);
  background: #e5efdf;
  color: #274d36;
  padding: 30px 26px 17px;
  overflow: hidden;
}
.workflow-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}
.workflow-title {
  font-size: clamp(31px, 2.8vw, 40px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.035em;
}
.workflow-symbol {
  color: #547e59;
  padding-top: 3px;
}
.flow-stage {
  width: 100%;
  aspect-ratio: 440/360;
  position: relative;
  margin-top: 17px;
}
.flow-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.flow-connections > path {
  stroke: #9ab69c;
  stroke-width: 1.5;
}
.flow-packet {
  fill: #2d6b46;
  opacity: 0;
  transition: opacity 0.25s;
}
.flow-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: #f9fcf6;
  border: 1px solid #b9d0b4;
  border-radius: 9px;
  height: 15%;
  color: #2b5239;
  transition:
    background 0.4s,
    border-color 0.4s,
    box-shadow 0.4s,
    transform 0.6s var(--ease);
}
.flow-node b {
  display: block;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.3;
  font-weight: 600;
  white-space: nowrap;
}
.flow-node small {
  display: block;
  line-height: 1.4;
  font-size: clamp(8px, 0.77vw, 10px);
  color: #5a7860;
  margin-top: 3px;
  white-space: nowrap;
}
.flow-node-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 28px;
  flex-shrink: 0;
}
.flow-node-icon svg {
  width: 18px;
  height: 18px;
}
.flow-node--input {
  left: 5.45%;
  top: 7.78%;
  width: 34.1%;
}
.flow-node--context {
  left: 60.45%;
  top: 7.78%;
  width: 34.1%;
}
.flow-node--agent {
  left: 28.64%;
  top: 38.61%;
  width: 42.72%;
  height: 21.1%;
  background: #2d6546;
  border-color: #2d6546;
  color: #fff;
  gap: 10px;
}
.flow-node--agent small {
  color: #d9ecd4;
}
.flow-agent-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.flow-agent-icon svg {
  width: 23px;
  height: 23px;
}
.flow-agent-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
  height: 18px;
}
.flow-agent-wave i {
  width: 2px;
  height: 5px;
  background: #d2efc5;
  border-radius: 1px;
}
.flow-agent-wave i:nth-child(2n) {
  height: 11px;
}
.flow-agent-wave i:nth-child(3) {
  height: 17px;
}
.flow-node--bot {
  left: 5.45%;
  top: 75.55%;
  width: 38.64%;
  height: 16.1%;
}
.flow-node--api {
  left: 55.91%;
  top: 75.55%;
  width: 38.64%;
  height: 16.1%;
}
.flow-port {
  position: absolute;
  left: calc(50% - 3px);
  bottom: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #649b6d;
}
.flow-result {
  display: grid;
  place-items: center;
  margin-left: auto;
  color: #2e6b4c;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.4s,
    transform 0.6s var(--ease);
}
.workflow-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  color: #54725b;
}
.workflow-state {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #2f573b;
}
.workflow-footer button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #2d5e40;
  background: transparent;
  border-radius: 7px;
}
.workflow-footer button:hover {
  background: #d1e3c9;
}
.workflow.is-running .flow-stage[data-step='1'] .flow-packet--input,
.workflow.is-running .flow-stage[data-step='1'] .flow-packet--context,
.workflow.is-running .flow-stage[data-step='3'] .flow-packet--bot,
.workflow.is-running .flow-stage[data-step='3'] .flow-packet--api {
  opacity: 1;
}
.flow-stage[data-step='1'] .flow-node--input,
.flow-stage[data-step='1'] .flow-node--context,
.flow-stage[data-step='4'] .flow-node--bot,
.flow-stage[data-step='4'] .flow-node--api {
  border-color: #5a9561;
  background: #eff8e8;
  box-shadow: 0 6px 17px #2d65460f;
}
.flow-stage[data-step='2'] .flow-node--agent {
  transform: scale(1.025);
  box-shadow: 0 10px 24px #244f3c20;
}
.workflow.is-running .flow-stage[data-step='2'] .flow-agent-wave i {
  animation: node-wave 0.6s ease-in-out infinite alternate;
}
.workflow.is-running
  .flow-stage[data-step='2']
  .flow-agent-wave
  i:nth-child(2n) {
  animation-delay: -0.35s;
}
.flow-stage[data-step='4'] .flow-result {
  opacity: 1;
  transform: scale(1);
}
.footer {
  min-height: 90px;
}
[data-magnetic] {
  transform: translate3d(var(--magnetic-x, 0px), var(--magnetic-y, 0px), 0);
}
@keyframes node-wave {
  from {
    transform: scaleY(0.35);
  }
  to {
    transform: scaleY(1.1);
  }
}
@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .hero--v2 {
    padding-top: 50px;
    gap: 0 50px;
  }
  .hero--v2 .hero-copy {
    padding-top: 75px;
  }
  .portrait-scene {
    height: 630px;
  }
  .hero--v2 h1 {
    font-size: 96px;
  }
  .hero--v2 .hero-role {
    font-size: 38px;
  }
  .hero--v2 .hero-description {
    font-size: 17px;
  }
}
@media (max-width: 1100px) {
  .hero--v2 {
    gap: 0 20px;
    padding-top: 30px;
  }
  .hero--v2 .hero-copy {
    padding-top: 42px;
  }
  .hero--v2 h1 {
    font-size: clamp(48px, 6.2vw, 68px);
  }
  .hero--v2 .hero-role {
    font-size: 27px;
  }
  .hero--v2 .hero-description {
    font-size: 14px;
  }
  .portrait-scene {
    height: 500px;
  }
  .portrait-signal {
    right: -25px;
    width: calc(100% + 90px);
  }
  .portrait-person {
    inset: 0 -25px 0 -25px;
  }
  .portrait-stage {
    inset: 70px 5px 10px 15px;
  }
  .portrait-label--tech,
  .portrait-label--code { left: 0; }
  .portrait-label--events,
  .portrait-label--music { right: 0; }
  .hero--v2 .portrait-note {
    display: block;
    margin: 5px 0 0 14px;
  }
  .workflow {
    padding: 25px 18px 15px;
  }
  .flow-node {
    padding: 7px;
    gap: 5px;
  }
  .flow-node-icon {
    width: 20px;
  }
  .flow-agent-icon svg {
    width: 19px;
    height: 19px;
  }
  .flow-node--agent {
    gap: 7px;
  }
  .flow-agent-wave {
    gap: 1px;
  }
  .flow-node b {
    font-size: 10px;
  }
  .flow-node small {
    font-size: 8px;
  }
}
@media (min-width: 768px) and (max-width: 1000px) {
  .project--large,
  .project--narrow {
    grid-column: 1/-1;
    margin-top: 0;
  }
  .workflow {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    column-gap: 28px;
    padding: 30px;
  }
  .workflow-header {
    grid-column: 1;
    grid-row: 1;
  }
  .flow-stage {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
  }
  .workflow-footer {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }
  .workflow-title {
    font-size: 36px;
  }
  .project--narrow h3 {
    margin-top: 24px;
  }
  .flow-node b {
    font-size: 12px;
  }
  .flow-node small {
    font-size: 9px;
  }
}
@media (max-width: 767px) {
  .hero--v2 {
    display: flex;
    flex-direction: column;
    padding-top: 38px;
    gap: 0;
  }
  .hero--v2 .hero-copy {
    display: block;
    padding: 0;
  }
  .hero--v2 h1 {
    font-size: clamp(42px, 8.8vw, 60px);
    line-height: 1.13;
  }
  .hero--v2 .hero-role {
    font-size: clamp(23px, 4.9vw, 30px);
    margin-top: 22px;
  }
  .hero--v2 .hero-description {
    font-size: 14px;
    margin-top: 23px;
  }
  .hero--v2 .hero-actions {
    display: flex;
    margin-top: 25px;
    gap: 8px;
  }
  .hero--v2 .hero-portrait {
    width: 100%;
    margin-top: 24px;
  }
  .portrait-scene {
    height: 430px;
    max-width: 470px;
    margin-inline: auto;
  }
  .portrait-person {
    inset: 0 -15px 0 -15px;
  }
  .portrait-stage {
    inset: 65px 20px 12px 25px;
    transform: rotate(5deg);
    border-radius: 18px;
  }
  .portrait-signal {
    inset: 0 -15px;
    width: calc(100% + 30px);
  }
  .portrait-label-float {
    font-size: 11px;
    padding: 9px 12px;
    gap: 9px;
  }
  .portrait-label--tech {
    top: 33%;
    left: 0;
  }
  .portrait-label--music {
    right: 0;
    bottom: 23%;
  }
  .portrait-label--ai {
    right: 1%;
  }
  .portrait-label--digital {
    left: 8%;
    bottom: 7%;
  }
  .portrait-label--crm {
    left: 1%;
    top: 5%;
  }
  .hero--v2 .hero-portrait figcaption {
    font-size: 11px;
    margin: 0 15px;
  }
  .hero--v2 .portrait-note {
    display: inline;
    margin: 0 0 0 8px;
    font-size: 9px;
  }
  .hero--v2 .hero-bottom {
    margin-top: 25px;
    padding-top: 15px;
  }
  .project--large,
  .project--narrow {
    grid-column: auto;
    margin: 0;
  }
  .workflow {
    padding: 25px 19px 14px;
  }
  .workflow-title {
    font-size: 34px;
  }
  .flow-stage {
    margin-top: 16px;
  }
  .flow-node b {
    font-size: 12px;
  }
  .flow-node small {
    font-size: 10px;
  }
  .flow-node {
    padding: 6px;
    gap: 6px;
    border-radius: 7px;
  }
  .flow-node-icon {
    width: 17px;
  }
  .flow-node-icon svg {
    width: 17px;
    height: 17px;
  }
  .flow-node--agent {
    gap: 7px;
    left: 21%;
    width: 58%;
  }
  .flow-node--input,
  .flow-node--context {
    top: 1.78%;
    height: 21%;
    width: 45%;
  }
  .flow-node--input {
    left: 0;
  }
  .flow-node--context {
    left: 55%;
  }
  .flow-node--bot,
  .flow-node--api {
    height: 21%;
    width: 49%;
  }
  .flow-node--bot {
    left: 0.27%;
  }
  .flow-node--api {
    left: 50.73%;
  }
  .flow-result {
    position: absolute;
    right: 3px;
    top: -5px;
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 50%;
    background: #eff8e8;
  }
  .flow-agent-wave {
    gap: 1px;
  }
  .flow-agent-icon svg {
    width: 19px;
    height: 19px;
  }
  .workflow-footer {
    font-size: 9px;
  }
  .workflow-state {
    font-size: 9px;
  }
  .project-video {
    width: 27%;
    right: 12px;
    bottom: 12px;
  }
  .media-toolbar {
    left: 10px;
    bottom: 10px;
    gap: 0;
    padding: 2px;
  }
  .media-play {
    width: 44px;
    height: 44px;
  }
  .media-pages {
    gap: 0;
  }
  .media-pages button {
    width: 44px;
    height: 44px;
  }
  .media-pages button span {
    width: 18px;
  }
  .media-count {
    display: none;
  }
  .concert-media {
    height: auto;
    aspect-ratio: 16/9;
  }
  .side-projects {
    align-items: start;
  }
  .side-request {
    font-size: 11px;
    gap: 12px;
  }
  .footer {
    min-height: 80px;
    flex-wrap: nowrap;
  }
  .footer a {
    margin-left: auto;
  }
  .contact-actions .button {
    min-width: 235px;
  }
}
@media (max-width: 380px) {
  .portrait-scene {
    height: 390px;
  }
  .hero--v2 .hero-role {
    font-size: 23px;
  }
  .hero--v2 .portrait-note {
    display: block;
    margin: 4px 0 0 14px;
  }
  .flow-node-icon {
    width: 17px;
  }
  .flow-node--agent {
    gap: 6px;
  }
  .workflow {
    padding-inline: 15px;
  }
  .side-request {
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portrait-person,
  .portrait-label,
  [data-magnetic] {
    transform: none !important;
  }
  .flow-node,
  .flow-result {
    transition: none;
  }
  .flow-agent-wave i {
    animation: none !important;
  }
  .signal-point {
    display: none;
  }
  .portrait-label-float {
    animation: none;
  }
  .portrait-stage {
    transform: rotate(5deg);
  }
}
