/* TC Homes & Floors — website styles. Warm palette: espresso, cream, logo red, oak. */
:root {
  --bg: #faf6f0;
  --panel: #ffffff;
  --cream: #f3ebe0;
  --ink: #221b16;
  --muted: #6b5f55;
  --rule: #e7ddd0;
  --accent: #c8201e;
  --accent-dark: #a01816;
  --accent-soft: #fdecea;
  --oak: #b98552;
  --oak-dark: #8a6a4b;
  --oak-soft: #f4e7d6;
  --dark: #221a15;
  --dark-2: #2e241d;
  --dark-ink: #f6efe7;
  --dark-muted: #c2b3a5;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(34, 27, 22, 0.06), 0 6px 18px rgba(34, 27, 22, 0.07);
  --shadow-hover: 0 2px 4px rgba(34, 27, 22, 0.08), 0 14px 32px rgba(34, 27, 22, 0.13);
  --sans: "Figtree", "Segoe UI", system-ui, sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 800; }
p { margin: 0; }
.muted { color: var(--muted); }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oak-dark); margin-bottom: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(200, 32, 30, 0.28); }
.btn-red:hover { background: var(--accent-dark); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: rgba(0,0,0,0.04); }
.btn-light { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.06); }
.btn-light:hover { background: rgba(255,255,255,0.14); }

