@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/LibreBaskerville-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramond-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  src: url("../fonts/IBMPlexSansCondensed-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

/* ========================================================================== 
   Alchemy Analytical Consultants — CSS Foundation
   Approved palette:
     Charcoal        #2C2C2C  headings, navigation, footer, dark surfaces
     Analytical Blue #4A78C2  links, buttons, active navigation, accents
     Copper          #A66A44  thin rules, small labels, hover accents
     Walnut Wood     #8A6248  optional warm accent only (not full backgrounds)
     White           #FFFFFF  primary background, high-contrast dark-surface text
   ========================================================================== */

:root {
  --charcoal: #2C2C2C;
  --blue: #4A78C2;
  --copper: #A66A44;
  --walnut: #8A6248;
  --white: #FFFFFF;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.6;
}

/* ---------- Navigation ---------- */

.site-nav {
  background-color: var(--white);
  border-bottom: 1px solid var(--copper);
  padding: 1rem 1.5rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max-width);
}

.site-nav a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--blue);
  border-bottom-color: var(--copper);
}

.site-nav a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ---------- Main content ---------- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

main h1 {
  color: var(--charcoal);
  font-size: 2rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  position: relative;
}

/* Subtle CSS-generated analytical accent beneath the page heading —
   no image assets, no literal chromatogram. */
main h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 72px;
  background-color: var(--blue);
}

main p {
  margin: 0 0 1.25rem;
  max-width: 68ch;
}

main ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  max-width: 68ch;
}

main li {
  margin-bottom: 0.6rem;
}

main a {
  color: var(--blue);
  text-decoration: underline;
}

main a:hover {
  color: var(--copper);
}

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.15fr);
  align-items: center;
  gap: 2.5rem;
  margin: 0 0 3rem;
}

.hero-logo {
  background-color: var(--charcoal);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--copper);
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 1.25rem;
  padding-bottom: 0;
  font-family: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  color: var(--charcoal);
}

.hero-copy h1::after {
  content: none;
}

.hero-audience {
  margin: 0 0 1.75rem;
  max-width: 46ch;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--charcoal);
}

.hero-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-button:hover {
  background-color: var(--blue);
  color: var(--white);
}

/* ---------- Services boundary statement ---------- */

.boundary-note {
  margin-top: 2rem;
  max-width: 68ch;
  font-size: 0.85rem;
  color: #5a5a5a;
}

/* ---------- About byline ---------- */

.about-name {
  margin: 0 0 0.15rem;
  font-family: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--charcoal);
}

.about-title {
  margin: 0 0 1.25rem;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
}

/* ---------- Footer ----------
   Substantial site-wide footer in AAC analytical blue, per the approved
   design direction — no chromatogram, no legal strip at this time. */

.site-footer {
  background-color: var(--blue);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 3px solid var(--copper);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-name {
  margin: 0 0 0.5rem;
  font-family: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.footer-tagline {
  margin: 0 0 1.75rem;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
  transition: border-color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
  border-bottom-color: var(--copper);
}

/* ---------- Contact brand tile ----------
   Compact, restrained brand lockup for the Contact page: a vertical
   wordmark stack that sits directly on the page background rather than
   recreating the boxed, charcoal business-card treatment. */

.contact-layout {
  margin: 0 0 2.5rem;
}

.contact-details {
  padding-top: 1.5rem;
  border-top: 1px solid var(--copper);
  max-width: 360px;
}

.contact-label {
  margin: 0 0 0.25rem;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.contact-phone {
  margin: 0;
  font-family: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.contact-phone a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.contact-phone + .contact-label {
  margin-top: 1.25rem;
}

.contact-email {
  margin: 0;
  font-family: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  word-break: break-word;
}

.contact-email a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.brand-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  max-width: 360px;
}

/* Approved AAC production hierarchy. Fonts are self-hosted locally; each
   declaration retains a robust system fallback. */
.brand-mark {
  font-family: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.25rem;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--charcoal);
}

.brand-wordmarks {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.4rem;
}

.brand-alchemy {
  margin: 0;
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--charcoal);
  order: 1;
}

/* Single short analytical accent — solid blue only, placed beneath the
   company line to bind ALCHEMY and ANALYTICAL CONSULTANTS LLC together. */
.brand-trace {
  display: block;
  width: 40px;
  height: 2px;
  margin: 0.35rem 0 0.4rem;
  background-color: var(--blue);
  order: 3;
}

.brand-company {
  margin: 0;
  font-family: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--copper);
  order: 2;
}

.brand-tagline {
  margin: 0.2rem 0 0;
  font-family: "IBM Plex Sans Condensed", "Arial Narrow", "Avenir Next Condensed", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  color: var(--blue);
  order: 4;
}

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
  .site-nav ul {
    gap: 1rem;
    flex-direction: column;
  }

  main {
    padding: 2rem 1.25rem 3rem;
  }

  main h1 {
    font-size: 1.6rem;
  }

  .brand-tile {
    max-width: 100%;
  }

  .brand-mark {
    font-size: 1.9rem;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero-logo {
    max-width: 420px;
  }
}
