/* Page-specific styles for vznik-webu.html. Shared components stay in styles.css. */
.page-vznik-webu {
  background: var(--cream-2);
}
.page-vznik-webu .site-header--solid {
  position: relative;
  background: var(--ink);
}
.story-hero {
  padding: 58px 0 68px;
  overflow: hidden;
  background: var(--cream-2);
}
.story-hero__grid {
  display: grid;
  grid-template-columns: minmax(0,.84fr) minmax(560px,1.16fr);
  gap: 72px;
  align-items: center;
}
.story-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
}
.story-hero h1 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(58px,5.2vw,78px);
  line-height: 1.02;
}
.story-hero__lead {
  max-width: 630px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.story-hero__visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 430px;
  margin-right: -32px;
  margin-left: 0;
  align-items: center;
  justify-content: center;
}
.story-hero__image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(126%,820px);
  max-width: none;
  height: auto;
  margin: 0 auto;
}
.story-browser {
  overflow: hidden;
  border: 1px solid var(--line-warm-alt);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.story-browser__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-neutral);
  background: var(--cream-2);
}
.story-browser__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
}
.story-section {
  padding: 104px 0;
}
.story-section--plain {
  background: var(--cream-2);
}
.story-section--soft {
  background: var(--cream);
}

.story-split {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 82px;
  align-items: center;
}
.story-split--intro {
  grid-template-columns: minmax(0,1fr) minmax(500px,1fr);
  align-items: start;
}
.story-copy h2 {
  max-width: 620px;
  color: var(--ink);
}
.story-copy p {
  max-width: 630px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.story-copy p:last-child {
  margin-bottom: 0;
}
.story-draft-issue {
  display: grid;
  grid-template-columns: 52px minmax(0,1fr);
  gap: 18px;
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: 18px;
  background: rgba(207,59,20,.045);
}
.story-draft-issue__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(207,59,20,.09);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
}
.story-draft-issue h3 {
  margin: 1px 0 7px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}
