/* cezo24a.css — Masterpiece Handyman Solutions LLC */

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--ground);
  border-bottom: var(--border-slab);
  transition: background-color var(--dur-moderate) var(--ease-industrial),
              border-color var(--dur-moderate) var(--ease-industrial),
              padding var(--dur-moderate) var(--ease-industrial);
}

.site-header.is-scrolled {
  background-color: rgba(200, 144, 58, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(18, 16, 14, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-height: 44px;
  padding: 0.25rem 0;
  outline: none;
  transition: opacity var(--dur-rapid) var(--ease-industrial);
}

.brand:hover {
  opacity: 0.85;
}

.brand:active {
  opacity: 0.7;
}

.brand:focus-visible {
  outline: 2px solid var(--slab);
  outline-offset: 4px;
}

.brand-logo {
  height: 2.15rem;
  width: auto;
  max-width: 100%;
  display: block;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1.15rem;

  background-color: var(--slab);
  color: var(--ink-light);
  border: var(--border-slab);
  font-family: var(--mahi-001);
  font-size: 0.88rem;
  font-weight: 600;

  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
  transition: background-color var(--dur-rapid) var(--ease-industrial),
              color var(--dur-rapid) var(--ease-industrial),
              border-color var(--dur-rapid) var(--ease-industrial);
}

.menu-trigger:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.menu-trigger:active {
  background-color: #000;
}

.menu-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.menu-trigger .icon {
  width: 1.15em;
  height: 1.15em;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: var(--slab);
  color: var(--ink-light);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-deliberate) var(--ease-industrial),
              visibility var(--dur-deliberate) var(--ease-industrial);
}

.nav-overlay.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(248, 245, 240, 0.2);
}

.nav-overlay__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.55rem 1.15rem;
  background-color: transparent;
  color: var(--ink-light);
  border: 1px solid var(--ink-light);
  font-family: var(--mahi-001);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-rapid) var(--ease-industrial),
              color var(--dur-rapid) var(--ease-industrial);
}

.nav-overlay__close:hover {
  background-color: var(--ink-light);
  color: var(--slab);
}

.nav-overlay__close:active {
  background-color: rgba(248, 245, 240, 0.85);
}

.nav-overlay__close:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 3px;
}

.nav-overlay__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  gap: 2rem;
}

@media (min-width: 860px) {
  .nav-overlay__body {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3.5rem;
  }
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-link {
  display: block;
  font-family: var(--mahi-9dd);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(248, 245, 240, 0.12);
  transition: color var(--dur-rapid) var(--ease-industrial),
              padding-left var(--dur-rapid) var(--ease-industrial);
}

.nav-link:hover {
  color: var(--hazard-yellow);
  padding-left: 0.75rem;
}

.nav-link:active {
  color: #fff;
}

.nav-link:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 4px;
}

.nav-link[aria-current="page"] {
  color: var(--hazard-yellow);
}

.nav-link[aria-current="page"]::before {
  content: "— ";
  opacity: 0.7;
}

.nav-overlay__sidecar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(248, 245, 240, 0.18);
  padding: 1.5rem;
}

.nav-overlay__sidecar-title {
  font-family: var(--mahi-001);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hazard-yellow);
}

.nav-overlay__sidecar p {
  color: var(--ink-light);
  font-size: 1.05rem;
}

.nav-overlay__direct-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mahi-001);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-light);
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color var(--dur-rapid) var(--ease-industrial);
}

.nav-overlay__direct-phone:hover {
  color: var(--hazard-yellow);
}

.nav-overlay__direct-phone:active {
  color: #fff;
}

.nav-overlay__direct-phone:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;

  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.65rem 1rem;
  font-family: var(--mahi-001);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  outline: none;
  transition: background-color var(--dur-rapid) var(--ease-industrial),
              color var(--dur-rapid) var(--ease-industrial),
              border-color var(--dur-rapid) var(--ease-industrial),
              box-shadow var(--dur-rapid) var(--ease-industrial);
}

.btn .icon {
  width: 1.15em;
  height: 1.15em;
}

.btn--primary {
  background-color: var(--slab);
  color: var(--ink-light);
  border: var(--border-slab);
}

.btn--primary:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: 3px 3px 0 var(--slab);
}

.btn--primary:active {
  background-color: #000;
  box-shadow: none;
}

.btn--primary:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.btn--secondary {
  background-color: transparent;
  color: var(--ink);
  border: var(--border-slab);
}

