/* FORVANCE shared palette and controls */
:root {
  --fv-paper: #f5f6f4;
  --fv-surface: #fff;
  --fv-soft: #ecf0f1;
  --fv-ink: #20292f;
  --fv-muted: #46555d;
  --fv-line: #ccd5d9;
  --fv-active: #243d4b;
  --fv-accent: #a43f26;
  --fv-accent-hover: #83301f;
  --fv-hero-dark: #17252e;
  --fv-radius: 6px;
  --fv-font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --paper: var(--fv-paper);
  --white: var(--fv-surface);
  --ink: var(--fv-ink);
  --muted: var(--fv-muted);
  --line: var(--fv-line);
  --orange: var(--fv-accent);
  --dark: var(--fv-hero-dark);
  color-scheme: light;
}

body {
  background: var(--fv-paper);
  color: var(--fv-ink);
  font: 1rem / 1.55 var(--fv-font-sans);
}

::selection { background: var(--fv-active); color: #fff; }

:is(button, a, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--fv-accent);
  outline-offset: 3px;
}

body :is(.button, .nav-cta) {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--fv-radius);
  font-weight: 600;
  white-space: normal;
}

body :is(.button, .nav-cta):hover { transform: none; }

body :is(.button.primary, .nav-cta) {
  border-color: var(--fv-accent);
  background: var(--fv-accent);
  color: #fff;
}

body :is(.button.primary, .nav-cta):hover {
  border-color: var(--fv-accent-hover);
  background: var(--fv-accent-hover);
  color: #fff;
}

body :is(.button.outline, .inquiry-send-actions .button.outline) {
  border-color: #a4b2b9;
  background: var(--fv-surface);
  color: var(--fv-active);
}

body .button.outline:hover {
  border-color: var(--fv-active);
  background: var(--fv-soft);
  color: var(--fv-ink);
}

body :is(.text-link, .line-station-specs, .line-station-heading):hover {
  color: var(--fv-accent);
}

.hero-actions .button { justify-content: space-between; }

