/* ═══════════════════════════════════════════
   KRUG — Online Theatre
   Clean, white, typographic, minimal
   Sans-serif only / Space Grotesk + Inter
   ═══════════════════════════════════════════ */

:root {
  --color-bg: #fafbfc;
  --color-bg-subtle: #f3f5f7;
  --color-text: #1a1a1a;
  --color-text-muted: #7b8794;
  --color-accent: #3a6b8a;
  --color-accent-light: rgba(58, 107, 138, 0.07);
  --color-border: rgba(26, 26, 26, 0.08);
  --color-border-strong: rgba(26, 26, 26, 0.14);
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 11rem;
}

/* ───── Reset ───── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ───── Navigation ───── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: box-shadow 0.4s;
}

.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}

.nav.scrolled::before { opacity: 1; }
.nav.scrolled { box-shadow: 0 1px 0 var(--color-border); }

.nav-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  opacity: 0;
  transition: opacity 0.4s;
}

.nav.scrolled .nav-logo-img { opacity: 1; }

.nav-links { display: flex; gap: var(--space-md); }

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav.scrolled .nav-links a { opacity: 0.45; }
.nav.scrolled .nav-links a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  z-index: 210;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--color-text);
  position: absolute; left: 5px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              top 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              bottom 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s;
}

.nav-toggle span:first-child { top: 10px; }
.nav-toggle span:last-child { bottom: 10px; }

.nav-toggle.active span:first-child {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.nav-toggle.active span:last-child {
  bottom: 50%; transform: translateY(50%) rotate(-45deg);
}

/* ───── Hero ───── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-xl) var(--space-md);
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--color-border);
}

.circle--1 {
  width: min(80vw, 600px); height: min(80vw, 600px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; animation: circleIn 2s ease-out 0.3s forwards;
}
.circle--2 {
  width: min(55vw, 420px); height: min(55vw, 420px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; animation: circleIn 2s ease-out 0.6s forwards;
}
.circle--3 {
  width: min(30vw, 240px); height: min(30vw, 240px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0; animation: circleIn 2s ease-out 0.9s forwards;
}

@keyframes circleIn {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 640px;
}

.hero-logo-wrap {
  opacity: 0; transform: scale(0.9);
  animation: logoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-logo {
  width: min(40vw, 260px);
  height: auto;
  margin: 0 auto;
}

@keyframes logoIn { to { opacity: 1; transform: scale(1); } }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: var(--space-lg);
  opacity: 0; animation: fadeUp 0.8s ease-out 1.2s forwards;
}

.hero-desc {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  margin-top: var(--space-md);
  opacity: 0; animation: fadeUp 0.8s ease-out 1.5s forwards;
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-md);
  opacity: 0; animation: fadeUp 0.8s ease-out 1.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-md);
  left: 50%; transform: translateX(-50%);
  z-index: 1;
  color: var(--color-text-muted);
  opacity: 0; animation: fadeUp 0.8s ease-out 2.2s forwards;
  cursor: pointer; background: none; border: none; padding: 8px;
}

.hero-scroll svg { animation: float 2.5s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ───── Floating dots ───── */

.dot--float {
  position: absolute;
  border-radius: 50%;
  background: var(--color-border-strong);
  pointer-events: none;
  z-index: 0;
}

.dot--1 { width: 4px; height: 4px; top: 22%; left: 15%; animation: drift1 18s ease-in-out infinite; }
.dot--2 { width: 6px; height: 6px; top: 68%; right: 12%; animation: drift2 22s ease-in-out infinite; opacity: 0.5; }
.dot--3 { width: 3px; height: 3px; top: 35%; right: 25%; animation: drift3 15s ease-in-out infinite; }

.dots-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.dot--4 { width: 5px; height: 5px; top: 30%; left: 8%; animation: drift2 20s ease-in-out infinite; opacity: 0.4; }
.dot--5 { width: 3px; height: 3px; top: 65%; right: 10%; animation: drift1 16s ease-in-out infinite; opacity: 0.5; }
.dot--6 { width: 4px; height: 4px; top: 20%; right: 15%; animation: drift3 19s ease-in-out infinite; opacity: 0.4; }
.dot--7 { width: 5px; height: 5px; bottom: 25%; left: 12%; animation: drift1 24s ease-in-out infinite; opacity: 0.35; }
.dot--8 { width: 3px; height: 3px; top: 50%; left: 30%; animation: drift2 17s ease-in-out infinite; opacity: 0.5; }

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(12px, -18px); }
  50% { transform: translate(-8px, -30px); }
  75% { transform: translate(20px, -10px); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-15px, 12px); }
  50% { transform: translate(10px, 25px); }
  75% { transform: translate(-20px, 8px); }
}

@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(18px, 15px); }
  66% { transform: translate(-12px, -20px); }
}

/* ───── Buttons ───── */

