/* Site-wide motion and readability polish. Pure enhancement: no layout change without JS. */

/* Reveal on scroll (class added by motion.js only when JS + motion are allowed) */
.sf-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s cubic-bezier(.2,.65,.25,1), transform .6s cubic-bezier(.2,.65,.25,1); will-change: opacity, transform; }
.sf-reveal.is-in { opacity: 1; transform: none; }
.sf-reveal.is-in:not(:hover) { will-change: auto; }

/* Header shadow once scrolled */
.sf-system-header.is-scrolled, .sf-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(31,35,40,.45); }
.sf-system-header, .sf-header { transition: box-shadow .25s ease; }

/* Hover polish shared by the inline-styled cards and buttons */
.sf-page .scp3:hover, .sf-page .scp4:hover, .sf-page .scp5:hover, .sf-page .sf-content-overview:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -34px rgba(31,35,40,.55); border-color: #c9c4bf !important; }
.sf-page .scp1:hover, .sf-page .scp2:hover, .sf-page .scp7:hover { transform: translateY(-1px); filter: brightness(1.06); }
.sf-page a[class^="scp"] { transition: transform .18s ease, box-shadow .25s ease, border-color .25s ease, filter .18s ease, background-color .18s ease; }
.sf-page img[style*="position:absolute"] { transition: transform .7s ease; }
.sf-page .scp3:hover img[style*="position:absolute"], .sf-page .scp4:hover img[style*="position:absolute"], .sf-page .sf-content-overview:hover img[style*="position:absolute"] { transform: scale(1.035); }

/* Readability: slightly larger secondary copy on inline-styled marketing pages */
@media (min-width: 821px) {
  .sf-page [style*="font-size: 13.5px"][style*="color: rgb(95, 99, 104)"], .sf-page [style*="font-size: 14px"][style*="color: rgb(95, 99, 104)"] { font-size: 14.5px !important; line-height: 1.6 !important; }
  .sf-page [style*="font-size: 12.5px"][style*="color: rgb(95, 99, 104)"] { font-size: 13px !important; }
}
.sf-page [style*="color: rgb(95, 99, 104)"] { color: #55595e !important; }
.sf-page [style*="color: rgb(160, 166, 172)"] { color: #b3b9bf !important; }
.sf-page p, .sf-page li { text-wrap: pretty; }
.sf-page h1, .sf-page h2 { text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  .sf-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .sf-page a[class^="scp"], .sf-page img[style*="position:absolute"] { transition: none !important; }
}

/* Homepage hero: reassurance line under the buttons */
.sf-hero-assurance { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 26px; padding: 0; list-style: none; color: #3d4247; font-size: 13.5px; }
.sf-hero-assurance li { display: inline-flex; align-items: center; gap: 7px; }
.sf-hero-assurance li::before { content: "✓"; color: #c8102e; font-weight: 800; }
.sf-hero-assurance a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sf-hero-assurance a:hover { color: #c8102e; }
@media (max-width: 820px) { .sf-hero-assurance { gap: 6px 16px; font-size: 13px; } }

/* Homepage: two guide hubs + how-we-work strip (inside "Where should we start?") */
.sf-home-hubs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.sf-home-hub { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 30px 24px; border: 1px solid #e4e4e4; border-radius: 14px; color: #1f2328; background: linear-gradient(135deg, #fbf8f4, #fff); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.sf-home-hub:hover { transform: translateY(-3px); border-color: #c9c4bf; box-shadow: 0 22px 44px -34px rgba(31,35,40,.55); }
.sf-home-hub__kicker { color: #c8102e; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sf-home-hub strong { font: 800 24px/1.15 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; }
.sf-home-hub > span:not(.sf-home-hub__kicker) { color: #5f6368; font-size: 14.5px; line-height: 1.55; max-width: 520px; }
.sf-home-hub b { margin-top: 6px; color: #c8102e; font-size: 13.5px; }
.sf-home-terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 22px 0 0; padding: 0; list-style: none; border: 1px solid #e4e4e4; border-radius: 12px; background: #e4e4e4; overflow: hidden; }
.sf-home-terms li { padding: 20px 24px; background: #fff; }
.sf-home-terms b { display: block; margin-bottom: 6px; color: #c8102e; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sf-home-terms span { display: block; color: #3d4247; font-size: 14px; line-height: 1.55; }
@media (max-width: 820px) {
  .sf-home-hubs { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }
  .sf-home-hub { padding: 20px 20px 18px; }
  .sf-home-terms { grid-template-columns: 1fr; margin-top: 14px; }
}

/* Homepage: collaborative shipping cover (links to /furniture-shipping-from-china/) */
.sf-home-ship { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; margin-top: 28px; border: 1px solid #e4e4e4; border-radius: 18px; overflow: hidden; color: #1f2328; background: linear-gradient(135deg, #fbf8f4, #fff); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.sf-home-ship:hover { transform: translateY(-3px); border-color: #c9c4bf; box-shadow: 0 28px 54px -38px rgba(31,35,40,.6); }
.sf-home-ship__text { display: flex; flex-direction: column; gap: 12px; padding: 40px 44px 38px; }
.sf-home-ship__kicker { display: flex; align-items: center; gap: 10px; color: #c8102e; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.sf-home-ship__kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.sf-home-ship__text > strong { font: 800 clamp(24px, 2.3vw, 32px)/1.12 "Plus Jakarta Sans", sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.sf-home-ship__lede { color: #5f6368; font-size: 15px; line-height: 1.6; max-width: 520px; }
.sf-home-ship__points { display: grid; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; color: #3d4247; font-size: 14px; line-height: 1.5; }
.sf-home-ship__points li { display: flex; gap: 10px; }
.sf-home-ship__points li::before { content: "\2713"; flex: none; color: #c8102e; font-weight: 800; }
.sf-home-ship__text > b { margin-top: 12px; color: #c8102e; font-size: 14px; }
.sf-home-ship:hover .sf-home-ship__text > b { text-decoration: underline; }
.sf-home-ship__media { position: relative; min-height: 340px; background: #e7e6e2; }
.sf-home-ship__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sf-home-ship:hover .sf-home-ship__media img { transform: scale(1.03); }
.sf-home-ship__stats { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sf-home-ship__stats li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 10px; background: rgba(31,35,40,.86); color: #fff; backdrop-filter: blur(6px); }
.sf-home-ship__stats strong { font: 800 22px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; }
.sf-home-ship__stats span { color: #c9cdd1; font-size: 11.5px; line-height: 1.3; }
@media (max-width: 1000px) { .sf-home-ship__text { padding: 32px 30px 30px; } }
@media (max-width: 820px) {
  .sf-home-ship { grid-template-columns: 1fr; margin-top: 20px; }
  .sf-home-ship__text { order: 2; padding: 24px 20px 22px; }
  .sf-home-ship__media { order: 1; min-height: 240px; }
  .sf-home-ship__stats { left: 12px; right: 12px; bottom: 12px; gap: 6px; }
  .sf-home-ship__stats li { padding: 9px 10px; }
  .sf-home-ship__stats strong { font-size: 18px; }
}

/* Homepage shipping card: highlighted keyword with hand-drawn wavy underline */
.sf-home-ship__hl { position: relative; display: inline-block; padding: 0 .04em; background: none; color: #c8102e; font-style: italic; }
