:root {
  --bg: #0d1016;
  --surface: #13131a;
  --surface-low: #1b1b22;
  --surface-card: #1f1f26;
  --surface-high: #2a2931;
  --surface-soft: rgba(31, 31, 38, 0.72);
  --text: #eff2f4;
  --muted: #a4abb8;
  --muted-soft: #7f8796;
  --primary: #45dee7;
  --primary-strong: #00c2cb;
  --primary-dim: rgba(69, 222, 231, 0.12);
  --primary-mid: rgba(69, 222, 231, 0.24);
  --accent: #f4b14a;
  --line: rgba(228, 225, 236, 0.08);
  --shadow: 0 28px 70px rgba(8, 10, 16, 0.42);
  --shadow-soft: 0 20px 40px rgba(228, 225, 236, 0.06);
  --font-display: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --shell: min(1180px, calc(100vw - 2.4rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(0, 194, 203, 0.14), transparent 26%),
    radial-gradient(circle at 18% 12%, rgba(244, 177, 74, 0.08), transparent 20%),
    linear-gradient(180deg, #0b0e14 0%, #10131a 55%, #0d1016 100%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

img,
picture,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.page-shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  padding: 5.5rem 0;
}

.section-tight-top {
  padding-top: 1.4rem;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-tag,
.card-type {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--primary);
}

.section-heading h2,
.hero h1,
.featured-intro h3,
.grid-preview h3,
.availability-card h3,
.project-hero-content h1,
.article-hero-content h1,
.product-content h3,
.project-section h2,
.article-section h2,
.not-found-card h1 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.03;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

.section-heading p,
.hero-text,
.story-card p,
.featured-intro p,
.product-content p,
.project-card p,
.grid-preview-copy,
.availability-card p,
.project-section p,
.article-section p,
.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: var(--shell);
  margin: 0 auto;
  padding: 0.9rem 1rem;
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 19, 26, 0.72);
  border: 1px solid rgba(228, 225, 236, 0.06);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  z-index: -1;
}

.nav-logo {
  padding-left: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.3rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: #041216;
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(69, 222, 231, 0.2);
  background: rgba(19, 19, 26, 0.62);
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-right: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  padding: 3.6rem 0 1.6rem;
}

