/* =========================================================
   RED GLOBAL NEW AGE
   Landing page — responsive / no framework
   ========================================================= */

:root {
  --bg: #070809;
  --bg-soft: #0b0d0f;
  --panel: #101316;
  --text: #f1f3f5;
  --muted: #a7adb3;
  --line: rgba(255,255,255,.10);
  --red: #ff2028;
  --red-dark: #c40e16;
  --max: 1180px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

/* Header -------------------------------------------------- */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  background: rgba(5, 7, 8, .88);
  border-bottom: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 220px;
}

.brand-mark {
  position: relative;
  width: 42px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-weight: 900;
  font-size: 35px;
  line-height: 1;
  font-style: italic;
  transform: skew(-7deg);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 5px;
  width: 27px;
  height: 7px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 4px;
  width: 27px;
  height: 7px;
  background: var(--red);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.mark-r {
  position: relative;
  z-index: 1;
  font-family: Arial, sans-serif;
}

.brand-text {
  display: grid;
  line-height: 1;
  gap: 5px;
}

.brand-text strong {
  color: var(--red);
  font-size: 25px;
  letter-spacing: .12em;
}

.brand-text span {
  color: #dfe3e7;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .19em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav a {
  position: relative;
  padding: 28px 0;
  color: #e3e6e8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: color .25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform .25s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 4px auto;
  background: #fff;
}

/* Hero ---------------------------------------------------- */

.hero {
  position: relative;
  min-height: 690px;
  height: min(100vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3,4,5,.98) 0%, rgba(3,4,5,.82) 35%, rgba(3,4,5,.25) 70%, rgba(3,4,5,.35) 100%),
    linear-gradient(0deg, rgba(3,4,5,.7), transparent 45%),
    url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=2200&q=88")
    center / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 75% 45%, rgba(255,32,40,.12), transparent 25%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.55));
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  padding-top: 76px;
}

.hero-copy {
  max-width: 670px;
}

.eyebrow {
  color: #fff;
  font-size: clamp(38px, 5vw, 63px);
  line-height: .95;
  letter-spacing: .02em;
  font-weight: 400;
}

.brand-eyebrow span {
  color: var(--red);
  font-weight: 800;
  letter-spacing: .02em;
}

.micro-label {
  margin: 17px 0 42px;
  color: #d4d8dc;
  font-size: 10px;
  letter-spacing: .42em;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 800;
}

em {
  color: var(--red);
  font-style: normal;
}

.hero-description {
  max-width: 510px;
  margin: 26px 0 34px;
  color: #d2d6da;
  font-size: 16px;
  line-height: 1.65;
}

.button {
  min-width: 248px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 17px 23px;
  border: 1px solid var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  transition:
    background .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
}

.button span {
  font-size: 20px;
  line-height: 0;
  letter-spacing: 0;
}

.button:hover {
  background: var(--red);
  box-shadow: 0 0 32px rgba(255,32,40,.2);
  transform: translateY(-2px);
}

.hero-side-note {
  width: 150px;
  padding-left: 17px;
  border-left: 2px solid var(--red);
  display: grid;
  gap: 4px;
  color: #d8dce0;
  font-size: 10px;
  line-height: 1.65;
  letter-spacing: .25em;
}

.hero-side-note span:first-child {
  color: #fff;
}

/* Sections ------------------------------------------------ */

.section-dark {
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.025), transparent 30%),
    var(--bg-soft);
}

.section-black {
  background: #050607;
}

.solutions {
  padding: 104px 0 112px;
}

.section-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.section-kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px;
  color: #aeb4b9;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .32em;
}

.section-kicker i {
  width: 64px;
  height: 1px;
  display: inline-block;
  background: var(--red);
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 49px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.section-intro p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 195px;
  padding: 34px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}

.service-card:hover {
  background: rgba(255,255,255,.025);
}

.icon {
  width: 34px;
  height: 34px;
  margin-bottom: 21px;
  display: grid;
  place-items: center;
  color: var(--red);
  font-size: 27px;
  font-weight: 300;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .06em;
}

.service-card p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* About / globe ------------------------------------------- */

