:root {
  --hdt-ink: #0d1b28;
  --hdt-ink-soft: #16293c;
  --hdt-ink-line: rgba(13, 27, 40, 0.12);
  --hdt-paper: #ffffff;
  --hdt-sand: #f4f1ea;
  --hdt-accent: #ff6a1f;
  --hdt-accent-strong: #d94f08;
  --hdt-teal: #0fa89b;
  --hdt-body: #35455a;
  --hdt-body-soft: #62748a;
  --hdt-on-dark: #eef3f8;
  --hdt-on-dark-soft: #b9c6d4;
  --hdt-radius: 18px;
  --hdt-radius-sm: 12px;
  --hdt-shadow: 0 24px 60px rgba(13, 27, 40, 0.14);
  --hdt-shadow-soft: 0 12px 32px rgba(13, 27, 40, 0.08);
  --hdt-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hdt-font);
  color: var(--hdt-body);
  background-color: var(--hdt-paper);
  line-height: 1.7;
  overflow-x: hidden;
}

body.hdt-no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5 {
  color: var(--hdt-ink);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

a {
  color: var(--hdt-accent-strong);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--hdt-ink);
}

img {
  max-width: 100%;
  height: auto;
}

.hdt-section {
  position: relative;
  padding: 88px 0;
}

.hdt-section--tight {
  padding: 60px 0;
}

.hdt-section--dark {
  background-color: var(--hdt-ink);
  color: var(--hdt-on-dark);
}

.hdt-section--dark h1,
.hdt-section--dark h2,
.hdt-section--dark h3,
.hdt-section--dark h4 {
  color: var(--hdt-on-dark);
}

.hdt-section--sand {
  background-color: var(--hdt-sand);
}

.hdt-section--photo {
  background-size: cover;
  background-position: center;
  color: var(--hdt-on-dark);
}

.hdt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hdt-accent-strong);
  margin-bottom: 14px;
}

.hdt-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--hdt-accent);
  display: inline-block;
}

.hdt-section--dark .hdt-kicker {
  color: var(--hdt-accent);
}

.hdt-lead {
  font-size: 1.08rem;
  color: var(--hdt-body);
  max-width: 640px;
}

.hdt-section--dark .hdt-lead {
  color: var(--hdt-on-dark-soft);
}

.hdt-grid-tight {
  row-gap: 28px;
}

.hdt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.97rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hdt-btn:hover {
  transform: translateY(-2px);
}

.hdt-btn--accent {
  background-color: var(--hdt-accent);
  color: var(--hdt-ink);
}

.hdt-btn--accent:hover,
.hdt-btn--accent:focus {
  background-color: var(--hdt-accent-strong);
  color: var(--hdt-paper);
}

.hdt-btn--ink {
  background-color: var(--hdt-ink);
  color: var(--hdt-paper);
}

.hdt-btn--ink:hover,
.hdt-btn--ink:focus {
  background-color: var(--hdt-ink-soft);
  color: var(--hdt-paper);
}

.hdt-btn--outline {
  background-color: transparent;
  border-color: currentColor;
  color: var(--hdt-ink);
}

.hdt-section--dark .hdt-btn--outline {
  color: var(--hdt-on-dark);
}

.hdt-btn--outline:hover,
.hdt-btn--outline:focus {
  background-color: var(--hdt-ink);
  color: var(--hdt-paper);
}

.hdt-section--dark .hdt-btn--outline:hover,
.hdt-section--dark .hdt-btn--outline:focus {
  background-color: var(--hdt-on-dark);
  color: var(--hdt-ink);
}

.hdt-site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background-color: var(--hdt-paper);
  border-bottom: 1px solid var(--hdt-ink-line);
  transition: box-shadow 0.25s ease;
}

.hdt-site-header.is-scrolled {
  box-shadow: var(--hdt-shadow-soft);
}

.hdt-topstrap {
  background-color: var(--hdt-ink);
  color: var(--hdt-on-dark-soft);
  font-size: 0.82rem;
}

.hdt-topstrap .hdt-topstrap__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.hdt-topstrap i {
  color: var(--hdt-accent);
  margin-right: 6px;
}

.hdt-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.hdt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--hdt-ink);
  letter-spacing: -0.02em;
}

.hdt-brand:hover {
  color: var(--hdt-ink);
}

