@font-face {
  font-family: "Taipei Sans TC";
  src: url("assets/fonts/taipei-sans-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Taipei Sans TC";
  src: url("assets/fonts/taipei-sans-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0b0d10;
  --ink-2: #11151a;
  --ink-3: #181e25;
  --ink-4: #202832;
  --paper: #f3f4f2;
  --white: #f7f8f6;
  --muted: #aab2bc;
  --muted-2: #7f8995;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --engineering: #355c86;
  --engineering-bright: #7da7d0;
  --energy: #3b7a57;
  --energy-bright: #8fbea0;
  --safety: #d97706;
  --accent: var(--engineering);
  --accent-bright: var(--engineering-bright);
  --max: 1280px;
  --content: 760px;
  --gutter: clamp(22px, 4.2vw, 72px);
  --section: clamp(84px, 11vw, 152px);
  --radius: 4px;
  --font: "Taipei Sans TC", "PingFang TC", "Noto Sans TC", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-accent="energy"] {
  --accent: var(--energy);
  --accent-bright: var(--energy-bright);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

p,
h1,
h2,
h3,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

p:last-child {
  margin-bottom: 0;
}

.shell {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.prose {
  width: min(var(--content), 100%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--safety);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(7, 13, 23, 0.72), rgba(7, 13, 23, 0.42));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px) saturate(110%);
}

.nav-shell {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr auto;
  align-items: center;
  min-height: 66px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(232px, 100%);
}

.brand img {
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  color: #c6ccd3;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  padding-block: 20px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.mobile-nav-contact {
  display: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

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

.nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-size: 14px;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-contact:hover {
  background: color-mix(in srgb, var(--accent) 84%, white);
  transform: translateY(-1px);
}

.nav-contact:active {
  transform: translateY(1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 11px 8px;
  color: var(--white);
  background: transparent;
  border: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 26px;
  height: 1px;
  margin: 7px 0;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0 0 clamp(56px, 7vh, 96px);
  isolation: isolate;
  background: #071326;
}

.hero-media,
.hero-shade,
.hero-canvas-wrap {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.98) contrast(1.03) brightness(1);
  transform: scale(1.015);
}

.hero-media picture {
  display: block;
  height: 100%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 11, 23, 0.06) 0%, transparent 24%, transparent 72%, rgba(4, 11, 23, 0.28) 100%),
    linear-gradient(90deg, rgba(4, 11, 23, 0.1), transparent 54%, rgba(4, 11, 23, 0.08));
}

.hero-canvas-wrap {
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  mix-blend-mode: screen;
  background: radial-gradient(ellipse at 50% 42%, rgba(70, 153, 244, 0.14), transparent 28%);
}

.hero-canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero.has-no-webgl .hero-canvas-wrap {
  display: none;
}

.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-logo-lockup {
  position: absolute;
  top: 31%;
  left: 50%;
  width: clamp(108px, 11vw, 168px);
  margin: 0;
  opacity: 0;
  transform: translate(-50%, -50%) translateY(12px) scale(0.94);
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(13, 43, 100, 0.98)) drop-shadow(0 12px 24px rgba(0, 5, 20, 0.94)) drop-shadow(0 0 38px rgba(17, 62, 143, 0.94)) blur(8px) brightness(1.5);
  will-change: transform, opacity, filter;
}

.hero-logo-lockup img {
  width: 100%;
}

.hero-caption {
  position: absolute;
  top: 78%;
  left: 50%;
  width: min(480px, calc(100% - 44px));
  color: var(--white);
  padding: 14px 20px 18px;
  background: radial-gradient(ellipse at center, rgba(3, 12, 26, 0.74) 0%, rgba(3, 12, 26, 0.42) 44%, transparent 78%);
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 5, 15, 0.95), 0 0 10px rgba(0, 8, 20, 0.92), 0 8px 28px rgba(0, 8, 20, 0.88);
  transform: translate(-50%, 14px);
  opacity: 0;
  will-change: transform, opacity;
}

.hero-caption p {
  margin-bottom: 6px;
  color: rgba(247, 248, 246, 0.78);
  font-size: clamp(14px, 1.25vw, 17px);
  letter-spacing: 0.08em;
}

