/* Salient Mass LLC — corporate marketing site */

:root {
  --black: #000000;
  --bayoux: #435e79;
  --gold: #e88200;
  --gold-hover: #cf7300;
  --slate-950: #0f1724;
  --slate-900: #162032;
  --slate-800: #1e2a3d;
  --slate-700: #2d3f56;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --white: #ffffff;

  --brand-gradient: linear-gradient(135deg, #4c96d7 0%, #3a3a3a 100%);

  --audit-bg: #111827;
  --audit-accent: #38bdf8;
  --audit-border: rgba(56, 189, 248, 0.2);

  --marine-deep: #0c2d48;
  --marine-mid: #145374;
  --marine-accent: #2e8bc0;
  --marine-light: #b1d4e0;
  --marine-surface: #0a2233;

  --font-display: "Instrument Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.2);
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate-100);
  background: var(--slate-950);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 36, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.brand-mark {
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-300);
  transition: color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav a {
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--slate-300);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.btn-audit {
  background: var(--audit-accent);
  color: var(--audit-bg);
}

.btn-audit:hover {
  background: #7dd3fc;
}

.btn-ghost-light {
  background: transparent;
  color: var(--slate-300);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-ghost-light:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-marine {
  background: var(--marine-accent);
  color: var(--white);
}

.btn-marine:hover {
  background: #3da0d4;
}

.btn-ghost-marine {
  background: transparent;
  color: var(--marine-light);
  border-color: rgba(177, 212, 224, 0.35);
}

.btn-ghost-marine:hover {
  background: rgba(46, 139, 192, 0.15);
  color: var(--white);
}

/* Typography helpers */

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.section-lead {
  margin: 0;
  color: var(--slate-300);
  font-size: 1.1rem;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(76, 150, 215, 0.18), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(232, 130, 0, 0.08), transparent),
    linear-gradient(180deg, var(--slate-900) 0%, var(--slate-950) 100%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 52ch;
  color: var(--slate-300);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: min(280px, 70%);
  opacity: 0.95;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.4));
}

/* Stats bar */

.stats-bar {
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(22, 32, 50, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.75rem 1rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Products */

.products {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.product-card {
  margin-bottom: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.product-card:last-child {
  margin-bottom: 0;
}

.product-auditplotter {
  background: linear-gradient(145deg, #0f172a 0%, #111827 50%, #0c1829 100%);
  border: 1px solid var(--audit-border);
}

.product-marine {
  background:
    linear-gradient(160deg, rgba(46, 139, 192, 0.12) 0%, transparent 40%),
    linear-gradient(145deg, var(--marine-surface) 0%, var(--marine-deep) 100%);
  border: 1px solid rgba(46, 139, 192, 0.2);
}

.product-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

.product-card-inner-reverse {
  direction: rtl;
}

.product-card-inner-reverse > * {
  direction: ltr;
}

.product-copy p {
  margin: 0 0 1.25rem;
  color: rgba(241, 245, 249, 0.82);
}

.product-tagline {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white) !important;
}

.product-brand {
  margin-bottom: 1rem;
}

.product-brand img {
  height: 48px;
  width: auto;
}

.feature-list {
  margin: 0 0 1.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.55rem;
  font-size: 0.98rem;
  color: rgba(241, 245, 249, 0.78);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.product-auditplotter .feature-list li::before {
  background: var(--audit-accent);
}

.product-marine .feature-list li::before {
  background: var(--marine-accent);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* AuditPlotter visual panel */

.product-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(56, 189, 248, 0.12);
  color: var(--audit-accent);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* Product screenshots */

.product-screenshot {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.product-screenshot-audit {
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.product-marine .product-screenshot {
  border: 1px solid rgba(177, 212, 224, 0.2);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.screenshot-grid img {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(177, 212, 224, 0.15);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* Philosophy */

.philosophy {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, transparent 0%, rgba(22, 32, 50, 0.6) 50%, transparent 100%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.philosophy-intro h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.philosophy-intro p {
  margin: 0;
  color: var(--slate-300);
}

.principle-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.principle {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s, background 0.2s;
}

.principle:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(232, 130, 0, 0.25);
}

.principle-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.principle-icon svg {
  width: 100%;
  height: 100%;
}

.principle h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.principle p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--slate-500);
  line-height: 1.55;
}

/* Contact */

.contact {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(67, 94, 121, 0.25) 0%, rgba(15, 23, 36, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.contact-copy > p {
  margin: 0 0 1.75rem;
  color: var(--slate-300);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-email-card {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.35rem 0.35rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, background 0.2s;
}

.contact-email-card:hover,
.contact-email-card:focus-within {
  border-color: rgba(232, 130, 0, 0.35);
  background: rgba(0, 0, 0, 0.3);
}

.contact-email-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0;
}

.contact-email-main:hover {
  color: inherit;
}

.btn-copy-email {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-right: 0.15rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  color: var(--slate-500);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.btn-copy-email svg {
  width: 1.1rem;
  height: 1.1rem;
  grid-area: 1 / 1;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-copy-email .icon-check {
  opacity: 0;
  transform: scale(0.85);
}

.btn-copy-email:hover {
  color: var(--gold);
  background: rgba(232, 130, 0, 0.12);
}

.btn-copy-email.is-copied {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
}

.btn-copy-email.is-copied .icon-copy {
  opacity: 0;
  transform: scale(0.85);
}

.btn-copy-email.is-copied .icon-check {
  opacity: 1;
  transform: scale(1);
}

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, background 0.2s;
}

.contact-link:hover {
  border-color: rgba(232, 130, 0, 0.35);
  background: rgba(0, 0, 0, 0.3);
}

.contact-link-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.contact-email-address,
.contact-link span:last-child {
  font-weight: 500;
  color: var(--white);
}

.contact-aside {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-aside h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.contact-aside ul {
  margin: 0 0 1rem;
}

.contact-aside li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: var(--slate-300);
}

.contact-aside li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.contact-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Footer */

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--slate-500);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--slate-300);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social-link:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .product-card-inner,
  .philosophy-grid,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .product-card-inner-reverse {
    direction: ltr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo {
    width: min(200px, 50%);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
