/**
 * @file
 * HABD profile kit. Library beauty/habd.profile, theme group, weight 43.
 * Per-type rules live in css/habd/profile/<type>.css (weight 44).
 *
 * Markup: templates/includes/habd/profile/*.html.twig. Design: the profile
 * templates in docs/components-redesign; responsive rules derived from the
 * homepage brief and the provider phone design.
 *
 * Breakpoints: max-width 1439, 1279, 1024 and 640 (and min-width 1025 and
 * 641) only. Card grids go to two columns at 1024 and one at 640; the photo
 * strip, gallery and logo tiles are image grids with their own counts.
 *
 * THE LEGACY HEADING TRAP. custom.css:762 and style.css:6174 force Serotiva
 * on h1-h6 with !important, custom.css:1204 capitalises every heading, and
 * the HABD reset (habd-base.css) re-forces Cormorant with !important at
 * 0,2,1. A kit heading the design sets in Jost carries .habd-heading--sans,
 * whose rule below is !important at 0,3,0, and sets its own case. Known
 * cases: the label-style h2 (brands, map), the hours card h3, the host card
 * label.
 *
 * THE PARAGRAPH TRAP. The reset gives every <p> inside .habd its parent's
 * type at specificity 1,1,1 (habd-base.css). Style the wrapper, or match
 * with :not(#habd-reset) as .habd-prose--lead does.
 */

/* ==========================================================================
   Profile grounds and the root
   ========================================================================== */
.habd[data-ground="profile-cream"] { --habd-bg: var(--habd-cream); }
.habd[data-ground="profile-band"] { --habd-bg: linear-gradient(180deg, #F7F0DE 0%, #F1E8D2 100%); }
.habd[data-ground="profile-forest"] { --habd-bg: linear-gradient(180deg, var(--habd-forest) 0%, var(--habd-forest-deep) 100%); }
.habd[data-ground="profile-forest-rev"] { --habd-bg: linear-gradient(180deg, var(--habd-forest-deep) 0%, var(--habd-forest) 100%); }
.habd[data-ground="profile-darkest"] { --habd-bg: var(--habd-darkest); }

/* position:sticky dies under any overflow other than visible, so the root
   never clips. Never add data-glow to the article. */
.habd.habd-profile {
  --habd-fs-ph2: clamp(36px, calc(2vw + 24px), 52px);
  --habd-fs-ph1: clamp(34px, calc(4.2vw + 10px), 70px);
  --habd-card-shadow: 0 12px 34px rgba(90, 74, 32, 0.09);
  --habd-card-line: #EDE5D0;
  --habd-card-bg: #FFFEFA;
  --habd-profile-bar-h: 0px;
  position: relative;
  overflow: visible;
  padding: 0;
  margin: 0;
}
.habd .habd-profile [hidden],
.habd.habd-profile [hidden] {
  display: none !important;
}

/* style.css gives main.px-0 overflow:hidden on every page, which makes it a
   scroll container, so nothing inside could stick. clip trims the same
   overflow (the .row gutters) without being a scroll container. */
@supports (overflow: clip) {
  main.px-0:has(.habd-profile--sticky) {
    overflow: clip;
  }
}

/* Jump targets and focus scrolling: habd-shell.css sets html's
   scroll-padding-top to clear the toolbar and the sticky header. On a
   profile the sticky bar (1025px and up) and the bottom bar (1024px and
   down) are added, so neither a jump target nor a focused control ends up
   underneath them (WCAG 2.4.11). The variants mirror habd-shell.css. */
@media (min-width: 1025px) {
  html:has(.habd-profile--sticky) {
    scroll-padding-top: calc(var(--habd-offset-top, 0px) + var(--habd-header-h) + 64px + 12px) !important;
  }
}
@media (min-width: 1025px) and (max-width: 1279px) {
  html:not(.habd-js):has(.habd-profile--sticky) {
    scroll-padding-top: calc(var(--habd-offset-top, 0px) + 64px + 12px) !important;
  }
}
@media (min-width: 1025px) and (max-height: 500px) {
  html:has(.habd-profile--sticky) {
    scroll-padding-top: calc(var(--habd-offset-top, 0px) + 64px + 12px) !important;
  }
}
@media (max-width: 1024px) {
  html:has(.habd-bottom-bar) {
    scroll-padding-bottom: calc(64px + 12px + env(safe-area-inset-bottom));
  }
}
/* Without :has(), jump targets still clear the sticky bar. */
@supports not selector(:has(*)) {
  @media (min-width: 1025px) {
    .habd.habd-profile--sticky [id] {
      scroll-margin-top: 64px;
    }
  }
}

/* Legacy .img-responsive and theme rules set heights on images. */
.habd-profile img {
  height: auto;
}

/* Contextual links sit under the sticky bar (480) and header (490). */
.habd-profile > .contextual {
  z-index: 470;
}

/* The heading trap (see the file comment). */
.habd.habd .habd-heading--sans {
  font-family: var(--habd-sans) !important;
  text-transform: uppercase;
}

.habd.habd .habd-link {
  color: var(--habd-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.habd.habd .habd-psection__aside .habd-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.habd.habd a.habd-link:hover {
  color: var(--habd-accent);
  text-decoration-color: currentColor;
}

.habd .habd-icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

/* ==========================================================================
   Sections (profile/section.html.twig)
   ========================================================================== */
.habd.habd-psection {
  padding: 48px 0;
}
.habd.habd-psection:is([data-ground="profile-band"], [data-ground="profile-forest"], [data-ground="profile-forest-rev"]) {
  margin: 48px 0;
  padding: 80px 0;
}
.habd.habd-psection[data-ground="profile-band"] {
  border-top: 1px solid var(--habd-cream-line);
  border-bottom: 1px solid var(--habd-cream-line);
}
.habd-psection__inner {
  max-width: var(--habd-max);
  margin: 0 auto;
  padding: 0 var(--habd-gutter);
}
.habd-psection__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.habd-psection__titles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.habd.habd .habd-psection__heading {
  font-size: var(--habd-fs-ph2);
  line-height: 1.02;
  color: var(--habd-heading);
  overflow-wrap: break-word;
}
.habd .habd-psection__accent {
  font-style: italic;
}
.habd-psection__aside {
  flex: none;
  max-width: 380px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: right;
  color: var(--habd-label);
}

/* header: a hairline under the heading row. */
.habd-psection--header .habd-psection__head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--habd-line);
}

/* label: the h2 is a small label (habd-heading--sans habd-label). */
.habd.habd .habd-psection--label .habd-psection__heading {
  font-size: var(--habd-fs-label);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
  color: var(--habd-label);
}
.habd-psection--label .habd-psection__head {
  margin-bottom: 24px;
}

/* columns: label and heading in a left column. */
.habd-psection--columns .habd-psection__inner {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  column-gap: 80px;
  row-gap: 28px;
  align-items: start;
}
.habd-psection--columns .habd-psection__head {
  display: block;
}
.habd-psection--columns .habd-psection__titles {
  gap: 14px;
}

/* split: heading and details left, a card (opening hours) right. */
.habd-psection--split .habd-psection__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  grid-template-areas: "head card" "body card";
  grid-template-rows: auto 1fr;
  column-gap: 60px;
  row-gap: 24px;
}
.habd-psection--split .habd-psection__head { grid-area: head; }
.habd-psection--split .habd-psection__body { display: contents; }
.habd-psection--split .habd-contact { grid-area: body; }
.habd-psection--split .habd-hours { grid-area: card; align-self: stretch; }

@media (max-width: 1279px) {
  .habd-psection--columns .habd-psection__inner {
    grid-template-columns: 300px minmax(0, 1fr);
    column-gap: 56px;
  }
}
@media (max-width: 1024px) {
  .habd-psection--columns .habd-psection__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .habd-psection--split .habd-psection__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "body" "card";
    grid-template-rows: auto;
  }
  .habd-psection--split .habd-hours {
    max-width: 560px;
  }
}
@media (max-width: 640px) {
  .habd.habd-psection {
    padding: 32px 0;
  }
  .habd.habd-psection:is([data-ground="profile-band"], [data-ground="profile-forest"], [data-ground="profile-forest-rev"]) {
    margin: 32px 0;
    padding: 64px 0;
  }
  .habd-psection--header .habd-psection__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .habd-psection__aside {
    max-width: none;
    text-align: left;
  }
}

