html {
  --contact-clearance: calc(8.5rem + env(safe-area-inset-bottom, 0px));
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

html.is-nav-scrolling {
  scroll-snap-type: none;
}

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

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100lvh;
  margin: 0;
  overflow-x: hidden;
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.75rem);
  line-height: 1.6;
}

.page-section {
  width: min(calc(100% - 20rem), 48rem);
  margin-left: max(17rem, calc((100% - 48rem) / 2));
  margin-right: 2rem;
}

.intro {
  display: flex;
  width: min(calc(100% - 4rem), 72rem);
  margin-inline: auto;
  margin-block: auto;
  padding-block: clamp(2rem, 6vh, 4rem);
  align-items: center;
  justify-content: center;
}

.snap-section {
  min-height: 100vh;
  min-height: 100lvh;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.page-section.snap-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 0;
  padding-top: clamp(4.5rem, 9vh, 6rem);
  scroll-margin-top: 0;
}

.section-inner {
  width: 100%;
}

.intro__content {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  flex-wrap: nowrap;
  transform: translateY(clamp(-7rem, -10vh, -4.5rem));
}

.intro__image {
  width: min(18rem, 40vw);
  max-width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 56%;
  mix-blend-mode: lighten;
  filter: saturate(0.82) contrast(1.2) brightness(0.88);
  opacity: 0.88;
  -webkit-mask-image: radial-gradient(
    ellipse 66% 62% at 50% 54%,
    #000 30%,
    rgba(0, 0, 0, 0.92) 48%,
    transparent 82%
  );
  mask-image: radial-gradient(
    ellipse 66% 62% at 50% 54%,
    #000 30%,
    rgba(0, 0, 0, 0.92) 48%,
    transparent 82%
  );
}

.intro__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

body > :not(.site-glow):not(.section-nav):not(.theme-toggle):not(.contact-dock) {
  position: relative;
  z-index: 1;
}

.theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(12, 12, 14, 0.68);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  backdrop-filter: blur(12px);
  z-index: 4;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  transform: rotate(8deg) scale(1.05);
}

.theme-toggle:disabled {
  cursor: not-allowed;
}

.theme-toggle:disabled:hover {
  color: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.18);
  transform: none;
}

.theme-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.theme-toggle svg {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 0.2s ease,
    transform 0.25s ease;
}

.theme-toggle__sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.theme-toggle__moon {
  opacity: 0;
  transform: scale(0.6) rotate(-20deg);
}

.section-nav {
  position: fixed;
  top: 50%;
  left: clamp(1rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
  z-index: 2;
}

.section-nav__link {
  position: relative;
  padding: 0.6rem 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease,
    transform 0.2s ease;
}

.section-nav__link::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -1px;
  width: 2px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.section-nav__link:hover,
.section-nav__link:focus-visible {
  color: rgba(255, 255, 255, 0.72);
  transform: translateX(0.35rem);
}

.section-nav__link.is-active {
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.28);
}

.section-nav__link.is-active::before {
  background: #fff;
}

.section-nav__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.section-nav__indicator {
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: var(--nav-indicator-size, 0);
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 1),
    0 0 16px rgba(255, 255, 255, 0.9),
    0 0 36px rgba(255, 255, 255, 0.68),
    0 0 64px rgba(255, 255, 255, 0.4);
  pointer-events: none;
  transform: translateY(var(--nav-indicator-pos, 0));
}

.section-nav.is-ready .section-nav__indicator {
  transition:
    transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1),
    height 0.28s cubic-bezier(0.34, 1.35, 0.64, 1),
    width 0.28s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.section-nav.is-transitioning .section-nav__link.is-active {
  animation: nav-label-bounce 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-nav.has-indicator .section-nav__link::before {
  display: none;
}

@keyframes nav-label-bounce {
  0% {
    transform: scale(1);
  }

  55% {
    transform: scale(1.07);
  }

  100% {
    transform: scale(1);
  }
}

.page-section {
  position: relative;
  margin-top: clamp(3rem, 8vh, 6rem);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 6vh, 4rem) 1.5rem;
  scroll-margin-top: 5rem;
}

