:root {
  --bg: #f4f0ea;
  --ink: #111014;
  --ink-soft: #3f3d43;
  --card: #fffefb;
  --line: #d9d0c3;
  --accent: #ea5f2d;
  --accent-dark: #b6411a;
  --shadow: 0 18px 45px rgba(17, 16, 20, 0.12);
}

* {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 26% 18%, rgba(213, 250, 167, 0.802) 0%, rgba(255, 199, 112, 0) 42%),
    radial-gradient(circle at 74% 36%, rgba(255, 155, 67, 0.66) 0%, rgba(255, 155, 67, 0) 45%),
    radial-gradient(circle at 18% 84%, rgba(208, 73, 0, 0.72) 0%, rgba(208, 73, 0, 0) 42%),
    linear-gradient(165deg, #ffcf8a 0%, #ff9c47 38%, #ec6a0b 68%, #a94100 100%);
  min-height: 100vh;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

.s-trail-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
}

.s-trail-svg {
  width: 100%;
  height: 100%;
}

.s-trail-static-line {
  fill: none;
  stroke-width: 15;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1100ms linear;
  transform: translateY(var(--line-offset, 0px));
}

body.trail-hidden .s-trail-static-line {
  stroke-dashoffset: 1000;
}

.line-1 {
  stroke: #e8fbd4af;
}

.line-2 {
  stroke: #d6f8b194;
}

.line-3 {
  stroke: #a1d96673;
}

.line-4 {
  stroke: #b4e18368;
}

.line-5 {
  stroke: #acc194a1;
}


.bg-glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.bg-glow-one {
  width: 340px;
  height: 340px;
  background: rgba(255, 128, 0, 0.5);
  top: -110px;
  right: -110px;
}

.bg-glow-two {
  width: 280px;
  height: 280px;
  background: rgba(199, 0, 76, 0.4);
  bottom: -80px;
  left: -90px;
}

.container {
  width: min(1020px, 92%);
  margin: 0 auto;
}

