/* ==========================================================================
   Dawson Oaks Trailer Park Guide — "dusk yard-sign" theme
   Comic thick-ink borders + hard shadows, warm trailer-park palette.
   ========================================================================== */

:root {
  --ink: #241a12;
  --ink-2: #3a2c1e;
  --paper: #fbf3e2;
  --paper-2: #f6e9cd;
  --cream: #fdf6e3;
  --rust: #b4491f;
  --sun: #e08a2e;
  --gold: #f2c14e;
  --red: #b7362a;
  --teal: #2f7f74;
  --blue: #2c5a72;
  --muted: #6b5a42;
  --line: #241a12;
  --shadow: 5px 6px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --font-display: 'Alfa Slab One', Impact, 'Arial Black', serif;
  --font-body: 'Karla', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background-color: var(--paper);
  background-image: radial-gradient(#dcc79b47 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
p { line-height: 1.78; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}

.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.skip {
  position: absolute; top: -120px; left: 10px; padding: 10px;
  background: var(--cream); border: 2px solid var(--ink); z-index: 999;
}
.skip:focus { top: 10px; }

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}
h1 { font-size: clamp(34px, 5.4vw, 66px); }
h2 { font-size: clamp(24px, 3.3vw, 40px); }
h3 { font-size: clamp(19px, 2.2vw, 25px); }
strong { font-weight: 800; }
em { font-style: normal; }
::selection { background: var(--gold); color: var(--ink); }

/* --------------------------------------------------------------- ribbon */
.top-ribbon {
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.7px;
}
.ribbon-in {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 9px 0; flex-wrap: wrap;
}
.ping {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); margin-right: 8px;
  box-shadow: 0 0 0 2px #f2c14e33;
}

/* --------------------------------------------------------------- header */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.bar {
  min-height: 78px;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1; min-width: 0; }
.brand img {
  width: 44px; height: 44px;
  border: 2px solid var(--ink); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-3deg);
  background: var(--paper-2);
}
.brand span {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 19px);
  line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand em { color: var(--rust); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav li > a {
  display: inline-block;
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase;
  padding: 8px 0; white-space: nowrap;
}
.nav li > a:hover { color: var(--rust); }
.nav li > a .caret {
  display: inline-block; margin-left: 7px;
  font-size: 10px; line-height: 1; font-style: normal;
  color: var(--rust);
  transition: transform .16s;
}
.nav .has-kids:hover > a .caret,
.nav .has-kids:focus-within > a .caret { transform: rotate(180deg); }
.nav li.active > a {
  color: var(--ink);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.nav .kids {
  position: absolute; top: calc(100% + 4px); left: -12px;
  min-width: 230px; display: none;
  list-style: none; margin: 0; padding: 8px;
  background: #fffdf6; border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow); z-index: 60;
}
.nav .has-kids:hover .kids,
.nav .has-kids:focus-within .kids { display: block; }
.nav .kids li a {
  display: block; padding: 9px 11px; border-radius: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2px; text-transform: none;
}
.nav .kids li a:hover { background: var(--gold); color: var(--ink); }
.cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); border: 2px solid var(--ink); border-radius: 100px;
  box-shadow: var(--shadow-sm);
  padding: 11px 16px;
  font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  transition: transform .16s, box-shadow .16s;
}
.cta:hover { transform: translate(-1px, -2px); box-shadow: 5px 5px 0 var(--ink); }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--hero) center 30% / cover no-repeat var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(23, 15, 9, .88) 0%,
    rgba(23, 15, 9, .66) 40%,
    rgba(23, 15, 9, .30) 68%,
    rgba(23, 15, 9, .08) 100%);
}
.hero-in {
  position: relative; z-index: 2;
  padding: 74px 0 64px;
  max-width: 1160px;
}
.hero-copy { max-width: 620px; color: var(--cream); }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.asterisk {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; flex: 0 0 30px;
  background: var(--gold); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 50%;
  font-size: 15px; font-style: normal;
  transform: rotate(-8deg);
}
.hero h1 { color: var(--cream); margin: 0 0 20px; text-wrap: balance; }
.lead {
  font-size: clamp(15px, 1.6vw, 17.5px);
  line-height: 1.7; color: #f0e3c9; margin: 0 0 8px; font-weight: 600;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-proof {
  margin-top: 30px; font-size: 11px; letter-spacing: 1.2px;
  color: #cdbfa8; font-weight: 700;
}
.hero-proof strong { color: var(--gold); letter-spacing: 1.4px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 20px; border-radius: 9px;
  border: 2px solid var(--ink);
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  box-shadow: 4px 4px 0 rgba(23, 15, 9, .9);
  transition: transform .16s, box-shadow .16s;
  cursor: pointer;
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 6px 6px 0 rgba(23, 15, 9, .9); }
.btn.ghost { background: var(--cream); }