.hdt-nav-drawer {
  display: flex;
  align-items: center;
}

.hdt-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hdt-nav-list a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--hdt-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.hdt-nav-list a:hover,
.hdt-nav-list a:focus {
  background-color: var(--hdt-sand);
  color: var(--hdt-accent-strong);
}

.hdt-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--hdt-ink-line);
  background: var(--hdt-paper);
  color: var(--hdt-ink);
  font-size: 1.15rem;
}

.hdt-nav-toggle.is-active {
  background-color: var(--hdt-ink);
  color: var(--hdt-on-dark);
}

.hdt-hero {
  position: relative;
  padding: 110px 0 96px;
  background-size: cover;
  background-position: center;
  color: var(--hdt-on-dark);
}

.hdt-hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--hdt-paper);
}

.hdt-hero__text {
  color: var(--hdt-on-dark-soft);
  font-size: 1.12rem;
  max-width: 560px;
}

.hdt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hdt-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hdt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.85rem;
  font-weight: 600;
}

.hdt-chip i {
  color: var(--hdt-accent);
}

.hdt-stat {
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius);
  padding: 26px 22px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hdt-stat:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdt-shadow-soft);
}

.hdt-stat__value {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--hdt-ink);
  line-height: 1;
}

.hdt-stat__label {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--hdt-body-soft);
  font-weight: 600;
}

.hdt-card {
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius);
  padding: 30px 26px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hdt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdt-shadow);
  border-color: transparent;
}

.hdt-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background-color: var(--hdt-sand);
  color: var(--hdt-accent-strong);
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.hdt-card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hdt-card__text {
  color: var(--hdt-body-soft);
  margin: 0;
}

.hdt-gear {
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hdt-gear:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdt-shadow);
}

.hdt-gear__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--hdt-sand);
}

.hdt-gear__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hdt-gear:hover .hdt-gear__media img {
  transform: scale(1.05);
}

.hdt-gear__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--hdt-accent);
  color: var(--hdt-ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.hdt-gear__body {
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hdt-gear__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.hdt-gear__text {
  color: var(--hdt-body-soft);
  flex-grow: 1;
}

.hdt-gear__price {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--hdt-ink);
  margin-top: 14px;
}

.hdt-gear__price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hdt-body-soft);
}

.hdt-step {
  position: relative;
  padding: 30px 26px 30px 74px;
  border-radius: var(--hdt-radius);
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  height: 100%;
}

.hdt-step__num {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--hdt-ink);
  color: var(--hdt-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.hdt-step__title {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.hdt-step__text {
  color: var(--hdt-body-soft);
  margin: 0;
  font-size: 0.95rem;
}

.hdt-price-card {
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius);
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hdt-price-card--featured {
  border-color: var(--hdt-accent);
  box-shadow: var(--hdt-shadow);
}

.hdt-price-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--hdt-ink);
}

.hdt-price-card__value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--hdt-ink);
  margin: 14px 0 4px;
}

.hdt-price-card__value span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hdt-body-soft);
}

.hdt-price-card__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}

.hdt-price-card__list li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--hdt-body);
  border-bottom: 1px dashed var(--hdt-ink-line);
}

.hdt-price-card__list li:last-child {
  border-bottom: 0;
}

.hdt-price-card__list i {
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--hdt-teal);
}

.hdt-price-card__cta {
  margin-top: auto;
}

.hdt-testimonial {
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius);
  padding: 30px 26px;
  height: 100%;
}

.hdt-testimonial__stars {
  color: var(--hdt-accent);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.hdt-testimonial__text {
  color: var(--hdt-body);
  font-size: 1.02rem;
}

.hdt-testimonial__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.hdt-testimonial__avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--hdt-sand);
}

.hdt-testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdt-testimonial__name {
  font-weight: 700;
  color: var(--hdt-ink);
  font-size: 0.98rem;
}

.hdt-testimonial__role {
  font-size: 0.85rem;
  color: var(--hdt-body-soft);
}

.hdt-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border-radius: var(--hdt-radius-sm);
  background-color: var(--hdt-sand);
  min-height: 96px;
}

