:root {
  --blue: #263f94;
  --blue-deep: #162867;
  --blue-dark: #0c1a4a;
  --red: #df2838;
  --red-dark: #b91e2c;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --on-blue: #ffffff;
  --on-blue-muted: #e3e8f6;
  --ink: #142033;
  --muted: #5d6878;
  --line: #dce2ec;
  --shadow: 0 22px 55px rgb(18 37 84 / 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
::selection { color: var(--white); background: var(--red); }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(920px, calc(100% - 48px)); }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 300; padding: 10px 15px; color: var(--white); background: var(--red); }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.site-progress { position: fixed; inset: 0 auto auto 0; z-index: 220; width: 0; height: 4px; background: var(--red); }

.site-header { position: sticky; top: 0; z-index: 200; background: rgb(255 255 255 / 0.98); border-top: 5px solid var(--red); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px) saturate(125%); transition: background 240ms ease, box-shadow 240ms ease; }
.site-header.is-scrolled { background: linear-gradient(90deg, rgb(255 255 255 / 0.86), rgb(245 247 251 / 0.76)); box-shadow: 0 12px 34px rgb(18 37 84 / 0.11); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 28px; transition: min-height 240ms ease; }
.site-header.is-scrolled .header-inner { min-height: 74px; }
.brand { width: 150px; margin-right: auto; }
.desktop-nav { display: flex; align-items: stretch; align-self: stretch; }
.desktop-nav a { position: relative; display: grid; place-items: center; padding: 0 13px; color: var(--blue-deep); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.07em; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 4px; background: var(--red); transform: scaleX(0); transition: transform 220ms ease; }
.desktop-nav a:hover::after, .desktop-nav .is-active::after { transform: scaleX(1); }
.phone-link { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 17px; color: var(--white); background: var(--blue); font-size: 0.85rem; font-weight: 850; transition: background 180ms ease, transform 180ms ease; }
.phone-link:hover { background: var(--red); transform: translateY(-2px); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; padding: 9px 12px; color: var(--blue-deep); border: 1px solid var(--blue); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + 14px); width: min(290px, calc(100vw - 28px)); padding: 10px; background: var(--white); border-top: 4px solid var(--red); box-shadow: var(--shadow); }
.mobile-menu nav a { display: block; padding: 12px 13px; color: var(--blue-deep); border-bottom: 1px solid var(--line); font-weight: 800; }
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu nav a:hover, .mobile-menu nav .is-active { color: var(--red); }

h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.045em; }
h1 { max-width: 780px; font-size: clamp(3.6rem, 7.2vw, 7.2rem); font-weight: 820; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.25rem); font-weight: 790; }
h3 { font-size: 1.35rem; }
.section h2 { color: var(--blue-deep); }
.eyebrow { margin: 0 0 16px; color: var(--red); font-size: 0.72rem; font-weight: 950; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 25px; height: 3px; margin-right: 11px; vertical-align: middle; background: currentColor; }
.lead { color: var(--ink); font-size: 1.2rem; }

