:root {
  --ink: #101820;
  --ink-soft: #4d5d6c;
  --paper: #f5f7fa;
  --paper-2: #ffffff;
  --accent: #0d9aa3;
  --accent-bright: #2ec4ce;
  --accent-soft: rgba(13, 154, 163, 0.12);
  --line: rgba(16, 24, 32, 0.09);
  --line-strong: rgba(16, 24, 32, 0.14);
  --hero-text: #f4f7fa;
  --shadow: 0 20px 50px rgba(8, 14, 22, 0.28);
  --font-display: "Syne", Georgia, sans-serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 70rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--ink);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.85rem;
  z-index: 100;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 0.85rem 1.1rem;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
  color: var(--hero-text);
}

.site-header.is-scrolled {
  background: rgba(10, 14, 20, 0.88);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
  line-height: 0;
}

.nav-brand img {
  width: 2.15rem;
  height: 2.15rem;
}

.nav-brand:hover {
  transform: scale(1.05);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.4rem);
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  opacity: 0.9;
}

.nav-links a i {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-weight: 700;
}

.nav-links a:hover {
  opacity: 1;
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--hero-text);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #0a0e14;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transform: scale(1.04);
  animation: hero-drift 24s var(--ease) infinite alternate;
  filter: saturate(0.85) contrast(1.05);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 12, 18, 0.94) 0%, rgba(8, 12, 18, 0.72) 46%, rgba(8, 12, 18, 0.45) 100%),
    linear-gradient(0deg, rgba(8, 12, 18, 0.78) 0%, transparent 48%);
}

.hero-glow {
  position: absolute;
  width: 36vw;
  height: 36vw;
  right: -4%;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 206, 0.22), transparent 70%);
  filter: blur(12px);
  animation: pulse-glow 9s ease-in-out infinite alternate;
}

.hero-frame {
  position: relative;
  z-index: 2;
  width: min(100% - 2.2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 1.5rem) 0 4.25rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.25rem, 3.5vw, 2.75rem);
  align-items: end;
}

.hero-content {
  max-width: 34rem;
}

.hero-kicker {
  margin: 0 0 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 247, 250, 0.78);
}

.hero-kicker-line {
  width: 1.6rem;
  height: 2px;
  background: var(--accent-bright);
}

.hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5.5vw, 3.85rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.hero-name-line {
  display: block;
  overflow: hidden;
}

.hero-name-line[data-reveal] {
  opacity: 0;
  transform: translateY(0.9em);
  animation: name-rise 0.9s var(--ease) forwards;
}

.hero-name-line:nth-child(2) {
  animation-delay: 0.1s;
  color: var(--accent-bright);
}

.hero-lead,
.hero-actions,
.hero-portrait {
  opacity: 0;
  transform: translateY(1rem);
  animation: rise 0.85s var(--ease) forwards;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(244, 247, 250, 0.82);
  animation-delay: 0.22s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.35rem;
  animation-delay: 0.32s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.68rem 1rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn svg {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  color: inherit;
}

.btn-primary {
  background: var(--accent-bright);
  color: var(--ink);
}

.btn-primary:hover {
  background: #5fd7df;
  color: var(--ink);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  border-color: rgba(244, 247, 250, 0.35);
  color: var(--hero-text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.hero-portrait {
  justify-self: end;
  width: min(100%, 20rem);
  animation-delay: 0.28s;
}

.hero-portrait-clip {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-portrait-clip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 12, 18, 0.35));
  pointer-events: none;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.94) contrast(1.04);
  transition: transform 1s var(--ease);
}

.hero-portrait:hover img {
  transform: scale(1.04);
}

.hero-portrait-caption {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(244, 247, 250, 0.92);
  text-align: right;
  font-weight: 600;
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  left: max(1.1rem, calc((100% - var(--max)) / 2));
  bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(244, 247, 250, 0.7);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll:hover {
  color: #fff;
}

.hero-scroll-bar {
  width: 1px;
  height: 1.8rem;
  background: linear-gradient(180deg, var(--accent-bright), transparent);
  animation: scroll-pulse 1.8s ease-in-out infinite;
}

.section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1.1rem, 4vw, 1.75rem);
  position: relative;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: start;
  margin-bottom: clamp(1.4rem, 3.5vw, 2.2rem);
}