.btn--secondary:hover {
  background-color: var(--slab);
  color: var(--ink-light);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn--secondary:active {
  background-color: #000;
  color: #fff;
  box-shadow: none;
}

.btn--secondary:focus-visible {
  outline: 3px solid var(--slab);
  outline-offset: 3px;
}

.btn--invert {
  background-color: var(--ink-light);
  color: var(--slab);
  border: 2px solid var(--ink-light);
}

.btn--invert span {
  color: var(--slab) !important;
}

.btn--invert:hover {
  background-color: var(--hazard-yellow);
  border-color: var(--hazard-yellow);
  color: var(--slab);
}

.btn--invert:active {
  background-color: #fff;
  border-color: #fff;
}

.btn--invert:focus-visible {
  outline: 3px solid var(--hazard-yellow);
  outline-offset: 3px;
}

.btn--sm {
  min-height: 40px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.spec-card {
  background-color: var(--surface);
  border: var(--border-slab);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-card--dark {
  background-color: var(--slab);
  color: var(--ink-light);
}

.spec-card--dark p,
.spec-card--dark h3,
.spec-card--dark h4,
.spec-card--dark strong,
.spec-card--dark code,
.spec-card--dark span {
  color: var(--ink-light);
}

.spec-card__price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: var(--mahi-001);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  background-color: var(--slab);
  color: var(--hazard-yellow);
  border: 1px solid var(--slab);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.spec-card--dark .spec-card__price-badge {
  background-color: rgba(0, 0, 0, 0.45);
  border-color: var(--hazard-yellow);
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: var(--border-slab);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mahi-001);
  font-size: 0.95rem;
  gap: 1rem;
}

@media (max-width: 480px) {
  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

.spec-row dt {
  color: var(--ink);
  opacity: 0.85;
}

.spec-row dd {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

@media (max-width: 480px) {
  .spec-row dd {
    text-align: left;
  }
}

.spec-card--dark .spec-row dt {
  color: var(--ink-light);
  opacity: 0.75;
}

.spec-card--dark .spec-row dd {
  color: var(--ink-light);
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--border-slab);
  background-color: #f8f5f0;
  margin: 1.5rem 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mahi-001);
  font-size: 0.92rem;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--slab);
  border-right: 1px solid var(--slab);
  vertical-align: top;
}

.data-table th:last-child,
.data-table td:last-child {
  border-right: none;
}

.data-table thead th {
  background-color: var(--slab);
  color: var(--ink-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: var(--border-slab);
}

.data-table tbody tr {
  background-color: #fff;
}

.data-table tbody tr:nth-child(even) {
  background-color: #f3efea;
}

.data-table tbody tr:hover {
  background-color: #e8e2d8;
}

.form-shell {
  background-color: var(--surface);
  border: var(--border-slab);
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--mahi-001);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 0.5rem;
}

.form-label__hint {
  font-weight: 400;
  font-size: 0.8em;
  opacity: 0.75;
  text-transform: none;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background-color: #fff;
  color: var(--ink);
  border: var(--border-slab);
  border-radius: 0;
  font-family: var(--mahi-001);
  font-size: 0.98rem;
  outline: none;
  transition: border-color var(--dur-rapid) var(--ease-industrial),
              box-shadow var(--dur-rapid) var(--ease-industrial),
              background-color var(--dur-rapid) var(--ease-industrial);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
  border-color: #000;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 36, 28, 0.25);
  background-color: #fff;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #b91c1c;
  background-color: #fef2f2;
}

.form-error {
  font-family: var(--mahi-001);
  font-size: 0.82rem;
  color: #b91c1c;
  display: none;
  padding-top: 0.2rem;
}

.form-group.has-error .form-error {
  display: block;
}

.form-checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  font-family: var(--mahi-47f);
  font-size: 1.05rem;
  line-height: 1.4;
  cursor: pointer;
  padding: 0.25rem 0;
}

.form-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: var(--border-slab);
  background-color: #fff;
  cursor: pointer;
  margin-top: 0.15rem;
  display: grid;
  place-content: center;
  border-radius: 0;
  outline: none;
  transition: background-color var(--dur-rapid) var(--ease-industrial),
              border-color var(--dur-rapid) var(--ease-industrial);
}

.form-checkbox:hover {
  border-color: #000;
}

.form-checkbox:checked {
  background-color: var(--slab);
}

.form-checkbox:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: var(--hazard-yellow);
}

.form-checkbox:focus-visible {
  outline: 2px solid var(--slab);
  outline-offset: 2px;
}

.form-status {
  padding: 1rem 1.25rem;
  border: var(--border-slab);
  margin-top: 1.5rem;
  font-family: var(--mahi-001);
  font-size: 0.95rem;
  display: none;
}

.form-status--success {
  display: block;
  background-color: #dcfce7;
  color: #14532d;
  border-color: #166534;
}

