/* Estate preset: property sales brochure. Expanded uppercase headings, concrete ground, blueprint blue and
   sun yellow solids, 2px ink frames, hard 4px shadow on call-to-action buttons only. No gradients, no blur.
   Everything is scoped to [data-theme-style="estate"]; order follows docs/demo-sectors-plan.md 3.3. */

/* 1. Tokens */
:root[data-theme-style="estate"] {
  --ink: #15202B; --ink-2: #4A535C; --ink-3: #5B6671; --bg: #F2F1EC; --bg-2: #E8E7DF; --tint: #fff; --line: #CDCCC3;
  --sun: #F2B33D; --navy: color-mix(in srgb, var(--primary) 72%, #000); --fh: var(--font-heading, var(--font));
  --max: 1240px; --space: clamp(56px, 8vw, 104px); --sticky-top: 74px; --radius: 4px;
  --st-available: #1F7A4D; --st-reserved: #F2B33D; --st-sold: #5B6570; --tone-dark: #15202B;
  --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='4' fill='%231D4F91'/%3E%3Cpath d='M7 14.5L16 7.5L25 14.5' fill='none' stroke='%23F2B33D' stroke-width='3' stroke-linecap='square'/%3E%3Cpath d='M7 20L16 13L25 20M7 25.5L16 18.5L25 25.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E");
  scroll-padding-top: 132px;
}
[data-theme-style="estate"] body { font-size: 1.0625rem; }

