/* NYC Renovation Experts: site-wide design system.
   Header, footer and buttons work on every page (they set their own fonts and
   colors, so the older Bootstrap pages can't restyle them). Pages built on this
   system have <body class="sx sx-base">; the Partner Collection, Room Studio
   and Self-Fix pages add only "sx-base" (the reset below) and keep their own CSS.
   Shared header and footer: tools/site/chrome.py. */

:root {
  --sx-paper: #F4F1EB;
  --sx-paper-2: #ECE6DC;
  --sx-white: #FBFAF7;
  --sx-ink: #1F1D1A;
  --sx-text: #4A463F;
  --sx-muted: #6F695F;
  --sx-line: #DDD5C8;
  --sx-navy: #182333;
  --sx-navy-2: #223047;
  --sx-accent: #FDA12B;
  --sx-serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sx-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --sx-gutter: clamp(20px, 4.4vw, 64px);
  --sx-max: 1360px;
  --sx-header-h: 76px;
  --sx-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 991px) { :root { --sx-header-h: 64px; } }

/* ------------------------------------------------------------------ reset
   Only on pages without Bootstrap (body.sx-base); zero specificity so each
   page's own CSS wins. Mirrors the parts of Bootstrap's reboot those pages
   were built against. */

:where(.sx-base) *, :where(.sx-base) *::before, :where(.sx-base) *::after { box-sizing: border-box; }
:where(body.sx-base) { margin: 0; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
:where(.sx-base) :where(h1, h2, h3, h4, h5, h6) { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
:where(.sx-base) :where(p) { margin-top: 0; margin-bottom: 1rem; }
:where(.sx-base) :where(ul, ol) { margin-top: 0; margin-bottom: 1rem; padding-left: 2rem; }
:where(.sx-base) :where(img, svg) { vertical-align: middle; }
:where(.sx-base) :where(img) { max-width: 100%; }
:where(.sx-base) :where(button, input, select, textarea) { font: inherit; color: inherit; margin: 0; }
:where(.sx-base) :where(button) { border-radius: 0; text-transform: none; }
:where(.sx-base) :where(a) { color: inherit; }
:where(.sx-base) :where(label) { display: inline-block; }
:where(.sx-base) :where(table) { border-collapse: collapse; }
:where(.sx-base) [hidden] { display: none !important; }

/* ------------------------------------------------------------------ page */

body.sx {
  background: var(--sx-paper);
  color: var(--sx-text);
  font-family: var(--sx-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}

.sx :where(h1, h2, h3, h4) { font-family: var(--sx-serif); color: var(--sx-ink); font-weight: 400; letter-spacing: .002em; }
.sx strong { font-weight: 500; color: var(--sx-ink); }
:where(.sx) a { color: var(--sx-ink); }
.sx ::selection { background: #E9DCC6; }

.sx-skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--sx-ink); color: #fff; padding: 10px 16px;
  font: 500 14px/1 var(--sx-sans); text-decoration: none;
}
.sx-skip:focus { top: 12px; }

.sx-wrap { max-width: var(--sx-max); margin: 0 auto; padding: 0 var(--sx-gutter); }
.sx-section { padding: clamp(72px, 10vw, 140px) 0; }
.sx-section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.sx-section--alt { background: var(--sx-paper-2); }
.sx-section--white { background: var(--sx-white); }
.sx-rule { height: 1px; background: var(--sx-line); border: 0; margin: 0; }

.sx-eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sx-sans); font-size: 12px; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--sx-muted);
  margin: 0 0 22px;
}
.sx-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sx-accent); flex: none; }
.sx-eyebrow--plain::before { display: none; }

.sx-display { font-size: clamp(46px, 6.6vw, 104px); line-height: .98; font-weight: 300; margin: 0; letter-spacing: -.01em; }
.sx-h2 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.02; font-weight: 300; margin: 0; letter-spacing: -.005em; }
.sx-h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; font-weight: 400; margin: 0; }
.sx-display em, .sx-h2 em { font-style: italic; font-weight: 300; }
.sx-display, .sx-h2, .sx-h3 { text-wrap: balance; }
.sx-lede { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.55; font-weight: 300; color: var(--sx-text); margin: 0; }
.sx-statement { font-family: var(--sx-serif); font-size: clamp(28px, 3.1vw, 46px); line-height: 1.22; font-weight: 300; color: var(--sx-ink); margin: 0; }
.sx-small { font-size: 14px; color: var(--sx-muted); }
.sx-muted { color: var(--sx-muted); }

