/* masthead.css -- the category nav bar, its dropdowns, the off-canvas
   accordion, and the floating search button + panel (markup: js/masthead.js).
   Loaded by every page, homepage included, so it's a standalone stylesheet
   like site-footer.css rather than part of main.compiled.css (which the
   homepage doesn't load) or home.css (which no other page loads). The older
   bar / theme toggle / off-canvas drawer rules still live in home.css and
   sass/Components/_masthead.scss.

   Everything sets its own colours, borders and focus outlines explicitly:
   main.compiled.css gives every <button> white text and `outline: none`. */

/* ---------- Nav bar ---------- */

.masthead .bar {
  position: relative; /* dropdowns anchor to the bar, not the link */
  gap: 1rem;
}

.masthead .bar .logo {
  flex-shrink: 0;
}

.masthead-nav {
  display: none;
  flex: 1 1 auto;
  min-width: 0;
}

.masthead-nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.masthead-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  color: var(--t1);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}

.masthead-nav-link i {
  font-size: 0.65rem;
  transition: transform 150ms ease;
}

.masthead-nav-link:hover,
.masthead-nav-item.open > .masthead-nav-link {
  background: var(--accent-soft);
  color: var(--accent);
}

.masthead-nav-item.open > .masthead-nav-link i {
  transform: rotate(180deg);
}

.masthead-nav-link:focus-visible,
.masthead-dropdown a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Dropdown: full bar width so it never runs off the right edge, whichever
   top-level link opened it. */
.masthead-dropdown {
  position: absolute;
  top: calc(100% - 0.25rem);
  left: 1rem;
  right: 1rem;
  z-index: 200;
  padding: 1.5rem 1.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.14);
  font-family: "Source Sans 3", system-ui, sans-serif;
  /* Closed: invisible, unclickable and out of the tab order (visibility), but
     still laid out so it can fade. Visibility flips after the fade on close. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 150ms ease-in, transform 150ms ease-in, visibility 0s linear 150ms;
}

.masthead-nav-item.open > .masthead-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s;
}

@media (prefers-reduced-motion: reduce) {
  .masthead-dropdown,
  .masthead-nav-item.open > .masthead-dropdown {
    transition: none;
    transform: none;
  }
}

.masthead-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem 2rem;
}

.masthead-dropdown-heading {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--t1);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.masthead-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.masthead-dropdown ul a {
  display: block;
  padding: 0.25rem 0;
  color: var(--t2);
  font-size: 0.92rem;
  text-decoration: none;
}

.masthead-dropdown-heading:hover,
.masthead-dropdown ul a:hover,
.masthead-dropdown-all:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.masthead-dropdown-all {
  display: inline-block;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
  width: 100%;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

/* Desktop: nav links in, hamburger out. Below 1024px it's the reverse. */
@media (min-width: 1024px) {
  .masthead-nav {
    display: block;
  }

  .masthead .bar .hamburger {
    display: none;
  }
}

/* ---------- "Sell Now" ----------
   In the bar at 1024px and wider (left of the theme toggle), and full
   width at the top of the phone menu below that. Black on light, white on
   dark -- deliberately not the site rust. Height matches the toggle
   (28px, border-box on every page); the radius is the product cards'
   "Shop Now" button's (0.5rem, Styles/shop.css). */
.sell-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  height: 28px;
  margin: 0;
  padding: 0 0.85rem;
  border: 0;
  border-radius: 0.5rem;
  background: #111111;
  color: #fff;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.masthead .bar .sell-now-btn {
  display: none;
}

@media (min-width: 1024px) {
  .masthead .bar .sell-now-btn {
    display: inline-flex;
  }
}

.masthead .bar .sell-now-btn,
.masthead .bar .sell-now-btn:visited,
.offcanvas .panel .sell-now-btn,
.offcanvas .panel .sell-now-btn:visited {
  background: #111111;
  color: #fff;
}

.masthead .bar .sell-now-btn:hover,
.masthead .bar .sell-now-btn:focus-visible,
.offcanvas .panel .sell-now-btn:hover,
.offcanvas .panel .sell-now-btn:focus-visible {
  background: #3a3a3a;
  color: #fff;
}

.masthead .bar .sell-now-btn:focus-visible,
.offcanvas .panel .sell-now-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.theme-dark .masthead .bar .sell-now-btn,
body.theme-dark .offcanvas .panel .sell-now-btn {
  background: #fff;
  color: #111111;
}

