/* Generated by design-system/build_theme_css.py. Edit the design system, not this file. */

@font-face {
  font-family: "Mulish HP";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mulish HP";
  font-style: italic;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.hpt {
  --surface-0: #ffffff;
  --surface-tint-soft: #eef7f8;
  --surface-tint: #d8ecf0;
  --surface-teal: #06323a;
  --surface-teal-deep: #052c32;
  --surface-teal-raised: #21484f;
  --surface-teal-hover: #2c575f;
  --ink: #052c32;
  --ink-secondary: #4a686e;
  --ink-on-teal: #ffffff;
  --ink-on-teal-secondary: #eaf5f5;
  --ink-on-teal-muted: #9dbcc1;
  --brand-green: #4bd892;
  --brand-green-deep: #0a7044;
  --border: #dde7e9;
  --border-tint: #afdae2;
  --border-strong: #5f97a2;
  --border-on-teal: #21484f;
  --state-live: var(--brand-green);
  --state-ending: #e8a13c;
  --state-sold: var(--border-tint);
  --state-error: #c23b3b;
  --focus-ring: var(--ink);
  --focus-ring-on-teal: var(--brand-green);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 80px;
  --space-9: 112px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(5, 44, 50, 0.06), 0 10px 28px rgba(5, 44, 50, 0.10);
  --shadow-pop: 0 1px 3px rgba(5, 44, 50, 0.20);
  --container: 1480px;
  --container-wide: 1766px;
  --font-sans: "Mulish HP", "Mulish", system-ui, sans-serif;
}

.hpt.hpt :where(h1, h2, h3, h4, h5, h6) { margin: 0; font: inherit; letter-spacing: normal; text-transform: none; color: inherit; }
.hpt.hpt :where(p, ul, ol, dl, dd, figure, blockquote) { margin: 0; padding: 0; }
.hpt.hpt :where(button, input, select, textarea) { font: inherit; letter-spacing: normal; text-transform: none; }
.hpt.hpt :where(button) { white-space: normal; }
.hpt.hpt :where(a, a:hover, a:focus, a:active) { color: inherit; }
.hpt.hpt [hidden] { display: none !important; }

/* Hammer Price components. Loaded after tokens.css: every colour, radius and space is a token.
   Sizes are the 1920 design's, scaled down fluidly for smaller screens. */

.hpt.hpt,
.hpt.hpt *,
.hpt.hpt *::before,
.hpt.hpt *::after { box-sizing: border-box; }

.hpt.hpt {
  --hpt-ring: var(--focus-ring);
  --hpt-text: var(--ink);
  --hpt-text-2: var(--ink-secondary);
  --hpt-rule: var(--border);
  --hpt-accent: var(--brand-green-deep);
  --hpt-topbar-h: 41px;
  --hpt-header-h: 76px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hpt-text);
  -webkit-font-smoothing: antialiased;
}

/* Any teal surface flips text, rules, accent and focus ring in one place. */
.hpt.hpt .hpt-on-teal {
  --hpt-ring: var(--focus-ring-on-teal);
  --hpt-text: var(--ink-on-teal);
  --hpt-text-2: var(--ink-on-teal-secondary);
  --hpt-rule: var(--border-on-teal);
  --hpt-accent: var(--brand-green);
  color: var(--hpt-text);
}

/* Zero-specificity resets, so any component class wins over them. */
.hpt.hpt :where(img) { display: block; max-width: 100%; }
.hpt.hpt :where(a) { color: inherit; }
.hpt.hpt :focus-visible { outline: 2px solid var(--hpt-ring); outline-offset: 2px; }
.hpt.hpt .hpt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Layout ---------- */

.hpt.hpt .hpt-container { width: min(100% - 2 * clamp(20px, 5vw, 80px), var(--container)); margin-inline: auto; }
.hpt.hpt .hpt-section { padding-block: clamp(56px, 6vw, 112px); }
/* Neighbouring sections share one gap rather than stacking two. */
.hpt.hpt .hpt-section + .hpt-section { padding-top: 0; }
/* A band keeps its own space above and below, with the brand device behind its content. */
.hpt.hpt .hpt-section--band,
.hpt.hpt .hpt-section + .hpt-section--band { position: relative; overflow: hidden; padding-block: clamp(12px, 1.25vw, 24px) clamp(32px, 3.5vw, 64px); }
.hpt.hpt .hpt-section--band > * { position: relative; }
/* The device sits a little high and fades in from the section's top edge, so it
   has no hard line against the section above. The fade starts where the lift ends. */
