/* PVAD Flooring — design system
   One direction: a bright home with warm wood underfoot.
   Canvas and panels are white, ink is charcoal,
   wood tones carry the atmosphere, and red appears only on actions. */

:root {
  --canvas: #fff;
  --canvas-deep: #fff;
  --canvas-soft: #f8f6f3;
  --panel: #fff;
  --ink: #1e2328;
  --ink-soft: #3a4149;
  --muted: #59616b;
  --line: #e5e7eb;
  --line-strong: #cfd3d7;
  --accent: #a81922;
  --accent-hover: #86121a;
  --accent-soft: #f6e3e3;
  --wood: #b98a5e;
  --wood-deep: #6e4a2c;
  --wood-soft: #f3f4f6;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 1px 2px rgba(30, 35, 40, 0.04), 0 10px 30px rgba(30, 35, 40, 0.07);
  --shadow-lift: 0 2px 4px rgba(30, 35, 40, 0.05), 0 18px 48px rgba(30, 35, 40, 0.12);
  --max: 1180px;
  --header-h: 72px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  overflow-x: hidden;
  overflow-x: clip;
}

body.paused *,
body.paused *::before,
body.paused *::after {
  animation-play-state: paused !important;
}

img,
svg {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.45em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-variation-settings: "opsz" 144;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-variation-settings: "opsz" 96;
}

h3 {
  font-size: 1.3rem;
  font-variation-settings: "opsz" 48;
}

p {
  margin: 0 0 1em;
}

.muted {
  color: var(--muted);
}

.measure {
  max-width: 58ch;
}

.measure-wide {
  max-width: 68ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood-deep);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--wood);
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 72px 0;
}

.section-deep {
  background: var(--canvas-deep);
}

.section-head {
  margin-bottom: 36px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* Signature element: the plank seam. A short rule made of staggered plank
   joints that draws itself in when its section arrives. */
.seam {
  width: 168px;
  height: 10px;
  margin: 2px 0 18px;
  overflow: visible;
}

.seam path {
  fill: none;
  stroke: var(--wood);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  transition: stroke-dashoffset 1.3s var(--ease-out) 0.15s;
}

.seam .joint {
  stroke: var(--wood-deep);
  stroke-width: 3;
  stroke-dasharray: 10;
  stroke-dashoffset: 10;
  transition: stroke-dashoffset 0.5s var(--ease-out) 1.1s;
}

.in .seam path,
.in .seam .joint {
  stroke-dashoffset: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary:focus-visible {
  outline-color: var(--ink);
}

/* Content is on screen from the first paint: no fade-in, so photos and text show as they are.
   Containers still get .in from IntersectionObserver, which draws the seam lines. */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(168, 25, 34, 0.22);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 22px rgba(168, 25, 34, 0.28);
}

.btn-secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--ink-soft);
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-left: 12px;
  padding-right: 12px;
}

.btn-ghost:hover {
  background: rgba(30, 35, 40, 0.05);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--canvas);
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (pointer: coarse) {
  .btn {
    min-height: 48px;
  }
}

/* Header: a charcoal bar (owner's pick, 2026-11-02) with light links; the red quote button stays the one color. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner :focus-visible,
.header-inner .btn-primary:focus-visible {
  outline-color: #fff;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-display);
  text-decoration: none;
  white-space: nowrap;
}

/* The owner's "P" logo (2026-11-03) on a white rounded tile, so its black, gold, and red read on the bar. */
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  padding: 5px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}

/* Wordmark: a big "PVAD" with "FLOORING" spaced out underneath in a wood tone. */
.brand-name {
  display: grid;
  justify-items: start;
  line-height: 1;
}

.brand-pvad {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.035em;
}

.brand-sub {
  margin-top: 5px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.47em;
  text-transform: uppercase;
  color: #d9b48a;
}

/* Google rating beside the logo on every page (owner, 2026-11-02); it opens the Reviews page. */
.header-rating {
  display: grid;
  gap: 5px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: #e8e4de;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-rating svg {
  width: 75px;
  height: 15px;
  fill: #f2b01e;
}

