/* Sofa Spring — a warm, photographic homepage.
   Loaded after the existing site styles. All changes are scoped to this homepage. */
body.ss-home-refresh {
  --ss-green: #49583a;
  --ss-ink: #35291e;
  --ss-muted: #6c6053;
  --ss-rust: #9b4d2e;
  --ss-line: #e3d9cb;
  --ss-paper: #f8f3eb;
  --ss-white: #fcf8f1;
  background: var(--ss-paper);
}
.ss-home-refresh .ss-header { background: #fbf7f0; border-color: #e9e0d4; }
.ss-home-refresh .ss-header-inner { min-height: 88px; }
.ss-home-refresh .ss-header .ss-wordmark { color: var(--ss-ink); font-size: 43px; font-style: italic; letter-spacing: -1.6px; }
.ss-home-refresh .ss-header .ss-wordmark span { margin-left: .14em; }
.ss-home-refresh .ss-desktop-nav { gap: 30px; flex: 0 0 auto; }
.ss-home-refresh .ss-desktop-nav a { font-size: 14px; white-space: nowrap; }
.ss-home-refresh .ss-desktop-nav a:hover { color: var(--ss-green); border-bottom-color: var(--ss-green); }
.ss-home-refresh .ss-wrap { max-width: 1440px; padding-inline: clamp(28px, 5.5vw, 88px); }

/* The photograph sits behind the copy, with a long, soft fade rather than a box. */
.ss-refresh-hero { position: relative; isolation: isolate; overflow: hidden; background: #f5eddf; }
.ss-refresh-scene { position: absolute; z-index: -3; top: 0; right: 0; width: 83%; height: 100%; margin: 0; }
.ss-refresh-scene picture, .ss-refresh-scene img { display: block; width: 100%; height: 100%; }
.ss-refresh-scene img { object-fit: cover; object-position: center 58%; }
.ss-refresh-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, #f7f0e6 0%, #f7f0e6 25%, rgba(247,240,230,.96) 32%, rgba(247,240,230,.82) 39%, rgba(247,240,230,.43) 48%, rgba(247,240,230,.08) 59%, rgba(247,240,230,0) 66%); pointer-events: none; }
.ss-refresh-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 12% 40%, rgba(255,253,247,.43), transparent 45%); pointer-events: none; }
.ss-refresh-hero-inner { position: relative; min-height: 594px; display: flex; align-items: center; padding-block: 46px 76px; }
.ss-refresh-copy { width: 660px; max-width: 56%; }
.ss-refresh-eyebrow { display: flex; align-items: center; gap: 17px; margin: 0; color: var(--ss-rust); font: 500 11px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.ss-refresh-eyebrow::after { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .75; }
.ss-home-refresh .ss-refresh-copy h1 { margin: 22px 0 19px; color: var(--ss-ink); font: 400 clamp(48px, 4.6vw, 68px)/.99 var(--serif); letter-spacing: -.036em; text-wrap: initial; }
.ss-refresh-copy h1 > span { display: block; white-space: nowrap; }
.ss-home-refresh .ss-refresh-copy h1 em { display: block; color: var(--ss-green); font-weight: 400; font-size: 1.08em; line-height: 1.08; letter-spacing: -.035em; }
.ss-refresh-deck { max-width: 510px; margin: 0; color: #4b3c2e; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.ss-refresh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 25px; }
.ss-home-refresh .ss-refresh-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 27px; min-height: 50px; padding: 13px 25px; border: 1px solid var(--ss-green); border-radius: 8px; background: var(--ss-green); color: #fffdf7; font: 500 15px/1.4 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
.ss-home-refresh .ss-refresh-button:hover { background: #3b492f; border-color: #3b492f; color: #fffdf7; box-shadow: 0 5px 14px #35291e12; transform: translateY(-2px); }
.ss-home-refresh .ss-refresh-button-secondary { background: #fbf6ed94; color: #3e4c2f; }
.ss-home-refresh .ss-refresh-button-secondary:hover { background: #eae7d9; color: #3e4c2f; }
.ss-refresh-proof { display: flex; align-items: center; gap: 19px; margin: 30px 0 0; padding: 0; list-style: none; color: #544533; }
.ss-refresh-proof li { display: flex; align-items: center; gap: 9px; font-size: 12px; line-height: 1.5; }
.ss-refresh-proof li + li { padding-left: 18px; border-left: 1px solid #d4c8b7; }
.ss-refresh-proof svg { width: 22px; height: 22px; flex: 0 0 22px; color: var(--ss-green); }
.ss-refresh-proof strong { font-size: 14px; font-weight: 600; color: #3b3022; }
.ss-refresh-proof .ss-proof-research { max-width: 145px; }
.ss-scene-caption { position: absolute; z-index: 1; right: 28px; bottom: 57px; padding: 4px 8px; border-radius: 3px; color: #fdf7ec; background: #392d22cc; font-size: 10px; line-height: 1.4; letter-spacing: .03em; }
.ss-hero-wave { position: absolute; z-index: 2; left: 0; bottom: -1px; width: 100%; height: 54px; display: block; color: var(--ss-paper); pointer-events: none; }

/* A short, editorial set of entry points directly below the hero. */
.ss-essentials { padding-block: 16px 37px; }
.ss-essentials-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.ss-home-refresh .ss-essentials-heading h2 { margin: 11px 0 0; color: var(--ss-ink); font-size: clamp(34px, 3.15vw, 44px); line-height: 1.12; letter-spacing: -.035em; }
.ss-essentials-heading h2 em { color: var(--ss-green); }
.ss-essentials-all { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--ss-green); font-size: 13px; text-decoration: none; white-space: nowrap; }
.ss-essentials-all:hover { text-decoration: underline; text-underline-offset: 5px; }
.ss-essential-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ss-home-refresh .ss-essential-card { position: relative; display: grid; grid-template-columns: 43% minmax(0, 1fr); min-width: 0; min-height: 150px; overflow: hidden; border: 1px solid #e9dfd1; border-radius: 13px; background: #fcf8f2; color: var(--ss-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ss-home-refresh .ss-essential-card:hover { color: var(--ss-ink); border-color: #b7b798; box-shadow: 0 7px 20px #4c3c2010; transform: translateY(-3px); }
.ss-essential-art { position: relative; overflow: hidden; min-width: 0; background: #e6d7c2; }
.ss-essential-image { position: absolute; top: 50%; left: 50%; display: block; width: 100%; height: auto; min-width: 150px; min-height: 150px; aspect-ratio: 1; transform: translate(-50%, -50%); background-image: url("./brand/home-refresh/category-details.webp"); background-size: 300% 100%; background-repeat: no-repeat; transition: transform .5s ease; }
.ss-essential-art-sofa .ss-essential-image { background-position: left center; }
.ss-essential-art-coffee .ss-essential-image { background-position: center center; }
.ss-essential-art-side .ss-essential-image { background-position: right center; }
.ss-essential-card:hover .ss-essential-image { transform: translate(-50%, -50%) scale(1.045); }
.ss-essential-copy { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 22px 34px 23px 22px; }
.ss-home-refresh .ss-essential-copy h3 { margin: 0 0 7px; font: 400 27px/1.05 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.ss-essential-copy p { max-width: 17ch; margin: 0; color: #6a5b4d; font-size: 13px; line-height: 1.55; }
.ss-essential-arrow { position: absolute; right: 13px; bottom: 18px; display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #f1e6d1; color: #49583a; }
.ss-essential-arrow .ss-arrow { transform: scale(.75); }
.ss-essentials-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 23px; margin-top: 17px; }
.ss-essentials-more > span { color: #7b6c5a; font-size: 12px; }
.ss-essentials-more a { display: inline-flex; align-items: center; min-height: 38px; gap: 9px; color: #4f5d3e; font-size: 12px; text-decoration: none; }
.ss-essentials-more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ss-essentials-more .ss-arrow { transform: scale(.65); transform-origin: left center; }
.ss-essentials-note { margin: 2px 0 0; color: var(--ss-muted); font-size: 10px; line-height: 1.6; }

@media (min-width: 1500px) {
  .ss-refresh-hero-inner { min-height: 650px; }
  .ss-refresh-scene { width: 81%; }
  .ss-refresh-copy { max-width: 58%; }
  .ss-refresh-deck { font-size: 18px; max-width: 540px; }
  .ss-refresh-actions { margin-top: 28px; }
  .ss-refresh-proof { margin-top: 34px; font-size: 13px; }
  .ss-essential-card { min-height: 162px; }
}
@media (max-width: 1150px) and (min-width: 761px) {
  .ss-home-refresh .ss-wrap { padding-inline: 38px; }
  .ss-home-refresh .ss-desktop-nav { gap: 19px; }
  .ss-home-refresh .ss-desktop-nav a { font-size: 13px; }
  .ss-refresh-copy { max-width: 60%; }
  .ss-refresh-scene { width: 91%; }
  .ss-home-refresh .ss-refresh-copy h1 { font-size: clamp(43px, 4.9vw, 56px); }
  .ss-refresh-deck { max-width: 440px; font-size: 16px; }
  .ss-refresh-actions { gap: 11px; }
  .ss-home-refresh .ss-refresh-button { gap: 16px; padding-inline: 19px; font-size: 14px; }
  .ss-refresh-proof { gap: 12px; }
  .ss-refresh-proof li + li { padding-left: 12px; }
  .ss-refresh-proof li { gap: 7px; font-size: 11px; }
  .ss-refresh-proof svg { width: 19px; height: 19px; flex-basis: 19px; }
  .ss-essential-grid { gap: 15px; }
  .ss-home-refresh .ss-essential-card { grid-template-columns: 41% minmax(0, 1fr); }
  .ss-essential-copy { padding-inline: 15px 20px; }
  .ss-home-refresh .ss-essential-copy h3 { font-size: 25px; }
  .ss-essential-copy p { font-size: 12px; max-width: 14ch; }
}
@media (max-width: 900px) and (min-width: 761px) {
  .ss-refresh-hero-inner { min-height: 578px; }
  .ss-refresh-copy { max-width: 67%; }
  .ss-refresh-hero::before { background: linear-gradient(90deg, #f7f0e6 0%, #f7f0e6f7 34%, #f7f0e6b3 51%, #f7f0e61f 75%, transparent 90%); }
  .ss-refresh-deck { max-width: 390px; }
  .ss-refresh-proof { max-width: 480px; }
  .ss-essential-grid { gap: 14px; }
  .ss-home-refresh .ss-essential-card { grid-template-columns: 1fr; }
  .ss-essential-art { height: 146px; }
  .ss-essential-image { min-width: 146px; min-height: 146px; }
  .ss-essential-copy { min-height: 119px; padding: 18px 22px; }
  .ss-essential-copy p { max-width: 20ch; font-size: 13px; }
  .ss-home-refresh .ss-essential-copy h3 { font-size: 28px; }
}
@media (max-width: 760px) {
  .ss-home-refresh .ss-wrap { padding-inline: 24px; }
  .ss-home-refresh .ss-header-inner { min-height: 74px; }
  .ss-home-refresh .ss-header .ss-wordmark { font-size: 37px; }
  .ss-refresh-hero { background: #f7f0e6; }
  .ss-refresh-hero-inner { min-height: 0; padding-block: 34px 340px; display: block; }
  .ss-refresh-copy { max-width: 100%; width: 100%; }
  .ss-refresh-eyebrow { font-size: 9px; letter-spacing: .16em; gap: 12px; }
  .ss-refresh-eyebrow::after { width: 28px; }
  .ss-home-refresh .ss-refresh-copy h1 { margin: 18px 0 16px; font-size: clamp(36px, 6.6vw, 50px); line-height: 1.02; letter-spacing: -.035em; }
  .ss-home-refresh .ss-refresh-copy h1 em { font-size: 1.15em; line-height: 1.1; }
  .ss-refresh-deck { max-width: 520px; font-size: 15px; line-height: 1.65; }
  .ss-refresh-actions { gap: 10px; margin-top: 22px; }
  .ss-home-refresh .ss-refresh-button { min-height: 47px; padding: 11px 16px; font-size: 13px; gap: 17px; border-radius: 7px; }
  .ss-refresh-proof { align-items: start; gap: 13px; margin-top: 25px; }
  .ss-refresh-proof li { gap: 7px; font-size: 10px; line-height: 1.45; }
  .ss-refresh-proof li + li { padding-left: 12px; }
  .ss-refresh-proof strong { font-size: 12px; }
  .ss-refresh-proof svg { width: 19px; height: 19px; flex-basis: 19px; }
  .ss-refresh-proof .ss-proof-research { max-width: 105px; }
  .ss-refresh-scene { z-index: -3; top: auto; bottom: 0; width: 100%; height: 365px; }
  .ss-refresh-scene img { object-fit: cover; object-position: 76% center; }
  .ss-refresh-hero::before { z-index: -2; top: auto; bottom: 0; height: 365px; background: linear-gradient(180deg, #f7f0e6 0%, rgba(247,240,230,.94) 7%, rgba(247,240,230,.35) 23%, rgba(247,240,230,0) 40%); }
  .ss-refresh-hero::after { display: none; }
  .ss-scene-caption { bottom: 42px; right: 16px; font-size: 9px; }
  .ss-hero-wave { height: 39px; }
  .ss-essentials { padding-block: 17px 30px; }
  .ss-essentials-heading { align-items: start; margin-bottom: 21px; }
  .ss-home-refresh .ss-essentials-heading h2 { max-width: 500px; font-size: 34px; margin-top: 12px; }
  .ss-essentials-all { display: none; }
  .ss-essential-grid { grid-template-columns: 1fr; gap: 13px; }
  .ss-home-refresh .ss-essential-card { grid-template-columns: 35% minmax(0, 1fr); min-height: 126px; }
  .ss-essential-image { min-width: 126px; min-height: 126px; }
  .ss-essential-copy { padding: 19px 50px 19px 21px; }
  .ss-home-refresh .ss-essential-copy h3 { font-size: 29px; }
  .ss-essential-copy p { font-size: 14px; max-width: 21ch; }
  .ss-essential-arrow { right: 18px; bottom: 22px; width: 31px; height: 31px; }
  .ss-essentials-more { gap: 0 17px; margin-top: 19px; }
  .ss-essentials-more > span { flex-basis: 100%; margin-bottom: 4px; }
  .ss-essentials-note { font-size: 10px; margin-top: 9px; max-width: 48ch; }
}
@media (max-width: 430px) {
  .ss-home-refresh .ss-wrap { padding-inline: 22px; }
  .ss-home-refresh .ss-refresh-copy h1 { font-size: clamp(32px, 8.4vw, 36px); }
  .ss-refresh-copy h1 > span:nth-child(2) { white-space: normal; max-width: 12em; }
  .ss-refresh-actions { gap: 9px; }
  .ss-home-refresh .ss-refresh-button { flex: 1 1 auto; padding-inline: 13px; gap: 9px; font-size: 12px; }
  .ss-refresh-button .ss-arrow { flex-basis: 15px; transform: scale(.85); }
  .ss-refresh-proof { gap: 8px; }
  .ss-refresh-proof li { gap: 6px; }
  .ss-refresh-proof li + li { padding-left: 8px; }
  .ss-refresh-proof li span { max-width: 72px; }
  .ss-refresh-proof strong { display: block; line-height: 1.3; }
  .ss-refresh-proof .ss-proof-research { max-width: 87px; }
  .ss-refresh-proof svg { width: 17px; height: 20px; flex-basis: 17px; }
  .ss-refresh-hero-inner { padding-bottom: 285px; }
  .ss-refresh-scene { height: 310px; }
  .ss-refresh-hero::before { height: 310px; }
  .ss-home-refresh .ss-essentials-heading h2 { font-size: 32px; max-width: 320px; }
  .ss-home-refresh .ss-essential-card { grid-template-columns: 36% minmax(0, 1fr); min-height: 126px; }
  .ss-essential-copy { padding-left: 19px; }
  .ss-home-refresh .ss-essential-copy h3 { font-size: 27px; }
  .ss-essential-copy p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ss-home-refresh *, .ss-home-refresh *::before, .ss-home-refresh *::after { scroll-behavior: auto !important; transition: none !important; }
}
@media (max-width: 360px) {
  .ss-home-refresh .ss-refresh-button { flex-basis: 100%; }
  .ss-home-refresh .ss-essential-card { grid-template-columns: 32% minmax(0, 1fr); }
  .ss-essential-copy { padding-right: 43px; }
  .ss-home-refresh .ss-essential-copy h3 { font-size: 26px; }
}
