
/* =========================================
   TAIBORISH — OFFICIAL STUDIO WEBSITE
   STUDIO EDITION 03
   ========================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  background: #08090b;
  color: #f1f0ed;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: #d0c8b9;
  color: #090a0c;
}


/* HEADER */

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #c6bda9;
}

.header {
  height: 78px;
  padding: 0 6.5%;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(8,9,11,.82);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 155px;
}

.brand img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.brand span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
}

.navigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.navigation a {
  position: relative;
  padding: 10px 0;

  color: #aaa;
  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: .13em;

  transition: color .25s;
}

.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: #e9e6df;
  transition: right .25s;
}

.navigation a:hover {
  color: white;
}

.navigation a:hover::after {
  right: 0;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-button {
  border: 0;
  background: transparent;
  color: #ddd;
  cursor: pointer;
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: .1em;
}

.language-arrow {
  margin-left: 5px;
  color: #999;
}

.menu-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 1px;
  background: #eee;
  margin: 6px;
}


/* HERO */

.hero {
  min-height: 760px;
  height: 100svh;
  max-height: 1050px;

  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;

  background: #08090b;
}

.hero-background {
  position: absolute;
  inset: 0;

  background-image:
    url("assets/call-of-felix-old-story.jpg");

  background-size: cover;
  background-position: center 55%;

  filter: brightness(.44) saturate(.65);

  transform: scale(1.04);
  animation: heroZoom 25s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(5,6,7,.98) 0%,
      rgba(5,6,7,.83) 42%,
      rgba(5,6,7,.25) 100%
    ),
    linear-gradient(
      0deg,
      #08090b 0%,
      transparent 38%,
      rgba(0,0,0,.3) 100%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;

  opacity: .12;

  background:
    linear-gradient(
      90deg,
      transparent 6.5%,
      rgba(255,255,255,.3) 6.55%,
      transparent 6.6%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  margin-left: 13%;
  margin-top: 40px;

  max-width: 800px;
}

.eyebrow {
  display: flex;
  align-items: center;

  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: .17em;
  color: #aaa;
}

.status-dot {
  width: 6px;
  height: 6px;
  margin-right: 12px;

  background: #c5bca9;
  border-radius: 50%;

  box-shadow: 0 0 12px #c5bca9;
}

.hero h1 {
  margin: 36px 0 24px;

  font-size: clamp(60px, 8vw, 110px);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 600;
}

.hero h1 em {
  font-style: normal;
  color: #aaa9a4;
}

.hero-description {
  max-width: 420px;

  color: #b9b8b3;
  font-size: 13px;
  line-height: 1.9;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 35px;

  margin-top: 36px;
  padding: 16px 20px;

  border: 1px solid rgba(255,255,255,.5);

  font-family: "Courier New", monospace;
  font-size: 9px;
  letter-spacing: .14em;

  transition: background .25s, color .25s;
}

.primary-button:hover {
  background: #eeeae1;
  color: #090a0b;
}

.primary-button span:last-child {
  font-size: 17px;
}

.hero-bottom {
  position: absolute;
  left: 6.5%;
  right: 6.5%;
  bottom: 27px;

  display: flex;
  justify-content: space-between;

  color: #858585;
  font: 8px "Courier New", monospace;
  letter-spacing: .15em;
}


/* GENERAL SECTIONS */

.section {
  padding: 115px 13%;
}

.section-number {
  color: #999;
  font: 9px "Courier New", monospace;
  letter-spacing: .17em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-top: 17px;

  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 500;
  letter-spacing: -.065em;
}

.section-description {
  color: #777;
  font: 8px "Courier New", monospace;
  letter-spacing: .15em;
}


/* PROJECTS */

.projects-section {
  background: #0b0c0e;
}

.project-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;

  min-height: 390px;

  background: #111315;
  border: 1px solid rgba(255,255,255,.12);
}

.project-image {
  min-height: 390px;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;

  position: absolute;
  inset: 0;

  object-fit: cover;
  filter: brightness(.8) saturate(.75);

  transition: transform .8s, filter .8s;
}

