@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMonoVF.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #000000;
  --panel: #000000;
  --blue: #0D0E96;
  --blue-deep: #070737;
  --text: #F0EFF0;
  --mute: rgba(240,239,240,0.5);
  --line: rgba(240,239,240,0.1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { max-width: 100vw; overflow-x: hidden; }
body {
  font-family: "Inter", -apple-system, "Helvetica Neue", sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: "Geist Mono", "Inter", sans-serif; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); font-weight: 300; }

a { color: inherit; }

/* Side nav */
.side-nav {
  position: fixed; left: 0; right: 0; top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: row; align-items: center;
  padding: 16px 40px;
  gap: 32px;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(16,16,16,0.85);
}
.side-logo { width: 28px; height: auto; margin: 0; display: block; flex-shrink: 0; }
.side-nav-items { display: flex; flex-direction: row; gap: 4px; flex: 1; align-items: center; padding: 0; margin-left: 24px; }
.side-nav-item {
  color: var(--text); text-decoration: none;
  font-size: 13px; font-weight: 500;
  padding: 8px 14px; border-radius: 100px;
  letter-spacing: 0.01em;
  transition: all .2s;
}
.side-nav-item:hover { background: rgba(255,255,255,0.06); }
.side-nav-item.active { background: rgba(255,255,255,0.08); }
.side-nav-item .v { color: var(--mute); font-weight: 400; }
.side-nav-cta {
  background: var(--text); color: var(--blue);
  padding: 10px 22px; border-radius: 100px;
  text-decoration: none; font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0;
  flex-shrink: 0;
  transition: opacity .2s;
}
.side-nav-cta:hover { opacity: 0.85; }
.nav-ig { color: var(--text); display: inline-flex; align-items: center; justify-content: center; padding: 8px; border-radius: 100px; opacity: 0.7; transition: opacity .2s; flex-shrink: 0; }
.nav-ig:hover { opacity: 1; }

main { margin-left: 0; padding-top: 64px; }

