/* Original Offline homepage. Shared header, hero and other pages keep their styles. */
.home-editorial {
  --home-section-space: clamp(64px, 7vw, 104px);
  --home-column-gap: clamp(28px, 4.5vw, 72px);
  --home-heading-size: clamp(2.125rem, 3.4vw, 3.3rem);
}

/* One type scale and one content grid below the established opening image. */
.home-editorial :is(.home-introduction, .home-montage, .home-selected-references, .home-films, .cta) h2 {
  font-size: var(--home-heading-size);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.home-editorial :is(.home-introduction, .home-montage, .home-selected-references, .home-films) .eyebrow {
  margin-bottom: 22px;
}
.home-editorial :is(.home-introduction, .home-montage, .home-selected-references, .home-films) .text-link {
  min-height: 36px;
  line-height: 1.45;
  font-size: .9rem;
  padding-bottom: 5px;
}

/* An authentic site photograph anchors the company introduction. */
.home-editorial .home-introduction {
  padding-block: var(--home-section-space);
  background: #fff;
}
.home-editorial .home-introduction-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: var(--home-column-gap);
  align-items: center;
}
.home-editorial .home-introduction-visual {
  position: relative;
  align-self: center;
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}
.home-editorial .home-introduction-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  /* Preserve the original photo; apply restrained finishing only in this frame. */
  transform: rotate(-1.1deg) scale(1.03);
  transform-origin: center;
  filter: brightness(1.12) contrast(1.04) saturate(1.02);
}
.home-editorial .home-introduction h2 { margin: 0 0 26px; }
.home-editorial .home-introduction-copy { min-width: 0; padding-block: 12px; }
.home-editorial .home-introduction-copy p {
  max-width: 38em;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}