.project-card:hover .project-image img {
  transform: scale(1.04);
  filter: brightness(.96) saturate(.9);
}

.image-label,
.image-number {
  position: absolute;
  top: 20px;

  color: #ddd;
  font: 8px "Courier New", monospace;
  letter-spacing: .14em;
}

.image-label {
  left: 20px;
  padding: 9px;
  background: rgba(0,0,0,.55);
}

.image-number {
  right: 20px;
}

.project-info {
  padding: 38px 35px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  color: #aaa;
  font: 8px "Courier New", monospace;
  letter-spacing: .1em;
}

.development-status {
  margin-left: auto;
  color: #c3b9a8;
}

.development-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #c3b9a8;
}

.project-info h3 {
  margin: 28px 0 17px;

  font-size: clamp(29px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -.06em;
  font-weight: 500;
}

.project-info h3 em {
  display: block;
  color: #aaa9a4;
  font-style: normal;
}

.project-info > p {
  color: #a5a6a5;
  font-size: 11px;
  line-height: 1.95;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  margin-top: 34px;
  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,.12);

  color: #aaa;
  font: 8px "Courier New", monospace;
  letter-spacing: .1em;
}

.project-footer a {
  display: flex;
  gap: 8px;
  color: #ddd;
}

.project-footer a:hover {
  color: #c6bda9;
}

.archive-card {
  margin-top: 25px;
  padding: 28px 4px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  border-bottom: 1px solid rgba(255,255,255,.13);
}

.archive-card h3 {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 500;
}

.archive-card p {
  color: #999;
  font-size: 11px;
  line-height: 1.8;
}

.archive-label {
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);

  color: #999;
  font: 8px "Courier New", monospace;
  letter-spacing: .13em;
}


/* COUNTDOWN */

.release-section {
  background: #08090b;
  padding-top: 100px;
  padding-bottom: 110px;
}

.release-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.provisional-label {
  color: #b5a68d;
  font: 9px "Courier New", monospace;
  letter-spacing: .12em;
}

.release-content {
  position: relative;
  overflow: hidden;

  margin-top: 30px;
  padding: 65px 30px 35px;

  text-align: center;

  background:
    radial-gradient(
      ellipse at center,
      #202124 0%,
      #111315 55%,
      #090a0c 100%
    );

  border: 1px solid rgba(255,255,255,.13);
}

.release-logo {
  position: absolute;
  top: 25px;
  right: 30px;

  width: 75px;
  height: 75px;

  opacity: .18;
}

.release-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.release-overline {
  color: #999;
  font: 9px "Courier New", monospace;
  letter-spacing: .2em;
}

.release-content h2 {
  margin-top: 30px;

  font-size: clamp(32px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -.06em;
}

.release-content h3 {
  margin-top: 5px;

  color: #aaa9a4;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 400;
  letter-spacing: .2em;
}

.countdown-caption {
  margin-top: 42px;

  color: #aaa;
  font: 9px "Courier New", monospace;
  letter-spacing: .2em;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;

  max-width: 680px;
  margin: 30px auto 25px;
}

.countdown-unit {
  padding: 24px 8px;

  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.1);
}

.countdown-unit strong {
  display: block;

  color: #f2f0eb;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 400;
  letter-spacing: -.06em;
  font-variant-numeric: tabular-nums;
}

.countdown-unit span {
  display: block;
  margin-top: 11px;

  color: #888;
  font: 8px "Courier New", monospace;
  letter-spacing: .13em;
}

.release-date {
  margin-top: 28px;

  color: #c4b9a6;
  font: 10px "Courier New", monospace;
  letter-spacing: .16em;
}

.release-date span {
  padding: 0 5px;
}

.release-note {
  margin-top: 12px;
  color: #777;
  font-size: 10px;
}

.release-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;

  margin-top: 45px;
  padding-top: 20px;

  border-top: 1px solid rgba(255,255,255,.1);

  color: #777;
  font: 8px "Courier New", monospace;
  letter-spacing: .13em;
}


