/* ============================================================
   NexusPCTech — liquid chrome editorial
   Obsidian ground, chrome-plated display type, fog product section,
   one iridescent accent reserved for hover and price.
   ============================================================ */

:root {
  --obsidian: #0a0a0e;
  --graphite: #17181d;
  --graphite-2: #1f2027;
  --steel: #9a9daa;
  --steel-dim: #5c5f6b;
  --fog: #ebecef;
  --fog-deep: #dcdee3;
  --ink: #101116;
  --line: rgba(230, 232, 240, 0.1);
  --line-strong: rgba(230, 232, 240, 0.22);

  --chrome-ramp: linear-gradient(
    105deg,
    #565963 0%,
    #f8f9fb 16%,
    #b0b3bf 30%,
    #ffffff 46%,
    #83868f 58%,
    #e8eaf0 74%,
    #6f7280 88%,
    #d5d7de 100%
  );
  --oilslick: linear-gradient(100deg, #fc7a1e, #ec3358 30%, #d920bc 55%, #5d4ef4 100%);

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Space Grotesk', 'Segoe UI', sans-serif;
  --mono: 'Space Mono', 'Consolas', monospace;

  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --measure: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--obsidian);
  color: #eceef4;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

::selection { background: #d920bc; color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid #5d4ef4;
  outline-offset: 3px;
}

/* ---------- chrome type ---------- */
.chrome {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  background-image: var(--chrome-ramp);
  background-size: 220% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chrome-animated { animation: sheen 9s ease-in-out infinite; }
@keyframes sheen {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* ---------- shared text bits ---------- */
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1.1rem;
}
.eyebrow-dark { color: #6a6d78; }

h1 { font-size: clamp(3.4rem, 11vw, 9rem); line-height: 0.98; margin: 0; }
h2 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; margin: 0; }

.section-sub {
  color: var(--steel);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 52ch;
  margin: 1.4rem 0 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-chrome {
  background: var(--chrome-ramp);
  background-size: 220% 100%;
  color: #0c0c10;
}
.btn-chrome:hover { background-image: var(--oilslick); color: #fff; }

.btn-line {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: #eceef4;
}
.btn-line:hover { border-color: var(--steel); }

.btn-ink {
  background: var(--ink);
  color: #f2f3f7;
}
.btn-ink:hover { background-image: var(--oilslick); }

.btn-full { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem var(--pad-x);
  border-bottom: 1px solid rgba(230, 232, 240, 0.14);
}
.nav-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo { width: 40px; height: auto; border-radius: 6px; }
.nav-wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f2f3f7;
}
.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #ffffff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(10, 10, 14, 0.5) 0%, rgba(10, 10, 14, 0.25) 40%, rgba(10, 10, 14, 0.94) 96%),
    url('assets/customer-pc-2.jpg');
  background-size: cover;
  background-position: center 40%;
  animation: hero-drift 24s ease-in-out infinite alternate;
}
@keyframes hero-drift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.hero-content {
  position: relative;
  padding: 7rem var(--pad-x) 4rem;
  max-width: 980px;
}
.hero-content .eyebrow {
  color: #e3e5ee;
  text-shadow: 0 1px 8px rgba(10, 10, 14, 0.8);
}
.hero-sub {
  color: #c6c9d4;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  max-width: 54ch;
  margin: 1.8rem auto 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

/* ---------- trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--graphite);
}
.trust-strip > div {
  padding: 1.5rem var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-left: 1px solid var(--line);
}
.trust-strip > div:first-child { border-left: none; }
.trust-strip b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f2f3f7;
}
.trust-strip span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

/* ---------- sections ---------- */
.section {
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x);
  max-width: calc(var(--measure) + 2 * 4rem);
  margin: 0 auto;
}
.section-wide { max-width: none; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- what we do ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 140px 1fr 1.2fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}
.service-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel-dim);
}
.service-row h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  color: #f2f3f7;
  transition: color 0.25s ease;
}
.service-row:hover h3 {
  background-image: var(--chrome-ramp);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.service-row p {
  margin: 0;
  color: var(--steel);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ---------- who we are ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.25rem;
}
.about-card {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2.25rem 2rem 2.5rem;
}
.about-card .eyebrow { margin-bottom: 0.9rem; color: var(--steel-dim); }
.about-card h3 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1; margin: 0 0 1rem; }
.about-card p {
  margin: 0 0 1.5rem;
  color: var(--steel);
  font-size: 0.95rem;
  line-height: 1.7;
}
.cred-list {
  list-style: none;
  margin: 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.cred-list li {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.cred-list li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: var(--chrome-ramp);
}

/* ---------- past builds ---------- */
.section-wide .section-head { max-width: var(--measure); margin-left: auto; margin-right: auto; }
.builds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1rem;
}
.build-photo { margin: 0; position: relative; overflow: hidden; border-radius: 6px; }
.build-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.build-photo:hover img { transform: scale(1.03); }
.build-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem 1.4rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 14, 0.85));
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8dae2;
}

