@font-face {
  font-family: Lalezar;
  src: url("../fonts/lalezar-arabic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200D;
}
@font-face {
  font-family: Lalezar;
  src: url("../fonts/lalezar-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F;
}

:root {
  --paper: #101010;
  --paper-2: #171717;
  --card: #171717;
  --ink: #edebe6;
  --muted: #b7b2a8;
  --line: rgba(237, 235, 230, 0.14);
  --forest: #1d3b30;
  --forest-2: #142820;
  --gold: #e4d2a4;
  --gold-2: #f4efe4;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

body {
  color: var(--ink);
  color-scheme: dark;
  background: var(--paper);
  font-family: Vazirmatn, Tahoma, sans-serif;
  overflow-x: clip;
}
h1, h2, .g-manifest h2, .service-row h3, .post-card h3 {
  font-family: Lalezar, Vazirmatn, Tahoma, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.25; }

.site-header {
  background: rgba(16, 16, 16, 0.88);
  border-bottom-color: transparent;
  backdrop-filter: blur(16px);
}
.view-home .site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  background: linear-gradient(rgba(16, 16, 16, 0.72), transparent);
}
.view-home .site-header.scrolled { background: rgba(16, 16, 16, 0.9); }
.site-header.scrolled { border-bottom-color: var(--line); }
.brand img { width: 46px; height: 46px; border-radius: 12px; }
.mark { position: relative; display: block; width: 46px; height: 46px; flex: none; }
.mark img { width: 100%; height: 100%; display: block; }
.mark-dot {
  position: absolute;
  left: 49.7%;
  top: 71%;
  width: 26%;
  height: 26%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #102e29;
  pointer-events: none;
}
.mark-dot i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  height: 38%;
  margin: -19% 0 0 -19%;
  border-radius: 50%;
  background: #e2c98a;
  box-shadow: 0 0 8px rgba(226, 201, 138, 0.85);
  animation: logo-orbit 3.4s linear infinite;
}
.trail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 16px;
  height: 16px;
  margin: 0;
  border-radius: 50%;
  background: #e2c98a;
  box-shadow: 0 0 16px rgba(226, 201, 138, 0.45);
  pointer-events: none;
  opacity: 0;
}
.trail.is-on { opacity: 1; }
.trail.is-hot {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid #e2c98a;
  box-shadow: none;
}
.site-nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.g-kontakt {
  text-decoration: none;
  color: #101010;
  background: var(--gold);
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 700;
}
.g-kontakt:hover { background: var(--gold-2); }
.btn-primary { background: var(--gold); color: #101010; }
.btn-primary:hover { background: var(--gold-2); }
.btn-ghost { border-color: rgba(237, 235, 230, 0.28); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-gold { background: var(--gold); color: #101010; }
.kicker, .meta-line, .g-kicker { color: #101010; }
.view-home .kicker, .section .kicker, .meta-line { color: var(--gold); }
.service-row em, .text-link, .crumbs a, .prose a, .work-copy h3 a { color: var(--gold); }
.search-mini input, .field input, .field textarea, .field select {
  background: #141414;
  color: var(--ink);
  border-color: var(--line);
}
.notice { background: #2a261c; color: var(--gold-2); }
.error { color: #ffb4a8; }
.cta-band {
  background: transparent;
  border-top: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
}
.cta-band h2, .cta-band p { color: var(--ink); }
.cta-band .kicker { color: var(--gold); }
.post-card, .plain-card, .step, .side-card { background: rgba(255, 255, 255, 0.03); }
.post-card:hover { border-color: rgba(228, 210, 164, 0.45); transform: translateY(-3px); }

.g-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: #101010;
}
.g-hero picture { display: contents; }
.g-hero-shift { display: contents; }
.g-portrait {
  height: min(92vh, 980px);
  width: auto;
  max-width: min(94vw, 720px);
  object-fit: cover;
  object-position: center 18%;
  transform-origin: center 30%;
}
.view-home .g-portrait { animation: hero-in 1.15s cubic-bezier(.16, .84, .32, 1) 2.35s both; }
.view-home .g-tag { animation: rise-in 0.8s ease 2.7s both; }
.view-home .g-id { animation: rise-in 0.9s ease 2.9s both; }
.view-home .g-tab { animation: rise-in 0.7s ease 3s both; }
.g-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; animation: drift 9s ease-in-out infinite; }
.orb-spin {
  width: min(52vw, 560px);
  height: min(52vw, 560px);
  border: 1px dashed rgba(228, 210, 164, 0.55);
  left: 6%;
  top: 16%;
  animation: spin 16s linear infinite;
}
.orb-spin::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e2c98a;
  box-shadow: 0 0 22px #e2c98a;
  top: -8px;
  left: 50%;
}
.orb-ring {
  width: 148px; height: 148px;
  border: 22px solid #f4efe4;
  left: 18%; top: 30%;
}
.orb-fill {
  width: 118px; height: 118px;
  background: #1d3b30;
  left: 27%; top: 24%;
  animation-delay: -2s;
}
.orb-dot {
  width: 28px; height: 28px;
  background: #f4efe4;
  left: 24%; top: 46%;
  animation-delay: -4s;
}
.orb-spin-rev {
  width: min(34vw, 380px);
  height: min(34vw, 380px);
  border: 1px dotted rgba(226, 201, 138, 0.72);
  left: 28%;
  top: 8%;
  animation: spin-rev 24s linear infinite;
}
.orb-spin-rev::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f4efe4;
  box-shadow: 0 0 16px #f4efe4;
  right: 18%;
  bottom: -5px;
}
.orb-arc {
  width: 220px;
  height: 220px;
  left: 3%;
  bottom: 8%;
  top: auto;
  border: 2px solid transparent;
  border-top-color: #e2c98a;
  border-inline-end-color: rgba(226, 201, 138, 0.35);
  animation: spin 8s linear infinite;
}
.orb-ticks {
  width: 170px;
  height: 170px;
  left: 42%;
  top: 58%;
  background: repeating-conic-gradient(from 0deg, rgba(228, 210, 164, 0.85) 0 3deg, transparent 3deg 20deg);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 62% 70%, transparent 74%);
  mask: radial-gradient(circle, transparent 58%, #000 62% 70%, transparent 74%);
  animation: spin 20s linear infinite;
}
.orb-comet {
  width: 260px;
  height: 260px;
  left: 46%;
  top: 14%;
  border: 1px solid rgba(244, 239, 228, 0.22);
  animation: spin 13s linear infinite;
}
.orb-comet::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2c98a;
  box-shadow: 0 0 18px #e2c98a;
  top: 50%;
  left: -6px;
}
.orb-double {
  width: 108px;
  height: 108px;
  left: 8%;
  top: 62%;
  border: 1.5px solid rgba(244, 239, 228, 0.85);
  animation: spin 10s linear infinite;
}
.orb-double::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(226, 201, 138, 0.9);
  animation: spin-rev 5.5s linear infinite;
}
.orb-pulse {
  width: 86px;
  height: 86px;
  left: 36%;
  top: 40%;
  border: 1px solid rgba(226, 201, 138, 0.9);
  animation: pulse-ring 3.4s ease-out infinite;
}
.g-blob { animation: spin 48s linear infinite; }
.g-tag {
  position: absolute;
  left: 6vw;
  top: 44%;
  margin: 0;
  color: var(--gold);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}
