

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --tfon-notch-l: 26%;
  --tfon-notch-r: 74%;
  --tfon-notch-dip-l: 30%;
  --tfon-notch-dip-r: 70%;
  --tfon-notch-depth: clamp(24px, 4.5vw, 44px);
  --tfon-notch-ink: #0a0a0a;
  
  --tfon-notch-top-fill: #ffffff;
}


body[data-shell-theme='light'][data-shell-page='machines'],
body[data-shell-theme='light'][data-shell-page='news'] {
  --tfon-notch-top-fill: #f5f6f9;
}


html:has(body[data-shell-page='machines']),
html:has(body[data-shell-page='news']),
body[data-shell-page='machines'],
body[data-shell-page='news'],
body[data-shell-page='machines'] main.shell-subpage,
body[data-shell-page='news'] main.shell-subpage {
  background-color: #f5f6f9;
}


body[data-shell-theme='light'][data-shell-page='about'] {
  --tfon-notch-top-fill: #f3f3f3;
}

body[data-shell-theme='light'][data-shell-page='contact'],
body[data-shell-theme='light'][data-shell-page='faq'],
body[data-shell-theme='light'][data-shell-page='consumables'],
body[data-shell-theme='light'][data-shell-page='career'],
body[data-shell-theme='light'][data-shell-page='technical-support'],
body[data-shell-theme='light'][data-shell-page='board'],
body[data-shell-theme='light'][data-shell-page='certificates'],
body[data-shell-theme='light'][data-shell-page='upcoming-fairs'],
body[data-shell-theme='light'][data-shell-page='request-sample'] {
  --tfon-notch-top-fill: #ffffff;
}


html:has(body[data-shell-page='faq']),
body[data-shell-page='faq'],
body[data-shell-page='faq'] main.shell-subpage {
  background-color: #ffffff;
}


.shell-subpage > .c-hero.tfon-notch-panel .page-wrap.c-hero__page-wrap {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-block: clamp(16px, 2.8vh, 28px);
  padding-inline: 0;
}

.shell-subpage .c-hero .page-head {
  margin: 0 0 6px;
}

.shell-subpage .c-hero .page-head__title {
  color: #fff;
}

.shell-subpage .c-hero .page-breadcrumb {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 0;
}

.shell-subpage .c-hero .page-breadcrumb__list {
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  column-gap: 0;
}

.shell-subpage .c-hero .page-breadcrumb__list li {
  display: inline-flex;
  align-items: center;
}

.shell-subpage .c-hero .page-breadcrumb__list li + li::before {
  content: none;
  display: none;
  margin: 0;
}

.shell-subpage .c-hero .page-breadcrumb__list li:not(:last-child)::after {
  content: '/';
  margin: 0 0.65em;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 300;
  pointer-events: none;
}

.shell-subpage .c-hero .page-breadcrumb__list a {
  color: rgba(255, 255, 255, 0.58);
}

.shell-subpage .c-hero .page-breadcrumb__list a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.32);
}

.shell-subpage .c-hero .page-breadcrumb__list [aria-current='page'] {
  color: rgba(255, 255, 255, 0.95);
}

.shell-subpage .c-hero .page-breadcrumb__list a:focus-visible {
  outline-color: #fff;
}


.shell-subpage > .c-hero.tfon-notch-panel {
  position: relative;
  isolation: isolate;
  background: transparent;
  
  padding-block: clamp(48px, 7.5vh, 88px);
  padding-inline: clamp(20px, 3.5vw, 36px);
}

.shell-subpage > .c-hero.tfon-notch-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--tfon-notch-ink);
  clip-path: polygon(
    0% 100%,
    100% 100%,
    100% 0%,
    var(--tfon-notch-r) 0%,
    var(--tfon-notch-dip-r) var(--tfon-notch-depth),
    var(--tfon-notch-dip-l) var(--tfon-notch-depth),
    var(--tfon-notch-l) 0%,
    0% 0%
  );
}

.shell-subpage > .c-hero.tfon-notch-panel.c-hero--breadcrumb-only::before {
  -webkit-clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
}

body[data-hero-notch='bottom-only'] .shell-subpage > .c-hero.tfon-notch-panel::before {
  -webkit-clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
  clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 0% 0%);
}

.shell-subpage > .c-hero.tfon-notch-panel > .tfon-notch-panel__notch--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin-bottom: -1px;
  width: 100%;
  height: var(--tfon-notch-depth);
  pointer-events: none;
  z-index: 1;
  background: var(--tfon-notch-top-fill);
  clip-path: polygon(
    var(--tfon-notch-l) 100%,
    var(--tfon-notch-r) 100%,
    var(--tfon-notch-dip-r) 0%,
    var(--tfon-notch-dip-l) 0%
  );
}

.c-hero {
  position: relative;
  color: #fff;
  
  padding: clamp(40px, 7vh, 72px) clamp(20px, 3.5vw, 36px);
  overflow: hidden;
}

