/* ============================================================
   VeriSanction — WordPress Theme Stylesheet
   ============================================================ */

/* ----------  Design tokens  ---------- */
:root {
  --navy-1: #082143;
  --navy-2: #112d54;
  --navy-footer: #0c2649;
  --red: #da3451;
  --red-light: #f0577a;
  --green: #2f9e60;
  --green-soft: #eaf7ef;
  --pink-soft: #fdeeee;
  --gold: #c9a24b;
  --ink: #14213d;
  --body: #5d6776;
  --muted: #9aa3b2;
  --line: #e7e9ee;
  --bg: #f7f7f7;
  --card: #ffffff;
  --container: 1200px;
  --radius: 14px;
  --shadow-sm: 0 6px 18px rgba(16, 35, 67, .06);
  --shadow-md: 0 14px 40px rgba(16, 35, 67, .10);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ----------  Reset / base  ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; font-weight: 800; }
button { font-family: inherit; cursor: pointer; border: none; }
input, textarea, select { font-family: inherit; }

/* ----------  Layout helpers  ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent-red { color: var(--red); }
.accent-green { color: var(--green); }
.section { padding: 70px 0; }

/* ============================================================
   MASTHEAD (navy gradient band = header + hero)
   ============================================================ */
.masthead {
  position: relative;
  background:
    radial-gradient(ellipse 60% 75% at 50% 42%, rgba(46, 92, 156, .55), rgba(8, 33, 67, 0) 70%),
    linear-gradient(160deg, var(--navy-1) 0%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
}

/* ----------  Top navigation  ---------- */
.topbar { position: relative; z-index: 20; }
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 88px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: auto; }
.brand .brand-name {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .2px;
  background: linear-gradient(90deg, #74b98a 0%, #d8c486 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav { display: flex; align-items: center; gap: 38px; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links li { list-style: none; }
.nav-links a {
  color: #e8edf6;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }
.nav-links li.current-menu-item > a,
.nav-links a.active { color: var(--green); }
.nav-links li.current-menu-item > a::after,
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--red-light), var(--red));
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 11px 26px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(218, 52, 81, .35);
  transition: transform .2s, box-shadow .2s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(218, 52, 81, .45); }

/* ----------  Hamburger (mobile): 3 lines -> X  ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
}
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 4px;
  transform-origin: center;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----------  Hero copy  ---------- */
.hero { position: relative; z-index: 10; text-align: center; padding: 56px 0 96px; }
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.12;
}
.hero p {
  max-width: 620px;
  margin: 18px auto 0;
  color: #c3cee0;
  font-size: 15px;
  line-height: 1.7;
}

/* hero variant where featured card overlaps the band */
.masthead--home .hero { padding-bottom: 150px; }

/* ============================================================
   BUTTONS / LINKS shared
   ============================================================ */
.read-more {
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.read-more:hover { color: var(--red-light); }

/* ============================================================
   HOME — Featured post + blog grid
   ============================================================ */
.featured-wrap { margin-top: -110px; position: relative; z-index: 15; }
.featured-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-md);
  align-items: center;
}
.featured-card .thumb { border-radius: 12px; overflow: hidden; height: 200px; }
.featured-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured-card h3 { font-size: 24px; margin-bottom: 14px; }
.post-meta { display: flex; align-items: center; gap: 18px; font-size: 13px; margin-bottom: 12px; flex-wrap: wrap; }
.post-meta .by { color: var(--green); font-weight: 600; background: var(--green-soft); padding: 3px 10px; border-radius: 6px; }
.post-meta .date { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.featured-card p { font-size: 14px; margin-bottom: 16px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .card-img { display: block; height: 210px; }
.post-card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .card-body { padding: 20px 22px 24px; }
.post-card h3 { font-size: 18px; line-height: 1.4; margin: 10px 0 10px; }
.post-card p { font-size: 14px; margin-bottom: 16px; }

/* Blog pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  transition: .2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: linear-gradient(160deg, var(--navy-1), var(--navy-footer));
  color: #cdd6e6;
  text-align: center;
  padding: 48px 0 36px;
}
.site-footer .brand { justify-content: center; margin-bottom: 22px; }
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  color: #e8edf6;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 24px;
  max-width: 560px;
  margin: 0 auto;
}
.footer-nav a:hover { color: var(--green); }
.footer-nav .sep { color: rgba(255, 255, 255, .25); }
.footer-nav ul { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-nav li::after { content: "|"; color: rgba(255, 255, 255, .25); margin-left: 18px; }
.footer-nav li:last-child::after { display: none; }
.copyright { margin-top: 18px; font-size: 13px; color: #8d99ad; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-block { text-align: center; max-width: 980px; margin: 0 auto; }
.about-block h2 { font-size: 30px; margin-bottom: 22px; }
.about-block p { margin: 0 auto 14px; font-size: 15.5px; }
.about-block strong { color: var(--ink); }

.why-built { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-built h2 { font-size: 30px; margin-bottom: 20px; text-align: left; }
.why-built p { margin-bottom: 16px; font-size: 15px; }
.why-built .shield-frame {
  border-radius: 16px;
  padding: 40px;
  background: linear-gradient(150deg, #aebfa0, #5d7d54 55%, #3c5636);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.why-built .shield-frame img { width: 230px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }

.mission { text-align: center; }
.mission h2 { font-size: 30px; margin-bottom: 18px; }
.mission > p { max-width: 760px; margin: 0 auto 12px; font-size: 15.5px; }
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 46px;
  text-align: center;
}
.mission-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
}
.mission-card.is-highlight { border: 1.5px solid var(--green); box-shadow: 0 14px 36px rgba(47, 158, 96, .14); }
.mission-card .ic {
  width: 54px; height: 54px; margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 14px; background: #f1f5fb;
  font-size: 24px;
}
.mission-card.is-highlight .ic { background: var(--green-soft); }
.mission-card h3 { font-size: 19px; margin-bottom: 12px; }
.mission-card p { font-size: 14px; }

/* ============================================================
   BLOG SINGLE
   ============================================================ */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.article .feature-img { border-radius: 14px; overflow: hidden; margin-bottom: 26px; }
.article .feature-img img { width: 100%; height: auto; }
.article .meta {
  display: flex; gap: 26px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); margin-bottom: 14px;
}
.article .meta span { display: inline-flex; align-items: center; gap: 7px; }
.article .meta .ic { color: var(--green); }
.article h1 { font-size: 32px; margin-bottom: 20px; }
.article h2 { font-size: 26px; margin: 34px 0 18px; }
.article p { margin-bottom: 20px; font-size: 15.5px; }

.pullquote {
  background: #f4f6fa;
  border-radius: 14px;
  text-align: center;
  padding: 40px 48px;
  margin: 32px 0;
}
.pullquote blockquote { font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.55; border: none; padding: 0; margin: 0; }
.pullquote .q-author { margin-top: 18px; font-weight: 700; color: var(--red); font-size: 15px; }
.pullquote .q-role { font-size: 13px; color: var(--muted); }

.img-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0; }
.img-duo img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.img-duo br { display: none; }

