.interior-hero {
  --height: 464px;
  --title-top: 202px;
  --title-left: 15.83%;
  --title-width: 42%;
  --title-size: 64px;
  --intro-top: 222px;
  --intro-left: 51.66%;
  --intro-width: 35%;
  --button-top: 278px;
  --button-left: 32.17%;
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: white;
}
.interior-headline { height: var(--height); }
.interior-headline h1 {
  position: absolute; top: var(--title-top); left: var(--title-left); width: var(--title-width);
  font-size: var(--title-size); font-weight: 500; letter-spacing: -2px; line-height: 1;
  max-inline-size: calc(100% - var(--title-left));
  min-block-size: var(--title-block-size, 0px);
  align-content: center;
  overflow-wrap: anywhere;
}
.interior-intro {
  position: absolute; top: var(--intro-top); left: var(--intro-left); width: var(--intro-width);
  font-size: 14px; line-height: 19px;
}
.interior-cta { position: absolute; top: var(--button-top); left: var(--button-left); }
.interior-cta:empty, .interior-intro:empty { display: none; }
.interior-headline .scroll-down { top: auto; bottom: 56px; left: auto; right: 4.17%; }
.interior-hero[data-page="about"] {
  --height: 454px; --title-top: 192px; --title-left: 15%;
  --intro-top: 217px; --intro-left: max(51.66%, calc(var(--button-left) + 220px));
  --button-top: var(--about-action-top, 268px);
  --button-left: var(--about-action-left, 31.33%);
}
.interior-hero[data-page="services"] {
  --button-top: 282px; --button-left: 31.92%; --intro-width: 31%;
}
@media (min-width: 960px) {
}
.interior-hero[data-page="certificates"] {
  --title-top: 205px; --title-left: 15%; --button-left: 33.83%;
}
.interior-hero[data-page="privacy"] {
  --height: 514px;
  --title-top: 192px;
  --title-left: min(180px, 19%);
  --title-width: min(677px, calc(100% - var(--title-left) - var(--content-gutter)));
  --title-size: 64px;
}
.interior-hero[data-page="privacy"] .scroll-down { bottom: 122px; }
.interior-hero[data-page="consent"] {
  --height: 454px;
  --title-top: 167px;
  --title-left: min(180px, 19%);
  --title-width: min(876px, calc(100% - var(--title-left) - var(--content-gutter)));
}
@media (min-width: 960px) {
  .interior-hero[data-page="consent"] { --title-size: 64px; }
}
@media (max-width: 980px) {
  .interior-hero[data-page="consent"] .scroll-down { display: none; }
}
.company, .office {
  --section-artboard: 1200px;
  --section-accent-offset: 620px;
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.office { --section-accent-offset: 631px; }
.company::before, .office::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: calc(max(0px, (100% - var(--section-artboard)) / 2) + var(--section-accent-offset)) 0;
  aspect-ratio: 1;
  z-index: -1;
  pointer-events: none;
  background: #ecedee;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.company-inner { min-height: 910px; padding: 59px 52px 85px; }
.company-inner h2, .office h2 {
  font-size: 32px; font-weight: 500; line-height: 1.1; letter-spacing: -.03em;
}
.company-inner h2 { max-width: 842px; font-weight: 400; }
.company-intro { max-width: 781px; margin-top: 20px; color: #818181; font-size: 18px; line-height: 23px; }
.company-experience { position: absolute; top: 542px; left: 52px; width: min(40%, 478px); font-size: 18px; line-height: 23px; }
.company-experience h3 { color: var(--blue-link); font-size: 70px; font-weight: 400; margin-bottom: 19px; }
.company-facts { position: absolute; top: 369px; left: 51.67%; width: min(45%, 526px); display: grid; gap: 42px; font-size: 15px; line-height: 20px; }
.company-facts h3 { color: var(--blue-link); font-size: 22px; margin-bottom: 13px; }
.company-facts > div:nth-child(2) { max-width: 411px; }
.company-facts > div:nth-child(3) { max-width: 386px; }
.detail-service {
  --lead-column: 580px;
  --split: calc(var(--frame-origin) + var(--lead-column));
  --detail-panel-height: var(--detail-standard-height, 655px);
  --detail-info-end: 100px;
  --detail-lead-end: calc(var(--detail-info-end) + 5px);
  background: linear-gradient(90deg, #fff var(--split), var(--pale) var(--split));
}
.detail-service:nth-child(even) { background: linear-gradient(90deg, var(--pale) var(--split), #fff var(--split)); }
.detail-service:nth-child(2) {
  --detail-panel-height: var(--detail-compact-height, 565px);
  --detail-info-end: 84px;
}
.detail-service:last-child { --detail-info-end: 114px; }
.detail-service-inner { min-height: var(--detail-panel-height); display: grid; grid-template-columns: var(--lead-column) minmax(0, 1fr); }
.detail-service-lead { padding: 59px 40px var(--detail-lead-end) 52px; display: grid; grid-template-rows: auto 1fr auto; align-items: start; }
.detail-service-number { color: #969696; font-weight: 300; font-size: 16px; margin-bottom: 20px; }
.detail-service h2 { font-size: 40px; font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.detail-service:first-child h2 { width: min(567px, calc(100% + var(--detail-heading-overhang, 79px))); }
.detail-service:last-child h2 { font-size: 44px; max-width: 430px; }

@media (min-width: 960px) {
  .detail-service:not(:first-child, :last-child) h2 {
    max-inline-size: 11.75em;
    letter-spacing: -.025em;
    text-wrap: balance;
  }
  .detail-service [data-title-lines] { text-wrap: balance; }
}
.detail-service-info { padding: 92px max(40px, 8%) var(--detail-info-end) min(17%,100px); display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 30px; }
.detail-service-copy { max-width: 400px; font-size: 16px; line-height: 23px; overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .service-details {
    --detail-standard-height: 655px;
    --detail-compact-height: 565px;
    --detail-design-height: calc(3 * var(--detail-standard-height) + var(--detail-compact-height));
    /* The source rounds the complete artboard down to a physical pixel. */
    --detail-rendered-height: round(down, calc(var(--detail-design-height) * var(--artboard-scale) + .001px), 1px);
  }
  .detail-service {
    min-inline-size: var(--frame-min-width, 0px);
    --copy-measure: 393px;
    --copy-leading: 25px;
  }
  .detail-service:nth-child(2) { --copy-measure: 391px; --copy-leading: 23px; }
  .detail-service:nth-child(3) { --copy-measure: 439px; --copy-leading: 22px; }
  .detail-service:last-child {
    --copy-measure: 374px;
    --copy-leading: 23px;
    --detail-panel-height: calc(
      var(--detail-standard-height) + var(--detail-rendered-height) / var(--artboard-scale) - var(--detail-design-height)
    );
  }
  .detail-service-copy {
    inline-size: min(100%, var(--copy-measure));
    max-inline-size: none;
    line-height: var(--copy-leading);
  }
}
.detail-service-image { display: flex; align-items: end; justify-content: space-between; gap: 18px; width: min(470px, calc(49 * var(--layout-unit))); padding: 0; border: 0; background: transparent; text-align: left; }
.detail-service-photo { width: 229px; aspect-ratio: 229 / 148; object-fit: cover; border-radius: 5px; }
.detail-service-arrow { width: 31px; height: 31px; flex: none; transform: translateY(5px); }
.office-inner { min-height: 450px; padding: 67px 50px 75px; display: grid; grid-template-columns: 39% 34% 27%; grid-template-rows: 187px 1fr; }
.head-office { grid-column: 1 / 3; }
.warehouse { grid-column: 3; max-width: 279px; }
.warehouse h2 { font-size: 22px; max-width: 236px; }
.office address { font-style: normal; color: #818181; font-size: 15px; line-height: 20px; max-width: 335px; margin-top: 14px; }
.warehouse address { max-width: 269px; }
.office-phones { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-content: start; }
.office-phones h2 { grid-column: 1/-1; }
.office-phones span, .office-email span { display: block; margin-top: 14px; color: var(--blue-link); font-size: 22px; }
.office a:hover { text-decoration: underline; }
.certificates { background: var(--pale); container: certificates / inline-size; }
.certificates-inner {
  --certificate-column-gap: 25px;
  --certificate-row-gap: 43.5px;
  --certificate-width: min(269px, calc((100% - 3 * var(--certificate-column-gap)) / 4));
  min-height: 1400px;
  padding: 67px 24px 100px;
  display: flex;
  flex-direction: column;
  gap: var(--certificate-row-gap) var(--certificate-column-gap);
}
.certificates-row { display: flex; align-items: center; gap: var(--certificate-column-gap); }
.certificates-row:nth-child(odd) { justify-content: center; }
.certificate-image {
  flex: 0 0 var(--certificate-width);
  width: var(--certificate-width);
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.certificate-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto 269 / 381;
  border: 3px solid #d8dbde;
  border-radius: 11px;
}
.policy-copy-inner { max-width: 976px; padding: 65px 18px 72px; font-size: 18px; line-height: 1.55; overflow-wrap: anywhere; }
.policy-copy-inner :is(ul,ol) { margin-block: 0 0.15em; padding-inline-start: 1.4em; }
.policy-copy-inner a { color: #f16f51; text-decoration: underline; }
@media (max-width: 959px) {
  .interior-hero { --title-width: 50%; --title-size: 57px; }
  .interior-hero .header { z-index: 3; }
  .company-inner { padding-inline: 5%; }
  .company-experience { left: 5%; }
  .detail-service-info { padding-inline: 12% 7%; }
  .office-inner { padding-inline: 5%; grid-template-columns: 42% 31% 27%; }
  .office-phones { column-gap: 10px; }
  .office-phones span, .office-email span { font-size: clamp(16px, calc(2 * var(--layout-unit)), 22px); }
  .policy-copy-inner { padding-inline: 5%; }
}
@media (max-width: 767px) {
  .interior-hero { --title-size: 64px; --title-width: 90%; --title-top: 151px; --title-left: 6%; --intro-top: 225px; --intro-left: 6%; --intro-width: 84%; --button-top: 325px; --button-left: 6.66%; }
  .interior-headline .scroll-down { display: none; }
  .interior-hero[data-page="about"] {
    --height: 404px;
    --title-top: 110px;
    --title-left: 6%;
    --intro-top: 183px;
    --intro-left: 18.75%;
    --intro-width: min(380px, 80%);
    --button-top: var(--about-action-top, 284px);
    --button-left: var(--about-action-left, 52%);
  }
  .interior-hero[data-page="certificates"] { --title-top: 151px; --title-left: 8%; --button-left: 8.33%; --button-top: 353px; }
  .interior-hero[data-page="consent"] { --title-top: 173px; --title-left: 9%; --title-width: 78%; --title-size: 39px; }
  .interior-hero[data-page="privacy"] {
    --height: 424px;
    --title-top: 181px;
    --title-left: 8.54%;
    --title-width: min(341px, 82%);
    --title-size: 35px;
  }
  .company-inner { padding: 43px 10.5% 65px; display: flex; flex-direction: column; min-height: 1230px; }
  .company-inner h2 { font-size: 22px; line-height: 1.08; }
  .company-intro { margin-top: 19px; font-size: 15px; line-height: 19px; }
  .company-facts { position: static; width: 100%; margin-top: 48px; gap: 29px; }
  .company-experience { position: static; width: 100%; order: 1; margin-top: 52px; }
  .company-experience h3 { font-size: 68px; }
  .detail-service-lead { position: relative; }
  .detail-service-number { margin-bottom: 0; }
  .detail-service h2, .detail-service:first-child h2, .detail-service:last-child h2 {
    font-size: 29px; width: 54%; position: relative; z-index: 1; overflow-wrap: anywhere;
  }
  .detail-service-image { width: 38%; position: absolute; inset: 49px 5% 27px auto; display: flex; flex-direction: column; align-items: end; }
  .detail-service-photo { width: 100%; }
  .detail-service:last-child h2 { width: 89%; }
  .detail-service:last-child .detail-service-image { top: 153px; bottom: 24px; }
  .detail-service-copy { font-size: 15px; line-height: 20px; }
  .office-inner { display: flex; flex-direction: column; gap: 41px; min-height: 690px; padding: 66px 9.6% 60px; }
  .office h2 { font-size: 31px; }
  .warehouse h2 { font-size: 23px; }
  .office address { max-width: 260px; }
  .office-phones { grid-template-columns: 1fr; }
  .office-phones span, .office-email span { font-size: 22px; }
  .certificates-inner {
    --certificate-column-gap: 8.667px;
    --certificate-row-gap: 18px;
    --certificate-width: min(105px, calc((100% - 3 * var(--certificate-column-gap)) / 4));
    width: min(100%, 480px);
    min-height: 590px;
    padding: 50px 3.333% 58px;
  }
  .policy-copy-inner { padding: 45px 7% 58px; font-size: 16px; }
}
@media (max-width: 959px) {
  .interior-hero[data-page="services"] { --height: 404px; --title-size: 64px; }
  .interior-hero[data-page="services"] .interior-headline {
    display: grid;
    grid-template: "title" auto "action" auto "intro" 1fr / minmax(0, 1fr);
    align-items: start;
    height: auto;
    min-height: var(--height);
    padding: 153px 6.25% 12px;
  }
  .interior-hero[data-page="services"] :is(h1, .interior-intro, .interior-cta) {
    position: static;
    max-inline-size: 100%;
  }
  .interior-hero[data-page="services"] h1 { grid-area: title; width: auto; }
  .interior-hero[data-page="services"] .interior-intro {
    grid-area: intro;
    margin: 25px 0 0 9px;
    width: min(371px, calc(100% - 9px));
    overflow-wrap: anywhere;
  }
  .interior-hero[data-page="services"] .interior-cta {
    grid-area: action;
    justify-self: end;
    margin: 16px 27px 0 0;
    overflow-wrap: anywhere;
  }
  .interior-hero[data-page="services"] .scroll-down { display: none; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .interior-hero[data-page="services"] .interior-headline {
    grid-template-areas: "title" "intro" "action";
    width: min(100%, var(--tablet-grid-width));
    padding: 127px var(--tablet-gutter) 35px;
  }
  .interior-hero[data-page="services"] .interior-intro {
    min-height: 76px;
    margin: 13px 0 0 78px;
    width: min(371px, calc(100% - 78px));
  }
  .interior-hero[data-page="services"] .interior-cta {
    justify-self: start;
    margin: 7px 0 0 262px;
  }
}
@media (min-width: 640px) and (max-width: 959px) {
  .interior-hero[data-page="about"] {
    --height: 454px;
    --title-size: 64px;
    --title-top: 160px;
    --title-left: 11%;
    --title-width: min(490px, 85%);
    --intro-top: 232px;
    --intro-left: 20.47%;
    --intro-width: min(419px, 74%);
    --about-action-top: 320px;
    --about-action-left: 53.6%;
  }
}
@media (min-width: 640px) and (max-width: 767px) {
  .interior-hero { --height: 454px; --title-top: 145px; --title-left: 8%; --intro-top: 225px; --intro-left: 15%; --button-left: 52%; }
  .interior-hero[data-page="privacy"] {
    --height: 514px; --title-top: 206px; --title-left: 6.4%; --title-size: 55px;
    --title-width: 84%;
  }
  .interior-hero:is([data-page="certificates"], [data-page="contacts"]) { --height: 464px; }
}
@media (max-width: 479px) {
  .interior-hero[data-page="services"] { --title-size: 35px; }
  .interior-hero[data-page="services"] .interior-headline {
    grid-template-areas: "title" "intro" "action";
    padding: 129px 6.875% 12px 9.375%;
  }
  .interior-hero[data-page="services"] .interior-intro {
    margin: 8px 0 0;
    width: min(268px, 100%);
  }
  .interior-hero[data-page="services"] .interior-cta {
    justify-self: start;
    align-self: end;
    margin: 7px 0 0;
  }
  .interior-hero[data-page="about"] {
    --title-size: 35px;
    --title-left: 9%;
    --title-width: min(229px, 80%);
    --intro-top: 158px;
    --intro-left: 8.75%;
    --intro-width: min(234px, 82%);
    --about-action-top: calc(var(--height) - 99px);
    --about-action-left: var(--title-left);
  }
  .interior-hero[data-page="about"] .interior-intro { font-size: 13px; line-height: 18px; }
}
@media (max-width: 479px) {
  .interior-hero { --title-size: clamp(32px, calc(10.94 * var(--layout-unit)),46px); --title-top: 130px; --title-left: 9%; --button-left: 8%; }
  .interior-hero[data-page="certificates"] { --title-top: 141px; --button-top: 354px; }
  .interior-hero[data-page="consent"] { --title-size: 35px; --title-top: 133px; }
  .interior-hero[data-page="privacy"] {
    --height: 354px;
    --title-top: 112px;
    --title-left: 7.5%;
    --title-width: 67.8125%;
  }
  .company-experience h3 { font-size: 55px; }
}
