/* Pallas Ventures visual identity layer.
   Purpose: add proprietary visual anchors without decorative UI theatre,
   stock imagery or fake interaction. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  width: min(58vw, 720px);
  aspect-ratio: 1;
  top: clamp(24px, 3vw, 54px);
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(201, 164, 95, .12);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(201,164,95,.10) 50%, transparent calc(50% + .5px)),
    linear-gradient(transparent calc(50% - .5px), rgba(201,164,95,.10) 50%, transparent calc(50% + .5px)),
    radial-gradient(circle, rgba(201,164,95,.075) 0 1px, transparent 1.5px) 50% 50% / 38px 38px;
  opacity: .72;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(32vw, 390px);
  aspect-ratio: 1;
  top: clamp(120px, 13vw, 190px);
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid rgba(201, 164, 95, .14);
  box-shadow: 0 0 80px rgba(201,164,95,.025) inset;
}

.hero-main,
.portfolio-index {
  position: relative;
  z-index: 1;
}

.hero-insignia {
  width: 54px;
  height: 54px;
  margin: 0 auto 26px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  transform: rotate(45deg);
  background: rgba(5,5,5,.68);
}

.hero-insignia::before,
.hero-insignia::after {
  content: "";
  position: absolute;
  background: var(--gold);
  opacity: .72;
}

.hero-insignia::before { width: 1px; height: 72px; }
.hero-insignia::after { width: 72px; height: 1px; }

.hero-insignia span {
  transform: rotate(-45deg);
  color: var(--gold-bright);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.05em;
}

.statement-wrap {
  position: relative;
  overflow: hidden;
}

.statement-wrap::after {
  content: "OPERATING IDEA";
  position: absolute;
  right: var(--gutter);
  bottom: -0.18em;
  color: rgba(243,240,232,.022);
  font-family: var(--display);
  font-size: clamp(70px, 11vw, 166px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .78;
  white-space: nowrap;
  pointer-events: none;
}

.venture {
  isolation: isolate;
}

.venture-art {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-block: 1px solid var(--line);
  background-color: rgba(255,255,255,.012);
}

.venture-art-pallas {
  height: clamp(118px, 13vw, 164px);
  margin: clamp(28px, 3.5vw, 42px) auto 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(224,186,110,.11) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(201,164,95,.16) 50%, transparent calc(50% + .5px)),
    linear-gradient(transparent calc(50% - .5px), rgba(201,164,95,.16) 50%, transparent calc(50% + .5px)),
    repeating-linear-gradient(90deg, transparent 0 68px, rgba(243,240,232,.045) 68px 69px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(243,240,232,.038) 38px 39px);
}

.venture-art-pallas::before {
  content: "CORE";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(5,5,5,.82);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: .16em;
}

.venture-art-pallas::after {
  content: "SOURCE OF TRUTH     →     AUTOMATION     →     COMPLIANCE     →     OPERATIONS";
  position: absolute;
  left: 50%;
  bottom: 11px;
  transform: translateX(-50%);
  width: calc(100% - 30px);
  overflow: hidden;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
  text-align: center;
  white-space: nowrap;
}

.venture-secondary {
  position: relative;
}

.venture-secondary::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: .48;
}

.venture-secondary[data-product="chessmenow"]::after {
  width: 160px;
  height: 160px;
  right: -34px;
  top: 55px;
  transform: rotate(10deg);
  border: 1px solid rgba(201,164,95,.13);
  background:
    conic-gradient(from 90deg, rgba(201,164,95,.075) 25%, transparent 0 50%, rgba(201,164,95,.075) 0 75%, transparent 0) 0 0 / 40px 40px;
}

.venture-secondary[data-product="olive-bonsai"]::after {
  width: 188px;
  height: 188px;
  right: -42px;
  top: 44px;
  border: 1px solid rgba(201,164,95,.11);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 42% 25%, rgba(201,164,95,.11) 0 12%, transparent 13%),
    radial-gradient(ellipse at 60% 42%, rgba(201,164,95,.08) 0 10%, transparent 11%),
    radial-gradient(ellipse at 38% 61%, rgba(201,164,95,.09) 0 11%, transparent 12%),
    linear-gradient(72deg, transparent 49%, rgba(201,164,95,.15) 50%, transparent 51%);
  transform: rotate(-17deg);
}

.venture-secondary .venture-meta,
.venture-secondary .venture-secondary-body {
  position: relative;
  z-index: 1;
}

#system {
  position: relative;
}

.system-map {
  width: min(100%, 760px);
  margin: clamp(38px, 5vw, 58px) auto 0;
}

.system-map-orbit {
  position: relative;
  width: min(72vw, 560px);
  aspect-ratio: 1;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(243,240,232,.055) 50%, transparent calc(50% + .5px)),
    linear-gradient(transparent calc(50% - .5px), rgba(243,240,232,.055) 50%, transparent calc(50% + .5px));
}

.system-map-orbit::before,
.system-map-orbit::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(201,164,95,.12);
  border-radius: 50%;
}

.system-map-orbit::after {
  inset: 31%;
  border-color: rgba(201,164,95,.22);
}

.system-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 116px;
  height: 116px;
  transform: translate(-50%, -50%);
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 50px rgba(201,164,95,.045);
}

.system-core strong {
  color: var(--text);
  font-size: 13px;
  letter-spacing: .12em;
}

.system-core span {
  margin-top: 5px;
  color: var(--gold-bright);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: .18em;
}

.system-node {
  position: absolute;
  z-index: 3;
  min-width: 112px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  background: rgba(5,5,5,.94);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .06em;
  text-align: center;
}

.system-node:nth-of-type(1) { left: 50%; top: -17px; transform: translateX(-50%); }
.system-node:nth-of-type(2) { right: -35px; top: 28%; }
.system-node:nth-of-type(3) { right: 2%; bottom: 8%; }
.system-node:nth-of-type(4) { left: 2%; bottom: 8%; }
.system-node:nth-of-type(5) { left: -35px; top: 28%; }

.principle {
  position: relative;
  overflow: hidden;
}

.principle::after {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(243,240,232,.026);
  font-family: var(--display);
  font-size: clamp(68px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: 1;
  pointer-events: none;
}

.principle:nth-child(1)::after { content: "01"; }
.principle:nth-child(2)::after { content: "02"; }
.principle:nth-child(3)::after { content: "03"; }
.principle:nth-child(4)::after { content: "04"; }

.update-card {
  position: relative;
  overflow: hidden;
}

.update-card::after {
  content: attr(data-watermark);
  position: absolute;
  right: 0;
  bottom: -0.18em;
  color: rgba(243,240,232,.025);
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 680;
  letter-spacing: -.06em;
  pointer-events: none;
}

.update-meta,
.update-body {
  position: relative;
  z-index: 1;
}

#about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#about::before {
  content: "P";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  color: rgba(201,164,95,.035);
  font-family: var(--display);
  font-size: min(46vw, 520px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.1em;
}

.site-footer {
  position: relative;
  overflow: hidden;
  min-height: 210px;
}

.footer-signature {
  width: 100%;
  margin-bottom: 8px;
  color: rgba(243,240,232,.055);
  font-family: var(--display);
  font-size: clamp(44px, 7.3vw, 104px);
  font-weight: 650;
  letter-spacing: -.065em;
  line-height: .9;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero::before {
    width: 620px;
    top: 28px;
    opacity: .48;
  }

  .hero::after {
    width: 310px;
    top: 125px;
  }

  .hero-insignia {
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
  }

  .hero-insignia::before { height: 62px; }
  .hero-insignia::after { width: 62px; }

  .venture-art-pallas {
    height: 112px;
    margin-top: 26px;
  }

  .venture-art-pallas::before {
    width: 58px;
    height: 58px;
    font-size: 8px;
  }

  .venture-art-pallas::after {
    content: "SOURCE → AUTOMATE → OPERATE";
    font-size: 7px;
  }

  .venture-secondary[data-product="chessmenow"]::after,
  .venture-secondary[data-product="olive-bonsai"]::after {
    opacity: .32;
    transform: scale(.82) rotate(8deg);
    transform-origin: top right;
  }

  .system-map {
    margin-top: 34px;
  }

  .system-map-orbit {
    width: min(82vw, 390px);
  }

  .system-core {
    width: 94px;
    height: 94px;
  }

  .system-node {
    min-width: 88px;
    padding: 8px 9px;
    font-size: 8.5px;
  }

  .system-node:nth-of-type(1) { top: -15px; }
  .system-node:nth-of-type(2) { right: -21px; top: 28%; }
  .system-node:nth-of-type(3) { right: -1%; bottom: 5%; }
  .system-node:nth-of-type(4) { left: -1%; bottom: 5%; }
  .system-node:nth-of-type(5) { left: -21px; top: 28%; }

  .principle::after {
    right: 0;
    opacity: .7;
  }

  .update-card::after {
    right: -8px;
    font-size: 56px;
  }

  .site-footer {
    min-height: 180px;
  }

  .footer-signature {
    font-size: clamp(38px, 12vw, 64px);
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .system-map-orbit {
    width: min(78vw, 300px);
  }

  .system-node {
    min-width: 78px;
    font-size: 7.5px;
    letter-spacing: .035em;
  }

  .system-node:nth-of-type(2) { right: -13px; }
  .system-node:nth-of-type(5) { left: -13px; }
}