.g-tab {
  position: absolute;
  left: 0;
  top: 34%;
  z-index: 2;
  background: #f4efe4;
  color: #101010;
  text-decoration: none;
  font-weight: 800;
  writing-mode: vertical-rl;
  padding: 16px 8px;
}
.g-id {
  position: absolute;
  inset-inline-end: max(20px, 7vw);
  bottom: 8vh;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
}
.g-id h1 {
  margin: 0;
  font-family: Vazirmatn, Tahoma, sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.3;
}
.g-id p { margin: 4px 0 0; color: #d9d4cb; font-size: 0.95rem; }
.g-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 1px;
  height: 54px;
  background: rgba(237, 235, 230, 0.35);
}
.g-scroll::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  animation: drop 1.8s ease-in-out infinite;
}

.g-manifest {
  position: relative;
  overflow: hidden;
  background: #e4d2a4;
  color: #101010;
  padding: 88px 0 36px;
}
.g-blob {
  position: absolute;
  width: min(70vw, 760px);
  height: min(70vw, 760px);
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.28);
  left: 8%;
  top: -18%;
  pointer-events: none;
}
.g-manifest-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px 40px; align-items: start; }
.g-kicker { margin: 0; font-weight: 800; letter-spacing: 0.18em; font-size: 0.82rem; }
.g-manifest h2 {
  grid-column: 1;
  margin: 8px 0 0;
  color: #101010;
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  line-height: 0.98;
}
.g-copy { grid-column: 2; grid-row: 1 / span 2; padding-top: 3.2rem; }
.g-copy p { margin: 0 0 16px; line-height: 1.9; font-size: 1.02rem; }
.g-giant {
  position: relative;
  margin: 48px 0 0;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  font-family: Lalezar, Vazirmatn, sans-serif;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.9;
  color: #f7f3ea;
}

