@import url("/preview-v2.css");

/* Production overrides and shared inner-page system. */
.industry .panel-image { background-image: url("/assets/images/machine-tool.jpg"); }
.bespoke .panel-image { background-image: url("/assets/images/europe-business.jpg"); }

.topbar.site-header {
  position: relative;
}

.site-header .site-nav {
  display: flex;
  gap: clamp(20px, 2.3vw, 38px);
}

.site-header .site-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 30px 0;
  position: relative;
}

.site-header .site-nav a::after {
  background: var(--gold);
  bottom: 20px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
  width: 100%;
}

.site-header .site-nav a:hover::after,
.site-header .site-nav a:focus-visible::after,
.site-header .site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions {
  align-items: center;
  display: flex;
  gap: 22px;
  justify-self: end;
}

.header-actions .language {
  align-items: center;
  display: flex;
  font-size: 11px;
  gap: 6px;
  letter-spacing: 0.03em;
}

.header-actions .language > span { opacity: 0.28; }
.header-actions .language a { padding: 10px 2px; }
.header-actions .language a[aria-current="page"] { color: #916220; font-weight: 700; }

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  display: none;
  font: inherit;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  background: currentColor;
  content: "";
  display: block;
  height: 1px;
  transition: transform 250ms ease, opacity 250ms ease;
  width: 22px;
}

.menu-toggle span { margin: 5px 0; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.site-header .mobile-nav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: none;
  left: 0;
  padding: 20px 24px 26px;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 30;
}

.site-header .mobile-nav[data-open="true"] { display: grid; }
.mobile-nav a { border-bottom: 1px solid var(--line); font-size: 15px; padding: 16px 0; }
.mobile-nav a:last-child { border-bottom: 0; }

.inner-page .site-header {
  background: rgb(253 253 251 / 96%);
  position: sticky;
  top: 0;
}

.inner-main { overflow: hidden; }

.inner-hero {
  align-items: end;
  background: #e9eff1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 610px;
}

.inner-hero-copy { padding: 80px 7vw 90px; }
.inner-hero-copy .section-label { margin-bottom: 30px; }

.inner-hero h1 {
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.12;
  margin: 0;
}

html[lang="zh-TW"] .inner-hero h1 { font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif; }
html[lang="de"] .inner-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 4.6vw, 72px); letter-spacing: -0.045em; }

.inner-hero-copy > p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
  margin: 35px 0 0;
  max-width: 620px;
}

.inner-hero-image {
  align-self: stretch;
  background-position: center;
  background-size: cover;
  min-height: 520px;
}

.inner-hero-equipment .inner-hero-image { background-image: linear-gradient(rgb(12 34 44 / 15%), rgb(12 34 44 / 15%)), url("/assets/images/machine-tool.jpg"); }
.inner-hero-travel { background: #f0ebe2; }
.inner-hero-travel .inner-hero-image { background-image: linear-gradient(rgb(62 35 40 / 12%), rgb(62 35 40 / 12%)), url("/assets/images/europe-business.jpg"); }
.inner-hero-about { background: #edf2f3; grid-template-columns: 1fr; min-height: 560px; }
.inner-hero-about .inner-hero-copy { max-width: 1120px; padding-right: 16vw; }
.inner-hero-contact { background: #f3efe7; grid-template-columns: 1fr; min-height: 500px; }
.inner-hero-contact .inner-hero-copy { max-width: 1100px; }

.content-section {
  background: var(--white);
  padding: 115px 9vw 125px;
}

.content-section.tint-blue { background: var(--steel-pale); }
.content-section.tint-sand { background: var(--sand-pale); }
.content-section.tint-soft { background: #f5f6f3; }

.section-split {
  display: grid;
  gap: 10vw;
  grid-template-columns: 0.8fr 1.2fr;
  margin: 0 auto;
  max-width: 1280px;
}

.section-split h2,
.section-heading h2,
.closing-cta h2 {
  font-family: "Songti SC", "STSong", serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.28;
  margin: 0;
}

html[lang="zh-TW"] .section-split h2,
html[lang="zh-TW"] .section-heading h2,
html[lang="zh-TW"] .closing-cta h2 { font-family: "Songti TC", "Noto Serif TC", "PMingLiU", serif; }
html[lang="de"] .section-split h2,
html[lang="de"] .section-heading h2,
html[lang="de"] .closing-cta h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.6vw, 55px); }

.section-body { align-self: end; }
.section-body > p { color: var(--muted); font-size: 16px; line-height: 1.95; margin: 0 0 24px; }
.section-body > p:last-child { margin-bottom: 0; }

.section-heading { margin: 0 auto 65px; max-width: 1280px; }
.section-heading p:last-child { color: var(--muted); line-height: 1.9; margin: 24px 0 0; max-width: 720px; }

.scope-grid,
.principle-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1280px;
}

.scope-card,
.principle-card {
  background: rgb(255 255 255 / 66%);
  border: 1px solid var(--line);
  margin: 0 -1px -1px 0;
  min-height: 240px;
  padding: 34px;
}

.scope-card span,
.principle-card span { color: #8c652d; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.scope-card h3,
.principle-card h3 { font-size: 18px; font-weight: 600; line-height: 1.45; margin: 45px 0 14px; }
.scope-card p,
.principle-card p { color: var(--muted); font-size: 13px; line-height: 1.75; margin: 0; }

.process-list {
  border-top: 1px solid var(--line);
  margin: 0 auto;
  max-width: 1280px;
}

.process-step {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 30px;
  grid-template-columns: 80px 0.7fr 1.3fr;
  padding: 30px 0;
}

.process-step > span { color: #8c652d; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; padding-top: 4px; }
.process-step h3 { font-size: 17px; margin: 0; }
.process-step p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0; }

.boundary-box {
  border-left: 3px solid var(--steel);
  margin: 55px auto 0;
  max-width: 1280px;
  padding: 8px 0 8px 30px;
}

.boundary-box h3 { font-size: 15px; margin: 0 0 12px; }
.boundary-box p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0; max-width: 900px; }

.company-record {
  display: grid;
  gap: 9vw;
  grid-template-columns: 0.9fr 1.1fr;
  margin: 0 auto;
  max-width: 1280px;
}

.company-record .company-facts { align-self: start; }

.contact-layout {
  display: grid;
  gap: 10vw;
  grid-template-columns: 0.85fr 1.15fr;
  margin: 0 auto;
  max-width: 1280px;
}

.contact-direct { display: flex; flex-direction: column; gap: 17px; }
.contact-direct a:first-of-type { font-size: clamp(22px, 2.5vw, 36px); font-weight: 600; }
.contact-direct a:not(:first-of-type) { font-size: 16px; }
.contact-direct address { color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.8; margin-top: 12px; }

.contact-guides { display: grid; gap: 34px; }
.contact-guide { border-top: 1px solid var(--line); padding-top: 25px; }
.contact-guide h3 { font-size: 17px; margin: 0 0 15px; }
.contact-guide p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; }