.header-rating:hover > span {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Phones: logo, rating, call and menu buttons share one row, so each gets a little smaller
   (the two buttons keep their full 44px tap size). */
.brand,
.header-rating,
.phone-link,
.menu-toggle {
  flex: none;
}

@media (max-width: 599px) {
  .header-inner {
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    padding: 4px;
    border-radius: 8px;
  }
  .brand-pvad {
    font-size: 1.8rem;
  }
  .brand-sub {
    font-size: 0.62rem;
  }
  .header-rating {
    gap: 4px;
    padding-left: 10px;
    font-size: 0.64rem;
  }
  .header-rating svg {
    width: 60px;
    height: 12px;
  }
}

.nav {
  display: none;
  margin-left: auto;
  gap: 2px;
}

/* Menu links: pure white and a little larger so they read easily on the charcoal bar (owner, 2026-11-02). */
.nav a {
  padding: 10px 9px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.phone-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.phone-link svg {
  width: 18px;
  height: 18px;
}

.phone-link .label {
  display: none;
}

.header-cta {
  display: none;
  min-height: 44px;
  padding: 10px 18px;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

.mobile-nav[data-open="true"] {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin: 16px;
  width: calc(100% - 32px);
}

/* The full menu needs about 960px since "Flooring Inspiration" joined it; below that the ☰ menu is used. */
@media (min-width: 1000px) {
  .nav {
    display: flex;
  }
  .header-actions {
    margin-left: 0;
  }
  .phone-link .label {
    display: inline;
  }
  /* On desktop the phone link is a real button beside "Get My Free Quote". */
  .phone-link {
    padding: 9px 14px;
    border-radius: var(--radius-sm);
  }
  .phone-link:hover {
    border-color: rgba(255, 255, 255, 0.6);
  }
  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* With the rating beside the logo and the larger menu links (2026-11-02), the header button fits
   from 1180px; with both buttons showing, the menu links stay a little tight. */
@media (min-width: 1180px) {
  .header-cta {
    display: inline-flex;
  }
  .nav a {
    padding: 10px 8px;
  }
}

@media (min-width: 1000px) and (max-width: 1099px) {
  .nav a {
    padding-inline: 7px;
  }
}

/* Hero: full-bleed room drawing (replaced by hero.jpg when it exists),
   a warm wash on the left for the words, and the lead card on the right. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--canvas-deep);
}

.hero-art {
  position: relative;
  aspect-ratio: 16 / 10;
  background-image: url("../assets/hero.svg");
  background-size: cover;
  background-position: center 70%;
  background-repeat: no-repeat;
}

/* A real photo replaces the drawing: the <picture> fills the same frame. */
.hero.has-photo .hero-art {
  background-image: none;
}

.hero-photo,
.step-photo {
  position: absolute;
  inset: 0;
}

.hero-photo img,
.step-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.hero-wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 1) 100%);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 25% 35%, rgba(255, 255, 255, 0.45), transparent 70%);
  animation: light-drift 14s var(--ease-in-out) -4s infinite alternate;
}

@keyframes light-drift {
  from { opacity: 0.55; transform: translate3d(0, 0, 0); }
  to { opacity: 1; transform: translate3d(2%, 1%, 0); }
}

.media-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(30, 35, 40, 0.72);
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  padding: 32px 16px 56px;
}

.hero-copy .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 12px;
}

.hero-note {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 900px) {
  .hero {
    min-height: 640px;
  }
  .hero-art {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
    background-position: center 75%;
  }
  .hero-wash {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 34%, rgba(255, 255, 255, 0.72) 52%, rgba(255, 255, 255, 0.18) 72%, rgba(255, 255, 255, 0.05) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.9) 100%);
  }
  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 440px);
    gap: 56px;
    align-items: center;
    padding: 80px 16px 88px;
  }
  .media-badge {
    right: auto;
    left: 16px;
    bottom: 16px;
  }
}

@media (min-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.2fr) 460px;
    padding: 96px 16px 104px;
  }
}

/* Phone and tablet: words first, then the drawing as a slim band. */
@media (max-width: 899px) {
  .hero {
    display: flex;
    flex-direction: column;
  }
  .hero-inner {
    order: 0;
    padding: 30px 16px 32px;
    gap: 24px;
  }
  .hero-art {
    order: 1;
    aspect-ratio: 16 / 6;
  }
  .hero-copy h1 {
    font-size: clamp(2rem, 7.8vw, 3rem);
  }
  .hero-copy .lede {
    font-size: 1.05rem;
  }
  .hero-actions {
    margin: 18px 0 12px;
  }
  .hero-note {
    font-size: 0.88rem;
  }
}

