body {
  background-color: #25261f;
  background-image: radial-gradient(
    ellipse at 78% 18%,
    #baa2600d,
    transparent 55%
  );
}
.masthead {
  background: #22251d40;
}
.brand-mark {
  color: #f0e9d5;
}
.brand-description {
  color: #b7b7a4;
}
.hero {
  isolation: isolate;
}
.hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.9%, #c2b07908 50%, transparent 50.1%),
    radial-gradient(ellipse at 77% 45%, #b29a4f0d, transparent 53%);
}
.orb-scene {
  background-image:
    linear-gradient(#d2b77e07 1px, transparent 1px),
    linear-gradient(90deg, #d2b77e07 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-copy h1 em,
.page-heading h1 em,
.about-copy h1 em,
.contact-section h1 em {
  text-shadow: 0 2px 30px #c8ad6430;
}
.hero-bottom {
  position: relative;
}
.hero-bottom:before {
  content: '';
  position: absolute;
  width: 80px;
  height: 1px;
  left: 0;
  top: -1px;
  background: var(--gold);
}
.project {
  position: relative;
}
.project-art {
  background-blend-mode: screen;
  box-shadow: 0 12px 40px #11150e20;
}
.project-art:after {
  content: 'Projeyi keşfet ↗';
  position: absolute;
  bottom: 44px;
  right: 22px;
  padding: 8px 11px;
  background: #ded1a8;
  color: #2c3023;
  font-size: 9px;
  opacity: 0;
  translate: 0 6px;
  transition:
    opacity 0.25s,
    translate 0.25s;
  z-index: 4;
}
.project-art:hover:after,
.project-art:focus-visible:after {
  opacity: 1;
  translate: 0 0;
}
.project-info h2 a > span {
  transition: translate 0.25s;
}
.project:hover .project-info h2 a > span {
  translate: 3px -3px;
}
.project-toolbar {
  border-bottom-color: #d2b77e30;
}
.filters > button {
  position: relative;
}
.filters > button:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -19px;
  height: 1px;
  background: var(--gold);
  scale: 0 1;
  transition: scale 0.25s;
}
.filters > button.selected:after {
  scale: 1 1;
}
.payroll-art {
  background:
    radial-gradient(ellipse at 50% 55%, #bba05829, transparent 65%), #292c21;
}
.payroll-machine {
  position: absolute;
  inset: 16px 6% 20px;
  color: #c5ae70;
}
.payroll-machine svg {
  height: 100%;
  width: 100%;
  overflow: visible;
}
.machine-grid {
  opacity: 0.11;
  stroke-width: 0.7;
}
.machine-routes {
  opacity: 0.5;
  stroke-width: 0.8;
}
.machine-core {
  animation: engine-lift 8s ease-in-out infinite;
}
.machine-crown {
  animation: crown-lift 8s ease-in-out infinite;
}
.machine-pulses {
  animation: engine-pulse 4s ease-in-out infinite;
}
.machine-routes path {
  stroke-dasharray: 5 7;
  animation: circuit-flow 12s linear infinite;
}
@keyframes engine-lift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
@keyframes crown-lift {
  0%,
  100% {
    translate: 0 0;
    opacity: 0.65;
  }
  50% {
    translate: 0 -15px;
    opacity: 1;
  }
}
@keyframes engine-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
@keyframes circuit-flow {
  to {
    stroke-dashoffset: -120;
  }
}
.home-selection {
  padding: 60px 5.6% 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #171c1524, transparent);
}
.selection-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}
.selection-heading h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 15px 0 0;
}
.selection-heading h2 em {
  font:
    italic 1.12em Georgia,
    serif;
  color: var(--gold);
}
.selection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.selection-item {
  display: block;
  padding: 25px 0;
  border-top: 1px solid #c5b27b40;
  min-width: 0;
  position: relative;
}
.selection-item:before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 45px;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s;
}
.selection-item:hover:before,
.selection-item:focus-visible:before {
  width: 100%;
}
.selection-item h3 {
  font-size: 16px;
  font-weight: 400;
  margin: 14px 0 8px;
  letter-spacing: -0.5px;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.selection-item h3 > span {
  color: var(--gold);
}
.selection-item > p {
  font-size: 11px;
  margin: 0;
}
.selection-symbol {
  height: 100px;
  width: 100px;
  margin: 0 0 20px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.selection-symbol > span {
  font:
    35px Georgia,
    serif;
  position: relative;
}
.symbol-flight:before,
.symbol-flight:after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid #c5b27b35;
  border-radius: 50%;
  transform: rotate(-25deg) scaleY(0.45);
}
.symbol-flight:after {
  transform: rotate(50deg) scaleY(0.45);
}
.symbol-flight > i {
  position: absolute;
  inset: 10px;
  border: 1px solid #c5b27b30;
  border-radius: 50%;
  animation: compass-turn 22s linear infinite;
}
.symbol-flight > i:before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gold);
  position: absolute;
  left: 5px;
  top: 15px;
  border-radius: 50%;
}
.symbol-match {
  align-items: end;
  display: flex;
  gap: 7px;
  padding: 15px;
}
.symbol-match i {
  display: block;
  width: 11px;
  height: 24px;
  border: 1px solid #c5b27b60;
  background: #c5b27b0e;
  transform-origin: bottom;
  animation: bar-breathe 7s ease-in-out infinite;
}
.symbol-match i:nth-child(2) {
  height: 40px;
  animation-delay: 1s;
}
.symbol-match i:nth-child(3) {
  height: 57px;
  animation-delay: 2s;
}
.symbol-match > span {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 27px;
}
.symbol-payroll > i {
  position: absolute;
  inset: 22px;
  transform: rotate(30deg) skewY(-12deg);
  border: 1px solid #c5b27b60;
  background: #c5b27b06;
}
.symbol-payroll > i:nth-child(2) {
  translate: 0 10px;
  opacity: 0.4;
}
.symbol-payroll > span {
  animation: sum-breathe 8s ease-in-out infinite;
}
@keyframes bar-breathe {
  0%,
  100% {
    scale: 1 0.8;
    opacity: 0.6;
  }
  50% {
    scale: 1 1;
    opacity: 1;
  }
}
@keyframes sum-breathe {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}
.selection-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding: 25px 0 30px;
}
.selection-invite > span {
  font:
    italic 17px Georgia,
    serif;
  color: #b6b09a;
}
.selection-invite > a {
  font-size: 11px;
  color: var(--gold);
  display: flex;
  gap: 20px;
}
.profile-dossier {
  box-shadow:
    15px 20px 50px #0003,
    0 0 0 8px #d2b77e05;
}
.about-copy .lead:before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
}
.contact-links > a {
  position: relative;
}
.contact-links > a:before {
  content: '';
  position: absolute;
  left: -16px;
  top: 20%;
  bottom: 20%;
  width: 2px;
  background: var(--gold);
  scale: 1 0;
  transition: scale 0.3s;
}
.contact-links > a:hover:before {
  scale: 1 1;
}
.case-meta {
  background: linear-gradient(90deg, #d2b77e04, transparent);
}
.case-visual {
  box-shadow: inset 0 0 80px #c5b27b04;
}
.case-features details[open] {
  border-left: 1px solid #d2b77e66;
  padding-left: 18px;
}
.case-features details {
  transition: padding-left 0.3s;
}
.reading-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  z-index: 30;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
  opacity: 0.8;
}
.reveal-ready {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity 0.7s ease,
    translate 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal-ready.is-visible,
.motion-paused .reveal-ready {
  opacity: 1;
  translate: 0 0;
}
@media (max-width: 800px) {
  .home-selection {
    padding: 35px 7% 0;
  }
  .selection-grid {
    gap: 20px;
  }
  .selection-item h3 {
    font-size: 14px;
  }
  .selection-heading h2 {
    font-size: 31px;
  }
  .selection-item > p {
    font-size: 10px;
  }
  .selection-symbol {
    height: 85px;
    width: 85px;
  }
  .selection-invite > span {
    font-size: 15px;
  }
}
@media (max-width: 580px) {
  .chapter-rail > a {
    max-width: 25%;
  }
  .selection-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .selection-heading {
    gap: 15px;
    align-items: center;
  }
  .selection-heading h2 {
    font-size: 28px;
  }
  .selection-heading .text-link {
    font-size: 9px;
    gap: 8px;
    flex-shrink: 0;
  }
  .selection-heading .tiny-label {
    font-size: 6px;
  }
  .selection-item {
    padding: 25px 0 25px 94px;
    min-height: 132px;
  }
  .selection-symbol {
    position: absolute;
    left: 0;
    top: 20px;
    height: 75px;
    width: 75px;
    margin: 0;
  }
  .selection-item h3 {
    font-size: 16px;
    margin-top: 10px;
  }
  .selection-item > p {
    font-size: 10px;
  }
  .selection-item > .tiny-label {
    font-size: 7px;
  }
  .selection-invite {
    display: block;
    margin-top: 5px;
  }
  .selection-invite > span {
    font-size: 17px;
    line-height: 1.6;
  }
  .selection-invite > a {
    margin-top: 18px;
  }
  .payroll-machine {
    inset: 12px 1% 17px;
  }
  .project-art:after {
    font-size: 8px;
    bottom: 42px;
  }
  .orb-scene {
    background-size: 36px 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .machine-core,
  .machine-crown,
  .machine-pulses,
  .machine-routes path,
  .symbol-flight > i,
  .symbol-match i,
  .symbol-payroll > span {
    animation: none !important;
  }
  .reveal-ready {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
  .reading-progress {
    display: none;
  }
}
