:root {
  --ink: #0b0b0a;
  --ink-soft: #14130f;
  --surface: #161513;
  --bone: #f2ede3;
  --bone-soft: #d8d3c8;
  --mist: #8b8579;
  --mist-dim: #5a564e;
  --ember: #e8553a;
  --line: rgba(242, 237, 227, 0.08);
  --line-strong: rgba(242, 237, 227, 0.18);
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
  --font-mono: "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}
body.menu-open { overflow: hidden; }
body.loaded .hero-name { transform: translateY(0); }
button, a { cursor: none; }
button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; }
::selection { background: var(--ember); color: var(--ink); }
::-webkit-scrollbar { width: 0; height: 0; }

.container-edge {
  width: 100%;
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}
.eyebrow {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hairline { width: 100%; height: 1px; background: var(--line); }
.display-hero {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 18rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .85;
}
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .92;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}
.body-lg {
  color: var(--bone-soft);
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  line-height: 1.5;
}
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .04;
  mix-blend-mode: overlay;
  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.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-ring, .cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
}
.cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(242, 237, 227, .4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: width .25s ease, height .25s ease, border-color .25s ease, background-color .25s ease, opacity .25s ease;
}
.cursor-ring span {
  color: rgba(242, 237, 227, .8);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
}
.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: rgba(232, 85, 58, .6);
  background: rgba(232, 85, 58, .15);
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  transition: transform .9s cubic-bezier(.76, 0, .24, 1), opacity .9s ease;
}
.preloader.done { transform: translateY(-100%); opacity: .96; }
.preloader-meta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.preloader-count {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 1;
}
.preloader-name {
  overflow: hidden;
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 18rem);
  line-height: .85;
}
.preloader-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.preloader-bottom > div:last-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}
.preloader-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--ember);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  padding: 1.25rem 0;
  transition: padding .5s ease, background .5s ease, backdrop-filter .5s ease;
}
.site-header.scrolled {
  padding: .75rem 0;
  background: rgba(11, 11, 10, .7);
  backdrop-filter: blur(16px);
}
.header-inner, .header-actions, .desktop-nav, .brand-button {
  display: flex;
  align-items: center;
}
.header-inner { justify-content: space-between; }
.brand-button { gap: .5rem; }
.brand-button span, .mobile-menu-top span {
  font-family: var(--font-display);
  font-weight: 600;
}
.brand-button small {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.desktop-nav { gap: 2rem; }
.desktop-nav button, .site-footer nav button {
  color: var(--bone-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.desktop-nav button:hover, .site-footer nav button:hover { color: var(--bone); }
.header-actions { gap: 1rem; }
.clock {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
}
.availability-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: .55rem 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: border-color .25s ease, color .25s ease;
}
.availability-button:hover { border-color: var(--ember); color: var(--ember); }
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
}
.pulse-dot:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes ping { 75%, 100% { transform: scale(2.5); opacity: 0; } }
.menu-button { display: none; flex-direction: column; gap: 5px; }
.menu-button span {
  display: block;
  height: 1.5px;
  background: var(--bone);
}
.menu-button span:first-child { width: 24px; }
.menu-button span:last-child { width: 16px; margin-left: auto; }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  transform: translateY(-100%);
  transition: transform .5s cubic-bezier(.76, 0, .24, 1);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.mobile-menu-top button, .mobile-menu-bottom p {
  color: var(--bone-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.mobile-menu-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
}
.mobile-menu-nav button {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 14vw, 6rem);
  line-height: 1;
  text-align: left;
}
.mobile-menu-nav span {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: .8rem;
}
.mobile-menu-bottom { padding-bottom: 2rem; }

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding-top: 7rem;
  padding-bottom: 2rem;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.hero-meta p {
  margin: .25rem 0 0;
  color: var(--bone-soft);
  font-family: var(--font-mono);
  font-size: .9rem;
}
.hero-meta div:last-child { text-align: right; }
.hero-grid {
  position: relative;
  display: grid;
  flex: 1;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.intro-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.intro-line span {
  width: 2rem;
  height: 1px;
  background: var(--ember);
}
.hero-name-wrap { overflow: hidden; }
.hero-name {
  margin: 0;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(.76, 0, .24, 1) .3s;
}
.hero-subtitle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.hero-subtitle p { max-width: 36rem; margin: 0; color: var(--bone-soft); }
.scroll-explore {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--bone-soft);
  transition: color .25s ease;
}
.scroll-explore:hover { color: var(--ember); }
.scroll-explore span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.scroll-explore svg { transition: transform .25s ease; }
.scroll-explore:hover svg { transform: translateY(4px); }
.portrait {
  position: relative;
  width: clamp(280px, 22vw, 420px);
  margin: 0;
}
.portrait-glow {
  position: absolute;
  inset: -1.5rem;
  border-radius: 32px;
  opacity: .5;
  filter: blur(30px);
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(232, 85, 58, .18), transparent 70%);
}
.portrait-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(255, 255, 255, .02);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6), 0 0 0 1px rgba(242, 237, 227, .04) inset, 0 0 40px -10px rgba(232, 85, 58, .15);
}
.portrait-frame:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(242, 237, 227, .06), transparent 25%, transparent 80%, rgba(0, 0, 0, .18));
}
.portrait figcaption {
  display: flex;
  justify-content: space-between;
  margin-top: .75rem;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-bottom { margin-top: 2rem; }
.hero-bottom h2 {
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
}

.section { padding: clamp(6rem, 12vw, 10rem) 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: clamp(4rem, 8vw, 6rem);
}
.section-header div {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.section-header div > span {
  color: var(--ember);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
}
.section-header > p {
  margin: 0;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.manifesto {
  max-width: 72rem;
  margin: 0;
  color: var(--bone-soft);
}
.manifesto span { opacity: .16; transition: opacity .35s ease; }
.manifesto span.visible { opacity: 1; }
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-top: clamp(5rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.bio-grid p { max-width: 42rem; margin-top: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.stats-grid strong {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

.marquee-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5rem) 0;
  overflow: hidden;
}
.marquee-row { display: flex; overflow: hidden; }
.marquee-row + .marquee-row { margin-top: 2rem; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-row:hover .marquee-track { animation-play-state: paused; }
.marquee-track.reverse { animation: marqueeReverse 50s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  white-space: nowrap;
}
.marquee-track i {
  color: var(--ember);
  font-family: var(--font-mono);
  font-style: normal;
}
.marquee-row.muted .marquee-track { gap: 1.5rem; }
.marquee-row.muted span {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: clamp(.9rem, 1.5vw, 1.1rem);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.marquee-row.muted i { color: var(--mist-dim); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeReverse { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.projects {
  position: relative;
  background: radial-gradient(ellipse 60% 50% at 20% 30%, rgba(232, 85, 58, .08), transparent 70%), radial-gradient(ellipse 50% 40% at 80% 70%, rgba(232, 85, 58, .05), transparent 70%);
}
.section-title { max-width: 64rem; margin: 0 0 clamp(5rem, 10vw, 8rem); }
.section-title span { color: var(--ember); }
.project-list { display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 3rem); }
.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(2rem, 5vw, 4rem);
  background: rgba(255, 255, 255, .015);
  backdrop-filter: blur(8px);
  transition: border-color .5s ease, background .5s ease;
}
.project-card:hover { border-color: rgba(232, 85, 58, .4); background: rgba(255, 255, 255, .025); }
.project-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ember);
  transition: width .8s ease;
}
.project-card:hover:before { width: 100%; }
.project-ghost {
  position: absolute;
  top: .5rem;
  right: 2rem;
  color: rgba(242, 237, 227, .025);
  font-family: var(--font-display);
  font-size: clamp(9rem, 18vw, 18rem);
  line-height: 1;
}
.project-left, .project-right { position: relative; z-index: 1; }
.project-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.project-meta span:first-child { color: var(--ember); }
.project-meta i, .project-left p i {
  width: 2rem;
  height: 1px;
  background: var(--line);
}
.project-meta b {
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .35rem .7rem;
  color: var(--bone-soft);
  font-size: 10px;
  font-weight: 400;
}
.project-left h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: .92;
  transition: color .4s ease, transform .4s ease;
}
.project-card:hover h3 { color: var(--ember); transform: translateY(-4px); }
.project-left p {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  color: var(--bone-soft);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
}
.project-left small {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.project-right {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  border-left: 1px solid var(--line);
  padding-left: clamp(2rem, 4vw, 3rem);
}
.project-right p, .project-right li {
  color: var(--bone-soft);
  font-size: .98rem;
  line-height: 1.65;
}
.project-right ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-right li {
  position: relative;
  padding-left: 1rem;
  color: var(--mist);
}
.project-right li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ember);
}
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .75rem;
  color: var(--bone-soft);
  font-family: var(--font-mono);
  font-size: 11px;
}
.visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.visit span {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-family: var(--font-display);
}
.visit small, .cert-cta small {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.visit b, .cert-cta b {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .35s ease, border-color .35s ease, color .35s ease;
}
.project-card:hover .visit b, .cert-card:hover .cert-cta b {
  border-color: var(--ember);
  background: var(--ember);
  color: var(--ink);
}
.visit svg { transform: rotate(-45deg); }
.work-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.work-footer a { color: var(--bone-soft); transition: color .25s ease; }
.work-footer a:hover { color: var(--ember); }

.timeline {
  position: relative;
  border-top: 1px solid var(--line);
}
.timeline:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--ember), transparent);
}
.timeline-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 3rem;
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0 2.5rem 3rem;
}
.timeline-row time {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.timeline-row h3 {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  transition: color .25s ease;
}
.timeline-row:hover h3 { color: var(--ember); }
.timeline-row p {
  max-width: 46rem;
  margin: .4rem 0;
  color: var(--mist);
  line-height: 1.6;
}
.timeline-row aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  color: var(--bone-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.timeline-row strong {
  color: var(--ember);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.timeline-row small { color: var(--mist-dim); }

.skills-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(4rem, 8vw, 6rem);
}
.accordion { border-top: 1px solid var(--line); }
.skill-panel { border-bottom: 1px solid var(--line); }
.skill-panel button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
}
.skill-panel button > span {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}
.skill-panel small {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
}
.skill-panel button b {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .14em;
}
.skill-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .5s cubic-bezier(.76, 0, .24, 1), opacity .35s ease;
}
.skill-panel.active .skill-content {
  grid-template-rows: 1fr;
  opacity: 1;
}
.skill-list {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2rem;
}
.skill-list > div {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}
.skill-list p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 .75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.skill-list span {
  display: block;
  height: 1px;
  background: var(--line);
}
.skill-list i {
  display: block;
  height: 100%;
  background: var(--ember);
}
.focus-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.focus-list article {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.focus-list article div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.focus-list article span {
  color: var(--ember);
  font-family: var(--font-mono);
  font-size: 12px;
}
.focus-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
}
.focus-list p {
  margin: .75rem 0 0 2rem;
  color: var(--mist);
  font-size: .95rem;
  line-height: 1.65;
}

