/* A native-sized foil pointer, drawn by the browser at the actual click point. */
@media (hover: hover) and (pointer: fine) and (forced-colors: none) {
  html { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2230%22%20viewBox%3D%220%200%2028%2030%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22foil%22%20x2%3D%22.9%22%20y2%3D%221%22%20gradientUnits%3D%22objectBoundingBox%22%3E%3Cstop%20stop-color%3D%22%23f5e2c6%22%2F%3E%3Cstop%20offset%3D%22.52%22%20stop-color%3D%22%23dfc39a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ac8358%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M3%202.5%2023.6%2015.8%2014.4%2017.2%2018.5%2025.7%2014.4%2027.6%2010.4%2019%204.3%2024.9Z%22%20fill%3D%22url%28%23foil%29%22%20stroke%3D%22%23282016%22%20stroke-width%3D%221.7%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22m5.1%205.6%207.1%2010.5%207.1-.7Z%22%20fill%3D%22%23fff0d8%22%20opacity%3D%22.65%22%2F%3E%3C%2Fsvg%3E") 3 3, auto; }
  a[href], button:enabled, summary, select:enabled, label[for] {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2229%22%20height%3D%2231%22%20viewBox%3D%220%200%2029%2031%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22foil%22%20x2%3D%22.9%22%20y2%3D%221%22%20gradientUnits%3D%22objectBoundingBox%22%3E%3Cstop%20stop-color%3D%22%23f5e2c6%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23dfc39a%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23ac8358%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M9.5%2016.1V4.7a2.15%202.15%200%200%201%204.3%200v7.4-1.5a2%202%200%200%201%204%200v1.6-1a1.95%201.95%200%200%201%203.9%200v2.1-.7a1.85%201.85%200%200%201%203.7%200v6.1c0%203.1-1%205.8-2.8%208.4H12.1c-.8-1.7-2-3.1-3.6-4.9l-4.7-5.7c-1.7-2%20.6-4.4%202.7-3.1Z%22%20fill%3D%22url%28%23foil%29%22%20stroke%3D%22%23282016%22%20stroke-width%3D%221.65%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M11.1%205.1v8.9%22%20stroke%3D%22%23fff0d8%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%221.1%22%2F%3E%3C%2Fsvg%3E") 12 3, pointer;
  }
  input, textarea, [contenteditable="true"] { cursor: text; }
  input[type="checkbox"], input[type="radio"] { cursor: pointer; }
  button:disabled { cursor: wait; }
}

.lens-content .button, .founder-cta, .service-link, form > .button {
  font-size: .9375rem;
}
.lens-content .button, .founder-cta, .work-demo, #enquiry .button[type="submit"],
.service-link, .nav-cta {
  border-radius: 6px;
}

/* Let the original label determine the footprint, including when it wraps. */
.flagship .service-link {
  display: inline-grid;
  grid-template: "label arrow" / minmax(0, auto) auto;
}
.flagship .service-link > :first-child,
.flagship .service-link::before {
  grid-area: label;
}
.flagship .service-link::before {
  content: "Let’s Talk About Your Website";
  visibility: hidden;
}
.flagship .service-arrow { grid-area: arrow; }
.lens-content .button, .founder-cta {
  padding-block: clamp(16px, 1.25vw, 18px);
  padding-inline: clamp(20px, 3.5vw, 32px);
  column-gap: 1em;
}
.site-header nav .nav-cta { min-height: 44px; }
.button, .founder-cta, .flagship .service-link {
  box-shadow: inset 0 1px 0 rgb(255 245 224 / 38%);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .button, .founder-cta, .flagship .service-link {
    background-size: 145% 100%;
    background-position: 55% 50%;
    transition: background-position .35s ease-out, border-color .2s, box-shadow .2s;
  }
  .button:enabled:hover, a.button:hover, .founder-cta:hover, .flagship .service-link:hover {
    background-image: var(--metal);
    background-size: 145% 100%;
    background-position: 0% 50%;
    box-shadow: inset 0 1px 0 rgb(255 245 224 / 65%), 0 3px 10px rgb(0 0 0 / 12%);
  }
  .lens-content .button, .founder-cta {
    transition: background-position .45s cubic-bezier(.22,.61,.36,1), border-color .25s, box-shadow .25s;
  }
  .lens-content .button:hover, .founder-cta:hover {
    background-position: 25% 50%;
  }
}
:is(.button, .founder-cta, .service-link, .nav-cta):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #242019;
}
@media (prefers-reduced-motion: reduce) {
  :is(.button, .founder-cta, .service-link):hover .icon { transform: none; }
}
@media (forced-colors: active) {
  :is(.button, .founder-cta, .service-link, .nav-cta):focus-visible { outline-color: Highlight; }
}
