/* Northstar Forge — corporate site
   Black/white minimalist designer aesthetic
   Updated: 2026-05-09 */

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

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e5e5e5;
  --line-strong: #0a0a0a;
  --accent: #0a0a0a;

  --serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─────────────── Type ─────────────── */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

h1.display {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

h2.section {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

h3 { font-size: 22px; letter-spacing: -0.01em; }

p.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
}

p { color: var(--ink-soft); }

/* ─────────────── Header ─────────────── */

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 18px; height: 18px;
  background: var(--ink);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: opacity 0.15s;
}

.nav-links a:hover { opacity: 0.55; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--ink);
  color: #fff !important;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 24px var(--gutter);
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
}

/* ─────────────── Sections ─────────────── */

section { padding: clamp(80px, 10vw, 140px) 0; }

.hairline-top { border-top: 1px solid var(--line); }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid-3 > * {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
}

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
}

/* ─────────────── Hero ─────────────── */

.hero {
  padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 10vw, 140px);
}

.hero-content { max-width: 920px; }

.hero h1 { margin-bottom: 32px; }

.hero p.lead { margin-bottom: 48px; max-width: 640px; }

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* ─────────────── Buttons ─────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #1f1f1f; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }

.arrow::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.15s ease;
}

.arrow:hover::after { transform: translateX(3px); }

/* ─────────────── Stats / Strip ─────────────── */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strip-item .num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.strip-item .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 760px) {
  .strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

/* ─────────────── Product cards ─────────────── */

.product-card {
  display: block;
  padding: 48px 40px;
  border: 1px solid var(--line);
  background: var(--bg);
  transition: all 0.2s ease;
  position: relative;
}

.product-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.product-card .price {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.product-card p {
  font-size: 15px;
  margin-bottom: 28px;
  color: var(--muted);
}

.product-card .more {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }

/* ─────────────── Footer ─────────────── */

.footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}

.footer ul { list-style: none; }

.footer li { margin-bottom: 12px; }

.footer a {
  color: var(--muted);
  font-size: 14px;
  transition: color 0.15s;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  max-width: 360px;
  margin-top: 12px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ─────────────── Page content (about/legal etc) ─────────────── */

.page-header {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-header .eyebrow { margin-bottom: 24px; }
.page-header h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.025em;
  max-width: 800px;
}

.prose {
  max-width: 720px;
  padding: clamp(60px, 8vw, 100px) 0;
}

.prose h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 56px 0 16px;
  letter-spacing: -0.01em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--sans);
  margin: 32px 0 12px;
  letter-spacing: 0;
}

.prose p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.prose ul, .prose ol {
  margin: 0 0 18px 24px;
  color: var(--ink-soft);
}

.prose li { margin-bottom: 8px; line-height: 1.7; }

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose strong { font-weight: 600; color: var(--ink); }

/* ─────────────── About ─────────────── */

.about-block { margin-bottom: 80px; }
.about-block:last-child { margin-bottom: 0; }

.about-block h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-block p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ─────────────── Blog ─────────────── */

.blog-empty {
  text-align: center;
  padding: 100px 0;
}

.blog-empty p {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ─────────────── Contact ─────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  padding: 40px;
  border: 1px solid var(--line);
}

.contact-card h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.contact-card a {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

.contact-card a:hover { border-bottom-color: var(--ink); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