.certification { padding-top: 5rem; }
.cert-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 3rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: rgba(255, 255, 255, .015);
  transition: border-color .35s ease, background .35s ease;
}
.cert-card:hover { border-color: rgba(232, 85, 58, .4); background: rgba(255, 255, 255, .025); }
.cert-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 7rem;
  height: 7rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.cert-mark:before {
  content: "";
  position: absolute;
  inset: .75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.cert-mark svg { width: 2rem; height: 2rem; transition: color .25s ease; }
.cert-card:hover .cert-mark svg { color: var(--ember); }
.cert-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
}
.cert-card h3 span, .cert-card small { color: var(--mist); }
.cert-card p {
  max-width: 42rem;
  color: var(--mist);
  line-height: 1.6;
}
.cert-card small {
  margin-right: .45rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cert-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}
.cert-cta span { font-family: var(--font-display); }

.contact-title {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 18rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: .85;
}
.contact-title span:last-child { color: var(--ember); }
.contact-copy { max-width: 42rem; margin: 1.5rem 0 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 4rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--line);
}
.contact-grid a {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: .75rem;
  padding: clamp(2rem, 4vw, 2.5rem);
  background: rgba(20, 19, 15, .9);
}
.contact-grid a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ember);
  transition: width .5s ease;
}
.contact-grid a:hover:before { width: 100%; }
.contact-grid span, .contact-grid small {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.contact-grid b {
  overflow-wrap: anywhere;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  transition: color .25s ease;
}
.contact-grid a:hover b { color: var(--ember); }
.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}
.contact-meta p {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .75rem 0 0;
  font-family: var(--font-display);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-soft);
  padding: 3rem 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-main > div button {
  font-family: var(--font-display);
  font-size: 1.7rem;
}
.footer-main p, .footer-bottom {
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.back-top {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--bone-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .portrait { display: none; }
  .hero-grid, .project-card, .skills-grid { grid-template-columns: 1fr; }
  .project-right {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 2rem;
  }
  .cert-card { grid-template-columns: 1fr; }
  .cert-cta { align-items: flex-start; }
}

@media (max-width: 820px) {
  body, button, a { cursor: auto; }
  .cursor-ring, .cursor-dot { display: none; }
  .desktop-nav, .availability-button, .clock { display: none; }
  .menu-button { display: flex; }
  .hero-meta div:last-child { display: none; }
  .hero-subtitle { flex-direction: column; align-items: flex-start; }
  .section-header { align-items: flex-start; flex-direction: column; }
  .bio-grid, .timeline-row, .contact-grid, .contact-meta, .footer-main {
    grid-template-columns: 1fr;
  }
  .stats-grid, .skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline:before { display: none; }
  .timeline-row { padding-left: 0; gap: 1rem; }
  .timeline-row aside { align-items: flex-start; }
  .work-footer, .footer-bottom { flex-direction: column; }
  .back-top { justify-self: start; }
}

@media (max-width: 520px) {
  .stats-grid, .skill-list { grid-template-columns: 1fr; }
  .project-card { padding: 1.5rem; }
  .project-meta { flex-wrap: wrap; }
  .preloader-bottom > div:last-child { flex-direction: column; }
}

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