/* Port City Processing LLC — coming soon lander.
   One fixed ground (green glow + engraved lattice + backdrop art slot) runs under the whole page;
   the hub stays pinned beside the copy on desktop. */

:root {
  --g-950: #04140d;
  --g-900: #062016;
  --g-850: #072a1c;
  --g-800: #0b3d28;
  --g-700: #11553a;
  --g-500: #1f7a52;
  --gold: #f2c94c;
  --gold-deep: #c9962b;
  --gold-light: #ffe8a3;
  --silver: #c9d1d6;
  --silver-deep: #8c979e;
  --ink: #eef2ec;
  --muted: #a7b8ad;
  --line: rgba(201, 209, 214, .14);
  --gutter: clamp(16px, 4vw, 56px);
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --foil: linear-gradient(100deg, #b07a1c 0%, #e8b437 14%, #fff1b8 24%, #f2c94c 34%, #c8921f 48%, #f5d061 62%, #fff4c4 72%, #e6b23a 84%, #b5801e 100%);
  --steel: linear-gradient(180deg, #ffffff 0%, #e3e8eb 38%, #9aa5ac 54%, #dfe5e8 72%, #f7f9fa 100%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--g-950);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- the ground ---------- */
.ground { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ground > div { position: absolute; inset: 0; }
.ground-glow {
  background:
    radial-gradient(ellipse 55% 50% at 74% 46%, rgba(31, 122, 82, .55) 0%, rgba(17, 85, 58, .28) 38%, transparent 70%),
    radial-gradient(ellipse 70% 60% at 18% 8%, rgba(242, 201, 76, .07) 0%, transparent 60%),
    radial-gradient(ellipse 120% 90% at 60% 40%, var(--g-800) 0%, var(--g-900) 52%, var(--g-950) 100%);
}
.ground-engrave {
  inset: -120px 0 0 0;
  background: url("../img/engrave.svg") 0 0 / 240px 120px repeat;
  opacity: .85;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 60% 45%, #000 20%, rgba(0, 0, 0, .35) 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 85% 75% at 60% 45%, #000 20%, rgba(0, 0, 0, .35) 70%, transparent 100%);
  transform: translate3d(0, var(--engrave-y, 0px), 0);
  will-change: transform;
}
/* Slot for the ChatGPT backdrop: set --art to url(...) on .ground-art when the art lands. */
.ground-art {
  background: var(--art, none) center / cover no-repeat;
  opacity: var(--art-opacity, .22);
  mix-blend-mode: screen;
}
.ground-sweep {
  inset: -50% -50%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 232, 163, .05) 48%, rgba(255, 232, 163, .09) 50%, rgba(255, 232, 163, .05) 52%, transparent 58%);
  animation: sweep 16s ease-in-out infinite;
}
.ground-grain {
  opacity: .14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes sweep {
  0%, 12% { transform: translate3d(-38%, 0, 0); }
  58%, 100% { transform: translate3d(38%, 0, 0); }
}

/* ---------- header ---------- */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(22px, env(safe-area-inset-top)) var(--gutter) 0;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-seal { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 4px 14px rgba(242, 201, 76, .25)); }
.brand-name {
  font-family: var(--serif); font-optical-sizing: auto;
  font-size: 15px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1.15;
  color: var(--silver);
}
.brand-name b { font-weight: 800; color: var(--gold); }
.soon-pill {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  padding: 9px 16px 9px 14px; border-radius: 999px;
  border: 1px solid rgba(242, 201, 76, .45);
  background: rgba(4, 20, 13, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.soon-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(242, 201, 76, .6); animation: beacon 2.4s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(242, 201, 76, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(242, 201, 76, 0); } }

/* ---------- layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "hero stage" "network stage";
  column-gap: clamp(24px, 3vw, 56px);
  padding: 0 var(--gutter);
  max-width: 1680px; margin: 0 auto;
}
.hero {
  grid-area: hero;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 0 72px;
}
.stage {
  grid-area: stage;
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; overflow: clip; /* the turning layers' square boxes must not widen the page */
}
.stage-inner { position: relative; width: min(100%, 88vh, 820px); aspect-ratio: 1 / 1; }
.stage-inner > svg, .stage-inner > .seal, .seal > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.stage-inner > .l-back, .seal { pointer-events: none; }
.network { grid-area: network; padding: 24px 0 120px; }

/* ---------- hero type ---------- */
.eyebrow {
  margin: 0 0 26px;
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; color: var(--silver);
}
.eyebrow::before { content: ""; width: 44px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
h1 {
  margin: 0;
  font-family: var(--serif); font-optical-sizing: auto;
  font-weight: 800; line-height: .98; letter-spacing: -.02em;
  font-size: clamp(50px, 6.4vw, 118px);
}
.h1-line { display: block; }
.h1-a {
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .35));
}
/* italic lines use a lower optical size: at display opsz the italic t's hairline crossbar vanished under the foil (read "conneclion") */
.h1-b { font-style: italic; font-weight: 700; margin-top: .06em; padding-bottom: .08em; font-optical-sizing: none; font-variation-settings: 'opsz' 24; }
.foil {
  background: var(--foil); background-size: 260% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 34px rgba(242, 201, 76, .28));
  animation: foil 9s ease-in-out infinite;
}
@keyframes foil { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.lede { margin: 30px 0 0; max-width: 33em; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.62; color: var(--muted); }
.hero-foot { margin-top: 38px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe59a 0%, var(--gold) 45%, #d9a531 100%);
  color: #08281a; font-weight: 800; font-size: 15px; letter-spacing: .02em; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 14px 36px -10px rgba(242, 201, 76, .55);
  transition: transform .25s cubic-bezier(.2, .9, .3, 1.3), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 20px 44px -10px rgba(242, 201, 76, .7); }
.btn:focus-visible, .card:focus-visible, .family-link a:focus-visible, .brand:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.hero-note { font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--silver-deep); }

