/* purposeloves.co — static rebuild */
@import url("fonts.css");

:root {
  --accent: #f5852f;
  --accent-dark: #d96f1c;
  --dark: #2b333d;
  --darker: #20262e;
  --light-accent: #e4cbbb;
  --paper: #f7f3ef;
  --ink: #1d2329;
  --muted: #5c6670;
  --line: #e6e1db;
  --white: #fff;
  --font-heading: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1120px;
  --radius: 4px;
}

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

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

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

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

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--dark);
  color: var(--white);
}
.site-header--over {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: inherit;
  font-size: .82rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav a:hover { color: var(--accent); text-decoration: none; }
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  color: inherit; font-size: 1.6rem; line-height: 1;
  padding: 6px 8px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background: var(--dark);
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,27,32,.55) 0%, rgba(23,27,32,.32) 45%, rgba(23,27,32,.7) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 130px 0 90px; max-width: 900px; }
.hero h1 { color: var(--white); text-shadow: 0 1px 30px rgba(0,0,0,.4); }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .78rem; font-weight: 600; color: var(--light-accent);
  margin-bottom: 18px;
}

/* compact hero for interior pages */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex; align-items: flex-end;
  color: var(--white);
  background: var(--dark);
}
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(23,27,32,.55); }
.page-hero__inner { position: relative; z-index: 2; padding: 90px 0 40px; }
.page-hero h1 { color: var(--white); margin-bottom: .15em; }
.page-hero__meta { color: rgba(255,255,255,.85); font-size: .95rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  background: var(--accent);
  color: #201a12;
  transition: background .15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section__lead { font-size: 1.22rem; color: var(--muted); max-width: 720px; }
.section--dark .section__lead { color: rgba(255,255,255,.82); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.about img { border-radius: var(--radius); width: 100%; }
.about__body h2 { margin-top: 0; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px; }
.gallery--three { grid-template-columns: repeat(3, 1fr); }
.gallery--spaced { margin-bottom: 56px; }

/* ---------- testimonial ---------- */
.testimonial {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.testimonial__quote { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.3vw, 1.7rem); line-height: 1.45; color: var(--ink); }
.testimonial__quote p { margin-bottom: .6em; }
.testimonial__cite { font-family: var(--font-body); font-size: .95rem; color: var(--muted); font-style: normal; display: block; margin-top: 20px; white-space: pre-line; }
.testimonial img { border-radius: var(--radius); }

.testimonial-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tcard img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.tcard blockquote { margin: 0; font-family: var(--font-heading); font-size: 1.08rem; line-height: 1.5; }
.tcard cite { display: block; margin-top: 14px; font-family: var(--font-body); font-size: .9rem; color: var(--muted); font-style: normal; white-space: pre-line; }

/* ---------- feature list ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 12px; height: 12px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.checklist strong { font-weight: 600; }

/* ---------- pull quote ---------- */
.pullquote {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  border-left: 4px solid var(--accent);
  padding-left: 26px;
  margin: 0;
  color: var(--ink);
}
.pullquote cite { display: block; margin-top: 20px; font-family: var(--font-body); font-size: .95rem; font-style: normal; color: var(--muted); }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 36px; }
.post-card img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.post-card__meta { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.post-card h2 { font-size: 1.5rem; margin-bottom: .4em; }
.post-card p { color: var(--muted); }
.read-more { font-weight: 600; font-size: .9rem; letter-spacing: .03em; }

/* ---------- article ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article__meta { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }
.prose { font-size: 1.06rem; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose blockquote {
  margin: 1.8em 0; padding: 4px 0 4px 22px;
  border-left: 4px solid var(--accent);
  font-family: var(--font-heading); font-size: 1.2rem; color: var(--ink);
}
.prose img { border-radius: var(--radius); margin: 1.8em 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }

.postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.postnav a { display: block; max-width: 46%; }
.postnav span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.postnav strong { font-family: var(--font-heading); font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--darker); color: rgba(255,255,255,.8); padding: 60px 0; text-align: center; }
.site-footer a { color: var(--white); }
.site-footer__license { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,.55); }
.site-footer .linkedin { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 26px; }
  .about img { max-width: 320px; }
  .testimonial { grid-template-columns: 1fr; }
  .testimonial-cards { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--darker);
    padding: 8px 24px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-header--over { background: linear-gradient(180deg, rgba(23,27,32,.6), rgba(23,27,32,0)); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .hero { min-height: 70vh; }
  .postnav { flex-direction: column; }
  .postnav a { max-width: 100%; }
}