.story-draft-issue p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.story-draft-issue p strong {
  color: var(--ink);
  font-weight: 700;
}
.story-first-draft {
  margin: 0;
}
.story-first-draft .story-browser {
  box-shadow: 0 24px 70px rgba(3,31,35,.11);
}
.story-first-draft__viewport {
  overflow: hidden;
  aspect-ratio: 1.18 / 1;
  background: var(--cream-2);
}
.story-first-draft__viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.story-split--sketch {
  grid-template-columns: minmax(0,.96fr) minmax(460px,1.04fr);
  gap: 88px;
  align-items: start;
}
.story-sketch__copy p {
  max-width: 600px;
}
.story-sketch__copy p + p {
  margin-top: 26px;
}
.story-sketch__emphasis {
  margin-top: 34px;
}
.story-sketch__emphasis strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
}
.story-sketch__visual {
  width: 100%;
  max-width: 600px;
  margin: 0;
  justify-self: end;
}
.story-sketch__visual .story-browser {
  box-shadow: 0 22px 58px rgba(3,31,35,.08);
}
.story-sketch__viewport {
  overflow: hidden;
  aspect-ratio: 1200 / 1373;
  background: var(--white);
}
.story-sketch__viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.story-competition {
  padding-top: 118px;
  padding-bottom: 122px;
}
.story-competition__intro {
  max-width: 950px;
  margin-bottom: 34px;
}
.story-competition__intro h2 {
  max-width: 900px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(38px,3.6vw,56px);
}
.story-competition__intro p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.story-competition__intro p + p {
  margin-top: 8px;
}
.story-competition__intro strong {
  color: var(--ink);
  font-weight: 700;
}
.story-competition__grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 58px;
  align-items: start;
}
.story-competition__item {
  min-width: 0;
  margin: 0;
}
.story-competition__item figcaption {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(20px,1.65vw,26px);
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}
.story-competition__browser {
  width: 100%;
  box-shadow: 0 22px 58px rgba(3,31,35,.08);
}
.story-competition__viewport {
  overflow: hidden;
  aspect-ratio: 64 / 31;
  background: var(--white);
}
.story-competition__viewport img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.story-real-web {
  position: relative;
  overflow: hidden;
  padding: 118px 0 104px;
  background: var(--ink);
  color: var(--white);
}
.story-real-web::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg,rgba(3,49,54,.92) 0%,rgba(3,49,54,.88) 34%,rgba(3,49,54,.56) 49%,rgba(3,49,54,.16) 76%,rgba(3,49,54,0) 100%);
  content: "";
}
.story-real-web__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.story-real-web__content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}
.story-real-web__content h2 {
  max-width: 650px;
  margin: 0 0 26px;
  color: var(--white);
  font-size: clamp(44px,4.1vw,62px);
  line-height: 1.04;
}
.story-real-web__content p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 1.58;
}
.story-real-web__content p + p {
  margin-top: 22px;
}
.story-real-web__result {
  max-width: 620px;
}
.story-real-web__result strong {
  color: var(--white);
  font-weight: 700;
}
.story-real-web__continuation {
  position: relative;
  margin-top: 34px;
  padding-top: 26px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(34px,3vw,48px);
  line-height: 1.15;
}
.story-real-web__continuation::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--accent);
  content: "";
}
.story-human-detail {
  position: relative;
  overflow: hidden;
  padding: 0 0 92px;
  background: var(--cream-2);
}
.story-human-detail__grid {
  position: relative;
  min-height: 620px;
  padding-top: 96px;
}
.story-human-detail__copy {
  position: relative;
  z-index: 2;
  max-width: 570px;
}
.story-human-detail__copy h2 {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--ink);
  font-size: clamp(48px,4.4vw,68px);
  line-height: 1.02;
}
.story-human-detail__copy h2 span {
  color: var(--accent);
}
.story-human-detail__copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}
.story-human-detail__copy p + p {
  margin-top: 20px;
}
.story-human-detail__copy strong {
  color: var(--ink);
  font-weight: 700;
}
.story-human-detail__note {
  position: relative;
  margin-top: 28px;
  padding-top: 24px;
  color: var(--ink);
}
.story-human-detail__note::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 4px;
  background: var(--accent);
  content: "";
}
.story-human-detail__visual {
  position: absolute;
  top: 0;
  right: calc(50% - 50vw);
  width: min(64vw,1180px);
  pointer-events: none;
}
.story-human-detail__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.story-final-check {
  padding: clamp(112px,9vw,156px) 0;
  background: var(--cream);
}
.story-final-check__shell {
  width: min(1180px,calc(100% - 64px));
}
.story-final-check__copy {
  max-width: 920px;
  margin-inline: auto;
}
.story-final-check__copy h2 {
  max-width: 860px;
  margin: 0 0 34px;
  color: var(--ink);
  font-size: clamp(52px,4.1vw,68px);
  line-height: 1.04;
}
.story-final-check__copy > p:not(.story-final-check__result) {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.62;
}
.story-final-check__copy > p:not(.story-final-check__result) + p:not(.story-final-check__result) {
  margin-top: 22px;
}
.story-final-check__copy strong {
  color: var(--ink);
}
.story-final-check__result {
  max-width: 880px;
  margin: 42px 0 0;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(34px,3vw,46px);
  line-height: 1.15;
}
@media (max-width:1040px) {
  .story-human-detail__grid {
    min-height: 600px;
  }
  .story-human-detail__visual {
    width: min(61vw,760px);
  }
  .story-hero__grid,
  .story-split,
  .story-split--intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .story-hero__visual {
    min-height: 430px;
    margin-inline: 0;
  }
  .story-hero__image {
    width: min(112%,820px);
    margin-inline: auto;
  }
  .story-sketch__visual {
    justify-self: center;
  }
  .story-competition__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .story-competition__item {
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
  }

  

  
}
@media (max-width:760px) {
  .story-final-check {
    padding: 88px 0;
  }
  .story-final-check__shell {
    width: calc(100% - 40px);
  }
  .story-final-check__copy h2 {
    margin-bottom: 26px;
    font-size: 42px;
  }
  .story-final-check__copy > p:not(.story-final-check__result) {
    font-size: 16px;
  }
  .story-final-check__copy > p:not(.story-final-check__result) + p:not(.story-final-check__result) {
    margin-top: 18px;
  }
  .story-final-check__result {
    margin-top: 30px;
    font-size: 34px;
  }
  .story-human-detail {
    padding: 68px 0;
  }
  .story-human-detail__grid {
    min-height: 0;
    padding-top: 0;
  }
  .story-human-detail__copy h2 {
    font-size: 40px;
  }
  .story-human-detail__copy p {
    font-size: 16px;
  }
  .story-human-detail__visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 32px);
    margin: 34px -16px -26px;
  }
  .story-human-detail__visual img {
    height: auto;
  }
  .story-real-web__background,
 .story-real-web::after {
    display: none;
  }
  .story-real-web__content h2 {
    font-size: 40px;
  }
  .story-real-web__content p {
    font-size: 16px;
  }
  .story-real-web__continuation {
    margin-top: 32px;
    font-size: 34px;
  }
  .page-vznik-webu .site-header--solid {
    position: relative;
  }
  .story-hero,
  .story-section {
    padding: 68px 0;
  }
  .story-hero h1 {
    font-size: 43px;
  }
  .story-hero__visual {
    min-height: 310px;
  }
  .story-hero__image {
    width: min(118%,680px);
  }
  .story-hero__lead, .story-copy p{
    font-size: 16px;
  }
  .story-draft-issue {
    grid-template-columns: 44px minmax(0,1fr);
    gap: 14px;
    margin-top: 26px;
    padding: 18px;
  }
  .story-draft-issue__icon {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }
  .story-draft-issue h3 {
    font-size: 20px;
  }

  

  

  

  

  

}
@media (max-width:430px) {
  .story-hero h1 {
    font-size: 38px;
  }
  
}