/* Homepage photo hero: the photo shows exactly as it is (no wash, no glow).
   The words sit on a see-through charcoal card ("dark glass"), so the photo stays
   visible behind them and white text reads over both the sunlit and shaded parts. */
.hero.has-photo .hero-art::after {
  content: none;
}

.hero.has-photo .hero-copy {
  background: rgba(20, 22, 25, 0.46);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
}

/* Bright photos (white walls, white marble) need a darker glass so small white text keeps
   at least 4.5:1 contrast. */
.hero.has-photo.light-photo .hero-copy {
  background: rgba(20, 22, 25, 0.6);
}

.hero.has-photo .hero-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.65rem);
}

.hero.has-photo .hero-copy h1:last-child {
  margin-bottom: 0;
}

/* Service pages carry more on the card: eyebrow, description, list, call button, note. */
.hero.has-photo .eyebrow {
  color: #e9d9c3;
}

.hero.has-photo .eyebrow::before,
.hero.has-photo .benefits li::before {
  background: #e9d9c3;
}

.hero.has-photo .hero-copy .lede {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero.has-photo .benefits li {
  color: rgba(255, 255, 255, 0.92);
}

.hero.has-photo .hero-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Trust strip under the homepage photo: owner-confirmed facts from js/config.js (trustBadges). */
.trust-strip {
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.trust-list svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--wood-deep);
}

@media (min-width: 760px) {
  .trust-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    justify-items: center;
    padding: 22px 0;
  }
  .trust-list li {
    font-size: 1rem;
  }
}

/* Offer under the headline, styled as a coupon so it reads as a discount at a glance. */
.hero-offer {
  margin-top: 6px;
  padding: 16px 18px;
  border: 1.5px dashed rgba(233, 217, 195, 0.75);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.hero-offer-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-offer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
}

/* The free room is the hook, so it gets the biggest, warmest line on the card. */
.hero-offer-title strong {
  display: block;
  margin-top: 2px;
  font-size: 1.22em;
  font-weight: 600;
  line-height: 1.1;
  color: #f1dfc4;
  text-wrap: balance;
}

.hero-offer-details {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-offer-terms {
  margin: 10px 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.hero-offer-terms a {
  color: inherit;
  text-underline-offset: 3px;
}

.hero-offer-terms a:hover {
  color: #fff;
}

@media (min-width: 900px) {
  .hero.has-photo {
    min-height: 700px;
  }
  .hero.has-photo .hero-inner {
    grid-template-columns: minmax(0, 500px) minmax(360px, 420px);
    justify-content: space-between;
    align-items: start;
    gap: 56px;
    padding: 56px 16px 160px;
  }
}

@media (max-width: 899px) {
  .hero.has-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .hero.has-photo .hero-inner {
    display: contents;
  }
  /* Phone: the photo fills the first row and the glass card sits on top of it. */
  .hero.has-photo .hero-art {
    grid-row: 1;
    grid-column: 1;
    aspect-ratio: auto;
  }
  .hero.has-photo .hero-copy {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    z-index: 1;
    margin: 24px 16px 72px;
    padding: 20px;
  }
  .hero.has-photo .lead-card {
    grid-row: 2;
    /* Explicit column: when the photo spans both rows, auto-placement would open a second column. */
    grid-column: 1;
    margin: 24px 16px 32px;
  }
  /* Service pages: the photo keeps going behind the quote form, so "How many rooms"
     sits on the same photo the visitor clicked on the homepage. */
  .hero.has-photo.form-on-photo .hero-art {
    grid-row: 1 / span 2;
  }
  .hero.has-photo.form-on-photo .lead-card {
    position: relative;
    z-index: 1;
    margin: 0 16px 52px;
  }
  .hero.has-photo .hero-copy h1 {
    font-size: clamp(1.85rem, 7.8vw, 3rem);
  }
}

/* Lead card */
.lead-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-lift);
}

.lead-card h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.lead-card .sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.progress {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 6px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}

.progress li {
  height: 5px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}

.progress li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.progress li[aria-current="step"]::after,
.progress li.done::after {
  transform: scaleX(1);
}

.progress-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.form-step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.form-step[data-active="true"] {
  display: block;
  animation: step-in 0.35s var(--ease-out);
}

