/*
Theme Name: Supremacy Ecosystem
Theme URI: https://itssupremacy.com
Author: Supremacy
Description: A native WordPress brand portfolio for the Supremacy ecosystem.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: supremacy-ecosystem
*/

:root {
  --ink: #0a0a0b;
  --ink-soft: #151517;
  --paper: #f4f1e9;
  --paper-soft: #e8e3d8;
  --line: rgba(255, 255, 255, 0.16);
  --muted: #a7a49d;
  --gold: #d6b76a;
  --acid: #d8ff58;
  --white: #ffffff;
  --shell: min(1280px, calc(100vw - 48px));
  --radius: 28px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
::selection { color: var(--ink); background: var(--acid); }

.se-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(-150%);
}
.se-skip-link:focus { transform: none; }

.se-shell { width: var(--shell); margin-inline: auto; }
.se-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--acid);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.2;
  text-transform: uppercase;
}
.se-kicker::before { width: 34px; height: 2px; background: currentColor; content: ""; }

.se-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}
.se-header.is-scrolled {
  border-color: var(--line);
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(18px);
}
.se-header__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.se-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
}
.se-logo__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(216, 255, 88, 0.72);
  border-radius: 50%;
  color: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 700;
}
.se-logo__text { display: grid; gap: 1px; line-height: 1; }
.se-logo__text strong { font-size: 0.94rem; letter-spacing: 0.19em; }
.se-logo__text small { color: var(--muted); font-size: 0.56rem; font-weight: 700; letter-spacing: 0.17em; }

.se-nav { display: flex; align-items: center; gap: 30px; }
.se-nav a {
  color: #d5d2ca;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.se-nav a:hover, .se-nav a:focus-visible { color: var(--acid); }
.se-nav .se-nav__cta {
  padding: 12px 18px;
  border: 1px solid rgba(216, 255, 88, 0.66);
  border-radius: 999px;
  color: var(--acid);
}
.se-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
}
.se-menu-toggle span,
.se-menu-toggle::before,
.se-menu-toggle::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.se-hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  overflow: hidden;
  padding: 150px 0 64px;
}
.se-hero::before {
  position: absolute;
  inset: -25% -15% auto auto;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(216, 255, 88, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(216, 255, 88, 0.025), 0 0 0 220px rgba(216, 255, 88, 0.018);
  content: "";
}
.se-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  align-items: end;
  gap: clamp(40px, 7vw, 104px);
}
.se-hero__copy { padding-bottom: 14px; }
.se-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(4.1rem, 9.4vw, 9.4rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.82;
}
.se-hero h1 em {
  display: block;
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  -webkit-text-stroke: 1px rgba(244, 241, 233, 0.75);
}
.se-hero__intro {
  max-width: 680px;
  margin: 36px 0 0;
  color: #bfbbb2;
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
}
.se-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.se-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}
.se-button:hover, .se-button:focus-visible { transform: translateY(-2px); border-color: var(--acid); }
.se-button--primary { border-color: var(--acid); color: var(--ink); background: var(--acid); }
.se-button--primary:hover, .se-button--primary:focus-visible { color: var(--ink); background: #e5ff8c; }
.se-button__arrow { font-size: 1.1rem; }

.se-hero__visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: var(--shadow);
}
.se-hero__visual img { width: 100%; height: 100%; min-height: 610px; object-fit: cover; object-position: center; }
.se-hero__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(10, 10, 11, 0.94) 100%);
  content: "";
}
.se-hero__badge {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.se-hero__badge small { display: block; color: var(--muted); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.se-hero__badge strong { display: block; max-width: 320px; margin-top: 6px; color: var(--paper); font-size: 1.22rem; line-height: 1.2; }
.se-hero__badge span:last-child { color: var(--acid); font-size: 2rem; }

.se-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}
.se-stat { padding: 22px 26px 0 0; }
.se-stat strong { display: block; color: var(--paper); font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.05em; line-height: 1; }
.se-stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }

