
/* UBS Nails — Quick Modernization Overrides */
/* Fonts */
:root{
  --UBS_Teal:#31645F;
  --Seafoam:#7C9F91;
  --Mint_Glow:#98B1AF;
  --Ivory_Sand:#F7F3ED;
  --Ink:#111111;
  --Ink_Muted:#4A4A4A;
  --Stroke:#D6D3CE;
}

/* Reset minor inconsistencies */
html{scroll-behavior:smooth}
:focus-visible{outline:2px solid var(--Mint_Glow); outline-offset:2px; border-radius:6px}

/* Typography */
body{
  font-family:'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--Ink);
  background:var(--Ivory_Sand);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,.caption{
  font-family:'Prata', serif !important;
  letter-spacing:.2px;
}
h1{font-weight:700}
h2,h3{font-weight:700}

/* Color mapping to site variables so old CSS keeps working */
:root{
  --bg: #ffffff;
  --paper: var(--Ivory_Sand);
  --ink: var(--Ink);
  --muted: var(--Ink_Muted);
  --gold: var(--Seafoam);
  --beige: #f1ece3;
}

/* Layout polish */
.hero{background:radial-gradient(1200px 600px at 18% 18%, rgba(49,100,95,.18), transparent 60%); border-radius:18px}
.section{padding-block:clamp(56px,6vw,120px)}

/* Buttons */
.btn, .button, button, .chip{
  border-radius:14px;
}
.btn.primary, .button.primary, button.primary{
  background:var(--UBS_Teal) !important;
  color:#fff !important;
  border-color:transparent !important;
}
.btn.primary:hover{filter:brightness(1.05)}
.btn.outline, .button.outline{
  border-color:var(--UBS_Teal) !important;
  color:var(--UBS_Teal) !important;
  background:transparent !important;
}
a, .soc{ transition:color .2s ease, background-color .2s ease, filter .2s ease }

/* Cards & sections */
.svc, .card, .license-card, .special{
  border:1px solid var(--Stroke) !important;
  box-shadow: 0 8px 28px rgba(0,0,0,.05) !important;
  background:#fff !important;
}
.badge{ background:var(--Seafoam) !important }

/* Footer */
.footer{ background:#fff; border-top:1px solid var(--Stroke); color:var(--Ink_Muted) }
.footer a:hover{ color:var(--Ink) }

/* Sticky CTA */
.sticky-cta a:last-child{ background:var(--UBS_Teal) !important; color:#fff !important }
.sticky-cta a:first-child{ background:#f1f1f1 !important }

/* Gallery images */
.portfolio .grid img{ border-radius:10px; background:#ddd }

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible{ outline:2px solid var(--Mint_Glow); outline-offset:2px }
