/*
 * TonyBlanco.es visual system
 * Shared, additive presentation primitives for the legacy PHP site.
 * Component classes use the tb- prefix to avoid overriding Tailwind utilities.
 */

:root {
  --tb-ink: #251A2E;
  --tb-text-muted: #71657B;
  --tb-canvas: #F8F4FB;
  --tb-surface: #FFFFFF;
  --tb-surface-lavender: #EEE5F6;
  --tb-purple: #7545A1;
  --tb-purple-hover: #5F3587;
  --tb-plum: #2F1D3B;
  --tb-mauve: #B4598B;
  --tb-gold: #D1A73D;
  --tb-border: rgba(66, 40, 82, 0.16);
  --tb-radius-sm: 6px;
  --tb-radius-md: 10px;
  --tb-shadow-subtle: 0 1px 2px rgba(37, 26, 46, 0.04),
    0 12px 40px rgba(37, 26, 46, 0.06);

  --tb-font-sans: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --tb-font-editorial: Georgia, "Times New Roman", serif;
  --tb-text-xs: 0.75rem;
  --tb-text-sm: 0.875rem;
  --tb-text-base: 1rem;
  --tb-text-lg: 1.125rem;
  --tb-text-xl: 1.25rem;
  --tb-text-2xl: clamp(1.5rem, 3vw, 2rem);
  --tb-text-3xl: clamp(2rem, 5vw, 3.5rem);
  --tb-leading-tight: 1.2;
  --tb-leading-body: 1.65;

  --tb-space-1: 0.25rem;
  --tb-space-2: 0.5rem;
  --tb-space-3: 0.75rem;
  --tb-space-4: 1rem;
  --tb-space-5: 1.25rem;
  --tb-space-6: 1.5rem;
  --tb-space-8: 2rem;
  --tb-space-10: 2.5rem;
  --tb-space-12: 3rem;
  --tb-space-16: 4rem;
  --tb-space-20: 5rem;
  --tb-container: 75rem;
  --tb-content: 46rem;
  --tb-focus: #7545A1;
  --tb-error: #982F43;
  --tb-error-surface: #FCECEF;
  --tb-success: #236644;
  --tb-success-surface: #EAF7F0;
}

/* Minimum reset: intentionally does not reset margins on every element. */
html {
  box-sizing: border-box;
  color-scheme: light;
  font-family: var(--tb-font-sans);
  line-height: var(--tb-leading-body);
  scroll-padding-top: var(--tb-space-16);
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  min-width: 20rem;
  margin: 0;
  color: var(--tb-ink);
  background: var(--tb-canvas);
  font-family: var(--tb-font-sans);
  font-size: var(--tb-text-base);
  line-height: var(--tb-leading-body);
  overflow-wrap: break-word;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  color: var(--tb-surface);
  background: var(--tb-purple);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--tb-plum);
  font-family: var(--tb-font-editorial);
  font-weight: 600;
  line-height: var(--tb-leading-tight);
  text-wrap: balance;
}

h1 { font-size: var(--tb-text-3xl); }
h2 { font-size: var(--tb-text-2xl); }
h3 { font-size: var(--tb-text-xl); }

p,
li {
  max-width: 75ch;
}

small,
.tb-text-small {
  font-size: var(--tb-text-sm);
}

.tb-text-muted {
  color: var(--tb-text-muted);
}

a {
  color: var(--tb-purple);
  text-decoration-color: color-mix(in srgb, var(--tb-purple) 50%, transparent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--tb-purple-hover);
  text-decoration-color: currentColor;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--tb-focus);
  outline-offset: 3px;
}

.tb-skip-link {
  position: fixed;
  z-index: 10000;
  top: var(--tb-space-3);
  left: var(--tb-space-3);
  padding: var(--tb-space-3) var(--tb-space-4);
  color: var(--tb-surface);
  background: var(--tb-plum);
  border-radius: var(--tb-radius-sm);
  transform: translateY(calc(-100% - var(--tb-space-6)));
}

.tb-skip-link:focus {
  color: var(--tb-surface);
  transform: translateY(0);
}