body.theme-dark .masthead .bar .sell-now-btn:hover,
body.theme-dark .masthead .bar .sell-now-btn:focus-visible,
body.theme-dark .offcanvas .panel .sell-now-btn:hover,
body.theme-dark .offcanvas .panel .sell-now-btn:focus-visible {
  background: #d9d9d9;
  color: #111111;
}

body.theme-dark .masthead .bar .sell-now-btn:focus-visible,
body.theme-dark .offcanvas .panel .sell-now-btn:focus-visible {
  outline-color: var(--accent);
}

/* Phone menu: full width above the category accordions. */
.offcanvas .panel .offcanvas-sell-now {
  display: flex;
  width: 100%;
  height: 44px;
  margin: 0.75rem 0 1rem;
  padding: 0 1rem;
  font-size: 1rem;
}

/* ---------- Header tooltips ----------
   The toggle, cart, log in / account and hamburger each name themselves on
   hover or keyboard focus (data-tooltip, kept in step with aria-label by
   js/masthead.js). display:none rather than opacity while hidden, so a
   tooltip near the screen edge never adds sideways scroll. Hover only on
   devices that really hover, so a tap doesn't leave one stuck open. */
.masthead .bar .has-tooltip {
  position: relative;
}

/* The pill toggle clips its knob; let the tooltip out. */
.masthead .bar .mode-toggle.pill-toggle.has-tooltip {
  overflow: visible;
}

.masthead .bar .has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 300;
  display: none;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  background: #1f2937;
  color: #fff;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.2);
  transform: translateX(-50%);
  animation: masthead-tooltip-in 120ms ease-out;
}

/* The last icon sits at the screen edge: right-align its tooltip. */
.masthead .bar .right > .has-tooltip:last-child::after {
  left: auto;
  right: 0;
  transform: none;
  animation-name: masthead-tooltip-in-edge;
}

@media (min-width: 1024px) {
  .masthead .bar .right > #masthead-account-link.has-tooltip::after {
    left: auto;
    right: 0;
    transform: none;
    animation-name: masthead-tooltip-in-edge;
  }
}

@media (hover: hover) {
  .masthead .bar .has-tooltip:hover::after {
    display: block;
  }
}

.masthead .bar .has-tooltip:focus-visible::after {
  display: block;
}

@keyframes masthead-tooltip-in {
  from {
    opacity: 0;
    transform: translate(-50%, -4px);
  }
}

@keyframes masthead-tooltip-in-edge {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .masthead .bar .has-tooltip::after {
    animation: none;
  }
}

body.theme-dark .masthead .bar .has-tooltip::after {
  background: #f3f4f6;
  color: #111827;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

/* Focus ring for the bar's own controls (main.compiled.css removes it). */
.masthead .bar .hamburger:focus-visible,
.masthead .bar .mode-toggle:focus-visible,
.offcanvas .panel .mode-toggle:focus-visible,
.masthead .bar .masthead-icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.theme-dark .masthead-nav-link {
  color: #e8e8e8;
}

body.theme-dark .masthead-nav-link:hover,
body.theme-dark .masthead-nav-item.open > .masthead-nav-link {
  background: #242019;
  color: var(--accent);
}

body.theme-dark .masthead-dropdown {
  background: #1c1a17;
  border-color: #2e2a24;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

body.theme-dark .masthead-dropdown-heading {
  color: #fff;
}

body.theme-dark .masthead-dropdown ul a {
  color: #b8b2a7;
}

body.theme-dark .masthead-dropdown-heading:hover,
body.theme-dark .masthead-dropdown ul a:hover,
body.theme-dark .masthead-dropdown-all {
  color: var(--accent);
}

body.theme-dark .masthead-dropdown-all {
  border-top-color: #2e2a24;
}

/* ---------- Off-canvas accordion ---------- */

.offcanvas .mobile-nav .accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% + 1rem);
  margin: 0 -0.5rem;
  padding: 0.65rem 0.5rem;
  border: 0;
  border-radius: 0.35rem;
  background: none;
  color: var(--t1);
  font: inherit;
  font-weight: 700;
  text-align: left;
  transition: background 150ms ease, color 150ms ease;
}

.offcanvas .mobile-nav .level-2 > .accordion-toggle {
  font-weight: 600;
}

.offcanvas .mobile-nav .accordion-toggle i {
  font-size: 0.7rem;
  color: var(--t3);
  transition: transform 150ms ease;
}

.offcanvas .mobile-nav .accordion-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.offcanvas .mobile-nav .accordion-toggle:hover,
.offcanvas .mobile-nav .accordion-toggle:focus-visible {
  background: var(--accent-soft);
  color: var(--accent);
}

