/* Shared navigation and homepage layout for the architectural film range. */
.header-actions {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}
header nav {
  margin: 0;
  margin-inline-start: auto;
  gap: clamp(15px, 2.4vw, 36px);
}
header nav a { font-weight: 600; color: #233b55; }
header nav a:hover { color: #1254a0; }
header nav .nav-inquiry { display: none; }
.language-menu {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
}
.language-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 6px 11px;
  border: 1px solid #cbd7e3;
  font-size: 13px;
  white-space: nowrap;
}
.language-menu summary span { color: inherit; font-size: 13px; }
.language-options {
  position: absolute;
  z-index: 1;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  display: grid;
  min-width: 145px;
  padding: 5px;
  background: #fff;
  border: 1px solid #cbd7e3;
  box-shadow: 0 6px 20px #102c441c;
}
.language-options a { padding: 7px 12px; font-size: 14px; }
.language-options a:is(:hover, :focus-visible, [aria-current]) { background: #eaf2fb; }
.header-inquiry {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 2px;
  background: #1254a0;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}
.header-inquiry:hover { background: #0d3e77; }

.homepage { --content-width: 1440px; background: #fff; color: #102d50; }
.homepage .topline { display: none; }
.homepage header { background: #fff; border-bottom-color: #e1eaf1; }
.homepage h2 { letter-spacing: -.035em; }
.company-milestones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 35px var(--page-gutter);
  background: #fff;
  border-bottom: 1px solid #e1eaf1;
}
.company-milestones > div {
  padding-inline: clamp(15px, 3.1vw, 52px) 12px;
  border-inline-start: 1px solid #d9e5ef;
}
.company-milestones > div:first-child { padding-inline-start: 0; border: 0; }
.company-milestones dt {
  color: #1458a0;
  font-size: clamp(26px, 3.25vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.company-milestones dd { margin: 10px 0 0; color: #455c74; font-size: 14px; }

.exterior-spotlight { padding-block: clamp(58px, 7vw, 110px); background: #f3f7fb; }
.exterior-heading { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.exterior-heading h2 { margin: 0 0 18px; font-size: clamp(38px, 4.3vw, 66px); font-weight: 730; line-height: 1.15; }
.exterior-heading p { margin: 0; color: #486079; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; }
.solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.7vw, 38px); }
.solution-grid:has(> .solution-card:only-child) { grid-template-columns: minmax(0, 720px); justify-content: center; }
.solution-card {
  display: block;
  min-width: 0;
  background: #fff;
  border-bottom: 3px solid #c6d9ed;
}
.solution-card:hover { border-bottom-color: #1254a0; }
.solution-card:focus-visible { outline: 2px solid #1254a0; outline-offset: 4px; }
.solution-image { position: relative; overflow: hidden; }
.card .pic, .product-photo { position: relative; }
.solution-image img { display: block; width: 100%; aspect-ratio: 1.85; object-fit: cover; object-position: 67% 65%; }
.solution-caption {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  padding: 3px 7px;
  background: #102638d4;
  color: #fff;
  font-size: 10px;
}
.solution-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 2.2vw, 30px);
}
.solution-copy h3 { margin: 0 0 6px; font-size: clamp(20px, 2.15vw, 30px); line-height: 1.3; }
.solution-copy p { margin: 0; color: #486079; font-size: 14px; }
.solution-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  color: #1254a0;
  border: 1px solid #cbd7e3;
  font-size: 20px;
}
.solution-card:hover .solution-arrow { background: #1254a0; border-color: #1254a0; color: #fff; }
.exterior-range-link { display: table; margin: 28px auto 0; color: #1254a0; }

.factory-feature { background: #fff; color: #102d50; }
.factory-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  align-items: stretch;
  padding-block: clamp(60px, 7vw, 105px) 42px;
}
.factory-wide-photo { position: relative; min-width: 0; min-height: 380px; margin: 0; }
.factory-wide-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 73%; }
.factory-wide-photo figcaption {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  padding: 4px 8px;
  background: #102638d4;
  color: #fff;
  font-size: 11px;
}
.factory-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding: clamp(24px, 4vw, 62px);
  background: #123b65;
  color: #fff;
}
.factory-heading h2 { margin: 0 0 15px; color: #fff; }
.factory-heading p { margin: 0; color: #e0ecfa; }
.factory-facts { display: grid; gap: 14px; margin: 22px 0 0; }
.factory-facts > div { padding-top: 13px; border-top: 1px solid #ffffff42; }
.factory-facts dt { font-size: 16px; font-weight: 600; }
.factory-facts dd { margin: 3px 0 0; color: #dfebf6; font-size: 13px; }
.factory-video-link { margin-top: 21px; color: #fff; border-color: #a8c5e3; }

.homepage #products { background: #f3f7fb; }
.homepage #products .card { border-radius: 2px; box-shadow: none; border-color: #d6e1eb; }
.homepage #products .filter.active { background: #1254a0; border-color: #1254a0; color: #fff; }
#products #product-grid:is([data-category="architecture"], [data-category="exterior"]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#products #product-grid[data-category="exterior"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.homepage .film-explainer, .homepage .catalog, .homepage .contact { background: #eef4fa; }
.company-story {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(32px, 6vw, 108px);
  padding-block: clamp(55px, 7vw, 105px);
  background: #fff;
}
.story-copy h2 { margin: 0 0 20px; }
.story-copy > p {
  margin: 0 0 15px;
  color: #435b74;
  line-height: 1.85;
}
.story-photo { position: relative; margin: 27px 0 0; }
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.9;
  object-fit: cover;
  object-position: 50% 54%;
}
.story-photo figcaption {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  padding: 4px 8px;
  background: #102d50df;
  color: #fff;
  font-size: 11px;
}
.story-timeline { margin: 0; padding: 0; list-style: none; }
.story-event {
  --story-dot-center: 30px;
  position: relative;
  display: grid;
  grid-template-columns: clamp(70px, 5.8vw, 95px) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding-block: 15px;
  padding-inline: 27px 0;
}
.story-event::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 5px;
  width: 1px;
  background: #cbd9e8;
}
.story-event:first-child::before { inset-block-start: var(--story-dot-center); }
.story-event:last-child::before { inset-block-end: auto; height: var(--story-dot-center); }
.story-event::after {
  content: '';
  position: absolute;
  inset-block-start: calc(var(--story-dot-center) - 4px);
  inset-inline-start: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #769abd;
  background: #fff;
}
.story-event time {
  color: #294b6e;
  font-size: clamp(23px, 2.15vw, 31px);
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  line-height: 1.14;
}
.story-event p {
  margin: 0;
  color: #435b74;
  font-size: 15px;
  line-height: 1.65;
}
.story-event-key::after { border-color: #1254a0; background: #1254a0; }
.story-event-key time { color: #1254a0; font-weight: 720; }
.story-event-key p { color: #102d50; font-weight: 600; }
.secondary-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 32px;
  background: #fff;
  border-block: 1px solid #dae5ee;
}
.secondary-range h2 { margin: 0; font-size: clamp(21px, 2vw, 27px); }
.secondary-range p { margin: 6px 0 0; color: #486079; }
.secondary-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.secondary-links .text-link { margin: 0; }
html[dir="rtl"] .brand-wordmark { direction: ltr; }
html[dir="rtl"] .catalog-sheet { direction: ltr; }
html[dir="rtl"] .spec-box { border-left: 0; border-inline-start: 3px solid #91bd4f; }

@media (max-width: 1100px) {
  #products #product-grid[data-category="architecture"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  header { flex-wrap: wrap; gap: 12px; }
  header nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 900px) {
  .factory-feature { grid-template-columns: minmax(0, 1fr); }
  .factory-wide-photo { min-height: 0; aspect-ratio: 1.8; }
  .company-story { grid-template-columns: minmax(0, 1fr); }
  .story-copy > p { max-width: 660px; }
  .story-photo { max-width: 660px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 160px; }
  header nav { flex-wrap: wrap; gap: 1px 9px; }
  header nav a { padding-block: 6px; }
  header nav .nav-inquiry { display: inline; }
  .header-inquiry { display: none; }
  .language-menu summary { min-height: 38px; padding-inline: 9px; font-size: 12px; }
  .company-milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 12px; padding-block: 24px; }
  .company-milestones > div:nth-child(odd) { border: 0; padding-inline-start: 0; }
  .company-milestones dd { margin-top: 7px; font-size: 12px; }
  .exterior-heading { text-align: start; margin-bottom: 24px; }
  .solution-grid { grid-template-columns: minmax(0, 1fr); }
  .solution-arrow { flex-basis: 36px; height: 36px; }
  .factory-heading { padding: 23px 20px 27px; }
  .factory-wide-photo figcaption { font-size: 10px; }
  .story-event { --story-dot-center: 28px; grid-template-columns: 58px minmax(0, 1fr); gap: 11px; padding-inline-start: 21px; }
  .story-event p { font-size: 14px; }
  #products #product-grid:is([data-category="architecture"], [data-category="exterior"]) { grid-template-columns: minmax(0, 1fr); }
  .secondary-range { align-items: start; flex-direction: column; gap: 15px; }
}
