:root {
  /* barvy */
  --bg: radial-gradient(circle at top left, #20222a 0, #08090b 50%, #000 100%);
  --ink: #f5f5f5;
  --ink-muted: #a3a3aa;
  --accent: #d2a254;
  --accent-soft: rgba(210, 162, 84, 0.18);
  --border-soft: rgba(255, 255, 255, 0.08);

  /* radius + stíny */
  --radius-l: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-soft: 0 1.6rem 3.5rem rgba(0, 0, 0, 0.9);

  /* typografie */
  --font-size-base: 1.2rem; /* 16px */
  --font-size-small: 1rem;
  --font-size-tiny: 0.9rem;

  /* rozestupy */
  --page-padding-x: 4vw;
  --page-padding-y: 3rem;

  /* animace */
  --transition: 0.22s ease-out;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: var(--font-size-base);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LAYOUT */
.page {
  width: 100%;
  padding: var(--page-padding-y) var(--page-padding-x) 3rem;
}

.shell {
  width: 100%;
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(1rem);
  background: linear-gradient(
    to bottom,
    rgba(8, 9, 11, 0.97),
    rgba(8, 9, 11, 0.85) 55%,
    transparent
  );
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.06);
}
.nav__languages {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
}

.nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 400;
  opacity: 0.7;
  border: 1px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease,
    background-color 0.15s ease;
}

.nav__lang:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.25);
}

