/* ============================================================
   Anatid Systems — Gunmetal & Flare
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #111110;
  --white: #FAFAF8;
  --parchment: #F0ECE6;
  --amber: #B87A1A;
  --cranberry: #B5403A;
  --gunmetal: #4A4541;
  --stone: #6E675E;
  --fossil: #B5AEA4;

  --font-heading: 'Bricolage Grotesque', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--parchment);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--amber);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

/* --- Layout --- */
.container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #1A1918;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p + p {
  margin-top: 1rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(17, 17, 16, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gunmetal);
}

.nav-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--parchment);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.nav-logo:hover {
  text-decoration: none;
  color: var(--amber);
}

.nav-logo img {
  width: 1.75rem;
  height: 1.75rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--fossil);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--amber);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--parchment);
  transition: transform 0.2s, opacity 0.2s;
}

/* --- Hero --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 2.5rem;
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.25rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--parchment);
  margin-bottom: 0.5rem;
}

.hero-descriptor {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 2vw, 1.125rem);
  color: var(--fossil);
  letter-spacing: 0.04em;
}

/* --- About --- */
.section-centered .container {
  text-align: center;
}

.about-content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: left;
}

.about-aside {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--gunmetal);
}

.about-aside-text {
  color: var(--fossil);
  font-size: 0.95rem;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  padding: 1.75rem;
  border: 1px solid var(--gunmetal);
  border-radius: 4px;
  transition: border-color 0.15s;
}

.service-card:hover {
  border-color: var(--amber);
}

.service-card p {
  color: var(--fossil);
  font-size: 0.95rem;
}

/* --- Pricing --- */
.pricing-intro {
  color: var(--fossil);
  margin-bottom: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  padding: 2rem;
  border: 1px solid var(--gunmetal);
  border-radius: 4px;
  text-align: center;
}

.pricing-card-featured {
  border-color: var(--amber);
}

.pricing-card h3 {
  color: var(--parchment);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.pricing-figure {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--amber);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.pricing-unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fossil);
}

.pricing-detail {
  color: var(--fossil);
  font-size: 0.9rem;
}

/* --- Contact --- */
.contact-intro {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-block {
  padding: 1.5rem;
  border: 1px solid var(--gunmetal);
  border-radius: 4px;
}

.contact-block-emergency {
  border-color: var(--cranberry);
}

.contact-block h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fossil);
  margin-bottom: 0.5rem;
}

.contact-email {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  color: var(--amber);
}

.contact-email-emergency {
  color: var(--cranberry);
}

.contact-note {
  max-width: 42rem;
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--gunmetal);
  text-align: center;
}

.footer p {
  color: var(--stone);
  font-size: 0.8rem;
}

/* --- Mobile --- */
@media (max-width: 48rem) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    background-color: rgba(17, 17, 16, 0.98);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--gunmetal);
  }

  .nav-links-open {
    display: flex;
  }

  .nav-links li {
    border-bottom: 1px solid var(--gunmetal);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0;
  }

  .hero {
    padding: 5rem 1.5rem 2rem;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  h2 {
    font-size: 1.65rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .pricing-figure {
    font-size: 2rem;
  }

  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
