/* =====================================================================
   SHARED PAGE STYLES
   Used by Schedule, Remote Services, Contact, and TRP pages.
   Loaded via <link> in each standalone-page HTML file.
   ===================================================================== */

/* ----- Site chrome shared with index-v2.html ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { background: var(--paper); color: var(--ink); font-size: 16px; overflow-x: hidden; max-width: 100vw; }

.utility-bar { background: var(--ink); color: var(--bone); padding: 8px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.ticker {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  padding-left: 48px;
  width: max-content;
  /* iOS WebKit fix: GPU-accelerated translate so subpixel rounding can't drift items together */
  -webkit-animation: scroll 50s linear infinite;
          animation: scroll 50s linear infinite;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
}
.utility-bar:hover .ticker { -webkit-animation-play-state: paused; animation-play-state: paused; }
/* iOS WebKit fix: every flex child must refuse to shrink, otherwise WebKit compresses inline-flex spans inside a flex track */
.ticker > span {
  color: var(--steel-light);
  display: inline-flex;
  gap: 6px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.ticker em { color: var(--signal); font-style: normal; font-weight: 600; }
@-webkit-keyframes scroll {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes scroll {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .utility-bar { overflow: visible; }
  .ticker { -webkit-animation: none; animation: none; -webkit-transform: none; transform: none; white-space: normal; flex-wrap: wrap; padding: 0 20px; gap: 12px 24px; width: 100%; justify-content: center; }
}

.nav { background: var(--ink); color: var(--bone); padding: 14px 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); position: sticky; top: 0; z-index: 100; }
.logo { display: flex; align-items: center; text-decoration: none; transition: opacity 0.2s; }
.logo:hover { opacity: 0.85; }
.logo-img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; gap: 32px; font-size: 13px; font-weight: 500; }
.nav-cta { background: var(--signal); color: var(--bone); padding: 10px 20px; font-family: var(--font-display); font-weight: 700; font-size: 12px; text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; border: none; cursor: pointer; transition: background .2s; }
.nav-cta:hover { background: var(--signal-deep); }

/* ----- Nav dropdowns ----- */
.nav-links a.nav-direct, .nav-folder-btn { background: transparent; border: none; color: var(--bone); text-decoration: none; font-family: inherit; font-size: 13px; font-weight: 500; opacity: 0.85; letter-spacing: 0.02em; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, opacity .2s; }
.nav-direct:hover, .nav-folder-btn:hover { opacity: 1; color: var(--signal); }
.nav-folder { position: relative; }
.nav-folder-caret { font-size: 9px; opacity: 0.7; transition: transform .2s; }
.nav-folder.open .nav-folder-caret { transform: rotate(180deg); color: var(--signal); opacity: 1; }
.nav-folder.open .nav-folder-btn { color: var(--signal); opacity: 1; }
/* Dropdown is closed by default — only revealed when JS adds .open to the parent .nav-folder.
   Uses opacity+visibility (not display) so we get a smooth transition without breaking layout. */
.nav-dropdown { position: absolute; top: calc(100% + 16px); left: -16px; background: var(--ink-2); border: 1px solid var(--line-dark); border-top: 3px solid var(--signal); min-width: 280px; padding: 8px 0; z-index: 200; box-shadow: 0 16px 40px rgba(0,0,0,0.4); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-4px); transition: opacity .18s ease, visibility .18s, transform .18s ease; }
/* Invisible hover bridge — fills the 16px visual gap above the dropdown so the
   cursor doesn't cross an unhovered region when moving from button to submenu. */
.nav-dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-folder.open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-link { display: block; padding: 12px 22px; color: var(--bone); text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; transition: background .15s, color .15s; border-left: 2px solid transparent; }
.nav-dropdown-link:hover { background: rgba(214,40,40,0.08); color: var(--signal); border-left-color: var(--signal); }

/* ----- HERO + FORM (reused from TRP page) ----- */
.trp-hero { background: var(--ink); color: var(--bone); padding: 100px 48px 80px; position: relative; overflow: hidden; }
.trp-hero-grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,242,236,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(245,242,236,.03) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.trp-hero::after { content: ""; position: absolute; top: 20%; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(214,40,40,.18) 0%, transparent 60%); pointer-events: none; }
.trp-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.trp-hero-eyebrow { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.22em; font-weight: 700; margin-bottom: 28px; }
.trp-hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 7vw, 88px); line-height: 0.96; letter-spacing: -0.035em; margin-bottom: 32px; }
.trp-hero-title .accent { color: var(--signal); }
.trp-hero-title .outline { -webkit-text-stroke: 1.5px var(--bone); color: transparent; font-style: italic; }
.trp-hero-sub { font-size: 17px; line-height: 1.6; color: var(--steel-light); max-width: 720px; }