.hero-grid,
.editorial-split,
.featured-layout,
.contact-grid,
.article-shell,
.project-shell {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.hero-copy,
.hero-metrics article,
.story-card,
.tech-card,
.cert-card,
.featured-intro,
.feature-card,
.grid-preview,
.grid-spotlight-shell,
.spotlight-story-card,
.archive-card,
.contact-card,
.availability-card,
.project-hero-card,
.project-section,
.project-sidebar-card,
.article-hero-card,
.article-prose-card,
.article-section,
.article-card,
.not-found-card,
.filter-button {
  position: relative;
  background: rgba(27, 27, 34, 0.8);
  border: 1px solid rgba(228, 225, 236, 0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-copy,
.story-card,
.featured-intro,
.grid-preview,
.grid-spotlight-shell,
.availability-card,
.project-hero-card,
.article-prose-card,
.article-hero-card,
.not-found-card {
  padding: 2rem;
  border-radius: 28px;
}

.hero-copy::before,
.story-card::before,
.featured-intro::before,
.tech-card::before,
.cert-card::before,
.grid-preview::before,
.grid-spotlight-shell::before,
.spotlight-story-card::before,
.availability-card::before,
.project-hero-card::before,
.article-prose-card::before,
.article-hero-card::before,
.project-section::before,
.article-section::before,
.not-found-card::before,
.archive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 54px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(69, 222, 231, 0) 100%);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  width: fit-content;
  border-radius: 999px;
  background: rgba(69, 222, 231, 0.08);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 8px rgba(69, 222, 231, 0.08);
}

.hero-kicker {
  margin: 1.1rem 0 0;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(3rem, 8vw, 6.4rem);
  max-width: 10ch;
}

.hero-copy-legacy {
  max-width: 1040px;
}

.hero h1.hero-name {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.45rem;
  align-items: baseline;
  max-width: none;
}

.hero-name span,
.hero-name strong {
  display: inline-block;
}

.hero-name strong {
  color: var(--primary);
}

.hero-text {
  margin-top: 1.3rem;
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
}

.hero-divider {
  width: 100%;
  height: 1px;
  margin: 2.4rem 0 1.4rem;
  background: linear-gradient(90deg, rgba(69, 222, 231, 0.26) 0%, rgba(228, 225, 236, 0.06) 100%);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero-metrics-legacy {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hero-metrics article,
.tech-card,
.cert-card,
.proof-stack div,
.metric-card {
  padding: 1.15rem 1rem;
  border-radius: 20px;
}

.hero-metrics strong,
.metric-card strong,
.snapshot-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  letter-spacing: -0.05em;
}

.hero-metrics span,
.metric-card span,
.snapshot-item span,
.proof-stack span {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.5;
  pointer-events: none;
}

.hero-orb-a {
  width: 320px;
  height: 320px;
  top: 0;
  right: 8%;
  background: rgba(0, 194, 203, 0.22);
}

.hero-orb-b {
  width: 220px;
  height: 220px;
  top: 24%;
  left: 8%;
  background: rgba(244, 177, 74, 0.12);
}

.editorial-split {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.story-card {
  background: linear-gradient(180deg, rgba(19, 19, 26, 0.95) 0%, rgba(31, 31, 38, 0.9) 100%);
}

.story-card p + p {
  margin-top: 1rem;
}

.story-footnote {
  color: var(--muted-soft);
  font-size: 0.85rem;
}

.principles-stack {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.principles-stack .card-type {
  margin: 0;
}

.acronym-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.4rem;
  border-radius: 24px;
  background: rgba(27, 27, 34, 0.8);
  border: 1px solid rgba(228, 225, 236, 0.06);
  box-shadow: var(--shadow-soft);
}

.lens-principle-card {
  min-height: 100%;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  align-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 22%, rgba(69, 222, 231, 0.16), rgba(69, 222, 231, 0) 42%),
    linear-gradient(180deg, rgba(20, 21, 29, 0.96) 0%, rgba(27, 27, 34, 0.92) 100%);
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.lens-principle-card:hover {
  transform: translateY(-2px);
  border-color: rgba(69, 222, 231, 0.18);
  box-shadow: 0 28px 60px rgba(4, 7, 14, 0.34);
}

.lens-wordmark {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.02em;
}

.lens-letter {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  color: var(--text);
}

.lens-focus-letter {
  padding-inline: 0.03em;
  isolation: isolate;
}

.lens-symbol {
  position: absolute;
  inset: 48% auto auto 50%;
  width: 1.03em;
  height: 1.03em;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
  transition: transform 0.26s ease, filter 0.26s ease;
}

.lens-ring,
.lens-core,
.lens-glint {
  position: absolute;
  border-radius: 50%;
}

.lens-ring {
  inset: 0;
  border: 1px solid rgba(69, 222, 231, 0.36);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06), rgba(69, 222, 231, 0.08) 60%, rgba(69, 222, 231, 0) 72%);
  box-shadow:
    0 0 0 1px rgba(69, 222, 231, 0.08) inset,
    0 0 22px rgba(69, 222, 231, 0.18);
}

.lens-core {
  inset: 27%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(69, 222, 231, 0.55) 32%, rgba(9, 19, 26, 0.94) 72%);
}

.lens-glint {
  width: 34%;
  height: 34%;
  top: 15%;
  left: 18%;
  background: rgba(244, 248, 255, 0.8);
  filter: blur(1px);
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.lens-principle-card:hover .lens-symbol {
  transform: translate(-50%, -50%) scale(1.06);
  filter: saturate(1.08);
}

.lens-principle-card:hover .lens-glint {
  transform: translate(10%, -6%);
  opacity: 0.95;
}

.acronym-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--text);
}