/* ==========================================================================
   Chips and pills (profile/chips.html.twig)
   ========================================================================== */
.habd.habd .habd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.habd .habd-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: var(--habd-radius-pill);
  line-height: 1.2;
}
.habd .habd-chips--status .habd-chip {
  padding: 6px 12px;
  border: 1px solid rgba(229, 200, 140, 0.5);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--habd-gold);
}
.habd .habd-chips--status .habd-chip--verified {
  background: rgba(229, 200, 140, 0.16);
}
.habd .habd-chips--status .habd-icon {
  width: 13px;
  height: 13px;
}
.habd .habd-chips--forest .habd-chip {
  padding: 13px 22px;
  background: var(--habd-forest);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--habd-gold);
  box-shadow: 0 10px 24px rgba(13, 42, 29, 0.28);
}
.habd .habd-chips--gold .habd-chip {
  padding: 11px 16px;
  border: 1px solid var(--habd-gold-deep);
  background: linear-gradient(178deg, #FFFEFA, #F6EFDD);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--habd-ink);
  box-shadow: 0 6px 16px rgba(90, 74, 32, 0.08);
}

/* ==========================================================================
   Logo (hero and host card)
   ========================================================================== */
.habd .habd-logo {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 2px solid rgba(229, 200, 140, 0.6);
  background: var(--habd-card-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.habd .habd-logo--circle {
  border-radius: 50%;
}
.habd .habd-logo--square {
  border-radius: var(--habd-radius-l);
}
.habd.habd .habd-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.habd.habd .habd-logo--square img {
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  object-fit: contain;
}

/* ==========================================================================
   Hero (profile/hero.html.twig)
   ========================================================================== */
.habd.habd-hero-profile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--habd-forest);
}
.habd-hero-profile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.habd.habd .habd-hero-profile__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.72;
}
.habd-hero-profile--image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, #07160F 0 22%, rgba(7, 22, 15, 0.88) 44%, rgba(7, 22, 15, 0.42) 70%, rgba(7, 22, 15, 0.1) 100%);
}
.habd-hero-profile__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  max-width: var(--habd-max);
  margin: 0 auto;
  padding: 74px var(--habd-gutter) 44px;
}
.habd-hero-profile__inner--badges {
  grid-template-columns: minmax(0, 1fr) 392px;
}
.habd-hero-profile--restricted .habd-hero-profile__inner {
  padding-bottom: 64px;
}
.habd-hero-profile__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  min-width: 0;
}
.habd-hero-profile__id {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.habd-hero-profile__titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.habd .habd-hero-profile__location {
  font-size: var(--habd-fs-label);
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--habd-gold);
}
.habd.habd .habd-hero-profile__title {
  font-size: var(--habd-fs-ph1);
  line-height: 0.98;
  letter-spacing: -0.01em;
  color: var(--habd-ink-light);
  overflow-wrap: break-word;
  text-wrap: balance;
}
.habd.habd .habd-hero-profile__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.habd .habd-hero-profile__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 400;
  color: var(--habd-ink-light-soft);
}
.habd .habd-hero-profile__trust-item .habd-icon {
  color: var(--habd-gold);
}
.habd.habd .habd-hero-profile__cta {
  padding: 18px 38px;
  font-size: 14px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}
.habd .habd-status-flag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--habd-radius-pill);
  background: #F3D9A4;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--habd-forest);
}

/* Optional hero lines (personal profile and later types). */
.habd .habd-hero-profile__type {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--habd-gold-light);
}
.habd .habd-hero-profile__intro {
  max-width: 720px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--habd-ink-light-soft);
}
.habd.habd .habd-hero-profile__map {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 12px;
  color: var(--habd-gold);
  text-decoration: underline;
  text-decoration-color: rgba(229, 200, 140, 0.45);
  text-underline-offset: 4px;
}
.habd.habd .habd-hero-profile__map:hover {
  color: var(--habd-gold-light);
}
.habd-hero-profile__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Verified and Expert badges (profile/badges.html.twig). */
.habd-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.habd.habd .habd-badges__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.habd .habd-badge {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
}
.habd .habd-badge--verified {
  background: linear-gradient(160deg, #F7E7BE, #E5C88C 45%, #C9A24A);
  color: var(--habd-forest);
}
.habd .habd-badge--expert {
  border: 2px solid var(--habd-gold);
  background: var(--habd-cream);
  color: var(--habd-ink);
}
.habd .habd-badge__disc {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--habd-forest);
  color: var(--habd-gold);
}
.habd .habd-badge__disc .habd-icon {
  width: 26px;
  height: 26px;
}
.habd .habd-badge__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.habd .habd-badge__title {
  font-family: var(--habd-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 0.95;
}
.habd .habd-badge__line {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #3F3416;
}
.habd .habd-badge--expert .habd-badge__line {
  color: var(--habd-ink-body);
}
.habd.habd .habd-badges__explain {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  min-height: 44px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--habd-gold);
  text-decoration: underline;
  text-decoration-color: rgba(229, 200, 140, 0.45);
  text-underline-offset: 5px;
}
.habd.habd .habd-badges__explain:hover {
  color: var(--habd-gold);
  text-decoration-color: currentColor;
}

/* Facts row (profile/facts.html.twig). */
.habd-facts {
  position: relative;
  border-top: 1px solid var(--habd-forest-line);
  /* The design's 0.45 lets a light photo drop the 13px labels below AA. */
  background: rgba(5, 15, 10, 0.62);
}
.habd-facts__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: var(--habd-max);
  margin: 0 auto;
  padding: 24px var(--habd-gutter);
}
.habd-facts__rating {
  display: flex;
  flex: none;
  align-items: center;
  gap: 12px;
  padding-right: 36px;
  border-right: 1px solid var(--habd-forest-line);
}
.habd-facts__rating:last-child {
  padding-right: 0;
  border-right: 0;
}
.habd .habd-facts__mark .habd-icon {
  width: 26px;
  height: 26px;
  color: var(--habd-gold);
}
.habd-facts__rating-text {
  display: flex;
  flex-direction: column;
}
.habd-facts__score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.habd .habd-facts__figure,
.habd.habd .habd-facts__value {
  font-family: var(--habd-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--habd-ink-light);
}
.habd .habd-facts__source {
  font-size: 14px;
  font-weight: 300;
  color: var(--habd-meta-dark);
}
.habd.habd .habd-facts__list {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px clamp(24px, 3vw, 56px);
  margin: 0;
}
.habd-facts__item {
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
}
.habd.habd .habd-facts__label {
  line-height: 1.3;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--habd-meta-dark);
}

/* Stars (profile/stars.html.twig). */
.habd .habd-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--habd-gold);
}
.habd .habd-stars .habd-icon {
  width: 16px;
  height: 16px;
}
.habd[data-tone="light"] .habd-stars {
  color: var(--habd-gold-display);
}

