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

:root {
  --white: #ffffff;
  --black: #0a0a0a;
  --gray: #666;
  --light: #f0f0f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 400;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  letter-spacing: 0.06em;
}

body[data-static-directory] {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body[data-static-directory] > main {
  flex: 1 0 auto;
}

body[data-static-directory] > footer {
  flex-shrink: 0;
  margin-top: auto;
}

a {
  transition: color 0.15s, opacity 0.15s, background 0.1s, font-style 0.1s;
}

a:hover {
  font-style: italic;
}

.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;
}

/* NAV */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  padding: 22px 40px;
  background: transparent;
}

body[data-static-directory] > nav {
  position: fixed;
}

.nav-logo {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-decoration: none;
  font-weight: 400;
  position: absolute;
  top: 22px;
  right: 40px;
  z-index: 101;
  display: inline-block;
  min-width: 56px;
  min-height: 1.2em;
  text-align: right;
}

.nav-logo-name,
.nav-logo-hey {
  display: block;
  transition: opacity 0.15s ease;
}

.nav-logo-hey {
  position: absolute;
  inset: 0;
  opacity: 0;
  font-style: italic;
}

.nav-logo:hover .nav-logo-name {
  opacity: 0;
}

.nav-logo:hover .nav-logo-hey {
  opacity: 1;
}

.nav-links {
  position: absolute;
  inset: 0;
  display: block;
  list-style: none;
  pointer-events: none;
}

.nav-links li {
  position: absolute;
  pointer-events: auto;
}

.nav-links li:nth-child(1) {
  top: 22px;
  left: 40px;
}

.nav-links li:nth-child(2) {
  top: 70px;
  left: 24vw;
}

.nav-links li:nth-child(3) {
  top: 118px;
  right: 24vw;
}

.nav-links li:nth-child(4) {
  top: 160px;
  left: 57vw;
}

.nav-links li:nth-child(5) {
  top: 204px;
  right: 18vw;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease, font-style 0.1s, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--black);
}

body.is-scrolled .nav-links a,
body.is-scrolled .nav-logo {
  color: var(--black);
  text-shadow: 0 0 12px rgba(255,255,255,0.95);
}

.nav-links a.is-current,
.nav-logo.is-current,
.sticky-directory a.is-current {
  color: var(--black);
  font-style: italic;
}

.sticky-directory {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 16px 40px;
  background: rgba(255,255,255,0.96);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  filter: blur(4px);
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}

.sticky-directory.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  filter: blur(0);
}

.sticky-directory a {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-decoration: none;
}

.sticky-directory a:hover {
  color: var(--black);
}

/* SPLASH */
.splash {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 40px;
}

.splash-name {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(60px, 11vw, 140px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 40px;
}

.splash-name em {
  font-style: italic;
}

.splash-sub {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
  line-height: 2;
}

.splash-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  animation: marquee 18s linear infinite;
}

.marquee-text {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
  padding: 0 40px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 28px 40px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.section-count {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #767676;
}

/* ABOUT */
.about-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.about-left {
  padding: 80px 40px;
  display: flex;
  align-items: center;
}

.about-statement {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--black);
  max-width: none;
  margin-bottom: 0;
}

.about-statement em {
  font-style: italic;
}

.about-right {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.about-row-label {
  color: var(--gray);
}

.about-row-val {
  color: var(--black);
}

/* GRID / PORTFOLIO */
.section-page-main {
  padding-top: 240px;
}

.work-group {
  margin-bottom: 44px;
}

.work-group:last-child {
  margin-bottom: 0;
}

.work-group-label {
  padding: 0 40px 18px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.grid-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.grid-item {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  padding: 22px 24px 24px;
}

.grid-item:hover .grid-item-title,
.grid-item:hover .grid-item-role,
.grid-item:hover .grid-item-cat {
  font-style: italic;
}

.grid-item:hover .credential-id {
  font-style: normal;
}


.grid-item-description {
  max-width: 88%;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.35;
  letter-spacing: 0;
  color: rgba(10,10,10,0.62);
  margin: 0;
}

.grid-item-info {
  position: relative;
  z-index: 1;
}

.grid-item-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 8px;
}

.grid-item-role {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--black);
  margin-bottom: 6px;
}