.sx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.sx-head > p { margin: 0; max-width: 520px; justify-self: end; }
@media (max-width: 860px) { .sx-head { grid-template-columns: 1fr; } .sx-head > p { justify-self: start; } }

/* ------------------------------------------------------------------ buttons */

.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px;
  font: 500 13px/1 var(--sx-sans); letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: var(--sx-ink); border: 1px solid var(--sx-ink); border-radius: 0;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--sx-ease), color .25s var(--sx-ease), border-color .25s var(--sx-ease);
}
.sx-btn:hover { background: var(--sx-navy); border-color: var(--sx-navy); color: #fff; }
.sx-btn svg { width: 16px; height: 16px; flex: none; }
.sx-btn--ghost { background: transparent; color: var(--sx-ink); }
.sx-btn--ghost:hover { background: var(--sx-ink); color: #fff; }
.sx-btn--light { background: var(--sx-white); border-color: var(--sx-white); color: var(--sx-ink); }
.sx-btn--light:hover { background: var(--sx-accent); border-color: var(--sx-accent); color: var(--sx-ink); }
.sx-btn--line-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.sx-btn--line-light:hover { background: #fff; border-color: #fff; color: var(--sx-ink); }
.sx-btn:focus-visible, .sx-link:focus-visible { outline: 2px solid var(--sx-accent); outline-offset: 3px; }
@media (max-width: 400px) { .sx-btn { white-space: normal; text-align: center; line-height: 1.35; padding: 12px 20px; letter-spacing: .12em; } }

.sx-link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1.2 var(--sx-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--sx-ink); text-decoration: none; padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .35s var(--sx-ease), color .2s;
}
.sx-link svg { width: 16px; height: 16px; transition: transform .3s var(--sx-ease); }
.sx-link:hover { background-size: 0% 1px; background-position: right bottom; }
.sx-link:hover svg { transform: translateX(4px); }
.sx-link--light { color: #fff; }

.sx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* ------------------------------------------------------------------ header */

/* in-page links land below the sticky header */
:where(.sx-base) [id] { scroll-margin-top: calc(var(--sx-header-h) + 20px); }

.sx-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--sx-header-h);
  background: rgba(244, 241, 235, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-weight: 400;
  color: #1F1D1A;
  transition: border-color .3s, box-shadow .3s;
}
.sx-header.is-scrolled { border-bottom-color: #DDD5C8; }
.sx-header *, .sx-header *::before, .sx-header *::after { box-sizing: border-box; }
.sx-header-in {
  height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3.4vw, 52px);
  display: flex; align-items: center; gap: 28px;
}
.sx-brand { display: inline-flex; align-items: center; gap: 12px; color: #1F1D1A !important; text-decoration: none !important; flex: none; }
.sx-brand svg { width: 30px; height: 30px; flex: none; }
.sx-brand span {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-weight: 500; font-size: 16px; line-height: 1; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
}
.sx-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sx-nav > a, .sx-menu-btn {
  position: relative; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px;
  font: 400 14px/1 "Jost", "Helvetica Neue", Arial, sans-serif; letter-spacing: .06em;
  color: #1F1D1A !important; text-decoration: none !important; background: none; border: 0; cursor: pointer;
}
.sx-nav > a::after, .sx-menu-btn::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 9px; height: 1px; background: #FDA12B;
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.sx-nav > a:hover::after, .sx-menu-btn:hover::after, .sx-nav > a[aria-current="page"]::after,
.sx-has-menu.is-current .sx-menu-btn::after, .sx-has-menu.is-open .sx-menu-btn::after { transform: scaleX(1); }
.sx-menu-btn svg { width: 10px; height: 10px; transition: transform .25s; }
.sx-has-menu.is-open .sx-menu-btn svg { transform: rotate(180deg); }
.sx-has-menu { position: relative; }
.sx-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 640px; margin-left: -320px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  padding: 14px; background: #FBFAF7; border: 1px solid #DDD5C8;
  box-shadow: 0 30px 60px -30px rgba(24, 35, 51, .35);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility 0s .22s;
}
.sx-has-menu.is-open .sx-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .22s; }
.sx-menu a { display: block; padding: 14px 16px; text-decoration: none !important; color: #1F1D1A !important; transition: background .2s; }
.sx-menu a:hover, .sx-menu a:focus-visible, .sx-menu a[aria-current="page"] { background: #F1ECE3; }
.sx-menu b { display: block; font: 500 17px/1.2 "Cormorant Garamond", Georgia, serif; letter-spacing: .01em; color: #1F1D1A; margin-bottom: 4px; }
.sx-menu small { display: block; font: 300 13.5px/1.45 "Jost", Arial, sans-serif; color: #6F695F; }
.sx-tools { display: flex; align-items: center; gap: 22px; flex: none; }
.sx-phone { font: 400 14px/1 "Jost", Arial, sans-serif; letter-spacing: .04em; color: #1F1D1A !important; text-decoration: none !important; white-space: nowrap; }
.sx-phone:hover { color: #182333 !important; text-decoration: underline !important; text-underline-offset: 4px; }
.sx-header .sx-btn { min-height: 44px; padding: 0 20px; font-size: 12px; color: #fff !important; text-decoration: none !important; }
.sx-burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; cursor: pointer; color: #1F1D1A; }
.sx-burger span { display: block; width: 24px; height: 1.5px; margin: 6px auto; background: currentColor; transition: transform .3s, opacity .2s; }
.sx-header a:focus-visible, .sx-header button:focus-visible { outline: 2px solid #FDA12B; outline-offset: 2px; }

@media (max-width: 1319px) { .sx-phone { display: none; } }
@media (max-width: 1150px) {
  .sx-nav, .sx-tools { display: none; }
  .sx-burger { display: block; }
}
@media (max-width: 991px) {
  .sx-brand span { font-size: 14px; letter-spacing: .18em; }
  .sx-brand svg { width: 26px; height: 26px; }
}
@media (max-width: 360px) { .sx-brand span { font-size: 12px; letter-spacing: .14em; } }

/* mobile menu */
.sx-drawer {
  position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column;
  background: #F4F1EB; color: #1F1D1A; overflow-y: auto;
  font-family: "Jost", Arial, sans-serif;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.sx-drawer.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.sx-drawer-top { display: flex; align-items: center; height: var(--sx-header-h); padding: 0 clamp(20px, 3.4vw, 52px); border-bottom: 1px solid #DDD5C8; flex: none; }
.sx-drawer-close { margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: #1F1D1A; display: grid; place-items: center; }
.sx-drawer-close svg { width: 22px; height: 22px; }
.sx-drawer nav { padding: 18px clamp(20px, 3.4vw, 52px) 0; }
.sx-drawer nav > a, .sx-drawer details > summary {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 0;
  font: 400 34px/1.1 "Cormorant Garamond", Georgia, serif; color: #1F1D1A !important; text-decoration: none !important;
  border-bottom: 1px solid #E4DDD2; cursor: pointer; list-style: none;
}
.sx-drawer details > summary::-webkit-details-marker { display: none; }
.sx-drawer details > summary svg { width: 16px; height: 16px; transition: transform .25s; }
.sx-drawer details[open] > summary svg { transform: rotate(180deg); }
.sx-drawer details a { display: block; padding: 11px 0 11px 2px; font: 400 17px/1.3 "Jost", Arial, sans-serif; color: #4A463F !important; text-decoration: none !important; }
.sx-drawer details div { padding: 6px 0 12px; border-bottom: 1px solid #E4DDD2; }
.sx-drawer-foot { margin-top: auto; padding: 28px clamp(20px, 3.4vw, 52px) 36px; display: grid; gap: 14px; }
.sx-drawer-foot a:not(.sx-btn) { font: 400 16px/1.4 "Jost", Arial, sans-serif; color: #1F1D1A !important; text-decoration: none !important; }
.sx-drawer-foot .sx-btn { width: 100%; color: #fff !important; text-decoration: none !important; }
html.sx-lock, html.sx-lock body { overflow: hidden; }

/* ------------------------------------------------------------------ hero (home) */

.sx-hero {
  display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr);
  min-height: calc(100svh - var(--sx-header-h)); max-height: 980px;
  background: var(--sx-paper);
}
.sx-hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 6vh, 80px) clamp(28px, 4vw, 64px) clamp(36px, 5vh, 64px) max(var(--sx-gutter), calc((100vw - var(--sx-max)) / 2 + var(--sx-gutter)));
}
.sx-hero .sx-display { margin-bottom: 30px; font-size: clamp(44px, 5vw, 80px); line-height: 1; }
.sx-hero .sx-lede { max-width: 470px; margin-bottom: 40px; }
.sx-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 26px 0 0; margin: 46px 0 0; border-top: 1px solid var(--sx-line); font-size: 13px; letter-spacing: .08em; color: var(--sx-muted); }
.sx-hero-facts li { display: inline-flex; align-items: center; gap: 9px; }
.sx-hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sx-accent); }
.sx-hero-media { position: relative; margin: 0; overflow: hidden; background: #D9D0C2; }
.sx-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; animation: sx-settle 2.4s var(--sx-ease) both; }
.sx-hero-media figcaption {
  position: absolute; right: 20px; bottom: 18px; padding: 7px 12px;
  background: rgba(251, 250, 247, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font: italic 400 15px/1.2 var(--sx-serif); color: var(--sx-ink);
}
.sx-hero-media figcaption a { color: inherit; }
@keyframes sx-settle { from { transform: scale(1.06); } to { transform: none; } }

@media (max-width: 991px) {
  .sx-hero { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .sx-hero-media { order: -1; aspect-ratio: 4 / 3.1; }
  .sx-hero-text { padding: 40px var(--sx-gutter) 56px; }
}

/* ------------------------------------------------------------------ page head (inner pages) */

.sx-pagehead { padding: clamp(64px, 9vw, 132px) 0 clamp(48px, 6vw, 84px); border-bottom: 1px solid var(--sx-line); }
.sx-pagehead .sx-display { font-size: clamp(44px, 6vw, 92px); max-width: 15ch; }
.sx-pagehead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.sx-pagehead-grid .sx-lede { max-width: 520px; }
@media (max-width: 860px) { .sx-pagehead-grid { grid-template-columns: 1fr; } }
.sx-crumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 30px; font-size: 13px; letter-spacing: .08em; color: var(--sx-muted); }
.sx-crumbs a { color: var(--sx-muted); text-decoration: none; }
.sx-crumbs a:hover { color: var(--sx-ink); }
.sx-crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--sx-line); }

/* ------------------------------------------------------------------ intro */

.sx-intro { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px clamp(40px, 6vw, 110px); }
.sx-intro-side { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.sx-intro-body { display: grid; gap: 36px; }
.sx-intro-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(28px, 4vw, 64px); padding-top: 34px; border-top: 1px solid var(--sx-line); }
.sx-intro-cols p { margin: 0; }
@media (max-width: 860px) {
  .sx-intro, .sx-intro-cols { grid-template-columns: 1fr; }
  .sx-intro-side { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
  .sx-intro-side .sx-eyebrow { margin: 0; }
}
.sx-intro-side .sx-link { align-self: flex-start; }

/* ------------------------------------------------------------------ services index */

.sx-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-line); counter-reset: sx-ix; }
.sx-index li { border-bottom: 1px solid var(--sx-line); counter-increment: sx-ix; }
.sx-index a, .sx-index .sx-index-row {
  display: grid; grid-template-columns: 72px minmax(0, 6fr) minmax(0, 5fr) 40px; gap: 24px; align-items: baseline;
  padding: clamp(22px, 2.6vw, 34px) 0; color: inherit; text-decoration: none;
  transition: padding .35s var(--sx-ease), background .35s;
}
.sx-index a::before, .sx-index .sx-index-row::before {
  content: counter(sx-ix, decimal-leading-zero); font: 400 15px/1 var(--sx-sans); letter-spacing: .12em; color: var(--sx-muted);
}
.sx-index h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.05; font-weight: 300; margin: 0; transition: transform .35s var(--sx-ease); }
.sx-index p { margin: 0; max-width: 560px; }
.sx-index .sx-arrow { justify-self: end; width: 22px; height: 22px; color: var(--sx-ink); opacity: .35; transition: opacity .3s, transform .35s var(--sx-ease); }
.sx-index a:hover h3 { transform: translateX(10px); }
.sx-index a:hover .sx-arrow { opacity: 1; transform: translateX(4px); }
.sx-index--compact .sx-index-row { grid-template-columns: 40px minmax(0, 1fr); gap: 10px 18px; }
.sx-index--compact h3 { font-size: 26px; }
.sx-index--compact p { grid-column: 2; }
@media (max-width: 760px) {
  .sx-index a, .sx-index .sx-index-row { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 14px; }
  .sx-index p { grid-column: 2; }
  .sx-index .sx-arrow { display: none; }
}

/* ------------------------------------------------------------------ media grids */

.sx-fig { margin: 0; }
.sx-fig a { display: block; color: inherit; text-decoration: none; }
.sx-fig-img { position: relative; overflow: hidden; background: #E2DACD; }
.sx-fig-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--sx-ease); }
.sx-fig a:hover .sx-fig-img img { transform: scale(1.035); }
.sx-fig figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; }
.sx-fig figcaption b { font: 400 24px/1.15 var(--sx-serif); color: var(--sx-ink); }
.sx-fig figcaption span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sx-muted); white-space: nowrap; }

.sx-rooms { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 2.4vw, 36px); }
.sx-rooms > .sx-fig:first-child .sx-fig-img { aspect-ratio: 4 / 3.15; }
.sx-rooms-side { display: grid; gap: clamp(20px, 2.4vw, 36px); align-content: start; }
.sx-rooms-side .sx-fig-img { aspect-ratio: 16 / 10; }
.sx-rooms-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); margin-top: clamp(28px, 3vw, 44px); }
.sx-rooms-row .sx-fig-img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .sx-rooms, .sx-rooms-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ process */

