/*
 * One Flow Forge section language.
 * A steel rail and ember strike introduce every chapter while the shared
 * atmosphere remains visible beneath open, editorial compositions.
 */

.homepage {
  --section-rail: rgba(210, 219, 220, .2);
  --section-copy: #b9c1c2;
  --section-heading: #f1f3f1;
  --section-ember: #ff8a3d;
  --section-space: clamp(72px, 8vw, 118px);
}

.homepage main > :is(#work, #services, #pricing, #faq, #contact) {
  position: relative;
  min-height: 0;
  padding-block: 0;
  border: 0;
  background: transparent;
}

.homepage main > :is(#work, #services, #pricing, #faq, #contact) > .container {
  position: relative;
  padding-block: var(--section-space);
}

.homepage main > :is(#work, #services, #pricing, #faq, #contact) > .container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--section-rail);
}

.homepage main > :is(#work, #services, #pricing, #faq, #contact) > .container::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(46px, 5vw, 72px);
  height: 3px;
  background: linear-gradient(90deg, #ff6a00, #ffae75);
  box-shadow: 0 0 16px rgba(255, 106, 0, .26);
}

.homepage #work::before,
.homepage #services::before,
.homepage #pricing::before { display: none; }

.homepage main > :is(#work, #services, #pricing, #faq, #contact) .eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  color: #c7cecf;
  font: 600 .75rem/1.4 var(--display);
  letter-spacing: .11em;
  text-transform: uppercase;
}

.homepage main > :is(#work, #services, #pricing, #faq, #contact) .eyebrow:not(:has(.signal-dot))::before {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #798285 0 30%, transparent 30% 42%, var(--section-ember) 42%);
}

.homepage main > :is(#work, #services, #pricing, #faq, #contact) h2 {
  color: var(--section-heading);
  font-size: clamp(2.7rem, 4.65vw, 4.55rem);
  line-height: .99;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}

.homepage main > :is(#work, #services, #pricing, #faq, #contact) h2 span {
  color: #ff9c52;
}

/* Work: the same chapter opening, then nothing between the visitor and the work. */
.homepage main > #work > .container { padding-top: var(--section-space); }
.homepage #work .work-introduction { margin-bottom: clamp(28px, 4vw, 50px); }
.homepage #work .work-introduction h2 {
  max-width: 850px;
  font-size: clamp(2.7rem, 4.65vw, 4.55rem);
  line-height: .99;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.homepage #work .work-hint {
  max-width: 46ch;
  margin-top: 19px;
  color: var(--section-copy);
  font-size: 1rem;
  line-height: 1.7;
}
.homepage #work .work-projects { margin-top: 0; }
.homepage #work .work-caption {
  padding-top: 24px;
  border-top: 1px solid var(--section-rail);
}
.homepage #work .work-more { margin-top: 28px; }
.homepage #work .work-more a {
  color: #e8ebe9;
  text-decoration-color: var(--section-ember);
  text-underline-offset: 7px;
}

/* Services: one open three-column instrument, not three unrelated cards. */
.homepage #services .services-intro {
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, .55fr);
  gap: clamp(42px, 8vw, 116px);
  margin-bottom: clamp(38px, 5vw, 62px);
}
.homepage #services .services-intro h2 {
  max-width: 830px;
  margin-top: 0;
}
.homepage #services .services-intro > p {
  max-width: 430px;
  padding: 0;
  border: 0;
  color: var(--section-copy);
  font-size: 1rem;
  line-height: 1.75;
}
.homepage #services .service-deck {
  border-block: 1px solid var(--section-rail);
  background: transparent;
  box-shadow: none;
}
.homepage #services .service-deck::before,
.homepage #services .service-deck::after { display: none; }
.homepage #services .service-panel {
  min-height: clamp(440px, 38vw, 520px);
  background: rgba(7, 9, 10, .2);
  transition: background-color .4s ease, transform .4s cubic-bezier(.2,.8,.2,1);
}
.homepage #services .service-panel + .service-panel { border-left-color: var(--section-rail); }
.homepage #services .service-panel:hover,
.homepage #services .service-panel:focus-visible {
  background: rgba(20, 17, 14, .65);
  transform: translateY(-4px);
}
.homepage #services .service-panel::after { opacity: 0; }
.homepage #services .service-panel-number { color: #9ca5a7; }
.homepage #services .service-panel h3 { color: #f0f2f0; }
.homepage #services .service-panel-copy p { color: var(--section-copy); }
.homepage #services .services-note {
  margin-top: 25px;
  color: #9fa8aa;
  font-size: .875rem;
}

