/* Inner pages: shared motion-led editorial system */
.inner-page {
  background: var(--paper);
}

.inner-page main {
  overflow: clip;
}

.inner-page h2,
.inner-page h3,
.inner-page p {
  text-wrap: pretty;
}

.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero */
.subhero {
  position: relative;
  min-height: min(860px, 92svh);
  color: var(--white);
  background: var(--ink);
}

.subhero-media,
.subhero-media > div {
  position: absolute;
  inset: 0;
}

.subhero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
  animation: inner-hero-enter 1.4s var(--ease-out) both;
}

.subhero-media > div {
  background:
    linear-gradient(90deg, rgba(12, 13, 14, 0.9) 0%, rgba(12, 13, 14, 0.57) 47%, rgba(12, 13, 14, 0.2) 100%),
    linear-gradient(0deg, rgba(12, 13, 14, 0.66) 0%, transparent 48%);
}

.subhero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(860px, 92svh);
  padding-top: calc(var(--header-height) + 34px);
  padding-bottom: 38px;
  flex-direction: column;
  justify-content: flex-end;
}

.breadcrumbs {
  position: absolute;
  top: calc(var(--header-height) + 28px);
  left: 0;
  max-width: 100%;
  color: rgba(255, 253, 248, 0.57);
  font-size: 11px;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  opacity: 0.45;
}

.breadcrumbs a {
  transition: color 0.25s ease;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.subhero .eyebrow {
  margin: 0 0 clamp(24px, 3vw, 44px);
  color: var(--orange);
}

.subhero-title {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(62px, 8.4vw, 136px);
  font-weight: 510;
  line-height: 0.84;
  letter-spacing: -0.072em;
}

.subhero-title span {
  display: block;
  transform-origin: left bottom;
  animation: inner-title-enter 1.15s 0.12s var(--ease-out) both;
}

.subhero-bottom {
  display: grid;
  width: min(930px, 78%);
  margin-top: clamp(30px, 4vw, 58px);
  margin-left: min(22%, 270px);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 56px;
}

.subhero-bottom > p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

.subhero-bottom .button {
  flex: none;
}

.subhero-facts {
  display: flex;
  margin: clamp(36px, 5vw, 66px) 0 0;
  padding: 22px 0 0;
  gap: clamp(22px, 5vw, 80px);
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 248, 0.6);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  list-style: none;
  text-transform: uppercase;
}

.subhero-facts li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.subhero-facts li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

/* Shared editorial content */
.seo-intro-grid,
.uses-grid,
.choice-guide-grid,
.automation-detail-grid,
.warehouse-grid {
  display: grid;
  grid-template-columns: 24% minmax(0, 1fr);
  align-items: start;
  gap: clamp(45px, 7vw, 105px);
}

.uses-grid {
  grid-template-columns: 31% minmax(0, 1fr);
}

.choice-guide-grid {
  grid-template-columns: 30% minmax(0, 1fr);
}

.automation-detail-grid {
  grid-template-columns: minmax(380px, 0.8fr) minmax(0, 1.2fr);
}

.warehouse-grid {
  grid-template-columns: 34% minmax(0, 1fr);
}

.seo-intro h2,
.uses-section h2,
.catalog-page-head h2,
.choice-guide h2,
.automation-detail h2,
.planning-section h2,
.calculator-page-head h2,
.company-story h2,
.company-addresses h2,
.contacts-page h2,
.warehouse-section h2,
.articles-index-head h2,
.faq-grid h2,
.related-head h2,
.project-preview-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5.6vw, 86px);
  font-weight: 510;
  line-height: 0.94;
  letter-spacing: -0.057em;
}

.uses-section h2 {
  font-size: clamp(44px, 4.85vw, 70px);
}

.choice-guide h2 {
  font-size: clamp(44px, 5vw, 75px);
}