@keyframes step-in {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; transform: none; }
}

.field {
  margin-bottom: 14px;
}

.field label,
.field .label-text {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 6px;
}

.field .hint {
  font-weight: 400;
  color: var(--muted);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink-soft);
  box-shadow: 0 0 0 3px rgba(30, 35, 40, 0.08);
}

/* Keyboard focus needs a ring people can actually see. */
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.field input[aria-invalid="true"] {
  border-color: var(--accent);
}

.field-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: -6px 0 14px;
}

/* Free-room offer note under the room choices; turns red once the order qualifies. */
.offer-hint {
  margin: 10px 0 4px;
  padding: 8px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.offer-hint[data-qualifies="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-hover);
}

.error {
  display: none;
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 6px;
}

.error[data-show="true"] {
  display: block;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.choice-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.look-grid .choice span {
  flex-direction: column;
  gap: 8px;
  padding: 14px 8px 12px;
  min-height: 92px;
}

.look-grid .choice svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--wood-deep);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.look-grid .choice input:checked + span svg {
  stroke: var(--accent);
}

.schedule-date {
  background: var(--canvas-deep);
  border-left: 3px solid var(--wood);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 14px 2px;
  margin: 0 0 16px;
}

.schedule-date .field-note {
  margin: -4px 0 12px;
}

.field input[type="date"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}

.choice input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 14px 0;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--accent);
}

.form-nav {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.form-nav .btn {
  flex: 1;
  white-space: normal;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.callout {
  background: var(--canvas-deep);
  border-left: 3px solid var(--wood);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.form-status[data-type="error"] {
  color: var(--accent);
}

.form-status[data-type="demo"] {
  background: var(--wood-soft);
  color: var(--wood-deep);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-nav a[aria-current="page"] {
  color: var(--accent);
}

/* Page header for inner pages (no hero image) */
.page-head {
  padding: 56px 0 8px;
}

.page-head h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.page-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-card li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

.contact-card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--wood-soft);
  color: var(--wood-deep);
  display: grid;
  place-items: center;
}

.contact-card .icon svg {
  width: 20px;
  height: 20px;
}

.contact-card strong {
  display: block;
}

.contact-card a {
  font-weight: 600;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 56px;
  }
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group h2 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-top: 20px;
}

.thanks {
  text-align: center;
  padding: 12px 0 4px;
}

/* Real Google reviews under the quote form, one at a time with arrows (featured review first). */
.form-review {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 8px;
}

.form-review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.form-review-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-review-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.form-review-count {
  min-width: 3.2em;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.form-review-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--panel);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s var(--ease-out);
}

.form-review-btn:hover {
  border-color: var(--ink);
}

.form-review-slides {
  display: grid;
}

.form-review-slide {
  grid-area: 1 / 1;
  margin: 0;
  display: grid;
  align-content: start;
  gap: 4px;
  visibility: hidden;
}

.form-review-slide[data-active="true"] {
  visibility: visible;
}

.form-review .stars {
  color: #c98a2e;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.form-review blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
}

.form-review figcaption {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Focus moves here by script so screen readers announce it; a red ring would read as an error. */
.thanks:focus {
  outline: none;
}

.thanks .check {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.thanks .check svg {
  width: 28px;
  height: 28px;
}

.thanks h3 {
  font-size: 1.5rem;
}

.thanks .small {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Trust strip */
.trust-strip {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-strip svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--wood-deep);
}

@media (min-width: 900px) {
  .trust-strip ul {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
  }
}

/* Services */
.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center 70%;
  overflow: hidden;
}

.service-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 1.2s var(--ease-out);
}

.service-card:hover .service-media::before {
  transform: scale(1.04);
}

/* Owner-supplied example photos (2026-10-31), pre-cropped to 16:9 at 1200x675.
   The SVG drawings stay in assets/ for the landing-page heroes. */
.service-media.lvp {
  background-image: url("../assets/service-lvp.jpg");
}

.service-media.wood {
  background-image: url("../assets/service-wood.jpg");
}

.service-media.tile {
  background-image: url("../assets/service-tile.jpg");
}

.service-media.lvp,
.service-media.wood,
.service-media.tile {
  background-position: center;
}

/* Floor catalog on the service pages: filter list on the left, color cards on the right.
   Hovering a card shows "Get a Quote"; touch screens always show it. */
