/* ========================================
   IMPARO — SITE STYLES v1
   Matches Cut Sheet design system
   Accent #E8642A · Dark #1A1A1A · Soft bg #faf6f3 · Cost orange #C8551E
   Font: Georgia
   ======================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #C8551E; text-decoration: none; transition: color 0.15s; }
a:hover { color: #E8642A; text-decoration: underline; }

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

/* ========================================
   LAYOUT
   ======================================== */

.container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 64px 0;
}

section.tight {
  padding: 40px 0;
}

section.dark {
  background: #1a1a1a;
  color: #ffffff;
}

section.soft {
  background: #faf6f3;
}

/* ========================================
   HEADER / NAV
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
  padding: 14px 0;
}

.site-header .container-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1a1a1a;
}

.brand:hover { text-decoration: none; color: #1a1a1a; }

.brand-mark {
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  color: #E8642A;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.brand-text {
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: #555;
  font-size: 15px;
  font-family: Georgia, serif;
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #1a1a1a;
  text-decoration: none;
}

.nav-links a.active {
  color: #1a1a1a;
  font-weight: bold;
}

.nav-links .nav-cta {
  background: #1a1a1a;
  color: #E8642A;
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.nav-links .nav-cta:hover {
  background: #2a2a2a;
  color: #E8642A;
}

@media (max-width: 800px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .nav-links .nav-cta { padding: 7px 14px; font-size: 13px; }
}

@media (max-width: 640px) {
  .site-header { padding: 12px 0; }
  .brand-text { font-size: 18px; }
  .nav-links { gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5 {
  font-family: Georgia, serif;
  font-weight: bold;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: #1a1a1a;
}

h1 {
  font-size: 44px;
  margin-bottom: 24px;
}

h1 .accent {
  color: #E8642A;
  font-style: italic;
}

h2 {
  font-size: 32px;
  margin-bottom: 18px;
  margin-top: 0;
}

h2 .accent {
  color: #E8642A;
  font-style: italic;
}

h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.6;
}

p.lede {
  font-size: 19px;
  line-height: 1.55;
  color: #333;
  margin-bottom: 28px;
}

.eyebrow {
  color: #E8642A;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 14px;
}

.dark .eyebrow {
  color: #E8642A;
}

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }
  body { font-size: 16px; }
  p.lede { font-size: 17px; }
  section { padding: 48px 0; }
}

/* ========================================
   COMPONENTS
   ======================================== */

/* Stat block — same as cut sheets */
.stat-block {
  background: #1a1a1a;
  color: #ffffff;
  padding: 28px 32px;
  border-radius: 4px;
  margin: 24px 0;
}

.stat-block .source {
  color: #E8642A;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 14px;
}

.stat-block .stat {
  font-size: 19px;
  line-height: 1.5;
  font-weight: bold;
  margin-bottom: 12px;
}

.stat-block .footnote {
  font-size: 14px;
  font-style: italic;
  color: #b8b8b8;
  line-height: 1.5;
  margin-bottom: 0;
}

/* BIA grid - 5 outcome cards */
.bia-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.bia-card {
  border: 1px solid #d0d0d0;
  border-top: 3px solid #E8642A;
  padding: 22px 24px;
  border-radius: 2px;
  background: #ffffff;
}

.bia-card .num {
  color: #E8642A;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.bia-card h4 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.25;
}

.bia-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 0;
}

.bia-card.span2 {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .bia-grid { grid-template-columns: 1fr; }
  .bia-card.span2 { grid-column: auto; }
}

/* Two-column lists (who this is for / who it isn't) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 28px 0;
}

.col-card {
  padding: 24px 26px;
  border-radius: 4px;
}

.col-card.fit {
  background: #faf6f3;
  border-left: 3px solid #E8642A;
}

.col-card.no-fit {
  background: #f5f5f5;
  border-left: 3px solid #888;
}

.col-card h4 {
  font-size: 18px;
  margin-bottom: 14px;
}

.col-card ul {
  list-style: none;
  padding: 0;
}

.col-card li {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  padding-left: 18px;
  position: relative;
}

.col-card.fit li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #E8642A;
  font-weight: bold;
}

.col-card.no-fit li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #888;
  font-weight: bold;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 18px; }
}

/* Day-by-day table (Audit page) */
.day-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.day-table th {
  background: #1a1a1a;
  color: #E8642A;
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
  padding: 12px 16px;
}

.day-table td {
  border: 1px solid #d0d0d0;
  padding: 14px 18px;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.5;
}

