:root {
  color-scheme: dark;
  --bg: #17191d;
  --bg-deep: #101216;
  --panel: #23262c;
  --panel-2: #2d3138;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.22);
  --text: #f5f7f9;
  --muted: #aeb5be;
  --silver: #d9dfe5;
  --steel: #8ebcf8;
  --blue: #5f9eea;
  --shadow: 0 24px 70px rgba(0,0,0,.32);
  --radius: 24px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 12%, rgba(89,118,152,.13), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .19;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.10'/%3E%3C/svg%3E");
  z-index: 20;
  mix-blend-mode: soft-light;
}
main {
  position: relative;
  z-index: 1;
}
main::before {
  content: "";
  position: fixed;
  inset: 80px 0 0;
  z-index: 0;
  pointer-events: none;
  background: url("assets/qs-deluxe-logo-transparent.png") center 54% / min(760px, 82vw) auto no-repeat;
  opacity: .09;
}
main > section {
  position: relative;
  z-index: 1;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: white; color: #111; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: linear-gradient(180deg, rgba(14,16,19,.94), rgba(14,16,19,.72));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 80px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 118px; height: 70px; object-fit: contain; filter: contrast(1.08) brightness(1.18); }
.site-nav { margin-left: auto; display: flex; gap: 30px; align-items: center; }
.site-nav a { font-size: .86rem; color: #d5dae0; letter-spacing: .045em; }
.site-nav a:hover, .site-nav a:focus-visible { color: white; }
.language select {
  appearance: none;
  color: white; border: 1px solid var(--line-strong); border-radius: 999px;
  background: #25282d; padding: 8px 30px 8px 13px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #adb4bc 50%), linear-gradient(135deg, #adb4bc 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%;
  background-size: 4px 4px, 4px 4px; background-repeat: no-repeat;
}
.menu-toggle { display: none; }

.hero { min-height: 820px; position: relative; display: grid; align-items: center; overflow: hidden; padding: 120px 0 112px; }
.hero-media {
  position: absolute; inset: 0; background: url("assets/hero-datacentre.webp") 50% 50% / cover no-repeat;
  transform: scale(1.015);
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,16,20,.99) 0%, rgba(14,16,20,.91) 31%, rgba(14,16,20,.34) 64%, rgba(14,16,20,.22) 100%);
}
.hero-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.07) 50%, transparent 61%);
  mix-blend-mode: screen;
}
.hero-grid { position: relative; z-index: 2; }
.hero-copy { max-width: 725px; }
.eyebrow {
  margin: 0 0 19px; color: var(--silver); text-transform: uppercase;
  letter-spacing: .2em; font-size: .74rem; font-weight: 700;
}
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: var(--steel); margin: 0 12px 4px 0; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0; max-width: 780px; font-size: clamp(3.25rem, 7.3vw, 6.9rem);
  line-height: .92; letter-spacing: -.06em; font-weight: 660;
}
h1 span { color: transparent; -webkit-text-stroke: 1.2px #d7dde3; }
.hero-lead { max-width: 650px; margin: 32px 0 0; color: #c8ced5; font-size: clamp(1.05rem, 1.55vw, 1.28rem); line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: .91rem;
  letter-spacing: .02em; transition: .25s ease; border: 1px solid transparent;
}
.button-primary {
  color: #11151a; background: linear-gradient(135deg, #f5f7fa, #bfc7cf);
  box-shadow: inset 0 1px 0 white, 0 10px 30px rgba(0,0,0,.25);
}
.button-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 white, 0 16px 40px rgba(0,0,0,.32); }
.button-ghost { border-color: var(--line-strong); background: rgba(28,31,36,.46); backdrop-filter: blur(12px); }
.button-ghost:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.4); }
.proof-strip {
  position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0;
  background: linear-gradient(135deg, rgba(53,57,64,.9), rgba(26,29,34,.93));
  box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.proof-strip div { padding: 21px 28px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { display: block; font-size: .92rem; color: white; }
.proof-strip span { display: block; color: var(--muted); font-size: .82rem; margin-top: 2px; }
.proof-strip.reveal { transform: translate(-50%, 22px); }
.proof-strip.reveal.visible { transform: translateX(-50%); }

.section { padding: 118px 0; position: relative; }
.intro { padding-block: 104px; background: linear-gradient(180deg, rgba(32,35,41,.88), rgba(27,30,35,.86)); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: .75fr 2.1fr; gap: 56px; align-items: start; }
.section-kicker { display: flex; align-items: center; gap: 13px; padding-top: 11px; color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .16em; font-weight: 700; }
.section-kicker span:first-child { color: var(--steel); }
.intro-copy h2, .section-heading h2, .delivery h2, .contact h2 {
  margin: 0; font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 620;
}
.intro-copy p { margin: 28px 0 0; max-width: 850px; color: var(--muted); font-size: 1.18rem; line-height: 1.75; }
.section-heading { display: grid; grid-template-columns: 1.5fr .8fr; gap: 56px; align-items: end; margin-bottom: 54px; }
.section-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.services { background: rgba(23,25,29,.84); }
.service-feature {
  display: grid; grid-template-columns: 1.12fr .88fr; min-height: 500px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(145deg, #2e3239, #202329); box-shadow: var(--shadow);
  margin-bottom: 26px;
}
.service-feature.reverse { grid-template-columns: .88fr 1.12fr; }
.service-feature.reverse .feature-image { order: 2; }
.feature-image { min-height: 470px; overflow: hidden; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.service-feature:hover img, .image-card:hover img { transform: scale(1.035); }
.feature-copy { padding: clamp(34px, 5vw, 68px); display: flex; flex-direction: column; justify-content: center; }
.service-number { color: var(--steel); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; letter-spacing: .16em; }
.service-label { margin: 24px 0 9px; color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .15em; font-weight: 700; }
.feature-copy h3 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.035em; }
.feature-copy ul { margin: 27px 0 0; padding: 0; list-style: none; color: #c7cdd4; }
.feature-copy li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid rgba(255,255,255,.07); }
.feature-copy li::before { content: "—"; position: absolute; left: 0; color: var(--steel); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.service-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(145deg,#2c3037,#202329); box-shadow: var(--shadow); }
.image-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .7s ease; }
.card-content { padding: 30px 32px 34px; }
.card-content h3 { margin: 14px 0 10px; font-size: 1.65rem; letter-spacing: -.025em; }
.card-content p { margin: 0; color: var(--muted); }
.service-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.service-band article { padding: 36px 30px; background: linear-gradient(145deg,#292d33,#202329); }
.service-band span { color: var(--steel); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .76rem; }
.service-band h3 { margin: 19px 0 10px; font-size: 1.25rem; }
.service-band p { margin: 0; color: var(--muted); font-size: .92rem; }

.delivery { overflow: hidden; background: rgba(32,35,41,.84); border-block: 1px solid var(--line); }
.delivery-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, transparent 0 56%, rgba(255,255,255,.045) 56.1% 56.3%, transparent 56.4%),
    radial-gradient(circle at 78% 55%, rgba(88,137,194,.16), transparent 32rem);
}
.delivery-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; position: relative; }
.delivery-copy > p:not(.eyebrow) { color: var(--muted); margin: 28px 0; max-width: 560px; font-size: 1.06rem; }
.text-link { display: inline-flex; gap: 16px; align-items: center; color: white; font-weight: 700; border-bottom: 1px solid var(--line-strong); padding-bottom: 7px; }
.text-link span:last-child { color: var(--steel); }
.delivery-options { display: grid; gap: 14px; }
.delivery-options article { display: grid; grid-template-columns: 58px 1fr; column-gap: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg,rgba(61,65,73,.75),rgba(36,39,45,.82)); box-shadow: 0 16px 44px rgba(0,0,0,.14); }
.option-icon { grid-row: 1/3; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--steel); font-family: ui-monospace, monospace; font-size: .78rem; }
.delivery-options h3 { margin: 0; font-size: 1.25rem; }
.delivery-options p { margin: 4px 0 0; color: var(--muted); }

.projects { background: rgba(21,23,27,.86); }
.project-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 24px; align-items: stretch; }
.project-visual { min-height: 600px; border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--line); }
.project-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,12,15,.85)); }
.project-visual img { width: 100%; height: 100%; object-fit: cover; }
.project-stamp { position: absolute; z-index: 2; left: 30px; bottom: 26px; display: flex; align-items: baseline; gap: 12px; }
.project-stamp strong { font-size: 3.4rem; line-height: 1; }
.project-stamp span { color: #c8ced5; }
.project-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: linear-gradient(145deg,#282c32,#1d2025); }
.project-list article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); transition: background .2s ease; }
.project-list article:last-child { border-bottom: 0; }
.project-list article:hover { background: rgba(255,255,255,.04); }
.country { display: grid; place-items: center; width: 44px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--steel); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.project-list h3 { margin: 0; font-size: 1rem; }
.project-list p { margin: 1px 0 0; color: var(--muted); font-size: .87rem; }
.imagery-note { margin: 20px 0 0; color: #7f8791; font-size: .76rem; }

.contact { padding: 116px 0 70px; background: linear-gradient(150deg,rgba(43,47,54,.88),rgba(23,25,29,.86) 72%); border-top: 1px solid var(--line); }
.contact-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; padding: clamp(34px,6vw,76px); border: 1px solid var(--line-strong); border-radius: 30px; background: linear-gradient(135deg,rgba(69,74,84,.82),rgba(31,34,40,.9)); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.12); }
.contact-intro > p:last-child { max-width: 670px; margin: 25px 0 0; color: #c0c6ce; font-size: 1.04rem; }
.primary-contact { border-left: 1px solid var(--line); padding-left: 44px; }
.contact-role, .partner-role { color: var(--steel); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 800; }
.contact-person h3 { margin: 6px 0 25px; font-size: 2rem; }
.contact-actions { display: flex; flex-direction: column; gap: 10px; }
.mail-link { margin-top: 8px; color: #e5e9ed; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 5px; }
.channels { margin: 20px 0 0; color: #929aa4; font-size: .78rem; letter-spacing: .06em; }
.partner-block { margin-top: 58px; }
.partner-heading { color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 800; margin: 0 0 18px; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.partner-grid article { display: grid; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(24,27,32,.7); }
.partner-grid h3 { margin: 6px 0 0; font-size: 1.2rem; }
.partner-company { margin: 1px 0 15px; color: var(--muted); font-size: .9rem; }
.partner-grid a { width: fit-content; color: #d8dde3; margin: 2px 0; font-size: .9rem; }
.partner-grid a:hover { color: white; text-decoration: underline; }
.partner-grid article > span:last-child { margin-top: 12px; color: #78818b; font-size: .74rem; }

footer { background: #0e1013; border-top: 1px solid var(--line); }
.footer-inner { min-height: 112px; display: flex; align-items: center; gap: 30px; }
.footer-brand img { width: 98px; height: 76px; object-fit: contain; }
.footer-inner p { color: #828a94; font-size: .78rem; }
.footer-langs { margin-left: auto; display: flex; gap: 16px; color: #a5acb4; font-size: .76rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 920px) {
  :root { --shell: min(100% - 30px, 720px); }
  .nav-wrap { min-height: 78px; gap: 14px; }
  .menu-toggle {
    margin-left: auto; display: grid; gap: 4px; place-content: center; width: 42px; height: 42px;
    color: white; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.05);
  }
  .menu-toggle span:not(.sr-only) { display: block; width: 18px; height: 1px; background: white; transition: .2s; }
  .site-nav {
    display: none; position: absolute; top: 78px; left: 15px; right: 15px; padding: 18px;
    flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line);
    border-radius: 16px; background: rgba(24,27,32,.98); box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .language { order: 4; }
  .hero { min-height: auto; padding: 118px 0 0; display: block; }
  .hero-media { background-position: 62% center; }
  .hero-media::after { background: linear-gradient(90deg,rgba(13,15,18,.96),rgba(13,15,18,.72) 70%,rgba(13,15,18,.35)); }
  .proof-strip {
    position: relative; left: auto; bottom: auto; transform: none;
    grid-template-columns: 1fr; width: min(420px, calc(100% - 30px)); margin: 64px auto 0;
  }
  .proof-strip.reveal { transform: translateY(22px); }
  .proof-strip.reveal.visible { transform: none; }
  .proof-strip div { padding: 11px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip div:last-child { border-bottom: 0; }
  .proof-strip strong, .proof-strip span { display: inline; }
  .proof-strip span { margin-left: 8px; }
  .intro-grid, .section-heading, .delivery-grid, .contact-panel { grid-template-columns: 1fr; }
  .section-heading { gap: 25px; }
  .service-feature, .service-feature.reverse { grid-template-columns: 1fr; }
  .service-feature.reverse .feature-image { order: 0; }
  .feature-image { min-height: 360px; }
  .service-band { grid-template-columns: 1fr; }
  .delivery-grid { gap: 56px; }
  .project-layout { grid-template-columns: 1fr; }
  .project-visual { min-height: 430px; }
  .primary-contact { border-left: 0; border-top: 1px solid var(--line); padding: 34px 0 0; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 24px); }
  main::before { background-size: 112vw auto; background-position: center 52%; opacity: .12; }
  .brand img { width: 110px; height: 66px; }
  .language select { padding-left: 10px; padding-right: 25px; }
  .hero { min-height: auto; padding: 110px 0 0; }
  h1 { font-size: clamp(3.05rem, 17vw, 5rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .proof-strip { margin-top: 48px; }
  .proof-strip strong, .proof-strip span { display: block; margin-left: 0; }
  .section { padding-block: 82px; }
  .intro { padding-block: 78px; }
  .intro-grid { gap: 28px; }
  .intro-copy h2, .section-heading h2, .delivery h2, .contact h2 { font-size: 2.5rem; }
  .service-grid, .partner-grid { grid-template-columns: 1fr; }
  .feature-image { min-height: 280px; }
  .feature-copy { padding: 32px 24px; }
  .card-content, .service-band article { padding: 26px 23px; }
  .delivery-options article { grid-template-columns: 46px 1fr; padding: 20px; }
  .option-icon { width: 44px; height: 44px; }
  .project-visual { min-height: 340px; }
  .project-list article { padding: 18px; }
  .contact { padding-top: 80px; }
  .contact-panel { padding: 30px 22px; border-radius: 22px; }
  .footer-inner { padding-block: 28px; flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-langs { margin-left: 0; }
}
