/* ============================================================
   REGAL STAFFING SERVICES — Shared design system
   Palette: maroon / white / gray. Plus Jakarta Sans.
   Used across every page so the look stays identical.
   ============================================================ */

:root {
  --maroon:      #7a1626;
  --maroon-deep: #5e0f1c;
  --maroon-soft: #f7ebed;
  --ink:         #1a1517;
  --gray:        #6b6469;
  --gray-light:  #9a9398;
  --line:        #e8e3e5;
  --line-2:      #f0ecee;
  --canvas:      #ffffff;
  --canvas-2:    #faf8f8;
  --white:       #ffffff;

  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-float: cubic-bezier(0.45, 0, 0.55, 1);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 52px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
html { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--maroon); }
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; margin-top: 14px; }
.section-head p { font-size: clamp(16px, 1.5vw, 18px); color: var(--gray); margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: transform 150ms var(--ease), background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 220ms ease; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--maroon); color: #fff; box-shadow: 0 10px 26px -12px rgba(122,22,38,0.7); }
.btn-primary:hover { background: var(--maroon-deep); box-shadow: 0 16px 34px -12px rgba(122,22,38,0.7); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--maroon); color: var(--maroon); }
.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { background: var(--maroon-soft); }
.btn svg { width: 17px; height: 17px; transition: transform 180ms var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ============================================================
   SITE BANNER (temporary announcement)
   ============================================================ */
.site-banner {
  position: relative; overflow: hidden; text-align: center;
  padding: 16px 48px; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.4; letter-spacing: -0.01em;
  background:
    linear-gradient(90deg, rgba(9,24,68,0.95) 0%, rgba(9,24,68,0.80) 50%, rgba(9,24,68,0.95) 100%),
    repeating-linear-gradient(180deg, #b22234 0 9px, #ffffff 9px 18px);
  border-bottom: 3px solid #b22234;
}
/* Blue star-field canton fading in from the left */
.site-banner::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; z-index: 0; pointer-events: none;
  width: clamp(90px, 24vw, 210px);
  background: radial-gradient(circle, rgba(255,255,255,0.95) 1px, transparent 1.7px) 8px 6px / 22px 18px, #0a1a4a;
  -webkit-mask: linear-gradient(90deg, #000 55%, transparent);
  mask: linear-gradient(90deg, #000 55%, transparent);
}
.site-banner .sb-txt { position: relative; z-index: 1; text-shadow: 0 1px 3px rgba(0,0,0,0.55); }
.sb-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 20px; line-height: 1; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3); cursor: pointer; transition: background 150ms ease; }
.sb-close:hover { background: rgba(255,255,255,0.3); }
@media (max-width: 520px) { .site-banner { font-size: 13.5px; padding: 13px 42px; } .sb-close { right: 8px; width: 26px; height: 26px; } }

/* ============================================================
   TOP BAR + NAV
   ============================================================ */
.topbar { background: var(--maroon-deep); color: rgba(255,255,255,0.92); font-size: 13px; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; flex-wrap: wrap; }
.topbar .left { display: flex; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; opacity: 0.92; transition: opacity 160ms ease; }
.topbar a:hover { opacity: 1; }
.topbar svg { width: 14px; height: 14px; }

header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow 240ms ease; }
header.scrolled { box-shadow: 0 2px 16px -8px rgba(26,21,23,0.22); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 38px; height: 38px; border-radius: 8px; background: var(--maroon); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; }
.brand .logo-img { height: 36px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.brand .name { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; line-height: 1; }
.brand .name span { display: block; font-size: 11px; font-weight: 500; color: var(--gray); letter-spacing: 0.05em; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 36px; }
.nav-links a { font-size: 14.5px; font-weight: 600; padding: 9px 14px; border-radius: 7px; transition: background 160ms ease, color 160ms ease; }
.nav-links a:hover, .nav-links a.active { background: var(--canvas-2); color: var(--maroon); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 20px; font-size: 14px; white-space: nowrap; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

.mobile-menu { position: fixed; inset: 0; top: 0; z-index: 99; background: var(--white); padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 280ms ease, transform 320ms var(--ease), visibility 280ms; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a { font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 22px; justify-content: center; }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section.tint { background: var(--canvas-2); }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.maroon { background: var(--maroon); color: #fff; }
.section.maroon .eyebrow { color: rgba(255,255,255,0.65); }
.section.maroon .section-head h2 { color: #fff; }
.section.maroon .section-head p { color: rgba(255,255,255,0.72); }
.section.maroon .feat-grid { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.12); }
.section.maroon .feat { background: rgba(255,255,255,0.06); }
.section.maroon .feat:hover { background: rgba(255,255,255,0.14); }
.section.maroon .feat:hover .ic { background: rgba(255,255,255,0.3); }
.section.maroon .feat h3 { color: #fff; }
.section.maroon .feat p { color: rgba(255,255,255,0.72); }
.section.maroon .feat .ic { background: rgba(255,255,255,0.14); color: #fff; }
.section.maroon .loc { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: #fff; }
.section.maroon .loc:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.32); box-shadow: 0 18px 36px -24px rgba(0,0,0,0.4); transform: translateY(-3px); }
.section.maroon .loc .city { color: #fff; }
.section.maroon .loc .city svg { color: rgba(255,255,255,0.8); }
.section.maroon .loc .phone { color: rgba(255,255,255,0.9); }
.section.maroon .loc .hours { color: rgba(255,255,255,0.55); border-top-color: rgba(255,255,255,0.14); }

/* ============================================================
   INNER-PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  background:
    radial-gradient(70% 60% at 50% 0%, var(--maroon-soft) 0%, rgba(247,235,237,0) 62%),
    linear-gradient(180deg, var(--canvas-2) 0%, var(--canvas) 80%);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--gray); }
.breadcrumb a:hover { color: var(--maroon); }
.breadcrumb span { color: var(--gray-light); }
.page-hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; margin-top: 16px; max-width: 18ch; }
.page-hero h1 .accent { color: var(--maroon); }
.page-hero .lead { font-size: clamp(16px, 1.7vw, 20px); color: var(--gray); margin-top: 18px; max-width: 620px; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.scroll-hint { display: flex; justify-content: center; height: 0; overflow: visible; position: relative; z-index: 5; pointer-events: none; color: var(--gray-light); opacity: 0.5; animation: scrollHintBounce 2.2s ease-in-out infinite; }
.scroll-hint.hiding { animation: none; opacity: 0; transition: opacity 350ms ease; }
.scroll-hint svg { display: block; position: relative; top: 12px; }
@keyframes scrollHintBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ============================================================
   SUB-NAV (sticky jump links on long pages)
   ============================================================ */
.subnav { position: sticky; top: 71px; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; font-size: 13.5px; font-weight: 600; color: var(--gray); padding: 15px 14px; border-bottom: 2px solid transparent; transition: color 150ms ease, border-color 150ms ease; }
.subnav a:hover { color: var(--maroon); }
.subnav a.active { color: var(--maroon); border-bottom-color: var(--maroon); }

/* offset anchored sections so the sticky bars don't cover headings */
[id] { scroll-margin-top: 130px; }

/* ============================================================
   IMAGE PLACEHOLDER ("no image for now")
   ============================================================ */
.ph { position: relative; display: grid; place-items: center; background: var(--canvas-2); border: 1.5px dashed var(--line); border-radius: 14px; color: var(--gray-light); overflow: hidden; min-height: 220px; }
.ph::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(45deg, rgba(122,22,38,0.018) 25%, transparent 25%, transparent 50%, rgba(122,22,38,0.018) 50%, rgba(122,22,38,0.018) 75%, transparent 75%, transparent); background-size: 22px 22px; pointer-events: none; }
.ph .ph-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 24px; }
.ph .ph-in svg { width: 30px; height: 30px; opacity: 0.7; }
.ph .ph-in span { font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; }
.ph.tall { min-height: 340px; }
.ph.wide { min-height: 280px; }
.svc-img { width: 100%; min-height: 340px; max-height: 460px; object-fit: cover; border-radius: 14px; display: block; }
/* About-page "Our Story" photo: show the full image uncropped at its natural
   aspect ratio — just the rounded corners, no cover-crop / forced height. */
.about-split .svc-img { min-height: 0; max-height: none; height: auto; object-fit: contain; }

/* ============================================================
   FEATURE GRID (the Regal difference) — shared
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 52px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.feat { background: var(--white); padding: 34px 30px; transition: background 200ms ease; }
.feat:hover { background: var(--maroon-soft); }
.feat .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; transition: background 200ms ease, color 200ms ease; }
.feat:hover .ic { background: var(--maroon); color: #fff; }
.feat .ic svg { width: 21px; height: 21px; }
.feat h3 { font-size: 18px; font-weight: 700; margin-top: 20px; letter-spacing: -0.02em; }
.feat p { font-size: 14.5px; color: var(--gray); margin-top: 9px; }

/* ============================================================
   SERVICE DETAIL BLOCKS (services page)
   ============================================================ */
.svc-block { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.svc-block + .svc-block { margin-top: clamp(56px, 7vw, 96px); }
.svc-block.flip .svc-copy { order: 2; }
.svc-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--maroon); background: var(--maroon-soft); padding: 6px 12px; border-radius: 100px; }
.svc-copy h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.025em; margin-top: 16px; line-height: 1.12; }
.svc-copy .sub { font-size: 16px; color: var(--maroon); font-weight: 600; margin-top: 8px; }
.svc-copy > p { font-size: 15.5px; color: var(--gray); margin-top: 14px; }
.svc-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.svc-list li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.svc-list li svg { width: 20px; height: 20px; flex: none; color: var(--maroon); margin-top: 2px; }
.svc-list li b { font-weight: 700; }

/* steps */
.steps { display: grid; gap: 0; margin-top: 22px; }
.step { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step .sn { flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--maroon); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.step h4 { font-size: 16px; font-weight: 700; }
.step p { font-size: 14px; color: var(--gray); margin-top: 3px; }

/* capability cards */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.cap { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 30px; transition: border-color 200ms ease, transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.cap:hover { border-color: var(--maroon); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(122,22,38,0.4); }
.cap .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; }
.cap .ic svg { width: 22px; height: 22px; }
.cap h3 { font-size: 19px; font-weight: 700; margin-top: 18px; letter-spacing: -0.02em; }
.cap .sub { font-size: 13.5px; color: var(--maroon); font-weight: 600; margin-top: 4px; }
.cap p { font-size: 14.5px; color: var(--gray); margin-top: 10px; }
.cap ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.cap ul li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink); }
.cap ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--maroon); }