.trp-form-section { background: var(--paper); padding: 80px 48px 100px; }
.trp-form-inner { max-width: 760px; margin: 0 auto; }
.trp-form-section-header { padding-bottom: 18px; border-bottom: 3px solid var(--signal); margin-bottom: 28px; margin-top: 0; }
.trp-form-section-header:not(:first-child) { margin-top: 12px; }
.trp-form-section-num { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.18em; font-weight: 700; margin-bottom: 8px; }
.trp-form-section-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.trp-form { display: flex; flex-direction: column; gap: 24px; }
.trp-field { display: flex; flex-direction: column; gap: 6px; }
/* HTML [hidden] attribute must override .trp-field's display: flex */
.trp-field[hidden] { display: none !important; }
.trp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trp-field-group { display: flex; flex-direction: column; gap: 10px; }
.trp-divider { border: none; border-top: 1px solid var(--line); margin: 16px 0; }
.trp-label { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: 0.01em; display: inline-flex; gap: 6px; align-items: baseline; }
.trp-label .req { font-family: var(--font-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.04em; font-weight: 500; text-transform: lowercase; }
.trp-sublabel { font-family: var(--font-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; display: inline-flex; gap: 6px; align-items: baseline; }
.trp-sublabel .req-small { font-size: 10px; color: var(--steel); letter-spacing: 0.04em; text-transform: lowercase; font-weight: 500; }
.trp-help { font-family: var(--font-body); font-size: 13px; color: var(--steel); line-height: 1.5; margin-top: -2px; }

.trp-form input[type=text],
.trp-form input[type=email],
.trp-form input[type=tel],
.trp-form select,
.trp-form textarea {
  font-family: var(--font-body);
  font-size: 15px; color: var(--ink); background: var(--bone);
  border: 1px solid var(--line); padding: 14px 16px;
  width: 100%; line-height: 1.4;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.trp-form textarea { resize: vertical; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em; }
.trp-form input:focus, .trp-form select:focus, .trp-form textarea:focus { outline: none; border-color: var(--signal); background: var(--paper); box-shadow: 0 0 0 3px rgba(214,40,40,0.12); }
.trp-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23D62828' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; cursor: pointer; }

.trp-submit-row { padding-top: 16px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.trp-submit { background: var(--signal); color: var(--bone); padding: 18px 36px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: background .2s, transform .2s; }
.trp-submit:hover:not(:disabled) { background: var(--signal-deep); transform: translateX(2px); }
.trp-submit:disabled { opacity: 0.6; cursor: wait; }
.trp-submit-note { font-family: var(--font-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.04em; line-height: 1.5; max-width: 600px; }

.trp-success { padding: 60px 48px; background: var(--ink); color: var(--bone); border-left: 4px solid var(--signal); text-align: left; }
.trp-success-label { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.18em; font-weight: 700; margin-bottom: 18px; }
.trp-success-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 24px; }
.trp-success-copy { font-size: 15px; line-height: 1.6; color: var(--steel-light); margin-bottom: 16px; max-width: 640px; }
.trp-success-link { background: none; border: none; color: var(--signal); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; padding: 0; border-bottom: 1px solid var(--signal); transition: opacity .2s; }
.trp-success-link:hover { opacity: 0.85; }

/* Segmented control for "Are you a..." radio group on Schedule page */
.seg-control { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 4px; }
.seg-control-opt { cursor: pointer; padding: 14px 12px; border: 1px solid var(--line); background: var(--bone); text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); transition: border-color .15s, background .15s, color .15s; font-weight: 600; }
.seg-control-opt:hover { border-color: var(--ink); }
.seg-control-opt.active { border-color: var(--signal); background: var(--signal-soft); color: var(--signal); }
.seg-control-opt input { position: absolute; opacity: 0; pointer-events: none; }

/* ----- REMOTE SERVICES PAGE ----- */
.rs-methods { background: var(--paper); padding: 100px 48px; border-bottom: 1px solid var(--line); }
.rs-stack { background: var(--bone); padding: 100px 48px; border-bottom: 1px solid var(--line); }
.rs-inner { max-width: 1200px; margin: 0 auto; }
.rs-section-label { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.22em; font-weight: 700; margin-bottom: 22px; }
.rs-section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 1.0; letter-spacing: -0.025em; margin-bottom: 18px; color: var(--ink); }
.rs-section-sub { font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 720px; margin-bottom: 56px; }

.rs-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.rs-method-card { background: var(--bone); border: 1px solid var(--line); border-top: 4px solid var(--signal); padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 18px; }
.rs-method-num { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.18em; font-weight: 700; }
.rs-method-title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); }
.rs-method-desc { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.rs-method-bullets { padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-direction: column; gap: 12px; }
.rs-method-bullets div { font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.rs-method-bullets strong { color: var(--ink); font-weight: 700; }

.rs-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 32px; }
.rs-stack-card { background: var(--paper); border: 1px solid var(--line); padding: 18px 20px; }
.rs-stack-oem { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); letter-spacing: -0.005em; margin-bottom: 6px; }
.rs-stack-tool { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.08em; font-weight: 600; }
.rs-stack-foot { font-family: var(--font-mono); font-size: 13px; color: var(--steel); letter-spacing: 0.04em; text-align: center; padding-top: 16px; border-top: 1px solid var(--line); }
.rs-stack-foot a { color: var(--signal); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--signal); }

