/* Universal Machining: compact cinematic sapphire direction. */
:root {
  --bg: #0b1b32;
  --bg2: #101f38;
  --surface: #172943;
  --line: rgba(197,218,238,.18);
  --text: #f6f9fc;
  --muted: #bdcadd;
  --accent: #3d5f9b;
  --accent-hover: #5075b3;
  --paper: #e9eff5;
  --ink: #17263b;
  --soft: #52657b;
}
body { background: var(--bg); color: var(--text); }
:focus-visible { outline-color: #90a8d3; }
.site-header { height: 76px; background: #0b1b32; border-bottom-color: rgba(255,255,255,.12); }
.header-inner { gap: 2.2rem; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { display: block; width: auto; height: 60px; max-width: 233px; }
.site-header nav a { color: #c6d2e0; }
.site-header nav .nav-quote { border-color: #5e7da8; }
.languages { border-color: rgba(255,255,255,.2); }
.languages [aria-current] { border-bottom-color: #91a9d1; }
.hero {
  position: relative;
  display: block;
  min-height: 0;
  isolation: isolate;
  background: #091a31 url('/assets/hero-machining.png') center 43% / cover no-repeat;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 120px;
  z-index: -1;
  background: linear-gradient(90deg,rgba(6,20,42,.96) 0%,rgba(7,22,46,.86) 37%,rgba(7,22,46,.24) 72%,rgba(7,22,46,.06) 100%),
              linear-gradient(0deg,rgba(5,18,37,.78),transparent 32%);
}
.hero-inner {
  min-height: 650px;
  display: flex;
  align-items: flex-end;
  padding-block: 4.5rem 4.8rem;
}
.hero-copy { max-width: 790px; }
.eyebrow { margin-bottom: 1.45rem; color: #a9c0e1; font-size: .8rem; letter-spacing: .15em; }
.eyebrow::before { width: 42px; height: 2px; background: #91a9d1; vertical-align: 4px; }
.hero h1 { max-width: 790px; font-size: clamp(3.4rem,6vw,6rem); margin-bottom: 1.5rem; line-height: .99; }
.hero-lead { max-width: 650px; font-size: clamp(1.08rem,1.5vw,1.32rem); color: #e0e8f3; }
.hero-actions { margin-top: 2rem; }
.button { min-height: 52px; border-radius: 3px; }
.button.primary { background: #3d5f9b; }
.button.primary:hover { background: #5075b3; }
.hero .button.secondary { border-color: rgba(235,242,249,.5); background: rgba(5,18,37,.3); }
.hero-services { position: relative; background: #132a4b; border-top: 1px solid rgba(255,255,255,.15); }
.hero-service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.hero-service-grid a { display: flex; align-items: center; gap: .9rem; min-height: 120px; border-top: 2px solid #5878aa; font-size: 1.15rem; font-weight: 700; }
.hero-service-grid span { color: #90a8cf; font: 600 .8rem 'JetBrains Mono',monospace; }
.hero-service-grid a:hover strong { color: #b6c9ea; }
.section { padding-block: clamp(4rem,6vw,6.3rem); }
.section-head { margin-bottom: 2.25rem; }
.section-head h2, .about h2, .quote h2 { font-size: clamp(2.2rem,3.5vw,3.6rem); }
.section-kicker { color: #839fcb; }
.section-kicker::before { background: #8da7d4; }
.about { background: var(--paper); }
.about-grid { gap: clamp(2rem,4vw,4rem); }
.about .section-kicker, .examples .section-kicker { color: #5f7390; }
.about .lead { color: #485b70; }
.about-grid>img { height: 410px; filter: saturate(.68) contrast(1.04); }
.about-bits { margin-top: 2rem; padding-top: 1.2rem; border-color: #c8d3df; }
.about-bits strong { color: #3d5f9b; }
.about-bits span { color: #46596e; }
.services { background: #101f38; }
.service-grid { gap: 1rem; }
.service-card { background: #182b46; border-color: rgba(183,205,230,.16); }
.service-card img { height: 240px; filter: saturate(.65) contrast(1.04); }
.service-card-body { padding: 1.45rem 1.55rem 1.7rem; }
.service-card h3 { font-size: clamp(1.35rem,1.8vw,1.8rem); margin-bottom: .65rem; }
.service-card p { color: #c4d1e0; }
.scope { background: #314f85; padding-block: 3.2rem; }
.scope h2 { font-size: clamp(2.2rem,3.3vw,3.5rem); }
.scope .button.light { background: #f2f6fb; color: #172b49; }
.scope .button.light:hover { background: #dce8f6; }
.examples { background: var(--paper); }
.examples-grid { gap: .8rem; }
.examples-grid article, .examples-grid img { min-height: 270px; height: 270px; }
.examples-grid img { filter: brightness(.72) saturate(.8); }
.examples-grid article:nth-child(4) img { object-position: center 61%; }
.examples-grid article:nth-child(5) img { object-position: center 55%; }
.examples-grid h3 { font-size: clamp(1.2rem,1.6vw,1.6rem); text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.process { background: #0f2039; }
.steps { gap: 1.5rem; }
.steps span { color: #8fa9d7; margin-bottom: 1rem; }
.steps h3 { font-size: 1.45rem; }
.quote { background: #172e50; }
.quote-grid { gap: clamp(2rem,4vw,4rem); }
.mail-panel { min-height: 0; padding: 2.3rem; background: #0b1b32; }
.site-footer { background: #09182d; padding-top: 3rem; }
@media(max-width:1000px) {
  .hero-inner { min-height: 580px; }
  .hero::before { background: linear-gradient(90deg,rgba(6,20,42,.96),rgba(7,22,46,.53) 75%); }
  .about-grid>img { height: 350px; }
}
@media(max-width:700px) {
  .site-header { height: auto; }
  .header-inner { padding-block: .6rem; }
  .brand img { height: 51px; }
  .hero-inner { min-height: 570px; padding-block: 4.5rem 3.5rem; }
  .hero h1 { font-size: clamp(2.8rem,11vw,4.4rem); }
  .hero::before { inset: 0 0 0; background: linear-gradient(90deg,rgba(6,20,42,.95),rgba(7,22,46,.57)),linear-gradient(0deg,rgba(6,20,42,.68),transparent 55%); }
  .hero-service-grid { gap: .2rem; }
  .hero-service-grid a { min-height: 94px; display: block; padding-top: .9rem; font-size: .92rem; }
  .hero-service-grid span { display: block; margin-bottom: .25rem; }
  .about-grid>img { height: 260px; }
  .service-card img { height: 220px; }
  .mail-panel { padding: 1.5rem; }
}