/* STUDIO */

.studio-section {
  background: #e9e8e4;
  color: #111315;
}

.studio-top {
  display: flex;
  justify-content: space-between;

  color: #696b6d;
  font: 9px "Courier New", monospace;
  letter-spacing: .13em;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 9%;

  margin-top: 75px;
}

.studio-grid h2 {
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.075em;
}

.studio-grid h2 em {
  color: #858681;
  font-style: normal;
}

.studio-description p {
  margin-bottom: 20px;

  color: #55585a;
  font-size: 12px;
  line-height: 2;
}

.studio-stats {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  margin-top: 35px;
  padding-top: 22px;

  border-top: 1px solid rgba(0,0,0,.17);
}

.studio-stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-stats strong {
  font-size: 25px;
}

.studio-stats span {
  color: #777;
  font: 8px "Courier New", monospace;
  letter-spacing: .1em;
}


/* APPROACH */

.approach-section {
  background: #0b0c0e;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 40px;
}

.principle {
  min-height: 255px;
  padding: 25px;

  border: 1px solid rgba(255,255,255,.13);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.035),
      transparent 70%
    );

  transition: transform .3s, border-color .3s;
}

.principle:hover {
  transform: translateY(-5px);
  border-color: rgba(210,205,192,.5);
}

.principle > span {
  color: #888;
  font: 9px "Courier New", monospace;
}

.principle-symbol {
  margin: 30px 0 18px;

  color: #c6bda9;
  font-size: 30px;
}

.principle h3 {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 500;
}

.principle p {
  color: #999;
  font-size: 11px;
  line-height: 1.9;
}

.technology {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;

  margin-top: 50px;
  padding-top: 23px;

  border-top: 1px solid rgba(255,255,255,.13);

  color: #aaa;
  font: 9px "Courier New", monospace;
  letter-spacing: .12em;
}

.technology div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;

  color: #eee;
}

.technology i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b5a68d;
}


/* CONTACT */

.contact-section {
  position: relative;
  overflow: hidden;

  min-height: 450px;

  display: flex;
  align-items: center;

  background: #111315;
}

.contact-content {
  position: relative;
  z-index: 2;
}

.contact-content h2 {
  margin: 25px 0;

  font-size: clamp(48px, 7vw, 82px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: -.075em;
}

.contact-content h2 em {
  color: #aaa;
  font-style: normal;
}

.contact-content > p {
  max-width: 390px;

  color: #aaa;
  font-size: 12px;
  line-height: 1.9;
}

.social-links {
  display: flex;
  gap: 25px;
  margin-top: 35px;
}

.social-links a {
  padding-bottom: 10px;
  border-bottom: 1px solid #555;

  font: 9px "Courier New", monospace;
  letter-spacing: .15em;

  transition: border-color .2s;
}

.social-links a:hover {
  border-color: #eee;
}

.social-links span {
  margin-left: 7px;
  color: #c6bda9;
}

.contact-watermark {
  position: absolute;
  right: -2%;
  bottom: -5%;

  color: rgba(255,255,255,.025);

  font-size: clamp(100px, 19vw, 250px);
  font-weight: 800;
  letter-spacing: -.1em;
  pointer-events: none;
}

.contact-emblem {
  position: absolute;
  right: 12%;
  top: 50%;

  width: min(24vw, 260px);

  transform: translateY(-50%);
  opacity: .09;
  filter: grayscale(1);
}


/* FOOTER */

.footer {
  min-height: 80px;
  padding: 20px 6.5%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  border-top: 1px solid rgba(255,255,255,.1);

  color: #777;
  font: 8px "Courier New", monospace;
  letter-spacing: .12em;
}

.footer-brand {
  color: #eee;
  font: bold 14px Arial, sans-serif;
  letter-spacing: .18em;
}

.footer-brand span {
  font-size: 8px;
  vertical-align: top;
}

.back-top {
  color: #aaa;
}


/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1.11);
  }
}