:is(.hero-copy, .landing-hero, .directory-hero, .company-copy) h1 {
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.hero-summary { font-size: 1rem; line-height: 1.55; }
.stage-caption .micro { font-size: .6875rem; letter-spacing: .07em; }
.stage-caption strong { font-size: 1rem; line-height: 1.25; }

:is(#hero-model, .sealer-showcase-models select, .directory-card-model, .spec-table dd) {
  font-variant-numeric: tabular-nums;
}

:where(.sealer-showcase-head, .catalogue-group-head, .line-overview-heading) > div:first-child {
  min-inline-size: 0;
}

:where(main h1, main h2, main h3, main h4, .directory-card-name, .line-station-name, .line-directory-label, dialog h2, #detail-family) {
  text-wrap: balance;
}

:where(.line-station-name, .line-directory-label) {
  min-inline-size: 0;
}

.equipment-title-measure {
  position: fixed;
  inset: 0 auto auto 0;
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.equipment-title-measure > span {
  display: block;
  width: max-content;
  white-space: nowrap;
}

.hero-tabs button,
.directory-filters button,
.application-tabs button {
  min-height: 44px;
  border: 1px solid #b9c6cc;
  border-radius: var(--fv-radius);
  background: #fffffff2;
  color: var(--fv-active);
  font-weight: 600;
}

.hero-tabs button:hover,
.directory-filters button:hover,
.application-tabs button:hover {
  border-color: #819aa7;
  background: #edf3f5;
  color: var(--fv-ink);
}

.hero-tabs button[aria-pressed="true"],
.directory-filters button.active,
.application-tabs button:is(.active, [aria-selected="true"]) {
  border-color: var(--fv-active);
  background: var(--fv-active);
  color: #fff;
}

.directory-filters button span { color: var(--fv-accent); }
.directory-filters button.active span { color: #dfebf0; }

[data-sealer-showcase] .sealer-showcase-tabs button {
  min-height: 44px;
  border: 1px solid #b9c6cc;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #ffffffa8;
  color: var(--fv-active);
  font-weight: 600;
}

[data-sealer-showcase] .sealer-showcase-tabs button span {
  color: var(--fv-muted);
  font-variant-numeric: tabular-nums;
}

[data-sealer-showcase] .sealer-showcase-tabs button:hover {
  border-color: #7894a2;
  background: #f4f8fa;
}

[data-sealer-showcase] .sealer-showcase-tabs button[aria-pressed="true"] {
  border-color: #7e98a6;
  border-bottom-color: var(--fv-active);
  background: #e4edf2;
  color: var(--fv-ink);
}

[data-sealer-showcase] .sealer-showcase-tabs button[aria-pressed="true"] span {
  color: var(--fv-accent);
}

@media (min-width: 1000px) {
  :is(#sealing-showcase, #tunnel-showcase, #sleeve-showcase, #labeling-showcase) .sealer-showcase-head .sealer-showcase-tabs button {
    border-color: transparent;
    border-bottom-color: var(--fv-line);
    border-radius: 0;
    background: transparent;
  }

  :is(#sealing-showcase, #tunnel-showcase, #sleeve-showcase, #labeling-showcase) .sealer-showcase-head .sealer-showcase-tabs button:hover {
    border-bottom-color: #7894a2;
    background: #e8eef1;
  }

  :is(#sealing-showcase, #tunnel-showcase, #sleeve-showcase, #labeling-showcase) .sealer-showcase-head .sealer-showcase-tabs button[aria-pressed="true"] {
    border-bottom-color: var(--fv-active);
    background: #edf3f5;
    color: var(--fv-active);
  }
}

[data-sealer-showcase] .sealer-showcase-actions {
  gap: 8px 12px;
}

[data-sealer-showcase] .sealer-showcase-actions > .text-link,
.landing-actions > .text-link,
.matched-system .system-component > .text-link,
.line-overview-actions > .text-link {
  min-height: 44px;
  justify-content: space-between;
}

[data-sealer-showcase] .sealer-showcase-actions > [data-sealer-details],
.landing-actions > button[data-product],
.line-overview-actions > button[data-product] {
  justify-content: space-between;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid var(--fv-active);
  border-radius: var(--fv-radius);
  background: var(--fv-active);
  color: #fff;
  text-align: left;
  font-weight: 600;
}

[data-sealer-showcase] .sealer-showcase-actions > [data-sealer-details]:hover,
.landing-actions > button[data-product]:hover,
.line-overview-actions > button[data-product]:hover {
  border-color: var(--fv-hero-dark);
  background: var(--fv-hero-dark);
  color: #fff;
}

[data-sealer-showcase] .sealer-showcase-actions > a {
  color: var(--fv-active);
  border-color: var(--fv-line);
}

body :is([data-sealer-choice], #catalogue-type, #detail-series, #detail-variant) {
  min-height: 46px;
  padding: 9px 12px;
  border: 1px solid #a2b2ba;
  border-radius: var(--fv-radius);
  background: var(--fv-surface);
  color: var(--fv-ink);
}

body :is([data-sealer-choice], #catalogue-type, #detail-series, #detail-variant):hover {
  border-color: #587381;
}

.catalogue-search-field {
  padding-inline: 12px 5px;
  border: 1px solid #a2b2ba;
  border-radius: var(--fv-radius);
  background: var(--fv-surface);
}

.catalogue-search-field:focus-within {
  border-color: var(--fv-active);
  outline: 2px solid #597b8d;
  outline-offset: 1px;
}

.catalogue-search-field input {
  color: var(--fv-ink);
  outline: none;
}

.catalogue-search-field input::placeholder { color: var(--fv-muted); }
.catalogue-search-field svg { color: var(--fv-active); }

#catalogue-filter-toggle {
  min-height: 44px;
  padding-inline: 10px;
  border: 1px solid #a2b2ba;
  border-radius: var(--fv-radius);
  background: var(--fv-surface);
  color: var(--fv-active);
  font-weight: 600;
}

#catalogue-filter-toggle[aria-expanded="true"] {
  border-color: var(--fv-active);
  background: var(--fv-active);
  color: #fff;
}

:is(.line-story-nav, .endline-stage-nav) a[aria-current="step"],
.process-step:is(.active, [aria-selected="true"]) {
  border-color: var(--fv-active);
  background: #e4edf2;
  color: var(--fv-ink);
}

.line-map-number, .line-station-open { color: var(--fv-accent); }
.line-map-number:is([data-edge="top"], [data-edge="bottom"])::after { background: var(--fv-accent); }

.company-actions .text-link:hover,
.workshop-feature .text-link:hover { color: #ffbaa4; }

.company-factory-thumbnails a[aria-current="true"] {
  border-color: var(--fv-active);
  outline-color: var(--fv-active);
}

body :is(.dialog-close, .sample-prev, .sample-next, .company-factory-controls button) {
  border-color: #a2b2ba;
  border-radius: var(--fv-radius);
  background: var(--fv-surface);
  color: var(--fv-ink);
}

body :is(.dialog-close, .sample-prev, .sample-next, .company-factory-controls button):hover {
  border-color: var(--fv-active);
  background: var(--fv-active);
  color: #fff;
}

dialog:is(.product-dialog, .inquiry-dialog, .sample-dialog, .line-station-dialog) {
  border-radius: 10px;
  border-color: var(--fv-line);
}

.inquiry-dialog {
  --inquiry-gutter: clamp(20px, 4vw, 34px);
  width: min(690px, calc(100% - 24px));
  max-width: none;
  max-height: min(90svh, calc(100dvh - 24px));
  padding: 0;
  overflow: auto;
  box-shadow: 0 24px 100px #10202b45;
  color: var(--fv-ink);
  background: var(--fv-surface);
}

.inquiry-dialog .dialog-close {
  display: grid;
  place-items: center;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-color: #d9e6ec5e;
  background: #172b38;
  color: #fff;
}

.inquiry-header {
  padding: 24px var(--inquiry-gutter);
  background: linear-gradient(125deg, #182934, #2c4656);
  color: #fff;
}

.inquiry-header h2 {
  margin: 0 44px 16px 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
  text-wrap: pretty;
}

.inquiry-channels {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 8px;
}

.inquiry-channels a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid #d9e6ec44;
  border-radius: var(--fv-radius);
  background: #e5f2fa0a;
  color: #fff;
}

.inquiry-channels a:is(:hover, :focus-visible) {
  border-color: #dbe8f0;
  background: #e5f2fa1e;
}

.inquiry-header a:focus-visible, .inquiry-dialog .dialog-close:focus-visible { outline-color: #fff; }
.inquiry-channels .action-arrow { color: #c9dde7; }
.inquiry-channels b { display: block; font-size: .875rem; font-weight: 650; }
.inquiry-channels a > span > span {
  display: block;
  color: #d6e5ed;
  font-size: .8125rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.inquiry-content { padding: 22px var(--inquiry-gutter) 24px; }
.inquiry-content h3 {
  margin: 0 0 13px;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.inquiry-content .inquiry-selection {
  margin: 0 0 13px;
  padding: 7px 10px;
  background: var(--fv-paper);
}

.inquiry-dialog .form-grid.inquiry-fields { gap: 12px; }
.inquiry-dialog .form-grid label {
  gap: 5px;
  color: var(--fv-ink);
  font-size: .875rem;
  font-weight: 650;
}

.inquiry-dialog .inquiry-fields :is(input, textarea) {
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid #aebdc5;
  border-radius: var(--fv-radius);
  background: #fafbfb;
  color: var(--fv-ink);
  font-weight: 400;
}

.inquiry-dialog .inquiry-fields textarea { min-height: 84px; }
.inquiry-dialog .inquiry-fields :is(input, textarea)::placeholder {
  color: var(--fv-muted);
}

.inquiry-content :is(.inquiry-help, .form-note) {
  margin-top: 7px;
  color: var(--fv-muted);
  font-size: .8125rem;
}

.inquiry-dialog .inquiry-send-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.inquiry-dialog .inquiry-send-actions .button {
  min-height: 44px;
  gap: 7px;
  padding: 8px 12px;
  font-size: .875rem;
}

@media (max-width: 600px) {
  .hero-copy h1 { font-size: clamp(30px, 10.1vw, 47px); line-height: 1.06; }
  .hero-summary { font-size: .9375rem; line-height: 1.5; }
  .hero-tabs button { font-size: clamp(.75rem, 3.3vw, .875rem); line-height: 1.25; }
  body :is(#catalogue-type, #detail-series, #detail-variant, [data-sealer-choice]) { font-size: 16px; }

  [data-sealer-showcase] .sealer-showcase-actions { gap: 7px; }
  [data-sealer-showcase] .sealer-showcase-actions > .text-link { min-width: 0; }

  .inquiry-dialog { --inquiry-gutter: 16px; }
  .inquiry-dialog .dialog-close { top: 9px; right: 9px; }
  .inquiry-header { padding-block: 17px 15px; }
  .inquiry-header h2 { margin-bottom: 12px; }
  .inquiry-channels { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .inquiry-channels a { padding-block: 5px; }
  .inquiry-content { padding-block: 16px; }
  .inquiry-dialog .inquiry-send-actions .button { padding-inline: 8px; font-size: .8125rem; }
}

@media (max-width: 355px) {
  .inquiry-dialog .inquiry-send-actions { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  :is(.button, .nav-cta, .sealer-showcase-tabs button, .hero-tabs button, .directory-filters button, .application-tabs button) {
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  }
}

.workshop-feature :is(.workshop-arrow, .workshop-toggle) {
  min-height: 44px;
  border-color: #a2b8c780;
  border-radius: var(--fv-radius);
  background: #f1f7fa13;
  color: #f4f8fa;
}

.workshop-feature :is(.workshop-arrow, .workshop-toggle):hover {
  border-color: #d1dce2;
  background: #f1f7fa2b;
  color: #fff;
}

/* Header, navigation and sales contact */
.site-contact-bar {
  background: var(--fv-hero-dark);
  color: #ebf0f2;
}

.site-contact-bar > span {
  color: #c0cdd2;
  font-size: 9px;
  letter-spacing: .13em;
}

.site-contact-bar b {
  color: #dbe6eb;
}

.site-contact-bar a + a {
  border-left-color: #cedde63d;
}

.site-contact-bar a:hover,
.site-contact-bar a:focus-visible {
  color: #fff;
  text-underline-offset: 3px;
}

.site-header {
  border-bottom-color: var(--fv-line);
  background: #ffffffed;
  color: var(--fv-ink);
}

.site-header .brand {
  color: var(--fv-ink);
}

.desktop-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fv-muted);
  font-weight: 500;
}

.desktop-nav > a::after {
  bottom: 5px;
  height: 2px;
  background: var(--fv-accent);
}

.desktop-nav > a:is([aria-current], .is-active),
.desktop-nav > a:hover {
  color: var(--fv-accent);
}

.desktop-nav > a[aria-current]::after {
  width: 100%;
}

.site-header .nav-directory-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 10px;
  border: 1px solid var(--fv-line);
  border-radius: var(--fv-radius);
  background: var(--fv-soft);
  color: var(--fv-active);
  font-weight: 600;
}

.desktop-nav > .nav-directory-link::after {
  content: none;
}

.site-header .nav-directory-link:is(:hover, [aria-current="page"]) {
  border-color: var(--fv-active);
  background: var(--fv-active);
  color: #fff;
}

@media (max-width: 1140px) {
  .site-header .menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    align-items: center;
    border-radius: 5px;
    color: var(--fv-ink);
  }

  .site-header .menu-toggle span {
    background: currentColor;
  }

  .site-header .menu-toggle:is(:hover, [aria-expanded="true"]) {
    background: var(--fv-soft);
    color: var(--fv-accent);
  }

  .site-header .mobile-nav {
    border-bottom-color: var(--fv-line);
    background: var(--fv-surface);
    color: var(--fv-ink);
    box-shadow: 0 17px 32px #17252e24;
  }

  .mobile-nav > a {
    border-bottom-color: var(--fv-line);
  }

  .mobile-nav > a:is([aria-current], .is-active, :hover) {
    color: var(--fv-accent);
  }

  .mobile-nav > .nav-directory-link {
    justify-content: space-between;
    margin-top: 12px;
    padding: 10px 12px;
    font-size: 15px;
  }
}

.contact {
  background: radial-gradient(ellipse at 100% 0%, #324955 0%, #32495500 57%), var(--fv-hero-dark);
  color: #f7f9fa;
}

.contact h2 em {
  color: #f2a68f;
}

@media (min-width: 601px) and (max-width: 1100px) {
  .contact h2 {
    font-size: clamp(48px, 7.75vw, 78px);
    letter-spacing: -.055em;
  }
}

.contact .contact-content p,
.contact .contact-direct a,
.contact .contact-bottom {
  color: #dbe6eb;
}

.contact .contact-top,
.contact .contact-bottom {
  border-color: #d6e3eb40;
}

.contact .contact-button {
  min-height: 48px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid #f4f7f8;
  border-radius: 5px;
  background: #f4f7f8;
  color: var(--fv-hero-dark);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.contact .contact-button:hover {
  border-color: #d3e2e8;
  background: #d3e2e8;
}

.contact .contact-button span {
  font-size: 21px;
  line-height: 1;
}

.contact .contact-direct a:hover,
.contact .contact-bottom a:hover {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-contact-bar a:focus-visible,
.contact :is(a, button):focus-visible {
  outline-color: #f2a68f;
}

.site-footer,
.about-page .site-footer {
  border-top: 1px solid var(--fv-line);
  background: var(--fv-paper);
  color: var(--fv-ink);
}

.site-footer :is(.footer-contact, .footer-contact .micro, .footer-company),
.site-footer > span {
  color: var(--fv-muted);
}

.footer-platforms {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
}
.footer-contact a,
.footer-platforms a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-platforms a { min-height: 28px; }
.footer-platforms a:is(:hover, :focus-visible) { text-decoration: underline; }

.site-footer .brand:hover,
.site-footer :is(.footer-contact, .footer-company) a:hover {
  color: var(--fv-accent);
}

@media (prefers-reduced-motion: reduce) {
  .contact-button:hover span {
    transform: none;
  }
}
/* The showroom and equipment photography use the same neutral industrial palette. */
.hero {
  color: var(--fv-ink);
  background:
    linear-gradient(0deg, #e8ecec 0%, #e8ecec00 21%),
    linear-gradient(90deg, #f5f6f4fa 0%, #f5f6f4e3 30%, #f5f6f46b 52%, #f5f6f409 74%),
    url("assets/showroom-wide.webp") center 64% / cover var(--fv-soft);
}

.hero-copy h1 em { color: var(--fv-accent); }
@media (min-width: 1000px) {
  .hero-copy h1 { font-size: clamp(42px, 4.35vw, 81px); }
}
.hero-summary,
.stage-caption .micro { color: var(--fv-muted); }
.hero-bottom { border-top-color: #687e8866; }

.workshop-feature {
  background: radial-gradient(ellipse at 80% 0%, #304653 0%, transparent 63%), var(--fv-hero-dark);
  color: #f5f8f8;
}

.workshop-feature .workshop-card {
  border-color: #a2b8c759;
  border-radius: 7px;
  overflow: hidden;
  background: #223742;
  color: #f5f8f8;
}
.workshop-feature .workshop-intro,
.workshop-feature .workshop-credit { color: #d4dee4; }

/* One continuous stage for the machine, pack samples, and its selection panel. */
.sealer-showcase[data-sealer-showcase] {
  --fv-stage: linear-gradient(110deg, #d3dfe5 0%, #e7eef1 55%, #f7f8f7 84%);
  --fv-stage-highlight: radial-gradient(ellipse 63% 90% at 34% 8%, #fff 2%, #f9fcfd00 80%);
  --fv-stage-shadow: linear-gradient(180deg, #657e8e00 51%, #657e8e17 70%, #657e8e32 88%, #889faa19);
  --fv-stage-line: #536b7938;
  --fv-machine-height: clamp(285px, 50vw, 420px);
  --fv-sample-size: clamp(62px, 7.8svh, 83px);
  background: var(--fv-paper);
  color: var(--fv-ink);
  border-top: 1px solid var(--fv-line);
}

[data-sealer-showcase] .sealer-showcase-inner {
  padding-block: clamp(29px, 3.6vw, 60px) clamp(21px, 3vw, 43px);
}

[data-sealer-showcase] .sealer-showcase-head {
  gap: 9px 20px;
  margin: 0;
}

[data-sealer-showcase] .sealer-showcase-head h2 {
  margin: 0;
  font-size: clamp(33px, 3.7vw, 61px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.045em;
}

[data-sealer-showcase] .collection-introduction {
  margin-top: 8px;
  color: var(--fv-muted);
  font-size: .9375rem;
  line-height: 1.55;
}

[data-sealer-showcase] .sealer-showcase-layout {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin-top: clamp(12px, 1.2vw, 21px);
  border: 1px solid var(--fv-line);
  border-radius: 8px;
  background: var(--fv-stage-highlight), var(--fv-stage);
}

[data-sealer-showcase] .sealer-showcase-visual {
  grid-template-rows: minmax(0, 1fr) auto;
  border: 0;
  min-width: 0;
}

[data-sealer-showcase] .sealer-showcase-art {
  border-radius: 7px 7px 0 0;
  background: var(--fv-stage-shadow);
}

[data-sealer-showcase] .sealer-showcase-render {
  gap: 8px;
  padding: clamp(13px, 1.5vw, 23px) clamp(10px, 1.65vw, 25px) 10px;
}

[data-sealer-showcase] .sealer-showcase-machine {
  position: relative;
  min-height: var(--fv-machine-height);
  height: 100%;
}

[data-sealer-showcase] .sealer-showcase-machine::before {
  position: absolute;
  z-index: -1;
  inset: auto 12% -8px;
  height: 23px;
  background: radial-gradient(ellipse closest-side, #2e3c4845, transparent);
  content: "";
  pointer-events: none;
}

[data-sealer-showcase] .sealer-showcase-machine-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  filter: drop-shadow(0 10px 11px #273a462b);
}

[data-sealer-showcase] :is(.sealer-showcase-watermark, .sealer-showcase-index) { display: none; }
[data-sealer-showcase] :is(.sealer-showcase-render, .sealer-showcase-examples) figcaption,
[data-sealer-showcase] .sealer-showcase-examples > p { color: var(--fv-muted); }

[data-sealer-showcase] .sealer-showcase-examples {
  align-items: stretch;
  border-top-color: var(--fv-stage-line);
  background: #fcfdfd55;
}

[data-sealer-showcase] .sealer-showcase-examples > p {
  padding-inline: clamp(11px, 1.2vw, 21px);
  letter-spacing: .09em;
}

[data-sealer-showcase] .sealer-showcase-examples figure {
  gap: 4px;
  padding: 9px 6px;
  border-left-color: var(--fv-stage-line);
}

[data-sealer-showcase] .sealer-showcase-examples img {
  width: min(100%, 126px);
  height: var(--fv-sample-size);
  filter: drop-shadow(0 5px 4px #2d3c4724);
}

[data-sealer-showcase] .sealer-showcase-information {
  min-width: 0;
  padding: clamp(16px, 2.15vw, 36px);
  border-top: 1px solid var(--fv-stage-line);
  background: #fff4;
}

[data-sealer-showcase] .sealer-showcase-panel {
  align-self: start;
  min-width: 0;
  padding: 0;
}

[data-sealer-showcase] .sealer-showcase-panel > .micro,
[data-sealer-showcase] .sealer-showcase-features li::marker { color: var(--fv-accent); }

[data-sealer-showcase] .sealer-showcase-panel h3 {
  margin-block: 7px 10px;
  font-size: clamp(26px, 2.65vw, 43px);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -.038em;
}

[data-sealer-showcase] :is(.sealer-showcase-summary, .sealer-showcase-features) {
  font-size: .9375rem;
  line-height: 1.56;
}

[data-sealer-showcase] :is(.sealer-showcase-summary, .sealer-showcase-features, .sealer-showcase-facts dt, .sealer-showcase-configuration, .showcase-selector-label > span) {
  color: var(--fv-muted);
}

[data-sealer-showcase] .sealer-showcase-facts {
  margin-block: 12px 15px;
  border-top: 1px solid var(--fv-stage-line);
}

[data-sealer-showcase] .sealer-showcase-facts > div { border-bottom-color: var(--fv-stage-line); }
[data-sealer-showcase] .sealer-showcase-facts dd { font-variant-numeric: tabular-nums; }
#ecommerce-showcase .sealer-showcase-facts dd { max-width: none; }
[data-sealer-showcase] .sealer-showcase-inner .sealer-showcase-footer { margin-top: 9px; }

@media (min-width: 1000px) {
  .sealer-showcase[data-sealer-showcase] { --fv-machine-height: clamp(334px, 47svh, 505px); }

  [data-sealer-showcase][data-showcase-motion="auto"] .sealer-showcase-layout,
  :is(#labeling-showcase, #sleeve-showcase) .sealer-showcase-layout {
    grid-template-columns: minmax(0, 1.72fr) minmax(332px, 1fr);
  }

  [data-sealer-showcase] .sealer-showcase-art { border-top-right-radius: 0; }

  [data-sealer-showcase] .sealer-showcase-information {
    border-top: 0;
    border-left: 1px solid var(--fv-stage-line);
  }

  [data-sealer-showcase][data-showcase-motion="auto"] .sealer-showcase-machine,
  [data-sealer-showcase][data-showcase-motion="auto"] .sealer-showcase-visual:not(.has-no-examples) .sealer-showcase-machine {
    min-height: var(--fv-machine-height);
    height: 100%;
  }

  #sealing-showcase .sealer-showcase-machine-image { transform: none; }

  /* These carousels include series with and without packaging examples. */
  :is(#labeling-showcase, #case-handling-showcase, #primary-showcase) .sealer-showcase-visual {
    min-height: calc(var(--fv-machine-height) + var(--fv-sample-size) + 88px);
  }
}

@media (max-width: 999px) {
  .hero {
    background:
      linear-gradient(180deg, #f5f6f4df, #f5f6f48a 34%, #f5f6f411 59%, #eef0ef23 75%, #eef0efed),
      url("assets/showroom-portrait.webp") right 58% / cover var(--fv-soft);
  }
}

@media (min-width: 601px) and (max-width: 999px) and (orientation: landscape) {
  .hero {
    background:
      linear-gradient(90deg, #f5f6f4f1, #f5f6f4d2 35%, #f5f6f41c 76%),
      linear-gradient(0deg, #e8ececb0, #e8ecec00 40%),
      url("assets/showroom-compact.webp") right 64% / cover var(--fv-soft);
  }
}

@media (max-width: 600px) {
  .sealer-showcase[data-sealer-showcase] {
    --fv-machine-height: clamp(168px, 57vw, 262px);
    --fv-sample-size: 56px;
    --fv-stage: linear-gradient(165deg, #edf3f6, #dce6eb 45%, #f4f6f7 73%);
    --fv-stage-highlight: none;
  }

  [data-sealer-showcase] .sealer-showcase-inner { padding-block: 22px 18px; }

  [data-sealer-showcase] .sealer-showcase-head h2 {
    font-size: clamp(28px, 7.9vw, 38px);
  }

  [data-sealer-showcase] .sealer-showcase-tabs button {
    font-size: .875rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  :is(#tunnel-showcase, #sleeve-showcase) .sealer-showcase-head .sealer-showcase-tabs button {
    font-size: clamp(.75rem, 3.3vw, .875rem);
  }

  [data-sealer-showcase] .sealer-showcase-render { padding: 11px 8px 8px; }
  [data-sealer-showcase] .sealer-showcase-information { padding: 13px 12px 14px; }
  [data-sealer-showcase] .sealer-showcase-panel { padding: 0; }

  [data-sealer-showcase] .sealer-showcase-panel h3 {
    margin-top: 0;
    font-size: clamp(21px, 5.75vw, 27px);
  }

  [data-sealer-showcase] .sealer-showcase-examples figure {
    padding-block: 5px 7px;
    border-left-color: var(--fv-stage-line);
  }

  [data-sealer-showcase] .sealer-showcase-examples figcaption { font-size: .75rem; line-height: 1.35; }
}
/* Equipment directory and specification pages */
.directory-hero,
.landing-hero {
  padding-block: clamp(34px, 5vw, 80px);
  border-bottom: 1px solid var(--fv-line);
  background: linear-gradient(118deg, var(--fv-surface) 0%, var(--fv-paper) 45%, var(--fv-soft) 100%);
}

:is(.directory-hero, .landing-hero) h1 {
  color: var(--fv-ink);
  text-wrap: balance;
}

.landing-grid h1 {
  font-size: clamp(38px, 4.25vw, 72px);
}

@media (max-width: 600px) {
  .landing-grid h1 { font-size: clamp(30px, 8.6vw, 45px); }
}

.directory-hero h1 em,
.landing-hero .section-kicker,
.catalogue-group-head > span {
  color: var(--fv-accent);
}

.directory-hero > .micro,
.directory-hero h1 + p,
.directory-totals dt,
.directory-page .result-label,
.catalogue-group-head p,
.landing-hero p:not(.section-kicker),
.landing-lead,
.landing-note,
.landing-table-tip,
.landing-facts p,
.landing-stages p,
.landing-samples figcaption {
  color: var(--fv-muted);
}

.directory-page,
.landing-section {
  background: var(--fv-paper);
}

.directory-totals > div,
.catalogue-group-head,
.landing-section,
.landing-table th,
.landing-table td,
.matched-system,
.system-component,
.system-component dl > div {
  border-color: var(--fv-line);
}

.directory-page .catalogue-controls {
  border-bottom-color: var(--fv-line);
  background: #f5f6f4f5;
}

.directory-card,
.landing-facts > article,
.landing-stages > li,
.landing-samples figure,
.landing-table-wrap {
  border-color: var(--fv-line);
  border-radius: var(--fv-radius, 6px);
  background: var(--fv-surface);
}

.directory-card:hover {
  border-color: #8c9ca5;
  background: #fbfcfc;
}

.directory-card-count {
  color: var(--fv-accent);
}

.directory-machine,
.landing-figure,
.matched-system-layout > figure {
  background: radial-gradient(ellipse at 48% 37%, #fff 5%, #e6ecee 100%);
}

.directory-machine {
  border-radius: calc(var(--fv-radius, 6px) - 2px);
}

.directory-card-model,
.landing-figure figcaption,
.matched-system > header p,
.matched-system-layout > figure figcaption,
.matched-system-note,
.system-component h4 span,
.system-component dt {
  color: var(--fv-muted);
}

.directory-card-action {
  border-color: var(--fv-line);
  font-weight: 600;
}

.directory-card-link:is(:hover, :focus-visible) .directory-card-action {
  color: var(--fv-accent);
}

.landing-figure,
.matched-system-layout > figure {
  border: 1px solid var(--fv-line);
  border-radius: var(--fv-radius, 6px);
}

.landing-figure,
.landing-section {
  margin-inline: 0;
}

.landing-section--tint {
  background: var(--fv-soft);
}

.landing-table thead {
  background: var(--fv-active);
}

.landing-table tbody tr:nth-child(even) {
  background: #f1f4f5;
}

.landing-cta {
  background: var(--fv-hero-dark);
  color: #fff;
}

.landing-cta p {
  color: #d3dfe5;
}

/* Application examples */
.applications {
  background: var(--fv-paper);
}

.application-copy > p,
.application-description p,
.sample-tile figcaption {
  color: var(--fv-muted);
}

.application-image-wrap,
.sample-tile {
  border-radius: var(--fv-radius, 6px);
}

.application-image-wrap,
.sample-tile img {
  background: var(--fv-soft);
}

.sample-tile,
.sample-tile figcaption {
  background: var(--fv-surface);
}

.sample-tile figcaption {
  border-top: 1px solid var(--fv-line);
}

/* Packaging line directory and process illustrations */
.line-directory-index > div {
  border-color: var(--fv-line);
  border-radius: var(--fv-radius, 6px);
  background: var(--fv-surface);
}

.line-directory-index h3,
.line-directory-index a {
  color: var(--fv-ink);
}

.line-directory-index a {
  border-top-color: var(--fv-line);
  line-height: 1.45;
}

.line-directory-index a:is(:hover, :focus-visible) {
  color: var(--fv-accent);
  background: var(--fv-soft);
}

.line-overview {
  border-color: var(--fv-line);
  background: radial-gradient(ellipse at 51% 48%, #edf1f3, transparent 72%), var(--fv-paper);
}

.line-overview:nth-of-type(even) {
  background-color: #eef1f2;
}

.line-overview-context,
.line-overview-context span,
.line-overview-description,
.line-overview-facts dt,
.line-overview-examples > span,
.line-station-dialog p:not(.micro) {
  color: var(--fv-muted);
}

.line-overview-step,
.line-overview-heading .micro {
  color: var(--fv-accent);
}

.line-overview-step span,
.line-overview-facts dd {
  color: var(--fv-active);
}

.line-overview-footer {
  border-color: var(--fv-line);
}

.line-overview-leaders path {
  stroke: var(--fv-accent);
}

.line-overview-leaders circle {
  fill: var(--fv-accent);
  stroke: var(--fv-paper);
}

.endline-story {
  background: var(--fv-paper);
}

.endline-scene {
  background: radial-gradient(ellipse at 48% 51%, #f7f9fa, #dce5e9);
}

.endline-step {
  border-color: var(--fv-line);
}

.endline-step p,
.endline-story .story-intro > p {
  color: var(--fv-muted);
}

/* Company photography and shared detail surfaces */
.company-hero {
  background-color: var(--fv-hero-dark);
}

.company-image picture::after {
  background:
    linear-gradient(90deg, #17252ee0 0%, #17252e8f 34%, #17252e00 67%),
    linear-gradient(0deg, #17252eb3, transparent 17%);
}

.company-intro {
  color: #e6edf0;
}

.company-factory {
  color: var(--fv-ink);
  background: var(--fv-paper);
}

.company-factory-feature {
  border: 1px solid var(--fv-line);
  background: var(--fv-soft);
}

.company-factory-photo,
.company-factory-thumbnails img {
  background: #e2e8eb;
}

.company-factory-caption p,
.company-factory-count {
  color: var(--fv-muted);
}

.company-factory-thumbnails a[aria-current="true"] {
  border-color: var(--fv-accent);
}

:is(.product-dialog, .sample-dialog, .line-station-dialog) {
  border: 1px solid var(--fv-line);
  border-radius: var(--fv-radius, 6px);
  background: var(--fv-surface);
}

.detail-image-panel {
  background: radial-gradient(ellipse at 47% 38%, #fff, #e9eff1);
}

.detail-image-panel > .micro,
.detail-image-caption,
.detail-copy > p,
.detail-copy > .spec-note,
.spec-table dt,
.sample-dialog figcaption {
  color: var(--fv-muted);
}

.detail-copy h2,
.spec-table dd {
  color: var(--fv-ink);
}

.detail-copy > .micro {
  color: var(--fv-accent);
}

.detail-copy li {
  border-color: var(--fv-line);
  background: var(--fv-soft);
  color: var(--fv-active);
}

.detail-related,
.spec-table > div {
  border-color: var(--fv-line);
}

@media (max-width: 980px) {
  .company-image picture::after {
    background:
      linear-gradient(180deg, #17252e93, #17252e51 42%, transparent 64%),
      linear-gradient(0deg, #17252ed4, transparent 18%);
  }
}

@media (max-width: 600px) {
  .landing-hero {
    padding-block: 30px;
  }

  .directory-hero {
    padding-block: 24px;
  }

  .line-overview .line-overview-art {
    background: var(--fv-soft);
  }

  .line-map-number {
    color: var(--fv-accent);
  }

  .line-map-leaders {
    stroke: var(--fv-accent);
  }

  .line-map-number:is([data-edge="top"], [data-edge="bottom"])::after {
    background: var(--fv-accent);
  }
}

.site-footer .footer-legal-name {
  display: block;
  margin-top: 4px;
  color: var(--fv-ink);
  font-size: 14px;
  line-height: 1.5;
}

.company-legal-name {
  margin: 14px 0 0;
  color: #e6edf0;
  font-size: 15px;
  line-height: 1.6;
}
