/* Grand Ascension — Credit Repair Solutions
   Light premium design system, mobile-first. Warm ivory + gold, minimal gradients. */

:root {
  --bg: #faf7f1;
  --bg-2: #f2ece1;
  --paper: #ffffff;
  --bg-3: #16130e;
  --line: #e8e0d1;
  --line-soft: #efe8da;
  --gold: #b8892e;
  --gold-2: #9c7622;
  --gold-solid: #c9a14a;
  --gold-solid-2: #d8b260;
  --gold-soft: rgba(185, 137, 46, .13);
  --purple: #7a5cd6;
  --ink: #232019;
  --muted: #7d7462;
  --shadow: 0 18px 42px -30px rgba(60, 50, 30, .45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; margin: 0; line-height: 1.05; }

.section { max-width: 1120px; margin: 0 auto; padding-left: clamp(1.5rem, 6vw, 3.25rem); padding-right: clamp(1.5rem, 6vw, 3.25rem); }
.kicker {
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--gold-2);
  font-weight: 600;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: .8rem 1.5rem;
  font-weight: 600;
  font-size: .95rem;
  font-family: "Outfit", sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold-solid); color: #2b2110; border: 1px solid rgba(184, 137, 46, .3); }
.btn-gold:hover { background: var(--gold-solid-2); }
.btn-ghost { border-color: rgba(156, 118, 34, .45); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 241, .9);
  backdrop-filter: blur(10px);
}
header .inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand .logo {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; background: var(--bg);
  border: 1px solid var(--gold); color: var(--gold-2);
  font-family: "Playfair Display", serif;
}
.brand .name { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; }
.brand .sub { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: .1rem; }
nav.main { display: none; gap: 1.5rem; font-size: .92rem; font-weight: 500; color: var(--muted); }
nav.main a:hover, nav.main a.active { color: var(--gold-2); }
.head-cta { display: none; }
#rnmBtn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: .8rem;
  color: var(--ink); cursor: pointer;
  min-width: 3rem; height: 3rem; font-size: 1.35rem; line-height: 1; padding: 0 .2rem;
  -webkit-tap-highlight-color: transparent;
}
#rnmBtn:active { border-color: var(--gold-2); }

/* Hero */
.hero { background: var(--bg-2); }
.hero-inner { max-width: 1100px; margin: 0 auto; padding: 3rem clamp(1.5rem, 6vw, 3.25rem) 3.5rem; display: grid; gap: 2rem; }
.hero-poster { display: flex; justify-content: center; }
.hero-poster img {
  width: 100%;
  max-width: min(92vw, 560px);
  height: auto;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}
.hero-band { text-align: left; animation: heroUp .7s ease both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-band { animation: none; } }
.hero-band .kicker { margin-left: 0; }
.hero-band h1 { font-size: clamp(2.4rem, 8vw, 3.4rem); max-width: 16ch; margin: 0; color: var(--ink); }
.hero-band h1::after { content: ""; display: block; width: 4.5rem; height: 2px; background: var(--gold); margin: 1.4rem 0 0; }
.hero-band p { margin: 1.1rem 0 0; max-width: 36rem; font-size: 1.08rem; color: #4d473c; }
.hero-band .cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-start; }
.hero-band .cta .btn { flex: 1 1 auto; }
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 400px; align-items: center; gap: 2.5rem; padding: 4rem clamp(1.5rem, 6vw, 3.25rem) 4.5rem; }
  .hero-poster img { max-width: 400px; }
  .hero-band { text-align: left; }
  .hero-band h1 { margin: 0; }
  .hero-band h1::after { margin: 1.4rem 0 0; }
  .hero-band p { margin: 1.1rem 0 0; }
  .hero-band .cta { justify-content: flex-start; }
  .hero-band .cta .btn { flex: 0 0 auto; }
}

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; padding: 1.4rem 0 1.4rem 1rem; }
.stats .item { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.05rem; color: var(--gold-2); }
.stats .item span { display: block; font-family: "Outfit", sans-serif; font-size: .72rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .15rem; }

.section-block { padding: 4.5rem 0; }
.section-block h2 { font-size: clamp(2rem, 6vw, 3.2rem); margin-top: .6rem; }
.section-block .lead { color: var(--muted); max-width: 40rem; margin-top: 1rem; }
.grey { background: var(--bg-2); }

