/* ---------------------------------------------------
   Lamplight Media — marketing site
   Light, warm, editorial design
--------------------------------------------------- */

:root {
  --ink: #17140f;
  --ink-soft: #4a453c;
  --cream: #f7f2e8;
  --cream-deep: #efe7d6;
  --card: #fffdf8;
  --line: #e4dac4;
  --amber: #e2962c;
  --amber-deep: #b96a1e;
  --amber-glow: #f6b93b;
  --shadow: 0 1px 2px rgba(23, 20, 15, 0.04), 0 8px 24px rgba(23, 20, 15, 0.06);
  --shadow-lg: 0 4px 12px rgba(23, 20, 15, 0.05), 0 24px 48px rgba(23, 20, 15, 0.09);
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

p { margin: 0; }

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

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Background glow */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(560px 420px at 82% -8%, rgba(246, 185, 59, 0.35), transparent 65%),
    radial-gradient(480px 360px at -5% 18%, rgba(226, 150, 44, 0.16), transparent 60%);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.brand-mark.small {
  width: 24px;
  height: 24px;
  opacity: 0.85;
}

.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:not(.nav-cta) {
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.site-nav a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--amber-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 28px 20px;
  gap: 4px;
  border-top: 1px solid var(--line);
}

.site-nav-mobile a {
  padding: 12px 4px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.site-nav-mobile a:last-child {
  border-bottom: none;
}

.site-nav-mobile .nav-cta {
  display: inline-block;
  margin-top: 8px;
  text-align: center;
}

.site-header.open .site-nav-mobile {
  display: flex;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 96px 28px 84px;
  text-align: center;
  max-width: 860px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  margin-bottom: 24px;
}

.grad-text {
  background: linear-gradient(100deg, var(--amber-deep), var(--amber-glow) 60%, var(--amber-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ---------------- Sections ---------------- */
.section {
  padding: 72px 0;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-deep);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 620px;
  margin-bottom: 48px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(246, 185, 59, 0.28), rgba(226, 150, 44, 0.12));
  color: var(--amber-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Client card */
.client-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(226, 150, 44, 0.4);
}

.client-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber-deep);
  background: rgba(226, 150, 44, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.client-name {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.client-domain {
  color: var(--amber-deep);
}

.client-desc {
  color: var(--ink-soft);
}

.client-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 12px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  flex-shrink: 0;
}

.client-card:hover .client-link {
  border-color: var(--ink);
}

.network-note {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-style: italic;
}

/* CTA section */
.cta-section {
  margin: 40px 28px 0;
  background: linear-gradient(155deg, #201a10, #171310);
  border-radius: 32px;
  padding: 90px 0;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 300px at 50% 0%, rgba(246, 185, 59, 0.28), transparent 70%);
  pointer-events: none;
}

.cta-wrap {
  text-align: center;
  max-width: 620px;
  position: relative;
}

.cta-mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 24px;
  filter: invert(1) brightness(1.4);
  opacity: 0.9;
}

.cta-section .section-title {
  color: var(--cream);
  margin: 0 auto 16px;
}

.cta-section .hero-sub {
  color: rgba(247, 242, 232, 0.72);
  margin-bottom: 36px;
}

.cta-section .btn-primary {
  background: var(--amber-glow);
  color: #211a0d;
}

.cta-section .btn-primary:hover {
  background: var(--amber-deep);
  color: var(--cream);
}


/* ---------------- Footer ---------------- */
.site-footer {
  padding: 40px 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-llc {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.85em;
}

.footer-copy {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 780px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .client-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .client-link { align-self: flex-start; }
  .hero { padding: 64px 24px 56px; }
  .section { padding: 56px 0; }
  .cta-section { margin: 32px 16px 0; border-radius: 24px; padding: 64px 24px; }
}