.hpt.hpt .hpt-section--band > .hpt-device { position: absolute; top: -10%; left: 0; width: auto; height: 100%; color: var(--surface-tint-soft); opacity: 0.75; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 10%, #000 60%); mask-image: linear-gradient(to bottom, transparent 10%, #000 60%); }
.hpt.hpt .hpt-device svg { display: block; width: auto; height: 100%; }
/* The last block before the footer sits closer to it. */
.hpt.hpt .hpt-section--close { padding-bottom: clamp(28px, 3vw, 56px); }
@media (max-width: 639px) {
  /* The band leans on the gap left by the section above, like any other section. */
  .hpt.hpt .hpt-section--band,
.hpt.hpt .hpt-section + .hpt-section--band { padding-top: 0; }
  /* The closing block gets the same space above as below. The section before it
     gives up its own bottom gap so the two are not added together. */
  .hpt.hpt .hpt-section:has(+ .hpt-section--close) { padding-bottom: 0; }
  .hpt.hpt .hpt-section + .hpt-section--close { padding-block: calc(var(--space-5) + var(--space-4)); }
  /* The closing block is tinted. Straight after a tinted panel it reads as that
     panel's foot, so the panel's own bottom padding is the only gap between them. */
  .hpt.hpt .hpt-section--close { background: var(--surface-tint); }
  .hpt.hpt .hpt-section:has(> .hpt-panel--tint) + .hpt-section--close { padding-top: 0; }
}
.hpt.hpt .hpt-panel {
  width: min(100% - 2 * clamp(12px, 3vw, 48px), var(--container-wide));
  margin-inline: auto;
  padding: clamp(32px, 5.5vw, 96px) clamp(20px, 7.4vw, 142px);
  border-radius: var(--radius-xl);
}
.hpt.hpt .hpt-panel--teal { background: var(--surface-teal); }
.hpt.hpt .hpt-panel--tint { background: var(--surface-tint); }
/* On phones a panel runs edge to edge with square corners, and its content lines
   up with the page gutter used everywhere else. */
@media (max-width: 639px) {
  .hpt.hpt .hpt-panel { width: 100%; padding: clamp(40px, 11vw, 56px) clamp(20px, 5vw, 80px); border-radius: 0; }
}

/* ---------- Type ---------- */

.hpt.hpt .hpt-h1 { margin: 0; font-weight: 900; font-size: clamp(38px, 3.4vw + 8px, 64px); line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; }
.hpt.hpt .hpt-h1 em { font-style: normal; color: var(--brand-green); }
.hpt.hpt .hpt-h2 { margin: 0; font-weight: 800; font-size: clamp(28px, 1.6vw + 12px, 40px); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.hpt.hpt .hpt-h3 { margin: 0; font-weight: 800; font-size: clamp(20px, 0.6vw + 14px, 24px); line-height: 1.25; letter-spacing: -0.01em; }
.hpt.hpt .hpt-lead { margin: 0; font-size: clamp(17px, 0.5vw + 12px, 20px); line-height: 1.5; color: var(--hpt-text-2); text-wrap: pretty; }
.hpt.hpt .hpt-lead strong { font-weight: 700; color: var(--hpt-text); }
.hpt.hpt .hpt-text { margin: 0; font-size: clamp(16px, 0.3vw + 13px, 18px); line-height: 1.6; color: var(--hpt-text-2); text-wrap: pretty; }
.hpt.hpt .hpt-text + .hpt-text { margin-top: var(--space-3); }
.hpt.hpt .hpt-prose p { margin: 0; font-size: clamp(16px, 0.3vw + 13px, 18px); line-height: 1.6; color: var(--hpt-text-2); text-wrap: pretty; }
.hpt.hpt .hpt-prose p + p { margin-top: var(--space-3); }
.hpt.hpt .hpt-prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Button ---------- */

.hpt.hpt .hpt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font: 700 16px/1 var(--font-sans);
  color: var(--hpt-text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.hpt.hpt .hpt-btn svg { flex: none; width: 20px; height: 20px; color: var(--hpt-accent); transition: color 0.18s; }
.hpt.hpt .hpt-btn--sm { min-height: 40px; padding: 0 var(--space-4); font-size: 15px; }
.hpt.hpt .hpt-btn--sm svg { width: 18px; height: 18px; }
.hpt.hpt .hpt-btn--block { width: 100%; }

.hpt.hpt .hpt-btn--primary { background: var(--surface-teal-deep); color: var(--ink-on-teal); }
.hpt.hpt .hpt-btn--primary svg { color: var(--brand-green); }
.hpt.hpt .hpt-btn--primary:hover { background: var(--surface-teal-raised); }

.hpt.hpt .hpt-btn--outline { border-color: var(--ink); }
.hpt.hpt .hpt-btn--outline:hover { background: var(--ink); color: var(--ink-on-teal); }
.hpt.hpt .hpt-btn--outline:hover svg { color: var(--brand-green); }
.hpt.hpt .hpt-on-teal .hpt-btn--outline { border-color: var(--ink-on-teal-muted); }
.hpt.hpt .hpt-on-teal .hpt-btn--outline:hover { border-color: var(--ink-on-teal); background: var(--ink-on-teal); color: var(--ink); }
.hpt.hpt .hpt-on-teal .hpt-btn--outline:hover svg { color: var(--brand-green-deep); }

.hpt.hpt .hpt-btn--soft { background: var(--surface-tint-soft); }
.hpt.hpt .hpt-btn--soft:hover { background: var(--surface-tint); }
.hpt.hpt .hpt-on-teal .hpt-btn--soft { background: var(--surface-teal-raised); }
.hpt.hpt .hpt-on-teal .hpt-btn--soft:hover { background: var(--surface-teal-hover); }

.hpt.hpt .hpt-btn[disabled],
.hpt.hpt .hpt-btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

/* Text link with a trailing arrow. */
.hpt.hpt .hpt-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: 16px; line-height: 1.25; color: var(--hpt-text); text-decoration: none; }
.hpt.hpt .hpt-link svg { flex: none; width: 18px; height: 18px; color: var(--hpt-accent); transition: transform 0.18s; }
.hpt.hpt .hpt-link:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hpt.hpt .hpt-link:hover svg { transform: translateX(3px); }

/* ---------- Badge, chip, tag, live dot ---------- */

.hpt.hpt .hpt-badge { display: inline-block; padding: 3px 6px; border-radius: var(--radius-xs); background: var(--brand-green); font: 800 11px/14px var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }

.hpt.hpt .hpt-chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 32px; padding: 0 var(--space-3); border: 1px solid var(--border-tint); border-radius: var(--radius-pill); background: var(--surface-tint-soft); font: 700 13px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.hpt.hpt .hpt-chip--solid { border-color: transparent; background: var(--surface-0); box-shadow: var(--shadow-pop); }
.hpt.hpt .hpt-chip--ending { border-color: transparent; background: var(--state-ending); }

.hpt.hpt .hpt-tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: var(--radius-xs); background: var(--state-sold); font: 800 14px/1 var(--font-sans); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }

.hpt.hpt .hpt-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--state-live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--state-live) 28%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .hpt.hpt .hpt-dot--pulse { animation: hpt-pulse 2s ease-out infinite; }
}
@keyframes hpt-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--state-live) 60%, transparent); }
  70%, 100% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--state-live) 0%, transparent); }
}

/* ---------- Countdown ---------- */

.hpt.hpt .hpt-count { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--hpt-accent); white-space: nowrap; }
.hpt.hpt .hpt-count i { font-style: normal; opacity: 0.5; }

.hpt.hpt .hpt-tiles { display: inline-flex; margin: 0; }
.hpt.hpt .hpt-tiles > div { padding-inline: 14px; border-left: 1px solid var(--hpt-rule); text-align: center; }
.hpt.hpt .hpt-tiles > div:first-child { padding-left: 0; border-left: 0; }
.hpt.hpt .hpt-tiles dd { margin: 0; font-weight: 800; font-size: 22px; line-height: 26px; font-variant-numeric: tabular-nums; color: var(--hpt-text); }
.hpt.hpt .hpt-tiles dt { margin-top: 2px; font-weight: 700; font-size: 11px; line-height: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--hpt-text-2); }
.hpt.hpt .hpt-tiles > div { display: flex; flex-direction: column-reverse; }

/* ---------- Section heading ---------- */

