/* Responsive refinement and restrained motion, layered over the original RCS theme. */
:root { --steel: #a7b2ba; }
html { scroll-padding-top: 100px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: rgba(255, 120, 23, 0.2); }
:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 5px; }
.hero-layout > *, .page-hero-layout > *, .contact-layout > *, .form-row > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; }
.eyebrow { font-size: 0.8rem; }
.brand small { font-size: 0.75rem; }
.main-navigation > a { display: inline-flex; min-height: 44px; align-items: center; }
.nav-toggle { height: 46px; flex-shrink: 0; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle i { transition: transform 180ms ease, opacity 180ms ease; }
.hero { min-height: 0; }
.hero-layout { min-height: 710px; padding: 80px 0 110px; gap: 40px; grid-template-columns: 1.15fr 0.85fr; }
.hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.06; }
.hero h1 span { margin-top: 20px; color: #c3cdd4; font-size: 0.55em; line-height: 1.2; -webkit-text-stroke: 0; }
.hero-summary { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.7; }
.brand-art { position: relative; isolation: isolate; padding: 1.5rem; }
.brand-art::before { position: absolute; z-index: -1; inset: 0; content: ""; background: radial-gradient(ellipse at center, rgba(255,120,23,0.12), transparent 67%); pointer-events: none; }
.brand-art img { width: min(100%, 460px); }
.service-strip { position: relative; }
.service-strip .container { flex-wrap: wrap; justify-content: space-between; gap: 16px 22px; padding-block: 22px; overflow: visible; }
.service-strip span { font-size: 0.75rem; white-space: normal; }
.service-strip span::before { margin-right: 12px; }
.service-card { transition: transform 220ms ease; }
.service-card::before { position: absolute; inset: 0; content: ""; border: 1px solid var(--orange); opacity: 0; pointer-events: none; transition: opacity 220ms ease; }
.service-card p { font-size: 1rem; }
.service-card li { font-size: 0.92rem; }
.service-card .text-link { position: relative; z-index: 1; }
.card-number { color: #94a2ac; font-size: 0.78rem; }
.value-grid span, .location-panel > span, .location-panel > small { font-size: 0.78rem; }
.value-grid p, .site-footer p { font-size: 0.95rem; }
.value-grid strong { overflow-wrap: anywhere; }
.page-hero h1 { font-size: clamp(2.5rem, 4.5vw, 4.1rem); }
.contact-form label { font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-width: 0; font-size: 1rem; }
.contact-form textarea { resize: vertical; }
.form-footer { flex-wrap: wrap; }
.form-footer p { font-size: 0.9rem; flex: 1 1 200px; }
.form-footer .button { flex-shrink: 0; }
.form-status { margin: 18px 0 0; font-size: 0.9rem; color: var(--muted); }
.form-status:empty { display: none; }
.button:disabled { cursor: not-allowed; opacity: 0.5; }
.text-button, .email-button, .text-link { min-height: 44px; }
.text-link { display: inline-flex; align-items: center; }
.email-result a, .contact-value { overflow-wrap: anywhere; }
.footer-bottom { gap: 16px; font-size: 0.85rem; }
.site-footer a[href^="tel:"], .site-footer .text-button { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer noscript { display: block; color: var(--muted); font-size: 0.9rem; }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover { transform: translateY(-4px); z-index: 1; }
  .service-card:hover::before { opacity: 0.65; }
  .button { transition: transform 180ms ease, background-color 180ms ease; }
  .button:hover { transform: translateY(-2px); }
}
@media (max-width: 980px) {
  /* Accessible fallback: links remain visible if JavaScript is unavailable. */
  .header-inner { flex-wrap: wrap; gap: 0 20px; padding-block: 12px; }
  .nav-toggle { display: none; }
  .main-navigation { position: static; display: flex; width: 100%; margin-top: 12px; padding: 8px 0; gap: 4px; border: 0; box-shadow: none; }
  .nav-ready .header-inner { flex-wrap: nowrap; padding-block: 0; }
  .nav-ready .nav-toggle { display: block; }
  .nav-ready .main-navigation { position: absolute; top: 100%; right: 20px; left: 20px; display: none; width: auto; margin: 0; padding: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); max-height: calc(100dvh - 90px); overflow-y: auto; }
  .nav-ready .main-navigation.open { display: flex; }
  .main-navigation > a:not(.button) { padding-inline: 12px; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; padding: 65px 0 50px; gap: 30px; }
  .hero-copy { max-width: 760px; }
  .hero h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); }
  .brand-art { max-width: 420px; width: 100%; margin-inline: auto; padding: 12px 30px; }
  .page-hero-layout { padding: 60px 0; gap: 35px; }
  .section-heading, .why-layout, .about-layout { gap: 35px; }
  .callout { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 36px), var(--container)); }
  .hero-layout { padding: 50px 0 35px; gap: 30px; }
  .hero h1 { font-size: clamp(2.3rem, 9.6vw, 3.9rem); }
  .hero h1 span { font-size: 0.58em; margin-top: 18px; }
  .hero-summary { margin-top: 24px; }
  .hero-buttons { margin-top: 28px; }
  .feature-list { display: flex; gap: 10px 18px; }
  .feature-list li { font-size: 0.82rem; }
  .brand-art { max-width: 300px; padding: 15px; }
  .service-strip .container { justify-content: flex-start; gap: 14px 20px; }
  .service-strip span { font-size: 0.7rem; letter-spacing: 0.08em; }
  .section { padding: 65px 0; }
  h2 { font-size: clamp(1.9rem, 7.3vw, 2.9rem); }
  .service-card { padding: 28px 24px; }
  .service-icon { margin-bottom: 24px; }
  .page-hero h1 { font-size: clamp(2.2rem, 8.8vw, 3.5rem); }
  .location-panel { padding: 26px; min-height: 250px; }
  .contact-form { padding: 24px 20px; }
  .form-footer p { flex-basis: auto; }
  .nav-ready .main-navigation { right: 18px; left: 18px; }
  .callout { padding: 30px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .service-card:hover, .button:hover { transform: none; }
}
@media print {
  .nav-toggle, .hero-buttons, .contact-form, .service-strip { display: none; }
  .site-header { position: static; }
  body, .service-card, .info-card, .dark-section, .profile-panel { color: #111; background: white; }
  h1, h2, h3, p, .hero h1 span, .service-card li { color: #111; }
  .hero-layout, .page-hero-layout { min-height: 0; padding-block: 24px; }
  .section { padding-block: 24px; }
  .service-card { break-inside: avoid; }
}