.catalog-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.catalog-head h2 {
  margin-bottom: 8px;
}

.catalog-head p {
  margin: 0;
  color: var(--muted);
}

.catalog-layout {
  display: grid;
  gap: 24px;
}

/* Two views beside the same filters: a row of floors with arrows (default), or every floor after
   "Shop All". The row's card count follows the width of its own column (container queries). */
.catalog[data-mode="row"] .catalog-grid,
.catalog[data-mode="all"] .catalog-row,
.catalog[data-mode="row"] .catalog-show-less {
  display: none;
}

.catalog-row {
  position: relative;
  container-type: inline-size;
}

.row-track.is-empty {
  display: block;
}

.row-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 16px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.row-track::-webkit-scrollbar {
  display: none;
}

.row-track > .product-card {
  scroll-snap-align: start;
}

.row-track:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

/* Arrows sit on the middle of the square swatches; the card width comes from the row width. */
.row-arrow {
  position: absolute;
  top: 30%;
  top: calc(78cqw / 2);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-lift);
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 0.2s var(--ease-out);
}

.row-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.row-arrow.prev {
  left: 6px;
}

.row-arrow.prev svg {
  transform: scaleX(-1);
}

.row-arrow.next {
  right: 6px;
}

.row-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

@container (min-width: 540px) {
  .row-track {
    grid-auto-columns: calc((100% - 20px) / 2);
    gap: 20px;
  }
  .row-arrow {
    top: calc((100cqw - 20px) / 4);
  }
}

@container (min-width: 780px) {
  .row-track {
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 24px;
  }
  .row-arrow {
    top: calc((100cqw - 48px) / 6);
  }
}

@media (min-width: 1000px) {
  .row-arrow.prev {
    left: -20px;
  }
  .row-arrow.next {
    right: -20px;
  }
}

