/* Wireframe Globe: a rotating 3D wireframe sphere as the sole hero device — near-monochrome, pure geometry, no glow, no gradient fill. */
.template-globe {
  --cyan: #d4d4d8;
  --violet: #a1a1aa;
  --lime: #e4e4e7;
}

.template-globe.accent-amber { --cyan: #d6a34d; --violet: #b98a3d; --lime: #e8c48a; }
.template-globe.accent-rose  { --cyan: #d4899d; --violet: #b56f88; --lime: #e8b0c0; }
.template-globe.accent-lime  { --cyan: #9fc76a; --violet: #7fa855; --lime: #c3e69a; }

body.template-globe {
  background: #0c0c0d;
  color: #f2f2f3;
}

.globe-page {
  min-height: 100vh;
  background: #0c0c0d;
  color: #f2f2f3;
}

.globe-header,
.globe-main,
.globe-footer {
  width: min(1240px, calc(100% - 9vw));
  margin: 0 auto;
}

.globe-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.globe-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f2f2f3;
  text-decoration: none;
  font: 600 13px 'DM Mono';
  letter-spacing: .1em;
}

.globe-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #f2f2f3;
  border-radius: 50%;
  font-size: 12px;
}

.globe-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9a9aa0;
  font: 10px 'DM Mono';
  letter-spacing: .12em;
}

.globe-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f2f2f3;
}

.globe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr);
  gap: 6vw;
  align-items: center;
  min-height: 620px;
  padding: 6vw 0;
}

.globe-eyebrow {
  margin: 0 0 24px;
  color: #9a9aa0;
  font: 11px 'DM Mono';
  letter-spacing: .18em;
}

.globe-hero-copy h1 {
  max-width: 660px;
  margin: 0;
  font: 600 clamp(52px, 7.4vw, 108px) / 1.02 Manrope, sans-serif;
  letter-spacing: -.03em;
}

.globe-subtitle {
  margin-top: 26px;
  color: #d4d4d8;
}

.globe-description {
  max-width: 460px;
  margin: 22px 0 0;
  color: #9a9aa0;
  font-size: 16px;
  line-height: 1.75;
}

.globe-visual {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: auto;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.globe-sphere {
  position: relative;
  width: 82%;
  height: 82%;
  transform-style: preserve-3d;
}

.globe-sphere-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  animation: globe-spin 26s linear infinite;
}

.globe-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(242, 242, 243, .38);
  border-radius: 50%;
}

.globe-ring:nth-child(1) { transform: rotateY(0deg); }
.globe-ring:nth-child(2) { transform: rotateY(30deg); }
.globe-ring:nth-child(3) { transform: rotateY(60deg); }
.globe-ring:nth-child(4) { transform: rotateY(90deg); }
.globe-ring:nth-child(5) { transform: rotateY(120deg); }
.globe-ring:nth-child(6) { transform: rotateY(150deg); }
.globe-equator {
  transform: rotateX(90deg);
  border-color: rgba(242, 242, 243, .6);
}

.globe-node {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: var(--cyan);
}

.node-a { top: 18%; left: 62%; transform: translateZ(60px); }
.node-b { top: 62%; left: 24%; transform: translateZ(-40px); }
.node-c { top: 40%; left: 78%; transform: translateZ(20px); }

@keyframes globe-spin {
  0% { transform: rotateY(0deg) rotateX(8deg); }
  100% { transform: rotateY(360deg) rotateX(8deg); }
}

.globe-visual-label {
  position: absolute;
  bottom: 0;
  color: #6b6b70;
  font: 10px 'DM Mono';
  letter-spacing: .12em;
}

