:root {
  --dlr-bg: #030713;
  --dlr-text: #f8fbff;
  --dlr-muted: #d7e4f6;
  --dlr-blue: 35, 137, 255;
  --dlr-cyan: #54d6ff;
  --dlr-violet: 126, 77, 255;
  --dlr-violet-line: #a078ff;
  --dlr-orange: 255, 111, 20;
  --dlr-orange-line: #ffae54;
}

html,
body.dlrsc-gateway-body {
  width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--dlr-bg) !important;
}

body.dlrsc-gateway-body {
  overflow: hidden !important;
  color: var(--dlr-text) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

.dlrsc-gateway,
.dlrsc-gateway * {
  box-sizing: border-box;
}

.dlrsc-gateway a {
  color: inherit;
}

.dlrsc-gateway {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  grid-template-columns: clamp(126px, 12.4vw, 190px) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) clamp(22px, 3.1svh, 34px);
  column-gap: clamp(14px, 2.05vw, 36px);
  padding: clamp(12px, 2.2svh, 28px) clamp(28px, 4.6vw, 82px) clamp(8px, 1.3svh, 16px) clamp(32px, 4.5vw, 78px);
  background:
    radial-gradient(circle at 8% 49%, rgba(50, 137, 255, .30), transparent 32%),
    radial-gradient(circle at 92% 78%, rgba(255, 105, 21, .15), transparent 32%),
    radial-gradient(circle at 60% 48%, rgba(110, 77, 255, .13), transparent 36%),
    linear-gradient(135deg, #05142a 0%, #030916 42%, #040711 100%);
}

.dlrsc-bg,
.dlrsc-bg span {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.dlrsc-grid {
  opacity: .38;
  background-image:
    linear-gradient(rgba(75, 155, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75, 155, 255, .13) 1px, transparent 1px);
  background-size: clamp(56px, 5.4vw, 94px) clamp(56px, 5.4vw, 94px);
  mask-image: radial-gradient(circle at 52% 45%, #000 0%, rgba(0,0,0,.88) 53%, transparent 94%);
}

.dlrsc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,7,19,.96), transparent 15%, transparent 82%, rgba(3,7,19,.94)),
    linear-gradient(180deg, rgba(3,7,19,.36), transparent 48%, rgba(3,7,19,.72));
}

.dlrsc-glow {
  border-radius: 999px;
  filter: blur(24px);
}

.dlrsc-glow-blue {
  width: 38vw;
  height: 38vw;
  left: -19vw;
  top: 20vh;
  background: radial-gradient(circle, rgba(39, 130, 255, .34), transparent 66%);
}

.dlrsc-glow-violet {
  width: 34vw;
  height: 34vw;
  right: 20vw;
  top: 16vh;
  background: radial-gradient(circle, rgba(121, 80, 255, .13), transparent 67%);
}

.dlrsc-glow-orange {
  width: 34vw;
  height: 34vw;
  right: -13vw;
  bottom: -12vh;
  background: radial-gradient(circle, rgba(255, 107, 12, .18), transparent 70%);
}

.dlrsc-header {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  padding-top: clamp(26px, 6.2svh, 70px);
  z-index: 4;
}

.dlrsc-master-logo {
  display: block;
  width: clamp(110px, 8.0vw, 156px);
  line-height: 0;
  text-decoration: none;
  opacity: .98;
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,.74))
    drop-shadow(0 0 21px rgba(185, 218, 255, .31));
  transition: transform .22s ease, filter .22s ease, opacity .22s ease;
}

.dlrsc-master-logo:hover,
.dlrsc-master-logo:focus-visible {
  transform: translateY(-1px) scale(1.015);
  opacity: 1;
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,.94))
    drop-shadow(0 0 27px rgba(185, 218, 255, .45));
  outline: none;
}

.dlrsc-master-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.dlrsc-stage {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.dlrsc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.dlrsc-card-stack {
  width: min(1246px, 100%);
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.2svh, 24px);
}