.legal-main { background: var(--white); min-height: 70svh; padding: 100px 9vw 130px; }
.legal-wrap { margin: 0 auto; max-width: 900px; }
.legal-wrap h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 5vw, 70px); font-weight: 500; hyphens: auto; margin: 0 0 65px; overflow-wrap: anywhere; }
.legal-wrap h2 { font-size: 18px; margin: 42px 0 14px; }
.legal-wrap p,
.legal-wrap li { color: var(--muted); font-size: 14px; line-height: 1.85; }
.legal-wrap ul { padding-left: 20px; }
.legal-note { background: var(--sand-pale); border-left: 3px solid var(--gold); margin: 36px 0; padding: 22px 25px; }

.closing-cta {
  align-items: end;
  background: #f9f8f4;
  display: grid;
  gap: 7vw;
  grid-template-columns: 1.2fr auto;
  padding: 95px 9vw;
}

.closing-cta a {
  border-bottom: 1px solid currentColor;
  display: inline-flex;
  font-size: 14px;
  gap: 34px;
  padding-bottom: 8px;
}

.site-footer {
  background: #eef0ed;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 10px;
  gap: 20px;
  grid-template-columns: 1fr auto;
  padding: 28px 7vw;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--ink); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header > .site-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions { gap: 13px; }
  .inner-hero { grid-template-columns: 1fr; }
  .inner-hero-copy { padding: 75px 7vw; }
  .inner-hero-image { min-height: 440px; }
  .scope-grid, .principle-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .site-header { padding: 0 18px; }
  .site-header .wordmark img { margin-right: 8px; }
  .header-actions .language { font-size: 10px; }
  .menu-toggle { width: 30px; }
  .inner-hero { min-height: auto; }
  .inner-hero-copy { padding: 70px 24px; }
  .inner-hero h1 { font-size: 43px; }
  html[lang="de"] .inner-hero h1 { font-size: 40px; }
  .inner-hero-copy > p:last-child { font-size: 14px; }
  .inner-hero-image { min-height: 430px; }
  .inner-hero-about, .inner-hero-contact { min-height: auto; }
  .content-section { padding: 82px 24px 90px; }
  .section-split, .company-record, .contact-layout { gap: 55px; grid-template-columns: 1fr; }
  .section-split h2, .section-heading h2, .closing-cta h2 { font-size: 39px; }
  html[lang="de"] .section-split h2,
  html[lang="de"] .section-heading h2,
  html[lang="de"] .closing-cta h2 { font-size: 36px; }
  .scope-grid, .principle-grid { grid-template-columns: 1fr; }
  .scope-card, .principle-card { min-height: 210px; padding: 28px; }
  .scope-card h3, .principle-card h3 { margin-top: 35px; }
  .process-step { gap: 8px 16px; grid-template-columns: 35px 1fr; }
  .process-step p { grid-column: 2; }
  .boundary-box { padding-left: 20px; }
  .closing-cta { align-items: start; gap: 42px; grid-template-columns: 1fr; padding: 75px 24px; }
  .legal-main { padding: 75px 24px 95px; }
  .site-footer { grid-template-columns: 1fr; line-height: 1.6; padding: 24px; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .site-nav a::after,
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after { transition: none; }
}
