/* Roy Home Controls LLC - site design system (v7)
   Built from the approved Security Cameras preview. Poppins for headings, menu, buttons and big numbers; Roboto for body. */
:root {
  --x-mag: #A3004D; --x-mag-d: #7D003B; --x-coral: #F2654A; --x-orange: #FF9E5E;
  --x-navy: #0B1F3A; --x-navy2: #132C50; --x-ink: #1B2333; --x-muted: #5B6475; --x-light: #F6F4F7;
  --x-grad: linear-gradient(100deg, #A3004D 0%, #F2654A 100%) #A3004D;
  --x-grad-accent: linear-gradient(100deg, #A3004D 0%, #F2654A 55%, #FF9E5E 100%) #A3004D;
  --x-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --x-body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --x-max: 1200px; --x-pad: 32px; --x-gap: 16px; --x-r: 16px;
  --x-line: rgba(11, 31, 58, .08);
  --x-shadow: 0 10px 30px rgba(11, 31, 58, .10);
  --x-logo: 112px;
}

/* ---------- base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; background: #fff; color: var(--x-ink); font: 400 16px/1.6 var(--x-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-family: var(--x-head); letter-spacing: -.01em; text-wrap: balance; }
ul, ol { margin: 0; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--x-mag); outline-offset: 3px; border-radius: 6px; }
.x-skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--x-mag); padding: 10px 14px; border-radius: 10px; font: 600 14px/1 var(--x-head); }
.x-skip:focus { left: 8px; }
.x-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- layout + section rhythm ---------- */
.x-wrap { max-width: var(--x-max); margin: 0 auto; padding-inline: 24px; }
.x-sec { padding-block: var(--x-pad); }
.x-sec--light { background: var(--x-light); }
.x-sec:not(.x-sec--light):not(.x-navy) + .x-sec:not(.x-sec--light):not(.x-navy),
.x-sec--light + .x-sec--light, .x-navy + .x-navy { padding-top: 8px; }
.x-eyebrow { font: 700 12px/1.2 var(--x-head); letter-spacing: .14em; text-transform: uppercase; color: var(--x-mag); margin-bottom: 6px; display: flex; width: fit-content; align-items: center; gap: 8px; }
.x-eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--x-grad-accent); }
.x-h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 800; }
.x-h2 em, .x-h1 em { font-style: normal; background: var(--x-grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-lead { color: var(--x-muted); margin-top: 8px; max-width: 62ch; }
.x-sechead { display: flex; justify-content: space-between; align-items: end; gap: 16px 24px; margin-bottom: 20px; flex-wrap: wrap; }
.x-sechead--center { justify-content: center; text-align: center; }
.x-sechead--center .x-eyebrow { margin-inline: auto; }
.x-sechead--center .x-lead { margin-inline: auto; }
.x-note { color: var(--x-muted); font-size: 15px; text-align: center; margin-top: 16px; }
.x-note a { color: var(--x-mag); font-weight: 600; }

/* ---------- buttons ---------- */
.x-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font: 600 15px/1 var(--x-head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; white-space: nowrap; }
.x-btn:hover { transform: translateY(-2px); }
.x-btn--grad { background: var(--x-grad); color: #fff; box-shadow: 0 8px 20px rgba(163, 0, 77, .28); }
.x-btn--grad:hover { box-shadow: 0 12px 26px rgba(163, 0, 77, .38); }
.x-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(11, 31, 58, .35); }
.x-btn--ghost:hover { background: rgba(11, 31, 58, .55); }
.x-btn--line { border-color: var(--x-mag); color: var(--x-mag); background: #fff; }
.x-btn--line:hover { background: var(--x-mag); color: #fff; }
.x-btn--white { background: #fff; color: var(--x-mag-d); }
.x-btn svg { width: 18px; height: 18px; flex: none; }
.x-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- top bar + header ---------- */
.x-top { background: var(--x-navy); color: rgba(255, 255, 255, .82); font-size: 13px; }
.x-top .x-wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.x-top a { color: #fff; text-decoration: none; font-weight: 500; }
.x-top a:hover { color: var(--x-orange); }
.x-top span + span::before { content: "·"; margin: 0 10px; opacity: .5; }
.x-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--x-line); transition: box-shadow .25s; }
.x-header.is-stuck { box-shadow: 0 6px 24px rgba(11, 31, 58, .10); }
.x-header .x-wrap { position: relative; display: flex; align-items: center; gap: 12px; padding-block: 8px; }
/* the header row needs a little more room than the 1200px content width: logo 112px tall + 7 links + both buttons */
.x-header .x-wrap, .x-top .x-wrap { max-width: 1280px; }
.x-logo { flex: none; display: block; line-height: 0; }
/* Roy's logo is shown exactly as supplied: height set, width auto, never cropped or stretched */
.x-logo img { height: var(--x-logo); width: auto; max-width: none; object-fit: contain; }
.x-menu { display: flex; gap: 0; margin: 0 0 0 auto; padding: 0; list-style: none; flex: none; }
.x-menu > li { position: relative; }
.x-menu a { display: flex; align-items: center; gap: 4px; padding: 10px 12px; font: 600 17px/1 var(--x-head); text-transform: none; color: var(--x-ink); text-decoration: none; border-radius: 8px; position: relative; white-space: nowrap; }
.x-menu a:hover, .x-menu a[aria-current], .x-menu a.is-active { color: var(--x-mag); }
.x-menu > li > a[aria-current]::after, .x-menu > li > a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--x-grad-accent); }
.x-caret { width: 14px; height: 14px; transition: transform .2s; }
.x-dd:hover .x-caret, .x-dd:focus-within .x-caret { transform: rotate(180deg); }
.x-dd__tog { display: none; }
.x-dd__menu { list-style: none; margin: 0; position: absolute; top: 100%; left: -10px; min-width: 300px; background: #fff; border-radius: 16px; border: 1px solid var(--x-line); box-shadow: 0 20px 44px rgba(11, 31, 58, .16); padding: 8px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.x-dd__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.x-dd:hover .x-dd__menu, .x-dd:focus-within .x-dd__menu { opacity: 1; visibility: visible; transform: none; }
.x-dd__menu a { gap: 12px; padding: 8px 10px; font: 600 15px/1.2 var(--x-head); border-radius: 12px; }
.x-dd__menu a:hover, .x-dd__menu a[aria-current] { background: var(--x-light); color: var(--x-mag); }
.x-dd__menu a .x-ico { width: 36px; height: 36px; border-radius: 10px; }
.x-dd__menu a .x-ico svg { width: 20px; height: 20px; }
.x-dd__menu a:hover .x-ico, .x-dd__menu a[aria-current] .x-ico { background: var(--x-mag); color: #fff; }
.x-hbtns { display: flex; gap: 8px; flex: none; }
.x-hbtns .x-btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
.x-burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(11, 31, 58, .15); background: #fff; color: var(--x-ink); cursor: pointer; flex: none; }
.x-burger svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.x-hero { position: relative; min-height: 64vh; display: flex; align-items: center; color: #fff; isolation: isolate; padding-block: 48px 104px; background-color: var(--x-navy); overflow: hidden; }
.x-hero--sm { min-height: 0; padding-block: 44px 48px; }
.x-hero--stats { padding-bottom: 104px; }
.x-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.x-hero .x-slide { opacity: 0; transition: opacity 1.2s ease; }
.x-hero .x-slide.is-on { opacity: 1; }
.x-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(11, 31, 58, .94) 0%, rgba(11, 31, 58, .78) 45%, rgba(19, 44, 80, .35) 100%), linear-gradient(0deg, rgba(11, 31, 58, .6), transparent 40%); }
.x-hero > .x-wrap { width: 100%; }
.x-crumb { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 10px; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.x-crumb a { color: rgba(255, 255, 255, .75); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 4px; }
.x-crumb a:hover { color: #fff; }
.x-crumb b { color: var(--x-orange); font-weight: 500; }
.x-pill { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--x-head); padding: 9px 14px; border-radius: 999px; background: rgba(11, 31, 58, .55); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: 16px; }
.x-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--x-coral); box-shadow: 0 0 0 4px rgba(242, 101, 74, .25); }
.x-hero h1 { font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; font-weight: 800; max-width: 15ch; }
.x-hero--sm h1 { font-size: clamp(30px, 4.2vw, 46px); max-width: 22ch; }
.x-hero h1 em { font-style: normal; color: var(--x-orange); }
.x-hero__sub { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .86); max-width: 50ch; margin-top: 14px; }
.x-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.x-hero__trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; list-style: none; padding: 0; font: 500 14px/1.3 var(--x-body); color: rgba(255, 255, 255, .9); }
.x-hero__trust li { display: flex; align-items: center; gap: 8px; }
.x-hero__trust svg { width: 18px; height: 18px; color: var(--x-orange); flex: none; }

