/* Jacked3t — shared styles. Future pages (/packages, /courses) link this file. */

:root {
  color-scheme: only light;
  --navy: #101A2B;
  --offwhite: #F5F6F8;
  --brass: #C8A15A;
  --steel: #5E6B7E;
  --white: #FFFFFF;
  --mist: #C5CDD8;
  --rule: #DDE1E7;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 65ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.problems-band :focus-visible, .contact :focus-visible, .site-footer :focus-visible {
  outline-color: var(--brass);
}

.wrap {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1, h2, h3 { font-weight: 400; margin: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}
.btn:hover { background: #1F2E47; }
.btn-small { padding: 0.6rem 1.1rem; font-size: 0.95rem; }
.btn-large {
  background: var(--brass);
  color: var(--navy);
  font-size: 1.15rem;
  padding: 1.1rem 2rem;
}
.btn-large:hover { background: #D6B272; }

/* Header */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
  text-decoration: none;
  margin-right: auto;
}
.site-nav { display: flex; gap: 1.75rem; }
.site-nav a {
  text-decoration: none;
  color: var(--steel);
  font-weight: 500;
}
.site-nav a:hover { color: var(--navy); }

/* Opening */
.opening { padding: 6.5rem 0 6rem; }
.opening h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 16ch;
  margin-bottom: 1.75rem;
  overflow-wrap: break-word;
  animation: rise 0.9s ease-out both;
}
.lede {
  font-size: 1.25rem;
  color: var(--steel);
  max-width: 40rem;
  margin: 0 0 2.5rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Problems band — the standout section */
.problems-band {
  background: var(--navy);
  color: var(--white);
  padding: 6rem 0;
}
.band-title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}
.band-intro {
  color: var(--mist);
  font-size: 1.15rem;
  margin: 0 0 3.5rem;
  max-width: var(--measure);
}
.problems {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4rem;
}
.problems li {
  padding: 2rem 0;
  border-top: 1px solid var(--brass);
}
.problem {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.problem::before { content: "“" / ""; color: var(--brass); }
.problem::after { content: "”" / ""; color: var(--brass); }
.fix {
  margin: 0;
  color: var(--mist);
  max-width: 34rem;
}

/* Section titles */
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.05;
}

/* Why one partner */
.why { padding: 6rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}
.why-body p {
  margin: 0 0 1.1rem;
  font-size: 1.2rem;
  max-width: var(--measure);
}
.why-body p:first-child { color: var(--steel); }

/* How we work */
.process {
  padding: 6rem 0;
  border-top: 1px solid var(--rule);
}
.process .section-title { margin-bottom: 3rem; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--navy);
  padding-top: 1.25rem;
}
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--serif);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--steel);
  margin-bottom: 1rem;
}
.steps h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.steps p { margin: 0; color: var(--steel); }

/* Contact */
.contact {
  background: var(--navy);
  color: var(--white);
  padding: 7rem 0;
  text-align: center;
}
.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: 18ch;
  margin: 0 auto 1.5rem;
}
.contact p {
  color: var(--mist);
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}
.contact .email-text {
  margin: 1.25rem auto 0;
  color: var(--brass);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--mist);
  border-top: 1px solid #22304A;
  padding: 2rem 0;
  font-size: 0.95rem;
}
.site-footer a { color: var(--mist); }

/* Responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .header-inner { flex-wrap: wrap; gap: 1rem; }
  .site-nav { order: 3; width: 100%; gap: 1.25rem; font-size: 0.95rem; }
  .opening { padding: 4rem 0; }
  .problems-band, .why, .process { padding: 4rem 0; }
  .contact { padding: 5rem 0; }
  .problems { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .opening h1 { animation: none; }
}
