/* =========================================================
   LB-Imaging — Website Styles
   Modern agency look: dark canvas, violet→cyan gradient accent,
   scroll-reveal animations, no external font/asset dependencies.
   ========================================================= */

:root{
  --bg: #17171b;
  --bg-alt: #1c1c21;
  --surface: #212126;
  --surface-2: #27272d;
  --border: #313138;
  --text: #eaeaec;
  --text-muted: #a3a3ac;
  --text-faint: #77777f;
  --accent-1: #a85a2e;
  --accent-2: #e3a765;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 80px -20px rgba(168, 90, 46, 0.25);
  --ease: cubic-bezier(.16,.8,.24,1);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1,h2,h3,h4,p{ margin: 0; }

.container{
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* ---------- Typography helpers ---------- */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before{
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

h1{
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h2{
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h3{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.text-lead{
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  line-height: 1.65;
}
.gradient-text{
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn-primary{
  background: var(--gradient);
  color: var(--bg);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(168, 90, 46, 0.4);
}
.btn-ghost{
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{
  border-color: var(--accent-1);
  transform: translateY(-2px);
}
.btn-block{ width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled{
  background: rgba(8, 8, 13, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-bottom-color: var(--border);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo svg{ width: 34px; height: 34px; flex-shrink: 0; }
.nav-links{
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a{
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .25s var(--ease);
  position: relative;
}
.nav-links a:hover{ color: var(--text); }
.nav-cta{ display: flex; align-items: center; gap: 16px; }
.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg{ width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 900px;
  z-index: -1;
  pointer-events: none;
}
.hero-bg::before,
.hero-bg::after{
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.2;
  animation: float-blob 16s ease-in-out infinite alternate;
}
.hero-bg::before{
  width: 480px; height: 480px;
  top: 0; left: 8%;
  background: var(--accent-1);
}
.hero-bg::after{
  width: 420px; height: 420px;
  top: 220px; right: 6%;
  background: var(--accent-2);
  animation-delay: -8s;
}
@keyframes float-blob{
  0%{ transform: translate(0,0) scale(1); }
  100%{ transform: translate(40px,-30px) scale(1.08); }
}
.hero-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, black 40%, transparent 85%);
  z-index: -1;
}
.hero-content{
  max-width: 760px;
}
.hero-actions{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero-meta{
  display: flex;
  gap: 32px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-meta-item{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item strong{
  font-size: 22px;
  font-weight: 700;
}
.hero-meta-item span{
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Section base ---------- */
.section{ padding: 120px 0; position: relative; }
.section-alt{ background: var(--bg-alt); }
.section-header{
  max-width: 640px;
  margin-bottom: 64px;
}
.section-header.center{ margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Services / cards grid ---------- */
.grid{
  display: grid;
  gap: 24px;
}
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(168,90,46,0.35);
  background: var(--surface-2);
}
.card-icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--bg);
}
.card-icon svg{ width: 22px; height: 22px; }
.card h3{ margin-bottom: 10px; }
.card p{ color: var(--text-muted); font-size: 15px; }
.card-tag{
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid rgba(34,211,238,0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Process / steps ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step{
  position: relative;
  padding-top: 8px;
  border-top: 2px solid var(--border);
}
.step::before{
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step h3{ margin-bottom: 10px; }
.step p{ color: var(--text-muted); font-size: 14.5px; }

/* ---------- Portfolio ---------- */
.project-card{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  transition: border-color .4s var(--ease);
}
.project-card:hover{ border-color: rgba(168,90,46,0.35); }
.project-media{
  position: relative;
  min-height: 260px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.project-media-inner{
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.15;
}
.project-media span{
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.project-info{
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-info .eyebrow{ margin-bottom: 12px; }
.project-info h3{ font-size: 24px; margin-bottom: 12px; }
.project-info p{ color: var(--text-muted); margin-bottom: 24px; }
.project-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent-2);
}
.project-link svg{ width: 16px; height: 16px; transition: transform .3s var(--ease); }
.project-link:hover svg{ transform: translate(3px,-3px); }

/* ---------- About ---------- */
.about-layout{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-portrait{
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-portrait::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(168,90,46,0.22), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(227,167,101,0.16), transparent 55%);
}
.about-portrait img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-portrait span{
  position: relative;
  font-size: 15px;
  color: var(--text-faint);
  font-weight: 600;
}
.about-facts{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-fact{
  border-left: 2px solid var(--accent-1);
  padding-left: 14px;
}
.about-fact strong{ display: block; font-size: 15px; margin-bottom: 2px; }
.about-fact span{ font-size: 13.5px; color: var(--text-faint); }

/* ---------- Contact ---------- */
.contact-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-list{ margin-top: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-list a{
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
}
.contact-list svg{ width: 18px; height: 18px; color: var(--accent-2); flex-shrink: 0; }
.contact-list span.muted{ display:block; font-weight: 400; color: var(--text-faint); font-size: 13px; }

.form-group{ margin-bottom: 20px; }
.form-group label{
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-control{
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.form-control:focus{
  outline: none;
  border-color: var(--accent-1);
  background: var(--surface-2);
}
textarea.form-control{ resize: vertical; min-height: 130px; }
.form-note{ font-size: 12.5px; color: var(--text-faint); margin-top: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner{
  border-radius: var(--radius-lg);
  padding: 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 120%, rgba(168,90,46,0.18), transparent 70%);
}
.cta-banner > *{ position: relative; }
.cta-banner h2{ margin-bottom: 16px; }
.cta-banner p{ color: var(--text-muted); margin-bottom: 32px; }
.cta-actions{ display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-top{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.footer-brand p{
  color: var(--text-faint);
  font-size: 14px;
  margin-top: 12px;
  max-width: 320px;
}
.footer-links{
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h4{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ font-size: 14.5px; color: var(--text-muted); transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- Legal pages ---------- */
.legal-page{ padding: 160px 0 120px; }
.legal-page .container{ max-width: 780px; }
.legal-page h1{ font-size: clamp(30px, 4vw, 42px); margin-bottom: 40px; }
.legal-page h2{ font-size: 20px; margin: 40px 0 12px; }
.legal-page p, .legal-page li{ color: var(--text-muted); font-size: 15px; line-height: 1.75; }
.legal-page ul{ list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-page a{ color: var(--accent-2); text-decoration: underline; }

/* ---------- Reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .about-layout{ grid-template-columns: 1fr; }
  .about-portrait{ max-width: 360px; }
  .contact-layout{ grid-template-columns: 1fr; }
  .project-card{ grid-template-columns: 1fr; }
  .project-media{ min-height: 200px; }
}

@media (max-width: 720px){
  .nav-links{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    z-index: 99;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-cta .btn-ghost{ display: none; }
  .nav-toggle{ display: flex; }
  .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .hero{ padding: 140px 0 80px; }
  .section{ padding: 80px 0; }
  .cta-banner{ padding: 40px 24px; }
  .footer-top{ flex-direction: column; }
}
