@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;700&display=swap');

/* ========================================================================
   EDITORIAL — paper, ink and an architectural vermilion accent

   The renderer emits a shared DOM for all templates. Every rule below is
   scoped to this template root and uses production classes, not mockup
   helper classes.
   ======================================================================== */

/* ---- Contract tokens -------------------------------------------------- */

html[data-template="editorial"] {
  --tpl-surface: #ece7dc;
  --tpl-status-available-bg: transparent;
  --tpl-status-available-fg: #3f6b45;
  --tpl-status-reserved-bg: transparent;
  --tpl-status-reserved-fg: #85651b;
  --tpl-status-sold-bg: transparent;
  --tpl-status-sold-fg: #6a645b;
  --tpl-table-head-bg: #121110;
  --tpl-table-head-fg: #f6f3ec;
  --tpl-hero-ink: #121110;
  --tpl-hero-sub: var(--color-accent);
  --tpl-hero-title: #121110;
  --tpl-hero-tag: #121110;
  --tpl-hero-rule: rgba(18, 17, 16, 0.42);
  --tpl-hero-dot: var(--color-accent);
  --tpl-danger: #9b2c1c;
  --tpl-label-bg: #121110;
  --tpl-label-fg: #f6f3ec;
  --tpl-cta-bg: #121110;
  --tpl-cta-ink: #f6f3ec;
  --tpl-cta-button-bg: var(--color-accent);
  --tpl-cta-button-ink: #fffaf2;
  --tpl-cta-button-border: var(--color-accent);
  --tpl-cta-button-hover-bg: #f6f3ec;
  --tpl-cta-button-hover-ink: #121110;
}

/* Inline branding is written on html. Body is the deliberate override
   scope; --color-accent remains owned by the project config. */
html[data-template="editorial"] body {
  --color-primary: #121110;
  --color-primary-rgb: 18, 17, 16;
  --font-heading: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --color-text: #121110;
  --color-text-muted: #6a645b;
  --color-text-light: #8b8479;
  --color-bg: #f6f3ec;
  --color-bg-alt: #ece7dc;
  --color-border: rgba(18, 17, 16, 0.2);
  --color-status-available: #3f6b45;
  --color-status-reserved: #85651b;
  --color-status-sold: #6a645b;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 9rem;
  --container-max: 1320px;
  --nav-height: 96px;
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

html[data-template="editorial"] #main {
  counter-reset: editorial-section;
  background: var(--color-bg);
}

html[data-template="editorial"] h1,
html[data-template="editorial"] h2,
html[data-template="editorial"] h3,
html[data-template="editorial"] h4,
html[data-template="editorial"] h5,
html[data-template="editorial"] h6 {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-weight: 400;
}

html[data-template="editorial"] a {
  color: var(--color-text);
}

html[data-template="editorial"] a:hover {
  color: var(--color-accent);
}

html[data-template="editorial"] .section,
html[data-template="editorial"] .section:nth-child(even) {
  padding: 110px 0;
  background: var(--color-bg);
}

html[data-template="editorial"] .section > .container,
html[data-template="editorial"] .site-footer .footer-content {
  width: 100%;
  max-width: var(--container-max);
  box-sizing: border-box;
  padding-right: 48px;
  padding-left: 48px;
}

html[data-template="editorial"] .section-headline {
  counter-increment: editorial-section;
  margin: 0 0 46px;
  padding-top: 14px;
  border-top: 2px solid var(--color-text);
  color: var(--color-text);
  font-size: clamp(3.5rem, 5.28vw, 4.75rem);
  font-weight: 400;
  letter-spacing: -0.028em;
  line-height: 0.94;
  text-align: left;
}

html[data-template="editorial"] .section-headline::before {
  display: block;
  margin-bottom: 14px;
  color: var(--color-accent);
  content: counter(editorial-section, decimal-leading-zero);
  font-family: var(--font-heading);
  font-size: 46px;
  letter-spacing: -0.02em;
  line-height: 1;
}

html[data-template="editorial"] .section-headline::after {
  display: none;
}

html[data-template="editorial"] .reveal.revealed {
  transform: none !important;
}

/* ---- Navigation ------------------------------------------------------- */

html[data-template="editorial"] .site-nav {
  position: relative;
  z-index: 10;
  height: 96px;
  border-bottom: 2px solid #121110;
  background: var(--color-bg);
  box-shadow: none;
}

/* The screenshot harness pins every nav to absolute positioning for other
   skins. Editorial's reference composition keeps the nav in normal flow. */
html[data-template="editorial"] .site-nav {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
}

html[data-template="editorial"] .site-nav.nav-scrolled {
  background: var(--color-bg);
  border-bottom-color: #121110;
  box-shadow: none;
}

