:root{
  --ink:#17211c;
  --muted:#626861;
  --paper:#f4f2ec;
  --white:#fffefb;
  --line:#d8d8cf;
  --accent:#25483a;
  --accent-2:#b48a53;
  --soft:#e7ece6;
}

body{background:var(--paper);color:var(--ink)}
.jp-copy p,.jp-copy li,.jp-copy summary,.jp-copy .notice{line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty}
.jp-copy h1,.jp-copy h2,.jp-copy h3,.jp-copy .quote{text-wrap:balance;line-break:strict;word-break:normal;overflow-wrap:break-word}
.keep-phrase{white-space:nowrap}
.phrase-unit{display:inline-block;white-space:nowrap;max-width:100%}
.brand-name{display:inline-block;white-space:nowrap}
.mobile-line{display:inline}
.wrap{width:min(calc(100% - 48px),1120px)}
.nav{background:rgba(244,242,236,.94)}
.navin{height:68px}
.logo{font-size:15px;letter-spacing:.13em}
.hero{min-height:76vh;padding:72px 0 76px;overflow:hidden}
.hero .wrap{position:relative}
.hero-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(350px,.92fr);gap:68px;align-items:center}
.hero-copy{position:relative;z-index:2}
.hero-photo{margin:0;position:relative;min-width:0}
.hero-photo:before{content:"";position:absolute;inset:24px -22px -24px 22px;border:1px solid rgba(37,72,58,.28);z-index:-1}
.hero-photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 46%;filter:saturate(.9) contrast(.96)}
.hero .wrap:after{content:"";position:absolute;right:-7%;top:50%;width:min(38vw,430px);aspect-ratio:1;border:1px solid rgba(37,72,58,.20);border-radius:50%;transform:translateY(-46%);box-shadow:0 0 0 48px rgba(37,72,58,.035),0 0 0 96px rgba(37,72,58,.025);z-index:-1}
.hero h1{font-size:clamp(54px,6.8vw,88px);max-width:820px;margin-bottom:36px}
.hero .lead{max-width:650px;color:#454c47}
.hero .actions{margin-top:40px}
.btn{transition:background-color .2s,color .2s,border-color .2s,transform .2s}
.btn:hover{transform:translateY(-1px)}
.btn.dark{background:var(--accent);border-color:var(--accent)}

.section{padding:124px 0;border-top:0}
.section:nth-of-type(even):not(.dark){background:var(--white)}
.section:nth-of-type(odd):not(.dark){background:var(--paper)}
.section[data-chapter]>.wrap:after{top:-48px;background:var(--accent);height:2px;width:56px}
.section.dark{background:#18201c;border:0}
.section h2{max-width:930px;margin-bottom:42px}
.section .copy{max-width:690px}
.section .copy p{margin-bottom:22px}
.quote{color:var(--accent)}
.dark .quote{color:#fff}

#buy{background:linear-gradient(90deg,var(--white) 0 68%,#e8ede7 68%)}
#sell{background:linear-gradient(90deg,var(--paper) 0 68%,#e8e1d7 68%)}
#buy .wrap,#sell .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.62fr);column-gap:80px}
#buy .eyebrow,#buy h2,#sell .eyebrow,#sell h2{grid-column:1/-1}
#buy .actions,#sell .actions{align-self:center;margin-top:0;padding:38px 32px;background:rgba(255,255,255,.76);border:1px solid rgba(23,33,28,.12);display:flex;flex-direction:column;align-items:stretch}
#buy .actions .btn,#sell .actions .btn{width:100%}

.case-layout{display:grid;grid-template-columns:minmax(0,.88fr) minmax(400px,1.12fr);gap:78px;align-items:center}
.case-photo{margin:0;position:relative}
.case-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0;box-shadow:0 22px 60px rgba(0,0,0,.23)}

#land{background:#e5ebe5;padding-top:138px;padding-bottom:138px}
#land .grid2{gap:0;border-top:1px solid #cbd0c9;border-bottom:1px solid #cbd0c9}
#land .grid2>.copy{padding:44px 44px 44px 0}
#land .grid2>.copy+ .copy{padding:44px 0 44px 44px;border-left:1px solid #cbd0c9}
.land-claim{color:var(--ink)}

.cards{gap:18px}.card{border-radius:4px;padding:32px}.step{padding:25px 0}.pill{background:var(--white)}
.loan-example,.calc,.media-card,.linebox{border-radius:4px;box-shadow:0 14px 42px rgba(23,33,28,.05)}

.about-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr);gap:70px;align-items:center}
.about-photo{margin:0;overflow:hidden;background:#d3c3ad;box-shadow:20px 20px 0 #d7ded6}
.about-photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center 40%}
.about-photo-standing img{object-position:center 44%}
.about-company{margin-top:34px}