.section-title {
  margin: 0 0 clamp(0.5rem, 1.5vh, 1rem);
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-title--subsection {
  margin-top: 1.5rem;
}

.section-content {
  max-width: none;
  color: rgba(255, 255, 255, 0.72);
}

.section-content h3,
.section-content p {
  margin: 0;
}

.section-content h3 {
  margin-bottom: 0.5rem;
  color: #fff;
}

.section-list,
.experience-list {
  display: grid;
  gap: 0.5rem;
}

.experience-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.65rem, 1.5vh, 0.9rem) 0
    clamp(0.65rem, 1.5vh, 0.9rem) 1.25rem;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.experience-item:hover,
.experience-item.is-touch-active {
  border-left-color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 70%);
}

.experience-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -2px;
  width: 2px;
  background: transparent;
  pointer-events: none;
  transition: background-color 180ms ease, box-shadow 220ms ease;
}

.experience-item:hover::before,
.experience-item.is-touch-active::before {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.75),
    0 0 16px rgba(255, 255, 255, 0.42),
    0 0 36px rgba(255, 255, 255, 0.2);
}

.experience-item > div {
  flex: 1 1 auto;
  min-width: 0;
}

.experience-item h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
}

.role-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.role-date {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.work-title {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  line-height: 1.35;
}

.section-content .experience-summary {
  max-width: 44rem;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  text-wrap: pretty;
}

.skill-list {
  display: flex;
  margin: 0.65rem 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.skill-list li {
  display: inline-flex;
  min-height: 2.15rem;
  padding: 0.35rem 0.65rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  line-height: 1.2;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 220ms ease,
    transform 180ms ease;
}

.skill-list li:hover,
.skill-list li.is-touch-active {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.07);
  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.55),
    0 0 16px rgba(255, 255, 255, 0.22),
    0 0 36px rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.project-tech-stack {
  margin-top: 0.75rem;
}

.project-tech-stack li {
  min-height: 1.8rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.7rem;
}

.skill-list li > i,
.skill-icon {
  display: inline-flex;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 1.15rem;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.skill-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skill-icon--pair {
  width: 1.8rem;
  flex-basis: 1.8rem;
  gap: 0.1rem;
}

.skill-icon--pair i {
  font-size: 0.95rem;
}

.skill-icon--flag {
  font-size: 1rem;
}

.skill-level {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.68rem;
}

.project-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-link {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

.project-link .project-external-icon {
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-link:focus-visible {
  outline: none;
}

.project-link .project-external-icon:hover,
.project-link:focus-visible .project-external-icon {
  opacity: 1;
  transform: translateY(-1px) scale(1.1);
}

.project-link:focus-visible .project-external-icon {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.project-external-icon {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.72;
}

.project-summary {
  max-width: 44rem;
  text-wrap: pretty;
}

.company-link {
  display: block;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  border-radius: 0.2rem;
  text-decoration: none;
  transition: transform 180ms ease;
}

.company-link:hover {
  transform: translateY(-2px) scale(1.05);
}

.company-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.company-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0.55rem;
  object-fit: contain;
}

.company-logo--brock {
  object-fit: cover;
  object-position: center;
}

.company-logo--td {
  transform: scale(1.55);
}

.site-glow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

html:not([data-theme="light"]) .site-glow {
  opacity: 0.82;
}

.site-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 14%,
      rgba(255, 255, 255, 0.06),
      transparent 22%
    ),
    radial-gradient(ellipse 75% 55% at 50% 100%, transparent 0 45%, #000 78%);
}

.beam {
  position: absolute;
  top: -60vh;
  left: 50%;
  width: min(10rem, 18vw);
  height: max(70rem, 140vh);
  border-radius: 999px;
  filter: blur(1px);
  transform-origin: center;
}

.beam--one {
  margin-left: max(-31rem, -32vw);
  transform: rotate(-38deg);
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.022) 48%,
    transparent 72%
  );
}

.beam--two {
  margin-left: max(-18rem, -19vw);
  transform: rotate(-38deg);
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.085),
    rgba(255, 255, 255, 0.016) 48%,
    transparent 72%
  );
}

.beam--three {
  margin-left: min(5rem, 7vw);
  transform: rotate(-38deg);
  background: radial-gradient(
    ellipse,
    rgba(216, 255, 105, 0.075),
    rgba(255, 255, 255, 0.015) 45%,
    transparent 72%
  );
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}

