:root {
  --bg: #09090d;
  --bg-deep: #050507;
  --panel: #111218;
  --panel-soft: #171821;
  --text: #f7f1e8;
  --muted: #b9b0a2;
  --muted-2: #847c70;
  --line: rgba(247, 241, 232, 0.14);
  --line-strong: rgba(224, 181, 105, 0.36);
  --gold: #d6ad63;
  --gold-soft: #f0d69b;
  --copper: #9b6f45;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(214, 173, 99, 0.08), transparent 420px),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #14100a;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(9, 9, 13, 0.76);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(100% - 40px, var(--container));
  height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.brand-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-panel a {
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-panel a:hover {
  color: var(--gold-soft);
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  background: rgba(214, 173, 99, 0.09);
  font-weight: 800;
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: rgba(214, 173, 99, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero {
  position: relative;
  min-height: calc(92svh - 76px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px 0 72px;
  background: var(--bg-deep);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.94) 0%, rgba(5, 5, 7, 0.72) 47%, rgba(5, 5, 7, 0.46) 100%),
    linear-gradient(0deg, rgba(5, 5, 7, 0.9) 0%, rgba(5, 5, 7, 0.18) 50%, rgba(5, 5, 7, 0.58) 100%);
}

.hero-content {
  position: relative;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--gold-soft);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

h2 {
  max-width: 920px;
  font-size: clamp(2rem, 4.2vw, 4.4rem);
}

h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
}

p {
  color: var(--muted);
}

.hero-lead {
  max-width: 720px;
  margin: 25px 0 0;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: transparent;
  color: #140f08;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.trust-line {
  margin: 26px 0 0;
  color: var(--text);
  font-weight: 800;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    #0b0c11;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.intro-strip {
  padding: 24px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 34px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 34px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(214, 173, 99, 0.11), transparent 32%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.portfolio-stack {
  display: grid;
  gap: 42px;
}

.case-study-latest {
  border-color: var(--line-strong);
}

.case-study-latest .case-media {
  display: grid;
  place-items: center;
  background: #050507;
}

.case-study-latest .case-media img {
  object-fit: contain;
}

.case-content h3 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 2.4vw, 2.35rem);
}

.case-actions {
  margin-top: 28px;
}

.portfolio-archive-heading {
  margin: 34px 0 0;
}

.case-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.case-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
}

.case-label {
  margin-top: 0;
  color: var(--gold-soft);
  font-weight: 900;
}

.statement {
  margin: 12px 0 22px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 900;
}

.pill-row,
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-row span,
.badge-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.split-section,
.usage-grid,
.proof-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
}

.split-copy,
.usage-copy,
.proof-copy,
.contact-copy {
  max-width: 620px;
}

.feature-figure,
.usage-media,
.proof-media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-figure img,
.usage-media img,
.proof-media img {
  width: 100%;
  object-fit: cover;
}

.feature-figure img {
  aspect-ratio: 16 / 10;
}

.usage-media img,
.proof-media img {
  aspect-ratio: 16 / 11;
}

figcaption {
  padding: 14px 16px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.usage-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.badge-grid span {
  justify-content: center;
  text-align: center;
  border-radius: 6px;
}

.proof-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
}

.support-line {
  margin-top: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: var(--text);
  font-weight: 800;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-card,
.service-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.22);
}

.image-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.proof-card img {
  object-fit: contain;
  background: #d8d5cf;
}

.image-card div,
.service-card {
  padding: 24px;
}

.image-card p,
.service-card p {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold-soft);
  font-weight: 900;
}

.pricing-note {
  margin: 28px 0 0;
  color: var(--gold-soft);
  font-weight: 800;
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(9, 9, 13, 0.96), rgba(9, 9, 13, 0.82)),
    url("../assets/projectb-cover.jpg") center / cover;
  border-top: 1px solid var(--line);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  align-items: start;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.contact-button::after {
  content: ">";
  color: var(--gold-soft);
}

.contact-button:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 214, 155, 0.68);
  background: rgba(214, 173, 99, 0.12);
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  background: #07070a;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

.footer p:first-child {
  color: var(--text);
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .nav-cta,
  .contact-button {
    transition: none;
  }
}