.nav__lang--active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.nav__flag img {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__label {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav__inner {
  position: relative;
  padding: 1rem var(--page-padding-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__mark {
  width: 2rem;
  height: 2rem;
  border-radius: 999rem;
  background: radial-gradient(
    circle at 30% 0%,
    #ffe0a6 0,
    #d49a43 45%,
    #4b2a10 100%
  );
  box-shadow: 0 0 1.4rem rgba(230, 176, 93, 0.9);
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.logo__line--main {
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo__line--sub {
  font-size: 0.7rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* logo new */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo__img {
  height: 3rem; /* logo v horním navigačním pruhu */
  width: auto;
  display: block;
}

.logo__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo__text {
  margin-top: 6px;
  text-align: center;
}

.nav__links {
  display: flex;
  gap: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.nav__links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 0.08rem;
  background: linear-gradient(90deg, #f8d18d, #c08b3b);
  transition: width var(--transition);
}

.nav__links a:hover::after {
  width: 100%;
}

/* HAMBURGER TOGGLE */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  border-radius: 999rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.4);
  color: var(--ink-muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.nav__toggle-icon {
  line-height: 1;
}

/* BUTTONS & LINKS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999rem;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.btn--primary {
  padding: 0.75rem 1.8rem;
  background: linear-gradient(135deg, #f5d089, #d9a353, #8a5a25);
  color: #1a1207;
  box-shadow: 0 1.4rem 2.5rem rgba(0, 0, 0, 0.9);
  transition: transform var(--transition), box-shadow var(--transition),
    filter var(--transition);
}

.btn--primary:hover {
  transform: translateY(-0.05rem);
  filter: brightness(1.03);
  box-shadow: 0 1.8rem 3.2rem rgba(0, 0, 0, 0.95);
}

.btn--ghost {
  padding: 0.45rem 1.2rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  background: radial-gradient(
    circle at top left,
    rgba(250, 211, 137, 0.16),
    rgba(255, 255, 255, 0.02)
  );
  color: var(--ink-muted);
}

.btn__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999rem;
  background: #f7c773;
  box-shadow: 0 0 0.75rem rgba(250, 210, 120, 0.9);
}

.btn__icon {
  font-size: 1rem;
}

.link-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.link-ghost__icon {
  font-size: 1rem;
  transform: translateY(0.08rem);
}

/* HERO */
.hero {
  padding: var(--page-padding-y) 0 2.5rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.image__title {
  width: 30rem;
  height: auto;
  margin-bottom: 5rem;
  align-items: left;
  opacity: 0.83;
  filter: drop-shadow(0 0 18px rgba(255, 186, 120, 0.25));
}
.eyebrow {
  font-size: var(--font-size-tiny);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 3.2vw, 2.9rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}

.image__hero_block {
  display: flex;
  flex-direction: column;
  align-items: left;
}
.hero__accent {
  background: linear-gradient(90deg, #ffe7b2, #f8c978, #c88c42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 35rem;
  line-height: 1.6;
  margin-bottom: 1.7rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 1.6rem;
}

.hero__meta span::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.4rem;
  border-radius: 999rem;
  background: var(--accent);
  box-shadow: 0 0 0.8rem rgba(241, 193, 116, 0.8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.1rem;
  background: radial-gradient(
    circle at top left,
    rgba(255, 214, 150, 0.08),
    rgba(7, 7, 9, 1)
  );
  border: 0.0625rem solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.hero__image {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.hero__pill {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 70%;
  padding: 0.35rem 0.9rem;
  border-radius: 999rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.7);
  font-size: var(--font-size-tiny);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__pill-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999rem;
  background: #f7c773;
  box-shadow: 0 0 0.75rem rgba(247, 199, 115, 0.9);
}

.hero__caption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.9rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.hero__caption strong {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: #f1d9a1;
}

/* BADGE & PILLS */
.badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
}

.badge {
  background: linear-gradient(
    120deg,
    rgba(248, 203, 132, 0.18),
    rgba(130, 87, 36, 0.25)
  );
}

.pill--soft {
  background: rgba(255, 255, 255, 0.02);
  color: #f6d596;
}

/* SECTIONS */
.section {
  padding: 2.5rem 0 0;
}

.section--last {
  padding-bottom: 0;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.6rem;
}

.section__title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section__text {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 32rem;
  line-height: 1.6;
}

.section__tag {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(
    circle at top left,
    var(--accent-soft),
    transparent 60%
  );
  color: var(--ink-muted);
}

/* GRID */
.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ONYX VARIANTS – mozaika tabulí */
.section--onyx {
  position: relative;
}

.section__header--onyx .section__tag {
  background: rgba(210, 162, 84, 0.12);
}

/* mozaika – trochu „rozstřelenější“ než klasické karty */
.grid--onyx--3 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.2rem;
}

/* základní dlaždice */
.onyx {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 0.0625rem solid var(--border-soft);
  background: radial-gradient(
    circle at top left,
    rgba(255, 214, 150, 0.08),
    rgba(9, 9, 12, 1)
  );
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

/* hero varianta – větší tabule, rozbije rytmus gridu */
.onyx--hero {
  grid-column: span 2;
  grid-row: span 2;
}

/* obrázek tabule */
.onyx__image {
  aspect-ratio: 2 / 2.5; /* vysoký, „tabulový“ formát */
  overflow: hidden;
  padding: 1rem;
}

.onyx__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform var(--transition), filter var(--transition);
}

/* jemný zoom na hover */
.onyx:hover .onyx__image img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* text pod onyxem */
.onyx__body {
  padding: 0.9rem 1rem 1.1rem;
}

.onyx__title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.onyx__text {
  font-size: 0.85rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.grid--tech {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--showcase {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* SHOWCASE – UKÁZKY REALIZACÍ */
.showcase {
  position: relative;
  border-radius: var(--radius-l);
  border: 0.0625rem solid var(--border-soft);
  background: radial-gradient(
    circle at top left,
    rgba(255, 214, 150, 0.07),
    rgba(9, 9, 12, 1)
  );
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.showcase__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform var(--transition);
}

.showcase:hover .showcase__image img {
  transform: scale(1.06);
}

.showcase__body {
  padding: 0.9rem 1rem 1.1rem;
}

.showcase__title {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.showcase__text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* CARD – KOLEKCE */
.card {
  position: relative;
  border-radius: var(--radius-l);
  border: 0.0625rem solid var(--border-soft);
  background: radial-gradient(
    circle at top left,
    rgba(255, 214, 150, 0.07),
    rgba(9, 9, 12, 1)
  );
  padding: 0.9rem 0.9rem 1rem;
  box-shadow: 0 1.3rem 3.1rem rgba(0, 0, 0, 0.9);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  transform: translateY(-0.18rem);
  border-color: rgba(255, 214, 150, 0.5);
  box-shadow: 0 1.8rem 3.8rem rgba(0, 0, 0, 0.95);
}

.card__image {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(255, 255, 255, 0.08);
  background: #000;
}

.card__image--main {
  aspect-ratio: 4 / 3;
  position: relative;
  z-index: 1;
}

.card__image--main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: opacity var(--transition), transform var(--transition);
}

.card__image--hover {
  position: absolute;
  inset: 0.6rem;
  border-radius: 1.1rem;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity var(--transition);
}

.card__image--hover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover logika */
.card:hover .card__image--hover {
  opacity: 1;
}

.card:hover .card__image--main img,
.card:hover .card__body,
.card:hover .card__meta {
  opacity: 0;
  transform: translateY(0.4rem);
}

/* CARD TEXT */
.card__body {
  position: relative;
  z-index: 2;
  margin-top: 0.85rem;
  transition: opacity var(--transition), transform var(--transition);
}

.card__title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.card__text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 0.25rem;
}

.card__meta {
  position: relative;
  z-index: 2;
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: opacity var(--transition), transform var(--transition);
}

/* TECHNOLOGIE */
.tech {
  padding: 1.15rem 1rem;
  border-radius: 1.1rem;
  border: 0.0625rem solid var(--border-soft);
  background: linear-gradient(
    140deg,
    rgba(255, 214, 150, 0.06),
    rgba(11, 12, 16, 1)
  );
}

.tech__title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f1d9a1;
  margin-bottom: 0.45rem;
}

.tech__text {
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ARCHITEKTI */
.architects {
  margin-top: 2.6rem;
  padding: 1.6rem 1.4rem 1.4rem;
  border-radius: var(--radius-xl);
  border: 0.0625rem solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(
    circle at top left,
    rgba(255, 214, 150, 0.1),
    rgba(9, 9, 12, 1)
  );
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: center;
}

.architects__list {
  margin-top: 0.65rem;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.architects__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-bottom: 0.4rem;
}

.architects__list li::before {
  content: "•";
  margin-top: 0.05rem;
  color: var(--accent);
}

.architects__cta {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}

.architects__note {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* CONTACT SECTION */
.section--contact {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.contact-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
}

.contact-block {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.6rem 1.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.contact-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}

.contact-text {
  color: #d6d6d6;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-text a {
  color: #f5d8a8;
  text-decoration: none;
}

.contact-cta {
  margin-top: 3rem;
  text-align: center;
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #cfcfcf;
}

/* RESPONSIVE contact */
@media (max-width: 62rem) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-block {
    padding: 1.4rem 1.3rem;
  }
}

/* FOOTER */
.footer {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

/* RESPONSIVE */
/* ===================== TABLET (≤ 992 px) ===================== */
@media (max-width: 62rem) {
  /* hero: 1 sloupec, rozumné mezery */
  .hero {
    padding-top: 2.4rem;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  /* karty po 2 na řádek */
  .grid--cards,
  .grid--tech,
  .grid--showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .grid--showcase {
    align-items: stretch;
  }

  /* onyx mozaika 5 → 3 sloupce */
  .grid--onyx--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
  }

  /* blok pro architekty – pod sebe, víc vzduchu */
  .architects {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: flex-start;
  }

  /* nadpis + text pod sebou, ne vedle sebe */
  .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .section__header > * {
    max-width: 40rem;
  }

  .nav__inner {
    gap: 0.75rem;
  }
}

/* ===================== MOBILE (≤ 768 px) ===================== */
@media (max-width: 48rem) {
  .page {
    padding-inline: 1.1rem;
  }

  /* ---------- NAVBAR ---------- */
  .nav__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-inline: 1.1rem;
    padding-block: 0.6rem;
    position: relative;
    flex-wrap: nowrap;
  }

  /* hamburger vlevo */
  .nav__toggle {
    order: 1;
    display: inline-flex;
    font-size: 2rem;
    padding: 0.5rem;
  }

  .nav__toggle-icon {
    font-size: 2.2rem;
    line-height: 1;
  }

  /* logo */
  .logo {
    order: 2;
    flex: 0 0 auto;
  }

  .logo__img {
    max-width: 7rem;
    height: auto;
    display: block;
  }

  /* CTA mezi logem a jazyky, na jednom řádku */
  .nav__cta {
    order: 3;
    margin-left: 0.75rem;
    white-space: nowrap;
  }

  /* jazyky úplně vpravo */
  .nav__languages {
    order: 4;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  /* rozbalené menu – gradient obrácený, nejtmavší dole */
  .nav__links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 0.75rem 1.1rem 1rem;
    background: linear-gradient(
      to top,
      rgba(8, 9, 11, 0.98),
      rgba(8, 9, 11, 0.92) 70%,
      transparent
    );
    flex-direction: column;
    gap: 0.75rem;
    display: none;
    z-index: 1000;
  }

  .nav__links--open {
    display: flex;
  }

  /* tlačítka – obecně ok lámat, ghost/CTA držet v řádku */
  .btn {
    white-space: normal;
    padding-inline: 0.9rem;
  }

  .btn--ghost,
  .nav__cta {
    white-space: nowrap;
  }

  /* ---------- GRIDY / KARTY ---------- */
  /* všude 1 sloupec */
  .grid--cards,
  .grid--tech,
  .grid--showcase,
  .grid--onyx--3,
  .grid--products {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 2rem;
  }

  .product-card {
    width: 100%;
    max-width: none;
    border-radius: 1rem;
  }

  .product-card p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  /* hero layout */
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .hero__inner > * {
    text-align: left;
  }

  .image__title {
    width: 18rem;
    max-width: 100%;
    margin-inline: auto;
  }

  /* ---------- ARCHITEKTI ---------- */
  .architects {
    padding-inline: 1rem;
    text-align: left;
    gap: 1.6rem;
  }

  .architects__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  /* ---------- ONYX SEKCE ---------- */
  .section--onyx .grid--onyx--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section--onyx .onyx--hero {
    grid-column: span 1;
    max-height: none;
  }

  /* ---------- FOOTER ---------- */
  .footer {
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
  }
}

/* =========================
   ONYX GALLERY – REFINEMENT
   pouze pro sekci .section--onyx
   ========================= */

.section--onyx .grid--onyx--3 {
  /* místo pevného počtu sloupců uděláme auto-fit galerii */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

/* karta onyxu – čistší, víc „gallery“ */
.section--onyx .onyx {
  position: relative;
  padding: 0; /* pryč velký vnitřní padding */
  border-radius: 1.4rem;
  overflow: hidden;
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

/* hero kámen – o něco větší na desktopu */
.section--onyx .onyx--hero {
  grid-column: span 2;
  max-height: 520px; /* limit výšky na desktopu */
}

/* obraz hero tabule může být víc „na šířku“ */
.section--onyx .onyx--hero .onyx__image {
  aspect-ratio: 4 / 5; /* méně vysoké než 3/4 */
}

/* obrázek přes celou kartu */
.section--onyx .onyx__image {
  padding: 0;
  aspect-ratio: 3 / 4; /* „deska“ na výšku */
}

.section--onyx .onyx__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* jemný zoom a rozsvícení na hover */
.section--onyx .onyx:hover .onyx__image img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* text jako overlay dole přes fotce */
.section--onyx .onyx__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1.1rem 1.1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
}

.section--onyx .onyx__title {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: #f5f5f5;
}

.section--onyx .onyx__text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #d2d2d2;
}

/* RESPONSIVE – ať hero není rozbitý na mobilu */
@media (max-width: 62rem) {
  .section--onyx .onyx--hero {
    grid-column: span 2;
  }
}

@media (max-width: 48rem) {
  .section--onyx .onyx--hero {
    grid-column: span 1;
  }
}