.sx-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-line); }
.sx-steps li { padding: 34px clamp(16px, 1.8vw, 28px) 10px 0; position: relative; }
.sx-steps li + li { padding-left: clamp(16px, 1.8vw, 28px); border-left: 1px solid var(--sx-line); }
.sx-steps li::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--sx-accent);
}
.sx-steps li + li::before { left: clamp(16px, 1.8vw, 28px); }
.sx-step-no { display: block; font: 300 64px/.9 var(--sx-serif); color: #CFC5B5; margin-bottom: 22px; font-variant-numeric: lining-nums; }
.sx-steps h3 { font-size: 26px; line-height: 1.12; margin: 0 0 12px; }
.sx-steps p { font-size: 16px; margin: 0; }
@media (max-width: 1100px) { .sx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-steps li { border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--sx-line); padding-bottom: 30px; } .sx-steps li::before { left: 0 !important; } .sx-steps li:nth-child(even) { padding-left: 28px !important; border-left: 1px solid var(--sx-line) !important; } .sx-steps li:nth-child(even)::before { left: 28px !important; } }
@media (max-width: 600px) { .sx-steps { grid-template-columns: 1fr; } .sx-steps li:nth-child(even) { padding-left: 0 !important; border-left: 0 !important; } .sx-steps li:nth-child(even)::before { left: 0 !important; } }