.day-table td.day-num {
  width: 90px;
  color: #C8551E;
  font-style: italic;
  font-weight: bold;
  font-size: 14px;
}

.day-table tr.checkpoint td {
  background: #faf6f3;
}

.day-table strong {
  color: #1a1a1a;
}

@media (max-width: 640px) {
  .day-table td.day-num { width: 70px; font-size: 13px; }
  .day-table td { padding: 10px 12px; font-size: 14px; }
}

/* CTA block */
.cta-block {
  margin: 40px 0;
  padding: 32px 36px;
  background: #faf6f3;
  border-left: 4px solid #E8642A;
  border-radius: 2px;
}

.cta-block h3 {
  margin-bottom: 12px;
}

.cta-block p {
  font-size: 16px;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  background: #1a1a1a;
  color: #E8642A;
  padding: 14px 26px;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}

.btn:hover {
  background: #2a2a2a;
  color: #E8642A;
  text-decoration: none;
}

.btn.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  padding: 12px 24px;
}

.btn.btn-secondary:hover {
  background: #1a1a1a;
  color: #E8642A;
}

/* Inline-link list */
.takeaway-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.takeaway-list li {
  padding-left: 24px;
  margin-bottom: 14px;
  position: relative;
  font-size: 16px;
  line-height: 1.55;
}

.takeaway-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #E8642A;
  font-weight: bold;
}

.takeaway-list li strong {
  color: #1a1a1a;
}

/* Quote / pull */
.pullquote {
  border-left: 3px solid #E8642A;
  padding: 8px 0 8px 24px;
  margin: 28px 0;
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: #333;
}

/* Contact / footer */
.site-footer {
  background: #1a1a1a;
  color: #b8b8b8;
  padding: 48px 0 32px 0;
  font-size: 14px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.site-footer h5 {
  color: #E8642A;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer a {
  color: #b8b8b8;
  display: block;
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #E8642A;
  text-decoration: none;
}

.site-footer .footer-meta {
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 12px;
  color: #888;
  font-style: italic;
}

@media (max-width: 640px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Hero - homepage */
.hero {
  padding: 88px 0 56px 0;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 24px;
}

.hero .lede {
  font-size: 21px;
  margin-bottom: 32px;
  max-width: 760px;
}

.hero .hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero .hero-ctas a:not(.btn) {
  font-size: 15px;
  color: #555;
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 36px 0; }
  .hero h1 { font-size: 32px; }
  .hero .lede { font-size: 17px; }
}

/* Section divider */
.divider {
  height: 1px;
  background: #e0e0e0;
  margin: 48px 0;
  border: 0;
}

/* About page specifics */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.about-intro .photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #faf6f3;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-style: italic;
  font-size: 14px;
}

@media (max-width: 720px) {
  .about-intro { grid-template-columns: 1fr; gap: 24px; }
  .about-intro .photo-placeholder { max-width: 280px; }
}

/* Pricing page */
.price-block {
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-top: 4px solid #E8642A;
  padding: 28px 32px;
  border-radius: 2px;
  margin: 18px 0;
}

.price-block .label {
  color: #E8642A;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.price-block h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.price-block p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 0;
}

.price-block .meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eaeaea;
  font-size: 14px;
  color: #555;
  font-style: italic;
}

/* Positioning page TOC */
.toc {
  background: #faf6f3;
  border-left: 3px solid #E8642A;
  padding: 22px 28px;
  margin: 28px 0;
  border-radius: 2px;
}

.toc h5 {
  color: #C8551E;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
}

.toc li {
  counter-increment: toc;
  padding: 6px 0 6px 32px;
  position: relative;
  font-size: 16px;
}

.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #E8642A;
  font-weight: bold;
  font-style: italic;
  font-family: Georgia, serif;
}

.toc a { color: #1a1a1a; }
.toc a:hover { color: #E8642A; }

/* Inline meta (reading time, last updated) */
.meta-line {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
  color: #888;
  font-style: italic;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #eaeaea;
}

/* Anchored callout (used in Positioning page placeholder) */
.essay-placeholder {
  background: #faf6f3;
  border: 2px dashed #E8642A;
  padding: 36px 40px;
  border-radius: 4px;
  margin: 32px 0;
  text-align: center;
}

.essay-placeholder h4 {
  color: #C8551E;
  margin-bottom: 12px;
}

.essay-placeholder p {
  font-size: 15px;
  color: #555;
  margin-bottom: 0;
  font-style: italic;
}

/* Positioning page - inline stat trio responsive */
@media (max-width: 720px) {
  section.dark.tight > .container > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
