/* Sorrell & Smith bespoke dining table page (approved mockup v2, 9 Oct 2026).
   One warm stone ground; dark smoked oak only for Step 3 (legs) and the quote.
   White is kept for cards: pricing, species, finish options and the form.
   Bodoni Moda titles, Abel leads, Actor text, Oswald labels. */

/* Divi clips #page-container (overflow hidden), which stops the step bar sticking. */
body.ss-bespoke-view #page-container{overflow:visible !important;overflow-x:clip !important}
body.ss-bespoke-view #main-content{background:#f3f1ec}
body.ss-bespoke-view #main-content .ssb-page,body.ss-bespoke-view .ssb-page{padding:0}
html:has(body.ss-bespoke-view){scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html:has(body.ss-bespoke-view){scroll-behavior:auto}}

.ssb { --ground: #f3f1ec;
  --card: #ffffff;
  --photo: #e6e1d8;
  --ink: #1d1b18;
  --grey: #4f4a44;
  --rule: #dad4ca;
  --oak: #241f1a;
  --oak-ink: #f2ece2;
  --oak-grey: #cfc5b7;
  --oak-rule: #3d362f;
  --heart: #a8702f;
  --heart-lt: #d39a55;

  --display: 'Bodoni Moda', Didot, 'Bodoni 72', Georgia, serif;
  --head: 'Abel', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Actor', 'Helvetica Neue', Arial, sans-serif;
  --label: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light; }
.ssb *, .ssb *::before, .ssb *::after { box-sizing: border-box; }
.ssb { margin: 0; background: var(--ground); color: var(--ink); font: 18px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
.ssb img { display: block; max-width: 100%; height: auto; }
.ssb a { color: inherit; }
.ssb :focus-visible { outline: 2px solid var(--heart); outline-offset: 3px; }
.ssb p { margin: 0; }
.ssb h1, .ssb h2, .ssb h3, .ssb h4 { margin: 0; font-weight: 400; text-wrap: balance; }
.ssb strong { font-weight: 400; color: var(--ink); background: linear-gradient(transparent 62%, rgba(168,112,47,.2) 62%); }
.ssb .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.ssb .stack { display: flex; flex-direction: column; gap: 1.05em; }
.ssb .copy { color: var(--grey); max-width: 62ch; }
.ssb .label { font: 500 13px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--heart); }
.ssb .btn { display: inline-flex; align-items: center; gap: .6em; justify-content: center; width: fit-content;
  font: 500 15px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: var(--card); padding: 18px 28px; border: 1px solid var(--ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s; }
.ssb .btn:hover { background: transparent; color: var(--ink); }
.ssb .btn--light { background: var(--card); color: var(--ink); border-color: var(--card); }
.ssb .btn--light:hover { background: transparent; color: var(--card); }
.ssb .arrow::after { content: "→"; font-family: var(--body); letter-spacing: 0; }
.ssb .textlink { font: 500 14px/1.3 var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--ink); border-bottom: 1px solid var(--heart); padding-bottom: 3px;
  display: inline-flex; gap: .5em; align-items: center; width: fit-content; }