.hpt.hpt .hpt-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-bottom: clamp(24px, 2.4vw, 40px); }
.hpt.hpt .hpt-head__link { margin-left: auto; }
.hpt.hpt .hpt-head--center { flex-direction: column; text-align: center; gap: var(--space-3); }
.hpt.hpt .hpt-head--center .hpt-text { max-width: 56ch; }
/* The same destination as the heading's link, as a full-width button under the content. Phones only. */
.hpt.hpt .hpt-more { display: none; }
@media (max-width: 639px) {
  .hpt.hpt .hpt-head:not(.hpt-head--center) { flex-direction: column; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-4); }
  .hpt.hpt .hpt-head .hpt-chip { order: -1; }
  .hpt.hpt .hpt-head__link--wide { display: none; }
  .hpt.hpt .hpt-more { display: inline-flex; margin-top: var(--space-2); }
}

/* ---------- Lot card ---------- */

/* Filters on the left, arrows on the right. */
.hpt.hpt .hpt-lots-bar { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); }
.hpt.hpt .hpt-lots-bar:not(:has(.hpt-filters)):has(.hpt-lots-nav[hidden]) { display: none; }
.hpt.hpt .hpt-filters { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hpt.hpt .hpt-filter { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-3) 0 var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-0); font: 700 15px/1 var(--font-sans); color: var(--ink); white-space: nowrap; cursor: pointer; transition: border-color 0.18s, background-color 0.18s, color 0.18s; }
.hpt.hpt .hpt-filter svg { flex: none; width: 20px; height: 20px; color: var(--brand-green-deep); }
.hpt.hpt .hpt-filter__count { min-width: 24px; padding: 4px 6px; border-radius: var(--radius-pill); background: var(--surface-tint-soft); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; color: var(--ink-secondary); }
.hpt.hpt .hpt-filter:hover { border-color: var(--ink); background: var(--surface-tint-soft); color: var(--ink); }
.hpt.hpt .hpt-filter[aria-pressed="true"] { border-color: var(--surface-teal-deep); background: var(--surface-teal-deep); color: var(--ink-on-teal); }
.hpt.hpt .hpt-filter[aria-pressed="true"] svg { color: var(--brand-green); }
.hpt.hpt .hpt-filter[aria-pressed="true"] .hpt-filter__count { background: var(--surface-teal-raised); color: var(--ink-on-teal); }
.hpt.hpt .hpt-filter:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.hpt.hpt .hpt-lots-nav { display: flex; gap: var(--space-2); margin-left: auto; }
.hpt.hpt .hpt-arrow { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--surface-0); color: var(--ink); cursor: pointer; transition: border-color 0.18s, background-color 0.18s, opacity 0.18s; }
.hpt.hpt .hpt-arrow svg { width: 20px; height: 20px; }
.hpt.hpt .hpt-arrow:hover:not(:disabled) { border-color: var(--ink); background: var(--surface-tint-soft); color: var(--ink); }
.hpt.hpt .hpt-arrow:disabled { opacity: 0.35; cursor: default; }
.hpt.hpt .hpt-arrow:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* One row of every live lot: four in view, two on tablets, swipe on phones. The
   padding gives hover shadows room inside the scroller. */
.hpt.hpt .hpt-lots { --hpt-lots-gap: clamp(16px, 1.5vw, 28px); --hpt-lot-w: calc((100% - 3 * var(--hpt-lots-gap)) / 4); display: flex; gap: var(--hpt-lots-gap); margin: -6px -14px -34px; padding: 6px 14px 34px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 14px; scrollbar-width: none; }
.hpt.hpt .hpt-lots::-webkit-scrollbar { display: none; }
.hpt.hpt .hpt-lots > * { flex: 0 0 var(--hpt-lot-w); scroll-snap-align: start; }
/* Empty slots in a short row: a faint outline of a card, not content. */
.hpt.hpt .hpt-ghost { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-3); border: 1px dashed var(--border-tint); border-radius: var(--radius-lg); }
.hpt.hpt .hpt-ghost__media { aspect-ratio: 5 / 4; border-radius: var(--radius-sm); background: var(--surface-tint-soft); }
.hpt.hpt .hpt-ghost__line { height: 14px; width: 70%; margin-inline: var(--space-1); border-radius: var(--radius-pill); background: var(--surface-tint-soft); }
.hpt.hpt .hpt-ghost__line:first-of-type { margin-top: var(--space-3); }
.hpt.hpt .hpt-ghost__line--short { width: 40%; }
@media (prefers-reduced-motion: no-preference) {
  .hpt.hpt .hpt-lots { scroll-behavior: smooth; }
}
@media (max-width: 1023px) {
  .hpt.hpt .hpt-lots { --hpt-lot-w: calc((100% - var(--hpt-lots-gap)) / 2); }
  .hpt.hpt .hpt-ghost { display: none; }
}
/* On phones the row runs to the screen edges and filters scroll sideways. */
@media (max-width: 639px) {
  .hpt.hpt .hpt-lots { --hpt-lots-gap: var(--space-3); --hpt-lot-w: 78%; margin: -2px calc(-1 * clamp(20px, 5vw, 80px)) 0; padding: 2px clamp(20px, 5vw, 80px) var(--space-3); scroll-padding-inline: clamp(20px, 5vw, 80px); }
  .hpt.hpt .hpt-lots-bar { margin-bottom: var(--space-4); }
  .hpt.hpt .hpt-lots-nav { display: none; }
  .hpt.hpt .hpt-filters { flex-wrap: nowrap; margin-inline: calc(-1 * clamp(20px, 5vw, 80px)); padding: 2px clamp(20px, 5vw, 80px); overflow-x: auto; scrollbar-width: none; }
  .hpt.hpt .hpt-filters::-webkit-scrollbar { display: none; }
  .hpt.hpt .hpt-filter { min-height: 40px; font-size: 14px; }
}

