:root {
  --glass-paper: rgb(255 255 255 / 72%);
  --glass-line: rgb(255 255 255 / 82%);
  --draft-line: rgb(11 21 40 / 7%);
  --draft-strong: #64748b;
  --aether-radius: 14px;
  --aether-shadow: 0 18px 48px rgb(11 21 40 / 9%), 0 2px 8px rgb(11 21 40 / 4%);
}

::selection { color: #fff; background: #0b1528; }

.site-header {
  background: rgb(248 250 252 / 84%);
  border-bottom-color: rgb(148 163 184 / 32%);
  box-shadow: 0 5px 24px rgb(11 21 40 / 4%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}

.brand strong { letter-spacing: -.045em; }
.brand-mark { border-radius: 8px; background: rgb(255 255 255 / 62%); }
.primary-nav { gap: clamp(.75rem, 1.25vw, 1.2rem); }
.primary-nav>a, .nav-group>button { transition: color .18s ease, background-color .18s ease; }
.primary-nav>a:hover, .nav-group>button:hover { color: var(--ink); }
.primary-nav>a:focus-visible, .nav-group>button:focus-visible, .button:focus-visible, .division-card:focus-visible {
  outline: 3px solid #15803d;
  outline-offset: 4px;
}

.mega-menu {
  background: rgb(248 250 252 / 90%);
  border-color: rgb(148 163 184 / 38%);
  box-shadow: var(--aether-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

.home-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 610px;
  padding: clamp(4rem, 7.5vw, 7.5rem) max(20px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background-color: #f2f5f7;
  background-image:
    linear-gradient(var(--draft-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--draft-line) 1px, transparent 1px);
  background-size: 44px 44px;
}

.home-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 55%;
  content: "";
  border-left: 1px solid rgb(148 163 184 / 24%);
  background:
    linear-gradient(90deg, transparent 0 13%, rgb(255 255 255 / 35%) 13% 13.15%, transparent 13.15% 100%),
    linear-gradient(0deg, transparent 0 72%, rgb(255 255 255 / 42%) 72% 72.15%, transparent 72.15% 100%);
  pointer-events: none;
}

.home-hero::after {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 5.5%;
  width: clamp(140px, 18vw, 250px);
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgb(100 116 139 / 20%);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgb(255 255 255 / 20%), 0 0 0 25px rgb(100 116 139 / 12%);
  pointer-events: none;
}

.home-hero .hero-copy { position: relative; z-index: 1; }
.home-hero .authority {
  display: inline-block;
  padding: .48rem .72rem;
  border: 1px solid rgb(100 116 139 / 24%);
  border-radius: 3px;
  background: rgb(255 255 255 / 60%);
  color: #334155;
  font-size: .76rem;
  letter-spacing: .015em;
}
.home-hero .eyebrow { margin-top: 1.6rem; color: #475569; }
.home-hero h1 { max-width: 700px; font-size: clamp(3rem, 6vw, 5.35rem); }
.hero-coordinate {
  margin: 2rem 0 0;
  color: #64748b;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.hero-coordinate span { padding-inline: .5rem; color: #15803d; }

.infrastructure-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: var(--aether-radius);
  background: rgb(11 21 40 / 91%);
  box-shadow: 0 28px 68px rgb(11 21 40 / 21%), inset 0 1px 0 rgb(255 255 255 / 14%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  backdrop-filter: blur(24px) saturate(125%);
}
.infrastructure-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image: linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
}
.infrastructure-card .eyebrow { color: #cbd5e1; font-size: .68rem; letter-spacing: .12em; }
.infrastructure-card .eyebrow span { color: #94a3b8; font-weight: 500; }
.infrastructure-card h2 { margin-top: .75rem; font-size: clamp(1.45rem, 2vw, 1.9rem); letter-spacing: -.035em; }
.infrastructure-card dl div { padding-block: .95rem; border-color: rgb(203 213 225 / 18%); }
.infrastructure-card dd { font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.infrastructure-card small { max-width: 220px; font-size: .7rem; }
.card-register {
  position: absolute;
  right: 1.4rem;
  bottom: 1.25rem;
  color: rgb(203 213 225 / 45%);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
}

.metrics {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: -1.75rem auto 0;
  padding: 1.45rem 0;
  border: 1px solid rgb(255 255 255 / 92%);
  border-radius: 10px;
  background: rgb(255 255 255 / 83%);
  box-shadow: 0 14px 38px rgb(11 21 40 / 8%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
  backdrop-filter: blur(18px) saturate(125%);
}
.metrics div:first-child { border-left: 0; }
.metrics strong { font-size: clamp(1.65rem, 3vw, 2.2rem); font-variant-numeric: tabular-nums; }
.metrics span { letter-spacing: .01em; }

.section-heading .eyebrow, .page-hero .eyebrow { color: #475569; }
.section-heading h2, .standards h2, .testimonial-band h2, .cta-band h2 { letter-spacing: -.052em; }
.division-card, .feature-card, .package, .product-card, .project-card, .testimonial-grid blockquote {
  border-color: rgb(148 163 184 / 38%);
  border-radius: 11px;
  background: var(--glass-paper);
  box-shadow: 0 8px 24px rgb(11 21 40 / 4%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}
.division-card {
  position: relative;
  min-height: 320px;
  padding: 1.35rem;
  border-top: 1px solid rgb(148 163 184 / 38%);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.division-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 78px;
  height: 78px;
  content: "";
  border-left: 1px solid color-mix(in srgb, var(--division) 30%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--division) 30%, transparent);
  border-bottom-left-radius: 78px;
  opacity: .55;
}
.division-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--division) 55%, #94a3b8); box-shadow: 0 20px 38px rgb(11 21 40 / 10%); }
.division-card h3 { margin-top: 2.1rem; max-width: 14rem; letter-spacing: -.025em; }
.division-card b { color: var(--division); }
.division-card.store b { color: #9a3412; }
.standards { position: relative; overflow: hidden; background-color: #edf1f4; background-image: linear-gradient(rgb(11 21 40 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(11 21 40 / 3%) 1px, transparent 1px); background-size: 36px 36px; }
.standard-grid article { padding: 1.25rem; border: 1px solid rgb(148 163 184 / 30%); border-radius: 8px; background: rgb(248 250 252 / 70%); }
.standard-grid article>b { letter-spacing: .12em; }
.project-card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--aether-shadow); }
.project-card img { filter: saturate(.82); }
.testimonial-band { background: #e8edf2; }
.cta-band { position: relative; isolation: isolate; overflow: hidden; border: 1px solid rgb(255 255 255 / 18%); border-radius: var(--aether-radius); box-shadow: 0 18px 44px rgb(11 21 40 / 14%); }
.cta-band::after { position: absolute; z-index: -1; right: -3rem; bottom: -7rem; width: 18rem; aspect-ratio: 1; content: ""; border: 1px solid rgb(203 213 225 / 20%); border-radius: 50%; box-shadow: 0 0 0 24px rgb(203 213 225 / 5%), 0 0 0 48px rgb(203 213 225 / 4%); }
.site-footer { border-top: 1px solid rgb(255 255 255 / 14%); }
.page-hero { position: relative; overflow: hidden; background-color: #eef2f6; background-image: linear-gradient(rgb(11 21 40 / 3%) 1px, transparent 1px), linear-gradient(90deg, rgb(11 21 40 / 3%) 1px, transparent 1px); background-size: 38px 38px; }
.page-hero h1 { max-width: 920px; letter-spacing: -.055em; }
.category-strip a { background: rgb(255 255 255 / 82%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.woocommerce ul.products li.product { border-color: rgb(148 163 184 / 36%); border-radius: 11px; background: var(--glass-paper); box-shadow: 0 8px 24px rgb(11 21 40 / 4%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.woocommerce ul.products li.product:hover { box-shadow: var(--aether-shadow); }
.aether-otp-dialog, .aether-application-dialog { border: 1px solid rgb(255 255 255 / 76%); background: rgb(248 250 252 / 94%); box-shadow: 0 30px 90px rgb(2 8 23 / 35%); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
.aether-otp-dialog::backdrop, .aether-application-dialog::backdrop { background: rgb(7 16 31 / 72%); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }

@media (max-width: 760px) {
  .home-hero { min-height: auto; padding: 3.2rem 16px 4.25rem; background-size: 32px 32px; }
  .home-hero::before { inset-inline-start: 24%; opacity: .65; }
  .home-hero::after { top: 13%; right: -34px; width: 142px; opacity: .6; }
  .home-hero .authority { font-size: .69rem; line-height: 1.5; }
  .home-hero .eyebrow { margin-top: 1.25rem; }
  .home-hero h1 { max-width: 12ch; font-size: clamp(2.75rem, 12vw, 4.15rem); }
  .hero-coordinate { margin-top: 1.35rem; font-size: .6rem; }
  .infrastructure-card { max-width: 520px; }
  .metrics { width: calc(100% - 28px); margin-top: -1.2rem; padding: 1.1rem .4rem; }
  .metrics div { padding-left: .8rem; }
  .metrics div:nth-child(3) { border-left: 0; }
  .division-card { min-height: 250px; }
  .standard-grid article { padding: 1rem; }
}

@media (max-width: 430px) {
  .home-hero { padding-inline: 14px; }
  .home-hero .authority { max-width: 100%; }
  .infrastructure-card { padding: 1.25rem; }
  .metrics div { padding-inline: .65rem .25rem; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header, .mega-menu, .metrics, .division-card, .feature-card, .package, .product-card, .project-card, .testimonial-grid blockquote, .aether-otp-dialog, .aether-application-dialog, .woocommerce ul.products li.product {
    background-color: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .infrastructure-card { background-color: #0b1528; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .division-card, .project-card { transition: none; }
}
