﻿/*
Theme Name: Singularity Distributors
Theme URI: https://singularitydistributors.com
Author: Singularity Distributors
Description: Custom corporate WordPress theme for Singularity Distributors.
Version: 1.0.1
Text Domain: singularity-distributors
*/
:root {
  --blue-900: #063f70;
  --blue-700: #075990;
  --blue-100: #e8f3fb;
  --teal-600: #137c7a;
  --green-500: #6e9f42;
  --coral-500: #d96846;
  --ink: #162330;
  --muted: #62717f;
  --line: #dbe4ec;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --shadow: 0 18px 55px rgba(10, 45, 73, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--blue-900);
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 14px 0;
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
body:not(.home) .site-header {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(16, 35, 51, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner,
.footer-grid,
.footer-bottom,
.hero-content,
.trust-strip,
.section-intro,
.solutions-grid,
.split-section,
.quality-band,
.news-section,
.product-showcase,
.cta-section,
.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  background: transparent;
  border: 0;
}

.site-header.is-scrolled .brand img,
body:not(.home) .brand img {
  box-shadow: 0 0 0 1px rgba(6, 63, 112, 0.08);
}

.primary-nav .menu,
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  font-size: 0.95rem;
  font-weight: 650;
  opacity: 0.92;
}

.primary-nav a:hover,
.section-heading-row a:hover,
.news-grid a:hover,
.footer-links a:hover {
  color: var(--coral-500);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 37, 67, 0.92) 0%, rgba(6, 63, 112, 0.7) 46%, rgba(6, 63, 112, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1));
}

.hero-content {
  padding: 130px 0 96px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-section .eyebrow,
.quality-band .eyebrow,
.cta-section .eyebrow {
  color: #a9dfd6;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-content h1 {
  max-width: 720px;
  font-size: clamp(2.5rem, 6vw, 5.9rem);
  font-weight: 790;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
}

.hero-actions,
.cta-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 760;
}

.button.primary {
  color: var(--paper);
  background: var(--coral-500);
}

.button.secondary {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -50px;
  position: relative;
  z-index: 4;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 132px;
  padding: 28px;
  background: var(--paper);
}

.trust-strip strong,
.process-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 1.08rem;
}

.trust-strip span,
.process-list p,
.section-intro p,
.solutions-grid p,
.quality-band p,
.news-grid p,
.site-footer p {
  color: var(--muted);
}

.section-intro {
  padding: 94px 0 30px;
}

.section-intro h2,
.split-section h2,
.quality-band h2,
.news-section h2,
.cta-section h2,
.content-page h1 {
  max-width: 790px;
  color: var(--ink);
  font-size: clamp(2rem, 3.2vw, 3.45rem);
}

.section-intro p {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-bottom: 92px;
}

.product-showcase {
  padding: 40px 0 0;
}

.solutions-grid article,
.product-card,
.news-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.solutions-grid article,
.product-card {
  display: block;
  min-height: 290px;
  padding: 26px;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.solutions-grid article:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 38px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue-700);
  font-weight: 800;
}

.solutions-grid article:nth-child(2) .card-icon,
.product-card:nth-child(2) .card-icon {
  background: var(--teal-600);
}

.solutions-grid article:nth-child(3) .card-icon,
.product-card:nth-child(3) .card-icon {
  background: var(--green-500);
}

.solutions-grid article:nth-child(4) .card-icon,
.product-card:nth-child(4) .card-icon {
  background: var(--coral-500);
}

.solutions-grid article:nth-child(5) .card-icon,
.product-card:nth-child(5) .card-icon {
  background: #7a5cbe;
}

.solutions-grid h3,
.product-card h3,
.news-grid h3,
.news-grid h2 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.product-card h3 {
  color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  gap: 18px;
}

.process-list div {
  padding-left: 24px;
  border-left: 4px solid var(--green-500);
}

.process-list div:nth-child(2) {
  border-color: var(--teal-600);
}

.process-list div:nth-child(3) {
  border-color: var(--coral-500);
}

.process-list p {
  margin: 0;
}

.quality-band,
.cta-section {
  background: var(--blue-900);
  color: var(--paper);
}

.quality-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 44px;
  align-items: end;
  width: 100%;
  padding: 76px max(20px, calc((100vw - 1180px) / 2));
}

.quality-band h2,
.cta-section h2 {
  color: var(--paper);
}