.hpt.hpt .hpt-lot { position: relative; display: flex; flex-direction: column; padding: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-0); transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s; }
.hpt.hpt .hpt-lot:hover { border-color: var(--border-tint); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.hpt.hpt .hpt-lot__media { position: relative; flex: none; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-tint-soft); }
.hpt.hpt .hpt-lot__media img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 0.4s; }
.hpt.hpt .hpt-lot:hover .hpt-lot__media img { transform: scale(1.03); }
.hpt.hpt .hpt-lot__ends { position: absolute; top: var(--space-3); left: var(--space-3); }
.hpt.hpt .hpt-lot__body { display: flex; flex: 1; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-1) var(--space-1); }
.hpt.hpt .hpt-lot__title { display: -webkit-box; overflow: hidden; min-height: 48px; margin: 0; font-weight: 700; font-size: 18px; line-height: 24px; letter-spacing: -0.005em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hpt.hpt .hpt-lot__title a { text-decoration: none; }
/* The title link covers the card, so the whole card is one target and one tab stop. */
.hpt.hpt .hpt-lot__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hpt.hpt .hpt-lot__title a:focus-visible { outline: none; }
.hpt.hpt .hpt-lot__title a:focus-visible::after { outline: 2px solid var(--hpt-ring); outline-offset: 2px; }
/* The button is a visual cue only; it follows the card's hover. */
.hpt.hpt .hpt-lot .hpt-btn { margin-top: auto; }
.hpt.hpt .hpt-lot:hover .hpt-btn--primary { background: var(--surface-teal-raised); }
.hpt.hpt .hpt-lot.is-closed .hpt-price dd { color: var(--ink-secondary); }

/* The tile that fills a row's spare space. It spans however many columns are empty. */
.hpt.hpt .hpt-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: var(--space-3); min-height: 280px; padding: var(--space-5); border: 1px solid var(--border-tint); border-radius: var(--radius-lg); background: var(--surface-tint); transition: box-shadow 0.18s, transform 0.18s; }
.hpt.hpt .hpt-promo:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.hpt.hpt .hpt-promo__mark { position: absolute; top: var(--space-5); right: var(--space-5); width: 72px; color: var(--border-tint); pointer-events: none; }
.hpt.hpt .hpt-promo__title { max-width: 11em; margin: 0; font-weight: 800; font-size: 22px; line-height: 28px; letter-spacing: -0.01em; text-wrap: balance; }
.hpt.hpt .hpt-promo__title a { text-decoration: none; }
.hpt.hpt .hpt-promo__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hpt.hpt .hpt-promo__title a:focus-visible { outline: none; }
.hpt.hpt .hpt-promo__title a:focus-visible::after { outline: 2px solid var(--hpt-ring); outline-offset: 2px; }
.hpt.hpt .hpt-promo__text { max-width: 30ch; margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-secondary); }
.hpt.hpt .hpt-promo .hpt-btn { margin-top: var(--space-2); }
.hpt.hpt .hpt-promo:hover .hpt-btn--primary { background: var(--surface-teal-raised); }

.hpt.hpt .hpt-price { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin: 0; }
.hpt.hpt .hpt-price dt { font-size: 14px; line-height: 20px; color: var(--hpt-text-2); }
.hpt.hpt .hpt-price dd { margin: 0; font-weight: 800; font-size: 18px; line-height: 22px; font-variant-numeric: tabular-nums; color: var(--hpt-accent); }

/* ---------- Property card ---------- */

.hpt.hpt .hpt-prop { position: relative; padding: var(--space-3); border-radius: var(--radius-lg); background: var(--surface-0); color: var(--ink); --hpt-text: var(--ink); --hpt-text-2: var(--ink-secondary); --hpt-rule: var(--border); --hpt-accent: var(--brand-green-deep); --hpt-ring: var(--focus-ring); }
.hpt.hpt .hpt-prop__media { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface-tint-soft); }
.hpt.hpt .hpt-prop__media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hpt.hpt .hpt-prop__media .hpt-chip { position: absolute; top: var(--space-3); left: var(--space-3); }
.hpt.hpt .hpt-prop__body { display: grid; gap: var(--space-4); padding: var(--space-4) var(--space-2) var(--space-2); }
.hpt.hpt .hpt-prop__title { margin: 0; font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: -0.005em; }
.hpt.hpt .hpt-prop__title a { text-decoration: none; }
.hpt.hpt .hpt-prop__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hpt.hpt .hpt-prop__title a:focus-visible { outline: none; }
.hpt.hpt .hpt-prop__title a:focus-visible::after { outline: 2px solid var(--focus-ring-on-teal); outline-offset: 3px; }
.hpt.hpt .hpt-prop .hpt-price { justify-content: flex-start; margin-top: calc(var(--space-3) * -1); }
.hpt.hpt .hpt-prop__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.hpt.hpt .hpt-prop:hover .hpt-btn--primary { background: var(--surface-teal-raised); }
/* Once the countdown runs out, a cached page stops claiming the auction is live. */
.hpt.hpt .hpt-prop.is-closed .hpt-chip,
.hpt.hpt .hpt-prop.is-closed .hpt-tiles { display: none; }
/* With no property live, the frame holds a photo and nothing else. */
.hpt.hpt .hpt-prop--image .hpt-prop__media img { aspect-ratio: 4 / 3; }

/* ---------- Call-to-action strip ---------- */

/* A slim band between sections: one line of invitation, one or two buttons. */
.hpt.hpt .hpt-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4) var(--space-6); padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2.6vw, 40px); border: 1px solid var(--border-tint); border-radius: var(--radius-lg); background: var(--surface-tint-soft); }
.hpt.hpt .hpt-cta__lead { flex: 1 1 380px; display: flex; align-items: center; gap: var(--space-4); min-width: 0; }
.hpt.hpt .hpt-cta__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-teal); color: var(--brand-green); }
.hpt.hpt .hpt-cta__icon svg { width: 22px; height: 22px; }
.hpt.hpt .hpt-cta__text { margin: 2px 0 0; font-size: 16px; line-height: 24px; color: var(--ink-secondary); }
.hpt.hpt .hpt-cta__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-3); }
@media (max-width: 560px) {
  .hpt.hpt .hpt-cta__lead { align-items: flex-start; }
  .hpt.hpt .hpt-cta__actions { grid-auto-flow: row; width: 100%; }
}

/* ---------- Sold card, testimonial ---------- */

.hpt.hpt .hpt-sold { position: relative; overflow: hidden; display: flex; align-items: flex-end; aspect-ratio: 354 / 489; border-radius: var(--radius-lg); background: var(--surface-teal); color: var(--ink-on-teal); text-decoration: none; }
.hpt.hpt .hpt-sold img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hpt.hpt .hpt-sold::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, color-mix(in srgb, var(--surface-teal-deep) 92%, transparent), transparent); }
.hpt.hpt .hpt-sold__meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding: var(--space-4); font-size: 14px; line-height: 20px; }

