@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");
:root {
  --bg: #10120f;
  --surface: #171a15;
  --text: #f3f1e8;
  --muted: #9b9d93;
  --line: #30352d;
  --accent: #b8ff3c;
  --warm: #ff7657;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
:root.light {
  --bg: #f4f4ee;
  --surface: #e8e9df;
  --text: #151710;
  --muted: #62675b;
  --line: #cdd0c3;
  --accent: #447b00;
  --warm: #d74b32;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
  transition:
    background 0.3s,
    color 0.3s;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(var(--text) 0.5px, transparent 0.5px);
  background-size: 7px 7px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
.section-shell {
  max-width: var(--max);
  margin: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px max(32px, calc((100vw - var(--max)) / 2));
  transition:
    background 0.3s,
    padding 0.3s;
}
.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font:
    700 1.35rem/1 "Space Grotesk",
    sans-serif;
}
.brand span,
.eyebrow,
.section-heading span,
.project-info p,
.timeline-date,
.art-label,
.art-index {
  color: var(--accent);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.85rem;
}
.site-nav a:not(.nav-contact) {
  color: var(--muted);
  position: relative;
}
.site-nav a:not(.nav-contact):after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.site-nav a:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-contact {
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
}
.theme-toggle,
.nav-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}
.theme-toggle {
  color: var(--accent);
  font-size: 1.2rem;
}
.nav-toggle {
  display: none;
}
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 5vw;
  padding-top: 130px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-weight: 700;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 15%, transparent);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}
