/* Hawkstone Journal mockup: brand tokens from the Elementor kit (ID 11) */
:root {
  --gold: #AA9767;
  --gold-text: #8C6F00;
  --gold-soft: #F4EFE3;
  --ink: #231F20;
  --muted: #54595F;
  --line: #E4DED2;
  --paper: #FFFFFF;
  --paper-warm: #FAF8F4;
  --charcoal: #2D2D2D;
  --black: #111111;
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --measure: 720px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Site header (mirrors the live Elementor header) */
.site-header {
  background: var(--charcoal) url("https://hawkstonehomes.com/jjwp/wp-content/uploads/2026/03/hawk-tile-transparent.png") repeat;
  position: relative;
  z-index: 10;
}
.site-header .wrap { display: flex; align-items: center; justify-content: center; gap: 48px; min-height: 76px; }
.site-header .logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { color: #fff; text-decoration: none; font: 500 14px/1 var(--font-body); letter-spacing: .01em; }
.nav a:hover, .nav a[aria-current] { color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; margin-right: -10px; place-items: center; cursor: pointer; }

/* Ornament + eyebrow */
.ornament { display: flex; justify-content: center; margin: 0 auto 18px; }
.ornament img { height: 24px; width: auto; }
.eyebrow {
  font: 600 12px/1.3 var(--font-head);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.on-dark .eyebrow { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  font: 600 14px/1 var(--font-body);
  letter-spacing: .04em;
  padding: 16px 28px;
  border-radius: 2px;
  transition: background .15s;
}
.btn:hover { background: #967f4f; }
.btn-ghost { background: transparent; border: 1px solid currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Photo hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--black) center/cover no-repeat;
  text-align: center;
  padding: 110px 0 100px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,17,.55), rgba(17,17,17,.72)); }
.hero > * { position: relative; }
.hero h1 { font: 600 clamp(34px, 5vw, 54px)/1.12 var(--font-head); margin: 10px auto 16px; max-width: 16ch; }
.hero p { font-size: 19px; max-width: 580px; margin: 0 auto; color: #eee; }

/* Category filter */
.filters { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.filters .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.chip {
  flex: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: 500 14px/1 var(--font-body);
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
}
.chip span { color: var(--muted); font-weight: 400; margin-left: 4px; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.chip[aria-pressed="true"] span { color: var(--gold); }

/* Featured article */
.featured { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 56px 0 24px; text-decoration: none; }
.featured .img { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); }
.featured img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured:hover img { transform: scale(1.03); }
.featured h2 { font: 600 clamp(26px, 3vw, 34px)/1.2 var(--font-head); margin: 12px 0 14px; }
.featured p { color: var(--muted); margin: 0 0 18px; }
.meta { font-size: 14px; color: var(--muted); }
.meta b { font-weight: 500; color: var(--ink); }
.read-more { font: 600 14px var(--font-body); color: var(--gold-text); letter-spacing: .03em; }

/* Card grid */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 48px 0 24px; border-top: 1px solid var(--line); padding-top: 40px; }
.section-head h2 { font: 600 24px/1.2 var(--font-head); margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.card { text-decoration: none; display: flex; flex-direction: column; }
.card .img { aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; background: var(--paper-warm); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover img { transform: scale(1.04); }
.card h3 { font: 600 19px/1.35 var(--font-head); margin: 8px 0 10px; }
.card:hover h3 { color: var(--gold-text); }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { margin-top: auto; }
.card[hidden], .featured[hidden] { display: none; }
.more { text-align: center; margin: 48px 0 0; }
.more .btn-ghost { color: var(--ink); }
.more .btn-ghost:hover { background: var(--paper-warm); }

/* CTA band */
.cta-band {
  margin-top: 88px;
  position: relative;
  color: #fff;
  text-align: center;
  background: var(--black) center/cover no-repeat;
  padding: 96px 0;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.68); }
.cta-band > * { position: relative; }
.cta-band h2 { font: 600 clamp(28px, 3.6vw, 40px)/1.2 var(--font-head); margin: 8px auto 14px; max-width: 20ch; }
.cta-band p { color: #ddd; max-width: 560px; margin: 0 auto 30px; font-size: 18px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Article hero */
.post-hero { padding: 140px 0 72px; text-align: left; }
.post-hero .wrap { max-width: 980px; }
.post-hero h1 { font-size: clamp(30px, 4.2vw, 48px); max-width: 24ch; margin: 14px 0 20px; }
.crumbs { font-size: 14px; color: #ddd; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.post-hero .meta { color: #ddd; }
.post-hero .meta b { color: #fff; }

/* Article layout */
.article-layout { display: grid; grid-template-columns: 250px minmax(0, var(--measure)); gap: 64px; justify-content: center; padding: 64px 24px 0; }
.toc { position: sticky; top: 28px; align-self: start; font-size: 14.5px; }
.toc h2 { font: 600 12px/1 var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 16px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc li a:hover { color: var(--ink); }
.toc li a.active { color: var(--ink); border-left-color: var(--gold); font-weight: 500; }
.toc .toc-cta { margin-top: 28px; padding: 20px; background: var(--paper-warm); border-radius: var(--radius); }
.toc .toc-cta p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.toc .toc-cta a { color: var(--gold-text); font-weight: 600; }
.toc-mobile { display: none; }

/* Article body typography */
.prose { font-size: 18px; line-height: 1.78; }
.prose > p:first-child { font-size: 20px; line-height: 1.7; color: var(--ink); }
.prose h2 { font: 600 28px/1.25 var(--font-head); margin: 56px 0 18px; }
.prose h3 { font: 600 21px/1.35 var(--font-head); margin: 36px 0 12px; }
.prose p { margin: 0 0 22px; }
.prose a { color: var(--gold-text); text-underline-offset: 3px; }
.prose .btn, .inline-cta .btn { color: #fff; text-decoration: none; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 24px; }
.prose li { margin-bottom: 8px; padding-left: 4px; }
.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold-text); font-weight: 600; }
.prose strong { font-weight: 600; }
.prose hr { border: 0; height: 22px; margin: 48px auto; background: url("https://hawkstonehomes.com/jjwp/wp-content/uploads/2026/03/hawk-divider-black.png") center/auto 22px no-repeat; opacity: .5; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold); font-size: 20px; color: var(--muted); }
.prose .table-wrap { overflow-x: auto; margin: 0 0 28px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; line-height: 1.5; }
.prose th { background: var(--charcoal); color: #fff; font: 600 14px var(--font-head); text-align: left; padding: 12px 14px; }
.prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--paper-warm); }

/* In-article CTA */
.inline-cta {
  margin: 48px 0;
  background: var(--charcoal) url("https://hawkstonehomes.com/jjwp/wp-content/uploads/2026/03/hawk-tile-transparent.png") repeat;
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 36px 34px;
  text-align: center;
}
.inline-cta h3 { font: 600 23px/1.3 var(--font-head); margin: 6px 0 10px; }
.inline-cta p { color: #ddd; font-size: 16px; margin: 0 auto 22px; max-width: 460px; }

/* Author + related */
.author { display: flex; gap: 20px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; margin: 56px 0 0; }
.author .mark { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--charcoal); display: grid; place-items: center; }
.author .mark img { width: 40px; }
.author h4 { font: 600 17px var(--font-head); margin: 0 0 4px; }
.author p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.related { padding-top: 72px; }

/* Footer (mirrors the live footer) */
.site-footer { background: var(--charcoal); color: #cfcfcf; padding: 64px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h4 { font: 600 16px var(--font-head); color: #fff; margin: 0 0 14px; }
.site-footer a { color: #cfcfcf; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.site-footer .logo img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; font-size: 13px; color: #999; }

/* Responsive */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, var(--measure)); gap: 0; }
  .toc { display: none; }
  .toc-mobile { display: block; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 36px; font-size: 15px; }
  .toc-mobile summary { cursor: pointer; padding: 14px 18px; font: 600 13px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
  .toc-mobile ol { margin: 0; padding: 0 18px 16px 38px; }
  .toc-mobile li { margin: 6px 0; }
  .toc-mobile a { color: var(--ink); text-decoration: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header .wrap { justify-content: space-between; gap: 16px; }
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--charcoal); padding: 8px 24px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav a:last-child { border-bottom: 0; }
  .featured { grid-template-columns: 1fr; gap: 24px; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .article-layout { padding: 40px 16px 0; }
  .hero { padding: 80px 0 72px; }
  .post-hero { padding: 96px 0 48px; }
  .prose { font-size: 17px; }
  .prose > p:first-child { font-size: 18px; }
  .prose h2 { font-size: 24px; margin-top: 44px; }
  .inline-cta { padding: 28px 20px; }
  .section-head { flex-direction: column; gap: 4px; }
}

/* Article subtitle (the post's opening heading, shown under the title) */
.post-hero .dek { font: 400 clamp(18px, 2vw, 22px)/1.5 var(--font-body); color: #e8e8e8; max-width: 44ch; margin: -6px 0 22px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Mobile contact bar (article pages) */
.mobile-cta { display: none; }

@media (max-width: 640px) {
  .site-header .wrap { min-height: 64px; }
  .site-header .logo img { height: 34px; }

  /* Heroes */
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 31px; }
  .hero p { font-size: 17px; }
  .post-hero { padding: 56px 0 36px; }
  .post-hero h1 { font-size: 28px; margin: 10px 0 14px; }
  .post-hero .dek { font-size: 17px; margin: 0 0 16px; }
  .post-hero .meta { font-size: 13px; }

  /* Filters: edge fade shows the row scrolls */
  .filters .wrap { gap: 6px; padding-top: 10px; padding-bottom: 10px; padding-right: 40px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .chip { padding: 10px 14px; }

  /* Latest article */
  .featured { padding: 24px 0 0; gap: 16px; }
  .featured h2 { font-size: 23px; margin: 8px 0 10px; }
  .featured p { font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
  .featured .read-more { display: none; }
  .section-head { margin: 32px 0 4px; padding-top: 28px; flex-direction: row; align-items: baseline; }
  .section-head h2 { font-size: 20px; }

  /* Compact article rows instead of stacked cards */
  .grid { grid-template-columns: 1fr; gap: 0; }
  .card { display: grid; grid-template-columns: 104px 1fr; column-gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .card .img { grid-row: 1 / span 3; aspect-ratio: 1; margin: 0; }
  .card .eyebrow { font-size: 10.5px; letter-spacing: .14em; }
  .card h3 { font-size: 16px; line-height: 1.35; margin: 4px 0 6px; }
  .card p { display: none; }
  .card .meta { font-size: 13px; }
  .more { margin-top: 28px; }
  .more .btn { width: 100%; }

  /* CTA band */
  .cta-band { margin-top: 56px; padding: 64px 0; }
  .cta-band h2 { font-size: 26px; }
  .cta-band p { font-size: 16px; }
  .cta-band .actions { flex-direction: column; }
  .cta-band .btn, .inline-cta .btn { display: block; width: 100%; text-align: center; }

  /* Article body */
  .prose h3 { font-size: 19px; }
  .prose .table-wrap { margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  .prose table { min-width: 560px; font-size: 14.5px; }
  .prose hr { margin: 36px auto; }
  .inline-cta { margin: 36px 0; }
  .inline-cta h3 { font-size: 20px; }
  .author { margin-top: 40px; }
  .related { padding-top: 48px; }

  /* Footer */
  .site-footer { padding: 48px 0 24px; }
  .site-footer .legal { margin-top: 32px; }

  /* Sticky contact bar */
  .mobile-cta { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08);
    transform: translateY(110%); transition: transform .25s ease; }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { flex: 1; text-align: center; padding: 15px 12px; }
  .mobile-cta .call { flex: none; width: 50px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-text); border-radius: 2px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* Even line breaks in headings (avoids a lone last word) */
h1, h2, h3 { text-wrap: balance; }
.related .section-head { border-top: 0; padding-top: 0; }