@media (max-width: 1279px) {
  .habd-hero-profile__inner--badges {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1024px) {
  /* One column: text runs across the whole photo, so the scrim does too. */
  .habd-hero-profile--image::before {
    background: linear-gradient(180deg, rgba(7, 22, 15, 0.82) 0%, rgba(7, 22, 15, 0.9) 100%);
  }
  .habd-hero-profile__inner,
  .habd-hero-profile__inner--badges {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-top: 56px;
  }
  .habd.habd .habd-badges__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .habd.habd .habd-badges__list > :only-child {
    grid-column: 1 / -1;
    max-width: 480px;
  }
  .habd .habd-badge {
    padding: 22px 24px;
  }
  .habd .habd-badge__title {
    font-size: 32px;
  }
  .habd.habd .habd-badges__explain {
    align-self: flex-start;
  }
  .habd-facts__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .habd-facts__rating {
    padding-right: 0;
    border-right: 0;
  }
  .habd.habd .habd-facts__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
@media (max-width: 640px) {
  .habd-hero-profile__inner,
  .habd-hero-profile__inner--badges {
    gap: 14px;
    padding: 26px var(--habd-gutter) 22px;
  }
  .habd.habd .habd-hero-profile__media img {
    opacity: 0.16;
    filter: grayscale(0.5);
  }
  .habd-hero-profile--image::before {
    background: linear-gradient(180deg, rgba(13, 42, 29, 0.88), rgba(13, 42, 29, 0.95));
  }
  .habd-hero-profile__main {
    gap: 14px;
  }
  .habd-hero-profile__id {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .habd .habd-hero-profile__logo {
    width: 62px;
    height: 62px;
  }
  .habd.habd .habd-hero-profile__logo.habd-logo--square img {
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
  }
  .habd-hero-profile__action {
    width: 100%;
  }
  .habd.habd .habd-hero-profile__map {
    display: flex;
    width: fit-content;
    margin-left: 0;
  }
  .habd.habd .habd-hero-profile__secondary {
    width: 100%;
  }
  .habd.habd .habd-hero-profile__cta {
    width: 100%;
    min-height: 52px;
    padding: 16px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }
  /* Verified and Expert merge into one translucent gold panel. */
  .habd.habd ul.habd-badges__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(229, 200, 140, 0.55);
    border-radius: var(--habd-radius-l);
    background: linear-gradient(168deg, rgba(229, 200, 140, 0.2), rgba(229, 200, 140, 0.05));
  }
  .habd.habd .habd-badges__list > :only-child {
    max-width: none;
  }
  .habd .habd-badge,
  .habd .habd-badge--verified,
  .habd .habd-badge--expert {
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--habd-ink-light);
  }
  .habd .habd-badge__disc {
    width: 34px;
    height: 34px;
  }
  .habd .habd-badge--verified .habd-badge__disc {
    background: linear-gradient(155deg, #F7E7BE, #C9A24A);
    color: var(--habd-forest);
  }
  .habd .habd-badge--expert .habd-badge__disc {
    border: 1px solid var(--habd-gold);
    background: none;
    color: var(--habd-gold);
  }
  .habd .habd-badge__disc .habd-icon {
    width: 16px;
    height: 16px;
  }
  .habd .habd-badge__title {
    font-size: 24px;
    line-height: 1.1;
  }
  .habd .habd-badge__line,
  .habd .habd-badge--expert .habd-badge__line {
    display: -webkit-box;
    overflow: hidden;
    font-size: 16px;
    font-weight: 300;
    color: var(--habd-ink-light-soft);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  /* The facts become a light strip under the hero. */
  .habd-facts {
    border-top: 0;
    border-bottom: 1px solid #EBE3CE;
    background: linear-gradient(180deg, #FFFEFA, #FBF6E6);
  }
  .habd-facts__inner {
    padding: 16px var(--habd-gutter);
    gap: 14px;
  }
  .habd .habd-facts__mark .habd-icon {
    color: var(--habd-gold-display);
  }
  .habd .habd-facts__figure,
  .habd.habd .habd-facts__value {
    font-size: 24px;
    color: var(--habd-ink);
  }
  .habd .habd-facts__source,
  .habd.habd .habd-facts__label {
    color: var(--habd-ink-meta);
  }
  .habd .habd-facts .habd-stars {
    color: var(--habd-gold-display);
  }
  .habd.habd .habd-facts__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }
}

/* ==========================================================================
   Sticky bar (1025px and up) and bottom bar (1024px and below)
   ========================================================================== */
.habd.habd-sticky-bar {
  position: -webkit-sticky;
  position: sticky;
  top: calc(var(--habd-offset-top, 0px) + var(--habd-header-h));
  z-index: 480;
  height: 64px;
  background: linear-gradient(180deg, rgba(13, 42, 29, 0.98), rgba(13, 42, 29, 0.94));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(7, 22, 15, 0.18);
}
body.toolbar-fixed .habd.habd-sticky-bar {
  top: calc(var(--habd-offset-top, 39px) + var(--habd-header-h));
}
body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open .habd.habd-sticky-bar {
  top: calc(var(--habd-offset-top, 79px) + var(--habd-header-h));
}
/* Where the site header does not stick (habd-shell.css), the bar sits
   directly under the toolbar. */
@media (max-width: 1279px) {
  html:not(.habd-js) .habd.habd-sticky-bar {
    top: var(--habd-offset-top, 0px);
  }
}
@media (max-height: 500px) {
  .habd.habd-sticky-bar {
    top: var(--habd-offset-top, 0px) !important;
  }
}
.habd-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  max-width: var(--habd-max);
  margin: 0 auto;
  padding: 0 var(--habd-gutter);
}
.habd-sticky-bar__id {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.habd .habd-sticky-bar__name {
  overflow: hidden;
  max-width: 26ch;
  font-family: var(--habd-serif);
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--habd-ink-light);
}
.habd .habd-sticky-bar__rating {
  flex: none;
  font-size: 15px;
  font-weight: 400;
  color: var(--habd-gold);
  white-space: nowrap;
}
.habd .habd-sticky-bar__source {
  font-weight: 300;
  color: var(--habd-meta-dark);
}
.habd-sticky-bar__nav {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.habd-sticky-bar__nav::-webkit-scrollbar {
  display: none;
}
.habd.habd .habd-sticky-bar__links {
  display: flex;
  gap: 24px;
}
.habd.habd .habd-sticky-bar__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--habd-ink-light-quiet);
  border-bottom: 1px solid transparent;
}
.habd.habd .habd-sticky-bar__link:hover,
.habd.habd .habd-sticky-bar__link[aria-current] {
  color: var(--habd-gold);
}
.habd.habd .habd-sticky-bar__link[aria-current] {
  border-bottom-color: var(--habd-gold);
}
.habd.habd .habd-sticky-bar__cta {
  flex: none;
  padding: 11px 24px;
  font-size: 13px;
  box-shadow: none;
}
@media (max-width: 1439px) {
  .habd .habd-chips--status .habd-chip {
    padding: 6px 8px;
  }
  .habd .habd-chips--status .habd-chip__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .habd.habd .habd-sticky-bar__links {
    gap: 18px;
  }
  .habd.habd .habd-sticky-bar__link {
    font-size: 13px;
  }
}
/* Below 1280px the name gives way so all five links fit. */
@media (max-width: 1279px) {
  .habd .habd-sticky-bar__name {
    max-width: 12ch;
  }
  .habd.habd .habd-sticky-bar__links {
    gap: 16px;
  }
  .habd.habd .habd-sticky-bar__link {
    letter-spacing: 0.08em;
  }
}
@media (max-width: 1024px) {
  .habd.habd-sticky-bar {
    display: none;
  }
}

.habd.habd-bottom-bar {
  display: none;
}
@media (max-width: 1024px) {
  .habd.habd-bottom-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: var(--habd-offset-left, 0px);
    z-index: 480;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
    padding: 8px var(--habd-gutter) calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--habd-forest-line);
    background: var(--habd-darkest);
    font-size: 16px;
  }
  .habd .habd-bottom-bar__name {
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--habd-serif);
    font-size: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--habd-ink-light);
  }
  .habd .habd-bottom-bar__rating {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    color: var(--habd-gold);
  }
  .habd .habd-bottom-bar__source {
    font-weight: 300;
    color: var(--habd-meta-dark);
  }
  .habd.habd .habd-bottom-bar__cta {
    flex: none;
    padding: 12px 26px;
    font-size: 13px;
    box-shadow: none;
  }
  body:has(.habd-bottom-bar) {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  @supports not selector(:has(*)) {
    html.habd-has-bottom-bar body {
      padding-bottom: calc(64px + env(safe-area-inset-bottom));
    }
  }
}
@media (max-width: 640px) {
  .habd .habd-bottom-bar__name {
    display: none;
  }
  .habd.habd .habd-bottom-bar__cta {
    margin-left: auto;
  }
}

/* ==========================================================================
   Salon photo strip (profile/photo-strip.html.twig)
   ========================================================================== */
