/* homes.css
   The Homes pages: /homes/ and each home under it. Built on the same tokens as
   the home page and cc-marketing.css, so a visitor who arrives here from a
   rental listing sees the same site they would have seen from the front door.

   Palette, for reference: ground #16301F, raised #1E4029, bone #F5F1E4,
   gold #C9A227, gold hover #E0BC4A, muted #C4CFBF.

   Every photo on these pages is a rendering until the renovation is done, and
   each one carries the label the pre-leasing plan asks for. Do not remove
   .hm-concept from a figure while its picture is still a rendering. */

/* ---- Hero: words on the left, the building on the right ----------------- */
.hm-hero { padding: clamp(18px,3vw,36px) 0 clamp(34px,5vw,64px); }
.hm-hero-grid {
  display: grid; gap: clamp(24px,4vw,56px); align-items: center;
  grid-template-columns: minmax(0,1fr) minmax(0,0.92fr);
}
.hm-hero .mk-h1 { font-size: clamp(38px,5.4vw,70px); }
.hm-status {
  margin: 22px 0 0; padding: 14px 16px; max-width: 60ch;
  border-left: 3px solid #C9A227; background: rgba(201,162,39,.09);
  font-size: 15.5px; line-height: 1.65; color: #F5F1E4;
}
.hm-status strong { color: #E0BC4A; font-weight: 500; letter-spacing: .04em; }

/* Three numbers on the first row, two phrases on the second. */
.hm-facts {
  display: grid; grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 0; margin: 26px 0 0; padding: 0; max-width: 560px;
  border-top: 1px solid rgba(201,162,39,.45); border-bottom: 1px solid rgba(201,162,39,.22);
}
.hm-facts div { grid-column: span 2; padding: 14px 12px 14px 0; display: flex; flex-direction: column; justify-content: flex-end; }
.hm-facts div.hm-fact-wide { grid-column: span 3; border-top: 1px solid rgba(201,162,39,.18); }
.hm-facts dt {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: #C4CFBF; margin: 0 0 6px;
}
.hm-facts dd {
  margin: 0; font-family: 'Cormorant Garamond','CormorantFallback',Georgia,serif;
  font-size: clamp(21px,2.1vw,27px); line-height: 1.15; color: #F5F1E4;
  font-variant-numeric: lining-nums tabular-nums;
}
.hm-from { margin: 20px 0 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #C9A227; }
.hm-from b {
  display: block; margin-top: 6px; font-weight: 400; letter-spacing: 0; text-transform: none;
  font-family: 'Cormorant Garamond','CormorantFallback',Georgia,serif;
  font-size: clamp(30px,3.4vw,44px); line-height: 1.1; color: #E0BC4A; font-variant-numeric: lining-nums tabular-nums;
}
.hm-from b small { font-family: 'Jost','JostFallback',system-ui,sans-serif; font-size: 14px; color: #C4CFBF; letter-spacing: .04em; }

/* ---- Pictures ------------------------------------------------------------
   Each figure holds its shape before the picture arrives (aspect-ratio comes
   from the width and height on the img) and shows a flat tone taken from the
   picture, so nothing jumps and nothing flashes white on the dark ground. */
.hm-fig { position: relative; margin: 0; overflow: hidden; border-radius: 6px; background: #8f8a7e; }
.hm-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-fig figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 2px;
  background: rgba(22,48,31,.88); color: #F5F1E4;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
}
/* Every caption says what the picture is. The full sentence sits on the lead
   picture of each section, under the gallery and in the small print. */
.hm-fig figcaption::after, .hm-shot span::after { content: " \00b7  rendering"; color: #E0BC4A; }
.hm-hero-fig { aspect-ratio: 3 / 4; max-height: min(78vh, 760px); width: 100%; justify-self: end; }
.hm-concept::after {
  content: "Representative design concept. Final finishes may vary.";
  position: absolute; right: 0; top: 0; max-width: 78%; padding: 6px 10px;
  background: rgba(22,48,31,.78); color: #F5F1E4; border-bottom-left-radius: 4px;
  font-size: 10.5px; letter-spacing: .06em; line-height: 1.35; text-align: right;
}

.hm-split {
  display: grid; gap: clamp(22px,4vw,56px); align-items: center;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
}
.hm-split-flip > :first-child { order: 2; }
.hm-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px,1.4vw,18px); }
.hm-pair .hm-fig { aspect-ratio: 3 / 4; }
.hm-wide { aspect-ratio: 4 / 3; }
.hm-stack { display: grid; gap: clamp(10px,1.4vw,18px); }

.hm-list { list-style: none; margin: 18px 0 0; padding: 0; max-width: 60ch; }
.hm-list li {
  position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid rgba(201,162,39,.18);
  font-size: 16.5px; line-height: 1.65; color: #C4CFBF;
}
.hm-list li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 8px; height: 8px;
  background: #C9A227; transform: rotate(45deg);
}
.hm-list li b, .hm-list li strong { color: #F5F1E4; font-weight: 500; }
.hm-cols { display: grid; gap: clamp(20px,3vw,44px); grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); }

/* ---- Gallery -------------------------------------------------------------- */
.hm-gallery {
  display: grid; gap: clamp(8px,1.2vw,16px); margin-top: clamp(22px,3vw,36px);
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.hm-shot {
  position: relative; display: block; padding: 0; border: 0; cursor: zoom-in; overflow: hidden;
  border-radius: 6px; background: #8f8a7e; aspect-ratio: 3 / 4; font: inherit; color: inherit;
}
.hm-shot.hm-shot-wide { grid-column: span 2; aspect-ratio: 3 / 2; }
.hm-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.hm-shot:hover img { transform: scale(1.03); }
.hm-shot:focus-visible { outline: 2px solid #E0BC4A; outline-offset: 3px; }
.hm-shot span {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 2px;
  background: rgba(22,48,31,.88); color: #F5F1E4;
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
}
.hm-note { margin: 16px 0 0; font-size: 13.5px; line-height: 1.6; color: #C4CFBF; max-width: 78ch; }

/* The enlarged picture. A <dialog>, so Esc and Android Back close it without
   any code of ours, and focus goes back to the picture that opened it. */
.hm-lightbox {
  border: 0; padding: 0; background: transparent; color: #F5F1E4;
  max-width: min(96vw, 1100px); max-height: 94vh; max-height: 94dvh; overflow: visible;
}
.hm-lightbox::backdrop { background: rgba(10,20,13,.9); }
.hm-lightbox img { display: block; max-width: 100%; max-height: 82vh; max-height: 82dvh; margin: 0 auto; border-radius: 6px; }
.hm-lightbox p { margin: 12px 0 0; text-align: center; font-size: 14px; color: #C4CFBF; }
.hm-lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; }
.hm-lightbox button {
  min-width: 48px; min-height: 48px; padding: 0 16px; border-radius: 2px; cursor: pointer;
  background: transparent; color: #C9A227; border: 1px solid #C9A227;
  font: inherit; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.hm-lightbox button:hover { background: rgba(224,188,74,.14); color: #E0BC4A; border-color: #E0BC4A; }

/* ---- Pricing -------------------------------------------------------------- */
.hm-plans { display: grid; gap: clamp(16px,2.2vw,26px); margin-top: clamp(22px,3vw,36px);
            grid-template-columns: repeat(auto-fit, minmax(min(100%,280px),1fr)); }
.hm-plan {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px;
  border: 1px solid rgba(201,162,39,.55); border-radius: 8px; background: #16301F;
}
.hm-plan-name { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #C9A227; }
.hm-plan-price {
  font-family: 'Cormorant Garamond','CormorantFallback',Georgia,serif;
  font-size: clamp(34px,3.6vw,46px); line-height: 1.05; color: #F5F1E4; font-variant-numeric: lining-nums tabular-nums;
}
.hm-plan-price small { font-family: 'Jost','JostFallback',system-ui,sans-serif; font-size: 14px; color: #C4CFBF; }
.hm-plan p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #C4CFBF; }

/* ---- Details table -------------------------------------------------------- */
.hm-table { width: 100%; border-collapse: collapse; margin-top: clamp(18px,2.4vw,30px); }
.hm-table th, .hm-table td {
  text-align: left; vertical-align: top; padding: 15px 0; font-size: 16px; line-height: 1.6;
  border-bottom: 1px solid rgba(201,162,39,.2);
}
.hm-table th { width: 34%; padding-right: 18px; font-weight: 500; color: #F5F1E4; }
.hm-table td { color: #C4CFBF; }

/* ---- Home cards on /homes/ ------------------------------------------------
   Picture on top, words under it, two across on a wide screen. A home with its
   own page is one big link. A home without one (.hm-card-static) is a plain
   card with a link inside it. */
.hm-card-grid { display: grid; gap: clamp(18px,2.4vw,30px); margin-top: clamp(22px,3vw,36px);
                grid-template-columns: repeat(auto-fit, minmax(min(100%,380px),1fr)); }
.hm-card {
  display: flex; flex-direction: column;
  border: 1px solid rgba(201,162,39,.55); border-radius: 8px; overflow: hidden;
  background: #1E4029; color: #F5F1E4; transition: border-color 300ms ease;
}
a.hm-card:hover { border-color: #E0BC4A; color: #F5F1E4; }
.hm-card .hm-fig { border-radius: 0; aspect-ratio: 3 / 2; }
.hm-card-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 12px; padding: clamp(20px,2.6vw,34px); }
.hm-badge {
  align-self: flex-start; padding: 6px 12px; border-radius: 2px; background: #C9A227; color: #16301F;
  border: 1px solid #C9A227;
  font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.hm-badge-quiet { background: transparent; color: #C9A227; border-color: rgba(201,162,39,.7); }
.hm-card-name {
  font-family: 'Cormorant Garamond','CormorantFallback',Georgia,serif;
  font-size: clamp(27px,2.8vw,38px); line-height: 1.1; color: #F5F1E4;
}
.hm-card-meta { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #C9A227; }
.hm-card-desc { font-size: 16px; line-height: 1.7; color: #C4CFBF; }
.hm-card-price { font-size: 15.5px; color: #F5F1E4; font-variant-numeric: lining-nums tabular-nums; }
.hm-card-cta { margin-top: auto; padding-top: 8px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #C9A227; }
a.hm-card-cta { min-height: 44px; display: inline-flex; align-items: center; align-self: flex-start; }
a.hm-card-cta:hover { color: #E0BC4A; }
/* The header is fixed, so a jump to a section stops short of it. */
section[id] { scroll-margin-top: 56px; }

.hm-steps { counter-reset: hm; display: grid; gap: clamp(16px,2.2vw,26px); margin: clamp(22px,3vw,36px) 0 0; padding: 0; list-style: none;
            grid-template-columns: repeat(auto-fit, minmax(min(100%,230px),1fr)); }
.hm-steps li { counter-increment: hm; padding-top: 16px; border-top: 1px solid rgba(201,162,39,.45); font-size: 16px; line-height: 1.7; color: #C4CFBF; }
.hm-steps li::before {
  content: counter(hm); display: block; margin-bottom: 8px;
  font-family: 'Cormorant Garamond','CormorantFallback',Georgia,serif; font-size: 34px; line-height: 1; color: #C9A227;
  font-variant-numeric: lining-nums;
}
.hm-steps b, .hm-steps strong { display: block; margin-bottom: 4px; font-weight: 500; color: #F5F1E4; }

.hm-contact { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; margin-top: 14px; }
.hm-contact a { font-size: 17px; color: #F5F1E4; min-height: 44px; display: inline-flex; align-items: center; }
.hm-contact a:hover { color: #E0BC4A; }
.hm-fine { margin: 0; font-size: 13px; line-height: 1.7; color: #A9B6A4; max-width: 90ch; }
.hm-fine + .hm-fine { margin-top: 8px; }

/* ---- The pre-leasing form -------------------------------------------------
   Three short steps. Only one shows at a time once the script is running;
   without script all three show, stacked, and a note says how to reach us. */
.pl-form { position: relative; }
.pl-progress { display: flex; align-items: center; gap: 14px; margin: 26px 0 4px; }
.pl-progress[hidden] { display: none; }
.pl-progress-text { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #C9A227; white-space: nowrap; }
.pl-bar { flex: 1 1 auto; height: 3px; border-radius: 2px; background: rgba(201,162,39,.22); overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 33.34%; background: #C9A227; transition: width 260ms cubic-bezier(.22,1,.36,1); }

.pl-step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.pl-step[hidden] { display: none; }
.pl-step > legend {
  padding: 0; margin: 0 0 4px; font-family: 'Cormorant Garamond','CormorantFallback',Georgia,serif;
  font-size: clamp(24px,2.6vw,31px); color: #F5F1E4; outline: none;
}
.pl-js .pl-step { animation: plIn 240ms cubic-bezier(.22,1,.36,1) both; }
@keyframes plIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.pl-form select {
  font-family: 'Jost','JostFallback',system-ui,sans-serif; font-size: 16px; color: #F5F1E4;
  background: #16301F; border: 1px solid rgba(201,162,39,.45); border-radius: 3px;
  padding: 13px 14px; min-height: 48px; width: 100%;
}
.pl-form select:focus { outline: 2px solid #C9A227; outline-offset: 1px; border-color: #C9A227; }
.pl-form input[type="date"] { color-scheme: dark; }
.pl-form [aria-invalid="true"] { border-color: #E08A7B !important; }
.pl-field-err { margin: 0; font-size: 14px; letter-spacing: 0; text-transform: none; color: #FFD9D2; }
.pl-hint {
  margin: 0; padding: 11px 14px; border-radius: 3px; font-size: 14.5px; line-height: 1.6;
  letter-spacing: 0; text-transform: none; color: #F5F1E4;
  background: rgba(201,162,39,.1); border: 1px solid rgba(201,162,39,.3);
}
.pl-hint[hidden] { display: none; }
.pl-hint button {
  margin: 8px 0 0; padding: 0 14px; min-height: 44px; border-radius: 2px; cursor: pointer;
  background: transparent; color: #E0BC4A; border: 1px solid #C9A227;
  font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; align-self: auto;
}
.pl-label .mk-req { margin-left: 3px; }
.pl-help { font-size: 13.5px; letter-spacing: 0; text-transform: none; color: #C4CFBF; }

/* Choices as tappable cards. The real radio stays in the page for keyboards
   and screen readers; the card around it is the 48px target. */
.pl-group { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.pl-group > legend { padding: 0; margin: 0 0 9px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #C9A227; }
.pl-choices { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%,150px),1fr)); }
.pl-form label.pl-choice {
  position: relative; flex-direction: row; align-items: center; gap: 10px; cursor: pointer;
  padding: 12px 14px; min-height: 52px; border-radius: 3px;
  border: 1px solid rgba(201,162,39,.45); background: #16301F;
  font-size: 15.5px; letter-spacing: 0; text-transform: none; color: #F5F1E4;
  transition: border-color 160ms ease, background 160ms ease;
}
.pl-form label.pl-choice:hover { border-color: #E0BC4A; }
.pl-form label.pl-choice input {
  width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: 0 0 auto; accent-color: #C9A227;
}
.pl-form label.pl-choice:has(input:checked) { border-color: #E0BC4A; background: rgba(201,162,39,.14); }
.pl-form label.pl-choice:has(input:focus-visible) { outline: 2px solid #C9A227; outline-offset: 2px; }
.pl-choice small { display: block; margin-top: 2px; font-size: 13px; color: #C4CFBF; font-variant-numeric: lining-nums tabular-nums; }

.pl-money { position: relative; }
.pl-money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #C4CFBF; font-size: 16px; letter-spacing: 0; }
.pl-form .pl-money input { padding-left: 28px; font-variant-numeric: lining-nums tabular-nums; }
.pl-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-form .pl-quick button {
  align-self: auto; min-height: 44px; padding: 0 14px; border-radius: 2px; cursor: pointer;
  background: transparent; color: #C9A227; border: 1px solid rgba(201,162,39,.45);
  font-size: 14px; letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums;
}
.pl-form .pl-quick button:hover { border-color: #E0BC4A; color: #E0BC4A; }

.pl-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 6px; }
.pl-form .pl-nav button { align-self: auto; }
.pl-nav .mk-btn[disabled] { opacity: .6; cursor: progress; }
.pl-nav .mk-btn[hidden] { display: none; }
.pl-next-steps { margin: 16px 0 0; padding: 0 0 0 20px; font-size: 16.5px; line-height: 1.8; color: #C4CFBF; }

/* ---- The Join button -------------------------------------------------------
   .hm-join is the one gold button that leads to the form. It is bigger than
   an ordinary .mk-btn and carries a chevron. Three places use it: the hero,
   under the gallery, and #hmSticky, the copy that follows the page.

   #hmSticky is a small dock at the bottom of a wide screen and a full-width
   bar on a phone. homes.js puts .is-on on it once it knows what is on screen,
   and .is-away whenever another Join button, the form or the footer is in
   view, so there is always one Join button to press and never two. With no
   script a phone still gets the bar; a wide screen has the hero button. */
.hm-join {
  min-height: 58px; padding: 0 30px; gap: 14px; font-size: 13px; letter-spacing: .2em;
  box-shadow: 0 12px 30px rgba(201,162,39,.24);
}
.hm-join::after {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-left: -2px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 180ms ease;
}
.hm-join:hover::after { transform: translateX(4px) rotate(45deg); }
.hm-join:focus-visible { outline: 2px solid #F5F1E4; outline-offset: 3px; }
.hm-hero .mk-cta-row { margin-top: 22px; }
.hm-hero .mk-cta-row .mk-btn { min-height: 58px; }
.hm-hero .hm-status { margin-top: 28px; }

.hm-sticky {
  position: fixed; z-index: 40; left: 50%;
  bottom: calc(22px + var(--hm-lift, 0px) + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 26px; width: max-content; max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 24px; border-radius: 10px;
  background: rgba(22,48,31,.97); border: 1px solid rgba(201,162,39,.6);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: translate(-50%, 0); opacity: 1; visibility: visible;
  transition: transform 260ms cubic-bezier(.22,1,.36,1), opacity 200ms ease, visibility 0s;
}
.hm-sticky[hidden] { display: none !important; }
html:not(.hm-js) .hm-sticky { display: none; }
.hm-js .hm-sticky:not(.is-on), .hm-sticky.is-away {
  transform: translate(-50%, 26px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 220ms ease, opacity 180ms ease, visibility 0s linear 220ms;
}
.hm-sticky span { font-size: 14px; line-height: 1.35; color: #C4CFBF; font-variant-numeric: lining-nums tabular-nums; }
.hm-sticky span b { display: block; font-weight: 500; font-size: 15px; color: #F5F1E4; }
.hm-sticky .hm-join { min-height: 54px; white-space: nowrap; }

@media (max-width: 740px) {
  .hm-sticky, html:not(.hm-js) .hm-sticky {
    display: block; left: 0; right: 0; bottom: var(--hm-lift, 0px); width: auto; max-width: none;
    padding: 10px max(16px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border-radius: 0; border-width: 1px 0 0; background: #16301F; box-shadow: 0 -10px 30px rgba(0,0,0,.35);
    transform: none;
  }
  .hm-js .hm-sticky:not(.is-on), .hm-sticky.is-away { transform: translateY(110%); opacity: 1; }
  .hm-sticky span { display: none; }
  .hm-sticky .hm-join { display: flex; width: 100%; min-height: 56px; padding: 0 18px; }
  /* The bar is the Join button on a phone, so the two in the page step aside. */
  .hm-listing .hm-hero .hm-join, .hm-listing .hm-cta-mid { display: none; }
}

/* ---- Phone: a shorter page -------------------------------------------------
   At 390px wide the page ran to more than fourteen screens. Nothing is taken
   off it. The gallery becomes one row to swipe, a list of five or more shows
   three lines with a button for the rest, and sections sit closer together.
   The folds need script to open again, so they only apply under .hm-js, which
   an inline script in the head sets before the first paint. */
.hm-fold-btn { display: none; }
@media (max-width: 740px) {
  .hm-listing .mk-sec { padding: 34px 0; }
  .hm-listing .hm-hero { padding-bottom: 30px; }
  .hm-listing .hm-list li { padding: 9px 0 9px 24px; }
  .hm-listing .hm-list li::before { top: 18px; }
  .hm-listing .hm-table th, .hm-listing .hm-table td { padding: 11px 0; }
  .hm-listing .hm-plans { gap: 12px; }
  .hm-listing .hm-plan { padding: 20px 20px 22px; gap: 8px; }

  .hm-listing .hm-gallery {
    display: flex; gap: 10px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scroll-padding-inline: clamp(16px,4vw,56px);
    margin-inline: calc(-1 * clamp(16px,4vw,56px)); padding: 0 clamp(16px,4vw,56px) 4px;
    scrollbar-width: none;
  }
  .hm-listing .hm-gallery::-webkit-scrollbar { display: none; }
  .hm-listing .hm-shot { flex: 0 0 auto; width: 198px; height: 264px; aspect-ratio: auto; scroll-snap-align: start; }
  .hm-listing .hm-shot.hm-shot-wide { width: 352px; }

  #plContact .pl-choices { display: flex; flex-wrap: wrap; gap: 8px; }
  #plContact label.pl-choice { flex: 1 1 auto; padding: 12px; gap: 8px; }

  .hm-js .hm-fold:not(.is-open) .hm-list > li:nth-child(n+4),
  .hm-js .hm-fold:not(.is-open) .hm-table tr:nth-child(n+4) { display: none; }
  .hm-js .hm-fold-btn {
    display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0; margin: 0;
    background: none; border: 0; cursor: pointer; font: inherit; color: #C9A227;
    font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  }
  .hm-fold-btn::after { content: "+"; font-size: 20px; line-height: 1; letter-spacing: 0; }
  .hm-fold.is-open .hm-fold-btn::after { content: "\2212"; }
  .hm-fold-btn:focus-visible { outline: 2px solid #E0BC4A; outline-offset: 2px; }
}

@media (max-width: 900px) {
  .hm-hero-grid, .hm-split { grid-template-columns: minmax(0,1fr); }
  .hm-hero-fig { order: -1; aspect-ratio: 4 / 3; max-height: none; }
  .hm-split-flip > :first-child { order: 0; }
  .hm-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hm-table th { width: 40%; }
}
@media (max-width: 480px) {
  .hm-table th, .hm-table td { display: block; width: auto; }
  .hm-table th, .hm-listing .hm-table th { padding-bottom: 2px; border-bottom: 0; }
  .hm-table td, .hm-listing .hm-table td { padding-top: 0; }
  .hm-concept::after { font-size: 9.5px; max-width: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-js .pl-step, .pl-bar i, .hm-sticky, .hm-sticky.is-away, .hm-js .hm-sticky:not(.is-on), .hm-shot img, .hm-join::after { animation: none; transition: none; }
}