.hero {
  min-height: 100dvh;
  height: 100dvh;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  animation: riseIn 700ms ease forwards;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scroll-cue {
  width: 130px;
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-decoration: none;
  position: absolute;
  left: 50%;
  bottom: 1.05rem;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-cue-label {
  display: block;
  width: 100%;
  text-align: center;
  justify-self: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #fff3df;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(52, 22, 9, 0.35);
  animation: none;
  grid-row: 1;
}

.scroll-cue-up .scroll-cue-label {
  grid-row: 4;
}

.scroll-cue-part {
  width: 116px;
  height: 34px;
  background-image: linear-gradient(100deg, #efc66d 0%, #efc66d 46%, #c8ebb1 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  border-radius: 0 0 999px 999px;
  box-shadow: 0 5px 12px rgba(102, 53, 12, 0.22);
  transition: transform 220ms ease, background-position 900ms ease;
  animation: none;
}

.scroll-cue .part-1 {
  width: 102px;
  height: 26px;
  grid-row: 2;
}

.scroll-cue .part-2 {
  width: 112px;
  height: 30px;
  grid-row: 3;
}

.scroll-cue .part-3 {
  grid-row: 4;
}

.scroll-cue-up .part-1 {
  grid-row: 1;
}

.scroll-cue-up .part-2 {
  grid-row: 2;
}

.scroll-cue-up .part-3 {
  grid-row: 3;
}

.scroll-cue:hover .scroll-cue-part,
.scroll-cue:focus-visible .scroll-cue-part {
  background-position: 100% 50%;
}

.scroll-cue:hover .scroll-cue-label,
.scroll-cue:focus-visible .scroll-cue-label {
  animation: cueBounce 1200ms ease infinite;
}

.scroll-cue:hover .scroll-cue-part,
.scroll-cue:focus-visible .scroll-cue-part {
  animation: cueBounce 1200ms ease infinite;
}

.scroll-cue:hover .part-2,
.scroll-cue:focus-visible .part-2 {
  animation-delay: 70ms;
}

.scroll-cue:hover .part-3,
.scroll-cue:focus-visible .part-3 {
  animation-delay: 140ms;
}

.scroll-cue-up:hover .scroll-cue-label,
.scroll-cue-up:focus-visible .scroll-cue-label {
  animation-name: cueBounceUp;
}

.scroll-cue-up:hover .scroll-cue-part,
.scroll-cue-up:focus-visible .scroll-cue-part {
  animation-name: cueBounceUp;
}

.scroll-cue-up {
  position: static;
  transform: none;
  width: 65px;
  margin: 0 auto 0.95rem;
}

.scroll-cue-up .scroll-cue-part {
  width: 58px;
  height: 17px;
  border-radius: 999px 999px 0 0;
  box-shadow: 0 -5px 12px rgba(102, 53, 12, 0.22);
}

.scroll-cue-up .part-1 {
  width: 51px;
  height: 13px;
}

.scroll-cue-up .part-2 {
  width: 56px;
  height: 15px;
}

.scroll-cue-down {
  width: 65px;
}

.scroll-cue-down .scroll-cue-part {
  width: 58px;
  height: 17px;
  border-radius: 0 0 999px 999px;
  box-shadow: 0 5px 12px rgba(102, 53, 12, 0.22);
}

.scroll-cue-down .part-1 {
  width: 51px;
  height: 13px;
}

.scroll-cue-down .part-2 {
  width: 56px;
  height: 15px;
}

.scroll-cue-down.scroll-cue-down-large {
  width: 130px;
}

.scroll-cue-down.scroll-cue-down-large .scroll-cue-part {
  width: 116px;
  height: 34px;
}

.scroll-cue-down.scroll-cue-down-large .part-1 {
  width: 102px;
  height: 26px;
}

.scroll-cue-down.scroll-cue-down-large .part-2 {
  width: 112px;
  height: 30px;
}

.hero-bubble {
  position: relative;
  z-index: 2;
  display: block;
  background-image: url("images/background_intro.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 80px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 22px 48px rgba(16, 8, 5, 0.22);
  overflow: hidden;
  aspect-ratio: 5 / 2;
  transform: translateY(0);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 620ms ease;
}

body.intro-ready .hero-bubble {
  transform: translateY(-18px);
  box-shadow: 0 28px 56px rgba(16, 8, 5, 0.26);
}

.hero-toc {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 360ms ease, transform 420ms ease;
}

body.intro-ready .hero-toc {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toc-bubble {
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 132, 24, 0.98);
  color: #b14f12;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  padding: 0.42rem 0.92rem;
  background: rgba(255, 243, 227, 0.58);
  box-shadow:
    inset 0 2px 0 rgba(255, 238, 214, 0.85),
    0 0 0 1px rgba(255, 129, 18, 0.5),
    0 8px 18px rgba(255, 111, 13, 0.4);
  transition: transform 180ms ease, filter 220ms ease, box-shadow 180ms ease;
}

.toc-bubble:hover,
.toc-bubble:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.1) brightness(1.04);
  box-shadow:
    inset 0 2px 0 rgba(255, 242, 222, 0.92),
    0 0 0 1px rgba(255, 129, 18, 0.55),
    0 12px 22px rgba(255, 111, 13, 0.46);
}

.toc-bubble::before {
  content: none;
}

.toc-bubble::after {
  content: none;
}

.hero-orbit-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-orbit-behind {
  z-index: 1;
  overflow: visible;
}

.hero-orbit-front {
  z-index: 3;
}

.orbit-cluster {
  position: absolute;
  width: var(--size, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.15);
  animation: orbitZoomIn 920ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.orbit-cluster .ring {
  position: absolute;
  border-radius: 50%;
}

.orbit-cluster .r1 {
  inset: 0;
}

.orbit-cluster .r2 {
  inset: 14%;
}

.orbit-cluster .r3 {
  inset: 28%;
}

.orbit-cluster .r4 {
  inset: 41%;
}

.orbit-cluster .r5 {
  inset: 54%;
}

.orbit-a {
  --size: 232px;
  left: -4%;
  top: 6%;
  animation-delay: 100ms;
}

.orbit-a .r1 { background: #9fb99c; }
.orbit-a .r2 { background: #1f7f4c; }
.orbit-a .r3 { background: #2dbd6f; }
.orbit-a .r4 { background: #f4a239; }
.orbit-a .r5 { background: #24523a; }

.orbit-b {
  --size: 78px;
  left: 40%;
  top: 4%;
  animation-delay: 220ms;
}

.orbit-b .r1 { background: #8f9093; }
.orbit-b .r2 { background: #9cb999; }
.orbit-b .r3 { background: #1a1a15; }
.orbit-b .r4 { background: #f6b313; }
.orbit-b .r5 { background: #2d2d2d; }

.orbit-c {
  --size: 268px;
  right: 2%;
  top: -1%;
  animation-delay: 320ms;
}

.orbit-c .r1 { background: #f4ab5c; }
.orbit-c .r2 { background: #24523a; }
.orbit-c .r3 { background: #c64b1e; }
.orbit-c .r4 { background: #4f4441; }
.orbit-c .r5 { background: #2dbd6f; }

.orbit-d {
  --size: 122px;
  left: 39%;
  bottom: 6%;
  animation-delay: 470ms;
}

.orbit-d .r1 { background: #2dbd6f; }
.orbit-d .r2 { background: #c64b1e; }
.orbit-d .r3 { background: #f6b313; }
.orbit-d .r4 { background: #1f7f4c; }
.orbit-d .r5 { background: #24523a; }

.orbit-e {
  --size: 142px;
  right: 23%;
  bottom: 4.5%;
  animation-delay: 620ms;
}

.orbit-e .r1 { background: #f4ab5c; }
.orbit-e .r2 { background: #24523a; }
.orbit-e .r3 { background: #c64b1e; }
.orbit-e .r4 { background: #4f4441; }
.orbit-e .r5 { background: #2dbd6f; }

.orbit-f {
  --size: 86px;
  right: 34%;
  bottom: 5.2%;
  animation-delay: 760ms;
}

.orbit-f .r1 { background: #9fb99c; }
.orbit-f .r2 { background: #1f7f4c; }
.orbit-f .r3 { background: #2dbd6f; }
.orbit-f .r4 { background: #f6b313; }
.orbit-f .r5 { background: #2d2d2d; }

.hero-copy {
  position: absolute;
  left: clamp(1.35rem, 3.2vw, 2.4rem);
  bottom: clamp(0.7rem, 2.1vw, 1.25rem);
  width: min(42%, 500px);
  padding: 0.85rem 1rem;
  border-radius: 18px 18px 18px 42px;
  background: rgba(255, 247, 238, 0.86);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  z-index: 2;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 46px;
  height: 46px;
  border-top-right-radius: 18px;
  border-bottom-left-radius: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  border-right: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 247, 238, 0.58);
}

.hero .eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
  color: rgba(44, 38, 42, 0.82);
  margin: 0 0 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  line-height: 1.05;
  color: #15131a;
}

.intro {
  max-width: 100%;
  margin: 0 0 0.2rem;
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.3;
  color: #C97104;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  background: var(--accent);
  color: #fffdf9;
  padding: 0.62rem 1rem;
  border-radius: 999px;
  border: 1px solid #b6411a;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 0.33rem 0.68rem;
  font-size: 0.8rem;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.tags a:hover,
.tags a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.section {
  padding: 1rem 0 4rem;
}

.page-section {
  --page-nav-offset: 1.8rem;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: grid;
  align-items: center;
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

.page-shell {
  padding: clamp(1.2rem, 2.5vw, 2rem);
  margin: clamp(4.2rem, 8vh, 5.4rem) 0;
}

.page-nav {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.page-nav .scroll-cue-up,
.page-nav .scroll-cue-down {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  pointer-events: auto;
}

.page-nav .scroll-cue-up {
  top: var(--page-nav-offset);
  bottom: auto;
  width: 110px;
}

.page-nav .scroll-cue-up .scroll-cue-part {
  width: 96px;
  height: 28px;
}

.page-nav .scroll-cue-up .part-1 {
  width: 84px;
  height: 22px;
}

.page-nav .scroll-cue-up .part-2 {
  width: 92px;
  height: 24px;
}

.page-nav .scroll-cue-down {
  bottom: calc(var(--page-nav-offset) + 0.35rem);
  top: auto;
  width: 110px;
}

.page-nav .scroll-cue-down .scroll-cue-part {
  width: 96px;
  height: 28px;
}

.page-nav .scroll-cue-down .part-1 {
  width: 84px;
  height: 22px;
}

.page-nav .scroll-cue-down .part-2 {
  width: 92px;
  height: 24px;
}

.page-eyebrow {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  color: #b45120;
  font-weight: 700;
}

.expand-note {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a24a1c;
  font-weight: 700;
}

.page-shell h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.6rem);
  color: #5a2509;
  margin-bottom: 0.9rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.info-card {
  background: transparent;
  border: 1px solid #efd0bc71;
  border-radius: 16px;
  padding: 0.9rem;
  height: 100%;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.info-card h3 {
  margin: 1;
  color: #522601c6;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.1;
}

.info-card p {
  margin: 0;
  color: #491b0778;
  font-size: 1.02rem;
  line-height: 1.15;
}

#artwork.page-section {
  --page-nav-offset: 1.1rem;
}

.artwork-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, clamp(118px, 12vw, 148px)));
  justify-content: center;
  gap: 0.75rem;
  height: auto;
}

.artwork-card {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #dec5b4;
  border-radius: 14px;
  background: #fff1e3;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease, border-radius 180ms ease;
}

.artwork-card:hover,
.artwork-card:focus-visible {
  transform: none;
  box-shadow: 0 14px 24px rgba(25, 13, 8, 0.22);
  border-color: #e18530;
}

.artwork-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 220ms ease;
}

.artwork-card:hover .artwork-thumb,
.artwork-card:focus-visible .artwork-thumb {
  filter: none;
}

.artwork-modal-image {
  width: auto;
  max-width: 100%;
  max-height: calc(92vh - 3.6rem);
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.experience-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 180ms ease;
}

.experience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    120deg,
    rgba(255, 241, 227, 0.16) 0%,
    rgba(247, 226, 189, 0.52) 45%,
    rgba(247, 234, 187, 0.62) 70%,
    rgba(255, 241, 227, 0.14) 100%
  );
  background-size: 190% 190%;
  background-position: var(--mx, 50%) var(--my, 50%);
  opacity: 0;
  transition: opacity 180ms ease, background-position 140ms ease-out;
  z-index: 0;
}

.experience-card > * {
  position: relative;
  z-index: 1;
}

.experience-card:hover,
.experience-card:focus-visible {
  transform: scale(1.018);
  box-shadow: 0 14px 28px rgba(230, 201, 188, 0.2);
  border-color: #e18530;
}

.experience-card:hover::before,
.experience-card:focus-visible::before {
  opacity: 1;
}

.about-focus-card {
  background: #fff1e3;
  border: 1px solid #dec5b4;
  border-radius: 18px;
  padding: 1.2rem 1rem 1.35rem;
  min-height: 280px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.about-main {
  display: grid;
  align-content: start;
}

.about-symbols {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.about-symbol {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ffe3c6;
  border: 1px solid #ddb896;
  font-size: 2.3rem;
  line-height: 1;
}

.about-symbol img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}

.about-lines {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: #4b220f;
  font-weight: 700;
  font-size: 1.12rem;
}

.about-side-card {
  background: #fff8ef;
  border: 1px solid #dfc9b6;
  border-radius: 16px;
  padding: 0.9rem;
}

.about-side-card h3 {
  margin: 0 0 0.45rem;
  color: #ad4617;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.about-side-card p {
  margin: 0;
  color: #322d33;
  font-size: 1rem;
  line-height: 1.5;
}

.about-narrative-card {
  background: transparent;
  border: transparent;
  border-radius: 18px;
  padding: 1.1rem 1.05rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-narrative-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    120deg,
    rgba(255, 241, 227, 0.12) 0%,
    rgba(247, 226, 189, 0.42) 45%,
    rgba(247, 234, 187, 0.5) 70%,
    rgba(255, 241, 227, 0.1) 100%
  );
  background-size: 190% 190%;
  background-position: var(--mx, 50%) var(--my, 50%);
  opacity: 0;
  transition: opacity 180ms ease, background-position 140ms ease-out;
  z-index: 0;
}

.about-narrative-card > * {
  position: relative;
  z-index: 1;
}

.about-narrative-card:hover::before {
  opacity: 1;
}

.about-narrative-card h3 {
  margin: 0 0 0.7rem;
  color: #522601c6;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
}

.about-narrative-card p {
  margin: 0;
  color: #491b07;
  font-size: 1rem;
  line-height: 1.56;
}

.about-narrative-card p + p {
  margin-top: 0.72rem;
}

.typing-cursor::after {
  content: "";
  display: inline-block;
  width: 0.58ch;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: #a24a1c;
  border-radius: 1px;
  animation: typeCaretBlink 720ms steps(1, end) infinite;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff1e3;
  border: 1px solid #ddbba3;
  color: #8f3712;
  font-weight: 700;
  padding: 0.45rem 0.78rem;
  font-size: 0.95rem;
}

.competency-profile {
  display: grid;
  gap: 0.7rem;
  max-height: min(56dvh, 560px);
  overflow-y: auto;
  padding-right: 0.35rem;
}

.competency-group {
  background:#f5f0ed98;
  border: transparent;
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.competency-group h3 {
  margin: 0;
  color: #8f3812ca;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
}

.competency-lead {
  margin: 0.22rem 0 0;
  color: #6f3a1c;
  font-weight: 700;
  font-size: 0.92rem;
}

.competency-group ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
  color: #322d33;
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.competency-tools,
.competency-signal {
  margin: 0.45rem 0 0;
  color: #5c3018;
  font-size: 0.88rem;
  font-weight: 600;
}

.career-journey-list {
  display: grid;
  gap: 0.55rem;
  max-height: min(50dvh, 500px);
  overflow-y: auto;
  padding-right: 0.35rem;
}

.career-item {
  border: none;
  border-radius: 14px;
  background: transparent;
  padding: 0.55rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.24rem;
}

.career-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.career-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e4d5c8;
}

.career-summary-text h3 {
  margin: 0;
  color: #8f3712;
  font-size: 1.02rem;
  line-height: 1.2;
  text-shadow: 0 0 8px rgba(255, 229, 206, 0.32);
}

.career-summary-text p {
  margin: 0.1rem 0 0;
  color: #8f3712;
  font-size: 0.9rem;
  text-shadow: 0 0 7px rgba(255, 229, 206, 0.26);
}

.career-date {
  color: #8f3712;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: normal;
  text-align: center;
  text-shadow: 0 0 8px rgba(255, 229, 206, 0.3);
}

.career-meta {
  margin: 0;
  color: #8f3712;
  font-size: 0.9rem;
  text-align: center;
  white-space: normal;
  text-shadow: 0 0 7px rgba(255, 229, 206, 0.24);
}

#career-journey .page-shell {
  margin: clamp(3.6rem, 6.8vh, 4.6rem) 0;
}

.projects {
  min-height: 100dvh;
  scroll-margin-top: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
}

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 0.55rem;
}

.gallery-card {
  border: 1px solid rgba(255, 236, 218, 0.8);
  background-image: url("images/card_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 14px 28px rgba(40, 18, 8, 0.22);
  cursor: default;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: none;
  box-shadow: 0 14px 28px rgba(40, 18, 8, 0.22);
}

.gallery-type {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff0dd;
  font-size: 0.9rem;
}

.gallery-logo {
  width: min(190px, 58%);
  height: auto;
  object-fit: contain;
  margin-bottom: 0.45rem;
}

.gallery-company {
  margin: 0 0 0.45rem;
  color: #fff7ed;
  font-size: clamp(1.85rem, 2.8vw, 2.25rem);
  line-height: 1.05;
  text-shadow: 0 2px 5px rgba(40, 16, 6, 0.45);
}

.gallery-meta {
  margin: 0.12rem 0;
  color: #fff7ef;
  font-size: 1.02rem;
  text-shadow: 0 1px 4px rgba(40, 16, 6, 0.35);
}

.gallery-description {
  margin: 0.65rem 0 0;
  color: #fffaf4;
  font-size: 1.18rem;
  line-height: 1.35;
  text-shadow: 0 1px 5px rgba(40, 16, 6, 0.4);
}

.gallery-hint {
  margin: 0.7rem 0 0;
  color: #fff7ea;
  font-weight: 700;
}

.project-deck {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.deck-stage {
  position: relative;
  min-height: 360px;
  isolation: isolate;
}

.deck-nav {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 242, 235, 0.7);
  background: rgba(255, 250, 246, 0.2);
  color: #fff8f4;
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}

.deck-nav:hover,
.deck-nav:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 250, 246, 0.35);
}

.deck-card {
  min-height: 320px;
  border: 1px solid rgba(255, 241, 231, 0.75);
  border-radius: 26px;
  padding: 1.4rem;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(25, 12, 8, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: grid;
  align-content: start;
  gap: 0.45rem;
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), opacity 460ms ease, box-shadow 460ms ease;
  background-image: url("images/card_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.deck-card:hover,
.deck-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(25, 12, 8, 0.33);
}

.deck-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(22, 10, 7, 0.12), rgba(22, 10, 7, 0.08));
  z-index: 0;
}

.deck-card > * {
  position: relative;
  z-index: 1;
}

.deck-card.slot-active {
  z-index: 3;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.deck-card.slot-prev {
  z-index: 2;
  opacity: 0.78;
  transform: translateX(-16%) scale(0.9);
}

.deck-card.slot-next {
  z-index: 2;
  opacity: 0.78;
  transform: translateX(16%) scale(0.9);
}

.project-type {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff0de;
  text-shadow: 0 1px 2px rgba(24, 8, 5, 0.55);
}

.deck-card h3 {
  font-size: clamp(1.85rem, 2.9vw, 2.35rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: #fff7ee;
  text-shadow: 0 2px 4px rgba(25, 10, 7, 0.62);
}

.deck-card p {
  margin: 0;
  color: #fff3e6;
  text-shadow: 0 1px 3px rgba(24, 8, 5, 0.58);
}

.deck-logo {
  width: min(180px, 52%);
  height: auto;
  max-height: 58px;
  object-fit: contain;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  margin-bottom: 0.1rem;
}

.deck-company {
  margin: 0;
}

.deck-role,
.deck-location,
.deck-period {
  font-size: 1.15rem;
  line-height: 1.3;
}

.deck-description {
  margin-top: 0.2rem;
  font-size: 1.32rem;
  line-height: 1.35;
}

.deck-hint {
  margin-top: 0.75rem;
  font-size: 1.15rem;
  color: #fff4e7;
  font-weight: 600;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 16, 20, 0.55);
  display: grid;
  place-items: center;
  padding: 1.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

body:has(.modal.open) .scroll-cue {
  opacity: 0;
  pointer-events: none;
}

.modal-panel {
  width: min(650px, 100%);
  border-radius: 60px;
  background: #ffffff;
  border: transparent;
  box-shadow: 0 20px 45px rgba(249, 249, 249, 0.22);
  padding: 1.4rem 1.4rem 1.5rem;
  position: relative;
  transform: translateY(12px) scale(0.98);
  transition: transform 180ms ease;
  max-height: 90vh;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  --scroll-indicator-y: 0px;
  --scroll-indicator-opacity: 0;
}

.modal-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.modal-panel::after {
  display: none;
}

.modal.open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal.wide .modal-panel {
  width: min(760px, 92%);
}

.modal.artwork .modal-panel {
  width: min(1000px, 94%);
  max-height: 92vh;
  overflow: hidden;
  padding: 0.9rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.modal.artwork .modal-panel::after {
  opacity: 0;
}

.modal.artwork #modal-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal.artwork .job-bubble {
  margin: 0;
  padding: 0.25rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
}

.modal.artwork .modal-close {
  color: #ffffff;
  background: rgba(17, 16, 20, 0.45);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.modal-type {
  margin: 0;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
}

#modal-title {
  margin: 0.3rem 0 0.7rem;
  font-size: 1.75rem;
}

#modal-description {
  color: var(--ink-soft);
  margin: 0 0 0.8rem;
}

#modal-bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink);
}

#modal-bullets li + li {
  margin-top: 0.35rem;
}

#modal-content .modal-type {
  margin: 0;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
}

#modal-content h3 {
  margin: 0.3rem 0 0.7rem;
  font-size: 1.75rem;
}

#modal-content .modal-description {
  color: var(--ink-soft);
  margin: 0 0 0.8rem;
}

#modal-content ul {
  margin: 0;
  padding-left: 1.15rem;
}

#modal-content li + li {
  margin-top: 0.35rem;
}

.job-bubble {
  margin-top: 0.7rem;
  background: #FFF1E3;
  border: 1px solid #d7b9a8;
  border-radius: 14px;
  padding: 0.85rem;
}

.job-bubble h4 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  color: #a93f16;
}

.job-bubble p {
  margin: 0;
  color: #2f2f35;
}

.experience-header-large {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.65rem;
  margin: 0 0 0.8rem;
  justify-items: center;
}

.experience-logo-large {
  width: calc(100% - 96px);
  max-width: calc(100% - 96px);
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  display: block;
  margin-inline: auto;
}

.experience-role {
  margin: 0;
  font-size: 1.05rem;
  color: #5a4638;
  font-weight: 600;
}

.experience-company {
  margin: 0;
  font-size: 1.15rem;
  color: #a93f16;
  font-weight: 700;
}

.experience-detail {
  margin: 0;
  font-size: 0.98rem;
  color: #6c5041;
}

.experience-url {
  font-size: 0.88rem;
  color: #8e3f23;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: fit-content;
}

.siemens-layout {
  margin-top: 0.2rem;
}

.siemens-title {
  color: #af3f16;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.siemens-subtitle {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: #d96b2a;
  font-weight: 700;
}

.siemens-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.siemens-block {
  background: #FFF1E3;
  border: 1px solid #dec5b6;
  border-radius: 16px;
  padding: 0.9rem;
}

.siemens-block h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #af3f16;
}

.siemens-block p {
  margin: 0;
  color: #2f2f35;
}

.siemens-flow {
  display: grid;
  gap: 0.5rem;
}

.siemens-chip {
  display: inline-block;
  background: #b84b1e;
  color: #fff7ef;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.siemens-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.siemens-step {
  background: #cc5c27;
  color: #fff6ee;
  border-radius: 14px;
  padding: 0.65rem;
  border: 1px solid #a93f16;
  min-height: 170px;
}

.siemens-step h5 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.siemens-step p {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
}

.siemens-step-icon {
  width: 42px;
  height: 42px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
}

.siemens-graph-box {
  margin-top: 0.5rem;
  border: 1px solid #dbccc0;
  border-radius: 14px;
  overflow: hidden;
  background: #eef0ef;
}

.siemens-graph-box svg {
  display: block;
  width: 100%;
  height: auto;
}

.siemens-graph-image {
  display: block;
  width: 100%;
  height: auto;
}

.cra-layout h3 {
  font-size: clamp(1.8rem, 3.4vw, 2.3rem);
}

.cra-layout {
  display: grid;
  gap: 0.7rem;
}

.cra-context {
  margin: 0;
}

.cra-layout .job-bubble {
  margin-top: 0;
}

.cra-context-card {
  background: #FFF1E3;
  border: 1px solid #d7b9a8;
  border-radius: 16px;
  padding: 0.9rem;
}

.cra-context-card h4 {
  margin: 0 0 0.45rem;
  font-size: 1.6rem;
  color: #a93f16;
  font-family: "Fraunces", serif;
}

.cra-context-card p {
  margin: 0;
  color: #2f2f35;
}

.cra-steps {
  display: grid;
  gap: 0.7rem;
}

.cra-step {
  border: 1px solid #d7b9a8;
  background: #FFF1E3;
  border-radius: 14px;
  padding: 0.8rem 0.85rem;
}

.cra-step h4 {
  margin: 0 0 0.2rem;
  color: #a93f16;
  font-size: 1rem;
}

.cra-step p {
  margin: 0;
  color: #332f35;
}

.cra-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f4dccd;
  border: 1px solid #debb9f;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}

.uche-layout {
  display: grid;
  gap: 0.75rem;
}

.uche-title {
  color: #af3f16;
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  margin-bottom: 0.15rem;
}

.uche-subtitle {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  color: #d96b2a;
  font-weight: 700;
}

.uche-block {
  background: #FFF1E3;
  border: 1px solid #d7b9a8;
  border-radius: 16px;
  padding: 0.9rem;
}

.uche-block h4 {
  margin: 0 0 0.45rem;
  color: #a93f16;
  font-size: 1.5rem;
  font-family: "Fraunces", serif;
}

.uche-block p {
  margin: 0;
  color: #2f2f35;
}

.uche-chip {
  display: inline-block;
  background: #b84b1e;
  color: #fff7ef;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.uche-steps {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.uche-step {
  border: 1px solid #d7b9a8;
  border-radius: 12px;
  background: #fff8f3;
  padding: 0.65rem;
}

.uche-step h5 {
  margin: 0 0 0.25rem;
  color: #a93f16;
  font-size: 1rem;
}

.uche-step p {
  margin: 0;
}

.uche-images {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.65rem;
  justify-items: center;
}

.uche-image-card {
  margin: 0;
  border: 1px solid #d7b9a8;
  border-radius: 12px;
  overflow: hidden;
  background: #fffdfb;
  width: min(560px, 100%);
}

.uche-image-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  background: #ffffff;
}

.uche-image-card figcaption {
  padding: 0.45rem 0.6rem 0.6rem;
  font-size: 0.88rem;
  color: #6c5041;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: none;
  background: transparent;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cueBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(6px);
  }
}

@keyframes cueBounceUp {
  0%,
  100% {
    transform: translateY(0);
  }
  45% {
    transform: translateY(-6px);
  }
}

@keyframes typeCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

@keyframes orbitZoomIn {
  from {
    opacity: 0;
    transform: scale(0.15);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 780px) {
  .hero {
    padding-top: 2.4rem;
    min-height: 100dvh;
    height: 100dvh;
  }

  .scroll-cue {
    width: 110px;
    gap: 6px;
    bottom: 0.85rem;
  }

  .scroll-cue-part {
    width: 98px;
    height: 28px;
  }

  .scroll-cue .part-1 {
    width: 84px;
    height: 22px;
  }

  .scroll-cue .part-2 {
    width: 92px;
    height: 25px;
  }

  .scroll-cue-up {
    margin: 0 auto 0.8rem;
  }

  .page-nav .scroll-cue-up {
    top: 1.15rem;
    bottom: auto;
  }

  .page-nav .scroll-cue-down {
    bottom: 1.15rem;
    top: auto;
  }

  .hero-bubble {
    min-height: 560px;
    background-position: 62% center;
  }

  .hero-toc {
    gap: 0.38rem;
    margin-top: 0.55rem;
    padding: 0 0.25rem;
  }

  .toc-bubble {
    font-size: 0.74rem;
    padding: 0.26rem 0.62rem;
  }

  .orbit-a {
    --size: 180px;
    left: -10%;
  }

  .orbit-b {
    --size: 62px;
    left: 45%;
  }

  .orbit-c {
    --size: 180px;
    right: -8%;
    top: 2%;
  }

  .orbit-d {
    --size: 96px;
    left: 37%;
    bottom: 5.8%;
  }

  .orbit-e {
    --size: 108px;
    right: 18%;
    bottom: 4.8%;
  }

  .orbit-f {
    --size: 72px;
    right: 30%;
    bottom: 5.4%;
  }

  .hero-copy {
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    width: auto;
    padding: 0.9rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-shell {
    border-radius: 20px;
    padding: 1rem;
    margin: 3.2rem 0;
  }

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

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

  .competency-profile {
    max-height: min(56dvh, 540px);
  }

  .artwork-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: stretch;
    height: auto;
  }

  .career-item {
    align-items: center;
    text-align: center;
  }

  .project-deck {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .deck-stage {
    min-height: 340px;
  }

  .deck-card.slot-prev {
    transform: translateX(-10%) scale(0.9);
  }

  .deck-card.slot-next {
    transform: translateX(10%) scale(0.9);
  }

  .deck-nav {
    width: 48px;
    height: 48px;
  }

  #deck-prev {
    justify-self: start;
  }

  #deck-next {
    justify-self: end;
  }

  .modal-panel {
    padding-top: 1.8rem;
  }

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

  .siemens-steps {
    grid-template-columns: 1fr;
  }
}