.globe-routes {
  padding: 30px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.globe-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9a9aa0;
  font: 10px 'DM Mono';
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.globe-route-list {
  margin-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.globe-route {
  display: grid;
  grid-template-columns: 14px 50px minmax(0, 1fr) 30px 24px;
  align-items: center;
  gap: 22px;
  padding: 26px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #f2f2f3;
  text-decoration: none;
  transition: padding-left .2s ease, background .2s ease;
}

.globe-route:hover {
  padding-left: 14px;
  background: rgba(255, 255, 255, .03);
}

.globe-route-node {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--card-color, var(--cyan));
}

.globe-route:hover .globe-route-node {
  background: var(--card-color, var(--cyan));
}

.globe-route-index {
  color: #6b6b70;
  font: 12px 'DM Mono';
}

.globe-route-copy > span {
  color: var(--card-color, var(--cyan));
  font: 10px 'DM Mono';
  letter-spacing: .1em;
}

.globe-route-copy h2 {
  margin: 8px 0 5px;
  font-size: 25px;
  letter-spacing: -.03em;
}

.globe-route-copy p {
  margin: 0;
  color: #9a9aa0;
  font-size: 13px;
  line-height: 1.6;
}

.globe-route-icon {
  color: var(--card-color, var(--cyan));
  font-size: 22px;
  text-align: center;
}

.globe-route-arrow {
  color: #6b6b70;
  font-size: 18px;
  text-align: right;
  transition: transform .2s ease, color .2s ease;
}

.globe-route:hover .globe-route-arrow {
  color: var(--card-color, var(--cyan));
  transform: translateX(3px);
}

.globe-footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #6b6b70;
  font: 10px 'DM Mono';
  letter-spacing: .1em;
}

@media (max-width: 800px) {
  .globe-header, .globe-main, .globe-footer { width: min(100% - 40px, 680px); }
  .globe-hero { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding: 55px 0 60px; }
  .globe-visual { width: min(78vw, 340px); }
  .globe-route {
    grid-template-columns: 10px minmax(0, 1fr) 22px;
    grid-template-rows: auto auto;
    gap: 6px 12px;
  }
  .globe-route-index { display: none; }
  .globe-route-icon { display: none; }
  .globe-route-arrow { grid-row: 1 / 3; align-self: center; }
  .globe-footer { display: block; line-height: 2; }
  .globe-footer span { display: block; }
}

/* Isometric Construction: an isometric-perspective module stack — spatial arrangement itself is the differentiator, not extra fx. */
.template-isometric {
  --cyan: #4f8cff;
  --violet: #9a6bff;
  --lime: #34c98a;
}

.template-isometric.accent-amber { --cyan: #d68f2e; --violet: #c17a1f; --lime: #e0b23f; }
.template-isometric.accent-rose  { --cyan: #d95a86; --violet: #b8447a; --lime: #e88aa8; }
.template-isometric.accent-lime  { --cyan: #4fae5e; --violet: #3f9d6e; --lime: #7bc94a; }

body.template-isometric {
  background: #eef1f6;
  color: #171b24;
}

.isometric-page {
  min-height: 100vh;
  background: #eef1f6;
  color: #171b24;
}

.isometric-header,
.isometric-main,
.isometric-footer {
  width: min(1260px, calc(100% - 9vw));
  margin: 0 auto;
}

.isometric-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 27, 36, .12);
}

.isometric-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #171b24;
  text-decoration: none;
  font: 700 13px Manrope, sans-serif;
  letter-spacing: -.01em;
}

.isometric-brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: #171b24;
  color: #eef1f6;
  font: 700 12px Manrope, sans-serif;
}

.isometric-header-tag {
  color: #5b6273;
  font-size: 13px;
}

.isometric-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
  gap: 6vw;
  align-items: center;
  min-height: 560px;
  padding: 6vw 0;
}

.isometric-eyebrow {
  margin: 0 0 22px;
  color: #5b6273;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.isometric-hero-copy h1 {
  max-width: 640px;
  margin: 0;
  font: 700 clamp(48px, 6.8vw, 98px) / 1.06 Manrope, sans-serif;
  letter-spacing: -.03em;
}

.isometric-subtitle {
  margin-top: 24px;
  color: var(--cyan);
}

.isometric-description {
  max-width: 440px;
  margin: 20px 0 0;
  color: #5b6273;
  font-size: 16px;
  line-height: 1.7;
}

.isometric-stack {
  position: relative;
  width: min(100%, 340px);
  height: 320px;
  margin: auto;
}

