:root {
  --color-bg: #f4f1eb;
  --color-text: #1a1714;
  --color-text-soft: #5c564e;
  --color-text-muted: #9a9288;
  --color-tile: #ddd6cb;
  --color-border: rgba(26, 23, 20, 0.14);
  --color-accent: #a68b6a;
  --font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --list-max-width: 72em;
  --page-pad-x: clamp(1.25rem, 4vw, 3rem);
  --page-pad-y: clamp(2.5rem, 8vh, 5rem);
  --tile-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --tile-duration: 0.5s;
}

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--page-pad-y) var(--page-pad-x);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 255, 255, 0.7), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(166, 139, 106, 0.08), transparent 50%),
    var(--color-bg);
}

.showcase {
  width: 100%;
  max-width: var(--list-max-width);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.showcase-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}

.showcase-eyebrow {
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1;
}

.showcase-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

.showcase-subtitle {
  font-size: 0.975rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text-soft);
}

.directional-list {
  width: 100%;
  max-width: var(--list-max-width);
  display: flex;
  flex-flow: column;
  position: relative;
  color: var(--color-text);
}

.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: 100%;
  padding: 0 1.5em 1.5em;
  position: relative;
}

.list-label {
  font-size: 0.75em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1;
}

.list-body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  width: 100%;
  margin-top: -1px;
  padding: 2.25em 1.5em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.list-col {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.list-col--project {
  min-width: 30%;
  position: relative;
}

.list-col--discipline {
  flex: 1;
  position: relative;
}

.list-col--year {
  flex: none;
  min-width: 3em;
  position: relative;
  justify-content: flex-end;
}

.row-text {
  margin-bottom: 0;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
  color: var(--color-text);
  position: relative;
  z-index: 2;
}

.hover-tile {
  background-color: var(--color-tile);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
  transform: translateY(-100%);
  transition: transform var(--tile-duration) var(--tile-ease);
}

.row-line {
  z-index: 2;
  opacity: 0.3;
  background-color: currentColor;
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  pointer-events: none;
}

.row-line--top {
  top: 0;
  bottom: auto;
}

.list-footer-line {
  z-index: 2;
  opacity: 0.3;
  background-color: currentColor;
  width: 100%;
  height: 1px;
  position: relative;
}

.list-row:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  z-index: 4;
}

@media (max-width: 640px) {
  .list-header {
    padding: 0 1em 1em;
  }

  .list-row {
    padding: 1.75em 1em;
    gap: 0.75em;
  }

  .list-col--project {
    min-width: 42%;
  }

  .list-col--discipline {
    display: none;
  }

  .list-header .list-col--discipline {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hover-tile {
    transition-duration: 0.01ms !important;
  }
}
