/* ===========================
   Design System
   =========================== */

:root {
  --color-bg: #FAFAF8;
  --color-bg-dark: #111111;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6B6B;
  --color-text-light: #FAFAF8;
  --color-accent: #FF5C39;
  --color-accent-hover: #EB4D2B;
  --color-border: #E5E3E0;

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;
  --space-5xl: 10rem;

  --max-width: 720px;
  --max-width-wide: 1080px;
  --transition-normal: 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }

/* Noise */
.noise {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px 256px;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--color-accent), #FF8C42);
  z-index: 200;
}

/* Cursor Glow */
.cursor-glow {
  position: fixed; width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,80,60,0.07) 0%, transparent 70%);
  pointer-events: none; z-index: 1;
  transform: translate(-50%,-50%); opacity: 0;
  transition: opacity 0.4s ease;
}
.cursor-glow.active { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); }
.section { padding: var(--space-4xl) 0; position: relative; overflow: hidden; }

/* ===========================
   Navigation
   =========================== */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: var(--space-sm) 0;
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}
.nav.scrolled {
  background-color: rgba(250,250,248,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--color-border);
}
.nav-inner {
  max-width: var(--max-width-wide); margin: 0 auto; padding: 0 var(--space-md);
  display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  color: var(--color-text); letter-spacing: -0.02em;
  opacity: 0; transition: opacity var(--transition-normal);
}
.nav-logo-beak {
  display: inline-block; width: 8px; height: 12px;
  margin-left: 2px; vertical-align: super;
}
.nav.scrolled .nav-logo { opacity: 1; }
.nav-cta {
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 600;
  color: #fff; background-color: var(--color-accent);
  padding: 0.5rem 1.2rem; border-radius: 5px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition-normal), background-color var(--transition-normal), transform var(--transition-normal);
}
.nav.scrolled .nav-cta { opacity: 1; pointer-events: auto; }
.nav-cta:hover { background-color: var(--color-accent-hover); color: #fff; transform: translateY(-1px); }

/* ===========================
   Hero (kept as-is — user likes it)
   =========================== */

.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: var(--space-lg); position: sticky; top: 0; z-index: 1;
}
.hero-name-wrap { width: 100%; max-width: 1200px; position: relative; z-index: 2; }
.hero-line { display: flex; justify-content: center; gap: 0; line-height: 0.9; }
.hero-char {
  display: inline-block; font-family: var(--font-display);
  font-size: clamp(15vw,19vw,24vw); font-weight: 700;
  color: var(--color-text); letter-spacing: -0.04em;
  will-change: transform, opacity; opacity: 0;
  animation: charReveal 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-line--accent .hero-char {
  color: transparent; -webkit-text-stroke: 2.5px var(--color-text);
}
.hero-beak-accent {
  display: inline-block;
  width: 3.5vw; height: auto;
  align-self: flex-start; margin-top: 2vw; margin-right: 0.5vw;
  opacity: 0; animation: beakPop 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.5s forwards;
  will-change: transform;
}
@keyframes beakPop {
  from { opacity: 0; transform: scale(0) rotate(-20deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}
@keyframes charReveal {
  from { opacity: 0; transform: translateY(80px) rotate(6deg); }
  to { opacity: 1; transform: translateY(0) rotate(0deg); }
}
.hero-sub {
  margin-top: var(--space-xl); opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards; position: relative; z-index: 2;
}
.hero-tagline {
  font-family: var(--font-display); font-size: clamp(1.1rem,1rem + 0.5vw,1.5rem);
  font-weight: 500; color: var(--color-text-muted); letter-spacing: 0.02em;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.scroll-hint {
  position: absolute; bottom: var(--space-xl);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-xs);
  opacity: 0; animation: fadeUp 0.8s ease 1.2s forwards; z-index: 2;
}
.scroll-hint-text {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-text-muted);
}
.scroll-hint-line {
  width: 1px; height: 40px; background-color: var(--color-accent);
  animation: scrollLine 2s ease infinite 2.5s;
}
@keyframes scrollLine {
  0%     { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50%    { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50.01% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
  100%   { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

/* ===========================
   O MNĚ — Intro section
   =========================== */

.section-about {
  --divider-h: clamp(100px, 18vw, 280px);
  position: relative;
  z-index: 2;
  padding-top: calc(var(--space-5xl) + var(--divider-h));
  padding-bottom: var(--space-5xl);
  overflow: visible;
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 var(--divider-h));
}

.about-headline-wrap {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  margin-bottom: var(--space-3xl);
  position: relative;
}

.about-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8vw, 10vw, 12vw);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--color-text-light);
}

@media (min-width: 768px) {
  .about-headline {
    font-size: clamp(4.5vw, 6vw, 7vw);
  }
}

.about-headline-line {
  display: block;
  white-space: nowrap;
}


.about-amp {
  color: var(--color-accent);
}

.about-beak-deco {
  position: absolute;
  right: var(--space-md);
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  width: clamp(60px, 8vw, 120px);
  height: auto;
  opacity: 0.12;
}

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

.section-about .prose p {
  font-family: var(--font-display);
  color: rgba(250,250,248,0.92);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  font-weight: 400;
}

/* Beak scroll illumination */
.prose-wrap {
  position: relative;
}

.prose-beak {
  position: absolute;
  left: calc(-1 * var(--space-2xl));
  top: 0;
  width: 30px;
  height: 18px;
  filter: drop-shadow(0 0 12px rgba(255,92,57,0.5));
  pointer-events: none;
  z-index: 3;
  will-change: transform;
}

.section-about .prose p {
  transition: color 0.4s ease;
}

.section-about .prose p.prose-dim {
  color: rgba(250,250,248,0.35) !important;
}

.section-about .prose p.prose-dim .accent-em {
  color: rgba(255,92,57,0.35) !important;
}

@media (max-width: 767px) {
  .section-about {
    padding-bottom: var(--space-2xl);
  }

  .about-headline-wrap {
    margin-bottom: var(--space-lg);
  }

  .prose-wrap {
    padding-left: var(--space-xl);
  }

  .prose-beak {
    left: 0;
    width: 18px;
    height: 11px;
  }
}

.accent-em {
  font-style: normal;
  color: var(--color-accent);
}

.section-about .accent-em {
  color: rgba(255,92,57,0.9);
}

.prose { position: relative; z-index: 2; }
.prose p {
  margin-bottom: var(--space-md); color: var(--color-text);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); line-height: 1.85;
}
.prose p:last-child { margin-bottom: 0; }
.word { display: inline; opacity: 0.1; transition: opacity 0.3s ease; }
.word.revealed { opacity: 1; }

.prose p.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.prose p.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   CO DĚLÁM — Typographic blocks
   =========================== */

/* work-list used inside section-work */

.work-list {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.work-item {
  padding: var(--space-3xl) var(--space-md);
  border-top: 1px solid var(--color-border);
  position: relative;
  /* reveal */
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.work-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.work-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.work-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 8vw, 9rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--color-accent);
  opacity: 0.15;
  flex-shrink: 0;
}

.work-num--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--color-accent);
  opacity: 0.25;
}

