/* ============================================
   LUMENARC — style.css
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;1,400;1,500&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #080808;
  color: #E8E8E8;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
  overflow-x: hidden;
  max-width: 100vw;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ---- CSS Variables ---- */
:root {
  --accent: #00C2C7;
  --bg: #080808;
  --text-primary: #F4F4F4;
  --text-secondary: #D4D4D4;
  --text-muted: #C4C4C4;
  --border: rgba(255, 255, 255, 0.08);
  --border-solid: 0.5px solid rgba(255, 255, 255, 0.08);
  --section-pad: 7rem 0;
  --container: min(1200px, 90vw);
}

/* ---- Container ---- */
.container {
  width: var(--container);
  margin: 0 auto;
}

/* ---- Section Labels ---- */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #080808;
  border-bottom: var(--border-solid);
  padding: 0 5vw;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.nav-logo img {
  height: 110px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D0D0D0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: #080808;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 5vw;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--accent);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 145px 5vw 80px;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-logo {
  height: 140px;
  width: auto;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(0, 194, 199, 0.4));
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.9), 0 0 80px rgba(0,0,0,0.8);
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  transition: opacity 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #080808;
  border: none;
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 0.5px solid var(--text-secondary);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   TICKER BAR
   ============================================ */

.ticker {
  border-top: var(--border-solid);
  border-bottom: var(--border-solid);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker-scroll 36s linear infinite;
}

.ticker-content {
  display: inline-flex;
  gap: 0;
}

.ticker-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cccccc;
  padding: 0 2rem;
}

.ticker-dot {
  color: var(--accent);
  padding: 0;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  padding: var(--section-pad);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-block {
  padding: 2.5rem 2.5rem 2.5rem 0;
  border-top: 0.5px solid var(--accent);
}

.service-block:not(:first-child) {
  padding-left: 2.5rem;
  border-left: var(--border-solid);
}

.service-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-items li {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  padding-left: 1rem;
  position: relative;
}

.service-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
}

/* ============================================
   CASE STUDIES
   ============================================ */

.case-studies {
  padding: var(--section-pad);
  border-top: var(--border-solid);
}

.case-study-block {
  padding-bottom: 5rem;
  margin-bottom: 5rem;
  border-bottom: var(--border-solid);
}

.case-study-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.terrasync-image {
  margin-bottom: 2rem;
}

.terrasync-image img {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: center center;
  border-radius: 4px;
  border: 0.5px solid var(--border);
}

.case-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.case-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.case-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}

/* Elira image gallery */
.elira-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.elira-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border-radius: 4px;
  border: 0.5px solid var(--border);
  transition: border-color 0.2s ease;
}

.elira-gallery img:hover {
  border-color: var(--accent);
}

.elira-magazine-img {
  aspect-ratio: 3 / 4 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #0f0f0f;
}

/* Stats row */
.case-stats {
  display: flex;
  gap: 0;
  border-top: var(--border-solid);
  padding-top: 1.75rem;
  flex-wrap: wrap;
}

.stat-item {
  flex: 1;
  min-width: 160px;
  padding-right: 2rem;
}

.stat-item:not(:first-child) {
  padding-left: 2rem;
  border-left: var(--border-solid);
}

.stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.stat-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ============================================
   SELECTED WORK
   ============================================ */

.selected-work {
  padding: var(--section-pad);
  border-top: var(--border-solid);
}

.work-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

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

.work-card {
  border: 0.5px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease;
  cursor: default;
}

.work-card:hover {
  border-color: var(--accent);
}

.work-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.work-card-body {
  padding: 1.25rem;
}

.work-card-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.work-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.work-card-deliverables {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

.work-footnote {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* ============================================
   WHY LUMENARC
   ============================================ */

.why {
  padding: var(--section-pad);
  border-top: var(--border-solid);
}

.why-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.25;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.founder-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto 3rem;
  border: var(--border-solid);
}

.founder-block {
  padding: 2rem;
}

.founder-block:not(:last-child) {
  border-right: var(--border-solid);
}

.founder-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.founder-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
}

.why-credentials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.why-cred-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.why-cred-dot {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.process {
  padding: var(--section-pad);
  border-top: var(--border-solid);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.process-step {
  padding: 2rem 2rem 2rem 0;
  border-top: 0.5px solid var(--accent);
}

.process-step:not(:first-child) {
  padding-left: 2rem;
  border-left: var(--border-solid);
}

.step-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.step-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.step-title span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.step-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  padding: var(--section-pad);
  border-top: var(--border-solid);
  text-align: center;
}

.contact-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.contact-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.contact-email {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
}

.contact-email:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: var(--border-solid);
  padding: 2rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */

@media (max-width: 768px) {

  :root {
    --section-pad: 5rem 0;
  }

  /* Nav */
  .nav-links {
    display: none;
  }

  .nav {
    height: 72px;
  }

  .nav-logo img {
    height: 56px;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: auto;
    display: block;
    padding: 80px 0 3rem;
  }

  .hero-video {
    position: relative;
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
    mix-blend-mode: screen;
    inset: auto;
  }

  .hero-inner {
    padding: 2rem 5vw 0;
    position: relative;
    z-index: auto;
  }

  .hero-logo {
    max-height: 48px;
    margin-bottom: 2rem;
  }

  .hero-headline {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-block {
    padding: 2rem 0;
    border-left: none !important;
  }

  .service-block:not(:first-child) {
    padding-left: 0;
    border-top: 0.5px solid var(--accent);
  }

  /* Elira gallery */
  .elira-gallery {
    grid-template-columns: 1fr;
  }

  /* Case stats */
  .case-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .stat-item {
    padding: 0 !important;
    border-left: none !important;
  }

  /* Work grid */
  .work-grid {
    grid-template-columns: 1fr;
  }

  /* Why */
  .founder-blocks {
    grid-template-columns: 1fr;
  }

  .founder-block:not(:last-child) {
    border-right: none;
    border-bottom: var(--border-solid);
  }

  /* Process */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    padding: 2rem 0;
    border-left: none !important;
  }

  .process-step:not(:first-child) {
    padding-left: 0;
  }

  /* Contact */
  .contact-headline {
    font-size: 32px;
  }

  /* Footer */
  .footer {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .why-headline {
    font-size: 28px;
  }

  .case-title {
    font-size: 26px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-headline {
    font-size: 52px;
  }
}
