@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --night: #0b1514;
  --panel: #101e1b;
  --ink: #e8e5d6;
  --muted: #abbcb3;
  --mint: #a8dfbc;
  --gold: #c4ae79;
  --coral: #e49b81;
  --line: #35473d;
  --heading: "Cinzel", Georgia, serif;
  --body: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background:
    radial-gradient(ellipse at 95% 12%, #193a2e66, transparent 35%),
    radial-gradient(ellipse at 0% 55%, #1f343033, transparent 40%), var(--night);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--mint);
  color: var(--night);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--mint);
}
button {
  font: inherit;
  color: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 6px;
}
.page-container {
  max-width: 1160px;
  padding-inline: 30px;
}
main,
.site-footer {
  position: relative;
}
.section {
  padding: 90px 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0b1514f2;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.navbar {
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.header-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
  min-width: 0;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 2;
}
.brand {
  font-family: var(--heading);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 1px;
}
.brand::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  margin-right: 15px;
  background: linear-gradient(
    135deg,
    transparent 43%,
    var(--gold) 45%,
    var(--gold) 52%,
    transparent 54%
  );
}
.brand-dot {
  color: var(--mint);
}
.nav-links {
  order: 1;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 12px;
  letter-spacing: 0.6px;
}
.nav-links a {
  padding: 9px 0;
}
.nav-links a[aria-current] {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 9px;
  text-decoration-color: var(--gold);
}
.nav-links .nav-contact {
  padding: 8px 18px;
  border: 1px solid #657052;
  color: var(--gold);
}
.nav-contact span {
  margin-left: 14px;
}
.menu-toggle {
  order: 3;
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 12px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 50;
  background: var(--mint);
  color: var(--night);
  padding: 10px 20px;
  transform: translateY(-180%);
}
.skip-link:focus {
  transform: translateY(0);
  color: var(--night);
}
.hero {
  position: relative;
  isolation: isolate;
  padding-top: 85px;
  padding-bottom: 67px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 80% 45%, #56c69926, transparent 47%);
  animation: mist 12s ease-in-out infinite alternate;
  animation-play-state: var(--motion-state, paused);
  pointer-events: none;
}
.hero-copy {
  padding-right: 45px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.small-moon {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: inset 5px -2px var(--mint);
  flex-shrink: 0;
  transform: rotate(-25deg);
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 500;
}
h1 {
  font-size: clamp(58px, 6.5vw, 86px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 25px;
}
h1 span {
  display: block;
  color: var(--mint);
  text-shadow: 0 0 65px #8ed5a522;
}
.lead-copy {
  color: var(--ink);
  font-size: 24px;
  margin-bottom: 19px;
}
.hero-copy > p:not(.eyebrow):not(.lead-copy) {
  max-width: 540px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.personal-note {
  border-left: 2px solid var(--line);
  padding-left: 18px;
  margin-top: 28px;
  max-width: 540px;
}
.personal-note h2 {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 8px;
}
.personal-note p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
}
.portrait-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portrait-frame {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  box-shadow:
    0 0 65px #7adba15e,
    0 0 120px #7adba12b,
    0 0 0 15px #9ed5af0c;
  animation: aura 4s ease-in-out infinite alternate;
  animation-play-state: var(--motion-state, paused);
  pointer-events: none;
}
.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 15%,
    #a8dfbc22 35%,
    #b9ffdb 47%,
    transparent 49%,
    transparent 65%,
    #c4ae7933 80%,
    #f2daa0 97%,
    transparent 99%
  );
  mask-image: radial-gradient(
    circle,
    transparent 67%,
    black 68%,
    black 70%,
    transparent 71%
  );
  animation: orbit 12s linear infinite reverse;
  animation-play-state: var(--motion-state, paused);
  pointer-events: none;
}
.portrait-sigil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px #c4ae7955);
  animation: orbit 28s linear infinite;
  animation-play-state: var(--motion-state, paused);
}
.portrait-photo {
  width: 69%;
  height: 69%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--gold);
  padding: 5px;
  background: var(--night);
  filter: saturate(0.7);
}
.portrait-moon {
  position: absolute;
  width: 42px;
  height: 42px;
  top: 0;
  left: calc(50% - 21px);
  background: var(--night);
  border-radius: 50%;
  box-shadow:
    inset 13px -2px var(--mint),
    0 0 30px #a8dfbc25;
  transform: rotate(-25deg);
}
.portrait-caption {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 10px;
  margin: 27px 0 0;
}
.chibi-companions {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  margin-top: 22px;
}
.chibi {
  width: 100px;
  height: auto;
  filter: drop-shadow(0 0 14px #a8dfbc20);
}
.hades-one {
  display: none;
}
.chibi-spark {
  width: 7px;
  height: 7px;
  background: var(--mint);
  transform: rotate(45deg);
  box-shadow: 0 0 16px #a8dfbc77;
  align-self: center;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 66px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.hero-bottom > a {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
}
.hero-bottom > a span {
  color: var(--mint);
  margin-left: 20px;
}
.moon-phases {
  display: flex;
  gap: 14px;
  align-items: center;
}
.moon-phases i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: inset 4px 0 var(--gold);
}
.moon-phases i:nth-child(2) {
  background: var(--gold);
  width: 8px;
  height: 8px;
}
.moon-phases i:last-child {
  transform: rotate(180deg);
}
.motion-toggle {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 6px 10px;
}
.motion-toggle:hover {
  color: var(--mint);
  border-color: var(--mint);
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}
h2 {
  font-size: clamp(28px, 3vw, 37px);
  margin: 0;
}
.section-mark {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
}
.heading-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  flex: 1;
  position: relative;
}
.heading-rule::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  position: absolute;
  left: 0;
  top: -3px;
  transform: rotate(45deg);
  background: var(--night);
}
.experience-list {
  display: grid;
  gap: 26px;
}
.experience-item {
  position: relative;
  background: linear-gradient(125deg, #182b23a6, #101b18e6);
  border: 1px solid var(--line);
  padding: 35px 42px;
}
.experience-heading {
  padding-right: 64px;
  margin-bottom: 24px;
}
.experience-heading h3 {
  margin: 0;
}
.experience-companion {
  position: absolute;
  top: -24px;
  right: 0;
  width: 72px;
  z-index: 2;
}
.experience-companion .chibi-button,
.experience-companion .chibi {
  width: 100%;
}
.experience-item::before,
.experience-item::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-color: var(--gold);
  border-style: solid;
}
.experience-item::before {
  left: -1px;
  top: -1px;
  border-width: 1px 0 0 1px;
}
.experience-item::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}
h3 {
  font-size: 21px;
  line-height: 1.5;
  color: var(--gold);
  margin: 0 0 27px;
}
.role-timeline {
  list-style: none;
  padding: 0;
  margin: 0 0 0 5px;
}
.role-entry {
  position: relative;
  padding: 0 0 32px 26px;
  border-left: 1px solid #52654b;
}
.role-entry:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}
.role-entry::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 9px;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  background: var(--panel);
  box-shadow: 0 0 0 5px var(--panel);
}
.experience-item:first-child .role-entry:first-child::before {
  background: var(--mint);
  border-color: var(--mint);
}
.role-entry h4 {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.5;
}
.role-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.role-type {
  color: var(--mint);
  font-size: 12px;
  margin: 0 0 3px;
}
.role-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 0;
}
.current-label {
  color: var(--mint);
  font-size: 10px;
  border: 1px solid #486349;
  padding: 3px 10px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.current-label::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--mint);
  border-radius: 50%;
  margin-right: 7px;
}
.role-work {
  margin-top: 18px;
  padding-left: 17px;
  border-left: 1px solid #35473d;
  max-width: 850px;
}
.role-description,
.experience-details {
  font-size: 14px;
  color: #bdc9bf;
  margin-bottom: 0;
}
.experience-details {
  padding-left: 18px;
  margin-top: 12px;
  list-style-type: square;
}
.experience-details li {
  padding-left: 4px;
  margin-top: 6px;
}
.experience-details li::marker {
  color: #8daa77;
  font-size: 9px;
}
.site-footer {
  padding: 42px 0 27px;
  border-top: 1px solid var(--line);
  background: #080f0ed9;
}
.footer-title {
  font-size: 27px;
}
.footer-title > span {
  color: var(--coral);
}
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 11px 20px;
  border: 1px solid #697450;
  background: #18231a;
  color: var(--gold);
  font-size: 12px;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.button:hover {
  background: #283d2e;
  border-color: var(--mint);
  color: var(--mint);
}
.button span[aria-hidden] {
  font-size: 18px;
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 15px;
  padding-top: 25px;
  position: relative;
}
.footer-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: var(--line);
}
.site-footer .brand {
  font-size: 18px;
}
.site-footer .brand::before {
  width: 11px;
  height: 11px;
  margin-right: 10px;
}
.site-footer p,
.back-to-top {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
}
.back-to-top span {
  margin-left: 12px;
  color: var(--gold);
}
.night-sky {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.night-sky i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size, 3px);
  height: var(--size, 3px);
  background: var(--mint);
  border-radius: 50%;
  box-shadow:
    0 0 8px #a8dfbccc,
    0 0 22px #a8dfbc66;
  opacity: 0.45;
  animation: drift var(--duration, 10s) linear var(--delay, 0s) infinite;
  animation-play-state: var(--motion-state, paused);
}
.night-sky i:nth-child(1) {
  --x: 9%;
  --y: 21%;
}
.night-sky i:nth-child(2) {
  --x: 88%;
  --y: 32%;
}
.night-sky i:nth-child(3) {
  --x: 55%;
  --y: 12%;
}
.night-sky i:nth-child(4) {
  --x: 4%;
  --y: 76%;
}
.night-sky i:nth-child(5) {
  --x: 94%;
  --y: 83%;
}
.night-sky i:nth-child(6) {
  --x: 62%;
  --y: 65%;
}
html[data-style="hades"][data-motion="on"]:not(.page-hidden) {
  --motion-state: running;
}
html[data-motion="off"],
html.page-hidden {
  --motion-state: paused;
}
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes drift {
  0% {
    transform: translate(0, 70px) scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 0.7;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: translate(var(--sway, 45px), -160px) scale(1.2);
    opacity: 0;
  }
}
@keyframes aura {
  from {
    transform: scale(0.96);
    opacity: 0.55;
  }
  to {
    transform: scale(1.06);
    opacity: 1;
  }
}
@keyframes mist {
  from {
    transform: translate(-5%, 3%) scale(1);
    opacity: 0.5;
  }
  to {
    transform: translate(5%, -3%) scale(1.15);
    opacity: 1;
  }
}
@media (max-width: 991.98px) {
  .hero {
    padding-top: 60px;
  }
  .hero-copy {
    padding-right: 12px;
  }
  .portrait-column {
    margin-top: 45px;
  }
  .portrait-frame {
    width: 320px;
    max-width: 100%;
  }
  .hero-copy > p:not(.eyebrow):not(.lead-copy) {
    max-width: 650px;
  }
}
@media (max-width: 767.98px) {
  html {
    scroll-padding-top: 100px;
  }
  .page-container {
    padding-inline: 22px;
  }
  .navbar {
    min-height: 76px;
    gap: 12px;
  }
  .site-header .brand {
    font-size: 18px;
  }
  .site-header .brand::before {
    width: 12px;
    height: 12px;
    margin-right: 9px;
  }
  .brand {
    font-size: 21px;
  }
  .section {
    padding: 55px 0;
  }
  .hero {
    padding-top: 42px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  h1 {
    font-size: clamp(50px, 12vw, 76px);
  }
  .hero-bottom {
    margin-top: 42px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero-bottom > a {
    font-size: 10px;
  }
  .moon-phases {
    gap: 8px;
  }
  .moon-phases i {
    width: 9px;
    height: 9px;
  }
  .section-heading {
    gap: 14px;
  }
  .experience-item {
    padding: 26px 20px;
  }
  .experience-companion {
    width: 64px;
  }
  .experience-heading {
    padding-right: 48px;
  }
  h3 {
    font-size: 18px;
  }
  .role-entry {
    padding-left: 19px;
  }
  .role-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 7px;
  }
  .role-entry h4 {
    font-size: 16px;
  }
  .role-work {
    padding-left: 12px;
  }
  .role-description,
  .experience-details {
    font-size: 13px;
  }
  .footer-title {
    font-size: 24px;
  }
  .footer-content {
    flex-wrap: wrap;
  }
  .footer-content::before {
    left: 22px;
    right: 22px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .navbar {
    min-height: 76px;
    gap: 12px;
    padding-block: 12px;
  }
  .menu-toggle:not([hidden]) {
    display: block;
    order: 1;
    margin-left: auto;
    min-height: 44px;
  }
  .header-panel {
    order: 2;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 16px 0 8px;
    border-top: 1px solid var(--line);
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
  }
  .js-enabled .header-panel:not(.is-open) {
    display: none;
  }
  .header-panel.is-open {
    animation: menu-reveal 180ms ease-out;
  }
  .nav-links {
    order: 0;
    margin: 0;
    width: 100%;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links a {
    padding: 12px 8px;
    min-height: 44px;
    font-size: 14px;
  }
  .nav-links .nav-contact {
    padding: 12px 8px;
    border: 0;
    display: flex;
    justify-content: space-between;
  }
  html {
    scroll-padding-top: 95px;
  }
}
@keyframes menu-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .portrait-sigil,
  .night-sky i,
  .portrait-frame::before,
  .portrait-frame::after,
  .hero::before {
    animation: none;
  }
  .chibi {
    animation: none;
  }
  .header-panel.is-open {
    animation: none;
  }
  .button {
    transition: none;
  }
}
html[data-motion="off"] {
  scroll-behavior: auto;
}
html[data-motion="off"] .header-panel.is-open {
  animation: none;
}
@media print {
  .site-header,
  .hero-bottom,
  .night-sky,
  .chibi-companions,
  .chibi-hint,
  .experience-companion,
  .portrait-sigil,
  .portrait-moon,
  .portrait-laurel,
  .portrait-frame::before,
  .portrait-frame::after,
  .hero::before {
    display: none !important;
  }
  body,
  .site-footer,
  .experience-item {
    background: white !important;
    color: black !important;
  }
  body {
    --ink: #222;
    --muted: #444;
    --gold: #333;
    --mint: #333;
  }
  .role-description,
  .experience-details {
    color: #444;
  }
}