.habd.habd-strip {
  padding: 30px 0 48px;
}
.habd.habd ul.habd-strip__list {
  display: grid;
  grid-template-columns: repeat(var(--habd-cols, 4), minmax(0, 321px));
  gap: 14px;
  max-width: var(--habd-max);
  margin: 0 auto;
  padding: 0 var(--habd-gutter);
}
.habd-strip__list--n1 { --habd-cols: 1; }
.habd-strip__list--n2 { --habd-cols: 2; }
.habd-strip__list--n3 { --habd-cols: 3; }
.habd-strip__list--n4 { --habd-cols: 4; }
.habd-strip__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--habd-radius-l);
  background: var(--habd-cream-flat);
  box-shadow: 0 12px 30px rgba(90, 74, 32, 0.09);
}
.habd.habd .habd-strip__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.habd-strip__item--hero-dup,
.habd.habd-strip--hero-only {
  display: none;
}
@media (max-width: 640px) {
  .habd.habd-strip {
    padding: 20px 0 32px;
  }
  .habd.habd ul.habd-strip__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .habd-strip__item--hero-dup {
    display: block;
  }
  .habd.habd-strip--hero-only {
    display: block;
  }
}

/* ==========================================================================
   Contact, hours and socials
   ========================================================================== */
.habd-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--habd-ink-light-soft);
}
.habd-contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.habd-contact__address {
  align-items: flex-start;
}
.habd .habd-contact__row > .habd-icon {
  width: 22px;
  height: 22px;
  color: var(--habd-gold);
}
.habd .habd-contact__address > .habd-icon {
  margin-top: 3px;
}
.habd.habd .habd-contact__lines {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.habd.habd .habd-contact__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--habd-gold);
  overflow-wrap: anywhere;
}
.habd.habd .habd-contact__link:hover {
  color: var(--habd-gold-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.habd.habd .habd-contact__directions {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: -10px 0 0 34px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.habd-contact__action {
  padding-top: 10px;
}

.habd.habd ul.habd-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}
.habd.habd .habd-socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(229, 200, 140, 0.55);
  border-radius: 50%;
  background: rgba(229, 200, 140, 0.08);
  color: var(--habd-gold);
  transition: background-color 0.2s ease;
}
.habd.habd .habd-socials__link:hover {
  background: rgba(229, 200, 140, 0.18);
  color: var(--habd-gold);
}
.habd .habd-socials__link .habd-icon {
  width: 22px;
  height: 22px;
}

.habd-hours {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 36px;
  border: 1px solid var(--habd-forest-line);
  border-radius: 18px;
  background: rgba(245, 241, 230, 0.06);
}
.habd.habd .habd-hours__title {
  font-size: var(--habd-fs-label);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
  color: var(--habd-gold);
}
.habd-hours__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--habd-forest-line);
}
.habd-hours__row:last-child {
  border-bottom: 0;
}
.habd.habd :is(.habd-hours__day, .habd-hours__time, .habd-core-details__term, .habd-core-details__value) {
  line-height: 1.45;
}
.habd.habd .habd-hours__day {
  font-size: 18px;
  font-weight: 300;
  color: var(--habd-ink-light-soft);
}
.habd.habd .habd-hours__time {
  font-size: 18px;
  font-weight: 400;
  text-align: right;
  color: var(--habd-ink-light);
}
.habd.habd .habd-hours__row.is-closed .habd-hours__time {
  color: var(--habd-meta-dark);
}
.habd.habd .habd-hours__row.is-today :is(.habd-hours__day, .habd-hours__time) {
  color: var(--habd-gold);
}
.habd.habd .habd-hours__rows--grouped {
  display: none;
}
@media (max-width: 640px) {
  .habd-contact {
    font-size: 17px;
  }
  .habd-contact__action,
  .habd-contact__action .habd-btn {
    width: 100%;
  }
  .habd.habd .habd-contact__action .habd-btn {
    white-space: normal;
    text-align: center;
  }
  .habd-hours {
    padding: 22px 20px;
  }
  .habd.habd .habd-hours__rows--week {
    display: none;
  }
  .habd.habd .habd-hours__rows--grouped {
    display: block;
  }
  .habd.habd :is(.habd-hours__day, .habd-hours__time) {
    font-size: 16px;
  }
}

/* ==========================================================================
   About, prose and check-list
   ========================================================================== */
.habd.habd .habd-about__types {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 12px;
}
.habd-about__type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.habd .habd-about__type-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--habd-label);
}

.habd .habd-prose {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--habd-text);
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.habd.habd .habd-prose > * + * {
  margin-top: 18px;
}
.habd:not(#habd-reset) .habd-prose--lead > p:first-child {
  font-family: var(--habd-serif) !important;
  font-size: 27px;
  line-height: 1.45;
  color: #2C2A22;
}
.habd.habd .habd-prose :is(h3, h4, h5, h6) {
  margin-top: 28px;
  font-size: 30px;
  line-height: 1.15;
}
.habd.habd .habd-prose :is(h3, h4, h5, h6) + * {
  margin-top: 8px;
}
.habd.habd .habd-prose a {
  color: var(--habd-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.habd.habd .habd-prose :is(ul, ol) {
  padding-left: 1.3em;
}
.habd.habd .habd-prose ul {
  list-style: disc;
}
.habd.habd .habd-prose ol {
  list-style: decimal;
}
.habd.habd .habd-prose :is(strong, b) {
  font-weight: 500;
}
.habd.habd .habd-prose img {
  border-radius: var(--habd-radius-m);
}

.habd.habd .habd-check-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 28px;
}
.habd .habd-check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--habd-line);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--habd-heading);
}
.habd .habd-check-list__item .habd-icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--habd-gold-ink);
}