.ticker { overflow: hidden; border-block: 1px solid var(--line); background: #101010; }
.ticker-track { display: flex; gap: 28px; width: max-content; padding: 14px 0; animation: ticker 28s linear infinite; }
.ticker-track span { font-family: Lalezar, Vazirmatn, sans-serif; font-size: 1.2rem; color: var(--gold-2); }
.ticker-track span::before { content: " · "; color: var(--gold); }

.g-orbit {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #101010;
}
.orbit-spin { position: absolute; inset: 0; animation: spin 70s linear infinite; }
.sat {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  margin: -100px 0 0 -140px;
  transform: rotate(var(--a)) translateY(-34vh);
  text-decoration: none;
  color: #fff;
}
.sat-face {
  display: block;
  animation: unspin 70s linear infinite;
  background: #1a1a1a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.sat img { width: 100%; height: 180px; object-fit: cover; display: block; }
.sat em { display: block; padding: 8px 12px 10px; font-style: normal; font-weight: 700; }
.g-orbit:hover .orbit-spin,
.g-orbit:hover .sat-face { animation-play-state: paused; }
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #1d3b30;
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  font-weight: 800;
  z-index: 2;
}
.orbit-core img { width: 48px; height: 48px; border-radius: 12px; }

.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.logo-tile {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  min-height: 210px; padding: 16px; border-radius: 18px; text-decoration: none;
  background: #141414; border: 1px solid var(--line); overflow: hidden; color: var(--ink);
}
.logo-tile.light { background: #f4efe4; color: #161616; }
.logo-tile img { width: 100%; height: 140px; object-fit: contain; margin-bottom: auto; }
.logo-tile span { font-weight: 700; }
.logo-tile:hover { transform: translateY(-4px); border-color: rgba(228, 210, 164, 0.55); }

.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reel { margin: 0; background: #000; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.reel video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.reel figcaption { padding: 10px 12px 12px; color: var(--gold); }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.studio-card { display: block; text-decoration: none; color: inherit; background: #070707; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.studio-card img { width: 100%; height: 240px; object-fit: contain; background: #070707; }
.studio-card span { display: flex; justify-content: space-between; padding: 12px 14px 14px; }
.studio-card small { color: var(--gold); }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.shot-grid img { width: 100%; border-radius: 16px; background: #111; }

@keyframes logo-orbit {
  from { transform: rotate(0deg) translateX(90%) rotate(0deg); }
  to { transform: rotate(360deg) translateX(90%) rotate(-360deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes unspin { to { transform: rotate(-360deg); } }
@keyframes pulse-ring {
  0% { transform: scale(0.72); opacity: 0.85; }
  70% { transform: scale(1.35); opacity: 0; }
  100% { opacity: 0; }
}
@keyframes ticker { to { transform: translateX(50%); } }
@keyframes drift { 50% { transform: translateY(-12px); } }
@keyframes drop { 0% { top: 0; opacity: 1; } 80% { top: 46px; opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-in {
  from { opacity: 0; transform: scale(1.14); clip-path: inset(12% 10% 12% 10% round 28px); }
  to { opacity: 1; transform: none; clip-path: inset(0 round 0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes boot-in {
  from { transform: scale(1.35); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes boot-shrink {
  to { transform: scale(0.28); }
}
@keyframes boot-fade {
  to { opacity: 0; visibility: hidden; }
}

.boot {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #102e29;
  display: grid;
  place-items: center;
  animation: boot-fade 0.65s ease 2.15s forwards;
}
.boot-mark {
  position: relative;
  display: inline-block;
  animation: boot-in 0.55s cubic-bezier(.16, .84, .32, 1) both, boot-shrink 0.9s cubic-bezier(.7, 0, .15, 1) 0.85s forwards;
}
.boot-mark img {
  width: min(42vw, 210px);
  height: auto;
  border-radius: 36px;
  display: block;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.boot-skip {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  color: #e2c98a;
  border: 0;
  font: inherit;
  cursor: pointer;
  opacity: 0.8;
}
html.boot-seen .g-portrait,
html.boot-seen .g-tag,
html.boot-seen .g-id,
html.boot-seen .g-tab { animation: none; }
.boot-skipped .g-portrait { animation: hero-in 0.9s cubic-bezier(.16, .84, .32, 1) both; }
.boot-skipped .g-tag { animation: rise-in 0.6s ease 0.15s both; }
.boot-skipped .g-id { animation: rise-in 0.7s ease 0.25s both; }

@media (min-width: 901px) {
  .g-hero { height: 100vh; height: 100dvh; }
  .g-hero-shift {
    display: block;
    position: absolute;
    inset: -5%;
    z-index: 0;
  }
  .g-orbs, .g-tag, .g-tab, .g-id, .g-scroll { z-index: 1; }
  .g-portrait {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }
  .orb-ring { width: 180px; height: 180px; border-width: 26px; left: 10%; top: 22%; }
  .orb-fill { width: 140px; height: 140px; left: 18%; top: 16%; }
  .orb-dot { width: 34px; height: 34px; left: 15%; top: 42%; }
}

@media (max-width: 1100px) {
  .g-kontakt { display: none; }
  .g-manifest h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.15; }
  .g-giant { font-size: clamp(2rem, 6.5vw, 4.2rem); line-height: 1.2; }
  .g-orbit { height: 86vh; min-height: 560px; }
  .sat { width: 220px; margin: -80px 0 0 -110px; transform: rotate(var(--a)) translateY(-28vh); }
  .sat img { height: 140px; }
  .orb-ring { width: 110px; height: 110px; border-width: 16px; left: 4%; }
  .orb-fill { width: 86px; height: 86px; left: 12%; }
  .orb-dot { left: 9%; }
}
@media (min-width: 700px) and (max-width: 1100px) {
  .post-grid, .reel-grid, .studio-grid, .steps { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .g-hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 88px 16px 28px;
    overflow: visible;
  }
  .g-portrait {
    width: min(92vw, 520px);
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .g-orbs, .g-tab, .g-scroll { display: none; }
  .g-tag, .g-id {
    position: static;
    inset: auto;
    width: min(92vw, 520px);
    margin: 14px 0 0;
    text-align: start;
    text-shadow: none;
  }
  .g-id h1 { font-size: 1.7rem; }
  .g-id p { color: var(--muted); }
  .g-manifest { padding: 64px 0 18px; }
  .g-manifest-grid, .shot-grid { grid-template-columns: 1fr; }
  .g-copy { grid-column: 1; grid-row: auto; padding-top: 4px; }
  .g-manifest h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .g-giant { font-size: clamp(1.7rem, 8vw, 2.6rem); margin-top: 22px; }
  .g-blob { width: 240px; height: 240px; border-width: 40px; top: -80px; }
  .section { padding: 42px 0; }
  .g-orbit {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 0 28px;
  }
  .orbit-core {
    position: static;
    transform: none;
    width: fit-content;
    height: auto;
    margin: 4px auto 14px;
    padding: 8px 16px 8px 8px;
    flex-direction: row;
    border-radius: 999px;
  }
  .orbit-spin {
    position: relative;
    animation: none;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 16px 18px;
  }
  .sat {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 min(82vw, 460px);
    width: min(82vw, 460px);
    margin: 0;
    transform: none;
    scroll-snap-align: center;
  }
  .sat-face { animation: none; }
  .sat img { height: 210px; }
  .site-nav a { padding: 12px 8px; font-size: 1.05rem; }
  .search-mini { flex-wrap: wrap; }
  .search-mini input { min-width: 0; flex: 1; }
  h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
}
@media (max-width: 699px) {
  .post-grid, .reel-grid, .studio-grid, .shot-grid, .steps { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .service-row h3 { font-size: 1.25rem; }
  .cta-band { padding: 22px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-spin, .sat-face, .ticker-track, .orb, .orb::before, .orb::after, .g-blob, .g-scroll::after, .mark-dot i { animation: none; }
  .trail { display: none; }
  .boot { display: none; }
  .view-home .g-portrait,
  .view-home .g-tag,
  .view-home .g-id,
  .view-home .g-tab { animation: none; }
}
