/* Love Story Press LLC — Light rose theme
   Palette: blush-white #FDF8F8 / deep ink #33222A / rose-petal #D98A9C /
            blush-mist #F7E9EC / plum-slate #8A6E79 / hairline #EDD8DD */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #FDF8F8;
  color: #33222A;
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #D98A9C;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-wrap {
  margin-right: 92px;
}

/* ---------- Right vertical rail navigation ---------- */

.rail-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 92px;
  background-color: #FDF8F8;
  border-left: 1px solid #EDD8DD;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  z-index: 120;
}

.rail-brand {
  writing-mode: vertical-rl;
  color: #D98A9C;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 8px;
  text-decoration: none;
}

.rail-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.rail-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #8A6E79;
  text-decoration: none;
  text-transform: uppercase;
}

.rail-dot {
  display: block;
  width: 8px;
  height: 8px;
  background-color: #EDD8DD;
}

.rail-link.active {
  color: #D98A9C;
}

.rail-link.active .rail-dot {
  background-color: #D98A9C;
}

.rail-cta {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #D98A9C;
  color: #33222A;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
}

.rail-hamburger {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background-color: #D98A9C;
  color: #33222A;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #D98A9C;
  color: #D98A9C;
}

.btn-dark {
  background-color: #33222A;
  color: #FDF8F8;
}

/* ---------- Text-only stat hero ---------- */

.stat-hero {
  padding: 84px 0 0;
}

.hero-eyebrow {
  display: inline-block;
  background-color: #D98A9C;
  color: #33222A;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.12;
  font-weight: 800;
  color: #33222A;
  max-width: 880px;
  margin: 26px 0 0;
}

.hero-sub {
  color: #8A6E79;
  font-size: 18px;
  line-height: 1.85;
  max-width: 680px;
  margin: 24px 0 0;
}

.hero-note {
  color: #8A6E79;
  font-size: 16px;
  line-height: 1.8;
  max-width: 680px;
  margin: 18px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 0;
}

.stat-strip {
  margin-top: 66px;
  border-top: 1px solid #EDD8DD;
  border-bottom: 1px solid #EDD8DD;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 32px 20px;
  text-align: center;
}

.stat-cell + .stat-cell {
  border-left: 1px solid #EDD8DD;
}

.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #D98A9C;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: #8A6E79;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ---------- Ledger table ---------- */

.ledger-section {
  padding: 92px 0 0;
}

.ledger-heading {
  font-size: 34px;
  line-height: 1.25;
  color: #33222A;
  margin: 0 0 16px;
}

.ledger-intro {
  color: #8A6E79;
  font-size: 17px;
  line-height: 1.85;
  max-width: 800px;
  margin: 0 0 46px;
}

.ledger-table {
  border-top: 1px solid #EDD8DD;
}

.ledger-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #EDD8DD;
}

.ledger-num {
  color: #D98A9C;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
}

.ledger-name {
  font-size: 21px;
  color: #33222A;
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.3;
}

.ledger-desc {
  color: #8A6E79;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  max-width: 660px;
}

.ledger-chip {
  background-color: #D98A9C;
  color: #33222A;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 9px 18px;
  white-space: nowrap;
}

.ledger-outro {
  color: #8A6E79;
  font-size: 16px;
  line-height: 1.85;
  max-width: 840px;
  margin: 34px 0 0;
}

/* ---------- Metric band ---------- */

.metric-band {
  margin-top: 92px;
  background-color: #D98A9C;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.metric-cell + .metric-cell {
  border-left: 1px solid #FDF8F8;
}

.metric-num {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #33222A;
  line-height: 1.1;
}

.metric-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #33222A;
}

/* ---------- Statement band ---------- */

.statement-band {
  background-color: #F7E9EC;
  padding: 78px 0;
}

.statement-line {
  font-size: 30px;
  line-height: 1.4;
  color: #33222A;
  font-weight: 800;
  max-width: 860px;
  margin: 0;
}

.statement-sub {
  color: #8A6E79;
  font-size: 17px;
  line-height: 1.85;
  max-width: 740px;
  margin: 18px 0 0;
}

/* ---------- CTA band ---------- */

.cta-band {
  background-color: #D98A9C;
  padding: 76px 24px;
  text-align: center;
}

.cta-band h2 {
  color: #33222A;
  font-size: 34px;
  margin: 0 0 14px;
  line-height: 1.25;
}

.cta-band p {
  color: #33222A;
  font-size: 17px;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-band .btn-dark {
  background-color: #33222A;
  color: #FDF8F8;
}

/* ---------- Centered stack footer ---------- */

.stack-footer {
  text-align: center;
  padding: 60px 24px 44px;
}

.footer-brand {
  display: inline-block;
  color: #D98A9C;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 5px;
  text-decoration: none;
}

.footer-blurb {
  color: #8A6E79;
  max-width: 480px;
  margin: 14px auto 0;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 0;
  font-size: 14px;
}

.footer-links a {
  color: #33222A;
  text-decoration: none;
  font-weight: 600;
}

.footer-dot {
  color: #EDD8DD;
}

.footer-legal {
  margin: 24px 0 0;
  color: #8A6E79;
  font-size: 13px;
}

.footer-legal a {
  color: #8A6E79;
  text-decoration: underline;
}

/* ---------- Services page ---------- */

.services-hero {
  padding: 76px 0 20px;
}

.services-title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  color: #33222A;
  max-width: 860px;
  margin: 26px 0 0;
}

