/* Shared homepage and Get a Quote CAD intake. Oroox handles the quote in a separate window. */
#process .section-inner { max-width:1360px; }
#process .process-start { display:grid; grid-template-columns:minmax(0,1fr); gap:40px; }
#process .process-intro { min-width:0; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); align-items:end; gap:40px; }
#process .process-intro .section-title { font-size:clamp(32px,4.3vw,60px); margin:0; }
.process-intro-details { justify-self:end; padding-bottom:4px; }
.process-intro-copy { color:#aeb7c4; font-size:16px; line-height:1.8; }
.process-prep-link { display:inline-flex; gap:24px; margin-top:20px; color:#d5dce6; font-size:12px; padding-bottom:6px; border-bottom:1px solid #465160; text-decoration:none; }
.process-prep-link:hover { color:#fff; border-color:#a3c8ff; }
.quote-upload { --drawing-gutter:22px; --drawing-line:#ffffff33; --drawing-line-strong:#ffffff57; min-width:0; position:relative; isolation:isolate; padding:var(--drawing-gutter); border:1px solid var(--drawing-line); background:#0a0a0a; }
.quote-upload::before { content:''; position:absolute; inset:var(--drawing-gutter); border:1px solid var(--drawing-line-strong); pointer-events:none; z-index:2; }
.quote-upload > :not(.quote-upload-sheet) { position:relative; z-index:1; }
.quote-upload [hidden] { display:none !important; }
.quote-upload-sheet { position:absolute; inset:0; pointer-events:none; color:#ffffff66; font-family:'Share Tech Mono',monospace; z-index:0; }
.quote-upload-zone { position:absolute; display:flex; font-size:9px; line-height:1; }
.quote-upload-zone span { flex:1; display:flex; align-items:center; justify-content:center; }
.quote-upload-zone--top,.quote-upload-zone--bottom { left:var(--drawing-gutter); right:var(--drawing-gutter); height:var(--drawing-gutter); }
.quote-upload-zone--top { top:0; }
.quote-upload-zone--bottom { bottom:0; }
.quote-upload-zone--top span + span,.quote-upload-zone--bottom span + span { border-left:1px solid var(--drawing-line); }
.quote-upload-zone--left,.quote-upload-zone--right { top:var(--drawing-gutter); bottom:var(--drawing-gutter); width:var(--drawing-gutter); flex-direction:column; }
.quote-upload-zone--left { left:0; }
.quote-upload-zone--right { right:0; }
.quote-upload-zone--left span + span,.quote-upload-zone--right span + span { border-top:1px solid var(--drawing-line); }
.quote-upload-cross { position:absolute; width:12px; height:12px; }
.quote-upload-cross::before,.quote-upload-cross::after { content:''; position:absolute; background:var(--drawing-line-strong); }
.quote-upload-cross::before { left:50%; width:1px; height:100%; }
.quote-upload-cross::after { top:50%; height:1px; width:100%; }
.quote-upload-cross--tl { top:calc(var(--drawing-gutter) - 6px); left:calc(var(--drawing-gutter) - 6px); }
.quote-upload-cross--tr { top:calc(var(--drawing-gutter) - 6px); right:calc(var(--drawing-gutter) - 6px); }
.quote-upload-cross--bl { bottom:calc(var(--drawing-gutter) - 6px); left:calc(var(--drawing-gutter) - 6px); }
.quote-upload-cross--br { bottom:calc(var(--drawing-gutter) - 6px); right:calc(var(--drawing-gutter) - 6px); }
.quote-upload-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 24px; border-bottom:1px solid var(--drawing-line); color:#b3b3b3; font-family:'Share Tech Mono',monospace; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
.quote-upload-drop { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:36px 24px 32px; min-height:360px; position:relative; isolation:isolate; transition:background .18s,box-shadow .18s; }
.quote-upload-drop::before { content:''; position:absolute; inset:0; z-index:-1; pointer-events:none; background-image:radial-gradient(rgba(255,255,255,.17) 1.2px,transparent 1.2px); background-size:24px 24px; background-position:center; -webkit-mask-image:radial-gradient(ellipse at center,#000 35%,transparent 100%); mask-image:radial-gradient(ellipse at center,#000 35%,transparent 100%); }
.quote-upload-drop.is-dragging { background:#1b242d; box-shadow:inset 0 0 0 1px #c0daff; }
.quote-upload-formats { width:264px; max-width:100%; margin-bottom:24px; pointer-events:none; }
.quote-upload-formats img { display:block; width:100%; height:auto; }
#process .quote-upload h3 { color:#fff; font-size:clamp(24px,2.6vw,34px); font-weight:500; letter-spacing:-.035em; line-height:1.2; margin:0 0 10px; }
.quote-upload-prompt { color:#b3b3b3; font-size:14px; line-height:1.6; }
.quote-upload-browse { display:inline-flex; position:relative; margin:22px 0 18px; cursor:pointer; text-decoration:none; }
.quote-upload-browse > span { display:flex; align-items:center; justify-content:space-between; gap:36px; min-width:180px; padding:15px 24px; color:#101923; background:#edf3fa; font-size:13px; font-weight:500; transition:background .18s; }
.quote-upload-browse:hover > span { background:#cce1fc; }
.quote-upload-browse:focus-within { outline:2px solid #b2d3ff; outline-offset:5px; }
.quote-upload-limits { display:flex; flex-wrap:wrap; justify-content:center; column-gap:12px; color:#999; font-size:10px; line-height:1.8; }
.quote-upload-limits > span { white-space:nowrap; }
.quote-upload button { border:0; cursor:pointer; }
.quote-upload button:focus-visible,.quote-upload a:focus-visible,.process-prep-link:focus-visible { outline:2px solid #b2d3ff; outline-offset:4px; }
.quote-upload-status { color:#bed5f3; font-size:12px; line-height:1.6; padding:0 22px; }
.quote-upload-status:empty { display:none; }
.quote-upload-status:not(:empty) { margin-bottom:16px; }
.quote-upload-error { margin:0 20px 20px; padding:12px 14px; color:#ffd3cc; background:#452b2b; border-left:2px solid #e79c8e; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.quote-upload-foot { display:flex; align-items:stretch; justify-content:space-between; gap:0; border-top:1px solid var(--drawing-line); }
.quote-upload-foot p,.quote-upload-noscript { color:#9daec2; font-size:11px; line-height:1.65; }
.quote-upload-foot > p { flex:1 1 260px; align-self:center; padding:18px 24px; margin:0; }
.quote-upload .quote-upload-video-link { display:grid; grid-template-columns:52px minmax(0,1fr) 52px; align-items:center; flex-shrink:0; width:304px; max-width:100%; min-height:72px; margin-left:auto; padding:0; position:relative; border-left:1px solid var(--drawing-line); background:transparent; color:#e5edf5; text-align:left; transition:background .18s; }
.quote-upload-video-link::after { content:''; position:absolute; top:-1px; right:-1px; width:8px; height:8px; border-top:1px solid #d6e4f4; border-right:1px solid #d6e4f4; pointer-events:none; }
.quote-upload-video-link:hover { background:#ffffff08; }
.quote-upload .quote-upload-video-link:focus-visible { outline-offset:-4px; }
.quote-upload-video-ref { display:flex; height:100%; flex-direction:column; align-items:center; justify-content:center; gap:5px; border-right:1px solid var(--drawing-line); font-family:'Share Tech Mono',monospace; }
.quote-upload-video-ref > span { font-size:8px; text-transform:uppercase; letter-spacing:.08em; color:#9daec2; }
.quote-upload-video-ref strong { font-size:20px; font-weight:400; line-height:1; }
.quote-upload-video-label { display:flex; flex-direction:column; gap:6px; padding:12px 14px; }
.quote-upload-video-label > :first-child { font-family:'Share Tech Mono',monospace; color:#9daec2; font-size:9px; letter-spacing:.04em; text-transform:uppercase; }
.quote-upload-video-label > :last-child { font-size:13px; font-weight:500; line-height:1.3; }
.quote-upload-video-symbol,.quote-video-placeholder svg { stroke:currentColor; stroke-width:1; }
.quote-video-centerlines { opacity:.4; stroke-dasharray:3 2; }
body.quote-video-open { overflow:hidden; }
dialog.quote-upload-video { position:fixed; inset:0; width:min(880px,calc(100vw - 32px)); max-width:none; max-height:calc(100dvh - 32px); padding:14px; margin:auto; border:1px solid #ffffff55; background:#0b0e11; color:#e5edf5; overflow:auto; overscroll-behavior:contain; }
.quote-upload-video::backdrop { background:rgba(0,0,0,.82); backdrop-filter:blur(5px); }
.quote-upload-video [hidden] { display:none !important; }
.quote-video-sheet { border:1px solid #ffffff40; }
.quote-video-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; border-bottom:1px solid #ffffff40; }
.quote-video-kicker { margin:0 0 10px; font-family:'Share Tech Mono',monospace; font-size:10px; letter-spacing:.08em; color:#9daec2; text-transform:uppercase; }
.quote-video-header h2 { margin:0; color:#fff; font-size:24px; font-weight:500; line-height:1.1; letter-spacing:-.04em; text-transform:uppercase; }
.quote-video-close { flex-shrink:0; width:44px; height:44px; padding:0; border:1px solid #ffffff40; background:transparent; color:#e5edf5; font-size:28px; line-height:1; cursor:pointer; }
.quote-video-close:hover { background:#ffffff10; }
.quote-video-close:focus-visible { outline:2px solid #b2d3ff; outline-offset:4px; }
.quote-video-screen { position:relative; aspect-ratio:16/9; background-color:#080a0d; background-image:linear-gradient(#ffffff07 1px,transparent 1px),linear-gradient(90deg,#ffffff07 1px,transparent 1px); background-size:24px 24px; }
.quote-video-player,.quote-video-player iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.quote-video-placeholder { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:20px; text-align:center; }
.quote-video-placeholder svg { flex-shrink:0; color:#8fabc7; }
.quote-video-placeholder p { margin:0; color:#becbd8; font-size:15px; line-height:1.5; }
.quote-video-caption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; border-top:1px solid #ffffff40; padding:12px 20px; color:#9daec2; font-family:'Share Tech Mono',monospace; font-size:9px; letter-spacing:.06em; text-transform:uppercase; }
.quote-upload-noscript { padding:0 22px 18px; }
.quote-upload[data-busy="true"] .quote-upload-browse { opacity:.5; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--border);
  list-style: none;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.014);
  backdrop-filter: blur(2px);
}

/* The travelling beam. One pass every 9s, left to right. */
.process-steps::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: linear-gradient(90deg,
    transparent,
    rgba(59, 130, 246, 0.10) 38%,
    rgba(150, 200, 255, 0.20) 50%,
    rgba(59, 130, 246, 0.10) 62%,
    transparent);
  filter: blur(8px);
  pointer-events: none;
  z-index: 2;
  animation: process-beam 9s linear infinite;
}

@keyframes process-beam {
  0%   { transform: translateX(-110%); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(400%); opacity: 0; }
}

.process-step {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 24px 22px;
  border-right: 1px solid var(--border);
  position: relative;
  isolation: isolate;
  transition: background 0.35s ease;
}

.process-step:last-child {
  border-right: none;
}

/* Glow that fires as the beam reaches each step. */
.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(125% 85% at 50% 0%, var(--accent-glow), transparent 62%);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  animation: process-step-glow 9s ease-in-out infinite;
  animation-delay: calc(var(--step) * 0.78s);
}

@keyframes process-step-glow {
  0%, 4%   { opacity: 0; }
  9%       { opacity: 0.5; }
  15%      { opacity: 0.28; }
  26%, 100% { opacity: 0; }
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.028);
}

.process-step-num {
  font-family: 'Share Tech Mono', monospace;
  font-size: 30px;
  flex-shrink: 0;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.719);
  line-height: 1;
  animation: process-num 9s ease-in-out infinite;
  animation-delay: calc(var(--step) * 0.78s);
}

@keyframes process-num {
  0%, 4%, 26%, 100% { color: rgba(255, 255, 255, 0.72); text-shadow: none; }
  9%, 15% { color: #fff; text-shadow: 0 0 22px rgba(120, 180, 255, 0.85), 0 0 48px rgba(59, 130, 246, 0.4); }
}

.process-step:hover .process-step-num {
  color: #fff;
  text-shadow: 0 0 22px rgba(120, 180, 255, 0.7);
}

.process-step-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .process-steps::after,
  .process-step::before,
  .process-step-num {
    animation: none;
  }
  .process-steps::after { opacity: 0; }
}


@media(max-width:900px) {
  .process-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .process-step { border-bottom:1px solid var(--border); }
  .process-step:nth-child(even) { border-right:0; }
  .process-step:nth-last-child(-n + 2) { border-bottom:0; }
}
@media(max-width:1000px) {
  #process .process-start { gap:32px; }
  #process .process-intro { grid-template-columns:minmax(0,1fr) minmax(0,.8fr); gap:24px; }
  .process-intro-copy { font-size:14px; }
  .quote-upload-foot { flex-wrap:wrap; }
}
@media(max-width:760px) {
  #process .section-inner { padding-left:24px; padding-right:24px; }
  #process .process-intro { grid-template-columns:minmax(0,1fr); gap:20px; }
  .process-intro-details { justify-self:start; padding:0; }
  #process .process-intro .section-title { font-size:clamp(32px,8vw,52px); }
  #process .process-steps { margin-top:24px; }
  .process-prep-link { margin-top:18px; }
  .quote-upload { --drawing-gutter:14px; }
  .quote-upload-zone { font-size:7px; }
  .quote-upload-drop { padding:28px 14px 24px; min-height:320px; }
  .quote-upload-bar { padding:14px 12px; font-size:9px; flex-wrap:wrap; gap:8px 12px; }
  .quote-upload-formats { width:222px; }
  .quote-upload-foot > p { padding:16px; }
  .quote-upload .quote-upload-video-link { border-top:1px solid var(--drawing-line); }
  dialog.quote-upload-video { padding:8px; }
  .quote-video-header { padding:16px; gap:12px; }
  .quote-video-kicker { font-size:9px; line-height:1.5; }
  .quote-video-header h2 { font-size:20px; }
  .quote-video-placeholder { gap:12px; padding:14px; }
  .quote-video-placeholder svg { width:40px; height:40px; }
  .quote-video-placeholder p { font-size:13px; }
  .quote-video-caption { padding:12px 14px; font-size:8px; }
  .quote-upload-limits { max-width:260px; }
}
@media(max-width:560px) {
  #process .process-steps { grid-template-columns:minmax(0,1fr); }
  #process .process-step { padding:16px 18px; border-right:0; border-bottom:1px solid var(--border); }
  #process .process-step:last-child { border-bottom:0; }
}
@media(prefers-reduced-motion:reduce) { .quote-upload * { transition:none !important; } }