/* ---------- for sale (fog) ---------- */
.section-light {
  background: var(--fog);
  color: var(--ink);
  padding: clamp(4rem, 9vw, 8rem) var(--pad-x);
}
.section-light-inner { max-width: var(--measure); margin: 0 auto; }
.ink-display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.forsale-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.forsale-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
}
.forsale-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.forsale-thumbs img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.5;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.forsale-thumbs img:hover { opacity: 0.85; }
.forsale-thumbs img.is-active { opacity: 1; border-color: var(--ink); }

.product-panel {
  background: #ffffff;
  border-radius: 6px;
  padding: 2.25rem 2rem 2.5rem;
  box-shadow: 0 20px 60px rgba(16, 17, 22, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.product-topline { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.product-kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6d78;
}
.product-flag {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: #fff;
  background-image: var(--oilslick);
}
.product-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.3rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.spec-sheet {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--fog-deep);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.spec-sheet dt { color: #8b8e99; }
.spec-sheet dd { margin: 0; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.product-note { margin: 0; font-size: 0.92rem; line-height: 1.65; color: #4c4f59; }
.product-price { display: flex; align-items: baseline; gap: 0.8rem; margin-top: auto; }
.price-now {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 2.1rem;
  background-image: var(--oilslick);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-was {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #9a9daa;
  text-decoration: line-through;
}

/* ---------- banner ---------- */
.banner {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--pad-x);
  background-image:
    linear-gradient(180deg, rgba(10, 10, 14, 0.62), rgba(10, 10, 14, 0.78)),
    url('assets/customer-pc-1.jpg');
  background-size: cover;
  background-position: center 35%;
}
.banner-content { max-width: 760px; }
.banner p {
  color: #c6c9d4;
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 1.5rem auto 0;
  max-width: 54ch;
}

/* ---------- builder ---------- */
.builder-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}
.field-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 1rem;
}
.builder-parts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem 1.25rem;
  margin-bottom: 2.25rem;
}
.builder-part label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
  margin-bottom: 0.5rem;
}
.builder-part select,
.field {
  width: 100%;
  background: var(--graphite);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: #eceef4;
  font-family: var(--body);
  font-size: 0.93rem;
  padding: 0.85rem 1rem;
}
.builder-part select { cursor: pointer; }
.builder-part select:focus, .field:focus {
  outline: none;
  border-color: #d920bc;
}
textarea.field { resize: vertical; }
.field::placeholder { color: var(--steel-dim); }

.builder-extras { margin-bottom: 2.25rem; }
.builder-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--steel);
  padding: 0.35rem 0;
  cursor: pointer;
}
.builder-check input { accent-color: #d920bc; width: 15px; height: 15px; }
.builder-check em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--steel-dim);
}

.builder-contact { display: flex; flex-direction: column; gap: 0.8rem; }

.builder-summary {
  background: var(--graphite);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.9rem 1.75rem;
  position: sticky;
  top: 1.5rem;
}
.summary-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--steel);
}
.summary-list li b {
  color: #eceef4;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line-strong);
  padding-top: 1.2rem;
  margin-bottom: 1.1rem;
}
.summary-total span {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-dim);
}
.summary-total b {
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  filter: none;
}
.summary-note {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--steel-dim);
  margin: 0 0 1.4rem;
}
.summary-sent {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #2fd97c;
}

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--graphite);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.contact-grid h2 { margin-bottom: 0; }
.contact-grid .section-sub { margin-bottom: 1.9rem; }
.contact-socials { display: flex; flex-direction: column; }
.social-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eceef4;
  transition: color 0.2s ease;
}
.social-link:hover {
  background-image: var(--oilslick);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.social-link em {
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.74rem;
  color: var(--steel-dim);
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-note {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- motion + responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chrome-animated, .hero-photo { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 0.7rem; }
  .forsale-grid, .builder-grid, .contact-grid { grid-template-columns: 1fr; }
  .builder-summary { position: static; }
}
