/* ==========================================================================
   Pinpoint Calibration Service LLC
   Palette: navy / calibration blue / target red / soft white / light gray
   Type:    Archivo (display) · IBM Plex Sans (body) · IBM Plex Mono (technical)
   ========================================================================== */

:root {
  --navy:       #0B2D4D;
  --blue:       #1464C8;
  --blue-dark:  #0F4FA0;
  --red:        #C5162E;
  --ink:        #07111F;
  --soft-white: #F7F5ED;
  --gray:       #E9EEF4;
  --gray-line:  #D5DEE9;
  --muted:      #5F6B7A;
  --white:      #FFFFFF;

  --radius:     14px;
  --radius-sm:  10px;
  --shadow:     0 18px 40px -22px rgba(11, 45, 77, 0.45);
  --shadow-sm:  0 6px 20px -12px rgba(11, 45, 77, 0.35);
  --maxw:       1180px;

  --font-display: 'Archivo', sans-serif;
  --font-body:    'IBM Plex Sans', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;
}

/* ----- reset ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ----- typography ----- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
}
.kicker.light { color: #8FC0FF; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #a51227; transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(197,22,46,.6); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--gray-line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--gray); transform: translateY(-2px); }
.btn-block { width: 100%; padding: 16px; font-size: 1.05rem; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -18px rgba(11,45,77,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; }
.brand-mark img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; color: var(--navy); font-size: 1.15rem; }
.brand-sub { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: .95rem; color: var(--navy); position: relative; transition: color .2s ease; }
.nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--red); transition: width .2s ease;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--navy); color: #fff !important; padding: 10px 20px; border-radius: 8px; }
.nav-cta:hover { background: var(--blue); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .25s; }
.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: 10px 24px 22px; border-bottom: 1px solid var(--gray-line); background: #fff; }
.mobile-nav a { padding: 13px 0; font-weight: 500; border-bottom: 1px solid var(--gray); color: var(--navy); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-cta { color: var(--red) !important; font-weight: 700; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--soft-white) 0%, #fff 100%); }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--gray-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 35%, #000 0%, transparent 75%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px;
  align-items: center; padding: 84px 24px 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-dark); background: var(--gray); border: 1px solid var(--gray-line);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}
.eyebrow .tick { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--blue); }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 30em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-points li {
  font-family: var(--font-mono); font-size: .82rem; color: var(--navy); padding-left: 18px; position: relative;
}
.hero-points li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; }

/* hero visual */
.hero-visual { display: flex; justify-content: center; }
.target-card {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); width: 100%; max-width: 420px;
}
.target-readout, .target-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase;
}
.target-readout { margin-bottom: 14px; }
.target-readout .ok { color: #1a7d3c; font-weight: 600; }
.target-meta { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--gray-line); }
.target-logo { display: flex; justify-content: center; padding: 14px 0; }
.target-logo img { width: 78%; max-width: 280px; height: auto; animation: logoIn 1s ease .15s both; }
@keyframes logoIn {
  0%   { transform: scale(.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar { background: var(--navy); }
.trust-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px;
  padding: 22px 24px;
}
.trust-inner span {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .04em;
  color: #cfe0f5; position: relative; padding-left: 18px;
}
.trust-inner span::before { content: '+'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: 92px 0; }
.section-alt { background: var(--soft-white); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head .kicker { display: block; margin-bottom: 14px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* services */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-no { font-family: var(--font-mono); font-size: .8rem; color: var(--red); letter-spacing: .1em; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

/* industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius-sm);
  padding: 26px 20px; font-family: var(--font-display); font-weight: 600; color: var(--navy);
  display: flex; align-items: center; min-height: 96px; position: relative; transition: .2s ease;
}
.industry::after {
  content: ''; position: absolute; right: 16px; top: 16px; width: 10px; height: 10px;
  border-top: 2px solid var(--gray-line); border-right: 2px solid var(--gray-line);
}
.industry:hover { background: var(--navy); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.industry:hover::after { border-color: var(--red); }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.process li { position: relative; padding-top: 14px; }
.process li::before {
  content: ''; position: absolute; top: 30px; left: 56px; right: -22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-line) 0 8px, transparent 8px 14px);
}
.process li:last-child::before { display: none; }
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.process h3 { margin-bottom: 8px; }
.process p { color: var(--muted); font-size: .94rem; }

/* quality */
.quality { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.quality::before {
  content: ''; position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; border-radius: 50%;
  border: 60px solid rgba(20,100,200,.16); opacity: .8;
}
.quality::after {
  content: ''; position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  width: 130px; height: 130px; border-radius: 50%; background: rgba(197,22,46,.5);
}
.quality-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; }
.quality h2 { color: #fff; margin: 14px 0; }
.quality-copy p { color: #c4d6ec; font-size: 1.06rem; }
.quality-list { display: grid; gap: 14px; }
.quality-list li { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .92rem; color: #e6eefb; }
.quality-list .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */
.quote-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.quote-intro .kicker { display: block; margin-bottom: 14px; }
.quote-intro h2 { margin-bottom: 14px; }
.quote-intro p { color: var(--muted); }
.contact-block { margin-top: 28px; padding: 22px; background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); border-left: 4px solid var(--red); }
.contact-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.contact-email { color: var(--blue); font-family: var(--font-mono); font-size: .86rem; word-break: break-all; display: inline-block; margin-top: 4px; }
.contact-email:hover { text-decoration: underline; }
.contact-note { color: var(--muted); font-size: .88rem; margin-top: 8px; }

.form-wrap { background: var(--white); border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .96rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--gray-line); border-radius: 9px;
  background: var(--soft-white); transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(20,100,200,.14);
}
.field textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 8px; font-style: italic; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 16px; font-family: var(--font-mono); font-size: .88rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: #1a7d3c; }
.form-status.error { color: var(--red); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink); color: #aebccd; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 44px; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; }
.footer-brand .brand-sub { color: #8a99ac; display: block; margin-top: 4px; }
.footer-brand .tagline { font-family: var(--font-mono); color: var(--red); margin-top: 14px; font-size: .9rem; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-mono); }
.footer-col a, .footer-col p { display: block; color: #aebccd; font-size: .92rem; margin-bottom: 10px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 22px 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-family: var(--font-mono); font-size: .78rem; color: #7d8ba0;
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .target-logo img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li::before { display: none; }
  .quote-inner { grid-template-columns: 1fr; }
  .quality-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 60px 24px 72px; }
  .hero-visual { order: -1; }
  .target-card { max-width: 340px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .card-grid, .industry-grid, .process { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .trust-inner { gap: 12px 22px; }
  .hero-actions .btn { flex: 1; }
}
