/* X-pect.solutions. Rebuilt from the Avantex Construction theme the WordPress site used:
   Jost throughout, heavy uppercase headings, near-black ink, light gray accent, dark photo overlays. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
}

:root {
  --ink: #141409;
  --night: #07070c;
  --accent: #d9d9d9;
  --text: #2b2b26;
  --muted: #6f6f68;
  --line: #e6e6e1;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --wrap: 1320px;
  --font: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--ink); text-transform: uppercase; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, .lede { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }

.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.2em; text-transform: none; color: var(--ink); margin: 0 0 10px; }
.on-dark .eyebrow, .eyebrow.light { color: #fff; }
.tag { display: inline-block; position: relative; padding: 6px 18px 8px; background: rgba(217, 217, 217, 0.35); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.tag::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0.9) 0 70%, rgba(255,255,255,0.3) 70%); }
.rule { width: 48px; height: 6px; margin: 18px auto 0; border-top: 2px solid rgba(255,255,255,0.55); border-bottom: 2px solid rgba(255,255,255,0.25); }

.btn { display: inline-block; padding: 15px 40px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--ink); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.outline { background: transparent; color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.more { display: inline-block; position: relative; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: #fff; }
.more::before { content: ""; position: absolute; left: 0; bottom: -4px; width: 8px; height: 2px; background: currentColor; transition: width 0.25s; }
.more:hover::before { width: 100%; }

/* ---------------------------------------------------------------- header */