/* Cards */
.grid3 { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.grid4 { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.card { border: 1px solid var(--line); border-radius: 1.1rem; background: var(--paper); padding: 1.4rem; transition: transform .22s ease, box-shadow .22s ease; box-shadow: var(--shadow); }
.card:hover { transform: translateY(-4px); }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); font-size: .93rem; margin: .5rem 0 0; }

/* Pricing */
.price { position: relative; border: 1px solid var(--line-strong); border-radius: 1.1rem; background: var(--paper); padding: 1.4rem; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease; box-shadow: var(--shadow); }
.price:hover { transform: translateY(-4px); }
.price::before { content: ""; position: absolute; top: 0; left: 1.2rem; right: 1.2rem; height: 3px; background: var(--gold); border-radius: 0 0 .3rem .3rem; }
.tier-badge { position: absolute; top: 1rem; right: 1rem; font-family: "Outfit", sans-serif; font-size: .6rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); background: var(--gold-soft); border: 1px solid rgba(184, 137, 46, .45); border-radius: 9999px; padding: .28rem .6rem; }
.price .tier { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: var(--gold-2); font-weight: 600; }
.price h3 { margin-top: .3rem; font-size: 1.35rem; }
.price .amount { font-family: "Playfair Display", serif; font-size: 2.2rem; color: var(--gold-2); margin: .5rem 0; }
.price ul { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.price li { font-size: .9rem; color: var(--muted); padding-left: 1rem; position: relative; }
.price li::before { content: ""; position: absolute; left: 0; top: .55em; width: .35rem; height: .35rem; background: var(--gold); transform: rotate(45deg); }
.price .btn { margin-top: auto; }

/* Steps */
.steps { display: grid; gap: 2.2rem; margin-top: 2.2rem; counter-reset: step; }
.step .num { font-family: "Playfair Display", serif; font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: .9rem; }
.step h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.step p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Work */
.work-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.work-grid { display: grid; gap: 1.1rem; margin-top: 2rem; }
.work-grid figure { margin: 0; border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.work-grid img { width: 100%; height: auto; display: block; }
.work-grid figure:hover img { filter: brightness(1.03); }
.work-grid figcaption { padding: .7rem 1rem; font-size: .82rem; color: var(--muted); }
.see-all-mobile { display: inline-flex; margin-top: 1.6rem; }
.see-all-desktop { display: none; }

/* About */
.about-grid { display: grid; gap: 1.6rem; margin-top: 2rem; align-items: center; }
.about-grid img { border-radius: 1.2rem; width: 100%; height: auto; object-fit: contain; object-position: top; background: var(--bg-2); }
.about-grid p { color: var(--muted); margin: .8rem 0 0; }
.chip {
  display: inline-block; border: 1px solid rgba(184, 137, 46, .4); color: var(--gold-2);
  border-radius: 9999px; padding: .3rem .8rem; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; margin-top: 1.2rem; font-family: "Outfit", sans-serif; font-weight: 600;
}

/* About page */
.about-block h2 { margin-top: .4rem; }
.about-block p { color: var(--muted); margin: 1.1rem 0 0; }
.about-block .run-in { font-family: "Playfair Display", serif; font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.5; }
.about-block .chip { margin-top: 1.6rem; }

/* Blog coming soon */
.soon { text-align: center; padding: 3.5rem 1.5rem; }
.soon p { max-width: 34rem; margin: .8rem auto 0; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.big-phone { font-family: "Playfair Display", serif; font-weight: 700; color: var(--gold-2); font-size: clamp(2rem, 7vw, 3.2rem); display: block; margin-top: 1.2rem; }
.contact-grid .cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
form { display: grid; gap: 1rem; }
form label { font-family: "Outfit", sans-serif; color: var(--ink); font-size: .9rem; display: block; margin-bottom: .4rem; font-weight: 600; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: .7rem; width: 100%;
  padding: .8rem .9rem;
}
input:focus, select:focus, textarea:focus, .rnm-shell:focus-within { outline: 2px solid var(--gold); outline-offset: 1px; }
.two { display: grid; gap: 1rem; grid-template-columns: 1fr; }

/* Form photo shell (attach +) */
.rnm-shell { display: flex; flex-direction: column; gap: .45rem; padding: .8rem .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: .7rem; width: 100%; }
.rnm-shell textarea { border: 0; padding: 0; background: transparent; border-radius: 0; resize: none; overflow-y: auto; min-height: 6.5rem; max-height: 14rem; line-height: 1.45; }
.rnm-shell textarea:focus { outline: none; }
.rnm-tools { display: flex; align-items: center; gap: .7rem; }
.rnm-hint { font-size: .78rem; color: var(--muted); }
.rnm-add { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 9999px; border: 2px solid var(--gold); background: var(--gold-soft); color: var(--gold-2); cursor: pointer; flex-shrink: 0; transition: transform .15s ease, background .15s ease; }
.rnm-add:hover { transform: scale(1.05); background: var(--gold); color: #fff; }
#rnmPreviews { display: flex; flex-wrap: wrap; gap: .6rem; }
.rnm-thumb { position: relative; width: 4.5rem; height: 4.5rem; border-radius: .6rem; overflow: hidden; border: 1px solid var(--line); }
.rnm-thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--bg-2); }
.rnm-del { position: absolute; top: .2rem; right: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 9999px; background: rgba(0, 0, 0, .7); color: #fff; border: 0; cursor: pointer; font-size: .8rem; line-height: 1; display: flex; align-items: center; justify-content: center; }

form .btn { width: 100%; }
form .note { font-size: .82rem; color: var(--muted); margin: 0; }

/* Footer (dark anchor, premium contrast) */
footer { margin-top: 5rem; border-top: 1px solid var(--line); background: var(--bg-3); color: #e9e2cd; }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0; }
footer h4 { font-family: "Outfit", sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--gold-solid); margin: 0 0 .8rem; }
footer .links { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; color: #a99f86; }
footer .links a:hover { color: var(--gold-solid-2); }
footer .ftr-phone { font-family: "Playfair Display", serif; font-size: 1.6rem; font-weight: 700; color: var(--gold-solid); }
footer .copy { border-top: 1px solid rgba(233, 226, 205, .12); padding: 1.1rem; text-align: center; font-size: .72rem; color: #a99f86; }
footer .legal-links { margin-top: .7rem; display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; justify-content: center; }
footer .legal-links a { color: #a99f86; }
footer .legal-links a:hover { color: var(--gold-solid-2); }

/* Legal pages */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 0; }
.legal h2:first-of-type { margin-top: 1.6rem; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 .3rem; }
.legal p, .legal li { color: var(--muted); font-size: .95rem; }
.legal ul { margin: .6rem 0 0; padding-left: 1.15rem; }
.legal li { margin: .35rem 0; }
.legal .fine { font-size: .78rem; }

/* Full-screen mobile menu */
#rnmMenu {
  position: fixed; inset: 0; z-index: 90; background: rgba(250, 247, 241, .98);
  display: flex; flex-direction: column; padding: 1.25rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  transform: translateY(-100%); transition: transform .28s ease; visibility: hidden;
}
#rnmMenu.open { transform: translateY(0); visibility: visible; }
#rnmMenu .menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.5rem; }
#rnmMenu .menu-brand { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.05rem; }
#rnmMenu .menu-brand small { display: block; font-family: "Outfit", sans-serif; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
#rnmClose { width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); color: var(--gold-2); font-size: 1.5rem; line-height: 1; cursor: pointer; }
#rnmMenu .menu-nav { display: flex; flex-direction: column; }
#rnmMenu .menu-nav a {
  font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: 700; color: var(--ink);
  padding: .8rem 0; border-bottom: 1px solid var(--line); transition: transform .18s ease, color .18s ease;
}
#rnmMenu .menu-nav a:hover { color: var(--gold-2); transform: translateX(6px); }
#rnmMenu .menu-nav a.current { color: var(--gold-2); }
#rnmMenu .menu-cta { margin-top: 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
#rnmMenu .menu-cta .btn { padding: .8rem 0; }
#rnmMenu .menu-note { margin-top: 1.2rem; font-size: .74rem; color: var(--muted); text-align: center; }
body.rnm-locked { overflow: hidden; }

/* Desktop */
@media (min-width: 768px) {
  nav.main { display: flex; }
  #rnmBtn { display: none; }
  .head-cta { display: inline-flex; gap: .5rem; }
  .section-block { padding: 6rem 0; }
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .grid4 { grid-template-columns: repeat(4, 1fr); }
  .work-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr 1fr; }
  .hero-band .cta .btn { flex: 0 0 auto; }
  .see-all-mobile { display: none; }
  .see-all-desktop { display: inline-flex; }
}
@media (max-width: 767px) {
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .rnm-add { width: 3.5rem; height: 3.5rem; }
  .rnm-thumb { width: 5.25rem; height: 5.25rem; }
  .works-grid img { height: auto; }
}

/* ------------------------------------------------------------------ */
/* Golden Ascension chat widget (light) */
/* ------------------------------------------------------------------ */
#gaChatOpen {
  position: fixed; right: 1.1rem; bottom: 1.2rem; z-index: 72;
  display: inline-flex; align-items: center; gap: .55rem;
  border: 1px solid rgba(156, 118, 34, .4); border-radius: 9999px;
  background: var(--paper); color: var(--gold-2);
  padding: .75rem 1.1rem; font-family: "Outfit", sans-serif; font-weight: 600; font-size: .88rem; cursor: pointer;
  box-shadow: 0 14px 34px -18px rgba(60, 50, 30, .55); -webkit-tap-highlight-color: transparent;
  transition: transform .18s ease;
}
#gaChatOpen:hover { transform: translateY(-2px); }
#gaChatOpen .dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184, 137, 46, .2); }

#gaChat {
  position: fixed; right: 1rem; bottom: 1rem; left: 1rem; z-index: 95;
  display: none; flex-direction: column; height: min(78vh, 560px);
  border: 1px solid var(--line); border-radius: 1.1rem; overflow: hidden;
  background: var(--paper); box-shadow: 0 24px 60px -24px rgba(60, 50, 30, .5);
}
#gaChat.open { display: flex; }
#gaChat .ga-head {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .9rem 1rem; background: var(--bg-2); border-bottom: 1px solid var(--line);
}
#gaChat .ga-head .ga-id { display: flex; align-items: center; gap: .65rem; }
#gaChat .ga-head .av { width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; font-family: "Playfair Display", serif; font-weight: 700; color: var(--gold-2); background: var(--gold-soft); }
#gaChat .ga-head .ga-who b { font-size: .92rem; display: block; }
#gaChat .ga-head .ga-who span { font-size: .7rem; color: var(--muted); }
#gaChat .ga-close { width: 2.4rem; height: 2.4rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper); color: var(--gold-2); font-size: 1.2rem; line-height: 1; cursor: pointer; }
#gaChat .ga-body { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
#gaChat .ga-body::-webkit-scrollbar { width: 6px; }
#gaChat .ga-body::-webkit-scrollbar-thumb { background: rgba(156, 118, 34, .3); border-radius: 99px; }
.ga-bubble { max-width: 85%; padding: .62rem .85rem; border-radius: .9rem; font-size: .9rem; line-height: 1.5; white-space: pre-line; }
.ga-bot { align-self: flex-start; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: .3rem; }
.ga-user { align-self: flex-end; background: var(--gold-solid); color: #2b2110; border-bottom-right-radius: .3rem; font-weight: 500; }
.ga-bubble a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.ga-user a { color: #2b2110; text-decoration: none; }
.ga-chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: .2rem 0 0; }
.ga-chip {
  font-family: "Outfit", sans-serif; font-size: .76rem; font-weight: 600; color: var(--gold-2);
  background: transparent; border: 1px solid rgba(156, 118, 34, .45); border-radius: 9999px;
  padding: .42rem .8rem; min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ga-chip:hover { background: var(--gold-solid); color: #2b2110; border-color: var(--gold-solid); }
.ga-chip:active { background: var(--gold-2); color: #fff; }
.ga-act { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .1rem; }
.ga-act .btn { padding: .6rem .95rem; font-size: .8rem; min-height: 2.6rem; display: inline-flex; align-items: center; justify-content: center; }
#gaChat .ga-in {
  display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: var(--bg-2);
}
#gaChat .ga-in input {
  flex: 1; border: 1px solid var(--line); border-radius: .7rem; background: var(--paper);
  color: var(--ink); padding: .6rem .8rem; font-size: .9rem;
}
#gaChat .ga-in button {
  border: 1px solid var(--gold-solid); background: var(--gold-solid); color: #2b2110; border-radius: .7rem;
  padding: 0 1rem; font-weight: 700; cursor: pointer; font-size: 1rem;
}
.ga-typing { align-self: flex-start; display: inline-flex; gap: .22rem; padding: .7rem .9rem; }
.ga-typing i { width: .35rem; height: .35rem; border-radius: 50%; background: var(--gold-2); animation: ga-blink 1s infinite; }
.ga-typing i:nth-child(2) { animation-delay: .18s; }
.ga-typing i:nth-child(3) { animation-delay: .36s; }
@keyframes ga-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (min-width: 768px) {
  #gaChat { left: auto; right: 1.2rem; bottom: 1.2rem; width: 24rem; }
  #gaChatOpen { bottom: 1.4rem; }
}