/* =========================================================
   Junwell LLC — stylesheet
   Elegant, premium real-estate/investment aesthetic.
   Dependency-free. Edit variables below to rebrand.
   ========================================================= */

:root {
  --bg:        #faf7f2;   /* warm off-white */
  --bg-2:      #f2ecff;   /* soft lilac wash */
  --surface:   #ffffff;
  --ink:       #1c1530;   /* near-black plum */
  --muted:     #6b6480;
  --purple:    #5b21b6;
  --purple-d:  #4c1d95;
  --purple-l:  #7c3aed;
  --gold:      #c19a3e;
  --gold-l:    #d9b45f;
  --line:      #e7e0f0;
  --radius:    16px;
  --maxw:      1160px;
  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; }
.gold { color: var(--gold); }
.purple { color: var(--purple); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; font-family: var(--sans);
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 26px -12px rgba(91,33,182,.65); }
.btn-primary:hover { background: var(--purple-d); transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(91,33,182,.7); }
.btn-gold { background: linear-gradient(100deg, var(--gold), var(--gold-l)); color: #241a06; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(193,154,62,.6); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(250,247,242,.8); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(250,247,242,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: .01em; color: var(--purple-d); }
.brand svg { width: 34px; height: 34px; }
.brand small { display:block; font-family: var(--sans); font-size: 9.5px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; font-weight: 600; margin-top: -3px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--purple); }
.nav-cta { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 168px 0 108px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(55% 60% at 82% 8%, rgba(124,58,237,.14), transparent 60%),
  radial-gradient(45% 50% at 8% 92%, rgba(193,154,62,.12), transparent 60%),
  linear-gradient(180deg, var(--bg), var(--bg-2)); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 22px; }
.eyebrow .line { width: 34px; height: 1.5px; background: var(--gold); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -.01em; margin: 0 0 20px; font-weight: 600; }
.hero h1 em { font-style: italic; color: var(--purple); }
.hero .lede { font-size: 1.16rem; color: var(--muted); max-width: 42ch; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual card */
.hero-card { position: relative; }
.hero-card .frame { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: 0 40px 90px -50px rgba(28,21,48,.5); }
.hero-card .frame .row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hero-card .frame .row:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card .frame .row:first-child { padding-top: 0; }
.hero-card .k { color: var(--muted); font-size: .92rem; }
.hero-card .v { font-family: var(--serif); font-size: 1.7rem; color: var(--purple-d); }
.hero-badge { position: absolute; top: -18px; right: -14px; background: linear-gradient(100deg, var(--gold), var(--gold-l)); color: #241a06; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(193,154,62,.6); transform: rotate(3deg); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 660px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { color: var(--purple); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.section-head.center .kicker { justify-content: center; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); display: inline-block; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; margin: 0 0 18px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.bg-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.bg-ink { background: var(--ink); color: #ece7f7; }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-wrap .lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; color: var(--ink); margin: 0 0 22px; }
.about-wrap p { color: var(--muted); margin: 0 0 18px; }
.pillars { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.pillars li { display: flex; gap: 13px; align-items: center; font-weight: 500; }
.pillars .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.ind::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--purple), var(--gold)); transition: width .3s ease; }
.ind:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(28,21,48,.35); border-color: transparent; }
.ind:hover::before { width: 100%; }
.ind .no { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-weight: 600; letter-spacing: .05em; }
.ind h3 { font-size: 1.32rem; margin: 12px 0 10px; line-height: 1.25; }
.ind p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .s-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: #fff; }
.stat .s-num .plus { color: var(--gold-l); }
.stat .s-lbl { color: #b7aecb; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; margin-top: 10px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.1); }

/* ---------- Team / leadership ---------- */
.lead-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead-quote { font-family: var(--serif); font-size: 1.6rem; line-height: 1.5; color: var(--ink); }
.lead-quote .mark { color: var(--gold); font-size: 2.6rem; line-height: 0; vertical-align: -0.4em; }
.mini-stats { display: flex; gap: 34px; margin-top: 30px; }
.mini-stats .m-num { font-family: var(--serif); font-size: 2.2rem; color: var(--purple-d); }
.mini-stats .m-lbl { color: var(--muted); font-size: .85rem; }

/* ---------- News ---------- */
.news-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -50px rgba(28,21,48,.4); }
.news-media { background: linear-gradient(135deg, var(--purple-d), var(--purple-l) 70%, var(--gold)); min-height: 300px; display: grid; place-items: center; padding: 30px; }
.news-media svg { width: 120px; height: 120px; opacity: .95; }
.news-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.news-body .date { color: var(--gold); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.news-body h3 { font-size: 1.75rem; margin: 12px 0 16px; line-height: 1.25; }
.news-body p { color: var(--muted); margin: 0 0 22px; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; }
.contact-info .row { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-2); color: var(--purple); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info a { color: var(--ink); font-weight: 600; }
.contact-info a:hover { color: var(--purple); }
.contact-info .sub { display: block; color: var(--muted); font-size: .9rem; font-weight: 400; }

form.card-form { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: 0 30px 70px -55px rgba(28,21,48,.5); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 11px; font-family: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.field textarea { min-height: 130px; resize: vertical; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.form-status.ok { display: block; background: rgba(52,150,80,.1); border: 1px solid rgba(52,150,80,.3); color: #2e7d46; }
.form-status.err { display: block; background: rgba(200,60,60,.08); border: 1px solid rgba(200,60,60,.3); color: #b23b3b; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--purple-d), var(--purple-l)); border-radius: 24px; padding: 56px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; inset:0; background: radial-gradient(40% 60% at 85% 20%, rgba(217,180,95,.28), transparent 60%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0 0 12px; }
.cta-band p { color: #e6dcff; margin: 0 0 26px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc7e2; padding: 60px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: #9a91b5; }
.site-footer .desc { color: #a79ec2; max-width: 34ch; font-size: .95rem; }
.footer-col h5 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #9a91b5; margin: 0 0 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { color: #cfc7e2; font-size: .95rem; }
.footer-col a:hover { color: var(--gold-l); }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #cfc7e2; transition: .2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold-l); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); color: #9a91b5; font-size: .88rem; flex-wrap: wrap; gap: 12px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-wrap, .lead-wrap, .contact-wrap, .news-card { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); padding-top: 30px; }
  .footer-top { grid-template-columns: 1fr; }
  .news-media { min-height: 200px; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; transform: translateY(-150%); transition: transform .3s ease; align-items: stretch; }
  .nav-links.open { transform: none; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 15px 4px; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .industries { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