/* Day 26 — Project C commercial case study */
.project-c-showcase {
  background:
    radial-gradient(circle at 80% 12%, rgba(214, 173, 99, 0.09), transparent 28%),
    rgba(255, 255, 255, 0.018);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.project-c-case {
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(214, 173, 99, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.project-c-media {
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #07070a;
}

.project-c-media video {
  display: block;
  width: 100%;
  aspect-ratio: 32 / 9;
  object-fit: cover;
  background: #07070a;
}

.project-c-copy {
  max-width: 900px;
  padding: 34px;
}

.project-c-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* P001 — validated LED product hero case study */
.case-page-hero {
  overflow: hidden;
  padding: 120px 0 72px;
  background:
    radial-gradient(circle at 76% 14%, rgba(214, 173, 99, 0.12), transparent 30%),
    linear-gradient(180deg, #08080b, #0c0c11);
}

.case-page-intro {
  max-width: 1050px;
  margin-bottom: 48px;
}

.case-page-intro h1 {
  max-width: 1050px;
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.case-page-deck {
  max-width: 790px;
  margin: 26px 0 30px;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.case-page-video,
.case-page-wide-figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-strong);
  background: #050507;
  box-shadow: var(--shadow);
}

.case-page-video video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 1;
  object-fit: contain;
  background: #050507;
}

.case-page-video--landscape video {
  aspect-ratio: 16 / 9;
}

.case-page-wide-figure img {
  width: 100%;
  height: auto;
}

.case-page-copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: start;
}

.case-page-copy-grid h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.case-page-body {
  max-width: 700px;
  font-size: 1.08rem;
}

.case-page-body p:first-child {
  margin-top: 0;
}

.case-page-copy-grid + .container {
  margin-top: 48px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.facts-grid article {
  display: grid;
  gap: 7px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.facts-grid strong {
  color: var(--gold-soft);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.facts-grid span {
  color: var(--muted);
}

.case-page-result {
  max-width: 900px;
  margin: 34px 0 0;
  font-size: 1.08rem;
}

.case-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.case-page-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-page-comparison figure,
.case-page-format-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  background: #050507;
  box-shadow: var(--shadow);
}

.case-page-comparison img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  background: #0b0c11;
}

.case-page-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-page-format-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-page-format-card video {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #050507;
}

@media (max-width: 760px) {
  .project-c-copy {
    padding: 26px 20px;
  }
}

@media (max-width: 980px) {
  .case-study,
  .split-section,
  .usage-grid,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .case-page-copy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-page-format-grid {
    grid-template-columns: 1fr;
  }

  .proof-media {
    order: 2;
  }

  .proof-copy {
    order: 1;
  }

  .card-grid.three,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container,
  .nav {
    width: min(100% - 28px, var(--container));
  }

  .nav {
    height: 68px;
  }

  .brand {
    display: grid;
    gap: 1px;
  }

  .brand-mark {
    font-size: 0.62rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    inset: 78px 14px auto;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    background: rgba(15, 16, 23, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-panel a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: calc(92svh - 68px);
    padding: 96px 0 56px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 5, 7, 0.95), rgba(5, 5, 7, 0.78)),
      linear-gradient(0deg, rgba(5, 5, 7, 0.92), rgba(5, 5, 7, 0.28));
  }

  .section {
    padding: 72px 0;
  }

  .case-page-hero {
    padding: 96px 0 56px;
  }

  .case-page-video video {
    min-height: 230px;
  }

  .intro-strip {
    padding: 22px 0;
  }

  .case-study {
    padding: 12px;
  }

  .case-media img {
    min-height: 290px;
  }

  .case-content,
  .image-card div,
  .service-card {
    padding: 20px;
  }

  .badge-grid,
  .card-grid.three,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid {
    grid-template-columns: 1fr;
  }

  .case-page-comparison {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .case-page-intro {
    width: calc(100% - 28px);
    max-width: none;
  }

  .case-page-deck {
    overflow-wrap: anywhere;
  }

  .case-page-intro .pill-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-page-intro .pill-row span {
    justify-content: center;
    min-width: 0;
    text-align: center;
  }

  .case-page-video video {
    min-height: 0;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .btn {
    padding-inline: 14px;
  }

  .strip-grid {
    justify-content: flex-start;
  }

  .contact-button {
    align-items: flex-start;
    gap: 12px;
  }
}
