/* skilltrade.marketing — hand-rolled, no framework */
:root {
  --ink: #161c1b;
  --paper: #ffffff;
  --muted: #5f6664;
  --line: #e6e8e7;
  --maxw: 780px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

/* nav */
.topnav {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}
.topnav .brand {
  font-weight: 700; font-size: 19px; letter-spacing: .3px;
  color: var(--ink); text-decoration: none; margin-right: 6px;
}
.topnav nav { display: flex; gap: 16px; flex-wrap: wrap; flex: 1; }
.nav-link {
  color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600;
  opacity: .82;
}
.nav-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* buttons (outlined black, uppercase — matches the original RONSUME button) */
.btn {
  display: inline-block;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
  padding: 10px 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; text-decoration: none;
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-nav { padding: 8px 14px; font-size: 12px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* layout */
main { display: block; }
.sec, .hero, .post {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 22px;
}
.sec + .sec { border-top: 1px solid var(--line); }
.hero { padding-top: 84px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.25; margin: 0 0 18px; }
.hero .sub { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.embed-marquee iframe { border: 1px solid var(--line); border-radius: 6px; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.3; font-weight: 700; }
h1 { font-size: clamp(28px, 4.5vw, 40px); }
h2 { font-size: clamp(21px, 3vw, 27px); margin: 1.6em 0 .6em; }
h3 { font-size: 19px; }
.sec > h2:first-child, .sec > h1:first-child { margin-top: 0; }
p { margin: .9em 0; }
a { color: inherit; text-underline-offset: 3px; }
blockquote {
  margin: 1.2em 0; padding: .2em 1.2em;
  border-left: 3px solid var(--ink); color: var(--muted);
}

/* the About bullets are h2s on the original — soften them */
.sec-about h2 { font-size: clamp(19px, 2.6vw, 24px); margin: .8em 0; font-weight: 600; }

.greeting p {
  font-size: clamp(24px, 4vw, 34px); font-weight: 700;
  text-align: center; margin: .4em 0;
}

/* media */
figure { margin: 26px 0; text-align: center; }
figure img {
  max-width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 6px;
}
.caption { color: var(--muted); font-size: 14px; text-align: center; margin-top: -14px; }

.embed { margin: 30px 0; text-align: center; }
.embed iframe { max-width: 100%; }
.embed-ph iframe { width: 500px; height: 405px; }
.embed-video { position: relative; }
.embed-video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.embed-arcade iframe, .embed-gcal iframe { border: 1px solid var(--line); border-radius: 6px; }
.embed-iframe iframe { border: 1px solid var(--line); border-radius: 6px; }

/* testimonials */
.sec-testi figure img { max-width: 560px; width: 100%; }
.sec-testi p { text-align: center; }

/* blog cards */
.cards { display: grid; gap: 26px; margin-top: 30px; }
.card {
  display: grid; grid-template-columns: 210px 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow .15s, transform .15s;
}
.card:hover { box-shadow: 0 6px 22px rgba(22,28,27,.10); transform: translateY(-2px); }
.card-img { background: #f4f5f5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 18px 22px; }
.card-body h2 { margin: 0 0 6px; font-size: 20px; }
.card-body p { margin: .4em 0; font-size: 15px; }
.meta { color: var(--muted); font-size: 13.5px; }
@media (max-width: 640px) {
  .card { grid-template-columns: 1fr; }
  .card-img img { max-height: 170px; }
}

/* posts */
.post-banner { margin: 0 0 26px; }
.post-banner img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 8px; }
.post h1 { margin: .2em 0 .2em; }
.post .meta { margin-bottom: 1.6em; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 34px; font-size: 14.5px; }

/* footer */
.foot {
  border-top: 1px solid var(--line);
  margin-top: 70px; padding: 34px 22px 44px;
  text-align: center; font-size: 14.5px;
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.copy { color: var(--muted); font-size: 13px; margin-top: 8px; }
