* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020916;
  --panel: #111a2a;
  --panel-2: #172235;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.72);
  --blue: #2388ff;
  --cyan: #00d8ff;
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 0%, rgba(35, 136, 255, 0.16), transparent 34rem), var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(4, 20, 43, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  border-radius: 10px;
}

nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

nav a,
.language-button,
.button,
.language-dialog button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  white-space: nowrap;
}

nav a {
  padding: 10px 14px;
}

.language-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.language-button img,
.language-list img {
  border-radius: 3px;
  object-fit: cover;
}

.hero {
  position: relative;
  min-height: clamp(340px, 50vh, 480px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-images {
  position: absolute;
  inset: 0;
  display: flex;
  overflow: hidden;
}

.hero-images img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slideHero 30s infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 9, 22, 0.86), rgba(2, 9, 22, 0.34)), linear-gradient(0deg, rgba(2, 9, 22, 0.76), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  padding: clamp(34px, 6vw, 72px) 0 34px;
  margin: 0 auto;
}

.brandline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.24);
}

.brandline img {
  border-radius: 14px;
}

.brandline span {
  display: block;
  color: var(--cyan);
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 860px;
  margin-top: 18px;
  font-size: clamp(2.1rem, 6.2vw, 4.6rem);
  line-height: 0.94;
}

.hero p,
.section-title p,
.feature-copy p {
  max-width: 820px;
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.7vw, 1.7rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 20px;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.16);
}

.button.small {
  align-self: flex-start;
  min-height: 42px;
  margin-top: 18px;
  padding: 10px 16px;
  background: rgba(35, 136, 255, 0.18);
}

.download-button {
  margin-top: 26px;
}

.metrics,
.section,
.feature {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  scroll-margin-top: 92px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(300px, 1fr));
  gap: 16px;
  padding: 38px 0 22px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.metrics article,
.poster,
.contact-card,
.request-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 42, 64, 0.96), rgba(11, 23, 35, 0.96));
}

.metrics article {
  padding: 18px;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 248px;
  aspect-ratio: 1.2 / 1;
  text-align: center;
  scroll-snap-align: start;
}

.metrics strong {
  display: block;
  color: var(--cyan);
  font-size: clamp(1.55rem, 2.4vw, 2.65rem);
  line-height: 1;
  overflow-wrap: anywhere;
  white-space: nowrap;
}

.metrics strong.metric-long {
  font-size: clamp(1.08rem, 1.45vw, 1.65rem);
  line-height: 1.08;
}

.metrics span {
  display: block;
  margin-top: 10px;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  font-weight: 900;
}

.metrics small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.25;
  text-wrap: balance;
}

.section {
  padding: 56px 0 22px;
}

.section-title {
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 6vw, 4rem);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 390px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  padding: 4px 4px 18px;
  scrollbar-width: thin;
}

.poster {
  overflow: hidden;
  scroll-snap-align: start;
}

.poster > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  filter: brightness(0.76);
}

.poster-body {
  padding: 20px;
}

h3 {
  font-size: 1.55rem;
}

.poster p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.mini-grid span {
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
}

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 56px;
  padding: clamp(28px, 5vw, 52px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-image: linear-gradient(90deg, rgba(2, 9, 22, 0.86), rgba(2, 9, 22, 0.54)), var(--feature-image);
  background-size: cover;
  background-position: center;
}

.feature.compact {
  grid-template-columns: 1fr;
  min-height: 280px;
}

.feature-copy,
.request-form {
  position: relative;
  z-index: 1;
}

.feature-copy {
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.feature-copy h2 {
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
}

.feature-copy p {
  max-width: none;
  font-size: clamp(0.98rem, 1.55vw, 1.2rem);
  line-height: 1.38;
  text-wrap: balance;
}

.feature-copy .download-button {
  max-width: 100%;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
}

.request-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 11, 23, 0.72);
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

.contact-section {
  padding-bottom: 24px;
}

.contact-rail {
  grid-auto-columns: minmax(220px, 250px);
}

.contact-card {
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 18px;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.contact-card strong {
  font-size: 1.25rem;
  line-height: 1.15;
}

.contact-card span {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-card .value-image {
  display: block;
  width: min(100%, 178px);
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  object-fit: contain;
  object-position: center;
}

.language-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 40;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 32px));
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #101a2a;
  color: var(--text);
  padding: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