.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.topbar { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: flex; align-items: stretch; justify-content: space-between; background: var(--accent); font-size: 14px; color: var(--ink); }
.topbar a { text-decoration: none; }
.topbar .mail { display: flex; align-items: center; gap: 8px; padding: 9px 18px; border-right: 1px solid rgba(20,20,9,0.15); }
.topbar .mail svg { width: 14px; height: 14px; fill: currentColor; }
.topbar .go { display: flex; align-items: center; padding: 0 38px; background: #595954; color: #fff; font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; }
.topbar .go:hover { background: var(--ink); }
.mainbar { width: min(var(--wrap), 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 40px; background: var(--ink); }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 26px; }
.nav a { color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 500; font-size: 15px; letter-spacing: 0.02em; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* ---------------------------------------------------------------- hero slider */

.hero { position: relative; min-height: min(820px, 100svh); background: var(--ink); color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; visibility: hidden; transition: opacity 0.8s, visibility 0s 0.8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.8s; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s ease-out; }
.slide.is-active > img { transform: scale(1); }
.slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.45)); }
.slide .copy { position: relative; z-index: 2; padding: 200px 20px 120px; max-width: 900px; }
.slide h1, .slide h2 { color: #fff; font-size: clamp(46px, 8vw, 96px); margin: 30px 0 22px; }
.slide p { font-size: 19px; margin-bottom: 34px; }
.slider-nav button { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); background: none; border: 0; color: #fff; font: 500 13px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; padding: 16px 10px; writing-mode: vertical-rl; }
.slider-nav .prev { left: 10px; transform: translateY(-50%) rotate(180deg); }
.slider-nav .next { right: 10px; }
.slider-nav button:hover { color: var(--accent); }
.no-js .slide:first-child { opacity: 1; visibility: visible; }

/* ---------------------------------------------------------------- sections */

.section { padding: 110px 0; }
.section.soft { background: var(--soft); }
.head-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.head-center h2 { font-size: clamp(36px, 5vw, 54px); }
.head-center p { margin: 12px 0 0; font-size: 18px; }

.company { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.framed { position: relative; isolation: isolate; margin: 0 24px 24px 0; }
.framed::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; background: var(--ink); }
.framed::before { content: ""; position: absolute; inset: 8px -8px -8px 8px; z-index: 0; background: var(--accent); }
.framed img { position: relative; z-index: 1; width: 100%; }
.framed.small { max-width: 400px; justify-self: center; }
.company h2 { font-size: clamp(40px, 5vw, 56px); margin-bottom: 26px; }
.company .lead { font-size: 19px; color: var(--ink); }
.points { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; }
.points li::before { content: ""; width: 14px; height: 14px; margin-top: 7px; background: var(--ink); box-shadow: 5px 5px 0 var(--accent); }
.points b { color: var(--ink); }

.tools { position: relative; color: #fff; background: var(--ink); }
.tools > img { position: absolute; inset: 0; width: 100%; height: 62%; object-fit: cover; opacity: 0.45; }
.tools .wrap { position: relative; }
.tools .head-center h2 { color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--night); padding: 50px 48px 56px; }
.card h3 { color: #fff; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 18px; }
.card p { color: rgba(255,255,255,0.86); font-size: 16px; }
.card .more { margin: 6px 0 22px; }
.card img { width: 100%; aspect-ratio: 380 / 250; object-fit: cover; }

.featured { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { position: relative; overflow: hidden; background: var(--ink); }
.feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s, opacity 0.3s; }
.feature:hover img { transform: scale(1.05); opacity: 0.7; }
.feature span { position: absolute; left: 0; bottom: 0; padding: 12px 22px; background: #fff; color: var(--ink); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }

.callout { position: relative; padding: 130px 0; text-align: center; color: #fff; background: var(--ink); overflow: hidden; }
.callout > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.callout::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15, 13, 29, 0.65); }
.callout .wrap { position: relative; z-index: 2; }
.callout h2 { color: #fff; font-size: clamp(38px, 6vw, 68px); margin: 6px 0 34px; }

.products { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.product { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ink); }
.product img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: transform 0.6s; }
.product:hover img { transform: scale(1.04); }
.product .copy { position: relative; padding: 40px; }
.product h3 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin: 18px 0 10px; }

/* ---------------------------------------------------------------- inner pages */

.page-title { position: relative; padding: 250px 0 110px; text-align: center; color: #fff; background: var(--ink); overflow: hidden; }
.page-title > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-title::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 9, 15, 0.72); }
.page-title .wrap { position: relative; z-index: 2; }
.page-title h1 { color: #fff; font-size: clamp(44px, 7vw, 80px); }
.crumbs { margin: 16px 0 0; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }

.prose { max-width: 780px; }
.prose h2 { font-size: 26px; margin: 42px 0 12px; }
.prose a { color: var(--ink); font-weight: 500; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-box { background: var(--soft); padding: 40px; border-top: 4px solid var(--ink); }
.contact-box h3 { font-size: 20px; margin-bottom: 12px; }
.contact-box a { color: var(--ink); font-weight: 600; font-size: 18px; word-break: break-word; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 80px 0 0; font-size: 16px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; letter-spacing: 0.02em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .fl { width: 170px; margin-bottom: 18px; }
.site-footer .fine { margin-top: 64px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------------------------------------------------------------- coming soon */

.soon { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: #fff; background: var(--ink); overflow: hidden; }
.soon > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soon::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,7,12,0.55), rgba(7,7,12,0.35) 45%, rgba(7,7,12,0.8)); }
.soon .site-header { position: relative; }
.soon main { position: relative; z-index: 2; flex: 1; display: grid; place-items: center; text-align: center; padding: 60px 20px 80px; }
.soon h1 { color: #fff; font-size: clamp(54px, 11vw, 128px); margin: 32px 0 20px; }
.soon .lede { font-size: clamp(18px, 2.2vw, 22px); max-width: 620px; margin: 0 auto 38px; }
.soon .names { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 40px; }
.soon .names li { padding: 8px 18px; border: 1px solid rgba(255,255,255,0.4); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.soon .foot { position: relative; z-index: 2; width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.7); border-top: 1px solid rgba(255,255,255,0.18); }
.soon .foot a { text-decoration: none; }
.soon .foot a:hover { color: #fff; }

.preview-bar { position: fixed; left: 16px; bottom: 16px; z-index: 50; padding: 8px 14px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; box-shadow: 0 6px 24px rgba(0,0,0,0.25); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .featured { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: 1fr; gap: 56px; }
  .company .framed { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar .mail { padding: 8px 12px; font-size: 13px; }
  .topbar .go { padding: 0 16px; }
  .mainbar { padding: 14px 18px; }
  .brand img { width: 116px; }
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .section { padding: 80px 0; }
  .slide .copy { padding-top: 170px; }
  .slider-nav button { font-size: 11px; }
  .products { grid-template-columns: 1fr; }
  .product { min-height: 340px; }
  .card { padding: 40px 28px 44px; }
  .site-footer .cols { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .topbar .go { display: none; }
  .featured { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