.hero-caption strong {
  display: block;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.45;
  font-weight: 700;
}

.page-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(54px, 7.2vw, 108px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  white-space: nowrap;
}

.button {
  padding: 11px 20px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-size: 15px;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: color-mix(in srgb, var(--accent) 84%, white);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(1px);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-strong);
}

.text-link {
  min-height: 44px;
  color: var(--white);
  border-bottom: 1px solid var(--line-strong);
  font-size: 15px;
  transition: border-color 180ms ease, color 180ms ease;
}

.text-link:hover {
  color: var(--accent-bright);
  border-color: var(--accent-bright);
}

.section {
  position: relative;
  overflow: clip;
  padding-block: var(--section);
  background: var(--ink);
}

.section-2 {
  background: var(--ink-2);
}

.section-3 {
  background: var(--ink-3);
}

.section-tint {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, var(--ink)) 0%, var(--ink-2) 58%, var(--ink) 100%);
}

.section-header {
  max-width: 820px;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.section h2,
.story h2,
.cta-band h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 700;
}

.section h3 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.section-copy {
  color: #c1c7ce;
  font-size: clamp(17px, 1.4vw, 20px);
}

.section-copy p {
  margin-bottom: 1.45em;
}

.media-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.82fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
}

.media-split.is-reverse {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.04fr);
}

.media-split.is-reverse .media-frame {
  order: 2;
}

.media-frame {
  margin: 0;
}

.media-frame img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.media-frame.is-tall img {
  aspect-ratio: 4 / 5;
}

.media-frame.is-wide img {
  aspect-ratio: 16 / 9;
}

.media-caption {
  max-width: 620px;
  margin-top: 13px;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.5;
}

.business-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 18px;
}

.business-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  isolation: isolate;
}

.business-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: var(--card-image) center / cover no-repeat;
  filter: saturate(0.72) contrast(1.08);
  transition: transform 700ms var(--ease);
}

.business-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(8, 11, 15, 0.34), color-mix(in srgb, var(--card-color) 72%, var(--ink)) 88%);
}

.business-card:hover::before {
  transform: scale(1.035);
}

.business-card h3 {
  max-width: 520px;
  margin-top: auto;
  margin-bottom: 16px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1;
}

.business-card p {
  max-width: 500px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.76);
}

.business-card .text-link {
  align-self: flex-start;
}

.service-index {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  border-top: 1px solid var(--line-strong);
}

.service-index a {
  display: grid;
  grid-template-columns: minmax(190px, 0.65fr) 1.35fr auto;
  gap: 28px;
  align-items: center;
  min-height: 132px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding 240ms var(--ease);
}

.service-index a:hover {
  padding-left: 12px;
  color: var(--accent-bright);
}

.service-index strong {
  font-size: clamp(23px, 2.8vw, 38px);
  letter-spacing: -0.035em;
}

.service-index span {
  max-width: 600px;
  color: var(--muted);
  font-size: 15px;
}

.service-index b {
  font-size: 24px;
  font-weight: 400;
}

.service-index-aside {
  min-height: 100%;
  margin-left: clamp(36px, 6vw, 92px);
  background: url("assets/images/team-lift.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line);
}

.image-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: 16px;
}

.image-grid figure {
  margin: 0;
}

.image-grid figure:first-child {
  grid-row: 1 / span 2;
}