.offcanvas .mobile-nav .accordion-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.offcanvas .mobile-nav ul.accordion-body {
  margin: 0 0 0.25rem 0.25rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--line-strong);
}

.offcanvas .mobile-nav ul.accordion-body[hidden] {
  display: none;
}

.offcanvas .mobile-nav ul li a.accordion-all {
  color: var(--accent);
  font-weight: 600;
}

body.theme-dark .offcanvas .mobile-nav .accordion-toggle {
  color: #fff;
}

body.theme-dark .offcanvas .mobile-nav .accordion-toggle:hover,
body.theme-dark .offcanvas .mobile-nav .accordion-toggle:focus-visible {
  background: #111;
  color: var(--accent);
}

body.theme-dark .offcanvas .mobile-nav ul.accordion-body {
  border-left-color: #333;
}

body.theme-dark .offcanvas .mobile-nav ul li a.accordion-all {
  color: var(--accent);
}

/* ---------- Floating search button ---------- */

.floating-search-btn {
  --fsb-base: 20px; /* resting gap; masthead.js lifts --fsb-bottom above the footer */
  --fsb-bottom: var(--fsb-base);
  position: fixed;
  right: 1.25rem;
  bottom: var(--fsb-bottom);
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 52px;
  padding: 0 1.4rem 0 1.15rem;
  border: 0;
  border-radius: var(--r-ctl);
  background: var(--accent);
  color: var(--on-accent);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 25px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease, opacity 200ms ease, visibility 200ms ease, bottom 350ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .floating-search-btn { transition: none; }
}

.floating-search-btn i {
  font-size: 1.05rem;
}

.floating-search-btn:hover,
.floating-search-btn.is-active {
  background: var(--accent-hover);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--accent) 45%, transparent);
  transform: translateY(-2px);
}

.floating-search-btn:focus-visible {
  outline: 3px solid #1f2937;
  outline-offset: 3px;
}

body.theme-dark .floating-search-btn:focus-visible {
  outline-color: #fff;
}

/* is-hidden: homepage hero search in view. is-dodging: the footer
   newsletter form or listing.html's purchase buttons are underneath it. */
.floating-search-btn.is-hidden,
.floating-search-btn.is-footer-hidden,
.floating-search-btn.is-dodging {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

/* ---------- Search panel ---------- */

.search-panel {
  position: fixed;
  right: 1.25rem;
  bottom: calc(var(--fsb-bottom, 1.25rem) + 52px + 0.75rem);
  z-index: 950;
  width: min(380px, calc(100vw - 2.5rem));
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--surface);
  color: var(--t1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.22);
  font-family: "Source Sans 3", system-ui, sans-serif;
}

/* Taller than the screen (the filters below 1024px): scroll inside. */
.search-panel {
  max-height: calc(100vh - (var(--fsb-bottom, 1.25rem) + 52px + 0.75rem) - 1rem);
  max-height: calc(100dvh - (var(--fsb-bottom, 1.25rem) + 52px + 0.75rem) - 1rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.search-panel[hidden] {
  display: none;
}

/* The title and close button stay put while the panel scrolls. */
.search-panel-head {
  position: sticky;
  top: -1.1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -1.1rem -1.25rem 0.75rem;
  padding: 1.1rem 1.25rem 0.5rem;
  background: inherit;
}

/* Below 1024px the shared filters replace the category select; at 1024px
   and wider the panel is search only (the filters are in the sidebars). */
.search-panel-filters {
  display: none;
}

@media (max-width: 1023px) {
  .search-panel-filters {
    display: block;
  }

  .search-panel-field.search-panel-category-field {
    display: none;
  }
}

.search-panel-clear {
  justify-self: center;
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-panel-clear[hidden] {
  display: none;
}

.search-panel-clear:hover {
  color: var(--accent);
}

.search-panel-clear:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.theme-dark .search-panel-clear {
  color: var(--accent);
}

.search-panel-title {
  margin: 0;
  color: inherit;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.search-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--t1);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}

.search-panel-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.search-panel-form {
  display: grid;
  gap: 0.75rem;
}

.search-panel-field {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: default;
}

.search-panel-field select,
.search-panel-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--field);
  border-radius: var(--r-ctl);
  background: var(--surface);
  color: var(--t1);
  font: inherit;
  font-weight: 400;
  font-size: 1rem;
  transition: border-color 150ms ease;
}

.search-panel-field select:hover,
.search-panel-field input:hover {
  border-color: var(--accent);
}

