.company-editorial {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.company-editorial h1 {
  margin: 0 0 .9rem;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.company-editorial p + p { margin-top: 1rem; }
.company-editorial figure { margin: 0; }
.company-editorial img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 43%;
  border-radius: .55rem;
}
.company-editorial figcaption { margin-top: .5rem; color: #45665c; font-size: .875rem; }
.company-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.company-values > * { border-top: 2px solid #9cdac6; padding-top: 1rem; }
.company-values h2 { margin-bottom: .55rem; font-size: clamp(1.3rem, 2.1vw, 1.75rem); }
.company-values a { display: inline-block; margin-top: .65rem; color: #005b4a; font-weight: 700; }
.company-editorial #poslani { scroll-margin-top: 1.5rem; }
@media (max-width: 720px) {
  .company-editorial, .company-values { grid-template-columns: minmax(0, 1fr); }
}

.company-principles h1 {
  margin: 0 0 .65rem;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.company-principles img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.1 / 1;
  object-fit: cover;
  object-position: center 10%;
  margin-top: clamp(1rem, 3vw, 2rem);
  border-radius: .55rem;
}

.company-principle-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 720px) {
  .company-principles img { aspect-ratio: 3 / 2; }
  .company-principle-list { grid-template-columns: minmax(0, 1fr); }
}

.company-photo-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(14 14 14 / 63%), rgb(14 14 14 / 36%) 42%, transparent 80%),
    linear-gradient(0deg, rgb(14 14 14 / 55%), transparent 78%);
}
.company-photo-hero .detail-hero-inner > div { max-width: min(78%, 57rem); }
.company-photo-hero .detail-hero-inner > div::before { content: none; }
.company-photo-hero h1 {
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
  text-wrap: balance;
}
.company-photo-hero .company-principles-photo { object-position: center 20%; }
.company-photo-hero img[src$="veliia-hodnoty-logo.jpg"] { object-position: center 35%; }

@media (min-width: 1600px) {
  .company-photo-hero:has(img:is(
    [src$="veliia-hodnoty-logo.jpg"],
    .company-principles-photo,
    [src$="veliia-9-baleni-a-prebalovani-mozaika.webp"]
  )) {
    min-height: max(var(--veliia-hero-min-height), min(48vw, 103svh));
  }

  .company-photo-hero img:is([src$="veliia-hodnoty-logo.jpg"], .company-principles-photo) {
    object-position: center 8%;
  }

  .company-photo-hero img[src$="veliia-9-baleni-a-prebalovani-mozaika.webp"] {
    object-position: center top;
  }
}

.company-prose { max-width: 68ch; }
.company-topic { padding-block: clamp(1.25rem, 4vw, 2.75rem); border-top: 1px solid #cfe2dc; }
.company-topic h2 { scroll-margin-top: 2rem; }

@media (max-width: 720px) {
  .company-photo-hero::before {
    background: linear-gradient(0deg, rgb(14 14 14 / 86%), rgb(14 14 14 / 68%) 40%, transparent 92%);
  }
  .company-photo-hero .detail-hero-inner > div { max-width: 100%; }
}

.company-about-intro {
  max-width: 68ch;
  padding-block: clamp(1rem, 3vw, 3rem);
}
.company-about-intro h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -.045em;
  margin-bottom: .75em;
}
.company-about-intro h2 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.2;
  margin: clamp(1.8rem, 4vw, 2.75rem) 0 .65rem;
}
.company-about-intro p { line-height: 1.65; }
.company-about-intro p + p { margin-top: .85rem; }
.company-about-intro p:first-of-type { font-size: clamp(1.1rem, 1.8vw, 1.25rem); }
.company-about-body > section:not(:first-child) {
  border-top: 1px solid #cfe2dc;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}
.company-contact-hero {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(19rem, 34vw, 30rem);
  background: #eef6f2;
}
.company-contact-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  letter-spacing: -.045em;
  margin: .3em 0;
}
.company-contact-hero img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.company-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #eef6f2 39%, transparent 78%);
}
.company-contact-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}
.company-contact-grid section {
  border: 1px solid #cfe2dc;
  border-radius: .6rem;
  padding: clamp(1.1rem, 3vw, 2rem);
}
.company-contact-grid a { color: #005b4a; font-weight: 650; }
.company-contact-card {
  display: flex;
  flex-direction: column;
}
.company-contact-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: .65rem;
  margin-block-start: auto;
  padding-block-start: .8rem;
}
.company-contact-actions a {
  min-width: 0;
  overflow-wrap: anywhere;
}
.company-contact-actions a[href^="mailto:"] {
  grid-column: 2;
  text-align: end;
}
.company-contact-grid .company-offices { grid-column: 1 / -1; }
.company-office-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem clamp(2rem, 5vw, 4rem);
}
.company-office-list h3 { margin: 0 0 .35rem; }
.company-office-list p { margin: 0; }
@media (max-width: 600px) {
  .company-contact-hero { min-height: auto; grid-template-rows: auto auto; }
  .company-contact-hero .detail-wrap { padding-block: 1rem 1.75rem; }
  .company-contact-hero img { position: static; width: 100%; height: auto; aspect-ratio: 2; }
  .company-contact-hero::before { content: none; }
  .company-contact-grid { grid-template-columns: minmax(0,1fr); }
}

.initiatives-intro {
  background: #f8f6f1;
  border-bottom: 1px solid #e0e6df;
  padding-block: clamp(2.5rem, 6vw, 6rem);
}
.initiatives-intro h1 {
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.05;
  letter-spacing: -.055em;
  margin: 0 0 .32em;
}
.initiatives-intro p { max-width: 55ch; font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.initiatives-content .initiatives-story { padding-block: clamp(1.25rem, 3vw, 2.5rem); }
.initiatives-story p { max-width: 55ch; }
.initiatives-story img { height: auto; aspect-ratio: 3 / 2; }
@media (min-width: 721px) {
  .initiatives-story:nth-of-type(2) { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); }
  .initiatives-story:nth-of-type(2) figure { grid-column: 1; grid-row: 1; }
}

.company-title-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 5.25rem);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -.047em;
  text-wrap: balance;
}
.company-title-hero h1::before {
  content: "";
  display: block;
  width: clamp(2.25rem, 4vw, 3.5rem);
  height: 3px;
  margin-bottom: .26em;
  border-radius: 10px;
  background: #9be5cd;
}
.company-title-hero .detail-hero-inner > div { max-width: min(100%, 44rem); }

.company-about-art img { display: block; width: 100%; height: auto; }
.company-about-intro .detail-action { margin-top: 1rem; }