h1 {
  max-width: 800px;
  margin: 24px 0;
  font-size: clamp(3.6rem, 8vw, 7.6rem);
  letter-spacing: -0.055em;
}
h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero-lede {
  max-width: 530px;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s;
}
.button:hover {
  transform: translateY(-3px);
}
.button-primary {
  color: #11140c;
  background: var(--accent);
  border-color: var(--accent);
}
.button-ghost {
  background: transparent;
}
.button-ghost:hover {
  background: var(--surface);
}
.hero-note {
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-note strong {
  color: var(--text);
}
.cv-download {
  position: relative;
}
.cv-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 15px 40px #0005;
  animation: menu-in 0.2s var(--ease);
}
.cv-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 0.84rem;
}
.cv-menu a:hover {
  background: var(--accent);
  color: #11140c;
}
.cv-menu-footer {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
}
.hero-art {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}
.art-frame {
  width: min(100%, 410px);
  aspect-ratio: 0.78;
  overflow: hidden;
  background: #050505;
  border: 1px solid var(--line);
  transform: rotate(3deg);
}
.art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  filter: saturate(0.85);
  transition: transform 0.7s var(--ease);
}
.hero-art:hover img {
  transform: scale(1.04);
}
.art-label,
.art-index {
  position: absolute;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.art-label {
  top: 15%;
  left: 0;
  writing-mode: vertical-rl;
}
.art-index {
  right: 0;
  bottom: 15%;
}
.scroll-cue {
  position: absolute;
  bottom: 35px;
  left: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.scroll-cue span {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}
.section-rule {
  border-top: 1px solid var(--line);
}
.section-rule,
.skills,
.education {
  padding-top: 110px;
  padding-bottom: 110px;
}
.section-heading {
  display: flex;
  gap: 28px;
  align-items: baseline;
  margin-bottom: 60px;
}
.section-heading span {
  font:
    500 0.78rem "Space Grotesk",
    sans-serif;
  letter-spacing: 0.08em;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
}
.intro {
  padding-top: 100px;
  padding-bottom: 100px;
}
.intro-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10vw;
}
.statement {
  max-width: 590px;
  font:
    500 clamp(1.8rem, 3.4vw, 3.2rem)/1.1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.035em;
}
.body-copy {
  color: var(--muted);
  max-width: 470px;
}
.body-copy p + p {
  margin-top: 20px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 0;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric strong {
  font:
    500 3.6rem/1 "Space Grotesk",
    sans-serif;
  color: var(--accent);
}
.metric span {
  color: var(--muted);
  font-size: 0.82rem;
}
.metric small {
  color: var(--warm);
  font-size: 0.68rem;
}
.timeline {
  border-top: 1px solid var(--line);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 2fr 40px;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 0.3s,
    background 0.3s;
}
.timeline-item:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: var(--surface);
}
.timeline-date {
  font:
    0.8rem "Space Grotesk",
    sans-serif;
}
.timeline-item h3 {
  margin-bottom: 9px;
  font-size: 1.35rem;
}
.timeline-item p {
  margin: 0;
  color: var(--muted);
}
.timeline-areas p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  opacity: 0.75;
}
.timeline-details {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.timeline-details h4 {
  margin: 0 0 10px;
  color: var(--text);
  font:
    600 0.78rem "Space Grotesk",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.timeline-details ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}
.timeline-details li + li {
  margin-top: 7px;
}
.timeline-projects {
  margin-top: 16px !important;
  font-size: 0.85rem;
}
.timeline-projects strong {
  color: var(--text);
}
.timeline-mark {
  color: var(--muted);
  font:
    0.75rem "Space Grotesk",
    sans-serif;
  text-align: right;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--line);
}
.skill-group {
  min-height: 165px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.skill-group h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.skill-group p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.project-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
}
.project-visual:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, #ffffff12);
}
.project-visual span {
  position: relative;
  z-index: 1;
  font:
    600 7rem/1 "Space Grotesk",
    sans-serif;
  letter-spacing: -0.1em;
}
.project-visual small {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff9;
}
.visual-eytlyr {
  background: #e65e3d;
  color: #19100d;
}
.visual-aether {
  background: #5b6c57;
  color: #d7ff91;
}
.visual-restaurant {
  background: #d6c7aa;
  color: #2f3526;
}
.project-info {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
}
.project-info h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.project-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.project-arrow {
  color: var(--accent);
  font-size: 1.4rem;
}
.training-projects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 58px;
  color: var(--muted);
  font-size: 0.8rem;
}
.training-projects p {
  width: 100%;
  color: var(--text);
  font-weight: 600;
}
.training-projects span {
  border: 1px solid var(--line);
  padding: 8px 12px;
}
.education-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.education-list > div {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.education-list span {
  color: var(--accent);
  font-size: 0.8rem;
}
.education-list h3 {
  margin: 25px 0 8px;
  font-size: 1.5rem;
}
.education-list p {
  color: var(--muted);
  margin: 0;
}
.certifications-wrap {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}
.certifications-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.certifications-header h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}
.certifications-header p {
  margin: 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 0.92rem;
}
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.certification-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.certification-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  background: rgba(184, 255, 60, 0.03);
}
.cert-badge {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font:
    700 0.95rem "Space Grotesk",
    sans-serif;
  letter-spacing: 0.12em;
  color: #10120f;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.cert-badge-one {
  background: linear-gradient(135deg, #d4ff86, #b8ff3c);
}
.cert-badge-two {
  background: linear-gradient(135deg, #f9d76e, #ffb454);
}
.cert-badge-three {
  background: linear-gradient(135deg, #9fe5ff, #6ac7ff);
}
.cert-badge-four {
  background: linear-gradient(135deg, #c7ffcf, #70d89d);
}
.cert-info h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.cert-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.certification-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}
.certification-card a:hover {
  text-decoration: underline;
}
.contact {
  padding-top: 110px;
  padding-bottom: 130px;
}
.contact-links {
  display: flex;
  flex-direction: column;
}
.contact-links a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font:
    500 1.15rem "Space Grotesk",
    sans-serif;
}
.contact-links a:hover {
  color: var(--accent);
}
.contact-links small {
  color: var(--muted);
  font:
    0.65rem "DM Sans",
    sans-serif;
  text-transform: uppercase;
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 25px;
  padding-top: 30px;
  padding-bottom: 35px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.site-footer p {
  font-size: 0.8rem;
  margin: 12px 0 0;
}
.site-footer small {
  grid-column: 1/-1;
  font-size: 0.7rem;
}
.footer-actions {
  display: flex;
  gap: 25px;
  align-items: flex-end;
}
.footer-actions > * {
  display: inline-flex;
  align-items: flex-end;
}
.text-button {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--accent);
  padding: 0 0 4px;
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1.2;
  min-height: 0;
  width: auto;
}
.cv-menu-footer {
  top: auto;
  bottom: calc(100% + 8px);
  left: auto;
  right: 0;
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay {
  transition-delay: 0.15s;
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 760px) {
  .section-shell {
    padding-left: 20px;
    padding-right: 20px;
  }
  .site-header {
    padding: 20px;
  }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px 0 8px 8px;
  }
  .nav-toggle span {
    width: 24px;
    height: 1px;
    background: var(--text);
  }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px;
    background: var(--surface);
    border: 1px solid var(--line);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a,
  .theme-toggle {
    padding: 13px 5px;
  }
  .theme-toggle {
    text-align: left;
  }
  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 145px;
    padding-bottom: 100px;
  }
  .hero-art {
    min-height: 350px;
  }
  .art-frame {
    width: 72%;
  }
  .scroll-cue {
    left: 20px;
    bottom: 30px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    align-items: stretch;
  }
  .hero-actions .button,
  .hero-actions .cv-download,
  .cv-trigger,
  .cv-dialog-trigger {
    width: 100%;
    max-width: none;
    justify-content: center;
    min-height: 52px;
  }
  .cv-download {
    display: flex;
    align-items: stretch;
  }
  .cv-trigger {
    display: inline-flex;
    align-items: center;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric:nth-child(2) {
    border: 0;
  }
  .metric strong {
    font-size: 2.6rem;
  }
  .intro-grid,
  .contact-grid,
  .education-list,
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section-rule,
  .skills,
  .education,
  .contact {
    padding-top: 75px;
    padding-bottom: 75px;
  }
  .section-heading {
    margin-bottom: 38px;
  }
  .timeline-item {
    grid-template-columns: 1fr 30px;
    gap: 10px;
  }
  .timeline-date {
    grid-column: 1/-1;
  }
  .timeline-mark {
    grid-column: 2;
    grid-row: 2;
  }
  .timeline-item > div:nth-child(2) {
    grid-column: 1;
  }
  .skills-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-visual {
    height: 260px;
  }
  .certifications-header {
    display: block;
  }
  .certifications-header p {
    margin-top: 12px;
  }
  .cv-download {
    width: 100%;
    max-width: none;
  }
  .cv-menu {
    left: auto;
    right: 0;
    top: calc(100% + 10px);
    bottom: auto;
    min-width: 180px;
    width: min(200px, calc(100vw - 52px));
  }
  .cv-menu-footer {
    top: auto;
    bottom: calc(100% + 10px);
    left: 0;
    right: auto;
  }
  .site-footer {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .footer-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    align-items: center;
  }
  .footer-actions > * {
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    min-height: 32px;
    height: 32px;
  }
  .footer-actions .cv-download {
    display: flex;
    align-items: center;
  }
  .site-footer .cv-trigger,
  .site-footer .text-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    height: 32px;
    padding-bottom: 4px;
    line-height: 1.2;
  }
  .site-footer small {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