/* ------------------------------------------------------------------ tools */

.sx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--sx-line); border: 1px solid var(--sx-line); }
.sx-tile { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 2.6vw, 40px); background: var(--sx-paper); color: inherit; text-decoration: none; min-height: 300px; transition: background .3s; }
.sx-tile:hover { background: var(--sx-white); }
.sx-tile svg.sx-ico { width: 40px; height: 40px; color: var(--sx-ink); stroke-width: 1.2; margin-bottom: 18px; }
.sx-tile h3 { font-size: 30px; line-height: 1.05; margin: 0; }
.sx-tile p { font-size: 16px; margin: 0; }
.sx-tile .sx-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .sx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sx-tiles { grid-template-columns: 1fr; } .sx-tile { min-height: 0; } }

/* ------------------------------------------------------------------ split (collection) */

.sx-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 90px); align-items: center; }
.sx-split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sx-split--flip > :first-child { order: 2; }
.sx-collage { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 22px); }
.sx-collage .sx-fig:nth-child(1) { grid-row: 1 / 3; }
.sx-collage .sx-fig:nth-child(1) .sx-fig-img { aspect-ratio: 4 / 5.2; height: 100%; }
.sx-collage .sx-fig:nth-child(2) .sx-fig-img, .sx-collage .sx-fig:nth-child(3) .sx-fig-img { aspect-ratio: 1 / 1; }
.sx-collage figcaption { padding-top: 10px; }
.sx-collage figcaption b { font-size: 18px; }
.sx-list { list-style: none; padding: 0; margin: 30px 0 40px; border-top: 1px solid var(--sx-line); }
.sx-list li { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--sx-line); font-size: 16px; }
.sx-list li a { color: var(--sx-ink); text-decoration: none; }
.sx-list li a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sx-list li span { color: var(--sx-muted); font-size: 14px; letter-spacing: .04em; }
.sx-split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }
@media (max-width: 960px) { .sx-split, .sx-split--flip, .sx-split--form { grid-template-columns: minmax(0, 1fr); } .sx-split--flip > :first-child { order: 0; } }