.dlrsc-card {
  --accent: var(--dlr-blue);
  --line: var(--dlr-cyan);
  position: relative;
  isolation: isolate;
  height: clamp(145px, 19.7svh, 178px);
  min-height: 145px;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 25%) minmax(0, 34%) minmax(0, 41%);
  align-items: stretch;
  overflow: hidden;
  border-radius: clamp(14px, 1.1vw, 20px);
  border: 1px solid rgba(var(--accent), .92);
  color: var(--dlr-text);
  text-decoration: none;
  cursor: pointer;
  background:
    linear-gradient(112deg, rgba(var(--accent), .17), rgba(16, 26, 49, .76) 29%, rgba(8, 13, 27, .96) 63%, rgba(5, 10, 20, .97));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.045) inset,
    0 0 24px rgba(var(--accent), .27),
    0 20px 48px rgba(0,0,0,.34);
  transform: translateZ(0);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, filter .22s ease;
}

.dlrsc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 50%, rgba(255,255,255,.14), transparent 33%),
    linear-gradient(90deg, rgba(255,255,255,.058), transparent 24%, transparent 74%, rgba(255,255,255,.032));
  opacity: .96;
}

.dlrsc-card::after {
  content: "";
  position: absolute;
  top: -12%;
  bottom: -12%;
  left: 62.4%;
  width: 2px;
  z-index: 5;
  transform: skewX(-14deg);
  background: linear-gradient(180deg, transparent, var(--line), transparent);
  box-shadow: 0 0 22px rgba(var(--accent), .80);
  opacity: .80;
}

.dlrsc-card-reality {
  --accent: var(--dlr-violet);
  --line: var(--dlr-violet-line);
}

.dlrsc-card-products {
  --accent: var(--dlr-orange);
  --line: var(--dlr-orange-line);
}

.dlrsc-card-logo,
.dlrsc-card-copy,
.dlrsc-card-visual {
  min-width: 0;
  min-height: 0;
}

.dlrsc-card-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.75svh, 24px) clamp(18px, 1.9vw, 30px);
  border-right: 1px solid rgba(255,255,255,.11);
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.085), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}

.dlrsc-card-logo::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 45%, rgba(var(--accent), .14), rgba(255,255,255,.018) 54%, transparent 76%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.045);
  pointer-events: none;
}

.dlrsc-card-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(80%, 220px);
  max-height: 100%;
  object-fit: contain;
  filter:
    brightness(1.12) contrast(1.16) saturate(1.08)
    drop-shadow(0 0 2px rgba(255,255,255,.96))
    drop-shadow(0 0 20px rgba(var(--accent), .56));
  opacity: 1;
  transition: transform .24s ease, filter .24s ease, opacity .24s ease;
}

.dlrsc-card-copy {
  align-self: center;
  display: block;
  padding: clamp(14px, 1.9svh, 24px) clamp(24px, 2.5vw, 42px);
}

.dlrsc-card-title,
.dlrsc-card-desc {
  display: block;
}

.dlrsc-card-title {
  margin: 0 0 clamp(6px, .75svh, 10px);
  color: #fff;
  font-weight: 950;
  letter-spacing: -.047em;
  line-height: .96;
  text-transform: uppercase;
  font-size: clamp(25px, 2.05vw, 38px);
  text-shadow: 0 1px 0 rgba(255,255,255,.10), 0 14px 28px rgba(0,0,0,.38);
}

.dlrsc-card-desc {
  max-width: 372px;
  color: var(--dlr-muted);
  font-size: clamp(10.4px, .74vw, 12.8px);
  line-height: 1.27;
  font-weight: 640;
  letter-spacing: -.01em;
}

.dlrsc-card-visual {
  position: relative;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
  background: rgba(3, 7, 16, .48);
}

.dlrsc-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.015);
  transition: transform .42s ease, filter .42s ease;
}

.dlrsc-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 9, 21, .82), rgba(4, 9, 21, .31) 30%, rgba(4, 9, 21, .02) 100%),
    radial-gradient(circle at 83% 34%, rgba(255,255,255,.12), transparent 20%);
}

.dlrsc-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.055), inset 0 0 42px rgba(var(--accent), .11);
}