.work-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-text);
  padding-top: 0.15em;
}

.work-desc {
  max-width: 540px;
  margin-left: auto;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===========================
   Section Header — reusable heading + intro
   =========================== */

.section-header {
  max-width: var(--max-width-wide);
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-md);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 600px;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  line-height: 1.7;
}

.section-header--dark .section-title {
  color: var(--color-text-light);
}

.section-header--dark .section-intro {
  color: rgba(250,250,248,0.8);
}

/* ===========================
   CTA Button
   =========================== */

.cta-button {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: 0.9rem 2rem;
  background-color: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 6px;
  transition: background-color var(--transition-normal), transform var(--transition-normal), box-shadow var(--transition-normal);
}

.cta-button:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,92,57,0.3);
}

/* ===========================
   Work — extended with subtitle + example
   =========================== */

.work-subtitle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.work-example {
  max-width: 540px;
  margin-left: auto;
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.7;
  opacity: 0.75;
}

/* ===========================
   BLOG — dark section with article cards
   =========================== */

.section-blog {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--space-5xl) 0;
  overflow: visible;
}

.blog-list {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.blog-card {
  padding: var(--space-2xl) var(--space-md);
  border-top: 1px solid rgba(250,250,248,0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:last-child {
  border-bottom: 1px solid rgba(250,250,248,0.1);
}

.blog-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-sm);
}

.blog-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 1rem + 1vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.blog-card-desc {
  color: rgba(250,250,248,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: var(--space-sm);
}

.blog-card-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: color var(--transition-normal);
  cursor: pointer;
}

.blog-card-link:hover {
  color: var(--color-accent-hover);
}

/* ===========================
   ČEMU SE VĚNUJU — standalone section for work cards
   =========================== */

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

/* ===========================
   STATS — light bg
   =========================== */

.stats-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-bg);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.stat {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

/* ===========================
   MŮJ PŘÍBĚH — prose (light bg)
   =========================== */

.section-story {
  background-color: var(--color-bg);
  padding: var(--space-5xl) 0;
}

/* ===========================
   OSOBNĚ — Radial Soundbar
   =========================== */

.section-personal {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: var(--space-5xl) 0 calc(var(--space-5xl) + var(--space-4xl));
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.personal-headline-wrap {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  margin-bottom: var(--space-3xl);
  text-align: center;
}

.personal-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8vw, 10vw, 12vw);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--color-text-light);
}