@media (max-width: 1024px) {
  .habd.habd .habd-check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .habd .habd-prose {
    font-size: 17px;
  }
  .habd:not(#habd-reset) .habd-prose--lead > p:first-child {
    font-size: 22px;
  }
  .habd.habd .habd-prose :is(h3, h4, h5, h6) {
    font-size: 26px;
  }
  .habd.habd .habd-check-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Toggles and overflow ("Show all", "Read more", "View all photos")
   Overflow content is hidden only while JS runs (core adds html.js); the
   toggles start hidden and habd-profile.js reveals them.
   ========================================================================== */
html.js .habd [data-habd-overflow-scope]:not([data-expanded]) [data-habd-overflow] {
  display: none;
}
.habd.habd .habd-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 13px 26px;
  border: 1px solid #D9CDA9;
  border-radius: var(--habd-radius-pill);
  background: transparent;
  font-family: var(--habd-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
  cursor: pointer;
  list-style: none;
}
.habd.habd .habd-toggle::-webkit-details-marker {
  display: none;
}
.habd.habd .habd-toggle:hover {
  background: #F3EAD5;
}
.habd.habd[data-tone="dark"] .habd-toggle,
.habd[data-tone="dark"] .habd.habd .habd-toggle {
  border-color: rgba(229, 200, 140, 0.55);
  color: var(--habd-gold);
}
.habd.habd[data-tone="dark"] .habd-toggle:hover {
  background: rgba(229, 200, 140, 0.1);
}

/* ==========================================================================
   Card grids (profile/item-grid.html.twig and card.html.twig)
   ========================================================================== */
.habd.habd .habd-grid,
.habd.habd .habd-team,
.habd.habd .habd-reviews__list,
.habd.habd .habd-tick-cards,
.habd.habd .habd-awards__cards {
  display: grid;
  grid-template-columns: repeat(var(--habd-cols, 3), minmax(0, 1fr));
  gap: 20px;
}
.habd .habd-grid--n1 { --habd-cols: 1; }
.habd .habd-grid--n2 { --habd-cols: 2; }
.habd .habd-grid--n3 { --habd-cols: 3; }
.habd .habd-grid--n4 { --habd-cols: 4; }
.habd .habd-grid--n5 { --habd-cols: 5; }
/* One card never stretches across the page. */
.habd.habd :is(.habd-grid, .habd-team, .habd-reviews__list).habd-grid--n1 {
  grid-template-columns: minmax(0, 640px);
}
.habd-grid__item {
  display: flex;
  min-width: 0;
}
.habd-grid__item > .habd-card {
  width: 100%;
}

.habd.habd-profile .habd-card {
  border-color: #EBE3CF;
  background: var(--habd-card-bg);
}
.habd[data-tone="dark"] .habd-card {
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}
.habd.habd .habd-card--item .habd-card__body {
  gap: 10px;
  padding: 26px 28px 30px;
}
.habd.habd .habd-card--item .habd-card__title,
.habd.habd .habd-card--article .habd-card__title {
  font-size: 28px;
  line-height: 1.15;
  color: var(--habd-ink);
}
.habd.habd .habd-card--item .habd-card__text {
  color: var(--habd-ink-body);
}
.habd.habd .habd-card__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #F1E9D6;
}
.habd .habd-card__fact {
  font-size: 15px;
  font-weight: 400;
  color: var(--habd-ink-meta);
}
.habd .habd-card__fact:first-child {
  font-family: var(--habd-serif);
  font-size: 26px;
  line-height: 1;
  color: var(--habd-ink);
}
.habd.habd .habd-card__facts + .habd-card__cta {
  margin-top: 4px;
}
/* Text-only article cards (media: false). */
.habd.habd-profile .habd-card--article {
  border-radius: var(--habd-radius-l);
  box-shadow: 0 10px 30px rgba(90, 74, 32, 0.06);
}
.habd.habd-profile .habd-card--article .habd-card__body {
  gap: 12px;
  padding: 30px 32px 32px;
}
.habd.habd-profile .habd-card--article .habd-card__text {
  font-size: 17px;
  color: var(--habd-ink-body);
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* ==========================================================================
   All services (profile/link-grid.html.twig)
   ========================================================================== */
.habd-link-grid {
  padding: 34px 36px;
  border-top: 3px solid var(--habd-forest);
  border-radius: var(--habd-radius-xl);
  background: var(--habd-card-bg);
  box-shadow: 0 16px 40px rgba(90, 74, 32, 0.12);
}
.habd.habd .habd-link-grid__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
}
.habd-link-grid__item {
  border-bottom: 1px solid #F1E9D6;
}
.habd.habd :is(.habd-link-grid__link, .habd-link-grid__text) {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--habd-ink-body);
}
.habd.habd .habd-link-grid__link {
  color: var(--habd-gold-ink);
  text-decoration: underline;
  text-decoration-color: rgba(122, 97, 30, 0.35);
  text-underline-offset: 4px;
}
.habd.habd .habd-link-grid__link:hover {
  color: var(--habd-gold-ink);
  text-decoration-color: currentColor;
}
@media (max-width: 1279px) {
  .habd.habd .habd-link-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .habd.habd .habd-link-grid__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .habd-link-grid {
    padding: 18px 20px;
  }
  .habd.habd .habd-link-grid__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Reviews (profile/reviews.html.twig)
   ========================================================================== */
.habd.habd .habd-reviews__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-bottom: 20px;
  padding: 24px 30px;
  border: 1px solid var(--habd-forest-line);
  border-radius: var(--habd-radius-xl);
  background: rgba(245, 241, 230, 0.06);
}
.habd .habd-reviews__mark .habd-icon {
  width: 28px;
  height: 28px;
  color: var(--habd-gold);
}
.habd .habd-reviews__score {
  font-family: var(--habd-serif);
  font-size: 34px;
  line-height: 1;
  color: var(--habd-ink-light);
}
.habd .habd-reviews__bar .habd-stars .habd-icon {
  width: 20px;
  height: 20px;
}
.habd .habd-reviews__count {
  font-size: 18px;
  font-weight: 300;
  color: var(--habd-ink-light-soft);
}
.habd .habd-reviews__note {
  margin-left: auto;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--habd-meta-dark);
}
.habd.habd .habd-reviews__list {
  align-items: start;
  gap: 16px;
}
.habd .habd-review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 30px;
  border: 1px solid var(--habd-forest-line);
  border-radius: var(--habd-radius-l);
  background: rgba(245, 241, 230, 0.05);
}
.habd.habd .habd-review__text {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: #E7E2D4;
  overflow-wrap: break-word;
}
.habd .habd-review__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 15px;
}
.habd .habd-review__author {
  font-weight: 400;
  color: var(--habd-ink-light-soft);
}
.habd .habd-review__source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--habd-meta-dark);
}
.habd .habd-review__source .habd-icon {
  width: 14px;
  height: 14px;
}
@media (max-width: 640px) {
  .habd.habd .habd-reviews__bar {
    padding: 18px 20px;
  }
  .habd .habd-reviews__score {
    font-size: 28px;
  }
  .habd .habd-reviews__note {
    margin-left: 0;
  }
  .habd .habd-review {
    padding: 22px 20px;
  }
}

/* ==========================================================================
   Team (profile/team.html.twig)
   ========================================================================== */
.habd-team__item {
  display: flex;
  min-width: 0;
}
.habd.habd .habd-team__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-top: 3px solid var(--habd-forest);
  border-radius: var(--habd-radius-l);
  background: var(--habd-card-bg);
  box-shadow: 0 14px 38px rgba(90, 74, 32, 0.12);
  color: var(--habd-ink-body);
  transition: box-shadow 180ms ease, transform 180ms ease;
  --habd-focus: var(--habd-gold-ink);
}
.habd.habd a.habd-team__card:hover,
.habd.habd a.habd-team__card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(90, 74, 32, 0.18);
  color: var(--habd-ink-body);
}
.habd-team__photo {
  position: relative;
  flex: none;
  height: 300px;
  overflow: hidden;
  background: var(--habd-forest);
}
.habd.habd .habd-team__photo > :is(img, picture, .habd-fallback),
.habd.habd .habd-team__photo > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 25%;
}
.habd-team__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px 28px;
}
.habd.habd .habd-team__name {
  font-size: 30px;
  line-height: 1.1;
  color: var(--habd-ink);
}
.habd .habd-team__tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 4px;
  border-radius: 50%;
  background: linear-gradient(155deg, #F7E7BE, #C9A24A);
  color: var(--habd-forest);
  vertical-align: 0.1em;
}
.habd .habd-team__tick .habd-icon {
  width: 14px;
  height: 14px;
}
.habd .habd-team__role {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
}
.habd .habd-team__bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}
.habd .habd-team__cta {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
  text-decoration: underline;
  text-decoration-color: rgba(122, 97, 30, 0.4);
  text-underline-offset: 5px;
}
@media (max-width: 640px) {
  .habd-team__photo {
    height: 260px;
  }
}

/* ==========================================================================
   Awards (profile/awards.html.twig) and tables
   ========================================================================== */
.habd.habd ul.habd-awards__cards {
  gap: 14px;
  padding: 30px;
  border-radius: var(--habd-radius-xl);
  background: linear-gradient(180deg, var(--habd-forest), var(--habd-forest-deep));
  box-shadow: 0 18px 44px rgba(7, 22, 15, 0.22);
}
.habd.habd .habd-awards__cards.habd-grid--n1 {
  grid-template-columns: minmax(0, 360px);
}
.habd .habd-awards__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(229, 200, 140, 0.4);
  border-radius: var(--habd-radius-m);
  background: rgba(229, 200, 140, 0.1);
}
.habd .habd-awards__year {
  font-family: var(--habd-serif);
  font-size: 26px;
  line-height: 1;
  color: var(--habd-gold);
}
.habd .habd-awards__title {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--habd-ink-light);
  overflow-wrap: break-word;
}
.habd .habd-awards__org {
  margin-top: auto;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--habd-meta-dark);
}
.habd-awards__details {
  margin-top: 8px;
}
.habd.habd .habd-awards__summary {
  width: fit-content;
}
.habd-awards__details[open] > .habd-awards__summary {
  margin-bottom: 4px;
}
.habd.habd .habd-awards__items li + li {
  margin-top: 6px;
}

