/* =========================================================
   J Y & CO: monochrome palette (Nov 2026)
   Black, charcoal, grey and white. Yellow is kept only in the logo
   and as one thin underline in the home hero.
   Loaded last on every page.
   ========================================================= */
:root { --tone-ink: #26303A; --tone-ink-2: #333331; --tone-grey: #68727b; --tone-line: #e2e1db; --tone-paper: #f4f3ef; }
html { accent-color: #26303A !important; }
a { text-decoration-color: currentColor; }

/* ---------- Primary buttons on light backgrounds: charcoal ---------- */
body .jy-header-cta,
body .hero .btn-primary,
body .panel-action .btn-primary,
body aside.svc-who .svc-btn--primary,
body #contact-form .form-submit .btn,
body #careers-form .submit-btn,
body #jb-submit,
body .btn-primary:not(.cta-buttons .btn-primary) {
  background: #26303A !important;
  border-color: #26303A !important;
  color: #ffffff !important;
  box-shadow: none !important;
}
body .jy-header-cta:hover,
body .hero .btn-primary:hover,
body .panel-action .btn-primary:hover,
body aside.svc-who .svc-btn--primary:hover,
body #contact-form .form-submit .btn:hover,
body #careers-form .submit-btn:hover,
body #jb-submit:hover { background: #38424c !important; border-color: #38424c !important; color: #ffffff !important; }

/* ---------- Primary buttons on dark backgrounds: white ---------- */
body .home-cta-buttons .home-btn-primary,
body .about-cta-buttons .about-btn-primary,
body .contact-cta-card .contact-cta-button,
body .engagement-card .cta-buttons .btn-primary,
body .svc-hero .svc-btn--primary,
body .login-button {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #26303A !important;
  box-shadow: none !important;
}
body .home-cta-buttons .home-btn-primary:hover,
body .about-cta-buttons .about-btn-primary:hover,
body .contact-cta-card .contact-cta-button:hover,
body .engagement-card .cta-buttons .btn-primary:hover,
body .svc-hero .svc-btn--primary:hover,
body .login-button:hover { background: #e6e5e0 !important; border-color: #e6e5e0 !important; }

/* Ghost buttons on dark cards */
body .home-cta-buttons .home-btn-ghost,
body .about-cta-buttons .about-btn-ghost,
body .engagement-card .cta-buttons .btn-ghost { border-color: rgba(255, 255, 255, 0.45) !important; color: #ffffff !important; }
body .home-cta-buttons .home-btn-ghost:hover,
body .about-cta-buttons .about-btn-ghost:hover,
body .engagement-card .cta-buttons .btn-ghost:hover { border-color: #ffffff !important; background: rgba(255, 255, 255, 0.06) !important; }
body .engagement-card { border-color: rgba(255, 255, 255, 0.08) !important; }

/* ---------- Home page ---------- */
body .hero .hero-kicker { color: #68727b !important; }
/* the one subtle highlight: a thin underline under "our advice." */
body .hero h1.split .line2 .hl { background: linear-gradient(transparent 88%, #ffed00 88%, #ffed00 96%, transparent 96%) !important; }
/* "Who we are" tagline: no highlighter */
body .panels .panel .lead span, body p.lead > span { background: none !important; font-weight: 600; color: #26303A !important; }
/* "Why businesses choose JY": natural cards, no coloured strips */
body .features .feature {
  border: 1px solid #e7e6e1 !important;
  border-left: 1px solid #e7e6e1 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(38,48,58, 0.04), 0 6px 18px rgba(38,48,58, 0.05) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
body .features .feature::before, body .features .feature::after { display: none !important; }
body .features .feature:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(38,48,58, 0.05), 0 12px 26px rgba(38,48,58, 0.08) !important; }
/* industries band */
body .card-body h3 { color: #ffffff !important; }
body .card .icon-bg { background-image: none !important; background: rgba(255, 255, 255, 0.08) !important; }

/* ---------- Header and menu ---------- */
body .jy-menu-btn[aria-expanded="true"] { color: #ffffff !important; }
body .jy-menu {
  background:
    repeating-radial-gradient(circle at 50% 115%, rgba(255, 255, 255, 0) 0 118px, rgba(255, 255, 255, 0.03) 119px 120px),
    #26303A !important;
}
body .jy-menu-tab[aria-selected="true"] { color: #ffffff !important; border-color: rgba(255, 255, 255, 0.4) !important; background: rgba(255, 255, 255, 0.07) !important; }
body .jy-menu-tab[aria-selected="true"]::before { background: #ffffff !important; }
body .jy-menu-ico, body .jy-menu-note svg { color: #e6e5e0 !important; }
body .jy-menu-note b { color: #ffffff !important; }
body .jy-menu-note:hover { border-color: rgba(255, 255, 255, 0.45) !important; }
body .jy-menu-card:hover, body .jy-menu-card:focus-visible { border-color: rgba(255, 255, 255, 0.4) !important; }
body .jy-menu-card--desk, body .jy-menu-card--accent {
  border-color: rgba(255, 255, 255, 0.28) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)) !important;
}
body .jy-menu .jy-menu-tab:focus-visible, body .jy-menu .jy-menu-card:focus-visible, body .jy-menu-btn:focus-visible { outline-color: rgba(255, 255, 255, 0.6) !important; }

/* ---------- Footer ---------- */
body .footer .footer-section h4::after { background: #59636c !important; }
body .footer a:hover, body .footer a:focus-visible { color: #ffffff !important; }
body .footer a:focus-visible { outline-color: rgba(255, 255, 255, 0.6) !important; }
body .footer a.footer-map { color: #cfcfca !important; text-decoration: underline !important; text-decoration-color: rgba(207, 207, 202, 0.4) !important; text-underline-offset: 3px; }
body .footer-bottom .footer-icai { color: #b9b7b0 !important; }

/* ---------- Service and desk pages ---------- */
body .svc-hero .svc-kicker { color: #b9b7b0 !important; }
body .svc-eyebrow { color: #68727b !important; }
body .svc-process .svc-eyebrow { color: #a9a79f !important; }
body .svc-steps li::before { color: #a9a79f !important; }
body .svc-offer .num { color: #8a939c !important; }
body .svc-offer:hover { border-color: #cfcec8 !important; }
body .svc-who li::before { background: #26303A !important; box-shadow: none !important; width: 6px !important; height: 6px !important; border-radius: 50% !important; top: 0.6em !important; }
body .svc-facts h3 { color: #ffffff !important; }
body .svc-facts li::before { background: #b9b7b0 !important; }
body .svc-group-title::before { background: #26303A !important; }
body .svc-faq summary::after { color: #68727b !important; }
body .svc-related:hover { border-color: rgba(255, 255, 255, 0.35) !important; }
body .svc-related svg { color: #e6e5e0 !important; }
body .svc-related em { color: #ffffff !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
body .svc-desk--feature { border-color: #26303A !important; }
body .svc-desk:hover { border-color: #59636c !important; }
body .svc-desk .svc-desk-ico { background: rgba(255, 255, 255, 0.08) !important; color: #e6e5e0 !important; }
body .svc-desk em { color: #ffffff !important; }
body .svc-desk--other em { color: #26303A !important; border-bottom-color: #26303A !important; }
body .svc-desk--other .svc-desk-ico { background: #f4f3ef !important; color: #26303A !important; }
body .svc-desk--other:hover { border-color: #26303A !important; }
body .service-card .svc-more { border-bottom-color: #26303A !important; }
body .service-features li::before { background: #26303A !important; }

/* ---------- Contact, careers, login, booking, 404 ---------- */
body .highlight-tag.whatsapp { color: #ffffff !important; }
body .highlight-tag.open { background: #26303A !important; color: #ffffff !important; border-color: #26303A !important; }
body .contact-box .contact-line:hover { text-decoration-color: #26303A !important; }
body .job-category h2 { border-color: #e2e1db !important; }
body .brand-tagline { color: #b9b7b0 !important; }
body .login-tabs { background: rgba(255, 255, 255, 0.08) !important; }
body .login-tab.active { background: #ffffff !important; color: #26303A !important; }
body .login-tab:not(.active) { color: #d6d5cf !important; }
body .access-note { border-color: #cfcec8 !important; }
body #employee-forgot-link { color: inherit !important; text-decoration: underline !important; }
body .jb-heading { background: #26303A !important; color: #ffffff !important; }
body .jb-heading * { color: #ffffff !important; }
body .jb-service[aria-pressed="true"] { border-color: #26303A !important; background: #f4f3ef !important; box-shadow: none !important; }
body .jb-slot[aria-pressed="true"], body .jb-slot.selected, body .jb-slot.active { background: #26303A !important; color: #ffffff !important; border-color: #26303A !important; }
body main p > a { border-bottom-color: #26303A !important; }
body select:focus, body input:focus, body textarea:focus { border-color: #26303A !important; box-shadow: 0 0 0 3px rgba(38,48,58, 0.08) !important; outline: none !important; }

/* Pale-yellow tints → neutral greys */
body .state-tag, body .highlight-tag:not(.whatsapp):not(.open):not(.closed) { background: #ecebe6 !important; color: #38424c !important; border-color: #dddcd6 !important; }
body .jb-fee { background: #f4f3ef !important; border-color: #e2e1db !important; color: #38424c !important; }

/* Brand: large "J Y & CO", then "Chartered / Accountants" on two lines */
body .jy-brand { gap: 0.85rem; }
body .jy-brand-text {
  flex-direction: row !important;
  align-items: center;
  gap: 0.8rem;
  padding-left: 0 !important;
  border-left: 0 !important;
  line-height: 1;
}
body .jy-brand-text strong {
  font-size: 2.55rem !important;
  letter-spacing: 0.04em !important;
  line-height: 1;
  white-space: nowrap;
}
body .jy-brand-text small {
  display: block;
  margin-top: 0 !important;
  padding-left: 0.8rem;
  border-left: 1px solid #cfcec8;
  font-size: 0.86rem !important;
  letter-spacing: 0.16em !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
  color: #68727b !important;
}
@media (max-width: 768px) {
  body .jy-brand { gap: 0.6rem; }
  body .jy-brand-text { gap: 0.6rem; }
  body .jy-brand-text strong { font-size: 1.7rem !important; }
  body .jy-brand-text small { font-size: 0.6rem !important; padding-left: 0.6rem; }
}
@media (max-width: 480px) {
  body .jy-brand { gap: 0.45rem; min-width: 0; }
  body .jy-brand img { height: 32px !important; width: auto !important; }
  body .jy-brand-text { gap: 0.45rem; }
  body .jy-brand-text strong { font-size: 1.35rem !important; letter-spacing: 0.03em !important; }
  body .jy-brand-text small { font-size: 0.5rem !important; letter-spacing: 0.12em !important; padding-left: 0.45rem; }
}
@media (max-width: 359px) {
  body .jy-brand-text small { display: none !important; }
}
