
.home { --brand: #3ddc63; --brand-hi: #8dffa0; --brand-soft: rgba(61,220,99,.22); }

.hm-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 36px;
  margin-top: 48px; padding: 40px 44px 42px; border: 1px solid rgba(61,220,99,.24);
  background: linear-gradient(115deg, rgba(9,30,22,.96), rgba(5,18,23,.96) 52%, rgba(4,13,18,.96));
  box-shadow: inset 0 1px 0 rgba(160,240,230,.06), 0 20px 50px rgba(0,0,0,.35); }
.hm-hero::before { content: ""; position: absolute; z-index: -1; left: -140px; top: 50%; width: 520px; height: 520px; margin-top: -260px;
  background: radial-gradient(circle, rgba(61,220,99,.14), rgba(61,220,99,0) 62%); pointer-events: none; }
.hm-hero::after { content: ""; position: absolute; z-index: -1; right: -70px; top: -60px; width: 380px; height: 380px;
  background: url(/img/doomeris_icon.jpg) center / cover no-repeat; opacity: .1; mix-blend-mode: screen; filter: blur(1px); pointer-events: none;
  
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, rgba(0,0,0,.55) 62%, transparent 92%);
  mask-image: radial-gradient(closest-side, #000 40%, rgba(0,0,0,.55) 62%, transparent 92%); }
.hm-logo { width: 132px; height: 132px; flex: none; object-fit: cover; border: 1px solid rgba(61,220,99,.5);
  box-shadow: 0 0 46px rgba(0,0,0,.7); }
.hm-hi { margin: 0 0 2px; color: var(--brand-hi); font-size: 17px; line-height: 26px; font-weight: 700; letter-spacing: .3px; }
.hm-hero h1 { font-size: 56px; line-height: 67px; letter-spacing: 1px; color: #fff; }
.hm-role { margin: 8px 0 12px; color: var(--ink); font-size: 20px; line-height: 31px; font-weight: 700; }
.hm-hero .hm-socials { margin: 0 0 18px; }
.hm-intro { margin: 0; max-width: 720px; color: var(--dim); font-size: 17px; line-height: 26px; }
.hm-hero .actions { margin-top: 22px; }

.hm-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.hm-head h2 { position: relative; padding-left: 16px; font-size: 24px; line-height: 29px; color: #fff; }
.hm-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--brand); box-shadow: 0 0 12px rgba(61,220,99,.5); }
.hm-sub { max-width: 820px; margin: 0 0 18px 16px; color: var(--dim); line-height: 25px; }

.hm-tool { display: flex; align-items: center; gap: 18px; padding: 12px 18px 12px 12px; background: var(--inner); border: 1px solid rgba(120,214,214,.14);
  color: var(--ink); transition: border-color .15s, background .15s;
  box-shadow: inset 0 1px 0 rgba(160,240,230,.06), 0 20px 50px rgba(0,0,0,.35); }
.hm-tool:hover, .hm-tool:focus-visible { border-color: var(--brand); color: var(--ink); outline: none;
  background: linear-gradient(90deg, rgba(61,220,99,.08), rgba(61,220,99,0) 70%), var(--inner); }
.hm-tool-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.hm-tool-text > b { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 18px; line-height: 1.25; }
.hm-tool-text > span { color: var(--dim); font-size: 14px; line-height: 1.45; }
.hm-all { min-height: 96px; padding-left: 22px; border-color: rgba(61,220,99,.3);
  background: linear-gradient(90deg, rgba(61,220,99,.06), rgba(61,220,99,0) 80%), var(--inner); }
.hm-all .hm-tool-text > b { color: var(--brand-hi); }
.hm-all .hm-go { flex: none; width: 26px; height: 26px; fill: var(--brand); transition: transform .15s; }
.hm-all:hover .hm-go { transform: translateX(3px); }

.hm-tool, .hm-tool:hover, .hm-tool:focus-visible { background-clip: padding-box; }

.hm-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-left: 16px; }
.hm-socials .social-card { gap: 0; height: 54px; padding: 0 15px; }
.hm-socials .social-card svg { width: 22px; height: 22px; }
.hm-socials .social-card::before { left: 12px; width: 28px; height: 24px; margin-top: -8px; }

.hm-socials .social-text { display: grid; grid-template-columns: 0fr; margin-left: 0;
  transition: grid-template-columns .42s cubic-bezier(.65,0,.25,1), margin-left .42s cubic-bezier(.65,0,.25,1); }

.hm-socials .social-text > * { min-width: 0; overflow: hidden; overflow: clip; overflow-clip-margin: 14px; white-space: nowrap;
  opacity: 0; transform: translateX(-12px); filter: blur(6px);
  transition: opacity .1s ease-in, transform .1s ease-in, filter .1s ease-in, color .2s; }
.hm-socials .social-card.is-open .social-text, .hm-socials .social-card:focus-visible .social-text, .hm-socials .social-card.is-live .social-text {
  grid-template-columns: 1fr; margin-left: 10px; }
.hm-socials .social-card.is-open .social-text > *, .hm-socials .social-card:focus-visible .social-text > *, .hm-socials .social-card.is-live .social-text > * {
  opacity: 1; transform: none; filter: blur(0);
  transition: opacity .25s ease .11s, transform .31s cubic-bezier(.16,1,.3,1) .11s, filter .25s ease .11s, color .2s; }
.hm-socials .social-card.is-open .social-text > span, .hm-socials .social-card:focus-visible .social-text > span, .hm-socials .social-card.is-live .social-text > span {
  transition-delay: .16s, .16s, .16s, 0s; }
.hm-socials .social-text b { font-size: 15px; }
.hm-socials .social-card .social-text b { animation-name: hm-glow; }   
@keyframes hm-glow {
  0%, 100% { text-shadow: 0 0 4px var(--c), 0 0 8px color-mix(in srgb, var(--c) 50%, transparent); }
  50% { text-shadow: 0 0 6px var(--c), 0 0 12px color-mix(in srgb, var(--c) 80%, transparent); }
}
.hm-socials .social-text span { font-size: 12px; }
.hm-socials .social-card.is-live::after { top: -9px; right: -6px; }

.home .business .lead { margin-bottom: 14px; }

@media (max-width: 760px) {
  .hm-hero { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 24px; padding: 26px 18px 24px; }
  .hm-hero::after { right: -90px; top: -50px; width: 260px; height: 260px; }
  .hm-logo { width: 88px; height: 88px; }
  .hm-hero h1 { font-size: 40px; line-height: 48px; }
  .hm-role { font-size: 18px; line-height: 28px; }
  .hm-head h2 { font-size: 22px; line-height: 26px; }
  .hm-sub, .hm-socials { margin-left: 0; }
  .hm-socials { gap: 6px; }
  .hm-socials .social-card { height: 42px; padding: 0 9px; }
  .hm-socials .social-card::before { left: 6px; }
  .hm-tool { gap: 14px; padding: 10px 12px 10px 16px; }
  .hm-tool-text > b { font-size: 16px; }
  .hm-tool-text > span { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) { .hm-all .hm-go { transition: none; } }