body.picker-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dialog-header button {
  padding: 10px 14px;
}

.language-list {
  display: grid;
  gap: 8px;
  max-height: min(70vh, 560px);
  overflow: auto;
}

.language-list button {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 24px;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@keyframes slideHero {
  0%, 16% { transform: translateX(0); }
  20%, 36% { transform: translateX(-100%); }
  40%, 56% { transform: translateX(-200%); }
  60%, 76% { transform: translateX(-300%); }
  80%, 96%, 100% { transform: translateX(-400%); }
}

@media (max-width: 760px) {
  .site-header {
    align-items: stretch;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .language-button {
    margin-left: auto;
  }

  .hero {
    min-height: 360px;
  }

  .hero-content {
    width: min(100% - 24px, 680px);
    padding-top: 28px;
  }

  .hero-actions {
    display: grid;
  }

  .metrics {
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 84vw);
    grid-template-columns: none;
    overflow-x: auto;
  }

  .rail {
    grid-auto-columns: minmax(286px, 88vw);
  }

  .feature {
    grid-template-columns: 1fr;
  }

  .mini-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-images img {
    animation: none;
  }
}

/* Cookie policy and preference controls */
.cookie-popup[hidden] { display: none; }
.cookie-popup { position: fixed; z-index: 30; bottom: 16px; right: 16px; width: min(540px, calc(100% - 32px)); max-height: 70dvh; overflow-y: auto; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #0b1723; color: var(--text); box-shadow: 0 12px 48px #0009; }
.cookie-popup h2 { font-size: 1.4rem; }
.cookie-popup p { margin-top: 12px; font-size: 1rem; line-height: 1.5; }
.cookie-popup a { text-decoration: underline; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.cookie-actions button { min-height: 48px; padding: 12px; border: 1px solid var(--cyan); border-radius: 12px; background: #16314b; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; overflow-wrap: anywhere; }
.cookie-actions button:hover { background: #244e72; }
.cookie-actions button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* Center the top cell content at every screen size. */
.hero-content { text-align: center; }
.hero-content h1, .hero-content > p { margin-left: auto; margin-right: auto; }
.hero-actions { justify-content: center; }

/* Center Services and Industries headings and descriptions. */
#services .section-title,
#industries .section-title { text-align: center; }
#services .section-title p,
#industries .section-title p { margin-left: auto; margin-right: auto; }

/* Center the Contact heading and description in every language. */
#contact .section-title { text-align: center; }
#contact .section-title p { margin-left: auto; margin-right: auto; }

/* Hero title starts directly inside the top cell. */
.hero-content > h1:first-child { margin-top: 0; }


/* Slightly smaller, warm orange service headline. */
.hero-content > h1 {
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: clamp(1.2rem, 2.95vw, 2.2rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: .015em;
  color: #ed780b;
  line-height: 1.35;
  max-width: 980px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Fit the hero to its headline and action buttons without leftover fixed height. */
.hero { min-height: 0; }
.hero-content { padding: clamp(28px, 4vw, 48px) 0; }
.hero-actions { margin-top: 24px; }
@media (max-width: 680px) {
  .hero-content { padding: 26px 0; }
  .hero-actions { gap: 10px; margin-top: 20px; }
}

/* Compact first-screen header and hero; show every navigation action. */
.site-header { flex-wrap: wrap; gap: 10px 16px; padding: 10px clamp(12px, 3vw, 36px); }
.site-header nav { overflow: visible; flex-wrap: wrap; min-width: 0; }
.site-header nav a { white-space: normal; text-align: center; overflow-wrap: anywhere; }
.hero { min-height: 0; }
.hero-content { padding: clamp(18px, 3svh, 32px) 0; }
.hero-content > h1 { line-height: 1.25; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.hero-actions .button { white-space: normal; min-height: 44px; padding: 10px 14px; line-height: 1.3; text-align: center; }
@media (max-width: 1000px) {
  .site-header nav { order: 3; width: 100%; margin-left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .site-header nav a { display: flex; align-items: center; justify-content: center; padding: 8px; font-size: .85rem; min-height: 40px; }
  .language-button { margin-left: auto; }
}
@media (max-width: 600px) {
  .site-header { gap: 8px; padding: 8px 12px; }
  .brand img { width: 34px; height: 34px; }
  .site-header nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header nav a { min-height: 36px; padding: 6px 8px; font-size: .8rem; }
  .hero-content { width: calc(100% - 24px); padding: 18px 0; }
  .hero-content > h1 { font-size: clamp(1.1rem, 4.8vw, 1.55rem); }
  .hero-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
  .hero-actions .button { padding: 9px 6px; font-size: .8rem; }
}
@media (max-height: 480px) and (min-width: 601px) {
  .hero-content { padding: 12px 0; }
  .hero-content > h1 { font-size: 1.4rem; }
  .hero-actions { margin-top: 12px; }
}

/* Compact opening section sized by the headline and action buttons. */
.hero { height: auto; min-height: 0; display: block; }
.hero-content { padding: 20px 0; }
.hero-content > h1 { font-size: clamp(1.2rem, 2.95vw, 2.2rem); }
.hero-actions { margin-top: 16px; }
@media (max-width: 600px) {
  .hero-content { padding: 16px 0; }
  .hero-content > h1 { font-size: clamp(1.1rem, 4.8vw, 1.55rem); }
  .hero-actions { margin-top: 12px; }
}

/* Keep the menu in document flow so it cannot cover the hero headline. */
.site-header { position: relative; top: auto; }
.hero { height: auto; min-height: 0; }
.hero-content { width: min(1180px, calc(100% - 32px)); padding: 22px 0 20px; }
.hero-content > h1 { max-width: 100%; margin: 0 auto; line-height: 1.35; }
.hero-actions { margin-top: 16px; }
@media (max-width: 600px) {
  .hero-content { width: calc(100% - 24px); padding: 18px 0; }
}

/* Statistics wrap into complete cards instead of a clipped horizontal strip. */
.metrics { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding-top: 24px; }
.metrics article { min-width: 0; min-height: 220px; aspect-ratio: auto; }
.metrics strong { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.metrics strong.metric-long { font-size: clamp(.95rem, 1.25vw, 1.35rem); }

/* Visible menu plus measured anchor offset; hero stays in normal document flow. */
.site-header { position: sticky; top: 0; z-index: 20; }
html { scroll-padding-top: var(--header-offset, 100px); }
main section[id] { scroll-margin-top: 0; }

/* Distinctive editorial typography for the services headline. */
.hero-content > h1 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.4;
}

/* Single-line statistic values and headline-matched labels. */
.metrics article > strong, .metrics article > span {
  display: block; width: 100%; min-width: 0; max-width: 100%;
  white-space: nowrap; overflow-wrap: normal; line-height: 1.2;
}
.metrics article > strong { font-size: 1.9rem; }
.metrics article > strong.metric-long { font-size: 1.25rem; }
.metrics article > span {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1.2rem; font-weight: 600; font-style: italic;
  letter-spacing: .025em; color: #ed780b;
}

/* Service section uses the orange italic type of the main headline and Projects label. */
#services .section-title h2,
#services .section-title p,
#services .poster-body h3,
#services .poster-body p,
#services .mini-grid span,
#services .poster-body .button {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .025em;
  color: #ed780b;
}
#services .poster-body p, #services .mini-grid span { line-height: 1.5; }

#services .section-title h2, #services .poster-body h3 { color: #fff; }
#services .mini-grid span, #services .mini-grid .industrial-details-trigger {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-style: normal; font-weight: 800; letter-spacing: normal; color: #fff;
}
#services .mini-grid .industrial-details-trigger { min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.07); font-size: inherit; text-align: left; cursor: pointer; }
#services .mini-grid .industrial-details-trigger:hover { background: rgba(255,255,255,.16); }
.industrial-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100dvh - 40px); box-sizing: border-box; overflow-y: auto; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #102033; color: #fff; }
.industrial-dialog::backdrop { background: rgba(0,0,0,.72); }
.industrial-dialog h2 { padding-right: 36px; font-size: 1.6rem; }
.industrial-dialog p { margin-top: 18px; font-size: 1rem; line-height: 1.75; }
.industrial-dialog-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #213952; color: white; font-size: 1.5rem; cursor: pointer; }
.industrial-dialog-close:focus-visible, .industrial-details-trigger:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Consistent section and card typography. */
#industries .section-title h2, #request .feature-copy h2, #contact .section-title h2,
#industries .poster-body h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic; font-weight: 600; letter-spacing: .025em; color: #fff;
}
#request .feature-copy h2 { font-size: clamp(2rem, 6vw, 4rem); }
#industries .section-title p, #request .feature-copy > p, #contact .section-title p,
#industries .poster-body > p {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic; font-weight: 600; letter-spacing: .025em; color: #ed780b;
}
#industries .poster-body > p { line-height: 1.5; }
#request .feature-copy > p { font-size: clamp(1.08rem, 2.7vw, 1.7rem); line-height: 1.45; }
#service-laser h3 { width: 100%; white-space: nowrap; }
#services .mini-grid .catalog-details-trigger, #industries .mini-grid .catalog-details-trigger {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: inherit; font-weight: 800; font-style: normal; letter-spacing: normal; color: #fff;
  min-width: 0; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.07); text-align: left; cursor: pointer; overflow-wrap: anywhere;
}
.catalog-details-trigger:hover { filter: brightness(1.3); }
.catalog-details-trigger:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
#industrialPartsBody { white-space: pre-line; }

.about-feature { position: relative; background-image: none; }
.about-feature .feature-copy { position: relative; z-index: 1; }
.about-feature h2 { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: .025em; color: #fff; font-size: clamp(2rem, 6vw, 4rem); }
.about-feature p { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-style: italic; font-weight: 600; letter-spacing: .025em; color: #ed780b; font-size: clamp(1.08rem, 2.7vw, 1.7rem); line-height: 1.45; }
#services .mini-grid .catalog-details-trigger, #industries .mini-grid .catalog-details-trigger { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; }
#services .mini-grid .catalog-details-trigger > span, #industries .mini-grid .catalog-details-trigger > span { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font: inherit; color: #fff; letter-spacing: normal; }
#services .mini-grid .catalog-details-trigger > .mini-details-label, #industries .mini-grid .catalog-details-trigger > .mini-details-label { padding: 4px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; background: rgba(255,255,255,.08); font-size: .75rem; font-weight: 600; }

/* Smaller, regular-weight orange text across both sites. */
.hero-content > h1 { font-weight: 400; font-size: clamp(1.08rem, 2.65vw, 1.98rem); }
.metrics article > span { font-weight: 400; font-size: 1.08rem; }
#services .section-title p, #industries .section-title p, #contact .section-title p { font-weight: 400; font-size: 1rem; }
#services .poster-body p, #industries .poster-body > p, #services .poster-body .button { font-weight: 400; font-size: .95rem; }
#request .feature-copy > p, .about-feature p, .app-details-text p { font-weight: 400; font-size: clamp(1rem, 2.4vw, 1.5rem); }
@media (max-width: 600px) { .hero-content > h1 { font-size: clamp(1rem, 4.3vw, 1.4rem); } }

/* Shared About alignment and contact typography. */
#about .feature-copy { display: grid; justify-items: center; width: min(100%, 980px); max-width: none; margin: 0 auto; text-align: center; }
#about .feature-copy h2 { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-size: clamp(2rem, 6vw, 4rem); font-style: italic; font-weight: 600; letter-spacing: .025em; color: #fff; }
#about .feature-copy p { max-width: none; margin-top: 18px; font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-size: clamp(1rem, 2.4vw, 1.5rem); font-style: italic; font-weight: 400; letter-spacing: .025em; color: #ed780b; line-height: 1.45; text-wrap: balance; }
#contact .section-title p, #contact .contact-card strong { font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; font-size: 1rem; font-style: italic; font-weight: 400; letter-spacing: .025em; color: #ed780b; line-height: 1.45; }

/* Descriptive text matches the 3D Scanning service description in every language. */
#services .poster-body p,
#about .feature-copy p,
#request .feature-copy > p,
#request .app-details-text p {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: .95rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .025em;
  color: #ed780b;
  line-height: 1.5;
}

/* One full-width scanning description, centered and easy to fit. */
#service-scan .poster-body { min-width: 0; text-align: center; }
#service-scan .mini-grid { grid-template-columns: minmax(0, 1fr); }
#services #service-scan .mini-grid .catalog-details-trigger {
  width: 100%; box-sizing: border-box; min-width: 0;
  align-items: center; text-align: center; font-size: .85rem;
  font-weight: 400; line-height: 1.5; white-space: normal; overflow-wrap: anywhere;
}
#services #service-scan .mini-grid .catalog-details-trigger > span { max-width: 100%; font-weight: 400; text-align: center; }

/* Let the scanning card fit its content instead of stretching to adjacent cards. */
#servicesRail > #service-scan { align-self: start; height: auto; min-height: 0; }

/* Consistent content-sized Services cards and centered, regular-weight mini-cells. */
#servicesRail > .poster { align-self: start; height: auto; min-height: 0; }
#services .poster-body { min-width: 0; text-align: center; }
#service-print .mini-grid, #service-laser .mini-grid { grid-template-columns: minmax(0, 1fr); }
#services .mini-grid .catalog-details-trigger {
  width: 100%; box-sizing: border-box; min-width: 0;
  align-items: center; text-align: center; font-size: .85rem;
  font-weight: 400; line-height: 1.5; white-space: normal; overflow-wrap: anywhere;
}
#services .mini-grid .catalog-details-trigger > span { max-width: 100%; font-weight: 400; text-align: center; }

/* CAD description uses the full card width. */
#service-cad .mini-grid { grid-template-columns: minmax(0, 1fr); }

/* Hosting description uses the full card width. */
#service-hosting .mini-grid { grid-template-columns: minmax(0, 1fr); }

/* New service cards follow the compact full-width description layout. */
#service-cutting .mini-grid, #service-drawing .mini-grid { grid-template-columns: minmax(0, 1fr); }
#service-cutting .poster-body > p:empty, #service-drawing .poster-body > p:empty { display: none; }

/* Services card text matches the section subtitle typeface and orange. */
#services .poster-body h3,
#services .poster-body .button,
#services .mini-grid .catalog-details-trigger,
#services #service-scan .mini-grid .catalog-details-trigger,
#services .mini-grid .catalog-details-trigger > span,
#services #service-scan .mini-grid .catalog-details-trigger > span {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic; font-weight: 400; letter-spacing: .025em; color: #ed780b;
}

