/*
  Rozyn Website
  Font note: The mockup uses Akira Expanded. Do not upload the font unless you own a licensed web version.
  This CSS tries to use Akira if it is installed on your computer/browser and falls back to strong display fonts.
*/

@font-face {
  font-family: "Akira Expanded";
  src: local("Akira Expanded"), local("Akira Expanded Super Bold"), local("Akira Expanded Demo");
  font-display: swap;
}

:root {
  --black: #020202;
  --deep-red: #140006;
  --red: #ff0040;
  --red-soft: #b80c34;
  --white: #ffffff;
  --gray: #8d8d8d;
  --soft-gray: #c7c7c7;
  --nav-bg: rgba(18, 15, 16, 0.34);
  --radius: 22px;
  --container: min(1120px, calc(100% - 48px));
  --font-display: "Akira Expanded", "Arial Black", "Impact", sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body::selection {
  background: var(--red);
  color: var(--white);
}

img {
  display: block;
  max-width: 100%;
}

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

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 0, 64, 0.22), transparent 22rem),
    radial-gradient(circle at 3% 84%, rgba(255, 0, 64, 0.16), transparent 25rem),
    linear-gradient(90deg, rgba(42, 0, 12, 0.8), transparent 28%, transparent 70%, rgba(42, 0, 12, 0.8));
}

.section {
  width: var(--container);
  margin-inline: auto;
  position: relative;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  width: 100%;
  z-index: 50;
  pointer-events: none;
}

.navbar {
  position: relative;
  width: var(--container);
  min-height: 58px;
  margin-inline: auto;
  padding: 10px 14px 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    var(--nav-bg);
  -webkit-backdrop-filter: blur(32px) saturate(165%);
  backdrop-filter: blur(32px) saturate(165%);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 0, 64, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: auto;
}