.rs-cta { background: var(--signal); color: var(--bone); padding: 100px 48px; text-align: center; }
.rs-cta-inner { max-width: 760px; margin: 0 auto; }
.rs-cta-eyebrow { font-family: var(--font-mono); font-size: 11px; color: rgba(245,242,236,0.85); letter-spacing: 0.22em; font-weight: 700; margin-bottom: 18px; }
.rs-cta-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 4.5vw, 60px); line-height: 1.0; letter-spacing: -0.025em; margin-bottom: 20px; }
.rs-cta-title em { font-style: italic; }
.rs-cta-copy { font-size: 17px; line-height: 1.55; opacity: 0.92; margin-bottom: 36px; }
.rs-cta-actions { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.rs-cta-phone { background: var(--ink); color: var(--bone); padding: 18px 32px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; transition: background .2s; }
.rs-cta-phone:hover { background: var(--ink-2); }
.rs-cta-link { color: var(--bone); font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; text-decoration: none; border-bottom: 1px solid rgba(245,242,236,0.5); padding-bottom: 4px; }
.rs-cta-link:hover { border-bottom-color: var(--bone); }

/* ----- CONTACT PAGE ----- */
.contact-grid-section { background: var(--paper); padding: 80px 48px 100px; }
.contact-inner { max-width: 1200px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.contact-card { background: var(--bone); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: border-color .25s; }
.contact-card:hover { border-color: var(--ink); }
.contact-card-phone { border-top: 4px solid var(--signal); }
.contact-card-label { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.18em; font-weight: 700; }
.contact-card-phone-num { font-family: var(--font-display); font-weight: 900; font-size: 36px; letter-spacing: -0.025em; color: var(--ink); text-decoration: none; transition: color .2s; }
.contact-card-phone-num:hover { color: var(--signal); }
.contact-card-address { font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 1.4; color: var(--ink); }
.contact-card-address strong { font-weight: 800; }
.contact-card-sub { font-family: var(--font-body); font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.contact-card-action { font-family: var(--font-mono); font-size: 12px; color: var(--signal); letter-spacing: 0.06em; font-weight: 700; text-decoration: none; padding: 12px 0; border-top: 1px dashed var(--line); }
.contact-card-action:hover { color: var(--signal-deep); }

.contact-card-rating { display: flex; align-items: baseline; gap: 12px; }
.rating-stars { color: var(--signal); font-size: 22px; letter-spacing: 0.06em; }
.rating-score { font-family: var(--font-display); font-weight: 900; font-size: 32px; color: var(--ink); letter-spacing: -0.025em; }
.rating-count { font-family: var(--font-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.08em; }

.contact-map-wrap { border: 1px solid var(--line); margin-bottom: 56px; }
.contact-map-wrap iframe { display: block; filter: saturate(0.85) contrast(1.05); }

.contact-tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-track { background: var(--ink); color: var(--bone); padding: 28px 32px; border-left: 4px solid var(--signal); }
.contact-track-label { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.18em; font-weight: 700; margin-bottom: 12px; }
.contact-track p { font-size: 14px; line-height: 1.6; color: var(--steel-light); }
.contact-track strong { color: var(--bone); font-weight: 700; }

/* ----- LEGAL + FAQ PAGES ----- */
.legal-section { background: var(--paper); padding: 80px 48px 100px; }
.legal-inner { max-width: 800px; margin: 0 auto; }
.legal-hero-title { font-size: clamp(48px, 6vw, 80px); }
.legal-lead { font-size: 17px; line-height: 1.65; color: var(--ink-3); margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-section h2.legal-h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); margin: 36px 0 14px; padding-top: 8px; }
.legal-section p { font-size: 15px; line-height: 1.7; color: var(--ink-3); margin-bottom: 14px; }
.legal-section p strong { color: var(--ink); font-weight: 700; }
.legal-list { list-style: none; margin: 14px 0 18px; padding: 0; }
.legal-list li { padding: 8px 0 8px 22px; position: relative; font-size: 15px; line-height: 1.65; color: var(--ink-3); }
.legal-list li::before { content: "▸"; position: absolute; left: 0; top: 8px; color: var(--signal); font-family: var(--font-mono); font-weight: 600; font-size: 12px; }
.legal-list strong { color: var(--ink); font-weight: 700; }
.legal-link { color: var(--signal); text-decoration: none; border-bottom: 1px solid var(--signal); font-weight: 700; }
.legal-link:hover { color: var(--signal-deep); border-bottom-color: var(--signal-deep); }

/* Glossary inline links — subtle dotted underline so technical terms
   are visibly hyperlinked without overwhelming the surrounding copy. */
.g-link { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; padding-bottom: 1px; transition: color .15s, border-bottom-color .15s, border-bottom-style .15s; }
.g-link:hover { color: var(--signal); border-bottom-color: var(--signal); border-bottom-style: solid; }
.legal-note { margin-top: 48px; padding: 22px 28px; background: var(--bone); border-left: 4px solid var(--signal); }
.legal-note-label { font-family: var(--font-mono); font-size: 11px; color: var(--signal); letter-spacing: 0.16em; font-weight: 700; margin-bottom: 8px; }
.legal-note p { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0; }

.faq-section { background: var(--paper); padding: 60px 48px 100px; }
.faq-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bone); border: 1px solid var(--line); transition: border-color .2s; }
.faq-item.open { border-color: var(--ink); }
.faq-q { width: 100%; background: transparent; border: none; padding: 20px 24px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px; font-family: inherit; }
.faq-q:hover { background: rgba(214,40,40,0.04); }
.faq-audience { font-family: var(--font-mono); font-size: 10px; color: var(--signal); letter-spacing: 0.14em; font-weight: 700; }
.faq-q-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.faq-q-text { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.35; letter-spacing: -0.005em; color: var(--ink); }
.faq-q-caret { font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--signal); line-height: 1; flex-shrink: 0; }
.faq-a { padding: 0 24px 22px; }
.faq-a p { font-size: 15px; line-height: 1.65; color: var(--ink-3); margin: 0; padding-top: 14px; border-top: 1px dashed var(--line); }