/* ============================================================
   MODELS (home) — shared
   ============================================================ */
.models { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.model-list { display: grid; }
.model { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.model:last-child { border-bottom: 1px solid var(--line); }
.model:hover { background: var(--maroon-soft); }
.model:hover h4 { color: var(--maroon); }
.model .n { font-size: 14px; font-weight: 800; color: var(--maroon); flex: none; width: 34px; }
.model h4 { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.model p { font-size: 14.5px; color: var(--gray); margin-top: 5px; }

/* ============================================================
   STATS STRIP — shared
   ============================================================ */
.stats-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.stats-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-strip .st { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line-2); }
.stats-strip .st:last-child { border-right: none; }
.stats-strip .num { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; }
.stats-strip .num span { color: var(--maroon); }
.stats-strip .lbl { font-size: 13px; color: var(--gray); font-weight: 500; margin-top: 2px; }

/* ============================================================
   LOCATIONS — shared (home grid + full cards)
   ============================================================ */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.loc { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 26px; transition: border-color 200ms ease, transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.loc:hover { border-color: var(--maroon); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(122,22,38,0.4); }
.loc .city { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.loc .city svg { width: 18px; height: 18px; color: var(--maroon); }
.loc .phone { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--maroon); }
.loc .phone svg { width: 15px; height: 15px; }
.loc .hours { font-size: 13px; color: var(--gray); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }

/* full location cards (locations page) */
.loc-full { display: grid; gap: 22px; margin-top: 44px; }
.loc-card { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr 0.9fr; transition: box-shadow 240ms var(--ease), border-color 200ms ease; }
.loc-card:hover { border-color: var(--maroon); box-shadow: 0 22px 48px -30px rgba(122,22,38,0.4); }
.loc-card .lc-photo { min-height: 100%; }
.loc-card .lc-photo .ph { height: 100%; min-height: 240px; border: none; border-right: 1px solid var(--line); border-radius: 0; }
.loc-card .lc-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 240px; border-right: 1px solid var(--line); }
.loc-card .lc-body { padding: 30px; }
.loc-card .lc-body .city { display: flex; align-items: center; gap: 9px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.loc-card .lc-body .city svg { width: 19px; height: 19px; color: var(--maroon); }
.loc-card .lc-body .city .hq { font-size: 11px; font-weight: 700; color: #fff; background: var(--maroon); padding: 3px 8px; border-radius: 100px; letter-spacing: 0.04em; }
.loc-card .addr { font-size: 14.5px; color: var(--gray); margin-top: 14px; line-height: 1.7; }
.loc-meta { margin-top: 16px; display: grid; gap: 8px; }
.loc-meta a, .loc-meta div { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; }
.loc-meta svg { width: 15px; height: 15px; color: var(--maroon); flex: none; }
.loc-meta .tel { font-weight: 700; color: var(--maroon); font-size: 16px; }
.loc-card .lc-map { border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.loc-card .lc-map .ph { height: 100%; min-height: 240px; border: none; border-radius: 0; }
.loc-card .lc-map iframe { width: 100%; flex: 1; min-height: 200px; border: none; display: block; }
.loc-card .lc-map .map-link { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 700; color: var(--maroon); padding: 11px 16px; border-top: 1px solid var(--line); text-decoration: none; background: var(--canvas-2); transition: background 180ms ease, color 180ms ease; }
.loc-card .lc-map .map-link:hover { background: var(--maroon); color: #fff; }
.loc-card .lc-map .map-link svg { width: 14px; height: 14px; flex: none; }
.loc-card .lc-desc { padding: 0 30px 30px; grid-column: 1 / -1; border-top: 1px solid var(--line-2); }
.loc-card .lc-desc p { font-size: 14.5px; color: var(--gray); margin-top: 18px; max-width: 80ch; }

/* ============================================================
   CERTIFICATIONS — shared
   ============================================================ */
.cert-band { padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cert-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 64px); }
.cert { display: flex; align-items: center; gap: 12px; }
.cert .badge { width: 48px; height: 48px; border-radius: 10px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; flex: none; }
.cert .badge svg { width: 24px; height: 24px; }
.cert b { font-size: 15px; font-weight: 700; display: block; }
.cert span { font-size: 13px; color: var(--gray); }

/* ============================================================
   TESTIMONIALS — shared
   ============================================================ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.tst { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: 28px; transition: border-color 200ms ease, transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.tst:hover { border-color: var(--maroon); transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(122,22,38,0.4); }
.tst .stars { display: flex; gap: 3px; color: var(--maroon); }
.tst .stars svg { width: 16px; height: 16px; }
.tst p { font-size: 15.5px; color: var(--ink); margin-top: 16px; }
.tst .who { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.tst .who b { font-size: 14.5px; font-weight: 700; display: block; }
.tst .who span { font-size: 13px; color: var(--gray); }

/* ============================================================
   ABOUT page
   ============================================================ */
.about-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.about-split .prose p { font-size: 16px; color: var(--gray); margin-top: 16px; }
.about-split .prose p:first-child { margin-top: 0; }
.about-split .prose p strong { color: var(--ink); }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
.value { padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.value .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--maroon-soft); color: var(--maroon); display: grid; place-items: center; }
.value .ic svg { width: 21px; height: 21px; }
.value h3 { font-size: 17px; font-weight: 700; margin-top: 16px; }
.value p { font-size: 14.5px; color: var(--gray); margin-top: 8px; }
.timeline { margin-top: 44px; display: grid; gap: 0; }
.tl { display: flex; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl .yr { flex: none; width: 120px; font-size: 18px; font-weight: 800; color: var(--maroon); letter-spacing: -0.02em; }
.tl .tl-c h4 { font-size: 17px; font-weight: 700; }
.tl .tl-c p { font-size: 14.5px; color: var(--gray); margin-top: 5px; }

/* ============================================================
   TECHNOLOGY page
   ============================================================ */
.tech-list { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.tech-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.tech-list li .tn { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--maroon-soft); color: var(--maroon); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.dash { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 22px; }
.dash .dh { display: flex; justify-content: space-between; align-items: center; }
.dash .dh b { font-size: 15px; font-weight: 700; }
.dash .dh span { font-size: 11.5px; color: var(--gray-light); }
.dash .ph { margin-top: 16px; min-height: 150px; }
.dash .cap-tx { font-size: 13px; color: var(--gray); margin-top: 12px; }
.dash-img { width: 100%; height: 160px; object-fit: contain; border-radius: 10px; margin-top: 16px; display: block; }

/* ============================================================
   CONTACT page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.branch-list { display: grid; gap: 10px; margin-top: 24px; }
.branch { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color 180ms ease, transform 200ms var(--ease); }
.branch:hover { border-color: var(--maroon); transform: translateX(3px); }
.branch .bn { font-size: 15.5px; font-weight: 700; }
.branch .bp { font-size: 15.5px; font-weight: 700; color: var(--maroon); display: inline-flex; align-items: center; gap: 8px; }
.branch .bp svg { width: 15px; height: 15px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--maroon-soft); border: 1px solid #efd6db; margin-top: 24px; }
.notice svg { width: 20px; height: 20px; color: var(--maroon); flex: none; margin-top: 1px; }
.notice p { font-size: 13.5px; color: var(--maroon-deep); line-height: 1.55; }
.form-card { border: 1px solid var(--line); border-radius: 16px; background: var(--white); padding: clamp(26px, 4vw, 40px); box-shadow: 0 22px 50px -36px rgba(26,21,23,0.4); }
.form-card h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.form-card .fc-sub { font-size: 14.5px; color: var(--gray); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-top: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field label .req { color: var(--maroon); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--canvas-2);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--maroon); background: #fff; box-shadow: 0 0 0 4px rgba(122,22,38,0.1); }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: 12.5px; color: var(--gray-light); margin-top: 5px; }
.form-card .btn { margin-top: 22px; width: 100%; justify-content: center; }

/* ============================================================
   CTA — shared
   ============================================================ */
.cta { background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%); color: #fff; }
.cta .wrap { text-align: center; padding: clamp(64px, 9vw, 110px) var(--gutter); }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; max-width: 16ch; margin-inline: auto; }
.cta p { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.85); margin: 18px auto 0; max-width: 540px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.cta .btn-line { background: transparent; border: 1.5px solid rgba(255,255,255,0.45); color: #fff; }
.cta .btn-line:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   FOOTER — shared
   ============================================================ */
footer { padding: 66px 0 36px; background: var(--ink); color: rgba(255,255,255,0.7); }
.foot-top { display: grid; grid-template-columns: 1fr 1fr 1.3fr 1.2fr; gap: 36px; }
.foot-brand .brand .name { color: #fff; }
.foot-brand .brand .name span { color: rgba(255,255,255,0.55); }
.foot-brand .brand .mark { background: var(--maroon); }
.foot-brand p { font-size: 14px; margin-top: 16px; max-width: 280px; }
.foot-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); font-weight: 700; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.75); padding: 5px 0; transition: color 150ms ease; }
.foot-col a:hover { color: #fff; }
.foot-col .addr { font-size: 14px; line-height: 1.7; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; margin-top: 52px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); }
.foot-bottom p { font-size: 13px; color: rgba(255,255,255,0.55); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.18); display: grid; place-items: center; color: #fff; transition: background 160ms ease, border-color 160ms ease; }
.foot-social a:hover { background: var(--maroon); border-color: var(--maroon); }
.foot-social svg { width: 17px; height: 17px; }
.foot-col .foot-info { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.65; margin-bottom: 4px; }
.foot-col .foot-info strong { color: rgba(255,255,255,0.9); }
.foot-inline-link { color: rgba(255,255,255,0.75) !important; text-decoration: underline !important; display: inline !important; padding: 0 !important; }
.foot-inline-link:hover { color: #fff !important; }
.foot-brand-name { font-size: 15px; font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.foot-badge-wrap { margin-top: 18px; }
.foot-badge-img { width: 82px; height: auto; display: block; }
.foot-everify { display: inline-flex; align-items: center; margin-top: 14px; padding: 9px 14px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; width: fit-content; background: #fff; }
.foot-everify-svg { width: 140px; height: auto; display: block; }

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-wrap { max-width: 760px; }
.policy-wrap h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.policy-wrap > p { font-size: 16px; color: var(--gray); line-height: 1.75; margin-bottom: 28px; }
.policy-list { list-style: none; display: grid; gap: 18px; }
.policy-list li { font-size: 15.5px; line-height: 1.75; color: var(--ink); padding-left: 22px; position: relative; }
.policy-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); }
.policy-list li strong { color: var(--ink); }
.policy-list li a { color: var(--maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.handbook-toc { margin: 28px 0 40px; padding: 28px 32px; background: var(--canvas-2); border: 1px solid var(--line); border-radius: 14px; }
.handbook-toc h3 { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 16px; }
.handbook-toc ol { padding-left: 20px; display: grid; gap: 9px; }
.handbook-toc li { font-size: 15px; font-weight: 500; }
.handbook-toc a { color: var(--ink); transition: color 160ms ease; }
.handbook-toc a:hover { color: var(--maroon); }
.policy-section { margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--line); }
.policy-section:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.policy-section h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }
.policy-section p, .policy-section li { font-size: 15.5px; line-height: 1.8; color: var(--gray); }
.policy-section ul, .policy-section ol { padding-left: 22px; margin-top: 10px; display: grid; gap: 8px; }
.policy-section p + p { margin-top: 14px; }
.policy-disclaimer { background: var(--maroon-soft); border: 1px solid rgba(122,22,38,0.15); border-radius: 12px; padding: 22px 26px; margin-bottom: 36px; font-size: 14.5px; color: var(--gray); line-height: 1.7; }

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] { opacity: 1; transform: none; transition: background 200ms ease, border-color 200ms ease, box-shadow 240ms var(--ease), padding-inline 180ms var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 1; transform: none; transition: background 200ms ease, border-color 200ms ease, box-shadow 240ms var(--ease), padding-inline 180ms var(--ease); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1140px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  /* Once the hamburger appears, the in-nav CTAs are redundant (they live in the
     mobile menu) and on phones they collide with the logo — hide the whole group. */
  .nav-cta { display: none; }
  .models, .about-split, .contact-grid { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; }
  .svc-block.flip .svc-copy { order: 0; }
  .feat-grid, .value-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .loc-grid, .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .stats-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .st:nth-child(2) { border-right: none; }
  .stats-strip .st:nth-child(1), .stats-strip .st:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .loc-card { grid-template-columns: 1fr; }
  .loc-card .lc-photo .ph, .loc-card .lc-map .ph { border: none; border-bottom: 1px solid var(--line); border-radius: 0; min-height: 200px; }
  .loc-card .lc-photo-img { min-height: 200px; border-right: none; border-bottom: 1px solid var(--line); }
  .loc-card .lc-map { border-left: none; }
  .loc-card .lc-map iframe { min-height: 200px; }
}
@media (max-width: 620px) {
  /* Top utility bar: keep it to one tidy scrollable row instead of a clipped
     two-line wrap. All links stay reachable, nothing overlaps the header. */
  .topbar .wrap { height: 38px; flex-wrap: nowrap; justify-content: flex-start;
    gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .topbar .wrap::-webkit-scrollbar { display: none; }
  .topbar .left { gap: 18px; flex: none; }
  .topbar .right { flex: none; }
  .topbar a { white-space: nowrap; }
  .loc-grid, .tst-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 26px; }
  .hero-actions .btn, .cta-actions .btn, .page-hero .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-strip .wrap { grid-template-columns: 1fr 1fr; }
  .tl { flex-direction: column; gap: 4px; }
  .tl .yr { width: auto; }
  .branch { flex-direction: column; align-items: flex-start; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   HOME HERO (kept here so index can share the stylesheet)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh; display: flex; align-items: center; justify-content: flex-start;
  padding: clamp(60px, 9vw, 110px) 0 clamp(60px, 8vw, 90px);
  background:
    radial-gradient(52% 68% at 28% 10%, var(--maroon-soft) 0%, transparent 64%),
    radial-gradient(32% 48% at 82% 58%, rgba(247,235,237,0.38) 0%, transparent 70%),
    linear-gradient(180deg, var(--canvas-2) 0%, var(--canvas) 70%);
}
.hero-content {
  position: relative; z-index: 3; text-align: left; max-width: 600px;
  /* Offset the text to line up with the page container using margin (which sits
     OUTSIDE the box) — NOT padding, which would eat into max-width and shrink the
     text column to a sliver on wide screens (caused the one-word-per-line heading). */
  margin-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding-right: clamp(16px, 2.5vw, 32px);
}
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; background: var(--white); border: 1px solid var(--line); color: var(--maroon); border-radius: 100px; font-size: 13px; font-weight: 700; box-shadow: 0 6px 18px -10px rgba(26,21,23,0.25); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--maroon); box-shadow: 0 0 0 4px rgba(122,22,38,0.14); }
.hero h1 { font-size: clamp(38px, 5.8vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; margin: 24px 0 0; max-width: 20ch; }
.hero h1 .accent { color: var(--maroon); }
.hero-sub { font-size: clamp(16px, 1.7vw, 20px); color: var(--gray); margin: 24px 0 0; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; margin-top: 34px; }

/* ─── Orbital job-role rings ─────────────────────────────────── */
.orbit-stage {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
}
.orbit-item {
  position: absolute;
  left: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: auto;
  will-change: transform, opacity;
}
.orbit-logo-img {
  position: absolute;
  right: -28%;
  top: 40%;
  transform: translateY(-50%);
  width: 52%;
  max-width: 680px;
  height: auto;
  opacity: 0.30;
  pointer-events: none;
  z-index: 1;
  user-select: none;
}
.orbit-circle {
  border-radius: 50%; overflow: hidden; flex: none;
  border: 3px solid rgba(255,255,255,0.92);
  box-shadow: 0 10px 32px -12px rgba(122,22,38,0.42), 0 3px 10px -4px rgba(26,21,23,0.18);
  background: var(--canvas-2);
}
.orbit-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.orbit-label {
  font-size: 13px; font-weight: 700; letter-spacing: -0.005em;
  color: var(--ink); white-space: nowrap;
  background: rgba(255,255,255,0.9);
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid rgba(122,22,38,0.12);
  box-shadow: 0 2px 8px -4px rgba(26,21,23,0.14);
}

.hero-content [data-reveal] { transition-duration: 700ms; }

/* Carousel hides below 1280. The orbit now uses a FIXED radius (360px), which
   clears the headline column from 1280px up (the common laptop width). Below
   that we drop the orbit and use the centered photo hero instead — that's the
   band where the orbit would otherwise crowd or overlap the heading. */
@media (max-width: 1279px) {
  .orbit-stage { display: none; }
  /* No carousel on smaller screens — feature the Regal field photo behind the
     hero, with a light scrim so the dark heading stays readable. */
  .hero {
    justify-content: center;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.90) 0%, rgba(250,248,248,0.80) 48%, rgba(250,248,248,0.88) 100%),
      url('Images/hero-mobile.jpg') center 22% / cover no-repeat,
      var(--canvas);
  }
  .hero-content {
    text-align: center; max-width: 680px;
    margin-inline: auto;
    padding-left: var(--gutter); padding-right: var(--gutter);
  }
  .hero h1 { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; max-width: 520px; }
  .hero-actions { justify-content: center; }
}
@media (max-width: 860px) {
  .hero { min-height: auto; }
}
/* ── Full-screen hero: 50/50 split — text fills the left half, the JS builds a
   full wheel (centered mark) in the right half. Must stay in sync with the
   FULL_BP constant in index.html (1700). ── */
@media (min-width: 1700px) {
  .hero { min-height: 92vh; }
  .hero-content {
    width: 50%; max-width: none; margin: 0;
    padding-left: clamp(56px, 6vw, 150px);
    padding-right: clamp(40px, 3vw, 72px);
  }
  .hero h1 { font-size: clamp(64px, 4.6vw, 92px); max-width: 13ch; margin-top: 22px; }
  .hero-sub { font-size: clamp(19px, 1.35vw, 24px); max-width: 32ch; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo-bg { animation: none !important; }
}

/* ============================================================
   HERO LOAD-IN (page entrance)
   ============================================================ */
@keyframes hero-load-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero { animation: hero-load-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) both; }
@media (prefers-reduced-motion: reduce) { .hero { animation: none !important; } }