.image-grid img {
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.diagnostic-grid img {
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.diagnostic-stack {
  display: grid;
  gap: 16px;
}

.diagnostic-stack img {
  min-height: 172px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact {
  min-height: 180px;
  padding: 26px;
  background: var(--ink-2);
}

.fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-bright);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
}

.story {
  padding-block: var(--section);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(48px, 9vw, 136px);
  align-items: start;
}

.story-title {
  position: sticky;
  top: 116px;
}

.story-body {
  color: #c5cbd2;
  font-size: clamp(18px, 1.55vw, 21px);
}

.story-body p {
  margin-bottom: 1.55em;
}

.story.section-tint .story-grid {
  align-items: center;
}

.story.section-tint .story-title {
  position: static;
}

.page-hero {
  position: relative;
  min-height: min(760px, 88dvh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 clamp(72px, 10vh, 104px);
  isolation: isolate;
}

.page-hero .hero-media img {
  object-position: var(--hero-position, center);
}

.page-hero-copy {
  max-width: 840px;
}

.page-hero p {
  max-width: 650px;
  margin-bottom: 0;
  color: #d3d8dd;
  font-size: clamp(18px, 1.6vw, 22px);
  overflow-wrap: anywhere;
}

.page-hero h1 {
  max-width: 850px;
}

.faq-list {
  max-width: 980px;
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 28px 56px 28px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.35;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 4px;
  top: 31px;
  content: "+";
  color: var(--accent-bright);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-width: 780px;
  padding: 0 0 30px;
  color: var(--muted);
}

.career-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.career-item {
  min-height: 220px;
  padding: clamp(26px, 4vw, 46px);
  background: var(--ink-2);
}

.career-item:first-child {
  grid-column: 1 / -1;
  min-height: 170px;
}

.career-item strong {
  display: block;
  margin-bottom: 14px;
  color: var(--accent-bright);
  font-size: 14px;
}

.career-item p {
  margin-bottom: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
  border: 1px solid var(--line);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 84px);
  background: var(--ink-2);
}

.contact-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.06;
}

.contact-copy p {
  color: var(--muted);
}

.contact-image img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-band {
  padding-block: clamp(72px, 9vw, 112px);
  background: color-mix(in srgb, var(--accent) 48%, var(--ink));
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.cta-band h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.site-footer {
  padding: 64px 0 26px;
  color: var(--muted);
  background: #080a0c;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 44px;
  padding-bottom: 56px;
}

.footer-brand img {
  width: min(260px, 100%);
  margin-bottom: 24px;
}

.footer-brand p {
  max-width: 430px;
  font-size: 14px;
}

.footer-nav strong {
  display: block;
  margin-bottom: 15px;
  color: var(--white);
  font-size: 14px;
}

.footer-nav a {
  display: block;
  width: fit-content;
  min-height: 38px;
  padding-block: 7px;
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #747e89;
  font-size: 12px;
}

/* One-page v2.1 composition */
.anchor-section,
#top {
  scroll-margin-top: 72px;
}

.site-nav a.is-active {
  color: var(--white);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.intro-story {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
}

.intro-story::before,
.intro-story::after,
#capabilities::before,
#capabilities::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.intro-story::before {
  z-index: 0;
  background: url("assets/images/intro-field.jpg") center / cover no-repeat;
  opacity: 0.34;
  filter: saturate(0.72) contrast(1.12);
  transform: scale(1.04);
}

.intro-story::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 29, 0.9) 0%, rgba(5, 14, 29, 0.66) 42%, rgba(5, 14, 29, 0.82) 100%),
    radial-gradient(circle at 24% 34%, rgba(78, 158, 242, 0.22), transparent 34%);
}

.intro-story > .shell,
#capabilities > .shell {
  position: relative;
  z-index: 1;
}

.intro-story .story-grid {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

.intro-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(130, 196, 255, 0.32);
  box-shadow: 0 22px 54px rgba(0, 8, 24, 0.48), 0 0 34px rgba(54, 134, 222, 0.12);
}

.intro-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 48%;
  filter: saturate(0.9) contrast(1.08);
}

.intro-story .story-body h2 {
  max-width: 680px;
  margin-bottom: 36px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1.08;
}

.service-overview {
  background: var(--ink);
}

.service-overview-header {
  margin-bottom: clamp(36px, 5vw, 64px);
}

.service-overview-header h2 {
  margin-bottom: 12px;
}

.service-overview-header p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
}

.equipment-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
}

#capabilities {
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-3);
}

#capabilities::before {
  z-index: 0;
  background: url("assets/images/formal-turbine-team.jpg") 64% center / cover no-repeat;
  opacity: 0.24;
  filter: saturate(0.72) contrast(1.16);
  transform: scale(1.04);
}

