/* A more editorial rhythm for Tech Pros London. */
:root { --paper: #f0f1ed; --ink: #171d22; --paper-muted: #5c666d; }

/* Hero: keep the product image crisp and give the copy a clear frame. */
.hero { background: #090b0e; }
.hero::before { opacity: .13; background-size: 23% 100%; }
.hero-grid { min-height: 690px; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: clamp(34px,4.7vw,76px); padding-block: 70px 82px; }
.hero-copy { padding-block: 0; }
.hero h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(56px,5.55vw,86px); line-height: 1.01; }
.hero-lead { max-width: 520px; margin-bottom: 30px; font-size: 16px; line-height: 1.76; }
.hero-tags { margin-top: 37px; }
.hero-visual { height: 565px; margin-right: 0; overflow: hidden; border: 1px solid #3d444c; border-radius: 18px; background: #10151b; box-shadow: 0 34px 82px rgba(0,0,0,.38); }
.hero-visual::before { content: ''; position: absolute; z-index: 3; top: 0; left: 0; width: 116px; height: 4px; background: var(--red); }
.hero-visual::after { background: linear-gradient(0deg,rgba(5,7,10,.55),transparent 27%); }
.hero-visual img { object-position: 61% center; }
.visual-note { right: 19px; bottom: 19px; border-top: 2px solid var(--red); border-left: 0; border-radius: 3px; }

/* A single, compact assurance strip replaces the extra moving marquee. */
.value-bar { border-block-color: #27313a; background: #131920; }
.value-grid > div { min-height: 82px; justify-content: flex-start; gap: 18px; padding: 19px 26px; font-size: 13px; }
.value-grid strong { color: #ff5360; font-size: 11px; letter-spacing: .13em; }

/* Device services move to a light editorial canvas with a strong lead card. */
.section { padding-block: 102px 112px; }
.device-section { border-top: 1px solid #d9dcd9; background: var(--paper); color: var(--ink); }
.device-section .section-heading { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(270px,.65fr); align-items: end; gap: 42px; max-width: none; margin: 0 0 46px; text-align: left; }
.device-section .section-heading .eyebrow { justify-content: flex-start; }
.device-section .section-heading h2 { max-width: 790px; font-size: clamp(47px,5.2vw,73px); }
.device-section .section-heading > p { max-width: 400px; margin: 0 0 8px; color: var(--paper-muted); font-size: 16px; line-height: 1.7; }
.service-grid-devices { grid-template-columns: repeat(12,minmax(0,1fr)); gap: 16px; }
.service-grid-devices .service-card:first-child { grid-column: span 6; }
.service-grid-devices .service-card:nth-child(2), .service-grid-devices .service-card:nth-child(3) { grid-column: span 3; }
.service-grid-devices .service-card:nth-child(n+4) { grid-column: span 4; }
.device-section .service-card { min-height: 0; padding: 0 24px 22px; border-color: #d8ddd9; border-radius: 13px; background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(27,36,40,.045); }
.device-section .service-card:hover { border-color: #aab3b2; box-shadow: 0 22px 47px rgba(27,36,40,.14); transform: translateY(-5px); }
.device-section .card-art { height: auto; aspect-ratio: 1.65 / 1; margin: 0 -24px 23px; background: #15191f; }
.device-section .feature-card .card-art { aspect-ratio: 2 / 1; }
.device-section .service-card:nth-child(2) .card-art, .device-section .service-card:nth-child(3) .card-art { aspect-ratio: 1.2 / 1; }
.device-section .card-art::after { background: linear-gradient(0deg,rgba(8,11,15,.24),transparent 45%); }
.device-section .service-card h3 { margin-bottom: 11px; padding-right: 0; font-size: clamp(22px,2vw,29px); line-height: 1.18; }
.device-section .service-card p { margin-bottom: 24px; color: var(--paper-muted); font-size: 14px; line-height: 1.66; }
.device-section .service-card a { min-height: 45px; padding-top: 11px; border-top-color: #dce0de; color: var(--ink); font-size: 13px; }
.device-section .service-card a span { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 1px solid #d2d8d6; border-radius: 50%; color: #d40a18; font-size: 17px; line-height: 1; }
.device-section .service-card a:hover span { border-color: #d40a18; background: #d40a18; color: white; transform: translate(2px,-2px); }
.device-section .feature-card { border-color: #1c262e; background: #172029; color: white; }
.device-section .feature-card h3 { font-size: clamp(29px,2.7vw,38px); }
.device-section .feature-card p { max-width: 60ch; color: #bec7ca; }
.device-section .feature-card a { border-top-color: rgba(255,255,255,.2); color: white; }
.device-section .feature-card a span { border-color: rgba(255,255,255,.35); color: #ff5863; }
.device-section .future-note { margin-top: 18px; border-color: #d3d8d5; border-radius: 10px; background: #e6eae7; }
.device-section .future-note h3 { color: var(--ink); }
.device-section .future-note p { color: var(--paper-muted); }
.device-section .future-label { color: #c40c19; }

/* A prominent, endlessly moving showcase for the brands sold and handled. */
.brand-showcase { overflow: hidden; padding-block: 76px 53px; border-bottom: 1px solid #29333b; background: radial-gradient(circle at 85% 10%,rgba(229,9,20,.12),transparent 29%),#111920; color: white; }
.brand-showcase-heading { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: end; gap: clamp(36px,5vw,80px); }
.brand-showcase .eyebrow { margin-bottom: 16px; }
.brand-showcase h2 { max-width: 770px; margin: 0; font-size: clamp(42px,4.9vw,66px); font-weight: 800; line-height: 1.04; letter-spacing: -.065em; }
.brand-showcase h2 em { color: #ff535e; font-style: normal; }
.brand-showcase-aside p { max-width: 520px; margin: 0; color: #c4ccd1; font-size: 16px; line-height: 1.7; }
.brand-marquee { overflow: hidden; margin-top: 40px; padding-block: 7px 16px; mask-image: linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.brand-marquee-track { display: flex; width: max-content; animation: brand-scroll 34s linear infinite; will-change: transform; }
.brand-marquee-group { display: flex; flex: none; gap: 14px; margin: 0; padding: 0 14px 0 0; list-style: none; }
.brand-logo-card { width: 174px; min-height: 109px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 14px 10px; border: 1px solid #d5d9dc; border-radius: 10px; background: #f7f8f8; color: #263039; box-shadow: 0 10px 28px rgba(0,0,0,.13); }
.brand-logo-mark { position: relative; width: 126px; height: 50px; flex: none; overflow: hidden; }
.brand-logo-mark img { position: absolute; top: 50%; left: 50%; display: block; width: 122px; height: 122px; max-width: none; transform: translate(-50%,-50%); }
.brand-logo-card--icon .brand-logo-mark img { width: 43px; height: 43px; }
.brand-logo-card > span:last-child { font-size: 14px; font-weight: 750; line-height: 1.2; letter-spacing: .015em; }
.brand-showcase-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 21px; color: #98a7b0; font-size: 14px; }
.brand-showcase-foot a { display: inline-flex; align-items: center; gap: 15px; min-height: 38px; border-bottom: 1px solid #fa4b56; color: white; font-weight: 750; }
.brand-showcase-foot a span { color: #ff5762; font-size: 18px; transition: transform .2s; }
.brand-showcase-foot a:hover span { transform: translate(3px,-3px); }
@keyframes brand-scroll { to { transform: translate3d(-50%,0,0); } }

/* Digital work reads as a focused set of numbered capabilities. */
.business-section { border-block: 0; background: #101820; }
.business-section::before { opacity: .12; background-size: 100px 100px; }
.business-heading { margin-bottom: 42px; }
.business-layout { grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); gap: 28px; }
.business-feature { border-color: #3b4853; border-radius: 14px; background: #17212b; }
.business-feature-art { min-height: 340px; }
.business-feature-art img { min-height: 340px; object-position: 49% center; }
.business-feature-copy { padding: 31px 34px 33px; border-top-color: #3a4854; background: #1b2732; }
.business-list { gap: 0; border-top: 1px solid #3b4651; }
.business-list article { min-height: 132px; padding: 20px 52px 19px 55px; border: 0; border-bottom: 1px solid #3b4651; border-radius: 0; background: transparent; }
.business-list article:hover { transform: translateX(4px); border-color: #7d4147; background: rgba(255,255,255,.035); }
.business-index { top: 24px; left: 10px; }
.business-icon { top: 25px; right: 7px; width: 20px; height: 20px; padding: 7px; border: 1px solid rgba(255,89,99,.3); border-radius: 50%; background: rgba(229,9,20,.07); }
.business-list h3 { margin-bottom: 5px; font-size: 19px; }
.business-list p { font-size: 13.5px; line-height: 1.55; }
.business-list a { min-height: 30px; margin-top: 5px; font-size: 12.5px; }

/* Change the lower page's tone so its sections are easier to distinguish. */
.why-list > div > span { border: 1px solid rgba(255,83,96,.45); border-radius: 50%; background: rgba(229,9,20,.08); color: #ff5864; }
.about-section { border-top: 0; background: #e8ebe8; color: var(--ink); }
.about-section::after { background: radial-gradient(circle,rgba(198,17,30,.11),transparent 66%); }
.about-section .eyebrow { color: #c70b1a; }
.about-kicker { border-right-color: #c70b1a; color: #4b555b; }
.about-kicker span { color: #c70b1a; }
.about-grid h2 { color: var(--ink); }
.about-grid > div > p:last-child { color: #4e5a61; }
.contact-grid { border-color: #3b4650; border-radius: 14px; background: radial-gradient(circle at 95% 10%,rgba(229,9,20,.15),transparent 34%),#19232d; }

@media (max-width: 1100px) {
  .service-grid-devices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-grid-devices .service-card { grid-column: span 1 !important; }
  .service-grid-devices .service-card:first-child, .service-grid-devices .service-card:last-child { grid-column: span 2 !important; }
  .device-section .service-card:nth-child(2) .card-art, .device-section .service-card:nth-child(3) .card-art { aspect-ratio: 1.65 / 1; }
  .business-layout { grid-template-columns: 1fr; }
  .business-feature-art, .business-feature-art img { min-height: 390px; }
  .business-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 25px; }
  .business-list article:last-child { grid-column: span 2; }
}

@media (max-width: 880px) {
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 24px; padding-block: 60px 72px; }
  .hero h1 { max-width: 750px; }
  .hero-visual { width: 100%; height: 430px; }
  .device-section .section-heading { grid-template-columns: 1fr; gap: 14px; }
  .device-section .section-heading > p { max-width: 650px; margin: 0; }
  .brand-showcase { padding-block: 64px 44px; }
  .brand-showcase-heading { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .brand-marquee { margin-top: 31px; }
}

@media (max-width: 600px) {
  .hero-grid { gap: 23px; padding-block: 38px 45px; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(44px,11.7vw,58px); line-height: 1.025; }
  .hero-lead { margin-bottom: 23px; font-size: 15px; line-height: 1.68; }
  .hero-actions { gap: 7px; }
  .hero-actions .button-outline { min-height: 38px; width: auto; justify-content: flex-start; padding: 5px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .hero-tags { display: none; }
  .hero-visual { height: 272px; border-radius: 12px; }
  .visual-note { right: 10px; bottom: 10px; gap: 12px; }
  .value-grid > div { min-height: 58px; padding: 11px 19px; font-size: 12.5px; }
  .section { padding-block: 74px 82px; }
  .device-section .section-heading { margin-bottom: 32px; }
  .device-section .section-heading h2 { font-size: clamp(40px,10vw,53px); }
  .device-section .section-heading > p { font-size: 15px; }
  .service-grid-devices { grid-template-columns: 1fr; gap: 14px; }
  .service-grid-devices .service-card, .service-grid-devices .service-card:first-child, .service-grid-devices .service-card:last-child { grid-column: span 1 !important; }
  .device-section .card-art, .device-section .feature-card .card-art { height: auto; aspect-ratio: 2 / 1; }
  .device-section .service-card { padding-bottom: 18px; }
  .device-section .service-card p { margin-bottom: 17px; }
  .device-section .service-card a { min-height: 52px; }
  .brand-showcase { padding-block: 52px 38px; }
  .brand-showcase h2 { font-size: clamp(37px,9.6vw,51px); }
  .brand-showcase-aside p { font-size: 15px; }
  .brand-marquee { margin-top: 26px; mask-image: linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
  .brand-logo-card { width: 151px; min-height: 100px; }
  .brand-logo-mark { width: 113px; }
  .brand-logo-mark img { width: 112px; height: 112px; }
  .brand-logo-card--icon .brand-logo-mark img { width: 40px; height: 40px; }
  .brand-showcase-foot { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 12px; }
  .business-heading { margin-bottom: 30px; }
  .business-feature-art, .business-feature-art img { min-height: 250px; height: 250px; }
  .business-feature-copy { padding: 25px; }
  .business-list { grid-template-columns: 1fr; gap: 0; }
  .business-list article, .business-list article:last-child { display: grid; grid-column: auto; grid-template-columns: 1fr 38px; grid-template-areas: 'index icon' 'copy copy'; align-items: start; gap: 10px 12px; min-height: 0; padding: 22px 2px 22px; }
  .business-index { position: static; grid-area: index; align-self: center; }
  .business-icon { position: static; grid-area: icon; justify-self: end; }
  .business-list article > div { grid-area: copy; }
  .business-list h3 { font-size: 21px; }
  .business-list p { max-width: none; font-size: 14px; }
  .business-list a { min-height: 44px; margin-top: 7px; }
  .about-section { padding-block: 78px 86px; }
  .contact-grid { border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-marquee { overflow-x: auto; mask-image: none; }
  .brand-marquee-track { animation: none; will-change: auto; }
  .brand-marquee-group[aria-hidden="true"] { display: none; }
}