.ssb .textlink:hover { color: var(--heart); }
.ssb .play::before { content: ""; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.ssb figure { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ssb figcaption { font: 400 15px/1.45 var(--body); color: var(--grey); }
.ssb figcaption a { color: var(--heart); }
.ssb .ph { background: var(--photo); overflow: hidden; display: block; }
.ssb .ph img { width: 100%; height: 100%; object-fit: cover; }
.ssb .hero { padding-top: clamp(16px, 2.5vw, 32px); }
.ssb .hero__frame { position: relative; overflow: hidden; background: var(--oak); min-height: clamp(460px, 46vw, 600px); display: flex; align-items: flex-end; }
.ssb .hero__frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.ssb .hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,20,16,.78) 0%, rgba(24,20,16,.5) 42%, rgba(24,20,16,0) 70%), linear-gradient(0deg, rgba(24,20,16,.45), transparent 40%); }
.ssb .hero__text { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 640px; color: #fff; display: flex; flex-direction: column; gap: 22px; }
.ssb .hero__logo { width: 132px; filter: invert(1) brightness(2); }
.ssb .hero h1 { font: 400 clamp(46px, 6.2vw, 84px)/1 var(--display); letter-spacing: -.01em; }
.ssb .hero__lead { font: 400 clamp(20px, 1.9vw, 24px)/1.45 var(--head); max-width: 32ch; color: #f4efe7; }
.ssb .intro { padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.ssb .intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ssb .intro .copy { font-size: 19px; }
.ssb .desknote { margin-top: 32px; padding: 18px 22px; border: 1px solid var(--rule); background: transparent;
  display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; color: var(--grey); font-size: 17px; max-width: 62ch; }
.ssb .desknote a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--heart); }
.ssb .desknote a::after { content: " →"; }
.ssb .card { background: var(--card); display: flex; flex-direction: column; min-width: 0; }
.ssb .price-card .ph { aspect-ratio: 16 / 9; }
.ssb .price-card__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.ssb .price-card h2 { font: 400 32px/1.1 var(--display); }
.ssb .price-card p { color: var(--grey); }
.ssb .price-card p strong { background: none; font-size: 1.12em; }
.ssb .price-card p a { color: var(--heart); }
.ssb .stepbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.97); border-block: 1px solid var(--rule); }
.ssb .stepbar ol { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; gap: clamp(16px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; }
.ssb .stepbar ol::-webkit-scrollbar { display: none; }
.ssb .stepbar a { display: flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; font: 500 13px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: #6d665e; padding: 16px 0 13px; border-bottom: 3px solid transparent; }
.ssb .stepbar a i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font: 500 12px/1 var(--label); letter-spacing: 0; }
.ssb .stepbar a:hover, .ssb .stepbar a.is-on { color: var(--ink); }
.ssb .stepbar a.is-on { border-bottom-color: var(--heart); }
.ssb .stepbar a.is-on i { background: var(--heart); border-color: var(--heart); color: #fff; }
.ssb .chapter { padding-block: clamp(64px, 8vw, 112px); }
.ssb .chapter + .chapter { border-top: 1px solid var(--rule); }
.ssb .step-head { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px); margin-bottom: clamp(32px, 4vw, 52px); }
.ssb .step-num { flex: none; width: clamp(60px, 6vw, 76px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--heart); color: var(--heart); display: grid; place-items: center; font: 400 clamp(26px, 2.6vw, 32px)/1 var(--label); }
.ssb .step-head .label { display: block; margin-bottom: 8px; color: var(--grey); }
.ssb .step-head h2 { font: 400 clamp(34px, 4.4vw, 56px)/1.05 var(--display); }
.ssb .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ssb .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ssb .sticky { position: sticky; top: 100px; }
.ssb .mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.ssb .mosaic .wide { grid-column: 1 / -1; }
.ssb .mosaic .wide .ph { aspect-ratio: 4 / 3; }
.ssb .mosaic .ph { aspect-ratio: 1 / 1; }
.ssb .species-intro { margin-top: clamp(72px, 9vw, 120px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; }
.ssb .species-intro h2 { font: 400 clamp(32px, 3.8vw, 48px)/1.05 var(--display); }
.ssb .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ssb .chips a { font: 500 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; background: var(--card); padding: 12px 15px; color: var(--ink); border: 1px solid var(--card); }
.ssb .chips a:hover { border-color: var(--ink); }
.ssb .species { margin-top: 32px; display: grid; gap: 20px; }
.ssb .spread { background: var(--card); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: clamp(16px, 2vw, 24px); }
.ssb .spread--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ssb .spread--flip .viewer-wrap { order: 2; }
.ssb .viewer-wrap { min-width: 0; }
.ssb .viewer { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ssb .viewer__main { aspect-ratio: 4 / 3; background: var(--photo); overflow: hidden; }
.ssb .viewer__main img { width: 100%; height: 100%; object-fit: contain; }
.ssb .viewer__cap:empty { display: none; }
.ssb .thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ssb .thumbs button { padding: 0; border: 0; background: var(--photo); aspect-ratio: 1; cursor: pointer; overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; }
.ssb .thumbs button img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .2s; }
.ssb .thumbs button:hover img, .ssb .thumbs button[aria-current="true"] img { opacity: 1; }
.ssb .thumbs button[aria-current="true"] { outline-color: var(--heart); }
.ssb .spread__text { display: flex; flex-direction: column; gap: 18px; padding: clamp(4px, 2vw, 24px) clamp(4px, 1.5vw, 16px); }
.ssb .spread__text h3 { font: 400 clamp(32px, 3.2vw, 42px)/1.05 var(--display); }
.ssb .spread__text .tag { font: 500 13px/1.3 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--heart); }
.ssb .spread__text .copy { font-size: 17px; }
.ssb .spread__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 4px; }
.ssb .anyspecies { margin-top: 20px; background: var(--oak); color: var(--oak-ink); padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.ssb .anyspecies h3 { font: italic 400 clamp(24px, 2.8vw, 34px)/1.3 var(--display); max-width: 32ch; }
.ssb .sizes { display: grid; gap: clamp(56px, 7vw, 88px); margin-top: clamp(56px, 7vw, 88px); }
.ssb .sizeblock { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ssb .sizeblock--flip .photos { order: -1; }
.ssb .sizeblock h3 { font: 400 clamp(28px, 3vw, 38px)/1.1 var(--display); margin-bottom: 18px; }
.ssb .dining-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ssb .dining-photos .ph:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.ssb .dining-photos .ph { aspect-ratio: 3 / 4; }
.ssb .coffee-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 220px); gap: 12px; }
.ssb .coffee-photos .w2 { grid-column: span 2; }
.ssb .chapter--oak { background: var(--oak); color: var(--oak-ink); }
.ssb .chapter--oak + .chapter { border-top: 0; }
.ssb .chapter--oak .step-num { border-color: var(--heart-lt); color: var(--heart-lt); }
.ssb .chapter--oak .step-head .label { color: var(--oak-grey); }
.ssb .legs-lead { font: 400 clamp(22px, 2.3vw, 28px)/1.45 var(--head); color: var(--oak-ink); max-width: 34ch; }
.ssb .chapter--oak .copy { color: var(--oak-grey); }
.ssb .chapter--oak strong { color: var(--oak-ink); background: linear-gradient(transparent 62%, rgba(211,154,85,.3) 62%); }
.ssb .chapter--oak .textlink { color: var(--oak-ink); border-color: var(--heart-lt); }
.ssb .chapter--oak .textlink:hover { color: var(--heart-lt); }
.ssb .chapter--oak figcaption { color: var(--oak-grey); }
.ssb .chapter--oak .ph { background: #2f2923; }
.ssb .legs-grid { columns: 3 280px; column-gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.ssb .legs-grid figure { break-inside: avoid; margin-bottom: 22px; }
.ssb .legs-end { margin-top: clamp(32px, 5vw, 56px); padding-top: 36px; border-top: 1px solid var(--oak-rule); text-align: center; }
.ssb .legs-end a { font: 400 clamp(24px, 3vw, 36px)/1.2 var(--display); color: var(--oak-ink); text-decoration: none; }
.ssb .legs-end a u { text-decoration-color: var(--heart-lt); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.ssb .legs-end a:hover { color: var(--heart-lt); }
.ssb .legslide { margin-top: 32px; }
.ssb .legslide__rail { overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ssb .legslide__rail::-webkit-scrollbar { display: none; }
.ssb .legslide__track { display: flex; gap: 14px; width: max-content; padding-block: 4px; }
.ssb .leg { flex: none; width: clamp(140px, 14vw, 176px); display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.ssb .leg .ph { aspect-ratio: 1; background: #fff; }
.ssb .leg img { transition: transform .5s ease; -webkit-user-drag: none; user-select: none; }
.ssb .leg:hover img { transform: scale(1.05); }
.ssb .leg span:last-child { font: 500 12px/1.25 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--oak-grey); }
.ssb .leg:hover span:last-child { color: var(--heart-lt); }
.ssb .finish-group + .finish-group { margin-top: clamp(64px, 8vw, 96px); }
.ssb .finish-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px clamp(28px, 5vw, 72px); align-items: start; margin-bottom: 32px; }
.ssb .finish-head h3 { font: 400 clamp(28px, 3vw, 38px)/1.1 var(--display); }
.ssb .cards { display: grid; gap: 20px; }
.ssb .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ssb .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ssb .option .ph { aspect-ratio: 4 / 3; }
.ssb .cards--2 .option .ph { aspect-ratio: 16 / 9; }
.ssb .option__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.ssb .option h4 { font: 400 26px/1.15 var(--display); }
.ssb .option p { color: var(--grey); font-size: 17px; }
.ssb .quote { background: var(--oak); color: var(--oak-ink); padding-block: clamp(64px, 8vw, 112px); }
.ssb .quote__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ssb .quote h2 { font: 400 clamp(38px, 4.6vw, 60px)/1.05 var(--display); }
.ssb .quote__intro { font: 400 22px/1.5 var(--head); max-width: 30ch; }
.ssb .quote .copy { color: var(--oak-grey); }
.ssb .quote__direct { padding-top: 22px; border-top: 1px solid var(--oak-rule); color: var(--oak-grey); }
.ssb .quote__direct a { color: var(--oak-ink); text-decoration-color: var(--heart-lt); text-underline-offset: 4px; }
@media (max-width: 900px) {
  .ssb .intro__grid, .ssb .split, .ssb .split--even, .ssb .spread, .ssb .sizeblock, .ssb .finish-head, .ssb .quote__grid { grid-template-columns: minmax(0, 1fr); }
  .ssb .spread--flip .viewer-wrap { order: 0; }
  .ssb .sizeblock--flip .photos { order: 0; }
  .ssb .sticky { position: static; }
  .ssb .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ssb .hero__frame::after { background: linear-gradient(0deg, rgba(24,20,16,.88) 0%, rgba(24,20,16,.55) 55%, rgba(24,20,16,.1) 100%); }
}
@media (max-width: 600px) {
  .ssb { font-size: 17px; }
  .ssb .hero__frame { min-height: 560px; }
  .ssb .cards--2, .ssb .cards--3 { grid-template-columns: minmax(0, 1fr); }
  .ssb .thumbs { gap: 6px; }
  .ssb .coffee-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .ssb .coffee-photos .w2 { grid-column: 1 / -1; }
}
/* ---------- Site fit ---------- */
.ssb { --top: 0px; padding-bottom: 0; }
.ssb p, .ssb h1, .ssb h2, .ssb h3, .ssb h4 { padding: 0; color: inherit; }
.ssb ol, .ssb ul { list-style: none; margin: 0; padding: 0; }
.ssb figure { margin: 0; }
.ssb [id] { scroll-margin-top: calc(var(--top) + 76px); }
.ssb .stepbar { top: var(--top); }
.ssb .sticky { top: calc(var(--top) + 100px); }
.ssb .legslide__rail.is-drag { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) { .ssb .leg img { transition: none; } }

/* ---------- Quote: the real WPForms form on a white card ---------- */
.ssb .quote__form { background: var(--card); color: var(--ink); padding: clamp(22px, 4vw, 44px); min-width: 0; }
.ssb .quote__form #wpforms-1559, .ssb .quote__form .wpforms-container {
  --wpforms-field-border-radius: 0px; --wpforms-field-border-color: #cfc9bf; --wpforms-field-text-color: #1d1b18;
  --wpforms-field-size-input-height: 50px; --wpforms-field-size-font-size: 17px; --wpforms-field-size-padding-h: 14px;
  --wpforms-label-color: #1d1b18; --wpforms-label-sublabel-color: #4f4a44; --wpforms-label-size-font-size: 13px;
  --wpforms-button-background-color: #1d1b18; --wpforms-button-text-color: #fff; --wpforms-button-border-radius: 0px;
  --wpforms-button-size-height: 54px; --wpforms-button-size-padding-h: 28px; --wpforms-button-size-font-size: 15px;
  margin: 0 !important;
}
.ssb .quote__form .wpforms-field { padding: 0 0 22px !important; }
.ssb .quote__form .wpforms-field-label { font: 500 13px/1.3 var(--label) !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: var(--ink) !important; margin-bottom: 8px !important; }
.ssb .quote__form .wpforms-required-label { color: var(--heart) !important; }
.ssb .quote__form .wpforms-field input, .ssb .quote__form .wpforms-field select, .ssb .quote__form .wpforms-field textarea { max-width: 100% !important; width: 100% !important; font-family: var(--body) !important; border-radius: 0 !important; }
.ssb .quote__form .wpforms-field input:focus, .ssb .quote__form .wpforms-field select:focus, .ssb .quote__form .wpforms-field textarea:focus { border-color: var(--ink) !important; box-shadow: none !important; }
.ssb .quote__form .wpforms-field-description { font: 400 15px/1.45 var(--body) !important; color: var(--grey) !important; margin-top: 6px !important; }
.ssb .quote__form button.wpforms-submit { font: 500 15px/1 var(--label) !important; letter-spacing: .12em !important; text-transform: uppercase !important; border: 1px solid #1d1b18 !important; transition: background .2s, color .2s; }
.ssb .quote__form button.wpforms-submit:hover { background: #fff !important; color: #1d1b18 !important; }
.ssb .quote__form .wpforms-submit-container { padding-top: 4px !important; }
