/*
Theme Name: Ten Percent Unlimited Pro
Theme URI: https://tenpercentunlimited.co.uk/
Author: Ten-Percent.co.uk Limited
Description: A conversion-focused WordPress theme for Ten Percent Unlimited recruitment services.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ten-percent-unlimited-pro
*/

:root {
  --tpu-navy: #153a43;
  --tpu-navy-dark: #0d2930;
  --tpu-teal: #1d6b61;
  --tpu-teal-dark: #155148;
  --tpu-gold: #c6983d;
  --tpu-cream: #f5f1e7;
  --tpu-paper: #fbfaf6;
  --tpu-white: #ffffff;
  --tpu-ink: #243438;
  --tpu-muted: #5a686b;
  --tpu-line: #d8dedb;
  --tpu-success: #e5f0ed;
  --tpu-shadow: 0 18px 45px rgba(13, 41, 48, .12);
  --tpu-radius: 10px;
  --tpu-wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--tpu-paper);
  color: var(--tpu-ink);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  overflow-x: hidden;
}
body.admin-bar .tpu-site-header { top: 32px; }
img { height: auto; max-width: 100%; }
a { color: var(--tpu-teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tpu-navy); }
h1, h2, h3, h4, h5, h6 {
  color: var(--tpu-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.018em;
  line-height: 1.14;
  margin: 0 0 .72em;
}
h1 { font-size: clamp(2.45rem, 5.5vw, 4.85rem); }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.72rem); }
p, ul, ol { margin: 0 0 1.25rem; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--tpu-gold); outline-offset: 3px; }

