/* Alphachem Consulting — site styles */

@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #0F2A4D;
  --navy-deep: #0A1F3A;
  --teal: #1D7C7A;
  --teal-light: #4FC3BE;
  --ink: #1C2633;
  --muted: #4A5563;
  --line: #DCE1E7;
  --wash: #F3F5F8;
  --white: #FFFFFF;
  --heading: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3 { font-family: var(--heading); color: var(--navy); line-height: 1.2; margin: 0; }
p { margin: 0; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy); padding: 12px 16px; z-index: 10; }
.skip-link:focus { left: 16px; top: 16px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 12px; padding-bottom: 12px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { display: block; height: 76px; width: auto; }
@media (max-width: 760px) { .brand-logo { height: 64px; } }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-nav a { display: inline-block; padding: 10px 0; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.site-nav a:hover { color: var(--teal); }

/* Hero */
.hero { background: var(--navy) url("img/hex-outline.svg") no-repeat right -140px center / 560px 560px; color: var(--white); padding: 88px 0 96px; }
@media (max-width: 1180px) { .hero { background-image: none; } }
.hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 52px); max-width: 16em; letter-spacing: -0.01em; }
.hero .lead { margin-top: 20px; font-size: clamp(18px, 2.2vw, 21px); color: #D5DEE9; max-width: 34em; }
.setpoint { display: flex; align-items: center; margin-top: 36px; width: min(320px, 70%); }
.setpoint::before, .setpoint::after { content: ""; height: 2px; background: var(--teal-light); flex: 1; }
.setpoint span { width: 12px; height: 12px; border-radius: 50%; background: var(--teal-light); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; }
.button-primary { background: var(--teal-light); color: var(--navy-deep); }
.button-primary:hover { background: #7AD6D2; color: var(--navy-deep); }
.button-secondary { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.button-secondary:hover { border-color: var(--white); color: var(--white); }

/* Sections */
.section { padding: 88px 0; }
.section-wash { background: var(--wash); }
.eyebrow { font-family: var(--heading); font-weight: 600; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 3.4vw, 36px); }
.intro-text { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55; color: var(--navy); max-width: 40em; }

.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
.service-number { font-family: var(--heading); font-weight: 700; font-size: 14px; color: var(--teal); letter-spacing: 0.08em; }
.service h3 { font-size: 21px; margin-top: 10px; }
.service p { margin-top: 12px; color: var(--muted); }

.outcomes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.outcomes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.outcomes li { display: flex; gap: 14px; align-items: baseline; font-size: 18px; color: var(--ink); }
.outcomes li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); transform: translateY(-1px); }

.about-body { display: grid; gap: 20px; max-width: 46em; margin-top: 28px; color: var(--ink); }

.contact-box { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.contact-box p { color: var(--muted); max-width: 40em; }
.contact-email { font-family: var(--heading); font-weight: 700; font-size: clamp(20px, 3vw, 28px); color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact-email:hover { color: var(--teal); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9D3DF; padding: 48px 0; font-size: 14px; line-height: 1.6; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--teal-light); }
.footer-legal { max-width: 36em; display: grid; gap: 6px; }
.footer-links { display: grid; gap: 6px; align-content: start; }

/* Legal / plain pages */
.page-head { background: var(--navy); padding: 56px 0; }
.page-head h1 { color: var(--white); font-size: clamp(30px, 4vw, 40px); }
.page-head p { color: #D5DEE9; margin-top: 10px; }
.prose { max-width: 46em; }
.prose h2 { font-size: 22px; margin-top: 40px; }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 64px 0; }
  .services-grid { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 26px; }
  .outcomes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