.acronym-copy {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.tech-card-icon,
.cert-card-icon,
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(69, 222, 231, 0.12);
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
  font-size: 1.05rem;
}

.product-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.expertise-layout,
.tech-grid,
.cert-grid {
  display: grid;
  gap: 1.25rem;
}

.expertise-layout {
  gap: 2.1rem;
}

.expertise-head {
  display: grid;
  gap: 0.55rem;
  max-width: 760px;
}

.expertise-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.expertise-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.tech-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cert-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.proof-strip {
  display: grid;
  gap: 1.2rem;
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(27, 27, 34, 0.7);
  border: 1px solid rgba(228, 225, 236, 0.06);
  box-shadow: var(--shadow-soft);
}

.proof-strip-copy {
  display: grid;
  gap: 0.45rem;
  max-width: 820px;
}

.proof-strip-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.proof-cert-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(19, 19, 26, 0.68);
  border: 1px solid rgba(228, 225, 236, 0.06);
}

.proof-cert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(69, 222, 231, 0.12);
  color: var(--primary);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.proof-cert-body {
  display: grid;
  gap: 0.25rem;
}

.proof-cert-body strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.proof-cert-body span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.case-study-cluster {
  margin-top: 3.2rem;
}

.product-card,
.feature-card {
  border-radius: 28px;
}

.product-card {
  padding: 1.1rem;
}

.product-cover,
.project-cover,
.cover-art {
  position: relative;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-cover {
  min-height: 260px;
  background-color: #11161d;
  background-position: center top;
}

.cover-art {
  min-height: 320px;
}

.cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-cover::after,
.project-cover::after,
.cover-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 14, 0.06) 0%, rgba(4, 8, 14, 0.72) 100%);
}

.cover-mark,
.cover-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.05em;
}

.cover-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 18, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d6ecf0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cover-inset {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  width: min(34%, 168px);
  aspect-ratio: 1 / 1.08;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(8, 10, 16, 0.42);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.product-cover-solarwise::after,
.product-cover-yourgbedu::after {
  background: linear-gradient(180deg, rgba(4, 8, 14, 0.04) 0%, rgba(4, 8, 14, 0.76) 100%);
}

.product-cover-yourgbedu {
  background-position: center center;
}

.cover-caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cover-caption small {
  font-family: var(--font-body);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 242, 244, 0.76);
}

.product-content,
.feature-card-body {
  padding: 1.4rem 0.35rem 0.2rem;
  display: grid;
  gap: 0.95rem;
}

.product-content h3 {
  font-size: 1.8rem;
}

.product-content p,
.feature-card-body p,
.grid-preview-copy,
.archive-card p {
  max-width: 46ch;
}

.chip-row,
.stack-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(69, 222, 231, 0.1);
  color: #bfeaf1;
  font-size: 0.8rem;
}

.text-link {
  width: fit-content;
  font-family: var(--font-display);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
}

.featured-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.featured-intro {
  position: sticky;
  top: 6rem;
}

.proof-stack {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.proof-stack strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
}

.case-study-grid,
.archive-grid {
  display: grid;
  gap: 1.25rem;
}

.feature-card {
  padding: 1rem;
  display: grid;
  gap: 0.3rem;
}

.tech-card,
.cert-card {
  display: grid;
  gap: 1rem;
}

.tech-card h3,
.cert-card h3 {
  margin: 0;
  font-size: 1.35rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

.tech-card p,
.cert-card p {
  margin: 0;
  color: var(--muted);
}

.cert-card {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.cert-card-body {
  display: grid;
  gap: 0.35rem;
}

.cert-card-issuer {
  color: var(--primary) !important;
  font-weight: 700;
}

.cert-card-id {
  color: var(--muted-soft) !important;
  font-size: 0.88rem;
}

.feature-card-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.feature-card h3,
.archive-card h3,
.project-section h2,
.article-section h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.2rem);
}

