/* LeiShan IT ~ website styles */
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/merriweather-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/merriweather-latin-900-normal.woff2) format("woff2"); }
@font-face { font-family: "Merriweather"; font-style: italic; font-weight: 900; font-display: swap; src: url(/assets/fonts/merriweather-latin-900-italic.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/open-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/open-sans-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/open-sans-latin-700-normal.woff2) format("woff2"); }

:root {
  --primary: #E12001;
  --dark: #111111;
  --dark-soft: #1C1C1C;
  --light: #FFFFFF;
  --muted: #EFEFEF;
  --ink: #111111;
  --ink-2: #555555;
  --grey: #9A9A9A;
  --line: rgba(17, 17, 17, .14);
  --wrap: 1288px;
  --r: 16px;
  --r-btn: 12px;
  --head-h: 88px;
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Open Sans", "Segoe UI", system-ui, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; margin: 0; color: inherit; }
h3 { font-weight: 700; font-size: 18px; line-height: 1.35; }
p { margin: 0 0 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 860px; }
.mid { max-width: 1000px; }
.center { text-align: center; justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; z-index: 100; }
.skip:focus { left: 16px; top: 12px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

/* Photos: black and white by default to stay on brand */
body.photos-mono img.ph { filter: grayscale(1) contrast(1.05); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: var(--r-btn); font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn .arr { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--primary) 85%, #000); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--primary); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--muted); }
.btn-outline { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--dark); color: #fff; }
.pagehero .btn-outline { border-color: #fff; color: #fff; }
.btn-outline-dark { border-color: var(--dark); color: var(--dark); }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btns:empty { display: none; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--dark); color: #fff; transition: box-shadow .2s; }
.site-head.scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand img { height: 46px; width: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-weight: 900; font-size: 22px; }
.brand small { font-size: 12.5px; font-weight: 600; letter-spacing: .03em; opacity: .85; margin-top: 3px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.site-nav a:not(.btn) { text-decoration: none; color: rgba(255,255,255,.88); font-size: 16px; position: relative; padding: 4px 0; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sections */
.sec { padding: 96px 0; }
.sec.dark { background: var(--dark); color: #fff; }
.sec.muted { background: var(--muted); }
.sec-head { max-width: 860px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(28px, 4.4vw, 50px); line-height: 1.15; }
.eyebrow { display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 18px; color: var(--primary); margin: 0 0 8px; }
.lead { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin-top: 14px; }
.dark .lead, .pagehero .lead { color: rgba(255,255,255,.8); }
.ico { width: 24px; height: 24px; flex: none; }

/* Hero (home) */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; flex-direction: column; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 14px; margin-bottom: 22px; line-height: 1.1; }
.badge strong { font-family: var(--serif); font-size: 18px; font-weight: 900; color: var(--primary); }
.badge span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-top: 2px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.12; max-width: 600px; }
.hero-sub { font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; margin: 22px auto 0; max-width: 560px; }
.hero-text { max-width: 470px; margin: 22px auto 0; color: var(--ink-2); }
.hero-text p { margin: 0; }
.hero-media { justify-self: center; width: 100%; max-width: 480px; }
.hero-media img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); }

/* Inner page hero */
.pagehero { position: relative; background: var(--dark); color: #fff; padding: 96px 0 84px; overflow: hidden; }
.pagehero .ph-bg { position: absolute; inset: 0; }
.pagehero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.94) 0%, rgba(17,17,17,.8) 55%, rgba(17,17,17,.55) 100%); }
.ph-inner { position: relative; z-index: 1; }
.pagehero h1 { font-size: clamp(36px, 5vw, 62px); max-width: 860px; }
.pagehero .lead { max-width: 640px; font-size: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 14px; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; }

/* Quote band */
.quote { background: var(--dark); padding: 56px 0; }
.quote-box { position: relative; border-radius: 4px; overflow: hidden; min-height: 460px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.quote-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.quote-shade { position: absolute; inset: 0; background: rgba(17,17,17,.6); }
.quote-inner { position: relative; padding: 64px 40px; max-width: 860px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 3vw, 38px); line-height: 1.4; }
.quote-src { margin-top: 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* Logos */
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.logos li { flex: 0 1 136px; }
.logos li > *, .logos li > a { display: flex; align-items: center; justify-content: center; height: 88px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.logos a:hover { border-color: var(--dark); box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
.logos img, .p-logo img { max-height: 40px; max-width: 130px; width: auto; filter: brightness(0); opacity: .82; }
.logos span { font-weight: 700; }

/* Cards */
.cards-sec { background: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; }
.cards.n4 { grid-template-columns: repeat(4, 1fr); max-width: none; }
.cards.n2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 32px 24px; background: var(--dark-soft); color: #fff; border: 2px solid var(--dark); border-radius: var(--r); text-decoration: none; transition: transform .25s, background .25s; }
a.card:hover { transform: translateY(-4px); background: #000; }
.card-ico { width: 40px; height: 40px; color: var(--primary); stroke-width: 1.5; transition: transform .25s; }
a.card:hover .card-ico { transform: scale(1.1); }
.card h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; }
.card p { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.card .more .arr { width: 14px; height: 14px; color: var(--primary); }

/* Statement */
.statement { padding: 110px 0 96px; }
.statement h2 { font-weight: 400; font-size: clamp(36px, 7vw, 76px); line-height: 1.08; letter-spacing: -0.035em; }
.statement .light { display: block; color: var(--grey); margin-bottom: .1em; }
.statement .words { position: relative; display: block; height: 1.2em; overflow: hidden; }
.statement .word { position: absolute; inset: 0; font-weight: 900; color: var(--primary); white-space: nowrap; transform: translateY(100%); opacity: 0; transition: transform .55s ease, opacity .55s ease; }
.statement .word.on { transform: none; opacity: 1; }
.statement .word.out { transform: translateY(-100%); opacity: 0; }
.statement .lead { max-width: 580px; margin: 22px auto 0; }

/* Steps */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; max-width: 1080px; }
.steps .line { position: absolute; left: 10%; right: 10%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--primary), rgba(255,255,255,.25)); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.num { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--dark); display: grid; place-items: center; font-family: var(--serif); font-weight: 900; margin-bottom: 12px; position: relative; z-index: 1; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: rgba(255,255,255,.72); max-width: 22ch; margin: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq > div { display: grid; gap: 14px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px; cursor: pointer; font-weight: 600; min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { width: 18px; height: 18px; transition: transform .25s; color: var(--primary); }
.qa[open] summary .ico { transform: rotate(180deg); }
.qa .ans { padding: 0 16px 14px; color: var(--ink-2); font-size: 15px; }

/* Clients */
.clients { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-head { text-align: center; font-family: var(--serif); font-style: italic; font-weight: 900; color: var(--primary); font-size: 18px; margin-bottom: 20px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; background: #fff; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.reverse .split-media { order: 2; }
.no-media .split { grid-template-columns: 1fr; max-width: 860px; }
.split-media { margin: 0; position: relative; }
.split-media img, .ph-empty { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.ph-empty { background: var(--muted); display: grid; place-items: center; }
.ph-empty img { width: 38%; aspect-ratio: auto; border-radius: 0; }
.split-media figcaption { position: absolute; left: 18px; bottom: 18px; background: #fff; border-radius: 12px; padding: 12px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.15); display: flex; flex-direction: column; }
.split-media figcaption strong:empty { display: none; }
.split-media figcaption span { color: var(--primary); font-weight: 700; font-size: 14px; }
.split-copy .sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { width: 22px; height: 22px; color: var(--primary); stroke-width: 2.4; margin-top: 1px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { border-left: 3px solid var(--primary); padding: 4px 0 4px 20px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.1; }
.stat span { display: block; margin-top: 8px; color: rgba(255,255,255,.75); font-size: 15px; }

/* Projects */
.projs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.proj { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; background: #fff; }
.proj-n { font-family: var(--serif); font-weight: 900; color: var(--primary); }
.proj-client { margin: 12px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.proj h3 { font-size: 22px; margin-bottom: 8px; }
.proj p:last-child { margin: 0; color: var(--ink-2); }
.note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; color: var(--ink-2); }
.note .ico { width: 18px; height: 18px; color: var(--primary); }

/* Partners */
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.partner { background: #fff; border-radius: var(--r); padding: 26px 22px; border-top: 4px solid var(--primary); display: flex; flex-direction: column; gap: 4px; }
.p-logo { height: 56px; display: flex; align-items: center; margin-bottom: 12px; }
.partner strong { font-family: var(--serif); font-size: 19px; font-weight: 900; }
.partner span { color: var(--ink-2); font-size: 15px; }
.certs { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; }
.certs p { margin: 0; font-weight: 700; }

/* CTA */
.cta-sec { padding: 72px 0; }
.cta { background: var(--primary); color: #fff; border-radius: var(--r); padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { font-size: clamp(26px, 3vw, 38px); }
.cta p { margin: 10px 0 0; opacity: .92; }

/* Legal */
.legal-sec { padding: 72px 0 96px; }
.prose { font-size: 16.5px; line-height: 1.75; color: #222; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--primary); text-underline-offset: 3px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.contact-info { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.contact-info .ico, .foot-contact .ico { color: var(--primary); }
.contact-info a { text-decoration: none; border-bottom: 1px solid var(--primary); }
.contact-form { border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: grid; gap: 16px; background: #fff; }
.contact-form h3 { font-size: 22px; font-weight: 900; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--dark); outline: none; box-shadow: 0 0 0 3px rgba(225, 32, 1, .18); }
.contact-form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--ink-2); }
.contact-form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.contact-form .consent a { color: var(--ink); }
.contact-form .btn { justify-self: start; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--muted); border-left: 4px solid var(--dark); font-weight: 600; }
.form-msg.err { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); border-left-width: 4px; }

/* Footer */
.site-foot { background: var(--dark); color: rgba(255,255,255,.75); padding: 64px 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { margin-top: 18px; max-width: 34ch; }
.site-foot h3 { color: #fff; font-family: var(--serif); font-size: 16px; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-contact li { display: flex; align-items: center; gap: 10px; }
.foot-contact .ico { width: 18px; height: 18px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; padding-bottom: 26px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.foot-base p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .cards.n4, .partners, .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .site-nav ul { gap: 20px; }
}
@media (max-width: 900px) {
  :root { --head-h: 72px; }
  .wrap { padding: 0 20px; }
  .menu-btn { display: block; }
  .brand img { height: 40px; }
  .site-nav { position: fixed; inset: var(--head-h) 0 auto 0; background: #0b0b0b; border-top: 1px solid rgba(255,255,255,.1); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav.open { max-height: calc(100vh - var(--head-h)); overflow-y: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 24px; }
  .site-nav a:not(.btn) { display: block; padding: 13px 8px; font-size: 17px; border-radius: 6px; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { background: rgba(255,255,255,.08); }
  .nav-cta { margin-top: 12px; }
  .nav-cta .btn { width: 100%; min-height: 50px; }
  .sec { padding: 64px 0; }
  .hero { padding: 24px 0 56px; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media { max-width: 420px; order: -1; }
  .reverse .split-media { order: 0; }
  .split-media { max-width: 480px; }
  .cards, .projs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .steps .line { display: none; }
  .faq { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .pagehero { padding: 64px 0 56px; }
  .quote-box { min-height: 380px; }
}
@media (max-width: 560px) {
  .cards, .cards.n4, .cards.n2, .projs, .partners { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .steps { grid-template-columns: 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .contact-form .btn { justify-self: stretch; }
  .btns .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .logos li { flex: 0 1 calc(50% - 9px); }
  .logos li > *, .logos li > a { height: 80px; padding: 14px; }
  .quote-inner { padding: 48px 22px; }
  .brand strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .statement .word { transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Readability on every screen size ---------- */
h1, h2, h3, .hero-sub, blockquote { text-wrap: balance; }
.nw { white-space: nowrap; }
p, li, .lead { text-wrap: pretty; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
.lead { max-width: 62ch; }
.sec-head .lead { margin-left: auto; margin-right: auto; }
.sec-head.left .lead { margin-left: 0; }
.prose { max-width: 72ch; }
.card { align-items: flex-start; text-align: left; padding: 30px 26px; }
.card p { max-width: 46ch; }
.logos li { flex: 0 1 calc((100% - 7 * 18px) / 8); min-width: 112px; }
.split-media img { object-position: center 22%; }
@media (max-width: 1100px) {
  .logos li { flex-basis: calc((100% - 3 * 18px) / 4); }
  .hero h1 { font-size: clamp(38px, 5.4vw, 60px); }
}
@media (max-width: 900px) {
  .split-media { margin: 0 auto; width: 100%; }
  .split-copy .sec-head { margin-bottom: 20px; }
  .steps { gap: 28px 32px; max-width: 720px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start; text-align: left; }
  .step .num { grid-row: span 2; margin: 0; }
  .step h3 { margin: 10px 0 4px; }
  .step p { max-width: none; }
}
.contact-grid { align-items: start; }
@media (max-width: 700px) {
  .hero-copy { text-align: left; align-items: flex-start; }
  .hero h1, .hero-sub, .hero-text { margin-left: 0; margin-right: 0; }
  .badge { align-items: flex-start; }
  .sec-head { text-align: left; margin-left: 0; margin-bottom: 32px; }
  .sec-head .lead, .statement .lead { margin-left: 0; }
  .statement .center { text-align: left; }
  .clients-head { text-align: left; }
  .chips { justify-content: flex-start; }
  .btns.center { justify-content: flex-start; }
  .pagehero .lead { font-size: 17px; }
  .lead { font-size: 16px; }
  .cta h2 { font-size: clamp(26px, 7vw, 34px); }
}
@media (max-width: 560px) {
  .logos li { flex-basis: calc(50% - 9px); min-width: 0; }
  .steps { gap: 22px; }
  .card { padding: 26px 22px; }
  .split-media figcaption { left: 12px; bottom: 12px; right: 12px; }
}

/* =========================================================
   Premium layer ~ refined type, hairlines, sharper corners,
   more breathing room. Brand colours only.
   ========================================================= */
:root { --r: 6px; --r-btn: 4px; --line: rgba(17,17,17,.1); --line-dark: rgba(255,255,255,.12); --ease: cubic-bezier(.2,.7,.2,1); }
body { font-size: 16.5px; color: #1a1a1a; }
::selection { background: var(--primary); color: #fff; }

/* Type */
h1, h2 { font-weight: 700; letter-spacing: -0.022em; }
h1 { line-height: 1.08; }
.sec-head h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; }
.eyebrow, .clients-head { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--primary); margin: 0 0 18px; }
.eyebrow::before, .clients-head::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.sec-head:not(.left) .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 17.5px; line-height: 1.75; margin-top: 20px; }
.sec-head { margin-bottom: 64px; }
.sec { padding: 128px 0; }

/* Buttons */
.btn { min-height: 52px; padding: 14px 28px; font-size: 14.5px; font-weight: 600; letter-spacing: .04em; border-width: 1px; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { box-shadow: 0 10px 24px -12px rgba(225,32,1,.7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(225,32,1,.75); }
.btn-dark:hover { box-shadow: 0 14px 28px -14px rgba(0,0,0,.6); }
.btns { gap: 12px; margin-top: 36px; }

/* Header */
.site-head { background: rgba(10,10,10,.97); border-bottom: 1px solid var(--line-dark); }
.site-nav a:not(.btn) { font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.site-nav a:not(.btn)::after { height: 1px; bottom: -6px; }
.site-nav .btn { min-height: 44px; padding: 10px 20px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* Home hero */
.hero { padding: 72px 0 120px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 0%, transparent 75%); opacity: .55; pointer-events: none; }
.hero-grid { position: relative; gap: 80px; }
.hero h1 { font-size: clamp(42px, 5.4vw, 78px); }
.hero-sub { font-weight: 700; color: #1a1a1a; }
.badge { border: 0; border-left: 2px solid var(--primary); border-radius: 0; padding: 2px 0 2px 14px; align-items: flex-start; }
.hero-copy .badge { align-self: center; }
.hero-media { position: relative; max-width: 500px; }
.hero-media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--primary); border-radius: var(--r); z-index: -1; }
.hero-media::after { content: ""; position: absolute; left: -18px; top: 40px; width: 4px; height: 96px; background: var(--primary); }
.hero-media img { box-shadow: 0 40px 80px -30px rgba(0,0,0,.45); }

/* Inner page hero */
.pagehero { padding: 128px 0 112px; background: #0a0a0a; }
.pagehero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(225,32,1,.22), transparent); pointer-events: none; z-index: 1; }
.pagehero h1 { font-size: clamp(38px, 5.2vw, 68px); }
.pagehero .lead { font-size: 18.5px; color: rgba(255,255,255,.78); }
.crumbs ol { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 36px; }

/* Dark sections: soft red glow + hairlines */
.sec.dark, .quote { position: relative; background: #0a0a0a; overflow: hidden; }
.sec.dark::before { content: ""; position: absolute; left: -15%; bottom: -50%; width: 55%; height: 120%; background: radial-gradient(closest-side, rgba(225,32,1,.16), transparent); pointer-events: none; }
.sec.dark > .wrap { position: relative; }
.dark .lead { color: rgba(255,255,255,.7); }

/* Quote */
.quote { padding: 0; }
.quote .wrap { max-width: none; padding: 0; }
.quote-box { border-radius: 0; min-height: 560px; }
.quote-shade { background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.82)); }
.quote-inner::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--primary); margin-bottom: 18px; }
.quote blockquote { font-weight: 700; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.3; letter-spacing: -.01em; }
.quote-src { letter-spacing: .24em; font-size: 12px; }

/* Logo wall */
.logos { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logos li { flex: 0 0 12.5%; min-width: 0; }
.logos li > *, .logos li > a { height: 120px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.logos img { opacity: .55; transition: opacity .3s var(--ease), transform .3s var(--ease); max-width: 110px; max-height: 36px; }
.logos li:hover img { opacity: 1; transform: scale(1.04); }
.logos a:hover { box-shadow: none; background: #fff; }

/* Cards */
.cards { gap: 1px; background: var(--dark); border: 1px solid var(--dark); border-radius: var(--r); overflow: hidden; max-width: none; }
.cards.n2 { max-width: 900px; }
.card { position: relative; border: 0; border-radius: 0; background: var(--dark-soft); padding: 44px 36px 38px; gap: 14px; transition: background .4s var(--ease); }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--primary); transition: width .5s var(--ease); }
a.card:hover { transform: none; background: #0a0a0a; }
a.card:hover::before { width: 100%; }
.card-n { position: absolute; top: 40px; right: 36px; font-family: var(--serif); font-weight: 700; font-size: 14px; color: rgba(255,255,255,.28); letter-spacing: .04em; }
.card-ico { width: 34px; height: 34px; stroke-width: 1.3; margin-bottom: 10px; }
.card h3 { font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.card p { font-size: 15px; color: rgba(255,255,255,.66); line-height: 1.7; }
.card .more { padding-top: 18px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; }

/* Statement */
.statement { padding: 150px 0 140px; }
.statement h2 { font-weight: 300; letter-spacing: -.04em; }
.statement .word { font-weight: 700; font-style: italic; }

/* Steps */
.num { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); font-weight: 700; font-size: 15px; }
.step:first-of-type .num, .step:hover .num { background: var(--primary); border-color: var(--primary); }
.num { transition: background .3s, border-color .3s; }
.steps .line { height: 1px; }
.step h3 { font-size: 17px; margin-top: 6px; }

/* FAQ */
.faq { gap: 0 48px; }
.faq > div { gap: 0; }
.qa { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.faq > div > .qa:first-child { border-top: 1px solid var(--line); }
.qa summary { padding: 22px 0; font-size: 16.5px; }
.qa summary:hover { color: var(--primary); }
.qa .ans { padding: 0 0 22px; font-size: 15.5px; line-height: 1.75; }

/* Clients */
.clients { padding: 80px 0; background: #fff; }
.clients-head { display: flex; justify-content: center; margin-bottom: 28px; }
.clients-head::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.chips { gap: 12px 36px; }
.chips li { border: 0; border-radius: 0; padding: 0; background: none; font-family: var(--serif); font-weight: 700; font-size: 17px; color: #2a2a2a; position: relative; }
.chips li + li::before { content: ""; position: absolute; left: -20px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--primary); transform: translateY(-50%); }

/* Split + portrait */
.split { gap: 96px; }
.split-media img { border-radius: var(--r); }
.has-portrait .split { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 96px; max-width: 1080px; margin: 0 auto; }
.split-media.portrait { max-width: 360px; width: 100%; justify-self: center; }
.split-media.portrait::before { content: ""; position: absolute; inset: 22px -22px 64px 22px; border: 1px solid var(--primary); border-radius: var(--r); z-index: -1; }
.split-media.portrait img { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.split-media.portrait figcaption { position: static; background: none; box-shadow: none; border-radius: 0; padding: 18px 0 0; flex-direction: column; gap: 2px; }
.split-media.portrait figcaption strong { font-family: var(--serif); font-size: 18px; }
.split-media.portrait figcaption span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.split-sec { position: relative; isolation: isolate; }

/* Stats */
.stats { gap: 0; border-top: 1px solid var(--line-dark); }
.stat { border-left: 0; border-right: 1px solid var(--line-dark); padding: 40px 28px 8px; }
.stat:last-child { border-right: 0; }
.stat strong { font-weight: 700; font-size: clamp(38px, 4vw, 56px); letter-spacing: -.02em; }
.stat strong::after { content: ""; display: block; width: 24px; height: 2px; background: var(--primary); margin-top: 16px; }
.stat span { font-size: 14.5px; color: rgba(255,255,255,.62); margin-top: 14px; }

/* Projects + partners */
.proj { border-radius: var(--r); padding: 40px; transition: border-color .3s, box-shadow .3s; }
.proj:hover { border-color: rgba(17,17,17,.3); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); }
.proj-n { font-size: 14px; letter-spacing: .1em; }
.proj h3 { font-weight: 700; font-size: 24px; }
.partner { border-radius: var(--r); border: 1px solid var(--line); border-top: 2px solid var(--primary); padding: 32px 28px; }
.partner strong { font-weight: 700; }

/* CTA: black panel, red accent */
.cta-sec { padding: 112px 0; }
.cta { position: relative; overflow: hidden; background: #0a0a0a; border-radius: var(--r); padding: 72px 72px; }
.cta::before { content: ""; position: absolute; right: -10%; top: -60%; width: 55%; height: 220%; background: radial-gradient(closest-side, rgba(225,32,1,.35), transparent); pointer-events: none; }
.cta::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary); }
.cta > * { position: relative; }
.cta h2 { font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); }
.cta p { color: rgba(255,255,255,.72); opacity: 1; }
.cta .btn-light { background: var(--primary); color: #fff; box-shadow: 0 12px 28px -12px rgba(225,32,1,.8); }
.cta .btn-light:hover { background: #fff; color: var(--dark); }

/* Contact form */
.contact-form { border-radius: var(--r); padding: 44px; box-shadow: 0 40px 80px -50px rgba(0,0,0,.35); }
.contact-form h3 { font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { border-radius: 4px; border: 1px solid rgba(17,17,17,.18); background: #fafafa; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { background: #fff; }
.contact-form label { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.contact-form .consent { text-transform: none; letter-spacing: 0; font-size: 14px; }

/* Footer */
.site-foot { background: #0a0a0a; padding-top: 96px; border-top: 3px solid var(--primary); }
.site-foot h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.site-foot ul { gap: 12px; }
.foot-base { margin-top: 72px; font-size: 12.5px; letter-spacing: .04em; }

/* Calmer reveal */
.reveal { transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }

@media (max-width: 1100px) {
  .logos li { flex-basis: 25%; }
  .stats { border-top: 0; }
  .stat { border-right: 0; border-top: 1px solid var(--line-dark); }
  .hero-grid { gap: 56px; }
}
@media (max-width: 900px) {
  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 44px; }
  .hero { padding: 32px 0 88px; }
  .hero-media::before { inset: 18px -14px -18px 18px; }
  .hero-media::after { display: none; }
  .hero-copy .badge { align-self: auto; }
  .pagehero { padding: 88px 0 72px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .split, .has-portrait .split { grid-template-columns: 1fr; gap: 48px; }
  .split-media.portrait { max-width: 300px; justify-self: start; margin: 0; }
  .faq { gap: 0; }
  .faq > div + div > .qa:first-child { border-top: 0; }
  .cta { padding: 48px 32px; }
  .cta-sec { padding: 80px 0; }
  .quote-box { min-height: 440px; }
  .statement { padding: 110px 0 100px; }
  .site-nav a:not(.btn) { font-size: 14px; }
}
@media (max-width: 700px) {
  .sec-head:not(.left) .eyebrow::after { display: none; }
  .clients-head { justify-content: flex-start; }
  .clients-head::after { display: none; }
}
@media (max-width: 560px) {
  .sec { padding: 72px 0; }
  .logos li { flex-basis: 50%; }
  .logos li > *, .logos li > a { height: 96px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 36px 26px 30px; }
  .card-n { top: 32px; right: 26px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px 4px 0; }
  .split-media.portrait { max-width: 240px; }
  .split-media.portrait::before { inset: 14px -14px 60px 14px; }
  .contact-form { padding: 26px; }
  .chips { gap: 10px 28px; }
  .chips li { font-size: 15.5px; }
  .chips li + li::before { left: -16px; }
  .quote-inner::before { font-size: 90px; }
  .site-foot { padding-top: 72px; }
}
/* fixes */
.sec.quote { padding: 0; }
.chips li + li::before { left: auto; transform: none; }
.chips li::before, .chips li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); margin-right: 12px; vertical-align: middle; position: relative; top: -2px; }
@media (max-width: 700px) { .chips { flex-direction: column; gap: 12px; } .chips li { padding-left: 17px; text-indent: -17px; } }
.eyebrow::before, .clients-head::before { flex: none; }