html[data-template="editorial"] .nav-inner {
  display: flex;
  align-items: baseline;
  width: 100%;
  max-width: var(--container-max);
  box-sizing: border-box;
  padding: 0 48px;
}

html[data-template="editorial"] .nav-brand,
html[data-template="editorial"] .nav-scrolled .nav-brand {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

html[data-template="editorial"] .nav-menu {
  gap: 28px;
  margin-left: auto;
}

html[data-template="editorial"] .nav-menu a,
html[data-template="editorial"] .nav-scrolled .nav-menu a {
  padding: 0;
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-template="editorial"] .nav-menu a::after {
  height: 1px;
  background: var(--color-accent);
}

html[data-template="editorial"] .nav-menu a:hover,
html[data-template="editorial"] .nav-menu a.nav-active,
html[data-template="editorial"] .nav-scrolled .nav-menu a.nav-active {
  color: var(--color-accent);
}

html[data-template="editorial"] .nav-hamburger span,
html[data-template="editorial"] .nav-scrolled .nav-hamburger span {
  background: var(--color-text);
}

/* ---- Hero ------------------------------------------------------------- */

html[data-template="editorial"] .section-hero {
  position: relative;
  display: block;
  height: 760px;
  min-height: 0;
  overflow: visible;
  padding: 0;
  background: var(--color-bg);
}

html[data-template="editorial"] .hero-bg-image {
  position: absolute;
  top: 72px;
  right: 0;
  left: auto;
  width: min(780px, 54.2vw);
  height: 600px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(0.25) contrast(1.06);
  overflow: hidden;
}

html[data-template="editorial"] .hero-bg-video {
  filter: grayscale(0.25) contrast(1.06);
}

html[data-template="editorial"] .hero-overlay {
  display: none;
}

html[data-template="editorial"] .hero-content.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
  padding: 150px max(48px, calc((100vw - var(--container-max)) / 2 + 48px)) 0 !important;
  color: var(--tpl-hero-ink);
  text-align: left;
}

html[data-template="editorial"] .hero-subtitle {
  display: block;
  margin: 0 0 18px;
  color: var(--tpl-hero-sub);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

html[data-template="editorial"] .hero-title {
  max-width: 8ch;
  margin: 0 0 30px;
  color: var(--tpl-hero-title);
  font-family: var(--font-heading);
  font-size: 168px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.84;
}

html[data-template="editorial"] .hero-tagline {
  max-width: 34ch;
  margin: 0 0 36px;
  padding: 4px 0;
  color: var(--tpl-hero-tag);
  background: var(--color-bg);
  font-size: 17px;
  line-height: 1.55;
}

html[data-template="editorial"] .hero-cta,
html[data-template="editorial"] .hero-cta.btn {
  display: inline-flex;
  padding: 16px 38px;
  border: 1px solid var(--color-accent);
  border-radius: 0;
  background: var(--color-accent);
  color: #fffaf2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

html[data-template="editorial"] .hero-cta:hover,
html[data-template="editorial"] .hero-cta.btn:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: #fffaf2;
  filter: none;
}

html[data-template="editorial"] .hero-scroll-indicator {
  position: absolute;
  bottom: 42px;
  left: max(48px, calc((100vw - var(--container-max)) / 2 + 48px));
  color: var(--color-text-muted);
  font-size: 0;
  letter-spacing: 0.3em;
  line-height: 1;
  text-transform: uppercase;
}

html[data-template="editorial"] .hero-scroll-indicator > span {
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: transparent;
  font-size: 0;
}

html[data-template="editorial"] .hero-scroll-indicator > span::after {
  position: static;
  display: block;
  width: auto;
  height: auto;
  content: 'SCROLL';
  background: none;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1;
  transform: none;
}

/* ---- Text-image ------------------------------------------------------- */

html[data-template="editorial"] .section-text-image {
  padding-top: 0;
  background: var(--color-bg);
}

html[data-template="editorial"] .section-text-image > .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 64px;
  align-items: start;
}

html[data-template="editorial"] .section-text-image > .container > .section-headline {
  grid-column: 1;
  margin: 0 0 24px;
}

html[data-template="editorial"] .section-text-image > .container > .text-image-row {
  grid-column: 1 / -1;
}

html[data-template="editorial"] .text-image-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

html[data-template="editorial"] .text-image-row.layout-text-right {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

html[data-template="editorial"] .text-image-row.layout-text-right .text-image-text {
  order: 2;
}

html[data-template="editorial"] .text-image-row.layout-text-right .text-image-images {
  order: 1;
}

html[data-template="editorial"] .text-image-row.layout-text-center {
  grid-template-columns: 1fr;
  text-align: center;
}

html[data-template="editorial"] .text-image-text {
  min-width: 0;
}

html[data-template="editorial"] .text-image-text p {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.85;
}

html[data-template="editorial"] .text-image-text p:first-of-type {
  margin-top: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.35;
}

html[data-template="editorial"] .text-image-images {
  display: flex;
  min-width: 0;
  margin-top: -180px;
  gap: 8px;
  overflow: visible;
}

html[data-template="editorial"] .text-image-images picture,
html[data-template="editorial"] .text-image-images > img,
html[data-template="editorial"] .text-image-images picture img {
  display: block;
  width: 100%;
  height: 620px;
  min-height: 620px;
  flex: 1;
  border-radius: 0;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.06);
}

