/*
Theme Name: Stelicity Distribution LLC
Theme URI: https://stelicitydistribution.com
Author: Stelicity Distribution LLC
Description: Polished single-screen public landing page for Stelicity Distribution and the StelicityOS partner portal.
Version: 1.7.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: stelicity
License: Proprietary
*/

:root {
  --st-red: #ed1c24;
  --st-red-deep: #bd1118;
  --st-black: #050709;
  --st-panel: #101418;
  --st-panel-2: #151a1f;
  --st-white: #fff;
  --st-muted: #b2bac1;
  --st-line: rgba(255,255,255,.12);
  --st-max: 1370px;
  --st-ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--st-white);
  background: var(--st-black);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.screen-reader-text { position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.st-container { width: min(calc(100% - 72px), var(--st-max)); margin-inline: auto; }

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(5,7,9,.97);
  border-bottom: 1px solid var(--st-line);
}
.site-header__inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.site-branding { display: inline-flex; align-items: center; gap: 16px; }
.site-branding__mark { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 9px 20px rgba(0,0,0,.35)); }
.site-branding__wordmark { display: grid; gap: 8px; }
.site-branding__wordmark strong { font-size: 22px; line-height: 1; letter-spacing: .31em; text-transform: uppercase; }
.site-branding__wordmark span { color: #dce1e5; font-size: 9px; line-height: 1; font-weight: 700; letter-spacing: .29em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 42px; }
.site-nav a { color: rgba(255,255,255,.88); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; transition: color .2s ease, transform .2s ease, background .2s ease; }
.site-nav a:hover { color: #fff; transform: translateY(-1px); }
.site-nav .contact-link { padding: 16px 24px; background: var(--st-red); }
.site-nav .contact-link:hover { background: var(--st-red-deep); }
.menu-toggle { display: none; background: transparent; border: 0; color: #fff; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display:block; width:26px; height:2px; margin:5px 0; background:currentColor; }

.st-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 42%, rgba(237,28,36,.08), transparent 26%),
    linear-gradient(108deg, #080a0d 0%, #06080a 43%, #12171b 100%);
  border-bottom: 1px solid var(--st-line);
}
.st-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(2,4,5,.98) 0%, rgba(2,4,5,.92) 35%, rgba(2,4,5,.28) 66%, rgba(2,4,5,.58) 100%),
    repeating-radial-gradient(ellipse at 73% 51%, rgba(255,255,255,.055) 0 1px, transparent 1px 58px);
  pointer-events: none;
}
.st-hero__ambient { position:absolute; inset:0; background:linear-gradient(135deg,transparent 54%,rgba(255,255,255,.03) 54.2%,transparent 54.5%); opacity:.7; }
.st-hero__grid {
  min-height: 620px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(480px, .92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 64px;
  padding-block: 70px;
}
.st-eyebrow { margin:0 0 20px; color:var(--st-red); font-size:10px; font-weight:800; letter-spacing:.22em; text-transform:uppercase; }
.st-hero h1 { margin:0; font-size:clamp(56px,5.2vw,80px); font-weight:300; line-height:.99; letter-spacing:-.055em; }
.st-hero h1 span { color:var(--st-red); }
.st-hero__rule { width:46px; height:2px; margin:28px 0 26px; background:var(--st-red); }
.st-hero__lede { max-width:560px; margin:0 0 32px; color:#d3d8dc; font-size:17px; line-height:1.8; }
.st-hero__actions { display:flex; flex-wrap:wrap; gap:16px; }
.st-button { min-width:166px; min-height:52px; display:inline-flex; align-items:center; justify-content:center; padding:0 24px; border:1px solid transparent; background:var(--st-red); color:#fff; font-size:11px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; transition:transform .22s var(--st-ease),background .22s ease,border-color .22s ease,box-shadow .22s ease; }
.st-button:hover { transform:translateY(-2px); background:var(--st-red-deep); box-shadow:0 15px 36px rgba(237,28,36,.19); }
.st-button--ghost { background:rgba(0,0,0,.24); border-color:rgba(255,255,255,.66); }
.st-button--ghost:hover { background:rgba(255,255,255,.07); border-color:#fff; box-shadow:none; }

.st-hero__art { position:relative; min-height:500px; display:grid; place-items:center; perspective:1000px; }
.st-hero__art::before { content:""; position:absolute; width:72%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle at 42% 38%,#1a1f24 0%,#101418 62%,#07090b 100%); box-shadow:inset 0 0 70px rgba(255,255,255,.04),0 42px 100px rgba(0,0,0,.42); }
.st-orbit { position:absolute; border:1px solid rgba(237,28,36,.48); border-radius:50%; pointer-events:none; }
.st-orbit--one { width:92%; aspect-ratio:1.35; transform:rotate(-8deg); }
.st-orbit--two { width:80%; aspect-ratio:1.05; transform:rotate(12deg); opacity:.65; }
.st-orbit--three { width:68%; aspect-ratio:1.55; transform:rotate(-28deg); border-color:rgba(255,255,255,.15); }
.st-mark-3d { position:relative; width:min(62%,390px); aspect-ratio:190/150; transform:rotateX(10deg) rotateY(-7deg); filter:drop-shadow(0 34px 28px rgba(0,0,0,.55)); }
.st-mark-3d img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.st-mark-3d__shadow { filter:brightness(.38) saturate(1.7); opacity:.94; }
.st-mark-3d__shadow--3 { transform:translate(25px,27px); }
.st-mark-3d__shadow--2 { transform:translate(17px,19px); filter:brightness(.52) saturate(1.8); }
.st-mark-3d__shadow--1 { transform:translate(9px,10px); filter:brightness(.72) saturate(1.5); }
.st-mark-3d__face { filter:brightness(1.08) saturate(1.15) drop-shadow(0 2px 2px rgba(255,255,255,.18)); }

.st-method { background:linear-gradient(180deg,#151a1f,#101418); border-bottom:1px solid var(--st-line); }
.st-method__grid { display:grid; grid-template-columns:repeat(4,1fr); }
.st-method__item { min-height:188px; display:grid; grid-template-columns:58px 1fr; gap:18px; align-items:start; padding:35px 28px; }
.st-method__item + .st-method__item { border-left:1px solid var(--st-line); }
.st-method__icon { width:48px; height:48px; display:grid; place-items:center; color:var(--st-red); }
.st-method__icon svg { width:43px; height:43px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.st-method h2 { margin:4px 0 8px; font-size:14px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.st-method p { margin:0; color:#c3c9ce; font-size:13px; line-height:1.65; }

.site-footer { background:#07090b; }
.site-footer__inner { min-height:92px; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:30px; }
.site-footer__brand { display:flex; align-items:center; gap:11px; }
.site-footer__brand img { width:40px; height:40px; object-fit:contain; }
.site-footer__brand div { display:grid; gap:5px; }
.site-footer__brand strong { font-size:12px; letter-spacing:.25em; }
.site-footer__brand span { color:#d5dade; font-size:7px; font-weight:700; letter-spacing:.25em; }
.site-footer p { margin:0; color:#9ba3aa; font-size:11px; }
.site-footer__nav { justify-self:end; display:flex; align-items:center; gap:25px; }
.site-footer__nav a { color:#b9c0c6; font-size:9px; font-weight:700; letter-spacing:.11em; text-transform:uppercase; }
.site-footer__nav a:hover { color:#fff; }

.page-shell { min-height:calc(100vh - 190px); padding:150px 0 90px; background:#fff; color:#14191d; }
.page-shell h1 { margin:0 0 28px; font-size:clamp(42px,5vw,64px); font-weight:300; letter-spacing:-.04em; }
.page-content { max-width:820px; }
.page-content p,.page-content li { color:#465057; font-size:17px; }
.st-login { max-width:520px; margin:0 auto; padding:42px; border:1px solid #e5e8ea; box-shadow:0 26px 80px rgba(8,12,15,.12); }
.st-login input[type=text],.st-login input[type=password] { width:100%; min-height:48px; padding:10px 12px; border:1px solid #ccd1d4; }
.st-login input[type=submit] { min-height:48px; padding:0 24px; border:0; background:var(--st-red); color:white; font-weight:800; text-transform:uppercase; letter-spacing:.08em; cursor:pointer; }

@keyframes st-rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
.st-hero__copy > *, .st-hero__art { opacity:0; animation:st-rise .7s var(--st-ease) forwards; }
.st-hero__copy > *:nth-child(1){animation-delay:.06s}.st-hero__copy > *:nth-child(2){animation-delay:.15s}.st-hero__copy > *:nth-child(3){animation-delay:.26s}.st-hero__copy > *:nth-child(4){animation-delay:.34s}.st-hero__copy > *:nth-child(5){animation-delay:.42s}.st-hero__art{animation-delay:.18s}
@media (prefers-reduced-motion:reduce){.st-hero__copy > *,.st-hero__art{opacity:1;animation:none;transform:none}html{scroll-behavior:auto}}

@media (max-width:1050px) {
  .site-nav { gap:24px; }
  .st-hero__grid { grid-template-columns:1fr 1fr; gap:20px; }
  .st-method__grid { grid-template-columns:repeat(2,1fr); }
  .st-method__item:nth-child(3) { border-left:0; border-top:1px solid var(--st-line); }
  .st-method__item:nth-child(4) { border-top:1px solid var(--st-line); }
  .site-footer__inner { grid-template-columns:1fr; padding-block:25px; text-align:center; }
  .site-footer__brand,.site-footer__nav { justify-self:center; }
}
@media (max-width:820px) {
  .st-container { width:min(calc(100% - 34px),var(--st-max)); }
  .site-header__inner { min-height:76px; }
  .site-branding__mark { width:46px; height:46px; }
  .site-branding__wordmark strong { font-size:17px; }
  .menu-toggle { display:block; }
  .site-nav { display:none; position:absolute; top:76px; left:0; right:0; padding:24px; background:#080a0c; flex-direction:column; align-items:stretch; gap:18px; border-top:1px solid var(--st-line); }
  .site-nav.is-open { display:flex; }
  .site-nav .contact-link { text-align:center; }
  .st-hero__grid { grid-template-columns:1fr; text-align:center; padding-block:70px 48px; }
  .st-hero__copy { order:2; }
  .st-hero__art { order:1; min-height:330px; }
  .st-hero__art::before { width:58%; }
  .st-mark-3d { width:min(44%,250px); }
  .st-hero__rule { margin-inline:auto; }
  .st-hero__lede { margin-inline:auto; }
  .st-hero__actions { justify-content:center; }
}
@media (max-width:560px) {
  .site-branding__wordmark span { display:none; }
  .st-hero h1 { font-size:48px; }
  .st-hero__art { min-height:260px; }
  .st-hero__art::before { width:70%; }
  .st-mark-3d { width:50%; }
  .st-hero__actions { flex-direction:column; }
  .st-button { width:100%; }
  .st-method__grid { grid-template-columns:1fr; }
  .st-method__item + .st-method__item { border-left:0; border-top:1px solid var(--st-line); }
  .site-footer__nav { flex-wrap:wrap; justify-content:center; }
}


/* Public contact section v1.6 */
.st-public-contact{background:#f5f5f3;color:#111;padding:88px 0}.st-public-contact__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:80px;align-items:start}.st-public-contact__copy h2{font-size:clamp(34px,4vw,58px);line-height:1.02;margin:12px 0 24px;letter-spacing:-.04em}.st-public-contact__copy p:last-child{font-size:18px;line-height:1.7;color:#555;max-width:520px}.st-public-contact__form{background:#fff;padding:34px;border-radius:18px;box-shadow:0 22px 60px rgba(0,0,0,.08)}.st-public-contact .st-button{border:0;cursor:pointer}@media(max-width:900px){.st-public-contact__grid{grid-template-columns:1fr;gap:38px}}@media(max-width:600px){.st-public-contact{padding:64px 0}.st-public-contact__form{padding:22px}}


/* Contact form presentation v1.6.2 */
.st-public-contact__form .st-contact-form {
  display: grid;
  gap: 22px;
  margin: 0;
}
.st-public-contact__form .st-contact-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.st-public-contact__form .st-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.st-public-contact__form .st-contact-form > label,
.st-public-contact__form .st-contact-grid > label {
  display: grid;
  gap: 9px;
  min-width: 0;
  margin: 0;
  color: #14181b;
}
.st-public-contact__form .st-contact-form label > span {
  display: block;
  color: #4e565c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
.st-public-contact__form .st-contact-form input,
.st-public-contact__form .st-contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid #d8dcdf;
  border-radius: 8px;
  background: #f9faf9;
  color: #111518;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.st-public-contact__form .st-contact-form input {
  min-height: 52px;
  padding: 12px 14px;
}
.st-public-contact__form .st-contact-form textarea {
  min-height: 156px;
  padding: 14px;
  resize: vertical;
}
.st-public-contact__form .st-contact-form input:focus,
.st-public-contact__form .st-contact-form textarea:focus {
  outline: none;
  border-color: var(--st-red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(237, 28, 36, .10);
}
.st-public-contact__form .st-contact-form .st-button {
  justify-self: start;
  min-width: 184px;
  margin-top: 2px;
  border-radius: 0;
}
.st-public-contact__form .st-contact-success {
  display: grid;
  gap: 4px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-left: 3px solid #258a52;
  border-radius: 8px;
  background: #eef8f2;
  color: #174c2d;
}
.st-public-contact__form .st-contact-success strong {
  font-size: 15px;
}
.st-public-contact__form .st-contact-success span {
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 680px) {
  .st-public-contact__form .st-contact-grid {
    grid-template-columns: 1fr;
  }
  .st-public-contact__form .st-contact-form .st-button {
    width: 100%;
  }
}


/* Recovery build additions */
.page-shell { min-height: 65vh; padding: 80px 0; background:#f4f5f6; color:#101418; }
.page-card { max-width: 980px; margin:0 auto; padding:48px; background:#fff; border-radius:18px; box-shadow:0 20px 60px rgba(0,0,0,.08); }
.page-card h1 { margin-top:0; font-size:clamp(42px,5vw,68px); font-weight:300; letter-spacing:-.04em; }
.st-contact-form { display:grid; gap:18px; }
.st-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.st-contact-form label { display:grid; gap:8px; color:#1a1d20; font-size:13px; font-weight:700; }
.st-contact-form input,.st-contact-form textarea { width:100%; border:1px solid #d6dade; border-radius:8px; padding:13px 14px; background:#fff; color:#111; font:inherit; outline:none; }
.st-contact-form input:focus,.st-contact-form textarea:focus { border-color:#ed1c24; box-shadow:0 0 0 3px rgba(237,28,36,.10); }
.st-form-message-field { grid-column:1/-1; }
.st-hp { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.st-form-message { margin-bottom:16px; padding:12px 14px; border-radius:8px; font-size:14px; }
.st-form-message--success { background:#eaf7ef; color:#176b38; }
.st-form-message--error { background:#fff0f0; color:#9d2020; }
@media (max-width:700px){ .st-form-grid{grid-template-columns:1fr;} .page-card{padding:30px 22px;} }
