/* Real text and independent photograph windows from the supplied reference. */
.so-home-reference{position:relative;background:#f7f4ef;scroll-margin-top:96px;isolation:isolate}
.so-home-reference *{box-sizing:border-box}
.so-ref-content{max-width:1240px;margin:0 auto;color:#182a38}
.so-ref-process{display:grid;grid-template-columns:39.5% minmax(0,1fr);grid-template-rows:auto 1fr;position:relative;overflow:hidden}
.so-ref-process>.so-ref-intro{grid-column:1;grid-row:1;padding:47px 45px 10px 58px;z-index:1}
.so-ref-intro{position:relative;min-width:0}
#process.so-home-reference .so-ref-kicker{display:flex;align-items:center;gap:12px;font-size:13px!important;font-weight:700;color:#a46d18!important;margin:0 0 23px;line-height:1.7!important;letter-spacing:.03em}
.so-ref-kicker:after{content:"";display:block;height:1px;width:62px;background:#d5b582}
#process.so-home-reference h2{font-size:clamp(35px,4vw,50px)!important;font-weight:800;line-height:1.17!important;letter-spacing:-.035em!important;margin:0 0 19px;color:#182a38!important}
#process.so-home-reference h2 em{font-style:normal;font-weight:700;color:#ac761e}
#process.so-home-reference .so-ref-lead{font-size:16px!important;line-height:1.75!important;color:#61676c!important;margin:0;max-width:36rem}
.so-ref-crop{position:relative;aspect-ratio:var(--crop-ratio);overflow:hidden;background:#e8e3d9}
.so-ref-crop>svg{display:block;position:absolute;inset:0;width:100%;height:100%;overflow:hidden}
.so-ref-house{grid-column:1;grid-row:2;align-self:end;aspect-ratio:303/280;width:100%;margin:0;mask-image:linear-gradient(to bottom,transparent,#000 8%)}
.so-ref-steps{grid-column:2;grid-row:1 / 3;list-style:none!important;margin:0!important;padding:45px 28px 36px 0!important;display:grid;gap:18px;align-content:space-between;min-width:0}
.so-ref-step{position:relative;display:grid;grid-template-columns:30% minmax(0,1fr);align-items:start;gap:22px;margin:0!important;padding:0!important;min-width:0}
.so-ref-step:nth-child(even){grid-template-columns:minmax(0,1fr) 36%;padding-left:37px!important}
.so-ref-step:nth-child(even) .so-ref-step-photo{grid-column:2;grid-row:1}
.so-ref-step:nth-child(even) .so-ref-step-copy{grid-column:1;grid-row:1}
.so-ref-step-photo{border-radius:5px;margin:0;align-self:start}
.so-ref-step-copy{display:grid;grid-template-columns:44px minmax(0,1fr);gap:17px;position:relative;min-width:0;padding-top:4px}
.so-ref-number{display:flex;align-items:center;justify-content:center;width:43px;height:43px;border-radius:50%;font-family:Manrope,"Noto Sans Thai",sans-serif;font-size:20px;font-weight:700;line-height:1;color:#fff;background:linear-gradient(115deg,#d5ac59,#a66e17);position:relative;z-index:1}
.so-ref-step-copy:before{content:"";position:absolute;width:1px;top:0;bottom:-18px;background:#d9b579;left:21px}
.so-ref-number:after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:#b87e24;top:54px;left:calc(50% - 3px)}
.so-ref-step:not(:last-child):after{content:"";position:absolute;bottom:-18px;height:1px;background:#d9b579;left:58px;right:calc(70% - 44px)}
#process.so-home-reference h3{font-size:20px!important;line-height:1.4!important;font-weight:750;letter-spacing:-.02em;margin:5px 0 8px;color:#182a38!important}
#process.so-home-reference .so-ref-step-copy p{font-size:15px!important;line-height:1.55!important;color:#61676c!important;margin:0}
.so-ref-standards{display:grid;grid-template-columns:30% minmax(0,1fr);gap:26px;border-top:6px solid #fff;padding:34px 29px 24px 46px;scroll-margin-top:96px;background:linear-gradient(160deg,#f5f1e9,#faf8f4)}
.so-ref-standards>.so-ref-intro{padding:4px 0 20px}
#process.so-home-reference .so-ref-standards h2{font-size:clamp(32px,3.5vw,43px)!important;line-height:1.2!important;margin-bottom:13px}
#process.so-home-reference .so-ref-standards .so-ref-kicker{margin-bottom:21px}
#process.so-home-reference .so-ref-standards .so-ref-lead{font-size:15px!important}
.so-ref-standard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;min-width:0}
.so-ref-standard{display:grid;grid-template-columns:48% minmax(0,1fr);min-width:0;background:#fffdf980;border:1px solid #e9e3d9;border-radius:7px;overflow:hidden;box-shadow:0 4px 18px #9b805108}
.so-ref-standard-photo{height:100%;min-height:166px;aspect-ratio:auto;border-radius:6px 0 20px 0}
.so-ref-standard-copy{position:relative;padding:23px 11px 12px 25px}
.so-ref-standard-copy:before{content:"";position:absolute;top:31px;bottom:14px;left:11px;width:1px;background:#dfcaa5}
.so-ref-small-number{font-family:Manrope,sans-serif;color:#bda06e;font-size:10px;position:absolute;left:1px;top:10px}
.so-ref-standard-copy>svg{display:block;width:32px;height:32px;color:#ad771f;margin:0 0 7px}
#process.so-home-reference .so-ref-standard h3{font-size:17px!important;margin:0 0 5px;line-height:1.4!important}
#process.so-home-reference .so-ref-standard p{font-size:12px!important;line-height:1.65!important;color:#61676c!important;margin:0}
@media(min-width:1024px) and (max-width:1150px){
  .so-ref-process>.so-ref-intro{padding-left:35px;padding-right:28px}
  .so-ref-step{gap:16px}.so-ref-step-copy{gap:12px;grid-template-columns:38px minmax(0,1fr)}
  .so-ref-number{width:37px;height:37px;font-size:18px}.so-ref-step-copy:before{left:18px}
  #process.so-home-reference h3{font-size:18px!important}
  #process.so-home-reference .so-ref-step-copy p{font-size:14px!important}
  .so-ref-standards{padding-left:35px;gap:20px;grid-template-columns:29% minmax(0,1fr)}
  .so-ref-standard{grid-template-columns:42% minmax(0,1fr)}
}
@media(max-width:1023px){
  .so-ref-content{max-width:760px}
  .so-ref-process{display:block;padding:36px 20px 40px}
  .so-ref-process>.so-ref-intro{padding:0}
  #process.so-home-reference .so-ref-kicker{font-size:12px!important;margin-bottom:18px}
  .so-ref-kicker:after{width:44px}
  #process.so-home-reference h2,#process.so-home-reference .so-ref-standards h2{font-size:clamp(29px,7.8vw,44px)!important;line-height:1.3!important;margin:0 0 16px}
  #process.so-home-reference .so-ref-lead,#process.so-home-reference .so-ref-standards .so-ref-lead{font-size:16px!important;line-height:1.8!important}
  .so-ref-house{width:calc(100% + 40px);margin:25px -20px 34px;mask-image:none}
  .so-ref-steps{padding:0!important;gap:28px}
  .so-ref-step,.so-ref-step:nth-child(even){display:block;padding:0!important}
  .so-ref-step:after{display:none}
  .so-ref-step-photo{border-radius:8px;margin-bottom:18px}
  .so-ref-step-copy{grid-template-columns:40px minmax(0,1fr);gap:13px;padding:0}
  .so-ref-number{width:38px;height:38px;font-size:17px}
  .so-ref-step-copy:before{left:19px;top:43px;bottom:0}
  .so-ref-number:after{width:5px;height:5px;top:49px;left:calc(50% - 2.5px)}
  #process.so-home-reference h3{font-size:20px!important;line-height:1.45!important;margin:3px 0 9px}
  #process.so-home-reference .so-ref-step-copy p{font-size:16px!important;line-height:1.8!important}
  .so-ref-standards{display:block;padding:34px 20px 40px}
  .so-ref-standards>.so-ref-intro{padding:0}
  .so-ref-standard-grid{grid-template-columns:1fr;gap:15px;margin-top:27px}
  .so-ref-standard{grid-template-columns:38% minmax(0,1fr);background:#fffdf9}
  .so-ref-standard-photo{min-height:174px;border-radius:0}
  .so-ref-standard-copy{padding:17px 13px 18px 16px}
  .so-ref-standard-copy:before{display:none}
  .so-ref-small-number{left:auto;right:12px;top:11px}
  .so-ref-standard-copy>svg{width:29px;height:29px;margin-bottom:8px}
  #process.so-home-reference .so-ref-standard h3{font-size:18px!important;margin:0 0 6px;line-height:1.45!important}
  #process.so-home-reference .so-ref-standard p{font-size:14px!important;line-height:1.75!important}
}
@media(min-width:600px) and (max-width:1023px){
  .so-ref-process,.so-ref-standards{padding-left:32px;padding-right:32px}
  .so-ref-house{width:100%;max-width:440px;margin:28px auto 36px;border-radius:8px}
  .so-ref-step,.so-ref-step:nth-child(even){display:grid;grid-template-columns:42% minmax(0,1fr);gap:23px}
  .so-ref-step-photo{margin:0}
  .so-ref-standard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .so-ref-standard{grid-template-columns:1fr}
  .so-ref-standard-photo{height:auto;aspect-ratio:var(--crop-ratio);min-height:0}
  .so-ref-standard-copy{padding:18px 20px 22px}
}
/* Allow the homepage introduction to grow with Thai text on narrow screens. */
@media(max-width:640px){
  [data-gold-theme] main>.hero{height:auto!important;max-height:none!important;min-height:0!important}
  [data-gold-theme] main>.hero>.hero-content,[data-gold-theme] main>.hero>.hero-proof{flex-shrink:0}
  [data-gold-theme] main>.hero>.hero-proof{height:auto;min-height:112px;align-items:stretch}
  [data-gold-theme] main>.hero>.hero-proof>div{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px 6px;gap:6px;min-width:0;text-align:center}
  [data-gold-theme] main>.hero>.hero-proof span{font-size:11px!important;line-height:1.55!important}
}
@media(max-width:640px){[data-gold-theme] main>.hero{padding-top:0!important}}