.quality-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.news-section {
  padding: 90px 0;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading-row a {
  color: var(--blue-700);
  font-weight: 760;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-grid article {
  min-height: 230px;
  padding: 26px;
}

.news-grid time {
  display: block;
  margin-bottom: 16px;
  color: var(--teal-600);
  font-size: 0.82rem;
  font-weight: 780;
  text-transform: uppercase;
}

.news-grid p {
  margin: 0;
}

.cta-section {
  justify-content: space-between;
  width: 100%;
  padding: 70px max(20px, calc((100vw - 1180px) / 2));
}

.cta-section p {
  max-width: 820px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
}

.cta-section a:not(.button) {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  background: #101922;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 54px;
  padding: 62px 0 36px;
}

.footer-brand {
  color: var(--paper);
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--paper);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  align-items: start;
  gap: 8px;
}

.footer-bottom {
  padding: 20px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.page-shell {
  padding: 150px 0 90px;
}

.content-page {
  max-width: 840px;
}

.entry-content {
  margin-top: 24px;
}

.archive-grid {
  margin-top: 24px;
}

.product-detail-hero,
.product-detail-body {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 150px 0 76px;
}

.product-detail-copy h1 {
  font-size: clamp(2.7rem, 6vw, 5.7rem);
}

.product-detail-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button.secondary.dark {
  color: var(--blue-900);
  border-color: var(--line);
  background: var(--paper);
}

.product-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(232, 243, 251, 0.88), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 20% 22%, rgba(19, 124, 122, 0.18), transparent 32%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.product-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.product-photo img {
  width: 100%;
  height: min(52vw, 520px);
  min-height: 360px;
  object-fit: cover;
}

.product-visual::before,
.product-visual::after,
.product-visual span {
  content: "";
  position: absolute;
  display: block;
  border-radius: 999px;
}

.product-visual::before {
  inset: 42px;
  border: 1px solid rgba(6, 63, 112, 0.12);
}

.product-visual::after {
  width: 64%;
  height: 22px;
  left: 18%;
  top: 52%;
  background: linear-gradient(90deg, #c6d2dc, #eef4f8, #aebdca);
  box-shadow: 0 18px 36px rgba(6, 63, 112, 0.18);
}

.product-visual span:nth-child(1) {
  width: 160px;
  height: 26px;
  left: 24%;
  top: 30%;
  transform: rotate(-22deg);
  background: linear-gradient(90deg, #bbc8d3, #ffffff, #9cadba);
}

.product-visual span:nth-child(2) {
  width: 32px;
  height: 32px;
  left: 54%;
  top: 28%;
  border: 8px solid #aab9c6;
  background: transparent;
}

.product-visual span:nth-child(3) {
  width: 22px;
  height: 170px;
  right: 29%;
  bottom: 22%;
  transform: rotate(16deg);
  background: linear-gradient(#f7fbfd, #b4c1cc);
}

.product-visual span:nth-child(4) {
  width: 84px;
  height: 84px;
  right: 18%;
  top: 20%;
  border: 14px solid rgba(7, 89, 144, 0.42);
  background: transparent;
}

.product-visual-hip::after {
  width: 28px;
  height: 220px;
  left: 50%;
  top: 33%;
  transform: rotate(-10deg);
}

.product-visual-hip span:nth-child(1) {
  width: 128px;
  height: 128px;
  left: 29%;
  top: 24%;
  border: 22px solid #aebdca;
  background: transparent;
}

.product-visual-joint span:nth-child(1),
.product-visual-spine span:nth-child(1) {
  width: 82px;
  height: 82px;
  border: 16px solid #b7c5d0;
  background: transparent;
}

.product-visual-spine::after {
  width: 26px;
  height: 270px;
  left: 48%;
  top: 18%;
  transform: rotate(4deg);
}

.product-visual-spine span:nth-child(1),
.product-visual-spine span:nth-child(2),
.product-visual-spine span:nth-child(3),
.product-visual-spine span:nth-child(4) {
  width: 92px;
  height: 34px;
  left: 40%;
  border: 8px solid #aab9c6;
  background: rgba(255, 255, 255, 0.7);
}

.product-visual-spine span:nth-child(1) { top: 24%; }
.product-visual-spine span:nth-child(2) { top: 36%; }
.product-visual-spine span:nth-child(3) { top: 48%; }
.product-visual-spine span:nth-child(4) { top: 60%; }

.product-visual-tools::after {
  width: 250px;
  height: 44px;
  left: 22%;
  top: 42%;
  transform: rotate(-8deg);
}

.product-visual-tools span:nth-child(1) {
  width: 132px;
  height: 90px;
  left: 26%;
  top: 32%;
  border-radius: 18px;
  background: linear-gradient(135deg, #d9e2e9, #ffffff, #9cadba);
}

.product-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 46px;
  padding: 0 0 90px;
}

.product-detail-body h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.product-detail-body p {
  color: var(--muted);
  font-size: 1.05rem;
}

.product-list-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.product-list-panel h2 {
  margin-bottom: 18px;
  font-size: 1.2rem;
}

.product-list-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-list-panel li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 680;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 30, 0.56);
}

.contact-form {
  position: relative;
  z-index: 1;
  width: min(540px, 100%);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.contact-form h2 {
  margin-bottom: 18px;
  font-size: 1.85rem;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 720;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

.contact-form input[readonly] {
  background: var(--soft);
  color: var(--muted);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .primary-nav {
    position: fixed;
    inset: 76px 20px auto;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    display: grid;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .trust-strip,
  .solutions-grid,
  .news-grid,
  .footer-grid,
  .quality-band,
  .split-section,
  .product-detail-hero,
  .product-detail-body {
    grid-template-columns: 1fr 1fr;
  }

  .quality-band,
  .cta-section {
    align-items: start;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .footer-grid,
  .footer-bottom,
  .hero-content,
  .trust-strip,
  .section-intro,
  .solutions-grid,
  .split-section,
  .news-section,
  .product-showcase,
  .product-detail-hero,
  .product-detail-body,
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    max-width: 170px;
    line-height: 1.1;
  }

  .hero-section {
    min-height: 88vh;
  }

  .hero-content {
    padding: 112px 0 70px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 37, 67, 0.94), rgba(6, 63, 112, 0.62));
  }

  .trust-strip,
  .solutions-grid,
  .news-grid,
  .footer-grid,
  .quality-band,
  .split-section,
  .product-detail-hero,
  .product-detail-body {
    grid-template-columns: 1fr;
  }

  .product-detail-hero {
    padding-top: 118px;
  }

  .product-visual {
    min-height: 320px;
  }

  .product-photo img {
    height: auto;
    min-height: 0;
  }

  .trust-strip {
    margin-top: 0;
    width: 100%;
  }

  .solutions-grid {
    padding-bottom: 64px;
  }

  .section-intro {
    padding-top: 64px;
  }

  .section-heading-row,
  .cta-section {
    display: grid;
  }

  .quality-band,
  .cta-section {
    padding-block: 58px;
  }
}