.hdt-partner img {
  max-height: 44px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.hdt-partner:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.hdt-media-band {
  position: relative;
  border-radius: var(--hdt-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--hdt-sand);
}

.hdt-media-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdt-gallery {
  border-radius: var(--hdt-radius);
  overflow: hidden;
  height: 100%;
  background-color: var(--hdt-sand);
}

.hdt-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform 0.5s ease;
}

.hdt-gallery:hover img {
  transform: scale(1.06);
}

.hdt-accordion .accordion-item {
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
  background-color: var(--hdt-paper);
}

.hdt-accordion .accordion-button {
  font-weight: 700;
  color: var(--hdt-ink);
  background-color: var(--hdt-paper);
  padding: 20px 24px;
  font-size: 1.02rem;
}

.hdt-accordion .accordion-button:not(.collapsed) {
  background-color: var(--hdt-sand);
  color: var(--hdt-ink);
  box-shadow: none;
}

.hdt-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--hdt-accent);
}

.hdt-accordion .accordion-body {
  color: var(--hdt-body);
  padding: 4px 24px 24px;
}

.hdt-form-panel {
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius);
  padding: 34px 30px;
  box-shadow: var(--hdt-shadow-soft);
}

.hdt-section--dark .hdt-form-panel {
  background-color: var(--hdt-ink-soft);
  border-color: rgba(255, 255, 255, 0.14);
}

.hdt-field {
  margin-bottom: 18px;
}

.hdt-field label {
  display: block;
  font-weight: 600;
  color: var(--hdt-ink);
  margin-bottom: 7px;
  font-size: 0.92rem;
}

.hdt-section--dark .hdt-field label {
  color: var(--hdt-on-dark);
}

.hdt-field .form-control,
.hdt-field .form-select {
  padding: 13px 16px;
  border-radius: var(--hdt-radius-sm);
  border: 1px solid var(--hdt-ink-line);
  background-color: var(--hdt-paper);
  color: var(--hdt-ink);
}

.hdt-field .form-control:focus,
.hdt-field .form-select:focus {
  border-color: var(--hdt-accent);
  box-shadow: 0 0 0 3px rgba(255, 106, 31, 0.18);
}

.hdt-form-note {
  font-size: 0.85rem;
  color: var(--hdt-body-soft);
}

.hdt-section--dark .hdt-form-note {
  color: var(--hdt-on-dark-soft);
}

.hdt-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--hdt-body-soft);
}

.hdt-map-frame {
  border-radius: var(--hdt-radius);
  overflow: hidden;
  border: 1px solid var(--hdt-ink-line);
  line-height: 0;
}

.hdt-map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.hdt-info-tile {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--hdt-radius-sm);
  background-color: var(--hdt-sand);
  height: 100%;
}

.hdt-info-tile i {
  color: var(--hdt-accent-strong);
  font-size: 1.3rem;
  margin-top: 3px;
}

.hdt-info-tile__title {
  font-weight: 700;
  color: var(--hdt-ink);
  font-size: 0.95rem;
}

.hdt-info-tile__text {
  margin: 0;
  color: var(--hdt-body);
}

.hdt-cta-strip {
  background-color: var(--hdt-ink);
  border-radius: var(--hdt-radius);
  padding: 46px 42px;
  color: var(--hdt-on-dark);
}

.hdt-cta-strip h2 {
  color: var(--hdt-paper);
}

.hdt-site-footer {
  background-color: var(--hdt-ink);
  color: var(--hdt-on-dark-soft);
  padding: 76px 0 0;
}

.hdt-site-footer h4 {
  color: var(--hdt-paper);
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hdt-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hdt-footer-list li {
  margin-bottom: 11px;
}

.hdt-footer-list a {
  color: var(--hdt-on-dark-soft);
  font-size: 0.94rem;
}

.hdt-footer-list a:hover,
.hdt-footer-list a:focus {
  color: var(--hdt-accent);
}

.hdt-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hdt-footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.94rem;
}

.hdt-footer-contact i {
  color: var(--hdt-accent);
  margin-top: 4px;
}

.hdt-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 54px;
  padding: 24px 0;
  font-size: 0.85rem;
  color: var(--hdt-on-dark-soft);
}

.hdt-footer-brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hdt-paper);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.hdt-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.hdt-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--hdt-on-dark);
}

.hdt-social a:hover,
.hdt-social a:focus {
  background-color: var(--hdt-accent);
  color: var(--hdt-ink);
}

