
:root {
  color-scheme: dark;
  --bg: #090909;
  --panel: #151515;
  --line: #303030;
  --text: #f5f5f5;
  --muted: #b0b0b0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.7 Arial, Helvetica, sans-serif;
}

a { color: inherit; }

.container {
  width: min(1080px, calc(100% - 40px));
  margin: auto;
}

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

nav {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-image {
  width: 145px;
  max-height: 54px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: white; }

.eyebrow {
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
}

.hero { padding: 90px 0 70px; }

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -.065em;
  line-height: 1.08;
  margin: 18px 0 24px;
  max-width: 1000px;
}

.lead {
  font-size: 19px;
  color: #c2c2c2;
  max-width: 770px;
}

.button {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 13px 23px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
  border: 1px solid #fff;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: white;
}

section {
  border-top: 1px solid var(--line);
  padding: 68px 0;
}

h2 {
  font-size: clamp(29px, 4vw, 47px);
  letter-spacing: -.05em;
  line-height: 1.15;
  margin: 12px 0 22px;
}

h3 {
  font-size: 23px;
  letter-spacing: -.025em;
  line-height: 1.25;
}

p { max-width: 850px; }
.muted { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 28px;
}

.panel h3 { margin-top: 0; }
.panel p { color: var(--muted); }
.panel ul { padding-left: 20px; }
.panel li { margin: 7px 0; }

.kicker {
  font-size: 12px;
  letter-spacing: 2px;
  color: #999;
  text-transform: uppercase;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery figure {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 390px;
}

.gallery figcaption {
  padding: 15px 18px;
  color: #bbb;
  font-size: 14px;
}

.full { grid-column: 1 / -1; }
.full img { max-height: none; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
}

.faq p { color: var(--muted); }

.cta { text-align: center; }
.cta p { margin: 0 auto; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-inner a { color: #bbb; }

footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  font-size: 13px;
  color: #aaa;
}

.compare-tabs {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.compare-tabs button {
  padding: 12px 22px;
  background: #222;
  border: 1px solid #555;
  color: white;
  cursor: pointer;
  font: inherit;
}

.compare-tabs button[aria-pressed=true] {
  background: white;
  color: black;
}

.compare-result {
  padding: 25px;
  background: #161616;
  border: 1px solid #444;
  min-height: 185px;
}

.compare-result h3 { margin-top: 0; }

.comparison-note {
  font-size: 14px;
  color: #aaa;
}

.back {
  color: #bbb;
  font-size: 14px;
}

.callout {
  border-left: 3px solid #fff;
  padding: 8px 22px;
  margin: 30px 0;
  background: #151515;
}

.small {
  font-size: 13px;
  color: #aaa;
}

@media (max-width: 720px) {
  nav {
    padding: 20px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero { padding: 65px 0; }

  .grid,
  .gallery { grid-template-columns: 1fr; }

  section { padding: 52px 0; }
  .panel { padding: 22px; }
  .full { grid-column: auto; }
}

/* Sedigi portfolio showcases */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.portfolio-card {
  overflow: hidden;
  background: #171717;
  border: 1px solid #353535;
  border-radius: 12px;
}

.portfolio-art {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eeede9;
  padding: 18px;
}

.portfolio-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.portfolio-art.dark {
  background: #101010;
}

.portfolio-art.official {
  min-height: 300px;
  background: #080808;
}

.portfolio-art.official img {
  width: min(75%, 320px);
}

.portfolio-info {
  padding: 24px;
}

.portfolio-info h3 {
  margin: 8px 0 12px;
}

.portfolio-info p {
  color: #bcbcbc;
  margin: 0;
}

.portfolio-note {
  margin-top: 24px;
  font-size: 13px;
  color: #aaa;
}

/* Individual quadrants from the approved
   four-concept branding image.
   The incorrect original logo is excluded. */

.brand-concept {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-image: url("/assets/branding-concepts.png");
  background-repeat: no-repeat;
  background-size: 200% 200%;
  border-radius: 5px;
}

.brand-heritage {
  background-position: right top;
}

.brand-illustration {
  background-position: left bottom;
}

.brand-contemporary {
  background-position: right bottom;
}

/* Social media image presentation */

.social-art {
  min-height: 200px;
}

.social-art img {
  max-width: 100%;
  object-fit: contain;
}

/* Responsive layout */

@media (max-width: 720px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-art {
    padding: 12px;
  }

  .portfolio-art.official {
    min-height: 230px;
  }

  .portfolio-info {
    padding: 20px;
  }
}

/* ==========================================
   SEDIGI / ANIMATED SPACE DUST
   ========================================== */

html {
  background: #090909;
}

body {
  background-color: #090909;
  isolation: isolate;
}

/* Fixed atmospheric dust layer */

body::before {
  content: "";
  position: fixed;
  inset: -15%;
  z-index: -1;
  pointer-events: none;

  background-image:
    radial-gradient(
      ellipse at 18% 22%,
      rgba(255,255,255,0.045),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 82% 68%,
      rgba(180,190,210,0.035),
      transparent 45%
    ),
    radial-gradient(
      ellipse at 55% 90%,
      rgba(255,255,255,0.025),
      transparent 38%
    );

  animation: sedigiAtmosphere 65s ease-in-out infinite alternate;
}

/* Fine star and dust particles */

body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;

  background-image:
    radial-gradient(
      1px 1px at 12% 18%,
      rgba(255,255,255,0.65) 98%,
      transparent
    ),
    radial-gradient(
      1px 1px at 27% 63%,
      rgba(255,255,255,0.38) 98%,
      transparent
    ),
    radial-gradient(
      1px 1px at 43% 29%,
      rgba(255,255,255,0.52) 98%,
      transparent
    ),
    radial-gradient(
      1px 1px at 61% 81%,
      rgba(255,255,255,0.35) 98%,
      transparent
    ),
    radial-gradient(
      1px 1px at 76% 14%,
      rgba(255,255,255,0.55) 98%,
      transparent
    ),
    radial-gradient(
      1px 1px at 91% 52%,
      rgba(255,255,255,0.4) 98%,
      transparent
    ),
    radial-gradient(
      1px 1px at 35% 92%,
      rgba(255,255,255,0.45) 98%,
      transparent
    ),
    radial-gradient(
      1px 1px at 84% 87%,
      rgba(255,255,255,0.3) 98%,
      transparent
    );

  background-size: 340px 340px;
  opacity: 0.5;

  animation: sedigiDustDrift 90s linear infinite;
}

/* Gentle movement */

@keyframes sedigiDustDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-70px, -110px, 0);
  }
}

@keyframes sedigiAtmosphere {
  from {
    transform: translate3d(-2%, 0, 0) scale(1);
    opacity: 0.65;
  }

  to {
    transform: translate3d(2%, -3%, 0) scale(1.08);
    opacity: 1;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}
