/* GREY WOLF — white editorial design */

/* ━━ tokens ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  --white: #ffffff;
  --paper: #f7f7f5;
  --ink:   #191919;
  --muted: #686868;
  --line:  #e0e0db;
  --red:   #b52b25;
  --pad:   clamp(24px, 6vw, 96px);
  --max:   1440px;
}

/* ━━ reset ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { margin: 0; background: var(--white); color: var(--ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.65; }
body.nav-open { overflow: hidden; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
h1, h2, p { margin-top: 0; }

/* ━━ a11y ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* ━━ header ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.site-header {
  position: fixed; z-index: 50; top: 0; left: 0;
  width: 100%; height: 88px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  transition: .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  border-color: var(--line);
}
.brand { width: 94px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.site-header.scrolled .brand { opacity: 1; pointer-events: auto; }
.brand img { width: 100%; height: 62px; object-fit: contain; }
.site-nav { display: flex; gap: clamp(20px, 3vw, 46px); }
.site-nav a {
  font-size: 12px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  position: relative; padding: 8px 0;
}
.site-nav a::after {
  content: ""; position: absolute; bottom: 3px; left: 0;
  width: 0; height: 1px; background: currentColor; transition: width .25s;
}
.site-nav a:hover::after,
.site-nav a.active::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }

/* ━━ hero (zachováno) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: 100svh;
  display: grid; place-items: center;
  position: relative;
  padding: 120px 24px 80px;
  background: var(--paper);
}
.hero-mark { width: min(520px, 74vw); }
.hero-mark img { width: 100%; }
.hero-kicker {
  position: absolute; bottom: 64px; left: var(--pad);
  font: 500 11px/1 "Manrope", sans-serif;
  text-transform: uppercase; letter-spacing: .25em;
  color: var(--muted);
}
.scroll-cue {
  position: absolute; right: var(--pad); bottom: 52px;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
}
.scroll-cue span {
  width: 7px; height: 7px;
  border-right: 1px solid; border-bottom: 1px solid;
  transform: rotate(45deg);
}

/* ━━ sdílené ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eyebrow {
  font: 600 11px/1.3 "Manrope", sans-serif;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.section {
  padding: clamp(90px, 12vw, 160px) var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

/* nadpis sekce — eyebrow nahoře, titulek pod ním, linka dole */
.section-heading {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: clamp(56px, 8vw, 100px);
}
.section-heading h1 {
  font: 300 clamp(28px, 3vw, 46px) / 1.05 "Manrope", sans-serif;
  letter-spacing: -.05em; margin: 0;
}
.section-heading--light .eyebrow { color: var(--muted); }

/* ━━ realizované projekty ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.projects-section { background: var(--white); max-width: none; }
.projects-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.project {
  display: grid;
  grid-template-columns: minmax(200px, .65fr) 1fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
  margin: 0;
  padding: clamp(56px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--line);
}
.project:first-of-type { padding-top: 0; }
.project:last-child { border-bottom: none; padding-bottom: 0; }

.project--reverse { grid-template-columns: 1fr minmax(200px, .65fr); }
.project--reverse .project-visual { order: 2; }
.project--reverse .project-copy { justify-self: end; }

.poster-frame { padding: 0; background: none; box-shadow: 0 16px 50px rgba(0,0,0,.1); }
.poster-frame img { width: 100%; aspect-ratio: 1431/2000; object-fit: cover; }

.project-meta {
  font: 600 11px/1.4 "Manrope", sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.project-copy { max-width: 560px; }
.project-copy h2 {
  font: 300 clamp(27px, 3.1vw, 48px) / 1.02 "Manrope", sans-serif;
  letter-spacing: -.05em; margin-bottom: 22px;
  white-space: nowrap;
}
.project-copy > p { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.75; color: #484848; }
.project-facts { margin: 22px 0 0; }
.project-facts div {
  display: grid; grid-template-columns: 110px 1fr;
  border-top: 1px solid var(--line); padding: 10px 0;
}
.project-facts dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.project-facts dd { margin: 0; font-size: 14px; }
.project-links { margin-top: 28px; border-top: 1px solid var(--line); }
.project-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font: 600 11px/1.4 "Manrope", sans-serif;
  text-transform: uppercase; letter-spacing: .1em;
  transition: padding-left .2s, color .2s;
}
.project-links a:hover { padding-left: 8px; color: var(--red); }

/* ━━ připravované projekty ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.upcoming-section { background: var(--paper); max-width: none; }
.upcoming-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.upcoming-section .project-meta { color: var(--muted); }

.feature-project { margin-bottom: clamp(72px, 10vw, 130px); }
.feature-project:last-child { margin-bottom: 0; }

/* sdílená mřížka pro oba připravované projekty */
.hacha,
.kristianka {
  display: grid;
  grid-template-columns: .48fr 1fr;
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}
.kristianka {
  border-top: 1px solid var(--line);
  padding-top: clamp(64px, 9vw, 120px);
}