.feature-card-impact {
  color: var(--text);
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.3rem;
}

.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: rgba(69, 222, 231, 0.08);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(69, 222, 231, 0.14);
}

.writing-spotlight,
.writing-archive-shell {
  display: grid;
  gap: 1.4rem;
}

.grid-spotlight {
  display: grid;
}

.grid-spotlight-shell {
  display: grid;
  gap: 1.6rem;
  background:
    radial-gradient(circle at 82% 16%, rgba(69, 222, 231, 0.15), rgba(69, 222, 231, 0) 28%),
    radial-gradient(circle at 12% 100%, rgba(244, 177, 74, 0.08), rgba(244, 177, 74, 0) 26%),
    linear-gradient(180deg, rgba(20, 21, 28, 0.96) 0%, rgba(27, 27, 34, 0.94) 100%);
}

.grid-spotlight-top {
  display: grid;
  grid-template-columns: minmax(240px, 0.88fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
}

.grid-spotlight-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(228, 225, 236, 0.08);
  background: rgba(14, 15, 22, 0.82);
  box-shadow: var(--shadow-soft);
}

.grid-spotlight-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.grid-spotlight-copy-block {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.grid-spotlight-head {
  margin-bottom: 0;
}

.grid-spotlight-identity {
  display: grid;
  gap: 0.35rem;
}

.grid-spotlight-copy {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.spotlight-story-wrap {
  display: grid;
}

.spotlight-story-card {
  display: grid;
  gap: 1rem;
  padding: 1.55rem 1.55rem 1.45rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(30, 31, 39, 0.96) 0%, rgba(21, 22, 31, 0.96) 100%);
}

.spotlight-story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--muted-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spotlight-story-card h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.spotlight-story-card p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.spotlight-story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.95rem;
}

.grid-preview-head,
.archive-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.archive-preview {
  display: grid;
  gap: 0.9rem;
}