.prose-columns {
  display: grid;
  max-width: 1000px;
  margin-top: clamp(40px, 5vw, 75px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.prose-columns p {
  margin: 0;
}

.benefits-section,
.company-values {
  color: var(--white);
  background: var(--ink);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.benefit-grid article {
  min-height: 350px;
  padding: 28px clamp(20px, 2.3vw, 36px) 32px 0;
  border-right: 1px solid var(--line-light);
}

.benefit-grid article + article {
  padding-left: clamp(20px, 2.3vw, 36px);
}

.benefit-grid article:last-child {
  border-right: 0;
}

.benefit-grid article > span,
.options-list article > span,
.choice-guide-list article > span,
.scenario-grid article > span {
  display: block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.benefit-grid h3 {
  margin: 110px 0 22px;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.04em;
}

.benefit-grid p {
  margin: 0;
  color: rgba(255, 253, 248, 0.5);
  font-size: 13px;
  line-height: 1.7;
}

.uses-section,
.company-addresses {
  background: var(--paper-deep);
}

.use-tags {
  display: flex;
  margin: 55px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.use-tags li {
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.options-list,
.choice-guide-list {
  border-top: 1px solid var(--line);
}

.options-list article,
.choice-guide-list article {
  display: grid;
  min-height: 144px;
  padding: 25px 0;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.options-list h3,
.choice-guide-list h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 520;
  letter-spacing: -0.035em;
}

.options-list p,
.choice-guide-list p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.choice-guide-list h3,
.choice-guide-list p {
  grid-column: 2;
}

.choice-guide-list h3 {
  grid-row: 1;
  align-self: end;
}

.choice-guide-list p {
  grid-row: 2;
  align-self: start;
}

.project-preview {
  display: grid;
  min-height: 700px;
  grid-template-columns: 1.25fr 0.75fr;
  color: var(--white);
  background: var(--ink);
}

.project-preview-media {
  overflow: hidden;
}

.project-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.project-preview:hover img {
  transform: scale(1.025);
}

.project-preview-copy {
  display: flex;
  padding: clamp(55px, 6vw, 100px);
  flex-direction: column;
  justify-content: center;
}

.project-preview-copy h2 {
  font-size: clamp(43px, 4.7vw, 72px);
}

.text-link {
  display: flex;
  margin-top: 60px;
  padding: 19px 0;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  color: rgba(255, 253, 248, 0.67);
  font-size: 13px;
  transition: color 0.3s ease;
}

.text-link span {
  color: var(--orange);
  font-size: 23px;
  transition: transform 0.35s var(--ease-out);
}

.text-link:hover {
  color: var(--white);
}

.text-link:hover span {
  transform: translate(4px, -4px);
}

/* FAQ and related */
.faq-section {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: clamp(60px, 9vw, 150px);
}

.faq-grid h2 {
  font-size: clamp(48px, 5.2vw, 78px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  min-height: 100px;
  padding: 25px 0;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 30px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 14px;
  left: 8px;
  width: 12px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 0.3s var(--ease-out);
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span::after {
  transform: rotate(0);
}

.faq-list details p {
  max-width: 720px;
  margin: -7px 60px 34px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.related-section {
  background: var(--paper-deep);
}

.related-head {
  display: grid;
  margin-bottom: 56px;
  grid-template-columns: 22% 1fr auto;
  align-items: end;
  gap: 35px;
}

.related-head .kicker {
  margin: 0;
}

.related-head h2 {
  font-size: clamp(45px, 5vw, 74px);
}

.related-head > a {
  padding-bottom: 10px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 700;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: block;
  background: var(--white);
  overflow: hidden;
}

.related-card img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.related-card > span {
  display: flex;
  min-height: 95px;
  padding: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.related-card i {
  color: var(--orange);
  font-size: 24px;
  font-style: normal;
  transition: transform 0.35s var(--ease-out);
}

.related-card:hover img {
  transform: scale(1.04);
}

.related-card:hover i {
  transform: translate(4px, -4px);
}

/* Conversion section */
.page-request,
.measurement-help {
  background: var(--orange);
}

.page-request-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  align-items: start;
  gap: clamp(55px, 8vw, 125px);
}

.page-request-copy {
  padding-top: 28px;
}

.page-request-copy .kicker {
  color: rgba(27, 28, 29, 0.62);
}

.page-request-copy h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 510;
  line-height: 0.91;
  letter-spacing: -0.062em;
}

.page-request-copy > p:not(.kicker) {
  max-width: 560px;
  margin: 42px 0;
  color: rgba(27, 28, 29, 0.69);
  font-size: 16px;
  line-height: 1.75;
}

.page-request-copy > a {
  display: grid;
  width: fit-content;
}

.page-request-copy > a small {
  margin-bottom: 5px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-request-copy > a strong {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.compact-lead-form {
  box-shadow: 0 30px 80px rgba(27, 28, 29, 0.12);
}

/* Catalog */
.catalog-page-head,
.portfolio-page-head,
.calculator-page-head,
.articles-index-head {
  display: grid;
  margin-bottom: clamp(60px, 8vw, 110px);
  grid-template-columns: 23% minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 44px;
}

.catalog-page-head .kicker,
.portfolio-page-head .kicker {
  align-self: start;
}

.catalog-page-head > p:last-child,
.portfolio-page-head > p:last-child,
.calculator-page-head > p:last-child {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.catalog-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.catalog-page-card {
  min-width: 0;
  background: var(--white);
}

.catalog-page-card a {
  position: relative;
  display: grid;
  min-height: 690px;
  padding: 0 34px 34px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-content: end;
  overflow: hidden;
}

.catalog-page-card a > div {
  position: absolute;
  inset: 0 0 220px;
  overflow: hidden;
}

.catalog-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.catalog-page-card a > span {
  padding-top: 8px;
  color: var(--orange);
  font-size: 11px;
}

.catalog-page-card h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 60px);
  font-weight: 510;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.catalog-page-card p {
  grid-column: 2;
  max-width: 560px;
  margin: 20px 40px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.catalog-page-card i {
  grid-column: 3;
  grid-row: 1;
  color: var(--orange);
  font-size: 28px;
  font-style: normal;
  transition: transform 0.35s var(--ease-out);
}

.catalog-page-card:hover img {
  transform: scale(1.035);
}

.catalog-page-card:hover i {
  transform: translate(5px, -5px);
}

.choice-guide {
  background: var(--paper-deep);
}

/* Automation */
.automation-detail-grid > div:first-child > p:not(.kicker) {
  max-width: 720px;
  margin: 46px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.automation-video {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.automation-video video {
  width: 100%;
  height: min(690px, 68vw);
  object-fit: cover;
}

.automation-video span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 9px 13px;
  color: var(--white);
  border: 1px solid var(--line-light);
  background: rgba(27, 28, 29, 0.58);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.scenario-section {
  color: var(--white);
  background: var(--ink);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
}

.scenario-grid article {
  min-height: 390px;
  padding: 30px 30px 35px 0;
  border-right: 1px solid var(--line-light);
}

.scenario-grid article + article {
  padding-left: 30px;
}

.scenario-grid article:last-child {
  border-right: 0;
}

.scenario-grid h3 {
  margin: 145px 0 22px;
  font-size: 30px;
  font-weight: 520;
  letter-spacing: -0.04em;
}

.scenario-grid p {
  margin: 0;
  color: rgba(255, 253, 248, 0.52);
  font-size: 13px;
  line-height: 1.7;
}

.planning-section .uses-grid > div > p:not(.kicker) {
  max-width: 680px;
  margin: 38px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.planning-section h2 {
  font-size: clamp(44px, 4.7vw, 68px);
}

/* Portfolio */
.portfolio-page {
  padding-bottom: 0;
}

.portfolio-page-grid {
  display: grid;
  width: min(1600px, calc(100vw - 28px));
  margin-inline: auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 10px;
}

.portfolio-page-grid figure {
  position: relative;
  min-height: 310px;
  margin: 0;
  grid-column: span 4;
  grid-row: span 3;
  overflow: hidden;
  background: var(--ink);
}

.portfolio-page-grid figure:nth-child(1),
.portfolio-page-grid figure:nth-child(7) {
  grid-column: span 8;
}

.portfolio-page-grid figure:nth-child(3),
.portfolio-page-grid figure:nth-child(10) {
  grid-row: span 4;
}

.portfolio-page-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out), opacity 0.5s ease;
}

.portfolio-page-grid figure::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(12, 13, 14, 0.8));
  content: "";
}

.portfolio-page-grid figcaption {
  position: absolute;
  z-index: 1;
  right: 25px;
  bottom: 22px;
  left: 25px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
}

.portfolio-page-grid strong {
  font-size: 19px;
  font-weight: 600;
}

.portfolio-page-grid span {
  color: rgba(255, 253, 248, 0.62);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.portfolio-page-grid figure:hover img {
  opacity: 0.9;
  transform: scale(1.035);
}

.portfolio-note {
  color: var(--white);
  background: var(--ink);
}

.portfolio-note .shell,
.articles-help .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.portfolio-note p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 253, 248, 0.64);
  font-size: 19px;
  line-height: 1.65;
}

.portfolio-note a,
.articles-help a {
  flex: none;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
}

/* Calculator */
.calculator-page {
  background: var(--paper-deep);
}

.standalone-calculator {
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(27, 28, 29, 0.08);
}

.standalone-calculator .calculator-form {
  background: var(--white);
}

.measurement-help {
  padding-block: clamp(90px, 10vw, 150px);
}

/* Company */
.address-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.address-cards article {
  min-height: 330px;
  padding: 34px;
  background: var(--white);
}

.address-cards article > span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.address-cards h3 {
  margin: 90px 0 22px;
  font-size: 31px;
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.045em;
}

.address-cards p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.address-cards a {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

/* Contacts */
.contacts-page {
  background: var(--paper-deep);
}

.contacts-page-grid {
  display: grid;
  min-height: 700px;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  background: var(--white);
}

.contacts-page-info {
  padding: clamp(40px, 5vw, 76px);
}

.contacts-page-info h2 {
  max-width: 600px;
  font-size: clamp(45px, 4vw, 58px);
}

.contacts-page-info > p:not(.kicker) {
  margin: 28px 0 45px;
  color: var(--muted);
}

.contacts-page-info dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.contacts-page-info dl > div {
  display: grid;
  min-height: 63px;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.contacts-page-info dt {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contacts-page-info dd {
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contacts-page-map iframe {
  width: 100%;
  height: 100%;
  min-height: 700px;
  border: 0;
  filter: grayscale(0.65) contrast(0.94);
  transition: filter 0.5s ease;
}

.contacts-page-map:hover iframe {
  filter: grayscale(0.08);
}

.warehouse-section {
  color: var(--white);
  background: var(--ink);
}

.warehouse-grid > div:last-child {
  padding-top: 52px;
}

.warehouse-section p {
  max-width: 580px;
  color: rgba(255, 253, 248, 0.56);
  line-height: 1.75;
}

.warehouse-section a {
  color: var(--orange);
}

/* Articles */
.articles-index-head {
  grid-template-columns: 23% 1fr;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card {
  min-width: 0;
  background: var(--white);
}

.article-card a {
  display: block;
  height: 100%;
  overflow: hidden;
}

.article-card img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}

.article-card a > div {
  display: flex;
  min-height: 350px;
  padding: 30px;
  flex-direction: column;
}

.article-card a > div > span,
.article-related-grid a > span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-card h2 {
  margin: 58px 0 22px;
  font-size: clamp(27px, 2.6vw, 39px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.045em;
}

.article-card p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.article-card i {
  margin-top: auto;
  color: var(--orange-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.article-card:hover img {
  transform: scale(1.035);
}

.articles-help {
  color: var(--white);
  background: var(--ink);
}

.articles-help p {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 510;
  letter-spacing: -0.045em;
}

.article-hero {
  position: relative;
  min-height: min(790px, 90svh);
  color: var(--white);
  background: var(--ink);
}

.article-hero-media,
.article-hero-media > div {
  position: absolute;
  inset: 0;
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: inner-hero-enter 1.4s var(--ease-out) both;
}

.article-hero-media > div {
  background: linear-gradient(90deg, rgba(12, 13, 14, 0.92), rgba(12, 13, 14, 0.38)), linear-gradient(0deg, rgba(12, 13, 14, 0.64), transparent 55%);
}

.article-hero-content {
  position: relative;
  display: flex;
  min-height: min(790px, 90svh);
  padding-top: calc(var(--header-height) + 110px);
  padding-bottom: 70px;
  flex-direction: column;
  justify-content: flex-end;
}

.article-hero-content .eyebrow {
  margin: 0 0 26px;
  color: var(--orange);
}

.article-hero-content h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(55px, 7.5vw, 114px);
  font-weight: 510;
  line-height: 0.88;
  letter-spacing: -0.065em;
  animation: inner-title-enter 1.15s 0.12s var(--ease-out) both;
}

.article-hero-content > p:last-child {
  max-width: 720px;
  margin: 38px 0 0;
  color: rgba(255, 253, 248, 0.7);
  font-size: 17px;
  line-height: 1.7;
}

.article-layout {
  display: grid;
  padding-block: clamp(90px, 10vw, 160px);
  grid-template-columns: 250px minmax(0, 790px);
  justify-content: center;
  align-items: start;
  gap: clamp(60px, 9vw, 140px);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 35px);
  display: grid;
}

.article-aside > span {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-aside ol {
  display: grid;
  margin: 0 0 35px;
  padding: 20px 0 0 20px;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.article-aside a:hover {
  color: var(--orange-dark);
}

.article-aside .button {
  padding-inline: 18px;
}

.article-body section {
  padding-bottom: 60px;
}

.article-body section + section {
  padding-top: 60px;
  border-top: 1px solid var(--line);
}

.article-body h2 {
  max-width: 780px;
  margin: 0 0 34px;
  font-size: clamp(35px, 4vw, 57px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.047em;
}

.article-body p {
  margin: 0 0 23px;
  color: #50514f;
  font-size: 17px;
  line-height: 1.85;
}

.article-callout {
  margin: 42px 0 0;
  padding: 32px;
  border-left: 4px solid var(--orange);
  background: var(--paper-deep);
}

.article-callout strong {
  color: var(--orange-dark);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-callout p {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 15px;
}

.article-related {
  background: var(--paper-deep);
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.article-related-grid a {
  position: relative;
  display: grid;
  min-height: 250px;
  padding: 30px;
  background: var(--white);
}

.article-related-grid h2 {
  max-width: 540px;
  margin: 65px 50px 0 0;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: -0.045em;
}

.article-related-grid i {
  position: absolute;
  right: 30px;
  bottom: 30px;
  color: var(--orange);
  font-size: 27px;
  font-style: normal;
  transition: transform 0.35s var(--ease-out);
}

.article-related-grid a:hover i {
  transform: translateX(6px);
}

@keyframes inner-hero-enter {
  from { opacity: 0; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes inner-title-enter {
  from { opacity: 0; transform: translateY(45px) rotate(1deg); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .subhero-bottom {
    width: 86%;
    margin-left: 10%;
  }

  .benefit-grid,
  .scenario-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefit-grid article:nth-child(2),
  .scenario-grid article:nth-child(2) {
    border-right: 0;
  }

  .benefit-grid article:nth-child(n + 3),
  .scenario-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }

  .catalog-page-card a {
    min-height: 630px;
  }

  .catalog-page-card a > div {
    bottom: 235px;
  }

  .project-preview {
    min-height: 620px;
  }

  .portfolio-page-grid figure {
    grid-column: span 6;
  }

  .portfolio-page-grid figure:nth-child(1),
  .portfolio-page-grid figure:nth-child(7) {
    grid-column: span 6;
  }
}

@media (max-width: 960px) {
  .breadcrumbs {
    right: 0;
  }

  .subhero,
  .subhero-content {
    min-height: 800px;
  }

  .subhero-bottom {
    width: min(720px, 100%);
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .subhero-bottom .button {
    width: fit-content;
  }

  .seo-intro-grid,
  .uses-grid,
  .choice-guide-grid,
  .warehouse-grid {
    grid-template-columns: 1fr;
  }

  .seo-intro-grid > .section-index {
    margin-bottom: 10px;
  }

  .faq-grid,
  .page-request-grid {
    grid-template-columns: 1fr;
  }

  .page-request-grid {
    gap: 65px;
  }

  .project-preview {
    grid-template-columns: 1fr;
  }

  .project-preview-media {
    min-height: 560px;
  }

  .project-preview-copy {
    min-height: 500px;
  }

  .related-head,
  .catalog-page-head,
  .portfolio-page-head,
  .calculator-page-head,
  .articles-index-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .catalog-page-head > p:last-child,
  .portfolio-page-head > p:last-child,
  .calculator-page-head > p:last-child {
    max-width: 580px;
  }

  .catalog-page-card a {
    min-height: 590px;
  }

  .catalog-page-grid {
    grid-template-columns: 1fr;
  }

  .automation-detail-grid {
    grid-template-columns: 1fr;
  }

  .automation-video video {
    height: min(720px, 90vw);
  }

  .contacts-page-grid {
    grid-template-columns: 1fr;
  }

  .contacts-page-map iframe {
    min-height: 520px;
  }

  .article-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-card:last-child {
    grid-column: 1 / -1;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    display: none;
  }
}

@media (max-width: 720px) {
  .subhero,
  .subhero-content {
    min-height: max(710px, 92svh);
  }

  .subhero-content {
    padding-bottom: 25px;
  }

  .subhero-media > div {
    background: linear-gradient(90deg, rgba(12, 13, 14, 0.84), rgba(12, 13, 14, 0.32)), linear-gradient(0deg, rgba(12, 13, 14, 0.72), transparent 60%);
  }

  .breadcrumbs {
    top: calc(var(--header-height) + 18px);
    font-size: 10px;
  }

  .breadcrumbs li:nth-child(2):not(:last-child) {
    display: none;
  }

  .subhero-title {
    max-width: 100%;
    font-size: clamp(54px, 16.8vw, 88px);
    line-height: 0.86;
  }

  .subhero-title.subhero-title-long {
    font-size: clamp(43px, 12vw, 54px);
    letter-spacing: -0.055em;
  }

  .subhero .eyebrow {
    margin-bottom: 18px;
  }

  .subhero-bottom {
    margin-top: 25px;
    gap: 20px;
  }

  .subhero-bottom > p {
    font-size: 14px;
    line-height: 1.55;
  }

  .subhero-bottom .button {
    width: 100%;
  }

  .subhero-facts {
    margin-top: 30px;
    padding-top: 16px;
    gap: 8px 24px;
    flex-wrap: wrap;
    font-size: 9px;
  }

  .seo-intro h2,
  .uses-section h2,
  .catalog-page-head h2,
  .choice-guide h2,
  .automation-detail h2,
  .planning-section h2,
  .calculator-page-head h2,
  .company-story h2,
  .company-addresses h2,
  .contacts-page h2,
  .warehouse-section h2,
  .articles-index-head h2,
  .faq-grid h2,
  .related-head h2,
  .project-preview-copy h2 {
    font-size: clamp(39px, 12vw, 59px);
  }

  .prose-columns {
    grid-template-columns: 1fr;
    font-size: 15px;
    gap: 24px;
  }

  .benefit-grid,
  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid article,
  .benefit-grid article + article,
  .scenario-grid article,
  .scenario-grid article + article {
    min-height: 260px;
    padding: 24px 0 30px;
    border-right: 0;
    border-top: 1px solid var(--line-light);
  }

  .benefit-grid article:first-child,
  .scenario-grid article:first-child {
    border-top: 0;
  }

  .benefit-grid h3,
  .scenario-grid h3 {
    margin-top: 74px;
  }

  .uses-grid,
  .seo-intro-grid,
  .choice-guide-grid,
  .warehouse-grid {
    gap: 46px;
  }

  .options-list article,
  .choice-guide-list article {
    grid-template-columns: 47px minmax(0, 1fr);
  }

  .project-preview-media {
    min-height: 430px;
  }

  .project-preview-copy {
    min-height: 440px;
    padding: 55px 24px;
  }

  .faq-list summary {
    min-height: 86px;
    font-size: 15px;
    gap: 16px;
  }

  .faq-list details p {
    margin-right: 0;
    font-size: 13px;
  }

  .related-head {
    gap: 20px;
  }

  .related-grid,
  .catalog-page-grid,
  .article-card-grid,
  .article-related-grid,
  .address-cards {
    grid-template-columns: 1fr;
  }

  .related-card > span {
    min-height: 80px;
  }

  .page-request-copy h2 {
    font-size: clamp(43px, 13vw, 64px);
  }

  .catalog-page-card a {
    min-height: 570px;
    padding: 0 20px 26px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
  }

  .catalog-page-card a > div {
    inset: 0 0 230px;
  }

  .catalog-page-card p {
    margin-right: 0;
  }

  .portfolio-page-grid {
    width: calc(100vw - 20px);
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .portfolio-page-grid figure,
  .portfolio-page-grid figure:nth-child(1),
  .portfolio-page-grid figure:nth-child(3),
  .portfolio-page-grid figure:nth-child(7),
  .portfolio-page-grid figure:nth-child(10) {
    min-height: 440px;
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-page-grid figcaption {
    align-items: start;
    flex-direction: column;
    gap: 3px;
  }

  .portfolio-note .shell,
  .articles-help .shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 35px;
  }

  .portfolio-note p {
    font-size: 16px;
  }

  .contacts-page-grid {
    width: 100%;
  }

  .contacts-page-info {
    padding: 50px 22px;
  }

  .contacts-page-info dl > div {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .contacts-page-info dd {
    font-size: 13px;
  }

  .contacts-page-map iframe {
    min-height: 430px;
  }

  .map-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .article-card:last-child {
    grid-column: auto;
  }

  .article-card a > div {
    min-height: 300px;
    padding: 24px;
  }

  .article-card h2 {
    margin-top: 42px;
  }

  .article-hero,
  .article-hero-content {
    min-height: max(700px, 90svh);
  }

  .article-hero-content {
    padding-top: calc(var(--header-height) + 90px);
    padding-bottom: 50px;
  }

  .article-hero-content h1 {
    font-size: clamp(47px, 14vw, 72px);
  }

  .article-hero-content > p:last-child {
    margin-top: 28px;
    font-size: 14px;
  }

  .article-layout {
    padding-block: 85px;
  }

  .article-body section {
    padding-bottom: 42px;
  }

  .article-body section + section {
    padding-top: 42px;
  }

  .article-body h2 {
    font-size: 36px;
  }

  .article-body p {
    font-size: 15px;
    line-height: 1.75;
  }

  .article-callout {
    padding: 25px 22px;
  }

  .article-related-grid a {
    min-height: 220px;
  }
}

@media (max-width: 430px) {
  .subhero-title {
    font-size: clamp(49px, 16vw, 70px);
  }

  .subhero-facts li:nth-child(3) {
    display: none;
  }

  .catalog-page-card h2 {
    font-size: 36px;
    overflow-wrap: anywhere;
  }

  .portfolio-page-grid figure,
  .portfolio-page-grid figure:nth-child(1),
  .portfolio-page-grid figure:nth-child(3),
  .portfolio-page-grid figure:nth-child(7),
  .portfolio-page-grid figure:nth-child(10) {
    min-height: 390px;
  }

  .address-cards article {
    padding: 26px;
  }

  .contacts-page-info dl > div {
    min-height: 72px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subhero-media img,
  .subhero-title span,
  .article-hero-media img,
  .article-hero-content h1 {
    animation: none;
  }
}