/* obrazové koncepty připravovaných projektů */
.feature-project .wide-image { position: relative; overflow: hidden; margin-bottom: 0; }
.feature-project .wide-image img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover; object-position: center 25%;
  transition: transform 1.2s;
}
.kristianka .wide-image img { object-position: 72% 25%; }
.feature-project .wide-image:hover img { transform: scale(1.018); }
.concept-label {
  position: absolute; left: 14px; bottom: 14px;
  padding: 5px 9px;
  background: rgba(0,0,0,.6);
  font: 600 9px/1 "Manrope", sans-serif;
  text-transform: uppercase; letter-spacing: .14em; color: #fff;
}

/* pravý sloupec — obsah sdílený oběma */
.feature-copy h2 {
  font: 300 clamp(36px, 4.2vw, 64px) / 1 "Manrope", sans-serif;
  letter-spacing: -.055em; margin-bottom: 26px;
  white-space: nowrap;
}
.feature-copy .lead {
  font: 400 clamp(18px, 1.6vw, 24px) / 1.45 "Manrope", sans-serif;
  color: var(--ink); margin-bottom: 18px;
}
.feature-copy > p:not(.lead):not(.project-meta) { font-size: 16px; line-height: 1.75; color: #565656; }

/* Kristiánka — jednosloupcový obsah (potlačení vnitřní mřížky) */
.kristianka .feature-copy--split { display: block; }
.kristianka .feature-copy--split .lead {
  font: 400 clamp(18px, 1.6vw, 24px) / 1.45 "Manrope", sans-serif;
  color: var(--ink);
}
.kristianka .feature-copy--split > div:last-child > p:not(.lead) { font-size: 16px; line-height: 1.75; color: #565656; }

.project-links--dark { margin-top: 28px; border-top: 1px solid var(--line); }
.project-links--dark a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  font: 600 11px/1.4 "Manrope", sans-serif;
  text-transform: uppercase; letter-spacing: .1em;
  transition: padding-left .2s, color .2s;
}
.project-links--dark a:hover { padding-left: 8px; color: var(--red); }
.project-facts--dark { margin: 22px 0 0; }
.project-facts--dark div {
  display: grid; grid-template-columns: 110px 1fr;
  border-top: 1px solid var(--line); padding: 10px 0;
}
.project-facts--dark dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.project-facts--dark dd { margin: 0; font-size: 14px; }
.deck-link {
  display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-top: 28px; padding: 13px 0;
  font: 600 11px/1.4 "Manrope", sans-serif;
  text-transform: uppercase; letter-spacing: .12em;
  transition: color .2s;
}
.deck-link:hover { color: var(--red); }

/* ━━ o nás + kontakt (společný blok) ━━━━━━━━━━━━━━━━━━ */
.bottom-section {
  background: var(--paper);
  padding: clamp(80px, 11vw, 140px) var(--pad) 0;
}
.bottom-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}
.bottom-column-heading { margin-bottom: 34px; }
.bottom-headline {
  min-height: 2.1em;
  font: 300 clamp(22px, 2.3vw, 34px) / 1.15 "Manrope", sans-serif;
  letter-spacing: -.055em; margin-bottom: 26px;
}
.about-lead { font: 400 clamp(17px, 1.5vw, 22px) / 1.6 "Manrope", sans-serif; margin-bottom: 14px; }
.bottom-about p:not(.eyebrow):not(.about-lead) { font-size: 15px; line-height: 1.8; color: #5a5a5a; margin-bottom: 0; }
.contact-details { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.contact-details address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.9; }
.email {
  font: 500 clamp(16px, 1.7vw, 23px) / 1 "Manrope", sans-serif;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 7px; transition: color .2s;
}
.email:hover { color: var(--red); }

/* ━━ footer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
footer {
  display: flex; justify-content: space-between;
  padding: 24px var(--pad);
  background: var(--ink); color: #888;
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
}
footer p { margin: 0; }

/* ━━ reveal animace ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s, transform .75s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ━━ responsivita ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 900px) {
  .site-header { height: 70px; }
  .brand { opacity: 1; pointer-events: auto; width: 75px; }
  .brand img { height: 52px; }
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; z-index: 2; }
  .nav-toggle span:not(.sr-only) { display: block; width: 25px; height: 1px; background: var(--ink); transition: .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 0;
    background: var(--white);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: var(--pad); gap: 28px;
    visibility: hidden; opacity: 0; transition: .25s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav a { font: 400 26px/1.2 "Manrope", sans-serif; text-transform: none; letter-spacing: -.02em; }

  .project,
  .project--reverse { grid-template-columns: 1fr; gap: 32px; }
  .project--reverse .project-visual { order: 0; }
  .project--reverse .project-copy { justify-self: stretch; }

  .hacha,
  .kristianka { grid-template-columns: 1fr; }
  /* na mobilu zobrazíme obrazové koncepty v širším formátu */
  .feature-project .wide-image img { aspect-ratio: 16/9; object-position: center 32%; }
  .kristianka .wide-image img { object-position: 72% 40%; }
  .bottom-inner { grid-template-columns: 1fr; gap: 52px; }
  .bottom-headline { min-height: 0; }
}

@media (max-width: 480px) {
  .hero-mark { width: 86vw; }
  .hero-kicker { bottom: 36px; }
  .scroll-cue { display: none; }
  .project-facts div,
  .project-facts--dark div { grid-template-columns: 1fr; gap: 4px; }
  .project-copy h2 { font-size: clamp(19px, 5.8vw, 31px); }
}