/* ---------- stat strip ---------- */
.x-stats { position: relative; z-index: 5; margin-top: -64px; }
.x-stats__card { background: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(11, 31, 58, .16); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.x-stat { padding: 20px 22px; display: flex; align-items: center; gap: 14px; }
.x-stat + .x-stat { border-left: 1px solid var(--x-line); }
.x-stat__fig { font: 800 30px/1 var(--x-head); color: var(--x-mag); white-space: nowrap; }
.x-stat__label { font: 500 14px/1.3 var(--x-body); color: var(--x-muted); }
.x-stats + .x-sec { padding-top: 28px; }
.x-stats--flat { margin-top: 0; }

/* ---------- icon chip + tiles (bento) ---------- */
.x-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(163, 0, 77, .09); color: var(--x-mag); flex: none; transition: background .25s, color .25s; }
.x-ico svg { width: 24px; height: 24px; stroke: currentColor; opacity: 1; visibility: visible; }
.x-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(140px, auto); gap: var(--x-gap); }
.x-tile { background: var(--x-light); border-radius: var(--x-r); padding: 20px; display: flex; flex-direction: column; gap: 10px; border: 1px solid rgba(11, 31, 58, .05); text-decoration: none; color: inherit; position: relative; }
.x-tile h3 { font-size: 16px; font-weight: 700; line-height: 1.3; }
.x-tile p { font-size: 14px; color: var(--x-muted); line-height: 1.5; }
.x-tile--wide { grid-column: span 2; }
.x-tile--full { grid-column: 1 / -1; }
.x-tile--big { grid-column: span 2; grid-row: span 2; padding: 0; overflow: hidden; color: #fff; min-height: 320px; justify-content: flex-end; background: var(--x-navy); }
.x-tile--big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.x-tile--big:hover img { transform: scale(1.04); }
.x-tile--big::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 31, 58, .95) 0%, rgba(11, 31, 58, .55) 45%, transparent 75%); }
.x-tile__copy { position: relative; z-index: 1; padding: 24px; }
.x-tile--big h3 { font-size: 22px; margin-bottom: 8px; }
.x-tile--big p { color: rgba(255, 255, 255, .88); font-size: 15px; max-width: 52ch; }
.x-tile--img { padding: 0; overflow: hidden; color: #fff; min-height: 150px; justify-content: flex-end; background: var(--x-navy); }
.x-tile--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.x-tile--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 31, 58, .92) 0%, rgba(11, 31, 58, .35) 55%, transparent 80%); }
.x-tile--img:hover img { transform: scale(1.05); }
.x-tile--img .x-tile__copy { padding: 16px 18px; }
.x-tile--img h3 { font-size: 16px; }
.x-tile--img p { color: rgba(255, 255, 255, .85); font-size: 13.5px; }
.x-tile__more { margin-top: auto; font: 600 14px/1 var(--x-head); color: var(--x-mag); display: inline-flex; align-items: center; gap: 6px; }
.x-tile__more::after { content: "→"; transition: transform .2s; }
.x-tile:hover .x-tile__more::after { transform: translateX(3px); }
.x-tile--big .x-tile__more { color: var(--x-orange); margin-top: 12px; }
.x-tile__row { display: flex; align-items: center; gap: 12px; }
.x-badge { display: inline-block; font: 700 12px/1 var(--x-head); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--x-grad); color: #fff; margin-bottom: 12px; }
.x-tag { display: inline-block; width: fit-content; font: 700 11px/1 var(--x-head); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: rgba(163, 0, 77, .09); color: var(--x-mag); }