.se-marquee { overflow: hidden; border-block: 1px solid var(--line); background: #101012; }
.se-marquee__track {
  display: flex;
  width: max-content;
  animation: se-marquee 32s linear infinite;
}
.se-marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.se-marquee__group span {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 17px 24px;
  color: #aaa69d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.se-marquee__group span::after { color: var(--acid); content: "✦"; }
@keyframes se-marquee { to { transform: translateX(-50%); } }

.se-section { padding: clamp(92px, 11vw, 152px) 0; }
.se-section--paper { color: var(--ink); background: var(--paper); }
.se-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
}
.se-section__head h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.9;
}
.se-section__head p { margin: 0; color: #625f58; font-size: 1rem; }

.se-filters { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.se-filter {
  padding: 10px 15px;
  border: 1px solid rgba(10, 10, 11, 0.19);
  border-radius: 999px;
  color: #4b4842;
  background: transparent;
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.se-filter:hover, .se-filter:focus-visible, .se-filter.is-active { border-color: var(--ink); color: var(--paper); background: var(--ink); }

.se-brand-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.se-brand-card {
  --card-accent: #d8ff58;
  position: relative;
  grid-column: span 4;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(25px, 3vw, 36px);
  border: 1px solid rgba(10, 10, 11, 0.15);
  border-radius: 24px;
  color: var(--paper);
  background: #111113;
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.se-brand-card::before {
  position: absolute;
  inset: auto -100px -150px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent) 34%, transparent);
  filter: blur(75px);
  content: "";
  opacity: 0.55;
  transition: transform 300ms ease;
}
.se-brand-card:hover { transform: translateY(-7px); box-shadow: 0 28px 65px rgba(0, 0, 0, 0.16); }
.se-brand-card:hover::before { transform: translate(-20px, -20px) scale(1.15); }
.se-brand-card.is-hidden { display: none; }
.se-brand-card--wide { grid-column: span 8; }
.se-brand-card--light { color: var(--ink); background: #e9e3d6; }
.se-brand-card__top { position: relative; z-index: 1; display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.se-monogram {
  display: grid;
  min-width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 70%, transparent);
  border-radius: 50%;
  color: var(--card-accent);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.se-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: #aaa69e;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.se-status::before { width: 6px; height: 6px; border-radius: 50%; background: var(--card-accent); content: ""; box-shadow: 0 0 0 3px color-mix(in srgb, var(--card-accent) 18%, transparent); }
.se-status--development::before { background: #f0a659; }
.se-brand-card__body { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; justify-content: end; padding-top: 66px; }
.se-brand-card__category { margin: 0 0 12px; color: var(--card-accent); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.se-brand-card h3 { max-width: 570px; margin: 0; font-size: clamp(2rem, 3.5vw, 3.5rem); font-weight: 820; letter-spacing: -0.06em; line-height: 0.96; }
.se-brand-card__description { max-width: 580px; margin: 20px 0 0; color: #aaa69e; font-size: 0.92rem; }
.se-brand-card--light .se-brand-card__description { color: #5f5b53; }
.se-brand-card__footer { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.13); }
.se-brand-card--light .se-brand-card__footer { border-color: rgba(10, 10, 11, 0.16); }
.se-brand-card__domain { overflow-wrap: anywhere; color: #cbc7bd; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.67rem; }
.se-brand-card--light .se-brand-card__domain { color: #59564f; }
.se-brand-card__link { display: inline-flex; align-items: center; gap: 9px; color: inherit; font-size: 0.65rem; font-weight: 850; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; }
.se-brand-card__link span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: color 180ms ease, background 180ms ease, transform 180ms ease; }
.se-brand-card__link:hover span, .se-brand-card__link:focus-visible span { color: var(--ink); background: var(--card-accent); transform: rotate(-45deg); }

.se-story { position: relative; overflow: hidden; background: #0d0d0f; }
.se-story::after { position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(216,255,88,.5), transparent); content: ""; }
.se-story__grid { display: grid; grid-template-columns: minmax(340px, .76fr) minmax(0, 1fr); align-items: center; gap: clamp(54px, 8vw, 118px); }
.se-story__image { position: relative; min-height: 670px; overflow: hidden; border-radius: var(--radius); }
.se-story__image img { width: 100%; height: 100%; min-height: 670px; object-fit: cover; object-position: 50% 35%; filter: saturate(.82) contrast(1.04); }
.se-story__image::after { position: absolute; inset: 0; border: 1px solid var(--line); border-radius: inherit; content: ""; }
.se-story__copy h2 { max-width: 720px; margin: 0; font-size: clamp(3.2rem, 7vw, 7.2rem); font-weight: 850; letter-spacing: -0.075em; line-height: .86; }
.se-story__copy h2 em { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.se-story__lead { max-width: 720px; margin: 34px 0 0; color: #c0bcb3; font-size: clamp(1.05rem, 1.5vw, 1.26rem); }
.se-story__note { display: grid; grid-template-columns: 60px 1fr; gap: 18px; max-width: 640px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.se-story__note strong { color: var(--acid); font-size: 1.5rem; line-height: 1; }
.se-story__note p { margin: 0; color: #8e8b84; font-size: .9rem; }

.se-principles { color: var(--ink); background: var(--acid); }
.se-principles__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 62px; }
.se-principles h2 { max-width: 760px; margin: 0; font-size: clamp(3.2rem, 6vw, 6.4rem); font-weight: 850; letter-spacing: -0.07em; line-height: .88; }
.se-principles__intro p { max-width: 590px; align-self: end; margin: 0; font-size: 1.05rem; }
.se-principles__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(10,10,11,.33); }
.se-principle { padding: 34px 34px 0 0; }
.se-principle + .se-principle { padding-left: 34px; border-left: 1px solid rgba(10,10,11,.25); }
.se-principle__number { display: block; margin-bottom: 70px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .7rem; font-weight: 800; }
.se-principle h3 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.06em; line-height: 1; }
.se-principle p { max-width: 320px; margin: 17px 0 0; color: rgba(10,10,11,.7); font-size: .9rem; }

.se-closing { position: relative; overflow: hidden; text-align: center; background: var(--ink); }
.se-closing::before { position: absolute; inset: 50% auto auto 50%; width: 700px; height: 700px; border: 1px solid rgba(216,255,88,.14); border-radius: 50%; box-shadow: 0 0 0 110px rgba(216,255,88,.025), 0 0 0 240px rgba(216,255,88,.018); content: ""; transform: translate(-50%,-50%); }
.se-closing__inner { position: relative; z-index: 1; }
.se-closing h2 { max-width: 1100px; margin: 0 auto; font-size: clamp(3.5rem, 9vw, 9rem); font-weight: 850; letter-spacing: -.08em; line-height: .84; }
.se-closing h2 em { display: block; color: var(--acid); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.se-closing p { max-width: 600px; margin: 34px auto 0; color: var(--muted); }
.se-closing .se-actions { justify-content: center; }

.se-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); color: #a8a49b; background: #080809; }
.se-footer__top { display: grid; grid-template-columns: .75fr 1.5fr; gap: 60px; padding-bottom: 54px; }
.se-footer__statement { max-width: 420px; margin: 22px 0 0; font-size: .92rem; }
.se-footer__domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 26px; }
.se-footer__domains a { color: #d3cfc6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .69rem; text-decoration: none; }
.se-footer__domains a:hover, .se-footer__domains a:focus-visible { color: var(--acid); }
.se-footer__bottom { display: flex; justify-content: space-between; gap: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .67rem; letter-spacing: .06em; text-transform: uppercase; }

.se-content { min-height: 70vh; padding: 160px 0 100px; }
.se-content article { max-width: 820px; }
.se-content h1 { margin: 0 0 30px; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -.07em; line-height: .9; }
.se-content p, .se-content li { color: #c6c2b8; }
.se-content a { color: var(--acid); }

.se-reveal { opacity: 0; transform: translateY(24px); transition: opacity 620ms ease, transform 620ms ease; }
.se-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  :root { --shell: min(100% - 36px, 820px); }
  .se-hero { min-height: auto; padding-top: 140px; }
  .se-hero__grid, .se-story__grid { grid-template-columns: 1fr; }
  .se-hero__visual { min-height: 540px; }
  .se-hero__visual img { min-height: 540px; }
  .se-brand-card, .se-brand-card--wide { grid-column: span 6; }
  .se-story__image { min-height: 580px; }
  .se-story__image img { min-height: 580px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100vw - 28px); --radius: 22px; }
  .admin-bar .se-header { top: 46px; }
  .se-header__inner { min-height: 76px; }
  .se-menu-toggle { display: block; }
  .se-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 25px;
    padding: 100px 28px 40px;
    background: rgba(10,10,11,.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }
  .se-nav a { font-size: 1rem; }
  .se-nav.is-open { opacity: 1; pointer-events: auto; }
  .se-menu-toggle[aria-expanded="true"] span { opacity: 0; }
  .se-menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
  .se-menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }
  .se-hero { padding: 128px 0 44px; }
  .se-hero h1 { font-size: clamp(3.5rem, 20vw, 6.2rem); }
  .se-hero__intro { margin-top: 26px; }
  .se-hero__visual, .se-hero__visual img { min-height: 470px; }
  .se-stats { margin-top: 44px; }
  .se-stat { padding-right: 12px; }
  .se-stat span { letter-spacing: .06em; }
  .se-section__head, .se-principles__intro { grid-template-columns: 1fr; gap: 26px; }
  .se-brand-card, .se-brand-card--wide { grid-column: 1 / -1; min-height: 380px; }
  .se-story__image, .se-story__image img { min-height: 520px; }
  .se-principles__grid { grid-template-columns: 1fr; }
  .se-principle { padding: 28px 0; }
  .se-principle + .se-principle { padding-left: 0; border-top: 1px solid rgba(10,10,11,.25); border-left: 0; }
  .se-principle__number { margin-bottom: 36px; }
  .se-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .se-footer__domains { grid-template-columns: 1fr 1fr; }
  .se-footer__bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 480px) {
  .se-logo__text small { display: none; }
  .se-kicker { letter-spacing: .14em; }
  .se-hero__badge { right: 18px; bottom: 18px; left: 18px; }
  .se-hero__badge strong { font-size: 1rem; }
  .se-stat strong { font-size: 1.7rem; }
  .se-stat span { font-size: .56rem; }
  .se-brand-card { padding: 24px; }
  .se-brand-card h3 { font-size: 2.15rem; }
  .se-brand-card__footer { align-items: start; flex-direction: column; }
  .se-story__image, .se-story__image img { min-height: 460px; }
  .se-footer__domains { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .se-reveal { opacity: 1; transform: none; }
}