#capabilities::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 30, 0.96) 0%, rgba(7, 17, 30, 0.82) 48%, rgba(7, 17, 30, 0.58) 100%),
    radial-gradient(circle at 78% 42%, rgba(72, 158, 246, 0.2), transparent 34%);
}

.equipment-copy {
  padding: clamp(22px, 3.4vw, 48px);
  background: linear-gradient(135deg, rgba(5, 14, 29, 0.76), rgba(5, 14, 29, 0.3));
  border-left: 2px solid rgba(117, 186, 255, 0.58);
  box-shadow: 0 24px 58px rgba(0, 8, 24, 0.28);
}

.equipment-copy h2 {
  margin-bottom: 30px;
}

.equipment-idea {
  margin: 0;
  width: min(410px, 100%);
  justify-self: end;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(130, 196, 255, 0.32);
  box-shadow: 0 24px 60px rgba(0, 8, 24, 0.52), 0 0 36px rgba(54, 134, 222, 0.14);
}

.equipment-idea img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

:is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.service-overview {
  --section-bg: url("assets/images/formal-turbine-wide.jpg");
}

.brand-section {
  --section-bg: url("assets/images/formal-brand-experience.jpg");
}

.maintenance-value-section {
  --section-bg: url("assets/images/formal-pump-maintenance.jpg");
}

.technical-section {
  --section-bg: url("assets/images/formal-vibration-field.jpg");
}

.energy-section {
  --section-bg: url("assets/images/formal-energy-system.jpg");
}

.story.section-tint {
  --section-bg: url("assets/images/formal-factory-overview.jpg");
}

.about-section {
  --section-bg: url("assets/images/office.jpg");
}

#faq {
  --section-bg: url("assets/images/formal-brand-experience.jpg");
}

.founder-voice-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --section-bg: url("assets/images/office.jpg");
  background: var(--ink-2);
}

.founder-voice-section::before,
.founder-voice-section::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.founder-voice-section::before {
  z-index: 0;
  background: var(--section-bg) center / cover no-repeat;
  opacity: 0.12;
  filter: saturate(0.5) contrast(1.12);
  transform: scale(1.04);
}

.founder-voice-section::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.95), rgba(7, 15, 27, 0.76)),
    radial-gradient(circle at 76% 42%, rgba(27, 86, 173, 0.18), transparent 36%);
}

.founder-voice-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(48px, 10vw, 150px);
  align-items: center;
}

.founder-voice-copy {
  max-width: 620px;
  color: #c5cbd2;
  font-size: clamp(18px, 1.45vw, 21px);
}

.founder-voice-copy .eyebrow {
  margin-bottom: 16px;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.founder-voice-copy h2 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.founder-voice-copy p:last-child {
  max-width: 28em;
}

.founder-voice-frame {
  width: min(360px, 100%);
  margin: 0;
  justify-self: end;
}

.founder-voice-video {
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #020711;
  border: 1px solid rgba(130, 196, 255, 0.38);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 24px 64px rgba(0, 5, 20, 0.58), 0 0 34px rgba(17, 62, 143, 0.26);
}

.founder-voice-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.founder-voice-frame figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.06em;
}

:is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq)::before,
:is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq)::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

:is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq)::before {
  z-index: 0;
  background: var(--section-bg) center / cover no-repeat;
  opacity: 0.14;
  filter: saturate(0.58) contrast(1.12);
  transform: scale(1.04);
}

:is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq)::after {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.95) 0%, rgba(7, 15, 27, 0.82) 58%, rgba(7, 15, 27, 0.72) 100%),
    radial-gradient(circle at 72% 30%, rgba(62, 137, 221, 0.13), transparent 34%);
}

:is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq) > .shell {
  position: relative;
  z-index: 1;
}

.brand-section {
  background: var(--ink-2);
  border-block: 1px solid var(--line);
}

.brand-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 9vw, 132px);
  align-items: center;
}

.brand-image {
  width: min(500px, 100%);
  margin: 0;
}

.brand-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center 78%;
  border-radius: var(--radius);
}

.brand-copy {
  max-width: 680px;
  color: #c8ced5;
  font-size: clamp(18px, 1.5vw, 21px);
}

