/* Shared theme: square labels, a red reveal, and quiet supporting controls. */
body.has-tiered-buttons{--vig-button-time:460ms;--vig-button-ease:cubic-bezier(.22,1,.36,1);--vig-control-time:180ms;--vig-control-surface:#eae8e2}
/* Primary: a plain resting surface; the red layer opens from right to left. */
body.has-tiered-buttons .vig-primary,body.has-tiered-buttons .vig-primary:is(:hover,:focus-visible){
  --vig-fill:var(--ink);--vig-type:var(--paper);--vig-tab:54px;
  position:relative;isolation:isolate;display:inline-flex;align-items:stretch;justify-content:flex-start;
  max-width:100%;gap:0;padding:0;border:0;border-radius:0;background:var(--vig-fill);color:var(--vig-type);
  text-decoration:none;font-size:14px;font-weight:600;line-height:1.5;transform:none;
  transition:color var(--vig-button-time) var(--vig-button-ease);
}
body.has-tiered-buttons .hero .vig-primary,body.has-tiered-buttons .contact-section .vig-primary{--vig-fill:var(--paper);--vig-type:var(--ink)}
body.has-tiered-buttons .site-header .nav-contact.vig-primary{--vig-tab:44px;padding:0;border:0;gap:0;font-size:13px;white-space:nowrap}
body.has-tiered-buttons .vig-button-track{display:flex;position:relative;isolation:isolate;overflow:hidden;align-items:center;min-height:54px;padding:16px calc(var(--vig-tab) + 24px) 16px 24px;white-space:nowrap;box-sizing:border-box;width:100%}
body.has-tiered-buttons .site-header .vig-button-track{min-height:44px;padding:12px calc(var(--vig-tab) + 18px) 12px 18px}
body.has-tiered-buttons .vig-button-background{position:absolute;inset:0;z-index:-1;overflow:hidden;background:var(--vig-fill);pointer-events:none}
body.has-tiered-buttons .vig-button-coat{position:absolute;inset:0;background:var(--red);display:block;clip-path:inset(0 0 0 100%);transition:clip-path var(--vig-button-time) var(--vig-button-ease)}
body.has-tiered-buttons .vig-button-label{position:relative;display:block}
body.has-tiered-buttons .vig-button-icon{position:absolute;inset:8px 8px auto auto;width:14px;height:14px;display:block;color:currentColor;pointer-events:none}
body.has-tiered-buttons .vig-stack-icon{display:block;width:14px;height:14px;max-width:none;flex:none;transform-origin:100% 0;transition:transform var(--vig-button-time) var(--vig-button-ease)}
body.has-tiered-buttons .vig-button-icon .vig-stack-icon{width:100%;height:100%}
body.has-tiered-buttons .vig-primary:is(:hover,:focus-visible){color:var(--paper)}
body.has-tiered-buttons .site-header .nav-contact.vig-primary:is(:hover,:focus-visible){color:var(--paper)!important}
body.has-tiered-buttons .vig-primary:is(:hover,:focus-visible) .vig-button-coat{clip-path:inset(0)}
body.has-tiered-buttons .vig-primary:is(:hover,:focus-visible) .vig-stack-icon{transform:scale(1.25)}
body.has-tiered-buttons .enquiry-preparation .vig-primary{margin-top:10px}
/* Supporting routes are filled, readable labels. */
body.has-tiered-buttons .vig-secondary{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:46px;max-width:100%;padding:12px 18px;border:0;border-radius:0;background:var(--vig-control-surface);color:var(--ink);font-size:13px;font-weight:600;line-height:1.6;text-decoration:none;transform:none;transition:background var(--vig-control-time),color var(--vig-control-time)}
body.has-tiered-buttons .vig-secondary{position:relative}
body.has-tiered-buttons .vig-secondary:has(>.vig-stack-icon){padding-right:36px}
body.has-tiered-buttons .vig-secondary>.vig-stack-icon{position:absolute;top:7px;right:7px;width:10px;height:10px}
body.has-tiered-buttons .vig-secondary:is(:hover,:focus-visible)>.vig-stack-icon{transform:scale(1.25)}
body.has-tiered-buttons .vig-secondary:is(:hover,:focus-visible){background:var(--ink);color:var(--paper)}
body.has-tiered-buttons .services-blocks .vig-secondary{justify-content:center;padding:10px 16px;min-height:44px;margin-top:0}
body.has-tiered-buttons .services-blocks .vig-secondary + .vig-secondary{margin-left:0}
body.has-tiered-buttons .dialog-copy .vig-primary{font-size:13px;margin-top:12px}
body.has-tiered-buttons .dialog-copy .vig-primary .vig-button-track{min-height:48px;padding-top:14px;padding-bottom:14px}
body.has-tiered-buttons .dialog-copy .vig-secondary{margin-top:4px}
/* Utility controls: steady labels, calm feedback. */
body.has-tiered-buttons .vig-simple-control{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:44px;border:0;border-radius:0;background:var(--vig-control-surface);color:var(--ink);padding:11px 15px;font-size:13px;line-height:1.5;transform:none;transition:background var(--vig-control-time),color var(--vig-control-time)}
body.has-tiered-buttons .vig-control-icon{width:18px;height:18px;display:block;max-width:none;flex:none}
body.has-tiered-buttons .strip-controls{gap:6px}
body.has-tiered-buttons .strip-controls [data-strip-prev],body.has-tiered-buttons .strip-controls [data-strip-next]{padding:13px;width:44px}
body.has-tiered-buttons .vig-simple-control:enabled:is(:hover,:focus-visible){background:var(--ink);color:var(--paper)}
body.has-tiered-buttons .vig-simple-control:disabled{opacity:.38;cursor:not-allowed}
body.has-tiered-buttons .hero-controls .vig-simple-control{background:rgba(15,20,17,.82);color:var(--paper);min-height:44px;padding:11px 15px}
body.has-tiered-buttons .hero-controls .vig-simple-control:enabled:is(:hover,:focus-visible){background:var(--paper);color:var(--ink)}
body.has-tiered-buttons .category-filters{gap:8px}
body.has-tiered-buttons .category-filters .vig-simple-control{padding:11px 16px}
body.has-tiered-buttons .category-filters [aria-pressed=true],body.has-tiered-buttons .category-filters [aria-pressed=true]:is(:hover,:focus-visible){background:var(--red);color:var(--paper)}
body.has-tiered-buttons .floating-top.vig-simple-control{flex-direction:column;gap:4px;background:var(--ink);color:var(--paper);padding:8px;box-shadow:none;border:1px solid var(--paper)}
body.has-tiered-buttons .floating-top.vig-simple-control:enabled:is(:hover,:focus-visible){background:var(--red)}
body.has-tiered-buttons .floating-top span:last-child{font-size:10px}
body.has-tiered-buttons .menu-toggle.vig-simple-control{display:none;background:transparent;padding:10px 0 10px 12px}
body.has-tiered-buttons .dialog-close.vig-simple-control,body.has-tiered-buttons .dialog-pagination .vig-simple-control{padding:11px 14px}
/* One drawn motif for portfolio entry points, including newly filtered cards. */
body.has-tiered-buttons .image-arrow,body.has-tiered-buttons [data-hero-link]{border-radius:0;background:var(--paper);color:var(--ink);width:44px;height:44px;display:flex;align-items:center;justify-content:center;transition:background var(--vig-control-time),color var(--vig-control-time)}
body.has-tiered-buttons [data-hero-link]{position:relative}
body.has-tiered-buttons .image-arrow .vig-stack-icon,body.has-tiered-buttons [data-hero-link] .vig-stack-icon{position:absolute;top:8px;right:8px;width:14px;height:14px}
body.has-tiered-buttons .project-open:is(:hover,:focus-visible) .vig-stack-icon,body.has-tiered-buttons [data-hero-link]:is(:hover,:focus-visible) .vig-stack-icon{transform:scale(1.25)}
body.has-tiered-buttons .project-open:is(:hover,:focus-visible) .image-arrow,body.has-tiered-buttons [data-hero-link]:is(:hover,:focus-visible){background:var(--red);color:var(--paper)}
/* Reading/navigation links stay light. */
body.has-tiered-buttons .vig-quiet-link{position:relative;border:0;background:none;transform:none;text-decoration:none;text-decoration-thickness:1px;text-underline-offset:6px;transition:color var(--vig-control-time)}
body.has-tiered-buttons .vig-quiet-link:is(:hover,:focus-visible){text-decoration:underline;color:inherit}
body.has-tiered-buttons .site-header nav>a.vig-quiet-link{min-height:44px;display:flex;align-items:center}
body.has-tiered-buttons .site-header nav>a.vig-quiet-link:is(:hover,[aria-current]){color:var(--red);text-decoration:underline}
body.has-tiered-buttons .contact-details>a.vig-quiet-link{width:fit-content;max-width:100%;overflow-wrap:anywhere;min-height:44px;display:flex;align-items:center}
body.has-tiered-buttons .contact-details>a.vig-quiet-link:is(:hover,:focus-visible){color:inherit}
body.has-tiered-buttons .site-footer .back-top{display:inline-flex;align-items:center;gap:10px;min-height:44px}
/* Two-tone keyboard focus works on both dark and light surfaces. */
body.has-tiered-buttons :is(.vig-primary,.vig-secondary,.vig-simple-control,[data-hero-link],.project-open):focus-visible{outline:2px solid var(--ink);outline-offset:5px;box-shadow:0 0 0 3px var(--paper)}
body.has-tiered-buttons .hero :is(.vig-primary,.vig-simple-control,[data-hero-link]):focus-visible,body.has-tiered-buttons .contact-section .vig-primary:focus-visible{outline-color:var(--paper);box-shadow:0 0 0 3px var(--ink)}
@media(max-width:760px){
  body.has-tiered-buttons .site-header .nav-contact.vig-primary{width:100%;margin-top:8px;--vig-tab:48px}
  body.has-tiered-buttons .site-header .nav-contact.vig-primary .vig-button-track{min-height:48px;padding-block:14px}
  body.has-tiered-buttons .vig-primary,body.has-tiered-buttons .vig-primary:is(:hover,:focus-visible){font-size:13px;--vig-tab:50px}
  body.has-tiered-buttons .vig-button-track{min-height:50px;padding:15px calc(var(--vig-tab) + 20px) 15px 20px}
  body.has-tiered-buttons .menu-toggle.vig-simple-control{display:inline-flex}
  body.has-tiered-buttons .services-blocks .vig-secondary{font-size:12px;padding-inline:12px}
  body.has-tiered-buttons .hero-controls .vig-simple-control{font-size:12px}
}
@media(prefers-reduced-motion:reduce){
  body.has-tiered-buttons :is(.vig-primary,.vig-primary *,.vig-secondary,.vig-simple-control,.vig-quiet-link,.image-arrow,[data-hero-link]){transition:none!important}
  body.has-tiered-buttons :is(.vig-primary,.vig-secondary,.project-open,[data-hero-link]):is(:hover,:focus-visible) .vig-stack-icon{transform:none}
}
