/* Homepage-only additions; shared design and other routes are unchanged. */
.home-page .home-services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8%;
  padding: 76px 5.5%;
  background: #e6e8df;
  color: #17201e;
  border-bottom: 1px solid #c7cbc3;
  scroll-margin-top: 84px;
}
.home-services-label {
  font-size: 12px;
  letter-spacing: 0.17em;
  line-height: 1.7;
  margin: 0 0 25px;
}
.home-services-heading h2 {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 5.9vw, 84px);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
}
.home-services-copy > p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  max-width: 500px;
  color: #535b57;
}
.home-services-areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 24px 0;
  margin: 28px 0 20px;
  border-top: 1px solid #c7cbc3;
  border-bottom: 1px solid #c7cbc3;
}
.home-services-areas li {
  min-width: 0;
}
.home-services-areas span {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #535b57;
}
.home-services-areas h3 {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  margin: 10px 0 0;
}
.home-services-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 52px;
  padding: 16px 20px;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.home-services-link > span {
  font-size: 22px;
  line-height: 1;
}
.home-services-link:hover {
  background: #284236;
}
.home-services-link:focus-visible {
  outline: 2px solid #17201e;
  outline-offset: 5px;
}
.home-page .hero-subtitle {
  max-width: 600px;
}
@media (max-width: 900px) {
  .home-page .home-services {
    gap: 6%;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
@media (max-width: 620px) {
  .home-page .home-services {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 6%;
  }
  .home-services-heading h2 {
    font-size: clamp(48px, 13vw, 68px);
  }
  .home-services-label {
    margin-bottom: 20px;
  }
  .home-services-areas {
    gap: 16px;
  }
  .home-services-areas h3 {
    font-size: 23px;
  }
  .home-services-link {
    width: 100%;
  }
}
/* Keep longer project context readable without changing its wording. */
.home-page .work-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.home-page .work-meta > span {
  max-width: 100%;
  white-space: normal;
  line-height: 1.7;
}
@media (max-width: 900px) {
  .home-services-areas {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
  .home-services-areas li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
  }
  .home-services-areas li + li {
    border-top: 1px solid #c7cbc3;
  }
  .home-services-areas h3 {
    margin: 0;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .home-page .site .hero {
    min-height: 560px;
  }
}

@media (min-width: 901px) {
  .home-services-areas li + li {
    border-left: 1px solid #c7cbc3;
    padding-left: 20px;
  }
}

/* Portfolio hierarchy: one featured client, followed by compact own projects. */
.home-page .home-client-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1430/710;
  overflow: hidden;
  background: #f3f1eb;
}
.home-page .home-client-screen {
  display: block;
  width: calc(100% * 1440 / 1430);
  max-width: none;
  height: auto;
  aspect-ratio: 1440/721;
}
.home-page .home-client-booking {
  position: absolute;
  top: 10%;
  right: 2.5%;
  width: 13%;
  height: auto;
  aspect-ratio: 720/1571;
  border: 1px solid #bfc6bd;
}
.home-page .home-client-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6%;
  margin-top: 32px;
}
.home-page .home-client-feature h3 {
  font-size: clamp(40px, 4.6vw, 66px);
}
.home-page .home-client-story .work-description {
  max-width: none;
}
.home-page .home-own-projects {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #3a4c42;
}
.home-page .home-own-projects > h3 {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin: 0 0 24px;
  color: #c3cdc6;
}
.home-own-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.home-own-entry {
  min-width: 0;
  border-top: 1px solid #3a4c42;
  padding-top: 20px;
}
.home-own-entry .work-meta {
  margin: 0 0 18px;
}
.home-own-entry h4 {
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.home-own-entry .work-purpose {
  font-size: 16px;
}
.home-own-entry .work-description {
  font-size: 16px;
  line-height: 1.75;
  max-width: none;
}
.home-own-entry .work-tags {
  font-size: 11px;
  margin-top: 20px;
  padding-top: 14px;
}
@media (max-width: 700px) {
  .home-page .home-client-copy {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
  .home-own-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-page .home-own-projects {
    margin-top: 36px;
    padding-top: 26px;
  }
}

/* Client example belongs to 02 / Tvorba webů; own projects stay in 03. */
.home-page .home-services > .home-client-feature {
  grid-column: 1/-1;
  min-width: 0;
  padding-top: 36px;
  border-top: 1px solid #c7cbc3;
  color: #17201e;
}
.home-services .home-client-feature .work-description,
.home-services .home-client-feature .work-meta,
.home-services .home-client-feature .work-tags {
  color: #535b57;
}
.home-services .home-client-feature .work-tags,
.home-services .home-client-feature .work-action a {
  border-color: #a5ada2;
}
.home-page .selected-work > .home-own-projects {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.home-page .home-services {
  row-gap: 40px;
}
@media (max-width: 620px) {
  .home-page .home-services {
    row-gap: 28px;
  }
}

/* 2026-10: readable copy and actions within the established editorial layout. */
.home-page .hero .hero-subtitle {
  font-size: 16px;
  line-height: 1.65;
  max-width: 52ch;
}
.home-page .hero:before {
  background: linear-gradient(
    90deg,
    rgba(5, 22, 30, 0.64),
    rgba(5, 22, 30, 0.28) 48%,
    rgba(5, 22, 30, 0.05)
  );
}
.home-page .identity-description,
.home-page .work-intro,
.home-page .work-description,
.home-page .north-description {
  max-width: 60ch;
  line-height: 1.75;
}
.home-page .studio-role {
  font-size: 16px;
  line-height: 1.75;
}
.home-page .work-meta {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.home-page .work-tags {
  font-size: 12px;
  line-height: 1.7;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.home-page .work-action a,
.home-page .journal-all,
.home-page .identity-link,
.home-page .north-description a,
.home-page .work-footer a {
  min-height: 48px;
  font-size: 12px;
  line-height: 1.6;
}
.home-page .home-services-link {
  min-height: 52px;
}
.home-page .home-client-visual:focus-visible {
  outline: 3px solid #17201e;
  outline-offset: 5px;
}
.home-page .home-own-entry {
  display: flex;
  flex-direction: column;
}
.home-page .home-own-entry .work-action {
  margin-top: auto;
  padding-top: 12px;
}
.home-page .editorial-note {
  height: auto;
  min-height: 160px;
  padding-block: 28px;
}
.home-page .editorial-note h3 {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-height: 1.4;
}
.home-page .editorial-note time,
.home-page .note-category {
  color: #535b57;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .home-page .hero .hero-subtitle {
    max-width: 44ch;
  }
}
@media (max-width: 620px) {
  .home-page .site .hero {
    height: auto;
    min-height: max(760px, 100svh);
  }
  .home-page .hero-content {
    min-height: max(760px, 100svh);
    height: auto;
    justify-content: flex-start;
    padding-top: 180px;
    padding-bottom: 110px;
  }
  .home-page .hero-kicker {
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
    font-weight: 600;
    line-height: 1.4;
  }
  .home-page .hero-kicker:before {
    display: none;
  }
  .home-page .hero .hero-subtitle {
    margin-top: auto;
    padding-top: 40px;
    font-size: 16px;
    line-height: 1.65;
  }
  .home-page .hero-topics {
    font-size: 10px;
    line-height: 1.7;
    letter-spacing: 0.1em;
  }
  .home-page .home-services-heading h2 {
    font-size: clamp(42px, 12vw, 68px);
  }
  .home-page .identity-description,
  .home-page .work-intro {
    font-size: 16px;
  }
  .home-page .home-client-feature h3 {
    font-size: clamp(34px, 9.8vw, 52px);
    overflow-wrap: break-word;
  }
  .home-page .home-client-copy {
    gap: 16px;
  }
  .home-page .home-client-feature .work-meta {
    gap: 6px;
  }
  .home-page .home-client-feature .work-purpose {
    font-size: 16px;
    line-height: 1.6;
  }
  .home-page .home-client-booking {
    width: 18%;
    right: 2%;
    top: 8%;
  }
  .home-page .editorial-note {
    min-height: 180px;
    grid-template-rows: auto auto;
    align-content: center;
    gap: 14px 12px;
  }
  .home-page .editorial-note h3 {
    font-size: 23px;
    margin: 0;
  }
  .home-page .editorial-note .note-category {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
  }
  .home-page .editorial-note > span:last-child {
    align-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-page {
    scroll-behavior: auto;
  }
  .home-page *,
  .home-page *:before,
  .home-page *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.home-page .journal-results[data-state="empty"],
.home-page .journal-results[data-state="error"] {
  min-height: 0;
}
/* Keep the LCP headline immediately visible instead of fading it in. */
.home-page .hero-content {
  animation: none;
}

/* The caption participates in the portrait grid; its own width selects the layout. */
.home-page .identity {
  padding-bottom: 0;
}
.home-page .identity-portrait figcaption {
  display: block;
  padding: 0;
  line-height: 1.7;
  container: identity-caption / inline-size;
}
.identity-caption-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0 12px;
  padding: 10px 18px 6px;
  line-height: 1.7;
}
.identity-portrait .identity-caption-name {
  grid-column: 1;
  grid-row: 1;
  opacity: 1;
  white-space: nowrap;
}
.identity-caption-location {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  white-space: nowrap;
}
.identity-social-links {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  min-width: 0;
}
.identity-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 0;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.identity-social-link .arrow-icon {
  width: 14px;
  height: 14px;
}
.identity-portrait .identity-social-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (hover: hover) {
  .identity-social-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
  }
}
@container identity-caption (min-width: 460px) {
  .identity-caption-layout {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0 16px;
    padding: 8px 22px;
  }
  .identity-caption-name {
    grid-column: 1;
    grid-row: 1;
  }
  .identity-social-links {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    flex-wrap: nowrap;
  }
  .identity-caption-location {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }
}
/* One owner for the gap from the last About content to the North heading. */
.home-page .north-heading {
  padding-top: 96px;
}
.home-page .north-heading > span {
  text-align: right;
}
@media (max-width: 1100px) {
  .home-page .north-heading {
    padding-top: 80px;
  }
}
@media (max-width: 620px) {
  .home-page .north-heading {
    padding-top: 64px;
  }
}

/* Give the contact address space before the original footer boundary. */
.home-page .get-in-touch {
  padding-bottom: 48px;
}
@media (max-width: 620px) {
  .home-page .get-in-touch {
    padding-bottom: 32px;
  }
}

@media (hover: hover) {
  .home-page .contact-address:hover > span:first-child {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 8px;
  }
}

/* The client's words belong to the featured project, not a separate section. */
.home-page .home-client-reference {
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid #a5ada2;
}
.home-page .home-client-reference blockquote {
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.65;
  color: #17201e;
}
.home-page .home-client-reference figcaption {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #535b57;
}
@media (max-width: 620px) {
  .home-page .home-client-reference {
    margin-top: 28px;
    padding: 20px 0 24px;
    border-bottom: 1px solid #a5ada2;
  }
}