/* Layout */
.tb-container {
  width: min(100% - 2rem, var(--tb-container));
  margin-inline: auto;
}

.tb-container--narrow {
  width: min(100% - 2rem, var(--tb-content));
  margin-inline: auto;
}

.tb-section {
  padding-block: var(--tb-space-16);
}

.tb-section--lavender {
  background: var(--tb-surface-lavender);
}

.tb-stack > * {
  margin-block: 0;
}

.tb-stack > * + * {
  margin-top: var(--tb-stack-space, var(--tb-space-6));
}

.tb-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-cluster-space, var(--tb-space-4));
  align-items: center;
}

.tb-grid {
  display: grid;
  grid-template-columns: repeat(var(--tb-grid-columns, 3), minmax(0, 1fr));
  gap: var(--tb-grid-gap, var(--tb-space-6));
}

.tb-grid--2 { --tb-grid-columns: 2; }
.tb-grid--4 { --tb-grid-columns: 4; }

/* Buttons and legacy button enhancement. */
.tb-button,
.btn-glow {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--tb-space-2);
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--tb-radius-sm);
  font-family: var(--tb-font-sans);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease,
    color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.tb-button,
.tb-button--primary {
  color: var(--tb-surface);
  background: var(--tb-purple);
}

.tb-button:hover,
.tb-button--primary:hover {
  color: var(--tb-surface);
  background: var(--tb-purple-hover);
}

.tb-button--secondary {
  color: var(--tb-purple);
  background: var(--tb-surface);
  border-color: var(--tb-purple);
}

.tb-button--secondary:hover {
  color: var(--tb-surface);
  background: var(--tb-purple-hover);
}

.tb-button--quiet {
  color: var(--tb-plum);
  background: var(--tb-surface-lavender);
  border-color: var(--tb-border);
}

.tb-button--quiet:hover {
  color: var(--tb-plum);
  background: #E3D5EF;
}

.tb-button:active {
  transform: translateY(1px);
}

.tb-button:disabled,
.tb-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
}

/* Cards and callouts */
.tb-card {
  padding: var(--tb-space-6);
  background: var(--tb-surface);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-md);
  box-shadow: var(--tb-shadow-subtle);
}

.tb-card__eyebrow {
  margin: 0 0 var(--tb-space-2);
  color: var(--tb-purple);
  font-size: var(--tb-text-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tb-card__title {
  margin-block: 0 var(--tb-space-3);
}

.tb-card__footer {
  margin-top: var(--tb-space-6);
  padding-top: var(--tb-space-4);
  border-top: 1px solid var(--tb-border);
}

.tb-callout {
  padding: var(--tb-space-5) var(--tb-space-6);
  color: var(--tb-ink);
  background: var(--tb-surface-lavender);
  border: 1px solid var(--tb-border);
  border-left: 4px solid var(--tb-purple);
  border-radius: var(--tb-radius-sm);
}

.tb-callout--gold {
  background: #FCF8EB;
  border-left-color: var(--tb-gold);
}

/* Forms */
.tb-form {
  display: grid;
  gap: var(--tb-space-5);
}

.tb-field {
  display: grid;
  gap: var(--tb-space-2);
}

.tb-label,
.tb-field > label {
  color: var(--tb-plum);
  font-weight: 700;
}

.tb-input,
.tb-select,
.tb-textarea,
.tb-field :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.68rem 0.8rem;
  color: var(--tb-ink);
  background: var(--tb-surface);
  border: 1px solid rgba(66, 40, 82, 0.38);
  border-radius: var(--tb-radius-sm);
}

.tb-textarea,
.tb-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.tb-input:hover,
.tb-select:hover,
.tb-textarea:hover,
.tb-field :where(input, select, textarea):hover {
  border-color: var(--tb-purple);
}

.tb-help {
  margin: 0;
  color: var(--tb-text-muted);
  font-size: var(--tb-text-sm);
}

.tb-field[aria-invalid="true"] :where(input, select, textarea),
.tb-input[aria-invalid="true"] {
  border-color: var(--tb-error);
  box-shadow: 0 0 0 1px var(--tb-error);
}

.tb-checkbox,
.tb-radio {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--tb-purple);
}