.catalog-shop {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.catalog-shop-all {
  min-width: 240px;
}

.catalog-show-less {
  margin-left: auto;
  padding: 6px 4px;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

@media (min-width: 900px) {
  .catalog-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }
  .catalog-filters {
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
}

.catalog-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.catalog-filter-panel {
  border-top: 1px solid var(--line);
}

@media (max-width: 899px) {
  .catalog-filter-panel {
    margin-top: 12px;
  }
  .catalog-filter-panel[data-open="false"] {
    display: none;
  }
}

@media (min-width: 900px) {
  .catalog-filter-toggle {
    display: none;
  }
}

.filter-group {
  border-bottom: 1px solid var(--line);
}

.filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s var(--ease-out);
}

.filter-group[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.filter-options {
  display: grid;
  gap: 4px;
  padding: 0 2px 14px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  cursor: pointer;
}

.filter-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.filter-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

.filter-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.85rem;
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.catalog-active {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.active-chip,
.clear-filters {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

.active-chip {
  border: 1px solid var(--line-strong);
  background: var(--wood-soft);
  color: var(--ink);
}

.clear-filters {
  border: 0;
  background: none;
  color: var(--accent);
  text-decoration: underline;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 28px 18px;
}

@media (min-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 34px 24px;
  }
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.product-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wood-soft);
  box-shadow: var(--shadow-soft);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

.product-fav {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 4px rgba(30, 35, 40, 0.15);
  cursor: pointer;
}

.product-fav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
}

.product-fav[aria-pressed="true"] svg {
  fill: var(--accent);
  stroke: var(--accent);
}

.product-quote {
  position: absolute;
  left: 50%;
  bottom: 14px;
  min-height: 44px;
  padding: 10px 18px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), background-color 0.2s var(--ease-out);
}

.product-card:hover .product-quote,
.product-card:focus-within .product-quote {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Stronger selector: the general ".btn" rule later in the file lets labels wrap. */
.product-card .product-quote {
  white-space: nowrap;
}

@media (hover: none) {
  .product-quote {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 599px) {
  .product-card .product-quote {
    bottom: 10px;
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.86rem;
  }
  .product-chip {
    width: 32px;
    height: 32px;
  }
  .product-name {
    font-size: 0.95rem;
  }
}

.product-name {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.product-more {
  margin: 14px 0 6px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-chip {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.product-chip:hover,
.product-chip:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.catalog-note {
  margin: 32px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Quote window: the chosen floor fills the background, the quote form sits on top. */
html.dialog-open {
  overflow: hidden;
}

.quote-dialog {
  width: min(1000px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #1e2328;
  color: #fff;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.quote-dialog::backdrop {
  background: rgba(20, 22, 25, 0.6);
}

.qd-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.qd-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
}

.qd-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

.qd-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  padding: 64px 16px 20px;
}

@media (min-width: 900px) {
  .qd-inner {
    grid-template-columns: minmax(0, 1fr) 440px;
    align-items: start;
    gap: 32px;
    padding: 48px;
  }
}

.qd-product {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(20, 22, 25, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.qd-swatch {
  flex: none;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  object-fit: cover;
}

.qd-kicker {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e9d9c3;
}

.qd-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.qd-note {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.quote-dialog .lead-card {
  margin: 0;
  color: var(--ink);
}

/* Blaine page: nearby cities beside a short explanation. */
.area-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .area-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 48px;
  }
}

.area-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 600px) {
  .area-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.area-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
}

.area-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Homepage floor picker: big photos, name underneath, the whole card is the link.
   Hovering zooms the photo and shows where the click goes; touch screens always show it. */
.floor-head {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
}

.floor-head h2 {
  margin-bottom: 8px;
}

.floor-head p {
  margin: 0;
  color: var(--muted);
}

.floor-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .floor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.floor-card {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
}

.floor-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.floor-photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wood-soft);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s var(--ease-out);
}

@media (min-width: 760px) {
  .floor-photo {
    aspect-ratio: 4 / 5;
  }
}

.floor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.floor-photo .media-badge {
  top: 12px;
  right: 12px;
  bottom: auto;
  left: auto;
}

.floor-cta {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(20, 22, 25, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.floor-name {
  margin: 14px 0 0;
  text-align: center;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  transition: color 0.2s var(--ease-out);
}

.floor-card:hover .floor-photo,
.floor-card:focus-visible .floor-photo {
  box-shadow: var(--shadow-lift);
}

.floor-card:hover .floor-photo img,
.floor-card:focus-visible .floor-photo img {
  transform: scale(1.05);
}

.floor-card:hover .floor-cta,
.floor-card:focus-visible .floor-cta {
  opacity: 1;
  transform: none;
}

.floor-card:hover .floor-name,
.floor-card:focus-visible .floor-name {
  color: var(--accent);
}

@media (hover: none) {
  .floor-cta {
    opacity: 1;
    transform: none;
  }
}

.services-grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.service-body h3 {
  font-size: 1.55rem;
}

.service-body p {
  color: var(--ink-soft);
  margin: 0;
}

.service-body ul {
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.service-body li {
  padding-left: 24px;
  position: relative;
}

.service-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--wood);
}

.service-body .btn {
  align-self: flex-start;
  margin-top: auto;
}

@media (min-width: 760px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* How it works */
.how .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.how .seam {
  margin-left: auto;
  margin-right: auto;
}

.steps {
  position: relative;
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.steps li.has-media {
  padding: 0;
}

.step-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}

.step-media.s1 { background-image: url("../assets/step-1.svg"); }
.step-media.s2 { background-image: url("../assets/step-2.svg"); }
.step-media.s3 { background-image: url("../assets/step-3.svg"); }

/* Photos: a taller 3:2 frame so the portrait shots keep hands and faces in view. */
.step-media.has-photo {
  aspect-ratio: 3 / 2;
  background: #fff;
}
.step-media.s1 .step-photo img { object-position: center 60%; }
.step-media.s2 .step-photo img { object-position: center 44%; }
.step-media.s3 .step-photo img { object-position: center 45%; }

.step-media .media-badge {
  left: auto;
  right: 10px;
  bottom: 10px;
  font-size: 0.6rem;
  padding: 4px 8px;
}

.step-body {
  padding: 20px 22px 24px;
}

.step-body .step-num {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Why PVAD */
.why-grid {
  display: grid;
  gap: 32px;
}

.why-grid .statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.points li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.points .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--wood-soft);
  color: var(--wood-deep);
  display: grid;
  place-items: center;
}

.points .icon svg {
  width: 22px;
  height: 22px;
}

.points h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.points p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
  }
}

/* Flooring Inspiration page (rebuilt 2026-11-03): a photo gallery of looks, then a short floor guide.
   Photos are from Pexels (assets/inspo/SOURCES.md); captions describe the look, not a PVAD job. */
.section-soft {
  background: var(--canvas-soft);
}

/* Tall 4:5 photos (owner, 2026-11-03). Phones: a sideways swipe row with the next photo peeking in. */
.inspo-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 -16px;
  padding: 4px 16px 18px;
  scroll-padding: 0 16px;
  scrollbar-width: thin;
}

.inspo-grid:focus-visible {
  outline-offset: -3px;
}

.inspo-item {
  flex: 0 0 78%;
  scroll-snap-align: start;
  margin: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.swipe-hint {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.inspo-photo,
.guide-photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--wood-soft);
  box-shadow: var(--shadow-lift);
}

.inspo-photo img,
.guide-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inspo-item figcaption {
  display: grid;
  gap: 2px;
  font-size: 0.88rem;
  color: var(--muted);
}

.inspo-item figcaption strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--ink);
}