.bar {
  display: flex;
  justify-content: center;
  gap: 50px;
}

#Name {
  text-align: left;
  font-size: clamp(3.25rem, 2.5rem + 2.2vw, 4.75rem);
  font-weight: 700;
  line-height: 1.1;
}

#Description {
  text-align: left;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem);
  line-height: 1.3;
}

#Location {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4em;
  color: rgba(255, 255, 255, 0.75);
}

.location-pin {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body > .contact-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 max(1rem, 4vw) max(0.75rem, 2vh);
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  will-change: opacity, transform;
  z-index: 20;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0s linear;
}

body > .contact-dock.is-scrolling,
body > .contact-dock.is-obstructed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
}

.contact-reveal {
  position: relative;
  display: flex;
  width: min(42rem, 100%);
  margin: 0 auto;
  flex-direction: column;
  align-items: center;
}

.contact-reveal::before {
  content: "";
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  width: min(12rem, 50vw);
  height: 6rem;
  transform: translateX(-50%);
}

.contact-links {
  position: absolute;
  bottom: 3.95rem;
  left: 0;
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(2.75rem) scale(0.72);
  transform-origin: center bottom;
  z-index: 1;
  transition:
    opacity 0.14s ease-out,
    transform 0.28s cubic-bezier(0.2, 0.9, 0.25, 1.25);
}

.contact-link {
  display: flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transform: translateY(0.75rem);
  transition:
    color 0.2s ease,
    transform 0.22s cubic-bezier(0.2, 0.9, 0.25, 1.25);
}

.contact-link svg {
  width: 1.6rem;
  height: 1.6rem;
}

.contact-link--filled svg {
  fill: currentColor;
}

.contact-link--email svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #fff;
  transform: translateY(-2px);
}

.contact-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.contact-label {
  margin: 0 0 0.2rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-lightbar {
  position: relative;
  width: min(8rem, 45vw);
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.contact-lightbar::before,
.contact-lightbar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition:
    width 0.45s ease-in-out,
    opacity 0.35s ease-in-out;
}

.contact-lightbar::before {
  top: 50%;
  width: 50%;
  height: 2px;
  background: #fff;
  box-shadow:
    0 0 6px rgba(255, 255, 255, 1),
    0 0 16px rgba(255, 255, 255, 0.9),
    0 0 36px rgba(255, 255, 255, 0.68),
    0 0 64px rgba(255, 255, 255, 0.4);
}

.contact-lightbar::after {
  top: -1rem;
  width: 55%;
  height: 5rem;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(255, 255, 255, 0.36),
    transparent 70%
  );
  filter: blur(16px);
  opacity: 0.8;
}

.contact-reveal.is-hover-open .contact-links,
.contact-reveal:focus-within .contact-links,
.contact-reveal.is-open .contact-links {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0.3s;
}

.contact-reveal.is-hover-open .contact-link,
.contact-reveal:focus-within .contact-link,
.contact-reveal.is-open .contact-link {
  transform: translateY(0);
}

.contact-reveal.is-hover-open .contact-link:nth-child(1),
.contact-reveal:focus-within .contact-link:nth-child(1),
.contact-reveal.is-open .contact-link:nth-child(1) {
  transition-delay: 0.3s;
}

.contact-reveal.is-hover-open .contact-link:nth-child(2),
.contact-reveal:focus-within .contact-link:nth-child(2),
.contact-reveal.is-open .contact-link:nth-child(2) {
  transition-delay: 0.3s;
}

.contact-reveal.is-hover-open .contact-link:nth-child(3),
.contact-reveal:focus-within .contact-link:nth-child(3),
.contact-reveal.is-open .contact-link:nth-child(3) {
  transition-delay: 0.3s;
}

.contact-reveal:is(.is-hover-open, .is-open, :focus-within) .contact-link:hover,
.contact-reveal:is(.is-hover-open, .is-open, :focus-within) .contact-link:focus-visible {
  transition-delay: 0s;
}

.contact-reveal .contact-link:hover,
.contact-reveal .contact-link:focus-visible {
  transform: translateY(-2px);
}