.hdt-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background-color: var(--hdt-ink);
  color: var(--hdt-paper);
  font-size: 1.05rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 1030;
}

.hdt-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hdt-to-top:hover,
.hdt-to-top:focus {
  background-color: var(--hdt-accent);
  color: var(--hdt-ink);
}

.hdt-slide-card {
  position: relative;
  border-radius: var(--hdt-radius);
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: var(--hdt-on-dark);
}

.hdt-slide-card__body {
  padding: 38px 34px;
  width: 100%;
}

.hdt-slide-card__body h3 {
  color: var(--hdt-paper);
  font-size: 1.6rem;
}

.hdt-slide-card__body p {
  color: var(--hdt-on-dark-soft);
  margin-bottom: 0;
  max-width: 520px;
}

.hdt-carousel .carousel-indicators [data-bs-target] {
  width: 30px;
  height: 4px;
  border-radius: 999px;
  background-color: var(--hdt-on-dark);
  opacity: 0.45;
}

.hdt-carousel .carousel-indicators .active {
  background-color: var(--hdt-accent);
  opacity: 1;
}

.hdt-carousel .carousel-control-prev,
.hdt-carousel .carousel-control-next {
  width: 52px;
  opacity: 0.9;
}

.hdt-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hdt-tag {
  padding: 7px 15px;
  border-radius: 999px;
  background-color: var(--hdt-sand);
  color: var(--hdt-ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.hdt-team-member {
  text-align: center;
  height: 100%;
}

.hdt-team-member__photo {
  border-radius: var(--hdt-radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background-color: var(--hdt-sand);
  margin-bottom: 18px;
}

.hdt-team-member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdt-team-member__name {
  font-weight: 700;
  color: var(--hdt-ink);
}

.hdt-team-member__role {
  font-size: 0.9rem;
  color: var(--hdt-body-soft);
}

.hdt-cookie-slab {
  position: fixed;
  left: 50%;
  bottom: 22px;
  width: min(1120px, calc(100% - 40px));
  transform: translate(-50%, 130%);
  background-color: var(--hdt-ink);
  color: var(--hdt-on-dark);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 26px 30px;
  z-index: 1080;
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.hdt-cookie-slab.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.hdt-cookie-slab__grid {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hdt-cookie-slab__copy {
  flex: 1 1 520px;
}

.hdt-cookie-slab__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hdt-accent);
  margin: 0 0 8px;
}

.hdt-cookie-slab__title {
  color: var(--hdt-paper);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.hdt-cookie-slab__text {
  color: var(--hdt-on-dark-soft);
  margin: 0;
  font-size: 0.92rem;
  max-width: 640px;
}

.hdt-cookie-slab__link {
  color: var(--hdt-accent);
  text-decoration: underline;
  font-weight: 600;
}

.hdt-cookie-slab__link:hover,
.hdt-cookie-slab__link:focus {
  color: var(--hdt-paper);
}

.hdt-cookie-slab__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hdt-cookie-slab__btn {
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hdt-cookie-slab__btn:hover {
  transform: translateY(-2px);
}

.hdt-cookie-slab__btn--accept {
  background-color: var(--hdt-accent);
  color: var(--hdt-ink);
}

.hdt-cookie-slab__btn--accept:hover,
.hdt-cookie-slab__btn--accept:focus {
  background-color: var(--hdt-accent-strong);
  color: var(--hdt-paper);
}

.hdt-cookie-slab__btn--decline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--hdt-on-dark);
}

.hdt-cookie-slab__btn--decline:hover,
.hdt-cookie-slab__btn--decline:focus {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--hdt-paper);
}

.hdt-timeline {
  position: relative;
  padding-left: 40px;
  list-style: none;
  margin: 0;
}

.hdt-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background-color: var(--hdt-ink-line);
}

.hdt-timeline li {
  position: relative;
  padding-bottom: 28px;
}

.hdt-timeline li::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--hdt-accent);
  border: 4px solid var(--hdt-paper);
  box-shadow: 0 0 0 2px var(--hdt-ink-line);
}

.hdt-timeline__year {
  font-weight: 800;
  color: var(--hdt-ink);
}

.hdt-timeline__text {
  color: var(--hdt-body-soft);
  margin: 4px 0 0;
}

