/* ===== Lantern Hours — theme ===== */
:root {
  --cream:      #faf7f0;
  --cream-2:    #f3eee2;
  --paper:      #fffdf8;
  --navy:       #1f2e3f;
  --navy-soft:  #2c3e52;
  --ink:        #2a3340;
  --muted:      #5e6b78;
  --gold:       #c8964f;
  --gold-soft:  #d9b272;
  --gold-glow:  rgba(216, 178, 114, 0.35);
  --line:       rgba(31, 46, 63, 0.10);
  --shadow:     0 18px 50px -28px rgba(31, 46, 63, 0.45);
  --radius:     18px;
  --maxw:       1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .feature__title {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.12;
}

em { font-style: italic; color: var(--gold); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 0.65rem; }
.nav__logo { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.nav__name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.12rem; color: var(--navy); }
.nav__links { display: flex; align-items: center; gap: 1.9rem; font-size: 0.93rem; font-weight: 500; }
.nav__links a { color: var(--muted); transition: color 0.18s ease; }
.nav__links a:hover { color: var(--navy); }
.nav__cta {
  color: var(--navy) !important;
  border: 1px solid var(--line);
  padding: 0.42rem 1rem;
  border-radius: 999px;
  background: var(--paper);
}
.nav__cta:hover { border-color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn--primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--navy-soft); transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--navy);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); transform: translateY(-2px); }
.btn--lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, var(--cream-2) 0%, var(--cream) 55%);
  padding: 6.5rem 2rem 5.5rem;
  text-align: center;
}
.hero__glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 760px; margin: 0 auto; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.1rem); margin-bottom: 1.4rem; }
.hero__lede {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.3rem;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section__head { max-width: 720px; margin-bottom: 3.5rem; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.2rem; }
.section__lede { font-size: 1.1rem; color: var(--muted); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card__icon {
  font-size: 1.4rem;
  color: var(--gold);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--cream-2);
  border-radius: 12px;
  margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* ===== Feature (HalfLight) ===== */
.section--feature {
  max-width: none;
  background: var(--navy);
  padding: 0;
}
.feature {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}
.section--feature .eyebrow { color: var(--gold-soft); }
.feature__copy h2, .feature__title { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.2rem); }
.feature__tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-soft);
  margin: 0.6rem 0 1.4rem;
}
.feature__body { color: #c3cdd8; font-size: 1.06rem; margin-bottom: 1.6rem; }
.feature__list { list-style: none; display: grid; gap: 0.9rem; margin-bottom: 2rem; }
.feature__list li {
  color: #b4c0cd;
  font-size: 0.98rem;
  padding-left: 1.5rem;
  position: relative;
}
.feature__list li::before {
  content: "✦";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}
.feature__list strong { color: var(--cream); font-weight: 600; }

/* HalfLight phone mockup */
.feature__panel { position: relative; display: grid; place-items: center; }
.feature__panel::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}
.phone {
  position: relative;
  width: 100%;
  max-width: 270px;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(160deg, #36475c 0%, #161f2b 100%);
  border: 1px solid rgba(216, 178, 114, 0.22);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}
.phone img {
  display: block;
  width: 100%;
  border-radius: 28px;
}

/* ===== Founder ===== */
.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}
.founder__photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.founder__copy h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.1rem; }
.founder__copy p { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.04rem; }
.founder__skills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.6rem 0 1.6rem; }
.founder__skills span {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--navy-soft);
  border: 1px solid var(--line);
}
.founder__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.link-arrow { color: var(--gold); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.18s ease; }
.link-arrow:hover { border-color: var(--gold); }

/* ===== Contact ===== */
.section--contact { text-align: center; }
.contact { max-width: 620px; margin: 0 auto; }
.contact h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 1rem; }
.contact p { color: var(--muted); font-size: 1.1rem; margin-bottom: 2rem; }
.contact__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); background: var(--cream-2); }
.footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer__brand { display: flex; align-items: center; gap: 0.6rem; font-family: 'Fraunces', serif; font-weight: 600; color: var(--navy); }
.footer__logo { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.footer__links { display: flex; gap: 1.5rem; font-size: 0.92rem; }
.footer__links a { color: var(--muted); transition: color 0.18s ease; }
.footer__links a:hover { color: var(--navy); }
.footer__note { color: var(--muted); font-size: 0.85rem; width: 100%; text-align: center; border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 0.4rem; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav__links { gap: 1.1rem; }
  .nav__links a:not(.nav__cta) { display: none; }
  .cards { grid-template-columns: 1fr; }
  .feature, .founder { grid-template-columns: 1fr; }
  .feature__panel { order: -1; }
  .lanternframe { max-width: 260px; }
  .founder__photo { max-width: 320px; }
}