/* ------------------------------------------------------------------ dark band */

.sx-dark { background: var(--sx-navy); color: #C9CED6; }
.sx-dark :where(h1, h2, h3) { color: #fff; }
.sx-dark .sx-eyebrow { color: #A9B0BB; }
.sx-dark .sx-h2 em { color: #F3D9AE; }
.sx-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); margin-top: clamp(48px, 6vw, 84px); }
.sx-points div { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); }
.sx-points h3 { font-size: 28px; line-height: 1.1; margin: 0 0 12px; }
.sx-points p { margin: 0; font-size: 16px; color: #B9C0CA; }
@media (max-width: 1000px) { .sx-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sx-points { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ call to action */

.sx-cta { text-align: center; }
.sx-cta .sx-display { font-size: clamp(44px, 6.4vw, 100px); margin: 0 auto 26px; max-width: 13ch; }
.sx-cta .sx-lede { max-width: 560px; margin: 0 auto 42px; }
.sx-cta .sx-actions { justify-content: center; }

/* ------------------------------------------------------------------ cards and text pages */

.sx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.sx-card { padding: clamp(26px, 2.6vw, 38px); background: var(--sx-white); border: 1px solid var(--sx-line); }
.sx-card h3 { font-size: 28px; line-height: 1.1; margin: 0 0 12px; }
.sx-card p { margin: 0; font-size: 16px; }
@media (max-width: 960px) { .sx-cards { grid-template-columns: 1fr; } }

.sx-service { display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(24px, 4vw, 64px); padding: clamp(36px, 4vw, 56px) 0; border-bottom: 1px solid var(--sx-line); scroll-margin-top: calc(var(--sx-header-h) + 20px); }
.sx-service:first-child { border-top: 1px solid var(--sx-line); }
.sx-service-no { font: 400 15px/1.6 var(--sx-sans); letter-spacing: .12em; color: var(--sx-muted); }
.sx-service h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; font-weight: 300; margin: 0 0 14px; }
.sx-service ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.sx-service li { padding: 11px 0; border-bottom: 1px solid var(--sx-line); font-size: 16px; }
.sx-service li:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 860px) { .sx-service { grid-template-columns: 1fr; } .sx-service ul { grid-template-columns: 1fr; } .sx-service li:nth-last-child(2) { border-bottom: 1px solid var(--sx-line); } }

.sx-faq { border-top: 1px solid var(--sx-line); }
.sx-faq details { border-bottom: 1px solid var(--sx-line); }
.sx-faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--sx-serif); color: var(--sx-ink); }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: "+"; font: 300 28px/1 var(--sx-sans); color: var(--sx-muted); transition: transform .3s; }
.sx-faq details[open] summary::after { transform: rotate(45deg); }
.sx-faq details > div { padding: 0 0 28px; max-width: 760px; }
.sx-faq summary:focus-visible { outline: 2px solid var(--sx-accent); outline-offset: 4px; }

