/* EliteEdge — Albany NY — inspired layout patterns from modern product-engineering sites */
:root {
  --bg-deep: #030712;
  --bg-card: rgba(15, 23, 42, 0.65);
  --border: rgba(148, 163, 184, 0.15);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --pink: #f472b6;
  --gold: #fbbf24;
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Accessibility: skip link & focus */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: var(--bg-deep);
  font-weight: 700;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem;
  background: rgba(3, 7, 18, 0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.cookie-inner {
  max-width: min(1180px, 92vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 52ch;
}

.cookie-dismiss {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.footer-legal {
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--muted);
}

.footer-legal a:hover {
  color: var(--cyan);
}

/* Ambient background */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.25), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(167, 139, 250, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(244, 114, 182, 0.1), transparent),
    var(--bg-deep);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(3, 7, 18, 0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-link img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #0f172a;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(167, 139, 250, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--muted);
}

.badge.gold {
  border-color: rgba(251, 191, 36, 0.5);
  color: var(--gold);
  background: rgba(251, 191, 36, 0.08);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 40%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 2rem;
}

/* Cards grid */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  min-height: 200px;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  opacity: 0.9;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Work / case teaser */
.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .work-card {
    grid-template-columns: 1fr;
  }
}

.work-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Values — Amazatic-style pillars */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.value-item {
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
}

.value-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.value-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.t-quote {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.06), rgba(15, 23, 42, 0.9));
}

.t-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  line-height: 1;
  color: rgba(34, 211, 238, 0.35);
  font-family: Georgia, serif;
}

.t-quote p {
  margin: 0 0 1rem;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.t-author {
  font-weight: 700;
  font-size: 0.95rem;
}

.t-role {
  font-size: 0.85rem;
  color: var(--muted);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-member {
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-card);
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.team-body {
  padding: 1.25rem 1rem 1.5rem;
}

.team-body h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08), transparent);
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-num {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Contact strip */
.contact-strip {
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.15), rgba(15, 23, 42, 0.95));
}

.contact-strip h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.contact-strip p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.address {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Footer */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 640px) {
  .footer-inner .footer-legal {
    flex-basis: 100%;
    text-align: center;
    order: 3;
  }
}

.trusted-strip {
  text-align: center;
  padding: 2rem 0 0;
}

.trusted-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  align-items: center;
}

.trusted-logos span {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.55);
  filter: grayscale(1);
  transition: color 0.2s, filter 0.2s;
}

.trusted-logos span:hover {
  color: var(--muted);
  filter: grayscale(0);
}

@media (max-width: 640px) {
  .nav-links {
    gap: 0.65rem;
    font-size: 0.8rem;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: 0.78rem;
  }
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-glow-orb {
  position: absolute;
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  animation: float 8s ease-in-out infinite;
}

.hero-wrap {
  position: relative;
}

/* Inner pages */
.page-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
}

.prose h2 {
  color: var(--text);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose p {
  margin: 0 0 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

/* Contact form */
.form-grid {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.8);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}

.form-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Industries grid on home */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.industry-card {
  display: block;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.industry-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-3px);
  text-decoration: none;
}

.industry-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
}

.industry-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Case study list */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-list a {
  display: block;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}

.case-list a:hover {
  border-color: rgba(34, 211, 238, 0.35);
  text-decoration: none;
}

.case-list .meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.case-list h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text);
}

/* Resources */
.resource-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.resource-card {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
}

.resource-card .tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.5rem;
}

.resource-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--text);
}

.resource-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

a.resource-card {
  transition: border-color 0.2s, transform 0.2s;
}

a.resource-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-3px);
  text-decoration: none;
}

/* Footer sitemap */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-sitemap strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.footer-sitemap a {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  padding: 0.2rem 0;
  text-decoration: none;
}

.footer-sitemap a:hover {
  color: var(--cyan);
}

/* Service detail blocks */
.service-detail {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail h2 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.service-detail .sub {
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

/* Blog posts */
.blog-post {
  max-width: 720px;
  margin: 0 auto;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.post-meta span {
  margin-right: 1rem;
}

.post-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.blog-post h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}

.blog-post p,
.blog-post li {
  color: var(--muted);
}

.blog-post ul {
  margin: 0 0 1rem;
}

.blog-disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  border-left: 3px solid rgba(34, 211, 238, 0.4);
  padding: 0.75rem 1rem;
  margin: 2rem 0 0;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 0 8px 8px 0;
}

/* Mission & vision */
.mission-vision-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.mission-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.mission-block h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin: 0 0 0.85rem;
  font-weight: 800;
}

.mission-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.mission-block p strong {
  color: var(--text);
  font-weight: 600;
}

/* Opportunities / job listings */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.job-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s;
}

.job-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.job-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.job-type {
  color: var(--cyan);
  font-weight: 700;
}

.job-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
}

.job-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.cost-callout {
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(15, 23, 42, 0.9));
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
}

.cost-callout strong {
  color: var(--text);
}

.agentic-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.agentic-fields span {
  font-size: 0.85rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
  color: var(--muted);
  text-align: center;
}

/* Headquarters / office gallery */
.hq-intro {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 1.5rem;
}

.hq-building-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  line-height: 0;
}

.hq-building-wrap img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 380px;
  object-fit: cover;
}

.hq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.hq-thumb {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}

.hq-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.hq-caption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
  text-align: center;
}