.brand-copy h2 {
  margin-bottom: 28px;
}

.maintenance-value-section {
  padding-top: clamp(72px, 9vw, 112px);
}

.value-panel {
  padding: clamp(34px, 5vw, 72px);
  background: var(--ink-2);
  border-left: 4px solid var(--accent);
}

.value-panel h2 {
  margin-bottom: 34px;
  font-size: clamp(34px, 4.6vw, 62px);
}

.value-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 6vw, 88px);
  color: #c2c9d0;
}

.value-columns p {
  margin-bottom: 1.45em;
}

.technical-section {
  background: var(--ink-2);
}

.technical-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.55fr);
  gap: clamp(44px, 8vw, 116px);
  align-items: center;
}

.technical-copy {
  position: sticky;
  top: 112px;
  color: #c4cbd2;
}

.technical-copy h2,
.analysis-copy h2,
.energy-copy h2,
.about-lead h2,
.faq-heading h2,
.careers-layout h2,
.contact-content h2 {
  color: var(--white);
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.technical-copy p {
  margin-bottom: 1.45em;
}

.technical-image-single {
  width: min(420px, 100%);
  margin: 0;
  justify-self: end;
}

.technical-image-single img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.analysis-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 100px);
  margin-top: clamp(96px, 13vw, 164px);
  padding-top: clamp(64px, 8vw, 104px);
  border-top: 1px solid var(--line-strong);
}

.analysis-copy {
  align-self: center;
  color: #c4cbd2;
}

.analysis-copy p {
  margin-bottom: 1.35em;
}

.analysis-image-single {
  width: min(480px, 100%);
  margin: 0;
  justify-self: start;
  align-self: center;
}

.analysis-image-single img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.piping-section {
  min-height: min(860px, 92dvh);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.piping-media,
.piping-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.piping-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.66) contrast(1.1);
}

.piping-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 12, 0.95) 0%, rgba(7, 9, 12, 0.76) 48%, rgba(7, 9, 12, 0.18) 82%),
    linear-gradient(0deg, rgba(7, 9, 12, 0.88), transparent 68%);
}

.piping-copy {
  max-width: 800px;
  margin-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
  color: #d0d5da;
  font-size: clamp(17px, 1.45vw, 20px);
}

.piping-copy h2 {
  margin-bottom: 30px;
}

.piping-copy p {
  margin-bottom: 1.35em;
}

.energy-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(64, 101, 77, 0.24), transparent 36%),
    var(--ink);
}

.energy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.energy-copy {
  color: #c4cbd2;
}

.energy-copy p {
  margin-bottom: 1.45em;
}

.energy-image {
  margin: 0;
}

.energy-image img {
  min-height: 660px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-section {
  background: var(--ink-3);
}

.about-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
}

.about-lead > div {
  color: #c5cbd2;
  font-size: clamp(18px, 1.45vw, 20px);
}

.about-lead figure {
  margin: 0;
}

.about-lead img {
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.company-profile {
  display: grid;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(38px, 7vw, 100px);
  margin-block: clamp(64px, 9vw, 112px);
  padding-top: 40px;
  border-top: 1px solid var(--line-strong);
  color: #c5cbd2;
}

.company-since {
  color: var(--accent-bright);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 112px;
}

.faq-heading h2 {
  font-size: clamp(34px, 4.1vw, 58px);
  white-space: nowrap;
}

.faq-heading p {
  color: var(--muted);
}

.faq-list {
  max-width: none;
}

.careers-section {
  background: var(--ink);
}

.careers-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.careers-layout header p {
  max-width: 520px;
  color: #c5cbd2;
  font-size: clamp(18px, 1.5vw, 21px);
}

.careers-layout .career-list {
  grid-template-columns: 1fr;
}

.careers-layout .career-item:first-child {
  grid-column: auto;
  min-height: 220px;
}

.contact-section {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: var(--section);
  isolation: isolate;
}

.contact-background,
.contact-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.contact-background img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.62) contrast(1.1);
}