/* 2. Type */
[data-theme-style="estate"] :is(h1, h2, h3, .h1) { font-family: var(--fh); color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
[data-theme-style="estate"] :is(h1, h2, .h1) { font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.04; letter-spacing: .005em; }
[data-theme-style="estate"] :is(h1, .h1) { font-size: clamp(2.3rem, .8rem + 4.4vw, 4.6rem); }
[data-theme-style="estate"] h2 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.9rem); }
[data-theme-style="estate"] h3 { font-weight: 700; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; font-size: 1.02rem; }
[data-theme-style="estate"] :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
[data-theme-style="estate"] :is(.stats, .cta-band, .site-footer, .topbar) :focus-visible, [data-theme-style="estate"] .section-wrap[data-tone] :focus-visible { outline-color: var(--sun); }
[data-theme-style="estate"] a:hover { color: var(--navy); }
[data-theme-style="estate"] .section-bg-image { display: none; }
[data-theme-style="estate"] .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: .74rem; font-weight: 700; letter-spacing: .14em; margin-bottom: 1.1em; }
[data-theme-style="estate"] .eyebrow::before { content: ""; flex: none; width: 24px; height: 8px; border: 2px solid; border-top: 0; }
[data-theme-style="estate"] .lede { color: var(--ink-2); font-size: 1.1rem; }
[data-theme-style="estate"] .section-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
[data-theme-style="estate"] .hl { color: var(--primary); box-shadow: none; }
[data-theme-style="estate"] .prose h2 { font-size: 1.3rem; margin-top: 1.9em; padding-top: 14px; border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .prose h2:first-child { margin-top: 0; }
[data-theme-style="estate"] .prose ul { list-style: none; padding-left: 0; }
[data-theme-style="estate"] .prose ul li { position: relative; padding-left: 22px; }
[data-theme-style="estate"] .prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--primary); }
[data-theme-style="estate"] .prose blockquote { border-left: 4px solid var(--sun); color: var(--ink); }
[data-theme-style="estate"] .prose img { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--bg); }
[data-theme-style="estate"] .prose table { display: block; overflow-x: auto; font-size: .95rem; border: 2px solid var(--ink); background: #fff; }
[data-theme-style="estate"] .prose th { background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; padding: 10px 14px; white-space: nowrap; }
[data-theme-style="estate"] .prose td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
[data-theme-style="estate"] .prose td:first-child { font-weight: 700; white-space: nowrap; }
[data-theme-style="estate"] .prose hr { border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .section-wrap[data-look~="quiet"] > section { padding-top: 0; }
[data-theme-style="estate"] .section-wrap[data-look~="wide"] > section > .container { max-width: 1360px; }

/* 3. Buttons */
[data-theme-style="estate"] .btn { min-height: 48px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: var(--radius); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; justify-content: center; }
[data-theme-style="estate"] .btn-primary { background: var(--primary); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
[data-theme-style="estate"] .btn-primary:hover { background: var(--navy); color: #fff; }
[data-theme-style="estate"] .btn-secondary { background: #fff; color: var(--ink); }
[data-theme-style="estate"] .btn-secondary:hover { background: var(--sun); color: var(--ink); border-color: var(--ink); }
[data-theme-style="estate"] .btn-light { background: var(--sun); color: var(--ink); border-color: var(--sun); box-shadow: 4px 4px 0 #fff; }
[data-theme-style="estate"] .btn-light:hover { background: var(--sun); color: var(--ink); }
[data-theme-style="estate"] .btn-ghost { color: #fff; border-color: #fff; }
[data-theme-style="estate"] .btn-ghost:hover { color: var(--ink); background: #fff; }
[data-theme-style="estate"][data-motion="on"] .btn:hover, [data-theme-style="estate"][data-motion="on"] .btn:active { box-shadow: 4px 4px 0 var(--ink); transform: none; }
[data-theme-style="estate"] .link-arrow { color: var(--primary); font-weight: 700; }
[data-theme-style="estate"] .actions { gap: 14px; margin-top: 32px; }

/* 4. Notice, header, navigation */
[data-theme-style="estate"] .topbar { background: var(--sun); color: var(--ink); border: 0; font-weight: 500; }
[data-theme-style="estate"] .topbar-notice a { color: var(--ink); font-weight: 700; }
[data-theme-style="estate"] .topbar-close:hover { background: rgba(21,32,43,.14); }
[data-theme-style="estate"] .site-header, [data-theme-style="estate"] .site-header.scrolled { background: #fff; border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .header-inner { gap: 28px; }
[data-theme-style="estate"] .wordmark { gap: 12px; font-family: var(--fh); font-weight: 800; font-stretch: 112%; font-size: .95rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; color: var(--ink); }
[data-theme-style="estate"] .wordmark::before { width: 36px; height: 36px; border-radius: 0; background: var(--mark) center / 100% no-repeat; box-shadow: none; }
[data-theme-style="estate"] .site-footer .wordmark { color: #fff; }
[data-theme-style="estate"] .site-nav, [data-theme-style="estate"] .site-nav > ul { gap: 22px; }
[data-theme-style="estate"] .site-nav a { color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
[data-theme-style="estate"] .site-nav a:hover { color: var(--primary); }
[data-theme-style="estate"] .site-nav > ul > li > a { padding: 8px 0; }
[data-theme-style="estate"] .site-nav > ul > li > a[aria-current="page"] { box-shadow: 0 4px 0 var(--sun); }
[data-theme-style="estate"] .site-nav a[href^="tel:"] { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
[data-theme-style="estate"] .site-nav .nav-cta { color: #fff; padding: 11px 18px; box-shadow: 3px 3px 0 var(--ink); }
[data-theme-style="estate"] .submenu { border: 2px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--ink); }
[data-theme-style="estate"] .nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 2px solid var(--ink); border-radius: var(--radius); place-items: center; background: #fff; }
[data-theme-style="estate"] .bars, [data-theme-style="estate"] .bars::before, [data-theme-style="estate"] .bars::after { width: 20px; }
[data-theme-style="estate"] .section-wrap[data-type="subnav"] { background: #fff; border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .subnav-inner { gap: 20px; }
[data-theme-style="estate"] .subnav ul { gap: 4px 30px; }
[data-theme-style="estate"] .subnav a:not(.btn) { padding: 17px 0 13px; border-bottom: 4px solid transparent; color: var(--ink-2); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
[data-theme-style="estate"] .subnav a:not(.btn):hover { color: var(--ink); }
[data-theme-style="estate"] .subnav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--sun); }
[data-theme-style="estate"] .subnav-cta { padding: 8px 16px; min-height: 40px; font-size: .72rem; box-shadow: 3px 3px 0 var(--ink); }

/* 5. Hero: oversize type left, framed tall photo on a blueprint plate right */
[data-theme-style="estate"] .hero { background: var(--bg); border-bottom: 2px solid var(--ink); padding-block: clamp(40px, 6vw, 84px) !important; overflow: visible; }
[data-theme-style="estate"] .hero::before { content: none; }
[data-theme-style="estate"] .hero.has-image .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); }
[data-theme-style="estate"] .hero h1 { max-width: none; font-size: clamp(2.3rem, .8rem + 4.2vw, 4.3rem); line-height: 1; margin-bottom: .45em; }
[data-theme-style="estate"] .hero .lede { font-size: 1.15rem; max-width: 46ch; }
[data-theme-style="estate"] .hero-media { position: relative; margin: 0 22px 22px 0; }
[data-theme-style="estate"] .hero-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; background: var(--primary); }
[data-theme-style="estate"] .hero-media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 2px solid var(--ink); border-radius: 0; background: var(--bg-2); }
[data-theme-style="estate"] .hero-points { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; color: var(--ink); font-size: .95rem; font-weight: 500; }
[data-theme-style="estate"] .hero-points li { gap: 10px; }
[data-theme-style="estate"] .hero-points .icon { width: 20px; height: 20px; padding: 3px; background: var(--primary); color: #fff; stroke-width: 3; }
[data-theme-style="estate"] .hero-points li:first-child { padding: 10px 18px 10px 12px; background: var(--sun); border: 2px solid var(--ink); font-size: 1.05rem; }
[data-theme-style="estate"] .hero-points li:first-child .icon { background: var(--ink); color: var(--sun); }
[data-theme-style="estate"] .stats { background: var(--primary); padding-block: clamp(36px, 5vw, 56px) !important; border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .stat-row { gap: 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
[data-theme-style="estate"] .stat-row > div { border-top: 4px solid var(--sun); padding-top: 14px; }
[data-theme-style="estate"] .stat-row dd { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); letter-spacing: 0; }
[data-theme-style="estate"] .stat-row dt { margin-top: 10px; color: #fff; opacity: .9; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
/* display face for numerals, prices and keys */
[data-theme-style="estate"] :is(.stat-row dd, .hero-points li:first-child, .rail-price, .hs-point button, .hs-key, .calc-range output, .calc-out dd, .timeline-list time, .feature-index, .group-title, .product-side h2) { font-family: var(--fh); font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
[data-theme-style="estate"] :is(.stat-row dd, .feature-index, .timeline-list time, .calc-monthly dd) { font-stretch: 125%; }

/* 6. Sections */
[data-theme-style="estate"] .section-wrap + .section-wrap > section { border-top: 0; }
[data-theme-style="estate"] .section-wrap:nth-of-type(even):not([data-tone]) > section:not(.hero):not(.stats):not(.cta-band) { background: #fff; }
[data-theme-style="estate"] .rail-btn { width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); }
[data-theme-style="estate"] .rail-btn:hover:not(:disabled) { background: var(--sun); border-color: var(--ink); }
[data-theme-style="estate"] .rail-track { gap: 24px; padding-bottom: 22px; scrollbar-color: var(--ink) var(--line); }
@media (min-width: 1100px) { [data-theme-style="estate"] .rail-track, [data-theme-style="estate"] .rail.card-landscape .rail-track { --rail-w: calc((min(100vw, var(--max)) - 2 * var(--gutter) - 48px) / 3); } }
[data-theme-style="estate"] .rail-card article { display: flex; flex-direction: column; height: 100%; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
[data-theme-style="estate"] .rail-media { border-radius: 0; border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .rail-body { display: flex; flex: 1; flex-direction: column; padding-top: 18px; }
[data-theme-style="estate"] .rail-body h3 { margin: 0 20px .35em; font-size: 1.15rem; }
[data-theme-style="estate"] .rail-body h3 a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
[data-theme-style="estate"] .rail-meta { margin: 0 20px 18px; color: var(--ink-2); }
[data-theme-style="estate"] .rail-price { margin: auto 0 0; padding: 12px 20px; background: var(--sun); border-top: 2px solid var(--ink); font-size: .92rem; letter-spacing: .02em; }
[data-theme-style="estate"] .rail-card article:has(a:focus-visible) { outline: 2px solid var(--primary); outline-offset: 3px; }
[data-theme-style="estate"] .rail-body h3 a:focus-visible { outline: none; }

/* Hotspots: the site plan explorer */
[data-theme-style="estate"] .hs-figure { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--bg); }
[data-theme-style="estate"] .hs-figure > img { border-radius: 0; }
[data-theme-style="estate"] :is(.hs-point button, .hs-key) { --hs-c: var(--primary); border: 2px solid #fff; border-radius: 4px; box-shadow: 0 0 0 2px var(--ink); }
[data-theme-style="estate"] .hs-point button { width: 32px; height: 32px; font-size: .8rem; }
[data-theme-style="estate"] :is(.hs-point.st-available button, .hs-item.st-available) { --hs-c: var(--st-available); }
[data-theme-style="estate"] :is(.hs-point.st-reserved button, .hs-item.st-reserved) { --hs-c: var(--st-reserved); }
[data-theme-style="estate"] :is(.hs-point.st-sold button, .hs-item.st-sold) { --hs-c: var(--st-sold); }
[data-theme-style="estate"] :is(.hs-point.st-reserved button, .hs-item.st-reserved .hs-key, .hs-item.st-reserved .hs-status) { color: var(--ink); }
[data-theme-style="estate"] .hs-point button:is(.is-active, .is-hover) { transform: scale(1.18); box-shadow: 0 0 0 2px var(--ink), 0 0 0 5px var(--sun), 0 0 0 7px var(--ink); }
[data-theme-style="estate"] .hs-legend { border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .hs-item { grid-template-columns: 36px 1fr; gap: 16px; padding: 13px 12px 13px 0; }
[data-theme-style="estate"] .hs-item.is-active { background: #fff; box-shadow: inset 6px 0 0 var(--sun); padding-left: 18px; }
[data-theme-style="estate"] :is(.hs-item:hover, .hs-item:focus-within) { background: #fff; }
[data-theme-style="estate"] .hs-key { width: 36px; height: 36px; font-size: .9rem; }
[data-theme-style="estate"] .hs-item h3 { font-size: .95rem; }
[data-theme-style="estate"] .hs-item .hs-status { padding: 2px 9px; margin-bottom: 6px; background: var(--hs-c); color: #fff; font-size: .68rem; letter-spacing: .1em; }
[data-theme-style="estate"] .hs-item .hs-status::before { content: none; }
@media (min-width: 960px) { [data-theme-style="estate"] .hotspots.legend-side .hs { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); } [data-theme-style="estate"] .hotspots.legend-side .hs-figure { position: sticky; top: 140px; } }

/* Calculator */
[data-theme-style="estate"] .calc-field { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
[data-theme-style="estate"] .calc-field :where(input:not([type="range"]), select) { min-height: 50px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; letter-spacing: 0; text-transform: none; font-weight: 500; font-variant-numeric: tabular-nums; }
[data-theme-style="estate"] .calc-range output { font-size: 1.1rem; }
[data-theme-style="estate"] .calc-range input { -webkit-appearance: none; appearance: none; height: 10px; border: 2px solid var(--ink); background: #fff; min-height: 0; }
[data-theme-style="estate"] .calc-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 30px; background: var(--sun); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
[data-theme-style="estate"] .calc-range input::-moz-range-thumb { width: 18px; height: 26px; background: var(--sun); border: 2px solid var(--ink); border-radius: 3px; cursor: pointer; }
[data-theme-style="estate"] .calc-out { background: var(--ink); color: #fff; border: 2px solid var(--ink); gap: 18px; padding: clamp(22px, 3vw, 34px); }
[data-theme-style="estate"] .calc-out dt { color: rgba(255,255,255,.82); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
[data-theme-style="estate"] .calc-out dd { color: #fff; font-weight: 700; text-transform: none; font-size: 1.35rem; }
[data-theme-style="estate"] .calc-out .calc-monthly { padding-top: 18px; border-top: 2px solid var(--sun); }
[data-theme-style="estate"] .calc-out .calc-monthly dd { color: var(--sun); font-weight: 800; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }

/* Before / after */
[data-theme-style="estate"] .ba-frame { border: 2px solid var(--ink); }
[data-theme-style="estate"] .ba-frame::after { width: 3px; margin-left: -1.5px; box-shadow: 0 0 0 1px var(--ink); }
[data-theme-style="estate"] .ba-frame:has(.ba-range:not([hidden]))::before { border-radius: 4px; border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
[data-theme-style="estate"] .ba-tag { bottom: 0; padding: 7px 12px; font-size: .72rem; letter-spacing: .1em; }
[data-theme-style="estate"] .ba-tag-before { left: 0; }
[data-theme-style="estate"] .ba-tag-after { right: 0; background: var(--sun); color: var(--ink); }

/* Features, services, process, split, gallery, timeline */
[data-theme-style="estate"] .feature-grid { gap: 28px; }
[data-theme-style="estate"] .feature-grid li, [data-theme-style="estate"] .feature-grid.cols-3 li:nth-child(3n+2), [data-theme-style="estate"] .feature-grid.cols-4 li:nth-child(even), [data-theme-style="estate"] .feature-grid.cols-2 li:nth-child(even) { border-top: 2px solid var(--ink); padding-top: 18px; }
[data-theme-style="estate"] .feature-index { color: var(--primary); opacity: 1; font-size: 2rem; }
[data-theme-style="estate"] .icon-tile { width: 48px; height: 48px; margin-bottom: 14px; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); }
[data-theme-style="estate"] .feature-grid.has-photos { gap: 24px; }
[data-theme-style="estate"] .feature-grid.has-photos li.has-photo { padding: 0; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
[data-theme-style="estate"] .feature-grid.has-photos .card-photo { border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .feature-grid.has-photos li.has-photo .card-body { padding: 20px 22px 24px; }
[data-theme-style="estate"] .section-wrap[data-look~="spec"] .feature-grid { display: block; border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .section-wrap[data-look~="spec"] .feature-grid li { display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 4px 20px; padding: 14px 0; border-top: 1px solid var(--line); }
[data-theme-style="estate"] .section-wrap[data-look~="spec"] .feature-grid li:first-child { border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .section-wrap[data-look~="spec"] .icon-tile { width: 44px; height: 44px; margin: 0; }
[data-theme-style="estate"] .section-wrap[data-look~="spec"] .feature-grid h3 { margin: 0; }
[data-theme-style="estate"] .section-wrap[data-look~="spec"] .feature-grid p { margin: 0; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
[data-theme-style="estate"] .service-list { border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .process-list::before { height: 2px; background: var(--ink); top: 20px; }
[data-theme-style="estate"] .process-list li::before { font-family: var(--fh); font-weight: 800; font-stretch: 112%; width: 40px; height: 40px; border-radius: 4px; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); margin-bottom: 14px; }
[data-theme-style="estate"] .process-list h3 { font-size: .95rem; }
[data-theme-style="estate"] .split-media img { border: 2px solid var(--ink); border-radius: 0; }
[data-theme-style="estate"] .split:not(.split-bleed) .split-media { position: relative; margin: 0 16px 16px 0; }
[data-theme-style="estate"] .split:not(.split-bleed) .split-media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; background: var(--sun); }
[data-theme-style="estate"] .split:not(.split-bleed) .split-media img { position: relative; }
[data-theme-style="estate"] .split-bleed { border-block: 2px solid var(--ink); }
[data-theme-style="estate"] .split-bleed .split-media img { border: 0; border-right: 2px solid var(--ink); }
[data-theme-style="estate"] .split-bleed.image-right .split-media img { border-right: 0; border-left: 2px solid var(--ink); }
[data-theme-style="estate"] .gallery-grid { gap: 16px; }
[data-theme-style="estate"] .gallery-grid img { border: 2px solid var(--ink); border-radius: var(--radius); }
[data-theme-style="estate"] .gallery-grid figcaption { left: 0; bottom: 0; max-width: 90%; padding: 6px 12px; background: var(--sun); border-radius: 0; font-size: .78rem; font-weight: 700; letter-spacing: .04em; border: 2px solid var(--ink); border-left: 0; border-bottom: 0; }
@media (min-width: 721px) { [data-theme-style="estate"] .gallery-grid.layout-grid.n5 { grid-template-columns: repeat(6, 1fr); } [data-theme-style="estate"] .gallery-grid.layout-grid.n5 li:nth-child(-n+3) { grid-column: span 2; } [data-theme-style="estate"] .gallery-grid.layout-grid.n5 li:nth-child(n+4) { grid-column: span 3; } }
[data-theme-style="estate"] .timeline-list { border-left: 2px solid var(--ink); max-width: 920px; margin-left: 8px; }
[data-theme-style="estate"] .timeline-list li::before { left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 0; background: var(--sun); border: 2px solid var(--ink); }
[data-theme-style="estate"] .timeline-list time { color: var(--primary); font-size: .95rem; }
[data-theme-style="estate"] .timeline-list.has-photos .tl-photo { border: 2px solid var(--ink); }

/* 7. Page header, products, posts, FAQ, CTA */
[data-theme-style="estate"] .page-header { background: #fff; border-bottom: 2px solid var(--ink); padding-block: clamp(32px, 5vw, 60px); }
[data-theme-style="estate"] .page-header::before { content: ""; display: block; height: 8px; margin: calc(-1 * clamp(32px, 5vw, 60px)) 0 clamp(28px, 4vw, 48px); background: var(--sun); }
[data-theme-style="estate"] .page-header h1 { max-width: 20ch; font-size: clamp(2rem, 1rem + 3.6vw, 3.8rem); }
[data-theme-style="estate"] .breadcrumb ol { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
[data-theme-style="estate"] .breadcrumb :is(ol, a) { color: var(--ink-2); }
[data-theme-style="estate"] .breadcrumb a:hover { color: var(--primary); }
[data-theme-style="estate"] .product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
[data-theme-style="estate"] .product-grid > li { max-width: none; min-width: 0; }
[data-theme-style="estate"] :is(.product-card, .post-card) { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
[data-theme-style="estate"] :is(.product-thumb, .post-thumb) { margin: 0; border-radius: 0; border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .product-thumb { aspect-ratio: 4 / 3; }
[data-theme-style="estate"] .product-thumb img { object-position: 50% 55%; }
[data-theme-style="estate"] .product-body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
[data-theme-style="estate"] .product-card .eyebrow { align-self: flex-start; padding: 3px 10px; background: var(--sun); color: var(--ink); font-size: .68rem; margin-bottom: 14px; }
[data-theme-style="estate"] .product-card .eyebrow::before { content: none; }
[data-theme-style="estate"] .product-card h3 { font-size: 1.15rem; }
[data-theme-style="estate"] :is(.product-card, .post-card) h3 a::after { content: ""; position: absolute; inset: 0; }
[data-theme-style="estate"] :is(.product-card, .post-card) h3 a:hover { color: var(--primary); }
[data-theme-style="estate"] .product-tagline { color: var(--ink-2); font-weight: 500; }
[data-theme-style="estate"] .group-title { color: var(--ink); border-bottom: 2px solid var(--ink); font-weight: 700; }
[data-theme-style="estate"] .product-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); }
[data-theme-style="estate"] .product-hero { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--bg-2); }
[data-theme-style="estate"] .product-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 55%; }
[data-theme-style="estate"] .product-side { top: 98px; }
[data-theme-style="estate"] .product-side section:first-child { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px 22px 8px; }
[data-theme-style="estate"] .product-side h2 { color: var(--ink); font-size: .85rem; letter-spacing: .1em; margin-bottom: 8px; }
[data-theme-style="estate"] .feature-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
[data-theme-style="estate"] .feature-list li:first-child { border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .feature-list strong { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
[data-theme-style="estate"] .feature-list span { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
[data-theme-style="estate"] .product-contact .btn { width: 100%; }
[data-theme-style="estate"] .related { border-top: 2px solid var(--ink); background: #fff; }
[data-theme-style="estate"] .post-grid { gap: 24px; }
[data-theme-style="estate"] .post-grid li { height: 100%; }
[data-theme-style="estate"] .post-card { padding: 0 0 22px; height: 100%; }
[data-theme-style="estate"] .post-thumb { margin-bottom: 16px; }
[data-theme-style="estate"] .post-card > :not(.post-thumb) { margin-inline: 22px; }
[data-theme-style="estate"] .post-meta { align-items: center; color: var(--ink-2); font-variant-numeric: tabular-nums; }
[data-theme-style="estate"] .post-cat { padding: 2px 10px; background: var(--sun); color: var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
[data-theme-style="estate"] .post-card h3 { font-stretch: 100%; text-transform: none; font-size: 1.15rem; letter-spacing: -.005em; }
[data-theme-style="estate"] .post-list li + li { border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .post-cover { border: 2px solid var(--ink); border-radius: var(--radius); }
[data-theme-style="estate"] .pagination { color: var(--ink); font-weight: 700; }
[data-theme-style="estate"] .faq-list details { border-top: 1px solid var(--line); }
[data-theme-style="estate"] .faq-list details:first-child { border-top: 2px solid var(--ink); }
[data-theme-style="estate"] .faq-list details:last-child { border-bottom: 2px solid var(--ink); }
[data-theme-style="estate"] .faq-list summary { align-items: center; padding: 20px 0; font-weight: 700; font-size: 1.05rem; }
[data-theme-style="estate"] .faq-list summary::after, [data-theme-style="estate"] .faq-list details[open] summary::after { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--sun); color: var(--ink); font-size: 1.2rem; font-weight: 700; line-height: 1; }
[data-theme-style="estate"] .cta-band { background: var(--ink); border-top: 8px solid var(--sun); padding-block: clamp(44px, 6vw, 80px) !important; }
[data-theme-style="estate"] .cta-band::before { content: none; }
[data-theme-style="estate"] .cta-band h2 { font-size: clamp(1.7rem, 1rem + 2.6vw, 3rem); max-width: 18ch; }
[data-theme-style="estate"] .cta-band p, [data-theme-style="estate"] .cta-note { color: rgba(255,255,255,.86) !important; max-width: 60ch; }

/* 8. Contact and forms */
[data-theme-style="estate"] :is(.contact-form label, .enq-field) { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
[data-theme-style="estate"] :is(.contact-form input, .contact-form textarea, .enq-field :where(input, select)) { min-height: 48px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 1rem; }
[data-theme-style="estate"] :is(.contact-form input, .contact-form textarea)::placeholder { color: var(--ink-2); opacity: 1; }
[data-theme-style="estate"] :is(.contact-form input, .contact-form textarea):focus { outline: 2px solid var(--primary); outline-offset: 2px; border-color: var(--ink); }
[data-theme-style="estate"] .contact-aside { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px; }
[data-theme-style="estate"] .contact-grid > * { min-width: 0; }
[data-theme-style="estate"] .contact-form :is(.field-row, label) { min-width: 0; }
[data-theme-style="estate"] .contact-details dd { overflow-wrap: anywhere; }
[data-theme-style="estate"] .contact-details dt { color: var(--ink-2); font-weight: 700; }
[data-theme-style="estate"] .form-notice { border: 2px solid currentColor; }
[data-theme-style="estate"] .enquiry.layout-card .enquiry-form { background: #fff; border: 2px solid var(--ink); border-top: 8px solid var(--sun); padding: clamp(22px, 3vw, 36px); }

/* 9. Footer and floating chat button */
[data-theme-style="estate"] .site-footer { background: var(--ink); color: rgba(255,255,255,.84); border-top: 8px solid var(--sun); }
[data-theme-style="estate"] .footer-col h2 { color: var(--sun); font-size: .74rem; letter-spacing: .14em; }
[data-theme-style="estate"] :is(.footer-col a, .footer-contact a, .social a) { color: #fff; }
[data-theme-style="estate"] :is(.footer-col a, .footer-contact a, .social a, .footer-bottom a):hover { color: var(--sun); }
[data-theme-style="estate"] .footer-bottom { border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.74); }
[data-theme-style="estate"] .float-cta { height: 54px; padding: 0 22px 0 18px; background: var(--sun); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
[data-theme-style="estate"] .float-cta:hover { background: #fff; color: var(--ink); }

/* 10. Responsive */
@media (max-width: 1180px) {
  [data-theme-style="estate"] .nav-toggle { display: grid; }
  [data-theme-style="estate"] .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 2px solid var(--ink); padding: 8px var(--gutter) 22px; gap: 12px; max-height: calc(100vh - 74px); overflow-y: auto; }
  [data-theme-style="estate"] .nav-open .site-nav { display: flex; }
  [data-theme-style="estate"] .site-nav > ul { flex-direction: column; gap: 0; }
  [data-theme-style="estate"] .site-nav > ul > li > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  [data-theme-style="estate"] .site-nav > ul > li > a[aria-current="page"] { box-shadow: none; color: var(--primary); }
  [data-theme-style="estate"] .submenu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px 16px; }
  [data-theme-style="estate"] .nav-cta { justify-content: center; margin-top: 8px; }
}
@media (max-width: 1100px) { [data-theme-style="estate"] .product-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 960px) {
  [data-theme-style="estate"] .hero.has-image .hero-grid, [data-theme-style="estate"] .product-layout { grid-template-columns: 1fr; }
  [data-theme-style="estate"] .hero-media { max-width: 520px; width: calc(100% - 22px); }
  [data-theme-style="estate"] .hero-media img { aspect-ratio: 4 / 3; }
  [data-theme-style="estate"] .product-grid, [data-theme-style="estate"] .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-theme-style="estate"] .product-side { position: static; }
  [data-theme-style="estate"] .subnav-cta { display: none; }
}
@media (max-width: 720px) {
  [data-theme-style="estate"] :is(.product-grid, .post-grid, .feature-grid.cols-2) { grid-template-columns: 1fr; }
  [data-theme-style="estate"] .stat-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  [data-theme-style="estate"] .hs-point button { width: 28px; height: 28px; font-size: .7rem; }
  [data-theme-style="estate"] .hs-figure { overflow: hidden; }
  [data-theme-style="estate"] .float-cta { width: 56px; height: 56px; padding: 0; }
  [data-theme-style="estate"] .page-header h1 { font-size: clamp(1.7rem, 1rem + 4.6vw, 2.4rem); }
  [data-theme-style="estate"] .split:not(.split-bleed) .split-media { margin: 0 12px 12px 0; }
  [data-theme-style="estate"] .split:not(.split-bleed) .split-media::before { inset: 12px -12px -12px 12px; }
  [data-theme-style="estate"] .section-wrap[data-look~="spec"] .feature-grid li { grid-template-columns: 48px minmax(0, 1fr); }
  [data-theme-style="estate"] .section-wrap[data-look~="spec"] .feature-grid p { grid-column: 2; }
}
@media (max-width: 420px) {
  [data-theme-style="estate"] .hs-point button { width: 24px; height: 24px; font-size: .62rem; border-width: 1px; box-shadow: 0 0 0 1px var(--ink); }
  [data-theme-style="estate"] .wordmark { font-size: .82rem; gap: 8px; }
  [data-theme-style="estate"] .wordmark::before { width: 30px; height: 30px; }
  [data-theme-style="estate"] .hero h1 { font-size: 2.05rem; }
}

/* 11. Motion */
@media (prefers-reduced-motion: no-preference) {
  :root:not([data-motion="off"])[data-theme-style="estate"] .btn { transition: background .2s, color .2s, transform .2s, box-shadow .2s; }
  :root:not([data-motion="off"])[data-theme-style="estate"] .btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
  :root:not([data-motion="off"])[data-theme-style="estate"] .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
  :root:not([data-motion="off"])[data-theme-style="estate"] :is(.rail-card article, .product-card, .post-card) { transition: transform .2s ease, border-color .2s; }
  :root:not([data-motion="off"])[data-theme-style="estate"] :is(.rail-card:hover article, .product-card:hover, .post-card:hover) { transform: translateY(-4px); border-color: var(--primary); }
  :root:not([data-motion="off"])[data-theme-style="estate"] :is(.product-card:hover .product-thumb img, .post-card:hover .post-thumb img) { transform: none; }
  :root:not([data-motion="off"])[data-theme-style="estate"] .hs-item { transition: background .2s, padding .2s, box-shadow .2s; }
  :root:not([data-motion="off"])[data-theme-style="estate"] .subnav a:not(.btn) { transition: border-color .2s, color .2s; }
}

/* 12. Print */
@media print { [data-theme-style="estate"] :is(.topbar, .site-header, .site-footer, .float-cta, .section-wrap[data-type="subnav"], .rail-nav) { display: none !important; } [data-theme-style="estate"] body { background: #fff; } }
/* Wide screens: keep the table full width inside its frame; scroll only on narrow screens */
@media (min-width: 641px) { [data-theme-style="estate"] .prose table { display: table; width: 100%; } }