.tpu-wrap { margin-inline: auto; max-width: var(--tpu-wrap); padding-inline: 24px; width: 100%; }
.tpu-section { padding-block: clamp(4rem, 8vw, 7rem); }
.tpu-section--cream { background: var(--tpu-cream); }
.tpu-section--navy { background: var(--tpu-navy); color: var(--tpu-white); }
.tpu-section--navy h2, .tpu-section--navy h3 { color: var(--tpu-white); }
.tpu-section-heading { margin-bottom: clamp(2rem, 5vw, 3.5rem); max-width: 780px; }
.tpu-section-heading p { color: var(--tpu-muted); font-size: 1.06rem; }
.tpu-section--navy .tpu-section-heading p { color: #d8e3e1; }
.tpu-eyebrow {
  color: var(--tpu-teal);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: .9rem;
  text-transform: uppercase;
}
.tpu-section--navy .tpu-eyebrow, .tpu-hero .tpu-eyebrow { color: #f0c875; }
.tpu-lead { font-size: clamp(1.08rem, 2vw, 1.28rem); max-width: 760px; }
.tpu-kicker { color: var(--tpu-muted); font-size: .92rem; }
.tpu-grid-2 { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tpu-grid-3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tpu-grid-4 { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.screen-reader-text, .tpu-skip-link:not(:focus) {
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}
.tpu-skip-link:focus { background: var(--tpu-white); color: var(--tpu-navy); left: 12px; padding: 12px 18px; position: fixed; top: 12px; z-index: 9999; }

.tpu-topbar { background: var(--tpu-navy-dark); color: #dbe6e4; font-size: .78rem; padding: .48rem 0; }
.tpu-topbar .tpu-wrap { align-items: center; display: flex; justify-content: space-between; }
.tpu-topbar p { margin: 0; }
.tpu-topbar a { color: var(--tpu-white); font-weight: 700; text-decoration: none; }
.tpu-site-header { background: rgba(255,255,255,.98); border-bottom: 1px solid var(--tpu-line); position: sticky; top: 0; z-index: 1000; }
.tpu-header-inner { align-items: center; display: flex; gap: 2rem; min-height: 86px; }
.tpu-brand { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.tpu-brand img, .custom-logo-link img { display: block; height: auto; max-height: 58px; width: min(290px, 48vw); }
.tpu-nav { margin-left: auto; }
.tpu-nav ul { align-items: center; display: flex; gap: 1.55rem; list-style: none; margin: 0; padding: 0; }
.tpu-nav a { color: var(--tpu-navy); font-size: .86rem; font-weight: 700; text-decoration: none; }
.tpu-nav a:hover, .tpu-nav .current-menu-item > a { color: var(--tpu-teal); }
.tpu-header-cta { flex: 0 0 auto; }
.tpu-menu-toggle { background: transparent; border: 1px solid var(--tpu-line); border-radius: 6px; color: var(--tpu-navy); display: none; padding: .55rem .7rem; }

.tpu-button, .wp-block-button__link, .nf-form-content input[type="button"], .nf-form-content input[type="submit"] {
  align-items: center; background: var(--tpu-teal) !important; border: 2px solid var(--tpu-teal) !important;
  border-radius: 6px !important; color: var(--tpu-white) !important; cursor: pointer; display: inline-flex;
  font-family: Verdana, Geneva, sans-serif; font-size: .9rem; font-weight: 800; justify-content: center;
  line-height: 1.2; min-height: 50px; padding: .82rem 1.35rem !important; text-decoration: none; transition: .2s ease;
}
.tpu-button:hover, .wp-block-button__link:hover, .nf-form-content input[type="button"]:hover, .nf-form-content input[type="submit"]:hover {
  background: var(--tpu-teal-dark) !important; border-color: var(--tpu-teal-dark) !important; color: var(--tpu-white) !important; transform: translateY(-1px);
}
.tpu-button--gold { background: var(--tpu-gold) !important; border-color: var(--tpu-gold) !important; color: var(--tpu-navy-dark) !important; }
.tpu-button--gold:hover { background: #d5aa57 !important; border-color: #d5aa57 !important; color: var(--tpu-navy-dark) !important; }
.tpu-button--outline { background: transparent !important; border-color: currentColor !important; color: var(--tpu-navy) !important; }
.tpu-button--outline:hover { background: var(--tpu-navy) !important; color: var(--tpu-white) !important; }
.tpu-section--navy .tpu-button--outline, .tpu-hero .tpu-button--outline { color: var(--tpu-white) !important; }
.tpu-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

.tpu-hero { background: var(--tpu-navy); color: var(--tpu-white); overflow: hidden; padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.tpu-hero::after { border: 70px solid rgba(255,255,255,.045); border-radius: 50%; content: ""; height: 430px; position: absolute; right: -130px; top: -180px; width: 430px; }
.tpu-hero-grid { align-items: center; display: grid; gap: clamp(2.5rem, 6vw, 6rem); grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); position: relative; z-index: 1; }
.tpu-hero h1 { color: var(--tpu-white); max-width: 850px; }
.tpu-hero-copy > p:not(.tpu-eyebrow) { color: #dce7e5; font-size: clamp(1.08rem, 2vw, 1.27rem); max-width: 760px; }
.tpu-hero-note { color: #c5d5d2 !important; font-size: .78rem !important; margin-top: .9rem; }
.tpu-quote-panel { background: var(--tpu-white); border-top: 5px solid var(--tpu-gold); box-shadow: var(--tpu-shadow); color: var(--tpu-ink); padding: clamp(1.5rem, 4vw, 2.3rem); }
.tpu-quote-panel h2 { font-size: 1.75rem; }
.tpu-quote-panel ul { list-style: none; padding: 0; }
.tpu-quote-panel li { border-bottom: 1px solid var(--tpu-line); padding: .55rem 0 .55rem 1.7rem; position: relative; }
.tpu-quote-panel li::before { color: var(--tpu-teal); content: "✓"; font-weight: 900; left: 0; position: absolute; }
.tpu-quote-panel .tpu-button { width: 100%; }

.tpu-proof { background: var(--tpu-white); border-bottom: 1px solid var(--tpu-line); }
.tpu-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tpu-proof-item { border-right: 1px solid var(--tpu-line); padding: 1.4rem 1.25rem; }
.tpu-proof-item:last-child { border-right: 0; }
.tpu-proof-item strong { color: var(--tpu-navy); display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; }
.tpu-proof-item span { color: var(--tpu-muted); font-size: .77rem; }

.tpu-card { background: var(--tpu-white); border: 1px solid var(--tpu-line); border-radius: var(--tpu-radius); box-shadow: 0 8px 24px rgba(13,41,48,.06); padding: clamp(1.5rem, 3.5vw, 2.25rem); }
.tpu-card--sector { border-top: 5px solid var(--tpu-teal); display: flex; flex-direction: column; }
.tpu-card--sector:nth-child(2) { border-top-color: var(--tpu-gold); }
.tpu-card--sector .tpu-button { align-self: flex-start; margin-top: auto; }
.tpu-card-icon { align-items: center; background: var(--tpu-success); border-radius: 50%; color: var(--tpu-teal); display: inline-flex; font-family: Georgia, serif; font-size: 1.55rem; height: 52px; justify-content: center; margin-bottom: 1.2rem; width: 52px; }
.tpu-check-list { list-style: none; padding: 0; }
.tpu-check-list li { margin-bottom: .75rem; padding-left: 1.65rem; position: relative; }
.tpu-check-list li::before { color: var(--tpu-teal); content: "✓"; font-weight: 900; left: 0; position: absolute; }

.tpu-step { border-top: 3px solid var(--tpu-gold); padding-top: 1.35rem; }
.tpu-step-number { color: var(--tpu-teal); display: block; font-family: Georgia, serif; font-size: 2.3rem; font-weight: 700; line-height: 1; margin-bottom: .75rem; }

.tpu-comparison { border: 1px solid var(--tpu-line); border-collapse: collapse; width: 100%; }
.tpu-comparison th, .tpu-comparison td { border-bottom: 1px solid var(--tpu-line); padding: 1rem; text-align: left; vertical-align: top; }
.tpu-comparison th { background: var(--tpu-navy); color: var(--tpu-white); font-size: .86rem; }
.tpu-comparison td:first-child { color: var(--tpu-navy); font-weight: 700; width: 25%; }
.tpu-comparison tr:last-child td { border-bottom: 0; }
.tpu-section--navy .tpu-comparison td { background: rgba(255,255,255,.025); color: var(--tpu-white); }
.tpu-section--navy .tpu-comparison tbody tr:nth-child(even) td { background: rgba(255,255,255,.055); }
.tpu-section--navy .tpu-comparison td:first-child { color: #f0c875; }

.tpu-quote { border-left: 5px solid var(--tpu-gold); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin: 0; padding-left: 1.5rem; }
.tpu-quote cite { color: var(--tpu-muted); display: block; font-family: Verdana, sans-serif; font-size: .78rem; font-style: normal; margin-top: 1rem; }
.tpu-section--navy .tpu-quote cite { color: #c9d6d3; }

.tpu-cta { align-items: center; background: var(--tpu-teal); border-radius: var(--tpu-radius); color: var(--tpu-white); display: flex; gap: 2rem; justify-content: space-between; padding: clamp(1.7rem, 4vw, 3rem); }
.tpu-cta h2 { color: var(--tpu-white); font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-bottom: .35rem; }
.tpu-cta p { color: #e3efed; margin: 0; }
.tpu-cta .tpu-actions { flex: 0 0 auto; margin: 0; }

.tpu-page-hero { background: var(--tpu-navy); color: var(--tpu-white); padding-block: clamp(3.5rem, 7vw, 6rem); }
.tpu-page-hero h1 { color: var(--tpu-white); font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 900px; }
.tpu-page-hero p { color: #dce7e5; font-size: 1.1rem; max-width: 760px; }
.tpu-content { background: var(--tpu-white); border: 1px solid var(--tpu-line); border-radius: var(--tpu-radius); margin-block: clamp(2.5rem, 6vw, 5rem); max-width: 960px; padding: clamp(1.5rem, 5vw, 4rem); }
.tpu-content > *:last-child { margin-bottom: 0; }
.tpu-content h2 { margin-top: 1.6em; }
.tpu-content h2:first-child { margin-top: 0; }
.tpu-content h3 { margin-top: 1.4em; }
.tpu-content ul, .tpu-content ol { padding-left: 1.35rem; }
.tpu-content .tpu-card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0,1fr)); margin-block: 2rem; }
.tpu-content .tpu-card { margin: 0; }
.tpu-content details { border-bottom: 1px solid var(--tpu-line); padding: 1rem 0; }
.tpu-content details:first-of-type { border-top: 1px solid var(--tpu-line); }
.tpu-content summary { color: var(--tpu-navy); cursor: pointer; font-family: Georgia, serif; font-size: 1.22rem; font-weight: 700; }
.tpu-content details p { margin: .8rem 0 0; }

.nf-form-cont { margin-top: 2rem; }
.nf-form-content { max-width: none !important; padding: 0 !important; }
.nf-form-content label { color: var(--tpu-navy); font-size: .82rem !important; font-weight: 800 !important; }
.nf-form-content input:not([type="button"]):not([type="submit"]), .nf-form-content select, .nf-form-content textarea {
  background: var(--tpu-white) !important; border: 1px solid #aebdb9 !important; border-radius: 5px !important; color: var(--tpu-ink) !important; min-height: 50px; padding: .75rem !important;
}
.nf-form-content textarea { min-height: 130px; }
.nf-error .ninja-forms-field { border-color: #a73535 !important; }
.nf-error-msg, .ninja-forms-req-symbol { color: #922f2f !important; }

.tpu-site-footer { background: var(--tpu-navy-dark); color: #cbd8d6; padding-top: 4rem; }
.tpu-footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.45fr 1fr 1fr 1fr; }
.tpu-footer-logo-svg { display: block; height: auto; margin-bottom: 1.25rem; max-width: 290px; width: 100%; }
.tpu-site-footer h2 { color: var(--tpu-white); font-family: Verdana, sans-serif; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.tpu-site-footer ul { list-style: none; margin: 0; padding: 0; }
.tpu-site-footer li { margin-bottom: .55rem; }
.tpu-site-footer a { color: #e2ecea; font-size: .83rem; text-decoration: none; }
.tpu-site-footer a:hover { color: var(--tpu-white); text-decoration: underline; }
.tpu-footer-note { font-size: .76rem; max-width: 420px; }
.tpu-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .72rem; margin-top: 3.5rem; padding: 1.2rem 0 5rem; }
.tpu-footer-bottom p { margin: 0; }
.tpu-mobile-cta { background: var(--tpu-white); border-top: 1px solid var(--tpu-line); bottom: 0; display: none; left: 0; padding: .65rem 16px; position: fixed; right: 0; z-index: 999; }
.tpu-mobile-cta .tpu-button { width: 100%; }

@media (max-width: 1020px) {
  .tpu-menu-toggle { display: inline-flex; margin-left: auto; }
  .tpu-header-cta { display: none; }
  .tpu-nav { background: var(--tpu-white); border-top: 1px solid var(--tpu-line); display: none; left: 0; padding: 1.25rem 24px 1.75rem; position: absolute; right: 0; top: 100%; }
  .tpu-nav.is-open { display: block; }
  .tpu-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .tpu-nav li { border-bottom: 1px solid var(--tpu-line); }
  .tpu-nav a { display: block; padding: .7rem 0; }
  .tpu-site-header { position: sticky; }
  .tpu-header-inner { min-height: 76px; }
  .tpu-grid-4, .tpu-proof-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tpu-proof-item:nth-child(2) { border-right: 0; }
  .tpu-proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--tpu-line); }
  .tpu-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px) {
  body.admin-bar .tpu-site-header { top: 46px; }
  .tpu-topbar .tpu-wrap { justify-content: center; }
  .tpu-topbar p:first-child { display: none; }
  .tpu-hero-grid, .tpu-grid-2, .tpu-grid-3 { grid-template-columns: 1fr; }
  .tpu-hero { padding-block: 3.5rem; }
  .tpu-quote-panel { max-width: 520px; }
  .tpu-cta { align-items: flex-start; flex-direction: column; }
  .tpu-cta .tpu-actions { width: 100%; }
  .tpu-content .tpu-card-grid { grid-template-columns: 1fr; }
  .tpu-comparison { display: block; overflow-x: auto; }
  .tpu-mobile-cta { display: block; }
}

@media (max-width: 520px) {
  .tpu-wrap { padding-inline: 18px; }
  .tpu-grid-4, .tpu-proof-grid, .tpu-footer-grid { grid-template-columns: 1fr; }
  .tpu-proof-item { border-bottom: 1px solid var(--tpu-line); border-right: 0; }
  .tpu-proof-item:last-child { border-bottom: 0; }
  .tpu-actions { align-items: stretch; flex-direction: column; }
  .tpu-actions .tpu-button { width: 100%; }
  .tpu-brand img, .custom-logo-link img { width: 225px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