@media (min-width: 600px) {
  .inspo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
  .swipe-hint {
    display: none;
  }
}

/* Computers: three tall columns, the middle one set lower, like a magazine spread. */
@media (min-width: 900px) {
  .inspo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 30px;
    padding-bottom: 64px;
  }
  .inspo-item:nth-child(3n + 2) {
    margin-top: 64px;
  }
}

/* Photos glide in softly as they reach the screen (js/main.js adds .glide-ready; nothing hides without it,
   and reduced-motion settings skip it). */
.glide-ready [data-glide] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--glide-delay, 0ms);
}

.glide-ready [data-glide].is-visible {
  opacity: 1;
  transform: none;
}

.glide-ready [data-glide] img {
  transform: scale(1.06);
  transition: transform 1.8s var(--ease-out);
  transition-delay: var(--glide-delay, 0ms);
}

.glide-ready [data-glide].is-visible img {
  transform: none;
}

.inspo-photo img {
  transition: transform 0.8s var(--ease-out);
}

.inspo-item:hover .inspo-photo img,
.glide-ready .inspo-item.is-visible:hover .inspo-photo img {
  transform: scale(1.04);
  transition-delay: 0ms;
}

@media (prefers-reduced-motion: reduce) {
  .glide-ready [data-glide],
  .glide-ready [data-glide] img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Floor guide: photo and text side by side, switching sides on wide screens. */
.guide-list {
  display: grid;
  gap: 56px;
}

.guide-row {
  display: grid;
  gap: 24px;
  align-items: center;
}

.guide-text h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 10px;
}

.guide-text > p {
  color: var(--ink-soft);
}

.guide-facts {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.guide-facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood-deep);
}

.guide-facts dd {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.guide-text .link-more {
  margin-top: 18px;
}

@media (min-width: 900px) {
  .guide-list {
    gap: 80px;
  }
  .guide-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
  }
  .guide-row:nth-child(even) .guide-photo {
    order: 2;
  }
}

/* Side by side table: scrolls sideways inside its own box on small phones. */
.compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  background: var(--canvas-soft);
}

.compare-table tbody th {
  width: 22%;
  font-weight: 600;
  color: var(--ink);
}

.compare-table td {
  color: var(--ink-soft);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* How to choose: four short steps; the last one carries the quote button. */
.tips-grid {
  display: grid;
  gap: 14px;
}

.tip {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tip-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--wood-deep);
}

.tip h3 {
  font-size: 1.18rem;
  margin: 0;
}

.tip p {
  margin: 0;
  color: var(--ink-soft);
}

.tip .btn {
  justify-self: start;
  margin-top: 10px;
}

@media (min-width: 760px) {
  .tips-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .tips-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Care tips */
.care-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px 40px;
}

.care-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
}

.care-list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--wood-deep);
}

@media (min-width: 760px) {
  .care-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 16px;
}

.review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--wood-soft);
}

.review-card .stars {
  color: #c98a2e;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.review-card .who {
  font-size: 0.88rem;
  color: var(--muted);
}

@media (min-width: 760px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Offers */
.offer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  gap: 8px;
  max-width: 760px;
  box-shadow: var(--shadow-soft);
}

.offer-card .terms {
  font-size: 0.86rem;
  color: var(--muted);
}

.offer-card .btn {
  justify-self: start;
  margin-top: 6px;
}