html[data-template="editorial"] .text-image-row.layout-text-center .text-image-text {
  max-width: 60rem;
  margin: 0 auto;
}

html[data-template="editorial"] .text-image-row.layout-text-center .text-image-images {
  margin-top: 48px;
}

/* ---- Location --------------------------------------------------------- */

html[data-template="editorial"] .location-row,
html[data-template="editorial"] .profile-row,
html[data-template="editorial"] .contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

html[data-template="editorial"] .location-map iframe,
html[data-template="editorial"] .location-map-img {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0 !important;
  border-radius: 0;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.04);
}

html[data-template="editorial"] .location-map-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-template="editorial"] .location-desc,
html[data-template="editorial"] .financing-subtitle,
html[data-template="editorial"] .profile-desc {
  max-width: 55ch;
  margin: 0 0 32px;
  color: var(--color-text-muted);
  font-size: 17px;
  line-height: 1.8;
}

html[data-template="editorial"] .distances-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--color-border);
}

html[data-template="editorial"] .distance-card {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

html[data-template="editorial"] .distance-card:nth-child(odd) {
  margin-right: 24px;
}

html[data-template="editorial"] .distance-place {
  margin-bottom: 4px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-template="editorial"] .distance-value {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 400;
}

html[data-template="editorial"] .distance-time {
  color: var(--color-text-light);
  font-size: 12px;
}

html[data-template="editorial"] .location-highlights {
  display: grid;
  gap: 12px;
}

html[data-template="editorial"] .highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 14px;
}

html[data-template="editorial"] .highlight-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ---- Benefits and stats ---------------------------------------------- */

html[data-template="editorial"] .benefits-grid,
html[data-template="editorial"] .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-border);
}

