/* Shared finishing layer; loaded after the existing responsive and language styles. */
:root {
  --traser-text: #17283f;
  --traser-muted: #526174;
  --traser-bg-soft: #f3f5f8;
  --traser-bg-dark: #10233e;
  --traser-border: #d8dfe8;
  --traser-accent: #a94212;
  --traser-accent-dark: #87330c;
}
.traser-home, .traser-subpage { font-size: 1rem; overflow-wrap: break-word; }
.traser-site-header *, .traser-site-footer * { box-sizing: border-box; }
.traser-site-header, .traser-site-footer { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif; }
.traser-brand__mark { font-size: 1.5rem; letter-spacing: .08em; }
.traser-brand__sub { font-size: .75rem; letter-spacing: .08em; }
.traser-nav-desktop { gap: 24px; }
.traser-nav-desktop a, .traser-language-switcher a { font-size: .875rem; }
.traser-language-switcher a[aria-current] { border-bottom-color: var(--traser-accent); }
.traser-hero { min-height: 600px; background: #f3f5f8; border-bottom: 1px solid var(--traser-border); }
.traser-hero::after { display: none; }
.traser-hero__inner { gap: 48px; }
.traser-hero h1 { white-space: normal; font-size: clamp(2.5rem, 4.6vw, 3.875rem); line-height: 1.4; letter-spacing: -.025em; }
.traser-hero__lead { font-size: 1rem; line-height: 1.95; }
.traser-eyebrow::before { content: ''; display: inline-block; width: 32px; height: 3px; margin: 0 12px 3px 0; background: var(--traser-accent); }
.traser-hero__grid { box-shadow: none; border-color: #cbd4df; }
.traser-hero__grid span { min-height: 116px; background: #fff; color: var(--traser-text); font-size: .875rem; letter-spacing: .12em; }
.traser-hero__grid span:first-child { min-height: 232px; background: var(--traser-bg-dark); border-top: 4px solid #eb7c3e; }
.traser-section { padding-block: 88px; }
.traser-home h2, .traser-subpage h2 { font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.55; }
.traser-intro__text { font-size: 1rem; }
.traser-service-grid { gap: 20px; }
.traser-service-card { min-height: 0; padding: 32px; border-top: 3px solid var(--traser-bg-dark); }
.traser-service-card--wide { min-height: 0; }
.traser-service-card__no { margin-bottom: 24px; font-size: .875rem; }
.traser-service-card h3 { font-size: 1.5rem; }
.traser-service-card h3 a { color: inherit; text-decoration: underline; text-decoration-color: #c3cdd9; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.traser-service-card h3 a:hover { color: var(--traser-accent); text-decoration-color: currentColor; }
.traser-service-card:hover { transform: none; }
.traser-button { padding-block: 12px; font-size: .875rem; line-height: 1.6; text-align: center; }
.traser-flow-list { margin-top: 36px; }
.traser-flow-list li { min-height: 230px; padding: 26px 20px; }
.traser-flow-list span { margin-bottom: 26px; font-size: .875rem; }
.traser-principles .traser-section-label, .traser-bg-dark .traser-section-label, .traser-principle-grid span { color: #ffb181; }
.traser-principle-grid article { min-height: 0; padding: 32px; }
.traser-principle-grid span { margin-bottom: 28px; font-size: .875rem; }
.traser-contact-cta { background: var(--traser-bg-dark); border-top: 1px solid #41516a; }
.traser-contact-cta .traser-section-label { color: #ffb181; }
.traser-page-hero { padding-block: 80px; background: #f3f5f8; border-top: 3px solid var(--traser-accent); }
.traser-page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.3; }
.traser-page-hero > .traser-container > p:last-child { font-size: 1rem; }
.traser-service-detail__no { font-size: .875rem; }
.traser-service-detail h2 { margin-top: 0; }
.traser-contact-form > label > span, .traser-consent,
.traser-contact-phone span, .traser-contact-phone small,
.traser-site-footer__inner p, .traser-site-footer__nav a { font-size: .875rem; }
.traser-contact-form em, .traser-site-footer__bottom { font-size: .75rem; }
.traser-home :focus-visible, .traser-subpage :focus-visible,
.traser-site-header :focus-visible, .traser-site-footer :focus-visible { outline: 3px solid #c85b24; outline-offset: 4px; }
#services, .traser-service-detail { scroll-margin-top: 180px; }
@media (max-width: 1100px) {
  .traser-nav-desktop { gap: 16px; }
  .traser-site-header__inner { gap: 8px 18px; }
  .traser-brand__sub { display: none; }
}
@media (max-width: 980px) {
  .traser-hero { min-height: 0; padding-block: 64px; }
  .traser-hero__inner { gap: 36px; }
  .traser-hero__visual { width: 100%; max-width: none; }
  .traser-hero__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .traser-hero__grid span, .traser-hero__grid span:first-child { grid-row: auto; min-height: 84px; writing-mode: horizontal-tb; align-items: center; justify-content: center; padding: 12px 6px; font-size: .75rem; letter-spacing: .05em; }
  .traser-flow-list li { min-height: 0; }
}
@media (max-width: 760px) {
  .traser-site-header { position: relative; }
  .admin-bar .traser-site-header { top: 0; }
  .traser-site-header__inner { padding-block: 8px; }
  .traser-nav-mobile summary { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--traser-border); font-size: .875rem; }
  .traser-nav-mobile nav { top: 48px; z-index: 2; }
  .traser-language-switcher { justify-content: flex-start; border-top: 1px solid var(--traser-border); }
  .traser-hero { padding-block: 44px; }
  .traser-hero h1 { font-size: clamp(2rem, 8.5vw, 2.75rem); line-height: 1.45; }
  .traser-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .traser-hero__grid span:first-child { grid-column: 1 / -1; }
  .traser-hero__grid span, .traser-hero__grid span:first-child { min-height: 52px; font-size: .875rem; }
  .traser-section { padding-block: 56px; }
  .traser-service-card, .traser-service-card--wide { padding: 24px; }
  .traser-service-card h3 { font-size: 1.375rem; }
  .traser-flow-message { padding: 24px; }
  .traser-principle-grid article { padding: 28px 20px; }
  .traser-page-hero { padding-block: 48px; }
  #services, .traser-service-detail { scroll-margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .traser-button, .traser-service-card { transition: none; }
  .traser-button:hover { transform: none; }
}

/* Keep Lightning heading decorations out of the custom TRASER layouts. */
.traser-home h2, .traser-home h3,
.traser-subpage h2, .traser-subpage h3 {
  border: 0;
  background: none;
  box-shadow: none;
  padding: 0;
}
.traser-home h2::before, .traser-home h2::after,
.traser-home h3::before, .traser-home h3::after,
.traser-subpage h2::before, .traser-subpage h2::after,
.traser-subpage h3::before, .traser-subpage h3::after {
  content: none;
  display: none;
}
.traser-contact-info h2 {
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.65;
}
.traser-contact-form input:not([type="checkbox"]),
.traser-contact-form select, .traser-contact-form textarea {
  font-size: 1rem;
  min-width: 0;
  max-width: 100%;
}