/* ----- FOOTER ----- */
footer { background: var(--ink); color: var(--bone); padding: 80px 48px 32px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { margin-bottom: 20px; display: block; }
.footer-logo-img { height: 140px; width: auto; display: block; }
.footer-tagline { color: var(--steel-light); font-size: 14px; line-height: 1.55; max-width: 320px; margin-bottom: 24px; }
.footer-contact { font-family: var(--font-mono); font-size: 13px; line-height: 1.6; display: flex; flex-direction: column; gap: 18px; }
.footer-contact a { color: var(--bone); text-decoration: none; }
.footer-phone { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; transition: color .2s; }
.footer-phone:hover { color: var(--signal); }
.footer-location { display: inline-flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-dark); transition: border-color .25s, background .25s; align-self: flex-start; }
.footer-location:hover { border-color: var(--signal); background: rgba(214,40,40,.05); }
.footer-location .loc-label { font-family: var(--font-mono); font-size: 10px; color: var(--signal); letter-spacing: 0.14em; font-weight: 600; }
.footer-location .loc-city { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--bone); letter-spacing: -0.01em; }
.footer-location .loc-hint { font-family: var(--font-mono); font-size: 11px; color: var(--steel-light); letter-spacing: 0.04em; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--steel-light); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--bone); }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.05em; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-tracks { grid-template-columns: 1fr; }
  .rs-method-grid { grid-template-columns: 1fr; }
  .rs-stack-grid { grid-template-columns: 1fr 1fr; }
  .seg-control { grid-template-columns: 1fr 1fr; }
  .trp-field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Phone breakpoint for all standalone pages */