.sx-dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--sx-line); container-type: inline-size; }
.sx-dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--sx-line); }
.sx-dl dt { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--sx-muted); padding-top: 4px; font-weight: 500; }
.sx-dl dd { margin: 0; font-size: 18px; color: var(--sx-ink); }
.sx-dl dd a { color: var(--sx-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; }
/* stack label over value when the list itself is narrow (side column or phone) */
@container (max-width: 480px) { .sx-dl > div { grid-template-columns: minmax(0, 1fr); gap: 6px; } .sx-dl dd { font-size: 17px; overflow-wrap: anywhere; } }

/* ------------------------------------------------------------------ forms */

.sx-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; }
.sx-field { display: grid; gap: 8px; }
.sx-field--full { grid-column: 1 / -1; }
.sx-field label, .sx-legend { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--sx-muted); }
.sx-field label i { font-style: normal; letter-spacing: .04em; text-transform: none; font-weight: 400; color: #8E877C; }
.sx-input {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font: 300 17px/1.4 var(--sx-sans); color: var(--sx-ink);
  background: var(--sx-white); border: 1px solid #CFC6B8; border-radius: 0; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
textarea.sx-input { min-height: 150px; resize: vertical; }
select.sx-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%231F1D1A' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; padding-right: 44px; }
.sx-input:focus { border-color: var(--sx-ink); box-shadow: 0 0 0 3px rgba(253, 161, 43, .28); }
.sx-input::placeholder { color: #A39B8F; }
.sx-check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.sx-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--sx-ink); flex: none; }
.sx-form .sx-btn { justify-self: start; }
.sx-status { grid-column: 1 / -1; padding: 16px 18px; font-size: 16px; border-left: 3px solid var(--sx-accent); background: var(--sx-white); }
.sx-status.is-error { border-left-color: #B3261E; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-chips label { display: inline-flex; letter-spacing: .04em; text-transform: none; font-size: 15px; font-weight: 400; color: var(--sx-ink); cursor: pointer; }
.sx-chips input { position: absolute; opacity: 0; pointer-events: none; }
.sx-chips span { padding: 10px 16px; border: 1px solid #CFC6B8; background: var(--sx-white); transition: background .2s, color .2s, border-color .2s; }
.sx-chips input:checked + span { background: var(--sx-ink); border-color: var(--sx-ink); color: #fff; }
.sx-chips input:focus-visible + span { outline: 2px solid var(--sx-accent); outline-offset: 2px; }
@media (max-width: 700px) { .sx-form { grid-template-columns: minmax(0, 1fr); } }

.sx-panel { background: var(--sx-white); border: 1px solid var(--sx-line); padding: clamp(28px, 4vw, 56px); }
.sx-map { position: relative; aspect-ratio: 4 / 3; background: #DED6C9; border: 1px solid var(--sx-line); }
.sx-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(.95); }

/* ------------------------------------------------------------------ footer */

.sx-footer {
  background: #182333; color: #AEB6C2;
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: 15px; line-height: 1.6;
}
.sx-footer *, .sx-footer *::before, .sx-footer *::after { box-sizing: border-box; }
.sx-footer a { color: #E7EAEE !important; text-decoration: none !important; transition: color .2s; }
.sx-footer a:hover { color: #FDA12B !important; }
.sx-footer-in { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 3.4vw, 52px); }
.sx-footer-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 30px 60px; padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sx-footer-cta p { margin: 0; font: 300 clamp(40px, 5.4vw, 84px)/1.02 "Cormorant Garamond", Georgia, serif; color: #fff; max-width: 11em; }
.sx-footer-cta p em { display: block; font-style: italic; color: #F3D9AE; }
.sx-footer .sx-btn { color: #182333 !important; }
.sx-footer-ask { display: grid; gap: 18px; justify-items: start; }
.sx-footer-ask small { font-size: 14px; color: #AEB6C2; }
.sx-footer-ask small a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.sx-footer .sx-btn:hover { color: #182333 !important; }
.sx-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 40px clamp(24px, 3vw, 48px); padding: clamp(48px, 6vw, 76px) 0; }
.sx-footer h2 { margin: 0 0 18px; font: 500 12px/1.2 "Jost", Arial, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: #7F8A99; }
.sx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.sx-footer address { font-style: normal; margin: 0 0 14px; color: #E7EAEE; }
.sx-footer-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; margin-bottom: 20px; }
.sx-footer-brand svg { width: 30px; height: 30px; }
.sx-footer-brand span { font: 500 16px/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .22em; text-transform: uppercase; }
.sx-footer-about { max-width: 300px; margin: 0 0 22px; }
.sx-social { display: flex; gap: 10px; }
.sx-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; }
.sx-social a:hover { border-color: #FDA12B; }
.sx-social svg { width: 16px; height: 16px; fill: currentColor; }
.sx-footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #7F8A99; }
.sx-footer-bar a { color: #AEB6C2 !important; }
.sx-footer a:focus-visible { outline: 2px solid #FDA12B; outline-offset: 3px; }
@media (max-width: 1100px) { .sx-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sx-footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .sx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sx-footer-grid > :last-child { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ motion */

.sx-js .sx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--sx-ease), transform .9s var(--sx-ease); }
.sx-js .sx-reveal.is-in { opacity: 1; transform: none; }
/* if js/site.js never runs, show the content anyway */
.sx-js:not(.sx-ready) .sx-reveal { animation: sx-show 0s 3s forwards; }
@keyframes sx-show { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .sx-js .sx-reveal { opacity: 1; transform: none; transition: none; }
  .sx-hero-media img { animation: none; }
  .sx-fig-img img, .sx-index h3, .sx-link svg { transition: none !important; }
}

/* ------------------------------------------------------------------ older tool pages
   (Bootstrap pages keep their own layout; this only styles the page title block
   that replaced the old photo banner) */

.sx-toolhead { background: #F4F1EB; border-bottom: 1px solid #DDD5C8; padding: clamp(40px, 6vw, 84px) 0 clamp(32px, 4vw, 56px); font-family: "Jost", Arial, sans-serif; }
.sx-toolhead-in { max-width: 1360px; margin: 0 auto; padding: 0 clamp(20px, 4.4vw, 64px); }
.sx-toolhead .sx-eyebrow { font-family: "Jost", Arial, sans-serif; }
.sx-toolhead h1 { margin: 0 0 14px; font: 300 clamp(40px, 5.4vw, 76px)/1 "Cormorant Garamond", Georgia, serif; color: #1F1D1A; letter-spacing: -.005em; }
.sx-toolhead p { margin: 0; max-width: 640px; font: 300 18px/1.6 "Jost", Arial, sans-serif; color: #4A463F; }

/* ------------------------------------------------------------------ Instant Estimate (quote.html)
   The wizard keeps its Bootstrap markup and script; this brings its look in line. */

.sx-quote { background: #F4F1EB; }
.sx-quote .quote-wizard { background: #F4F1EB; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 110px); min-height: 0; font-family: "Jost", Arial, sans-serif; color: #4A463F; }
.sx-quote .quote-card { background: #FBFAF7; border: 1px solid #DDD5C8; border-radius: 0; box-shadow: 0 40px 80px -60px rgba(24, 35, 51, .45); max-width: 880px; padding: clamp(28px, 4.4vw, 60px); }
.sx-quote .quote-card h1 { font: 300 clamp(40px, 5vw, 64px)/1 "Cormorant Garamond", Georgia, serif; color: #1F1D1A; letter-spacing: -.005em; }
.sx-quote .quote-card h3, .sx-quote .quote-card h4, .sx-quote .quote-card h5 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; color: #1F1D1A; }
.sx-quote .quote-card h3 { font-size: clamp(26px, 2.6vw, 34px); }
.sx-quote .ai-badge { background: none; color: #6F695F; padding: 0; border-radius: 0; font: 500 12px/1 "Jost", Arial, sans-serif; letter-spacing: .26em; text-transform: uppercase; }
.sx-quote .ai-badge i { display: none; }
.sx-quote .text-muted { color: #6F695F !important; }
.sx-quote .step-dot { background: transparent; color: #6F695F; border: 1px solid #CFC6B8; width: 38px; height: 38px; font: 400 14px/1 "Jost", Arial, sans-serif; }
.sx-quote .step-dot.active { background: #1F1D1A; border-color: #1F1D1A; color: #fff; transform: none; }
.sx-quote .step-dot.completed { background: #E9DCC6; border-color: #E9DCC6; color: #1F1D1A; }
.sx-quote .project-type-card { border: 1px solid #DDD5C8; border-radius: 0; background: #fff; transition: border-color .2s, background .2s; }
.sx-quote .project-type-card:hover { border-color: #1F1D1A; transform: none; box-shadow: none; }
.sx-quote .project-type-card.selected { border-color: #1F1D1A; background: #F1ECE3; }
.sx-quote .project-type-card i { color: #1F1D1A; font-size: 34px; }
.sx-quote .project-type-card h5, .sx-quote .project-type-card h6 { font-family: "Jost", Arial, sans-serif; font-weight: 400; font-size: 16px; letter-spacing: .04em; }
.sx-quote .btn { border-radius: 0; font: 500 13px/1 "Jost", Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 16px 24px; }
.sx-quote .btn-primary { background: #1F1D1A; border-color: #1F1D1A; color: #fff; }
.sx-quote .btn-primary:hover, .sx-quote .btn-primary:focus { background: #182333; border-color: #182333; color: #fff; }
.sx-quote .btn-primary:disabled { background: #B9B1A5; border-color: #B9B1A5; color: #fff; opacity: 1; }
.sx-quote .btn-outline-secondary, .sx-quote .btn-secondary { background: transparent; border: 1px solid #1F1D1A; color: #1F1D1A; }
.sx-quote .btn-outline-secondary:hover, .sx-quote .btn-secondary:hover { background: #1F1D1A; color: #fff; }
.sx-quote .form-control, .sx-quote .form-select { border-radius: 0; border-color: #CFC6B8; min-height: 50px; font-family: "Jost", Arial, sans-serif; }
.sx-quote .form-control:focus, .sx-quote .form-select:focus { border-color: #1F1D1A; box-shadow: 0 0 0 3px rgba(253, 161, 43, .28); }
.sx-quote .form-label { font: 500 12px/1.4 "Jost", Arial, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #6F695F; }
.sx-quote .ai-response-box { background: #F4F1EB; border-left: 3px solid #FDA12B; border-radius: 0; }
.sx-quote .ai-md h3 { color: #1F1D1A; }
.sx-quote .ai-md th { background: #182333; }
.sx-quote .cost-estimate { background: #182333; border-radius: 0; }
.sx-quote .cost-estimate h2 { font: 300 clamp(44px, 6vw, 64px)/1 "Cormorant Garamond", Georgia, serif; }
.sx-quote .upload-area { border: 1px dashed #B9B1A5; border-radius: 0; background: #F4F1EB; }
.sx-quote .upload-area:hover, .sx-quote .upload-area.dragover { background: #EFE9E1; border-color: #1F1D1A; transform: none; }
.sx-quote .chat-message { border-radius: 0; }
.sx-quote .chat-message.user { background: #EFE9E1; }
.sx-quote .chat-message.ai { background: #F4F1EB; }
