/* Fort Worth Pier & Beam — site styles
   Palette: pine green / warm paper / brass. Display: Zilla Slab. Body: Source Sans 3. */

:root {
  --ink: #26221b;
  --ink-soft: #4d4639;
  --pine: #1b1815;
  --pine-deep: #0f0e0c;
  --paper: #f2efe6;
  --paper-2: #e9e4d5;
  --white: #fdfcf9;
  --brass: #f5ac00;
  --brass-deep: #9a6d00;
  --timber: #7a5a3a;
  --clay: #9a4a32;
  --line: #d8d2c0;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(38, 34, 27, 0.10);
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3, .display { font-family: "Zilla Slab", Georgia, serif; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 600; }
p + p { margin-top: 0.9em; }
a { color: #8f6400; }
img, svg { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* Eyebrow + level-line motif */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass-deep); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; height: 2px; width: 28px; background: var(--brass); }
.eyebrow::after { width: 12px; }

.level-rule { position: relative; height: 2px; background: var(--line); margin: 8px 0 26px; max-width: 340px; }
.level-rule::after {
  content: ""; position: absolute; top: -5px; left: 46%;
  width: 26px; height: 12px; border-radius: 6px;
  background: #ffd766; border: 2px solid var(--pine);
}

/* Utility bar */
.utility {
  background: var(--pine-deep); color: #d8d2c4; font-size: 0.88rem;
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; gap: 12px; }
.utility a { color: #fdb90b; font-weight: 700; text-decoration: none; }

/* Header / nav */
header.site {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 50%; }
.brand-name { font-family: "Zilla Slab", Georgia, serif; font-weight: 700; font-size: 1.18rem; line-height: 1.1; }
.brand-name small { display: block; font-family: "Source Sans 3", sans-serif; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-deep); }
nav.main { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; padding: 8px 11px; border-radius: 7px; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--pine); background: var(--paper); }
.btn {
  display: inline-block; background: var(--brass); color: #141210 !important;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: var(--radius); font-size: 1rem;
  box-shadow: var(--shadow); transition: background 0.15s ease;
}
.btn:hover { background: #dc9a00; }
.btn.ghost { background: transparent; color: var(--pine) !important; border: 2px solid var(--pine); box-shadow: none; }
.btn.ghost:hover { background: var(--pine); color: #fff !important; }
.btn.big { font-size: 1.12rem; padding: 15px 28px; }
nav.main .btn { padding: 10px 18px; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero p.lead { font-size: 1.16rem; color: var(--ink-soft); margin: 18px 0 26px; max-width: 54ch; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .cta-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 12px; }
.hero-fig { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.hero-fig figcaption { font-size: 0.82rem; color: var(--ink-soft); text-align: center; padding-top: 10px; }

/* Sections */
section.band { padding: 64px 0; }
section.band.alt { background: var(--paper-2); }
section.band.dark { background: var(--pine); color: #d8d2c4; }
section.band.dark h2, section.band.dark h3 { color: #fdfcf5; }
section.band.dark a { color: #fdb90b; }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head p { color: var(--ink-soft); margin-top: 10px; }
section.band.dark .section-head p { color: #b8b2a4; }

.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }
.card .sign { width: 40px; height: 40px; margin-bottom: 14px; color: var(--pine); }

/* Symptom list */
ul.symptoms { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; margin-top: 8px; }
ul.symptoms li { padding-left: 30px; position: relative; color: var(--ink-soft); }
ul.symptoms li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 8px;
  border-radius: 4px; background: #ffd766; border: 2px solid var(--pine);
}

/* Steps */
ol.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
ol.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
ol.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: "Zilla Slab", Georgia, serif; font-weight: 700; font-size: 1.6rem; color: #c78f00;
  display: block; margin-bottom: 8px;
}
ol.steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
ol.steps p { font-size: 0.92rem; color: var(--ink-soft); }

/* Neighborhood chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span, .chips a {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
}
section.band.dark .chips span { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: #d8d2c4; }

/* FAQ */
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-family: "Zilla Slab", Georgia, serif; font-weight: 600; font-size: 1.08rem; padding: 18px 22px; list-style: none; position: relative; padding-right: 48px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 1.5rem; color: #c78f00; }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 22px 20px; color: var(--ink-soft); }

/* Forms */
form.lead { display: grid; gap: 16px; }
form.lead label { font-weight: 700; font-size: 0.92rem; display: block; margin-bottom: 5px; }
form.lead input, form.lead select, form.lead textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: var(--white); color: var(--ink);
}
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: 3px solid #ffd766; border-color: var(--pine); }
form.lead .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form.lead .fine { font-size: 0.82rem; color: var(--ink-soft); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { max-width: 60ch; margin: 0 auto 24px; }
.cta-band .phone-big { font-family: "Zilla Slab", Georgia, serif; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: #fdb90b; text-decoration: none; display: inline-block; margin-bottom: 18px; }

/* Prose pages */
.prose { max-width: 760px; }
.prose h2 { margin: 38px 0 14px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { margin: 12px 0 12px 22px; }
.prose ul li { margin-bottom: 6px; color: var(--ink-soft); }

/* Footer */
footer.site { background: var(--pine-deep); color: #b3ada0; padding: 48px 0 28px; font-size: 0.92rem; }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
footer.site h3 { color: #fdfcf5; font-size: 1.02rem; margin-bottom: 12px; }
footer.site a { color: #d8d2c4; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 7px; }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.15); margin-top: 26px; padding-top: 18px; font-size: 0.8rem; color: #857f70; }

/* Sticky mobile call bar */
.callbar { display: none; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
  ol.steps { grid-template-columns: 1fr 1fr; }
  ul.symptoms { grid-template-columns: 1fr; }
  footer.site .wrap { grid-template-columns: 1fr; }
  nav.main { display: none; }
  .utility .wrap { justify-content: center; text-align: center; }
  form.lead .row { grid-template-columns: 1fr; }
  .callbar {
    display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    background: var(--brass); text-align: center; padding: 13px;
  }
  .callbar a { color: #141210; font-weight: 700; font-size: 1.05rem; text-decoration: none; }
  body { padding-bottom: 56px; }
}