.hdt-article-card {
  background-color: var(--hdt-paper);
  border: 1px solid var(--hdt-ink-line);
  border-radius: var(--hdt-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hdt-article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hdt-shadow);
}

.hdt-article-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--hdt-sand);
}

.hdt-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hdt-article-card__body {
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hdt-article-card__meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hdt-accent-strong);
  margin-bottom: 12px;
}

.hdt-article-card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.hdt-article-card__text {
  color: var(--hdt-body-soft);
  flex-grow: 1;
}

.hdt-prose h2 {
  margin-top: 34px;
}

.hdt-prose h3 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.hdt-prose p,
.hdt-prose li {
  color: var(--hdt-body);
}

.hdt-prose ul {
  padding-left: 20px;
}

.hdt-prose ul li {
  margin-bottom: 8px;
}

@media (max-width: 991.98px) {
  .hdt-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hdt-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 86vw);
    background-color: var(--hdt-paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 92px 26px 26px;
    box-shadow: -20px 0 60px rgba(13, 27, 40, 0.2);
    transform: translateX(105%);
    transition: transform 0.35s ease;
    overflow-y: auto;
  }

  .hdt-nav-drawer.is-open {
    transform: translateX(0);
  }

  .hdt-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hdt-nav-list a {
    padding: 13px 14px;
    border-radius: var(--hdt-radius-sm);
  }

  .hdt-nav-list a:hover,
  .hdt-nav-list a:focus {
    background-color: var(--hdt-sand);
  }
}

@media (max-width: 767.98px) {
  .hdt-section {
    padding: 62px 0;
  }

  .hdt-hero {
    padding: 78px 0 68px;
  }

  .hdt-cta-strip {
    padding: 34px 24px;
  }

  .hdt-cookie-slab {
    padding: 22px 20px;
    bottom: 14px;
  }

  .hdt-cookie-slab__actions {
    width: 100%;
  }

  .hdt-cookie-slab__btn {
    flex: 1 1 auto;
  }
}
/* ============================================================
   QA contrast overrides
   ============================================================ */

/* Photo/hero sections: give the element a solid dark base colour so the
   white hero text, chips and outline buttons are measured (and really sit)
   against the dark photo overlay rather than a transparent/white backdrop. */
.hdt-section--photo {
  background-color: var(--hdt-ink);
}

/* Kickers and card meta on light backgrounds need a darker orange to reach
   a 4.5:1 contrast ratio on white (#ffffff) and sand (#f4f1ea). */
.hdt-kicker,
.hdt-article-card__meta {
  color: #b03d08;
}

/* Kicker sitting on the darkened photo keeps the lighter orange accent. */
.hdt-section--photo .hdt-kicker {
  color: var(--hdt-accent);
}

/* Outline buttons on photo sections must use light text on the dark backdrop. */
.hdt-section--photo .hdt-btn--outline {
  color: var(--hdt-on-dark);
}

.hdt-section--photo .hdt-btn--outline:hover,
.hdt-section--photo .hdt-btn--outline:focus {
  background-color: var(--hdt-on-dark);
  color: var(--hdt-ink);
}

/* Dark section: team member roles used the dark body-soft grey on ink. */
.hdt-section--dark .hdt-team-member__role {
  color: var(--hdt-on-dark-soft);
}

/* CTA strip sits directly on the ink background (no white card behind it). */
.hdt-cta-strip .hdt-card__text {
  color: var(--hdt-on-dark-soft);
}

/* Footer: the "Open in Google Maps" outline button was ink-on-ink. */
.hdt-site-footer .hdt-btn--outline {
  color: var(--hdt-on-dark);
}

.hdt-site-footer .hdt-btn--outline:hover,
.hdt-site-footer .hdt-btn--outline:focus {
  background-color: var(--hdt-on-dark);
  color: var(--hdt-ink);
}

/* ------------------------------------------------------------------
   Contrast accessibility overrides (appended, non-destructive)
   Keeps the same palette family while lifting text contrast to >=4.5:1
   for body copy, kickers, meta lines and dark-section text.
------------------------------------------------------------------ */
:root {
  --hdt-accent-strong: #b8430a; /* was #d94f08 (4.14:1 / 3.67:1) -> now 5.47:1 on white, 4.85:1 on sand */
  --hdt-body-soft: #5a6b80;     /* was #62748a (4.25:1 on sand) -> now 4.85:1 on sand, 5.45:1 on white */
}