.hero { position: relative; isolation: isolate; min-height: 690px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--blue-deep); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 46% 0 0; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); }
.hero-photo-panel { position: absolute; z-index: -2; inset: 0 0 0 54%; background: linear-gradient(rgb(12 26 74 / 0.12), rgb(12 26 74 / 0.32)), url("images/bg-home-hero.jpg") center / cover no-repeat; animation: photoFocus 12s ease-in-out infinite alternate; }
.hero-photo-panel::after { content: ""; position: absolute; inset: 0; border-left: 8px solid var(--red); background: linear-gradient(90deg, rgb(22 40 103 / 0.18), transparent 45%); }
.hero-content { position: relative; padding-block: 90px; }
.hero-content::after { content: ""; position: absolute; left: 0; bottom: 52px; width: min(500px, 42vw); height: 1px; background: rgb(255 255 255 / 0.22); }
.hero .eyebrow { color: var(--white); }
.hero h1 { max-width: 660px; }
.hero-copy { max-width: 600px; margin: 27px 0 0; color: var(--on-blue-muted); font-size: clamp(1rem, 1.8vw, 1.18rem); }
.hero-motion-lines { position: absolute; z-index: 0; left: 47%; top: 12%; bottom: 12%; width: 90px; pointer-events: none; }
.hero-motion-lines span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--red); animation: lineSweep 4s ease-in-out infinite; }
.hero-motion-lines span:nth-child(2) { top: 48%; width: 58%; animation-delay: -1.3s; }
.hero-motion-lines span:nth-child(3) { bottom: 0; width: 32%; animation-delay: -2.6s; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 11px 21px; border: 2px solid transparent; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; transition: color 180ms ease, background 180ms ease, transform 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--red); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--white); border-color: rgb(255 255 255 / 0.6); background: transparent; }
.button-secondary:hover { color: var(--blue-deep); background: var(--white); border-color: var(--white); }
.button-light { color: var(--blue-deep); background: var(--white); }

.corporate-ribbon { overflow: hidden; color: var(--white); background: var(--red); }
.corporate-ribbon > div { display: flex; width: max-content; align-items: center; gap: 24px; padding-block: 12px; animation: ribbonMove 30s linear infinite; }
.corporate-ribbon span { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.15em; text-transform: uppercase; white-space: nowrap; }
.corporate-ribbon i { width: 16px; height: 2px; background: rgb(255 255 255 / 0.6); }

