/* Superior Office Service — plain CSS (converted from the React + Tailwind build) */

:root {
  --background: hsl(216 9% 13%);
  --background-85: hsl(216 9% 13% / 0.85);
  --background-60: hsl(216 9% 13% / 0.6);
  --background-25: hsl(216 9% 13% / 0.25);
  --background-10: hsl(216 9% 13% / 0.1);
  --foreground: hsl(220 20% 97%);
  --card-40: hsl(216 9% 17% / 0.4);
  --primary: hsl(210 100% 33%);
  --primary-foreground: hsl(0 0% 100%);
  --brand-blue: hsl(210 88% 60%);
  --brand-green: hsl(126 46% 46%);
  --muted-foreground: hsl(216 10% 70%);
  --border: hsl(216 8% 26%);

  --font-heading: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 5rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset (equivalent of Tailwind preflight) ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid var(--border); margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, p, dl, dd { font-size: inherit; font-weight: inherit; }
::selection { background: var(--primary); color: var(--primary-foreground); }
:focus-visible { outline: 2px solid hsl(210 88% 60% / 0.5); outline-offset: 2px; }

/* ---------- Shared pieces ---------- */
.container { max-width: 80rem; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }

.label-mono {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-sm { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.icon-md { width: 1.25rem; height: 1.25rem; }

.eyebrow { color: var(--brand-blue); }

.section { scroll-margin-top: var(--header-h); border-bottom: 1px solid var(--border); padding: 4rem 0; }
.section--tint { background: var(--card-40); }

.section-title {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.4vw, 3.25rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

.lede { font-size: 0.875rem; line-height: 1.625; color: var(--muted-foreground); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-heading); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.75rem; line-height: 1rem;
  transition: color .15s var(--ease), background-color .15s var(--ease), border-color .15s var(--ease);
}
.btn .arrow { transition: transform .15s var(--ease); }
.btn:hover .arrow { transform: translate(0.125rem, -0.125rem); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--background-85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header-row { display: flex; height: var(--header-h); align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 2.5rem; width: auto; mix-blend-mode: screen; }

.main-nav, .header-actions { display: none; align-items: center; }
.main-nav { gap: 1.75rem; }
.main-nav a { font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); transition: color .15s var(--ease); }
.main-nav a:hover { color: var(--brand-green); }

.header-actions { gap: 1.25rem; }
.header-phone { display: flex; align-items: center; gap: 0.5rem; color: var(--brand-green); transition: color .15s var(--ease); }
.header-phone:hover { color: var(--primary); }
.header-btn { padding: 0.625rem 1rem; font-size: 11px; line-height: 1rem; color: #fff; }
.btn-green { background: var(--brand-green); color: #fff; }
.btn-green:hover { background: var(--primary); }
.btn-blue { background: var(--primary); color: var(--primary-foreground); }
.btn-blue:hover { background: var(--brand-green); }

/* Mobile menu: pure CSS via :target — tapping a link changes the target and closes it */
.menu-toggle {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--border); color: var(--foreground);
}
.menu-close { display: none; }
.site-header:has(#menu:target) .menu-open { display: none; }
.site-header:has(#menu:target) .menu-close { display: grid; }

.mobile-menu {
  display: none;
  scroll-margin-top: var(--header-h);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  border-top: 1px solid var(--border);
  background: var(--background);
  padding: 0.75rem 1.25rem 1.5rem;
}
.mobile-menu:target { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  border-bottom: 1px solid var(--border); padding: 1rem 0;
  font-family: var(--font-heading); font-size: 0.875rem; line-height: 1.25rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: hsl(220 20% 97% / 0.8);
}
.mobile-actions { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-actions .btn { padding: 0.75rem 1rem; }
.btn-outline-green { border: 1px solid var(--brand-green); color: var(--brand-green); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-bg { position: absolute; inset: 0; z-index: -10; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero-bg .layer { position: absolute; inset: 0; }
.hero-bg .fade-x { background-image: linear-gradient(to right, var(--background), var(--background-85), var(--background-25)); }
.hero-bg .fade-y { background-image: linear-gradient(to top, var(--background), var(--background-10), var(--background-60)); }
.measure-lines {
  opacity: 0.5;
  background-image: linear-gradient(to right, rgba(244, 244, 249, 0.07) 1px, transparent 1px);
  background-size: 25% 100%;
}

.hero-inner {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 86vh; min-height: 86svh;
  padding-top: 5rem; padding-bottom: 2.5rem;
}
.hero-kicker { display: flex; align-items: center; gap: 0.75rem; }
.hero-kicker .rule { height: 1px; width: 2.5rem; flex-shrink: 0; background: var(--brand-green); }
.hero-kicker .label-mono { color: hsl(220 20% 97% / 0.6); }
.hero-kicker .extra { display: none; }

.hero h1 {
  margin-top: 1.5rem;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 6.75rem);
  font-weight: 900; text-transform: uppercase;
  line-height: 0.85; letter-spacing: -0.04em;
}
.hero h1 span { color: hsl(220 20% 97% / 0.9); }

.hero-mid {
  margin-top: 2rem; display: grid; gap: 2rem;
  border-top: 1px solid var(--border); padding-top: 2rem;
}
.hero-mid p { max-width: 36rem; font-size: 1rem; line-height: 1.625; color: hsl(220 20% 97% / 0.7); }
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; }
.hero-ctas .btn { padding: 1rem 1.5rem; }
.btn-outline-hero { border: 1px solid var(--brand-green); color: var(--brand-green); }
.btn-outline-hero:hover { border-color: var(--primary); background: var(--primary); color: #fff; }

.hero-facts {
  margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem;
}
.hero-facts dt { color: hsl(220 20% 97% / 0.4); }
.hero-facts dd {
  margin-top: 0.5rem; font-family: var(--font-heading); font-size: 0.875rem; line-height: 1.25rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: hsl(220 20% 97% / 0.85);
}

/* Entrance animation */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.rise   { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.rise-2 { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both; }
.rise-3 { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both; }

/* ---------- Services ---------- */
.services-head { display: flex; flex-direction: column; gap: 1rem; }
.services-head .section-title { max-width: 42rem; }
.services-head .lede { max-width: 24rem; }

.card-grid {
  margin-top: 2.5rem; display: grid; gap: 1px; overflow: hidden;
  border: 1px solid var(--border); background: var(--border);
}
.service-card { display: flex; flex-direction: column; background: var(--background); }
.service-media { position: relative; overflow: hidden; background: rgb(255 255 255 / 0.04); }
.service-media.is-white { background: #fff; }
.service-media img {
  height: 13rem; width: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-media img.contain { object-fit: contain; padding: 1rem; }
.service-media img.bright { filter: brightness(1.06); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-num {
  position: absolute; left: 1rem; top: 1rem;
  background: var(--background-85); padding: 0.375rem 0.625rem; color: var(--foreground);
}
.service-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.service-body h3 {
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
  text-transform: uppercase; line-height: 1.25; letter-spacing: -0.01em;
}
.service-body p { margin-top: 0.75rem; flex: 1; }
.service-link {
  margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem;
  color: hsl(220 20% 97% / 0.7); transition: color .15s var(--ease);
}
.service-card:hover .service-link { color: var(--brand-green); }

/* ---------- Two-column sections (Capabilities, Service area) ---------- */
.split { display: grid; gap: 2.5rem; }

.ask-about { margin-top: 2rem; border-left: 2px solid var(--brand-green); padding-left: 1rem; }
.ask-about .label-mono { color: hsl(220 20% 97% / 0.4); }
.ask-about p:last-child { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.25rem; color: hsl(220 20% 97% / 0.75); }

.cap-list li {
  display: flex; align-items: flex-start; gap: 1.25rem;
  border-top: 1px solid var(--border); padding: 1.25rem 0;
  transition: border-color .15s var(--ease);
}
.cap-list li:last-child { border-bottom: 1px solid var(--border); }
.cap-list li:hover { border-color: hsl(126 46% 46% / 0.5); }
.cap-list .label-mono { padding-top: 0.25rem; color: hsl(220 20% 97% / 0.3); transition: color .15s var(--ease); }
.cap-list li:hover .label-mono { color: var(--brand-green); }
.cap-list h3 {
  font-family: var(--font-heading); font-size: 1rem; line-height: 1.5; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em; color: hsl(220 20% 97% / 0.9);
}
.cap-list p { margin-top: 0.25rem; }

/* ---------- Why Superior ---------- */
.why-head { max-width: 48rem; }
.reason-grid { margin-top: 2.5rem; display: grid; gap: 1px; border: 1px solid var(--border); background: var(--border); }
.reason { background: var(--background); padding: 1.5rem; }
.reason .label-mono { color: hsl(220 20% 97% / 0.3); }
.reason h3 {
  margin-top: 1.25rem; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700;
  text-transform: uppercase; line-height: 1.375; letter-spacing: 0.01em;
}
.reason p { margin-top: 0.75rem; }

/* ---------- Service area ---------- */
.area-title { font-size: clamp(1.9rem, 4.6vw, 3.5rem); line-height: 0.93; }
.area-copy { margin-top: 1.5rem; max-width: 28rem; }
.state-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.state-tags span { border: 1px solid var(--border); padding: 0.5rem 0.75rem; color: hsl(220 20% 97% / 0.65); }

.details { border: 1px solid var(--border); background: var(--background); }
.details a { display: flex; align-items: flex-start; gap: 1rem; border-bottom: 1px solid var(--border); padding: 1.25rem; }
.details a:last-child { border-bottom: 0; }
.details .icon { margin-top: 0.125rem; color: var(--brand-green); }
.details .text { min-width: 0; }
.details .label-mono { display: block; color: hsl(220 20% 97% / 0.4); }
.details .value {
  display: block; margin-top: 0.375rem; overflow-wrap: break-word;
  font-family: var(--font-heading); font-size: 1rem; line-height: 1.5; font-weight: 600;
}
.details .sub { display: block; margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.area-note { margin-top: 1rem; font-size: 0.75rem; line-height: 1.625; color: hsl(216 10% 70% / 0.8); }

/* ---------- Contact / CTA ---------- */
.contact { scroll-margin-top: var(--header-h); border-bottom: 1px solid rgb(255 255 255 / 0.1); background: var(--primary); padding: 4rem 0; }
.contact-grid { display: grid; gap: 2.5rem; }
.contact .label-mono { color: rgb(255 255 255 / 0.6); }
.contact h2 {
  margin-top: 1rem; font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.8vw, 3.6rem); font-weight: 800; text-transform: uppercase;
  line-height: 0.92; letter-spacing: -0.03em; color: var(--primary-foreground);
}
.contact-copy { margin-top: 1.25rem; max-width: 32rem; font-size: 0.875rem; line-height: 1.625; color: rgb(255 255 255 / 0.8); }
.contact-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-actions .btn { justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; }
.btn-solid-dark { background: var(--background); color: var(--foreground); }
.btn-solid-dark:hover { background: var(--brand-green); color: #fff; }
.btn-outline-white { border: 1px solid rgb(255 255 255 / 0.4); color: var(--primary-foreground); }
.btn-outline-white:hover { border-color: var(--brand-green); background: hsl(126 46% 46% / 0.2); }
.contact-call {
  margin-top: 0.25rem; text-align: center;
  font-family: var(--font-heading); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary-foreground);
  text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.4); text-underline-offset: 4px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--background); padding: 3rem 0; }
.footer-grid { display: grid; gap: 2.5rem; border-bottom: 1px solid var(--border); padding-bottom: 2.5rem; }
.footer-about { margin-top: 1.25rem; max-width: 24rem; }
.footer-heading { color: hsl(220 20% 97% / 0.4); }
.footer-list { margin-top: 1rem; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted-foreground); }
.footer-list li + li { margin-top: 0.625rem; }
.footer-list a { transition: color .15s var(--ease); overflow-wrap: break-word; }
.footer-list a:hover { color: var(--brand-green); }
.footer-bottom { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; }
.footer-bottom .label-mono { color: hsl(220 20% 97% / 0.35); }
.footer-bottom p:last-child { font-size: 0.75rem; line-height: 1rem; color: hsl(216 10% 70% / 0.8); }

/* ---------- Breakpoints (Tailwind sm 640 / md 768 / lg 1024) ---------- */
@media (min-width: 640px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
  .logo img { height: 2.75rem; }
  .section { padding: 7rem 0; }
  .contact { padding: 6rem 0; }
  .site-footer { padding: 3.5rem 0; }

  .hero-inner { min-height: 88vh; padding-top: 6rem; }
  .hero-kicker .extra { display: inline; }
  .hero-ctas { flex-direction: row; }
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .services-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .card-grid, .reason-grid { margin-top: 3.5rem; }
  .service-media img { height: 14rem; }
  .service-body { padding: 1.75rem; }

  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason { padding: 2.25rem; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .hero-mid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .hero-mid p { grid-column: span 7 / span 7; font-size: 1.125rem; }
  .hero-ctas { grid-column: span 5 / span 5; justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .main-nav, .header-actions { display: flex; }
  .menu-toggle, .site-header:has(#menu:target) .menu-close, .mobile-menu:target { display: none; }

  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4rem; }
  .col-5 { grid-column: span 5 / span 5; }
  .col-6 { grid-column: span 6 / span 6; }
  .col-7 { grid-column: span 7 / span 7; }

  .contact-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }

  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid .col-2 { grid-column: span 2 / span 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .rise-2, .rise-3 { animation: none; }
}