.hpt.hpt .hpt-quote { display: flex; flex-direction: column; gap: var(--space-4); aspect-ratio: 354 / 489; margin: 0; padding: var(--space-5); border: 1px solid var(--border-tint); border-radius: var(--radius-lg); background: var(--surface-tint); }
.hpt.hpt .hpt-quote svg { flex: none; width: 32px; height: 24px; color: var(--border-tint); }
/* Sized to the card, and clamped so a long review cannot push the name out. */
.hpt.hpt .hpt-quote blockquote { display: -webkit-box; overflow: hidden; margin: 0; font-style: italic; font-size: clamp(15px, 0.35vw + 11px, 17px); line-height: 1.55; -webkit-line-clamp: 9; -webkit-box-orient: vertical; }
.hpt.hpt .hpt-quote figcaption { margin-top: auto; font-size: 14px; line-height: 20px; color: var(--ink-secondary); }
.hpt.hpt .hpt-quote figcaption b { display: block; font-weight: 800; font-size: 16px; line-height: 22px; color: var(--ink); }

/* The sold strip: every card the same size, drifting edge to edge. */
.hpt.hpt .hpt-strip .hpt-marquee__track > * { width: clamp(260px, 18.5vw, 354px); }
.hpt.hpt .hpt-sold img { transition: transform 0.4s; }
.hpt.hpt a.hpt-sold:hover img { transform: scale(1.03); }
.hpt.hpt a.hpt-sold:focus-visible { outline-offset: 3px; }

/* ---------- Marquee (sold strip, categories) ---------- */

.hpt.hpt .hpt-marquee { overflow: hidden; }
.hpt.hpt .hpt-marquee__track { display: flex; gap: var(--hpt-gap, 20px); width: max-content; }
.hpt.hpt .hpt-marquee__track > * { flex: none; }
.hpt.hpt .hpt-marquee--fade { -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .hpt.hpt .hpt-marquee__track { animation: hpt-marquee var(--hpt-speed, 40s) linear infinite; }
  .hpt.hpt .hpt-marquee--reverse .hpt-marquee__track { animation-direction: reverse; }
  .hpt.hpt .hpt-marquee:focus-within .hpt-marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .hpt.hpt .hpt-marquee { overflow-x: auto; }
}
/* The track holds two identical halves, so shifting by half loops seamlessly. */
@keyframes hpt-marquee { to { transform: translateX(calc(-50% - var(--hpt-gap, 20px) / 2)); } }

/* ---------- Category pill ---------- */

/* Big enough that the photo reads at a glance. */
.hpt.hpt .hpt-cat { display: inline-flex; align-items: center; gap: 14px; padding: 8px 28px 8px 8px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface-0); font-weight: 700; font-size: clamp(17px, 0.5vw + 11px, 20px); line-height: 1.25; text-decoration: none; white-space: nowrap; transition: border-color 0.18s, background-color 0.18s; }
.hpt.hpt .hpt-cat img { width: clamp(60px, 4.4vw, 76px); height: clamp(60px, 4.4vw, 76px); border-radius: 50%; object-fit: cover; }
/* Only a pill that goes somewhere reacts to the pointer. */
.hpt.hpt a.hpt-cat:hover { border-color: var(--ink); background: var(--surface-tint-soft); }
/* Two rows drifting in opposite directions. */
.hpt.hpt .hpt-examples { display: grid; gap: var(--space-4); }
@media (max-width: 639px) {
  .hpt.hpt .hpt-examples { gap: var(--space-3); }
  .hpt.hpt .hpt-examples .hpt-marquee { --hpt-gap: 12px !important; }
  .hpt.hpt .hpt-cat { gap: 10px; padding: 6px 20px 6px 6px; font-size: 15px; }
  .hpt.hpt .hpt-cat img { width: 48px; height: 48px; }
}

/* ---------- FAQ ---------- */

/* Heading and links on the left, questions on the right. On narrow screens the
   links drop below the questions. */
.hpt.hpt .hpt-faq-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head list" "foot list"; grid-template-rows: auto 1fr; gap: var(--space-5) clamp(32px, 8vw, 160px); }
.hpt.hpt .hpt-faq-layout__head { grid-area: head; display: grid; gap: var(--space-3); }
.hpt.hpt .hpt-faq-layout__list { grid-area: list; }
.hpt.hpt .hpt-faq-layout__foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; align-content: flex-start; gap: var(--space-4) var(--space-5); }
@media (max-width: 900px) {
  .hpt.hpt .hpt-faq-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "foot"; grid-template-rows: none; }
}

.hpt.hpt .hpt-faq { border-top: 1px solid var(--border-tint); }
/* Beside the heading, the list holds the height of its longest answer (set by
   the script). Stacked, that would leave a hole above the links, so it is dropped. */
@media (min-width: 901px) {
  .hpt.hpt .hpt-faq { min-height: var(--hpt-faq-reserve, 0); }
}
.hpt.hpt .hpt-faq__item { border-bottom: 1px solid var(--border-tint); }
.hpt.hpt .hpt-faq__q { margin: 0; }
.hpt.hpt .hpt-faq__q button { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); width: 100%; padding: 20px 0; border: 0; background: none; font-weight: 700; font-size: 18px; line-height: 26px; color: var(--ink); text-align: left; white-space: normal; cursor: pointer; transition: color 0.18s; }
.hpt.hpt .hpt-faq__q button:hover,
.hpt.hpt .hpt-faq__item.is-open .hpt-faq__q button { color: var(--brand-green-deep); }
.hpt.hpt .hpt-faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-tint-soft); transition: background-color 0.3s; }
.hpt.hpt .hpt-faq__icon::before,
.hpt.hpt .hpt-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--ink); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.hpt.hpt .hpt-faq__icon::after { transform: rotate(90deg); }
.hpt.hpt .hpt-faq__item.is-open .hpt-faq__icon { background: var(--surface-tint); }
.hpt.hpt .hpt-faq__item.is-open .hpt-faq__icon::after { transform: rotate(0deg); }

/* The answer slides open by growing a grid row from nothing to its natural
   height, which needs no measuring. Without script every answer stays open. */
.hpt.hpt .hpt-faq__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.34s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s; }
.hpt.hpt .hpt-faq__clip { overflow: hidden; min-height: 0; }
.hpt.hpt .hpt-faq__body { max-width: 62ch; padding: 0 0 var(--space-5); font-size: 16px; line-height: 26px; color: var(--ink-secondary); transition: opacity 0.28s; }
.hpt.hpt .hpt-faq__body p { margin: 0; }
.hpt.hpt .hpt-faq__body p + p { margin-top: var(--space-3); }
.hpt.hpt .hpt-faq__body a { text-decoration: underline; text-underline-offset: 3px; }
/* Hidden once closed, so links inside a shut answer cannot be tabbed to. */
.hpt.hpt .hpt-faq.is-ready .hpt-faq__item:not(.is-open) .hpt-faq__panel { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.34s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.34s; }
.hpt.hpt .hpt-faq.is-ready .hpt-faq__item:not(.is-open) .hpt-faq__body { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hpt.hpt .hpt-faq__panel,
.hpt.hpt .hpt-faq.is-ready .hpt-faq__item:not(.is-open) .hpt-faq__panel,
.hpt.hpt .hpt-faq__body,
.hpt.hpt .hpt-faq__icon::before,
.hpt.hpt .hpt-faq__icon::after { transition: none; }
}