.home-editorial .home-introduction-copy .home-lead {
  color: var(--ink);
  font-size: clamp(1.125rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.home-editorial .home-introduction-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 30px;
}
.home-editorial .home-introduction-actions .btn { padding: 17px 22px; }
.home-editorial .home-introduction-actions .text-link { margin: 0; }

/* The four commitments form one distinct section, with a shared baseline. */
.home-editorial .home-values {
  padding-block: clamp(60px, 5.5vw, 80px);
  background: var(--ink);
  color: #fff;
}
.home-editorial .home-values-heading { margin-bottom: 40px; }
.home-editorial .home-values .eyebrow { color: #c8d2d6; margin: 0 0 20px; }
.home-editorial .home-values h2 {
  font-size: clamp(2rem, 2.8vw, 2.65rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -.04em;
  margin: 0;
}
.home-editorial .home-values ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.home-editorial .home-values li {
  min-width: 0;
  padding-top: 23px;
  border-top: 1px solid #526066;
}
.home-editorial .home-value-number {
  display: block;
  margin-bottom: 19px;
  color: #ee7b83;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
}
.home-editorial .home-values h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin: 0 0 14px;
  hyphens: none;
}
.home-editorial .home-values li p {
  color: #c8d2d6;
  font-size: .9375rem;
  line-height: 1.7;
  margin: 0;
}

/* The six established photographs remain paired, with more image height and light around them. */
.home-editorial .home-montage {
  padding-block: var(--home-section-space);
  background: var(--paper);
  color: var(--ink);
}
.home-editorial .home-montage-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px 40px;
  margin-bottom: 40px;
}
.home-editorial .home-montage-heading h2 { margin: 0; }
.home-editorial .home-montage-heading .text-link { flex-shrink: 0; }
.home-editorial .montage-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 32px;
}
.home-editorial .montage-gallery-card {
  display: block;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.home-editorial .montage-gallery-card figure { margin: 0; }
.home-editorial .montage-gallery-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9e0e1;
}
.home-editorial .montage-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-editorial .montage-gallery-card figcaption { padding-top: 18px; }
.home-editorial .montage-gallery-card h3 {
  font-size: clamp(1.25rem, 1.85vw, 1.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.025em;
  margin: 0;
  color: var(--ink);
  text-decoration: none;
  hyphens: none;
}
.home-editorial .montage-gallery-arrow { display: none; }
.home-editorial .home-selected-references .project-card:focus-visible {
  outline: 3px solid #17778c;
  outline-offset: 7px;
}

/* Projects are a smaller, three-image selection, clearly distinct from the service pairs. */
.home-editorial .home-selected-references {
  padding-block: var(--home-section-space);
  background: #fff;
}
.home-editorial .home-selected-references .section-heading {
  gap: 24px 40px;
  margin-bottom: 40px;
}
.home-editorial .home-selected-references .section-heading h2 { margin: 0; max-width: none; }
.home-editorial .home-selected-references .section-heading .text-link { flex-shrink: 0; }
.home-editorial .home-selected-references .project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.home-editorial .home-selected-references .project-card {
  min-width: 0;
  border: 0;
  text-decoration: none;
}
.home-editorial .home-selected-references .project-image { aspect-ratio: 3 / 2; }
.home-editorial .home-selected-references .project-image img {
  transition: transform 550ms cubic-bezier(.2, .65, .3, 1);
}
.home-editorial .home-selected-references .project-type,
.home-editorial .home-selected-references .project-card h3 > span { display: none; }
.home-editorial .home-selected-references .project-card h3 {
  display: block;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -.025em;
  margin: 18px 0 8px;
  text-decoration: none;
}
.home-editorial .home-selected-references .project-weight { display: block; font-size: .875rem; }
@media (hover: hover) and (pointer: fine) {
  .home-editorial .home-selected-references .project-card:hover img { transform: scale(1.035); }
}

/* One dark film stage, with quiet chapter tabs instead of a box inside a box. */
.home-editorial .home-films {
  padding-block: var(--home-section-space);
  background: var(--ink);
  color: #fff;
}
.home-editorial .home-film-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.65fr);
  gap: var(--home-column-gap);
  align-items: start;
}
.home-editorial .home-film-copy { min-width: 0; padding-top: 8px; }
.home-editorial .home-film-copy .eyebrow { color: #d5dfe2; }
.home-editorial .home-film-copy h2 { margin: 0 0 26px; }
.home-editorial .home-film-copy p { max-width: 27em; color: #c8d2d6; line-height: 1.75; margin-bottom: 28px; }
.home-editorial .home-film-copy .text-link {
  display: table;
  color: #fff;
  border-color: #849399;
  margin-top: 14px;
}
.home-editorial .home-film-copy .home-download-link { color: #c8d2d6; font-weight: 400; }
.home-editorial .home-films .film-teaser { min-width: 0; background: transparent; }
.home-editorial .home-films .film-teaser > video { width: 100%; aspect-ratio: 16 / 9; }
.home-editorial .home-films .film-now {
  /* The active title and description continue to label the player accessibly. */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.home-editorial .home-films .film-choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin-top: 14px;
}
.home-editorial .home-films .film-choice {
  display: block;
  min-height: 76px;
  padding: 14px 0 16px;
  border: 0;
  border-bottom: 2px solid #536267;
  background: transparent;
  color: #b9c6cb;
}
.home-editorial .home-films .film-choice > span { font-size: .9375rem; line-height: 1.4; font-weight: 600; }
.home-editorial .home-films .film-choice small { font-size: .75rem; color: #aebdc3; margin-bottom: 7px; }
.home-editorial .home-films .film-choice img,
.home-editorial .home-films .film-choice-icon { display: none; }
.home-editorial .home-films .film-choice[aria-pressed=true] { border-color: #e25c67; color: #fff; }
.home-editorial .home-films .film-choice:hover { color: #fff; border-color: #fff; }
.home-editorial .home-films .video-control-hint {
  margin: 18px 0 0;
  padding: 0;
  color: #aebdc3;
  font-size: .75rem;
}
.home-editorial .home-films a:focus-visible,
.home-editorial .home-films video:focus-visible { outline-color: #fff; }

/* A calm, purposeful ending before the shared footer. */
.home-editorial #main > .cta { padding-block: var(--home-section-space); gap: 32px 48px; }
.home-editorial #main > .cta h2 { margin: 0 0 20px; }
.home-editorial #main > .cta p { max-width: 42em; }
.home-editorial #main > .cta .btn { flex-shrink: 0; }

@media (max-width: 1100px) {
  .home-editorial .home-values ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 36px; }
  .home-editorial .home-film-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
}
@media (max-width: 850px) {
  .home-editorial { --home-column-gap: 32px; }
  .home-editorial .home-introduction-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-editorial .home-introduction-copy { padding-block: 0; }
  .home-editorial .home-introduction-visual { order: 2; min-height: 0; aspect-ratio: 4 / 3; }
  .home-editorial .home-introduction-visual img { object-position: 50% 50%; }
  .home-editorial .home-introduction-copy p { max-width: none; }
  .home-editorial .home-montage-heading,
  .home-editorial .home-selected-references .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .home-editorial .montage-gallery { gap: 32px 24px; }
  .home-editorial .home-selected-references .project-grid { gap: 22px; }
  .home-editorial .home-film-layout { grid-template-columns: 1fr; gap: 32px; }
  .home-editorial .home-film-copy { padding-top: 0; }
  .home-editorial .home-film-copy p { max-width: 40em; }
  .home-editorial .home-film-copy .text-link { display: inline-flex; margin: 0 24px 0 0; }
  .home-editorial .home-film-copy .home-download-link { margin-top: 12px; }
  .home-editorial #main > .cta { align-items: start; flex-direction: column; }
}
@media (max-width: 600px) {
  .home-editorial { --home-section-space: 60px; --home-heading-size: clamp(2rem, 7.5vw, 2.5rem); }
  .home-editorial .home-values { padding-block: 52px; }
  .home-editorial .home-values-heading { margin-bottom: 30px; }
  .home-editorial .home-introduction-actions { gap: 18px 22px; }
  .home-editorial .home-values ul { grid-template-columns: 1fr; gap: 28px; }
  .home-editorial .home-values h2 { font-size: 1.9rem; }
  .home-editorial .home-value-number { margin-bottom: 14px; }
  .home-editorial .home-values h3 { margin-bottom: 8px; }
  .home-editorial .home-montage-heading,
  .home-editorial .home-selected-references .section-heading { margin-bottom: 30px; }
  .home-editorial .montage-gallery,
  .home-editorial .home-selected-references .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-editorial .montage-gallery-card figcaption { padding-top: 15px; }
  .home-editorial .home-selected-references .project-image { aspect-ratio: 16 / 10; }
  .home-editorial .home-selected-references .project-card h3 { font-size: 1.25rem; margin-top: 15px; }
  .home-editorial .home-films .film-choices { gap: 16px; }
  .home-editorial .home-films .film-choice > span { font-size: .875rem; }
  .home-editorial .home-films .film-choice small { font-size: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-editorial .montage-gallery-card img,
  .home-editorial .home-selected-references .project-card img { transition: none; transform: none; }
}

/* Compact facts band, following the approved online preview. */
.home-editorial .home-facts {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.home-editorial .home-facts .stats { border-bottom: 0; }
.home-editorial .home-facts .stat { min-width: 0; }
.home-editorial .home-facts .stat strong { font-size: clamp(1.5rem, 3vw, 2.6rem); }
.home-editorial .home-facts .stat:last-child { padding-right: 0; }