/* GLITCH */

.glitch-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;

  display: grid;
  place-items: center;

  background: #08090b;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.glitch-overlay.active {
  visibility: visible;
  animation: glitchScreen .55s steps(2, end);
}

.glitch-overlay span {
  color: #eee;
  font-size: clamp(35px, 7vw, 80px);
  font-weight: 800;
  letter-spacing: .16em;
}

.glitch-overlay.active span {
  animation: glitchText .55s steps(2, end);
}

@keyframes glitchScreen {
  0% { opacity: 0; }
  20% { opacity: .95; }
  40% { opacity: .4; }
  65% { opacity: .9; }
  100% { opacity: 0; }
}

@keyframes glitchText {
  0% {
    text-shadow: 4px 0 #b21e2b, -4px 0 #57b5bd;
    transform: translateX(3px);
  }

  35% {
    text-shadow: -5px 0 #b21e2b, 5px 0 #57b5bd;
    transform: translateX(-3px);
  }

  70% {
    text-shadow: 2px 0 #b21e2b, -2px 0 #57b5bd;
  }

  100% {
    text-shadow: none;
    transform: none;
  }
}


/* RESPONSIVE */

@media (max-width: 950px) {

  .section {
    padding-left: 8%;
    padding-right: 8%;
  }

  .header {
    padding-left: 4%;
    padding-right: 4%;
  }

  .navigation {
    gap: 14px;
  }

  .navigation a {
    font-size: 8px;
  }

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

  .project-image {
    min-height: 350px;
  }

}

@media (max-width: 650px) {

  html {
    scroll-padding-top: 70px;
  }

  .header {
    height: 68px;
    padding: 0 5%;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand span {
    font-size: 10px;
  }

  .navigation {
    display: none;

    position: absolute;
    top: 68px;
    left: 0;
    right: 0;

    padding: 25px 7%;

    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    background: rgba(8,9,11,.98);
    border-bottom: 1px solid rgba(255,255,255,.1);
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    font-size: 10px;
  }

  .menu-button {
    display: block;
  }

  .hero {
    min-height: 700px;
    height: 90svh;
  }

  .hero-content {
    margin: 20px 7%;
  }

  .hero h1 {
    font-size: clamp(53px, 12vw, 78px);
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-bottom {
    left: 5%;
    right: 5%;
    font-size: 7px;
  }

  .section {
    padding: 80px 7%;
  }

  .section-heading {
    align-items: flex-start;
    gap: 15px;
  }

  .section-description {
    display: none;
  }

  .section-heading h2 {
    font-size: 39px;
  }

  .project-image {
    min-height: 260px;
  }

  .project-info {
    padding: 28px 22px;
  }

  .project-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .archive-card {
    align-items: flex-start;
  }

  .archive-label {
    font-size: 7px;
  }

  .release-content {
    padding: 55px 12px 25px;
  }

  .release-logo {
    width: 48px;
    height: 48px;
    top: 12px;
    right: 12px;
  }

  .countdown {
    gap: 6px;
  }

  .countdown-unit {
    padding: 17px 3px;
  }

  .countdown-unit strong {
    font-size: clamp(28px, 8vw, 42px);
  }

  .countdown-unit span {
    font-size: 7px;
    letter-spacing: .04em;
  }

  .release-bottom {
    font-size: 7px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 45px;
  }

  .studio-grid h2 {
    font-size: 46px;
  }

  .studio-stats {
    gap: 15px;
  }

  .studio-stats strong {
    font-size: 21px;
  }

  .studio-stats span {
    font-size: 7px;
  }

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

  .principle {
    min-height: 210px;
  }

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

  .contact-section {
    min-height: 440px;
  }

  .contact-content h2 {
    font-size: 54px;
  }

  .contact-emblem {
    width: 170px;
    right: -25px;
    top: 68%;
    opacity: .07;
  }

  .footer {
    padding: 22px 5%;
    flex-wrap: wrap;
  }

  .back-top {
    display: none;
  }

}


/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}