/* ---------- Steps ---------- */

/* The Get Started panel: what it is and the two ways in on top, the steps below. */
.hpt.hpt .hpt-start { display: grid; gap: clamp(32px, 4vw, 64px); }
.hpt.hpt .hpt-start__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-5) var(--space-7); }
.hpt.hpt .hpt-start__intro { display: grid; gap: var(--space-3); max-width: 34em; }
.hpt.hpt .hpt-start__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-3); }

/* A stepper: each marker is joined to the next, so the order reads at a glance. */
.hpt.hpt .hpt-steps { display: grid; grid-template-columns: repeat(var(--hpt-steps, 3), minmax(0, 1fr)); gap: var(--space-6); margin: 0; padding: 0; list-style: none; counter-reset: hpt-step; }
.hpt.hpt .hpt-steps > li { position: relative; display: grid; align-content: start; gap: var(--space-2); margin: 0; padding: 0; list-style: none; counter-increment: hpt-step; }
.hpt.hpt .hpt-steps > li:not(:last-child)::before { content: ""; position: absolute; top: 27px; right: calc(var(--space-4) - var(--space-6)); left: calc(56px + var(--space-4)); border-top: 2px dashed color-mix(in srgb, var(--ink) 24%, transparent); }
.hpt.hpt .hpt-steps__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--space-3); border-radius: 50%; background: var(--surface-teal); color: var(--brand-green); }
.hpt.hpt .hpt-steps__icon svg { width: 24px; height: 24px; }
.hpt.hpt .hpt-steps__icon::after { content: counter(hpt-step); position: absolute; top: -4px; right: -4px; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--surface-tint); border-radius: 50%; background: var(--brand-green); font: 800 12px/1 var(--font-sans); color: var(--ink); }
.hpt.hpt .hpt-steps__title { margin: 0; font-weight: 800; font-size: 20px; line-height: 26px; letter-spacing: -0.01em; }
.hpt.hpt .hpt-steps__text { max-width: 34ch; margin: 0; font-size: 16px; line-height: 24px; color: var(--ink-secondary); }
@media (max-width: 760px) {
  /* Read the steps first, then act: the buttons move below them. */
  .hpt.hpt .hpt-start__top { display: contents; }
  .hpt.hpt .hpt-start__intro { order: 1; }
  .hpt.hpt .hpt-steps { order: 2; }
  .hpt.hpt .hpt-start__actions { order: 3; grid-auto-flow: row; width: 100%; }
  .hpt.hpt .hpt-steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .hpt.hpt .hpt-steps > li { grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--space-4); }
  .hpt.hpt .hpt-steps > li:not(:last-child)::before { top: calc(56px + var(--space-2)); right: auto; bottom: calc(var(--space-2) - var(--space-5)); left: 27px; border-top: 0; border-left: 2px dashed color-mix(in srgb, var(--ink) 24%, transparent); }
  .hpt.hpt .hpt-steps__icon { grid-row: span 2; margin-bottom: 0; }
  .hpt.hpt .hpt-steps__title { align-self: end; }
}

/* ---------- Newsletter ---------- */

.hpt.hpt .hpt-news { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5) var(--space-7); }
.hpt.hpt .hpt-news__copy { flex: 1 1 320px; display: grid; gap: var(--space-2); }
.hpt.hpt .hpt-news form { flex: 1 1 360px; display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 560px; }
.hpt.hpt .hpt-news .hpt-input { flex: 1 1 220px; }
.hpt.hpt .hpt-news__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hpt.hpt .hpt-input { flex: 1; min-width: 0; min-height: 52px; padding: 0 var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-0); font: 400 16px/1 var(--font-sans); color: var(--ink); }
.hpt.hpt .hpt-input::placeholder { color: var(--ink-secondary); opacity: 1; }
.hpt.hpt .hpt-on-teal .hpt-input { border-color: transparent; background: var(--surface-teal-raised); color: var(--ink-on-teal); }
.hpt.hpt .hpt-on-teal .hpt-input::placeholder { color: var(--ink-on-teal-muted); }
.hpt.hpt .hpt-input:hover { border-color: var(--ink); }
.hpt.hpt .hpt-on-teal .hpt-input:hover { border-color: var(--ink-on-teal-muted); }
.hpt.hpt .hpt-news .hpt-btn { min-height: 52px; }

/* ---------- Top bar ---------- */

.hpt.hpt .hpt-topbar { background: var(--surface-teal-deep); border-bottom: 1px solid var(--border-on-teal); font-size: 13px; line-height: 18px; }
.hpt.hpt .hpt-topbar__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-5); min-height: 40px; }
/* Placed by column, so the countdown stays centred whatever the side widths are. */
.hpt.hpt .hpt-topbar__status { grid-column: 1; display: flex; align-items: center; gap: var(--space-2); min-width: 0; }
.hpt.hpt .hpt-topbar__status b { font-weight: 800; white-space: nowrap; }
.hpt.hpt .hpt-topbar__status span:not(.hpt-dot) { overflow: hidden; color: var(--ink-on-teal-secondary); text-overflow: ellipsis; white-space: nowrap; }
.hpt.hpt .hpt-topbar__count { grid-column: 2; display: flex; align-items: baseline; gap: var(--space-2); color: var(--ink-on-teal-secondary); white-space: nowrap; }
.hpt.hpt .hpt-topbar .hpt-link { grid-column: 3; justify-self: end; font-size: 13px; white-space: nowrap; }
.hpt.hpt .hpt-topbar .hpt-link svg { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .hpt.hpt .hpt-topbar__in { grid-template-columns: 1fr auto; }
  .hpt.hpt .hpt-topbar .hpt-link { display: none; }
}
@media (max-width: 560px) { .hpt.hpt .hpt-topbar__status span:not(.hpt-dot) { display: none; } }

/* ---------- Header ---------- */

/* The wrapper sticks, so the header stays reachable while the top bar scrolls away.
   It carries .hpt itself, hence the compound selector. */
.hpt.hpt.hpt-sticky { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; }