.grid-preview {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.grid-preview-centered {
  justify-items: center;
  text-align: center;
}

.grid-preview-centered .grid-preview-head {
  display: grid;
  justify-items: center;
  margin-bottom: 0.2rem;
}

.grid-preview-centered .grid-preview-identity {
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

.grid-preview-centered .grid-preview-copy {
  max-width: 52ch;
  margin: 0 auto;
}

.archive-preview-centered {
  width: 100%;
}

.grid-preview .archive-card {
  background: linear-gradient(180deg, rgba(31, 31, 38, 0.94) 0%, rgba(23, 24, 32, 0.94) 100%);
}

.grid-preview-centered .archive-card {
  justify-items: center;
  text-align: center;
  padding: 1.45rem 1.35rem 1.3rem;
}

.grid-preview-centered .archive-card p {
  max-width: 42ch;
}

.archive-card {
  padding: 1.2rem 1.2rem 1.1rem;
  border-radius: 20px;
}

.archive-card[hidden] {
  display: none;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
  color: var(--muted-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.grid-preview-centered .archive-meta,
.grid-preview-centered .chip-row {
  justify-content: center;
}

.grid-preview-centered .text-link {
  margin-inline: auto;
}

.contact-grid {
  grid-template-columns: 1fr 0.9fr;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: 20px;
  text-decoration: none;
}

.contact-card small {
  display: block;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.contact-card strong {
  display: block;
  margin-top: 0.15rem;
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero {
  padding: 4rem 0 1rem;
}

.page-hero-compact {
  padding: 1.8rem 0 0.25rem;
}

.page-intro {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.page-intro h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.page-intro-compact {
  max-width: 920px;
}

.page-intro-compact h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 0.98;
}

.filters-panel {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.filter-row {
  gap: 0.7rem;
}

.filter-button {
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  color: var(--muted);
  cursor: pointer;
  border: 1px solid rgba(228, 225, 236, 0.06);
}

.filter-button.active {
  background: rgba(69, 222, 231, 0.12);
  color: var(--primary);
  border-color: rgba(69, 222, 231, 0.2);
}

.writing-layout,
.project-layout,
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.project-layout {
  grid-template-columns: minmax(0, 1.15fr) 320px;
  align-items: start;
}

.article-layout {
  grid-template-columns: minmax(0, 1.08fr) 280px;
  align-items: start;
}

.project-hero-content,
.article-hero-content {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.article-hero-content-reading {
  margin-top: 1.25rem;
  gap: 0.85rem;
}

.article-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.article-hero-date {
  color: var(--muted-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-atmosphere {
  position: relative;
  min-height: 148px;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 30%, rgba(69, 222, 231, 0.18), rgba(69, 222, 231, 0) 28%),
    linear-gradient(135deg, #08131a 0%, #142130 45%, #304a70 72%, #45dee7 100%);
  border: 1px solid rgba(228, 225, 236, 0.08);
}

.article-atmosphere::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% 52%;
  height: 150px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(34px);
}

.article-atmosphere-mark {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.25rem;
}

.article-atmosphere-mark small {
  color: rgba(228, 225, 236, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-atmosphere-mark span {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.article-cover-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(228, 225, 236, 0.08);
  background: rgba(13, 14, 21, 0.92);
}

.article-cover-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(10, 12, 18, 0) 0%, rgba(10, 12, 18, 0.36) 55%, rgba(10, 12, 18, 0.72) 100%);
  pointer-events: none;
}

.article-cover-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-dek {
  margin: 0;
  max-width: 44ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.article-chip-row {
  margin-top: 0.2rem;
}

.project-hero-content h1,
.article-hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.snapshot-item {
  padding: 1rem;
  border-radius: 18px;
  background: rgba(19, 19, 26, 0.64);
  border: 1px solid rgba(228, 225, 236, 0.06);
}

.project-main,
.article-main {
  display: grid;
  gap: 1.1rem;
}

.project-section,
.article-section {
  padding: 1.6rem 1.6rem 1.4rem;
  border-radius: 24px;
}

.article-prose-card {
  padding: 2.1rem 2.1rem 2.2rem;
  background:
    linear-gradient(180deg, rgba(27, 27, 34, 0.94) 0%, rgba(20, 21, 29, 0.94) 100%);
}

.project-section p + p,
.article-section p + p {
  margin-top: 0.9rem;
}

.article-prose-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.article-source-label {
  color: var(--muted-soft);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-prose {
  max-width: 68ch;
  color: var(--text);
}

.article-prose > :first-child {
  margin-top: 0;
}

.article-prose > :last-child {
  margin-bottom: 0;
}

.article-prose p {
  margin: 1.15rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.84;
}

.article-prose h2,
.article-prose h3,
.article-prose h4 {
  margin: 2.8rem 0 0.9rem;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
}

.article-prose h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.article-prose h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.article-prose hr,
.article-rule {
  border: 0;
  border-top: 1px solid rgba(228, 225, 236, 0.12);
  margin: 2.4rem 0;
}

.article-prose strong {
  color: var(--text);
}

.article-prose em {
  color: #dbe3ea;
}

.article-prose code {
  padding: 0.1rem 0.35rem;
  border-radius: 8px;
  background: rgba(69, 222, 231, 0.12);
  color: #bfeaf1;
}

.detail-list {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 0.65rem;
}

.project-sidebar,
.article-sidebar {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

.article-sidebar-reading {
  gap: 0.85rem;
  top: 6.3rem;
}

.project-sidebar-card,
.article-sidebar-card {
  padding: 1.3rem;
  border-radius: 22px;
}

.article-sidebar-reading .article-sidebar-card {
  background: rgba(22, 23, 31, 0.76);
  border-color: rgba(228, 225, 236, 0.05);
  box-shadow: 0 22px 48px rgba(6, 8, 14, 0.24);
}

.article-sidebar-reading .article-card {
  background: rgba(16, 17, 25, 0.72);
}

.article-sidebar-reading .article-card p {
  color: var(--muted);
}

.sidebar-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
}

.meta-list {
  display: grid;
  gap: 0.75rem;
}

.meta-list div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(228, 225, 236, 0.06);
}

.meta-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.meta-list strong {
  display: block;
  margin-bottom: 0.2rem;
}

.project-nav-links {
  display: grid;
  gap: 0.9rem;
}

.project-nav-links a,
.article-card a {
  text-decoration: none;
}

.article-card {
  padding: 1.1rem;
  border-radius: 20px;
  display: grid;
  gap: 0.7rem;
}

.article-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.project-back,
.article-back {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.empty-state {
  color: var(--muted);
  padding: 1rem 0 0.3rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .lens-principle-card,
  .lens-symbol,
  .lens-glint {
    transition: none;
  }
}

.gradient-solarwise {
  background:
    linear-gradient(135deg, rgba(69, 222, 231, 0.18), rgba(69, 222, 231, 0) 50%),
    linear-gradient(135deg, #0f1721 0%, #1f574a 52%, #f4b14a 100%);
}

.gradient-gbedu {
  background:
    linear-gradient(135deg, rgba(255, 199, 120, 0.2), rgba(255, 199, 120, 0) 50%),
    linear-gradient(135deg, #12131b 10%, #3a1c56 45%, #b84460 100%);
}

@media (max-width: 1040px) {
  .hero-grid,
  .editorial-split,
  .featured-layout,
  .contact-grid,
  .project-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .grid-spotlight-top {
    grid-template-columns: 1fr;
  }

  .featured-intro,
  .project-sidebar,
  .article-sidebar {
    position: static;
  }

  .hero-metrics,
  .snapshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-metrics-legacy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .expertise-layout,
  .tech-grid,
  .cert-grid,
  .proof-strip-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.nav-open {
    overflow: hidden;
  }

  :root {
    --shell: min(100vw - 1.2rem, 1180px);
  }

  .site-nav {
    width: calc(100vw - 1rem);
    padding: 0.7rem 0.8rem;
  }

  .site-nav::before {
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0;
    width: min(88vw, 320px);
    padding: 0.95rem;
    background: rgba(19, 19, 26, 0.96);
    border: 1px solid rgba(228, 225, 236, 0.08);
    border-radius: 18px;
    display: grid;
    gap: 0.75rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 2.1rem;
  }

  .hero-copy,
  .story-card,
  .featured-intro,
  .grid-preview,
  .grid-spotlight-shell,
  .spotlight-story-card,
  .availability-card,
  .project-hero-card,
  .article-prose-card,
  .article-hero-card,
  .not-found-card {
    padding: 1.4rem;
    border-radius: 22px;
  }

  .section {
    padding: 3.8rem 0;
  }

  .hero h1,
  .page-intro h1,
  .project-hero-content h1,
  .article-hero-content h1 {
    font-size: clamp(2.3rem, 10vw, 3.7rem);
  }

  .page-intro-compact h1 {
    max-width: 10ch;
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .product-stack,
  .hero-metrics,
  .snapshot-grid,
  .hero-metrics-legacy {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .product-card,
  .project-section,
  .article-section,
  .contact-card {
    border-radius: 22px;
  }

  .cover-art {
    min-height: 240px;
  }

  .cover-inset {
    width: 34%;
    min-width: 120px;
  }

  .grid-preview-head,
  .archive-head,
  .feature-card-title-row,
  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .grid-spotlight-head,
  .spotlight-story-actions,
  .article-hero-meta-row {
    align-items: start;
  }

  .spotlight-story-card h3,
  .grid-spotlight-copy,
  .article-dek,
  .article-prose {
    max-width: none;
  }

  .grid-spotlight-image,
  .article-cover-image {
    min-height: 0;
  }

  .lens-wordmark {
    font-size: 0.9em;
  }

  .article-atmosphere {
    min-height: 124px;
  }

  .hero h1.hero-name {
    gap: 0.1rem 0.35rem;
  }
}
