/* Hand-maintained overrides, loaded after the Webflow export on every page.
   Source: UI Skills polish pass, 2026-11-14 */

/* Roca has no font-display, so text was invisible until the 86KB OTF arrived */
@font-face {
  font-family: Roca;
  src: url('../fonts/rocaone-bold.otf') format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Balanced headings, no orphans in body copy */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, .text-size-regular, .text-size-medium, .text-size-large { text-wrap: pretty; }

/* Anchor jumps land below the sticky navbar instead of under it */
html { scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* One visible, on-brand focus ring for every interactive element */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
*[tabindex]:focus-visible {
  outline: 2px solid #172847;
  outline-offset: 3px;
  border-radius: 4px;
}
.section_testimonial4 a:focus-visible { outline-color: #f3eee9; }

/* Button hierarchy: the primary action is filled, secondary stays outlined */
.button {
  transition-property: transform, background-color, border-color, color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.button:not(.is-secondary):not(.is-link) {
  background-color: #172847;
  border-color: #172847;
  color: #fffcfa;
}
.button:not(.is-secondary):not(.is-link):hover { background-color: #22396a; border-color: #22396a; }
.button.is-secondary:hover { background-color: rgba(23, 40, 71, 0.06); }
.button:active { transform: scale(0.96); }

/* "View the live site": arrow nudges on hover, bigger hit area than the 24px text line */
.button.is-link.is-icon { position: relative; }
.button.is-link.is-icon::after {
  content: "";
  position: absolute;
  inset: -0.625rem -0.5rem;
}
.button.is-link.is-icon .icon-embed-xxsmall {
  transition: transform 150ms ease-out;
}
.button.is-link.is-icon:hover .icon-embed-xxsmall { transform: translateX(3px); }

/* Card titles read as links on hover */
.portfolio1_title-link:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }

/* Subtle edge on screenshots so light sites don't bleed into the cream panel */
.portfolio1_image { outline: 1px solid oklch(0 0 0 / 0.1); outline-offset: -1px; }

/* Testimonial is a quote, not a heading */
.testimonial4_quote { margin: 0; padding: 0; border: 0; font-size: inherit; }

/* Contact links */
.contact11_item .text-style-link { text-underline-offset: 0.2em; }

/* Footer (replaced footer7, 2026-11-14). Light tint on purpose: the logo's
   green circle is semi-transparent and only reads on a light background. */
.footer {
  margin-top: 5rem;
  background-color: #f3eee9;
  border-top: 1px solid rgba(23, 40, 71, 0.12);
  color: #172847;
  font-family: Outfit, sans-serif;
}
.footer_top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer_logo-link { display: inline-block; }
.footer_logo { display: block; width: 9.5rem; height: auto; }
.footer_tagline {
  max-width: 22rem;
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(23, 40, 71, 0.78);
}
.footer_heading {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(23, 40, 71, 0.72);
}
.footer_list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer_list > li { margin: 0; padding: 0; }
.footer_link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.25rem;
  color: #172847;
  font-size: 1rem;
  text-decoration: none;
  text-underline-offset: 0.2em;
}
.footer_link:hover { text-decoration: underline; }
.footer_bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0 1.5rem;
  border-top: 1px solid rgba(23, 40, 71, 0.12);
}
.footer_legal {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(23, 40, 71, 0.72);
}
.footer_top-link { font-size: 0.875rem; }
.footer_top-link svg { transition: transform 150ms ease-out; }
.footer_top-link:hover svg { transform: translateY(-2px); }

@media screen and (max-width: 767px) {
  .footer { margin-top: 4rem; }
  .footer_top { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; padding: 3rem 0 2.5rem; }
  .footer_brand { grid-column: 1 / -1; }
}
@media screen and (max-width: 479px) {
  .footer_top { grid-template-columns: 1fr; }
  .footer_bottom { flex-direction: column; align-items: flex-start; }
}