.habd.habd .habd-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: var(--habd-radius-l);
  background: var(--habd-card-bg);
  box-shadow: 0 10px 30px rgba(90, 74, 32, 0.06);
}
.habd.habd .habd-psection--header .habd-psection__body > .habd-qualifications > .habd-table-wrap {
  margin-top: 0;
}
.habd.habd .habd-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: none;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--habd-ink-body);
}
.habd.habd .habd-table th[scope="col"] {
  padding: 18px 20px;
  border-bottom: 1px solid #E1D5B4;
  background: linear-gradient(180deg, #FFFEFA, #FBF6E6);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--habd-gold-ink);
}
.habd.habd .habd-table :is(th, td) {
  border-top: 0;
  border-right: 0;
  border-left: 0;
}
.habd.habd .habd-table :is(td, th[scope="row"]) {
  padding: 16px 20px;
  border-bottom: 1px solid var(--habd-card-line);
  vertical-align: top;
  text-align: left;
}
.habd.habd .habd-table tr:last-child :is(td, th[scope="row"]) {
  border-bottom: 0;
}
.habd.habd .habd-table :is(th, td):first-child {
  padding-left: 32px;
}
.habd.habd .habd-table :is(th, td):last-child {
  padding-right: 32px;
}
.habd.habd .habd-awards__table-year {
  width: 120px;
  font-family: var(--habd-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--habd-gold-display);
}
.habd.habd .habd-qualifications__name {
  color: var(--habd-ink);
}
.habd.habd .habd-qualifications__view {
  display: inline-flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: -12px 0;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 1024px) {
  .habd.habd .habd-table {
    min-width: 720px;
  }
  .habd.habd .habd-awards__table {
    min-width: 0;
  }
}
@media (max-width: 640px) {
  .habd.habd ul.habd-awards__cards {
    padding: 18px;
  }
  .habd.habd .habd-table :is(th, td):first-child {
    padding-left: 20px;
  }
  .habd.habd .habd-table :is(th, td):last-child {
    padding-right: 20px;
  }
  .habd.habd .habd-awards__table-year {
    width: 76px;
    font-size: 24px;
  }
  /* Qualifications: each row becomes a card. */
  .habd.habd .habd-qualifications__table {
    min-width: 0;
  }
  .habd-qualifications__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .habd-qualifications__table :is(tbody, tr, td) {
    display: block;
    width: 100%;
  }
  .habd.habd .habd-qualifications__table tr {
    padding: 16px 20px;
    border-bottom: 1px solid var(--habd-card-line);
  }
  .habd.habd .habd-qualifications__table tr:last-child {
    border-bottom: 0;
  }
  /* :is(td, th[scope="row"]) above weighs 0,4,1. */
  .habd.habd .habd-table.habd-qualifications__table :is(td, th[scope="row"]),
  .habd.habd .habd-table.habd-qualifications__table :is(td, th):is(:first-child, :last-child) {
    padding: 3px 0;
    border: 0;
  }
  .habd.habd .habd-qualifications__table td:empty {
    display: none;
  }
  .habd-qualifications__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--habd-gold-ink);
  }
  .habd.habd .habd-qualifications__view {
    margin: 0;
  }
}

/* ==========================================================================
   Credentials: the limits note, tick cards and insurance
   ========================================================================== */
.habd.habd-credentials__note {
  padding-top: 48px;
}
.habd .habd-limits-note {
  display: block;
  max-width: 900px;
  padding: 18px 24px;
  border-left: 3px solid var(--habd-gold-deep);
  border-radius: 0 var(--habd-radius-m) var(--habd-radius-m) 0;
  background: var(--habd-card-bg);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--habd-ink-body);
}
.habd .habd-limits-note__title {
  font-weight: 500;
  color: var(--habd-ink);
}

.habd .habd-tick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--habd-card-line);
  border-radius: var(--habd-radius-m);
  background: var(--habd-card-bg);
  box-shadow: 0 6px 18px rgba(90, 74, 32, 0.05);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--habd-ink);
}
.habd.habd .habd-tick-cards {
  gap: 14px;
}
.habd .habd-tick-card__disc {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(155deg, #F7E7BE, #C9A24A);
  color: var(--habd-forest);
}
.habd .habd-tick-card__disc .habd-icon {
  width: 16px;
  height: 16px;
}
.habd .habd-tick-card__label {
  min-width: 0;
  overflow-wrap: break-word;
}

.habd .habd-insurance {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 26px 30px;
  border: 1px solid rgba(229, 200, 140, 0.45);
  border-radius: var(--habd-radius-xl);
  background: rgba(229, 200, 140, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34);
}
.habd-insurance__thumb {
  position: relative;
  flex: none;
  width: 110px;
  height: 88px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--habd-footer);
}
.habd.habd .habd-insurance__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.habd-insurance__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.habd.habd .habd-insurance__title {
  font-size: 30px;
  line-height: 1.1;
  color: var(--habd-ink-light);
}
.habd .habd-insurance__date {
  font-size: 17px;
  font-weight: 300;
  color: var(--habd-ink-light-soft);
}
.habd .habd-insurance__warning {
  font-size: 16px;
  font-weight: 400;
  color: #F3D9A4;
}
.habd .habd-insurance__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--habd-gold);
}
.habd.habd .habd-insurance__view {
  flex: none;
  margin-left: auto;
}
@media (max-width: 1279px) {
  .habd.habd .habd-tick-cards.habd-grid--n5 {
    --habd-cols: 4;
  }
}
@media (max-width: 640px) {
  .habd .habd-insurance {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }
  .habd.habd .habd-insurance__view {
    width: 100%;
    margin-left: 0;
  }
}

/* ==========================================================================
   Brand logo tiles (profile/logo-tiles.html.twig)
   ========================================================================== */
.habd.habd .habd-logo-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.habd .habd-logo-tiles__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 14px;
  border-radius: 10px;
  background: var(--habd-card-bg);
  box-shadow: 0 6px 18px rgba(90, 74, 32, 0.06);
}
.habd.habd .habd-logo-tiles__item img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.habd .habd-logo-tiles__name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  color: var(--habd-ink-body);
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .habd.habd .habd-logo-tiles {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}
@media (max-width: 640px) {
  .habd.habd .habd-logo-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .habd .habd-logo-tiles__item {
    height: 64px;
    padding: 10px;
  }
  .habd .habd-logo-tiles__name {
    font-size: 13px;
  }
}

/* ==========================================================================
   Gallery and lightbox (profile/gallery.html.twig)
   ========================================================================== */
.habd.habd .habd-gallery__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.habd-gallery__item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--habd-radius-m);
  background: var(--habd-cream-flat);
  box-shadow: 0 10px 26px rgba(90, 74, 32, 0.1);
}
.habd.habd .habd-gallery__link {
  position: absolute;
  inset: 0;
  display: block;
  --habd-focus: var(--habd-gold-ink);
}
.habd.habd .habd-gallery__link:focus-visible {
  outline: none;
}
.habd.habd .habd-gallery__link:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 3px solid #FFFFFF;
  border-radius: inherit;
  box-shadow: inset 0 0 0 5px var(--habd-gold-ink);
}
.habd.habd .habd-gallery__link img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.habd.habd .habd-gallery__link:hover img {
  transform: scale(1.03);
}
html.js .habd-gallery:not([data-expanded]) .habd-gallery__item:nth-child(n+11) {
  display: none;
}
.habd.habd .habd-gallery:not(.habd-gallery--over-10) .habd-gallery__toggle {
  display: none;
}
@media (max-width: 1024px) {
  .habd.habd .habd-gallery__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  html.js .habd-gallery:not([data-expanded]) .habd-gallery__item:nth-child(n+9) {
    display: none;
  }
  .habd.habd .habd-gallery.habd-gallery--over-8 .habd-gallery__toggle:not([hidden]) {
    display: inline-flex;
  }
}
@media (max-width: 640px) {
  .habd.habd .habd-gallery__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  html.js .habd-gallery:not([data-expanded]) .habd-gallery__item:nth-child(n+7) {
    display: none;
  }
  .habd.habd .habd-gallery.habd-gallery--over-6 .habd-gallery__toggle:not([hidden]) {
    display: inline-flex;
  }
}

