/* God's Family Business — Paul B. York
   Most styling is inline on the elements; this file holds the base reset,
   responsive nav behaviour, keyframes, and lifted :hover states. */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: #f5efe2; color: #221f1a; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
::selection { background: rgba(177,87,58,0.22); }

@keyframes heroUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* Responsive navigation: full links on desktop, hamburger + drawer on mobile */
@media (max-width: 880px) {
  [data-nav-links] { display: none !important; }
  [data-nav-toggle] { display: inline-flex !important; }
}
@media (min-width: 881px) {
  [data-nav-toggle] { display: none !important; }
  [data-mobile-menu] { display: none !important; }
}

/* Hover states (lifted from the design) */
[data-h="0"]:hover { color:#e7ad84 !important; }
[data-h="1"]:hover { color:#e7ad84 !important; }
[data-h="2"]:hover { color:#e7ad84 !important; }
[data-h="3"]:hover { color:#e7ad84 !important; }
[data-h="4"]:hover { color:#e7ad84 !important; }
[data-h="5"]:hover { color:#e7ad84 !important; }
[data-h="6"]:hover { background:#8f3f28 !important; }
[data-h="7"]:hover { background:#8f3f28 !important; transform:translateY(-2px) !important; }
[data-h="8"]:hover { background:rgba(253,248,238,0.12) !important; border-color:#fdf8ee !important; }
[data-h="9"]:hover { transform:translateY(-6px) !important; box-shadow:0 24px 50px rgba(34,31,26,0.13) !important; }
[data-h="10"]:hover { transform:translateY(-6px) !important; box-shadow:0 24px 50px rgba(34,31,26,0.13) !important; }
[data-h="11"]:hover { transform:translateY(-6px) !important; box-shadow:0 24px 50px rgba(34,31,26,0.13) !important; }
[data-h="12"]:hover { transform:translateY(-6px) !important; box-shadow:0 24px 50px rgba(34,31,26,0.13) !important; }
[data-h="13"]:hover { background:#b1573a !important; color:#fdf8ee !important; border-color:#b1573a !important; }
[data-h="14"]:hover { background:#b1573a !important; color:#fdf8ee !important; border-color:#b1573a !important; }
[data-h="15"]:hover { background:#b1573a !important; color:#fdf8ee !important; border-color:#b1573a !important; }
[data-h="16"]:hover { transform:translateY(-4px) !important; box-shadow:0 30px 64px rgba(34,31,26,0.13) !important; }
[data-h="17"]:hover { transform:translateY(-2px) !important; background:#fff !important; }
[data-h="18"]:hover { background:rgba(253,248,238,0.14) !important; }
[data-h="19"]:hover { background:#8f3f28 !important; transform:translateY(-2px) !important; }
[data-h="20"]:hover { color:#8f3f28 !important; }
[data-h="21"]:hover { color:#8f3f28 !important; }
[data-h="22"]:hover { color:#8f3f28 !important; }
[data-h="23"]:hover { color:#8f3f28 !important; }
[data-h="24"]:hover { color:#8f3f28 !important; }
[data-h="25"]:hover { color:#8f3f28 !important; }
[data-h="26"]:hover { color:#e7ad84 !important; }
[data-h="27"]:hover { color:#e7ad84 !important; }
[data-h="28"]:hover { color:#e7ad84 !important; }
[data-h="29"]:hover { color:#e7ad84 !important; }
[data-h="30"]:hover { color:#e7ad84 !important; }
[data-h="31"]:hover { color:#e7ad84 !important; }
[data-h="32"]:hover { background:#8f3f28 !important; }
[data-h="33"]:hover { gap:12px !important; }
[data-h="34"]:hover { background:#2e4f43 !important; color:#f3ead9 !important; border-color:#2e4f43 !important; }
[data-h="35"]:hover { color:#8f3f28 !important; }
[data-h="36"]:hover { color:#8f3f28 !important; }
[data-h="37"]:hover { color:#8f3f28 !important; }
[data-h="38"]:hover { color:#8f3f28 !important; }
[data-h="39"]:hover { color:#8f3f28 !important; }
[data-h="40"]:hover { color:#8f3f28 !important; }

/* Generated journal and article pages */
*, *::before, *::after { box-sizing: border-box; }

.journal-site {
  background: #f5efe2;
  color: #221f1a;
  font-family: "Newsreader", serif;
}

.journal-site a:focus-visible,
.journal-site button:focus-visible {
  outline: 3px solid #e7ad84;
  outline-offset: 4px;
}

.journal-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 15px clamp(22px, 5vw, 60px);
  background: rgba(36, 58, 48, 0.97);
  border-bottom: 1px solid rgba(253, 248, 238, 0.1);
  box-shadow: 0 8px 28px rgba(18, 22, 17, 0.18);
  backdrop-filter: blur(10px);
}

.journal-brand {
  position: relative;
  z-index: 2;
  color: #fdf8ee;
  font-family: "Newsreader", serif;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.journal-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journal-nav a {
  color: rgba(253, 248, 238, 0.86);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease;
}

.journal-nav a:hover,
.journal-nav a.is-active { color: #e7ad84; }

.journal-nav .journal-order {
  padding: 11px 20px;
  border-radius: 4px;
  background: #b1573a;
  color: #fdf8ee;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.journal-nav .journal-order:hover {
  background: #8f3f28;
  color: #fdf8ee;
}

.journal-menu-button {
  position: relative;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(253, 248, 238, 0.4);
  border-radius: 6px;
  background: rgba(20, 17, 12, 0.25);
  color: #fdf8ee;
  cursor: pointer;
  font-size: 1.2rem;
}

.journal-mobile-nav {
  position: absolute;
  inset: 100% 0 auto 0;
  z-index: 1;
  display: none;
  flex-direction: column;
  padding: 14px clamp(22px, 5vw, 60px) 22px;
  background: #243a30;
  border-bottom: 1px solid rgba(253, 248, 238, 0.12);
  box-shadow: 0 26px 44px rgba(18, 22, 17, 0.3);
}

.journal-mobile-nav a {
  padding: 13px 4px;
  border-bottom: 1px solid rgba(253, 248, 238, 0.12);
  color: #f3ead9;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.journal-mobile-nav .journal-mobile-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 14px 20px;
  border: 0;
  border-radius: 5px;
  background: #b1573a;
  color: #fdf8ee;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.journal-kicker {
  margin: 0 0 14px;
  color: #b1573a;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.journal-hero {
  position: relative;
  min-height: min(690px, 72vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #18251f;
}

.journal-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.journal-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 25, 21, 0.28), rgba(18, 25, 21, 0.2) 34%, rgba(18, 25, 21, 0.86) 100%);
}

.journal-hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 145px clamp(24px, 5vw, 60px) clamp(54px, 8vh, 82px);
  color: #fdf8ee;
}

.journal-hero-content .journal-kicker { color: #e7ad84; }

.journal-hero h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(3.8rem, 9vw, 7.4rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.journal-hero-content > p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(253, 248, 238, 0.9);
  font-family: "Newsreader", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.5;
}

.journal-feed {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) clamp(24px, 5vw, 60px);
}

.journal-feed-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: end;
  padding-bottom: clamp(34px, 5vw, 54px);
  border-bottom: 1px solid rgba(34, 31, 26, 0.18);
}

.journal-feed-heading h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.journal-feed-heading > p {
  margin: 0;
  color: #665f54;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}

.post-list { display: grid; }

.post-card {
  display: grid;
  grid-template-columns: minmax(290px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(42px, 7vw, 80px) 0;
  border-bottom: 1px solid rgba(34, 31, 26, 0.18);
}

.post-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 7px;
  background: #d8cdbc;
  box-shadow: 0 20px 48px rgba(34, 31, 26, 0.13);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-card-image img { transform: scale(1.025); }

.post-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2e4f43, #b1573a);
}

.post-card-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #887e70;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0;
}

.post-card h3 a { color: #221f1a; text-decoration: none; }

.post-card-copy > p {
  max-width: 610px;
  margin: 0 0 24px;
  color: #625b50;
  font-size: clamp(1.06rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.post-card-link,
.article-closing a,
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a54d34;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.post-card-link:hover,
.article-closing a:hover,
.article-back:hover { color: #793722; }

.journal-empty {
  margin: 50px 0 0;
  color: #625b50;
  font-size: 1.3rem;
}

.article-page { padding-top: 78px; }

.article-header {
  width: min(100%, 900px);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 128px) clamp(24px, 5vw, 60px) clamp(42px, 6vw, 70px);
}

.article-back { margin-bottom: clamp(42px, 7vw, 76px); }

.article-header h1 {
  max-width: 900px;
  margin: 0 0 22px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: 0;
}

.article-deck {
  max-width: 760px;
  margin: 28px 0 0;
  color: #625b50;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55;
}

.article-feature {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto clamp(54px, 8vw, 94px);
}

.article-feature img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 24px 62px rgba(34, 31, 26, 0.15);
}

.article-body {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  color: #3f3a32;
  font-size: clamp(1.18rem, 1.7vw, 1.38rem);
  line-height: 1.82;
}

.article-body p { margin: 0 0 1.5em; }

.article-body h2,
.article-body h3 {
  color: #221f1a;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0;
}

.article-body h2 {
  margin: 1.6em 0 0.55em;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.article-body h3 {
  margin: 1.5em 0 0.5em;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.article-body a { color: #a54d34; text-underline-offset: 0.18em; }

.article-body blockquote {
  margin: clamp(42px, 7vw, 68px) 0;
  padding: clamp(28px, 5vw, 44px);
  border-left: 5px solid #b1573a;
  border-radius: 0 7px 7px 0;
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(34, 31, 26, 0.08);
  color: #2e4f43;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.2;
}

.article-body blockquote p { margin: 0; }

.article-body img {
  width: 100%;
  height: auto;
  margin: 2.2em 0;
  border-radius: 7px;
}

.article-closing {
  width: min(calc(100% - 48px), 760px);
  margin: clamp(62px, 9vw, 108px) auto;
  padding-top: 30px;
  border-top: 1px solid rgba(34, 31, 26, 0.18);
}

.article-closing p {
  margin: 0 0 18px;
  color: #625b50;
  font-size: 1.08rem;
  line-height: 1.6;
}

.journal-footer {
  padding: clamp(48px, 6vw, 76px) clamp(24px, 5vw, 64px) 38px;
  border-top: 1px solid rgba(34, 31, 26, 0.1);
  background: #fbf7ef;
}

.journal-footer-inner { width: min(100%, 1180px); margin: 0 auto; }

.journal-contact-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  margin-bottom: 42px;
  padding: clamp(32px, 4.5vw, 52px) clamp(28px, 5vw, 56px);
  overflow: hidden;
  border-left: 6px solid #b1573a;
  border-radius: 7px;
  background: linear-gradient(118deg, #fffdf8 0%, #f3ead9 60%, rgba(46, 79, 67, 0.16) 100%);
  box-shadow: 0 24px 60px rgba(34, 31, 26, 0.08);
}

.journal-contact-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
}

.journal-contact-cta div > p:last-child {
  max-width: 65ch;
  margin: 0;
  color: #6b6358;
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
  line-height: 1.6;
}

.journal-contact-cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 28px;
  border-radius: 5px;
  background: #b1573a;
  box-shadow: 0 14px 30px rgba(177, 87, 58, 0.24);
  color: #fdf8ee;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.journal-contact-cta > a:hover { background: #8f3f28; }

.journal-footer-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  align-items: center;
}

.journal-footer-title {
  margin: 0 0 4px;
  color: #2e4f43;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.journal-footer-subtitle {
  margin: 0;
  color: #8a7f6f;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.journal-footer-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-footer-row nav a { color: #b1573a; text-decoration: none; }
.journal-footer-row nav a:hover { color: #8f3f28; }

@media (max-width: 760px) {
  .journal-hero { min-height: 620px; }
  .journal-hero > img { object-position: 58% center; }
  .journal-feed-heading,
  .post-card,
  .journal-contact-cta { grid-template-columns: 1fr; }
  .post-card { gap: 28px; }
  .post-card-copy { order: -1; }
  .article-feature { width: calc(100% - 32px); }
  .article-feature img { aspect-ratio: 4 / 3; }
  .article-body,
  .article-closing { width: calc(100% - 40px); }
  .journal-contact-cta > a { width: 100%; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