html[data-template="editorial"] .benefit-card,
html[data-template="editorial"] .stat-card,
html[data-template="editorial"] .stat-card.stat-card-wide {
  grid-column: auto;
  min-width: 0;
  padding: 32px 24px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

html[data-template="editorial"] .benefit-card:first-child,
html[data-template="editorial"] .stat-card:first-child {
  border-left: 1px solid var(--color-border);
}

html[data-template="editorial"] .benefit-icon {
  width: auto;
  height: auto;
  justify-content: flex-start;
  margin: 0 0 20px;
  border-radius: 0;
  background: transparent;
  color: var(--color-accent);
}

html[data-template="editorial"] .benefit-icon svg {
  width: 32px;
  height: 32px;
}

html[data-template="editorial"] .benefit-title {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 22px;
  font-weight: 400;
}

html[data-template="editorial"] .benefit-desc,
html[data-template="editorial"] .feature-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

html[data-template="editorial"] .stats-grid {
  margin-bottom: 40px;
}

html[data-template="editorial"] .stat-value {
  margin-bottom: 8px;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

html[data-template="editorial"] .stat-label {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-template="editorial"] .stats-extras {
  max-width: 560px;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
}

html[data-template="editorial"] .extras-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

html[data-template="editorial"] .extras-label {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .extras-price {
  color: var(--color-accent);
}

/* ---- Units ------------------------------------------------------------ */

html[data-template="editorial"] .section-units {
  background: var(--color-bg-alt);
}

html[data-template="editorial"] .section-units > .container {
  max-width: 1320px;
}

html[data-template="editorial"] .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: flex-start;
  margin: -12px 0 34px;
}

html[data-template="editorial"] .filter-select {
  min-width: min(190px, 100%);
  padding: 9px 28px 9px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  outline: 0;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-template="editorial"] .filter-select:focus {
  border-bottom-color: var(--color-accent);
}

html[data-template="editorial"] .units-table-wrap {
  display: none !important;
  overflow-x: auto;
  box-shadow: none;
}

html[data-template="editorial"] .units-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html[data-template="editorial"] .units-table thead {
  background: var(--tpl-table-head-bg);
  color: var(--tpl-table-head-fg);
}

html[data-template="editorial"] .units-table th {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--tpl-table-head-fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: left;
  text-transform: uppercase;
}

html[data-template="editorial"] .units-table td {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  text-align: left;
}

html[data-template="editorial"] .units-table tbody td:first-child {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 22px;
}

html[data-template="editorial"] .units-table tbody td:has(+ td > .status-badge) {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 24px;
}

html[data-template="editorial"] .units-table .status-badge {
  display: inline-block;
  padding: 0;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

html[data-template="editorial"] .units-cards-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
}

html[data-template="editorial"] .unit-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 8px 24px;
  min-width: 0;
  padding: 26px 0 22px;
  border: 0;
  border-top: 1px solid rgba(18, 17, 16, 0.22);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

html[data-template="editorial"] .unit-card:hover {
  box-shadow: none;
}

html[data-template="editorial"] .unit-card-header {
  display: contents;
}

html[data-template="editorial"] .unit-card-header .unit-card-label {
  grid-column: 1;
  grid-row: 1;
}

html[data-template="editorial"] .unit-card-header .status-badge {
  position: absolute;
  right: 0;
  bottom: 22px;
}

html[data-template="editorial"] .unit-card-header > .status-badge {
  grid-column: 2;
  grid-row: 2;
}

html[data-template="editorial"] .unit-card-header:not(:has(.unit-card-label)) {
  display: block;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding: 0;
  border: 0;
}

html[data-template="editorial"] .unit-card-label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

html[data-template="editorial"] .unit-card-body {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 18px;
}

html[data-template="editorial"] .unit-card-disp {
  display: inline;
  margin: 0 18px 0 0;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-template="editorial"] .unit-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

html[data-template="editorial"] .unit-card-details > div {
  display: flex;
  gap: 4px;
  align-items: baseline;
  text-align: left;
}

html[data-template="editorial"] .unit-card-details small {
  display: none;
}

html[data-template="editorial"] .unit-card-details span {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 700;
}

html[data-template="editorial"] .unit-card-footer {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  padding: 0;
  border: 0;
  text-align: right;
}

html[data-template="editorial"] .unit-card-price {
  display: block;
  margin-bottom: 8px;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

html[data-template="editorial"] .status-badge {
  display: inline-block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

html[data-template="editorial"] .unit-card.status-sold {
  opacity: 0.45;
}

/* ---- Floor plans and standards --------------------------------------- */

html[data-template="editorial"] .tabs {
  justify-content: flex-start;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}

html[data-template="editorial"] .tab-btn {
  padding: 11px 18px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-template="editorial"] .tab-btn:hover,
html[data-template="editorial"] .tab-btn.active {
  border-bottom-color: var(--color-accent);
  background: transparent;
  color: var(--color-accent);
}

html[data-template="editorial"] .floor-plan-display {
  margin: 32px 0 24px;
  padding: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  text-align: center;
}

html[data-template="editorial"] .floor-plan-img {
  max-height: 544px;
  border: 0;
  border-radius: 0;
}

html[data-template="editorial"] .floor-plan-download {
  display: inline-flex;
}

html[data-template="editorial"] .standards-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--color-border);
  background: var(--color-border);
}

html[data-template="editorial"] .standard-item {
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--color-bg);
}

html[data-template="editorial"] .standard-item h4 {
  margin-bottom: 8px;
  color: var(--color-text);
  font-size: 26px;
  font-weight: 400;
}

html[data-template="editorial"] .standard-item p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

html[data-template="editorial"] .standard-images {
  gap: 10px;
}

html[data-template="editorial"] .standard-images picture,
html[data-template="editorial"] .standard-images img {
  display: block;
  max-height: 192px;
  border-radius: 0;
  object-fit: cover;
}

/* ---- Timeline --------------------------------------------------------- */

html[data-template="editorial"] .timeline-track {
  gap: 0;
  padding: 32px 0;
}

html[data-template="editorial"] .timeline-track::before {
  top: calc(32px + 11px);
  height: 1px;
  background: var(--color-border);
}

html[data-template="editorial"] .timeline-item {
  min-width: 0;
}

html[data-template="editorial"] .timeline-dot {
  width: 18px;
  height: 18px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

html[data-template="editorial"] .timeline-done .timeline-dot,
html[data-template="editorial"] .timeline-active .timeline-dot {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: none;
}

html[data-template="editorial"] .timeline-pending .timeline-dot {
  border-color: var(--color-border);
  background: var(--color-bg);
}

html[data-template="editorial"] .timeline-date {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

html[data-template="editorial"] .timeline-label {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ---- Financing -------------------------------------------------------- */

html[data-template="editorial"] .financing-blocks {
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0;
  border-top: 1px solid var(--color-border);
}

html[data-template="editorial"] .financing-block {
  min-width: 0;
  padding: 28px 24px;
  border: 0;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

html[data-template="editorial"] .financing-block:hover {
  box-shadow: none;
}

html[data-template="editorial"] .financing-percent {
  margin-bottom: 10px;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

html[data-template="editorial"] .financing-percent--fixed,
html[data-template="editorial"] .financing-percent--custom {
  font-size: clamp(2rem, 4vw, 3rem);
}

html[data-template="editorial"] .financing-label {
  margin-bottom: 6px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
}

html[data-template="editorial"] .financing-note {
  color: var(--color-text-muted);
  font-size: 14px;
}

html[data-template="editorial"] .financing-calculator {
  max-width: 720px;
  margin: 80px 0 0;
  padding: 32px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg-alt);
}

html[data-template="editorial"] .financing-calc-title {
  color: var(--color-text);
  font-size: 28px;
  font-weight: 400;
}

html[data-template="editorial"] .financing-calc-controls label {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .financing-unit-select {
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg-alt);
  color: var(--color-text);
}

html[data-template="editorial"] .financing-unit-select:focus {
  border-bottom-color: var(--color-accent);
}

html[data-template="editorial"] .financing-calc-row {
  border-bottom-color: var(--color-border);
}

html[data-template="editorial"] .financing-calc-total {
  border-top-color: var(--color-text);
}

html[data-template="editorial"] .financing-calc-disclaimer {
  color: var(--color-text-light);
}

/* ---- Profile and gallery --------------------------------------------- */

html[data-template="editorial"] .profile-logo {
  max-height: 64px;
  margin-bottom: 18px;
  filter: grayscale(1);
}

html[data-template="editorial"] .profile-name {
  margin-bottom: 5px;
  color: var(--color-text);
  font-size: 32px;
  font-weight: 400;
}

html[data-template="editorial"] .profile-subtitle {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
}

html[data-template="editorial"] .profile-highlights {
  gap: 12px;
}

html[data-template="editorial"] .profile-highlights li {
  color: var(--color-text-muted);
  font-size: 14px;
}

html[data-template="editorial"] .profile-highlights li svg {
  color: var(--color-accent);
}

html[data-template="editorial"] .profile-image picture,
html[data-template="editorial"] .profile-image img {
  display: block;
  width: 100%;
  border-radius: 0;
  filter: grayscale(0.25) contrast(1.04);
  object-fit: cover;
}

html[data-template="editorial"] .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

html[data-template="editorial"] .gallery-item {
  border-radius: 0;
}

html[data-template="editorial"] .gallery-item:hover .gallery-img {
  filter: grayscale(0.25) contrast(1.06);
}

html[data-template="editorial"] .gallery-img {
  filter: grayscale(0.25) contrast(1.06);
}

/* ---- Contact and custom sections ------------------------------------- */

html[data-template="editorial"] .contact-form,
html[data-template="editorial"] .contact-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg-alt);
}

html[data-template="editorial"] .form-group label {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-template="editorial"] .form-group input,
html[data-template="editorial"] .form-group select,
html[data-template="editorial"] .form-group textarea {
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
}

html[data-template="editorial"] .form-group input:focus,
html[data-template="editorial"] .form-group select:focus,
html[data-template="editorial"] .form-group textarea:focus {
  border-color: var(--color-accent);
}

html[data-template="editorial"] .form-success {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .form-success h3 {
  color: var(--color-text);
}

html[data-template="editorial"] .contact-people {
  gap: 1px;
  background: var(--color-border);
}

html[data-template="editorial"] .contact-card {
  border: 0;
  background: var(--color-bg-alt);
}

html[data-template="editorial"] .contact-photo {
  border-radius: 0;
  filter: grayscale(0.25);
}

html[data-template="editorial"] .contact-name {
  color: var(--color-text);
  font-size: 24px;
  font-weight: 400;
}

html[data-template="editorial"] .contact-link {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .contact-link:hover {
  color: var(--color-accent);
}

html[data-template="editorial"] .features-image-row,
html[data-template="editorial"] .two-columns-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

html[data-template="editorial"] .features-image-container {
  position: relative;
  background: var(--color-bg-alt);
}

html[data-template="editorial"] .features-image-container picture,
html[data-template="editorial"] .features-image-container img {
  display: block;
  width: 100%;
  border-radius: 0;
  filter: grayscale(0.25) contrast(1.04);
  object-fit: cover;
}

html[data-template="editorial"] .features-image-label {
  padding: 6px 10px;
  border-radius: 0;
  background: var(--tpl-label-bg);
  color: var(--tpl-label-fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

html[data-template="editorial"] .features-list {
  gap: 0;
  border-top: 1px solid var(--color-border);
}

html[data-template="editorial"] .feature-card {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
}

html[data-template="editorial"] .feature-card:hover {
  box-shadow: none;
}

html[data-template="editorial"] .feature-icon {
  color: var(--color-accent);
}

html[data-template="editorial"] .feature-card h4 {
  margin-bottom: 5px;
  color: var(--color-text);
  font-size: 24px;
  font-weight: 400;
}

html[data-template="editorial"] .two-col-left,
html[data-template="editorial"] .two-col-right {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.8;
}

html[data-template="editorial"] .two-columns-row h1,
html[data-template="editorial"] .two-columns-row h2,
html[data-template="editorial"] .two-columns-row h3,
html[data-template="editorial"] .two-columns-row h4,
html[data-template="editorial"] .two-columns-row h5,
html[data-template="editorial"] .two-columns-row h6 {
  margin: 24px 0 10px;
  color: var(--color-text);
}

html[data-template="editorial"] .two-columns-row ul,
html[data-template="editorial"] .two-columns-row ol {
  margin: 16px 0 16px 22px;
}

html[data-template="editorial"] .two-columns-row table {
  width: 100%;
  border-collapse: collapse;
}

html[data-template="editorial"] .two-columns-row th,
html[data-template="editorial"] .two-columns-row td {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

html[data-template="editorial"] .full-width-text {
  max-width: 52rem;
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 19px;
  line-height: 1.8;
  text-align: left;
}

html[data-template="editorial"] .section-cta-banner {
  padding: 80px 0;
  background: var(--tpl-cta-bg) !important;
}

html[data-template="editorial"] .cta-banner-content {
  text-align: left;
}

html[data-template="editorial"] .cta-banner-headline {
  margin-bottom: 28px;
  color: var(--tpl-cta-ink);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
}

html[data-template="editorial"] .section-cta-banner .btn-accent {
  border-color: var(--tpl-cta-button-border);
  border-radius: 0;
  background: var(--tpl-cta-button-bg);
  color: var(--tpl-cta-button-ink);
}

html[data-template="editorial"] .section-cta-banner .btn-accent:hover {
  background: var(--tpl-cta-button-hover-bg);
  color: var(--tpl-cta-button-hover-ink);
}

html[data-template="editorial"] .custom-fallback {
  overflow-x: auto;
  padding: 24px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

/* ---- Shared buttons, modal, lightbox, footer and gate ----------------- */

html[data-template="editorial"] .btn {
  border-radius: 0;
  font-weight: 700;
}

html[data-template="editorial"] .btn-accent {
  background: var(--color-accent);
  color: #fffaf2;
  border-color: var(--color-accent);
}

html[data-template="editorial"] .btn-accent:hover {
  background: var(--color-text);
  color: #fffaf2;
  border-color: var(--color-text);
  filter: none;
}

html[data-template="editorial"] .btn-outline {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

html[data-template="editorial"] .btn-outline:hover {
  background: var(--color-accent);
  color: #fffaf2;
}

html[data-template="editorial"] .modal-overlay,
html[data-template="editorial"] .lightbox-overlay {
  background: rgba(18, 17, 16, 0.76);
  backdrop-filter: blur(7px);
}

html[data-template="editorial"] .modal-container {
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg);
  box-shadow: none;
}

html[data-template="editorial"] .modal-close,
html[data-template="editorial"] .lightbox-close,
html[data-template="editorial"] .lightbox-prev,
html[data-template="editorial"] .lightbox-next {
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg);
  color: var(--color-text);
}

html[data-template="editorial"] .unit-detail-info,
html[data-template="editorial"] .unit-detail-rooms {
  border-color: var(--color-border);
}

html[data-template="editorial"] .unit-info-row,
html[data-template="editorial"] .rooms-table td {
  border-bottom-color: var(--color-border);
}

html[data-template="editorial"] .unit-info-label,
html[data-template="editorial"] .unit-price-label {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .unit-info-value,
html[data-template="editorial"] .unit-price-value {
  color: var(--color-text);
}

html[data-template="editorial"] .site-gate-card {
  border: 1px solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg);
  color: var(--color-text);
}

html[data-template="editorial"] .site-gate-title {
  color: var(--color-text);
}

html[data-template="editorial"] .site-gate-subtitle,
html[data-template="editorial"] .site-gate-label {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .site-gate-form input[type="password"] {
  border-color: var(--color-border);
  border-radius: 0;
  background: var(--color-bg-alt);
  color: var(--color-text);
}

html[data-template="editorial"] .site-footer {
  padding: 64px 0;
  background: #121110;
  color: #c4bfb5;
}

html[data-template="editorial"] .footer-content {
  padding-right: 48px;
  padding-left: 48px;
}

html[data-template="editorial"] .footer-links a {
  color: #c4bfb5;
}

html[data-template="editorial"] .footer-links a:hover {
  color: var(--color-accent);
}

/* ---- Responsive ------------------------------------------------------ */

@media (max-width: 1024px) {
  html[data-template="editorial"] .section,
  html[data-template="editorial"] .section:nth-child(even) {
    padding: 88px 0;
  }

  html[data-template="editorial"] .nav-inner,
  html[data-template="editorial"] .section > .container,
  html[data-template="editorial"] .site-footer .footer-content {
    padding-right: 32px;
    padding-left: 32px;
  }

  html[data-template="editorial"] .nav-menu {
    gap: 18px;
  }

  html[data-template="editorial"] .hero-content.container {
    padding-right: 32px !important;
    padding-left: 32px !important;
  }

  html[data-template="editorial"] .hero-scroll-indicator {
    left: 32px;
  }

  html[data-template="editorial"] .hero-title {
    font-size: clamp(6.5rem, 12vw, 10.5rem);
  }

  html[data-template="editorial"] .text-image-row,
  html[data-template="editorial"] .text-image-row.layout-text-right,
  html[data-template="editorial"] .features-image-row,
  html[data-template="editorial"] .two-columns-row {
    gap: 40px;
  }

  html[data-template="editorial"] .units-cards-wrap {
    gap: 0 36px;
  }
}

@media (max-width: 768px) {
  html[data-template="editorial"] .section,
  html[data-template="editorial"] .section:nth-child(even) {
    padding: 76px 0;
  }

  html[data-template="editorial"] .section > .container,
  html[data-template="editorial"] .site-footer .footer-content {
    padding-right: 24px;
    padding-left: 24px;
  }

  html[data-template="editorial"] .site-nav {
    height: 76px;
  }

  html[data-template="editorial"] .nav-inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  html[data-template="editorial"] .nav-brand {
    font-size: 28px;
  }

  html[data-template="editorial"] .nav-menu {
    background: var(--color-bg);
    padding: calc(76px + 16px) 24px 24px;
  }

  html[data-template="editorial"] .nav-menu a,
  html[data-template="editorial"] .nav-scrolled .nav-menu a {
    border-bottom-color: var(--color-border);
    color: var(--color-text);
  }

  html[data-template="editorial"] .section-hero {
    height: min(760px, 100svh);
    min-height: 650px;
  }

  html[data-template="editorial"] .hero-bg-image {
    top: 32px;
    width: 78vw;
    height: 330px;
  }

  html[data-template="editorial"] .hero-content.container {
    padding: 208px 24px 0 !important;
  }

  html[data-template="editorial"] .hero-title {
    max-width: 7ch;
    font-size: clamp(5.5rem, 18vw, 8rem);
  }

  html[data-template="editorial"] .hero-tagline {
    max-width: 31ch;
    font-size: 16px;
  }

  html[data-template="editorial"] .hero-scroll-indicator {
    bottom: 24px;
    left: 24px;
  }

  html[data-template="editorial"] .section-text-image {
    padding-top: 0;
  }

  html[data-template="editorial"] .section-text-image > .container {
    display: block;
  }

  html[data-template="editorial"] .section-text-image > .container > .section-headline {
    margin-bottom: 28px;
  }

  html[data-template="editorial"] .section-headline {
    margin-bottom: 32px;
    font-size: clamp(3.2rem, 10vw, 4.75rem);
  }

  html[data-template="editorial"] .section-headline::before {
    font-size: 40px;
  }

  html[data-template="editorial"] .text-image-row,
  html[data-template="editorial"] .text-image-row.layout-text-right,
  html[data-template="editorial"] .location-row,
  html[data-template="editorial"] .profile-row,
  html[data-template="editorial"] .contact-row,
  html[data-template="editorial"] .features-image-row,
  html[data-template="editorial"] .two-columns-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  html[data-template="editorial"] .text-image-row.layout-text-right .text-image-text,
  html[data-template="editorial"] .text-image-row.layout-text-right .text-image-images {
    order: initial;
  }

  html[data-template="editorial"] .text-image-images {
    margin-top: 0;
  }

  html[data-template="editorial"] .text-image-images picture,
  html[data-template="editorial"] .text-image-images > img,
  html[data-template="editorial"] .text-image-images picture img {
    height: 420px;
    min-height: 420px;
  }

  html[data-template="editorial"] .benefits-grid,
  html[data-template="editorial"] .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-template="editorial"] .standards-content {
    grid-template-columns: 1fr;
  }

  html[data-template="editorial"] .timeline-track {
    flex-direction: column;
    gap: 20px;
    padding-left: 32px;
  }

  html[data-template="editorial"] .timeline-track::before {
    top: 10px;
    bottom: 10px;
    left: 11px;
    right: auto;
    width: 1px;
    height: auto;
  }

  html[data-template="editorial"] .timeline-item {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }

  html[data-template="editorial"] .timeline-dot {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  html[data-template="editorial"] .timeline-content {
    text-align: left;
  }

  html[data-template="editorial"] .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-template="editorial"] .contact-row:has(.contact-people:only-child) {
    grid-template-columns: 1fr;
  }

  html[data-template="editorial"] .units-cards-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
  }

  html[data-template="editorial"] .unit-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  html[data-template="editorial"] .unit-card-footer {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  html[data-template="editorial"] .unit-card-price {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  html[data-template="editorial"] .section,
  html[data-template="editorial"] .section:nth-child(even) {
    padding: 64px 0;
  }

  html[data-template="editorial"] .section > .container,
  html[data-template="editorial"] .site-footer .footer-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  html[data-template="editorial"] .nav-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  html[data-template="editorial"] .nav-brand {
    font-size: 25px;
  }

  html[data-template="editorial"] .hero-content.container {
    padding: 196px 20px 0 !important;
  }

  html[data-template="editorial"] .hero-bg-image {
    top: 24px;
    width: 86vw;
    height: 270px;
  }

  html[data-template="editorial"] .hero-title {
    font-size: clamp(4.8rem, 21vw, 6.6rem);
  }

  html[data-template="editorial"] .hero-subtitle {
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  html[data-template="editorial"] .hero-tagline {
    max-width: 29ch;
    font-size: 15px;
  }

  html[data-template="editorial"] .hero-cta,
  html[data-template="editorial"] .hero-cta.btn {
    padding-right: 22px;
    padding-left: 22px;
    font-size: 10px;
  }

  html[data-template="editorial"] .section-headline {
    font-size: 3.2rem;
  }

  html[data-template="editorial"] .section-headline::before {
    font-size: 36px;
  }

  html[data-template="editorial"] .text-image-images picture,
  html[data-template="editorial"] .text-image-images > img,
  html[data-template="editorial"] .text-image-images picture img {
    height: 300px;
    min-height: 300px;
  }

  html[data-template="editorial"] .distances-grid,
  html[data-template="editorial"] .benefits-grid,
  html[data-template="editorial"] .stats-grid,
  html[data-template="editorial"] .gallery-grid {
    grid-template-columns: 1fr;
  }

  html[data-template="editorial"] .distance-card:nth-child(odd) {
    margin-right: 0;
  }

  html[data-template="editorial"] .units-cards-wrap {
    grid-template-columns: 1fr;
  }

  html[data-template="editorial"] .unit-card-label {
    font-size: 34px;
  }

  html[data-template="editorial"] .unit-card-price {
    font-size: 28px;
  }

  html[data-template="editorial"] .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  html[data-template="editorial"] .filter-select {
    width: 100%;
  }

  html[data-template="editorial"] .floor-plan-display,
  html[data-template="editorial"] .financing-calculator,
  html[data-template="editorial"] .contact-form,
  html[data-template="editorial"] .contact-card {
    padding: 20px;
  }
}

/* The units renderer emits both branches. These explicit declarations mirror
   the shared switch and avoid a 768/769px overlap. */
@media (max-width: 768px) {
  html[data-template="editorial"] .units-table-wrap {
    display: none !important;
  }

  html[data-template="editorial"] .units-cards-wrap {
    display: grid !important;
  }
}

@media (min-width: 769px) {
  html[data-template="editorial"] .units-table-wrap {
    display: none !important;
  }

  html[data-template="editorial"] .units-cards-wrap {
    display: grid !important;
  }
}

/* ---- Unit scan hierarchy and hero overlap (targeted review pass) ------ */
html[data-template="editorial"] .units-table tbody td {
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 400;
}

html[data-template="editorial"] .units-table tbody td:first-child,
html[data-template="editorial"] .unit-card-label {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

html[data-template="editorial"] .units-table tbody td:has(+ td > .status-badge),
html[data-template="editorial"] .unit-card-price {
  color: #9a7423;
  font-family: var(--font-heading);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  line-height: 1.05;
  text-align: right;
  white-space: nowrap;
}

html[data-template="editorial"] .units-table tbody td:not(:first-child):not(:has(+ td > .status-badge)) {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .unit-card-label {
  font-size: 42px;
}

html[data-template="editorial"] .unit-card-disp,
html[data-template="editorial"] .unit-card-details,
html[data-template="editorial"] .unit-card-details span {
  color: var(--color-text-muted);
}

html[data-template="editorial"] .unit-card-label,
html[data-template="editorial"] .unit-card-price {
  font-variant-numeric: tabular-nums;
}

@media (min-width: 1025px) {
  /* The shared .container contributes padding to this real hero node. Clear
     it here and put the editorial inset on the actual content children so the
     title can cross the image edge. */
  html[data-template="editorial"] .hero-content.container {
    max-width: none;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  html[data-template="editorial"] .hero-subtitle,
  html[data-template="editorial"] .hero-tagline,
  html[data-template="editorial"] .hero-cta {
    margin-left: max(48px, calc((100vw - var(--container-max)) / 2 + 48px));
  }

  html[data-template="editorial"] .hero-title {
    position: relative;
    z-index: 3;
    left: 72px;
    margin-left: max(48px, calc((100vw - var(--container-max)) / 2 + 48px));
  }
}

@media (max-width: 768px) {
  html[data-template="editorial"] .unit-card-label {
    font-size: 34px;
  }

  html[data-template="editorial"] .unit-card-price {
    font-size: 28px;
  }
}