.section { position: relative; padding-block: clamp(80px, 9vw, 120px); }
.section-heading { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-heading > p { margin: 0; color: var(--muted); }
.section-heading.single { grid-template-columns: 1fr; }
.services-preview, .philosophy-section, .team-section, .testimonial-section, .travel-section { background: linear-gradient(135deg, #f8f9fc 0%, #eef2f9 58%, #ffffff 100%); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 345px; padding: 30px; overflow: hidden; background: var(--white); border-top: 5px solid var(--blue); box-shadow: 0 10px 30px rgb(18 37 84 / 0.07); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.service-card::after { content: ""; position: absolute; right: -35px; bottom: -35px; width: 100px; height: 100px; background: var(--off-white); border: 16px solid rgb(38 63 148 / 0.06); }
.service-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-7px); }
.service-card img { position: relative; z-index: 1; width: 88px; height: 88px; margin-bottom: 38px; object-fit: contain; }
.service-card h3, .service-card p { position: relative; z-index: 1; }
.service-card p { margin: 13px 0 0; color: var(--muted); font-size: 0.92rem; }
.text-link { display: inline-flex; gap: 9px; align-items: center; margin-top: 30px; color: var(--blue); border-bottom: 2px solid var(--red); font-size: 0.77rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(5px); }

.trust-strip { padding-block: 22px; color: var(--ink); background: linear-gradient(135deg, #eef2f9 0%, #f8f9fc 100%); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-grid > div { position: relative; min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 24px 28px 22px 34px; overflow: hidden; background: var(--white); border: 1px solid #d8dfeb; border-top: 4px solid var(--blue); box-shadow: 0 9px 24px rgb(18 37 84 / 0.08); transition: transform 220ms ease, box-shadow 220ms ease; }
.trust-grid > div::before { content: ""; position: absolute; left: 0; top: -4px; width: 6px; height: calc(100% + 4px); background: var(--red); }
.trust-grid > div:hover { box-shadow: 0 15px 32px rgb(18 37 84 / 0.13); transform: translateY(-3px); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--blue-deep); font-size: 1.3rem; line-height: 1.2; }
.trust-grid span { margin-top: 6px; color: #485568; font-size: 0.92rem; }

.split-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(55px, 8vw, 110px); align-items: center; }
.split-layout.reverse { grid-template-columns: 1.15fr 0.85fr; }
.heritage-mark { position: relative; min-height: 410px; display: grid; place-items: center; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--blue); border-left: 6px solid var(--red); box-shadow: var(--shadow); }
.heritage-mark img { position: relative; width: min(160px, 60%); }
.split-layout h2 { margin-bottom: 23px; color: var(--blue-deep); }
.split-layout p:not(.eyebrow) { color: var(--muted); }

.quote-feature { color: var(--on-blue); background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 72%, #0b1745 100%); }
.quote-layout { display: grid; grid-template-columns: 0.18fr 1.82fr; gap: 28px; align-items: start; }
.quote-mark { margin: -18px 0 0; color: var(--red); font-size: 9rem; font-weight: 900; line-height: 1; }
.quote-layout blockquote { margin: 0; }
.quote-layout blockquote > p { max-width: 930px; margin: 0; font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 740; line-height: 1.25; letter-spacing: -0.03em; }
.quote-layout footer { margin-top: 26px; font-weight: 850; }
.quote-layout footer span { color: var(--on-blue-muted); font-weight: 600; }

.contact-band { color: var(--on-blue); background: linear-gradient(105deg, var(--blue-dark) 0%, var(--blue-deep) 62%, var(--blue) 100%); padding-block: 64px; border-top: 7px solid var(--red); }
.contact-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.contact-band h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.contact-band .eyebrow { color: var(--white); }
.button-row.compact { flex-shrink: 0; margin-top: 0; }

.site-footer { color: #e0e5f2; background: linear-gradient(135deg, #09143a 0%, #12245f 100%); padding-top: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.2fr 0.8fr; gap: 50px; padding-bottom: 58px; }
.footer-intro img { width: 150px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-intro p { max-width: 330px; }
.site-footer h2 { margin-bottom: 18px; color: var(--white); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer address { font-style: normal; }
.site-footer a { display: block; margin-bottom: 9px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 21px; border-top: 1px solid rgb(255 255 255 / 0.2); color: #c8d0e3; font-size: 0.78rem; }
.footer-bottom p { margin: 0; }

.page-hero { position: relative; overflow: hidden; color: var(--on-blue); background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-deep) 52%, var(--blue) 100%); padding-block: clamp(92px, 11vw, 140px); border-bottom: 9px solid var(--red); }
.page-hero::before { content: ""; position: absolute; left: -4%; top: 50%; width: min(82vw, 1120px); height: 155%; opacity: 0.065; background: url("images/logo.png") left center / contain no-repeat; filter: brightness(0) invert(1); transform: translateY(-50%) rotate(-10deg); transform-origin: center; }
.page-hero::after { content: ""; position: absolute; right: 8%; top: 0; width: 10px; height: 100%; background: var(--red); box-shadow: 30px 0 0 rgb(255 255 255 / 0.08), 60px 0 0 rgb(255 255 255 / 0.04); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--white); }
.page-hero h1 { max-width: 900px; font-size: clamp(3rem, 6vw, 5.8rem); }
.page-hero p:last-child { max-width: 760px; margin: 24px 0 0; color: var(--on-blue-muted); font-size: clamp(1.03rem, 1.8vw, 1.2rem); }

.prose-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(45px, 8vw, 110px); }
.prose p { margin: 0 0 20px; color: var(--muted); font-size: 1.07rem; }
.value-card { display: grid; grid-template-columns: 42px 1fr; gap: 5px 14px; padding: 34px; color: var(--on-blue); background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); border-left: 7px solid var(--red); }
.value-card span { grid-row: span 2; color: var(--white); font-weight: 900; }
.value-card h3 { font-size: 1.2rem; }
.value-card p { margin: 3px 0 23px; color: var(--on-blue-muted); }
.split-layout .value-card p { color: var(--on-blue-muted); }
.value-card p:last-child { margin-bottom: 0; }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 17px; }
.team-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-bottom: 5px solid var(--blue); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--red); }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top; }
.team-placeholder { width: 100%; aspect-ratio: 1 / 1; display: grid; place-items: center; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--blue-deep)); }
.team-placeholder span { display: grid; width: 46%; aspect-ratio: 1 / 1; place-items: center; color: var(--white); background: var(--red); border-radius: 50%; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1; box-shadow: 0 14px 30px rgb(12 26 74 / 0.28); }
.team-card h3 { margin: 18px 17px 0; color: var(--blue-deep); font-size: 1.1rem; }
.team-card p { margin: 6px 17px 17px; color: var(--muted); font-size: 0.85rem; }