/* Top bar */
.topbar { background: var(--dark); color: var(--dark-muted); font-size: 0.85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { text-decoration: none; color: #fff; }

/* Header */
.site-head { background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.site-head.compact .brand div { display: none; }
.brand img { height: 64px; width: auto; }
.brand b { display: block; font-size: 1.08rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.brand span { font-size: 0.8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { text-decoration: none; font-weight: 700; padding: 9px 12px; border-radius: 999px; white-space: nowrap; }
.brand b, .brand span { white-space: nowrap; }
@media (max-width: 1560px) { .head-phone { display: none; } .brand span { display: none; } }
.nav a:hover { background: var(--cream); }
.nav a[aria-current="page"] { color: var(--accent); }
.nav .btn-red { color: #fff; margin-left: 8px; padding: 10px 20px; }
.nav .btn-red:hover { background: var(--accent-dark); }
.head-phone { font-weight: 800; color: var(--accent); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--rule); border-radius: 10px; padding: 8px 12px; font-weight: 800; font-family: inherit; cursor: pointer; }
@media (max-width: 1060px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); flex-direction: column; align-items: stretch; padding: 8px 20px 18px; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav .btn-red { margin: 8px 0 0; }
  .head-phone { display: none; }
  .brand img { height: 46px; }
  .menu-btn { white-space: nowrap; }
}
@media (max-width: 600px) {
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .brand span { display: none; }
  .brand b { font-size: 0.95rem; }
  .site-head .wrap { min-height: 64px; }
}

/* Sections */
section { padding: 64px 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 20px; margin-bottom: 28px; }
.sec-head p { max-width: 62ch; margin-top: 6px; }
.more { font-weight: 800; color: var(--accent); text-decoration: none; white-space: nowrap; }
.more:hover { text-decoration: underline; }
.alt { background: var(--panel); }
.cream { background: var(--cream); }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--dark-ink); padding: 64px 0 72px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(185, 133, 82, 0.35), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(200, 32, 30, 0.22), transparent 60%),
    linear-gradient(160deg, #2b2019 0%, var(--dark) 55%, #17110d 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; position: relative; }
.hero .eyebrow { color: #ffb3a8; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -0.025em; color: #fff; }
.hero h1 em { font-style: normal; color: #ff6b5f; }
.hero .lede { font-size: 1.12rem; color: var(--dark-muted); margin-top: 16px; max-width: 48ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-facts span { font-weight: 700; font-size: 0.88rem; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); }
.hero-pics { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 170px 170px; gap: 12px; position: relative; }
.hero-pics > div:not(.hero-tag) { border-radius: 18px; background: #5a4535 center / cover no-repeat; box-shadow: 0 18px 40px rgba(0,0,0,0.35); border: 3px solid rgba(255,255,255,0.08); }
.hero-pics > div:first-child { grid-row: span 2; }
.hero-tag { position: absolute; left: -14px; bottom: -16px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-hover); font-size: 0.88rem; line-height: 1.35; }
.hero-tag b { color: var(--accent); font-size: 1.05rem; display: block; }
@media (max-width: 860px) { .hero { padding: 44px 0 56px; } .hero .wrap { grid-template-columns: 1fr; } .hero-pics { grid-template-rows: 120px 120px; } .hero-tag { left: 10px; bottom: -12px; } }

/* Trust strip */
.trust { background: var(--panel); border-bottom: 1px solid var(--rule); padding: 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust div { padding: 20px 14px; text-align: center; border-right: 1px solid var(--rule); }
.trust div:last-child { border-right: 0; }
.trust b { display: block; font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.trust span { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
@media (max-width: 700px) { .trust .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trust div:nth-child(2) { border-right: 0; } .trust div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }

/* Specials */
.specials { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 100%); }
.specials h2 .flame { color: var(--accent); }

/* Cards */
.grid { display: grid; gap: 18px; }
.grid.products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid.products.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid.products.four, .grid.services, .grid.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid.three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .grid.services, .grid.tiles { grid-template-columns: minmax(0, 1fr); } .grid.products, .grid.products.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card.on-sale { border-color: #f1b3ad; }
.p-img { position: relative; aspect-ratio: 4 / 3; background: var(--oak-soft) center / cover no-repeat; }
.p-img.no-img { display: grid; place-items: center; background: repeating-linear-gradient(90deg, #e9dccb 0 26px, #e2d3c0 26px 27px); }
.noimg { font-size: 0.8rem; color: var(--muted); font-weight: 700; background: rgba(255,255,255,0.8); padding: 4px 10px; border-radius: 999px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-weight: 800; font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; box-shadow: 0 4px 10px rgba(200,32,30,0.35); }
.p-body { padding: 14px 16px 16px; display: grid; gap: 2px; }
.p-brand { font-size: 0.74rem; color: var(--oak); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.p-name { font-weight: 800; font-size: 1.08rem; }
.p-cat { font-size: 0.85rem; color: var(--muted); }
.p-spec { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.chips-l { align-self: center; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-right: 2px; }
.p-price { font-weight: 800; color: var(--accent); margin-top: 6px; font-size: 1.1rem; line-height: 1.35; }
.p-price s { color: var(--muted); font-weight: 600; font-size: 0.9rem; margin-right: 2px; }
.p-price small { color: var(--muted); font-weight: 600; font-size: 0.82rem; }
.p-price small.free { color: var(--accent); font-weight: 800; }
@media (max-width: 480px) { .p-body { padding: 10px 12px 12px; } .p-name { font-size: 0.98rem; } .p-price { font-size: 1rem; } }
.tile { padding: 22px; min-height: 130px; justify-content: space-between; gap: 12px; position: relative; overflow: hidden; }
.tile > * { position: relative; z-index: 1; }
.tile b { font-size: 1.12rem; }
.tile small { color: var(--muted); font-size: 0.9rem; }
.tile .go { color: var(--accent); font-weight: 800; font-size: 0.9rem; }
.svc { padding: 24px; gap: 8px; }
.svc .icon { font-size: 1.8rem; line-height: 1; }
.svc .go { color: var(--accent); font-weight: 800; margin-top: auto; padding-top: 8px; }
.placeholder { border: 2px dashed #d9c9b5; background: rgba(255,255,255,0.6); color: var(--muted); padding: 24px; border-radius: var(--radius); display: grid; gap: 6px; align-content: center; min-height: 150px; }
.placeholder b { color: var(--ink); }
.loading { color: var(--muted); padding: 20px 0; }

/* About (home) */
.about-home .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-home p + p { margin-top: 12px; }
.about-home .points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-home .points div { background: var(--panel); border-radius: 12px; padding: 16px; box-shadow: var(--shadow); }
.about-home .points b { display: block; color: var(--accent); font-size: 1.02rem; }
.about-home .points span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 860px) { .about-home .wrap { grid-template-columns: 1fr; } }

/* Estimate band */
.band { color: var(--dark-ink); background: radial-gradient(700px 300px at 100% 0%, rgba(200,32,30,0.35), transparent 60%), linear-gradient(135deg, var(--dark-2), var(--dark)); }
.band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.band h2 { color: #fff; }
.band p { color: var(--dark-muted); margin-top: 10px; }
.band .offer { color: #fff; font-weight: 700; background: rgba(200, 32, 30, 0.22); border: 1.5px dashed #ff8a7f; border-radius: 12px; padding: 12px 16px; }
.band .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 760px) { .band .wrap { grid-template-columns: 1fr; } .band .ctas { justify-content: flex-start; } }

/* Visit */
.visit .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.visit-info { display: grid; gap: 16px; align-content: start; }
.visit-info dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; background: var(--panel); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.visit-info dt { font-weight: 800; }
.visit-info dd { margin: 0; }
.map { border: 0; width: 100%; min-height: 340px; border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
@media (max-width: 760px) { .visit .wrap { grid-template-columns: 1fr; } }

/* Page header */
.page-head { background: radial-gradient(600px 240px at 100% 0%, rgba(185,133,82,0.3), transparent 60%), linear-gradient(160deg, #2b2019, var(--dark)); color: var(--dark-ink); padding: 40px 0 36px; }
.page-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800; color: #fff; }
.page-head p { color: var(--dark-muted); margin-top: 10px; max-width: 70ch; }
.page-head p a { color: #fff; }
.crumbs { font-size: 0.85rem; color: var(--dark-muted); margin-bottom: 10px; }
.crumbs a { text-decoration: none; color: #fff; }

/* Filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { border: 1.5px solid var(--rule); background: var(--panel); border-radius: 999px; padding: 8px 16px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.9rem; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Product detail */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.detail .p-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.specs { width: 100%; border-collapse: collapse; margin: 18px 0; background: var(--panel); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.specs th, .specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.detail .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags span { background: var(--oak-soft); color: #7a5130; border-radius: 999px; padding: 4px 12px; font-size: 0.82rem; font-weight: 700; }
@media (max-width: 760px) { .detail { grid-template-columns: 1fr; } }

/* Service blocks and about page */
.svc-block { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; padding: 36px 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 96px; }
.svc-block ul { margin: 10px 0 0; padding-left: 20px; }
.svc-block li { margin: 4px 0; }
.svc-block .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
@media (max-width: 760px) { .svc-block { grid-template-columns: 1fr; gap: 10px; } }
.prose { max-width: 760px; }
.prose p { margin: 0 0 14px; font-size: 1.05rem; }
.prose h2 { margin: 30px 0 12px; font-size: 1.5rem; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.why div { background: var(--panel); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); border-top: 4px solid var(--oak); }
.why b { display: block; margin-bottom: 4px; }
.why span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { background: var(--dark); color: var(--dark-ink); padding: 52px 0 26px; font-size: 0.92rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.site-foot h4 { margin: 0 0 12px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--oak); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-qr { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.foot-qr .qr { width: 84px; height: 84px; background: #fff; border-radius: 8px; padding: 4px; flex: none; }
.foot-qr .qr svg { width: 100%; height: 100%; display: block; }
.foot-more { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 30px; padding-top: 18px; color: var(--dark-muted); font-size: 0.85rem; display: grid; gap: 8px; }
.foot-more b { color: var(--dark-ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } .foot-qr .qr { display: none; } }

/* Hero: current specials on the right */
.hero-deals { display: grid; gap: 12px; align-content: start; }
.deals-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; color: #fff; }
.deals-head b { font-size: 1.05rem; }
.deals-head a { color: #ffb3a8; font-weight: 800; text-decoration: none; font-size: 0.9rem; }
.deals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.deals .card { border-color: transparent; box-shadow: 0 14px 30px rgba(0,0,0,0.35); }
.deals .p-img { aspect-ratio: 16 / 10; }
.deals .p-body { padding: 10px 12px 12px; }
.deals .p-cat { display: none; }
.deals .p-name { font-size: 1rem; }
.deals .p-price { font-size: 1rem; margin-top: 2px; }
@media (max-width: 480px) { .deals { gap: 8px; } .deals .badge { font-size: 0.66rem; padding: 4px 8px; top: 6px; left: 6px; } }

/* Group pages */
.sub-block { padding: 26px 0 30px; border-top: 1px solid var(--rule); scroll-margin-top: 96px; display: grid; gap: 12px; }
.sub-block:first-child { border-top: 0; }
.sub-block > p { max-width: 75ch; color: var(--muted); font-size: 1.02rem; }
a.chip { text-decoration: none; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--panel); border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); }
.faq summary { font-weight: 800; cursor: pointer; font-size: 1.02rem; }
.faq details p { margin-top: 10px; color: var(--muted); }
.faq details a { color: var(--accent); }
.deals .card { color: var(--ink); }
/* Mid-size screens: logo only, so the menu fits on one line */
@media (min-width: 1061px) and (max-width: 1300px) { .brand div { display: none; } .nav a { padding: 9px 10px; } }

/* Brand row: names scroll slowly right-to-left in a loop; pauses on hover; still for users who turn off motion */
.brands { padding: 0; background: var(--cream); border-bottom: 1px solid var(--rule); display: flex; align-items: center; overflow: hidden; }
.brands-label { flex: none; padding: 0 22px 0 max(20px, calc((100vw - var(--wrap)) / 2 + 20px)); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.brands-view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.brands-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: brands-scroll 70s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brands-track li { padding: 18px 26px; font-size: 1.2rem; font-weight: 800; color: var(--ink); white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.brands-track li::after { content: "◆"; font-size: 0.55rem; color: var(--oak); margin-right: -26px; }
@keyframes brands-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 700px) { .brands { flex-direction: column; align-items: stretch; } .brands-label { padding: 12px 20px 0; text-align: center; } .brands-track li { padding: 10px 18px 14px; font-size: 1.05rem; gap: 36px; } .brands-track li::after { margin-right: -18px; } }
@media (prefers-reduced-motion: reduce) { .brands-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .brands-track li[aria-hidden] { display: none; } }

/* Google reviews */
.reviews { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; background: var(--panel); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.r-stars { color: #f2a516; letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { margin: 0; }
.r-text { margin: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review.open .r-text { -webkit-line-clamp: unset; display: block; }
.r-more { justify-self: start; background: none; border: 0; padding: 0; color: var(--accent); font-weight: 800; cursor: pointer; font-family: inherit; font-size: .92rem; }
.r-photos { display: flex; gap: 8px; }
.r-photos a { flex: 1; max-width: 33%; }
.r-photos img { width: 100%; height: 86px; object-fit: cover; border-radius: 8px; display: block; }
.review figcaption { display: grid; border-top: 1px solid var(--rule); padding-top: 10px; }
.review figcaption a { color: var(--ink); }
.review figcaption span { color: var(--muted); font-size: .85rem; }

/* Project cards (home) */
.card.proj .proj-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.card.proj .proj-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card.proj:hover .proj-img img { transform: scale(1.04); }
.card.proj .badge { position: absolute; left: 10px; top: 10px; }

/* Projects page */
.projects { display: grid; gap: 28px; margin-top: 22px; }
.project { display: grid; grid-template-columns: 1fr 1.25fr; gap: 28px; background: var(--panel); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; scroll-margin-top: 110px; }
.project[hidden] { display: none; }
.project h2 { font-size: 1.5rem; margin: 2px 0 8px; }
.proj-lede { font-weight: 700; color: var(--ink); }
.proj-text p { margin: 0 0 12px; }
.did { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.did li { background: var(--oak-soft); border-radius: 999px; padding: 5px 12px; font-size: .88rem; font-weight: 700; }
.did li::before { content: "✓ "; color: var(--accent); }
.proj-media { display: grid; gap: 10px; align-content: start; min-width: 0; }
.proj-media figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--cream); }
.proj-media img { width: 100%; height: auto; display: block; object-fit: cover; }
.proj-media .main img { aspect-ratio: 4 / 3; height: auto; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.thumb.on { border-color: var(--accent); }
.thumb img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba img, .more-photos img { aspect-ratio: 3 / 4; height: auto; }
.more-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.more-photos img { aspect-ratio: 4 / 3; }
.tag { position: absolute; left: 8px; top: 8px; z-index: 1; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; }
.tag.before { background: rgba(34, 27, 22, .78); }
.tag.after { background: var(--accent); }
.band-lite { margin-top: 26px; padding: 18px 22px; background: var(--oak-soft); border-radius: var(--radius); }
.band-lite a { color: var(--accent); font-weight: 800; }
@media (max-width: 860px) { .project { grid-template-columns: 1fr; padding: 18px; } .proj-media { order: -1; } }

/* Showroom photo (about / contact) */
.showroom-photo { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.showroom-photo img { width: 100%; height: auto; display: block; }
.showroom-photo figcaption { padding: 10px 14px; background: var(--panel); color: var(--muted); font-size: .9rem; }

/* Flooring comparison table (buying guide) */
.compare-wrap { overflow-x: auto; margin: 14px 0 8px; border-radius: 12px; box-shadow: var(--shadow); }
@media (min-width: 900px) { .prose .compare-wrap { width: min(1100px, calc(100vw - 48px)); position: relative; left: 50%; transform: translateX(-50%); } }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--panel); font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { background: var(--dark); color: var(--dark-ink); font-size: .85rem; letter-spacing: .02em; }
.compare tbody th { font-weight: 800; min-width: 150px; }
.compare tbody th a { color: var(--accent); }
.compare tbody tr:nth-child(even) { background: var(--bg); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.toc { background: var(--oak-soft); border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-size: .95rem; line-height: 1.9; }
.toc a { color: var(--accent); font-weight: 700; }
.proj-review { margin: 0 0 18px; padding: 16px 18px; background: var(--bg); border-left: 4px solid var(--oak); border-radius: 0 12px 12px 0; }
.proj-review blockquote { margin: 6px 0 8px; }
.proj-review blockquote p { margin: 0; font-style: italic; }
.proj-review figcaption { font-size: .88rem; color: var(--muted); }
.proj-review figcaption a { color: var(--ink); font-weight: 700; }

/* Why choose us */
.why-us { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.why-ico { width: 38px; height: 38px; color: var(--accent); margin-bottom: 14px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.why-tag { margin-top: 26px; text-align: center; font-weight: 700; color: var(--ink); font-size: 0.95rem; line-height: 1.7; padding: 16px 12px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-card { padding: 22px 18px; } }

/* Home: full-width photo banner, header over the picture */
body[data-page="home"] #site-head { position: absolute; left: 0; right: 0; top: 0; z-index: 30; }
body[data-page="home"] .site-head { background: transparent; backdrop-filter: none; border-bottom: 0; position: relative; }
body[data-page="home"] .site-head .brand b, body[data-page="home"] .site-head .nav a:not(.btn), body[data-page="home"] .site-head .head-phone { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
body[data-page="home"] .site-head .brand span { color: rgba(255,255,255,0.85); text-shadow: 0 1px 8px rgba(0,0,0,0.45); }
body[data-page="home"] .site-head .nav a:not(.btn):hover { background: rgba(255,255,255,0.16); }
body[data-page="home"] .site-head .menu-btn { color: #fff; border-color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.25); }
.hero-photo { overflow: hidden; padding: 0; min-height: clamp(560px, 82vh, 780px); display: flex; align-items: center; background: #2b2019; }
.hero-photo .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: blur(4px) brightness(1.18) contrast(1.02); transform: scale(1.05); }
.hero-photo .hero-shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse 62% 58% at 50% 56%, rgba(20,14,10,0.40) 0%, rgba(20,14,10,0.18) 55%, rgba(20,14,10,0) 100%),
  linear-gradient(180deg, rgba(20,14,10,0.34) 0%, rgba(20,14,10,0.03) 26%, rgba(20,14,10,0.04) 70%, rgba(20,14,10,0.16) 100%); }
.hero-photo .wrap.hero-center { display: block; position: relative; text-align: center; padding-top: 150px; padding-bottom: 70px; max-width: 980px; }
.hero-photo .eyebrow { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.hero-photo h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; max-width: 18em; margin-left: auto; margin-right: auto; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.35); }
.hero-photo .lede { margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.92); max-width: 56ch; text-shadow: 0 1px 10px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.35); }
.hero-photo .ctas, .hero-photo .hero-facts { justify-content: center; }
.hero-photo .hero-facts span { background: rgba(0,0,0,0.28); border-color: rgba(255,255,255,0.28); }
.specials-band { background: var(--bg); color: var(--ink); padding: 40px 0 8px; }
.specials-band[hidden] { display: none; }
.specials-band .deals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .specials-band .deals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1060px) {
  body[data-page="home"] .site-head .nav a:not(.btn) { color: var(--ink); text-shadow: none; }
  body[data-page="home"] .site-head .nav a:not(.btn):hover { background: var(--cream); }
}
@media (max-width: 600px) { .hero-photo { min-height: 560px; } .hero-photo .wrap.hero-center { padding-top: 120px; padding-bottom: 48px; } }

/* Every action button is the same brand red */
.btn-line, .btn-light { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(200, 32, 30, 0.28); }
.btn-line:hover, .btn-light:hover { background: var(--accent-dark); }

/* Order online (product page, only for products sold through Shopify) */
.order-box { margin-top: 18px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: var(--shadow); }
.order-box h2 { margin: 0 0 4px; font-size: 1.15rem; }
.order-note { margin: 4px 0 0; font-size: 0.92rem; color: var(--muted); }
.order-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; margin-top: 12px; }
.order-row label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; font-weight: 600; }
.order-row input { font: inherit; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.order-row input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.order-sum { margin: 12px 0; padding: 10px 12px; background: var(--oak-soft); border-radius: 10px; }
.order-box .btn { width: 100%; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; }

/* Logo has no white box any more; on the home photo header give the dark "TC" letters a soft white glow so they stay readable */
body[data-page="home"] .site-head .brand img { filter: drop-shadow(0 0 2px rgba(255,255,255,0.95)) drop-shadow(0 0 7px rgba(255,255,255,0.55)); }

/* Room picture (效果图): tag on cards, fade to the room picture on hover, gallery on the product page */
.room-tag { position: absolute; right: 10px; bottom: 10px; background: rgba(35,26,22,0.78); color: #fff; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.03em; padding: 4px 10px; border-radius: 999px; pointer-events: none; z-index: 2; }
.p-room { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .35s; }
.p-img .badge { z-index: 2; }
@media (hover: hover) { a.card:hover .p-room { opacity: 1; } }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery .p-img { transition: background-image .2s; }
.gallery .g-thumbs { display: flex; gap: 10px; }
.gallery .g-thumb { position: relative; width: 104px; aspect-ratio: 4 / 3; border: 2px solid var(--rule); border-radius: 10px; background: var(--oak-soft) center / cover no-repeat; cursor: pointer; padding: 0; overflow: hidden; }
.gallery .g-thumb.on { border-color: var(--accent); }
.gallery .g-thumb span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(35,26,22,0.72); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 0; text-align: center; }
.room-btn { align-self: flex-start; }



/* Home page tidy-up (Oct 2026): calmer colours, fewer sections */
.specials-band .deals-head { color: var(--ink); }
.specials-band .deals-head a { color: var(--accent); }
.specials-band .deals .card { border-color: var(--rule); box-shadow: var(--shadow); }
.why-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 26px; }
.why-stats div { text-align: center; padding: 16px 10px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); }
.why-stats b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--accent); }
.why-stats span { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
@media (max-width: 700px) { .why-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.help-row { padding: 0 0 48px; }
.help-row .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.help-row a { text-decoration: none; font-weight: 700; padding: 8px 16px; border: 1px solid var(--rule); border-radius: 999px; background: var(--panel); }
.help-row a:hover { border-color: var(--accent); color: var(--accent); }

/* Product options (colour / size) */
.opt { margin-top: 14px; }
.opt-l { display: block; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.opt-l b { color: var(--ink); }
.opt-b { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-btn { font: inherit; font-weight: 600; font-size: 0.92rem; padding: 8px 14px; border: 1.5px solid var(--rule); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.opt-btn:hover { border-color: var(--accent); }
.opt-btn.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.opt-btn.na:not(.on) { opacity: 0.55; border-style: dashed; }
.opt-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
small.from { font-size: 0.75em; font-weight: 600; color: var(--muted); margin-right: 3px; }
.stock { margin-top: 6px; font-weight: 700; font-size: 0.95rem; }
.stock.in { color: #2f7a3e; }
.stock.out { color: #7a5130; }

/* Bathroom cost page: price cards and collapsible topics */
.price-cards span:first-child { font-weight: 700; color: var(--ink); }
.price-cards b.big { font-size: 1.7rem; margin: 6px 0; color: var(--accent); }
.prose .details-list { max-width: none; }
.prose .details-list details ul, .prose .details-list details > p { margin-top: 12px; color: var(--ink); }
.prose .details-list details > p { font-size: 1rem; }
.price-cards b.big small { font-size: .95rem; font-weight: 800; color: var(--ink); }
.price-cards a { display: block; background: var(--panel); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); border-top: 4px solid var(--oak); color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.price-cards a:hover, .price-cards a:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.price-cards a { display: flex; flex-direction: column; }
.price-cards a b.big { margin-top: auto; padding-top: 6px; }
