/* Shared VERTICAL / SWAM pages. Load after site.css. */
/* Presentation links lead to a language-aware library; downloading is explicit. */
.joint-intro,
.direction-card,
.direction-body,
.equipment-intro,
.equipment-visual,
.equipment-card,
.equipment-card-body,
.joint-trust-grid > *,
.application-grid > *,
.support-grid > *,
.document-callout > * {
  min-width: 0;
}

.page-home { --max: 1600px; }
.joint-hero { padding: 0; background: var(--paper); color: var(--ink); }
.joint-stage {
  position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: clamp(580px, 40vw, 740px); padding: 72px 0;
  background: #0d1c23; color: var(--paper);
}
.stage-content { position: relative; z-index: 1; }
.hero-media { position: absolute; inset: 0 0 0 auto; width: 72%; z-index: -1; overflow: hidden; background: #0d1c23; }
.hero-media img,
.hero-media video { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero-media img { opacity: 1; transition: opacity .6s ease; }
.hero-media video { opacity: 0; transition: opacity .6s ease; }
.is-playing .hero-media img { opacity: 0; }
.is-playing .hero-media video { opacity: 1; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0d1c23 0%, #0d1c23e8 15%, #0d1c234d 38%, #0d1c2308 67%, transparent 100%);
}
.hero-motion-control { position: absolute; z-index: 2; bottom: 26px; right: 32px; }
.hero-motion-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 10px; border: 1px solid #ffffff70;
  color: white; background: #0d1c23b3; font: inherit; font-size: 14px; cursor: pointer;
}
.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle:hover { border-color: var(--copper); }
.hero-motion-toggle:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
[data-hero-toggle-icon] { width: 12px; text-align: center; }
[data-hero-toggle-label] { display: none; }
.joint-intro { max-width: 710px; width: 58%; }
.joint-intro .eyebrow { color: #ddb57e; font-size: 12px; }
.direction-body .eyebrow { color: #866037; }
.joint-intro h1 {
  margin-top: 26px;
  font-size: clamp(42px, 3.75vw, 64px);
  line-height: 1.12;
  letter-spacing: -.04em;
  overflow-wrap: normal;
}
.joint-intro h1 em,
.equipment-intro h1 em { font-style: normal; }
.joint-intro h1 em { color: #e0b57c; }
.joint-intro .lead {
  max-width: 555px;
  margin-top: 30px;
  color: #e0e5e6;
  font-size: 19px;
  line-height: 1.65;
}
.hero-directions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-directions .button { min-height: 56px; gap: 18px; padding-inline: 22px; }
.hero-directions .button.ghost { background: #0d1c23c9; color: var(--paper); border-color: #b7c3c4; }
.hero-directions .button.ghost:hover { border-color: var(--copper); color: #e0b57c; }
.presentation-link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; max-width: 100%; margin-top: 16px;
  color: var(--ink); font-size: 14px; line-height: 1.5;
}
.presentation-link svg { width: 20px; height: 24px; flex: 0 0 20px; }
.presentation-link span { min-width: 0; text-decoration: underline; text-underline-offset: 4px; }
.presentation-link:hover { color: #866037; }
.presentation-link:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.joint-intro .presentation-link { color: #dce4e2; }
.joint-intro .presentation-link:hover { color: #e0b57c; }
.hero .presentation-link { color: #dce4e2; }
.hero .presentation-link:hover { color: #e0b57c; }
.direction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.direction-card {
  display: flex;
  flex-direction: column;
  background: transparent;
}
.direction-image {
  aspect-ratio: 2.1;
  background: #e8ebe5;
  overflow: hidden;
}
.direction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.direction-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 0 0;
}
.direction-body h2 {
  margin-top: 13px;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.16;
  overflow-wrap: anywhere;
}
.direction-body p {
  margin-top: 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.direction-body .text-link {
  max-width: 100%;
  margin-top: auto;
  min-height: 44px;
  gap: 16px;
}
.direction-body .arrow,
.equipment-card .arrow,
.document-callout .arrow { flex-shrink: 0; }

.joint-trust {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  background: #e8ebe5;
}
.joint-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 30px;
}
.joint-trust-grid article {
  padding-left: 22px;
  border-left: 2px solid var(--copper);
}
.joint-trust-grid h3 {
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.joint-trust-grid p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.equipment-hero {
  padding: 40px 0 70px;
  background: #e8ebe5;
  border-bottom: 1px solid var(--line);
}
.equipment-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.equipment-intro h1 {
  margin-top: 20px;
  font-size: clamp(38px, 3.5vw, 50px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.equipment-intro .lead {
  margin-top: 24px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
}
.equipment-intro .buttons { gap: 12px; }
.equipment-intro .button { max-width: 100%; gap: 15px; }
.equipment-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.7;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #c4cdca;
  background: #fafaf8;
}
.equipment-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}
.equipment-families,
.equipment-applications { padding: 82px 0; }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.equipment-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fafaf8;
}
.equipment-card > img {
  width: 100%;
  height: 240px;
  padding: 24px;
  object-fit: contain;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.equipment-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
}
.equipment-card-body h3 {
  font-size: 23px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.equipment-card-body p {
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 1.75;
}
.equipment-card-body .text-link {
  gap: 12px;
  min-height: 44px;
  max-width: 100%;
  margin-top: auto;
}
.equipment-applications {
  background: #e8ebe5;
  border-block: 1px solid var(--line);
}
.application-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 24px;
}
.support-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.application-grid article {
  padding: 26px;
  background: var(--paper);
  border: 1px solid #c4cdca;
}
.application-grid h3,
.support-grid h3 {
  font-size: 21px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.application-grid p,
.support-grid p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.75;
}
.support-grid article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.support-number {
  display: block;
  margin-bottom: 23px;
  color: #916635;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
}
.document-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px 48px;
  margin-top: 54px;
  padding: 34px 38px;
  background: #e8ebe5;
  border-left: 3px solid var(--copper);
}
.document-copy { flex: 1 1 400px; }
.document-callout h2 { font-size: 30px; line-height: 1.2; overflow-wrap: anywhere; }
.document-callout p { max-width: 760px; margin-top: 15px; font-size: 15px; line-height: 1.75; }
.document-callout .buttons { margin-top: 0; }
.document-callout .button { max-width: 100%; }

/* Optional technical questions share the form's existing field styles. */
.equipment-form-fields,
.technical-fields { grid-column: 1 / -1; min-width: 0; }
.equipment-form-fields { display: grid; gap: 18px; }
.equipment-form-fields[hidden],
.technical-fields[hidden] { display: none !important; }
.technical-fields > details,
details.technical-fields {
  border: 1px solid #b6c0be;
  background: #ebeee7;
}
.technical-fields summary {
  position: relative;
  min-height: 48px;
  padding: 16px 44px 16px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.technical-fields summary::-webkit-details-marker { display: none; }
.technical-fields > .help { margin: 0 0 14px; padding-inline: 16px; }
.technical-fields summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 13px;
  color: #916635;
  font-size: 23px;
  font-weight: 400;
}
.technical-fields details[open] > summary::after,
details.technical-fields[open] > summary::after { content: '−'; }
.technical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 17px 14px;
  padding: 3px 16px 20px;
}
.technical-grid .form-field { min-width: 0; }
.technical-grid .form-field.wide { grid-column: 1 / -1; }

/* Longer direction names need room before the mobile navigation takes over. */
.header-inner { gap: 24px; }
.nav { gap: 20px; min-width: 0; }
.nav > a { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.35; white-space: nowrap; }
.footer-inner { flex-wrap: wrap; gap: 24px 35px; }
.footer-inner > * { min-width: 0; }
.footer .legal { max-width: 520px; margin-left: auto; overflow-wrap: anywhere; }

@media (max-width: 1280px) {
  .header-inner { gap: 18px; }
  .nav { gap: 16px; }
  .nav-cta { display: none; }
}
@media (max-width: 1100px) {
  .header-inner { height: 80px; }
  .lang-switch { margin-left: auto; }
  .menu-button { display: block; flex-shrink: 0; }
  .header .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 32px 22px;
    background: #132831;
    border-bottom: 1px solid #52636b;
    box-shadow: 0 12px 22px #0002;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    font-size: 16px;
  }
  .header.open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .header .nav > a { white-space: normal; padding: 14px 0; border-bottom: 1px solid #ffffff20; }
  .header.open .menu-button { color: var(--copper); }
  .equipment-hero-grid { gap: 34px; }
  .support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .joint-stage { display: block; min-height: 0; padding: 0; }
  .stage-content { padding-block: 48px 36px; }
  .joint-intro { width: 100%; max-width: none; }
  .joint-intro h1 { font-size: 46px; }
  .hero-media,
  .hero-motion-control { display: none; }
  .direction-grid { gap: 28px; padding-block: 54px; }
  .direction-body { padding: 24px 0 0; }
  .direction-body h2 { font-size: 29px; }
  .direction-image { aspect-ratio: 1.6; }
  .equipment-hero-grid { grid-template-columns: 1fr 1fr; }
  .equipment-intro h1 { font-size: 38px; }
  .equipment-intro .lead { font-size: 16px; }
  .equipment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipment-families,
  .equipment-applications { padding: 66px 0; }
}
@media (max-width: 760px) {
  .header-inner { height: 75px; gap: 12px; }
  .header .nav { padding-inline: 20px; max-height: calc(100vh - 75px); }
  .stage-content { padding-block: 34px 24px; }
  .joint-intro .eyebrow { font-size: 10px; letter-spacing: .13em; }
  .joint-intro h1 { font-size: clamp(30px, 7.5vw, 44px); margin-top: 22px; line-height: 1.14; }
  .joint-intro .lead { margin-top: 23px; font-size: 16px; line-height: 1.65; }
  .hero-directions { margin-top: 27px; gap: 10px; }
  .hero-directions .button { min-height: 50px; }
  .direction-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 44px; }
  .direction-image { aspect-ratio: 2; }
  .direction-body h2 { font-size: 28px; }
  .direction-body p { font-size: 16px; margin-bottom: 18px; }
  .joint-trust { padding: 30px 0; }
  .joint-trust-grid { gap: 24px; }
  .equipment-hero { padding: 28px 0 44px; }
  .equipment-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .equipment-intro h1 { font-size: clamp(32px, 6.4vw, 44px); }
  .equipment-intro .lead { margin-top: 21px; }
  .equipment-intro .buttons { flex-direction: column; align-items: stretch; gap: 8px; }
  .equipment-intro .button.primary { width: 100%; }
  .equipment-intro .button.ghost { border-color: transparent; background: transparent; padding-inline: 0; justify-content: flex-start; }
  .equipment-visual { aspect-ratio: 1.7; }
  .equipment-families,
  .equipment-applications { padding: 48px 0; }
  .equipment-grid { gap: 18px; }
  .equipment-card > img { height: 210px; padding: 20px; }
  .equipment-card-body { padding: 22px; }
  .equipment-card-body h3 { font-size: 22px; }
  .application-grid,
  .support-grid { gap: 23px; }
  .document-callout { margin-top: 38px; padding: 26px 24px; gap: 23px; }
  .document-callout h2 { font-size: 27px; }
  .document-callout p { font-size: 14px; }
  .footer .legal { margin-left: 0; max-width: 100%; }
}
@media (max-width: 560px) {
  .equipment-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .equipment-card > img { height: 235px; }
  .equipment-card-body { padding: 24px; }
  .hero-directions { display: grid; grid-template-columns: 1fr; }
  .hero-directions .button { width: 100%; justify-content: space-between; }
  .direction-body { padding: 22px 0 0; }
  .document-callout .button { width: 100%; }
  .document-callout .buttons { width: 100%; }
  .technical-grid { grid-template-columns: 1fr; }
}
@media (max-width: 375px) {
  .header-inner { gap: 7px; }
  .direction-body h2 { font-size: 27px; }
  .direction-body { padding: 22px 0 0; }
  .equipment-card-body { padding: 22px; }
  .document-callout { padding: 24px 20px; }
}
@media print {
  .joint-hero { background: white; color: var(--ink); padding: 25px 0; }
  .joint-stage { min-height: 0; padding: 0 0 25px; background: white; color: var(--ink); }
  .joint-intro { width: 100%; }
  .hero-media,
  .hero-motion-control { display: none; }
  .joint-intro .lead,
  .direction-body p { color: var(--muted); }
  .direction-card { background: white; color: var(--ink); break-inside: avoid; }
  .direction-image { max-height: 170px; }
  .joint-trust,
  .equipment-hero,
  .equipment-families,
  .equipment-applications { padding: 25px 0; }
  .equipment-card,
  .application-grid article,
  .support-grid article { break-inside: avoid; }
}

/* The genuine SWAM office portrait keeps its full architectural composition. */
.equipment-headquarters { width: min(100%, 440px); min-width: 0; margin: 0; justify-self: end; }
.headquarters-image { aspect-ratio: 10 / 11; overflow: hidden; background: #d3dad8; }
.headquarters-image img { width: 100%; height: 100%; object-fit: cover; }
.equipment-headquarters figcaption { padding-top: 11px; color: var(--muted); font-size: 12px; }
.manufacturer-section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.manufacturer-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.manufacturer-intro h2 { margin-top: 18px; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; }
.manufacturer-copy p { line-height: 1.8; font-size: 16px; }
.manufacturer-source { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.manufacturer-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 42px; }
.manufacturer-points article { border-top: 1px solid var(--line); padding-top: 22px; }
.manufacturer-points h3 { font-size: 19px; line-height: 1.3; }
.manufacturer-points p { margin-top: 12px; font-size: 14px; line-height: 1.75; }

.presentations-section { padding: 40px 0 96px; }
.presentations-intro { max-width: 830px; }
.presentations-intro h1 { margin-top: 22px; font-size: clamp(38px, 4.2vw, 60px); }
.presentations-intro .lead { max-width: 730px; margin-top: 24px; font-size: 18px; line-height: 1.75; }
.presentations-list { display: grid; gap: 32px; margin-top: 48px; }
.presentation-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; padding: 38px; border: 1px solid var(--line); background: #fafaf8; scroll-margin-top: 32px; }
.presentation-cover { min-width: 0; align-self: start; background: #e3e7e3; border: 1px solid #d1d8d3; }
.presentation-cover img { width: 100%; height: auto; }
.presentation-body { min-width: 0; }
.presentation-body h2 { margin-top: 14px; font-size: clamp(26px, 2.7vw, 34px); line-height: 1.18; overflow-wrap: anywhere; }
.presentation-description { margin-top: 18px; font-size: 15px; line-height: 1.75; }
.presentation-outline-label { margin-top: 23px; color: var(--ink); font-size: 13px; font-weight: 600; }
.presentation-outline { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.presentation-outline li + li { margin-top: 4px; }
.presentation-languages { margin-top: 24px; }
.presentation-languages > span { display: block; color: var(--muted); font-size: 12px; }
.presentation-languages > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.presentation-languages a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); font-size: 13px; }
.presentation-languages a[aria-current="page"] { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.presentation-languages a:hover { border-color: var(--copper); }
.presentation-body .buttons { gap: 10px; margin-top: 24px; }
.presentation-body .button { min-height: 48px; padding-inline: 19px; gap: 14px; }
.presentation-open-note { margin-top: 10px; }
@media (max-width: 980px) {
  .equipment-headquarters { justify-self: center; }
  .manufacturer-intro { gap: 32px; }
  .manufacturer-points { gap: 24px; }
  .presentation-card { padding: 28px; gap: 28px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (max-width: 760px) {
  .equipment-headquarters { margin-inline: auto; }
  .manufacturer-section { padding: 50px 0; }
  .manufacturer-intro { grid-template-columns: 1fr; gap: 24px; }
  .manufacturer-intro h2 { font-size: 30px; }
  .manufacturer-copy p { font-size: 15px; }
  .manufacturer-source { font-size: 12px; }
  .manufacturer-points { grid-template-columns: 1fr; gap: 23px; margin-top: 28px; }
  .manufacturer-points article { padding-top: 19px; }
  .manufacturer-points p { margin-top: 9px; }
  .presentations-section { padding: 28px 0 57px; }
  .presentations-intro h1 { font-size: 38px; overflow-wrap: anywhere; }
  .presentations-intro .lead { margin-top: 21px; font-size: 16px; }
  .presentations-list { gap: 26px; margin-top: 30px; }
  .presentation-card { grid-template-columns: 1fr; padding: 20px; gap: 25px; }
  .presentation-body h2 { font-size: 28px; }
  .presentation-description { font-size: 14px; }
  .presentation-body .buttons { align-items: stretch; }
  .presentation-body .button { flex: 1 1 auto; }
}
@media (max-width: 375px) {
  .presentation-card { padding: 17px; }
  .presentation-languages a { padding-inline: 11px; }
  .presentation-body .buttons { flex-direction: column; }
}
@media print {
  .manufacturer-section, .presentations-section { padding: 25px 0; }
  .presentation-card { break-inside: avoid; background: white; padding: 20px; }
  .presentation-languages, .presentation-open-note { display: none; }
}