/* Status messages never rely on colour alone: use role/status text or an icon. */
.tb-alert {
  display: flex;
  gap: var(--tb-space-3);
  padding: var(--tb-space-4) var(--tb-space-5);
  border: 1px solid currentColor;
  border-radius: var(--tb-radius-sm);
}

.tb-alert--error,
.tb-error {
  color: var(--tb-error);
  background: var(--tb-error-surface);
}

.tb-alert--success,
.tb-success {
  color: var(--tb-success);
  background: var(--tb-success-surface);
}

/* Data tables */
.tb-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-md);
  -webkit-overflow-scrolling: touch;
}

.tb-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--tb-surface);
}

.tb-table caption {
  padding: var(--tb-space-4);
  color: var(--tb-plum);
  font-family: var(--tb-font-editorial);
  font-size: var(--tb-text-lg);
  font-weight: 600;
  text-align: left;
}

.tb-table th,
.tb-table td {
  padding: var(--tb-space-3) var(--tb-space-4);
  border-bottom: 1px solid var(--tb-border);
  text-align: left;
  vertical-align: top;
}

.tb-table th {
  color: var(--tb-plum);
  background: var(--tb-surface-lavender);
}

.tb-table tbody tr:last-child > * {
  border-bottom: 0;
}

/* Editorial reading surface */
.tb-prose {
  max-width: var(--tb-content);
  color: var(--tb-ink);
  font-family: var(--tb-font-editorial);
  font-size: clamp(1.05rem, 1rem + 0.2vw, 1.2rem);
}

.tb-prose > * {
  margin-block: 0;
}

.tb-prose > * + * {
  margin-top: 1.25em;
}

.tb-prose h2,
.tb-prose h3 {
  margin-top: 1.8em;
}

.tb-prose blockquote {
  margin-inline: 0;
  padding: var(--tb-space-2) 0 var(--tb-space-2) var(--tb-space-5);
  color: var(--tb-plum);
  border-left: 3px solid var(--tb-gold);
  font-size: var(--tb-text-lg);
}

.tb-prose :where(ul, ol) {
  padding-left: 1.4em;
}

.tb-prose hr {
  margin-block: var(--tb-space-10);
  border: 0;
  border-top: 1px solid var(--tb-border);
}

/* Breadcrumbs */
.tb-breadcrumbs {
  color: var(--tb-text-muted);
  font-size: var(--tb-text-sm);
}

.tb-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-2);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-breadcrumbs li:not(:last-child)::after {
  margin-left: var(--tb-space-2);
  color: var(--tb-mauve);
  content: "/";
}

.tb-breadcrumbs [aria-current="page"] {
  color: var(--tb-ink);
  font-weight: 700;
}

/* Shared footer surface; navigation structure remains untouched. */
.tb-footer-surface {
  color: #F8F4FB;
  background: var(--tb-plum);
  border-top: 4px solid var(--tb-gold);
}

.tb-footer-surface a {
  color: #FFFFFF;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.tb-footer-surface a:hover {
  color: #FFFFFF;
  text-decoration-color: var(--tb-gold);
}

/* PR-04: shared shell and navigation */
.tb-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.tb-shell {
  width: min(100% - 2rem, var(--tb-container));
  margin-inline: auto;
}

.tb-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  color: var(--tb-ink);
  box-shadow: 0 8px 32px rgba(37, 26, 46, 0.08);
}

.tb-utility-bar {
  color: #FFFFFF;
  background: var(--tb-plum);
}

.tb-utility-bar__inner,
.tb-utility-actions,
.tb-nav-row,
.tb-nav-actions {
  display: flex;
  align-items: center;
}

.tb-utility-bar__inner {
  min-height: 2.75rem;
  justify-content: space-between;
  gap: var(--tb-space-4);
}

.tb-utility-actions {
  gap: var(--tb-space-3);
}

.tb-utility-email,
.tb-account-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: #FFFFFF;
  font-size: var(--tb-text-sm);
  text-decoration: none;
}

.tb-utility-email:hover,
.tb-account-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.tb-search {
  position: relative;
  width: min(15rem, 34vw);
}