.about {
  padding: 112px 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.about-copy {
  max-width: 560px;
}

.about-copy .section-kicker {
  margin-bottom: 20px;
}

.about h2 {
  margin: 0 0 24px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -.045em;
}

.about-copy > p {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.benefit {
  min-height: 105px;
  padding: 20px 12px 0 0;
  border-right: 1px solid var(--line);
}

.benefit:not(:first-child) {
  padding-left: 18px;
}

.benefit:last-child {
  border-right: 0;
}

.benefit-icon {
  display: block;
  margin-bottom: 9px;
  color: var(--red);
  font-size: 25px;
  line-height: 1;
}

.benefit strong {
  color: #dfe2e5;
  font-size: 8px;
  line-height: 1.55;
  letter-spacing: .11em;
}

.globe-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.globe {
  position: relative;
  width: min(520px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 35%, rgba(255,55,60,.20), transparent 28%),
    radial-gradient(circle at 45% 40%, #171b1f, #080a0c 67%);
  box-shadow:
    inset -45px -35px 80px rgba(0,0,0,.9),
    inset 25px 20px 55px rgba(255,255,255,.025),
    0 0 80px rgba(255,32,40,.06);
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,32,40,.2);
  border-radius: 50%;
  inset: 8%;
}

.globe::after {
  inset: 22% 7%;
  transform: rotate(-20deg);
}

.globe-grid {
  position: absolute;
  inset: -5%;
  opacity: .55;
  background:
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(255,255,255,.05) 35px 36px),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255,255,255,.04) 35px 36px);
  border-radius: 50%;
  transform: rotate(-12deg) scale(1.15);
}

.node {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 13px 4px rgba(255,32,40,.42);
}

.n1 { left: 31%; top: 30%; }
.n2 { left: 56%; top: 24%; }
.n3 { left: 67%; top: 49%; }
.n4 { left: 44%; top: 63%; }
.n5 { left: 25%; top: 55%; }

.arc {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255,32,40,.55);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
}

.arc-1 {
  width: 65%;
  height: 38%;
  left: 16%;
  top: 29%;
  transform: rotate(25deg);
}

.arc-2 {
  width: 48%;
  height: 72%;
  left: 26%;
  top: 11%;
  transform: rotate(-28deg);
}

.arc-3 {
  width: 82%;
  height: 30%;
  left: 8%;
  top: 40%;
  transform: rotate(-12deg);
}

/* Contact ------------------------------------------------- */

.contact-cta {
  position: relative;
  min-height: 400px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.cta-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=2200&q=85")
    center / cover no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3,4,5,.93), rgba(3,4,5,.72), rgba(3,4,5,.93)),
    linear-gradient(0deg, rgba(3,4,5,.9), transparent);
}

.cta-content {
  padding: 90px 0;
  text-align: center;
}

.centered {
  justify-content: center;
}

.cta-content h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.cta-content p {
  max-width: 580px;
  margin: 23px auto 30px;
  color: #c4c9cd;
  font-size: 14px;
}

/* Footer -------------------------------------------------- */

.footer {
  background: #070809;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  min-height: 125px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.footer-brand strong {
  color: var(--red);
  font-size: 27px;
  letter-spacing: .08em;
}

.footer-brand span {
  color: #d5d9dc;
  font-size: 9px;
  letter-spacing: .19em;
}

.footer-wrap p {
  margin: 0;
  color: #b7bdc2;
  font-size: 9px;
  letter-spacing: .25em;
}

.footer-bottom {
  min-height: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #71787e;
  font-size: 8px;
  letter-spacing: .1em;
}

/* Small motion / accessibility --------------------------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: reveal .8s ease both;
  }

  @keyframes reveal {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

/* Responsive ---------------------------------------------- */

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    padding: 8px 24px 20px;
    background: rgba(5,7,8,.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    padding: 14px 0;
  }

  .nav a::after {
    bottom: 7px;
    width: 45px;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content {
    align-items: flex-start;
  }

  .hero-side-note {
    display: none;
  }

  .section-intro,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    gap: 25px;
  }

  .globe-art {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }

  .brand {
    min-width: auto;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .brand-text span {
    font-size: 8px;
  }

  .hero {
    min-height: 690px;
    height: auto;
  }

  .hero-image {
    background:
      linear-gradient(90deg, rgba(3,4,5,.97), rgba(3,4,5,.60)),
      url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=1600&q=85")
      64% center / cover no-repeat;
  }

  .hero-content {
    min-height: 690px;
    padding: 145px 0 75px;
  }

  .eyebrow {
    font-size: 37px;
  }

  .micro-label {
    margin-bottom: 34px;
    font-size: 8px;
    letter-spacing: .27em;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-description {
    font-size: 14px;
  }

  .solutions,
  .about {
    padding: 78px 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 175px;
    padding: 28px;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit {
    border-bottom: 1px solid var(--line);
  }

  .benefit:nth-child(2) {
    border-right: 0;
  }

  .benefit:nth-child(3),
  .benefit:nth-child(4) {
    border-bottom: 0;
  }

  .globe-art {
    min-height: 320px;
  }

  .globe {
    width: min(390px, 88vw);
  }

  .contact-cta {
    min-height: 390px;
  }

  .footer-wrap {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}