.personal-headline-line {
  display: block;
}

@media (min-width: 768px) {
  .personal-headline {
    font-size: clamp(3vw, 4vw, 5vw);
  }
}

.personal-viz {
  position: relative;
  width: 450px;
  height: 450px;
  overflow: visible;
}

.personal-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.personal-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.personal-icon-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -50%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.personal-icon-btn:hover {
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transform: translate(-50%, -50%);
}

.personal-icon-btn.active {
  color: var(--color-accent);
  background: rgba(255, 92, 57, 0.12);
  border-color: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.15);
}

.personal-text {
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-xl);
  text-align: center;
}

.personal-label {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1vw, 2rem);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.personal-quote {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 400;
  font-style: normal;
  color: var(--color-text-light);
  max-width: 420px;
  padding: 0 var(--space-md);
  line-height: 1.7;
}

.personal-text.fade-in .personal-label,
.personal-text.fade-in .personal-quote {
  animation: personalFadeIn 0.4s ease forwards;
}

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

@media (max-width: 767px) {
  .personal-viz {
    width: 300px;
    height: 300px;
  }

  .personal-icon-btn {
    width: 42px;
    height: 42px;
  }
}

/* ===========================
   COMPETENCE TABS — Horizontal Tab Strip
   =========================== */

/* Comp section headline */
.comp-section {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-focus {
  background-color: var(--color-bg);
  padding: var(--space-xl) 0 0;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.comp-headline-wrap {
  margin: 0 0 var(--space-2xl);
}

.comp-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8vw, 10vw, 12vw);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .comp-headline {
    font-size: clamp(4.5vw, 6vw, 7vw);
  }
}

/* Focus Scroll Carousel */
.focus-scroll {
  height: 400vh;
  position: relative;
}

.focus-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.focus-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.focus-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.focus-slide.done {
  opacity: 0;
  transform: translateY(-60px);
}

.focus-slide-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  width: 100%;
  padding: 35vh var(--space-md) 0;
  position: relative;
}

.focus-num {
  position: absolute;
  right: var(--space-md);
  top: 35vh;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(10rem, 20vw, 25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--color-accent);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.focus-beak {
  width: 18px;
  height: 11px;
  display: block;
  flex-shrink: 0;
  margin-top: 0.6em;
}

.focus-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}

.focus-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.focus-desc {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 540px;
  position: relative;
  z-index: 2;
}

/* Progress dots */
.focus-progress {
  position: absolute;
  right: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}

.focus-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--color-text-muted);
  background: transparent;
  transition: all 0.3s ease;
}

.focus-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}

