/* Dan Gurin / DanGur L.L.C. — dangur.com */

:root {
  --bg: #0a0a0a;
  --bg-section: #111;
  --text: #e8e8e8;
  --text-muted: #999;
  --accent: #c41e3a;
  --accent-bright: #e63950;
  --oval: #c41e3a;
  --white: #fff;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Sans", var(--font-sans);
  --space: 1.25rem;
  --space-lg: 2.5rem;
  --max-width: 52rem;
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* Logo — DANGER sign style: white text on red oval, black background (SVG ellipse = full oval) */
.logo-sign {
  display: inline-block;
  line-height: 0;
}

.logo-svg {
  display: block;
  height: 44px;
  width: auto;
}

a.logo {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space) var(--space-lg);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.cta-nav {
  color: var(--accent-bright) !important;
  font-weight: 600;
}

.cta-nav:hover {
  color: var(--white) !important;
}

/* Hero */
.hero {
  text-align: center;
  padding: var(--space-lg) var(--space) 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-strapline {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin: 0 0 1rem;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  margin: 0 0 0.25em;
  letter-spacing: -0.02em;
}

.hero-title {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 0.5em;
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
}

.cta-button {
  display: inline-block;
  padding: 0.65em 1.5em;
  background: var(--accent);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.cta-button:hover {
  background: var(--accent-bright);
}

/* Sections */
.section {
  padding: var(--space-lg) var(--space-lg) 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--text);
}

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

.section p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.section a {
  color: var(--accent-bright);
  text-decoration: none;
}

.section a:hover {
  text-decoration: underline;
}

/* Services list */
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  display: inline-block;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4em 0.85em;
  border-radius: 2em;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin-top: 1.5rem;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.6em 0.75em;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.25);
}

.contact-form button.cta-button {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: var(--space-lg) var(--space);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.25em 0;
}

.site-footer a {
  color: var(--accent-bright);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space);
  }

  .nav {
    gap: var(--space);
  }

  .hero {
    padding-top: var(--space);
  }

  .section {
    padding-left: var(--space);
    padding-right: var(--space);
  }

}

/* Focus styles (accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