.btn {
  display: inline-block;
  padding: 13px 36px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

.btn--primary:hover {
  background: transparent;
  color: var(--color-text);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn--ghost:hover { border-color: var(--color-text); }

/* ───── Sections ───── */

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

/* ───── Grid layout ───── */

.grid-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.grid-label {
  position: sticky;
  top: 90px;
}

.label-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.label-line {
  display: block;
  width: 32px; height: 1px;
  background: var(--color-border-strong);
  margin-top: var(--space-sm);
}

.grid-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.grid-body p:last-child { margin-bottom: 0; }

.text-lead {
  font-family: var(--font-display);
  font-size: 1.15rem !important;
  font-weight: 400;
  line-height: 1.65 !important;
  color: var(--color-text) !important;
  margin-bottom: var(--space-md) !important;
}

.text-accent {
  font-family: var(--font-display);
  font-size: 1rem !important;
  font-weight: 400;
  color: var(--color-accent) !important;
  line-height: 1.7 !important;
}

.sub-heading {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}

.spacer { height: var(--space-lg); }
.spacer-sm { height: var(--space-md); }

/* ───── Manifesto ───── */

.manifesto {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.manifesto-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-line {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.manifesto-line:last-child { margin-bottom: 0; }
.manifesto-line.visible { opacity: 1; transform: translateY(0); }

/* ───── Themes ───── */

.themes-section { padding: var(--space-lg) 0; }

.themes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}

.theme {
  padding: 9px 22px;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  transition: all 0.3s;
}

.theme:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ───── Statement ───── */

.statement-section { padding: var(--space-xl) 0; }

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 300;
  line-height: 1.6;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  color: var(--color-text);
}

/* ───── Lists ───── */

.diff-list,
.format-list,
.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.diff-list li,
.format-list li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  padding-left: var(--space-md);
  position: relative;
}

.diff-list li::before,
.format-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
}

.mission-list li {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  font-weight: 300;
  padding-left: var(--space-md);
  position: relative;
}

.mission-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--color-border-strong);
}

/* ───── Divider ───── */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
}

.divider-line { width: 50px; height: 1px; background: var(--color-border-strong); }
.divider-dot { width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--color-border-strong); }

/* ───── Project ───── */

.project-poster-block {
  margin-bottom: var(--space-md);
}

.project-poster-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.project-text-block {}

.project-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.project-format {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.project-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.project-essence {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-accent);
  margin: var(--space-sm) 0 var(--space-md);
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 9px 18px;
  background: var(--color-accent-light);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-accent);
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ───── Join ───── */

.join-section {
  text-align: center;
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-bg-subtle);
  position: relative;
}

.join-content {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.join-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.join-text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-sm);
}

.roles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: var(--space-lg) 0;
}

.role {
  padding: 9px 22px;
  border: 1px solid var(--color-border-strong);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s;
  cursor: default;
}

.role:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
}

/* ───── Contact ───── */

.contact-section { padding-bottom: var(--space-2xl); }

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-strong);
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  border: 1px solid var(--color-border-strong);
  border-radius: 8px;
  padding: 14px;
  margin-top: var(--space-xs);
}

.form-group textarea:focus { border-color: var(--color-accent); }

.form-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.form-success {
  display: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-accent);
}

.form-success.show { display: block; }

.contact-direct { padding-top: 6px; }

.contact-direct-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.contact-link:hover { color: var(--color-text); }
.contact-link svg { flex-shrink: 0; }

/* ───── Footer ───── */

.footer {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img { height: 36px; width: auto; }

.footer-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-links { display: flex; gap: var(--space-md); }

.footer-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--color-text); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}

/* ───── Reveal ───── */

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* ───── Selection ───── */

::selection { background: var(--color-accent); color: #fff; }

/* ───── Scrollbar ───── */

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 2px; }

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 5rem;
    --space-2xl: 7rem;
  }

  body { font-size: 16px; }

  /* ── Mobile nav ── */

  .nav-logo-img {
    height: 36px;
    opacity: 1;
  }

  .nav-toggle { display: block; }

  .nav.menu-open {
    bottom: 0;
    background: #fafbfc;
    box-shadow: none;
  }

  .nav.menu-open::before { opacity: 0; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: absolute;
    inset: 0;
  }

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

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    opacity: 1 !important;
    transition: color 0.3s;
  }

  .nav-links a:active { color: var(--color-accent); }

  /* ── Mobile layout ── */

  .grid-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .grid-label { position: static; }

  .hero-logo { width: min(55vw, 220px); }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .form-row { grid-template-columns: 1fr; }

  .statement { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-sm); }
  .roles-grid { gap: 8px; }
  .role { padding: 7px 16px; font-size: 0.82rem; }
  .theme { padding: 7px 16px; font-size: 0.8rem; }
  .join-title { font-size: 2rem; }
  .footer-links { display: none; }
}