.dlrsc-card:hover,
.dlrsc-card:focus-visible {
  transform: translateY(-3px) scale(1.004);
  border-color: rgba(var(--accent), 1);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.055) inset,
    0 0 35px rgba(var(--accent), .43),
    0 28px 64px rgba(0,0,0,.43);
  outline: none;
}

.dlrsc-card:hover .dlrsc-card-logo img,
.dlrsc-card:focus-visible .dlrsc-card-logo img {
  transform: translateY(-2px) scale(1.03);
  opacity: 1;
  filter:
    brightness(1.15) contrast(1.18) saturate(1.1)
    drop-shadow(0 0 2px rgba(255,255,255,.98))
    drop-shadow(0 0 24px rgba(var(--accent), .66));
}

.dlrsc-card:hover .dlrsc-card-visual img,
.dlrsc-card:focus-visible .dlrsc-card-visual img {
  transform: scale(1.048);
  filter: saturate(1.08) contrast(1.04);
}

.dlrsc-footer {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  color: rgba(219, 231, 248, .78);
  font-size: clamp(10.5px, .72vw, 12.5px);
  font-weight: 650;
  line-height: 1.2;
  position: relative;
  z-index: 4;
}

.dlrsc-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 850;
}

.dlrsc-footer a:hover { color: #fff; }

@media (max-height: 780px) and (min-width: 1051px) {
  .dlrsc-gateway {
    min-height: 590px;
    padding-top: clamp(8px, 1.5svh, 16px);
    padding-bottom: 7px;
    grid-template-rows: minmax(0, 1fr) 22px;
  }

  .dlrsc-header { padding-top: clamp(22px, 5.2svh, 46px); }
  .dlrsc-master-logo { width: clamp(102px, 7.2vw, 138px); }
  .dlrsc-card-stack { width: min(1210px, 100%); gap: clamp(13px, 1.85svh, 19px); }
  .dlrsc-card { height: clamp(136px, 18.4svh, 160px); min-height: 136px; }
  .dlrsc-card-title { font-size: clamp(23px, 1.78vw, 32px); }
  .dlrsc-card-desc { font-size: clamp(9.8px, .68vw, 11.6px); line-height: 1.22; max-width: 306px; }
  .dlrsc-card-logo img { width: min(78%, 194px); max-height: 100%; }
  .dlrsc-card-copy { padding: 10px clamp(18px, 2vw, 30px); }
}

@media (max-width: 1280px) and (min-width: 1051px) {
  .dlrsc-gateway {
    grid-template-columns: 138px minmax(0, 1fr);
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 1050px) {
  body.dlrsc-gateway-body { overflow-y: auto !important; overflow-x: hidden !important; }
  .dlrsc-gateway {
    height: auto;
    min-height: 100svh;
    overflow: visible;
    display: block;
    padding: 24px clamp(16px, 4vw, 30px) 24px;
  }

  .dlrsc-header {
    padding-top: 0;
    margin-bottom: 20px;
  }

  .dlrsc-master-logo { width: 124px; }

  .dlrsc-stage {
    display: block;
    padding-top: 0;
  }

  .dlrsc-card-stack {
    width: 100%;
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-rows: none;
    gap: 18px;
  }

  .dlrsc-card {
    height: auto;
    min-height: 0;
    grid-template-columns: minmax(164px, 28%) minmax(0, 1fr);
    grid-template-rows: auto 210px;
  }

  .dlrsc-card::after { display: none; }

  .dlrsc-card-logo { min-height: 218px; padding: 18px 20px; }
  .dlrsc-card-logo img { width: min(82%, 226px); max-height: 100%; }

  .dlrsc-card-copy { padding: 28px 28px 30px; }
  .dlrsc-card-title { font-size: clamp(30px, 5vw, 48px); }
  .dlrsc-card-desc { max-width: 620px; font-size: 15px; line-height: 1.3; }

  .dlrsc-card-visual {
    grid-column: 1 / -1;
    grid-row: 2;
    clip-path: none;
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .dlrsc-footer {
    margin-top: 22px;
    min-height: 32px;
  }
}

@media (max-width: 680px) {
  .dlrsc-gateway { padding: 18px 14px 22px; }
  .dlrsc-master-logo { width: 108px; }

  .dlrsc-card {
    display: block;
    border-radius: 18px;
  }

  .dlrsc-card-logo {
    min-height: 148px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 16px 18px 10px;
  }

  .dlrsc-card-logo::before {
    inset: 12px;
    border-radius: 16px;
  }

  .dlrsc-card-logo img {
    width: min(78%, 224px);
    max-height: 100%;
  }

  .dlrsc-card-copy { padding: 22px 20px 24px; }
  .dlrsc-card-title { font-size: 30px; }
  .dlrsc-card-desc { font-size: 14px; max-width: none; line-height: 1.32; }

  .dlrsc-card-visual {
    height: clamp(230px, 54vw, 270px);
  }

  .dlrsc-card-development .dlrsc-card-visual img {
    object-position: center 50%;
  }

  .dlrsc-card-reality .dlrsc-card-visual img {
    object-position: center 42%;
  }

  .dlrsc-card-products .dlrsc-card-visual img {
    object-position: 68% center;
  }

  .dlrsc-footer {
    display: block;
    line-height: 1.65;
    font-size: 12px;
  }

  .dlrsc-footer span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dlrsc-master-logo,
  .dlrsc-card,
  .dlrsc-card-logo img,
  .dlrsc-card-visual img {
    transition: none;
  }
}


/* v12 mobile visual polish */
@media (max-width: 680px) {
  .dlrsc-card-logo {
    min-height: 148px;
    padding: 16px 18px 10px;
  }

  .dlrsc-card-logo img {
    width: min(78%, 224px);
    max-height: 100%;
  }

  .dlrsc-card-visual {
    height: clamp(230px, 54vw, 270px);
  }

  .dlrsc-card-development .dlrsc-card-visual img {
    object-position: center 50%;
  }

  .dlrsc-card-reality .dlrsc-card-visual img {
    object-position: center 42%;
  }

  .dlrsc-card-products .dlrsc-card-visual img {
    object-position: 68% center;
  }
}


/* v13 strong mobile visual layout
   Mobile order is intentionally: logo -> photo -> text.
   This makes the project/product photo visible before the text block and avoids tiny cropped visuals. */
@media (max-width: 680px) {
  .dlrsc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .dlrsc-card-logo {
    order: 1;
    min-height: 132px;
    padding: 14px 18px 10px;
  }

  .dlrsc-card-logo::before {
    inset: 12px;
  }

  .dlrsc-card-logo img {
    width: min(76%, 218px);
    max-height: 100%;
  }

  .dlrsc-card-visual {
    order: 2;
    height: clamp(236px, 58vw, 286px);
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
      radial-gradient(circle at 50% 50%, rgba(var(--accent), .10), transparent 66%),
      rgba(3, 7, 16, .55);
  }

  .dlrsc-card-visual img {
    object-fit: contain;
    object-position: center center;
    transform: none;
    filter: saturate(1.05) contrast(1.03);
  }

  .dlrsc-card-visual::before {
    background:
      linear-gradient(90deg, rgba(4, 9, 21, .20), rgba(4, 9, 21, .05) 35%, rgba(4, 9, 21, .02) 100%),
      radial-gradient(circle at 83% 34%, rgba(255,255,255,.08), transparent 24%);
  }

  .dlrsc-card-copy {
    order: 3;
    padding: 22px 20px 24px;
  }

  .dlrsc-card:hover .dlrsc-card-visual img,
  .dlrsc-card:focus-visible .dlrsc-card-visual img {
    transform: none;
  }
}


/* v14 mobile gap fix: tighter logo block, photo starts closer under logo */
@media (max-width: 680px) {
  .dlrsc-card-logo {
    min-height: 112px;
    padding: 10px 18px 6px;
  }

  .dlrsc-card-logo::before {
    inset: 8px 12px;
  }

  .dlrsc-card-logo img {
    width: min(66%, 196px);
    max-height: 100%;
  }

  .dlrsc-card-visual {
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }
}