.c-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 42% at 10% 20%, rgba(140, 185, 72, 0.08), transparent 55%),
    radial-gradient(ellipse 42% 38% at 90% 85%, rgba(90, 119, 14, 0.09), transparent 58%),
    linear-gradient(168deg, #0b0b0b 0%, #040404 100%);
}

.c-hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--page-max-width, 1460px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
}


.c-hero.c-hero--breadcrumb-only .c-hero__grid {
  grid-template-columns: 1fr;
  align-items: start;
}


.shell-subpage > .c-hero.tfon-notch-panel.c-hero--breadcrumb-only {
  padding-block: clamp(28px, 5vh, 56px);
}


.shell-subpage > .c-hero.tfon-notch-panel.c-hero--breadcrumb-only::after {
  content: none;
  display: none;
}

.c-hero__k {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 0 12px;
}

.c-hero__h {
  font-size: clamp(1.75rem, 4.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin: 0 0 14px;
  max-width: 13ch;
}

.c-hero.c-hero--wide-heading .c-hero__h {
  max-width: min(36ch, 100%);
}

.c-hero__p {
  font-size: clamp(0.88rem, 1.2vw, 0.98rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.52);
  max-width: 36ch;
  margin: 0 0 18px;
}

.c-hero__line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.c-hero__line span:first-child {
  flex: 0 0 72px;
  height: 1px;
  background: #ffffff;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.95s var(--ease-out-expo);
}

.shell-subpage[data-boot='1'] .c-hero__line span:first-child {
  transform: scaleX(1);
}

.c-hero__pic {
  position: relative;
  filter: drop-shadow(0 0 1px rgba(90, 119, 14, 0.4)) drop-shadow(0 0 18px rgba(40, 55, 14, 0.28));
}

.c-hero__frame {
  --c-hero-frame-cut: 14px;
  position: relative;
  padding: 10px 10px 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, transparent 42%),
    linear-gradient(180deg, rgba(90, 119, 14, 0.08) 0%, transparent 38%),
    linear-gradient(168deg, #13180d 0%, #080a05 100%);
  -webkit-clip-path: polygon(
    0% var(--c-hero-frame-cut),
    var(--c-hero-frame-cut) 0%,
    100% 0%,
    100% calc(100% - var(--c-hero-frame-cut)),
    calc(100% - var(--c-hero-frame-cut)) 100%,
    0% 100%
  );
  clip-path: polygon(
    0% var(--c-hero-frame-cut),
    var(--c-hero-frame-cut) 0%,
    100% 0%,
    100% calc(100% - var(--c-hero-frame-cut)),
    calc(100% - var(--c-hero-frame-cut)) 100%,
    0% 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(75, 100, 28, 0.32);
}

.c-hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(42vh, 380px);
  object-fit: cover;
  object-position: center;
  aspect-ratio: 4 / 3;
  filter: grayscale(0.32) contrast(1.06) brightness(0.93);
  -webkit-clip-path: polygon(
    0% var(--c-hero-frame-cut, 14px),
    var(--c-hero-frame-cut, 14px) 0%,
    100% 0%,
    100% calc(100% - var(--c-hero-frame-cut, 14px)),
    calc(100% - var(--c-hero-frame-cut, 14px)) 100%,
    0% 100%
  );
  clip-path: polygon(
    0% var(--c-hero-frame-cut, 14px),
    var(--c-hero-frame-cut, 14px) 0%,
    100% 0%,
    100% calc(100% - var(--c-hero-frame-cut, 14px)),
    calc(100% - var(--c-hero-frame-cut, 14px)) 100%,
    0% 100%
  );
}

.c-hero__frame .c-hero__embed {
  position: relative;
  width: 100%;
  max-height: min(42vh, 380px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  -webkit-clip-path: polygon(
    0% var(--c-hero-frame-cut, 14px),
    var(--c-hero-frame-cut, 14px) 0%,
    100% 0%,
    100% calc(100% - var(--c-hero-frame-cut, 14px)),
    calc(100% - var(--c-hero-frame-cut, 14px)) 100%,
    0% 100%
  );
  clip-path: polygon(
    0% var(--c-hero-frame-cut, 14px),
    var(--c-hero-frame-cut, 14px) 0%,
    100% 0%,
    100% calc(100% - var(--c-hero-frame-cut, 14px)),
    calc(100% - var(--c-hero-frame-cut, 14px)) 100%,
    0% 100%
  );
}

.c-hero__frame .c-hero__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.32) contrast(1.06) brightness(0.93);
}

@media (max-width: 900px) {
  .c-hero__grid {
    grid-template-columns: 1fr;
  }
  .c-hero__pic {
    order: -1;
    max-width: 440px;
    margin-inline: auto;
  }
  .c-hero__h {
    max-width: none;
  }
}

.c-reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
}

.shell-subpage[data-boot='1'] .c-reveal {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.c-reveal--d1 {
  transition-delay: 0.06s;
}

.c-reveal--d2 {
  transition-delay: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .c-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .c-hero__line span:first-child {
    transform: scaleX(1);
  }
}