/* ---------- network ---------- */
.kicker {
  margin: 0 0 34px;
  font-family: var(--serif); font-style: italic; font-weight: 700; font-optical-sizing: none; font-variation-settings: 'opsz' 24;
  font-size: clamp(38px, 3.6vw, 60px); line-height: 1.05;
  background: var(--foil); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.group + .group { margin-top: 44px; }
.group-title {
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: var(--silver);
}
.group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.cards { display: grid; gap: 10px; }
.card {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto 18px; align-items: center; gap: 18px;
  min-height: 72px; padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .8);
  text-decoration: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s, transform .3s cubic-bezier(.2, .9, .3, 1.2);
}
.card img { height: 24px; width: auto; max-width: 150px; object-fit: contain; object-position: left center; }
.card .role { font-size: 15px; font-weight: 600; color: var(--muted); }
.card.partner { grid-template-columns: 150px minmax(0, 1fr); }
.pname {
  font-size: 20px; font-weight: 800; letter-spacing: .01em; line-height: 1.2;
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chip { padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.chip.live { background: rgba(242, 201, 76, .13); color: var(--gold); }
.chip.soon { background: rgba(201, 209, 214, .1); color: var(--silver); }
.card .go { color: var(--silver-deep); font-weight: 700; transition: color .3s, transform .3s; }
div.card.quix { grid-template-columns: 150px minmax(0, 1fr) auto 18px; }
.card.is-on, a.card:hover {
  border-color: rgba(242, 201, 76, .55);
  background-color: rgba(242, 201, 76, .05);
  box-shadow: 0 0 0 1px rgba(242, 201, 76, .18) inset, 0 18px 46px -18px rgba(242, 201, 76, .32);
}
a.card:hover { transform: translateX(4px); }
a.card:hover .go { color: var(--gold); transform: translate(2px, -2px); }
.family-link { margin: 34px 0 0; font-size: 15px; color: var(--muted); }
.family-link a { color: var(--gold); font-weight: 700; text-decoration-color: rgba(242, 201, 76, .4); text-underline-offset: 4px; }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 26px var(--gutter) max(26px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--silver-deep);
  background: rgba(4, 20, 13, .6);
}
.foot-soon { color: var(--gold); letter-spacing: .16em; text-transform: uppercase; font-size: 11.5px; font-weight: 800; }

/* ---------- hub (SVG) ---------- */
.orbit { fill: none; stroke: rgba(201, 209, 214, .2); stroke-width: 1.2; stroke-dasharray: 2 9; }
.band { fill: none; stroke: var(--gold); stroke-width: .9; stroke-opacity: .16; }
.rosette path { fill: none; stroke: var(--gold); stroke-width: 1.05; stroke-opacity: .62; }
.rosette circle { fill: none; stroke: var(--gold); stroke-width: 1; stroke-opacity: .4; }
.ring-text { font-family: var(--serif); font-weight: 700; font-size: 17px; letter-spacing: 5px; fill: var(--gold); text-transform: uppercase; }
.core-mono { font-family: var(--serif); font-weight: 800; font-style: italic; font-size: 58px; letter-spacing: -2px; }
.spoke { stroke: rgba(201, 209, 214, .24); stroke-width: 1.6; }
.spoke-halo { stroke: var(--gold); stroke-width: 12; stroke-opacity: 0; stroke-linecap: round; transition: stroke-opacity .4s; }
.spoke-hot { stroke: var(--gold); stroke-width: 2.6; stroke-opacity: 0; stroke-linecap: round; transition: stroke-opacity .4s; }
.spoke-g.is-on .spoke-halo { stroke-opacity: .16; }
.spoke-g.is-on .spoke-hot { stroke-opacity: 1; }
.node { cursor: pointer; }
.node-pill { fill: var(--g-850); stroke: rgba(201, 209, 214, .34); stroke-width: 1.5; transition: fill .35s, stroke .35s; }
.node.is-on .node-pill { fill: var(--g-800); stroke: var(--gold); stroke-width: 2.2; }
.node.ping .node-pill { stroke: var(--gold-light); }
.node-text { font-family: var(--sans); font-weight: 800; fill: #e4eae6; letter-spacing: .5px; }
.node.is-on .node-text { fill: #fff; }
.pulse-core { fill: #fff3c4; }

/* ---------- intro ---------- */
.js .top, .js .hero > * { opacity: 0; }
.go .top { animation: fade-in .8s ease-out both; }
.go .hero > * { animation: rise 1s cubic-bezier(.16, 1, .3, 1) both; }
.go .hero > :nth-child(2) { animation-delay: .08s; }
.go .hero > :nth-child(3) { animation-delay: .5s; }
.go .hero > :nth-child(4) { animation-delay: .62s; }
.go .h1-b .foil { animation: flash 1.6s .75s cubic-bezier(.3, .7, .2, 1) both, foil 9s 2.4s ease-in-out infinite; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes flash { 0% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ---------- smaller screens ---------- */
@media (max-width: 999px) {
  .layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "stage" "network"; }
  .hero { min-height: 0; padding: 132px 0 28px; }
  .stage { position: relative; height: auto; grid-row: auto; }
  .stage-inner { width: min(100%, 620px); }
  .network { padding-top: 40px; }
  h1 { font-size: clamp(46px, 10vw, 96px); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand-seal { width: 40px; height: 40px; }
  .brand-name { font-size: 12px; letter-spacing: .18em; }
  .brand-name span { display: block; }
  .soon-pill { padding: 8px 12px 8px 11px; font-size: 10.5px; letter-spacing: .14em; }
  .hero { padding-top: 116px; }
  .eyebrow { font-size: 11px; letter-spacing: .26em; margin-bottom: 20px; }
  .eyebrow::before { width: 28px; }
  h1 { font-size: clamp(42px, 13.2vw, 64px); }
  .lede { margin-top: 22px; }
  .card, div.card.quix { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo chip" "role role"; gap: 8px 14px; padding: 16px 18px; }
  .card img { grid-area: logo; height: 22px; }
  .card .chip { grid-area: chip; }
  .card .role { grid-area: role; font-size: 14.5px; }
  .card .go { display: none; }
  .card.partner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "logo" "role"; }
  .card.partner .pname { grid-area: logo; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ground-sweep, .soon-pill i, .foil, .go .h1-b .foil { animation: none; }
  .js .top, .js .hero > * { opacity: 1; }
  .go .top, .go .hero > * { animation: none; }
  .ground-engrave { transform: none; }
}
