.portfolio-home {
  --editorial-rule: #b7c5b7;
  --editorial-accent: #d97753;
  --editorial-edge: clamp(18px, 2.2vw, 32px);
  --editorial-divider: linear-gradient(90deg, var(--editorial-accent) 0 46px, var(--editorial-rule) 46px 100%);
}

.portfolio-home .hero.canvas {
  padding-bottom: clamp(56px, 6vw, 88px);
  border-bottom: 1px solid var(--editorial-rule);
}
.portfolio-home .hero-artwork {
  isolation: isolate;
  padding: clamp(8px, 1.5vw, 24px) 0;
}
.portfolio-home .hero-artwork::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 5% 3% 3%;
  border: 1px solid #c8d3c4;
  border-radius: 40% var(--editorial-edge) var(--editorial-edge) var(--editorial-edge);
  background: linear-gradient(142deg, #f8f6e8 5%, #e1e9d8 70%, #d7e3d3);
}
.portfolio-home .hero-price {
  width: fit-content;
  padding-top: 15px;
  border-top: 1px solid var(--editorial-rule);
}
.portfolio-home .problem-section {
  width: min(1512px, calc(100% - clamp(24px, 5vw, 80px)));
  margin: clamp(22px, 3.5vw, 55px) auto;
  border: 1px solid #c8d4c6;
  border-radius: var(--editorial-edge);
  background: linear-gradient(125deg, #e1e9dd, #f3f2e7 52%, #dce6d8);
}
.portfolio-home .problem-section::before {
  background: radial-gradient(ellipse at center, #f1f1e7 0 23%, transparent 76%);
}
.portfolio-home .problem-copy h2 em { color: #526852; }
.portfolio-home .application-moment {
  margin-top: clamp(34px, 4vw, 58px);
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid #c3cfbd;
  border-radius: calc(var(--editorial-edge) - 5px);
  background: #faf8f0;
  box-shadow: 0 12px 35px -28px #24403877;
}
.portfolio-home .application-moment h3 { margin-top: 0; }
.portfolio-home .application-moment > p { margin-bottom: 0; }

.portfolio-home .journey-intro::before,
.portfolio-home .offer-story::before {
  content: "";
  display: block;
  height: 1px;
  width: min(100%, 380px);
  margin-bottom: clamp(22px, 2.6vw, 40px);
  background: var(--editorial-divider);
}
.portfolio-home .journey-step {
  border-radius: var(--editorial-edge);
  box-shadow: 0 10px 24px -24px #29423694;
}
.portfolio-home .journey-step-top::after {
  content: "";
  flex: 1;
  min-width: 15px;
  height: 1px;
  margin-left: 4px;
  background: #c9d4c3;
}
.portfolio-home .journey-step-care .journey-step-top::after { background: #6e8b77; }
.portfolio-home .offer-sheet {
  border-radius: var(--editorial-edge);
  border-color: #b9c9b6;
  background: linear-gradient(135deg, #f2f1e5, #e7eddf);
}
.portfolio-home .questions {
  align-items: start;
}
.portfolio-home .questions > h3 {
  padding-top: 19px;
  border-top: 1px solid var(--editorial-rule);
}
.portfolio-home .faq-list {
  min-width: 0;
  border: 1px solid #c4d0c0;
  border-radius: var(--editorial-edge);
  background: #fffdf6;
}
.portfolio-home .faq-list details {
  padding-inline: clamp(16px, 2.3vw, 32px);
  border-bottom: 1px solid #d5dece;
}
.portfolio-home .faq-list details:first-child { border-radius: var(--editorial-edge) var(--editorial-edge) 0 0; }
.portfolio-home .faq-list details:last-child { border-bottom: 0; border-radius: 0 0 var(--editorial-edge) var(--editorial-edge); }
.portfolio-home .faq-list details[open] { background: #f0f3e8; }
.portfolio-home .faq-list summary { font-size: .94rem; line-height: 1.5; }
.portfolio-home .faq-list details p { font-size: .9rem; line-height: 1.65; }
.portfolio-home .site-footer {
  border: 1px solid #b8c8b7;
  border-radius: var(--editorial-edge);
  padding: clamp(22px, 2.8vw, 42px);
  margin-bottom: clamp(22px, 3vw, 44px);
  background: #e7eddf;
}
.portfolio-home .site-footer .footer-actions :is(a, button) { border-radius: 12px; }

@media (max-width: 800px) {
  .portfolio-home .hero-price { margin-inline: auto; }
  .portfolio-home .hero-artwork { width: min(100%, 480px); margin-inline: auto; }
}
@media (max-width: 520px) {
  .portfolio-home .problem-section { padding-inline: 12px; }
  .portfolio-home .application-moment { padding: 18px 12px; }
  .portfolio-home .site-footer { padding: 20px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-home .faq-list summary span { transition: none; }
}
