:root {
  --ink: #46393d;
  --paper: #fdf8f7;
  --paper-deep: #f5e8e8;
  --rose: #c793a0;
  --rose-pale: #f3e2e4;
  --green: #657065;
  --white: #fffdfc;
  --line: rgba(70, 57, 61, 0.15);
  --serif: 'Iowan Old Style', Baskerville, 'Times New Roman', serif;
  --script: 'la-bohemienne', 'Snell Roundhand', 'Apple Chancery', 'URW Chancery L', cursive;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --content: min(1280px, calc(100vw - 64px));
  --shadow: 0 12px 36px rgba(93, 67, 72, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }

/* Jediný stylový soubor homepage. Hodnoty měň nahoře v :root. */
.site-header {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 32px;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .25);
}

.site-header__brand {
  font-size: 18.72px;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: lowercase;
}

.site-header__menu {
  display: flex;
  gap: 24px;
  font-family: var(--sans);
  font-size: 18.72px;
  font-weight: 300;
  letter-spacing: .08em;
  text-transform: lowercase;
}

.hero {
  min-height: min(890px, 100svh);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
}

.hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 19, 22, .34), rgba(27, 19, 22, .16) 50%, rgba(27, 19, 22, .38));
  pointer-events: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transition: opacity 1s ease-in-out;
}

.slide.is-active { opacity: 1; z-index: 1; }
.slide.is-entering { opacity: 1; z-index: 2; }

.slide--1 { background-image: url('assets/hero-source/14-rose-rain.jpg'); }
.slide--2 { background-image: url('assets/hero-source/16-peony-pale.jpg'); }
.slide--3 { background-image: url('assets/hero-source/08-sky-pastel-clean.jpg'); }
.slide--4 { background-image: url('assets/hero-source/15-rose-fuchsia.jpg'); }
.slide--5 { background-image: url('assets/hero-source/21-sky-blue.jpg'); }
.slide--6 { background-image: url('assets/hero-source/17-rose-abstract.jpg'); }
.slide--7 { background-image: url('assets/hero-source/09-clouds-clean.jpg'); }
.slide--8 { background-image: url('assets/hero-source/18-rose-soft.jpg'); }
.slide--9 { background-image: url('assets/hero-source/22-sky-orange.jpg'); }
.slide--10 { background-image: url('assets/hero-source/19-lily-rain.jpg'); }
.slide--11 { background-image: url('assets/hero-source/20-rose-violet.jpg'); }
.slide--12 { background-image: url('assets/hero-source/10-rain.jpg'); }

.hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 28px 68px;
}

.hero__eyebrow {
  margin: 0 0 15px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 12vw, 170px);
  letter-spacing: -.06em;
  line-height: .85;
}

.hero__line {
  margin: 0 auto;
  max-width: calc(100vw - 64px);
  font-family: var(--script);
  font-size: clamp(58px, 7.4vw, 118px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--script);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.intro {
  width: var(--content);
  margin: 0 auto;
  padding: 144px 0 112px;
}

.intro__top {
  display: grid;
  grid-template-columns: 1fr minmax(250px, 430px);
  gap: 74px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.intro__top h2 {
  margin: 0;
  max-width: 630px;
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.intro__top p {
  margin: 0;
  align-self: end;
  font-size: 17px;
  line-height: 1.7;
}

.worlds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.world {
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(22px, 3vw, 38px);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.world::before {
  content: none;
}

.world::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0 0 60%;
  background-position: center;
  background-size: cover;
}

.world__number {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--white);
  text-shadow: 0 1px 10px rgba(70, 57, 61, .24);
}

.world__number,
.world h3,
.world p,
.world__link {
  z-index: 2;
}

.world h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -.03em;
}

.world p {
  margin: 10px 0 20px;
  max-width: 270px;
  font-size: 15px;
  line-height: 1.5;
}

.world__link {
  color: var(--rose);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Obraz zůstává nahoře; text dostává vlastní, klidnou plochu. */
.world::after {
  z-index: 1;
}

.world--portfolio::after { background-image: url('assets/portfolio-editorial.jpg'); background-position: 50% 14%; }
.world--workshops::after { background-image: url('assets/portfolio-branding.jpg'); background-position: 48% 70%; }
.world--garden::after { background-image: url('assets/rose-soft.jpg'); background-position: 50% 49%; }

.world__number {
  font-family: var(--serif);
  font-size: 19px;
}

.footer {
  padding: 38px 34px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  background: var(--rose-pale);
  color: var(--ink);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}

@media (max-width: 720px) {
  .site-header {
    padding: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .site-header__menu {
    gap: 14px;
    font-size: 17.28px;
    letter-spacing: .08em;
  }
  .site-header__brand { font-size: 17.28px; }
  .hero__copy { padding: 154px 24px 76px; }
  .hero__line { max-width: 350px; font-size: clamp(46px, 12.5vw, 58px); line-height: 1.3; }
  .hero__scroll { bottom: 20px; font-size: 24px; }
  .intro { width: min(100% - 40px, 620px); padding: 92px 0 72px; }
  .intro__top { grid-template-columns: 1fr; gap: 26px; padding-bottom: 38px; }
  .intro__top h2 { font-size: clamp(37px, 11vw, 48px); line-height: 1.04; }
  .intro__top p { font-size: 16px; line-height: 1.65; }
  .worlds { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .world { aspect-ratio: 5 / 6; padding: 26px; }
  .world::after { inset: 0 0 58%; }
  .world__number { top: 18px; left: 20px; }
  .world h3 { font-size: 38px; }
  .world p { margin: 8px 0 16px; font-size: 15px; }
  .footer {
    padding: 24px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