.form-status--error {
  display: block;
  background-color: #fee2e2;
  color: #7f1d1d;
  border-color: #991b1b;
}

.quote-tool {
  background-color: var(--surface);
  border: var(--border-slab);
  padding: clamp(1rem, 2.5vw, 2.5rem);
  margin: 2rem 0;
}

.quote-tool__header {
  border-bottom: var(--border-slab);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.quote-tool__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .quote-tool__grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
  }
}

.quote-tool__controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote-tool__output-pane {
  background-color: var(--slab);
  color: var(--ink-light);
  border: 2px solid var(--hazard-yellow);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.quote-tool__output-title {
  font-family: var(--mahi-001);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hazard-yellow);
  margin-bottom: 0.5rem;
}

.quote-tool__figure {
  font-family: var(--mahi-001);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin: 0.75rem 0;
}

.quote-tool__note {
  font-family: var(--mahi-001);
  font-size: 0.88rem;
  color: var(--hazard-yellow);
  margin-bottom: 1rem;
}

.quote-tool__disclaimer {
  font-family: var(--mahi-001);
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(248, 245, 240, 0.75);
  border-top: 1px solid rgba(248, 245, 240, 0.2);
  padding-top: 0.85rem;
}

.photo-band {
  width: 100%;
  margin: clamp(2rem, 4.5vw, 4rem) 0;
  position: relative;
  border-top: var(--border-slab);
  border-bottom: var(--border-slab);
  overflow: hidden;
  background-color: var(--slab);
}

.photo-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.05) saturate(1.05);
}

.photo-band__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(28, 25, 23, 0.94) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink-light) !important;
  font-family: var(--mahi-001);
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-top: 1px solid rgba(248, 245, 240, 0.25);
  border-right: 1px solid rgba(248, 245, 240, 0.25);
  max-width: 90%;
}

