/*
Theme Name: SOS HOSE
Theme URI: https://soshose.co.uk/
Author: SOS HOSE LTD
Description: Purpose-built, performance-first theme for SOS HOSE LTD.
Version: 1.2.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: sos-hose
*/

:root {
  --ink: #101522;
  --ink-soft: #2e3f54;
  --steel: #60707d;
  --mist: #eef2f3;
  --paper: #f8faf9;
  --white: #fff;
  --signal: #2c1d70;
  --logo-blue: #281370;
  --signal-dark: #1d124f;
  --lime: #29b6e6;
  --line: rgba(16,24,32,.12);
  --shadow: 0 24px 70px rgba(16,24,32,.13);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img, svg { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; padding: 12px 18px; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 16px; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; margin: 0 0 18px; color: var(--signal); font-size: .78rem; font-weight: 850; letter-spacing: .16em; line-height: 1.25; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 3px; content: ""; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .side-card .eyebrow { color: rgba(255,255,255,.94); }
.hero .eyebrow::before, .page-hero .eyebrow::before, .section--dark .eyebrow::before, .side-card .eyebrow::before { background: var(--logo-blue); }
h1, h2, h3 { margin: 0 0 .55em; font-weight: 850; letter-spacing: -.045em; line-height: 1.03; }
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.25rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p { margin: 0 0 1.2em; }
.lead { max-width: 750px; color: var(--ink-soft); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 2px solid transparent; border-radius: 99px; background: var(--signal); color: var(--white); font-weight: 850; line-height: 1.1; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover, .button:focus-visible { background: var(--signal-dark); box-shadow: 0 12px 30px rgba(44,29,112,.28); transform: translateY(-2px); }
.button--light { border-color: rgba(255,255,255,.25); background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--lime); color: var(--ink); }
.button--ghost { border-color: var(--line); background: transparent; color: var(--ink); }

.site-alert { padding: 8px 0; background: var(--signal); color: var(--white); font-size: .83rem; font-weight: 750; }
.site-alert__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.site-alert a { font-weight: 900; text-decoration: none; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid var(--line); background: rgba(248,250,249,.94); backdrop-filter: blur(14px); }
.site-header__inner { display: flex; min-height: 78px; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand__logo { display: block; width: 142px; height: auto; flex: 0 0 auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { position: relative; font-size: .91rem; font-weight: 750; text-decoration: none; }
.primary-nav a:not(.button)::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; content: ""; background: var(--signal); transform: scaleX(0); transition: transform .2s; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav .current-menu-item a::after { transform: scaleX(1); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); color: var(--white); cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: clamp(68px, 10vw, 130px) 0 80px; background: var(--ink); color: var(--white); }
.hero::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 82% 20%, rgba(44,29,112,.48), transparent 28%), linear-gradient(115deg, transparent 52%, rgba(255,255,255,.045) 52% 53%, transparent 53% 60%, rgba(255,255,255,.025) 60%); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; }
.hero h1 span { color: var(--lime); }
.hero .lead { color: #cdd6db; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 42px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0; padding: 0; color: #dce3e6; font-size: .9rem; font-weight: 700; list-style: none; }
.hero__proof li { display: flex; align-items: center; gap: 9px; }
.hero__proof li::before { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; content: "✓"; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 950; }
.hero-machine { position: relative; min-height: 480px; }
.hero-machine__disc { position: absolute; inset: 5% 0 auto auto; width: min(420px, 100%); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 42px, rgba(255,255,255,.04) 43px 44px); }
.hero-machine__hose { position: absolute; top: 11%; right: -20%; width: 115%; }
.hero-machine__panel { position: absolute; right: 0; bottom: 2%; width: min(335px, 90%); padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(29,43,53,.86); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.hero-machine__panel strong { display: block; color: var(--lime); font-size: 2.2rem; letter-spacing: -.05em; }
.hero-machine__panel span { color: #dce3e6; font-size: .93rem; }

.trust-strip { position: relative; z-index: 2; margin-top: -1px; padding: 23px 0; background: var(--lime); }
.trust-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { border-right: 1px solid rgba(16,24,32,.2); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; font-size: 1.25rem; letter-spacing: -.03em; }
.trust-item span { font-size: .78rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

.section { padding: clamp(75px, 10vw, 130px) 0; }
.section--white { background: var(--white); }
.section--dark { overflow: hidden; background: var(--ink); color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; margin-bottom: 48px; }
.section-heading p { color: var(--steel); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; overflow: hidden; min-height: 390px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s, box-shadow .25s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.service-card__number { display: block; margin-bottom: 86px; color: var(--signal); font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.service-card p { color: var(--steel); }
.service-card__link { font-size: .87rem; font-weight: 850; text-decoration: none; }
.service-card__link::after { content: "  →"; color: var(--signal); }
.service-card--emergency { border: 0; background: var(--signal); color: var(--white); }
.service-card--emergency .service-card__number, .service-card--emergency p { color: rgba(255,255,255,.78); }
.service-card--emergency .service-card__link::after { color: var(--lime); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(50px, 8vw, 100px); }
.workshop-art { position: relative; min-height: 540px; border-radius: var(--radius); background: linear-gradient(145deg, #344653, #121d24); box-shadow: var(--shadow); }
.workshop-art::before { position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; }
.workshop-art svg { position: absolute; inset: 12%; width: 76%; height: 76%; }
.workshop-art__label { position: absolute; right: -28px; bottom: 36px; width: 210px; padding: 24px; border-radius: 18px; background: var(--lime); font-weight: 850; line-height: 1.25; }
.check-list { display: grid; gap: 17px; margin: 30px 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; }
.check-list li::before { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; content: "✓"; background: var(--signal); color: var(--white); font-size: .75rem; }

.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.13); }
.process__step { min-height: 280px; padding: 38px; background: var(--ink); }
.process__step span { color: var(--lime); font-size: 2.5rem; font-weight: 900; letter-spacing: -.05em; }
.process__step p { color: #b8c5cb; }

.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.sectors span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); font-size: .87rem; font-weight: 750; }
.cta-band { padding: 70px 0; background: var(--signal); color: var(--white); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 750px; margin: 0; }
.cta-band p { margin: 12px 0 0; color: rgba(255,255,255,.82); }

.page-hero { padding: 85px 0 72px; background: var(--ink); color: var(--white); }
.page-hero .lead { color: #c6d0d5; }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 80px; }
.prose h2 { margin-top: 1.2em; font-size: clamp(1.8rem, 3vw, 3rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.side-card { position: sticky; top: 120px; padding: 30px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.side-card p { color: #bdc8ce; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 38px 0; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.feature__icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 35px; border-radius: 50%; background: var(--lime); font-weight: 900; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.hours td:last-child { text-align: right; font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-details { display: grid; gap: 15px; margin: 32px 0; }
.contact-details a, .contact-details address { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 13px; color: inherit; font-style: normal; font-weight: 700; text-decoration: none; }
.contact-details span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--lime); }
.contact-form { padding: clamp(28px, 5vw, 50px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #c8d0d4; border-radius: 10px; background: var(--paper); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(44,29,112,.18); border-color: var(--signal); }
.field--consent label { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0; font-size: .9rem; line-height: 1.5; }
.field--consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--signal); }
.form-notice { margin-bottom: 20px; padding: 13px 16px; border-radius: 10px; background: #e8f7e7; color: #185b22; font-weight: 750; }
.form-notice--error { background: #fff0f0; color: #8c171b; }

.site-footer { padding: 70px 0 24px; background: #091117; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr .8fr; gap: 70px; padding-bottom: 50px; }
.site-footer .brand { margin-bottom: 22px; }
.site-footer .brand__logo { width: 170px; }
.site-footer p, .site-footer address { color: #aebbc2; font-style: normal; }
.site-footer h3 { font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; padding: 0; list-style: none; }
.footer-links a { color: #d7dee2; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #84949d; font-size: .8rem; }
.emergency-fab { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: none; min-height: 50px; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 99px; background: var(--signal); color: var(--white); box-shadow: 0 15px 35px rgba(16,24,32,.3); font-size: .88rem; font-weight: 900; text-decoration: none; }

@media (max-width: 920px) {
  .primary-nav { position: fixed; inset: 117px 0 0; display: none; padding: 30px 20px; align-items: stretch; background: var(--paper); flex-direction: column; }
  .menu-open .primary-nav { display: flex; }
  .primary-nav a { padding: 10px; font-size: 1.25rem; }
  .menu-toggle { display: grid; place-items: center; }
  .header-call { display: none; }
  .hero__grid, .section-heading, .split, .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-machine { min-height: 390px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border: 0; }
  .content-grid { gap: 40px; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-alert__inner span { display: none; }
  .site-alert__inner { justify-content: center; }
  .site-header__inner { min-height: 70px; }
  .primary-nav { inset-block-start: 107px; }
  .brand__logo { width: 126px; }
  .hero { padding-top: 62px; }
  .hero__grid { gap: 30px; }
  .hero-machine { min-height: 320px; }
  .hero-machine__panel { padding: 20px; }
  .services-grid, .process, .feature-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .service-card__number { margin-bottom: 55px; }
  .trust-strip__inner { gap: 18px 12px; }
  .trust-item { padding-right: 10px; }
  .trust-item strong { font-size: 1rem; }
  .workshop-art { min-height: 400px; }
  .workshop-art__label { right: 14px; bottom: 18px; }
  .cta-band__inner { align-items: stretch; flex-direction: column; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .emergency-fab { display: flex; }
}

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



/* Enhanced photography and location map */
.hero-machine {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  margin: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: #1b2831;
  box-shadow: 0 32px 80px rgba(0,0,0,.34);
}
.hero-machine::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(8,15,20,.75));
  pointer-events: none;
}
.hero-machine picture { position: absolute; inset: 0; }
.hero-machine__image { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-machine__disc, .hero-machine__hose { display: none; }
.hero-machine__panel {
  z-index: 2;
  right: 24px;
  bottom: 24px;
  width: min(335px, calc(100% - 48px));
  background: rgba(16,24,32,.86);
}
.workshop-art { overflow: hidden; margin: 0; }
.workshop-art--photo::before {
  z-index: 1;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9,17,23,.46));
}
.workshop-art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.workshop-art--photo .workshop-art__label { z-index: 2; right: 22px; bottom: 22px; }
.map-section { padding: 0 20px clamp(80px, 10vw, 130px); background: var(--paper); }
.map-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 1440px);
  min-height: 590px;
  margin: 0 auto;
  border-radius: 30px;
  background: #dfe5e6;
  box-shadow: var(--shadow);
}
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.72) contrast(1.04); }
.map-card__details {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(28px, calc((100% - var(--max)) / 2));
  width: min(390px, calc(100% - 56px));
  padding: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 65px rgba(16,24,32,.24);
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}
.map-card__details h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
@media (max-width: 920px) {
  .hero-machine { min-height: 440px; }
  .map-card { min-height: 680px; }
  .map-card__details { top: auto; right: 24px; bottom: 24px; left: 24px; width: auto; transform: none; }
}
@media (max-width: 620px) {
  .hero-machine { min-height: 390px; }
  .hero-machine__panel { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .workshop-art--photo .workshop-art__label { right: 14px; bottom: 14px; }
  .map-section { padding-inline: 14px; }
  .map-card { min-height: 650px; border-radius: 22px; }
  .map-card__details { right: 14px; bottom: 14px; left: 14px; padding: 25px; }
}

/* Refined vertical rhythm */
.hero { padding: clamp(68px, 8vw, 105px) 0 64px; }
.section { padding: clamp(64px, 7vw, 96px) 0; }
.section-heading { margin-bottom: 38px; }
.service-card { min-height: 360px; }
.service-card__number { margin-bottom: 68px; }
.workshop-art { min-height: 500px; }
.process { margin-top: 38px; }
.process__step { min-height: 250px; padding: 34px; }
.cta-band { padding: 54px 0; }
.page-hero { padding: 70px 0 58px; }
.map-section { padding-bottom: clamp(70px, 7vw, 96px); }
.site-footer { padding-top: 60px; }
@media (max-width: 920px) {
  .hero { padding: 68px 0 58px; }
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 34px; }
}
@media (max-width: 620px) {
  .hero { padding: 52px 0 54px; }
  .section { padding: 60px 0; }
  .section-heading { margin-bottom: 30px; }
  .service-card { min-height: 310px; }
  .service-card__number { margin-bottom: 44px; }
  .process__step { min-height: 225px; padding: 30px; }
  .cta-band { padding: 46px 0; }
  .page-hero { padding: 58px 0 48px; }
  .site-footer { padding-top: 52px; }
}


/* Compact content rhythm */
.hero { padding: 52px 0 48px; }
.section { padding: 56px 0; }
.section-heading { margin-bottom: 30px; }
.service-card { min-height: 330px; }
.service-card__number { margin-bottom: 52px; }
.workshop-art { min-height: 460px; }
.process { margin-top: 30px; }
.process__step { min-height: 225px; padding: 30px; }
.cta-band { padding: 44px 0; }
.page-hero { padding: 52px 0 44px; }
.map-section { padding-bottom: 64px; }
.site-footer { padding-top: 52px; }
@media (max-width: 920px) {
  .hero { padding: 48px 0 44px; }
  .section { padding: 50px 0; }
  .section-heading { margin-bottom: 28px; }
  .hero-machine { min-height: 380px; }
  .workshop-art { min-height: 420px; }
}
@media (max-width: 620px) {
  .hero { padding: 42px 0; }
  .section { padding: 44px 0; }
  .section-heading { margin-bottom: 26px; }
  .hero-machine { min-height: 340px; }
  .workshop-art { min-height: 380px; }
  .service-card { min-height: 290px; }
  .service-card__number { margin-bottom: 36px; }
  .process__step { min-height: 205px; padding: 26px; }
  .cta-band { padding: 38px 0; }
  .page-hero { padding: 46px 0 38px; }
  .map-section { padding-bottom: 52px; }
  .site-footer { padding-top: 46px; }
}

/* Progressive same-origin page transitions, adapted from Thomas Tool Hire. */
@view-transition {
  navigation: auto;
}

.site-alert {
  view-transition-name: sos-site-alert;
}

.site-header {
  view-transition-name: sos-site-header;
}

::view-transition-group(sos-site-alert),
::view-transition-group(sos-site-header) {
  z-index: 20;
  animation-duration: 0s;
}

::view-transition-old(sos-site-alert),
::view-transition-new(sos-site-alert),
::view-transition-old(sos-site-header),
::view-transition-new(sos-site-header) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  animation: sos-page-out 130ms cubic-bezier(.4, 0, 1, 1) both;
}

::view-transition-new(root) {
  animation: sos-page-in 230ms cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes sos-page-out {
  to {
    opacity: 0;
    transform: translateY(-5px);
  }
}

@keyframes sos-page-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sos-ajax-ready main#main-content {
  transition: opacity 180ms ease, transform 180ms ease;
}

main#main-content.sos-content-leaving {
  opacity: 0;
  transform: translateY(-5px);
}

main#main-content.sos-content-entering {
  opacity: 0;
  transform: translateY(8px);
}

.sos-navigation-progress {
  position: fixed;
  z-index: 100000;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.sos-navigation-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--logo-blue);
  box-shadow: 0 0 0 1px rgba(255,255,255,.7), 0 0 12px rgba(40,19,112,.55);
  transform: scaleX(0);
  transform-origin: left;
}

.sos-navigation-loading {
  cursor: progress;
}

.sos-navigation-loading .sos-navigation-progress,
.sos-navigation-complete .sos-navigation-progress {
  opacity: 1;
}

.sos-navigation-loading .sos-navigation-progress span {
  transform: scaleX(.78);
  transition: transform 4s cubic-bezier(.1, .7, .2, 1);
}

.sos-navigation-complete .sos-navigation-progress span {
  transform: scaleX(1);
  transition: transform 130ms ease-out;
}

.sos-navigation-status {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
  }

  .sos-ajax-ready main#main-content {
    transition: none;
  }

  main#main-content.sos-content-leaving,
  main#main-content.sos-content-entering {
    opacity: 1;
    transform: none;
  }
}