.hpt.hpt .hpt-header { position: relative; background: var(--surface-teal-deep); transition: background-color 0.2s, box-shadow 0.2s; }
.hpt.hpt.is-stuck .hpt-header { box-shadow: 0 1px 0 var(--border-on-teal), 0 10px 24px color-mix(in srgb, var(--surface-teal-deep) 35%, transparent); }

/* Over a hero both tiers start see-through. hpt.js adds is-stuck as soon as the page scrolls. */
.hpt.hpt.hpt-overlay .hpt-topbar { position: relative; z-index: 61; background: transparent; }
.hpt.hpt.hpt-overlay:not(.is-stuck) .hpt-header:not(.is-open) { background: transparent; }
@media (scripting: none) {
  .hpt.hpt.hpt-overlay:not(.is-stuck) .hpt-header:not(.is-open) { background: var(--surface-teal-deep); }
}
.hpt.hpt .hpt-header__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 76px; }
.hpt.hpt .hpt-logo { flex: none; display: block; }
.hpt.hpt .hpt-logo img { width: auto; height: 34px; }
/* On desktop the menu wrapper dissolves, so its parts line up with the actions:
   logo, navigation (centred in the free space), Register to Bid, Log In. */
.hpt.hpt .hpt-header__menu { display: contents; }
.hpt.hpt .hpt-header__menu > nav { margin-inline: auto; }
.hpt.hpt .hpt-header__actions { order: 2; }
.hpt.hpt .hpt-header__login { order: 3; }
.hpt.hpt .hpt-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 44px); margin: 0; padding: 0; list-style: none; }
.hpt.hpt .hpt-nav li { position: relative; margin: 0; padding: 0; list-style: none; }
/* The underline is a background, which leaves ::after free for the dropdown chevron. */
.hpt.hpt .hpt-nav > li > a { display: inline-flex; align-items: center; gap: var(--space-2); padding-block: var(--space-2); background: linear-gradient(var(--brand-green), var(--brand-green)) no-repeat 0 100% / 0 2px; font-weight: 700; font-size: 16px; line-height: 20px; text-decoration: none; white-space: nowrap; transition: background-size 0.2s; }
.hpt.hpt .hpt-nav > li > a:hover,
.hpt.hpt .hpt-nav > li.current-menu-item > a,
.hpt.hpt .hpt-nav > li.current-menu-ancestor > a,
.hpt.hpt .hpt-nav > li > a[aria-current="page"] { background-size: 100% 2px; }
.hpt.hpt .hpt-nav > .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; margin: -3px 2px 0 0; border-right: 2px solid var(--brand-green); border-bottom: 2px solid var(--brand-green); transform: rotate(45deg); }

.hpt.hpt .hpt-nav .sub-menu { position: absolute; top: 100%; left: -12px; z-index: 5; display: grid; gap: 2px; min-width: 220px; margin: 0; padding: var(--space-2); border-radius: var(--radius-sm); background: var(--surface-0); box-shadow: var(--shadow-card); list-style: none; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity 0.16s, transform 0.16s, visibility 0.16s; }
.hpt.hpt .hpt-nav li:hover > .sub-menu,
.hpt.hpt .hpt-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hpt.hpt .hpt-nav .sub-menu a { display: block; padding: 10px var(--space-3); border-radius: 6px; font-weight: 700; font-size: 15px; line-height: 20px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.hpt.hpt .hpt-nav .sub-menu a:hover,
.hpt.hpt .hpt-nav .sub-menu .current-menu-item > a { background: var(--surface-tint-soft); }
.hpt.hpt .hpt-nav .sub-menu a:focus-visible { outline-color: var(--focus-ring); }

.hpt.hpt .hpt-header__actions { display: flex; align-items: center; gap: var(--space-4); }
.hpt.hpt .hpt-header__login { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 700; font-size: 15px; line-height: 20px; text-decoration: none; white-space: nowrap; }
.hpt.hpt .hpt-header__login svg { width: 20px; height: 20px; color: var(--brand-green); }
.hpt.hpt .hpt-header__login:hover { text-decoration: underline; text-underline-offset: 5px; }
.hpt.hpt .hpt-header__menu .hpt-btn { display: none; }
.hpt.hpt .hpt-burger { display: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-sm); background: var(--surface-teal-raised); color: var(--ink-on-teal); cursor: pointer; }
.hpt.hpt .hpt-burger:hover { background: var(--surface-teal-hover); }
/* The icon wrappers take no line height, or the icon sits above centre. */
.hpt.hpt .hpt-burger > span:not(.hpt-sr) { display: grid; place-items: center; line-height: 0; }
.hpt.hpt .hpt-burger svg { display: block; width: 22px; height: 22px; }