.contact-reveal.is-hover-open .contact-lightbar::before,
.contact-reveal:focus-within .contact-lightbar::before,
.contact-reveal.is-open .contact-lightbar::before {
  width: 100%;
}

.contact-reveal.is-hover-open .contact-lightbar::after,
.contact-reveal:focus-within .contact-lightbar::after,
.contact-reveal.is-open .contact-lightbar::after {
  width: 80%;
  opacity: 1;
}

.contact-lightbar:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  body {
    padding-top: 3.75rem;
    font-size: 1.125rem;
  }

  .intro {
    padding-left: 0;
  }

  .intro__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro__image {
    width: min(16rem, 70vw);
  }

  .intro__copy {
    align-items: center;
  }

  #Name,
  #Description,
  #Location {
    text-align: center;
  }

  .section-nav {
    position: fixed;
    top: 0;
    left: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
    padding: 0.35rem 0;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    transform: none;
    scrollbar-width: none;
  }

  .section-nav::-webkit-scrollbar {
    display: none;
  }

  .section-nav__link::before {
    inset: auto -1px 0 0;
    width: auto;
    height: 2px;
  }

  .section-nav__link {
    min-width: 0;
    text-align: center;
  }

  .section-nav__link:hover,
  .section-nav__link:focus-visible {
    transform: none;
  }

  .section-nav__indicator {
    top: auto;
    bottom: -1px;
    left: 0;
    width: var(--nav-indicator-size, 0);
    height: 2px;
    transform: translateX(var(--nav-indicator-pos, 0));
  }

  .intro,
  .page-section {
    width: 94%;
    margin-inline: auto;
  }

  #Name {
    font-size: 2.5rem;
  }

  #Description {
    font-size: 1.25rem;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .intro,
  .page-section {
    width: 94%;
  }

  .page-section {
    padding: 1.35rem;
  }

  .experience-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2rem;
  }

  .role-heading {
    gap: 0.25rem 0.5rem;
  }

  .role-date {
    font-size: 0.68rem;
  }

  .section-nav__link {
    padding: 0.45rem 0.2rem;
    font-size: clamp(0.65rem, 2.7vw, 0.8rem);
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #Name {
    font-size: 2rem;
  }

  #Description {
    font-size: 1.125rem;
  }
}

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

  .contact-links,
  .contact-dock,
  .contact-lightbar::before,
  .contact-lightbar::after,
  .section-nav__indicator,
  .section-nav__link,
  .experience-item,
  .experience-item::before,
  .skill-list li,
  .company-link {
    transition: none;
    animation: none;
  }

  .section-nav.is-transitioning .section-nav__link.is-active {
    animation: none;
  }

  .section-nav__link:hover,
  .section-nav__link:focus-visible {
    transform: none;
  }
}

html[data-theme="light"],
html[data-theme="light"] body {
  background-color: #fdfaf6;
  color: #1c1917;
}

html[data-theme="light"] .site-glow::before {
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.34), transparent 28%),
    radial-gradient(ellipse 80% 55% at 50% 100%, transparent 0 55%, rgba(238, 232, 223, 0.28) 100%);
}

html[data-theme="light"] .beam--one {
  background: radial-gradient(
    ellipse,
    rgba(75, 68, 60, 0.08),
    rgba(75, 68, 60, 0.015) 48%,
    transparent 72%
  );
}

html[data-theme="light"] .beam--two,
html[data-theme="light"] .beam--three {
  background: radial-gradient(
    ellipse,
    rgba(75, 68, 60, 0.045),
    rgba(75, 68, 60, 0.008) 48%,
    transparent 72%
  );
}

html[data-theme="light"] .grain {
  opacity: 0.06;
}

html[data-theme="light"] .intro__image {
  mix-blend-mode: multiply;
  filter: grayscale(0.2) saturate(0.75) contrast(1.05) brightness(1.1);
  opacity: 0.8;
}

html[data-theme="light"] .section-nav {
  border-color: rgba(28, 25, 23, 0.2);
}

html[data-theme="light"] .section-nav__link {
  color: rgba(28, 25, 23, 0.52);
}

html[data-theme="light"] .section-nav__link:hover,
html[data-theme="light"] .section-nav__link:focus-visible {
  color: rgba(28, 25, 23, 0.78);
}

