/* Natchez Drywall Repairs. CUBE CSS: composition, utilities, blocks (landscape names), exceptions via data attributes. */

/* trk § tokens (natchez sheet) */
:root {
  --trk-ink: #341A1F;
  --trk-paper: #FFF8F9;
  --trk-rose: #AB5469;
  --trk-blush: #FDE4E8;
  --trk-indigo: #4559A1;
  --trk-on-rose: #FFFFFF;
  --trk-max: 1200px;
  --trk-gutter: clamp(1rem, 4vw, 2rem);
  --trk-rule: 7px;
  --trk-head: "Merriweather Sans", "Trebuchet MS", sans-serif;
  --trk-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

/* trk § global (natchez sheet) */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--trk-paper);
  color: var(--trk-ink);
  font: 400 1.0625rem/1.65 var(--trk-body);
  overflow-wrap: break-word;
}
h1, h2, h3 { font-family: var(--trk-head); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p, ul, ol { margin: 0; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--trk-rose); text-underline-offset: 0.18em; }
a:hover { color: var(--trk-indigo); }
:focus-visible { outline: 3px solid var(--trk-indigo); outline-offset: 2px; }

/* trk § composition (natchez sheet) */
.trk-wrap { width: min(100% - 2 * var(--trk-gutter), var(--trk-max)); margin-inline: auto; }
.trk-stack > * + * { margin-block-start: var(--trk-flow, 1rem); }
.trk-cluster { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; }
.trk-split { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .trk-split { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }

/* trk § utilities (natchez sheet) */
.trk-skip { position: absolute; left: -9999px; }
.trk-skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--trk-paper); padding: 0.5rem 1rem; }
@media (max-width: 767px) { .trk-hide-sm { display: none !important; } }

/* trk § icons (natchez sheet) */
.trk-icon { width: 1.25em; height: 1.25em; flex: none; }
.trk-icon--md { width: 1.75rem; height: 1.75rem; color: var(--trk-indigo); }
.trk-icon--lg { width: 2.25rem; height: 2.25rem; color: var(--trk-indigo); }

/* trk § buttons (natchez sheet) */
.trk-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.15rem; border: 2px solid var(--trk-rose);
  font: 700 1rem/1.2 var(--trk-body); text-decoration: none; border-radius: 0;
  cursor: pointer;
}
.trk-btn--solid { background: var(--trk-rose); color: var(--trk-on-rose); }
.trk-btn--solid:hover { background: var(--trk-ink); border-color: var(--trk-ink); color: var(--trk-on-rose); }
.trk-btn--ghost { background: transparent; color: var(--trk-ink); border-color: var(--trk-indigo); }
.trk-btn--ghost:hover { background: var(--trk-indigo); color: #fff; }
.trk-btn--light { background: var(--trk-paper); color: var(--trk-ink); border-color: var(--trk-paper); }
.trk-btn--light:hover { background: var(--trk-blush); color: var(--trk-ink); }
.trk-btn--outline { background: transparent; color: var(--trk-on-rose); border-color: var(--trk-on-rose); }
.trk-btn--outline:hover { background: var(--trk-on-rose); color: var(--trk-rose); }
.trk-btn--big { font-size: 1.15rem; padding: 0.85rem 1.35rem; }

/* trk § ridge: header (natchez sheet) */
.trk-ridge { border-bottom: 3px solid var(--trk-ink); background: var(--trk-paper); }
.trk-ridge__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.8rem; }
.trk-brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--trk-ink); text-decoration: none; font: 700 1.05rem/1.15 var(--trk-head); }
.trk-brand b { color: var(--trk-rose); font-weight: 800; }
.trk-brand__mark { color: var(--trk-rose); width: 34px; height: 34px; }
.trk-ridge__call { display: grid; justify-items: end; }
.trk-ridge__phone { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; font-size: 1.05rem; color: var(--trk-ink); text-decoration: none; white-space: nowrap; }
.trk-ridge__hours { font-size: 0.8rem; color: var(--trk-ink); opacity: 0.85; }
@media (max-width: 767px) {
  .trk-ridge__hours { display: none; }
  .trk-brand { font-size: 0.92rem; }
  .trk-brand span { max-width: 8.5rem; }
}