.iso-cube {
  position: absolute;
  width: 130px;
  height: 130px;
}

.iso-cube-top { top: 0; left: 50%; transform: translateX(-50%); }
.iso-cube-left { bottom: 10px; left: 6%; }
.iso-cube-right { bottom: 10px; right: 6%; }

.iso-face {
  position: absolute;
  width: 100%;
  height: 100%;
}

.iso-cube .iso-face-top {
  background: #f8fafc;
  border: 1px solid rgba(23, 27, 36, .18);
  transform: rotate(45deg) skew(-20deg, -20deg) scale(1, .58);
  top: -34%;
}

.iso-cube .iso-face-left {
  background: #cfd6e2;
  border: 1px solid rgba(23, 27, 36, .18);
  transform: skewY(30deg) scale(1, .865);
  top: 25%;
  left: -50%;
}

.iso-cube .iso-face-right {
  background: #b7c0d1;
  border: 1px solid rgba(23, 27, 36, .18);
  transform: skewY(-30deg) scale(1, .865);
  top: 25%;
  left: 50%;
}

.iso-cube-top .iso-face-top { background: var(--cyan); }
.iso-cube-left .iso-face-top { background: var(--violet); }
.iso-cube-right .iso-face-top { background: var(--lime); }

.isometric-entries {
  padding: 30px 0 100px;
  border-top: 1px solid rgba(23, 27, 36, .12);
}

.isometric-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #5b6273;
  font-size: 13px;
  margin-bottom: 26px;
}

.isometric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.isometric-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  min-height: 300px;
  padding: 26px;
  background: #f8fafc;
  border: 1px solid rgba(23, 27, 36, .12);
  color: #171b24;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.isometric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px -18px rgba(23, 27, 36, .28);
}

.isometric-card-cube {
  position: relative;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}

.isometric-card-cube .iso-face-top {
  background: var(--card-color, var(--cyan));
  transform: rotate(45deg) skew(-20deg, -20deg) scale(1, .58);
  top: -34%;
}

.isometric-card-cube .iso-face-left {
  background: color-mix(in srgb, var(--card-color, var(--cyan)) 70%, #000 10%);
  transform: skewY(30deg) scale(1, .865);
  top: 25%;
  left: -50%;
  opacity: .85;
}

.isometric-card-cube .iso-face-right {
  background: color-mix(in srgb, var(--card-color, var(--cyan)) 55%, #000 20%);
  transform: skewY(-30deg) scale(1, .865);
  top: 25%;
  left: 50%;
  opacity: .85;
}

.isometric-card-kicker {
  color: var(--card-color, var(--cyan));
  font-size: 12px;
  letter-spacing: .06em;
  font-weight: 600;
}

.isometric-card h2 {
  margin: 0;
  font: 700 24px/1.25 Manrope, sans-serif;
  letter-spacing: -.02em;
}

.isometric-card p {
  margin: 0;
  color: #5b6273;
  font-size: 13px;
  line-height: 1.6;
}

.isometric-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.isometric-card-icon {
  color: var(--card-color, var(--cyan));
  font-size: 22px;
}

.isometric-card-arrow {
  color: #5b6273;
  font-size: 18px;
  transition: transform .2s ease, color .2s ease;
}

.isometric-card:hover .isometric-card-arrow {
  color: var(--card-color, var(--cyan));
  transform: translateX(3px);
}

.isometric-footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 0 32px;
  border-top: 1px solid rgba(23, 27, 36, .12);
  color: #5b6273;
  font-size: 13px;
}

@media (max-width: 800px) {
  .isometric-header, .isometric-main, .isometric-footer { width: min(100% - 40px, 680px); }
  .isometric-hero { grid-template-columns: 1fr; gap: 42px; min-height: auto; padding: 55px 0 50px; }
  .isometric-stack { width: min(70vw, 300px); height: 280px; }
  .isometric-grid { grid-template-columns: 1fr; }
  .isometric-footer { display: block; line-height: 2; }
  .isometric-footer span { display: block; }
}
