:root{
  --bg:#F5FBE8;
  --surface:#FFFFFF;
  --ink:#13160F;
  --accent:#BFEE3A;
  --radius-sm:10px;
  --radius-lg:24px;
}

body.page-template-template-landing-php #content.site-content,
body.page-template-template-landing-php .ast-container{
  max-width:100% !important;
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
}

.yp-landing{
  background: radial-gradient(ellipse 120% 60% at 50% 0%, rgba(191,238,58,0.55) 0%, rgba(191,238,58,0.18) 35%, #ffffff 70%);
  color: var(--ink);
  font-family: -apple-system, 'Segoe UI', system-ui, sans-serif;
  width:100%;
  display:block;
  overflow-x:hidden;
}

.yp-hero{ max-width:1180px; margin:0 auto; padding: 64px 24px 24px; }
.yp-hero-inner{
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
}
.yp-hero-text{ flex:1 1 420px; max-width:560px; }
.yp-hero-text h1{
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight:800; line-height:1.05; margin:0 0 20px;
  letter-spacing:-0.01em;
}
.yp-hero-text h1 em{
  font-style:italic; font-family: Georgia, 'Times New Roman', serif; font-weight:400;
  display:inline-block; padding-bottom:0.08em;
}
.yp-sub{ font-size:1.05rem; line-height:1.6; max-width:40ch; margin:0 0 28px; opacity:0.85;}
.yp-cta-row{ display:flex; gap:14px; flex-wrap:wrap; }
.yp-btn{
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--ink); color:#fff; text-decoration:none;
  padding:14px 28px; border-radius:999px; font-weight:600; font-size:0.95rem;
  transition: transform .15s ease;
}
.yp-btn:hover{ transform: translateY(-2px); color:#fff; }
.yp-btn-ghost{ background:transparent; color:var(--ink); border:1.5px solid var(--ink); }

.yp-hero-photo{ flex:0 0 auto; }
.yp-hero-photo img{
  width:300px; height:300px; object-fit:cover;
  border-radius: 48% 52% 55% 45% / 52% 45% 55% 48%;
  box-shadow:none;
}

.yp-loan-pills{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:48px;
}
.yp-loan-pills span{
  border:1px solid rgba(19,22,15,0.25); border-radius:999px;
  padding:8px 18px; font-size:0.85rem; font-weight:600; opacity:0.75;
}

.yp-portfolio{ max-width:1180px; margin:0 auto; padding:72px 24px; }
.yp-portfolio h2{ font-size:2rem; font-weight:800; margin:0 0 8px; }
.yp-lede{ max-width:60ch; opacity:0.75; margin:0 0 40px; }
.yp-gallery{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.yp-gallery figure{ margin:0; }
.yp-gallery img{ width:100%; border-radius:var(--radius-sm); display:block; }
.yp-gallery figcaption{ margin-top:10px; font-size:0.9rem; font-weight:600; }

.yp-about,.yp-cta{
  max-width:760px; margin:0 auto; padding:56px 24px; text-align:left;
}
.yp-about h2,.yp-cta h2{ font-size:1.8rem; font-weight:800; margin:0 0 16px; }
.yp-about p,.yp-cta p{ line-height:1.65; opacity:0.85; margin:0 0 24px; max-width:65ch; }

.yp-services{ max-width:1180px; margin:0 auto; padding:16px 24px 64px; }
.yp-services h2{ font-size:1.8rem; font-weight:800; margin:0 0 32px; }
.yp-service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.yp-service-card{ border-top:2px solid var(--ink); padding-top:16px; }
.yp-service-card h3{ font-size:1.05rem; font-weight:800; margin:0 0 8px; }
.yp-service-card p{ font-size:0.92rem; line-height:1.55; opacity:0.8; margin:0; }
@media (max-width:780px){ .yp-service-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .yp-service-grid{ grid-template-columns:1fr; } }

@media (max-width:780px){
  .yp-gallery{ grid-template-columns:repeat(2,1fr); }
  .yp-hero-inner{ flex-direction:column-reverse; text-align:center; }
  .yp-hero-text{ max-width:100%; }
  .yp-cta-row{ justify-content:center; }
  .yp-loan-pills{ justify-content:center; }
}
@media (max-width:480px){
  .yp-gallery{ grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce){
  .yp-btn{ transition:none; }
}