.brand {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: cover;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.nav-links a,
.language-switch,
.outline-button,
.solid-button,
.eyebrow,
.section-heading span,
.project-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a {
  font-size: 0.78rem;
  color: var(--red-soft);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.nav-links a:hover {
  color: var(--red);
  text-shadow: 0 0 18px rgba(255, 0, 64, 0.65);
}

.language-switch {
  height: 38px;
  min-width: 88px;
  padding: 4px 5px;
  border: 1px solid rgba(255, 0, 64, 0.58);
  border-radius: 13px;
  background: rgba(255, 0, 64, 0.1);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  box-shadow:
    0 0 20px rgba(255, 0, 64, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-switch:hover {
  transform: translateY(-1px);
  border-color: var(--red);
  background: rgba(255, 0, 64, 0.16);
  box-shadow:
    0 0 28px rgba(255, 0, 64, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.language-option {
  min-width: 32px;
  height: 28px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  font-size: 0.63rem;
  color: rgba(255, 255, 255, 0.58);
  transition: color 180ms ease, background 180ms ease, text-shadow 180ms ease;
}

.language-option.is-active {
  background: var(--red);
  color: var(--white);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.language-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 1px solid rgba(255, 0, 64, 0.45);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--red);
}

.hero {
  min-height: 740px;
  padding-top: 195px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

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

.eyebrow {
  margin: 0 0 22px;
  color: var(--red);
  font-size: 0.72rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.about h2,
.section-heading h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.9;
}

h1 {
  max-width: 690px;
  margin-bottom: 44px;
  font-size: clamp(2.45rem, 5.8vw, 4.85rem);
  letter-spacing: 0.03em;
}

.hero-text {
  max-width: 565px;
  margin-bottom: 150px;
  color: var(--gray);
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.6vw, 1.22rem);
  line-height: 1.16;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.outline-button {
  width: min(470px, 100%);
  min-height: 50px;
  padding: 0 12px 0 20px;
  border: 4px solid var(--red);
  border-radius: 16px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow: hidden;
  font-size: clamp(0.82rem, 1.7vw, 1.02rem);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-text {
  white-space: nowrap;
}

.button-arrow {
  flex: 0 0 auto;
  width: 34px;
  height: 26px;
  border: 1px solid rgba(255, 0, 64, 0.7);
  border-radius: 999px;
  background: rgba(255, 0, 64, 0.08);
  color: var(--red);
  display: inline-grid;
  place-items: center;
  line-height: 1;
  font-size: 1.02rem;
  transform: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.outline-button:hover .button-arrow {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.outline-button:hover,
.solid-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 0, 64, 0.28);
}

.hero-art {
  position: relative;
  min-height: 360px;
}

.entity-wrap {
  position: absolute;
  z-index: 1;
  perspective: 900px;
  transform-style: preserve-3d;
  pointer-events: auto;
}

.entity-3d {
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  cursor: grab;
  transform-style: preserve-3d;
  transform: perspective(900px)
    rotateX(var(--entity-rx, 0deg))
    rotateY(var(--entity-ry, 0deg))
    rotateZ(var(--entity-rz, 0deg));
  filter:
    drop-shadow(0 28px 45px rgba(255, 0, 64, 0.18))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
  transition: filter 180ms ease, transform 120ms ease;
  will-change: transform;
}

.entity-3d.is-grabbing {
  cursor: grabbing;
  transition: none;
  filter:
    drop-shadow(0 34px 58px rgba(255, 0, 64, 0.34))
    drop-shadow(0 12px 25px rgba(0, 0, 0, 0.62));
}

.hero-entity {
  width: clamp(150px, 18vw, 220px);
  right: 3%;
  top: 24px;
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-entity .entity-3d {
  --entity-rz: -12deg;
}

.about {
  min-height: 640px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 40px;
  padding: 80px 0 60px;
}

.about-art {
  position: relative;
  min-height: 470px;
}

.about-entity {
  width: clamp(310px, 45vw, 610px);
  left: -170px;
  bottom: -105px;
  animation: blobFloat 8s ease-in-out infinite;
}

.about-entity .entity-3d {
  --entity-rz: 14deg;
}

.about-content {
  text-align: right;
  justify-self: end;
  max-width: 560px;
}

.about h2 {
  margin-bottom: 54px;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  text-stroke: 2px var(--red);
  font-size: clamp(3.8rem, 9vw, 8.2rem);
  letter-spacing: 0.035em;
}

.about p {
  color: var(--gray);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(0.82rem, 1.6vw, 1.08rem);
  line-height: 1.25;
  letter-spacing: 0.03em;
}

.about strong {
  display: block;
  margin-top: 28px;
  color: var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1.35vw, 1rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.services,
.process,
.clients {
  padding: 95px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.align-right {
  text-align: right;
}

.section-heading span,
.project-label {
  color: var(--red);
  font-size: 0.78rem;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  letter-spacing: 0.03em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card,
.timeline-item,
.project-preview {
  border: 1px solid rgba(255, 0, 64, 0.32);
  background: rgba(18, 15, 16, 0.68);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
}

.service-card {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

.service-card span,
.timeline-item span {
  color: var(--red);
  font-family: var(--font-display);
}

.service-card h3,
.project-preview h3 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.04em;
}

.service-card p,
.timeline-item p,
.project-preview p,
.footer p {
  color: var(--soft-gray);
  line-height: 1.65;
}

.timeline {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-left: auto;
}

.timeline-item {
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
}

.timeline-item p {
  margin: 0;
}

.project-preview {
  padding: clamp(26px, 5vw, 52px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: auto -100px -140px auto;
  width: 320px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 0, 64, 0.18);
  filter: blur(25px);
}

.solid-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
}

.footer {
  width: var(--container);
  margin: 20px auto 0;
  padding: 48px 0 58px;
  border-top: 1px solid rgba(255, 0, 64, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

.footer p {
  margin: 0;
  text-align: right;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(24px) rotate(4deg);
  }
}

@keyframes blobFloat {
  0%, 100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-18px) rotate(-3deg);
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .site-header {
    top: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    z-index: 30;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    padding: 24px;
    border: 1px solid rgba(255, 0, 64, 0.24);
    border-radius: 18px;
    background: rgba(8, 5, 6, 0.98);
    -webkit-backdrop-filter: blur(28px) saturate(155%);
    backdrop-filter: blur(28px) saturate(155%);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.55);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
  }

  .nav-links a {
    color: var(--red);
    font-size: 0.86rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 145px;
    padding-bottom: 80px;
    grid-template-columns: 1fr;
  }

  .hero-text {
    margin-bottom: 80px;
  }

  .hero-art {
    min-height: 200px;
  }

  .hero-entity {
    right: 12%;
    top: 30px;
  }

  .about {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .about-art {
    order: 2;
    min-height: 300px;
  }

  .about-entity {
    left: -92px;
    bottom: -100px;
    width: min(560px, 94vw);
  }

  .about-content {
    text-align: right;
    max-width: 100%;
  }

  .cards-grid,
  .project-preview {
    grid-template-columns: 1fr;
  }

  .timeline {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 24px, 100%);
  }

  .navbar {
    min-height: 54px;
    padding-left: 14px;
  }

  .brand,
  .brand img {
    width: 40px;
    height: 40px;
  }

  .language-switch {
    min-width: 76px;
    height: 36px;
  }

  .language-option {
    min-width: 28px;
    height: 26px;
    font-size: 0.58rem;
  }

  .hero {
    padding-top: 125px;
  }

  h1 {
    margin-bottom: 32px;
  }

  .hero-text {
    margin-bottom: 56px;
  }

  .outline-button {
    border-width: 3px;
    gap: 8px;
    font-size: 0.72rem;
  }


  .about h2 {
    margin-bottom: 32px;
    -webkit-text-stroke-width: 1.4px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .footer p {
    text-align: left;
  }
}
