/* richmondheightsdrywallrepairs.com: OOCSS, structure classes (weather words) + skin classes (cos-skin-*). */
:root {
  --cos-ink: #291F1B;
  --cos-paper: #FDF8F6;
  --cos-stone: #83736D;
  --cos-blush: #F8E8E2;
  --cos-teal: #046970;
  --cos-white: #FFFFFF;
  --cos-rule: #D9CCC6;
  --cos-wide: 1180px;
  --cos-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --cos-sans: "Open Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.cos-body { margin: 0; background: var(--cos-paper); color: var(--cos-ink); font: 400 1.0625rem/1.7 var(--cos-sans); overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--cos-teal); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--cos-serif); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; }
.cos-skip { position: absolute; left: -9999px; }
.cos-skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--cos-white); padding: 8px 12px; }
.cos-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- skins ---------- */
.cos-skin-paper { background: var(--cos-paper); }
.cos-skin-tint { background: var(--cos-blush); }
.cos-skin-dark { background: var(--cos-ink); color: #F3E9E5; }
.cos-skin-dark a { color: #F3E9E5; }
.cos-skin-primary { background: var(--cos-stone); color: var(--cos-white); }
.cos-skin-accent { background: var(--cos-teal); color: var(--cos-white); }
.cos-skin-light { background: var(--cos-white); color: var(--cos-ink); }
.cos-skin-ghost { background: transparent; color: var(--cos-white); box-shadow: inset 0 0 0 2px var(--cos-white); }
.cos-skin-ghost-dark { background: transparent; color: var(--cos-teal); box-shadow: inset 0 0 0 2px var(--cos-teal); }
.cos-skin-line { background: var(--cos-white); border: 1.5px solid var(--cos-rule); }

/* ---------- header (sticky, shrinks on scroll) ---------- */
.cos-breeze { border-bottom: 1px solid var(--cos-rule); z-index: 20; }
.cos-breeze-in { max-width: var(--cos-wide); margin: 0 auto; padding: 14px 20px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand call" "cta cta"; gap: 8px 16px; align-items: center; }
.cos-brand { grid-area: brand; display: grid; text-decoration: none; color: var(--cos-ink); }
.cos-brand-name { font: 600 1.25rem/1.15 var(--cos-serif); }
.cos-brand-tag { font-size: .8rem; color: #5E504A; }
.cos-breeze-call { grid-area: call; display: grid; justify-items: end; }
.cos-breeze-phone { font-weight: 600; font-size: 1.05rem; color: var(--cos-ink); text-decoration: none; white-space: nowrap; }
.cos-breeze-hours { display: none; font-size: .8rem; color: #5E504A; }
.cos-breeze .cos-breeze-cta { grid-area: cta; display: none; }
.cos-vane { max-width: var(--cos-wide); margin: 0 auto; padding: 0 20px 10px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .92rem; }
.cos-vane-link { color: var(--cos-ink); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.cos-vane-link:hover, .cos-vane-on { border-bottom-color: var(--cos-stone); }

@media (min-width: 768px) {
  .cos-breeze { position: sticky; top: 0; transition: box-shadow .2s; }
  .cos-breeze-in { grid-template-columns: 1fr auto auto; grid-template-areas: "brand call cta"; padding: 18px 24px 10px; transition: padding .2s; }
  .cos-breeze-hours { display: block; }
  .cos-breeze .cos-breeze-cta { display: inline-flex; }
  .cos-vane { padding: 0 24px 12px; }
  .cos-breeze-shrunk { box-shadow: 0 2px 10px rgba(41, 31, 27, .12); }
  .cos-breeze-shrunk .cos-breeze-in { padding-top: 8px; padding-bottom: 6px; }
  .cos-breeze-shrunk .cos-brand-tag { display: none; }
  .cos-breeze-shrunk .cos-brand-name { font-size: 1.1rem; }
  .cos-breeze-shrunk .cos-vane { padding-bottom: 6px; }
}

/* ---------- buttons ---------- */
.cos-dew { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 0; border-radius: 3px; font: 600 1rem/1.2 var(--cos-sans); text-decoration: none; cursor: pointer; text-align: center; }
.cos-dew:hover { filter: brightness(1.08); }
.cos-dew-big { font-size: 1.1rem; padding: 12px 24px; }

/* ---------- hero: diagonal band, no photo ---------- */
.cos-front { padding: 28px 0 8px; }
.cos-front-band { clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%); padding: 64px 20px 72px; }
.cos-front-in { max-width: 860px; margin: 0 auto; text-align: center; display: grid; justify-items: center; }
.cos-front-lede { font-size: 1.15rem; max-width: 640px; }
.cos-front-btns { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; max-width: 340px; margin: 8px 0 14px; }
.cos-front-hours { display: inline-grid; grid-auto-flow: column; gap: 6px; align-items: center; font-weight: 600; margin-bottom: .4em; }
.cos-front-slim { padding: 18px 0 0; }
.cos-front-slim .cos-front-band { padding: 46px 20px 52px; clip-path: polygon(0 10%, 100% 0, 100% 90%, 0 100%); }
.cos-front-slim h1 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin: 0; }
.cos-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
@media (min-width: 640px) {
  .cos-front-btns { grid-template-columns: repeat(3, auto); max-width: none; width: auto; }
}

/* ---------- sections: centered narrow blocks ---------- */
.cos-gust { padding: 72px 20px; }
.cos-mist { max-width: 720px; margin: 0 auto; text-align: center; }
.cos-mist-wide { max-width: 900px; }
.cos-mist p, .cos-mist li { text-align: left; }
@media (min-width: 768px) { .cos-mist > p, .cos-mist > h2 + p { text-align: center; } }
.cos-column { padding: 40px 20px 24px; text-align: left; }
.cos-column h2 { text-align: center; }
.cos-gust-inner { margin: 0 0 48px; }
.cos-box { padding: 28px 24px; border-radius: 2px; }
.cos-intro { font-size: 1.15rem; }
@media (min-width: 768px) { .cos-intro { text-align: center; } }
.cos-micro { font-size: .9rem; color: #5E504A; margin-top: .4em; }
.cos-micro-light { color: var(--cos-white); }

/* grids */
.cos-drift { display: grid; gap: 22px; max-width: var(--cos-wide); margin: 28px auto 24px; }
.cos-drift-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cos-drift-three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cos-drift-two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 980px; }
.cos-column .cos-drift { margin-left: 0; margin-right: 0; }
@media (max-width: 400px) {
  .cos-drift-two, .cos-drift-three, .cos-drift-cards { grid-template-columns: 1fr; }
}

/* cards: outlined with a corner tab */
.cos-frost { position: relative; padding: 38px 22px 18px; text-align: center; border-radius: 2px; }
.cos-frost p, .cos-frost li { text-align: left; }
.cos-frost h3 a { color: var(--cos-ink); }
.cos-tab { position: absolute; top: -1.5px; left: -1.5px; padding: 3px 12px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 2px 0 6px 0; }
.cos-frost-solo { max-width: 620px; margin: 0 auto; }
.cos-glyph { display: inline-grid; place-items: center; color: var(--cos-teal); }
.cos-frost > .cos-glyph { margin: -14px 0 6px; }
.cos-frost > .cos-glyph .cos-ico { width: 36px; height: 36px; }
.cos-ico { width: 24px; height: 24px; fill: currentColor; flex: none; }
.cos-ico-sm { width: 20px; height: 20px; }

/* lists */
.cos-sleet { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 14px; }
.cos-sleet > li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.cos-sleet-plain > li { display: block; padding-left: 16px; border-left: 3px solid var(--cos-stone); }
.cos-sleet-center { max-width: 560px; margin-left: auto; margin-right: auto; }

/* timeline */
.cos-gale { list-style: none; counter-reset: cos-step; margin: 26px 0; padding: 0; display: grid; gap: 0; }
.cos-gale > li { counter-increment: cos-step; position: relative; padding: 0 0 22px 58px; text-align: left; }
.cos-gale > li::before { content: counter(cos-step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--cos-stone); color: var(--cos-white); font: 600 1.05rem/1 var(--cos-serif); }
.cos-gale > li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 2px; width: 2px; background: var(--cos-rule); }
.cos-gale > li:last-child::after { display: none; }
.cos-gale-tight > li { padding-bottom: 16px; }

/* photos: one corner cut on a diagonal */
.cos-thaw { margin: 0 auto 30px; }
.cos-thaw-img { display: block; width: 100%; height: auto; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), calc(100% - 56px) 100%, 0 100%); }
.cos-thaw-cap, .cos-scale figcaption { font-size: .88rem; color: #5E504A; margin-top: 8px; text-align: center; }

/* data table */
.cos-rime { overflow-x: auto; margin: 26px 0 0; }
.cos-rime-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.cos-rime-table caption { caption-side: bottom; font-size: .85rem; color: #5E504A; padding-top: 8px; }
.cos-rime-table th, .cos-rime-table td { padding: 6px 8px; border-bottom: 1px solid var(--cos-rule); text-align: left; }
.cos-rime-table td:nth-child(2), .cos-rime-table td:nth-child(4) { text-align: right; white-space: nowrap; }
.cos-rime-bar { width: 45%; }
.cos-rime-bar span { display: block; height: 12px; background: var(--cos-stone); border-radius: 0 2px 2px 0; }
.cos-rime-list dt { font: 600 1.2rem/1.3 var(--cos-serif); margin-top: 18px; }
.cos-rime-list dd { margin: 4px 0 0; }

/* repair-size scale */
.cos-scale { margin: 24px 0 8px; overflow-x: auto; }
@media (max-width: 600px) { .cos-scale-svg { min-width: 560px; } }
.cos-scale-svg { width: 100%; display: block; }
.cos-scale-panel { fill: var(--cos-white); stroke: var(--cos-rule); }
.cos-scale-hole { fill: var(--cos-ink); }
.cos-scale-coin { fill: none; stroke: var(--cos-teal); stroke-width: 2; }
.cos-scale-sheet { fill: var(--cos-blush); stroke: var(--cos-stone); stroke-width: 1.5; }
.cos-scale-door { fill: none; stroke: var(--cos-teal); stroke-width: 2; stroke-dasharray: 5 3; }
.cos-scale-floor { stroke: var(--cos-stone); stroke-width: 1.5; }
.cos-scale-lbl { font: 400 11px var(--cos-sans); fill: var(--cos-ink); }
.cos-scale-head { font: 600 12px var(--cos-sans); fill: #5E504A; }

/* FAQ */
.cos-flurry-set { display: grid; gap: 10px; text-align: left; }
.cos-flurry { border: 1.5px solid var(--cos-rule); background: var(--cos-white); padding: 0 18px; }
.cos-flurry summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.cos-flurry p { margin: 0 0 16px; }

/* closing band with the form */
.cos-squall { padding: 64px 20px; }
.cos-squall-grid { max-width: var(--cos-wide); margin: 0 auto; display: grid; gap: 34px; grid-template-columns: 1fr; }
.cos-squall-side { text-align: center; }
.cos-squall-phone { font: 600 2rem/1.1 var(--cos-serif); margin-bottom: .2em; }
.cos-squall-phone a { color: var(--cos-ink); text-decoration: none; }
.cos-squall-hours { font-weight: 600; }
.cos-squall-btns { display: grid; gap: 10px; justify-content: center; margin: 8px 0; }
.cos-squall-short h2 { margin-bottom: .8em; }
@media (min-width: 860px) {
  .cos-squall-grid { grid-template-columns: 5fr 7fr; align-items: start; }
  .cos-squall-side { text-align: left; padding-top: 12px; }
  .cos-squall-btns { grid-template-columns: repeat(3, auto); }
}

/* form */
.cos-zephyr { display: grid; gap: 14px; background: var(--cos-white); padding: 22px; border: 1.5px solid var(--cos-rule); }
.cos-zephyr-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cos-zephyr-field { display: grid; gap: 4px; font-size: .92rem; font-weight: 600; }
.cos-zephyr-field input, .cos-zephyr-field select, .cos-zephyr-field textarea { width: 100%; font: 400 1rem/1.4 var(--cos-sans); padding: 10px 12px; border: 1.5px solid #B9AAA3; border-radius: 2px; background: var(--cos-paper); color: var(--cos-ink); }
.cos-zephyr-field input:focus, .cos-zephyr-field select:focus, .cos-zephyr-field textarea:focus { outline: 2px solid var(--cos-teal); outline-offset: 1px; }
.cos-zephyr .cos-dew { justify-self: start; }
.cos-consent { font-size: .85rem; margin: 10px 0 0; }

/* footer: dark slab with towns column */
.cos-haze { padding: 52px 20px 28px; font-size: .9rem; }
.cos-haze-grid { max-width: var(--cos-wide); margin: 0 auto; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cos-haze-name { font: 600 1.3rem/1.2 var(--cos-serif); }
.cos-haze-phone { font-weight: 600; font-size: 1.05rem; }
.cos-haze-head { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: #CDBDB6; }
.cos-haze-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cos-haze-note { max-width: var(--cos-wide); margin: 30px auto 0; padding-top: 18px; border-top: 1px solid #4A3D37; }

/* mobile call bar */
.cos-isobar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.cos-isobar a { display: grid; place-items: center; min-height: 52px; font-weight: 600; text-decoration: none; padding: 0 8px; text-align: center; }
.cos-isobar-call { background: var(--cos-teal); color: var(--cos-white) !important; }
@media (max-width: 767px) { body.cos-body { padding-bottom: 56px; } }
@media (min-width: 768px) { .cos-isobar { display: none; } }
