/*
Theme Name: Source Foshan
Theme URI: /
Author: Source Foshan
Description: Lightweight, custom theme for Source Foshan.
Version: 2.16.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: source-foshan
*/

:root {
  --sf-red: #c8102e;
  --sf-ink: #1f2328;
  --sf-muted: #5f6368;
  --sf-line: #e4e4e4;
  --sf-white: #fff;
  --sf-focus: #0b57d0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sf-focus) !important;
  outline-offset: 3px;
}
.sf-skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  color: #fff;
  background: var(--sf-ink);
}
.sf-skip-link:focus { top: 16px; }
.sf-page { min-width: 0; }
.sf-page [data-screen-label] { min-width: 0 !important; }
.sf-page a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease; }
.sf-page img { width: 100%; height: 100%; object-fit: cover; }
.sf-page input, .sf-page select, .sf-page textarea { min-height: 44px; }
.sf-page .sf-header { backdrop-filter: saturate(160%) blur(12px); }
.sf-mobile-toggle { display: none; }
.sf-form-status { margin-top: 12px; padding: 12px 14px; border-radius: 6px; font-size: 14px; line-height: 1.45; }
.sf-form-status[aria-live="polite"] { background: #edf7f1; color: #155c34; }
.sf-form-status.sf-error { background: #fff0f1; color: #9f1028; }
.sf-submit[aria-busy="true"] { opacity: .65; pointer-events: none; }

.sf-territory {
  background: #fff;
  padding: 0 40px 130px;
}
.sf-territory__inner { max-width: 1200px; margin: 0 auto; }
.sf-territory__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.sf-territory__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--sf-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sf-territory__eyebrow span { width: 26px; height: 2px; background: currentColor; }
.sf-territory h2 {
  max-width: 560px;
  margin: 0;
  font: 800 42px/1.1 "Plus Jakarta Sans", sans-serif;
  letter-spacing: -.01em;
}
.sf-territory__header > p {
  max-width: 360px !important;
  margin: 0;
  color: var(--sf-muted);
  font-size: 15px;
  line-height: 1.55;
  text-align: right;
}
.sf-territory__map {
  overflow: hidden;
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  background: #dfebe8;
}
.sf-territory__map iframe { display: block; width: 100%; height: 688px; border: 0; }
.sf-territory__mobile { display: none; }

@media (max-width: 1100px) {
  .sf-page [style*="max-width: 1280px"] { padding-left: 28px !important; padding-right: 28px !important; }
  .sf-page h1 { font-size: clamp(42px, 5vw, 58px) !important; }
  .sf-page h2 { font-size: clamp(34px, 4.2vw, 50px) !important; }
  .sf-header__nav { gap: 16px !important; font-size: 14px !important; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  .sf-page [style*="max-width: 1280px"] { padding-left: 20px !important; padding-right: 20px !important; }
  .sf-page [style*="padding: 130px"],
  .sf-page [style*="padding: 120px"],
  .sf-page [style*="padding: 110px"],
  .sf-page [style*="padding: 100px"] { padding-top: 76px !important; padding-bottom: 76px !important; }
  .sf-page [style*="display: grid"] { grid-template-columns: minmax(0, 1fr) !important; gap: 32px !important; }
  .sf-page [style*="display: grid"] > * { min-width: 0 !important; }
  .sf-page p { max-width: 100% !important; overflow-wrap: anywhere; }
  .sf-page [style*="letter-spacing: 0.18em"][style*="text-transform: uppercase"] {
    max-width: 100% !important;
    font-size: 10.5px !important;
    letter-spacing: .11em !important;
    line-height: 1.5 !important;
  }
  .sf-page [style*="font-size: 58px"],
  .sf-page [style*="font-size: 64px"],
  .sf-page [style*="font-size: 68px"],
  .sf-page [style*="font-size: 72px"] { font-size: clamp(38px, 11vw, 52px) !important; }
  .sf-page [style*="font-size: 44px"],
  .sf-page [style*="font-size: 46px"],
  .sf-page [style*="font-size: 48px"],
  .sf-page [style*="font-size: 52px"] { font-size: clamp(31px, 9vw, 42px) !important; }
  .sf-page [style*="height: 560px"],
  .sf-page [style*="height: 520px"],
  .sf-page [style*="height: 500px"] { height: min(116vw, 520px) !important; }
  .sf-page [style*="height: 430px"],
  .sf-page [style*="height: 420px"],
  .sf-page [style*="height: 400px"],
  .sf-page [style*="height: 380px"] { height: min(90vw, 420px) !important; }
  .sf-page [style*="width: 520px"] { width: 100% !important; }
  .sf-page [style*="left: -28px"] { left: 12px !important; right: 12px !important; }
  .sf-page [style*="position: fixed"][style*="bottom: 28px"] { left: 16px !important; right: 16px !important; bottom: 12px !important; text-align: center; }
  .sf-page [style*="overflow-x: auto"] { scroll-snap-type: x mandatory; }
  .sf-page [style*="overflow-x: auto"] > * { scroll-snap-align: start; }
  .sf-page .hero-rail { flex-wrap: nowrap !important; overscroll-behavior-inline: contain; }
  .sf-page .hero-rail > * { flex-basis: min(78vw, 300px) !important; }

  .sf-header { height: 72px !important; }
  .sf-header > div { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; height: 69px !important; padding: 0 20px !important; }
  .sf-header > div > a:first-child { min-width: 0; gap: 10px !important; }
  .sf-header > div > a:first-child svg { width: 40px; height: 40px; flex: 0 0 40px; }
  .sf-header > div > a:first-child > span { min-width: 0; }
  .sf-header > div > a:first-child > span > span:first-child { font-size: 17px !important; white-space: nowrap; }
  .sf-header > div > a:first-child > span > span:last-child { font-size: 8px !important; letter-spacing: .2em !important; white-space: nowrap; }
  .sf-header__nav,
  .sf-header__cta { display: none !important; }
  .sf-header.is-open { height: auto !important; }
  .sf-header.is-open > div { height: auto !important; min-height: 69px; flex-wrap: wrap; padding-bottom: 20px !important; }
  .sf-header.is-open .sf-header__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex !important;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px !important;
    padding-top: 14px;
  }
  .sf-header.is-open .sf-header__nav a { padding: 11px 0 !important; border-bottom: 1px solid var(--sf-line); }
  .sf-header.is-open .sf-header__cta { grid-column: 1 / -1; grid-row: 3; display: block !important; width: 100%; margin-top: 12px; text-align: center; }
  .sf-mobile-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--sf-line);
    border-radius: 6px;
    color: var(--sf-ink);
    background: #fff;
    font: 700 20px/1 sans-serif;
    cursor: pointer;
  }
  .sf-footer [style*="display: flex"] { flex-wrap: wrap; align-items: flex-start !important; gap: 20px !important; }
  .sf-footer [style*="grid-template-columns"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sf-page--home [style*="border-top: 1px solid rgb(228, 228, 228)"][style*="padding-top: 22px"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
  }
  .sf-page--home [style*="border-top: 1px solid rgb(228, 228, 228)"][style*="padding-top: 22px"] > div {
    min-width: 0 !important;
    padding: 10px 8px !important;
    border-left: 0 !important;
  }
  .sf-page--home [style*="border-top: 1px solid rgb(228, 228, 228)"][style*="padding-top: 22px"] > div:nth-child(even) {
    border-left: 1px solid var(--sf-line) !important;
  }

  .sf-territory { padding: 76px 20px; }
  .sf-territory__header { display: block; margin-bottom: 28px; }
  .sf-territory h2 { font-size: clamp(31px, 9vw, 42px); }
  .sf-territory__header > p { margin-top: 18px; text-align: left; }
  .sf-territory__map { display: none; }
  .sf-territory__mobile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sf-territory__mobile a {
    display: flex;
    min-width: 0;
    min-height: 178px;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--sf-line);
    border-radius: 12px;
    color: var(--sf-ink);
    background: #fafaf8;
  }
  .sf-territory__mobile a::after { content: "Explore →"; margin-top: auto; padding-top: 16px; color: var(--sf-red); font-size: 13px; font-weight: 700; }
  .sf-territory__mobile strong { font: 800 20px/1.2 "Plus Jakarta Sans", sans-serif; }
  .sf-territory__mobile strong span { color: var(--sf-muted); font: 500 16px/1.2 "Newsreader", serif; }
  .sf-territory__mobile small { margin-top: 7px; color: var(--sf-red); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .sf-territory__mobile p { margin: 12px 0 0; color: var(--sf-muted); font-size: 13px; line-height: 1.5; }
}

@media (max-width: 520px) {
  .sf-page [style*="display: flex"] { flex-wrap: wrap; }
  .sf-page .hero-rail { flex-wrap: nowrap !important; }
  .sf-page [style*="padding: 88px"],
  .sf-page [style*="padding: 80px"] { padding-top: 56px !important; padding-bottom: 64px !important; }
  .sf-page [style*="min-width: 240px"],
  .sf-page [style*="min-width: 260px"],
  .sf-page [style*="min-width: 280px"] { min-width: 82vw !important; }
  .sf-footer [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .sf-footer [style*="align-items: flex-end"] { align-items: flex-start !important; }
  .sf-territory__mobile { grid-template-columns: 1fr; }
  .sf-territory__mobile a { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------
   Mega menu (nav dropdown) — added with the 2026-08 UI refresh.
   Desktop: opens on hover and on keyboard focus, no JS required.
   Mobile:  collapses into the existing .sf-header.is-open list.
   --------------------------------------------------------------- */
.sf-nav-item { position: static; display: inline-flex; align-items: center; }
.sf-nav-item__link { display: inline-block; }

.sf-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: #fff;
	border-bottom: 1px solid var(--sf-line);
	box-shadow: 0 24px 40px -32px rgba(21, 21, 21, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
	z-index: 60;
}
.sf-nav-item:hover .sf-mega,
.sf-nav-item:focus-within .sf-mega { opacity: 1; visibility: visible; transform: none; }

.sf-mega__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 36px 40px 44px;
	display: grid;
	grid-template-columns: 1fr 1fr 1.1fr;
	gap: 56px;
}
.sf-mega__col { display: flex; flex-direction: column; gap: 4px; }
.sf-mega__label {
	font-size: 11px;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--sf-muted);
	margin-bottom: 12px;
}
.sf-mega__label--red { color: var(--sf-red); }
.sf-mega__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--sf-ink);
	font-size: 16px;
	font-weight: 500;
	padding: 9px 0;
	border-bottom: 1px solid var(--sf-line);
}
.sf-mega__link:hover { color: var(--sf-red); }
.sf-mega__arrow { font-size: 13px; color: #b9bec3; }
.sf-mega__feature {
	background: #f5f5f5;
	border-radius: 6px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 180px;
}
.sf-mega__headline {
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.25;
}
.sf-mega__more {
	font-size: 14px;
	font-weight: 600;
	color: var(--sf-ink);
	display: inline-flex;
	gap: 8px;
	align-items: center;
}
.sf-mega__more:hover { color: var(--sf-red); }

@media (max-width: 1100px) {
	.sf-mega__inner { padding: 28px 24px 32px; gap: 32px; }
}

@media (max-width: 820px) {
	/* inside the burger menu the panel becomes a plain nested list */
	.sf-nav-item { display: block; width: 100%; }
	.sf-nav-item__link { display: block; width: 100%; }
	.sf-mega {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-bottom: 0;
		background: transparent;
	}
	.sf-mega__inner { display: block; padding: 0 0 4px 14px; }
	.sf-mega__label { margin: 12px 0 4px; }
	.sf-mega__link { font-size: 15px; padding: 9px 0 !important; }
	.sf-mega__feature { display: none; }
}

/* 7-step timeline: the dashed rail, progress bar and truck are positioned for the
   side-by-side layout, so hide them once the grid collapses to a single column. */
@media (max-width: 820px) {
	.sf-page .sf-steps__rail { display: none !important; }
}

/* Sticky "Start Your Project" pill — rebuilt from the design canvas spec. */
.sf-sticky-cta {
	position: fixed;
	right: 28px;
	bottom: 28px;
	z-index: 60;
	background: var(--sf-ink);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 14px 24px;
	border-radius: 100px;
	box-shadow: 0 12px 30px -10px rgba(21, 21, 21, .5);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s, background .18s ease;
}
.sf-sticky-cta.is-visible { opacity: 1; visibility: visible; transform: none; }
.sf-sticky-cta:hover,
.sf-sticky-cta:focus-visible { background: var(--sf-red); color: #fff; }

@media (max-width: 820px) {
	.sf-sticky-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
	.sf-sticky-cta { transition: opacity .01s, visibility .01s; transform: none; }
}

/* --------------------------------------------------------------
   "Send us your spec list" — the section promises a costed FF&E
   list back, so the slot shows one instead of a product photo.
   Real markup rather than a screenshot: crisp at any DPI, readable
   by search engines and screen readers, and it reflows on mobile.
   -------------------------------------------------------------- */
.sf-spec {
	background: #fff;
	color: var(--sf-ink);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
	font-size: 13px;
	line-height: 1.35;
}
.sf-spec__head,
.sf-spec__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 34px 62px 74px;
	gap: 10px;
	align-items: center;
	padding: 11px 18px;
}
.sf-spec__head {
	background: var(--sf-ink);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding-top: 13px;
	padding-bottom: 13px;
}
.sf-spec__head span:not(:first-child),
.sf-spec__row span:not(.sf-spec__item) { text-align: right; }
.sf-spec__room {
	background: #f4f5f6;
	border-bottom: 1px solid var(--sf-line);
	padding: 8px 18px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--sf-muted);
}
.sf-spec__row { border-bottom: 1px solid #eef0f1; }
.sf-spec__item { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sf-spec__item strong { font-size: 13.5px; font-weight: 600; }
.sf-spec__item small { font-size: 11.5px; color: var(--sf-muted); }
.sf-spec__sum {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	background: #fdf6e6;
	border-top: 2px solid var(--sf-red);
	padding: 14px 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--sf-muted);
}
.sf-spec__sum strong { font-size: 17px; letter-spacing: 0; color: var(--sf-ink); }
.sf-spec__note {
	padding: 12px 18px 14px;
	font-size: 11px;
	line-height: 1.45;
	color: #8b9096;
	background: #fff;
}

@media (max-width: 1100px) {
	.sf-spec__head,
	.sf-spec__row { grid-template-columns: minmax(0, 1fr) 30px 56px 66px; padding-left: 14px; padding-right: 14px; }
}
/* narrow: the unit column is the first thing that can go */
@media (max-width: 420px) {
	.sf-spec__head span:nth-child(3),
	.sf-spec__row span:nth-child(3) { display: none; }
	.sf-spec__head,
	.sf-spec__row { grid-template-columns: minmax(0, 1fr) 28px 66px; }
}

/* The card sits on the ink-coloured band, so the header needs its own
   value or the top of the sheet disappears into the section. Navy from
   the client's own quotation template. */
.sf-spec__head { background: #1f3864; }
.sf-spec { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8); }

/* ==============================================================
   Mobile pass — 2026-08-30
   The canvas export is authored at 1440px and the base mobile rule
   collapsed every grid to a single column, so a six-card row became
   six full-height screens. Measured 1-col vs 2-col for every grid on
   the site: two-up is shorter in 30 of 32 cases, so card rows go
   two-up, media is sized for a phone, and the rhythm tightens.
   ============================================================== */
@media (max-width: 820px) {

	/* --- 1. card rows go two-up ---------------------------------
	   Excluded: grids of photo cards whose caption is absolutely
	   positioned over the image — at 168px the caption is taller than
	   the card and spills out of the frame, so those stay full width. */
	.sf-page [style*="grid-template-columns: 1fr 1fr 1fr"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: 1.4fr 1fr"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: 1fr 0.85fr"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: repeat(3,"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: repeat(4,"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: repeat(5,"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: repeat(6,"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: repeat(7,"]:not(:has(> a[style*="position: relative"][style*="height:"])),
	.sf-page [style*="grid-template-columns: 1fr 1fr;"]:not([style*="align-items: center"]):not([style*="gap: 72px"]):not([style*="gap: 80px"]):not([style*="gap: 64px"]):not(:has(> a[style*="position: relative"][style*="height:"])) {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 14px !important;
	}

	/* thumbnail + text rows stay side by side: stacking them is taller,
	   not shorter, and blows the thumbnail up to full width */
	.sf-page [style*="grid-template-columns: 120px 1fr"] { grid-template-columns: 78px minmax(0, 1fr) !important; gap: 13px !important; }
	.sf-page [style*="grid-template-columns: 44px 1fr"]  { grid-template-columns: 38px minmax(0, 1fr) !important; gap: 11px !important; }
	.sf-page [style*="grid-template-columns: 120px 1fr"] > [style*="height: 100px"] { height: 66px !important; }

	/* wide fixed sidebars have to stack */
	.sf-page [style*="grid-template-columns: 420px"],
	.sf-page [style*="grid-template-columns: 360px"],
	.sf-page [style*="grid-template-columns: 340px"],
	.sf-page [style*="grid-template-columns: 1fr 560px"],
	.sf-page [style*="grid-template-columns: 1fr 520px"] { grid-template-columns: minmax(0, 1fr) !important; }

	/* --- 2. vertical rhythm ------------------------------------- */
	.sf-page [style*="padding: 130px"],
	.sf-page [style*="padding: 120px"],
	.sf-page [style*="padding: 110px"],
	.sf-page [style*="padding: 100px"],
	.sf-page [style*="padding: 96px"],
	.sf-page [style*="padding: 90px"],
	.sf-page [style*="padding: 88px"],
	.sf-page [style*="padding: 84px"],
	.sf-page [style*="padding: 80px"],
	.sf-page [style*="padding: 76px"],
	.sf-page [style*="padding: 70px"] { padding-top: 52px !important; padding-bottom: 52px !important; }
	.sf-territory { padding-top: 52px !important; padding-bottom: 52px !important; }

	/* --- 3. media sized for a phone ------------------------------
	   Photo cards that carry an overlaid caption keep enough height
	   for it; plain media blocks can shrink further. */
	.sf-page [style*="height: 560px"],
	.sf-page [style*="height: 540px"],
	.sf-page [style*="height: 520px"],
	.sf-page [style*="height: 500px"] { height: min(76vw, 310px) !important; }
	.sf-page [style*="height: 480px"],
	.sf-page [style*="height: 460px"],
	.sf-page [style*="height: 440px"],
	.sf-page [style*="height: 430px"],
	.sf-page [style*="height: 420px"],
	.sf-page [style*="height: 400px"] { height: min(62vw, 255px) !important; }
	.sf-page [style*="height: 380px"],
	.sf-page [style*="height: 360px"],
	.sf-page [style*="height: 340px"],
	.sf-page [style*="height: 320px"],
	.sf-page [style*="height: 300px"],
	.sf-page [style*="height: 280px"],
	.sf-page [style*="height: 260px"],
	.sf-page [style*="height: 240px"] { height: min(46vw, 190px) !important; }
	.sf-page a[style*="position: relative"][style*="height:"] { height: min(88vw, 340px) !important; }

	/* --- 4. legibility ------------------------------------------- */
	.sf-page [style*="font-size: 10px"] { font-size: 11.5px !important; }
	.sf-page [style*="font-size: 11px"],
	.sf-page [style*="font-size: 11.5px"] { font-size: 12px !important; }
	.sf-page [style*="font-size: 42px"],
	.sf-page [style*="font-size: 40px"] { font-size: clamp(27px, 7.6vw, 34px) !important; }
	.sf-page [style*="font-size: 34px"],
	.sf-page [style*="font-size: 32px"],
	.sf-page [style*="font-size: 30px"] { font-size: 25px !important; }
	.sf-page [style*="font-size: 27px"],
	.sf-page [style*="font-size: 26px"] { font-size: 21px !important; }
	.sf-page [style*="grid-template-columns: 1fr 1fr 1fr"] [style*="font-size: 14.5px"],
	.sf-page [style*="grid-template-columns: 1fr 1fr 1fr"] [style*="font-size: 14px"] { font-size: 13px !important; line-height: 1.45 !important; }

	/* --- 5. touch targets ---------------------------------------- */
	.sf-page a[style*="border-radius: 100px"],
	.sf-page a[style*="border-radius: 6px"] { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
	.sf-footer a { display: inline-block; padding-top: 6px !important; padding-bottom: 6px !important; }
}

/* ==============================================================
   Mobile pass 2 — visual fixes found by walking the whole page
   on a 390px screen.
   ============================================================== */
@media (max-width: 820px) {

	/* 1. The supply-chain diagram is drawn on a 1200x460 canvas. Squeezed
	   into 350px its labels render at ~3px and it reads as noise.
	   Give it a legible width and let the reader swipe it. */
	.sf-page div:has(> svg[viewBox="0 0 1200 460"]),
	.sf-page div:has(> svg[viewbox="0 0 1200 460"]) {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.sf-page svg[viewBox="0 0 1200 460"],
	.sf-page svg[viewbox="0 0 1200 460"] { width: 760px !important; max-width: none !important; }

	/* 2. The hero's floating proof card sat over the photo and hid half
	   of it; below the image it reads better and costs ~20px. */
	.sf-page [style*="left: -28px"][style*="position: absolute"] {
		position: static !important;
		margin: 12px 0 0 !important;
		box-shadow: none !important;
		border: 1px solid var(--sf-line) !important;
	}

	/* 3. Photo cards with an overlaid caption: 340px was more than the
	   caption needs and made this the longest section on the homepage. */
	.sf-page a[style*="position: relative"][style*="height:"] { height: min(66vw, 250px) !important; }

	/* 4. A little more air removed between sections. */
	.sf-page [style*="padding: 130px"],
	.sf-page [style*="padding: 120px"],
	.sf-page [style*="padding: 110px"],
	.sf-page [style*="padding: 100px"],
	.sf-page [style*="padding: 96px"],
	.sf-page [style*="padding: 90px"],
	.sf-page [style*="padding: 88px"],
	.sf-page [style*="padding: 84px"],
	.sf-page [style*="padding: 80px"],
	.sf-page [style*="padding: 76px"],
	.sf-page [style*="padding: 70px"] { padding-top: 46px !important; padding-bottom: 46px !important; }
	.sf-territory { padding-top: 46px !important; padding-bottom: 46px !important; }
}

/* the district list was pushed back to one column below 520px; two-up
   is legible at 360px and saves most of a screen */
@media (min-width: 360px) and (max-width: 820px) {
	.sf-territory__mobile { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
	.sf-territory__mobile a { min-height: 0 !important; padding: 14px !important; }
	.sf-territory__mobile p { font-size: 12px !important; margin-top: 8px !important; }
	.sf-territory__mobile strong { font-size: 17px !important; }
	.sf-territory__mobile strong span { font-size: 14px !important; }
	.sf-territory__mobile a::after { padding-top: 10px !important; font-size: 12px !important; }
}

/* ==============================================================
   Mobile pass 3 — nested card grids
   A card grid that itself contains a card grid cannot go two-up:
   350 → 168 → 77px, minus 24px padding leaves ~29px of text column.
   Keep the outer one full width; the inner grid still goes two-up
   and stays readable. The repeated [style] raises specificity above
   the four :not()s on the two-up rule without resorting to !important
   ordering games.
   ============================================================== */
@media (max-width: 820px) {
	.sf-page [style*="grid-template-columns"][style][style][style][style][style]:has(> * > [style*="grid-template-columns: 1fr 1fr"]),
	.sf-page [style*="grid-template-columns"][style][style][style][style][style]:has(> [style*="grid-template-columns: 1fr 1fr"]) {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

/* ==============================================================
   Mobile pass 4 — padded panels
   A 168px column minus 2×36px of padding leaves 96px of text. Panels
   with heavy padding (pricing tables, feature panels) stay full width;
   moderately padded cards keep the two-up layout but lose some padding
   so the text column stays usable.
   ============================================================== */
@media (max-width: 820px) {
	.sf-page [style*="grid-template-columns"][style][style][style][style][style]:has(> [style*="padding: 36px"]),
	.sf-page [style*="grid-template-columns"][style][style][style][style][style]:has(> [style*="padding: 40px"]),
	.sf-page [style*="grid-template-columns"][style][style][style][style][style]:has(> [style*="padding: 44px"]),
	.sf-page [style*="grid-template-columns"][style][style][style][style][style]:has(> [style*="padding: 48px"]) {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.sf-page [style*="grid-template-columns"] > [style*="padding: 32px"],
	.sf-page [style*="grid-template-columns"] > [style*="padding: 30px"],
	.sf-page [style*="grid-template-columns"] > [style*="padding: 28px"],
	.sf-page [style*="grid-template-columns"] > [style*="padding: 24px"] { padding: 17px !important; }
}

/* ==============================================================
   "Where should we start?" path cards — v4
   The photograph remains completely unobstructed. The category label
   sits in the white content area as a compact editorial eyebrow.
   ============================================================== */
.sf-path {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sf-line);
	box-shadow: 0 1px 3px rgba(15, 17, 19, .06);
	color: var(--sf-ink);
	transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
}
.sf-path:hover,
.sf-path:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 22px 38px -24px rgba(15, 17, 19, .38);
	color: var(--sf-ink);
}

.sf-path__media {
	display: block;
	position: relative;
	aspect-ratio: 5 / 3;
	height: auto;
	overflow: hidden;
	background: #EDEDEA;
}
.sf-path__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.sf-path:hover .sf-path__media img { transform: scale(1.045); }

.sf-path__badge {
	position: static;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 17px 22px 0;
	padding: 0;
	font-size: 10.5px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #666B72;
}
.sf-path__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sf-red);
	box-shadow: 0 0 0 4px #FBF1F2;
}

.sf-path__body {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 11px 22px 22px;
}
.sf-path__icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: #FBF1F2;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sf-path__icon svg { width: 32px; height: 32px; }
.sf-path__text { display: block; min-width: 0; }
.sf-path__title {
	display: block;
	font-family: "Plus Jakarta Sans", sans-serif;
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -.01em;
	line-height: 1.2;
	margin-bottom: 5px;
}
.sf-path__desc {
	display: block;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--sf-muted);
}
.sf-path__arrow {
	flex: 0 0 auto;
	margin-left: auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--sf-line);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	line-height: 1;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.sf-path:hover .sf-path__arrow {
	background: var(--sf-red);
	border-color: var(--sf-red);
	color: #fff;
	transform: translateX(2px);
}

@media (max-width: 820px) {
	/* these are full-width cards on a phone — keep the grid stacked */
	/* the earlier two-up rule carries a long :not() chain, so this needs
	   the [style] repetition trick to outrank it */
	.sf-page [style*="display: grid"][style][style][style][style][style][style][style][style][style]:has(> .sf-path) {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 14px !important;
	}
	.sf-path__media { aspect-ratio: 16 / 10; }
	.sf-path__body { padding: 9px 15px 16px; gap: 13px; }
	.sf-path__icon { width: 40px; height: 40px; border-radius: 10px; }
	.sf-path__icon svg { width: 28px; height: 28px; }
	.sf-path__title { font-size: 17.5px; }
	.sf-path__desc { font-size: 12.5px; }
	.sf-path__arrow { width: 36px; height: 36px; font-size: 15px; }
	.sf-path__badge { margin: 13px 15px 0; font-size: 10.5px; }
}

/* ==============================================================
   Mobile typography scale — 2026-08-31
   The desktop type ramp was only being nudged down before; on a
   390px screen the hero H1 still ran 6 lines and card copy wrapped
   every two words. This is an authoritative scale for <=820px —
   it sits last in the cascade so it wins over the earlier nudges.
   ============================================================== */
@media (max-width: 820px) {
	/* display sizes */
	.sf-page [style*="font-size: 58px"],
	.sf-page [style*="font-size: 56px"],
	.sf-page [style*="font-size: 54px"] { font-size: clamp(28px, 8.6vw, 36px) !important; line-height: 1.16 !important; }
	.sf-page [style*="font-size: 52px"],
	.sf-page [style*="font-size: 50px"],
	.sf-page [style*="font-size: 48px"],
	.sf-page [style*="font-size: 46px"],
	.sf-page [style*="font-size: 44px"] { font-size: clamp(25px, 7.6vw, 32px) !important; line-height: 1.18 !important; }
	.sf-page [style*="font-size: 42px"],
	.sf-page [style*="font-size: 40px"] { font-size: clamp(23px, 7vw, 28px) !important; line-height: 1.2 !important; }
	.sf-page [style*="font-size: 34px"],
	.sf-page [style*="font-size: 32px"],
	.sf-page [style*="font-size: 30px"],
	.sf-page [style*="font-size: 28px"] { font-size: 21px !important; line-height: 1.25 !important; }
	.sf-page [style*="font-size: 27px"],
	.sf-page [style*="font-size: 26px"],
	.sf-page [style*="font-size: 25px"] { font-size: 19px !important; line-height: 1.3 !important; }
	.sf-page [style*="font-size: 24px"],
	.sf-page [style*="font-size: 23px"],
	.sf-page [style*="font-size: 22px"] { font-size: 17.5px !important; line-height: 1.3 !important; }
	.sf-page [style*="font-size: 21px"],
	.sf-page [style*="font-size: 20px"] { font-size: 16.5px !important; line-height: 1.35 !important; }
	/* body copy */
	.sf-page [style*="font-size: 18px"],
	.sf-page [style*="font-size: 17px"],
	.sf-page [style*="font-size: 16.5px"],
	.sf-page [style*="font-size: 16px"] { font-size: 15px !important; line-height: 1.55 !important; }
	/* copy inside two-up card grids wraps hard at ~150px — one notch down */
	.sf-page [style*="grid-template-columns"] [style*="font-size: 15px"],
	.sf-page [style*="grid-template-columns"] [style*="font-size: 14.5px"],
	.sf-page [style*="grid-template-columns"] [style*="font-size: 14px"] { font-size: 13px !important; line-height: 1.5 !important; }
	/* element-level backup for any heading without an inline size */
	.sf-page h1 { font-size: clamp(28px, 8.6vw, 36px) !important; line-height: 1.16 !important; }
	.sf-page h2 { font-size: clamp(22px, 6.6vw, 28px) !important; line-height: 1.22 !important; }
}

/* ==============================================================
   Supply-chain diagram — vertical layout for phones
   The 1200x460 canvas only worked as a horizontal scroller on
   mobile; this is the same content top-to-bottom instead.
   ============================================================== */
.sf-chain-m { display: none; }
@media (max-width: 820px) {
	.sf-page svg[viewbox="0 0 1200 460"],
	.sf-page svg[viewBox="0 0 1200 460"] { display: none !important; }
	.sf-chain-m { display: flex; flex-direction: column; align-items: center; width: 100%; }
	.sf-chain-m__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
		width: 100%;
	}
	.sf-chain-m__sup {
		border: 1px solid var(--sf-line);
		border-radius: 12px;
		background: #fff;
		padding: 11px 12px;
		text-align: center;
	}
	.sf-chain-m__sup b { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; }
	.sf-chain-m__sup i { font-style: normal; font-size: 11px; color: var(--sf-muted); }
	.sf-chain-m__link {
		height: 24px;
		border-left: 2px dashed #C9CED3;
		position: relative;
	}
	.sf-chain-m__link::after {
		content: "";
		position: absolute;
		left: -4px;
		bottom: -3px;
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--sf-red);
	}
	.sf-chain-m__hub {
		width: 100%;
		background: var(--sf-ink);
		color: #fff;
		border-radius: 14px;
		padding: 16px 20px;
		text-align: center;
		outline: 1.5px dashed rgba(200, 16, 46, .8);
		outline-offset: 5px;
	}
	.sf-chain-m__hub b { display: block; font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: 18px; }
	.sf-chain-m__hub span { display: block; margin-top: 4px; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
	.sf-chain-m__hub i { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .55); }
	.sf-chain-m__steps { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
	.sf-chain-m__steps > span {
		display: flex;
		align-items: baseline;
		gap: 9px;
		border: 1px solid var(--sf-line);
		border-radius: 12px;
		background: #fff;
		padding: 11px 14px;
	}
	.sf-chain-m__steps > span::before {
		content: "";
		align-self: center;
		flex: 0 0 auto;
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--sf-red);
	}
	.sf-chain-m__steps b { font-size: 13.5px; font-weight: 700; }
	.sf-chain-m__steps i { font-style: normal; font-size: 12px; color: var(--sf-muted); margin-left: auto; text-align: right; }
}

/* ==============================================================
   Form grids must never go two-up — 170px inputs truncate their
   own placeholders. The [style] repetition outranks the two-up rule.
   ============================================================== */
@media (max-width: 820px) {
	.sf-page [style*="display: grid"][style][style][style][style][style][style][style][style][style]:has(input),
	.sf-page [style*="display: grid"][style][style][style][style][style][style][style][style][style]:has(select),
	.sf-page [style*="display: grid"][style][style][style][style][style][style][style][style][style]:has(textarea) {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 12px !important;
	}
	/* a red tick and its label stay on one line */
	.sf-page [style*="display: flex"][style*="gap: 10px"]:has(> span[style*="rgb(200, 16, 46)"]),
	.sf-page [style*="display: flex"][style*="gap: 10px"]:has(> span[style*="C8102E"]) { flex-wrap: nowrap !important; }
}

/* mobile: underlined text links get a real tap target */
@media (max-width: 820px) {
	.sf-page a[style*="border-bottom"] { display: inline-block; padding-top: 7px; padding-bottom: 7px; }
}

/* mobile: heavy box padding eats a 350px screen — two nested panels at
   64px + 36px left a 150px form column. Scale panel padding down. */
@media (max-width: 820px) {
	.sf-page [style*="padding: 64px"],
	.sf-page [style*="padding: 60px"],
	.sf-page [style*="padding: 56px"],
	.sf-page [style*="padding: 52px"],
	.sf-page [style*="padding: 48px"],
	.sf-page [style*="padding: 44px"],
	.sf-page [style*="padding: 40px"] { padding: 22px !important; }
	.sf-page [style*="padding: 38px"],
	.sf-page [style*="padding: 36px"],
	.sf-page [style*="padding: 34px"] { padding: 18px !important; }
}

/* team-rail arrows: the buttons carried no background of their own, so
   the UA default button face made the prev arrow white-on-white and put
   a stray ring around the next one. */
.sf-page .sf-team-prev,
.sf-page .sf-team-next {
	appearance: none;
	-webkit-appearance: none;
	padding: 0;
	cursor: pointer;
	transition: border-color .2s, background .2s, transform .2s;
}
.sf-page .sf-team-prev {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, .4) !important;
	color: #fff !important;
}
.sf-page .sf-team-prev:hover { border-color: #fff !important; }
.sf-page .sf-team-next {
	background: var(--sf-red) !important;
	border: 1px solid var(--sf-red) !important;
	color: #fff !important;
}
.sf-page .sf-team-next:hover { transform: translateX(2px); }

/* mobile: the INCLUDED / NOT INCLUDED comparison stacks — two 150px
   text columns with a vertical rule read as a squeeze, not a compare */
@media (max-width: 820px) {
	.sf-page [style*="display: grid"][style][style][style][style][style][style][style][style][style]:has(> [style*="border-left"]) {
		grid-template-columns: minmax(0, 1fr) !important;
		gap: 18px !important;
	}
	.sf-page [style*="display: grid"] > [style*="border-left"][style*="padding-left"] {
		border-left: 0 !important;
		padding-left: 0 !important;
		border-top: 1px solid var(--sf-line) !important;
		padding-top: 18px !important;
	}
}

/* mobile detail pass 2 */
@media (max-width: 820px) {
	/* start-your-project: the sticky intro column escapes its grid row
	   while scrolling and rides over the form — no sticky on phones */
	.sf-page [style*="position: sticky"][style*="top: 124px"] { position: static !important; }
	/* pricing-card ribbon wrapped to two lines and covered the card label */
	.sf-page [style*="position: absolute"][style*="top: -13px"] {
		white-space: nowrap;
		font-size: 10px !important;
		padding: 6px 12px !important;
		right: 16px !important;
	}
}

/* Integrated interior systems navigation */
.sf-systems-menu { position: relative; display: flex; align-items: center; }
.sf-systems-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border: 0;
  color: var(--sf-ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.sf-systems-menu__trigger::after { content: "⌄"; margin-top: -3px; color: var(--sf-red); font-size: 15px; }
.sf-systems-menu__panel {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  z-index: 80;
  display: grid;
  width: 550px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--sf-line);
  border-top: 3px solid var(--sf-red);
  background: #fff;
  box-shadow: 0 24px 60px -32px rgba(31, 35, 40, .55);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.sf-systems-menu:hover .sf-systems-menu__panel,
.sf-systems-menu:focus-within .sf-systems-menu__panel,
.sf-systems-menu.is-open .sf-systems-menu__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sf-systems-menu__panel a { display: block; padding: 13px 14px !important; color: var(--sf-ink) !important; border: 0 !important; }
.sf-systems-menu__panel a:hover,
.sf-systems-menu__panel a:focus-visible { background: #f7f3ef; }
.sf-systems-menu__panel strong { display: block; font-size: 14px; line-height: 1.2; }
.sf-systems-menu__panel small { display: block; margin-top: 4px; color: var(--sf-muted); font-size: 11px; font-weight: 500; line-height: 1.35; }
.sf-systems-menu__panel a:first-child { grid-column: 1 / -1; background: var(--sf-ink); color: #fff !important; }
.sf-systems-menu__panel a:first-child small { color: #b9bec3; }

/* Integrated interior systems pages */
.sf-page--system { color: var(--sf-ink); background: #fff; font-family: "Hanken Grotesk", sans-serif; }
.sf-system-header { position: sticky; top: 0; z-index: 60; border-top: 3px solid var(--sf-red); border-bottom: 1px solid var(--sf-line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.sf-system-header__row { display: flex; width: min(100% - 48px, 1200px); height: 81px; align-items: center; justify-content: space-between; gap: 22px; margin: auto; }
.sf-system-brand { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; color: var(--sf-ink); }
.sf-system-brand > span { display: flex; flex-direction: column; }
.sf-system-brand b { font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; letter-spacing: -.01em; }
.sf-system-brand small { margin-top: 5px; color: var(--sf-muted); font-size: 9px; font-weight: 700; letter-spacing: .24em; }
.sf-system-header .sf-header__nav { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 600; }
.sf-system-header .sf-header__nav > a { padding: 8px 0; color: var(--sf-ink); }
.sf-system-header .sf-header__cta { flex: 0 0 auto; padding: 12px 18px; border-radius: 6px; color: #fff; background: var(--sf-ink); font-size: 13px; font-weight: 600; }
.sf-system-hero { display: grid; width: min(100% - 48px, 1200px); grid-template-columns: .92fr 1.08fr; gap: clamp(48px, 6vw, 88px); align-items: center; margin: auto; padding: 76px 0 108px; }
.sf-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; color: #858a90; font-size: 12px; }
.sf-breadcrumbs a { color: #5f6368; }
.sf-system-kicker,
.sf-section-heading span,
.sf-system-integration__lead > span,
.sf-system-cta span { display: block; color: var(--sf-red); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.sf-system-kicker::before { content: ""; display: inline-block; width: 25px; height: 2px; margin: 0 10px 3px 0; background: currentColor; }
.sf-system-hero h1 { max-width: 600px; margin: 22px 0 24px; font: 800 clamp(46px, 4.7vw, 68px)/1.01 "Plus Jakarta Sans", sans-serif; letter-spacing: -.045em; }
.sf-system-hero__copy > p { max-width: 560px; margin: 0; color: var(--sf-muted); font-size: 18px; line-height: 1.65; }
.sf-system-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 34px; }
.sf-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 5px; font-size: 14px; font-weight: 700; }
.sf-button--dark { color: #fff; background: var(--sf-ink); }
.sf-button--dark:hover { background: var(--sf-red); }
.sf-button--text { padding-inline: 0; color: var(--sf-ink); border-bottom: 1px solid var(--sf-ink); border-radius: 0; }
.sf-system-hero__media { position: relative; min-height: 610px; margin: 0; overflow: hidden; border-radius: 4px; background: #e7e6e2; }
.sf-system-hero__media img { position: absolute; inset: 0; }
.sf-system-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15, 17, 19, .62)); }
.sf-system-hero__media figcaption { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 1; display: flex; justify-content: space-between; gap: 8px; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sf-system-catalog,
.sf-system-scope,
.sf-system-related { width: min(100% - 48px, 1200px); margin: auto; padding: 104px 0 116px; border-top: 1px solid var(--sf-line); }
.sf-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 52px; }
.sf-section-heading h2 { max-width: 660px; margin: 14px 0 0; font: 800 clamp(36px, 4vw, 52px)/1.06 "Plus Jakarta Sans", sans-serif; letter-spacing: -.035em; }
.sf-section-heading > p { max-width: 400px; margin: 0; color: var(--sf-muted); line-height: 1.65; }
.sf-system-catalog__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.sf-system-card { display: flex; min-width: 0; min-height: 420px; flex-direction: column; padding: 14px; border: 1px solid var(--sf-line); color: var(--sf-ink); background: #fff; }
.sf-system-card:first-child,
.sf-system-card:nth-child(2) { grid-column: span 3; }
.sf-system-card:nth-child(n+3) { grid-column: span 2; }
.sf-system-card img { width: 100%; height: 220px; margin-bottom: 22px; }
.sf-system-card > span,
.sf-system-related__grid a > span { color: var(--sf-red); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sf-system-card h3 { margin: 9px 0 8px; font: 800 24px/1.15 "Plus Jakarta Sans", sans-serif; }
.sf-system-card p { margin: 0; color: var(--sf-muted); font-size: 13px; line-height: 1.55; }
.sf-system-card b { margin-top: auto; padding-top: 20px; color: var(--sf-red); font-size: 13px; }
.sf-system-card:hover { border-color: #c9c4bf; transform: translateY(-3px); box-shadow: 0 18px 40px -32px rgba(31,35,40,.6); }
.sf-system-scope__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--sf-line); border: 1px solid var(--sf-line); }
.sf-system-scope__grid article { min-height: 275px; padding: 30px 26px; background: #fff; }
.sf-system-scope__grid article > span { color: var(--sf-red); font: 800 12px/1 "Plus Jakarta Sans", sans-serif; }
.sf-system-scope__grid h3 { margin: 62px 0 12px; font: 800 21px/1.15 "Plus Jakarta Sans", sans-serif; }
.sf-system-scope__grid p { margin: 0; color: var(--sf-muted); font-size: 14px; line-height: 1.6; }
.sf-system-feature { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 720px; background: #f3f1ec; }
.sf-system-feature figure { min-height: 620px; margin: 0; overflow: hidden; }
.sf-system-feature figure img { height: 100%; }
.sf-system-feature > div { display: flex; max-width: 590px; flex-direction: column; justify-content: center; padding: 84px clamp(40px, 7vw, 110px); }
.sf-system-feature h2 { margin: 20px 0; font: 800 clamp(36px, 3.8vw, 52px)/1.06 "Plus Jakarta Sans", sans-serif; letter-spacing: -.035em; }
.sf-system-feature p { margin: 0; color: var(--sf-muted); font-size: 16px; line-height: 1.7; }
.sf-system-feature ul { margin: 30px 0 0; padding: 0; list-style: none; }
.sf-system-feature li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid #d9d5cf; font-size: 14px; line-height: 1.45; }
.sf-system-feature li::before { content: "✓"; position: absolute; left: 2px; color: var(--sf-red); font-weight: 800; }
.sf-system-integration { padding: 112px max(24px, calc((100vw - 1200px) / 2)); color: #fff; background: var(--sf-ink); }
.sf-system-integration__lead { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 58px; }
.sf-system-integration__lead h2 { max-width: 760px; margin: 0; font: 800 clamp(38px, 4.6vw, 60px)/1.04 "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; }
.sf-system-integration__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #45494f; border-bottom: 1px solid #45494f; }
.sf-system-integration__flow > div { min-height: 230px; padding: 28px 26px; border-right: 1px solid #45494f; }
.sf-system-integration__flow > div:last-child { border-right: 0; }
.sf-system-integration__flow b { color: var(--sf-red); font-size: 12px; }
.sf-system-integration__flow strong { display: block; margin: 56px 0 10px; font: 700 19px/1.2 "Plus Jakarta Sans", sans-serif; }
.sf-system-integration__flow p { margin: 0; color: #b9bec3; font-size: 13px; line-height: 1.55; }
.sf-system-integration__note { max-width: 760px; margin: 32px 0 0; color: #a7adb3; font-size: 14px; line-height: 1.65; }
.sf-system-integration__note a { color: #fff; border-bottom: 1px solid #777d83; }
.sf-system-service-links { display: flex; max-width: 980px; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid #3b3f44; }
.sf-system-service-links > span { margin-right: 6px; color: #8f959b; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sf-system-service-links a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid #454a50; border-radius: 4px; color: #fff; font-size: 13px; font-weight: 700; }
.sf-system-service-links a:hover { border-color: #777d83; background: rgba(255,255,255,.05); }
.sf-system-service-links b { color: #e7596e; }
.sf-system-related .sf-section-heading > a { color: var(--sf-ink); font-weight: 700; border-bottom: 1px solid var(--sf-ink); }
.sf-system-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sf-system-related__grid a { display: flex; min-height: 310px; flex-direction: column; padding: 30px; border: 1px solid var(--sf-line); color: var(--sf-ink); }
.sf-system-related__grid h3 { margin: 30px 0 12px; font: 800 25px/1.1 "Plus Jakarta Sans", sans-serif; }
.sf-system-related__grid p { margin: 0; color: var(--sf-muted); font-size: 14px; line-height: 1.6; }
.sf-system-related__grid b { margin-top: auto; padding-top: 24px; color: var(--sf-red); font-size: 13px; }
.sf-system-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; padding: 105px max(24px, calc((100vw - 1200px) / 2)); color: #fff; background: var(--sf-red); }
.sf-system-cta > div > span { color: rgba(255,255,255,.72); }
.sf-system-cta h2 { max-width: 700px; margin: 18px 0 0; font: 800 clamp(38px, 4vw, 54px)/1.05 "Plus Jakarta Sans", sans-serif; letter-spacing: -.04em; }
.sf-system-cta p { max-width: 430px; margin: 4px 0 28px; color: rgba(255,255,255,.86); line-height: 1.65; }
.sf-button--light { color: var(--sf-ink); background: #fff; }
.sf-system-footer { padding: 54px max(24px, calc((100vw - 1200px) / 2)) 24px; color: #fff; background: #17191c; }
.sf-system-footer .sf-system-brand { color: #fff; }
.sf-system-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 38px; border-bottom: 1px solid #30343a; }
.sf-system-footer__top nav { display: flex; flex-wrap: wrap; gap: 26px; }
.sf-system-footer__top nav a { color: #c9ced3; font-size: 13px; }
.sf-system-footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; color: #7d8389; font-size: 12px; }

/* Contextual links connect the legacy pages to the interior-system cluster
   without adding another long content section. */
.sf-context-links { padding: 48px 40px 52px; border-top: 1px solid var(--sf-line); background: #f5f3ef; }
.sf-context-links__inner { width: min(100%, 1200px); margin: 0 auto; }
.sf-context-links__heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.sf-context-links__heading > span { color: var(--sf-red); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sf-context-links__heading h2 { max-width: 580px; margin: 0; font: 800 clamp(25px, 2.4vw, 34px)/1.08 "Plus Jakarta Sans", sans-serif; letter-spacing: -.03em; }
.sf-context-links__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sf-context-links__grid a { position: relative; display: flex; min-height: 142px; flex-direction: column; padding: 20px 48px 20px 20px; border: 1px solid #dedbd6; border-radius: 5px; color: var(--sf-ink); background: #fff; transition: border-color .2s ease, transform .2s ease; }
.sf-context-links__grid a:hover { border-color: #b8b2aa; transform: translateY(-2px); }
.sf-context-links__grid strong { font: 800 17px/1.2 "Plus Jakarta Sans", sans-serif; }
.sf-context-links__grid span { margin-top: 10px; color: var(--sf-muted); font-size: 13px; line-height: 1.45; }
.sf-context-links__grid b { position: absolute; top: 18px; right: 20px; color: var(--sf-red); font-size: 19px; }

@media (max-width: 1120px) {
  .sf-system-header .sf-header__nav { gap: 13px; font-size: 13px; }
  .sf-system-header .sf-header__cta { display: none; }
  .sf-system-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-system-card,
  .sf-system-card:first-child,
  .sf-system-card:nth-child(2),
  .sf-system-card:nth-child(n+3) { grid-column: auto; }
}

@media (max-width: 820px) {
  .sf-systems-menu { display: block; width: 100%; }
  .sf-systems-menu__trigger { width: 100%; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--sf-line); }
  .sf-systems-menu__panel { position: static; display: none; width: 100%; grid-template-columns: 1fr; gap: 0; padding: 8px 0 4px 12px; border: 0; border-left: 2px solid var(--sf-red); box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .sf-systems-menu:hover .sf-systems-menu__panel { display: none; }
  .sf-systems-menu.is-open .sf-systems-menu__panel,
  .sf-systems-menu:focus-within .sf-systems-menu__panel { display: grid; }
  .sf-systems-menu__panel a:first-child { grid-column: auto; }
  .sf-system-header__row { width: 100%; }
  .sf-system-hero { width: min(100% - 40px, 680px); grid-template-columns: 1fr; gap: 40px; padding: 56px 0 76px; }
  .sf-breadcrumbs { margin-bottom: 30px; }
  .sf-system-hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .sf-system-hero__media { min-height: min(118vw, 560px); }
  .sf-system-catalog,
  .sf-system-scope,
  .sf-system-related { width: min(100% - 40px, 680px); padding: 76px 0 84px; }
  .sf-section-heading { display: block; margin-bottom: 34px; }
  .sf-section-heading > p,
  .sf-section-heading > a { display: inline-block; margin-top: 20px; }
  .sf-system-scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1px !important; }
  .sf-system-feature { grid-template-columns: 1fr !important; min-height: 0; }
  .sf-system-feature figure { min-height: min(100vw, 560px); }
  .sf-system-feature > div { max-width: none; padding: 72px 20px 82px; }
  .sf-system-integration { padding-top: 82px; padding-bottom: 82px; }
  .sf-system-integration__lead { display: block; }
  .sf-system-integration__lead > span { margin-bottom: 20px; }
  .sf-system-integration__flow { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sf-system-integration__flow > div:nth-child(2) { border-right: 0; }
  .sf-system-integration__flow > div:nth-child(-n+2) { border-bottom: 1px solid #45494f; }
  .sf-system-related__grid { grid-template-columns: 1fr !important; }
  .sf-system-cta { grid-template-columns: 1fr !important; gap: 38px !important; padding-top: 78px; padding-bottom: 82px; }
  .sf-system-footer__top { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .sf-system-catalog__grid,
  .sf-system-scope__grid,
  .sf-system-integration__flow { grid-template-columns: 1fr !important; }
  .sf-system-card { min-height: 390px; }
  .sf-system-scope__grid article { min-height: 230px; }
  .sf-system-scope__grid h3 { margin-top: 42px; }
  .sf-system-integration__flow > div { min-height: 205px; border-right: 0; border-bottom: 1px solid #45494f; }
  .sf-system-integration__flow > div:last-child { border-bottom: 0; }
  .sf-system-footer__bottom { flex-direction: column; }
}

/* Primary navigation — task-based IA, shared across every page. */
body.admin-bar .sf-header { top: 32px !important; }
.sf-home-mobile-start__button { display: none; }
.sf-header > div:first-child { gap: 24px !important; }
.sf-header > div:first-child > a:first-child { flex: 0 0 auto; }
.sf-header .sf-header__nav {
  display: flex !important;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.3vw, 22px) !important;
  font-size: 15px !important;
  white-space: nowrap;
}
.sf-header .sf-header__cta { flex: 0 0 auto; white-space: nowrap; }
.sf-menu-group { position: relative; display: flex; align-items: center; }
.sf-menu-trigger,
.sf-menu-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 0 !important;
  border: 0 !important;
  color: var(--sf-ink) !important;
  background: transparent;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.sf-menu-trigger::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border-right: 1.5px solid var(--sf-red); border-bottom: 1.5px solid var(--sf-red); transform: rotate(45deg); transition: transform .18s ease; }
.sf-menu-group.is-open .sf-menu-trigger::after { margin-top: 3px; transform: rotate(225deg); }
.sf-menu-trigger::before,
.sf-menu-link::before { content: ""; position: absolute; right: 0; bottom: 4px; left: 0; height: 2px; background: var(--sf-red); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.sf-menu-trigger:hover::before,
.sf-menu-trigger:focus-visible::before,
.sf-menu-trigger.is-current::before,
.sf-menu-link:hover::before,
.sf-menu-link:focus-visible::before,
.sf-menu-link[aria-current="page"]::before { transform: scaleX(1); }
.sf-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 90;
  display: grid;
  width: 650px;
  grid-template-columns: .92fr 1fr 1fr;
  grid-auto-rows: minmax(82px, auto);
  gap: 7px;
  padding: 9px;
  border: 1px solid #dcd8d2;
  border-radius: 9px;
  background: #f5f3ef;
  box-shadow: 0 24px 54px -25px rgba(31, 35, 40, .46), 0 8px 18px -12px rgba(31, 35, 40, .22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 7px) scale(.985);
  transform-origin: 50% 0;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.sf-menu-panel::before { content: ""; position: absolute; right: 0; bottom: 100%; left: 0; height: 15px; }
.sf-menu-panel::after { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-top: 1px solid #dcd8d2; border-left: 1px solid #dcd8d2; background: #f5f3ef; transform: translateX(-50%) rotate(45deg); }
.sf-menu-group.is-open .sf-menu-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.sf-menu-panel a {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 82px;
  flex-direction: column;
  justify-content: center;
  padding: 13px 38px 13px 15px !important;
  border: 1px solid transparent !important;
  border-radius: 5px;
  color: var(--sf-ink) !important;
  background: rgba(255,255,255,.52);
  white-space: normal;
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}
.sf-menu-panel a::after { content: "→"; position: absolute; top: 14px; right: 14px; color: #a1a5aa; font-size: 14px; transition: color .16s ease, transform .16s ease; }
.sf-menu-panel a:hover,
.sf-menu-panel a:focus-visible { border-color: #d2cdc6 !important; background: #fff; transform: translateY(-1px); outline: 2px solid rgba(200, 16, 46, .22); outline-offset: 1px; }
.sf-menu-panel a:hover::after,
.sf-menu-panel a:focus-visible::after { color: var(--sf-red); transform: translateX(2px); }
.sf-menu-panel strong { display: block; font-size: 14px; line-height: 1.22; letter-spacing: -.01em; }
.sf-menu-panel small { display: block; margin-top: 5px; color: var(--sf-muted); font-size: 11.5px; font-weight: 500; line-height: 1.38; }
.sf-menu-panel .sf-menu-feature { grid-column: 1; grid-row: 1 / span 2; justify-content: flex-end; padding: 19px !important; color: #fff !important; background: var(--sf-ink); }
.sf-menu-panel .sf-menu-feature:hover,
.sf-menu-panel .sf-menu-feature:focus-visible { border-color: #3e444b !important; background: #272b30; }
.sf-menu-panel .sf-menu-feature::after { top: 18px; right: 18px; color: #e7596e; }
.sf-menu-feature__eyebrow { position: absolute; top: 19px; left: 19px; color: #e7596e; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sf-menu-panel .sf-menu-feature strong { font-size: 16px; }
.sf-menu-panel .sf-menu-feature small { color: #bbc0c5; }
.sf-menu-panel--systems { width: 700px; grid-auto-rows: minmax(72px, auto); }
.sf-menu-panel--systems .sf-menu-feature { grid-row: 1 / span 3; }
.sf-menu-panel--systems > a:last-child { grid-column: 2 / 4; }
.sf-menu-panel--visit { right: 0; left: auto; width: 520px; grid-template-columns: .95fr 1.2fr; grid-auto-rows: minmax(82px, auto); transform: translateY(7px) scale(.985); transform-origin: 100% 0; }
.sf-menu-panel--visit::after { right: 38px; left: auto; transform: rotate(45deg); }
.sf-menu-panel--visit .sf-menu-feature { grid-row: 1 / span 2; }
.sf-menu-group.is-open .sf-menu-panel--visit { transform: translateY(0) scale(1); }

@media (max-width: 1320px) {
  .sf-header > div:first-child { gap: 18px !important; }
  .sf-header .sf-header__nav { gap: 14px !important; font-size: 14px !important; }
  .sf-header .sf-header__cta { padding-inline: 16px !important; font-size: 13px !important; }
}

@media (max-width: 1180px) {
  body.admin-bar .sf-header { top: 32px !important; }
  .sf-header .sf-header__nav,
  .sf-header .sf-header__cta { display: none !important; }
  .sf-header .sf-mobile-toggle { display: inline-grid; flex: 0 0 44px; }
  .sf-header.is-open { height: auto !important; }
  .sf-header.is-open > div:first-child { height: auto !important; min-height: 69px; flex-wrap: wrap; padding-bottom: 20px !important; }
  .sf-header.is-open .sf-header__nav {
    display: flex !important;
    width: 100%;
    flex: 1 0 100%;
    align-items: stretch;
    flex-direction: column;
    order: 3;
    gap: 0 !important;
    padding-top: 13px;
    white-space: normal;
  }
  .sf-header.is-open .sf-header__cta { display: block !important; width: 100%; flex: 1 0 100%; order: 4; margin-top: 12px; text-align: center; }
  .sf-menu-group { display: block; width: 100%; }
  .sf-menu-trigger,
  .sf-menu-link { width: 100%; min-height: 48px; justify-content: space-between; border-bottom: 1px solid var(--sf-line) !important; }
  .sf-menu-trigger::before,
  .sf-menu-link::before { display: none; }
  .sf-menu-trigger.is-current,
  .sf-menu-link[aria-current="page"] { color: var(--sf-red) !important; }
  .sf-menu-panel,
  .sf-menu-panel--visit {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    grid-auto-rows: auto;
    padding: 7px 0 8px 13px;
    border: 0;
    border-left: 2px solid var(--sf-red);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .sf-menu-group.is-open .sf-menu-panel { display: grid; transform: none; }
  .sf-menu-panel::before,
  .sf-menu-panel::after { display: none; }
  .sf-menu-panel .sf-menu-feature { grid-column: auto; grid-row: auto; min-height: 76px; justify-content: center; color: var(--sf-ink) !important; background: #f5f3ef; }
  .sf-menu-panel--systems > a:last-child { grid-column: auto; }
  .sf-menu-panel .sf-menu-feature small { color: var(--sf-muted); }
  .sf-menu-feature__eyebrow { position: static; margin-bottom: 5px; color: var(--sf-red); }
  .sf-menu-panel a { min-height: 64px; padding: 11px 38px 11px 14px !important; border-radius: 0; border-bottom: 1px solid #ebe8e4 !important; background: transparent; }
  .sf-menu-panel a::after { top: 50%; right: 14px; transform: translateY(-50%); }
  .sf-menu-panel a:hover::after,
  .sf-menu-panel a:focus-visible::after { transform: translate(2px, -50%); }
}

@media (max-width: 782px) {
  body.admin-bar .sf-header { top: 46px !important; }
}

/* Mobile experience — compact reading rhythm and swipeable media groups. */
@media (max-width: 820px) {
  html,
  body,
  .sf-page { max-width: 100%; overflow-x: clip; }

  .sf-context-links { padding: 34px 20px 38px; }
  .sf-context-links__heading { display: block; margin-bottom: 20px; }
  .sf-context-links__heading h2 { margin-top: 10px; font-size: 27px; }
  .sf-context-links__grid {
    display: flex;
    width: calc(100% + 20px);
    gap: 12px;
    overflow-x: auto;
    margin-right: -20px;
    padding: 1px 20px 10px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .sf-context-links__grid::-webkit-scrollbar { display: none; }
  .sf-context-links__grid a { width: min(78vw, 292px); min-height: 138px; flex: 0 0 min(78vw, 292px); scroll-snap-align: start; }
  .sf-system-service-links { align-items: stretch; }
  .sf-system-service-links > span { width: 100%; margin: 0 0 2px; }
  .sf-system-service-links a { flex: 1 1 calc(50% - 5px); justify-content: space-between; }

  /* Preserve substantial copy while removing desktop-sized empty space. */
  .sf-page [style*="padding: 130px"],
  .sf-page [style*="padding: 120px"],
  .sf-page [style*="padding: 110px"],
  .sf-page [style*="padding: 100px"],
  .sf-page [style*="padding: 96px"],
  .sf-page [style*="padding: 90px"],
  .sf-page [style*="padding: 88px"],
  .sf-page [style*="padding: 84px"],
  .sf-page [style*="padding: 80px"],
  .sf-page [style*="padding: 76px"],
  .sf-page [style*="padding: 70px"] { padding-top: 38px !important; padding-bottom: 38px !important; }
  .sf-page [style*="padding: 0px 40px 130px"],
  .sf-page [style*="padding: 0px 40px 120px"],
  .sf-page [style*="padding: 0px 40px 110px"],
  .sf-page [style*="padding: 0px 40px 100px"],
  .sf-page [style*="padding: 0px 40px 90px"],
  .sf-page [style*="padding: 0px 40px 80px"] { padding-right: 20px !important; padding-bottom: 38px !important; padding-left: 20px !important; }
  .sf-page [style*="margin-bottom: 52px"],
  .sf-page [style*="margin-bottom: 48px"],
  .sf-page [style*="margin-bottom: 44px"],
  .sf-page [style*="margin-bottom: 40px"] { margin-bottom: 26px !important; }
  .sf-page [style*="gap: 80px"],
  .sf-page [style*="gap: 72px"],
  .sf-page [style*="gap: 64px"],
  .sf-page [style*="gap: 60px"] { gap: 24px !important; }
  .sf-page [style*="inset: 30px -22px -22px 30px"] { display: none !important; }

  /* The full brief form remains on its dedicated page. The landing page keeps
     a concise hand-off CTA instead of repeating a second long mobile form. */
  .sf-home-mobile-start > :nth-child(2) { display: none !important; }
  .sf-home-mobile-start__button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 14px 22px;
    border-radius: 6px;
    color: var(--sf-ink);
    background: #fff;
    font-size: 14px;
    font-weight: 800;
  }

  /* Three or more visual cards stay discoverable without a 3–6 screen stack. */
  .sf-mobile-card-rail {
    display: flex !important;
    flex-direction: row !important;
    width: calc(100% + 20px) !important;
    max-width: none !important;
    grid-template-columns: none !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    margin-right: -20px;
    padding: 2px 20px 12px 0 !important;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .sf-mobile-card-rail::-webkit-scrollbar { display: none; }
  .sf-mobile-card-rail > * {
    width: min(80vw, 300px) !important;
    max-width: none !important;
    flex: 0 0 min(80vw, 300px) !important;
    grid-column: auto !important;
    scroll-snap-align: start;
  }

  /* Compact the legacy footer into two useful columns. */
  .sf-page:not(.sf-page--system) .sf-footer > div:first-child { padding-top: 38px !important; }
  .sf-page:not(.sf-page--system) .sf-footer [style*="padding-bottom: 50px"] { padding-bottom: 24px !important; margin-bottom: 24px !important; }
  .sf-page:not(.sf-page--system) .sf-footer [style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px 18px !important;
    padding-bottom: 28px !important;
  }
  .sf-page:not(.sf-page--system) .sf-footer [style*="padding: 26px 0px"] { padding: 18px 0 !important; }
  .sf-page:not(.sf-page--system) .sf-footer a { padding-top: 4px !important; padding-bottom: 4px !important; }

  /* District pages repeat the same chip pattern six times; retain the first
     two scan cues and let the paragraph carry the complete information. */
  .sf-page--districts [id] > div { padding-top: 34px !important; padding-bottom: 34px !important; gap: 20px !important; }
  .sf-page--districts [id] [style*="flex-wrap: wrap"][style*="margin-bottom: 28px"] { margin-bottom: 16px !important; }
  .sf-page--districts [id] [style*="flex-wrap: wrap"][style*="margin-bottom: 28px"] > span:nth-child(n+3) { display: none; }
  .sf-page--districts [id] [style*="height: 420px"] { height: 190px !important; }

  /* Interior-system pages use denser, purpose-built mobile components. */
  .sf-system-hero { gap: 26px; padding: 38px 0 54px; }
  .sf-breadcrumbs { margin-bottom: 22px; }
  .sf-system-hero h1 { margin-top: 18px; margin-bottom: 18px; font-size: clamp(30px, 8.5vw, 36px); }
  .sf-system-hero__copy > p { font-size: 16px; line-height: 1.58; }
  .sf-system-actions { margin-top: 24px; }
  .sf-system-hero__media { min-height: min(72vw, 285px); }
  .sf-system-catalog,
  .sf-system-scope,
  .sf-system-related { padding-top: 54px; padding-bottom: 58px; }
  .sf-section-heading { margin-bottom: 26px; }
  .sf-section-heading h2 { margin-top: 11px; font-size: clamp(27px, 7.5vw, 32px); }
  .sf-system-card { min-height: 390px; }
  .sf-system-card img { height: 190px; margin-bottom: 18px; }
  .sf-system-scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sf-system-scope__grid article { min-height: 0; padding: 18px 16px; }
  .sf-system-scope__grid h3 { margin: 28px 0 9px; font-size: 17px; }
  .sf-system-scope__grid p { font-size: 12.5px; line-height: 1.5; }
  .sf-system-feature figure { min-height: min(68vw, 265px); }
  .sf-system-feature > div { padding: 46px 20px 52px; }
  .sf-system-feature h2 { margin: 16px 0; font-size: clamp(27px, 7.5vw, 32px); }
  .sf-system-feature ul { margin-top: 22px; }
  .sf-system-feature li { padding-top: 11px; padding-bottom: 11px; }
  .sf-system-integration { padding: 56px 20px 60px; }
  .sf-system-integration__lead { margin-bottom: 32px; }
  .sf-system-integration__lead h2 { font-size: clamp(29px, 8vw, 35px); }
  .sf-system-integration__flow { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sf-system-integration__flow > div { min-height: 185px; padding: 20px 16px; border-bottom: 1px solid #45494f; }
  .sf-system-integration__flow > div:nth-child(2n) { border-right: 0; }
  .sf-system-integration__flow > div:nth-last-child(-n+2) { border-bottom: 0; }
  .sf-system-integration__flow strong { margin: 31px 0 8px; font-size: 17px; }
  .sf-system-related__grid a { min-height: 300px; padding: 24px; }
  .sf-system-cta { gap: 24px !important; padding: 56px 20px 60px; }
  .sf-system-cta h2 { font-size: clamp(29px, 8vw, 35px); }
  .sf-system-cta p { margin-bottom: 22px; }
  .sf-system-footer { padding: 42px 20px 20px; }
}

.sf-wh-scope-card {
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease;
}
.sf-wh-scope-card img { transition: transform .35s ease; }
.sf-wh-scope-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(31, 35, 40, .16);
}
.sf-wh-scope-card:hover img { transform: scale(1.035); }
.sf-wh-scope-card:focus-visible {
  outline: 3px solid var(--sf-red);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .sf-wh-scope-card,
  .sf-wh-scope-card img { transition: none; }
}

@media (max-width: 430px) {
  .sf-page--home .sf-territory__mobile { gap: 8px !important; }
  .sf-page--home .sf-territory__mobile a { padding: 12px !important; }
}

/* ==============================================================
   Mobile QA — 2026-09-18
   Shared refinements verified at 390px and 360px across the public
   sitemap. They preserve desktop layout and existing form behaviour.
   ============================================================== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 820px) {
  /* Keep identity, utility links and compact editorial CTAs easy to tap. */
  .sf-page .sf-header > div:first-child > a:first-child,
  .sf-system-brand {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
  .sf-page .scp7:not(.sf-submit) {
    display: inline-flex !important;
    min-height: 44px;
    align-items: center;
    padding-block: 10px !important;
  }
  .sf-page a.scp0 {
    display: inline-flex !important;
    min-height: 44px;
    align-items: center;
    padding-block: 6px !important;
  }
  .sf-breadcrumbs a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin-block: -12px;
  }

  /* iOS zooms focused controls below 16px; keep every mobile form stable. */
  .sf-page input:not([type="checkbox"]):not([type="radio"]),
  .sf-page select,
  .sf-page textarea {
    font-size: 16px !important;
  }
  .sf-page.sf-page--furniture-sourcing [style] :is(input, select, textarea) {
    width: 100%;
    min-height: 48px;
    font-size: 16px !important;
  }
  .sf-page--furniture-sourcing textarea { min-height: 112px; }

  /* The About proof points stay one deliberate row instead of wrapping. */
  .sf-page--about .sf-about-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .sf-page--about .sf-about-stats > div {
    min-width: 0;
    padding: 0 14px !important;
  }
  .sf-page--about .sf-about-stats > div:first-child {
    padding-left: 0 !important;
  }
  .sf-page--about .sf-about-stats > div:last-child {
    padding-right: 0 !important;
  }
  .sf-page--about .sf-about-stats > div > div:last-child {
    font-size: 11.5px !important;
    line-height: 1.35;
  }

  .sf-sticky-cta {
    min-height: 48px;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
  }
  body:has(.sf-page--furniture-sourcing) .sf-sticky-cta,
  body:has(.sf-page--start-your-project) .sf-sticky-cta {
    display: none !important;
  }
}

/* ==============================================================
   Mobile polish pass 2 — 2026-09-18
   The first pass removed layout failures. This pass improves real-phone
   reading, removes floating overlays, and tightens long-page interaction.
   ============================================================== */
@media (max-width: 820px) {
  html { scroll-padding-top: 82px; }
  body { overscroll-behavior-x: none; }

  .sf-page a,
  .sf-page button,
  .sf-page summary,
  .sf-page input,
  .sf-page select,
  .sf-page textarea { touch-action: manipulation; }

  /* Inline page actions and the mobile menu already keep the conversion path
     visible. Removing the floating pill prevents it covering imagery, tables,
     form fields and long-form copy while the user is reading. */
  .sf-sticky-cta { display: none !important; }

  /* Undo the old density rule for genuine body copy. Supporting metadata and
     labels keep their compact scale; paragraphs and list copy stay readable. */
  .sf-page :is(p, li)[style*="font-size: 16px"] {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .sf-system-card p,
  .sf-system-integration__flow p,
  .sf-system-related__grid p { font-size: 14px; line-height: 1.58; }
  .sf-system-scope__grid p { font-size: 13.5px; line-height: 1.55; }
  .sf-system-service-links a { min-height: 44px; touch-action: manipulation; }
}

@media (max-width: 430px) {
  .sf-context-links { padding-top: 30px; padding-bottom: 32px; }
  .sf-context-links__heading { margin-bottom: 16px; }
  .sf-system-catalog,
  .sf-system-scope,
  .sf-system-related { padding-top: 48px; padding-bottom: 50px; }
  .sf-system-integration { padding-top: 50px; padding-bottom: 52px; }
}

@media (max-width: 430px) {
  /* Matched, full-width primary/secondary choices scan better on phones. */
  .sf-page .sf-mobile-cta-pair {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch !important;
    gap: 10px !important;
  }
  .sf-page .sf-mobile-cta-pair > a {
    display: inline-flex !important;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 18px !important;
    text-align: center;
  }
}
