:root {
  --ink: #11100f;
  --panel: #1b1917;
  --panel-2: #24211e;
  --paper: #f3efe7;
  --muted: #bcb4a7;
  --orange: #e69138;
  --orange-2: #ffad4d;
  --line: rgba(255,255,255,.12);
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 20px 50px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: #fff; color: #000; padding: .7rem 1rem; }

.topbar { background: var(--orange); color: #16110c; text-align: center; padding: .42rem 1rem; font-weight: 800; font-size: .84rem; letter-spacing: .03em; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17,16,15,.93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-wrap { max-width: var(--max); margin: 0 auto; padding: .85rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .78rem; text-decoration: none; font-weight: 900; letter-spacing: .02em; }
.brand img { width: 48px; height: 48px; object-fit: cover; border-radius: 12px; }
.brand span { display: grid; line-height: 1.05; }
.brand small { color: var(--orange-2); font-size: .69rem; letter-spacing: .13em; margin-top: .27rem; }
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 750; color: #e9e2d8; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--orange-2); }
.menu-button { display: none; border: 1px solid var(--line); color: white; background: transparent; border-radius: 10px; padding: .55rem .7rem; font-weight: 800; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .75rem 1.1rem; border-radius: 12px; background: var(--orange); color: #19120b; text-decoration: none; font-weight: 900; border: 1px solid var(--orange); cursor: pointer; }
.button:hover { background: var(--orange-2); transform: translateY(-1px); }
.button.ghost { background: transparent; color: white; border-color: rgba(255,255,255,.38); }
.button.small { min-height: 40px; padding: .52rem .82rem; font-size: .86rem; }

.hero { position: relative; min-height: 680px; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,8,7,.96) 0%, rgba(9,8,7,.8) 48%, rgba(9,8,7,.18) 100%), url('/assets/flake-floor.webp') center/cover; filter: saturate(.84) contrast(1.05); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, var(--ink)); }
.hero-inner { position: relative; z-index: 2; max-width: var(--max); width: 100%; margin: 0 auto; padding: 6.5rem 1.25rem 7.5rem; }
.eyebrow { color: var(--orange-2); font-size: .76rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 900; margin: 0 0 .9rem; }
h1, h2, h3 { font-family: "Arial Narrow", Impact, Haettenschweiler, sans-serif; text-transform: uppercase; letter-spacing: .015em; line-height: .98; margin: 0; }
h1 { max-width: 880px; font-size: clamp(3.4rem, 8vw, 7.7rem); }
h1 em { color: var(--orange-2); font-style: normal; }
.hero p { max-width: 680px; font-size: clamp(1.05rem, 2vw, 1.32rem); color: #e6ded2; margin: 1.3rem 0 1.7rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust-strip { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; margin-top: 1.35rem; color: #d0c7bc; font-weight: 700; font-size: .88rem; }
.trust-strip span::before { content: "✓"; color: var(--orange-2); margin-right: .38rem; }

.section { padding: 6.4rem 1.25rem; }
.section.alt { background: var(--paper); color: #171513; }
.section.dark-2 { background: var(--panel); }
.container { max-width: var(--max); margin: 0 auto; }
.section-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.65fr); align-items: end; gap: 2rem; margin-bottom: 2.4rem; }
.section h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); }
.section-head p { margin: 0; color: #c6beb3; }
.alt .section-head p { color: #534e47; }

.service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem; }
.service-card { position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 2rem; border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); isolation: isolate; }
.service-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,7,6,.96), rgba(8,7,6,.08)); z-index: -1; }
.service-card.epoxy { background: url('/assets/flake-floor-close.webp') center/cover; }
.service-card.laser { background: url('/assets/tumblers.webp') center/cover; }
.service-card h3 { font-size: clamp(2.2rem,4vw,4rem); }
.service-card p { max-width: 560px; color: #ded7ce; margin-bottom: .4rem; }
.arrow { color: var(--orange-2); font-weight: 900; margin-top: .7rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.info-card { border: 1px solid var(--line); background: var(--panel-2); padding: 1.55rem; border-radius: 16px; }
.alt .info-card { background: white; border-color: rgba(0,0,0,.12); }
.info-card .num { color: var(--orange); font-weight: 950; font-size: .8rem; letter-spacing: .12em; }
.info-card h3 { font-size: 1.65rem; margin: .55rem 0 .65rem; }
.info-card p { margin: 0; color: var(--muted); }
.alt .info-card p { color: #5b554d; }

.gallery { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 270px 270px; gap: .8rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 15px; position: relative; background: #282522; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; inset: auto .8rem .8rem; background: rgba(0,0,0,.72); padding: .42rem .62rem; border-radius: 8px; font-size: .77rem; font-weight: 800; }

.proof { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.5rem; align-items: center; }
.proof img { border-radius: var(--radius); box-shadow: var(--shadow); }
.proof h2 { margin-bottom: 1rem; }
.check-list { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .65rem; align-items: start; }
.check-list li::before { content: "✓"; color: var(--orange); font-weight: 950; }

.page-hero { padding: 6.8rem 1.25rem 4.8rem; background: radial-gradient(circle at 80% 10%, rgba(230,145,56,.23), transparent 34%), var(--panel); border-bottom: 1px solid var(--line); }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .75fr; align-items: end; gap: 2rem; }
.page-hero h1 { font-size: clamp(3.2rem,7vw,6.8rem); }
.page-hero p { color: #d6cec2; font-size: 1.12rem; margin: 1.25rem 0 0; max-width: 720px; }
.page-hero .quick-contact { border-left: 2px solid var(--orange); padding-left: 1.25rem; }

.content-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(280px,.6fr); gap: 2.5rem; }
.prose h2 { font-size: clamp(2.1rem,4vw,3.7rem); margin: 2.8rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.5rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: #4d4841; }
.prose ul { padding-left: 1.15rem; }
.sidebar { position: sticky; top: 110px; align-self: start; background: #1b1917; color: white; padding: 1.5rem; border-radius: 16px; }
.sidebar h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.sidebar p { color: #cfc6bb; }
.sidebar .button { width: 100%; margin-top: .55rem; }

.faq { display: grid; gap: .7rem; }
.faq details { border: 1px solid rgba(0,0,0,.13); border-radius: 12px; background: white; padding: 1rem 1.1rem; }
.faq summary { cursor: pointer; font-weight: 900; }
.faq p { margin-bottom: 0; }

.quote-band { background: var(--orange); color: #17110c; }
.quote-band .container { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 2rem; }
.quote-band h2 { font-size: clamp(2.5rem,5vw,5rem); }
.quote-band .button { background: #17110c; color: white; border-color: #17110c; justify-self: end; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1.2rem; }
.contact-panel, .quote-form { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; }
.contact-panel a { color: var(--orange-2); font-weight: 850; }
.quote-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .9rem; }
.quote-form label { display: grid; gap: .35rem; font-weight: 800; font-size: .82rem; }
.quote-form .wide { grid-column: 1 / -1; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid #4a443e; border-radius: 10px; background: #11100f; color: white; padding: .8rem; font: inherit; }
.quote-form textarea { min-height: 150px; resize: vertical; }

.site-footer { background: #090807; padding: 3.8rem 1.25rem 1.5rem; border-top: 1px solid var(--line); }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 2rem; }
.footer-grid h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.footer-grid p, .footer-grid a { color: #bdb4a8; }
.footer-grid a { display: block; text-decoration: none; margin: .32rem 0; }
.footer-grid a:hover { color: var(--orange-2); }
.footer-bottom { max-width: var(--max); margin: 2.5rem auto 0; border-top: 1px solid var(--line); padding-top: 1.1rem; color: #81796f; font-size: .78rem; display: flex; justify-content: space-between; gap: 1rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.seen { opacity: 1; transform: none; }

@media (max-width: 850px) {
  .menu-button { display: block; }
  .nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 76px; background: #171513; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .nav .button { width: 100%; }
  .hero { min-height: 620px; }
  .hero::before { background: linear-gradient(90deg, rgba(9,8,7,.94), rgba(9,8,7,.62)), url('/assets/flake-floor.webp') center/cover; }
  .section, .page-hero { padding-top: 4.6rem; padding-bottom: 4.6rem; }
  .section-head, .page-hero .container, .proof, .content-grid, .quote-band .container, .contact-grid { grid-template-columns: 1fr; }
  .service-grid, .cards-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 230px 230px; }
  .gallery figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .sidebar { position: static; }
  .quote-band .button { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .brand strong { font-size: .9rem; }
  .nav-wrap { padding-inline: .85rem; }
  .hero-inner { padding-inline: 1rem; }
  h1 { font-size: 3.15rem; }
  .section { padding-inline: 1rem; }
  .service-card { min-height: 360px; padding: 1.4rem; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5,260px); }
  .gallery figure:first-child { grid-column: auto; }
  .quote-form { grid-template-columns: 1fr; }
  .quote-form .wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.service-photo { margin: 1.5rem 0; max-width: 620px; }
.service-photo img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 15px; }
.service-photo figcaption { margin-top: .6rem; font-size: .85rem; color: #b9b4ac; }
.gallery figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