/* Hero (HP) */
.hero {
  min-height: calc(100vh - 64px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 32px 50px 40px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-left { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.hero-eyebrow { font-family: "Geist Mono", "Inter", sans-serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.hero-headline { font-size: clamp(40px, 5.5vw, 84px); line-height: 1; font-weight: 300; letter-spacing: -0.04em; color: var(--text); white-space: nowrap; }
@media (max-width: 1400px) { .hero-headline { white-space: normal; font-size: clamp(36px, 4.5vw, 64px); } }
@media (max-width: 700px) { .hero-headline { white-space: normal; font-size: clamp(36px, 9vw, 56px); } }
.hero-headline .it { font-style: italic; }
.hero-sub { font-size: 18px; line-height: 1.5; color: rgba(240,239,240,0.7); max-width: 520px; font-weight: 300; }
.hero-sub em { font-style: italic; color: var(--text); }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 100px; font-size: 14px; font-weight: 500; text-decoration: none; transition: all .2s; }
.hero-cta.primary { background: var(--text); color: var(--bg); }
.hero-cta.primary:hover { transform: translateY(-2px); }
.hero-cta.ghost { color: var(--text); padding: 16px 0; }
.hero-cta.ghost:hover { color: var(--text); opacity: 0.6; }
.hero-cta.ghost::after { content: "→"; transition: transform .2s; }
.hero-cta.ghost:hover::after { transform: translateX(4px); }

.hero-feature-wrap { display: flex; flex-direction: column; gap: 18px; cursor: pointer; transition: transform .4s; color: var(--text); max-width: 480px; justify-self: end; width: 100%; margin-right: 25px; }
.hero-feature-wrap:hover { transform: translateY(-4px); }
.hero-feature-top { display: none; }
.hero-feature-top .hero-pills { position: static; flex: 1; display: flex; gap: 6px; padding: 0; }
.hero-feature-card { aspect-ratio: 1237 / 1485; overflow: hidden; position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center top; }
.hero-slide.active { opacity: 1; }
.hero-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; display: block; }
.hero-feature-tag { font-family: "Geist Mono", "Inter", sans-serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,239,240,0.7); display: block; }
.hero-feature-name { font-size: 28px; font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; transition: opacity .3s; padding-top: 4px; }
.hero-pill { flex: 1; height: 3px; border-radius: 2px; background: rgba(240,239,240,0.25); overflow: hidden; }
.hero-pill.active::after { content: ""; display: block; height: 100%; background: var(--text); animation: pillFill 5s linear forwards; }
@keyframes pillFill { from { width: 0%; } to { width: 100%; } }

/* Section title shared */
.section-title { font-size: clamp(48px, 7vw, 104px); line-height: 0.95; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 60px; max-width: 900px; }
.section-title em { font-style: italic; color: var(--mute); font-weight: 400; }

/* Bento services */
.services { padding: 70px 50px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); gap: 12px; }
.bento-cell { background: var(--panel); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; border: 1px solid var(--line); overflow: hidden; position: relative; color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
a.bento-cell:hover { border-color: rgba(240,239,240,0.22); background: rgba(240,239,240,0.015); }
.bento-cell h4 { font-size: 18px; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.bento-cell p { font-size: 13px; color: var(--mute); line-height: 1.45; }
.bento-num {
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 3.5vw, 56px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: rgba(240,239,240,0.18);
  margin: 0;
}
.b1 .bento-num { color: rgba(255,255,255,0.35); font-size: clamp(72px, 6vw, 100px); }
.bento-cell .num { font-family: "Geist Mono", "Inter", sans-serif; font-size: 10px; color: var(--mute); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 300; }
.b1 { grid-column: span 3; grid-row: span 2; background: var(--blue); border-color: var(--blue); }
.b1 .num { color: rgba(255,255,255,0.7); }
.b1 h4 { color: white; }
.b1 p { color: rgba(255,255,255,0.85); }
a.b1.bento-cell:hover { border-color: var(--blue); background: var(--blue); filter: brightness(1.08); }
.b2 { grid-column: span 3; }
.b3 { grid-column: span 3; }
.b4 { grid-column: span 2; }
.b5 { grid-column: span 2; }
.b6 { grid-column: span 2; }

/* Roster section on HP */
.roster { padding: 70px 50px; background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roster-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 50px; }

.creators-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.creator-card { background: transparent; border-radius: 0; overflow: visible; border: 0; text-decoration: none; color: inherit; display: block; transition: transform .2s; }
.creator-card:hover { transform: translateY(-4px); }
.creator-img { aspect-ratio: 1237 / 1485; background-size: cover; background-position: center top; position: relative; overflow: hidden; }
.creator-img .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.creator-tag { position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); color: white; font-size: 11px; padding: 6px 10px; border-radius: 100px; letter-spacing: 0.04em; }
.creator-meta { padding: 22px; }
.creator-name { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.creator-handle { font-size: 13px; color: var(--mute); margin-top: 4px; }

/* References */
.references { padding: 40px 50px 80px; background: var(--bg); }
.references-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.reference { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; height: 100%; }
.ref-quote { font-size: 18px; line-height: 1.5; font-weight: 300; color: var(--text); }
.ref-author { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.ref-name { font-size: 15px; font-weight: 500; color: var(--text); }

/* CTA band */
.cta-band { padding: 80px 50px; background: var(--text); color: var(--bg); text-align: center; border-top: 1px solid var(--line); }
.cta-headline { font-size: clamp(56px, 9vw, 144px); line-height: 0.95; font-weight: 300; letter-spacing: -0.04em; margin-bottom: 40px; }
.cta-headline em { font-style: italic; color: var(--blue); font-weight: 300; }
.cta-button { display: inline-flex; align-items: center; gap: 10px; padding: 18px 32px; background: var(--blue); color: var(--text); border-radius: 100px; text-decoration: none; font-size: 15px; font-weight: 500; transition: transform .2s; }
.cta-button:hover { transform: translateY(-2px); }

/* Contact */
.contact { padding: 80px 50px; background: var(--blue); }
.contact h2 { font-size: clamp(72px, 12vw, 200px); line-height: 0.85; font-weight: 500; letter-spacing: -0.04em; margin-bottom: 80px; }
.contact h2 em { font-style: italic; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); border-radius: 24px; padding: 36px; transition: all .2s; }
.contact-card:hover { background: rgba(255,255,255,0.14); }
.contact-name { font-size: 36px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.contact-role { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 30px; }
.contact-line { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.15); }
.contact-line a { color: white; text-decoration: none; font-size: 14px; }

/* Page hero (subpages) */
.page-hero { padding: 32px 50px 40px; }
.page-hero h1 { font-size: clamp(44px, 7vw, 96px); line-height: 0.95; font-weight: 300; letter-spacing: -0.04em; margin-top: 0; max-width: 1100px; }
.page-hero h1 em { font-style: italic; }
.page-hero p { font-size: 17px; color: rgba(240,239,240,0.7); max-width: 640px; line-height: 1.5; margin-top: 16px; }

/* Tvurci page grid (filter overlay) */
.tvurci-grid { padding: 60px 50px 120px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 50px; row-gap: 60px; }
.tvurce { display: flex; flex-direction: column; gap: 22px; }
.tvurce-card { position: relative; aspect-ratio: 1237 / 1485; overflow: hidden; }
.tvurce-card .photo { position: absolute; inset: 0; background-size: cover; background-position: center top; }
.tvurce-card .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: block; }
.tvurce-name { font-size: 22px; font-weight: 400; letter-spacing: -0.01em; }
.tvurce-handle { font-size: 13px; color: var(--mute); margin-top: 4px; font-family: "Geist Mono", "Inter", sans-serif; }

/* Lafinity (about) */
.about { padding: 60px 50px; max-width: 1200px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-grid p { font-size: 18px; line-height: 1.6; color: rgba(240,239,240,0.85); margin-bottom: 20px; font-weight: 300; }
.about-grid p em { font-style: italic; color: var(--text); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { background: var(--panel); border-radius: 20px; padding: 28px; border: 1px solid var(--line); }
.stat-num { font-size: 56px; font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.stat-label { font-size: 12px; color: var(--mute); margin-top: 14px; font-family: "Geist Mono", "Inter", sans-serif; letter-spacing: 0.1em; text-transform: uppercase; }

footer { padding: 40px 50px; border-top: 1px solid var(--line); background: var(--bg); display: flex; justify-content: space-between; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 40px; }
  .hero-feature-card { max-width: 560px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(180px, auto); }
  .b1 { grid-column: span 2; }
  .b2, .b3, .b4, .b5, .b6 { grid-column: span 1; }
  .references-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
.side-nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.side-nav-toggle svg { display: block; }

.contact-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 700px) { .contact-bottom-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Sluzby bento: 4 cells, 2 v řadě (1 = modré, 2 = černé), 1 sloupec na mobilu */
.sluzby-bento { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(180px, auto); gap: 12px; }
.sluzby-bento .bento-cell { grid-row: auto; grid-column: auto; }
.sluzby-bento .blue { background: var(--blue); border-color: var(--blue); }
.sluzby-bento .blue .bento-num { color: rgba(255,255,255,0.7); }
.sluzby-bento .blue h4 { color: white; }
.sluzby-bento .blue p { color: rgba(255,255,255,0.85); }
@media (max-width: 700px) { .sluzby-bento { grid-template-columns: 1fr; } }

@media (max-width: 700px) {
  html, body { overflow-x: hidden; }
  .side-nav { padding: 12px 16px; gap: 10px; position: relative; }
  .side-logo { width: 26px; height: auto; }
  .side-nav-items {
    display: none;
    position: fixed; top: 56px; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 12px 16px;
    background: rgba(16,16,16,0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  .side-nav-items.open { display: flex; }
  .side-nav-item { padding: 14px 12px; font-size: 16px; white-space: nowrap; border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .side-nav-item:last-child { border-bottom: 0; }
  .side-nav-cta { padding: 8px 14px; font-size: 11px; margin-left: auto; }
  .side-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  main { margin-left: 0; padding-top: 56px; }
  .hero { padding: 30px 20px 50px; gap: 32px; text-align: center; }
  .hero-left { gap: 20px; align-items: center; }
  .hero-headline { font-size: clamp(38px, 10vw, 64px); }
  .hero-sub { font-size: 16px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; max-width: 320px; }
  .hero-cta { width: 100%; justify-content: center; padding: 14px 22px; }
  .hero-cta.ghost { padding: 14px 0; }
  .hero-feature-wrap { max-width: 100% !important; margin: 0 auto !important; justify-self: center !important; }
  .hero-feature-card { max-width: 320px; width: 100%; margin: 0 auto; }
  .hero-feature-name { font-size: 24px; }
  .services, .roster, .references, .contact, .page-hero, .tvurci-grid, .about { padding-left: 20px; padding-right: 20px; }
  .page-hero { padding-top: 40px; padding-bottom: 30px; }
  .page-hero h1 { font-size: clamp(40px, 11vw, 64px); }
  .tvurci-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; row-gap: 30px; padding-top: 20px; padding-bottom: 70px; }
  .tvurce { gap: 12px; }
  .tvurce-name { font-size: 15px; }
  .cta-band { padding: 80px 20px; }
  .section-title { font-size: clamp(36px, 9vw, 60px); margin-bottom: 32px; }
  .cta-headline { font-size: clamp(40px, 12vw, 72px); }
  .creators-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .creator-meta { padding: 14px; }
  .creator-name { font-size: 16px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b1, .b2, .b3, .b4, .b5, .b6 { grid-column: span 1 !important; grid-row: auto !important; }
  .b1 { grid-row: auto; }
  .b1 h4 { font-size: 28px; max-width: 100%; }
  .bento-cell { padding: 24px; min-height: 140px; }
  .reference { padding: 28px 24px; }
  .ref-quote { font-size: 16px; }
  .contact h2 { font-size: clamp(56px, 16vw, 100px); margin-bottom: 40px; }
  .contact-card { padding: 24px; }
  .contact-name { font-size: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 40px; }
  footer { padding: 30px 20px; flex-direction: column; gap: 8px; align-items: flex-start; }
}