@media (max-width: 720px) {
  /* Nav */
  .nav { padding: 12px 18px; flex-wrap: wrap; gap: 12px; }
  .nav-links { display: none; }
  .logo-img { height: 40px; }
  .nav-cta { padding: 8px 14px; font-size: 11px; }

  /* Hero scales */
  .trp-hero { padding: 56px 20px 48px; }
  .trp-hero-title { font-size: clamp(36px, 10vw, 56px); }
  .trp-hero-sub { font-size: 15px; }

  /* Forms */
  .trp-form-section { padding: 48px 20px 64px; }
  .trp-form-section-title { font-size: 22px; }

  /* Remote services */
  .rs-methods, .rs-stack { padding: 60px 20px; }
  .rs-section-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 14px; }
  .rs-cta { padding: 60px 20px; }
  .rs-cta-title { font-size: clamp(28px, 8vw, 40px); }
  .rs-cta-actions { flex-direction: column; gap: 16px; }
  .rs-cta-phone { font-size: 18px; padding: 14px 24px; width: 100%; text-align: center; }

  /* Contact */
  .contact-grid-section { padding: 60px 20px 80px; }
  .contact-card-phone-num { font-size: 28px; }
  .contact-map-wrap iframe { height: 320px; }

  /* Legal */
  .legal-section { padding: 56px 20px 80px; }
  .legal-section h2.legal-h2 { font-size: 20px; }

  /* FAQ */
  .faq-section { padding: 40px 20px 80px; }
  .faq-q { padding: 16px 18px; }
  .faq-q-text { font-size: 15px; }
  .faq-a { padding: 0 18px 18px; }

  /* Footer */
  footer { padding: 56px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-logo-img { height: 100px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-top: 24px; text-align: center; font-size: 10px; }
}


/* =====================================================================
   REMOTE PROGRAMMING — image marquee
   Static markup, doubled track for seamless infinite scroll.
   ===================================================================== */
.rs-marquee-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--signal);
  font-weight: 700;
  text-transform: uppercase;
  max-width: 1200px;
  margin: 64px auto 16px;
  padding: 0 32px;
}
.programming-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  margin: 0 0 64px;
  /* subtle edge mask so tiles fade in/out rather than hard-clip */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}
.programming-marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 16px;
  -webkit-animation: programming-scroll 100s linear infinite;
          animation: programming-scroll 100s linear infinite;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  will-change: transform;
}
.programming-marquee-wrapper:hover .programming-marquee-track {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}
.programming-marquee-item {
  flex: 0 0 auto;
  height: 320px;          /* fixed tile height; width auto-scales to image aspect ratio */
  width: auto;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  background: #1a1a1a;
  position: relative;
  cursor: default;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 24px -16px rgba(0,0,0,0.5);
}
.programming-marquee-item img {
  height: 100%;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  /* no object-fit — natural aspect ratio preserved */
}
@-webkit-keyframes programming-scroll {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes programming-scroll {
  from { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  to   { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

/* Tablet */
@media (max-width: 1024px) {
  .programming-marquee-item { height: 260px; }
  .rs-marquee-label { padding: 0 24px; }
}

/* Mobile */
@media (max-width: 640px) {
  .programming-marquee-item { height: 200px; border-radius: 8px; }
  .programming-marquee-track { gap: 12px; animation-duration: 80s; }
  .programming-marquee-wrapper { margin: 0 0 48px; }
  .rs-marquee-label { margin: 48px auto 14px; padding: 0 20px; }
}

/* Reduced motion: stop animation, allow native horizontal scroll */
@media (prefers-reduced-motion: reduce) {
  .programming-marquee-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .programming-marquee-track {
    animation: none;
    transform: none;
  }
}