.grid-item-cat {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* BLOG */
.blog-body {
  display: flex;
  flex-direction: column;
}

.writing-group {
  margin-bottom: 44px;
}

.writing-group:last-child {
  margin-bottom: 0;
}

.writing-group-label {
  padding: 0 40px 18px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.blog-row {
  display: grid;
  grid-template-columns: 100px 1fr 110px 40px;
  align-items: center;
  gap: 28px;
  padding: 22px 40px;
  text-decoration: none;
  color: inherit;
}

.blog-row:hover {
  background: #fafafa;
}

.blog-row:hover .blog-row-title {
  font-style: italic;
}

.blog-row-date {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.blog-row-title {
  font-size: clamp(17px, 1.35vw, 20px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--black);
}

.blog-row-cat {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
  text-align: right;
}

.blog-row-arrow {
  font-size: 11px;
  color: var(--gray);
  text-align: right;
}

/* WRITING GATE */
.writing-gate {
  display: flex;
  align-items: center;
  padding: 180px 40px 80px;
}

.writing-gate-panel {
  width: 100%;
  padding: 0;
}

.writing-gate-message {
  padding: 72px 0 16px;
}

.writing-gate-message h1 {
  margin: 0 0 18px;
  font-size: 52px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.writing-gate-message p {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--black);
}

.writing-gate-status {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* CONTACT */
body.contact-page {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.contact-page .section-page-main {
  min-height: 100vh;
  padding-top: 220px;
}

.contact-body {
  position: relative;
  min-height: calc(100vh - 360px);
  padding: 0 40px;
}

.contact-right {
  position: absolute;
  inset: 0 40px;
}

.contact-link {
  position: absolute;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  text-decoration: none;
  color: inherit;
}

.contact-link:nth-child(1) {
  top: 0;
  right: 4vw;
}

.contact-link:nth-child(2) {
  top: 15vh;
  left: 20vw;
}

.contact-link:nth-child(3) {
  top: 30vh;
  right: 22vw;
}

.contact-link:nth-child(4) {
  top: 43vh;
  left: 12vw;
}

.contact-link:nth-child(5) {
  top: 50vh;
  right: 7vw;
}

.contact-link:nth-child(6) {
  bottom: 0;
  left: 48vw;
}

.contact-link:hover {
  font-style: italic;
}

.contact-link-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.contact-link-val {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--black);
}

.contact-page footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}

/* FOOTER */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 40px;
}

.footer-copy {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.footer-sitemap {
  padding: 7px;
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.footer-sitemap:hover,
.footer-sitemap:focus-visible,
.footer-sitemap.is-current {
  color: var(--black);
  font-style: italic;
}

/* SITE MAP */
.sitemap-page-main {
  width: 100%;
  max-width: 980px;
  padding: 220px 40px 90px;
}

.sitemap-page-main h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.sitemap-kicker {
  margin-bottom: 22px;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sitemap-intro {
  margin-bottom: 54px;
  color: var(--gray);
  font-size: 15px;
  letter-spacing: 0;
}

.sitemap-links {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.sitemap-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 12px;
  border-top: 1px solid #dedede;
  color: var(--black);
  text-decoration: none;
}

.sitemap-item:last-child {
  border-bottom: 1px solid #dedede;
}

.sitemap-item:hover,
.sitemap-item:focus-visible {
  background: #fafafa;
}

.sitemap-number {
  color: var(--gray);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.sitemap-item-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sitemap-item-title {
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0;
}

.sitemap-item:hover .sitemap-item-title,
.sitemap-item:focus-visible .sitemap-item-title {
  font-style: italic;
}

.sitemap-item-description {
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0;
}

.sitemap-arrow {
  color: var(--gray);
  font-size: 20px;
}

/* NOT FOUND */
body.error-page {
  height: 100vh;
  overflow: hidden;
}

.error-page-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
  padding: 40px;
}

.error-code {
  margin-bottom: 18px;
  color: var(--gray);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.error-page-main h1 {
  max-width: none;
  margin-bottom: 32px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.error-home-link {
  display: inline-block;
  padding: 8px 0;
  color: var(--black);
  font-size: 14px;
  text-decoration: none;
}

.error-home-link:hover,
.error-home-link:focus-visible {
  font-style: normal;
}

.error-home-label {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--black);
  transition: color 0.18s ease;
}

.error-home-label::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--black);
  font-style: italic;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.error-home-link:hover .error-home-label,
.error-home-link:focus-visible .error-home-label {
  color: transparent;
}

.error-home-link:hover .error-home-label::after,
.error-home-link:focus-visible .error-home-label::after {
  opacity: 1;
}

.error-home-arrow {
  display: inline-block;
  font-style: normal;
}

/* STANDALONE ABOUT PAGE */
.about-page-main {
  padding-top: 240px;
}

.about-page-main .about-body {
  min-height: calc(100vh - 122px);
}

.essay-wrap {
  max-width: 760px;
  padding: 60px 40px 90px;
}

.essay-title {
  font-size: clamp(56px, 10vw, 120px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 52px;
}

.essay-body {
  max-width: 680px;
}

.essay-body p {
  max-width: none;
  margin-bottom: 24px;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.35;
  color: var(--black);
}

/* TIMELINE PAGE */
.timeline-page-main {
  padding-top: 0;
}

.timeline-about {
  padding: 240px 40px 0;
}

.timeline-about-copy {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: break-word;
  color: var(--black);
}

.timeline-divider {
  position: relative;
  width: 80px;
  height: 7px;
  margin: 48px 40px 0;
}

.timeline-divider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background: #d8d8d8;
}

.timeline-divider::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  width: 5px;
  height: 5px;
  background: var(--white);
  border: 1px solid #b8b8b8;
  transform: translateX(-50%) rotate(45deg);
}

.timeline-hero {
  padding: 24px 40px 0;
}

.timeline-intro {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: break-word;
  color: var(--black);
}

.timeline-list {
}

.timeline-entry {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 8px;
  padding: 15px 40px;
}

.timeline-entry:first-child {
  padding-top: 12px;
}

.timeline-date {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

.timeline-entry-body {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.timeline-entry h2 {
  margin-bottom: 4px;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.timeline-entry p {
  max-width: none;
}

.timeline-entry-body p {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.35;
  letter-spacing: 0;
  overflow-wrap: break-word;
  color: var(--black);
}

.timeline-entry-body p a {
  color: #686868;
  text-decoration-color: #b8b8b8;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.timeline-entry-body p a:hover {
  color: var(--black);
  text-decoration-color: var(--black);
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.splash-name {
  animation: fadeIn 1s ease both 0.2s;
  opacity: 0;
}

.splash-sub {
  animation: fadeIn 0.8s ease both 0.6s;
  opacity: 0;
}

.splash-scroll {
  animation: fadeIn 0.8s ease both 1s;
  opacity: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav {
    padding: 18px 20px;
  }

  .nav-logo {
    top: 18px;
    right: 20px;
  }

  .splash {
    padding: 0 20px;
  }

  .sticky-directory {
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
  }

  .section-header {
    padding: 22px 20px;
  }

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

  .about-left {
    padding: 60px 20px;
  }

  .about-right {
    padding: 40px 20px;
  }

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

  .grid-item {
    gap: 16px;
    padding: 20px;
  }

  
  .blog-row {
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 20px;
  }

  .blog-row-title {
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: 0;
  }

  .writing-group-label {
    padding: 0 20px 14px;
  }

  .writing-gate {
    padding: 160px 20px 60px;
  }

  .writing-gate-message {
    padding: 56px 0 16px;
  }

  .writing-gate-message h1 {
    font-size: 36px;
  }

  .blog-row-cat,
  .blog-row-arrow {
    display: none;
  }

  .contact-body {
    min-height: auto;
    padding: 0 20px;
  }

  .contact-right {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 0 40px;
  }

  .contact-link {
    position: static;
  }

  .timeline-hero {
    padding: 20px 20px 8px;
  }

  .timeline-about {
    padding: 220px 20px 0;
  }

  .timeline-divider {
    margin: 36px 20px 0;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 15px 20px;
  }

  footer {
    padding: 18px 20px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* HOME PAGE */
body.home-page {
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

.home-page .splash-name {
  position: relative;
  top: 12px;
  margin-bottom: 40px;
  font-size: clamp(42px, 8vw, 104px);
  line-height: 1;
  white-space: nowrap;
  cursor: default;
}

.splash-name-word {
  display: inline-block;
  position: relative;
  transition: color 0.18s ease;
}

.splash-name-word::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  font-style: italic;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.splash-name-word.is-italic {
  font-style: italic;
}

.splash-name-word.is-italic::after {
  font-style: normal;
}

.splash-name-word:hover {
  color: transparent;
}

.splash-name-word:hover::after {
  color: var(--black);
  opacity: 1;
}

.hero-marquees {
  width: 100vw;
  margin-top: 20px;
  overflow: hidden;
}

.hero-marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
}

.hero-marquee-track {
  display: inline-flex;
  min-width: 200%;
  animation: heroMarqueeLeft 38s linear infinite;
  animation-delay: -17s;
  will-change: transform;
}

.hero-marquee-set {
  display: inline-flex;
  flex: 0 0 50%;
  min-width: 50%;
  justify-content: space-around;
}

.hero-marquee:nth-child(odd) .hero-marquee-track {
  animation-name: heroMarqueeRight;
}

.hero-marquee:nth-child(2) .hero-marquee-track {
  animation-delay: -11s;
}

.hero-marquee:nth-child(3) .hero-marquee-track {
  animation-delay: -23s;
}

.hero-marquee-text {
  flex: 0 0 auto;
  position: relative;
  padding: 0 56px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray);
  font-style: normal;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.hero-marquee-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0 56px;
  color: var(--gray);
  font-style: italic;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.hero-marquee-text:hover {
  color: transparent;
}

.hero-marquee-text:hover::after {
  opacity: 1;
}

.hero-marquees.is-paused .hero-marquee-track {
  animation-play-state: paused;
}

.marquee-controls {
  position: relative;
  width: 32px;
  height: 32px;
  margin: 12px auto 0;
}

.marquee-controls button {
  position: absolute;
  inset: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gray);
  font: inherit;
  cursor: pointer;
}

.marquee-controls button:hover,
.marquee-controls button:focus-visible {
  color: var(--black);
}

.marquee-pause span {
  position: relative;
  display: block;
  width: 10px;
  height: 12px;
  margin: auto;
}

.marquee-pause span::before,
.marquee-pause span::after {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 12px;
  background: currentColor;
}

.marquee-pause span::before {
  left: 0;
}

.marquee-pause span::after {
  right: 0;
}

.marquee-play span {
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

@keyframes heroMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes heroMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.home-page footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}

@media (max-width: 768px) {
  .home-page .splash-name {
    font-size: clamp(34px, 11vw, 72px);
  }
}

@media (max-width: 480px) {
  .home-page .splash-name {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .sitemap-page-main {
    padding: 200px 20px 60px;
  }

  .sitemap-item {
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 8px;
  }

  .error-page-main {
    padding: 40px 20px;
  }
}

/* ACCESSIBILITY */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.nav-links a,
.sticky-directory a {
  position: relative;
}

.nav-links a::before,
.nav-logo::before,
.sticky-directory a::before {
  content: "";
  position: absolute;
  inset: -8px;
}

a:focus-visible,
a:active,
button:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 4px;
  font-style: italic;
}

main[tabindex="-1"]:focus {
  outline: none;
}

.nav-links a:focus-visible,
.nav-links a:active,
.sticky-directory a:active,
.sticky-directory a:focus-visible {
  color: var(--black);
}

.nav-logo:focus-visible .nav-logo-name,
.nav-logo:active .nav-logo-name {
  opacity: 0;
}

.nav-logo:focus-visible .nav-logo-hey,
.nav-logo:active .nav-logo-hey {
  opacity: 1;
}

.contact-link:focus-visible,
.contact-link:active {
  font-style: italic;
}

@media (max-width: 768px) {
  body.contact-page {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .contact-page .section-page-main {
    min-height: auto;
  }

  .contact-page footer {
    position: static;
  }
}

@media (max-height: 600px) {
  body.home-page,
  body.contact-page,
  body.error-page {
    height: auto;
    min-height: 100vh;
  }

  body.error-page {
    overflow-y: auto;
  }

  .home-page .splash {
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .home-page footer,
  .contact-page footer {
    position: static;
  }
}

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

  .hero-marquee-track,
  .marquee-track,
  .splash-name,
  .splash-sub,
  .splash-scroll {
    animation: none;
  }

  .marquee-controls {
    display: none;
  }

  .splash-name,
  .splash-sub,
  .splash-scroll {
    opacity: 1;
  }

  .sticky-directory,
  a,
  .splash-name-word,
  .splash-name-word::after,
  .hero-marquee-text,
  .hero-marquee-text::after,
  .error-home-label,
  .error-home-label::after {
    transition: none;
  }
}
