.contact-page {
  --contact-card-width: 260px;
  --contact-grid-gap: 1.35rem;
  background: #fff;
  color: #222;
  font-family: "Pliant", "Segoe UI", sans-serif;
}

.contact-hero {
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
  background: #fff;
}

.contact-hero__inner {
  width: min(100%, 1200px);
  margin: 0 auto;
}

.contact-hero h1 {
  margin: 0;
  font-family: "Pliant", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #222;
}

.contact-status {
  text-align: center;
  color: #8a1f0f;
  padding: 0 1.5rem 1rem;
}

.contact-main {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  grid-template-areas:
    "heading heading"
    "cards aside";
  column-gap: 2.5rem;
  row-gap: 1.25rem;
  align-items: start;
}

.contact-layout__heading {
  grid-area: heading;
  margin: 0;
  color: #222;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-layout__cards {
  grid-area: cards;
  min-width: 0;
}

.contact-layout__aside {
  grid-area: aside;
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-self: start;
}

.office-hours-mount,
.opening-hours {
  width: 100%;
  max-width: none;
}

.opening-hours-fallback {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

.opening-hours {
  color: #000;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  flex-flow: column;
  padding: 1em 0.5em 0.5em;
  display: flex;
  gap: 1em;
}

.opening-hours__top {
  justify-content: space-between;
  align-items: center;
  padding-left: 0.75em;
  padding-right: 0.5em;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.opening-hours__title {
  margin: 0;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.25;
}

.opening-hours__status {
  color: #c00;
  border-radius: 0;
  justify-content: space-between;
  align-items: center;
  padding: 0.5em 0.75em 0.5em 0.625em;
  display: flex;
  position: relative;
  gap: 0.375em;
  flex-shrink: 0;
}

[data-opening-hours-store-status="open"] .opening-hours__status {
  color: #008214;
}

.opening-hours__status-bg {
  opacity: 0.08;
  background-color: currentColor;
  border-radius: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.opening-hours__status-dot {
  background-color: currentColor;
  border-radius: 0;
  width: 0.75em;
  height: 0.75em;
  position: relative;
}

.opening-hours__timetable {
  display: flex;
  flex-direction: column;
  gap: 0.125em;
}

.opening-hours__row {
  color: #333;
  border: 1px solid transparent;
  border-radius: 0;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.5em 0.75em;
  display: flex;
}

[data-opening-hours-current-day] {
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.opening-hours__p {
  margin: 0;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1;
}

.opening-hours__p.is--open {
  display: none;
}

[data-opening-hours-current-day] .opening-hours__p {
  font-weight: 600;
  color: #000;
}

[data-opening-hours-store-status="open"] .opening-hours__status .opening-hours__p.is--closed {
  display: none;
}

[data-opening-hours-store-status="open"] .opening-hours__status .opening-hours__p.is--open {
  display: block;
}

.opening-hours--summer {
  gap: 1rem;
  padding: 1em 0.85em 0.85em;
}

.opening-hours__badge {
  flex-shrink: 0;
  color: #111;
  background: #f2f2f2;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  padding: 0.45em 0.75em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.opening-hours__summer-message {
  margin: 0;
  padding: 0 0.35em;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.45;
}

.opening-hours__instagram {
  align-self: flex-start;
  margin: 0.15rem 0.2em 0;
  color: #fff;
  background: #d42e12;
  border-radius: 0;
  padding: 0.6em 0.9em;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.opening-hours__instagram:hover {
  color: #fff;
  background: #b82610;
  text-decoration: none;
}

.contact-section {
  margin-bottom: 2.75rem;
}

.contact-section:first-child {
  margin-top: 0;
}

.contact-section:last-child {
  margin-bottom: 0;
}

.contact-section h2 {
  color: #222;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
}

.contact-section--representation h2 {
  text-align: left;
}

.executive-grid,
.representation-grid {
  display: grid;
  gap: var(--contact-grid-gap);
  justify-content: start;
  align-items: start;
  margin: 0;
}

.executive-grid > *,
.representation-grid > * {
  align-self: start;
}

.executive-grid {
  grid-template-columns: repeat(3, minmax(0, var(--contact-card-width)));
}

.representation-grid {
  grid-template-columns: repeat(2, minmax(0, var(--contact-card-width)));
}

.executive-grid .section-resource__item,
.representation-grid .section-resource__item {
  width: 100%;
  max-width: var(--contact-card-width);
}

.demo-card__wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.demo-card {
  color: #222;
  border-radius: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8e8e8;
}

.demo-card:hover,
.demo-card:focus {
  color: #222;
  text-decoration: none;
  border-color: #e8e8e8;
}

.demo-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f0f0f0;
  overflow: hidden;
  flex-shrink: 0;
}

.demo-card__media--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f4f4f4 0%, #e6e6e6 100%);
}

.demo-card__initials {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #b0b0b0;
  line-height: 1;
  user-select: none;
}

.demo-card--past .demo-card__initials {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  color: #a8a8a8;
}

.demo-card__image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.demo-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.05rem 1.1rem 1.15rem;
  background: #fff;
  text-align: left;
  flex: 1;
}

.demo-card__h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #d42e12;
}

.demo-card__job-title-p {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  color: #555;
}

.demo-card__email {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: #666;
  word-break: break-word;
}

.contact-empty {
  color: #666;
  grid-column: 1 / -1;
}

/* Office map — under hours, minimal */
.office-map {
  width: 100%;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.office-map__header {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.15rem;
}

.office-map__label {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: #111;
}

.office-map__address {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #777;
}

.office-map__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 0;
  overflow: hidden;
  background: #f3f3f3;
  border: 1px solid #ececec;
}

.office-map__btn {
  align-self: flex-start;
  margin: 0.1rem 0 0;
  color: #111;
  background: #f2f2f2;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  padding: 0.55em 0.85em;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
}

.office-map__btn:hover {
  color: #000;
  background: #eaeaea;
  text-decoration: none;
}

.office-map__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.office-map__canvas.leaflet-container {
  background: #f4f4f4;
  font: inherit;
}

.office-map__canvas .leaflet-tile-pane {
  filter: grayscale(0.35) contrast(0.95) brightness(1.04);
}

.office-map__pin {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: #d42e12;
  box-shadow:
    0 0 0 3px #fff,
    0 2px 8px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.office-map__frame > .office-map__pin {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -7px;
  z-index: 2;
}

.office-map--mapped > .office-map__frame > .office-map__pin {
  display: none;
}

.office-map__marker,
.office-map__leaflet-pin {
  background: transparent !important;
  border: 0 !important;
}

.office-map__marker {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-locator-marker-template] {
  display: none;
}

.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib,
.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right {
  display: none !important;
}

.office-map__canvas .leaflet-control-zoom {
  border: 1px solid #e4e4e4 !important;
  border-radius: 0;
  box-shadow: none !important;
  margin: 0.6rem !important;
  overflow: hidden;
}

.office-map__canvas .leaflet-control-zoom a {
  width: 36px !important;
  height: 36px !important;
  line-height: 36px !important;
  color: #333 !important;
  background: #fff !important;
  border-bottom-color: #eee !important;
  font-size: 16px !important;
}

.past-executives {
  margin-top: 2.75rem;
  max-width: 100%;
}

.past-executives__details {
  border: 1px solid #e8e8e8;
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.past-executives__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #444;
  user-select: none;
}

.past-executives__summary::-webkit-details-marker {
  display: none;
}

.past-executives__summary::after {
  content: "+";
  font-size: 1.15rem;
  font-weight: 500;
  color: #888;
}

.past-executives__details[open] .past-executives__summary::after {
  content: "–";
}

.past-executives__summary:hover {
  color: #111;
  background: #fafafa;
}

.past-executives__count {
  margin-left: auto;
  margin-right: 0.35rem;
  color: #888;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.past-executives__panel {
  padding: 0.85rem 1.15rem 1.15rem;
  border-top: 1px solid #eee;
}

.past-executives__year + .past-executives__year {
  margin-top: 1.15rem;
}

.past-executives__year-title {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}

.past-executives__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.past-executives__person {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: baseline;
  padding: 0.2rem 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.past-executives__person-role {
  color: #666;
}

.past-executives__person-name {
  font-weight: 600;
  color: #222;
}

@media screen and (max-width: 560px) {
  .past-executives__person {
    grid-template-columns: 1fr;
    gap: 0.1rem;
    padding: 0.35rem 0;
  }
}

.contact-directory {
  margin-top: 3rem;
  padding-top: 2.5rem;
  text-align: center;
  border-top: 1px solid #e8e8e8;
}

.contact-directory h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #222;
}

.contact-directory p {
  max-width: 38rem;
  margin: 0 auto 1.5rem;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-directory__link {
  display: inline-block;
  background: #d42e12;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0;
}

.contact-directory__link:hover {
  background: #b82610;
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 1100px) {
  .executive-grid {
    grid-template-columns: repeat(2, minmax(0, var(--contact-card-width)));
  }
}

@media screen and (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "cards"
      "aside";
    row-gap: 1.5rem;
  }

  .contact-layout__aside {
    position: static;
    max-width: 28rem;
  }

  .office-map__frame {
    aspect-ratio: 3 / 2;
  }

  .executive-grid,
  .representation-grid {
    grid-template-columns: repeat(2, minmax(0, var(--contact-card-width)));
  }
}

@media screen and (max-width: 720px) {
  .contact-hero {
    padding: 2rem 1.25rem 1.15rem;
  }

  .contact-hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .contact-main {
    padding-bottom: 3rem;
  }

  .contact-layout__aside {
    max-width: none;
  }
}

@media screen and (max-width: 560px) {
  .contact-hero,
  .contact-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .contact-hero {
    padding-top: 1.5rem;
    padding-bottom: 0.85rem;
  }

  .contact-page {
    --contact-card-width: min(100%, 320px);
  }

  .executive-grid,
  .representation-grid {
    grid-template-columns: var(--contact-card-width);
    justify-content: center;
  }

  .contact-layout__aside {
    max-width: none;
  }

  .opening-hours__title {
    font-size: 1.05em;
  }

  .past-executives__summary {
    min-height: 48px;
  }

  .contact-directory__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