.tb-search input {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.4rem 3rem 0.4rem 0.85rem;
  color: var(--tb-ink);
  background: #FFFFFF;
  border: 1px solid transparent;
  border-radius: 999px;
}

.tb-search button {
  position: absolute;
  inset: 50% 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: var(--tb-purple);
  background: transparent;
  border: 0;
  transform: translateY(-50%);
}

.tb-nav-surface {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--tb-border);
}

.tb-nav-row {
  min-height: 5.25rem;
  justify-content: space-between;
  gap: var(--tb-space-5);
}

.tb-brand {
  flex: 0 0 auto;
}

.tb-brand img {
  width: clamp(11rem, 17vw, 15rem);
  max-height: 4rem;
}

.tb-desktop-nav {
  display: flex;
  min-width: 0;
  align-items: stretch;
  align-self: stretch;
}

.tb-nav-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: var(--tb-space-2);
  padding: 0.65rem 0.7rem;
  color: var(--tb-ink);
  font-size: var(--tb-text-sm);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
}

.tb-nav-link:hover,
.tb-nav-link.is-active,
.tb-nav-link[aria-current="page"] {
  color: var(--tb-purple-hover);
  border-bottom-color: var(--tb-gold);
}

.tb-nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.tb-dropdown-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% - 0.25rem);
  right: 0;
  width: min(30rem, calc(100vw - 2rem));
  max-height: min(70vh, 30rem);
  overflow-y: auto;
  padding: var(--tb-space-4);
  background: #FFFFFF;
  border: 1px solid var(--tb-border);
  border-top: 3px solid var(--tb-gold);
  border-radius: 0 0 var(--tb-radius-md) var(--tb-radius-md);
  box-shadow: var(--tb-shadow-subtle);
}

.tb-dropdown-title {
  margin: 0 0 var(--tb-space-3);
  color: var(--tb-text-muted);
  font-size: var(--tb-text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tb-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--tb-space-2);
}

.tb-dropdown-link {
  justify-content: flex-start;
  text-align: left;
  background: var(--tb-canvas);
  border: 0;
  border-radius: var(--tb-radius-sm);
}

.tb-dropdown-resources {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-2);
  margin-top: var(--tb-space-4);
  padding-top: var(--tb-space-3);
  border-top: 1px solid var(--tb-border);
}

.tb-resource-link {
  color: var(--tb-text-muted);
  font-weight: 600;
  border: 0;
}

.tb-studios-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  color: #FFFFFF;
  font-size: var(--tb-text-sm);
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  background: var(--tb-purple);
  border: 1px solid var(--tb-purple);
  border-radius: var(--tb-radius-sm);
}

.tb-studios-cta:hover {
  color: #FFFFFF;
  background: var(--tb-purple-hover);
}

.tb-menu-toggle,
.tb-mobile-nav {
  display: none;
}

.tb-header-spacer {
  height: 8rem;
}

.tb-footer {
  color: #F8F4FB;
  background: var(--tb-plum);
  border-top: 4px solid var(--tb-gold);
}

.tb-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: var(--tb-space-8);
  padding-block: var(--tb-space-12) var(--tb-space-8);
}

.tb-footer__brand img {
  width: min(100%, 17rem);
}

.tb-footer h2,
.tb-footer h3,
.tb-footer p {
  color: inherit;
}

.tb-footer h3 {
  margin: 0 0 var(--tb-space-3);
  font-family: var(--tb-font-sans);
  font-size: var(--tb-text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.tb-footer li + li {
  margin-top: 0;
}

.tb-footer a {
  color: #FFFFFF;
}

.tb-footer li a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
}

.tb-footer section > p a {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
}

.tb-footer__quote {
  margin: var(--tb-space-5) 0 0;
  padding-left: var(--tb-space-4);
  border-left: 3px solid var(--tb-gold);
}

.tb-footer__quote p,
.tb-footer__quote cite {
  margin: 0;
}

.tb-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--tb-space-2);
  margin-top: var(--tb-space-4);
}