html[data-theme="light"] .section-nav__link.is-active {
  color: #1c1917;
  text-shadow: none;
}

html[data-theme="light"] .section-nav__link.is-active::before,
html[data-theme="light"] .section-nav__indicator {
  background: #1c1917;
  box-shadow:
    0 0 6px rgba(28, 25, 23, 0.55),
    0 0 16px rgba(28, 25, 23, 0.34),
    0 0 36px rgba(28, 25, 23, 0.2);
}

html[data-theme="light"] .section-nav__link:focus-visible,
html[data-theme="light"] .contact-link:focus-visible,
html[data-theme="light"] .contact-lightbar:focus-visible {
  outline-color: #1c1917;
}

html[data-theme="light"] .section-content,
html[data-theme="light"] #Location {
  color: rgba(28, 25, 23, 0.68);
}

html[data-theme="light"] .section-title,
html[data-theme="light"] .role-date,
html[data-theme="light"] .work-title {
  color: rgba(28, 25, 23, 0.55);
}

html[data-theme="light"] .section-content .experience-summary {
  color: rgba(28, 25, 23, 0.68);
}

html[data-theme="light"] .section-content h3 {
  color: #1c1917;
}

html[data-theme="light"] .experience-item {
  border-left-color: rgba(28, 25, 23, 0.16);
}

html[data-theme="light"] .experience-item:hover,
html[data-theme="light"] .experience-item.is-touch-active {
  border-left-color: rgba(28, 25, 23, 0.72);
  background: linear-gradient(90deg, rgba(28, 25, 23, 0.05), transparent 70%);
}

html[data-theme="light"] .experience-item:hover::before,
html[data-theme="light"] .experience-item.is-touch-active::before {
  background: rgba(28, 25, 23, 0.9);
  box-shadow:
    0 0 6px rgba(28, 25, 23, 0.55),
    0 0 16px rgba(28, 25, 23, 0.3),
    0 0 36px rgba(28, 25, 23, 0.14);
}

html[data-theme="light"] .skill-list li:hover,
html[data-theme="light"] .skill-list li.is-touch-active {
  border-color: rgba(28, 25, 23, 0.45);
  background: rgba(28, 25, 23, 0.06);
  box-shadow:
    0 0 6px rgba(28, 25, 23, 0.42),
    0 0 16px rgba(28, 25, 23, 0.18),
    0 0 36px rgba(28, 25, 23, 0.08);
}

html[data-theme="light"] .company-link:focus-visible {
  outline-color: #1c1917;
}

html[data-theme="light"] .contact-link {
  color: rgba(28, 25, 23, 0.58);
}

html[data-theme="light"] .contact-link:hover,
html[data-theme="light"] .contact-link:focus-visible,
html[data-theme="light"] .contact-label {
  color: #1c1917;
}

html[data-theme="light"] .contact-lightbar::before {
  background: #1c1917;
  box-shadow:
    0 0 6px rgba(28, 25, 23, 0.55),
    0 0 16px rgba(28, 25, 23, 0.34),
    0 0 36px rgba(28, 25, 23, 0.2);
}

html[data-theme="light"] .contact-lightbar::after {
  background: radial-gradient(ellipse, rgba(28, 25, 23, 0.16), transparent 70%);
}

html[data-theme="light"] .theme-toggle {
  border-color: rgba(28, 25, 23, 0.18);
  background: rgba(253, 250, 246, 0.76);
  color: rgba(28, 25, 23, 0.72);
}

html[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(28, 25, 23, 0.4);
  color: #1c1917;
}

html[data-theme="light"] .theme-toggle__sun {
  opacity: 0;
  transform: scale(0.6) rotate(20deg);
}

html[data-theme="light"] .theme-toggle__moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

@media (max-width: 900px) {
  .theme-toggle {
    top: 4.5rem;
    right: 0.75rem;
    width: 2.25rem;
    height: 2.25rem;
  }

  .section-nav {
    padding-right: 0;
  }

  html[data-theme="light"] .section-nav {
    border-bottom-color: rgba(28, 25, 23, 0.18);
    background: rgba(253, 250, 246, 0.88);
  }
}

/* Keep fixed contact controls out of each section's content area. */
.snap-section,
.page-section {
  padding-bottom: var(--contact-clearance);
}