.comp-phrase {
  display: block;
  font-size: clamp(0.88rem, 0.84rem + 0.2vw, 1rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.7;
}

.comp-phrase:nth-child(2) {
  color: var(--color-text-muted);
}

.comp-phrase:nth-child(3) {
  color: rgba(107,107,107,0.7);
}

/* ===========================
   KONTAKT — asymmetric grid
   =========================== */

.section-contact {
  background-color: var(--color-accent); color: #fff;
  padding: var(--space-5xl) 0 var(--space-3xl);
  position: relative; overflow: hidden; z-index: 3;
  margin-top: 0;
  padding-top: var(--space-5xl);
}
.contact-grid {
  max-width: var(--max-width-wide);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl); align-items: center;
}
.contact-statement {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(8vw, 10vw, 12vw); line-height: 0.9;
  color: #fff; margin-bottom: 0;
  letter-spacing: -0.05em;
}
@media (min-width: 768px) {
  .contact-statement {
    font-size: clamp(3vw, 4vw, 5vw);
  }
}
.contact-links {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--space-xl);
}
.contact-link {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
  color: #fff; position: relative;
  transition: color var(--transition-normal), transform var(--transition-normal);
}
.contact-link:hover { color: var(--color-bg-dark); transform: translateY(-2px); }
.contact-link-label {
  font-size: 0.65rem; font-weight: 700; text-transform: none;
  letter-spacing: 0.08em; color: var(--color-bg-dark);
}
.contact-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background-color: #fff;
  transition: width var(--transition-normal);
}
.contact-link:hover::after { width: 100%; }

/* Footer */
.footer {
  padding: var(--space-lg) 0;
  color: rgba(255,255,255,0.6); font-size: 0.8rem;
  font-family: var(--font-display); background-color: var(--color-accent);
  letter-spacing: 0.05em;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-beak {
  width: 18px; height: 11px;
}

/* ===========================
   Responsive — Tablet
   =========================== */

/* (contact-links tablet override removed — asymmetric layout handles it) */

/* ===========================
   Responsive — Mobile
   =========================== */

@media (max-width: 767px) {
  .hero {
    min-height: 78svh;
    min-height: 82vh; /* fallback */
    padding-bottom: var(--space-3xl);
  }

  @supports (min-height: 1svh) {
    .hero { min-height: 82svh; }
  }

  .scroll-hint {
    bottom: var(--space-3xl);
  }

  .hero-char { font-size: clamp(18vw, 22vw, 28vw); }
  .hero-beak-accent { width: 4.5vw; margin-top: 2.5vw; margin-right: 0.6vw; }

  .about-headline,
  .personal-headline,
  .contact-statement {
    font-size: clamp(11vw, 13vw, 16vw);
  }

  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .work-head {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .work-num {
    font-size: clamp(3rem, 12vw, 5rem);
  }

  .work-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .work-desc,
  .work-example {
    margin-left: 0;
  }

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

  .section-contact {
    clip-path: polygon(0% 15%, 100% 0%, 100% 100%, 0% 100%);
    margin-top: calc(-1 * var(--space-5xl));
    padding: calc(var(--space-5xl) + var(--space-xl)) 0 var(--space-2xl);
  }

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


  .contact-links {
    gap: var(--space-md);
  }

  .focus-slide-inner {
    position: static;
  }

  .focus-slide {
    position: absolute;
  }

  .focus-num {
    font-size: clamp(6rem, 14vw, 10rem);
    top: auto;
    bottom: var(--space-lg);
    right: var(--space-sm);
  }

  .focus-beak {
    margin-top: 0.35em;
  }

  .focus-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .focus-progress {
    right: var(--space-sm);
    top: auto;
    bottom: 25%;
    transform: none;
    gap: 8px;
  }

  .focus-dot {
    width: 6px;
    height: 6px;
  }
}

/* (contact-statement desktop override removed — handled by clamp in base rule) */

/* ===========================
   Reduced Motion
   =========================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }

  .hero-char, .hero-sub, .scroll-hint, .hero-beak-accent {
    opacity: 1 !important; transform: none !important;
  }


  .word { opacity: 1 !important; }

  .work-item, .stat, .blog-card,
  .prose p.reveal-item {
    opacity: 1 !important; transform: none !important;
  }

  .focus-scroll { height: auto !important; }
  .focus-sticky { position: relative !important; height: auto !important; }
  .focus-slide {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    margin-bottom: var(--space-3xl);
  }
  .focus-progress { display: none !important; }

  .personal-text.fade-in .personal-label,
  .personal-text.fade-in .personal-quote {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }


  .cursor-glow, .scroll-progress, .noise { display: none !important; }
}