.services-intro {
  color: #8A6E79;
  font-size: 17px;
  line-height: 1.85;
  max-width: 760px;
  margin: 22px 0 0;
}

.services-list {
  padding: 48px 0 0;
}

.service-block {
  padding: 46px 0 0;
}

.service-head {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid #EDD8DD;
}

.service-index {
  font-size: 15px;
  color: #D98A9C;
  font-weight: 800;
  letter-spacing: 1px;
}

.service-title {
  font-size: 26px;
  color: #33222A;
  margin: 0;
  font-weight: 800;
  line-height: 1.25;
}

.service-text {
  margin-left: 112px;
  padding-top: 26px;
  max-width: 820px;
}

.service-text p {
  color: #8A6E79;
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 14px;
}

.service-points {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-points li {
  background-color: #F7E9EC;
  color: #33222A;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
}

.process-band {
  background-color: #F7E9EC;
  margin-top: 72px;
  padding: 72px 0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.step-num {
  display: block;
  font-size: 13px;
  color: #D98A9C;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.process-step h3 {
  color: #33222A;
  font-size: 18px;
  margin: 0 0 8px;
}

.process-step p {
  color: #8A6E79;
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* ---------- Contact page ---------- */

.contact-hero {
  padding: 76px 0 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  padding: 52px 0 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #33222A;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: #FDF8F8;
  border: 1px solid #EDD8DD;
  color: #33222A;
  font-size: 15px;
  padding: 13px 16px;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid #D98A9C;
  border-color: #D98A9C;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: #33222A;
  background-color: #F7E9EC;
  border: 1px solid #EDD8DD;
  padding: 12px 16px;
}

.form-message.show {
  display: block;
}

.info-card {
  background-color: #F7E9EC;
  border: 1px solid #EDD8DD;
  padding: 36px 32px;
}

.info-card h3 {
  color: #33222A;
  font-size: 20px;
  margin: 0 0 20px;
}

.info-block {
  margin: 0 0 24px;
}

.info-block h4 {
  font-size: 13px;
  color: #D98A9C;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 6px;
  font-weight: 800;
}

.info-block p {
  color: #8A6E79;
  font-size: 15px;
  margin: 0;
  line-height: 1.7;
}

.info-block a {
  color: #33222A;
  text-decoration: none;
  font-weight: 600;
}

.faq-section {
  padding: 20px 0 70px;
}

.faq-list {
  margin-top: 30px;
  border-top: 1px solid #EDD8DD;
}

.faq-item {
  border-bottom: 1px solid #EDD8DD;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 700;
  color: #33222A;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  color: #D98A9C;
  font-size: 22px;
  font-weight: 800;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  color: #8A6E79;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
  padding: 0 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 460px;
}

/* ---------- Scroll reveal (safe without JS) ---------- */

.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .hero-title {
    font-size: 44px;
  }
  .ledger-row {
    grid-template-columns: 60px 1fr auto;
    gap: 18px;
  }
  .service-text {
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .page-wrap {
    margin-right: 0;
  }
  .rail-nav {
    position: relative;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-left: none;
    border-bottom: 1px solid #EDD8DD;
  }
  .rail-brand {
    writing-mode: horizontal-tb;
    letter-spacing: 4px;
  }
  .rail-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
  }
  .rail-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #33222A;
  }
  .rail-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    background-color: #FDF8F8;
    border-bottom: 1px solid #EDD8DD;
    padding: 16px 20px;
    display: none;
  }
  .rail-links.open {
    display: flex;
  }
  .rail-link {
    flex-direction: row;
    gap: 8px;
  }
  .rail-cta {
    display: none;
  }
  .stat-hero {
    padding-top: 56px;
  }
  .hero-title {
    font-size: 38px;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell:nth-child(odd) {
    border-left: none;
  }
  .stat-cell:nth-child(n + 3) {
    border-top: 1px solid #EDD8DD;
  }
  .metric-band {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 0;
  }
  .metric-cell:nth-child(odd) {
    border-left: none;
  }
  .metric-cell:nth-child(n + 3) {
    border-left: none;
    border-top: 1px solid #FDF8F8;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-title {
    font-size: 32px;
  }
  .services-title {
    font-size: 34px;
  }
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ledger-chip {
    justify-self: start;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .service-head {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 20px;
  }
  .statement-line {
    font-size: 24px;
  }
  .footer-links {
    gap: 10px;
  }
}