.search-panel-submit {
  height: 46px;
  border: 0;
  border-radius: var(--r-ctl);
  background: var(--accent);
  color: var(--on-accent);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease, box-shadow 150ms ease;
}

.search-panel-submit:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent) 30%, transparent);
}

.search-panel-field select:focus-visible,
.search-panel-field input:focus-visible,
.search-panel-close:focus-visible,
.search-panel-submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.theme-dark .search-panel {
  background: #1c1a17;
  color: #e8e8e8;
  border-color: #2e2a24;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

body.theme-dark .search-panel-close,
body.theme-dark .search-panel-field select,
body.theme-dark .search-panel-field input {
  background: #141210;
  border-color: #3a352d;
  color: #e8e8e8;
}

body.theme-dark .search-panel-close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Phones: icon-only button, and the panel becomes a full-width sheet
   pinned to the bottom of the screen (over the button). */
@media (max-width: 639px) {
  .floating-search-btn {
    width: 52px;
    padding: 0;
    justify-content: center;
  }

  .floating-search-btn .floating-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .search-panel {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-height: 88vh;
    max-height: 88dvh;
    padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -12px 40px rgba(17, 24, 39, 0.25);
  }

  .search-panel-head {
    top: -1rem;
    margin: -1rem -1rem 0.75rem;
    padding: 1rem 1rem 0.5rem;
  }
}

/* ---------- Theme toggle: bar or phone menu ----------
   769px and wider: in the bar, as always. 768px and below (iPad Mini and
   smaller) it moves to the bottom of the hamburger menu, centred; the bar
   keeps the logo, cart, log in and hamburger where they were (the right-hand
   group is right-aligned, so losing the toggle doesn't move them). The panel
   becomes a column so margin-top: auto can push the toggle to the bottom;
   the rules beside it keep every other item exactly where block layout had
   it (the float, and the category list's collapsed bottom margin). */
.offcanvas-theme {
  display: none;
}

@media (max-width: 768px) {
  /* Specific enough to beat the toggle's own display rule (home.css /
     _masthead.scss). */
  .masthead .bar .mode-toggle.pill-toggle.has-tooltip {
    display: none;
  }

  .offcanvas .panel {
    display: flex;
    flex-direction: column;
  }

  .offcanvas .panel > * {
    flex-shrink: 0;
  }

  .offcanvas .panel .close {
    align-self: flex-end;
  }

  .offcanvas .panel .offcanvas-logo {
    align-self: flex-start;
  }

  .offcanvas .mobile-nav > ul {
    margin-bottom: 0;
  }

  .offcanvas-theme {
    display: flex;
    justify-content: center;
    margin-top: auto;
    padding-top: 1.5rem;
  }
}

/* ---------- Cart count badge ---------- */

.masthead .bar .masthead-cart {
  position: relative;
}

.masthead .bar .cart-count {
  position: absolute;
  top: -6px;
  right: -9px;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

.masthead .bar .cart-count[hidden] {
  display: none;
}

body.theme-dark .masthead .bar .cart-count {
  background: var(--accent);
  color: #111;
}

/* ---------- Toast (window.MarketplaceToast) ----------
   Top centre, just below the header bar, so it never sits under the
   floating search button or hides the cart count it has just updated. */
.site-toast {
  position: fixed;
  top: 72px;
  left: 50%;
  z-index: 3100;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-sizing: border-box;
  width: max-content;
  max-width: min(440px, calc(100vw - 2rem));
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #1f2937;
  color: #fff;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translate(-50%, -0.75rem);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.site-toast[hidden] {
  display: none;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.site-toast i {
  flex-shrink: 0;
  font-size: 1.05rem;
}

.site-toast-success i {
  color: var(--blue-300);
}

.site-toast-error i {
  color: #f87171;
}

.site-toast a {
  margin-left: 0.25rem;
  color: var(--rust-300);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

body.theme-dark .site-toast {
  background: #f9fafb;
  color: #111;
}

body.theme-dark .site-toast a {
  color: var(--rust-700);
}

body.theme-dark .site-toast-success i {
  color: var(--blue-700);
}

body.theme-dark .site-toast-error i {
  color: #b91c1c;
}

@media (prefers-reduced-motion: reduce) {
  .site-toast {
    transition: none;
  }
}

/* Skip link (js/masthead.js): off-screen until it has keyboard focus. */
.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 10000;
  padding: 0.6rem 1rem;
  background: var(--t1);
  color: var(--page);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-ctl);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}