/* Photo heroes are dark: declare the solid backdrop so light text is never
   measured against (or rendered on) a transparent/white background. */
.hdt-hero {
  background-color: var(--hdt-ink);
}

/* Kickers sitting on the dark photo hero need the bright accent, not the
   dark-on-light accent-strong shade. */
.hdt-hero .hdt-kicker {
  color: var(--hdt-accent);
}

/* Chips sit on the dark hero: give them a solid dark tint instead of a
   near-transparent white wash so their light label text stays readable. */
.hdt-hero .hdt-chip {
  background-color: rgba(13, 27, 40, 0.55);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--hdt-on-dark);
}

/* Dark sections: muted role/meta text must use the light muted tone. */
.hdt-section--dark .hdt-team-member__role,
.hdt-section--dark .hdt-team-member__name,
.hdt-section--dark .hdt-timeline__text,
.hdt-section--dark .hdt-card__text,
.hdt-section--dark .hdt-info-tile__text,
.hdt-section--dark .hdt-testimonial__role {
  color: var(--hdt-on-dark-soft);
}

/* CTA strip is a dark block that is not wrapped in .hdt-section--dark. */
.hdt-cta-strip .hdt-card__text,
.hdt-cta-strip .hdt-lead,
.hdt-cta-strip .hdt-kicker {
  color: var(--hdt-on-dark-soft);
}

.hdt-cta-strip .hdt-kicker {
  color: var(--hdt-accent);
}

/* Footer outline buttons sit on the dark ink footer, not inside a
   .hdt-section--dark wrapper. */
.hdt-site-footer .hdt-btn--outline {
  color: var(--hdt-on-dark);
  border-color: rgba(255, 255, 255, 0.45);
}

.hdt-site-footer .hdt-btn--outline:hover,
.hdt-site-footer .hdt-btn--outline:focus {
  background-color: var(--hdt-on-dark);
  border-color: var(--hdt-on-dark);
  color: var(--hdt-ink);
}

/* ===== Accessibility contrast overrides (build fix) ===== */

/* Darken accent + soft body text so small text clears 4.5:1 on white and sand */
:root {
  --hdt-accent-strong: #b8420a;
  --hdt-body-soft: #566880;
}

/* Give photo/gradient sections a solid dark base so their light text
   is measured against the real (dark) background instead of the page white. */
.hdt-hero,
.hdt-section--photo {
  background-color: var(--hdt-ink);
}

/* Kickers that sit on dark photographic sections must use the bright accent,
   not the darkened accent-strong, to keep contrast on dark backgrounds. */
.hdt-hero .hdt-kicker,
.hdt-section--photo .hdt-kicker {
  color: var(--hdt-accent);
}

/* Timeline copy lives inside dark sections: lighten it for readability. */
.hdt-section--dark .hdt-timeline__year {
  color: var(--hdt-paper);
}

.hdt-section--dark .hdt-timeline__text {
  color: var(--hdt-on-dark-soft);
}

/* Buttons and lead copy on dark photographic sections need light text */
.hdt-hero .hdt-btn--outline,
.hdt-section--photo .hdt-btn--outline {
  color: var(--hdt-on-dark);
}

.hdt-hero .hdt-btn--outline:hover,
.hdt-hero .hdt-btn--outline:focus,
.hdt-section--photo .hdt-btn--outline:hover,
.hdt-section--photo .hdt-btn--outline:focus {
  background-color: var(--hdt-on-dark);
  color: var(--hdt-ink);
}

.hdt-section--photo .hdt-lead {
  color: var(--hdt-on-dark-soft);
}

/* ============================================================
   QA fix: link inside a .hdt-footer-list placed on a light section
   (the "privacy policy" link in the contact form column) inherited the
   light on-dark footer link colour (#b9c6d4) over a white background.
   Restore a dark, on-light link colour whenever the list sits inside a
   light page section rather than the dark footer.
   ============================================================ */
.hdt-section .hdt-footer-list a {
  color: var(--hdt-accent-strong);
}

.hdt-section .hdt-footer-list a:hover,
.hdt-section .hdt-footer-list a:focus {
  color: var(--hdt-ink);
  text-decoration: underline;
}