.section-index {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
  opacity: 0.55;
  user-select: none;
}

.section-head-light .section-index {
  color: var(--accent-bright);
  opacity: 0.7;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-lead {
  margin: 0.45rem 0 0;
  max-width: 32rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.reveal-section {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: none;
}

.about {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.about-copy {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: 36rem;
  color: var(--ink);
}

.focus-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line-strong);
}

.focus-item {
  padding: 1rem 0.85rem 1rem 0;
  border-bottom: 1px solid var(--line);
}

.focus-item + .focus-item {
  padding-left: 0.85rem;
  border-left: 1px solid var(--line);
}

.focus-item img {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.55rem;
}

.focus-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.focus-item p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.about-visual {
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 4 / 3;
  background: var(--ink);
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 1s var(--ease), opacity 0.4s var(--ease);
}

.about-visual:hover img {
  transform: scale(1.03);
  opacity: 1;
}

.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-strong);
}

.about-facts li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.fact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.career {
  background:
    linear-gradient(180deg, #eef3f7 0%, var(--paper) 100%);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 11.75rem 1fr;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  align-items: start;
  padding: 1.15rem 1.15rem 1.15rem 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.timeline-item.is-visible {
  opacity: 1;
  transform: none;
}

.timeline-item:hover {
  border-left-color: var(--ink);
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.06);
}

.timeline-when {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.15rem 0 0 1rem;
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--ink);
  background: var(--accent-bright);
  padding: 0.48rem 0.7rem;
  white-space: nowrap;
  border: 1px solid rgba(16, 24, 32, 0.08);
}

.timeline-year-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  padding-left: 0.1rem;
}

.timeline-body {
  min-width: 0;
  padding-right: 0.5rem;
}

.timeline-role {
  display: inline-block;
  margin-bottom: 0.3rem;
  padding: 0.18rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--accent-soft);
}

.timeline-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.timeline-item p {
  margin: 0.4rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.contact {
  position: relative;
  color: var(--hero-text);
  overflow: hidden;
}

.contact-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}

.contact-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(8, 12, 18, 0.9), rgba(10, 28, 34, 0.8));
}

.contact-inner {
  position: relative;
  z-index: 1;
}

.contact .section-lead {
  color: rgba(244, 247, 250, 0.78);
}

.contact-mail {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--hero-text);
  text-decoration: none;
  line-height: 1.2;
}

.contact-mail span {
  background-image: linear-gradient(var(--accent-bright), var(--accent-bright));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.4s var(--ease);
}

.contact-mail:hover {
  color: #fff;
}

.contact-mail:hover span {
  background-size: 100% 2px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.35rem;
}

.contact-links a {
  color: rgba(244, 247, 250, 0.8);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(244, 247, 250, 0.25);
  padding-bottom: 0.12rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-links a:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent-bright);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 1.1rem clamp(1.1rem, 4vw, 1.75rem) 1.4rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-brand img {
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: inherit;
}

.footer-top {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer-top:hover {
  color: var(--accent);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes name-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes pulse-glow {
  from {
    opacity: 0.45;
    transform: scale(1);
  }
  to {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.85;
  }
  50% {
    transform: scaleY(0.55);
    opacity: 0.35;
  }
}

@media (max-width: 960px) {
  .hero-frame {
    grid-template-columns: 1fr;
    padding-bottom: 3.5rem;
  }

  .hero-portrait {
    justify-self: start;
    width: min(100%, 17rem);
    order: -1;
  }

  .hero-portrait-caption {
    text-align: left;
  }

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

  .focus-row {
    grid-template-columns: 1fr;
  }

  .focus-item + .focus-item {
    padding-left: 0;
    border-left: 0;
  }

  .timeline-item {
    grid-template-columns: 9.5rem 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links a i {
    display: none;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 1rem;
  }

  .timeline-when {
    padding-left: 0;
  }

  .timeline-year {
    font-size: 0.95rem;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    flex: 1 1 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg,
  .hero-glow,
  .hero-scroll-bar,
  .hero-name-line,
  .hero-lead,
  .hero-actions,
  .hero-portrait,
  .reveal-section,
  .timeline-item {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