.tb-footer__social a {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.tb-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--tb-space-4);
  padding-block: var(--tb-space-5);
  font-size: var(--tb-text-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tb-footer__bottom p {
  margin: 0;
}

@media (max-width: 73rem) {
  body.tb-menu-open {
    overflow: hidden;
  }

  .tb-desktop-nav,
  .tb-studios-cta--desktop {
    display: none;
  }

  .tb-menu-toggle {
    position: relative;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--tb-ink);
    background: var(--tb-surface-lavender);
    border: 1px solid var(--tb-border);
    border-radius: var(--tb-radius-sm);
  }

  .tb-menu-toggle__icon,
  .tb-menu-toggle__icon::before,
  .tb-menu-toggle__icon::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .tb-menu-toggle__icon::before { transform: translateY(-0.4rem); }
  .tb-menu-toggle__icon::after { transform: translateY(0.28rem); }

  .tb-menu-toggle[aria-expanded="true"] .tb-menu-toggle__icon { background: transparent; }
  .tb-menu-toggle[aria-expanded="true"] .tb-menu-toggle__icon::before { transform: rotate(45deg); }
  .tb-menu-toggle[aria-expanded="true"] .tb-menu-toggle__icon::after { transform: translateY(-2px) rotate(-45deg); }

  .tb-mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: block;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
    background: #FFFFFF;
    border-top: 1px solid var(--tb-border);
    box-shadow: var(--tb-shadow-subtle);
  }

  .tb-mobile-nav__inner {
    width: min(100% - 2rem, 40rem);
    margin-inline: auto;
    padding-block: var(--tb-space-3) var(--tb-space-6);
  }

  .tb-mobile-link {
    min-height: 2.75rem;
    width: 100%;
    justify-content: flex-start;
    padding-inline: var(--tb-space-3);
    text-align: left;
    border-bottom: 1px solid var(--tb-border);
  }

  .tb-mobile-resources summary {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    padding-inline: var(--tb-space-3);
    color: var(--tb-ink);
    font-weight: 700;
    cursor: pointer;
  }

  .tb-mobile-account {
    margin-block: var(--tb-space-3);
    padding-block: var(--tb-space-2);
    background: var(--tb-canvas);
    border-radius: var(--tb-radius-sm);
  }

  .tb-studios-cta--mobile {
    width: 100%;
    margin-top: var(--tb-space-3);
  }
}

@media (max-width: 48rem) {
  .tb-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tablet */
@media (max-width: 64rem) {
  .tb-grid,
  .tb-grid--4 {
    --tb-grid-columns: 2;
  }

  .tb-section {
    padding-block: var(--tb-space-12);
  }
}

/* Mobile, including the 390 x 844 QA viewport. */
@media (max-width: 30rem) {
  :root {
    --tb-grid-gap: var(--tb-space-4);
  }

  .tb-container,
  .tb-container--narrow {
    width: min(100% - 1.5rem, var(--tb-container));
  }

  .tb-grid,
  .tb-grid--2,
  .tb-grid--4 {
    --tb-grid-columns: 1;
  }

  .tb-section {
    padding-block: var(--tb-space-10);
  }

  .tb-card,
  .tb-callout {
    padding: var(--tb-space-5);
  }

  .tb-button {
    width: 100%;
  }

  .tb-shell {
    width: min(100% - 1.25rem, var(--tb-container));
  }

  .tb-utility-email {
    display: none;
  }

  .tb-utility-actions {
    width: 100%;
    justify-content: space-between;
  }

  .tb-search {
    width: min(13rem, 68vw);
  }

  .tb-brand img {
    width: 10.5rem;
  }

  .tb-nav-row {
    min-height: 4.75rem;
  }

  .tb-header-spacer {
    height: 7.5rem;
  }

  .tb-mobile-nav {
    max-height: calc(100vh - 7.5rem);
  }

  .tb-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--tb-space-8);
  }

  .tb-footer__bottom {
    flex-direction: column;
  }

  .tb-table th,
  .tb-table td {
    padding: var(--tb-space-3);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    color: #000000;
    background: #FFFFFF;
  }

  .tb-skip-link,
  .tb-button {
    display: none;
  }

  .tb-card,
  .tb-callout {
    box-shadow: none;
  }
}
