/*
 * EDGE Spatial Finder Hero v1.1.0
 * A component-scoped, container-aware hero/finder experience.
 */

.edge-sfh,
.edge-sfh * {
  box-sizing: border-box;
}

.edge-sfh {
  position: relative;
  inline-size: 100%;
  max-inline-size: 100%;
  color: var(--edge-sfh-text, #111312);
  font-family: "EDGE-Book", "Helvetica Neue", Arial, sans-serif;
  background: var(--edge-sfh-surface, #f4f3ef);
  isolation: isolate;
  overflow: clip;
  --edge-sfh-focus: var(--edge-sfh-accent, #758f70);
}

.edge-sfh--viewport-bleed {
  inline-size: 100vw;
  max-inline-size: 100vw;
  margin-inline: calc(50% - 50vw);
}

.edge-sfh button,
.edge-sfh a {
  -webkit-tap-highlight-color: transparent;
}

.edge-sfh button {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}

.edge-sfh img {
  display: block;
  max-inline-size: none;
}

.edge-sfh p,
.edge-sfh h1,
.edge-sfh h2,
.edge-sfh h3,
.edge-sfh div {
  margin-block-start: 0;
}

.edge-sfh__stage {
  position: relative;
  min-block-size: 90vh;
  min-block-size: var(--edge-sfh-wide-h, 90svh);
  background: #d9dedb;
  overflow: clip;
}

.edge-sfh__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.edge-sfh__media-mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #d9dedb;
  transform: translateZ(0);
}

.edge-sfh__media-image {
  position: absolute !important;
  inset: 0 !important;
  inline-size: 100% !important;
  block-size: 100% !important;
  max-inline-size: none !important;
  object-fit: cover !important;
  transform-origin: center center;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.edge-sfh__media-image--current {
  z-index: 1;
  opacity: 1;
}

.edge-sfh__media-image--next {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.edge-sfh__media-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--edge-sfh-overlay, rgba(20, 24, 22, 0.04));
  pointer-events: none;
}

.edge-sfh__align {
  position: relative;
  z-index: 4;
  inline-size: min(100%, var(--edge-sfh-align, 1440px));
  min-block-size: inherit;
  margin-inline: auto;
  padding: clamp(24px, 4.4vw, 70px) var(--edge-sfh-gutter, 28px);
  display: flex;
  align-items: var(--edge-sfh-align-items, center);
}

.edge-sfh__panel {
  position: relative;
  inline-size: min(var(--edge-sfh-panel-w, 500px), 100%);
  margin-inline: auto;
  padding: var(--edge-sfh-panel-padding, 40px);
  background: var(--edge-sfh-surface, #f4f3ef);
  border: 1px solid var(--edge-sfh-border, #d9dbd6);
  border-radius: var(--edge-sfh-panel-radius, 18px);
  overflow: hidden;
  transform: translateZ(0);
  will-change: width, margin, transform;
}

.edge-sfh[data-edge-sfh-panel-position="left"] .edge-sfh__panel { margin-inline: 0 auto; }
.edge-sfh[data-edge-sfh-panel-position="center"] .edge-sfh__panel { margin-inline: auto; }
.edge-sfh[data-edge-sfh-panel-position="right"] .edge-sfh__panel { margin-inline: auto 0; }
.edge-sfh[data-edge-sfh-panel-position="custom"] .edge-sfh__panel {
  inline-size: min(var(--edge-sfh-panel-w, 500px), calc(100% - var(--edge-sfh-panel-offset, 28%)));
  margin-inline: var(--edge-sfh-panel-offset, 28%) 0;
}

.edge-sfh.is-explorer-open:not([data-edge-sfh-mode="compact"]) .edge-sfh__panel {
  inline-size: min(var(--edge-sfh-panel-expanded-w, 1040px), 100%);
}
.edge-sfh.is-explorer-open[data-edge-sfh-explorer-position="left"]:not([data-edge-sfh-mode="compact"]) .edge-sfh__panel { margin-inline: 0 auto; }
.edge-sfh.is-explorer-open[data-edge-sfh-explorer-position="center"]:not([data-edge-sfh-mode="compact"]) .edge-sfh__panel { margin-inline: auto; }
.edge-sfh.is-explorer-open[data-edge-sfh-explorer-position="right"]:not([data-edge-sfh-mode="compact"]) .edge-sfh__panel { margin-inline: auto 0; }
.edge-sfh.is-explorer-open[data-edge-sfh-explorer-position="custom"]:not([data-edge-sfh-mode="compact"]) .edge-sfh__panel {
  inline-size: min(var(--edge-sfh-panel-expanded-w, 1040px), calc(100% - var(--edge-sfh-panel-expanded-offset, 12%)));
  margin-inline: var(--edge-sfh-panel-expanded-offset, 12%) 0;
}

.edge-sfh__brand {
  min-inline-size: 0;
}

.edge-sfh__eyebrow {
  margin-block-end: 18px;
  color: var(--edge-sfh-muted, #626963);
  font-family: "EDGE-Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.edge-sfh__heading {
  display: block;
  margin: 0 0 24px;
  color: var(--edge-sfh-text, #111312);
  font-family: "EDGE-Bold", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(38px, 3.25vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.edge-sfh__heading-mask {
  display: block;
  overflow: hidden;
  padding-block: 0.035em 0.09em;
  margin-block: -0.035em -0.09em;
}

.edge-sfh__heading-line {
  display: block;
  transform-origin: left bottom;
  will-change: transform, opacity;
}

.edge-sfh__heading em,
.edge-sfh__heading i {
  font-family: "P22 Mackinac Pro", "P22 Mackinac", Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
}

.edge-sfh__intro {
  max-inline-size: 43ch;
  margin-block-end: 26px;
  color: var(--edge-sfh-muted, #626963);
  font-family: "EDGE-Book", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.edge-sfh__intro p {
  margin: 0;
}

.edge-sfh__intro p + p {
  margin-block-start: 0.8em;
}

.edge-sfh__trigger {
  inline-size: 100%;
  min-block-size: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  color: var(--edge-sfh-text, #111312) !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-block-start: 1px solid var(--edge-sfh-trigger-border, #c8cbc6) !important;
  border-block-end: 1px solid var(--edge-sfh-trigger-border, #c8cbc6) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease;
}

.edge-sfh__trigger:hover,
.edge-sfh__trigger:focus,
.edge-sfh__trigger:active {
  color: var(--edge-sfh-accent, #758f70) !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--edge-sfh-accent, #758f70) !important;
  box-shadow: none !important;
}

.edge-sfh__trigger:focus-visible {
  outline: 2px solid var(--edge-sfh-focus);
  outline-offset: 4px;
}

.edge-sfh__trigger-copy {
  min-inline-size: 0;
  display: grid;
  gap: 5px;
}

.edge-sfh__trigger-label {
  font-family: "EDGE-Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.edge-sfh__trigger-selection {
  color: var(--edge-sfh-muted, #626963);
  font-size: 12px;
  line-height: 1.2;
}

.edge-sfh__trigger-icon {
  inline-size: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-sfh__trigger:hover .edge-sfh__trigger-icon,
.edge-sfh__trigger:focus-visible .edge-sfh__trigger-icon {
  transform: translateX(6px);
}

.edge-sfh__trigger-icon svg,
.edge-sfh__location-button-arrow svg,
.edge-sfh__detail-cta svg,
.edge-sfh__mobile-cta svg,
.edge-sfh__mobile-control svg {
  inline-size: 100%;
  block-size: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.edge-sfh__explorer {
  display: none;
  min-inline-size: 0;
}

.edge-sfh.is-explorer-open:not([data-edge-sfh-mode="compact"]) .edge-sfh__brand {
  display: none;
}

.edge-sfh.is-explorer-open:not([data-edge-sfh-mode="compact"]) .edge-sfh__explorer {
  display: block;
}

.edge-sfh__explorer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-block-end: 26px;
}

.edge-sfh__explorer-title {
  font-family: "P22 Mackinac Pro", "P22 Mackinac", Georgia, serif;
  font-size: clamp(28px, 2.3vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.edge-sfh__explorer-title:focus {
  outline: none;
}

.edge-sfh__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 !important;
  color: var(--edge-sfh-muted, #626963) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}

.edge-sfh__close:hover,
.edge-sfh__close:focus,
.edge-sfh__close:active {
  color: var(--edge-sfh-text, #111312) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.edge-sfh__close:focus-visible {
  outline: 2px solid var(--edge-sfh-focus);
  outline-offset: 4px;
}

.edge-sfh__close svg {
  inline-size: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
}

.edge-sfh__city-nav {
  display: flex;
  align-items: flex-end;
  gap: clamp(18px, 2.4vw, 36px);
  inline-size: 100%;
  padding-block-end: 18px;
  border-block-end: 1px solid var(--edge-sfh-border, #d9dbd6);
  overflow-x: auto;
  scrollbar-width: none;
}

.edge-sfh__city-nav::-webkit-scrollbar,
.edge-sfh__mobile-city-nav::-webkit-scrollbar,
.edge-sfh__mobile-track::-webkit-scrollbar {
  display: none;
}

.edge-sfh__city-button {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0 8px !important;
  color: var(--edge-sfh-muted, #626963) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: "EDGE-Book", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease;
}

.edge-sfh__city-button::after {
  content: "";
  position: absolute;
  left: 2px;
  right: -3px;
  bottom: -8px;
  height: 11px;
  background-image: var(--edge-sfh-lines-url);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: left center;
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.edge-sfh__city-button:hover,
.edge-sfh__city-button:focus,
.edge-sfh__city-button:active,
.edge-sfh__city-button.is-active {
  color: var(--edge-sfh-text, #111312) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.edge-sfh__city-button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.edge-sfh__city-button:focus-visible {
  outline: 2px solid var(--edge-sfh-focus);
  outline-offset: 5px;
}

.edge-sfh__city-index {
  color: var(--edge-sfh-muted, #626963);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.edge-sfh__explorer-body {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.28fr);
  gap: clamp(28px, 3.2vw, 52px);
  padding-block-start: 26px;
}

.edge-sfh__explorer-side {
  min-inline-size: 0;
  display: grid;
  align-content: start;
  gap: 24px;
}

.edge-sfh__explorer-photo {
  position: relative;
  display: none;
  inline-size: 100%;
  aspect-ratio: var(--edge-sfh-explorer-photo-ratio, 16 / 10);
  overflow: hidden;
  border-radius: max(10px, calc(var(--edge-sfh-panel-radius, 18px) - 4px));
  background: #d9dedb;
  isolation: isolate;
}

.edge-sfh[data-edge-sfh-mode="wide"].edge-sfh--explorer-photo .edge-sfh__explorer-photo {
  display: block;
}

.edge-sfh__explorer-photo-image {
  position: absolute !important;
  inset: 0 !important;
  inline-size: 100% !important;
  block-size: 100% !important;
  max-inline-size: none !important;
  object-fit: cover !important;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.edge-sfh__explorer-photo-image--current { z-index: 1; opacity: 1; }
.edge-sfh__explorer-photo-image--next { z-index: 2; opacity: 0; pointer-events: none; }
.edge-sfh__explorer-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 62%, rgba(17, 19, 18, 0.08));
  pointer-events: none;
}

.edge-sfh__location-list {
  min-inline-size: 0;
}

.edge-sfh__location-button {
  position: relative;
  inline-size: 100%;
  min-block-size: 74px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title arrow"
    "meta arrow";
  align-items: center;
  column-gap: 18px;
  padding: 14px 0 !important;
  color: var(--edge-sfh-text, #111312) !important;
  background: transparent !important;
  border: 0 !important;
  border-block-end: 1px solid var(--edge-sfh-border, #d9dbd6) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
  cursor: pointer;
  transition: padding-left 260ms cubic-bezier(0.22, 1, 0.36, 1), color 180ms ease;
}

.edge-sfh__location-button:first-child:not([hidden]) {
  border-block-start: 1px solid var(--edge-sfh-border, #d9dbd6) !important;
}

.edge-sfh__location-button:hover,
.edge-sfh__location-button:focus,
.edge-sfh__location-button:active,
.edge-sfh__location-button.is-active {
  color: var(--edge-sfh-accent, #758f70) !important;
  background: transparent !important;
  box-shadow: none !important;
  padding-inline-start: 8px !important;
}

.edge-sfh__location-button:focus-visible {
  outline: 2px solid var(--edge-sfh-focus);
  outline-offset: 4px;
}

.edge-sfh__location-button-title {
  grid-area: title;
  font-family: "P22 Mackinac Pro", "P22 Mackinac", Georgia, serif;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.edge-sfh__location-button-meta {
  grid-area: meta;
  margin-block-start: 5px;
  color: var(--edge-sfh-muted, #626963);
  font-size: 11px;
  line-height: 1.35;
}

.edge-sfh__location-button-arrow {
  grid-area: arrow;
  inline-size: 36px;
  color: currentColor;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-sfh__location-button:hover .edge-sfh__location-button-arrow,
.edge-sfh__location-button:focus-visible .edge-sfh__location-button-arrow,
.edge-sfh__location-button.is-active .edge-sfh__location-button-arrow {
  opacity: 1;
  transform: translateX(0);
}

.edge-sfh__detail {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  padding-inline-start: 0;
}

.edge-sfh__status {
  inline-size: fit-content;
  margin-block-end: 14px;
  color: var(--edge-sfh-accent, #758f70);
  font-family: "EDGE-Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.edge-sfh__detail-place,
.edge-sfh__mobile-kicker {
  margin-block-end: 8px;
  color: var(--edge-sfh-muted, #626963);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edge-sfh__detail-title {
  margin-block-end: 14px;
  font-family: "P22 Mackinac Pro", "P22 Mackinac", Georgia, serif;
  font-size: clamp(28px, 2.8vw, 46px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.edge-sfh__detail-description {
  max-inline-size: 45ch;
  margin: 0 0 18px;
  color: var(--edge-sfh-muted, #626963);
  font-size: 14px;
  line-height: 1.55;
}

.edge-sfh__detail-services {
  margin-block-end: 26px;
  color: var(--edge-sfh-text, #111312);
  font-size: 11px;
  line-height: 1.4;
}

.edge-sfh__detail-cta,
.edge-sfh__mobile-cta {
  inline-size: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-block-size: 46px;
  margin-block-start: auto;
  padding: 12px 20px !important;
  color: var(--edge-sfh-cta-color, #fff) !important;
  background: var(--edge-sfh-cta-bg, #758f70) !important;
  background-image: none !important;
  border: 1px solid var(--edge-sfh-cta-bg, #758f70) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  font-family: "EDGE-Medium", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-sfh__detail-cta svg,
.edge-sfh__mobile-cta svg {
  inline-size: 36px;
}

.edge-sfh__detail-cta:hover,
.edge-sfh__detail-cta:focus,
.edge-sfh__detail-cta:active,
.edge-sfh__mobile-cta:hover,
.edge-sfh__mobile-cta:focus,
.edge-sfh__mobile-cta:active {
  color: var(--edge-sfh-cta-hover-color, #fff) !important;
  background: var(--edge-sfh-cta-hover-bg, #111312) !important;
  border-color: var(--edge-sfh-cta-hover-bg, #111312) !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.edge-sfh__detail-cta:hover,
.edge-sfh__mobile-cta:hover {
  transform: translateY(-2px);
}

.edge-sfh__detail-cta:focus-visible,
.edge-sfh__mobile-cta:focus-visible {
  outline: 2px solid var(--edge-sfh-focus);
  outline-offset: 4px;
}

.edge-sfh__compact-browser {
  display: none;
}

/* Medium component mode --------------------------------------------------- */
.edge-sfh[data-edge-sfh-mode="medium"] .edge-sfh__stage {
  min-block-size: 82vh;
  min-block-size: var(--edge-sfh-medium-h, 82svh);
}

.edge-sfh[data-edge-sfh-mode="medium"] .edge-sfh__align {
  padding-inline: var(--edge-sfh-gutter, 28px);
}

.edge-sfh[data-edge-sfh-mode="medium"] .edge-sfh__panel {
  inline-size: min(var(--edge-sfh-medium-panel-w, 52%), 620px);
}

.edge-sfh[data-edge-sfh-mode="medium"].is-explorer-open .edge-sfh__panel {
  inline-size: min(92%, 880px);
}

.edge-sfh[data-edge-sfh-mode="medium"] .edge-sfh__explorer-photo {
  display: none !important;
}

.edge-sfh[data-edge-sfh-mode="medium"] .edge-sfh__heading {
  font-size: clamp(36px, 5.2vw, 54px);
}

.edge-sfh[data-edge-sfh-mode="medium"] .edge-sfh__explorer-body {
  grid-template-columns: minmax(190px, 0.8fr) minmax(250px, 1.2fr);
  gap: 30px;
}

/* Compact/mobile component mode ----------------------------------------- */
.edge-sfh[data-edge-sfh-mode="compact"] {
  overflow: clip;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__stage {
  min-block-size: 0;
  background: var(--edge-sfh-surface, #f4f3ef);
  overflow: visible;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__media {
  position: relative;
  inset: auto;
  block-size: var(--edge-sfh-compact-media, 56svh);
  min-block-size: 320px;
  max-block-size: 720px;
}

@supports not (height: 1svh) {
  .edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__media {
    block-size: 56vh;
  }
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__align {
  inline-size: 100%;
  min-block-size: 0;
  padding: 0;
  display: block;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__panel,
.edge-sfh[data-edge-sfh-mode="compact"].is-explorer-open .edge-sfh__panel {
  inline-size: 100%;
  max-inline-size: none;
  margin: 0;
  padding: var(--edge-sfh-compact-padding, 30px 22px 36px 22px);
  background: var(--edge-sfh-surface, #f4f3ef);
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__brand,
.edge-sfh[data-edge-sfh-mode="compact"].is-explorer-open .edge-sfh__brand {
  display: block;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__explorer,
.edge-sfh[data-edge-sfh-mode="compact"].is-explorer-open .edge-sfh__explorer {
  display: none;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__heading {
  max-inline-size: 12ch;
  margin-block-end: 20px;
  font-size: clamp(38px, 10.2vw, 58px);
  line-height: 0.98;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__intro {
  max-inline-size: 44ch;
  margin-block-end: 24px;
  font-size: 15px;
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__trigger {
  min-block-size: 70px;
}

.edge-sfh[data-edge-sfh-mode="compact"].is-explorer-open .edge-sfh__trigger-icon {
  transform: rotate(90deg);
}

.edge-sfh[data-edge-sfh-mode="compact"] .edge-sfh__compact-browser {
  display: block;
  max-block-size: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  background: var(--edge-sfh-surface, #f4f3ef);
}

.edge-sfh[data-edge-sfh-mode="compact"].is-explorer-open .edge-sfh__compact-browser {
  max-block-size: none;
  opacity: 1;
  visibility: visible;
  overflow: visible;
}

.edge-sfh__compact-browser-inner {
  padding: 0 0 34px;
}

.edge-sfh__mobile-city-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 2px 22px 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.edge-sfh__mobile-city-button {
  position: relative;
  flex: 0 0 auto;
  padding: 8px 0 10px !important;
  color: var(--edge-sfh-muted, #626963) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: "EDGE-Book", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.edge-sfh__mobile-city-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background-image: var(--edge-sfh-lines-url);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  transform: scaleX(0.72);
  transform-origin: left center;
  transition: opacity 200ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.edge-sfh__mobile-city-button:hover,
.edge-sfh__mobile-city-button:focus,
.edge-sfh__mobile-city-button:active,
.edge-sfh__mobile-city-button.is-active {
  color: var(--edge-sfh-text, #111312) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.edge-sfh__mobile-city-button.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.edge-sfh__mobile-city-button:focus-visible {
  outline: 2px solid var(--edge-sfh-focus);
  outline-offset: 4px;
}

.edge-sfh__mobile-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  inline-size: 100%;
  padding-inline: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 22px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.edge-sfh__mobile-card {
  flex: 0 0 var(--edge-sfh-mobile-card, 88%);
  min-inline-size: 0;
  display: flex;
  flex-direction: column;
  background: var(--edge-sfh-card-surface, #f4f3ef);
  border: 1px solid var(--edge-sfh-border, #d9dbd6);
  border-radius: var(--edge-sfh-card-radius, 18px);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.edge-sfh__mobile-card[hidden] {
  display: none !important;
}

.edge-sfh__mobile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9dedb;
}

.edge-sfh__mobile-image {
  position: absolute !important;
  inset: 0 !important;
  inline-size: 100% !important;
  block-size: 100% !important;
  object-fit: cover !important;
  max-inline-size: none !important;
}

.edge-sfh__mobile-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-block-size: 330px;
  padding: 24px;
}

.edge-sfh__mobile-title {
  margin-block-end: 14px;
  font-family: "P22 Mackinac Pro", "P22 Mackinac", Georgia, serif;
  font-size: clamp(28px, 8vw, 40px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.edge-sfh__mobile-description {
  margin: 0 0 18px;
  color: var(--edge-sfh-muted, #626963);
  font-size: 14px;
  line-height: 1.5;
}

.edge-sfh__mobile-services {
  margin-block-end: 26px;
  color: var(--edge-sfh-text, #111312);
  font-size: 11px;
  line-height: 1.35;
}

.edge-sfh__mobile-cta {
  margin-block-start: auto;
}

.edge-sfh__mobile-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 0;
}

.edge-sfh__mobile-arrows {
  display: flex;
  gap: 10px;
}

.edge-sfh__mobile-control {
  inline-size: var(--edge-sfh-control-size, 60px);
  block-size: var(--edge-sfh-control-size, 60px);
  display: grid;
  place-items: center;
  padding: 0 !important;
  color: var(--edge-sfh-accent, #758f70) !important;
  background: var(--edge-sfh-control-surface, #f8f8f6) !important;
  background-image: none !important;
  border: 1px solid var(--edge-sfh-border, #d9dbd6) !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 220ms ease;
}

.edge-sfh__mobile-control svg {
  inline-size: 52%;
}

.edge-sfh__mobile-control:hover,
.edge-sfh__mobile-control:focus,
.edge-sfh__mobile-control:active {
  color: var(--edge-sfh-text, #111312) !important;
  background: var(--edge-sfh-control-surface, #f8f8f6) !important;
  border-color: var(--edge-sfh-accent, #758f70) !important;
  box-shadow: none !important;
}

.edge-sfh__mobile-control:hover {
  transform: scale(1.035);
}

.edge-sfh__mobile-control:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.edge-sfh__mobile-control:focus-visible {
  outline: 2px solid var(--edge-sfh-focus);
  outline-offset: 3px;
}

.edge-sfh__mobile-counter {
  display: flex;
  gap: 6px;
  color: var(--edge-sfh-muted, #626963);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

/* Navigation handoff ----------------------------------------------------- */
.edge-sfh__handoff {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  pointer-events: none;
  background: var(--edge-sfh-surface, #f4f3ef);
  opacity: 0;
}

.edge-sfh__handoff-image {
  position: fixed;
  z-index: 2147483601;
  display: block;
  max-inline-size: none !important;
  object-fit: cover;
  will-change: inset, width, height, border-radius, transform;
}

/* Editor/fallback -------------------------------------------------------- */
.elementor-editor-active .edge-sfh__heading-line,
.elementor-editor-active .edge-sfh__panel,
.elementor-editor-active .edge-sfh__media-image,
.elementor-editor-active .edge-sfh__explorer-photo-image,
.edge-sfh[data-edge-sfh-motion="false"] .edge-sfh__heading-line,
.edge-sfh[data-edge-sfh-motion="false"] .edge-sfh__panel,
.edge-sfh[data-edge-sfh-motion="false"] .edge-sfh__media-image,
.edge-sfh[data-edge-sfh-motion="false"] .edge-sfh__explorer-photo-image {
  opacity: 1;
  transform: none;
}

.edge-sfh [hidden] {
  display: none !important;
}

/* Prevent Elementor global link/button hover colours from bleeding in. */
.elementor .edge-sfh a:hover,
.elementor .edge-sfh a:focus,
.elementor .edge-sfh a:active,
.elementor .edge-sfh button:hover,
.elementor .edge-sfh button:focus,
.elementor .edge-sfh button:active {
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .edge-sfh *,
  .edge-sfh *::before,
  .edge-sfh *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Give the last compact card enough trailing room to reach the same aligned
   reading position as earlier cards instead of stopping against the viewport. */
.edge-sfh__mobile-track::after {
  content: "";
  flex: 0 0 max(22px, calc(100% - var(--edge-sfh-mobile-card, 88%) - 22px));
  inline-size: max(22px, calc(100% - var(--edge-sfh-mobile-card, 88%) - 22px));
  pointer-events: none;
}