.sticker {
  position: absolute; z-index: 3;
  font-family: var(--font-display);
  border: 3px solid var(--ink);
  box-shadow: 4px 5px 0 rgba(23, 15, 9, .85);
}
.sticker-a {
  top: 46px; right: 26px;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-size: 17px; line-height: 1.15;
  transform: rotate(10deg);
}

/* ----------------------------------------------------------------- strip */
.strip {
  background: var(--gold);
  border-bottom: 2px solid var(--ink);
}
.strip-in {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 13px 0;
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase;
}

/* ------------------------------------------------------------ home body */
.home-body { padding-bottom: 80px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 18px; margin: 64px 0 24px;
}
.overline {
  font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--rust); margin: 0 0 8px;
}
.count-pill {
  display: inline-block;
  background: var(--gold); border: 2px solid var(--ink); border-radius: 100px;
  box-shadow: var(--shadow-sm); padding: 9px 14px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  transform: rotate(3deg); white-space: nowrap; margin-bottom: 10px;
}

/* ----------------------------------------------------------------- cards */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  display: flex; flex-direction: column;
  background: #fffdf6;
  border: 2px solid var(--ink); border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 7px 9px 0 var(--ink); }
.thumb {
  position: relative; display: block;
  border-bottom: 2px solid var(--ink);
  background: var(--paper-2);
}
.thumb img {
  aspect-ratio: 16 / 9; width: 100%; object-fit: cover;
  transition: transform .3s;
}
.card:hover .thumb img { transform: scale(1.04); }
.thumb-pill {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 100px;
  padding: 6px 11px;
  font-size: 9.5px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase;
  transform: rotate(-1.5deg);
  box-shadow: 2px 2px 0 rgba(23, 15, 9, .8);
}
.card:nth-child(3n+2) .thumb-pill { background: var(--teal); color: var(--cream); }
.card:nth-child(3n+3) .thumb-pill { background: var(--rust); color: var(--cream); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 16px; }
.card-body h3 { line-height: 1.15; margin-bottom: 9px; }
.card-body h3 a { text-decoration: none; }
.card-body p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.card-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 2px dashed #e3d3ac; padding-top: 12px;
}
.go { font-size: 11px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: var(--rust); }
.stamp { font-size: 10px; color: #9a8a6e; letter-spacing: .4px; }

/* --------------------------------------------------------------- article */
.crumb {
  padding: 22px 0 0;
  font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: #8d7c5e;
  display: flex; gap: 9px; align-items: center;
}
.crumb a:hover { color: var(--rust); }
.crumb strong { color: var(--ink); }

.article-frame {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 46px;
  padding: 26px 0 88px;
}
.article-frame.no-side { grid-template-columns: minmax(0, 1fr); }
.no-side article { max-width: 820px; }

.side { border-right: 2px solid #e6d6b0; padding-right: 22px; }
.side-in { position: sticky; top: 106px; }
.side-title {
  font-size: 10px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--rust); margin: 0 0 4px;
}
.side ol {
  list-style: none; margin: 10px 0 18px; padding: 6px 0 16px;
  border-bottom: 2px dashed #e3d3ac;
}
.side li a {
  display: block; padding: 8px 0;
  font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--muted);
}
.side li a:hover { color: var(--rust); }
.side-cta {
  display: block; background: var(--gold); border: 2px solid var(--ink); border-radius: 9px;
  box-shadow: var(--shadow-sm); padding: 13px 14px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.side-cta span { float: right; }

article { max-width: 800px; min-width: 0; }
article h1 { margin: 6px 0 22px; }
article h2 { margin: 44px 0 14px; scroll-margin-top: 118px; }
article h3 { margin: 30px 0 10px; }
article p { font-size: 15.5px; line-height: 1.85; color: #463623; margin: 0 0 17px; }
article a {
  color: var(--rust); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
article a:hover { color: var(--red); }
article ul, article ol { padding-left: 24px; margin: 0 0 18px; }
article li { margin: 8px 0; line-height: 1.75; color: #463623; }
article blockquote {
  margin: 22px 0; padding: 6px 18px;
  border-left: 8px solid var(--gold);
  background: #fff8e9; border-radius: 0 10px 10px 0;
  color: #5d4a33;
}
article img {
  border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin: 24px auto; cursor: zoom-in;
  background: var(--paper-2);
}

.answer-box {
  background: #fffdf6;
  border: 2px solid var(--ink); border-radius: 12px;
  box-shadow: 6px 6px 0 var(--gold);
  padding: 18px 21px 16px;
  margin: 4px 0 30px;
}
.answer-kicker {
  font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--rust); margin: 0 0 8px;
}
.answer-box p { margin: 0; font-weight: 700; font-size: 15.5px; }

.article-end { margin-top: 46px; }
.next-btn {
  display: inline-block;
  background: var(--gold); border: 2px solid var(--ink); border-radius: 9px;
  box-shadow: var(--shadow-sm); padding: 13px 18px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.next-btn:hover { transform: translate(-1px, -2px); }

/* ---------------------------------------------------------------- tables */
.tbl-wrap { overflow-x: auto; margin: 24px 0 28px; }
.tbl-wrap table {
  width: 100%; min-width: 480px;
  border: 2px solid var(--ink); border-radius: 12px;
  border-collapse: separate; border-spacing: 0; overflow: hidden;
  background: #fffdf6;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
}
.tbl-wrap th {
  background: var(--ink); color: var(--cream);
  text-align: left; padding: 11px 13px;
  font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
}
.tbl-wrap td {
  padding: 11px 13px; border-top: 1px solid #e6d6b4;
  color: #4d3c28; vertical-align: top; line-height: 1.6;
}
.tbl-wrap tbody tr:nth-child(even) td { background: #f9efd9; }

/* -------------------------------------------------------------- callouts */
.callout {
  border: 2px solid var(--ink);
  border-left: 10px solid var(--sun);
  background: #fff2df; border-radius: 10px;
  box-shadow: 4px 4px 0 var(--ink);
  padding: 16px 19px; margin: 24px 0;
}
.callout p { margin: 0; font-size: 14.5px; }
.callout p + p { margin-top: 10px; }

/* ---------------------------------------------------------------- footer */
.foot {
  background: var(--ink); color: var(--cream);
  padding: 48px 0 22px;
  margin-top: 20px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 14px; color: var(--cream);
}
.footer-brand em { color: var(--gold); }
.disclaimer { max-width: 760px; font-size: 12px; line-height: 1.7; color: #cdbfa8; margin: 0 0 20px; }
.foot-links {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  border-top: 1px solid #4a3b2a; padding-top: 18px; margin: 26px 0 14px;
}
.foot-links a:hover { color: var(--gold); }
.muted { font-size: 11px; color: #a2937c; margin: 0; }

/* ---------------------------------------------------------------- zoom */
main img.open { width: min(1100px, 92vw); max-width: none !important; position: relative; z-index: 5; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-frame { grid-template-columns: 200px minmax(0, 1fr); gap: 30px; }
  .sticker-a { right: 10px; width: 104px; height: 104px; font-size: 15px; }
}
@media (max-width: 820px) {
  .bar { flex-wrap: wrap; padding: 10px 0; gap: 8px 18px; }
  .nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 6px 16px; }
  .nav ul { flex-wrap: wrap; gap: 4px 16px; }
  .nav .kids { left: 0; }
  .cta { padding: 9px 13px; }
  .hero-in { padding: 52px 0 46px; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(23, 15, 9, .82) 0%,
      rgba(23, 15, 9, .62) 55%,
      rgba(23, 15, 9, .55) 100%);
  }
  .sticker-a { top: 20px; right: 14px; width: 88px; height: 88px; font-size: 13px; }
  .article-frame { grid-template-columns: minmax(0, 1fr); }
  .side { border-right: 0; border-bottom: 2px dashed #e3d3ac; padding: 0 0 18px; }
  .side-in { position: static; }
  .side ol { margin-bottom: 8px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ribbon-in { justify-content: center; text-align: center; }
  .ribbon-alt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
