/* Garage Floor Epoxy Houston: charcoal slab, flake speckle, safety-orange calls to action */
/* Fonts: Saira Semi Condensed and Source Sans 3, self-hosted (SIL OFL, see fonts/OFL-LICENSE-*.txt) */
@font-face { font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/saira-semi-condensed-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Saira Semi Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/saira-semi-condensed-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/source-sans-3-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/source-sans-3-latin-700-normal.woff2) format("woff2"); }

:root {
  --concrete: #EEECE8;   /* page background: sealed concrete */
  --paper: #FAF9F7;      /* raised surfaces */
  --ink: #1B1E22;        /* body text */
  --ink-soft: #4F555B;   /* secondary text */
  --slate: #2A3037;      /* headings */
  --char: #1B1E22;       /* hero, footer */
  --char-2: #262B31;
  --steel: #2E5A72;      /* links */
  --amber: #C2541A;      /* calls to action */
  --amber-dark: #A0430F;
  --amber-light: #F2A267;/* accents on dark */
  --flake: #B7AC9C;      /* tan flake accent */
  --rule: #D5D0C8;
  --display: "Saira Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --measure: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--concrete); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
}
img, svg, canvas { max-width: 100%; height: auto; }
a { color: var(--steel); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-dark); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* type */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; color: var(--slate); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.6rem); margin: .4rem 0 1rem; }
h2 { font-size: clamp(1.55rem, 3.3vw, 2.05rem); margin: 2.8rem 0 .8rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin: 1.8rem 0 .4rem; }
p, ul, ol { margin: 0 0 1rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: var(--measure); }

/* top bar + header */
.topbar { background: var(--char); color: #D9D6D0; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .35rem; padding-bottom: .35rem; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.tel { white-space: nowrap; }
.site-head { background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; padding-top: .75rem; padding-bottom: .75rem; flex-wrap: wrap; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .95; font-family: var(--display); text-transform: uppercase; }
.brand .b1 { font-size: 1.3rem; font-weight: 700; color: var(--slate); letter-spacing: .02em; }
.brand .b2 { font-size: .95rem; font-weight: 600; color: var(--amber-dark); letter-spacing: .42em; margin-top: .15rem; }
.main-nav { display: flex; gap: 1.2rem; flex-wrap: wrap; font-weight: 600; }
.main-nav a { color: var(--ink); text-decoration: none; padding: .2rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--amber); color: var(--ink); }
.head-call { margin-left: auto; }
@media (max-width: 47.99rem) {
  .topbar span { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .site-head .wrap { gap: .2rem; padding-top: .6rem; padding-bottom: 0; }
  .brand .b1 { font-size: 1.15rem; }
  .main-nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 1rem; font-size: .95rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; white-space: nowrap; }
  .site-head .head-call { display: none; }
}

