/*
Theme Name: LanternSpan Software
Theme URI: https://lanternspansoftware.com/
Author: LanternSpan Software LLC
Author URI: https://lanternspansoftware.com/
Description: A focused one-page business theme for LanternSpan Software, custom WordPress plugin inquiries, and LanternSpan People Directory Pro.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: lanternspan-software
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ls-ink: #18222d;
  --ls-muted: #596571;
  --ls-navy: #183244;
  --ls-navy-deep: #102633;
  --ls-gold: #d59b3b;
  --ls-gold-light: #f3dcae;
  --ls-cream: #fbf8f1;
  --ls-white: #ffffff;
  --ls-line: #dfe4e6;
  --ls-success: #236441;
  --ls-error: #9d312a;
  --ls-shadow: 0 18px 55px rgba(16, 38, 51, 0.12);
  --ls-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ls-ink);
  background: var(--ls-white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }
a { color: var(--ls-navy); }
a:hover { color: #9b6513; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, 100%); }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--ls-white);
  color: var(--ls-ink);
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(223, 228, 230, 0.78);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ls-navy-deep);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-logo { flex: 0 1 290px; }
.brand-logo img { display: block; width: min(290px, 100%); height: auto; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 44% 44%;
  color: var(--ls-navy-deep);
  background: var(--ls-gold-light);
  border: 2px solid var(--ls-gold);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}
.custom-brand .custom-logo-link { display: inline-flex; align-items: center; }
.custom-brand .custom-logo { width: auto; max-width: 260px; max-height: 52px; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a {
  color: var(--ls-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}
.site-nav a:hover, .site-nav a:focus { color: #99630f; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 150px) 0 clamp(85px, 10vw, 125px);
  background:
    radial-gradient(circle at 84% 20%, rgba(213, 155, 59, 0.18), transparent 25%),
    linear-gradient(135deg, var(--ls-cream), #fff 54%, #f4f7f7);
}
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  bottom: -270px;
  border: 70px solid rgba(24, 50, 68, 0.055);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(45px, 8vw, 100px);
  align-items: center;
}
.hero-content { min-width: 0; }
.hero-logo-wrap {
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(24, 50, 68, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 60px rgba(16, 38, 51, 0.09);
}
.hero-logo { display: block; width: 100%; height: auto; }
.eyebrow {
  margin: 0 0 14px;
  color: #925d0c;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--ls-navy-deep); line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 900px; margin-bottom: 24px; font-size: clamp(3rem, 7vw, 5.7rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.2rem, 4.5vw, 3.7rem); }
h3 { margin-bottom: 10px; font-size: 1.24rem; }
.hero-copy { max-width: 720px; margin: 0 0 34px; color: var(--ls-muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  border: 2px solid var(--ls-navy);
  border-radius: 999px;
  color: var(--ls-white);
  background: var(--ls-navy);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover, .button:focus { color: var(--ls-white); background: var(--ls-navy-deep); border-color: var(--ls-navy-deep); transform: translateY(-2px); }
.button-light { color: var(--ls-navy); background: transparent; }
.button-light:hover, .button-light:focus { color: var(--ls-white); }
.button-gold { color: var(--ls-navy-deep); background: var(--ls-gold); border-color: var(--ls-gold); }
.button-gold:hover, .button-gold:focus { color: var(--ls-white); background: #b87b20; border-color: #b87b20; }

.section { padding: clamp(76px, 9vw, 112px) 0; }
.section-intro { max-width: 700px; margin-bottom: 48px; color: var(--ls-muted); font-size: 1.1rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  padding: 30px;
  border: 1px solid var(--ls-line);
  border-radius: var(--ls-radius);
  background: var(--ls-white);
}
.service-number { display: block; margin-bottom: 30px; color: #9b6513; font-size: 0.8rem; font-weight: 900; }
.service-card p { margin: 0; color: var(--ls-muted); font-size: 0.97rem; }

.pro-section { color: rgba(255,255,255,0.82); background: var(--ls-navy-deep); }
.pro-section h2, .pro-section h3 { color: var(--ls-white); }
.pro-section .eyebrow { color: #f2bf69; }
.pro-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr); gap: clamp(45px, 8vw, 100px); align-items: center; }
.pro-lead { margin: 0 0 28px; font-size: 1.12rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 28px; margin: 0 0 38px; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: #f2bf69; font-weight: 900; }
.product-card {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  box-shadow: 0 25px 80px rgba(0,0,0,0.18);
}
.product-card p { margin-bottom: 26px; }
.product-card .small-note { margin: 18px 0 0; color: rgba(255,255,255,0.58); font-size: 0.84rem; }

.quote-section { background: var(--ls-cream); }
.quote-layout { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(430px, 1.25fr); gap: clamp(44px, 8vw, 100px); align-items: start; }
.quote-copy p { color: var(--ls-muted); }
.quote-points { margin: 30px 0 0; padding: 0; list-style: none; }
.quote-points li { padding: 12px 0; border-top: 1px solid #ded8c9; font-weight: 700; }
.quote-form {
  padding: clamp(28px, 5vw, 48px);
  border-radius: 26px;
  background: var(--ls-white);
  box-shadow: var(--ls-shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
label { display: block; margin-bottom: 7px; color: var(--ls-navy-deep); font-size: 0.9rem; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid #cbd2d5;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ls-ink);
  background: var(--ls-white);
}
textarea { min-height: 170px; resize: vertical; }
input:focus, textarea:focus { outline: 3px solid rgba(213, 155, 59, 0.28); border-color: var(--ls-gold); }
.form-note { margin: 14px 0 0; color: var(--ls-muted); font-size: 0.82rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { margin-bottom: 24px; padding: 14px 17px; border-radius: 10px; font-weight: 700; }
.notice-success { color: var(--ls-success); background: #e7f4eb; }
.notice-error { color: var(--ls-error); background: #f9e9e7; }

.site-footer { padding: 38px 0; color: rgba(255,255,255,0.65); background: #091b26; font-size: 0.88rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer p { margin: 0; }
.site-footer a { color: #f2bf69; }

.content-page { min-height: 60vh; padding: 80px 0; }
.content-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.entry-content { max-width: 800px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo-wrap { width: min(320px, 80vw); }
  .pro-layout, .quote-layout { grid-template-columns: 1fr; }
  .product-card { max-width: 620px; }
}
@media (max-width: 720px) {
  body.admin-bar .site-header { top: 46px; }
  .site-nav a:not(.nav-contact) { display: none; }
  .feature-list, .field-row { grid-template-columns: 1fr; }
  .header-inner { min-height: 68px; }
  .brand { font-size: 1rem; }
  .brand-logo { flex-basis: 230px; }
  .brand-mark { width: 34px; height: 34px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 420px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-contact { display: none; }
  h1 { font-size: 2.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
