/* Visual refinement uses existing Hysec typography, colours, controls and spacing tokens. */
#main, #services, #packages, #enterprise, #technologies, #partners, #clients, #devops-job-ready, #hosting-include, #held, #enquiries, #external, #ask { scroll-margin-top: calc(var(--chrome-h) + 1rem); }
.hero-slider .swiper-slide::before,
.hero-slider .swiper-slide::after { display: none; }
.program-strip-inner { display: grid; grid-template-columns: 210px minmax(0,1fr) auto; }
.program-strip-poster { width: 210px; aspect-ratio: 3/2; border: 1px solid rgba(12,185,199,.35); box-shadow: none; }
.program-strip-poster img { height: 100%; object-fit: cover; }
.flagship-poster { max-width: 400px; padding: 0; overflow: hidden; background: #fff; }
.flagship-poster img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: contain; border-radius: 0; }
.flagship-poster figcaption { padding: 1.25rem; border-top: 1px solid rgba(0, 188, 212, .3); color: var(--ink-soft); font-size: .95rem; line-height: 1.6; }
.flagship-poster figcaption strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .45rem; }
.guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.guide-card { border-top: 0; }
.guide-cover { display: block; overflow: hidden; background: var(--surface-2); }
.guide-cover img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.guide-card .blog-body { display: flex; flex-direction: column; flex: 1; }
.guide-card .read-more { margin-top: auto; padding-top: 1rem; }
.guide-figure { margin: 0; background: var(--surface-2); }
.guide-figure img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.guide-article { overflow: hidden; }
.editorial-meta { color: var(--ink-soft); font-size: .9rem; margin-top: .75rem; }
.article-contents { padding: 1.25rem; margin-bottom: 2rem; background: var(--surface-alt, #f3f8fa); border: 1px solid var(--line); border-radius: var(--radius-md); }
.article-contents h2, .article-related h2 { font-size: 1.2rem; margin: 0 0 .75rem; }
.article-contents ol, .article-related ul { padding-left: 1.25rem; }
.article-contents li, .article-related li { margin: .5rem 0; }
.article-contents a, .article-related a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: .2em; }
.article-contents a { display: block; padding: .2rem 0; }
.guide-article .prose h2 { scroll-margin-top: calc(var(--chrome-h) + 1rem); }
.guide-article .prose p { margin-bottom: 1rem; }
.guide-article .prose ul, .guide-article .prose ol { padding-left: 1.4rem; margin: 1rem 0; }
.guide-article .prose li { margin: .5rem 0; }
.guide-article .prose a, .article-contents a, .article-related a { overflow-wrap: anywhere; }
.guide-article .cta-actions .btn { white-space: normal; text-align: center; }
.article-related { border-top: 1px solid var(--line); padding-top: 1.5rem; margin-bottom: 2rem; }
/* Feature and service cards share row reveals and contained hover effects. */
:is(#about, #services) :is(.feature-card, .service-card) { --feature-delay: 0ms; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
:is(#about, #services) :is(.feature-card, .service-card):nth-child(3n + 2) { --feature-delay: 100ms; }
:is(#about, #services) :is(.feature-card, .service-card):nth-child(3n + 3) { --feature-delay: 200ms; }
:is(#about, #services) :is(.feature-card, .service-card)[data-aos="feature-reveal"].aos-init:not(.aos-animate):not(:focus-within) { opacity: 0; }
:is(#about, #services) :is(.feature-card, .service-card)[data-aos="feature-reveal"].aos-animate { animation: feature-card-arrive .7s cubic-bezier(.22,1,.36,1) var(--feature-delay) backwards; }
:is(#about, #services) :is(.feature-visual, .service-visual) { height: 100%; overflow: hidden; }
:is(#about, #services) :is(.feature-visual, .service-visual) img { transition: transform .65s cubic-bezier(.22,1,.36,1); }
:is(#about, #services) :is(.feature-icon, .service-icon) { transition: transform .35s ease, box-shadow .35s ease; }
:is(#about, #services) :is(.feature-card, .service-card).aos-animate :is(.feature-icon, .service-icon) i { animation: feature-icon-arrive .6s cubic-bezier(.22,1,.36,1) calc(var(--feature-delay) + 150ms) backwards; }
:is(#about, #services) :is(.feature-card, .service-card):is(:hover, :focus-within) { transform: none; }
@keyframes feature-card-arrive {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes feature-icon-arrive {
  from { opacity: 0; transform: translateY(8px) scale(.85); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (hover:hover) and (pointer:fine) {
  :is(#about, #services) :is(.feature-card, .service-card):is(:hover, :focus-within) { transform: translateY(-8px); box-shadow: 0 18px 36px rgba(0,105,119,.14); }
  :is(#about, #services) :is(.feature-card, .service-card):is(:hover, :focus-within) :is(.feature-visual, .service-visual) img { transform: scale(1.06); }
  :is(#about, #services) :is(.feature-card, .service-card):is(:hover, :focus-within) :is(.feature-icon, .service-icon) { transform: translate(-50%,-5px); box-shadow: 0 10px 22px rgba(0,105,119,.25); }
  #services .service-card:is(:hover, :focus-within) .service-icon { transform: translateY(-5px); }
}
@media (min-width:861px) and (max-width:1100px) {
  :is(#about, #services) :is(.feature-card, .service-card):nth-child(odd) { --feature-delay: 0ms; }
  :is(#about, #services) :is(.feature-card, .service-card):nth-child(even) { --feature-delay: 100ms; }
}
@media (max-width:860px) {
  :is(#about, #services) :is(.feature-card, .service-card):nth-child(n) { --feature-delay: 0ms; }
}
@media (prefers-reduced-motion:reduce) {
  :is(#about, #services) :is(.feature-card, .service-card), :is(#about, #services) :is(.feature-card, .service-card).aos-init:not(.aos-animate), :is(#about, #services) :is(.feature-card, .service-card):is(:hover, :focus-within),
  :is(#about, #services) :is(.feature-card, .service-card) :is(.feature-visual, .service-visual) img, :is(#about, #services) :is(.feature-card, .service-card) :is(.feature-icon, .service-icon) i {
    opacity: 1 !important; animation: none !important; transition: none !important; transform: none !important;
  }
  :is(#about, #services) :is(.feature-card, .service-card) :is(.feature-icon, .service-icon) { animation: none !important; transition: none !important; transform: translateX(-50%) !important; }
  #services .service-card .service-icon { transform: none !important; }
}
.technology-showcase, .client-showcase { position: relative; }
.section-anchor { position: absolute; top: 0; }
.technology-showcase.partners-section { background: #f6f8fa; }
.technology-cards { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.technology-cards .partner-item { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 1 calc((100% - 3rem) / 5); max-width: calc((100% - 3rem) / 5); min-height: 0; padding: .7rem .65rem .6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
.technology-cards .partner-logo { display: grid; place-items: center; width: 100%; height: 80px; margin-bottom: .45rem; border-radius: 8px; background: #f7f9fa; padding: .55rem; text-decoration: none; }
.technology-cards .partner-logo img { width: 100%; height: 100%; max-height: 64px; object-fit: contain; }
.technology-cards .partner-item i { display: none; }
.technology-cards .partner-item h3 { margin: 0; font-size: .78rem; line-height: 1.25; color: var(--ink-soft); font-weight: 600; }
.technology-cards .partner-item:hover { border-color: var(--brand); box-shadow: 0 8px 24px rgba(0,151,167,.12); }
.client-showcase.clients-section { background: #fff; }
.client-showcase .section-header { margin-bottom: 2rem; }
.client-carousel { position: relative; z-index: 1; }
.client-carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.client-carousel-toolbar[hidden] { display: none; }
.client-carousel-toolbar p { font-size: .95rem; color: var(--muted); }
.client-carousel-controls { display: flex; gap: .5rem; align-items: center; }
.client-carousel-controls button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #fff; color: var(--brand-deep); font: inherit; font-weight: 600; cursor: pointer; }
.client-carousel-controls button:hover { border-color: var(--brand); background: #ecfafb; }
.client-carousel-controls .client-motion { padding: .5rem 1rem; white-space: nowrap; }
.clientSwiper { padding: 4px 0 12px; }
.clientSwiper-rows.swiper-initialized { height: 292px; }
.clientSwiper .swiper-wrapper { align-items: stretch; }
.clientSwiper .swiper-slide::before, .clientSwiper .swiper-slide::after { display: none; }
.clientSwiper .swiper-slide img { animation: none; }
.clientSwiper .client-item:hover .client-logo img { transform: none; }
.clientSwiper .client-item { height: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 0.65rem 0.6rem; background: #f7f9fa; }
.clientSwiper .client-logo { display: grid; place-items: center; height: 72px; margin-bottom: .45rem; border-radius: 8px; background: #fff; padding: .55rem; text-decoration: none; }
.clientSwiper .client-logo--dark,
.clientSwiper .client-item:hover .client-logo--dark { background: #000; }
.clientSwiper .client-logo img { width: 100%; height: 100%; max-height: 56px; object-fit: contain; filter: none; }
.clientSwiper .client-item h3 { font-size: .78rem; line-height: 1.25; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clientSwiper:not(.swiper-initialized) .swiper-wrapper { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); grid-template-rows: repeat(2,auto); gap: .75rem; transform: none; }
.clientSwiper:not(.swiper-initialized) .swiper-slide:nth-child(n+13) { display: none; }
.clientSwiper-rows.swiper-initialized { overflow: hidden; }
.resource-library { padding-bottom: 1rem; }
.resource-hero { padding-bottom: 5rem; }
.resource-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.resource-hero .header-content { text-align: left; }
.resource-hero .header-content h1 { font-size: clamp(2rem,3.4vw,3rem); margin: .6rem 0 1rem; }
.resource-hero .header-content > p { margin-left: 0; text-align: left; max-width: 36rem; }
.resource-library .resource-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 700; }
.resource-hero .resource-kicker { color: #9ae5ea; }
.resource-hero-topics { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.75rem; font-size: .95rem; color: #d9f5f7; }
.resource-hero-topics i { margin-right: .5rem; }
.resource-feature { text-align: left; padding: 1.6rem; border: 1px solid rgba(173,236,243,.25); border-radius: 18px; background: rgba(255,255,255,.07); }
.resource-feature > p { margin: 0; text-align: left; }
.resource-feature h2 { color: #fff; font-size: 1.3rem; margin: .4rem 0 1rem; }
.resource-feature > a { display: flex; align-items: center; gap: .85rem; color: #fff; padding: 1rem 0; border-top: 1px solid rgba(173,236,243,.22); font-weight: 600; }
.resource-feature > a > i:first-child { font-size: 1.3rem; color: #9ae5ea; width: 28px; }
.resource-feature > a > i:last-child { margin-left: auto; }
.resource-feature small { display: block; color: #c8e5e9; font-weight: 400; margin-top: .2rem; }
.resource-feature a:hover span { text-decoration: underline; }
.resource-tools { position: relative; z-index: 2; margin-top: -2.25rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(15,46,58,.06); }
.resource-search-row { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; }
.resource-search-row .search-wrapper { max-width: 680px; flex: 1; }
.resource-search-row form { display: flex; align-items: center; gap: .5rem; width: 100%; }
.resource-search-row input { width: 100%; min-width: 0; }
.resource-search-row .results-count { white-space: nowrap; color: var(--ink-soft); font-size: .9rem; }
.resource-categories { display: flex; flex-wrap: wrap; gap: .6rem; padding: 1.25rem 0; }
.resource-categories a { display: inline-flex; gap: .55rem; align-items: center; padding: .55rem .8rem; min-height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); color: var(--ink-soft); font-size: .86rem; font-weight: 600; text-decoration: none; }
.resource-categories a.active { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.resource-categories a:hover { border-color: var(--brand-deep); }
.resource-category-count { font-size: .74rem; opacity: .8; }
.resource-notice { display: flex; align-items: flex-start; gap: .65rem; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .9rem; margin: 0; }
.resource-notice > i { margin-top: .3rem; color: var(--brand-deep); }
.resource-notice a { color: var(--brand-deep); text-decoration: underline; }
.resource-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 2.75rem auto 1.25rem; }
.resource-results-heading .resource-kicker { color: var(--brand-deep); margin-bottom: .4rem; }
.resource-results-heading h2 { font-size: clamp(1.35rem,2.5vw,1.7rem); }
.resource-reset { flex-shrink: 0; color: var(--brand-deep); text-decoration: underline; min-height: 44px; display: inline-flex; align-items: center; gap: .5rem; }
.resource-card .card-top { background: #fff; border-bottom: 0; padding: 1.5rem 1.5rem 0; grid-template-columns: 1fr auto; gap: .8rem; }
.resource-card-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: #eaf7f8; color: var(--brand-deep); font-size: 1.45rem; }
.resource-card .file-type { background: #e8f1ff; color: #23549b; font-size: .74rem; padding: .35rem .6rem; border-radius: 6px; }
.resource-card[data-format="pdf"] .file-type { background: #fff0ed; color: #a64032; }
.resource-card[data-format="sql"] .file-type { background: #f1edff; color: #6543a3; }
.resource-card[data-format="css"] .file-type { background: #e9f7ff; color: #176086; }
.resource-card-category { grid-column: 1/-1; color: var(--muted); font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: .5rem 0 0; }
.resource-card .card-top h3 { grid-column: 1/-1; font-size: 1.18rem; line-height: 1.4; }
.resource-card .card-body { padding: 1rem 1.5rem 0; }
.resource-card .feature-tags { margin: 1rem 0 1.5rem; }
.resource-card .feature-tags span { background: #f3f6f8; color: var(--ink-soft); border-color: #e6ecef; }
.resource-card:hover .feature-tags span { transform: none; }
.resource-card-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); padding: 1rem 0; margin-top: auto; }
.resource-card .availability-badge { background: #f5f6f8; color: #566273; font-size: .74rem; padding: 0; border-radius: 0; }
.resource-request { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem .8rem; border-radius: var(--radius-pill); background: #eaf7f8; color: var(--brand-deep); font-size: .9rem; font-weight: 700; }
.resource-request:hover { background: var(--brand-deep); color: #fff; }
@media (max-width:1100px) {
  .technology-cards .partner-item { flex-basis: calc((100% - 1.5rem) / 3); max-width: calc((100% - 1.5rem) / 3); }
}
@media (min-width:700px) and (max-width:1100px) {
  .resource-library .downloads-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px) {
  .resource-hero-grid { gap: 2rem; grid-template-columns: 1fr; }
  .resource-search-row { align-items: stretch; flex-direction: column; gap: .75rem; }
  .resource-search-row .search-wrapper { max-width: none; }
}
@media (max-width:480px) {
  .resource-tools { padding: 1rem; }
  .resource-hero-grid { gap: 1.5rem; }
  .resource-feature { padding: 1.2rem; }
  .resource-results-heading { align-items: flex-start; flex-direction: column; }
  .resource-card .card-top { padding: 1.25rem 1.25rem 0; }
  .resource-card .card-body { padding: 1rem 1.25rem 0; }
}
@media (max-width:767px) {
  .technology-cards .partner-item { flex-basis: calc((100% - .75rem) / 2); max-width: calc((100% - .75rem) / 2); padding: .65rem .5rem .55rem; }
  .client-carousel-toolbar { align-items: flex-start; flex-direction: column; }
  .clientSwiper:not(.swiper-initialized) .swiper-wrapper { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .clientSwiper:not(.swiper-initialized) .swiper-slide:nth-child(n+5) { display: none; }
}
@media (prefers-reduced-motion:reduce) {
  .technology-cards .partner-item:hover, .technology-cards .partner-item:hover i, .clientSwiper .client-item:hover .client-logo img { transform: none; }
}
@media (max-width:1100px) {
  .program-strip-inner { grid-template-columns: 180px minmax(0,1fr); }
  .program-strip-poster { width: 180px; grid-row: span 2; }
  .program-strip-inner > .btn { justify-self: start; }
}
@media (max-width:600px) {
  .program-strip-inner { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .program-strip-poster { width: min(100%,280px); grid-row: auto; }
  .program-strip-inner > .btn { white-space: normal; text-align: center; }
  .guide-grid { grid-template-columns: minmax(0,1fr); }
}