/* buttons */
.btn { display: inline-block; font: 700 1.05rem/1 var(--body); padding: .85rem 1.2rem; border-radius: 3px; text-decoration: none; border: 2px solid transparent; }
.btn-call { background: var(--amber); color: #fff; }
.btn-call:hover { background: var(--amber-dark); color: #fff; }
.btn-light { background: transparent; color: #fff; border-color: #8A9097; }
.btn-light:hover { color: #fff; border-color: #fff; }
.btn-quiet { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-quiet:hover { color: var(--slate); background: var(--paper); }
button.btn { cursor: pointer; }

/* hero */
.hero { background: var(--char); color: #E6E3DE; padding: 2.5rem 0 0; overflow: hidden; }
.hero h1 { color: #fff; max-width: 13em; }
.hero .lede { color: #C9C6C0; }
.hero-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } .hero { padding-top: 3.5rem; } }
.hero-copy { padding-bottom: 2.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.hero-points li { padding-left: 1.4rem; position: relative; color: #DEDBD5; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .6em; width: .65rem; height: .35rem; background: var(--amber-light); transform: rotate(-18deg); }
.hero-points strong { color: #fff; }
/* the floor: a flake texture laid back in perspective, like looking into a garage */
.hero-floor { position: relative; height: 15rem; perspective: 700px; }
.hero-floor::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 24rem; background: url(/assets/floor-texture.jpg) center / 520px auto repeat; background-image: image-set(url(/assets/floor-texture.webp) type("image/webp"), url(/assets/floor-texture.jpg) type("image/jpeg")); transform: rotateX(58deg); transform-origin: bottom center; border-top: 4px solid #3A4048; }
.hero-floor::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--char) 0%, rgba(27,30,34,.55) 35%, rgba(27,30,34,0) 70%); pointer-events: none; }
@media (min-width: 60rem) { .hero-floor { height: 22rem; } .hero-floor::before { height: 34rem; } }

/* layer diagram */
.xsection { margin: 1.5rem 0; background: var(--char); padding: 1.2rem; border-radius: 4px; max-width: 46rem; }
.xsection svg { display: block; width: 100%; }
.xsection .soil { fill: #4A3F35; }
.xsection .slab { fill: #9C9890; }
.xsection .base { fill: #6B6E72; }
.xsection .flakes .fl1 { fill: #2B2D30; } .xsection .flakes .fl2 { fill: #E9E9E6; } .xsection .flakes .fl3 { fill: #9EA2A6; } .xsection .flakes .fl4 { fill: #B7AC9C; }
.xsection .top { fill: rgba(200, 225, 240, .28); stroke: rgba(220, 240, 255, .6); stroke-width: 1; }
.xsection .gloss { stroke: #fff; stroke-width: 1.5; opacity: .7; }
.xsection .vapor path { fill: none; stroke: #8EC3DD; stroke-width: 2; stroke-dasharray: 5 5; stroke-linecap: round; }
.xsection .lead line { stroke: var(--amber-light); stroke-width: 1.2; }
.xsection .lbl { fill: #fff; font: 600 15px var(--body); }
.xsection .lbl.small { fill: #E1DDD6; font-size: 13px; font-weight: 400; }
.xsection figcaption { font-size: .92rem; color: #C9C6C0; margin-top: .6rem; max-width: 36rem; }

/* content column */
.content { padding-top: 1.5rem; padding-bottom: 3rem; }
.content > :not(.rows):not(.tbl):not(.xsection):not(.chooser) { max-width: var(--measure); }
.content ul:not(.rows):not(.town-list), .content ol { padding-left: 1.3rem; }
.content li { margin-bottom: .35rem; }
.page-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.2rem 0 1.8rem; }

/* breadcrumbs */
.crumbs ol { list-style: none; padding: 0; margin: 0 0 .5rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--rule); }

/* ruled rows */
.rows { list-style: none; padding: 0; margin: 1rem 0 1.5rem; border-top: 2px solid var(--slate); max-width: 52rem; }
.rows li { border-bottom: 1px solid var(--rule); margin: 0; }
.rows a { display: grid; gap: .15rem; padding: .9rem .25rem; text-decoration: none; color: var(--ink); }
@media (min-width: 48rem) { .rows a { grid-template-columns: 17rem 1fr; gap: 1.5rem; align-items: baseline; } }
.rows .row-t { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--slate); }
.rows .row-d { color: var(--ink-soft); }
.rows a:hover .row-t { color: var(--amber); }

.town-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; }

/* note, table, steps */
.note { border-left: 4px solid var(--amber); background: var(--paper); padding: .9rem 1rem; margin: 1.5rem 0; }
.tbl { overflow-x: auto; margin: 1.2rem 0 1.5rem; max-width: 48rem; }
table { border-collapse: collapse; width: 100%; background: var(--paper); font-size: .98rem; }
th, td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-family: var(--display); font-size: 1.05rem; color: var(--slate); border-bottom: 2px solid var(--slate); }
thead td { border-bottom: 2px solid var(--slate); }
tbody th { font-weight: 600; }
.tbl-cap { font-size: .88rem; color: var(--ink-soft); margin-top: .4rem; }
ol.steps { counter-reset: step; list-style: none; padding-left: 0 !important; }
ol.steps li { counter-increment: step; position: relative; padding-left: 2.3rem; margin-bottom: .8rem; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: .05em; width: 1.6rem; height: 1.6rem; border-radius: 3px; background: var(--slate); color: #fff; font: 700 .9rem/1.6rem var(--body); text-align: center; }

/* faq */
.faq details { border-bottom: 1px solid var(--rule); padding: .2rem 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: .75rem 1.5rem .75rem 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .6rem; font-size: 1.3rem; color: var(--amber); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 .6rem; }

.sources ul { font-size: .92rem; color: var(--ink-soft); }
.byline { font-size: .9rem; color: var(--ink-soft); margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--rule); }

/* flake color chooser */
.chooser { max-width: 52rem; margin: 1.2rem 0 2rem; display: grid; gap: 1rem; }
.chooser-floor { width: 100%; aspect-ratio: 900 / 420; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); background: #8A8D90; }
.chooser-set { border: 0; padding: 0; margin: 0; }
.chooser-set legend { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--slate); margin-bottom: .4rem; }
.chooser-opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.chooser-opts label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .35rem .8rem; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); cursor: pointer; font-weight: 600; font-size: .95rem; }
.chooser-opts label:has(input:checked) { border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); }
.chooser-opts input { accent-color: var(--amber); margin: 0; }
.chooser-opts .sw { display: inline-block; width: 1.6rem; height: 1rem; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.chooser-note { color: var(--ink-soft); margin: 0; }

/* request form */
.request { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 2.5rem 0; }
.request-inner { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
.request h2 { margin-top: 0; }
.fields { display: grid; gap: 1rem; margin: 1.2rem 0; }
@media (min-width: 40rem) { .fields { grid-template-columns: 1fr 1fr; } .fields .wide { grid-column: 1 / -1; } }
.fields label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid #A39D94; border-radius: 3px; padding: .6rem .7rem; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--amber); }
.chooser-opts input[type=radio] { width: auto; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .88rem; color: var(--ink-soft); margin-top: .8rem; }

/* closing + footer */
.closing { background: var(--concrete); padding: 2.5rem 0; }
.closing .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.closing-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--slate); margin: 0; max-width: 32rem; }
.site-foot { background: var(--char); color: #C9C6C0; padding: 2.5rem 0 5rem; font-size: .95rem; }
.site-foot a { color: #fff; }
.site-foot .brand .b1 { color: #fff; }
.site-foot .brand .b2 { color: var(--amber-light); }
.site-foot h2 { color: #fff; font-size: 1.15rem; margin: 0 0 .6rem; }
.site-foot ul { list-style: none; padding: 0; }
.site-foot li { margin-bottom: .3rem; }
.foot-brand { max-width: 34rem; margin-bottom: 2rem; }
.foot-cols { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .foot-cols { grid-template-columns: repeat(3, 1fr); } .site-foot { padding-bottom: 2.5rem; } }
.foot-legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #3A4048; }
.foot-legal a { margin-left: .8rem; }

/* sticky mobile call bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--amber); color: #fff; text-align: center; font-weight: 700; padding: .9rem 1rem; text-decoration: none; font-size: 1.05rem; box-shadow: 0 -2px 10px rgba(27,30,34,.3); }
.callbar:hover { color: #fff; background: var(--amber-dark); }
@media (min-width: 48rem) { .callbar { display: none; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .topbar, .callbar, .request, .closing, .main-nav, .hero-floor { display: none; } }