/* trk § kicker + heavy rules (natchez sheet) */
.trk-kicker { font: 700 0.78rem/1.2 var(--trk-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--trk-rose); }
.trk-field { border-top: var(--trk-rule) solid var(--trk-ink); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.trk-field[data-tone="tinted"] { background: var(--trk-blush); }
.trk-field__grid { display: grid; gap: 1.25rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) {
  .trk-field__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .trk-field__head { position: sticky; top: 1rem; align-self: start; }
}
.trk-field__head > * + * { margin-top: 0.6rem; }
.trk-field__single { max-width: 50rem; }
.trk-field--slim { padding-block: 2.5rem; }
.trk-field--close { background: var(--trk-ink); color: var(--trk-paper); padding-bottom: 7rem; }
.trk-field--close .trk-kicker { color: var(--trk-blush); }
.trk-field--close .trk-btn--ghost { color: var(--trk-paper); border-color: var(--trk-blush); }
.trk-field--close .trk-micro { color: var(--trk-blush); }
.trk-field__body { --trk-flow: 1.1rem; }

/* trk § knoll: hero (natchez sheet) */
.trk-knoll { display: grid; }
.trk-knoll__photo { grid-area: 1 / 1; }
.trk-knoll__fig { margin: 0; position: relative; }
.trk-knoll__fig img { display: block; width: 100%; height: clamp(16rem, 52vw, 38rem); object-fit: cover; filter: grayscale(1); }
.trk-knoll__fig .trk-rule { position: absolute; right: var(--trk-gutter); bottom: -6px; }
.trk-knoll__wrap { margin-top: -5rem; position: relative; z-index: 2; }
.trk-knoll__panel {
  background: var(--trk-rose); color: var(--trk-on-rose);
  padding: clamp(1.4rem, 4vw, 2.6rem); max-width: 40rem; --trk-flow: 1.1rem;
  border-left: 10px solid var(--trk-ink);
}
@media (min-width: 900px) { .trk-knoll__wrap { margin-top: -12rem; } }
.trk-knoll__lead { font-size: 1.12rem; }
.trk-knoll__call { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; }
.trk-knoll__hours { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; }
.trk-knoll__hours--dark { color: var(--trk-ink); }
.trk-knoll__sms { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--trk-on-rose); font-weight: 700; }
.trk-knoll__sms:hover { color: var(--trk-blush); }
.trk-knoll__sms--dark { color: var(--trk-indigo); }
.trk-knoll .trk-micro { color: var(--trk-on-rose); opacity: 0.95; }

/* inner page head */
.trk-knoll-lite { padding-block: clamp(2rem, 5vw, 3.5rem); background: var(--trk-blush); }
.trk-knoll-lite p:not(.trk-kicker) { max-width: 46rem; font-size: 1.1rem; }

/* contact sidebar */
.trk-knoll-side { border: 2px solid var(--trk-ink); padding: 1.5rem; background: var(--trk-paper); }
.trk-knoll-side__title { font: 800 1.2rem/1.2 var(--trk-head); }
.trk-knoll-side h2 { font-size: 1.15rem; }

/* trk § photo treatment (natchez sheet) */
.trk-rule { display: block; width: 4.5rem; height: 6px; background: var(--trk-indigo); }
.trk-wide { margin: 0; }
.trk-wide img { display: block; width: 100%; height: auto; filter: grayscale(1); }
.trk-wide .trk-rule { margin-top: 0.6rem; }
figcaption { font-size: 0.9rem; margin-top: 0.5rem; opacity: 0.9; }

/* trk § grove (card grid, subgrid) + stone (card) (natchez sheet) */
.trk-grove {
  display: grid; gap: 1.25rem; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.trk-stone {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0.7rem;
  border: 2px solid var(--trk-ink); border-radius: 0; padding: 1.25rem; background: transparent;
}
.trk-stone h2 { font-size: 1.2rem; }
.trk-stone__link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; align-self: end; }
.trk-grove--towns .trk-stone { grid-row: span 3; }