.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service-detail { position: relative; display: grid; grid-template-columns: 105px 1fr; gap: 25px; padding: 34px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 10px 28px rgb(18 37 84 / 0.05); transition: transform 220ms ease, box-shadow 220ms ease; }
.service-detail::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 280ms ease; }
.service-detail:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-detail:hover::after { transform: scaleX(1); }
.service-icon { display: grid; place-items: center; width: 105px; height: 105px; background: var(--white); border: 3px solid var(--blue); box-shadow: inset 0 0 0 5px var(--off-white); }
.service-icon img { width: 82px; height: 82px; object-fit: contain; }
.service-detail h2 { margin-bottom: 13px; color: var(--blue-deep); font-size: 1.65rem; }
.service-detail p:last-child { margin: 0; color: var(--muted); }
.service-detail-link { grid-column: 2; align-self: end; color: var(--blue); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.card-number { margin: 0 0 8px; color: var(--red); font-size: 0.72rem; font-weight: 950; letter-spacing: 0.12em; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card { display: flex; flex-direction: column; min-height: 320px; margin: 0; padding: 31px; background: var(--white); border-top: 5px solid var(--blue); box-shadow: 0 10px 30px rgb(18 37 84 / 0.07); }
.testimonial-card > p { margin: 0; font-size: 1.05rem; }
.testimonial-card footer { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.testimonial-card footer strong, .testimonial-card footer span { display: block; }
.testimonial-card footer span { margin-top: 3px; color: var(--muted); font-size: 0.87rem; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.portfolio-card { position: relative; overflow: hidden; background: var(--blue-deep); border: 1px solid var(--line); box-shadow: 0 10px 28px rgb(18 37 84 / 0.08); }
.portfolio-card::after { content: "+"; position: absolute; right: 15px; top: 15px; width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: var(--red); font-size: 1.3rem; font-weight: 500; transition: background 180ms ease, transform 180ms ease; }
.portfolio-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 400ms ease, filter 260ms ease; }
.portfolio-card span { display: block; padding: 17px 18px 19px; color: var(--white); font-weight: 750; }
.portfolio-card:hover img { transform: scale(1.035); filter: brightness(1.04); }
.portfolio-card:hover::after { background: var(--blue); transform: scale(1.08); }

.lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; color: var(--white); background: transparent; border: 0; }
.lightbox::backdrop { background: rgb(4 10 31 / 0.92); backdrop-filter: blur(8px); }
.lightbox-shell { min-height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 22px clamp(18px, 4vw, 54px) 26px; background: rgb(4 10 31 / 0.55); }
.lightbox-toolbar, .lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.lightbox-toolbar { padding: 10px 12px; color: var(--blue-deep); background: linear-gradient(100deg, var(--white), #eef2f9); border-top: 5px solid var(--red); border-bottom: 4px solid var(--blue); box-shadow: 0 10px 30px rgb(0 0 0 / 0.24); }
.lightbox-brand { display: flex; align-items: center; gap: 13px; }
.lightbox-brand img { width: 102px; max-height: 52px; object-fit: contain; }
.lightbox-brand span { padding-left: 13px; color: var(--blue-deep); border-left: 1px solid var(--line); font-size: 0.7rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.lightbox-toolbar p { margin: 0 0 0 auto; color: var(--blue); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox button { color: var(--white); background: transparent; border: 1px solid rgb(255 255 255 / 0.38); cursor: pointer; }
.lightbox-toolbar button { padding: 8px 12px; color: var(--white); background: var(--blue); border-color: var(--blue); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.lightbox-toolbar button span { margin-left: 7px; font-size: 1.2rem; }
.lightbox figure { min-height: 0; display: grid; place-items: center; align-content: center; margin: 0; padding: 20px 0; }
.lightbox figure img { max-width: min(1200px, 92vw); max-height: 70vh; object-fit: contain; box-shadow: 0 24px 80px rgb(0 0 0 / 0.55); }
.lightbox figcaption { margin-top: 13px; font-weight: 750; text-align: center; }
.lightbox-controls { justify-content: center; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 0.18); }
.lightbox-controls button { min-width: 125px; padding: 10px 15px; font-size: 0.76rem; font-weight: 850; }
.lightbox button:hover { color: var(--blue-dark); background: var(--white); }

.location-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(45px, 7vw, 90px); align-items: center; }
.map-card { position: relative; overflow: hidden; padding: 12px; background: var(--white); border: 1px solid var(--line); border-top: 7px solid var(--blue); box-shadow: var(--shadow); }
.map-card::after { content: "Northern England"; position: absolute; left: 26px; bottom: 24px; padding: 7px 10px; color: var(--white); background: var(--blue-deep); font-size: 0.63rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.map-card img { width: 100%; }
.location-details h2 { margin-bottom: 22px; color: var(--blue-deep); }
.location-details address { font-style: normal; font-size: 1.08rem; }
.location-details dl { margin: 26px 0; border-block: 1px solid var(--line); }
.location-details dl div { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.location-details dl div:last-child { border-bottom: 0; }
.location-details dt { color: var(--muted); }
.location-details dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.location-details > .text-link { width: fit-content; display: flex; margin-top: 28px; }

.contact-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.contact-copy h2 { margin-bottom: 20px; color: var(--blue-deep); }
.contact-copy > p:not(.eyebrow):not(.privacy-note) { color: var(--muted); }
.contact-option { padding-block: 18px; border-bottom: 1px solid var(--line); }
.contact-option span, .contact-option a { display: block; }
.contact-option span { color: var(--muted); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; }
.contact-option a { margin-top: 4px; color: var(--blue); font-size: 1.08rem; font-weight: 850; overflow-wrap: anywhere; }
.privacy-note { margin-top: 28px; padding: 18px; color: var(--on-blue); background: linear-gradient(110deg, var(--blue-deep), var(--blue)); border-left: 5px solid var(--red); }
.contact-form { padding: 36px; background: var(--off-white); border-top: 7px solid var(--blue); box-shadow: var(--shadow); }
.contact-form label { display: block; margin-bottom: 20px; font-size: 0.78rem; font-weight: 850; }
.contact-form label span { color: var(--red); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field-grid .field-wide { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; margin-top: 7px; padding: 12px 13px; color: var(--ink); background: var(--white); border: 1px solid #bdc6d5; border-radius: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); outline: 2px solid rgb(38 63 148 / 0.17); }
.contact-form textarea { resize: vertical; }
.contact-form .button { border: 0; cursor: pointer; }
.form-note, .form-status { margin: 13px 0 0; color: var(--muted); font-size: 0.82rem; }
.form-note a { color: var(--blue); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.form-status { min-height: 1.4em; color: var(--blue); font-weight: 700; }

.detail-intro { display: grid; grid-template-columns: 250px 1fr; gap: clamp(45px, 8vw, 100px); align-items: center; }
.detail-intro h2, .two-column-content h2, .faq-layout h2, .case-card h2, .credential-card h2, .legal-copy h2 { color: var(--blue-deep); }
.detail-intro .button { margin-top: 14px; }
.detail-icon { min-height: 250px; display: grid; place-items: center; background: linear-gradient(135deg, var(--white), var(--off-white)); border: 1px solid var(--line); border-top: 7px solid var(--blue); border-left: 6px solid var(--red); box-shadow: var(--shadow); }
.detail-icon img { width: 145px; height: 145px; object-fit: contain; }
.two-column-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.check-list { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 16px 18px 16px 48px; background: var(--white); border: 1px solid var(--line); }
.check-list li::before { content: "✓"; position: absolute; left: 17px; top: 15px; color: var(--red); font-weight: 950; }
.process-card { padding: 38px; color: var(--on-blue); background: linear-gradient(135deg, var(--blue), var(--blue-deep)); border-left: 7px solid var(--red); box-shadow: var(--shadow); }
.process-card .eyebrow { color: var(--white); }
.numbered-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.numbered-list li { position: relative; min-height: 52px; padding: 13px 0 15px 50px; color: var(--on-blue-muted); border-bottom: 1px solid rgb(255 255 255 / 0.18); counter-increment: steps; }
.numbered-list li:last-child { border-bottom: 0; }
.numbered-list li::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 0; color: var(--white); font-weight: 900; }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area-grid span { min-height: 90px; display: grid; place-items: center; padding: 18px; color: var(--blue-deep); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); font-weight: 850; text-align: center; }
.area-grid span:nth-child(2n) { border-top-color: var(--red); }
.content-note { margin: 28px 0 0; color: var(--muted); }
.case-grid { display: grid; gap: 30px; }
.case-card { display: grid; grid-template-columns: minmax(280px, 0.8fr) 1.2fr; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 36px rgb(18 37 84 / 0.08); }
.case-card:nth-child(even) { grid-template-columns: 1.2fr minmax(280px, 0.8fr); }
.case-card:nth-child(even) img { order: 2; }
.case-card img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.case-card > div { padding: clamp(30px, 5vw, 58px); align-self: center; }
.case-card p:not(.card-number) { color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.faq-layout .button { margin-top: 16px; }
.faq-list { border-top: 5px solid var(--blue); box-shadow: var(--shadow); }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-top: 0; }
.faq-list summary { position: relative; padding: 22px 58px 22px 24px; color: var(--blue-deep); cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 17px; color: var(--red); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 24px 24px; color: var(--muted); }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.credential-card { padding: 38px; background: var(--white); border: 1px solid var(--line); border-top: 6px solid var(--blue); box-shadow: 0 12px 34px rgb(18 37 84 / 0.08); }
.credential-card:first-child { border-left: 6px solid var(--red); }
.credential-card > img { width: 165px; margin-bottom: 30px; }
.credential-card p:not(.card-number) { color: var(--muted); }
.legal-card dl { margin: 26px 0; }
.legal-card dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.legal-card dt { color: var(--muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-card dd { margin: 4px 0 0; color: var(--ink); font-weight: 750; }
.compact-hero { padding-block: clamp(78px, 9vw, 110px); }
.legal-copy { color: var(--muted); font-size: 1.03rem; }
.legal-copy h2 { margin: 42px 0 14px; font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -0.03em; }
.legal-copy h2:first-of-type { margin-top: 28px; }
.legal-copy a { color: var(--blue); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.not-found { min-height: calc(100vh - 89px); display: grid; align-items: center; }
.company-registration { color: #c8d0e3; font-size: 0.78rem; }
.footer-subheading { margin-top: 24px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom nav a { margin: 0; }

.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 180; width: 52px; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--white); background: var(--red); border: 0; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease, background 180ms ease; }
.back-to-top-arrow { font-size: 1.2rem; font-weight: 900; line-height: 0.85; }
.back-to-top-label { font-size: 0.55rem; font-weight: 900; line-height: 1; letter-spacing: 0.07em; text-transform: uppercase; }
.back-to-top:hover { background: var(--blue); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 650ms ease, transform 650ms ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes photoFocus { to { transform: scale(1.035); } }
@keyframes lineSweep { 0%, 100% { transform: translateX(0); opacity: 0.4; } 50% { transform: translateX(35px); opacity: 1; } }
@keyframes ribbonMove { to { transform: translateX(-50%); } }

@media (max-width: 950px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .hero::before { right: 36%; }
  .hero-photo-panel { left: 64%; }
  .hero-motion-lines { left: 58%; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid, .contact-layout { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1180px); }
  .narrow { width: min(100% - 28px, 920px); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand { width: 112px; }
  .phone-link { display: none; }
  .hero { min-height: calc(100svh - 77px); align-items: center; }
  .hero::before { inset: 0; background: linear-gradient(180deg, rgb(22 40 103 / 0.14) 0%, rgb(22 40 103 / 0.72) 52%, var(--blue-deep) 88%); }
  .hero-photo-panel { inset: 0; background-position: 64% center; }
  .hero-photo-panel::after { border-left: 0; background: none; }
  .hero-content { padding-block: 36px 38px; }
  .hero-content::after, .hero-motion-lines { display: none; }
  .hero .eyebrow { margin-bottom: 18px; font-size: 0.65rem; line-height: 1.5; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.4rem); line-height: 1; }
  h2 { font-size: clamp(2.2rem, 11vw, 3.3rem); }
  .button-row, .button { width: 100%; }
  .hero-copy { margin-top: 24px; font-size: 0.96rem; line-height: 1.55; }
  .hero .button-row { gap: 12px; margin-top: 80px; }
  .hero .button { min-height: 50px; padding: 11px 16px; }
  .back-to-top { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 260; width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 10px 25px rgb(12 26 74 / 0.28); }
  .section { padding-block: 68px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { min-height: 104px; padding: 21px 24px 20px 30px; }
  .split-layout, .split-layout.reverse, .prose-grid { grid-template-columns: 1fr; gap: 35px; }
  .detail-intro, .two-column-content { grid-template-columns: 1fr; gap: 35px; }
  .detail-icon { min-height: 210px; }
  .case-card, .case-card:nth-child(even) { grid-template-columns: 1fr; }
  .case-card:nth-child(even) img { order: 0; }
  .case-card img { min-height: 240px; }
  .area-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .area-grid span { min-height: 76px; padding: 13px; font-size: 0.86rem; }
  .heritage-mark { min-height: 300px; }
  .quote-layout { grid-template-columns: 1fr; gap: 0; }
  .quote-mark { font-size: 6rem; }
  .contact-band-inner { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid > div:last-child { display: block; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .page-hero::after { right: 5%; width: 6px; box-shadow: 18px 0 0 rgb(255 255 255 / 0.08); }
  .page-hero::before { left: -35%; width: 142vw; height: 138%; opacity: 0.055; transform: translateY(-50%) rotate(-11deg); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .team-card h3 { margin: 12px 12px 0; font-size: 0.95rem; line-height: 1.15; }
  .team-card p { margin: 5px 12px 13px; font-size: 0.76rem; line-height: 1.35; }
  .team-card:last-child { grid-column: 1 / -1; width: calc((100% - 12px) / 2); justify-self: center; }
  .service-detail-grid, .testimonial-grid, .portfolio-grid, .field-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 76px 1fr; padding: 23px; gap: 17px; }
  .service-icon { width: 76px; height: 76px; }
  .service-icon img { width: 53px; height: 53px; }
  .testimonial-card { min-height: 270px; }
  .contact-form { padding: 24px; }
  .process-card, .credential-card { padding: 28px; }
  .location-details dl div { grid-template-columns: 82px 1fr; }
  .lightbox-shell { padding: 10px; }
  .lightbox-toolbar { gap: 9px; padding: 8px 9px; }
  .lightbox-brand { gap: 8px; }
  .lightbox-brand img { width: 72px; }
  .lightbox-brand span { padding-left: 8px; font-size: 0.58rem; letter-spacing: 0.08em; }
  .lightbox-toolbar p { font-size: 0.6rem; letter-spacing: 0.06em; }
  .lightbox-toolbar button { padding: 7px 8px; font-size: 0.64rem; }
  .lightbox figure img { max-height: 64vh; }
}

@media (max-width: 380px) {
  .hero-content { padding-block: 28px 30px; }
  h1 { font-size: 2.35rem; }
  .hero-copy { font-size: 0.91rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
