@font-face {
  font-family: "PT Root UI";
  src: url("./assets/fonts/pt-root-ui-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PT Root UI";
  src: url("./assets/fonts/pt-root-ui-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PT Root UI";
  src: url("./assets/fonts/pt-root-ui-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PT Root UI";
  src: url("./assets/fonts/pt-root-ui-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #f05408;
  --accent-hover: #d94304;
  --accent-soft: #fff0e8;
  --text: #050505;
  --muted: #a8a8a8;
  --line: #eeeeee;
  --card: #f8f8f8;
  --green: #19c401;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PT Root UI", Arial, Helvetica, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: var(--text);
  background: #fff;
  font-size: 17px;
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 18px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 68px;
  padding: 17px 20px 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand-avatar {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.05;
}

.brand-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.brand-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a,
.header-link {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.header-link:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  justify-self: end;
  border: 0;
  border-radius: 30px;
  padding: 13px 18px;
  color: var(--accent);
  background: var(--accent-soft);
  font: inherit;
}

.mobile-panel {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 29px;
  border: 0;
  border-radius: 30px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-hover);
}

.button-secondary {
  color: var(--accent);
  background: var(--accent-soft);
}

.button-secondary:hover {
  color: #fff;
  background: var(--accent);
}

.button-small {
  min-height: 34px;
  padding: 0 18px;
  font-size: 16px;
}

.hero {
  max-width: 720px;
  margin: 56px auto 78px;
  padding: 0 20px;
  text-align: center;
}

.hero-photo {
  position: relative;
  display: block;
  overflow: hidden;
  width: 220px;
  height: 220px;
  margin: 0 auto 48px;
  border-radius: 24px;
  background: #f2f2f2;
  transform: rotate(-6deg);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.04);
}

.hero-photo img,
.hero-photo video,
.hero-video-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: rotate(6deg) scale(1.08);
}

.hero-video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.hero-video-canvas {
  background: #f2f2f2;
}

.hero-hello {
  margin: 0 0 14px;
  color: #adadad;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.05;
}

.hero-title {
  margin: 0;
  font-size: 49px;
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-text {
  max-width: 590px;
  margin: 25px auto 46px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.intro-card {
  max-width: var(--max);
  margin: 0 auto 58px;
  padding: 39px 39px 42px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: none;
}

.intro-card h2,
.resume-section h2,
.split-section h2,
.education-section h2,
.simple-section h2,
.stack-section h2,
.about-section h2 {
  margin: 0 0 22px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
}

.intro-card p {
  max-width: 650px;
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.portfolio-list {
  max-width: 1360px;
  margin: 0 auto 86px;
  padding: 0 40px;
}

.case {
  margin-bottom: 54px;
}

.case-meta {
  display: flex;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto 17px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.case-meta a {
  color: var(--accent);
}

.case h3 {
  max-width: var(--max);
  margin: 0 auto 38px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
}

.case-visual {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: 30px;
  background: #070611;
}

.skillbox-preview {
  padding: 64px 12% 0;
  background:
    radial-gradient(circle at 49% 58%, rgba(255, 255, 255, 0.38), transparent 0 8%, transparent 10%),
    radial-gradient(circle at 62% 42%, rgba(240, 84, 8, 0.56), transparent 0 12%, transparent 26%),
    linear-gradient(145deg, #070201, #3b0d04 58%, #0b0302);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 15px;
  border-radius: 14px 14px 0 0;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff8d61;
}

.browser-bar span:nth-child(2) {
  background: #ffd15e;
}

.browser-bar span:nth-child(3) {
  background: #6ade7b;
}

.browser-bar b {
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  min-height: 360px;
  padding: 22px;
  border-radius: 0 0 18px 18px;
  background: rgba(0, 0, 0, 0.58);
}

.preview-grid div {
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(240, 84, 8, 0.2));
}

.preview-grid div:first-child {
  grid-row: span 2;
}

.airo-preview {
  min-height: 430px;
  background: linear-gradient(135deg, #fff0e8, #fff 54%, #ffe1d2);
}

.device-card {
  position: absolute;
  left: 14%;
  top: 66px;
  width: 48%;
  height: 285px;
  border-radius: 26px;
  background: linear-gradient(180deg, #fff, #fff4ee);
  box-shadow: 0 24px 65px rgba(240, 84, 8, 0.18);
}

.device-card::before,
.device-card::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  height: 22px;
  border-radius: 16px;
  background: #dbe8ff;
}

.device-card::before {
  top: 38px;
}

.device-card::after {
  top: 86px;
  width: 45%;
}

.device-card.small {
  left: auto;
  right: 14%;
  top: 126px;
  width: 26%;
  height: 240px;
  background: #111827;
}

.gb-preview {
  min-height: 430px;
  background: radial-gradient(circle at 40% 50%, #f1f5ff, #dce9ff 45%, #2a50ad);
}

.orbit {
  position: absolute;
  left: 16%;
  top: 70px;
  width: 310px;
  height: 310px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.panel-stack {
  position: absolute;
  right: 13%;
  top: 66px;
  width: 38%;
  height: 310px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 26px 75px rgba(0, 0, 0, 0.18);
}

.resume-section,
.split-section,
.education-section,
.simple-section,
.stack-section,
.about-section {
  max-width: var(--max);
  margin: 0 auto 82px;
  padding: 39px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: none;
}

.lead {
  margin: 0 0 34px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.timeline {
  display: grid;
  gap: 34px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.timeline-date {
  color: #888;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.28;
}

.timeline-date span {
  color: #a9a9a9;
}

.timeline-content h3 {
  margin: 0 0 3px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
}

.muted {
  margin: 0 0 16px;
  color: #aaa;
  font-size: 20px;
  font-weight: 500;
}

.timeline-content p:last-child {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.42;
}

.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}

.columns h3 {
  margin: 0 0 17px;
  font-size: 24px;
  font-weight: 500;
}

ul {
  display: grid;
  gap: 15px;
  margin: 0;
  padding-left: 20px;
}

li {
  padding-left: 3px;
  font-weight: 500;
}

.education-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.education-row span {
  color: #aaa;
  font-weight: 500;
}

.education-row p {
  margin: 0;
  font-weight: 500;
}

.language-list p {
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 24px;
  font-weight: 500;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.stack-list span {
  padding: 9px 15px;
  border-radius: 30px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
}

.about-grid {
  max-width: 650px;
}

.about-grid p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 60px;
}

.footer-contact {
  margin-top: 24px;
  padding: 42px 40px 40px;
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
}

.footer-contact h2 {
  margin: 0 0 19px;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
}

.footer-contact p {
  margin: 8px 0;
  font-size: 20px;
  font-weight: 500;
}

.footer-contact a {
  color: #fff;
}

.footer-contact .button {
  margin-top: 29px;
  color: var(--accent);
  background: #fff;
}

.footer-contact .button:hover {
  color: var(--accent);
  background: var(--accent-soft);
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 26px;
  color: #aaa;
  font-size: 16px;
  font-weight: 500;
}

.footer-bottom a {
  color: #aaa;
}

.admin-link {
  padding: 0;
  border: 0;
  color: #aaa;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.admin-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.admin-login {
  position: relative;
  width: min(100%, 420px);
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
}

.admin-login h2 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.1;
}

.admin-login p {
  margin: 0 0 22px;
  color: #666;
  font-size: 16px;
}

.admin-login label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.admin-login input {
  width: 100%;
  min-height: 48px;
  margin-bottom: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: 16px;
  background: var(--card);
  font: inherit;
  outline: none;
}

.admin-login input:focus {
  box-shadow: 0 0 0 2px var(--accent-soft), 0 0 0 4px rgba(240, 84, 8, 0.16);
}

.admin-error {
  min-height: 19px;
  color: var(--accent) !important;
  font-size: 14px !important;
}

.admin-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: #777;
  font: inherit;
  cursor: pointer;
}

.admin-panel {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 14px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
}

.admin-panel[hidden] {
  display: none;
}

.admin-panel button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.cms-editable {
  cursor: text;
  outline: 0;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: normal;
}

.cms-editable:hover {
  box-shadow: 0 0 0 5px rgba(240, 84, 8, 0.08);
}

.cms-editable:focus {
  border-radius: 8px;
  background: rgba(255, 240, 232, 0.75);
  box-shadow: 0 0 0 5px rgba(240, 84, 8, 0.12);
}

.cms-saved {
  animation: cmsSaved 0.55s ease;
}

@keyframes cmsSaved {
  0% {
    box-shadow: 0 0 0 6px rgba(240, 84, 8, 0.18);
  }
  100% {
    box-shadow: none;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-panel {
    position: fixed;
    top: 68px;
    left: 20px;
    right: 20px;
    z-index: 19;
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

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

  .mobile-panel a {
    padding: 13px 12px;
    border-radius: 16px;
  }

  .mobile-panel a:hover {
    background: var(--accent-soft);
    color: var(--accent);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    line-height: 1.45;
  }

  .site-header {
    min-height: 66px;
    padding: 16px 20px 10px;
  }

  .brand-avatar {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-status {
    font-size: 11px;
  }

  .menu-toggle {
    min-height: 44px;
    padding: 0 24px;
    font-size: 16px;
  }

  .hero {
    margin: 34px auto 58px;
    padding: 0 20px;
  }

  .hero-photo {
    width: 172px;
    height: 172px;
    margin: 0 auto 38px;
    border-radius: 24px;
  }

  .hero-photo img {
    object-position: center;
  }

  .hero-hello {
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.15;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.08;
  }

  .hero-text {
    margin: 22px auto 36px;
    font-size: 16px;
    line-height: 1.48;
  }

  .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .button {
    min-height: 48px;
    padding: 0 27px;
    font-size: 16px;
  }

  .button-secondary {
    background: rgba(255, 240, 232, 0.72);
  }

  .hero-actions .button {
    min-height: 48px;
    padding: 0 16px;
    font-size: 14px;
    white-space: nowrap;
  }

  .intro-card {
    margin: 0 20px 48px;
    padding: 34px 22px 37px;
    border-radius: 26px;
  }

  .intro-card h2,
  .resume-section h2,
  .split-section h2,
  .education-section h2,
  .simple-section h2,
  .stack-section h2,
  .about-section h2,
  .footer-contact h2 {
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.12;
  }

  .intro-card p,
  .lead,
  .about-grid p,
  .footer-contact p {
    font-size: 17px;
    line-height: 1.42;
  }

  .portfolio-list {
    margin-bottom: 58px;
    padding: 0 20px;
  }

  .case {
    margin-bottom: 42px;
  }

  .case-meta {
    display: grid;
    gap: 4px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.3;
  }

  .case h3 {
    margin-bottom: 25px;
    font-size: 26px;
    line-height: 1.2;
  }

  .case-visual,
  .airo-preview,
  .gb-preview {
    min-height: 310px;
    border-radius: 24px;
  }

  .skillbox-preview {
    padding: 34px 22px 0;
  }

  .preview-grid {
    min-height: 220px;
  }

  .device-card {
    left: 9%;
    width: 58%;
    height: 210px;
  }

  .device-card.small {
    right: 9%;
    width: 35%;
    height: 180px;
  }

  .orbit {
    left: 8%;
    width: 210px;
    height: 210px;
  }

  .panel-stack {
    right: 8%;
    width: 54%;
    height: 210px;
  }

  .resume-section,
  .split-section,
  .education-section,
  .simple-section,
  .stack-section,
  .about-section {
    margin: 0 20px 56px;
    padding: 34px 22px 37px;
    border-radius: 26px;
  }

  .timeline {
    gap: 28px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 13px;
    padding-top: 25px;
  }

  .timeline-date {
    font-size: 15px;
    line-height: 1.32;
  }

  .timeline-content h3 {
    margin-bottom: 6px;
    font-size: 24px;
    line-height: 1.16;
  }

  .muted {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.35;
  }

  .timeline-content p:last-child {
    font-size: 16px;
    line-height: 1.45;
  }

  .columns h3 {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.2;
  }

  ul {
    gap: 12px;
  }

  li {
    font-size: 16px;
    line-height: 1.45;
  }

  .education-row span {
    font-size: 14px;
  }

  .education-row p,
  .language-list p {
    font-size: 17px;
    line-height: 1.42;
  }

  .stack-list span {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 14px;
  }

  .columns,
  .about-grid,
  .education-row {
    grid-template-columns: 1fr;
  }

  .about-grid p {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
  }
}

/* == Hero motion 2026-06-23 (v3): JS-gated reveal (content always visible without JS) == */
.hero { position: relative; isolation: isolate; }

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 4px;
  width: min(580px, 94vw);
  aspect-ratio: 1 / 1;
  transform: translate(calc(-50% + var(--aura-x, 0px)), var(--aura-y, 0px)) scale(var(--aura-s, 1));
  transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 0.68, 0.2, 1);
  background:
    radial-gradient(closest-side, rgba(240, 84, 8, 0.18), rgba(240, 84, 8, 0) 72%),
    radial-gradient(closest-side, rgba(120, 138, 255, 0.09), rgba(120, 138, 255, 0) 70%);
  background-repeat: no-repeat;
  background-position: 44% 34%, 58% 64%;
  filter: blur(6px);
  pointer-events: none;
  opacity: var(--aura-o, 0);
}
@keyframes heroAuraGlow { from { opacity: 0.78; } to { opacity: 1; } }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.js .hero-hello   { animation: heroUp 0.9s cubic-bezier(0.22, 0.68, 0.2, 1) 0.22s both; }
.js .hero-text    { animation: heroUp 0.9s cubic-bezier(0.22, 0.68, 0.2, 1) 0.48s both; }
.js .hero-actions { animation: heroUp 0.9s cubic-bezier(0.22, 0.68, 0.2, 1) 0.62s both; }

@keyframes heroUpPhoto {
  from { opacity: 0; transform: rotate(-6deg) translateY(22px) scale(0.94); filter: blur(8px); }
  to   { opacity: 1; transform: rotate(-6deg) translateY(0)    scale(1);    filter: blur(0); }
}
.hero-photo { will-change: transform; }
.js .hero-photo { animation: heroUpPhoto 1s cubic-bezier(0.22, 0.68, 0.2, 1) 0.05s both; }
.hero-photo.is-tilt {
  animation: none;
  transition: transform 0.18s ease-out;
  transform:
    rotate(-6deg)
    perspective(720px)
    rotateX(var(--tiltX, 0deg))
    rotateY(var(--tiltY, 0deg))
    translate3d(var(--mx, 0px), var(--my, 0px), 0);
}

.js .hero-title {
  background: linear-gradient(
    100deg,
    var(--text) 0%, var(--text) 38%,
    var(--accent) 50%,
    var(--text) 62%, var(--text) 100%
  );
  background-size: 230% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation:
    heroUp 0.9s cubic-bezier(0.22, 0.68, 0.2, 1) 0.34s both,
    titleSheen 7s ease-in-out 1.3s infinite;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
@keyframes titleSheen {
  0%   { background-position: 120% 0; }
  55%  { background-position: -25% 0; }
  100% { background-position: -25% 0; }
}

.brand-status span { animation: statusPulse 2.6s ease-in-out infinite; }
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(25, 196, 1, 0.5); }
  70%      { box-shadow: 0 0 0 7px rgba(25, 196, 1, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero-photo,
  .js .hero-photo,
  .hero-photo.is-tilt,
  .js .hero-hello,
  .js .hero-title,
  .js .hero-text,
  .js .hero-actions,
  .brand-status span { animation: none; transition: none; }
  .js .hero-title { -webkit-text-fill-color: var(--text); color: var(--text); }
}