/* trk § table (natchez sheet) */
.trk-tablewrap { overflow-x: auto; border: 2px solid var(--trk-ink); }
.trk-compare { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 0.97rem; }
.trk-compare th, .trk-compare td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid rgba(52, 26, 31, 0.25); }
.trk-compare thead th { background: var(--trk-ink); color: var(--trk-paper); font-family: var(--trk-head); }
.trk-compare tbody th { font-weight: 700; color: var(--trk-rose); }

/* trk § lists, steps, callouts (natchez sheet) */
.trk-list { padding-left: 1.2rem; }
.trk-list > li + li { margin-top: 0.6rem; }
.trk-towns { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.trk-towns li { border-left: 5px solid var(--trk-rose); padding-left: 0.9rem; }
.trk-steps { counter-reset: trk-step; list-style: none; padding: 0; display: grid; gap: 1rem; }
.trk-steps > li { counter-increment: trk-step; position: relative; padding-left: 3.5rem; min-height: 2.6rem; }
.trk-steps > li::before {
  content: counter(trk-step); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border: 2px solid var(--trk-indigo); color: var(--trk-indigo); font: 800 1.1rem/1 var(--trk-head);
}
.trk-iconlist { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.trk-iconlist > li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.9rem; align-items: start; }
.trk-callout { border: 2px solid var(--trk-rose); padding: 1rem 1.2rem; }
.trk-callout[data-variant="warning"] { border-width: 2px 2px 2px 10px; background: var(--trk-blush); }

/* trk § visuals (natchez sheet) */
.trk-visual { margin: 0; border: 2px solid var(--trk-ink); padding: 1rem; background: var(--trk-paper); }
.trk-visual svg { display: block; width: 100%; height: auto; }
.trk-chart__val { font: 700 12px var(--trk-body); fill: var(--trk-ink); }
.trk-chart__lab { font: 500 11px var(--trk-body); fill: var(--trk-ink); }
.trk-chart__grid { stroke: rgba(52, 26, 31, 0.15); stroke-width: 1; }
.trk-chart__axis { stroke: var(--trk-ink); stroke-width: 2; }
.trk-va__stud { fill: #d9b99b; stroke: var(--trk-ink); stroke-width: 1; }
.trk-va__plate { fill: #c9a582; }
.trk-va__board { fill: rgba(253, 228, 232, 0.92); stroke: var(--trk-ink); stroke-width: 1.5; }
.trk-va__edge { fill: none; stroke: var(--trk-ink); stroke-width: 2; stroke-dasharray: 5 4; }
.trk-va__tape { fill: rgba(69, 89, 161, 0.35); }
.trk-va__screw { fill: var(--trk-ink); }
.trk-va__box { fill: var(--trk-indigo); }
.trk-va__hole { fill: var(--trk-paper); }
.trk-va__dim { stroke: var(--trk-rose); stroke-width: 2; }
.trk-va__txt { font: 700 13px var(--trk-body); fill: var(--trk-ink); }
.trk-va__txt--light { fill: var(--trk-paper); }
.trk-ps__back { fill: #d9b99b; stroke: var(--trk-ink); }
.trk-ps__old { fill: #e9dfe1; stroke: var(--trk-ink); }
.trk-ps__new { fill: var(--trk-indigo); stroke: var(--trk-ink); }
.trk-ps__screw { stroke: var(--trk-ink); stroke-width: 2.5; }
.trk-ps__tape { fill: var(--trk-rose); }
.trk-ps__coat1 { fill: rgba(171, 84, 105, 0.55); }
.trk-ps__coat2 { fill: rgba(171, 84, 105, 0.35); }
.trk-ps__coat3 { fill: rgba(171, 84, 105, 0.2); }

/* trk § FAQ (natchez sheet) */
.trk-faqs { display: grid; gap: 0.75rem; }
.trk-faq { border: 2px solid var(--trk-ink); background: var(--trk-paper); }
.trk-faq summary { cursor: pointer; padding: 0.9rem 1.1rem; font: 700 1.02rem/1.35 var(--trk-head); }
.trk-faq p { padding: 0 1.1rem 1rem; }

/* trk § glade: in-page call box (natchez sheet) */
.trk-glade { border: 2px solid var(--trk-rose); border-top-width: var(--trk-rule); padding: 1.4rem; }
.trk-glade__title { font: 800 1.2rem/1.25 var(--trk-head); }

/* trk § guide signs (natchez sheet) */
.trk-sign { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; padding-block: 1.4rem; border-bottom: 2px solid var(--trk-ink); }
.trk-sign h2 { font-size: 1.3rem; }
.trk-sign__go { font-weight: 500; }

/* trk § prose (natchez sheet) */
.trk-prose h2 { margin-top: 2rem; }

/* trk § forms (natchez sheet) */
.trk-form__row { display: grid; gap: 0.35rem; }
.trk-form__pair { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.trk-form label { font-weight: 700; }
.trk-form input, .trk-form select, .trk-form textarea {
  width: 100%; font: inherit; color: var(--trk-ink); background: #fff;
  border: 2px solid var(--trk-ink); border-radius: 0; padding: 0.65rem 0.75rem;
}
.trk-consent { font-size: 0.92rem; margin-top: 0.9rem; }
.trk-micro { font-size: 0.95rem; margin-top: 0.5rem; }

/* trk § creek: footer with raised boulder card (natchez sheet) */
.trk-creek { background: var(--trk-ink); color: var(--trk-paper); margin-top: 5rem; padding-bottom: 2rem; font-size: 0.95rem; }
.trk-field--close + .trk-creek, main:has(.trk-field--close) + .trk-creek { margin-top: 0; }
.trk-boulder {
  position: relative; top: -3.5rem; margin-bottom: -1.5rem;
  background: var(--trk-paper); color: var(--trk-ink); border: 3px solid var(--trk-rose);
  padding: 1.4rem 1.6rem; max-width: 26rem; box-shadow: 10px 10px 0 var(--trk-rose);
  display: grid; gap: 0.45rem;
}
.trk-boulder__label { font: 800 1.1rem/1.2 var(--trk-head); }
.trk-creek .trk-boulder__phone { display: inline-flex; gap: 0.45rem; align-items: center; font-size: 1.3rem; font-weight: 700; color: var(--trk-rose); text-decoration: none; }
.trk-boulder__hours { display: inline-flex; gap: 0.45rem; align-items: center; }
.trk-creek .trk-boulder__sms { display: inline-flex; gap: 0.45rem; align-items: center; color: var(--trk-indigo); font-weight: 700; }
.trk-creek__cols { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); padding-block: 1rem 1.5rem; }
.trk-creek__title { font: 700 0.78rem/1.2 var(--trk-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--trk-blush); margin-bottom: 0.6rem; }
.trk-creek ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.trk-creek a { color: var(--trk-paper); }
.trk-creek a:hover { color: var(--trk-blush); }
.trk-creek .trk-boulder a:hover { color: var(--trk-ink); }
.trk-creek__tag { font-family: var(--trk-head); font-weight: 700; border-top: 1px solid rgba(255, 248, 249, 0.3); padding-top: 1rem; }
.trk-creek__legal { font-size: 0.95rem; margin-top: 0.5rem; opacity: 0.9; }

/* trk § ford: mobile call bar (natchez sheet) */
.trk-ford { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: 4.25rem; }
  .trk-ford {
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    border-top: 3px solid var(--trk-ink); background: var(--trk-paper);
  }
  .trk-ford a { display: flex; justify-content: center; align-items: center; gap: 0.4rem; padding: 0.9rem 0.5rem; font-weight: 700; text-decoration: none; font-size: 0.95rem; }
  .trk-ford__call { background: var(--trk-rose); color: var(--trk-on-rose); }
  .trk-ford__sms { color: var(--trk-indigo); }
}
