/* Northline base — global resets + element styles. Import after tokens.css. */

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

html { scroll-behavior: auto; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.5px;
  color: var(--white);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); line-height: 1.04; font-weight: 700; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; font-weight: 700; }
h3 { font-size: 1.4rem; line-height: 1.3; font-weight: 600; }
h4 { font-size: 1.05rem; line-height: 1.4; font-weight: 600; }

p { color: var(--text); }

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

section {
  padding: var(--section-y-desktop) 0;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  section { padding: var(--section-y-mobile) 0; }
}

.mini-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.mini-label.teal { color: var(--teal); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  padding: 16px 34px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--dur-base);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(200,164,78,0.3);
}
.btn-primary:hover::after { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 16px 34px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--white); }

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 0;
  transition: background var(--dur-base) var(--ease), backdrop-filter var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
}
nav.scrolled {
  background: rgba(6,6,8,0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
nav ul { list-style: none; display: flex; gap: 32px; align-items: center; }
nav a { font-size: 0.85rem; color: var(--muted); font-weight: 500; transition: color var(--dur-fast); }
nav a:hover { color: var(--white); }

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark-img {
  height: 28px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  transition: box-shadow var(--dur-base), transform var(--dur-base);
}
.nav-cta:hover { box-shadow: 0 0 24px var(--accent-glow); transform: translateY(-1px); }
