.earth-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 640px;
  min-height: max(640px, 100svh);
  padding: 160px max(var(--gutter), 5.55vw) 140px;
  overflow: hidden;
  background: radial-gradient(105% 78% at 85% 105%, rgb(92 18 8 / 22%), transparent 66%), #000;
}

.earth-scene, .earth-canvas, .earth-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.earth-scene { z-index: -2; isolation: isolate; overflow: hidden; background: #000; }
.earth-scene::after { content: ''; position: absolute; inset: auto 0 0; z-index: 1; height: clamp(120px, 22vh, 240px); background: linear-gradient(180deg, transparent, #000); pointer-events: none; }
.earth-canvas { display: block; touch-action: pan-y; cursor: pointer; }
.earth-canvas:focus-visible { outline-offset: -6px; }
.earth-canvas.has-pointer-focus:focus-visible { outline: none; }
.earth-fallback { overflow: hidden; background: radial-gradient(ellipse at 32% 38%, #312034 0%, #101421 22%, #020308 52%, #000 78%); transition: filter 700ms ease; }
.earth-fallback > div { position: absolute; width: 180%; height: 220%; left: 19%; top: 18%; border-radius: 50%; background: #000; box-shadow: -2px -2px 3px #aa7c79, -8px -8px 38px #62406166; transform: rotate(-28deg); }
.earth-hero.is-illuminated .earth-fallback { filter: brightness(2); }
.earth-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / 36%), rgb(0 0 0 / 12%) 32%, transparent 54%); pointer-events: none; }
.earth-copy { width: 100%; pointer-events: none; }
.earth-copy h1 { max-width: 680px; margin: 0; font-family: var(--font-display); font-size: clamp(32px, 3.34vw, 52px); font-weight: 400; line-height: 1.35; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / 24%); }
.earth-copy h1 > span:not(.visually-hidden):not(.reveal-visual), .earth-copy .reveal-visual > span { display: block; }

.earth-action { position: absolute; left: max(var(--gutter), 5.55vw); bottom: 52px; display: inline-flex; align-items: center; gap: 13px; min-height: 48px; padding: 0; border: 0; border-radius: 30px; color: rgb(255 255 255 / 78%); background: none; font: 400 11px/1.2 var(--font-technical); letter-spacing: .045em; transition: color var(--transition); }
.earth-action-icon { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; transition: border-color var(--transition), transform var(--transition), background-color var(--transition); }
.earth-action:hover { color: #fff; }
.earth-action:hover .earth-action-icon { transform: scale(1.08); border-color: rgb(255 255 255 / 72%); background: rgb(255 255 255 / 6%); }
.earth-action-touch { display: none; }
.earth-action.is-active .earth-action-icon { border-color: #e4ac87; background: rgb(247 120 42 / 12%); }

.earth-cursor { position: fixed; top: 0; left: 0; z-index: 30; display: none; align-items: center; gap: 12px; opacity: 0; pointer-events: none; will-change: transform; transition: opacity 600ms ease; }
.earth-cursor-ring { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgb(255 255 255 / 76%); border-radius: 50%; background: rgb(0 0 0 / 12%); backdrop-filter: blur(3px); transition: transform 650ms var(--ease-smooth), border-color 650ms ease, background-color 650ms ease; }
.earth-cursor-label { color: #fff; font: 400 10px/1.2 var(--font-technical); letter-spacing: .035em; white-space: nowrap; text-shadow: 0 1px 8px #000; }
.earth-cursor.is-visible { opacity: 1; }
.earth-cursor.is-pressed .earth-cursor-ring { transform: scale(.78); border-color: #f7bd98; background: rgb(247 120 42 / 16%); }
.earth-cursor.is-ignited .earth-cursor-ring { transform: scale(1.22); border-color: #f7bd98; }
body.menu-open .earth-cursor { opacity: 0; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .earth-cursor { display: flex; }
  .earth-canvas.has-cursor { cursor: none; }
}

@media (max-width: 767px) {
  .earth-hero { align-items: flex-start; min-height: max(620px, 100svh); padding: clamp(170px, 28svh, 240px) var(--gutter) 130px; }
  .earth-copy h1 { font-size: clamp(25px, 5.9vw, 40px); line-height: 1.45; letter-spacing: -.04em; }
  .earth-action { left: var(--gutter); bottom: 38px; font-size: 11px; }
  .earth-hero::after { background: linear-gradient(180deg, rgb(0 0 0 / 12%), transparent 50%); }
}

@media (hover: none), (pointer: coarse) {
  .earth-action-desktop { display: none; }
  .earth-action-touch { display: inline; }
}

@media (max-width: 359px) {
  .earth-copy h1 { font-size: clamp(20px, 6.2vw, 24px); }
}

@media (max-height: 500px) and (min-width: 768px) {
  .earth-hero { min-height: 500px; padding-top: 144px; }
  .earth-copy h1 { font-size: 36px; }
  .earth-action { bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .earth-cursor { display: none; }
  .earth-canvas { cursor: pointer; }
  .earth-fallback, .earth-action-icon { transition: none; }
}