.habd.habd-lightbox {
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 92vh;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--habd-ink-light);
}
.habd.habd-lightbox::backdrop {
  background: rgba(5, 15, 10, 0.92);
}
.habd-lightbox__frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.habd.habd .habd-lightbox__img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(92vh - 56px);
  border-radius: 10px;
  object-fit: contain;
}
.habd:not(#habd-reset) p.habd-lightbox__counter {
  font-size: 16px;
  color: var(--habd-ink-light-soft);
}
.habd.habd .habd-lightbox__btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(229, 200, 140, 0.55);
  border-radius: 50%;
  background: rgba(5, 15, 10, 0.7);
  color: var(--habd-gold);
  cursor: pointer;
}
.habd.habd .habd-lightbox__btn:hover {
  background: rgba(229, 200, 140, 0.16);
}
.habd .habd-lightbox__btn .habd-icon {
  width: 22px;
  height: 22px;
}
.habd.habd .habd-lightbox__close {
  top: 16px;
  right: 16px;
}
.habd.habd .habd-lightbox__prev,
.habd.habd .habd-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}
.habd.habd .habd-lightbox__prev {
  left: 16px;
}
.habd.habd .habd-lightbox__next {
  right: 16px;
}

/* ==========================================================================
   FAQ (profile/faq.html.twig)
   ========================================================================== */
.habd .habd-accordion {
  padding: 8px 32px;
  border-radius: var(--habd-radius-xl);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(90, 74, 32, 0.06);
}
.habd-accordion__item + .habd-accordion__item {
  border-top: 1px solid #E6DFCB;
}
.habd.habd .habd-accordion__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--habd-ink);
  --habd-focus: var(--habd-gold-ink);
}
.habd-accordion__question::-webkit-details-marker {
  display: none;
}
.habd-accordion__sign {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.habd-accordion__sign::before,
.habd-accordion__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: var(--habd-gold-ink);
  transition: transform 0.2s ease;
}
.habd-accordion__sign::after {
  transform: rotate(90deg);
}
.habd-accordion__item[open] .habd-accordion__sign::after {
  transform: rotate(0deg);
}
.habd.habd .habd-accordion__answer {
  padding-bottom: 24px;
  font-size: 18px;
}
@media (max-width: 640px) {
  .habd .habd-accordion {
    padding: 4px 20px;
  }
  .habd.habd .habd-accordion__question {
    padding: 16px 0;
    font-size: 17px;
  }
  .habd.habd .habd-accordion__answer {
    font-size: 16px;
  }
}

/* ==========================================================================
   Map (profile/map.html.twig)
   ========================================================================== */
.habd-map__facade {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 300px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--habd-radius-l);
  background: repeating-linear-gradient(135deg, #F1EADA 0 14px, #EDE5D0 14px 28px);
  text-align: center;
}
.habd-map__facade.is-loaded {
  display: block;
  padding: 0;
}
.habd-map__pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--habd-gold-deep);
  box-shadow: 0 0 0 8px rgba(201, 162, 74, 0.22);
}
.habd .habd-map__address {
  max-width: 520px;
  font-size: 17px;
  font-weight: 400;
  color: var(--habd-ink-body);
}
.habd.habd .habd-map__frame:focus-visible {
  outline-offset: -4px;
}
.habd-map__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.habd.habd .habd-map__open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 640px) {
  .habd-map__facade {
    height: 240px;
  }
}

/* ==========================================================================
   Book band and host card (profile/host-card.html.twig)
   ========================================================================== */
.habd.habd.habd-book {
  margin-bottom: 0;
}
.habd .habd-host-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 40px;
  border-radius: 18px;
  background: var(--habd-cream);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.4);
  color: var(--habd-ink-body);
  --habd-focus: var(--habd-gold-ink);
}
.habd-host-card__id {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}
.habd .habd-host-card__logo {
  width: 104px;
  height: 104px;
  border-color: var(--habd-cream-line);
  box-shadow: none;
}
.habd-host-card__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.habd.habd .habd-host-card__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--habd-ink);
}
.habd.habd .habd-host-card__label {
  font-family: var(--habd-sans);
  font-size: var(--habd-fs-label);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
}
.habd .habd-host-card__name {
  font-size: clamp(30px, calc(1.4vw + 20px), 40px);
  line-height: 1.05;
  overflow-wrap: break-word;
}
.habd .habd-host-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  font-size: 16px;
  color: var(--habd-ink-body);
}
.habd .habd-host-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.habd .habd-host-card .habd-stars {
  color: var(--habd-gold-display);
}
.habd .habd-host-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--habd-gold-display);
  border-radius: var(--habd-radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
}
.habd .habd-host-card__address {
  font-size: 17px;
  font-weight: 300;
}
.habd-host-card__actions {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.habd.habd .habd-host-card__profile {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
}
@media (max-width: 1024px) {
  .habd .habd-host-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .habd-host-card__actions {
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .habd .habd-host-card {
    padding: 24px 20px;
  }
  .habd-host-card__id {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .habd .habd-host-card__logo {
    width: 72px;
    height: 72px;
  }
  .habd-host-card__actions,
  .habd-host-card__actions .habd-btn {
    width: 100%;
  }
  .habd.habd .habd-host-card__cta {
    white-space: normal;
    text-align: center;
  }
}

/* ==========================================================================
   Simple profile details, and the caveat
   ========================================================================== */
.habd.habd-core-details {
  padding: 48px 0;
}
.habd.habd .habd-core-details__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  max-width: var(--habd-max);
  margin: 0 auto;
  padding: 0 var(--habd-gutter);
}
.habd-core-details__row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  font-weight: 300;
  color: var(--habd-ink-body);
}
.habd .habd-core-details__term .habd-icon {
  width: 22px;
  height: 22px;
  color: var(--habd-gold-ink);
}
.habd.habd .habd-core-details__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--habd-gold-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.habd.habd-caveat {
  padding: 28px var(--habd-gutter);
  border-top: 1px solid var(--habd-forest-line);
  text-align: center;
}
.habd:not(#habd-reset) p.habd-caveat__text {
  max-width: var(--habd-max);
  margin: 0 auto;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--habd-meta-dark);
}

/* ==========================================================================
   Card grids by width (the derived grid rule)
   ========================================================================== */
@media (max-width: 1024px) {
  .habd.habd :is(.habd-grid, .habd-team, .habd-reviews__list, .habd-tick-cards, .habd-awards__cards):not(.habd-grid--n1) {
    --habd-cols: 2;
  }
}
@media (max-width: 640px) {
  .habd.habd :is(.habd-grid, .habd-team, .habd-reviews__list, .habd-tick-cards, .habd-awards__cards) {
    --habd-cols: 1;
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ==========================================================================
   Forced colours and motion
   ========================================================================== */
@media (forced-colors: active) {
  .habd-accordion__sign::before,
  .habd-accordion__sign::after {
    background: CanvasText;
  }
}
@media (prefers-reduced-motion: reduce) {
  .habd.habd a.habd-team__card:hover,
  .habd.habd a.habd-team__card:focus-visible,
  .habd.habd .habd-gallery__link:hover img {
    transform: none;
  }
}

/* ==========================================================================
   About with an "at a glance" column
   ========================================================================== */
.habd-about--glance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}
.habd-glance {
  padding-left: 32px;
  border-left: 1px solid var(--habd-line);
}
.habd.habd .habd-glance__title {
  margin-bottom: 14px;
  font-size: var(--habd-fs-label);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
  color: var(--habd-label);
}
.habd-glance__row {
  padding: 12px 0;
  border-bottom: 1px solid var(--habd-line);
}
.habd.habd :is(.habd-glance__label, .habd-glance__value) {
  line-height: 1.45;
}
.habd.habd .habd-glance__label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--habd-meta);
}
.habd.habd .habd-glance__value {
  font-size: 17px;
  color: var(--habd-heading);
}
@media (max-width: 1024px) {
  .habd-about--glance {
    grid-template-columns: minmax(0, 1fr);
  }
  .habd-glance {
    padding-left: 0;
    border-left: 0;
  }
}

/* ==========================================================================
   Chips with a "Show all" toggle, and grouped blocks inside a section
   ========================================================================== */
.habd.habd .habd-chips--gold + .habd-toggle {
  margin-top: 16px;
}
.habd-quals-block {
  margin-top: 40px;
}
.habd.habd .habd-quals-block__title {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.1;
  color: var(--habd-heading);
}

