/* ============================================
   BOJANA ESTUDIO — Coming Soon v2
   Dark architectural · Premium · Animated
   ============================================ */

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

:root {
  --bg:           #080808;
  --surface:      #111;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(200,184,154,0.35);
  --accent:       #c8b89a;
  --accent-dim:   rgba(200,184,154,0.5);
  --text:         #f0ede8;
  --text-muted:   rgba(240,237,232,0.5);
  --text-dim:     rgba(240,237,232,0.22);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Inter', system-ui, sans-serif;
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:      cubic-bezier(0.64, 0, 0.78, 0);
}

html { height: 100%; }

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  cursor: none;
}

/* ---- Canvas ---- */
#canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- Noise texture ---- */
.noise {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  animation: noiseMove 8s steps(10) infinite;
}

@keyframes noiseMove {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(2%, 1%); }
  30%  { transform: translate(-1%, 3%); }
  40%  { transform: translate(3%, -1%); }
  50%  { transform: translate(-2%, 2%); }
  60%  { transform: translate(1%, -2%); }
  70%  { transform: translate(-3%, 1%); }
  80%  { transform: translate(2%, 3%); }
  90%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}

/* ---- Custom cursor ---- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-inner {
  position: absolute;
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
}

.cursor-ring {
  position: absolute;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.45s var(--ease),
    height 0.45s var(--ease),
    border-color 0.3s,
    opacity 0.3s;
}

body.cursor-hover .cursor-inner {
  width: 10px; height: 10px;
}

body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(200,184,154,0.8);
}

/* ---- Language toggle ---- */
.lang-toggle {
  position: fixed;
  top: 2.2rem;
  right: 2.5rem;
  z-index: 100;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 0.5rem;
  transition: color 0.3s var(--ease);
}

.lang-toggle:hover {
  color: var(--text);
}

.lang-line {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.lang-toggle:hover .lang-line { width: 28px; }

/* ---- Main ---- */
.main {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 2rem 3rem;
  gap: 1.6rem;
}

/* ---- Reveal animation ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1s var(--ease) both;
  animation-delay: var(--delay, 0s);
}

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Logo ---- */
.logo-wrap {
  display: flex;
  justify-content: center;
}

.logo {
  width: min(340px, 65vw);
  height: auto;
  filter: brightness(0.92);
  transition: filter 0.4s, transform 0.4s var(--ease);
}

.logo:hover {
  filter: brightness(1);
  transform: scale(1.01);
}

/* ---- Tag row ---- */
.tag-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.tag-line {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent-dim);
  transition: width 0.5s var(--ease);
}

.tag-row:hover .tag-line { width: 48px; }

.tag {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Headline ---- */
.headline-wrap {
  overflow: hidden;
  padding: 0.1em 0;
}

.headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  text-align: center;
  position: relative;
}

/* Subtle shimmer on headline */
.headline::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(200,184,154,0.15) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 4s ease infinite 2s;
}

@keyframes shimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ---- Body text ---- */
.body-text {
  font-size: clamp(0.8rem, 2vw, 0.92rem);
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 44ch;
}

/* ---- Progress bar ---- */
.progress-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: min(280px, 60vw);
}

.progress-track {
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent));
  animation: fillBar 3.5s var(--ease) 1.4s both;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: 0; top: -2px;
  width: 4px; height: 5px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent), 0 0 20px var(--accent-dim);
}

@keyframes fillBar {
  to { width: 38%; }
}

.progress-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- Contact ---- */
.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-decoration: none;
  cursor: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.35s var(--ease);
}

.contact::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.45s var(--ease);
}

.contact:hover { color: var(--accent); }
.contact:hover::after { width: 100%; }

.contact-icon {
  font-size: 0.6rem;
  color: var(--accent-dim);
  transition: color 0.3s, transform 0.4s var(--ease);
}

.contact:hover .contact-icon {
  color: var(--accent);
  transform: rotate(90deg);
}

/* ---- Scope ---- */
.scope {
  font-size: 0.63rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

/* ---- Marquee ---- */
.marquee-wrap {
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dim);
  white-space: nowrap;
  padding: 0 2rem;
  transition: color 0.3s;
}

.marquee-item:hover { color: var(--text-muted); }

.marquee-sep {
  font-size: 0.5rem;
  color: rgba(200,184,154,0.25);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

/* ---- Footer ---- */
.site-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

.footer-dot { color: var(--accent-dim); }

/* ---- Responsive ---- */
@media (max-width: 600px) {
  body { cursor: auto; }
  .cursor { display: none; }
  .lang-toggle { top: 1.2rem; right: 1.2rem; cursor: pointer; }
  .main { padding: 5rem 1.5rem 2.5rem; gap: 1.3rem; }
  .logo { width: min(240px, 72vw); }
  .br-d { display: none; }
  .contact { cursor: pointer; }
}
