/* Hamilton Strategic Revenue — site styles */

:root {
  --black: #000;
  --near-white: #e5e5e5;
  --light: #ebebeb;
  --gray-bar: #8a8a8a;
  --text: #1f1f1f;
  --muted: #555;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--black);
  color: var(--near-white);
}
.site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-header .nav-links { display: flex; gap: 28px; align-items: center; }
.site-header a { color: var(--near-white); text-decoration: none; }
.site-header a:hover { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-light { color: var(--near-white); }
.btn-light:hover { background: var(--near-white); color: var(--black); }
.btn-dark { color: var(--black); }
.btn-dark:hover { background: var(--black); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  color: var(--near-white);
  text-align: center;
  padding: 48px 24px 64px;
}
.wordmark { text-decoration: none; display: inline-block; }
.wordmark .name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--near-white);
  padding-bottom: 4px;
  display: inline-block;
}
.wordmark .sub {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-top: 8px;
  font-weight: 400;
}
.hero-headline {
  font-family: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2.26rem;
  margin: 40px 0 32px;
  white-space: nowrap;
}
.hero-headline .rotator {
  display: inline-block;
  text-align: left;
  vertical-align: bottom;
  overflow: hidden;
}
.hero-headline .rotator span {
  display: inline-block;
  opacity: 0;
  animation: fade-in-left 0.8s ease forwards;
  white-space: nowrap;
}
@keyframes fade-in-left {
  0% { opacity: 0; width: 0; }
  100% { opacity: 1; width: 100%; }
}
@keyframes fade-out-left {
  0% { opacity: 1; width: 100%; }
  100% { opacity: 0; width: 0; }
}

/* ---------- Client logos ---------- */
.logos {
  background: var(--black);
  padding: 24px 24px 72px;
}
.logos-row {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.logos-row img {
  height: 84px;
  width: auto;
  object-fit: contain;
}

/* ---------- Growth packages ---------- */
.packages {
  background: var(--light);
  padding: 72px 24px;
  text-align: center;
}
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.packages .intro {
  max-width: 560px;
  margin: 16px auto 48px;
  font-size: 0.95rem;
  color: var(--muted);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 880px;
  margin: 0 auto 48px;
}
.pillar img {
  height: 110px;
  width: 110px;
  object-fit: contain;
  border-radius: 50%;
}
.pillar h3 {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 20px 0 12px;
}
.pillar p { font-size: 0.9rem; color: var(--muted); max-width: 240px; margin: 0 auto; }

/* ---------- Email deliverability ---------- */
.deliverability {
  background: var(--black);
  color: var(--near-white);
  text-align: center;
  padding: 80px 24px;
}
.deliv-headline {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 24px;
}
.deliv-headline .dim { color: #7a7a7a; }
.deliv-intro {
  max-width: 560px;
  margin: 20px auto 40px;
  font-size: 0.95rem;
  color: #bdbdbd;
}
.inbox-compare {
  max-width: 440px;
  margin: 0 auto 48px;
  border: 1px solid #333;
  text-align: left;
}
.inbox-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 0.9rem;
}
.inbox-row + .inbox-row { border-top: 1px solid #333; }
.inbox-row.seen { background: #161616; }
.inbox-row.seen .inbox-label { font-weight: 600; }
.inbox-row.lost { color: #6a6a6a; }
.inbox-row.lost .inbox-label { text-decoration: line-through; }
.inbox-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 2px 10px;
}
.deliv-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: left;
}
.deliv-pillar {
  border: 1px solid #333;
  padding: 24px;
}
.deliv-pillar h3 {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.deliv-pillar p { font-size: 0.85rem; color: #bdbdbd; }
@media (max-width: 768px) {
  .deliv-pillars { grid-template-columns: 1fr; }
  .deliv-headline { font-size: 1.7rem; }
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--gray-bar);
  color: #fff;
  text-align: center;
  padding: 12px 24px;
  font-size: 0.95rem;
}
.announce a { color: #fff; }

/* ---------- Contact ---------- */
.contact { padding: 72px 24px 0; }
.contact-card {
  background: var(--black);
  color: var(--near-white);
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 48px 48px;
  text-align: center;
}
.contact-card h2 {
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.25;
}
.contact-card .sub {
  font-size: 0.9rem;
  margin: 16px auto 32px;
  max-width: 380px;
}
.contact-form { text-align: left; }
.contact-form label {
  display: block;
  font-size: 0.8rem;
  margin: 18px 0 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--near-white);
  color: var(--near-white);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 0.9rem;
}
.contact-form ::placeholder { color: #9a9a9a; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn {
  display: block;
  width: 100%;
  margin-top: 28px;
  font-size: 1rem;
}
.form-status { margin-top: 16px; font-size: 0.9rem; display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--near-white);
  text-align: center;
  padding: 56px 24px 40px;
  margin-top: -1px;
}
.site-footer .asap {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-footer .brand { margin-top: 24px; font-size: 0.95rem; }
.site-footer .tagline { font-size: 0.9rem; color: #bdbdbd; }
.site-footer .copyright { margin-top: 18px; font-size: 0.7rem; color: #8a8a8a; }

/* ---------- Blog ---------- */
.page-light { background: #fff; }
.blog-list { max-width: 740px; margin: 0 auto; padding: 56px 24px; }
.blog-card {
  border: 1px solid #ddd;
  padding: 32px;
  margin-bottom: 32px;
}
.blog-card h2 { font-size: 1.4rem; line-height: 1.3; }
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover { text-decoration: underline; }
.blog-card .excerpt { margin: 12px 0 16px; color: var(--muted); font-size: 0.95rem; }
.post-meta { font-size: 0.8rem; color: #888; }

/* ---------- Post ---------- */
.post { max-width: 740px; margin: 0 auto; padding: 56px 24px; }
.post h1 { font-size: 2rem; line-height: 1.25; margin-bottom: 12px; }
.post .post-meta { margin-bottom: 36px; }
.post h2 { font-size: 1.45rem; margin: 40px 0 14px; }
.post h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.post p { margin: 0 0 18px; }
.post ul, .post ol { margin: 0 0 18px 24px; }
.post li { margin-bottom: 8px; }
.post blockquote {
  border-left: 3px solid var(--black);
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  font-style: italic;
  color: var(--muted);
}
.post blockquote cite { display: block; margin-top: 8px; font-style: normal; font-size: 0.85rem; }
.post .cta-box {
  background: var(--black);
  color: var(--near-white);
  padding: 32px;
  margin: 36px 0;
  text-align: center;
}
.post .cta-box h2 { margin: 0 0 12px; font-size: 1.3rem; }
.post .cta-box p { font-size: 0.95rem; }
.post .refs { font-size: 0.85rem; color: var(--muted); word-break: break-word; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero-headline { font-size: 1.8rem; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .logos-row { gap: 28px; }
  .logos-row img { height: 60px; }
  .contact-card { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 1.2rem; }
  .wordmark .name { font-size: 2.1rem; }
}