/* ==========================================================================
   Listing cards (profile/listing-cards.html.twig)
   ========================================================================== */
.habd.habd ul.habd-listing-cards {
  display: grid;
  grid-template-columns: repeat(var(--habd-cols, 2), minmax(0, 1fr));
  gap: 20px;
}
.habd.habd ul.habd-listing-cards.habd-grid--n1 {
  grid-template-columns: minmax(0, 640px);
}
.habd .habd-listing-card {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 28px 30px;
  border-top: 3px solid var(--habd-forest);
  border-radius: var(--habd-radius-l);
  background: var(--habd-card-bg);
  box-shadow: var(--habd-card-shadow);
}
.habd .habd-listing-card__logo {
  width: 84px;
  height: 84px;
  border-color: var(--habd-cream-line);
  box-shadow: none;
}
.habd-listing-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.habd .habd-listing-card__type {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
}
.habd.habd .habd-listing-card__title {
  font-size: 30px;
  line-height: 1.1;
  color: var(--habd-ink);
  overflow-wrap: anywhere;
}
.habd .habd-listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 16px;
  color: var(--habd-ink-body);
}
.habd .habd-listing-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--habd-gold-ink);
}
.habd.habd .habd-listing-card__cta {
  margin-top: 8px;
}
@media (max-width: 1024px) {
  .habd.habd ul.habd-listing-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .habd .habd-listing-card {
    flex-direction: column;
    padding: 22px 20px;
  }
  .habd.habd .habd-listing-card__cta {
    width: 100%;
  }
}

/* ==========================================================================
   Prose cards on a dark band (profile/prose-cards.html.twig)
   ========================================================================== */
.habd.habd ul.habd-prose-cards {
  display: grid;
  grid-template-columns: repeat(var(--habd-cols, 2), minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.habd .habd-prose-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 30px 32px;
  border: 1px solid var(--habd-forest-line);
  border-radius: var(--habd-radius-xl);
  background: linear-gradient(178deg, rgba(245, 241, 230, 0.08), rgba(245, 241, 230, 0.03));
}
.habd .habd-prose-card--text:only-child,
.habd .habd-prose-card--text:first-child:nth-last-child(odd) {
  grid-column: 1 / -1;
}
.habd .habd-prose-card__kind {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--habd-gold);
}
.habd.habd .habd-prose-card__title {
  font-size: 30px;
  line-height: 1.1;
  color: var(--habd-ink-light);
}
.habd.habd .habd-prose-card .habd-prose {
  font-size: 17px;
  color: var(--habd-ink-light-soft);
}
.habd.habd ul.habd-prose-card__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
  color: var(--habd-ink-light-soft);
}
.habd .habd-prose-card__items li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 12px 2px 0;
  border-radius: 50%;
  background: var(--habd-gold);
}
@media (max-width: 1024px) {
  .habd.habd ul.habd-prose-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .habd .habd-prose-card {
    padding: 22px 20px;
  }
}

/* ==========================================================================
   Hero aside panel (e.g. accreditations) and dark chips
   ========================================================================== */
.habd-hero-profile__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.habd .habd-hero-profile__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  border: 1px solid rgba(229, 200, 140, 0.35);
  border-radius: var(--habd-radius-l);
  background: rgba(5, 15, 10, 0.55);
}
.habd .habd-hero-profile__panel-label {
  font-size: var(--habd-fs-label);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--habd-gold);
}
.habd .habd-chips--dark .habd-chip {
  padding: 8px 14px;
  border: 1px solid rgba(229, 200, 140, 0.45);
  background: rgba(229, 200, 140, 0.12);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--habd-gold-light);
}

/* An extra block under the About prose (e.g. a centre's experience). */
.habd-about__extra {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--habd-line);
}
.habd.habd .habd-about__extra-title {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.1;
  color: var(--habd-heading);
}

/* ==========================================================================
   Hero facts panel (aside_facts), host card extras, downloads
   ========================================================================== */
.habd.habd .habd-hero-profile__facts {
  display: flex;
  flex-direction: column;
  padding: 8px 24px;
  border: 1px solid rgba(229, 200, 140, 0.35);
  border-radius: var(--habd-radius-l);
  background: rgba(5, 15, 10, 0.55);
}
.habd-hero-profile__fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--habd-forest-line);
}
.habd-hero-profile__fact:last-child {
  border-bottom: 0;
}
.habd.habd .habd-hero-profile__fact dt {
  flex: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--habd-meta-dark);
}
.habd.habd .habd-hero-profile__fact dd {
  min-width: 0;
  font-family: var(--habd-serif);
  font-size: 22px;
  line-height: 1.25;
  text-align: right;
  color: var(--habd-ink-light);
  overflow-wrap: anywhere;
}
.habd.habd .habd-hero-profile__fact-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--habd-gold);
  text-decoration: underline;
  text-decoration-color: rgba(229, 200, 140, 0.45);
  text-underline-offset: 4px;
}

.habd.habd .habd-host-card__phone {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-size: 17px;
  color: var(--habd-gold-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.habd-host-card__also {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  font-size: 15px;
}
.habd .habd-host-card__also-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--habd-ink-meta);
}
.habd.habd .habd-host-card__also-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}
.habd.habd .habd-host-card__also-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--habd-gold-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.habd.habd ul.habd-downloads {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--habd-radius-l);
  background: var(--habd-card-bg);
  box-shadow: var(--habd-card-shadow);
}
.habd .habd-download {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--habd-card-line);
}
.habd .habd-download:last-child {
  border-bottom: 0;
}
.habd-download__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.habd .habd-download__label {
  font-size: 18px;
  font-weight: 500;
  color: var(--habd-ink);
}
.habd .habd-download__meta {
  font-size: 15px;
  color: var(--habd-ink-meta);
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .habd .habd-download {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
  }
}

/* ==========================================================================
   Prose whose lists become cards (.habd-prose--cards), e.g. a course's
   learning outcome or a product's highlights on a dark band. CSS only: the
   member's own <ul>/<ol> are restyled, nothing is parsed.
   ========================================================================== */
.habd.habd .habd-prose--cards {
  max-width: 980px;
  font-size: 18px;
  color: var(--habd-ink-light-soft);
}
.habd.habd .habd-prose--cards :is(ul, ol) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: habd-prose-card;
}
.habd.habd .habd-prose--cards li {
  position: relative;
  padding: 20px 22px 20px 64px;
  border: 1px solid var(--habd-forest-line);
  border-radius: var(--habd-radius-m);
  background: rgba(245, 241, 230, 0.05);
  font-size: 17px;
  line-height: 1.5;
  counter-increment: habd-prose-card;
}
.habd.habd .habd-prose--cards li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(155deg, #F7E7BE, #C9A24A);
  font-size: 15px;
  color: var(--habd-forest);
}
.habd.habd .habd-prose--cards ol li::before {
  content: counter(habd-prose-card);
  font-family: var(--habd-sans);
  font-weight: 500;
}
.habd.habd .habd-prose--cards :is(h3, h4, h5, h6) {
  color: var(--habd-ink-light);
}

/* ==========================================================================
   Hero state chips and the key-details card
   ========================================================================== */
.habd-hero-profile__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.habd .habd-status-flag--muted {
  background: rgba(245, 241, 230, 0.14);
  color: var(--habd-ink-light);
}
.habd .habd-status-flag--alert {
  background: #F2C4B5;
  color: #4A1A0E;
}
.habd .habd-details {
  padding: 8px 32px;
  border-top: 3px solid var(--habd-forest);
  border-radius: var(--habd-radius-l);
  background: var(--habd-card-bg);
  box-shadow: var(--habd-card-shadow);
}
.habd-details__row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--habd-card-line);
}
.habd-details__row:last-child {
  border-bottom: 0;
}
.habd.habd .habd-details__label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--habd-gold-ink);
}
.habd.habd .habd-details__value {
  font-size: 17px;
  line-height: 1.5;
  color: var(--habd-ink);
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .habd .habd-details {
    padding: 4px 20px;
  }
  .habd-details__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