.offer-free {
  display: grid;
  gap: 18px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.offer-free p {
  margin: 0;
  color: var(--ink-soft);
}

@media (min-width: 760px) {
  .offer-free {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 24px;
}

.faq details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 18px;
  margin-bottom: 10px;
  transition: border-color 0.2s var(--ease-out);
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--wood-deep);
  transition: transform 0.3s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
  }
  .faq-grid .section-head {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
}

/* Final CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 48px 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background: radial-gradient(ellipse 35% 45% at 75% 50%, rgba(185, 138, 94, 0.35), transparent 70%);
  animation: ambient-drift 40s var(--ease-in-out) -10s infinite alternate;
}

@keyframes ambient-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(4%, 3%, 0); }
}

/* Contact band (2026-11-03): only the two buttons, then phone and "Email us" with icons. */
.cta-band .container {
  position: relative;
  display: grid;
  gap: 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-list svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9b48a;
}

.contact-list a {
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}

@media (min-width: 900px) {
  .cta-band .container {
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  .contact-list {
    grid-auto-flow: column;
    gap: 32px;
  }
}

/* Footer */
.site-footer {
  background: var(--canvas-deep);
  border-top: 1px solid var(--line);
  padding: 32px 0 104px;
  font-size: 0.93rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 760px) {
  /* The links wrap inside their own column; with "auto" their one long row squeezed the business name. */
  .footer-grid {
    grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr) auto;
    align-items: center;
    gap: 32px;
  }
  /* Room under the footer so the floating "Text us" button never covers its last line. */
  .site-footer {
    padding-bottom: 92px;
  }
}

/* Mobile call bar */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
}

@media (min-width: 760px) {
  .call-bar {
    display: none;
  }
}

/* Computers: the call bar is hidden, so a small "Text us" button floats at the bottom right
   (owner, 2026-11-03). The number is written out because many computers can't send texts. */
.text-float {
  display: none;
}

@media (min-width: 760px) {
  .text-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-lift);
    transition: background-color 0.2s var(--ease-out);
  }
  .text-float:hover {
    background: #2f363e;
  }
  .text-float svg {
    width: 20px;
    height: 20px;
    flex: none;
  }
}

/* Consent banner */
.consent-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 45;
  max-width: 560px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-lift);
  font-size: 0.9rem;
  display: none;
}

.consent-banner[data-show="true"] {
  display: block;
}

.consent-banner .actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.consent-banner .btn {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

@media (min-width: 760px) {
  .consent-banner {
    bottom: 16px;
  }
}

/* Landing pages */
.benefits {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.benefits li {
  padding-left: 28px;
  position: relative;
  color: var(--ink-soft);
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--wood);
}

/* Legal pages */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.4rem;
  margin-top: 1.6em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

/* Reduced motion: final states, no transitions, no ambient loops. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transition-delay: 0s !important;
  }
  .seam path,
  .seam .joint {
    stroke-dashoffset: 0;
  }
  .progress li::after {
    transition: none;
  }
}

/* Anchors land below the sticky header, and long button labels wrap instead of overflowing. */
html {
  scroll-padding-top: 96px;
}

.btn {
  max-width: 100%;
  white-space: normal;
}

/* The header button stays on one line; the menu makes room for it instead. */
.header-cta {
  white-space: nowrap;
}

.call-bar .btn {
  padding-inline: 10px;
}

@media (max-width: 899px) {
  .lead-card {
    padding: 20px;
  }
  /* Contact page: the form comes first on a phone. */
  .contact-grid > .lead-card {
    order: 0;
  }
  .contact-grid > div:first-child {
    order: 1;
  }
  .page-head {
    padding-top: 30px;
  }
  .section {
    padding-block: 44px;
  }
}

@media (max-width: 359px) {
  .brand {
    gap: 8px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
    padding: 4px;
    border-radius: 8px;
  }
  .brand-pvad {
    font-size: 1.45rem;
  }
  .brand-sub {
    font-size: 0.56rem;
  }
  .header-inner {
    gap: 8px;
  }
  .choice-grid {
    gap: 6px;
  }
  .choice span {
    padding-inline: 6px;
    font-size: 0.88rem;
  }
}

/* The smallest phones have no room beside the logo; the rating stays on the Reviews page. */
@media (max-width: 339px) {
  .header-rating {
    display: none;
  }
}