/* -------------------------------------------------------------
  9. Site Footer & Legal Row
------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: var(--slab);
  color: var(--ink-light);
  border-top: 4px solid var(--hazard-yellow);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(248, 245, 240, 0.18);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-footer__logo {
  height: 2.4rem;
  width: auto;
  max-width: 100%;
}

.site-footer__col-title {
  font-family: var(--mahi-001);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hazard-yellow);
  margin-bottom: 1rem;
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__link {
  color: var(--ink-light);
  text-decoration: none;
  font-size: 0.98rem;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.35;
  transition: color var(--dur-rapid) var(--ease-industrial);
}

@media (min-width: 640px) and (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand-col {
    grid-column: 1 / -1;
  }
}

.site-footer__link:hover {
  color: var(--hazard-yellow);
}

.site-footer__link:active {
  color: #fff;
}

.site-footer__link:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 3px;
}

.site-footer__facts {
  font-family: var(--mahi-001);
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(248, 245, 240, 0.85);
}

.site-footer__legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.75rem;
  font-family: var(--mahi-001);
  font-size: 0.82rem;
  color: rgba(248, 245, 240, 0.7);
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.site-footer__legal-link {
  color: rgba(248, 245, 240, 0.85);
  text-decoration: none;
  min-height: 44px;
  line-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--dur-rapid) var(--ease-industrial);
}

.site-footer__legal-link:hover {
  color: var(--hazard-yellow);
  text-decoration: underline;
}

.site-footer__legal-link:active {
  color: #fff;
}

.site-footer__legal-link:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 2px;
}

.site-footer__manage-btn {
  background: none;
  border: 1px solid rgba(248, 245, 240, 0.4);
  color: var(--ink-light);
  font-family: var(--mahi-001);
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  min-height: 44px;
  cursor: pointer;
  transition: background-color var(--dur-rapid) var(--ease-industrial),
              color var(--dur-rapid) var(--ease-industrial),
              border-color var(--dur-rapid) var(--ease-industrial);
}

.site-footer__manage-btn:hover {
  background-color: var(--ink-light);
  color: var(--slab);
  border-color: var(--ink-light);
}

.site-footer__manage-btn:active {
  background-color: var(--hazard-yellow);
  color: var(--slab);
}

.site-footer__manage-btn:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 2px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  background-color: var(--slab);
  color: var(--ink-light);
  border-top: 3px solid var(--hazard-yellow);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  padding: 0.85rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  max-height: 25vh !important;
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 0.45rem var(--gutter) !important;
    gap: 0.5rem !important;
    max-height: 24vh !important;
  }
  .cookie-banner__text {
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    flex: 1 1 100% !important;
  }
  .cookie-banner__btn {
    min-height: 38px !important;
    padding: 0.3rem 0.75rem !important;
    font-size: 0.78rem !important;
  }
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__text {
  font-family: var(--mahi-47f);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.35;
  color: var(--ink-light);
  flex: 1 1 360px;
}

.cookie-banner__text a {
  color: var(--hazard-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-banner__btn {
  min-height: 44px;
  padding: 0.45rem 1.15rem;
  font-family: var(--mahi-001);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  outline: none;
  transition: background-color var(--dur-rapid) var(--ease-industrial),
              color var(--dur-rapid) var(--ease-industrial),
              border-color var(--dur-rapid) var(--ease-industrial);
}

.cookie-banner__btn--accept {
  background-color: var(--hazard-yellow);
  color: var(--slab);
  border: 2px solid var(--hazard-yellow);
}

.cookie-banner__btn--accept:hover {
  background-color: #fff;
  border-color: #fff;
}

.cookie-banner__btn--accept:active {
  background-color: #e2a32b;
}

.cookie-banner__btn--accept:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.cookie-banner__btn--decline {
  background-color: transparent;
  color: var(--ink-light);
  border: 1px solid rgba(248, 245, 240, 0.4);
}

.cookie-banner__btn--decline:hover {
  background-color: rgba(248, 245, 240, 0.15);
  border-color: var(--ink-light);
}

.cookie-banner__btn--decline:active {
  background-color: rgba(248, 245, 240, 0.3);
}

.cookie-banner__btn--decline:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 2px;
}

.chat-widget {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9000;
  font-family: var(--mahi-47f);
}

body.has-active-banner .chat-widget {
  bottom: 5.5rem;
}

.chat-launcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  min-width: 52px;
  padding: 0.65rem 1.2rem;
  background-color: var(--slab);
  color: var(--hazard-yellow);
  border: 2px solid var(--hazard-yellow);
  box-shadow: 3px 3px 0 var(--slab);
  cursor: pointer;
  outline: none;
  font-family: var(--mahi-001);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: background-color var(--dur-rapid) var(--ease-industrial),
              color var(--dur-rapid) var(--ease-industrial),
              transform var(--dur-rapid) var(--ease-industrial),
              box-shadow var(--dur-rapid) var(--ease-industrial);
}

.chat-launcher:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--slab);
}

.chat-launcher:active {
  transform: translateY(0);
  box-shadow: 1px 1px 0 var(--slab);
  background-color: #000;
}

.chat-launcher:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.chat-launcher .icon {
  width: 1.25em;
  height: 1.25em;
}

.chat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background-color: #b91c1c;
  color: #fff;
  font-family: var(--mahi-001);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid #fff;
}

.chat-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  width: min(380px, calc(100vw - 2.5rem));
  height: 480px;
  background-color: var(--surface);
  border: 3px solid var(--slab);
  box-shadow: 6px 6px 0 rgba(18, 16, 14, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  display: none;
}

.chat-panel.is-open {
  display: flex;
}

.chat-panel__header {
  background-color: var(--slab);
  color: var(--ink-light);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--hazard-yellow);
}

.chat-panel__title {
  font-family: var(--mahi-001);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hazard-yellow);
}

.chat-panel__close {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink-light);
  cursor: pointer;
  transition: color var(--dur-rapid) var(--ease-industrial);
}

.chat-panel__close:hover {
  color: var(--hazard-yellow);
}

.chat-panel__close:active {
  color: #fff;
}

.chat-panel__close:focus-visible {
  outline: 2px solid var(--hazard-yellow);
  outline-offset: 2px;
}

.chat-panel__messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: rgba(28, 25, 23, 0.05);
}

.chat-msg {
  max-width: 85%;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
}

.chat-msg--operator {
  align-self: flex-start;
  background-color: var(--slab);
  color: var(--ink-light);
  border-left: 3px solid var(--hazard-yellow);
}

.chat-msg--user {
  align-self: flex-end;
  background-color: #fff;
  color: var(--ink);
  border: 1px solid var(--slab);
}

.chat-panel__footer {
  padding: 0.85rem;
  background-color: var(--surface);
  border-top: var(--border-slab);
}

.chat-panel__form {
  display: flex;
  gap: 0.5rem;
}

.chat-panel__input {
  flex: 1;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  border: var(--border-slab);
  background-color: #fff;
  font-family: var(--mahi-001);
  font-size: 0.9rem;
  outline: none;
}

.chat-panel__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(15, 36, 28, 0.2);
}

.chat-panel__send {
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.85rem;
  background-color: var(--slab);
  color: var(--ink-light);
  border: var(--border-slab);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--dur-rapid) var(--ease-industrial);
}

.chat-panel__send:hover {
  background-color: var(--accent);
}

.chat-panel__send:active {
  background-color: #000;
}

.chat-panel__send:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
