/* Daedal Labs — shared stylesheet */

:root {
  --blue:  #3E6E9E;
  --white: #F5F6FA;
  --black: #0E0E0E;
  --gold:  #CDAE6B;
  --red:   #E46049;
  --border: #dddfe8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------ */
/* NAVIGATION                                                          */
/* ------------------------------------------------------------------ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
}

.wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--black);
}

.nav-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* ------------------------------------------------------------------ */
/* HERO                                                                */
/* ------------------------------------------------------------------ */

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 2.5rem 5rem;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.1;
  color: var(--blue);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero .subhead {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--black);
  opacity: 0.65;
  max-width: 560px;
  margin-bottom: 2.75rem;
}

/* ------------------------------------------------------------------ */
/* BUTTONS                                                             */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9375rem 2.25rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: #305980;
}

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

.btn-white:hover {
  background: #e6e8f0;
}

/* ------------------------------------------------------------------ */
/* SERVICES                                                            */
/* ------------------------------------------------------------------ */

.services {
  background: var(--black);
  padding: 5rem 2.5rem;
}

.services-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}

.service-block h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
  letter-spacing: 0.01em;
}

.service-block p {
  font-size: 0.9375rem;
  color: var(--white);
  opacity: 0.75;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ */
/* ABOUT                                                               */
/* ------------------------------------------------------------------ */

.about {
  padding: 5rem 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.about p {
  font-size: 1.0625rem;
  color: var(--black);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* CTA SECTION                                                         */
/* ------------------------------------------------------------------ */

.cta-section {
  background: var(--black);
  padding: 6rem 2.5rem;
  text-align: center;
}

.cta-section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta-section p {
  font-size: 1rem;
  color: var(--white);
  opacity: 0.6;
  margin-bottom: 2.5rem;
}

/* ------------------------------------------------------------------ */
/* FOOTER                                                              */
/* ------------------------------------------------------------------ */

.site-footer {
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.footer-wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--black);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-meta {
  font-size: 0.75rem;
  color: var(--black);
  opacity: 0.4;
  text-align: right;
  line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* AUDIT PAGE — WHAT WE LOOK AT                                        */
/* ------------------------------------------------------------------ */

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

.audit-item {
  padding: 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.audit-item:nth-child(3n) {
  border-right: none;
}

.audit-item:nth-last-child(-n+3) {
  border-bottom: none;
}

.audit-item h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--black);
  margin-bottom: 0.375rem;
}

.audit-item .recovered {
  font-size: 0.8125rem;
  color: var(--blue);
  font-weight: 500;
}

/* ------------------------------------------------------------------ */
/* AUDIT PAGE — HOW IT WORKS                                           */
/* ------------------------------------------------------------------ */

.steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 600px;
}

.step {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.step-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: right;
}

.step p {
  font-size: 1rem;
  color: var(--black);
  padding-top: 0.375rem;
  line-height: 1.65;
}

/* ------------------------------------------------------------------ */
/* AUDIT PAGE — WHAT YOU RECEIVE                                       */
/* ------------------------------------------------------------------ */

.receive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.receive-block h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.receive-block p {
  font-size: 0.9375rem;
  color: var(--black);
  opacity: 0.7;
  line-height: 1.7;
}

/* ------------------------------------------------------------------ */
/* SECTION WRAPPER (used on non-hero sections)                         */
/* ------------------------------------------------------------------ */

.section-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}

.section-wrap h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--black);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-wrap .section-sub {
  font-size: 1rem;
  color: var(--black);
  opacity: 0.6;
  margin-bottom: 3rem;
}

/* ------------------------------------------------------------------ */
/* AUDIT HERO                                                          */
/* ------------------------------------------------------------------ */

.audit-hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 2.5rem 4rem;
}

.audit-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.audit-hero .subhead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--black);
  opacity: 0.65;
  max-width: 600px;
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ */
/* CLOSING PARAGRAPH (audit page)                                      */
/* ------------------------------------------------------------------ */

.closing-note {
  font-size: 0.9375rem;
  color: var(--black);
  opacity: 0.65;
  line-height: 1.75;
  max-width: 680px;
  font-style: italic;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.125rem;
}

/* ------------------------------------------------------------------ */
/* SCROLL ANIMATION                                                    */
/* ------------------------------------------------------------------ */

.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------------ */
/* MOBILE                                                              */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  .site-nav {
    padding: 1rem 1.5rem;
    position: relative;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    gap: 1.25rem;
  }

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

  .hero {
    padding: 4rem 1.5rem 3.5rem;
  }

  .section-wrap {
    padding: 3.5rem 1.5rem;
  }

  .audit-hero {
    padding: 4rem 1.5rem 3rem;
  }

  .services {
    padding: 3.5rem 1.5rem;
  }

  .about {
    padding: 3.5rem 1.5rem;
  }

  .cta-section {
    padding: 4rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .audit-item:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .audit-item:nth-child(2n) {
    border-right: none;
  }

  .audit-item:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--border);
  }

  .audit-item:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .receive-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 2.5rem 1.5rem;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .audit-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .audit-item:last-child {
    border-bottom: none;
  }
}