.media-card{padding:34px}.faq{max-width:820px}.faq details{padding:23px 0}.faq summary{font-size:17px}
#contact h2{max-width:820px}.linebox{max-width:760px;padding:34px}.endmark{background:var(--paper)}
.footer{background:var(--paper);padding-top:64px}.footer .wrap{line-height:1.95}

@media(max-width:780px){
  .desktop-title-break{display:none}
  .jp-copy p,.jp-copy li,.jp-copy summary,.jp-copy .notice,.jp-copy h1,.jp-copy h2,.jp-copy h3,.jp-copy .quote{word-break:normal!important;overflow-wrap:break-word!important;line-break:strict!important}
  .mobile-line{display:block}
  .keep-phrase{white-space:nowrap}
  .wrap{width:min(calc(100% - 34px),1120px)}
  .navin{height:58px}.nav .btn{min-height:38px;padding:0 15px;font-size:12px}
  .mobile-rail{top:58px;display:flex;overflow-x:auto;justify-content:flex-start;scrollbar-width:none;padding:7px 12px;gap:6px}
  .mobile-rail::-webkit-scrollbar{display:none}
  .mobile-rail a{flex:0 0 auto;padding:6px 12px;background:rgba(255,255,255,.92)}
  .progress{top:58px}
  .hero{padding:40px 0 76px;min-height:auto}
  .hero-layout{grid-template-columns:1fr;gap:40px}
  .hero .wrap:after{right:-42%;top:42%;width:88vw}
  .hero h1{font-size:clamp(42px,13vw,58px);line-height:1.12;margin:16px 0 28px}
  .hero .lead{font-size:16px;line-height:1.95}
  .hero .actions{display:grid;grid-template-columns:1fr 1fr;margin-top:32px}
  .hero .actions .btn:last-child{grid-column:1/-1}
  .hero-photo{margin:0 -17px}
  .hero-photo:before{inset:14px -8px -14px 14px}
  .hero-photo img{aspect-ratio:16/11;object-position:center 43%}
  .section{padding:92px 0}
  .section[data-chapter]>.wrap:after{top:-34px;width:40px}
  .section h2{margin-bottom:34px}
  #buy,#sell{background:var(--white)}
  #sell{background:var(--paper)}
  #buy .wrap,#sell .wrap{display:block}
  #buy .actions,#sell .actions{margin-top:34px;padding:24px 0 0;display:flex}
  .case-layout,.about-layout{grid-template-columns:1fr;gap:38px}
  .case-photo{order:-1}
  .case-photo{margin-left:-17px;margin-right:-17px}
  .case-photo img{aspect-ratio:4/3;box-shadow:none}
  #land .grid2{border-bottom:0}
  #land .grid2>.copy,#land .grid2>.copy+ .copy{padding:30px 0;border-left:0;border-bottom:1px solid #cbd0c9}
  .about-photo{order:-1;margin-left:-17px;margin-right:-17px;box-shadow:none}
  .about-photo img{aspect-ratio:4/5;object-position:center 44%}
  .about-company{padding:20px 0}
  .linebox{padding:26px 22px}
  .stickycta{left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom));border-radius:16px;box-shadow:0 10px 34px rgba(0,0,0,.24)}
  .stickycta a{min-height:62px;padding:10px 7px;font-size:12.5px;line-height:1.25;position:relative;z-index:1}
  .stickycta a:active{background:#edf0eb}
  .stickycta a:last-child:active{background:#2e5142}
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  .footer{padding-bottom:calc(146px + env(safe-area-inset-bottom))}
}

.land-experience-stage{position:relative;width:min(100%,960px);aspect-ratio:16/9;margin-top:34px;overflow:hidden;border-radius:22px;background:#0e1712}
.land-experience-video{display:block;width:100%;height:100%;object-fit:cover;opacity:1;transition:opacity .24s ease}
.land-experience-video.is-hidden{opacity:0}
.land-experience-question{position:absolute;inset:0;display:grid;place-items:center;padding:32px;background:var(--ink);opacity:0;transition:opacity .24s ease}
.land-experience-question[hidden]{display:none}
.land-experience-question.is-visible{opacity:1}
.land-experience-question p{margin:0;font-size:clamp(30px,4.4vw,54px);font-weight:900;line-height:1.45;letter-spacing:-.035em;text-align:center}

@media(max-width:780px){
  .land-experience-stage{margin:30px -17px 0;width:calc(100% + 34px);border-radius:0}
  .land-experience-question{padding:24px 18px}
  .land-experience-question p{font-size:clamp(28px,8.2vw,38px);line-height:1.5}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* Desktop reading rhythm: keep mobile phrasing, avoid narrow oversized headings. */
#buy-flow .grid2 > div + div .steps{counter-reset:s 4}
@media(min-width:781px){
  .jp-copy p .phrase-unit,.jp-copy li .phrase-unit,
  .jp-copy summary .phrase-unit,.jp-copy .notice .phrase-unit,
  .about-company .phrase-unit{display:inline;white-space:normal}
  .jp-copy h1,.jp-copy h2,.jp-copy h3,.jp-copy .quote{text-wrap:wrap}
  .section h2{font-size:clamp(38px,4.2vw,52px);line-height:1.45}
  .section h2 .mobile-line,.section .quote .mobile-line{display:block}
  .hero h1{font-size:clamp(48px,5.3vw,68px);line-height:1.25}
  .case-layout{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:start}
  #case h2{font-size:clamp(30px,3vw,36px);line-height:1.55}
  #case .quote{font-size:clamp(24px,2.3vw,28px);line-height:1.65}
  .case-photo{margin-top:12px}
  .about-layout{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px}
  #about h2{font-size:clamp(30px,3vw,38px);line-height:1.6}
  .person-name{white-space:nowrap}
  #about .mission{font-size:28px}
  .card h3{font-size:24px;line-height:1.6}
  .card{padding:26px}
  .card h3 .heading-phrase{display:inline-block}
  #contact .quote{font-size:clamp(28px,3vw,36px);line-height:1.6}
  .links{gap:16px}
  .grid2 > *,.hero-layout > *,.case-layout > *,.about-layout > *{min-width:0}
}
@media(min-width:781px) and (max-width:1050px){
  .hero-layout,.case-layout,.about-layout{grid-template-columns:1fr;gap:40px}
  .hero-photo,.case-photo,.about-photo{width:min(100%,640px);justify-self:center}
  .hero-photo img{aspect-ratio:4/3}
  #buy .wrap,#sell .wrap{column-gap:32px;grid-template-columns:minmax(0,1fr) minmax(250px,.65fr)}
  #buy .actions,#sell .actions{padding:26px 18px}
  .links{gap:12px;font-size:12px}
  .navin{gap:12px}
  .nav .btn{padding:0 14px}
  .cards{grid-template-columns:1fr}
  #land .grid2 > .copy{padding-right:24px}
  #land .grid2 > .copy + .copy{padding-left:24px;padding-right:0}
}

/* Explicit reading lines for the desktop copy identified in the supplied photos. */
.desktop-reading-line{display:inline}
@media(min-width:781px){
  .jp-copy p .desktop-reading-line{display:block;white-space:normal;text-wrap:wrap}
}

/* Keep words intact on desktop and phones; let longer phrases fit narrow cards. */
.jp-copy .word-unit{display:inline-block;white-space:nowrap}
@media(max-width:780px){
  .phrase-unit{white-space:normal}
  .about-company strong{overflow-wrap:anywhere}
  .footer a[href^="mailto:"]{overflow-wrap:anywhere}
  .land-experience-question p{font-size:clamp(24px,7vw,30px)}
}

/* Mobile corrections from the four supplied phone screenshots. */
@media(max-width:780px){
  #sell-flow .card p .desktop-reading-line,
  #land .grid2 > .copy:first-child p .desktop-reading-line{display:block}
  .about-company .company-mobile-line{display:block}
}

/* Keep the purchase paragraph's semantic lines on phones. */
@media(max-width:780px){
  #buy .copy p .desktop-reading-line{display:block}
}