/* shared hover: lift, light magenta border, chip turns magenta with a white icon */
.x-tile, .x-moment, .x-cert, .x-xfsvc, .x-card, .x-contact__item { transition: transform .25s, box-shadow .25s, background .25s, border-color .25s; }
.x-tile:hover, .x-moment:hover, .x-cert:hover, .x-xfsvc:hover, .x-contact__item:hover { transform: translateY(-3px); border-color: rgba(163, 0, 77, .28); box-shadow: var(--x-shadow); }
.x-tile:not(.x-tile--big):not(.x-tile--img):hover { background: #fff; }
.x-tile:hover .x-ico, .x-moment:hover .x-ico, .x-cert:hover .x-ico, .x-xfsvc:hover .x-ico, .x-contact__item:hover .x-ico { background: var(--x-mag); color: #fff; }
.x-tile:hover .x-ico svg, .x-moment:hover .x-ico svg, .x-cert:hover .x-ico svg, .x-xfsvc:hover .x-ico svg, .x-contact__item:hover .x-ico svg { stroke: #fff; opacity: 1; visibility: visible; }

/* ---------- navy band + tabs showcase ---------- */
.x-navy { background: radial-gradient(1000px 500px at 85% 0%, rgba(163, 0, 77, .28), transparent 60%), var(--x-navy); background-color: var(--x-navy); color: #fff; }
.x-navy .x-lead { color: rgba(255, 255, 255, .72); }
.x-navy .x-eyebrow { color: var(--x-orange); }
.x-show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.x-tabs { display: flex; flex-direction: column; gap: 10px; }
.x-tab { text-align: left; background: #10284A; border: 1px solid rgba(255, 255, 255, .1); color: #fff; border-radius: 14px; padding: 16px 18px; cursor: pointer; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; position: relative; overflow: hidden; transition: background .25s, border-color .25s; font: inherit; }
.x-tab:hover { background: #163257; }
.x-tab .x-ico { grid-row: span 2; background: #1C3A62; color: var(--x-orange); }
.x-tab__t { font: 700 17px/1.3 var(--x-head); align-self: center; }
.x-tab__d { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s; }
.x-tab__d > span { overflow: hidden; }
.x-tab[aria-selected="true"] { background: var(--x-navy2); border-color: rgba(255, 158, 94, .45); }
.x-tab[aria-selected="true"] .x-ico { background: var(--x-grad); color: #fff; }
.x-tab[aria-selected="true"] .x-tab__d { grid-template-rows: 1fr; }
.x-tab__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--x-grad-accent); }
.x-tab.is-timing .x-tab__bar { animation: x-bar 6s linear forwards; }
@keyframes x-bar { to { width: 100%; } }
.x-stage { position: relative; border-radius: 20px; overflow: hidden; background: var(--x-navy2); aspect-ratio: 16 / 10; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); }
.x-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.x-stage video.is-on { opacity: 1; }
.x-stage__tag { position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(11, 31, 58, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 600 13px/1 var(--x-head); padding: 9px 12px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.x-stage__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--x-coral); box-shadow: 0 0 0 4px rgba(242, 101, 74, .25); animation: x-pulse 1.6s infinite; }
@keyframes x-pulse { 50% { opacity: .35; } }

/* ---------- cards ---------- */
.x-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.x-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.x-card { background: #fff; border-radius: 20px; box-shadow: var(--x-shadow); overflow: hidden; display: flex; flex-direction: column; border: 1px solid rgba(11, 31, 58, .05); }
.x-card__media { aspect-ratio: 16 / 9; background: var(--x-navy); }
.x-card__media video, .x-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-card__body { padding: 20px 22px 22px; }
.x-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.x-card__body > p { font-size: 14.5px; color: var(--x-muted); }
.x-card__body > p + p { margin-top: 10px; }
.x-card__body .x-btns { margin-top: 16px; }
.x-checks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-checks li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; background: var(--x-light); border-radius: 12px; padding: 10px 12px; }
.x-checks li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--x-grad-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5-5 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5-5 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; margin-top: 1px; }
.x-checks--one { grid-template-columns: 1fr; }
.x-sec--light .x-checks li { background: #fff; }
.x-sec--light .x-card .x-checks li { background: var(--x-light); }

/* ---------- process ---------- */
.x-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.x-steps::before { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(163, 0, 77, .35) 0 8px, transparent 8px 14px); }
.x-step { position: relative; text-align: center; padding: 0 8px; }
.x-step__n { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--x-grad); color: #fff; font: 800 20px/1 var(--x-head); box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(163, 0, 77, .3); position: relative; }
.x-sec--light .x-step__n { box-shadow: 0 0 0 6px var(--x-light), 0 8px 20px rgba(163, 0, 77, .3); }
.x-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.x-step p { font-size: 14px; color: var(--x-muted); line-height: 1.5; }

/* timeline (about, navy) */
.x-timeline .x-steps::before { background: linear-gradient(90deg, rgba(163, 0, 77, .7), rgba(255, 158, 94, .7)); }
.x-timeline .x-step__n { box-shadow: 0 0 0 6px var(--x-navy), 0 8px 20px rgba(0, 0, 0, .3); }
.x-timeline .x-step__n svg { width: 24px; height: 24px; stroke: #fff; }
.x-timeline .x-step p { color: rgba(255, 255, 255, .72); }

/* ---------- moments + brands ---------- */
.x-moments { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; }
.x-moments--3 { grid-template-columns: repeat(3, 1fr); }
.x-moments--2w { grid-template-columns: 1fr 1fr; }
.x-moments--3 .x-brands, .x-moments--2w .x-brands { grid-column: 1 / -1; }
.x-moment { background: #fff; border-radius: var(--x-r); padding: 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--x-shadow); border: 1px solid rgba(11, 31, 58, .05); }
.x-moment h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.x-moment p { font-size: 14px; color: var(--x-muted); line-height: 1.5; }
.x-brands { background: #fff; border-radius: var(--x-r); padding: 18px 20px; box-shadow: var(--x-shadow); display: flex; flex-direction: column; justify-content: center; gap: 14px; border: 1px solid rgba(11, 31, 58, .05); }
.x-brands__label { font: 700 12px/1.2 var(--x-head); letter-spacing: .12em; text-transform: uppercase; color: var(--x-muted); }
.x-brands__row { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.x-moments:not(.x-moments--3):not(.x-moments--2w) .x-brands__row { justify-content: space-between; }
.x-brands__row img { height: 36px; width: auto; max-width: 120px; object-fit: contain; }
.x-brands__row img.is-badge { height: 48px; }
.x-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--x-light); border: 1px solid var(--x-line); font: 600 14px/1 var(--x-head); color: var(--x-navy); }
.x-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.x-sec--light .x-chip { background: #fff; }

/* ---------- brand marquee ---------- */
.x-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.x-marquee__track { display: flex; align-items: center; gap: 0; width: max-content; padding: 8px 0; animation: x-mq 60s linear infinite; }
.x-marquee:hover .x-marquee__track { animation-play-state: paused; }
.x-marquee__item { display: flex; align-items: center; justify-content: center; height: 56px; flex: none; margin-right: 56px; }
.x-marquee__item img { height: 40px; width: auto; max-width: 160px; object-fit: contain; transition: transform .25s; }
.x-marquee__item:hover img { transform: scale(1.08); }
@keyframes x-mq { to { transform: translateX(-50%); } }
.x-logos { background: #fff; border-radius: 20px; box-shadow: var(--x-shadow); border: 1px solid rgba(11, 31, 58, .05); padding: 12px 0; }

/* ---------- FAQ + quote card ---------- */
.x-fq { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; align-items: start; }
.x-faq { display: grid; gap: 10px; margin-top: 16px; }
.x-faq--wide { margin-top: 0; }
.x-faq details { background: var(--x-light); border-radius: 14px; border: 1px solid rgba(11, 31, 58, .06); transition: background .2s, box-shadow .2s; }
.x-sec--light .x-faq details { background: #fff; }
.x-faq details[open] { background: #fff; box-shadow: var(--x-shadow); }
.x-faq summary { list-style: none; cursor: pointer; padding: 14px 18px; min-height: 44px; font: 600 16px/1.35 var(--x-head); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.x-faq summary::-webkit-details-marker { display: none; }
.x-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(163, 0, 77, .09); color: var(--x-mag); font: 600 18px/1 var(--x-head); transition: transform .25s; }
.x-faq details[open] summary::after { transform: rotate(45deg); background: var(--x-grad); color: #fff; }
.x-faq details p { padding: 0 18px 16px; color: var(--x-muted); font-size: 15px; }
.x-faq details a { color: var(--x-mag); font-weight: 600; }
.x-quote { background: var(--x-navy); color: #fff; border-radius: 20px; padding: 24px; box-shadow: 0 20px 50px rgba(11, 31, 58, .25); position: relative; overflow: hidden; scroll-margin-top: 140px; }
.x-quote::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--x-grad-accent); }
.x-quote h3 { font-size: 22px; font-weight: 800; }
.x-roy { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; padding: 10px; border-radius: 14px; background: #17304F; }
.x-roy img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid var(--x-orange); flex: none; }
.x-roy p { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.x-roy a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.x-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-form label { display: grid; gap: 4px; font: 500 12px/1.2 var(--x-body); color: rgba(255, 255, 255, .7); }
.x-form .x-full { grid-column: 1 / -1; }
.x-form input, .x-form textarea, .x-form select { width: 100%; font: 400 15px/1.4 var(--x-body); color: #fff; background-color: #142B4B; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; padding: 11px 12px; min-height: 44px; outline: none; transition: border-color .2s, background .2s; }
.x-form select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9E5E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; }
.x-form select option { color: var(--x-ink); background: #fff; }
.x-form input::placeholder, .x-form textarea::placeholder { color: rgba(255, 255, 255, .45); }
.x-form textarea { resize: vertical; min-height: 84px; }
.x-form input:focus, .x-form textarea:focus, .x-form select:focus { border-color: var(--x-orange); background-color: #1A3458; }
.x-form .x-btn { width: 100%; }
.x-form .x-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.x-form__fine { font-size: 12px; color: rgba(255, 255, 255, .6); text-align: center; }

/* ---------- gradient CTA + footer ---------- */
.x-cta { background: var(--x-grad); color: #fff; }
.x-cta .x-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; flex-wrap: wrap; }
.x-cta h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.15; }
.x-cta p { color: rgba(255, 255, 255, .92); margin-top: 4px; }
.x-foot { background: var(--x-navy); color: rgba(255, 255, 255, .75); font-size: 14px; }
.x-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 20px; padding-block: 28px 16px; }
.x-foot__logo { height: 104px; width: auto; max-width: none; object-fit: contain; margin-bottom: 12px; }
.x-foot__tag { color: #fff; font-weight: 500; margin-top: 8px; }
.x-foot h3 { font: 700 13px/1.2 var(--x-head); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.x-foot h3 + ul + h3 { margin-top: 14px; }
.x-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.x-foot li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 32px; }
.x-foot li a { display: inline-flex; align-items: center; min-height: 40px; }
.x-foot a { color: #fff; text-decoration: none; }
.x-foot a:hover { color: var(--x-orange); }
.x-foot__base { border-top: 1px solid rgba(255, 255, 255, .1); }
.x-foot__base .x-wrap { display: flex; justify-content: space-between; gap: 12px; padding-block: 12px; font-size: 13px; flex-wrap: wrap; }

/* ---------- ring band + lightboxes ---------- */
.x-ring { background: #fff; border-radius: 20px; box-shadow: var(--x-shadow); border: 1px solid rgba(11, 31, 58, .05); padding: 16px; display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 16px; align-items: center; }
.x-ring__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--x-r); overflow: hidden; background: var(--x-navy); }
.x-ring__media > video, .x-ring__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.x-ring__media--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 31, 58, .45), transparent 50%); pointer-events: none; }
.x-ring__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--x-grad); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 8px rgba(255, 255, 255, .25), 0 10px 24px rgba(0, 0, 0, .3); transition: transform .2s; }
.x-ring__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.x-ring__play svg { width: 26px; height: 26px; margin-left: 3px; }
.x-ring__pill { position: absolute; left: 12px; bottom: 12px; z-index: 2; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: rgba(11, 31, 58, .82); color: #fff; font: 600 13px/1 var(--x-head); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.x-ring__pill:hover { background: var(--x-navy); }
.x-ring__pill svg { width: 14px; height: 14px; }
.x-ring__logo { height: 34px; width: auto; max-width: 140px; object-fit: contain; display: block; margin-bottom: 16px; }
.x-ring__copy { padding: 4px 8px 4px 0; }
.x-ring__copy .x-h2 { margin-bottom: 20px; }
.x-ring__copy > p { color: var(--x-muted); font-size: 15px; }
.x-ring__copy > p + p { margin-top: 10px; }
.x-ring .x-checks { margin-top: 16px; gap: 8px; }
.x-ring .x-checks li { padding: 8px 10px; font-size: 13.5px; background: var(--x-light); }
.x-ring .x-btn, .x-ring .x-btns { margin-top: 16px; }
.x-ring .x-btns .x-btn { margin-top: 0; }
.x-ring .x-btn { min-height: 44px; padding: 0 18px; font-size: 14px; }
.x-ring .x-chips { margin-top: 16px; }
.x-lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(11, 31, 58, .86); }
.x-lb.is-open { display: flex; }
.x-lb__box { position: relative; width: min(960px, 100%); }
.x-lb__box video { width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: var(--x-r); background: #000; }
.x-lb__box img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: var(--x-r); }
.x-lb__x { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--x-navy); display: grid; place-items: center; cursor: pointer; }
.x-lb__x svg { width: 20px; height: 20px; }

/* ---------- Xfinity showcase ---------- */
.x-xf { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 24px; align-items: center; }
.x-xf__h { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; color: var(--x-navy); }
.x-xf__h em { font-style: normal; background: var(--x-grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-xf__sub { font-size: 17px; color: var(--x-ink); margin: 12px 0 20px; max-width: 560px; }
.x-xf__sub b { color: var(--x-mag); }
.x-xf__svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.x-xfsvc { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid rgba(11, 31, 58, .06); border-radius: 14px; padding: 12px 14px; }
.x-sec:not(.x-sec--light) .x-xfsvc { background: var(--x-light); }
.x-xfsvc:last-child:nth-child(odd) { grid-column: 1 / -1; }
.x-xfsvc .x-ico { width: 40px; height: 40px; border-radius: 12px; }
.x-xfsvc .x-ico svg { width: 20px; height: 20px; }
.x-xfsvc b { display: block; font: 700 15px/1.25 var(--x-head); color: var(--x-navy); }
.x-xfsvc span:not(.x-ico) { display: block; color: var(--x-muted); font-size: 13.5px; line-height: 1.35; margin-top: 3px; }
.x-xf__perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; padding: 12px 18px; border-radius: 14px; background: var(--x-navy); }
.x-xf__perks span { display: flex; align-items: center; gap: 8px; color: #fff; font: 600 14px/1.2 var(--x-head); }
.x-xf__perks svg { width: 20px; height: 20px; stroke: var(--x-orange); }
.x-xf__btns { margin-top: 16px; }
.x-xfvis { position: relative; aspect-ratio: 1 / 1.02; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #132C50 0%, #0B1F3A 60%); box-shadow: var(--x-shadow); }
.x-xfvis__glow { position: absolute; inset: auto -20% -30% auto; width: 80%; height: 70%; background: radial-gradient(circle, rgba(163, 0, 77, .55), rgba(255, 158, 94, .15) 50%, transparent 70%); }
.x-xfvis__wifi { position: absolute; left: 7%; top: 7%; width: 22%; }
.x-xfvis__wifi svg { width: 100%; height: auto; stroke: var(--x-orange); stroke-width: 2.2; }
.x-xfvis__roy { position: absolute; right: 6%; top: 6%; width: 58%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .9); }
.x-xfvis__roy img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.x-xfvis__name { position: absolute; left: 6%; top: 44%; background: var(--x-grad); color: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); max-width: 52%; }
.x-xfvis__name b { display: block; font: italic 800 clamp(17px, 2vw, 23px)/1.1 var(--x-head); }
.x-xfvis__name span { display: block; font-size: clamp(11.5px, 1.2vw, 13.5px); line-height: 1.35; margin-top: 4px; opacity: .95; }
.x-xfvis__van { position: absolute; left: 6%; right: 6%; bottom: 5%; height: 34%; border-radius: 16px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 18px 36px rgba(0, 0, 0, .35); }
.x-xfvis__van img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.x-xfbadges { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid rgba(11, 31, 58, .06); border-radius: 16px; padding: 12px 16px; margin-top: 16px; box-shadow: var(--x-shadow); }
.x-xfbadges img { height: 54px; width: auto; flex: none; }
.x-xfbadges img.is-cc { height: 44px; }
.x-xfbadges__txt { flex: 1; border-right: 1px solid var(--x-line); padding-right: 14px; }
.x-xfbadges__txt b { display: block; font: 700 13.5px/1.3 var(--x-head); color: var(--x-navy); }
.x-xfbadges__txt span { display: block; font-size: 12.5px; color: var(--x-muted); margin-top: 3px; }

/* ---------- about ---------- */
.x-owner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px; align-items: stretch; }
.x-portrait { position: relative; border-radius: 20px; overflow: hidden; background: var(--x-navy); box-shadow: var(--x-shadow); min-height: 380px; }
.x-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.x-portrait__badge { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--x-shadow); display: flex; align-items: center; gap: 10px; }
.x-portrait__badge b { font: 800 26px/1 var(--x-head); color: var(--x-mag); }
.x-portrait__badge span { font-size: 13px; line-height: 1.25; color: var(--x-muted); }
.x-owner .x-card__body { padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.x-owner .x-card__body > p { font-size: 15.5px; color: var(--x-ink); }
.x-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.x-grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.x-cert { background: var(--x-light); border: 1px solid rgba(11, 31, 58, .05); border-radius: var(--x-r); padding: 20px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.x-sec--light .x-cert { background: #fff; }
.x-cert b { font: 700 15px/1.3 var(--x-head); color: var(--x-navy); }
.x-cert span:not(.x-ico) { color: var(--x-muted); font-size: 13.5px; line-height: 1.45; }

/* ---------- contact ---------- */
.x-contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 16px; align-items: start; }
.x-contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.x-contact__item { display: flex; gap: 12px; align-items: center; background: var(--x-light); border: 1px solid rgba(11, 31, 58, .05); border-radius: 14px; padding: 14px; text-decoration: none; color: inherit; }
.x-contact__item small { display: block; font-size: 12px; color: var(--x-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.x-contact__item b { display: block; font: 600 15px/1.3 var(--x-head); color: var(--x-navy); word-break: break-word; }
.x-contact__area { margin-top: 16px; }
.x-contact__area h3 { font-size: 16px; margin-bottom: 10px; }

/* ---------- projects gallery ---------- */
.x-filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.x-filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--x-line); background: #fff; font: 600 14px/1 var(--x-head); color: var(--x-navy); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.x-filters button:hover { border-color: rgba(163, 0, 77, .35); color: var(--x-mag); }
.x-filters button.is-on { background: var(--x-mag); color: #fff; border-color: var(--x-mag); }
.x-gallery { columns: 3; column-gap: 16px; }
.x-gallery a { display: block; margin-bottom: 16px; border-radius: var(--x-r); overflow: hidden; position: relative; break-inside: avoid; box-shadow: var(--x-shadow); }
.x-gallery img { width: 100%; transition: transform .5s; }
.x-gallery a:hover img { transform: scale(1.04); }
.x-gallery span { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 31, 58, .82); color: #fff; font: 600 13px/1 var(--x-head); padding: 8px 12px; border-radius: 999px; }

/* ---------- prose (privacy) + simple pages ---------- */
.x-prose { max-width: 820px; }
.x-prose h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-bottom: 4px; }
.x-prose h3 { font-size: 18px; font-weight: 700; margin: 20px 0 6px; }
.x-prose p { color: var(--x-ink); }
.x-prose p + p { margin-top: 10px; }
.x-prose a { color: var(--x-mag); font-weight: 600; }
.x-center { text-align: center; }
.x-center .x-btns { justify-content: center; }
.x-panel { background: #fff; border-radius: 20px; box-shadow: var(--x-shadow); border: 1px solid rgba(11, 31, 58, .05); padding: 24px; }
.x-panel--navy { background: var(--x-navy); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; overflow: hidden; }
.x-panel--navy::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--x-grad-accent); }
.x-panel--navy p { color: rgba(255, 255, 255, .78); margin-top: 4px; }
.x-panel--navy h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.x-big-lead { font-size: 18px; color: var(--x-muted); }
.x-big-lead a { color: var(--x-mag); font-weight: 700; }

/* ---------- mobile sticky bar ---------- */
.x-mbar { display: none; }

/* ---------- reveal ---------- */
.js .x-rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, box-shadow .25s, border-color .25s, background .25s; }
.js .x-rv.is-in { opacity: 1; transform: none; }
.js .x-rv.is-in.x-tile:hover, .js .x-rv.is-in.x-moment:hover, .js .x-rv.is-in.x-cert:hover, .js .x-rv.is-in.x-xfsvc:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .x-rv { opacity: 1; transform: none; transition: none; }
  .x-tab.is-timing .x-tab__bar, .x-stage__tag::before, .x-marquee__track { animation: none; }
  .x-stage video, .x-hero .x-slide { transition: none; }
}

/* ---------- responsive ---------- */
@media (min-width: 1081px) and (max-width: 1260px) {
  .x-hbtns .x-btn--line { display: none; } /* phone stays in the top bar */
}
@media (max-width: 1080px) {
  .x-menu { display: none; }
  .x-burger { display: grid; place-items: center; margin-left: 0; }
  .x-hbtns { margin-left: auto; }
  .x-menu.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 8px 16px 16px; box-shadow: 0 16px 30px rgba(11, 31, 58, .12); max-height: calc(100vh - 120px); overflow-y: auto; }
  .x-menu.is-open > li > a { padding: 14px 12px; font-size: 17px; }
  .x-menu > li > a[aria-current]::after, .x-menu > li > a.is-active::after { left: 12px; right: auto; width: 28px; bottom: 6px; }
  .x-menu .x-caret { display: none; }
  .x-dd__tog { display: grid; place-items: center; position: absolute; right: 0; top: 0; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--x-light); color: var(--x-mag); cursor: pointer; }
  .x-dd__tog svg { width: 18px; height: 18px; transition: transform .2s; }
  .x-dd.is-open .x-dd__tog svg { transform: rotate(180deg); }
  .x-dd__menu { position: static; min-width: 0; box-shadow: none; border: 0; padding: 0 0 6px 8px; opacity: 1; visibility: visible; transform: none; display: none; }
  .x-dd__menu::before { display: none; }
  .x-dd.is-open .x-dd__menu { display: grid; }
  .x-bento { grid-template-columns: repeat(2, 1fr); }
  .x-moments { grid-template-columns: 1fr 1fr; }
  .x-moments--3 { grid-template-columns: 1fr 1fr 1fr; }
  .x-brands { grid-column: 1 / -1; }
  .x-grid5 { grid-template-columns: repeat(6, 1fr); }
  .x-grid5 > * { grid-column: span 2; }
  .x-grid5 > :nth-child(4) { grid-column: 1 / span 3; }
  .x-grid5 > :nth-child(5) { grid-column: 4 / span 3; }
  .x-xf { grid-template-columns: 1fr; }
  .x-xf__vis { max-width: 560px; width: 100%; margin-inline: auto; }
  .x-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  :root { --x-logo: 86px; }
}
@media (max-width: 860px) {
  :root { --x-pad: 24px; }
  html { scroll-padding-top: 110px; }
  .x-stats + .x-sec { padding-top: 24px; }
  .x-stats__card { grid-template-columns: 1fr 1fr; }
  .x-stat:nth-child(3) { border-left: 0; }
  .x-stat:nth-child(n+3) { border-top: 1px solid var(--x-line); }
  .x-show, .x-two, .x-fq, .x-ring, .x-owner, .x-contact { grid-template-columns: 1fr; }
  .x-three { grid-template-columns: 1fr 1fr; }
  .x-three > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .x-stage { order: -1; }
  .x-steps { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .x-steps::before { display: none; }
  .x-grid3 { grid-template-columns: 1fr 1fr 1fr; }
  .x-gallery { columns: 2; }
  .x-portrait { min-height: 0; aspect-ratio: 4 / 5; max-height: 520px; }
  .x-cta .x-wrap { padding-block: 24px; }
  .x-foot__grid { padding-block: 24px 12px; }
  .x-quote { scroll-margin-top: 110px; }
}
@media (max-width: 640px) {
  .x-wrap { padding-inline: 16px; }
  .x-top { display: none; }
  .x-header .x-wrap { gap: 10px; }
  .x-hbtns { display: none; }
  .x-burger { margin-left: auto; }
  .x-hero { min-height: 0; padding-block: 36px 92px; }
  .x-hero--sm { padding-block: 32px 36px; }
  .x-stat { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .x-stat__fig { font-size: 24px; }
  .x-bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .x-tile--big { grid-column: 1 / -1; grid-row: auto; min-height: 300px; }
  .x-tile { padding: 16px; }
  .x-checks, .x-moments, .x-moments--3, .x-form, .x-xf__svcs, .x-contact__list, .x-grid3, .x-three { grid-template-columns: 1fr; }
  .x-ring .x-checks { grid-template-columns: 1fr 1fr; }
  .x-grid5 { grid-template-columns: 1fr 1fr; }
  .x-grid5 > *, .x-grid5 > :nth-child(4) { grid-column: auto; }
  .x-grid5 > :nth-child(5) { grid-column: 1 / -1; }
  .x-steps { grid-template-columns: 1fr; }
  .x-step { display: grid; grid-template-columns: 54px 1fr; gap: 0 14px; text-align: left; padding: 0; }
  .x-step__n { grid-row: span 2; margin: 0; }
  .x-gallery { columns: 1; }
  .x-xfbadges { flex-wrap: wrap; justify-content: center; }
  .x-xfbadges__txt { flex-basis: 100%; border: 0; padding: 0; text-align: center; }
  .x-xfbadges img { height: 46px; }
  .x-marquee__item { margin-right: 40px; }
  .x-marquee__item img { height: 32px; max-width: 120px; }
  .x-foot__grid { grid-template-columns: 1fr; }
  .x-ring__play { width: 56px; height: 56px; }
  .x-lb { padding: 16px; }
  .x-mbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--x-navy); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -8px 24px rgba(0, 0, 0, .2); }
  .x-mbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 12px; color: #fff; text-decoration: none; font: 600 14px/1 var(--x-head); background: #1C3456; }
  .x-mbar a:last-child { background: var(--x-grad); }
  .x-mbar svg { width: 18px; height: 18px; }
  body { padding-bottom: 72px; }
}
@media (max-width: 600px) {
  :root { --x-logo: 70px; }
}
/* v8: town chips as links */
a.x-chip { text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
a.x-chip:hover, a.x-chip:focus-visible { background: var(--x-navy); border-color: var(--x-navy); color: #fff; }
.x-foot__base a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* v9: whole-home audio */
.x-banner { margin: 0 0 16px; border-radius: 20px; overflow: hidden; box-shadow: var(--x-shadow); background: #c99a74; }
.x-banner img { display: block; width: 100%; aspect-ratio: 1920 / 700; object-fit: cover; }
.x-lineup { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.x-ring--rev .x-ring__media { order: 2; }
.x-ring--rev { grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); }
@media (max-width: 1024px) { .x-lineup { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .x-lineup { grid-template-columns: 1fr 1fr; } .x-lineup > :last-child { grid-column: 1 / -1; } .x-banner img { aspect-ratio: 16 / 9; } }
@media (max-width: 860px) { .x-ring--rev { grid-template-columns: 1fr; } .x-ring--rev .x-ring__media { order: 0; } }