/* White service titles and Details labels; orange editorial service popup text. */
#services .poster-body h3,
#services .mini-grid .catalog-details-trigger > .mini-details-label,
#services #service-scan .mini-grid .catalog-details-trigger > .mini-details-label { color: #fff; }
#industrialPartsDialog[data-group="services"] h2,
#industrialPartsDialog[data-group="services"] p {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic; font-weight: 400; letter-spacing: .025em; color: #ed780b;
}
/* Each industry has one centered description and a Details control. */
#industriesRail > .poster { align-self: start; height: auto; min-height: 0; }
#industries .poster-body { min-width: 0; text-align: center; }
#industries .poster-body h3 { overflow-wrap: anywhere; }
#industries .mini-grid { grid-template-columns: minmax(0, 1fr); }
#industries .mini-grid .catalog-details-trigger {
  width: 100%; box-sizing: border-box; align-items: center; text-align: center;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic; font-size: .85rem; font-weight: 400; letter-spacing: .025em;
  line-height: 1.5; color: #ed780b;
}
#industries .mini-grid .catalog-details-trigger > .mini-topic { font: inherit; color: inherit; }
#industries .mini-grid .catalog-details-trigger > .mini-details-label { color: #fff; font-weight: 400; }

/* Shared popup typography for Services and Industries. */
#industrialPartsDialog[data-group] #industrialPartsTitle {
  color: #fff;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic; font-weight: 400; letter-spacing: .025em;
}
#industrialPartsDialog[data-group] #industrialPartsBody {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: 1rem; font-style: italic; font-weight: 400;
  letter-spacing: .025em; color: #ed780b; line-height: 1.45;
}

/* Bold hero heading; the top card has no action buttons. */
.hero-content > h1 { font-weight: 700; }

/* Match Services card headings to Industries card headings. */
#services .poster-body h3,
#industries .poster-body h3 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: .025em;
  color: #fff;
}

.site-header nav a { font-style: italic; }

/* Section headings share the wwwapp Contact typography. */
#services .section-title h2,
#industries .section-title h2,
#about .feature-copy h2,
#request .feature-copy h2,
#contact .section-title h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-size: clamp(1.377rem, 4.131vw, 2.754rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .025em;
  color: #fff;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