.feature-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; align-items: center; margin: 24px 0 28px; }
.feature-split > p:empty, .feature-split > br { display: none; }
.feature-split img { width: 100%; height: 240px; object-fit: cover; border-radius: 12px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 15px; color: var(--body); }
.check-list .tick {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 12px; margin-top: 2px;
}

.post-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0; margin-top: 28px;
}
.tag-row, .share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag-row .lbl, .share-row .lbl { font-weight: 700; color: var(--ink); font-size: 14px; }
.chip { background: #f1f3f7; color: #586173; font-size: 13px; padding: 6px 14px; border-radius: 8px; }
.chip:hover { background: var(--green-soft); color: var(--green); }
.share-row .soc {
  width: 34px; height: 34px; border-radius: 50%; background: #f1f3f7;
  display: grid; place-items: center; color: #4a5568; transition: .2s;
  font-style: normal; font-weight: 700; font-size: 13px;
}
.share-row .soc:hover { background: var(--red); color: #fff; }

.author-box {
  display: grid; grid-template-columns: 96px 1fr; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; margin: 30px 0; box-shadow: var(--shadow-sm);
}
.author-box img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; }
.author-box .role { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.author-box h4 { font-size: 20px; margin: 2px 0 8px; }
.author-box p { font-size: 14px; }

/* comment form */
.reply { margin-top: 40px; }
.reply h2 { font-size: 26px; margin-bottom: 22px; }
.reply .comment-form { display: grid; gap: 18px; }
.reply .comment-form p { margin: 0; }
.reply .comment-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.reply input[type="text"],
.reply input[type="email"],
.reply input[type="url"],
.reply select,
.reply textarea {
  width: 100%; background: #f2f3f6; border: 1px solid transparent;
  border-radius: 10px; padding: 15px 18px; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.reply textarea { min-height: 150px; resize: vertical; }
.reply input::placeholder, .reply textarea::placeholder { color: #97a0b0; }
.reply input:focus, .reply select:focus, .reply textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.reply .comment-notes,
.reply .logged-in-as { font-size: 13px; color: var(--muted); }
.reply .form-submit { margin: 0; }
.btn-submit,
.reply input[type="submit"],
.reply .submit {
  background: linear-gradient(90deg, #4a63f0, #3b54e6);
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 14px 32px; border-radius: 10px; border: none; cursor: pointer;
  box-shadow: 0 10px 24px rgba(59, 84, 230, .35);
  transition: transform .2s, box-shadow .2s;
  font-family: var(--font);
}
.btn-submit:hover,
.reply input[type="submit"]:hover,
.reply .submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(59, 84, 230, .45); }

/* sidebar */
.sidebar { display: grid; gap: 28px; position: sticky; top: 24px; }
.widget { border-radius: 16px; padding: 26px 24px; }
.widget h3 { font-size: 18px; margin-bottom: 20px; }
.widget--recent { background: var(--pink-soft); }
.widget--tags { background: var(--green-soft); }
.recent-item { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.recent-item:last-child { border-bottom: none; }
.recent-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.recent-item .rt { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.recent-item .rd { font-size: 12px; color: var(--muted); margin-top: 4px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { background: #f1f3f7; color: #586173; font-size: 13px; padding: 6px 14px; border-radius: 8px; }
.tag-cloud a:hover { background: var(--green-soft); color: var(--green); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 { font-size: 30px; margin-bottom: 16px; }
.contact-info > p { font-size: 15.5px; margin-bottom: 28px; }
.info-list { display: grid; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px;
  background: var(--green-soft); color: var(--green);
}
.info-item .it-label { font-size: 13px; color: var(--muted); }
.info-item .it-value { font-size: 16px; font-weight: 600; color: var(--ink); }
.info-item .it-value a { color: var(--ink); }
.info-item .it-value a:hover { color: var(--green); }

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.contact-card h3 { font-size: 22px; margin-bottom: 6px; }
.contact-card .sub { font-size: 14px; margin-bottom: 24px; color: var(--body); }

/* Contact Form 7 overrides */
.contact-card .wpcf7-form { display: grid; gap: 18px; }
.contact-card .wpcf7-form p { margin: 0; }
.contact-card .wpcf7-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card .wpcf7-form label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.contact-card .wpcf7-form input[type="text"],
.contact-card .wpcf7-form input[type="email"],
.contact-card .wpcf7-form input[type="tel"],
.contact-card .wpcf7-form textarea {
  width: 100%; background: #f2f3f6; border: 1px solid transparent;
  border-radius: 10px; padding: 14px 16px; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.contact-card .wpcf7-form textarea { min-height: 150px; resize: vertical; }
.contact-card .wpcf7-form input::placeholder,
.contact-card .wpcf7-form textarea::placeholder { color: #97a0b0; }
.contact-card .wpcf7-form input:focus,
.contact-card .wpcf7-form textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.contact-card .wpcf7-form input[type="submit"] {
  background: linear-gradient(90deg, var(--red-light), var(--red));
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 14px 32px; border-radius: 10px; border: none; cursor: pointer;
  box-shadow: 0 10px 24px rgba(218, 52, 81, .35);
  transition: transform .2s, box-shadow .2s;
  font-family: var(--font);
}
.contact-card .wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(218, 52, 81, .45);
}
.wpcf7-not-valid-tip { font-size: 12px; color: var(--red); margin-top: 4px; display: block; }
.wpcf7-response-output { border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-top: 10px; border: none !important; }
.wpcf7-mail-sent-ok { background: var(--green-soft); color: var(--green); }
.wpcf7-mail-sent-ng, .wpcf7-spam-blocked { background: var(--pink-soft); color: var(--red); }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 { text-align: center; padding: 100px 0; }
.error-404 .error-code { font-size: 120px; font-weight: 800; color: var(--red); line-height: 1; }
.error-404 h2 { font-size: 30px; margin: 16px 0 12px; }
.error-404 p { font-size: 16px; max-width: 500px; margin: 0 auto 30px; }
.error-404 .btn-home {
  display: inline-flex; align-items: center;
  background: linear-gradient(90deg, var(--red-light), var(--red));
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 14px 32px; border-radius: 10px;
  box-shadow: 0 10px 24px rgba(218, 52, 81, .35);
  transition: transform .2s, box-shadow .2s;
}
.error-404 .btn-home:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(218, 52, 81, .45); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .why-built { grid-template-columns: 1fr; gap: 36px; }
  .why-built h2 { text-align: center; }
  .why-built .shield-frame { order: -1; }
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
}

@media (max-width: 820px) {
  /* Mobile nav */
  .nav-toggle { display: flex; z-index: 30; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80%, 320px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0; padding: 96px 28px 28px;
    background: linear-gradient(160deg, var(--navy-1), var(--navy-2));
    transform: translateX(100%); transition: transform .3s ease;
    box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
    overflow-y: auto;
  }
  .nav-open .nav { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 17px; }
  .nav-links li.current-menu-item > a::after,
  .nav-links a.active::after { display: none; }
  .btn-download { margin-top: 18px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(4, 14, 30, .55); opacity: 0; visibility: hidden; transition: .3s; z-index: 19; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .mission-cards { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .thumb { height: 220px; }
  .reply .comment-form .row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-card .wpcf7-form .row { grid-template-columns: 1fr; }
  .contact-card { padding: 26px; }
  .img-duo, .feature-split { grid-template-columns: 1fr; }
  .feature-split img, .img-duo img { height: 220px; }
  .author-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .post-foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .container { padding: 0 18px; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 70px; }
  .masthead--home .hero { padding-bottom: 120px; }
  .featured-wrap { margin-top: -80px; }
  .pullquote { padding: 28px 22px; }
  .author-box img { width: 84px; height: 84px; }
  .error-404 .error-code { font-size: 80px; }
}

/* ============================================================
   PERFORMANCE — content-visibility for below-fold sections
   ============================================================ */
.why-built,
.mission,
.blog-grid,
.contact-grid,
.site-footer,
.reply,
.author-box,
.post-foot,
.sidebar {
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}
