/* Ace of Spades (D584): the high-end portfolio template. Loaded after site.css only on sites whose theme_json.template is "ace",
   and every rule sits under [data-template="ace"]. Same pages, blocks, and order as Jack; only the look changes: Outfit in thin
   capitals, ivory sections alternating with black ones, square corners, and full-bleed photo bands with a dark side panel.
   Spec: design/claude-design-ace/design_handoff_ace_luxury_template/README.md. Colors and fonts come in through the theme
   (lib/template.ts); the values below are the ones the theme has no key for. */
/* Ace's two colors and their near neighbors (D591). Ivory and Black is the default; a finish on <html data-finish> swaps them. */
[data-template="ace"]{--ace-i:#F2F1EF;--ace-k:#111111;--ace-d:#0B0B0B;--ace-k2:#161616;--ace-l:#2A2A2A;--ace-f:#444444;--ace-f2:#3A3A3A}
[data-template="ace"][data-finish="stone"]{--ace-i:#EAE4DA;--ace-k:#2A241F;--ace-d:#1F1A16;--ace-k2:#332C26;--ace-l:#40372F;--ace-f:#5A5047;--ace-f2:#4A4139}
[data-template="ace"][data-finish="midnight"]{--ace-k:#0F1B2D;--ace-d:#0A1322;--ace-k2:#15233A;--ace-l:#22324C;--ace-f:#3A4A66;--ace-f2:#2E3D57}
[data-template="ace"]{
  --c-ink-3:#6B6B6B;--c-line-strong:var(--ace-k);--c-field-edge:#BDBBB7;
  --c-alt-bg:var(--ace-k);--c-alt-ink:var(--ace-i);--c-alt-ink-2:#CFCFCF;--c-alt-ink-3:#9D9D9D;--c-alt-line:var(--ace-l);--c-alt-field:var(--ace-f);--c-alt-live:#7FD3A8;
  --c-panel:color-mix(in srgb,var(--ace-k) 86%,transparent);--c-histo-off:#C9C6C1;
  --r-chip:0;--r-media:0;--r-control:0;--r-panel:0;--r-sheet:0;
  --t-hero:clamp(46px,6.7vw,96px);--t-display:clamp(30px,3.9vw,56px);--t-h2:clamp(28px,3.2vw,48px);--t-price-lg:clamp(28px,2.4vw,32px);--t-stat:clamp(28px,3vw,44px);
  --ace-gutter:20px;--ace-pad:60px;
}
@media (min-width:768px){[data-template="ace"]{--ace-gutter:40px;--ace-pad:88px}}
@media (min-width:1200px){[data-template="ace"]{--ace-gutter:64px;--ace-pad:120px}}

/* Type: every heading in thin capitals; body light and roomy. */
[data-template="ace"] body{font-weight:300;font-size:16px;line-height:1.75}
[data-template="ace"] h1,[data-template="ace"] h2,[data-template="ace"] h3,[data-template="ace"] .t-hero,[data-template="ace"] .t-display,[data-template="ace"] .t-h2{text-transform:uppercase;letter-spacing:.02em;font-weight:200}
[data-template="ace"] .t-display,[data-template="ace"] section.block h2{font-size:var(--t-display);line-height:1.05}
[data-template="ace"] .t-h2,[data-template="ace"] h2{font-size:var(--t-h2);line-height:1.08;letter-spacing:.03em}
[data-template="ace"] h3,[data-template="ace"] .t-h3{font-weight:300;letter-spacing:.04em}
[data-template="ace"] b,[data-template="ace"] strong{font-weight:400}
[data-template="ace"] .eyebrow{font-family:var(--font-body);font-size:12px;font-weight:400;letter-spacing:.4em;color:var(--c-ink-3);gap:0}
[data-template="ace"] .eyebrow::before{display:none}
[data-template="ace"] .answer{font-size:17px;line-height:1.8;color:var(--c-ink-2)}
@media (max-width:767px){[data-template="ace"] .eyebrow{font-size:11px;letter-spacing:.36em}}

/* Section index ("01 · Communities"): counted per page over the plain and black sections, never the hero, photo bands, or Let's talk. */
[data-template="ace"] main{counter-reset:ace}
[data-template="ace"] section.block:not(.photo-band) .wrap>.eyebrow:first-child,
[data-template="ace"] section.block:not(.photo-band) .sec-head .eyebrow,
[data-template="ace"] section.block:not(.photo-band) .rev-head .eyebrow,
[data-template="ace"] section.block:not(.photo-band) .hci-head .eyebrow{counter-increment:ace}
[data-template="ace"] section.block:not(.photo-band) .wrap>.eyebrow:first-child::before,
[data-template="ace"] section.block:not(.photo-band) .sec-head .eyebrow::before,
[data-template="ace"] section.block:not(.photo-band) .rev-head .eyebrow::before,
[data-template="ace"] section.block:not(.photo-band) .hci-head .eyebrow::before{display:inline;content:counter(ace,decimal-leading-zero) "\00a0\00b7\00a0";width:auto;height:auto;background:none}

/* Shell: wider gutters, taller sections, the page column runs to 1440. */
[data-template="ace"] .wrap{max-width:1440px;padding-inline:var(--ace-gutter)}
[data-template="ace"] section.block{padding-block:var(--ace-pad)}
[data-template="ace"] section.block .eyebrow{margin-bottom:20px}
[data-template="ace"] section.block h2{margin-bottom:28px}
[data-template="ace"] .sec-head{margin-bottom:48px}

/* Black sections: .block.alt is black in Ace, and the inks, lines, and fields inside it swap. */
[data-template="ace"] section.block.alt,[data-template="ace"] section.block.tint.alt{background:var(--c-alt-bg);--c-ink:var(--c-alt-ink);--c-ink-2:var(--c-alt-ink-2);--c-ink-3:var(--c-alt-ink-3);--c-line:var(--c-alt-line);--c-line-strong:var(--c-alt-ink);--c-field-edge:var(--c-alt-field);--c-link:var(--c-alt-ink);--c-brand:var(--c-alt-ink);--c-brand-ink:var(--ace-k);--c-cta:var(--c-alt-ink);--c-cta-ink:var(--ace-k);--c-surface:var(--ace-k2);--c-muted:var(--ace-k2);--c-live:var(--c-alt-live);color:var(--c-ink)}
[data-template="ace"] section.block.tint{background:var(--c-bg)}

/* Buttons: square, 12px caps at .3em, outline by default; opacity on hover. */
[data-template="ace"] .btn{font-family:var(--font-body);font-size:12px;font-weight:400;letter-spacing:.3em;border-radius:0;padding:0 32px;min-height:56px;transition:opacity 140ms var(--ease)}
[data-template="ace"] .btn:hover{opacity:.8;filter:none}
[data-template="ace"] .btn.solid,[data-template="ace"] .btn.cta{font-weight:500;background:var(--c-ink);color:var(--ace-solid-ink,#fff);border-color:var(--c-ink)}
/* Every dark ground (black sections, photo bands, panels, the sign-up ad) flips the inks, so a solid button there is ivory with black text. */
[data-template="ace"] section.block.alt,[data-template="ace"] .photo-band,[data-template="ace"] .hero,[data-template="ace"] .hsell,[data-template="ace"] .join-ad,[data-template="ace"] .lband-panel{--ace-solid-ink:var(--ace-k)}
/* The compare table's own column: the light tint would hide the light ink on a black section, so it gets a faint lift instead. */
[data-template="ace"] section.block.alt .ctable .me{background:color-mix(in srgb,var(--c-alt-ink) 9%,var(--c-alt-bg))}
[data-template="ace"] .join-ad{background:var(--ace-k);--c-ink:var(--ace-i);--c-ink-2:#CFCFCF;--c-line:var(--ace-l);--c-link:var(--ace-i)}
[data-template="ace"] .join-ad .eyebrow{color:#9D9D9D}
[data-template="ace"] .btn.outline{border-color:var(--c-ink);color:var(--c-ink)}
[data-template="ace"] .btn.outline:hover{border-color:var(--c-ink)}
[data-template="ace"] .btn.outline.on-dark{border-color:#fff;color:#fff}
@media (min-width:1200px){[data-template="ace"] .btn{min-height:60px}}

/* Header: the same chrome on every page (D53); thin caps, a hairline under it over the hero, the phone as an outline. */
[data-template="ace"] .site-header{border-bottom:1px solid rgba(255,255,255,.18)}
[data-template="ace"] .site-header .logo{font-family:var(--font-body);font-weight:300;font-size:20px;letter-spacing:.42em;text-transform:uppercase}
[data-template="ace"] .site-header nav.main>a,[data-template="ace"] .site-header .dd-btn,[data-template="ace"] .site-header .signin{font-family:var(--font-body);font-size:12px;font-weight:400;letter-spacing:.28em;text-transform:uppercase}
[data-template="ace"] .site-header .menu{font-size:12px;letter-spacing:.28em;text-transform:uppercase;font-weight:400}
[data-template="ace"] .site-header.compact{background:var(--c-bg);border-bottom:1px solid var(--c-line);box-shadow:none}
@media (min-width:1200px){
  [data-template="ace"] .site-header{height:96px}
  [data-template="ace"] .site-header .wrap{max-width:none;padding-inline:var(--ace-gutter)}
  [data-template="ace"] .site-header nav.main{gap:34px}
  [data-template="ace"] .site-header nav.main>a,[data-template="ace"] .site-header .dd-btn,[data-template="ace"] .site-header .signin{font-size:12px}
  [data-template="ace"] .site-header .phone{background:transparent;color:inherit;border:1px solid currentColor;border-radius:0;font-family:var(--font-body);font-weight:400;font-size:12px;letter-spacing:.2em;padding:0 22px}
  [data-template="ace"] body.has-hero .site-header .phone,[data-template="ace"] body.has-hero .site-header .phone:hover{background:transparent;color:#fff;border-color:#fff}
  [data-template="ace"] body.has-hero .site-header.compact .phone{background:transparent;color:var(--c-ink);border-color:var(--c-ink)}
  [data-template="ace"] .site-header.compact{height:72px}
}

/* Hero: tall, two washes (from the left behind the text, and top to bottom), content bottom left. */
[data-template="ace"] .hero::before,[data-template="ace"] .hero:not(.home-hero)::before{background:linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.45) 40%,transparent 75%),linear-gradient(180deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,.08) 28%,rgba(0,0,0,.3) 55%,rgba(0,0,0,.9) 100%)}
[data-template="ace"] .hero{align-items:flex-end}
[data-template="ace"] .hero h1,[data-template="ace"] .home-hero h1{font-weight:300;font-size:var(--t-hero);line-height:1;letter-spacing:.02em;text-transform:uppercase;text-shadow:none;margin:0 0 28px}
[data-template="ace"] .home-hero h1{max-width:11ch}
[data-template="ace"] .hero .sub{font-weight:300;font-size:19px;line-height:1.6;text-shadow:none}
[data-template="ace"] .hero .eyebrow,[data-template="ace"] .hero .crumbs{color:#fff;text-shadow:none;font-size:12px;letter-spacing:.4em;text-transform:uppercase;margin-bottom:28px}
[data-template="ace"] .hero .crumbs a{color:#fff}
[data-template="ace"] .hero .wrap{padding-bottom:72px}
@media (min-width:1200px){[data-template="ace"] .home-hero{min-height:900px}[data-template="ace"] .hero{min-height:780px}}

/* Hero search: white, 68px, fields split by inset hairlines, the button flush to three edges. */
[data-template="ace"] .hsearch{background:#fff;border-radius:0;box-shadow:none;max-width:980px;margin-top:4px}
[data-template="ace"] .hsearch label,[data-template="ace"] .hsearch .hs-q{min-height:68px;padding:0 28px}
[data-template="ace"] .hsearch input,[data-template="ace"] .hsearch select{font-weight:300;font-size:15px;letter-spacing:.04em;color:var(--ace-k)}
[data-template="ace"] .hsearch input::placeholder{color:#6B6B6B}
[data-template="ace"] .hsearch .hs-sel{border-left:0;position:relative}
[data-template="ace"] .hsearch .hs-sel::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:1px;background:#E2E0DC}
[data-template="ace"] .hsearch .btn{min-height:68px;padding:0 40px;background:var(--ace-k);color:#fff;border-color:var(--ace-k)}
[data-template="ace"] .hchips{gap:28px;margin-top:28px}
[data-template="ace"] .hchips a{border:0;border-bottom:1px solid rgba(255,255,255,.7);border-radius:0;background:none;backdrop-filter:none;padding:0 0 6px;min-height:0;font-size:13px;font-weight:400;letter-spacing:.2em;text-transform:uppercase}
[data-template="ace"] .hfresh{font-size:12px;letter-spacing:.24em;text-transform:uppercase;color:rgba(255,255,255,.85)}
[data-template="ace"] .hfresh .dot{background:var(--c-alt-live)}

/* Communities as an index (home.tsx communityRows): a sticky heading and a 4:5 photo, then rows under a strong rule. */
[data-template="ace"] .hc-index .wrap{display:grid;gap:40px}
[data-template="ace"] .hci-photo{aspect-ratio:4/5;overflow:hidden;margin-top:12px}
[data-template="ace"] .hci-photo img,[data-template="ace"] .hci-thumb img{width:100%;height:100%;object-fit:cover}
[data-template="ace"] .hci-photo picture,[data-template="ace"] .hci-thumb picture{display:contents}
[data-template="ace"] .hci-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--c-line-strong)}
[data-template="ace"] .hci-rows li{border-bottom:1px solid var(--c-line)}
[data-template="ace"] .hci-rows a{display:grid;grid-template-columns:88px minmax(0,1fr) auto;gap:20px;align-items:center;padding:20px 0;color:var(--c-ink);text-decoration:none}
[data-template="ace"] .hci-thumb{aspect-ratio:3/2;overflow:hidden;background:var(--c-line)}
[data-template="ace"] .hci-thumb img{transition:transform 560ms var(--ease)}
[data-template="ace"] .hci-rows a:hover .hci-thumb img{transform:scale(1.04)}
[data-template="ace"] .hci-text{display:grid;gap:6px}
[data-template="ace"] .hci-text b{font-family:var(--font-display);font-weight:300;font-size:clamp(20px,2.2vw,34px);letter-spacing:.02em;line-height:1.1}
[data-template="ace"] .hci-text span{font-size:13px;letter-spacing:.06em;color:var(--c-ink-3)}
[data-template="ace"] .hci-go{font-size:22px;font-weight:200}
@media (min-width:1200px){
  [data-template="ace"] .hc-index .wrap{grid-template-columns:420px minmax(0,1fr);gap:96px;align-items:start}
  [data-template="ace"] .hci-head{position:sticky;top:120px}
  [data-template="ace"] .hci-rows a{grid-template-columns:160px minmax(0,1fr) auto;gap:32px;padding:28px 0}
}

/* Lifestyle tiles: 3:4 tiles with 4px gaps, a bottom fade, the name in spaced caps. */
[data-template="ace"] .lt-grid{gap:4px}
[data-template="ace"] .lt-tile{border-radius:0}
[data-template="ace"] .lt-text b{font-family:var(--font-body);font-weight:300;font-size:22px;letter-spacing:.24em;text-transform:uppercase}
[data-template="ace"] .lt-text span{font-size:12px;letter-spacing:.12em}
[data-template="ace"] .lt-more,[data-template="ace"] .hl-more{font-size:14px}
[data-template="ace"] .hl-more a{border-radius:0}

/* Just listed as full-bleed bands (home.tsx listingBands): 760px photo, a 480px dark panel alternating right, left, right. */
[data-template="ace"] .hnew-bands{padding-bottom:56px}
[data-template="ace"] .hnew-bands .sec-head{margin-bottom:0}
[data-template="ace"] .lband{position:relative;display:flex;align-items:flex-end;min-height:560px;background:var(--ace-k);color:#fff;overflow:hidden;isolation:isolate}
[data-template="ace"] .lband+.lband{margin-top:4px}
[data-template="ace"] .lband-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1}
[data-template="ace"] .lband-panel{width:100%;background:var(--c-panel);padding:36px var(--ace-gutter);display:grid;gap:10px;justify-items:start;--c-ink:#fff;--c-ink-2:#CFCFCF;--c-ink-3:#9D9D9D}
[data-template="ace"] .lband-panel .eyebrow{color:#9D9D9D;margin:0}
[data-template="ace"] .lband-panel h3{font-weight:200;font-size:clamp(28px,2.8vw,40px);line-height:1.1;letter-spacing:.03em}
[data-template="ace"] .lband-panel h3 a{color:#fff;text-decoration:none}
[data-template="ace"] .lband-panel p{margin:0}
[data-template="ace"] .lband-area{font-size:14px;letter-spacing:.08em;color:#CFCFCF}
[data-template="ace"] .lband-price{font-size:var(--t-price-lg);font-weight:300;letter-spacing:.04em;margin-top:8px!important}
[data-template="ace"] .lband-facts{font-size:13px;letter-spacing:.24em;text-transform:uppercase;color:#CFCFCF}
[data-template="ace"] .lband-panel .btn{margin-top:16px;border-color:#fff;color:#fff;min-height:56px}
[data-template="ace"] .lband-panel .lcourtesy{font-size:11px;letter-spacing:.06em;color:#9D9D9D;margin-top:8px}
[data-template="ace"] .lband-all{display:flex;justify-content:center;padding:72px var(--ace-gutter)}
/* The button sits halfway between the last band and the next section (Truman, 2026-11-17). */
@media (min-width:1024px){
  [data-template="ace"] .lband{min-height:760px;align-items:stretch}
  [data-template="ace"] .lband-panel{width:480px;padding:72px 56px;align-content:center}
  [data-template="ace"] .lband.right{justify-content:flex-end}
}

/* Listing cards: square, no shadow, price and facts in Ace's type. */
[data-template="ace"] .lcard,[data-template="ace"] .lphoto,[data-template="ace"] .lphoto img{border-radius:0;box-shadow:none}
[data-template="ace"] .lgrid{gap:40px 24px}
[data-template="ace"] .ltag{border-radius:0;background:var(--ace-i);color:var(--ace-k);font-size:10px;font-weight:400;letter-spacing:.3em;text-transform:uppercase}
[data-template="ace"] .lprice b{font-family:var(--font-body);font-weight:300;font-size:26px;letter-spacing:.03em}
[data-template="ace"] .lspecs{font-size:12px;letter-spacing:.2em;text-transform:uppercase}
[data-template="ace"] .lsave{border-radius:50%;background:color-mix(in srgb,var(--ace-k) 55%,transparent);color:#fff;width:44px;height:44px}

/* Tools: four columns under a strong rule, an index instead of icons. */
[data-template="ace"] .ht-grid{counter-reset:tool;gap:0;border-top:1px solid var(--c-line-strong)}
[data-template="ace"] .ht-card{counter-increment:tool;border:0;border-radius:0;background:none;padding:32px 32px 32px 0;transform:none}
[data-template="ace"] .ht-card:hover{transform:none;opacity:.8}
[data-template="ace"] .ht-card svg{display:none}
[data-template="ace"] .ht-card::before{content:counter(tool,decimal-leading-zero);font-size:12px;letter-spacing:.3em;color:var(--c-ink-3);margin-bottom:12px}
[data-template="ace"] .ht-card b{font-family:var(--font-body);font-weight:300;font-size:26px;letter-spacing:.04em;text-transform:uppercase;line-height:1.15}
[data-template="ace"] .ht-card span{font-size:15px;line-height:1.75}
[data-template="ace"] .ht-card em{font-family:var(--font-body);font-weight:400;letter-spacing:.3em;color:var(--c-ink);border-bottom:1px solid currentColor;padding-bottom:6px;justify-self:start;margin-top:14px}

/* Reviews: centered, a large light quote, round dots (solid for the current one). */
[data-template="ace"] .rev-slide blockquote{font-family:var(--font-body);font-weight:300;font-size:clamp(20px,2.1vw,30px);line-height:1.5;color:var(--c-ink);max-width:28em}
[data-template="ace"] .stars svg.on{fill:var(--c-ink)}
[data-template="ace"] .stars{gap:7px}
[data-template="ace"] .rev-slide figcaption{font-size:12px;letter-spacing:.24em;text-transform:uppercase}
[data-template="ace"] .rev-dots button,[data-template="ace"] .rev-dots button[aria-current="true"]{width:24px}
[data-template="ace"] .rev-dots button::before{width:8px;height:8px;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 1px var(--c-ink)}
[data-template="ace"] .rev-dots button[aria-current="true"]::before{width:8px;background:var(--c-ink)}
[data-template="ace"] .rev-badges .rb b{font-family:var(--font-body);font-weight:400}

/* For homeowners: a full-bleed photo with a 560px dark panel on the left: the address field over the button, then three numbered steps. */
[data-template="ace"] .hsell{position:relative;isolation:isolate;padding:0!important;background:var(--ace-k);color:#fff;--c-ink:var(--ace-i);--c-ink-2:#CFCFCF;--c-ink-3:#9D9D9D;--c-line:var(--ace-f);--c-line-strong:var(--ace-i);--c-link:#fff;--c-brand:var(--ace-i);--c-brand-ink:var(--ace-k);--c-cta:var(--ace-i);--c-cta-ink:var(--ace-k)}
[data-template="ace"] .hsell .wrap{display:block;max-width:none;padding:0}
[data-template="ace"] .hs-photo{position:absolute;inset:0;z-index:-1;border-radius:0;aspect-ratio:auto}
[data-template="ace"] .hs-text{background:color-mix(in srgb,var(--ace-k) 88%,transparent);padding:56px var(--ace-gutter);max-width:none}
[data-template="ace"] .hs-text h2{font-size:var(--t-h2);color:var(--ace-i)}
[data-template="ace"] .hs-steps li{border-top-color:var(--ace-l)}
[data-template="ace"] .hs-steps li::before{font-family:var(--font-body);font-weight:300;letter-spacing:.3em;color:#9D9D9D}
[data-template="ace"] .hs-steps b{font-family:var(--font-body);font-weight:400;letter-spacing:.08em;text-transform:uppercase;font-size:14px}
[data-template="ace"] .hs-link{font-family:var(--font-body);font-weight:400;letter-spacing:.3em;border-bottom:1px solid currentColor;padding-bottom:6px}
@media (min-width:1024px){
  [data-template="ace"] .hsell{min-height:760px;display:flex}
  [data-template="ace"] .hsell .wrap{display:flex;width:100%}
  [data-template="ace"] .hs-text{width:560px;padding:72px 56px;display:flex;flex-direction:column;justify-content:center}
}

/* Fields: underline only, square. */
[data-template="ace"] .field,[data-template="ace"] .field input,[data-template="ace"] .field select,[data-template="ace"] .field textarea{border-radius:0}
[data-template="ace"] input,[data-template="ace"] select,[data-template="ace"] textarea{font-weight:300}

/* Chips and the price bar: square chips in spaced caps, off as a thin outline, on as solid black. */
[data-template="ace"] .chip{border-radius:0;background:transparent;border:1px solid var(--c-field-edge);font-size:12px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;padding:0 20px}
[data-template="ace"] .chip.on,[data-template="ace"] .chip[aria-pressed="true"],[data-template="ace"] .chip[aria-current="true"]{background:var(--c-ink);color:var(--c-bg);border-color:var(--c-ink)}

/* Stats: thin large numbers, spaced caps labels. */
[data-template="ace"] .stats .stat b{font-family:var(--font-body);font-weight:200;font-size:var(--t-stat);letter-spacing:.02em}
[data-template="ace"] .stats .stat span{font-size:11px;letter-spacing:.3em;text-transform:uppercase}

/* Let's talk and the footer: the same dark ground flowing into the footer; underline fields, a full-width outline Send. */
[data-template="ace"] .photo-band{--c-ink:var(--ace-i);--c-ink-2:#CFCFCF;--c-line:var(--ace-f);--c-link:#fff;--c-brand:var(--ace-i);--c-brand-ink:var(--ace-k)}
/* Light enough that a twilight photo still shows (Truman, 2026-11-17: "a little too dark"); was 84% to 100%. */
[data-template="ace"] .photo-band::before{background:linear-gradient(180deg,color-mix(in srgb,var(--ace-d) 55%,transparent) 0%,color-mix(in srgb,var(--ace-d) 70%,transparent) 70%,color-mix(in srgb,var(--ace-d) 90%,transparent) 100%)}
[data-template="ace"] .photo-band .eyebrow{color:#9D9D9D}
[data-template="ace"] .photo-band .field::after{background:var(--ace-i)}
[data-template="ace"] .contact .direct{border-top-color:var(--ace-l)}
[data-template="ace"] .contact .direct .avatar{width:72px;height:72px;border-radius:50%}
[data-template="ace"] .contact .dphone{font-family:var(--font-body);font-weight:200;font-size:40px;letter-spacing:.02em}
[data-template="ace"] .contact .dnote .dot,[data-template="ace"] .photo-band .dnote .dot{background:var(--c-alt-live)}
[data-template="ace"] .contact .panel .lead-form button{min-height:60px;background:transparent;color:var(--ace-i);border:1px solid var(--ace-i);font-weight:400}
[data-template="ace"] .site-footer{background:var(--ace-d);border-top:0}
[data-template="ace"] .site-footer .logo{font-family:var(--font-body);font-weight:300;letter-spacing:.42em;text-transform:uppercase}
[data-template="ace"] .site-footer .fcol h2{font-family:var(--font-body);font-size:11px;font-weight:400;letter-spacing:.3em;color:#9D9D9D;text-transform:uppercase}
[data-template="ace"] .site-footer .ftitle{font-family:var(--font-body);font-weight:200;text-transform:uppercase;letter-spacing:.03em}
[data-template="ace"] .site-footer .flaunch{border-radius:0;border-color:var(--ace-f2);background:transparent;min-width:min(420px,100%)}
[data-template="ace"] .site-footer .flaunch svg{color:var(--ace-i)}
[data-template="ace"] .site-footer .fphone{font-family:var(--font-body);font-weight:200;letter-spacing:.02em}
[data-template="ace"] .site-footer .fbase{border-top-color:var(--ace-l)}
[data-template="ace"] .site-footer .fmarket .dot{background:var(--c-alt-live)}

/* Everything rounded in Jack is square in Ace, except avatars, live dots, slider dots, the play ring, and the save heart. */
[data-template="ace"] .hc-card,[data-template="ace"] .panel,[data-template="ace"] .card,[data-template="ace"] .hs-photo,[data-template="ace"] .bphoto,[data-template="ace"] .ph-photo,[data-template="ace"] dialog.sheet,[data-template="ace"] .lt-tile,[data-template="ace"] .vgrid>*{border-radius:0}
[data-template="ace"] .site-footer .fkbd{border-radius:0}
[data-template="ace"] .poster,[data-template="ace"] .poster img,[data-template="ace"] .video-frame{border-radius:0;box-shadow:none}
[data-template="ace"] .promo.band{background:var(--c-bg)}

/* Phone (under 768): 20px gutters, a 64px header, the search stacks into three rows, bands put the panel along the bottom. */
@media (max-width:767px){
  [data-template="ace"] .site-header{height:64px}
  [data-template="ace"] .site-header .logo{font-size:15px;letter-spacing:.36em}
  [data-template="ace"] .home-hero{min-height:760px}
  [data-template="ace"] .hero h1,[data-template="ace"] .home-hero h1{font-size:46px}
  [data-template="ace"] .hsearch{display:grid;grid-template-columns:1fr 1fr}
  [data-template="ace"] .hsearch .hs-q{grid-column:1/-1;min-height:56px;border-bottom:1px solid #E2E0DC}
  [data-template="ace"] .hs-sel{display:flex!important;min-height:52px!important;padding:0 16px!important}
  [data-template="ace"] .hsearch .hs-sel+.hs-sel::before{top:10px;bottom:10px}
  [data-template="ace"] .hsearch .hs-sel:first-of-type::before{display:none}
  [data-template="ace"] .hsearch .btn{grid-column:1/-1;min-height:56px}
  [data-template="ace"] section.block h2{font-size:32px}
  [data-template="ace"] .hci-rows a{grid-template-columns:88px minmax(0,1fr) auto}
  [data-template="ace"] .lband{min-height:520px}
}

/* Solid buttons on any dark ground are ivory with black text (the hero, photo bands, panels, black sections, the sign-up ad). */
[data-template="ace"] :is(section.block.alt,.photo-band,.hero,.hsell,.join-ad,.lband-panel,.pv-hero,.pv-cta.t-deep,.guide-hero,.parent-link,.sbg.on-dark,.sv-portal) .btn.solid{background:var(--ace-i);color:var(--ace-k);border-color:var(--ace-i)}

/* Square everything else Jack rounds: controls, chips, pills, cards, sheets. Round stays only where the spec keeps it. */
[data-template="ace"] :is(button,input,select,textarea,label,.pill,.chip,[class*="chip"],[class*="card"],[class*="sheet"],[class*="filter"],.ltag,.os-pills a,.lx-card,.lx-react button){border-radius:0}
[data-template="ace"] :is(.lsave,.rev-dots button,.avatar,.dot,.row-dots button,[class*="handle"],[class*="thumb"][role="slider"],input[type="range"]){border-radius:50%}

/* Listing detail: the price thin and spaced, sidebar cards square with smaller headings. */
[data-template="ace"] .lx-price b,[data-template="ace"] .lx-price .price{font-family:var(--font-body);font-weight:300;letter-spacing:.04em}
[data-template="ace"] .lx-card{box-shadow:none;border:1px solid var(--c-ink)}
[data-template="ace"] .lx-card h2{font-size:clamp(24px,2vw,30px);line-height:1.12}
[data-template="ace"] .lx-sec h2{font-size:clamp(26px,2.6vw,40px)}
[data-template="ace"] .hero .hsearch .btn{background:var(--ace-k);color:#fff;border-color:var(--ace-k)}

/* Desktop dropdowns: square, ivory, a hairline edge and no shadow; the city list in spaced caps, the open city as a thin title. */
[data-template="ace"] .np-in{border-radius:0;border-color:var(--c-ink);box-shadow:0 24px 48px -32px rgba(0,0,0,.35);padding:24px 0;background:linear-gradient(90deg,var(--c-bg) 300px,var(--c-line) 300px,var(--c-line) 301px,var(--c-surface) 301px)}
[data-template="ace"] .np-item{margin:0 24px;padding:0;min-height:48px;border-radius:0;border-bottom:1px solid var(--c-line);font-family:var(--font-body);font-size:12px;font-weight:400;letter-spacing:.24em;text-transform:uppercase}
[data-template="ace"] .np-item:hover,[data-template="ace"] .np-item.on{background:none;box-shadow:none;color:var(--c-ink)}
[data-template="ace"] .np-item.on{font-weight:500}
[data-template="ace"] .np-item.np-gap{margin-top:28px}
[data-template="ace"] .np-item.np-gap::before{display:none}
[data-template="ace"] .np-pane{padding:8px 40px 16px}
[data-template="ace"] .np-count,[data-template="ace"] .np-sub{font:400 11px var(--font-body);letter-spacing:.3em;color:var(--c-ink-3)}
[data-template="ace"] .np-title{font:200 34px/1.05 var(--font-body);letter-spacing:.03em;text-transform:uppercase}
[data-template="ace"] .np-view{font-size:12px;font-weight:400;letter-spacing:.3em;text-transform:uppercase;color:var(--c-ink);border-bottom:1px solid currentColor;min-height:0;padding-bottom:6px;margin-top:16px}
[data-template="ace"] .np-view:hover{text-decoration:none;opacity:.8}
[data-template="ace"] .np-photo{border-radius:0;box-shadow:none}
[data-template="ace"] .np-pane a:not(.np-view):not(.np-photo){font-size:14px;font-weight:300;letter-spacing:.02em}
[data-template="ace"] .np-pane a:not(.np-view):not(.np-photo):hover{color:var(--c-ink);text-decoration:underline;text-underline-offset:4px}
[data-template="ace"] .np-pane .np-cities a:not(.np-view):not(.np-photo){font:300 18px/1.3 var(--font-body);letter-spacing:.06em;text-transform:uppercase}
[data-template="ace"] .nm-panel ul{border-radius:0;border-color:var(--c-ink);padding:8px 0;box-shadow:0 24px 48px -32px rgba(0,0,0,.35)}
[data-template="ace"] .nm-panel a{border-radius:0;padding:12px 24px;font-size:12px;font-weight:400;letter-spacing:.24em;text-transform:uppercase}
[data-template="ace"] .nm-panel a:hover,[data-template="ace"] .nm-panel a:focus-visible{background:var(--c-muted)}

/* Phone menu: the top rows and the two openers in one style; cities and their links smaller and in plain case. */
[data-template="ace"] .menu-sheet>a,[data-template="ace"] .menu-sheet .ms-dd>summary{font-family:var(--font-body);font-weight:300;font-size:20px;letter-spacing:.12em;text-transform:uppercase}
[data-template="ace"] .menu-sheet .ms-2>summary{font-family:var(--font-body);font-weight:300;font-size:15px;letter-spacing:.14em;text-transform:uppercase}
[data-template="ace"] .menu-sheet .ms-links a{font-family:var(--font-body);font-weight:300;font-size:16px;letter-spacing:.01em;text-transform:none}
[data-template="ace"] .menu-sheet .ms-links a.ms-view{font-size:12px;font-weight:400;letter-spacing:.24em;text-transform:uppercase}
[data-template="ace"] .menu-sheet .close{font-family:var(--font-body);font-size:12px;font-weight:400;letter-spacing:.28em;text-transform:uppercase;min-height:48px}

/* Phone header: the name and Sign in stay on one line; Menu is a 48px square outline with two lines. */
@media (max-width:767px){
  [data-template="ace"] .site-header .logo{font-size:14px;letter-spacing:.3em;white-space:nowrap}
  [data-template="ace"] .site-header .signin{font-size:11px;letter-spacing:.2em;white-space:nowrap;min-height:48px;display:inline-flex;align-items:center}
  [data-template="ace"] .site-header .right{gap:16px}
  [data-template="ace"] .site-header .menu{font-size:0;letter-spacing:0;width:48px;height:48px;min-height:48px;padding:0;border:1px solid currentColor;border-radius:0;background:linear-gradient(currentColor,currentColor) center calc(50% - 4px)/18px 1px no-repeat,linear-gradient(currentColor,currentColor) center calc(50% + 4px)/18px 1px no-repeat;color:inherit}
}
@media (max-width:359px){[data-template="ace"] .site-header .logo{font-size:13px;letter-spacing:.22em}}

/* Bars (price bands, how a home compares): a hairline track filled to the number, square. */
[data-template="ace"] .pr-bar{height:4px;border-radius:0;background:var(--c-line)}
[data-template="ace"] .pr-bar i{border-radius:0;background:#8A8885}
[data-template="ace"] .pr-list li.here .pr-bar i,[data-template="ace"] .lx-cmp .pr-bar i{background:var(--c-ink)}
[data-template="ace"] .pr-n{font-weight:300}

/* Powered by Substrait: ivory on the black footer (Jack draws it in the accent, which is black in Ace). */
[data-template="ace"] .site-footer .powered{color:var(--ace-i)}

/* Card grids (buyer and seller guides, about): no boxes or icon tiles; an index over each, under a strong rule, like Tools. */
[data-template="ace"] :is(.sv-why-grid,.sg-grid){counter-reset:card;gap:0 48px;border-top:1px solid var(--c-line-strong)}
[data-template="ace"] .sv-wcard{counter-increment:card;grid-template-columns:none;gap:12px;padding:32px 0 40px;border:0;border-bottom:1px solid var(--c-line);border-radius:0;background:none}
[data-template="ace"] .sv-wcard::before{content:counter(card,decimal-leading-zero);font-size:12px;letter-spacing:.3em;color:var(--c-ink-3)}
[data-template="ace"] .sv-wi{display:none}
[data-template="ace"] .sv-wcard>b{font-family:var(--font-body);font-weight:300;font-size:clamp(20px,1.7vw,24px);letter-spacing:.04em;line-height:1.25;text-transform:uppercase}
[data-template="ace"] .sv-wcard>p{font-size:16px;line-height:1.75}
[data-template="ace"] .sg-cards .sv-wcard>ul,[data-template="ace"] .sg-cards .sv-wcard>dl{grid-column:auto}
[data-template="ace"] .sg-note{margin-top:24px;font-size:13px;letter-spacing:.02em}
[data-template="ace"] .sv-cta{margin-top:48px;padding-top:32px;border-top:1px solid var(--c-line-strong)}
[data-template="ace"] .sv-cta p{font-size:17px;font-weight:300}
[data-template="ace"] .sv-cta p b{font-weight:400}
[data-template="ace"] .sg-col{padding:28px 0 0;border:0;border-top:1px solid var(--c-line-strong);border-radius:0;background:none}
[data-template="ace"] .sg-col h3,[data-template="ace"] .sg-rows b{font-family:var(--font-body);font-weight:300;letter-spacing:.06em;text-transform:uppercase}
[data-template="ace"] .sg-col h3 svg,[data-template="ace"] .sg-col li svg{color:var(--c-ink)}
[data-template="ace"] .sg-ri{background:none;border:1px solid var(--c-line);border-radius:0;color:var(--c-ink)}
[data-template="ace"] .sg-receipt{border-color:var(--c-ink);border-radius:0;background:none}
[data-template="ace"] .sg-quote{border-left:1px solid var(--c-ink);font-family:var(--font-body);font-weight:200;letter-spacing:.01em}

/* Home value over the photo: the address field stacked over a full-width button, with room to breathe. */
[data-template="ace"] .hsell .hv-step{grid-template-columns:none;gap:16px}
[data-template="ace"] .hsell .hv-step .btn{width:100%;justify-self:stretch}
[data-template="ace"] .hsell .hv-form{max-width:none;gap:16px;margin-top:8px}
[data-template="ace"] .hsell .hs-text>p{max-width:none}
@media (min-width:1024px){[data-template="ace"] .hs-text{width:600px;padding:88px 64px;gap:4px}}

/* Phone listing bands: the photo whole on top, the panel under it, short. */
@media (max-width:767px){
  [data-template="ace"] .lband{display:block;min-height:0}
  [data-template="ace"] .lband-img{position:static;display:block;aspect-ratio:4/3;height:auto}
  [data-template="ace"] .lband-panel{background:var(--ace-k);padding:24px 20px 28px;gap:6px}
  [data-template="ace"] .lband-panel h3{font-size:24px}
  [data-template="ace"] .lband-price{font-size:24px;margin-top:4px!important}
  [data-template="ace"] .lband-facts{font-size:12px;letter-spacing:.18em}
  [data-template="ace"] .lband-panel .btn{margin-top:12px;min-height:48px;padding:0 24px}
}

/* Listing detail (listing.tsx aceTop): the main photo full-bleed with the address and price on it, a strip of four photos,
   the five numbers on black, then the remarks and details beside a square showing card. */
[data-template="ace"] .lxa-hero{min-height:560px}
[data-template="ace"] .lxa-in{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 40px}
[data-template="ace"] .lxa-text{min-width:0;flex:1 1 560px}
[data-template="ace"] .lxa-hero h1{font-size:clamp(34px,5vw,72px);margin:0 0 12px;max-width:16ch}
[data-template="ace"] .lxa-place{margin:0;font-size:14px;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.85)}
[data-template="ace"] .lxa-price{display:flex;align-items:center;gap:16px;margin:20px 0 0;font-size:var(--t-price-lg);font-weight:300;letter-spacing:.04em;color:#fff}
[data-template="ace"] .lxa-price .ltag{font-size:10px;padding:6px 10px}
[data-template="ace"] .lxa-btns{display:flex;gap:12px}
[data-template="ace"] .lxa-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:var(--ace-k);padding-top:4px}
[data-template="ace"] .lxa-thumbs button{display:block;padding:0;border:0;background:var(--ace-k);height:clamp(96px,21vw,300px);cursor:zoom-in;overflow:hidden}
[data-template="ace"] .lxa-thumbs img{width:100%;height:100%;object-fit:cover;transition:opacity 140ms var(--ease)}
[data-template="ace"] .lxa-thumbs button:hover img{opacity:.8}
[data-template="ace"] .lxa-facts{background:var(--ace-k);color:var(--ace-i)}
[data-template="ace"] .lxa-facts dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));margin:0 auto}
[data-template="ace"] .lxa-facts dl div{display:flex;flex-direction:column-reverse;gap:8px;padding:28px 20px;border-left:1px solid var(--ace-l)}
[data-template="ace"] .lxa-facts dl div:first-child{border-left:0;padding-left:0}
[data-template="ace"] .lxa-facts dd{margin:0;font-weight:200;font-size:clamp(28px,3vw,42px);letter-spacing:.02em;line-height:1}
[data-template="ace"] .lxa-facts dt{font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:#9D9D9D}
[data-template="ace"] .lx-shell{padding-top:56px}
[data-template="ace"] .lx-head .lx-sold,[data-template="ace"] .lx-head .lx-meta,[data-template="ace"] .lx-attr{font-size:13px;letter-spacing:.06em}
[data-template="ace"] .lx-sec{padding-top:72px}
[data-template="ace"] .lx-sec h2{font-size:clamp(26px,2.6vw,40px);font-weight:200;margin-bottom:28px}
[data-template="ace"] .remarks p{font-size:17px;line-height:1.8;max-width:none;color:var(--c-ink-2)}
[data-template="ace"] .remarks .more summary{font-family:var(--font-body);font-weight:400;letter-spacing:.3em;color:var(--c-ink);border-bottom:1px solid currentColor;min-height:0;padding-bottom:6px}
[data-template="ace"] .lx-facts{border-top:1px solid var(--c-line-strong);padding-top:8px}
[data-template="ace"] .lx-facts h3{font-family:var(--font-body);font-weight:400;font-size:11px;letter-spacing:.3em;color:var(--c-ink-3);margin:24px 0 8px}
[data-template="ace"] .lx-facts dl div{font-size:15px;padding:12px 0}
[data-template="ace"] .lx-facts dd{font-weight:400}
[data-template="ace"] .lx-card{padding:36px}
[data-template="ace"] .lx-card :is(.tc-type,.tc-days) button{border-radius:0}
@media (min-width:1024px){
  [data-template="ace"] .lxa-hero{min-height:860px}
  [data-template="ace"] .lxa-facts dl div{padding:36px 40px}
  [data-template="ace"] .remarks{column-count:2;column-gap:48px}
  [data-template="ace"] .remarks .more{break-inside:avoid-column}
  [data-template="ace"] .lx-facts{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
}
@media (min-width:1200px){[data-template="ace"] .lx-shell{grid-template-columns:minmax(0,1fr) 400px;gap:96px}}
/* The full-width section gutter below (main>.wrap>:not(.stats)) also caught the side rail and squeezed the tour card to 272px. */
[data-template="ace"] main>.wrap.lx-shell>.lx-side{padding-inline:0}
@media (max-width:767px){
  [data-template="ace"] .lxa-hero{min-height:460px}
  [data-template="ace"] .lxa-hero h1{font-size:34px}
  [data-template="ace"] .lxa-btns .btn{min-height:48px;padding:0 20px}
  [data-template="ace"] .lxa-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))}
  [data-template="ace"] .lxa-facts dl{grid-template-columns:repeat(3,minmax(0,1fr))}
  [data-template="ace"] .lxa-facts dl div{padding:20px 12px;border-top:1px solid var(--ace-l)}
  [data-template="ace"] .lxa-facts dl div:nth-child(3n+1){border-left:0;padding-left:0}
  [data-template="ace"] .lxa-facts dd{font-size:28px}
}
[data-template="ace"] .lxa-price .ltag{position:static;inset:auto}
/* The capped display face (fonts.ts ACE_DISPLAY) has no bold, so the browser must not fake one. */
[data-template="ace"]{font-synthesis-weight:none}

/* Community page (the Ace handoff, Pages A): the numbers under the hero on black, a light pull quote between rules, a thin
   drop cap, square stat tiles. The display face is capped (fonts.ts ACE_DISPLAY), so numbers and titles are light everywhere. */
[data-template="ace"] main>.wrap:has(>.stats){max-width:none;padding:0}
[data-template="ace"] main>.wrap>.stats{background:var(--ace-k);color:var(--ace-i);--c-ink:var(--ace-i);--c-ink-2:#9D9D9D;--c-line:var(--ace-l);border:0;margin:0;padding:0 var(--ace-gutter);gap:0}
[data-template="ace"] main>.wrap>.stats .stat{padding:32px 24px;border-left:1px solid var(--ace-l)}
[data-template="ace"] main>.wrap>.stats .stat:first-child{border-left:0;padding-left:0}
[data-template="ace"] main>.wrap>.stats .fresh{padding:0 0 20px;color:#9D9D9D}
[data-template="ace"] main>.wrap>:not(.stats){max-width:1440px;margin-inline:auto;padding-inline:var(--ace-gutter);box-sizing:border-box}
[data-template="ace"] main>.wrap>.facts-strip{border-bottom-color:var(--c-line)}
[data-template="ace"] .facts-strip span{font-family:var(--font-body);font-weight:400;letter-spacing:.3em;color:var(--c-ink-3)}
[data-template="ace"] .facts-strip b{font-weight:300;font-size:16px}
[data-template="ace"] .stats .stat b{font-weight:200;letter-spacing:.02em}
[data-template="ace"] .quote{padding-block:var(--ace-pad)}
[data-template="ace"] .quote::before{display:none}
[data-template="ace"] .quote blockquote{font-weight:200;font-size:clamp(26px,3.1vw,44px);line-height:1.3;letter-spacing:.01em;max-width:24em;padding:40px 0;border-block:1px solid var(--c-line-strong)}
[data-template="ace"] .quote blockquote::after{display:none}
[data-template="ace"] .quote cite{font-size:12px;letter-spacing:.3em;color:var(--c-ink-3);margin-top:24px}
[data-template="ace"] .guide .prose.dropcap>p:first-child::first-letter{font-weight:200;font-size:72px;color:var(--c-ink);padding-right:14px}
[data-template="ace"] .tiles{gap:0;background:none;border:0;border-top:1px solid var(--c-line-strong);border-radius:0}
[data-template="ace"] .tiles div{background:none;padding:24px 24px 24px 0}
[data-template="ace"] .tiles dt{font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:var(--c-ink-3)}
[data-template="ace"] .tiles dd{font-weight:200;letter-spacing:.02em}
@media (min-width:1024px){[data-template="ace"] main>.wrap>.stats{grid-template-columns:repeat(5,minmax(0,1fr))}}

/* Search (the Ace handoff, Pages B) and every short-hero page: a short photo band, then one white filter row in a thin black
   frame, square toggles in spaced caps, a light count, square page buttons. */
@media (min-width:1200px){[data-template="ace"] .hero.short{min-height:420px}}
[data-template="ace"] .hero.short h1{font-size:clamp(34px,5vw,72px);font-weight:300;line-height:1}
[data-template="ace"] .hero.short .statline{font-size:13px;letter-spacing:.08em}
[data-template="ace"] .hero.short .statline b{font-weight:400}
@media (min-width:640px){
  [data-template="ace"] .os-bar{gap:0;border:1px solid var(--c-ink);background:#fff}
  [data-template="ace"] .os-q{border:0;border-radius:0;box-shadow:none;min-height:64px}
  [data-template="ace"] .os-q:focus-within{box-shadow:inset 0 -2px 0 var(--c-ink)}
  [data-template="ace"] .os-quick{gap:0}
  [data-template="ace"] .os-pick summary,[data-template="ace"] .os-filters{border:0;border-left:1px solid #D9D7D3;border-radius:0;min-height:64px;padding:0 22px;background:#fff}
  [data-template="ace"] .os-filters{background:var(--ace-k);color:#fff;border-left:0}
  [data-template="ace"] .os-filters svg{color:#fff}
}
[data-template="ace"] .os-q input{font-weight:300;font-size:16px;letter-spacing:.02em}
[data-template="ace"] .os-pick summary .k{font-size:11px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;color:var(--c-ink-3)}
[data-template="ace"] .os-pick summary b{font-weight:400}
[data-template="ace"] .os-filters{font-family:var(--font-body);font-size:12px;font-weight:500;letter-spacing:.24em;text-transform:uppercase}
[data-template="ace"] .os-pop{border-radius:0;border-color:var(--c-ink);box-shadow:0 24px 48px -32px rgba(0,0,0,.35)}
[data-template="ace"] .os-pop .os-row legend,[data-template="ace"] .os-row legend{font-family:var(--font-body);font-weight:400;letter-spacing:.3em;color:var(--c-ink-3)}
[data-template="ace"] .pill span{border-radius:0;font-weight:400;font-size:13px;letter-spacing:.06em}
[data-template="ace"] .pill input:checked+span{background:var(--ace-k);border-color:var(--ace-k);color:#fff}
[data-template="ace"] .os-toggle{border-radius:0;border-color:var(--c-field-edge);background:transparent;font-size:12px;font-weight:400;letter-spacing:.2em;text-transform:uppercase;min-height:44px;padding:0 20px}
[data-template="ace"] .os-toggle.on{background:var(--ace-k);border-color:var(--ace-k);color:#fff}
[data-template="ace"] .os-toolbar{border-top:1px solid var(--c-ink);border-bottom:1px solid var(--c-line);padding-block:18px}
[data-template="ace"] .os-count{font-family:var(--font-body);font-weight:200;font-size:clamp(24px,2.4vw,36px);letter-spacing:.02em}
[data-template="ace"] .os-count b,[data-template="ace"] .os-count strong{font-weight:200}
[data-template="ace"] .pager{font-weight:400;font-size:12px;letter-spacing:.24em;text-transform:uppercase}
[data-template="ace"] .pager a{justify-content:center;min-width:48px;min-height:48px;padding:0 24px;border:1px solid var(--c-ink);color:var(--c-ink);text-decoration:none}
[data-template="ace"] .pager a:hover{background:var(--ace-k);color:#fff}

/* Journal post (the Ace handoff, Pages C): a black band with the title centered over the post's photo, set full width under it
   (blog photos often carry their own words, so no title sits on them); a 720px column, caps subheads, a light pull quote. */
[data-template="ace"] .post-head{background:var(--ace-k);align-items:flex-end}
[data-template="ace"] .post-head .hbg,[data-template="ace"] .post-head::before{display:none}
[data-template="ace"] .post-head .ph-in{grid-template-columns:none;justify-items:center;text-align:center;gap:0}
[data-template="ace"] .post-head .ph-text{max-width:960px;display:grid;justify-items:center}
[data-template="ace"] .post-head .crumbs{justify-content:center}
[data-template="ace"] .post-head h1{font-size:clamp(34px,4.6vw,64px);font-weight:300;max-width:18ch;margin:0 0 20px}
[data-template="ace"] .post-head .ph-dek{font-size:19px;font-weight:300;line-height:1.6;max-width:44ch;margin-inline:auto}
[data-template="ace"] .post-head .post-meta{justify-content:center;font-size:12px;letter-spacing:.2em;text-transform:uppercase}
[data-template="ace"] .post-head .post-meta b{font-weight:400}
[data-template="ace"] .post-head .ph-photo{max-width:1312px;aspect-ratio:21/9;margin-top:56px;border-radius:0;box-shadow:none;background:var(--ace-k2)}
[data-template="ace"] .post-body{font-size:19px;line-height:1.85;font-weight:300}
[data-template="ace"] .post-body p,[data-template="ace"] .post-body ul,[data-template="ace"] .post-body ol{max-width:720px}
[data-template="ace"] .post-body h2{font-size:clamp(22px,2.2vw,30px);font-weight:300;letter-spacing:.05em;line-height:1.25;margin:56px 0 18px}
[data-template="ace"] .post-body h3{font-size:20px;font-weight:300;letter-spacing:.05em}
[data-template="ace"] .post-body blockquote{margin:48px 0;padding:32px 0;border:0;border-block:1px solid var(--c-ink);font-family:var(--font-body);font-weight:200;font-size:clamp(24px,2.6vw,36px);line-height:1.35;color:var(--c-ink)}
[data-template="ace"] .post-body a{color:var(--c-ink);text-underline-offset:4px}
[data-template="ace"] .post-body img{border-radius:0}

/* Charts and the Chart/Table switch: the line and dots in the section's ink (Jack's accent is black, gone on Ace's black),
   and the switch square in spaced caps, the picked side solid. */
[data-template="ace"] .tchart path{stroke:var(--c-ink);stroke-width:1.5px}
[data-template="ace"] .tchart .dot{background:var(--c-ink)}
[data-template="ace"] .tchart .hits button:focus-visible{outline-color:var(--c-ink)}
[data-template="ace"] .tchart .gl span{background:none}
[data-template="ace"] .tchart .tip{border-radius:0;box-shadow:none;border-color:var(--c-ink)}
[data-template="ace"] .vswitch{padding:0;border-radius:0;background:none;border:1px solid var(--c-line-strong)}
[data-template="ace"] .vswitch button{border-radius:0;min-height:40px;padding:0 18px;font-size:11px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;color:var(--c-ink-2)}
[data-template="ace"] .vswitch button[aria-pressed="true"]{background:var(--c-brand);color:var(--c-brand-ink);box-shadow:none}
/* Map bands run edge to edge with no strip above or below (the listing's and the community's Getting around). */
[data-template="ace"] section.lx-mapband,[data-template="ace"] .lx-mapband{padding-block:0;margin-block:0;border-block:0}
/* The name lockup (D588) keeps its own spacing; Ace's spaced header logo type must not spread it again. */
[data-template="ace"] .site-header .logo:has(.lk),[data-template="ace"] .site-footer .logo:has(.lk){letter-spacing:0;font-size:inherit}
/* Numbers sit on the line in every Ace type (Classic's Cormorant draws old-style figures by default). */
[data-template="ace"]{font-variant-numeric:lining-nums}
/* Overlays behind the filters, sign-up, and other pop-ups: a near-solid wash of the finish's darkest color, not a mid tint
   that turns the ivory page slate (Truman, 2026-10-23). */
[data-template="ace"] dialog.sheet::backdrop,[data-template="ace"] .os-scrim,[data-template="ace"] .fdrawer .scrim{background:color-mix(in srgb,var(--ace-d) 88%,transparent)}