.contact-shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 9, 12, 0.96) 0%, rgba(7, 9, 12, 0.82) 55%, rgba(7, 9, 12, 0.38) 100%);
}

.contact-content {
  margin-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.contact-content h2 {
  margin-bottom: 34px;
}

.contact-text {
  max-width: 760px;
  color: #d0d5da;
  font-size: clamp(17px, 1.45vw, 20px);
}

.contact-text p {
  margin-bottom: 1.35em;
}

.contact-invite {
  margin: 36px 0 10px;
  color: var(--white);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
}

.contact-details {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 1.6fr;
  gap: 18px 36px;
  max-width: 940px;
  margin-top: 22px;
  padding-top: 22px;
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  font-style: normal;
}

.contact-details div {
  display: grid;
  gap: 5px;
}

.contact-details span {
  color: var(--accent-bright);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.contact-details a,
.contact-details p {
  margin: 0;
  color: var(--white);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
}

.contact-details a:hover {
  color: var(--accent-bright);
}

.compact-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  align-items: start;
  padding-bottom: 48px;
}

.footer-anchor-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 6px 32px;
}

.footer-anchor-nav a {
  min-height: 38px;
  padding-block: 7px;
  font-size: 14px;
}

.mobile-summary-toggle {
  display: none;
}

.footer-anchor-nav a:hover {
  color: var(--white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: minmax(150px, 190px) 1fr auto;
    gap: 20px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-index {
    grid-template-columns: 1fr;
  }

  .service-index-aside {
    display: none;
  }

  .technical-grid,
  .analysis-band,
  .equipment-intro-layout,
  .brand-layout,
  .energy-layout,
  .about-lead,
  .faq-layout,
  .careers-layout {
    gap: 54px;
  }
}

@media (max-width: 860px) {
  :root {
    --gutter: 22px;
    --section: 80px;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }

  .brand {
    width: 178px;
    min-height: 44px;
  }

  .nav-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .nav-contact {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100dvh - 66px);
    display: grid;
    justify-content: stretch;
    align-content: start;
    gap: 0;
    padding: 22px;
    background: var(--ink);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 260ms var(--ease),
      visibility 0s linear 260ms;
  }

  .site-nav.is-open {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .site-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 19px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .mobile-nav-contact {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 52px;
    margin-top: 22px;
    padding: 12px 18px;
    color: var(--white);
    background: var(--accent);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
  }

  .contact-details a,
  .footer-anchor-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .hero {
    min-height: 100dvh;
    padding-top: 0;
  }

  .hero-grid,
  .media-split,
  .media-split.is-reverse,
  .business-grid,
  .story-grid,
  .contact-panel,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .capability-stage,
  .value-columns,
  .technical-grid,
  .analysis-band,
  .equipment-intro-layout,
  .brand-layout,
  .energy-layout,
  .about-lead,
  .company-profile,
  .faq-layout,
  .careers-layout,
  .compact-footer {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    display: block;
    min-width: 0;
  }

  .intro-story .story-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-aside {
    display: none;
  }

  .hero-media img {
    object-position: center center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 11, 23, 0.12) 0%, transparent 24%, transparent 72%, rgba(4, 11, 23, 0.3) 100%),
      linear-gradient(90deg, rgba(4, 11, 23, 0.12), transparent 58%, rgba(4, 11, 23, 0.08));
  }

  .media-split.is-reverse .media-frame {
    order: 0;
  }

  .business-card {
    min-height: 420px;
  }

  .story-title {
    position: static;
  }

  .technical-copy,
  .faq-heading {
    position: static;
  }

  .equipment-idea,
  .technical-image-single,
  .analysis-image-single {
    justify-self: start;
  }

  .brand-image {
    width: min(500px, 100%);
  }

  .capability-main-image {
    grid-row: auto;
    min-height: 460px;
  }

  .brand-experience {
    min-height: auto;
  }

  .capability-side-image {
    min-height: 360px;
  }

  .technical-images img,
  .technical-images img:last-child {
    height: 520px;
  }

  .analysis-band {
    margin-top: 96px;
  }

  .energy-image img,
  .about-lead img {
    min-height: 480px;
  }

  .piping-section,
  .contact-section {
    min-height: 760px;
  }

  .piping-copy,
  .contact-content {
    margin-inline: auto;
  }

  .image-grid,
  .diagnostic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .image-grid figure:first-child {
    grid-row: auto;
  }

  .image-grid img,
  .diagnostic-grid img {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .diagnostic-stack {
    grid-template-columns: 1fr 1fr;
  }

  .contact-image {
    order: -1;
  }

  .contact-image img {
    min-height: 340px;
  }

  .cta-grid .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .hero {
    min-height: 100dvh;
  }

  .page-hero {
    min-height: 720px;
  }

  .hero-media img {
    object-position: center center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 11, 23, 0.14) 0%, transparent 28%, transparent 68%, rgba(4, 11, 23, 0.34) 100%),
      linear-gradient(90deg, rgba(4, 11, 23, 0.14), transparent 58%, rgba(4, 11, 23, 0.1));
  }

  .hero-canvas-wrap {
    opacity: 0.86;
  }

  .hero-logo-lockup {
    top: 31%;
    width: min(150px, 38vw);
    margin: 0;
  }

  .hero-caption {
    top: 78%;
    width: min(460px, calc(100% - 44px));
  }

  .hero-caption strong {
    white-space: nowrap;
    font-size: clamp(16px, 4.7vw, 20px);
    letter-spacing: -0.02em;
  }

  .founder-voice-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .founder-voice-frame {
    justify-self: start;
    width: min(100%, 360px);
  }

  .founder-voice-section::before {
    opacity: 0.08;
  }

  :is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq)::before {
    opacity: 0.1;
  }

  :is(.service-overview, .brand-section, .maintenance-value-section, .technical-section, .energy-section, .story.section-tint, .about-section, #faq)::after {
    background:
      linear-gradient(90deg, rgba(7, 15, 27, 0.96), rgba(7, 15, 27, 0.88)),
      radial-gradient(circle at 72% 30%, rgba(62, 137, 221, 0.11), transparent 34%);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(48px, 14vw, 70px);
    line-height: 1;
  }

  .hero-lead,
  .page-hero p {
    max-width: 100%;
    font-size: 17px;
    white-space: normal;
    word-break: break-all;
  }

  .intro-image img {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .business-card {
    min-height: 390px;
  }

  .contact-details {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mobile-summary-block:not(.is-expanded) .mobile-detail {
    display: none;
  }

  .mobile-summary-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 4px;
    padding: 8px 0;
    color: var(--accent-bright);
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    font-size: 15px;
    cursor: pointer;
  }

  .service-index a {
    grid-template-columns: 1fr auto;
    gap: 14px;
    min-height: 108px;
  }

  .service-index a span {
    display: none;
  }

  .fact-grid,
  .career-list,
  .diagnostic-stack {
    grid-template-columns: 1fr;
  }

  .capability-main-image,
  .capability-side-image,
  .technical-images img,
  .technical-images img:last-child,
  .energy-image img,
  .about-lead img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .technical-images,
  .analysis-images,
  .footer-anchor-nav {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .analysis-images img,
  .analysis-images img:first-child {
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .piping-section,
  .contact-section {
    min-height: auto;
  }

  .piping-shade {
    background: rgba(7, 9, 12, 0.83);
  }

  .contact-shade {
    background: rgba(7, 9, 12, 0.86);
  }

  .career-item:first-child {
    grid-column: auto;
  }

  .fact {
    min-height: 132px;
  }

  .footer-bottom {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-logo-lockup {
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 8px rgba(13, 43, 100, 0.98)) drop-shadow(0 12px 24px rgba(0, 5, 20, 0.94)) drop-shadow(0 0 30px rgba(17, 62, 143, 0.9));
  }

  .intro-story::before {
    opacity: 0.22;
  }

  #capabilities::before {
    opacity: 0.16;
  }

  .equipment-copy {
    padding: 24px 20px;
    background: rgba(5, 14, 29, 0.72);
  }

  .hero-caption {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .hero-canvas-wrap {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--ink);
    backdrop-filter: none;
  }
}

@media print {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