@media (max-width: 1040px) {
  .hpt.hpt { --hpt-header-h: 64px; }
  .hpt.hpt .hpt-burger { display: grid; }
  .hpt.hpt .hpt-header__in { min-height: 64px; }
  .hpt.hpt .hpt-logo img { height: 30px; }
  /* The menu becomes a panel under the header, opened by the burger. */
  .hpt.hpt .hpt-header__menu { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: var(--space-4); max-height: calc(100vh - 64px); overflow-y: auto; padding: var(--space-4) clamp(20px, 5vw, 80px) var(--space-5); border-top: 1px solid var(--border-on-teal); background: var(--surface-teal-deep); box-shadow: var(--shadow-card); }
  .hpt.hpt .hpt-header.is-open .hpt-header__menu { display: flex; }
  .hpt.hpt .hpt-header__menu > nav { margin-inline: 0; }
  .hpt.hpt .hpt-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .hpt.hpt .hpt-nav > li { border-bottom: 1px solid var(--border-on-teal); }
  .hpt.hpt .hpt-nav > li > a { display: flex; padding-block: 14px; background: none; font-size: 17px; }
  .hpt.hpt .hpt-nav > .menu-item-has-children > a::after { display: none; }
  .hpt.hpt .hpt-nav .sub-menu { position: static; min-width: 0; padding: 0 0 var(--space-3) var(--space-3); background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .hpt.hpt .hpt-nav .sub-menu a { padding: var(--space-2) 0; font-weight: 400; color: var(--ink-on-teal-secondary); }
  .hpt.hpt .hpt-nav .sub-menu a:hover,
.hpt.hpt .hpt-nav .sub-menu .current-menu-item > a { background: none; color: var(--ink-on-teal); }
  .hpt.hpt .hpt-nav .sub-menu a:focus-visible { outline-color: var(--focus-ring-on-teal); }
  .hpt.hpt .hpt-header__login { order: 0; padding-block: var(--space-2); font-size: 17px; }
}
@media (max-width: 480px) {
  /* Register moves from the bar into the panel so the logo has room. */
  .hpt.hpt .hpt-header__actions .hpt-btn { display: none; }
  .hpt.hpt .hpt-header__menu .hpt-btn { display: inline-flex; }
}

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

/* Depth comes from four layers, back to front: a soft glow, a dark fade from the
   top, the two brand devices, then a dark fade over the devices' lower ends. */
.hpt.hpt .hpt-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, var(--surface-teal-deep) 8%, color-mix(in srgb, var(--surface-teal-deep) 96%, transparent) 22%, color-mix(in srgb, var(--surface-teal-deep) 80%, transparent) 33%, transparent 60%),
    radial-gradient(50% 60% at 50% 60%, var(--surface-teal), var(--surface-teal-deep));
  text-align: center;
}
.hpt.hpt .hpt-hero__devices { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 0; pointer-events: none; }
.hpt.hpt .hpt-hero::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: max(19.5%, 120px); background: linear-gradient(to top, var(--surface-teal-deep), color-mix(in srgb, var(--surface-teal-deep) 96%, transparent) 28%, color-mix(in srgb, var(--surface-teal-deep) 80%, transparent) 48%, transparent); pointer-events: none; }
.hpt.hpt .hpt-hero__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: var(--space-5); padding-block: clamp(56px, 15.6vw - 110px, 190px) clamp(72px, 9vw, 172px); }
/* Two balanced lines, as in the design, at any width the headline fits. */
.hpt.hpt .hpt-hero .hpt-h1 { max-width: 11em; }
.hpt.hpt .hpt-hero .hpt-lead { max-width: 34em; }
/* Equal columns, so a pair of buttons is the same width whatever their labels. */
.hpt.hpt .hpt-hero__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-3); margin-top: var(--space-2); }
@media (max-width: 480px) {
  .hpt.hpt .hpt-hero__actions { grid-auto-flow: row; width: min(100%, 320px); }
}

/* The hero slides up behind a see-through top bar and header. */
.hpt.hpt .hpt-hero--under-header { margin-top: calc(-1 * (var(--hpt-topbar-h) + var(--hpt-header-h))); }
.hpt.hpt .hpt-hero--under-header .hpt-hero__in { padding-top: calc(clamp(56px, 15.6vw - 110px, 190px) + var(--hpt-topbar-h) + var(--hpt-header-h)); }

/* ---------- Property feature ---------- */

.hpt.hpt .hpt-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 120px); }
.hpt.hpt .hpt-feature__copy { display: grid; justify-items: start; gap: var(--space-4); }
/* Equal columns, as in the hero, so the pair of buttons is the same width. */
.hpt.hpt .hpt-feature__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-3); margin-top: var(--space-2); }
@media (max-width: 480px) {
  .hpt.hpt .hpt-feature__actions { grid-auto-flow: row; width: 100%; }
}
/* No lot and no photo: the copy holds a readable measure on its own. */
.hpt.hpt .hpt-feature--solo { grid-template-columns: minmax(0, 720px); }
@media (max-width: 900px) { .hpt.hpt .hpt-feature { grid-template-columns: 1fr; } }
/* On phones the photo comes straight after the words and the buttons follow it,
   so the actions sit beside what they act on. The extra text link steps aside. */
@media (max-width: 639px) {
  .hpt.hpt .hpt-feature { gap: var(--space-4); }
  .hpt.hpt .hpt-feature__copy { display: contents; }
  .hpt.hpt .hpt-feature > .hpt-feature__copy > .hpt-badge { justify-self: start; }
  .hpt.hpt .hpt-feature .hpt-prop { order: 1; margin-top: var(--space-2); }
  .hpt.hpt .hpt-feature__actions { order: 2; margin-top: 0; }
  .hpt.hpt .hpt-feature__copy > .hpt-link { display: none; }
}

/* ---------- Footer ---------- */

.hpt.hpt .hpt-footer { background: var(--surface-teal); padding-block: clamp(48px, 5vw, 88px) var(--space-5); }
.hpt.hpt .hpt-footer__rule { margin: clamp(32px, 4vw, 64px) 0; border: 0; border-top: 1px solid var(--border-on-teal); }
.hpt.hpt .hpt-footer__cols { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) auto; gap: var(--space-6); }
.hpt.hpt .hpt-footer__cols .hpt-logo img { height: 38px; }
.hpt.hpt .hpt-footer h3 { margin: 0 0 var(--space-3); font-weight: 800; font-size: 16px; line-height: 22px; }
.hpt.hpt .hpt-footer__cols ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.hpt.hpt .hpt-footer__cols li { margin: 0; padding: 0; list-style: none; }
.hpt.hpt .hpt-footer__cols nav li a { font-size: 15px; line-height: 22px; color: var(--ink-on-teal-secondary); text-decoration: none; }
.hpt.hpt .hpt-footer__cols nav li a:hover { color: var(--ink-on-teal); text-decoration: underline; text-underline-offset: 4px; }
.hpt.hpt .hpt-social { display: flex; gap: var(--space-2); }
.hpt.hpt .hpt-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--surface-teal-raised); color: var(--brand-green); transition: background-color 0.18s, color 0.18s; }
.hpt.hpt .hpt-social a:hover { background: var(--brand-green); color: var(--ink); }
.hpt.hpt .hpt-social svg { width: 18px; height: 18px; }
.hpt.hpt .hpt-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-5); margin-top: clamp(32px, 4vw, 64px); padding-top: var(--space-5); border-top: 1px solid var(--border-on-teal); font-size: 13px; line-height: 18px; color: var(--ink-on-teal-muted); }
.hpt.hpt .hpt-news__note { flex-basis: 100%; margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-on-teal-secondary); }
@media (max-width: 900px) {
  .hpt.hpt .hpt-footer__cols { grid-template-columns: 1fr 1fr; }
  .hpt.hpt .hpt-footer__cols > :first-child,
.hpt.hpt .hpt-footer__cols > .hpt-social { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .hpt.hpt .hpt-news form { flex-direction: column; }
  .hpt.hpt .hpt-news .hpt-input { flex: 0 0 auto; }
}

/* ---------- Advert slots ---------- */

/* The Letterbox plugin brings its own frame; the section supplies the spacing. */
.hpt.hpt .hpt-section--banner .hp-lb { margin: 0; }

/* ---------- Utilities ---------- */

.hpt.hpt .hpt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