/* Offer: retain its advertising strength without changing visual universe. */
.homepage #pricing .pricing-panel {
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, .92fr);
  gap: clamp(42px, 7vw, 104px);
  padding-block: var(--section-space);
  border: 0;
}
.homepage #pricing .pricing-offer {
  overflow: visible;
  padding: 0;
  border: 0;
  clip-path: none;
  background: transparent;
  box-shadow: none;
}
.homepage #pricing .pricing-offer::before,
.homepage #pricing .pricing-offer::after { display: none; }
.homepage #pricing .pricing-intro .eyebrow { color: #c7cecf; }
.homepage #pricing .pricing-intro h2 {
  max-width: 730px;
  font-size: clamp(2.7rem, 4.65vw, 4.55rem);
}
.homepage #pricing .pricing-details {
  grid-template-columns: minmax(190px, .68fr) minmax(220px, 1fr);
  margin-top: clamp(28px, 4vw, 44px);
}
.homepage #pricing .pricing-amount {
  font-size: clamp(6rem, 9vw, 8.4rem);
  text-shadow: none;
}
.homepage #pricing .pricing-essentials {
  margin-block: 28px 22px;
  border-color: var(--section-rail);
}
.homepage #pricing .pricing-essentials li { border-color: var(--section-rail); }
.homepage #pricing .pricing-process {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(34px, 4vw, 58px);
  border-left: 1px solid var(--section-rail);
}
.homepage #pricing .process-list li,
.homepage #pricing .process-list li:last-child { border-color: var(--section-rail); }

/* Answers and enquiry use the exact same editorial split. */
.homepage #faq .faq-layout,
.homepage #contact .contact-grid {
  grid-template-columns: minmax(280px, .76fr) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 118px);
}
.homepage #faq .faq-layout h2,
.homepage #contact .contact-copy h2 {
  max-width: 650px;
  font-size: clamp(2.7rem, 4.65vw, 4.55rem);
}
.homepage #faq .faq details {
  border-color: var(--section-rail);
  background: transparent;
}
.homepage #faq .faq details:first-child { border-top: 1px solid var(--section-rail); }
.homepage #faq .faq summary {
  min-height: 74px;
  padding-block: 20px;
  color: #e7eae8;
  font: 600 1rem/1.5 var(--display);
  letter-spacing: .005em;
}
.homepage #faq .faq summary span { color: var(--section-ember); }
.homepage #faq .faq details p { color: var(--section-copy); }
.homepage #contact .contact-copy > p:not(.eyebrow) { color: var(--section-copy); }
.homepage #contact .contact-copy .signal-dot { display: none; }
.homepage #contact .contact-copy .eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  flex: none;
  background: linear-gradient(90deg, #798285 0 30%, transparent 30% 42%, var(--section-ember) 42%);
}
.homepage #contact .direct-contact { border-color: var(--section-rail); }
.homepage #contact .planner-shell {
  padding-top: 0;
  border-top: 0;
}
.homepage #contact .planner-topline {
  min-height: 46px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--section-rail);
}
.homepage #contact .planner-route i { background: var(--section-rail); }

.homepage .site-footer { border-top-color: var(--section-rail); background: rgba(3, 4, 5, .3); }

@media (max-width: 980px) {
  .homepage #services .services-intro,
  .homepage #pricing .pricing-panel,
  .homepage #faq .faq-layout,
  .homepage #contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .homepage #services .services-intro { align-items: start; gap: 24px; }
  .homepage #services .services-intro > p { max-width: 620px; }
  .homepage #pricing .pricing-process {
    padding: 38px 0 0;
    border-top: 1px solid var(--section-rail);
    border-left: 0;
  }
}

@media (max-width: 760px) {
  .homepage { --section-space: 56px; }
  .homepage main > :is(#work, #services, #pricing, #faq, #contact) h2,
  .homepage #work .work-introduction h2,
  .homepage #pricing .pricing-intro h2,
  .homepage #faq .faq-layout h2,
  .homepage #contact .contact-copy h2 {
    font-size: clamp(2.35rem, 10.5vw, 3.15rem);
    line-height: 1.01;
  }
  .homepage #services .service-deck { grid-template-columns: minmax(0, 1fr); }
  .homepage #services .service-panel {
    min-height: 400px;
    border-left: 0;
    border-bottom: 1px solid var(--section-rail);
  }
  .homepage #services .service-panel:last-child { border-bottom: 0; }
  .homepage #pricing .pricing-details { grid-template-columns: minmax(0, 1fr); }
  .homepage #pricing .pricing-label,
  .homepage #pricing .pricing-amount,
  .homepage #pricing .pricing-details .pricing-includes,
  .homepage #pricing .pricing-details .button { grid-column: 1; grid-row: auto; }
  .homepage #pricing .pricing-details .pricing-includes { margin-top: 18px; }
  .homepage #pricing .pricing-essentials { grid-template-columns: minmax(0, 1fr); }
  .homepage #faq .faq-layout,
  .homepage #contact .contact-grid { gap: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .homepage #services .service-panel { transition: none; }
}
