/* =========================================================
   DK Flooring — design system
   Black, white, and exactly one bright accent. The accent is
   reserved for actions and small marks — never for large fills.
   Modern editorial layout: large tight-tracked headlines,
   generous whitespace, big art. Mobile-first — most of this
   traffic is a homeowner on a phone standing in the room
   being redone.
   ========================================================= */

:root {
  --ink: #0b0b0c;
  --ink-2: #17181a;
  --ink-soft: #5f6368;
  --espresso: #0b0b0c;       /* the black band */
  --espresso-2: #191a1c;

  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --white: #ffffff;
  --cream: #ffffff;

  --oak: #b0b4b9;            /* greyscale plank tones, used by the art only */
  --oak-l: #d2d5d9;
  --oak-d: #8f9399;
  --walnut: #6c7075;
  /* THE accent. Teal rather than blue: blue is the default every trade site
     reaches for, and it fights the warm tone of the job photography. Four
     tokens because one hue cannot serve buttons, text-on-white and
     text-on-black at accessible contrast. */
  --accent: #00c2a8;        /* fills: buttons, rules, the strip */
  --accent-d: #00a48e;      /* fill hover */
  --accent-l: #4fe0cb;      /* on black — 9.4:1 */
  --accent-text: #00786a;   /* on white — 4.6:1 */
  --accent-ink: #03241f;    /* text sitting ON an accent fill — 8.9:1 */
  --red: #e0202f;          /* the DK monogram only — not a UI color */

  --line: rgba(11, 11, 12, .12);
  --line-dark: rgba(255, 255, 255, .16);

  --shadow-sm: 0 2px 10px rgba(11, 11, 12, .07);
  --shadow: 0 22px 50px -22px rgba(11, 11, 12, .34);
  --shadow-lg: 0 36px 80px -30px rgba(11, 11, 12, .45);
  --radius: 14px;
  --radius-lg: 24px;

  --display: "Sora", "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4, .display {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.028em;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.42rem); }
h4 { font-size: 1.05rem; }

.wrap { width: min(1200px, 92vw); margin: 0 auto; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--accent-text);
  margin-bottom: .8rem;
}
.on-dark .eyebrow, .eyebrow.light { color: var(--accent-l); }
.lede { font-size: clamp(1.03rem, 1.7vw, 1.18rem); color: var(--ink-soft); max-width: 62ch; }
.on-dark .lede { color: rgba(255, 255, 255, .72); }
section { padding: clamp(3.6rem, 8vw, 6.8rem) 0; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--espresso); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: -.01em;
  padding: .9rem 1.6rem; border: 2px solid transparent; border-radius: 999px;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  min-height: 54px;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-call { background: var(--accent); color: var(--accent-ink); box-shadow: 0 14px 30px -14px rgba(0, 194, 168, .75); }
.btn-call:hover { background: var(--accent-text); }
.btn-primary { background: var(--espresso); color: var(--cream); box-shadow: 0 12px 26px -12px rgba(11, 11, 12, .55); }
.btn-primary:hover { background: var(--ink-2); }
.btn-ghost { border-color: currentColor; color: var(--espresso); }
.on-dark .btn-ghost { color: var(--cream); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn svg { width: 19px; height: 19px; fill: currentColor; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(11, 11, 12, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem 4vw;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: 44px; border-radius: 11px; }
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--display); font-weight: 700; font-size: 1.34rem;
  color: var(--cream); letter-spacing: -.02em;
}
.brand-name .dk { color: var(--red); }
.brand-sub {
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); opacity: 1;
}
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: .96rem;
  color: rgba(255, 255, 255, .78);
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.active { color: var(--cream); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone {
  font-family: var(--display); font-size: 1.16rem; font-weight: 600; color: var(--cream);
  display: flex; align-items: center; gap: .45rem; white-space: nowrap; letter-spacing: -.02em;
}
.header-phone svg { width: 18px; height: 18px; fill: var(--accent-l); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-dark);
  border-radius: 10px; padding: .5rem .6rem; color: var(--cream);
}
.nav-toggle svg { width: 24px; height: 24px; fill: currentColor; }

@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 62px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--espresso); border-bottom: 1px solid var(--line-dark);
    padding: .5rem 4vw 1.2rem; display: none;
  }
  .nav.open { display: flex; max-height: calc(100vh - 62px); overflow-y: auto; }
  .nav > a { width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--line-dark); }
  .nav > a:hover, .nav > a.active { border-bottom-color: var(--line-dark); }
  .nav-toggle { display: block; }

  .header-phone span { display: none; }
  .header-phone::after { content: "Call"; font-size: 1.02rem; }
}
@media (max-width: 460px) {
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1.14rem; }
  .brand-sub { font-size: .55rem; letter-spacing: .22em; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--cream); overflow: hidden;
  background: var(--espresso);
  padding: clamp(3.4rem, 8vw, 6.4rem) 0 clamp(12rem, 26vw, 19rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/photos/room-ocean-light-plank.jpg");
  background-size: cover; background-position: center 62%;
}
/* Scrim. Heavy behind the type, clearing toward the bottom so the floor in the
   photograph is actually visible. Two layers: a vertical fade for legibility,
   a horizontal one so the headline side stays darkest. */
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 11, 12, .9) 0%, rgba(11, 11, 12, .62) 46%,
                            rgba(11, 11, 12, .3) 100%),
    linear-gradient(180deg, rgba(11, 11, 12, .82) 0%, rgba(11, 11, 12, .55) 42%,
                            rgba(11, 11, 12, .28) 72%, rgba(11, 11, 12, .5) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.1rem; max-width: 16ch; text-shadow: 0 6px 40px rgba(0, 0, 0, .5); }
.hero h1 .accent { color: var(--accent-l); }
.hero .lede { margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem 1.7rem; font-size: .93rem; color: rgba(255, 255, 255, .82); }
.hero-trust li { list-style: none; display: flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 17px; height: 17px; fill: var(--accent-l); flex: none; }

/* ---------- marquee strip ---------- */
.strip {
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 600; letter-spacing: -.01em;
  font-size: 1rem; text-align: center; padding: .85rem 4vw;
}
.strip a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(292px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(218px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(0, 194, 168, .55); }
.card-art { aspect-ratio: 4 / 3; background: var(--espresso); overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.3rem 1.45rem 1.55rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--ink-soft); font-size: .97rem; }
.card-link {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--display); font-weight: 600; font-size: .93rem;
  color: var(--accent-text); display: inline-flex; align-items: center; gap: .35rem;
}
.card:hover .card-link { gap: .65rem; }
.card-link::after { content: "→"; }

/* ---------- services mega-menu ----------
   Desktop: opens on hover or keyboard focus, plus an .open class the script
   adds for touch devices that are still wide enough for the desktop nav.
   Mobile: flattened into the open nav panel — see the breakpoint below. */
.has-drop { position: relative; }
.drop-trigger {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--display); font-weight: 500; font-size: .96rem;
  color: rgba(255, 255, 255, .78); padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.has-drop:hover .drop-trigger,
.has-drop:focus-within .drop-trigger,
.has-drop.open .drop-trigger { color: var(--cream); border-bottom-color: var(--accent); }
.caret { font-size: .7em; opacity: .8; }

.drop {
  position: absolute; top: calc(100% + .7rem); left: 50%; transform: translateX(-50%) translateY(-6px);
  min-width: min(640px, 84vw); z-index: 90;
  background: var(--espresso-2); border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 1.3rem 1.4rem 1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-drop:hover .drop,
.has-drop:focus-within .drop,
.has-drop.open .drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
/* keeps the pointer from falling through the gap between trigger and panel */
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.drop-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.drop-head {
  font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--cream);
  display: block; margin-bottom: .15rem;
}
.drop-head:hover { color: var(--accent-l); }
.drop-tag { font-size: .78rem; color: rgba(255, 255, 255, .5); margin-bottom: .55rem; line-height: 1.35; }
.drop ul { list-style: none; display: grid; gap: .3rem; }
.drop ul a { font-size: .9rem; color: rgba(255, 255, 255, .8); }
.drop ul a:hover { color: var(--accent-l); }
.drop-all {
  display: block; margin-top: 1.1rem; padding-top: .85rem;
  border-top: 1px solid var(--line-dark);
  font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--accent-l);
}

/* Below the nav breakpoint the mega-menu flattens into an always-open list
   inside the mobile panel — nothing to tap twice. This has to sit AFTER the
   rules above: same specificity, so source order decides. */
@media (max-width: 980px) {
  /* the mega-menu becomes a plain always-open list inside the mobile panel */
  .has-drop { width: 100%; }
  .drop-trigger {
    width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--line-dark);
    justify-content: space-between;
  }
  .caret { display: none; }
  .drop {
    position: static; transform: none; min-width: 0; opacity: 1; visibility: visible;
    pointer-events: auto; background: none; border: none; box-shadow: none;
    padding: .8rem 0 .4rem; border-bottom: 1px solid var(--line-dark); border-radius: 0;
  }
  .drop::before { display: none; }
  .drop-inner { grid-template-columns: 1fr; gap: 1rem; }
  .drop-tag { display: none; }
  .drop ul { gap: .55rem; padding-left: .9rem; }
  .drop ul a { font-size: .95rem; }
  .drop-all { margin-top: .9rem; }
}

/* ---------- category cards (home) ---------- */
.cat-card .card-art { display: block; }
.cat-card h3 a:hover { color: var(--accent-text); }
.cat-tag { color: var(--ink-soft); font-size: .92rem; margin-bottom: .8rem; }
.cat-list { list-style: none; display: grid; gap: .35rem; margin-bottom: .4rem; }
.cat-list a {
  font-size: .95rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .45rem;
}
.cat-list a::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.cat-list a:hover { color: var(--accent-text); }

/* ---------- sticky category jump bar (services page) ---------- */
.cat-nav {
  position: sticky; top: 61px; z-index: 60;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.cat-nav-inner {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem 0; overflow-x: auto; scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-label {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; color: var(--ink-soft); flex: none; padding-right: .3rem;
}
.cat-nav a {
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; flex: none;
  font-family: var(--display); font-weight: 500; font-size: .92rem;
  padding: .42rem .95rem; border: 1px solid var(--line); border-radius: 999px;
}
.cat-nav a:hover { border-color: var(--accent); color: var(--accent-text); }
.cat-nav-count {
  font-size: .72rem; color: #fff; background: var(--ink); border-radius: 999px;
  min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center;
}
.cat-nav a:hover .cat-nav-count { background: var(--accent); }

/* ---------- category blocks (services page) ---------- */
.cat-block { scroll-margin-top: 120px; padding-top: .5rem; }
.cat-block + .cat-block { margin-top: clamp(2rem, 5vw, 3.4rem); }
.cat-head {
  padding: clamp(1.4rem, 3vw, 2rem) 0 .4rem;
  border-top: 2px solid var(--ink);
}
.cat-block:first-child .cat-head { border-top: none; padding-top: 0; }
.cat-head h2 { margin-bottom: .5rem; }
.cat-head .chips { margin-top: 1.1rem; }
.cat-head .chip:hover { border-color: var(--accent); color: var(--accent-text); }

/* ---------- service blocks ----------
   Typographic, not illustrated. Generated artwork of floors reads as clip art
   next to real work, so these blocks carry themselves on type, rule weight and
   space. An image appears only where a genuine photograph exists. */
.svc {
  padding: clamp(2.2rem, 5vw, 3.4rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 128px;
}
.cat-block .svc:first-of-type { border-top: 1px solid var(--ink); }
.svc-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.2rem); align-items: start;
}
.svc-num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1;
  color: var(--ink); opacity: .18; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.svc h2 { margin-bottom: .55rem; }
.svc .lede { max-width: 58ch; }
.svc-body {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem); margin-top: 1.5rem;
  padding-left: clamp(0px, 3vw, 78px);
}
.svc:has(.svc-shot) .svc-body { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.svc ul {
  list-style: none; display: grid; gap: .6rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.svc:has(.svc-shot) ul { grid-template-columns: minmax(0, 1fr); }
.svc li { display: flex; gap: .6rem; align-items: flex-start; font-size: .99rem; }
.svc li svg { width: 17px; height: 17px; fill: var(--accent); flex: none; margin-top: .38rem; }
.svc-shot { border-radius: var(--radius); overflow: hidden; background: var(--espresso); box-shadow: var(--shadow); }
.svc-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.svc-cta { margin-top: 1.6rem; padding-left: clamp(0px, 3vw, 78px); }
@media (max-width: 720px) {
  .svc:has(.svc-shot) .svc-body { grid-template-columns: minmax(0, 1fr); }
  .svc-body, .svc-cta { padding-left: 0; }
}

/* ---------- bands ---------- */
.band-dark { background: var(--espresso); color: var(--cream); }
.band-dark h2, .band-dark h3 { color: var(--cream); }
.band-tint { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.4rem 1.5rem; box-shadow: var(--shadow-sm);
}
.band-dark .step { background: rgba(255, 255, 255, .05); border-color: var(--line-dark); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--accent);
  line-height: 1; display: block; margin-bottom: .7rem;
}
.band-dark .step::before { color: var(--accent-l); }
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .95rem; color: var(--ink-soft); }
.band-dark .step p { color: rgba(255, 255, 255, .7); }

/* ---------- areas ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.chip {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: .45rem 1.05rem; font-size: .94rem; box-shadow: var(--shadow-sm);
}
.chip.primary { background: var(--espresso); color: var(--cream); border-color: var(--espresso); font-weight: 600; }
.band-dark .chip { background: rgba(255, 255, 255, .07); border-color: var(--line-dark); color: var(--cream); box-shadow: none; }
.band-dark .chip.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- form ---------- */
.form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.05rem; }
.field label {
  display: block; font-weight: 600; font-size: .91rem; margin-bottom: .35rem; color: var(--ink);
}
.field .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .95rem; border: 1px solid rgba(27, 22, 17, .22); border-radius: 12px;
  background: var(--white); transition: border-color .18s, box-shadow .18s;
  min-height: 52px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 194, 168, .25);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0492c; }
.field-error { display: none; color: #c0492c; font-size: .85rem; margin-top: .3rem; }
.field.invalid .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.form-note { font-size: .86rem; color: var(--ink-soft); margin-top: .9rem; }
.form-status {
  display: none; margin-top: 1rem; padding: 1rem 1.15rem; border-radius: 12px;
  font-size: .95rem; border: 1px solid;
}
.form-status.show { display: block; }
.form-status.ok { background: #e6faf6; border-color: #9fe0d4; color: #045c50; }
.form-status.err { background: #fbeae6; border-color: #edb6a7; color: #8f2718; }

/* ---------- contact rail ---------- */
.contact-rail { display: grid; gap: 1rem; }
.contact-item {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: 1.15rem 1.25rem; border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
}
.contact-item svg { width: 23px; height: 23px; fill: var(--accent-l); flex: none; margin-top: .25rem; }
.contact-item .k {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .14em;
  font-size: .74rem; color: var(--accent-l);
}
.contact-item .v { font-size: 1.1rem; font-weight: 600; color: var(--cream); }
.contact-item .v.big { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-2); color: var(--cream); text-align: center; }
.cta-band h2 { margin-bottom: .8rem; }
.cta-band .lede { margin: 0 auto 1.8rem; color: rgba(255, 255, 255, .76); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--espresso); color: rgba(255, 255, 255, .68); padding: 3.2rem 0 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.site-footer h4 { color: var(--cream); margin-bottom: .8rem; letter-spacing: -.01em; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; font-size: .94rem; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-phone {
  font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--cream);
  display: inline-block; margin-top: .5rem; letter-spacing: -.02em;
}
.footer-bottom {
  margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; justify-content: space-between;
  font-size: .84rem; color: rgba(255, 255, 255, .5);
}

/* ---------- sticky mobile call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.call-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem .6rem; font-family: var(--display); font-weight: 600;
  font-size: 1rem; letter-spacing: -.01em;
}
.call-bar .c1 { background: var(--accent); color: var(--accent-ink); }
.call-bar .c2 { background: var(--espresso); color: var(--cream); }
.call-bar svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 800px) {
  .call-bar { display: grid; }
  body { padding-bottom: 58px; }
}

/* ---------- misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: .35rem .95rem;
  font-size: .84rem; color: rgba(255, 255, 255, .82);
}
.badge svg { width: 15px; height: 15px; fill: var(--accent-l); }

/* ---------- recent work gallery ----------
   The source photos are portrait phone shots at thumbnail resolution, so the
   tiles stay small and fixed-ratio rather than stretching to full width. */
.shot-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px)  { .shot-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .shot-grid { grid-template-columns: repeat(6, 1fr); } }
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--espresso-2); border: 1px solid var(--line-dark);
}
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.6rem .8rem .7rem; font-size: .8rem; line-height: 1.35;
  color: #fff; background: linear-gradient(180deg, transparent, rgba(11, 11, 12, .88));
}

.faq-item { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.faq-item h3 { font-size: 1.14rem; margin-bottom: .4rem; }
.faq-item p { color: var(--ink-soft); font-size: .98rem; }

/* material spec table (services page) */
.spec { width: 100%; border-collapse: collapse; margin-top: 1.6rem; font-size: .96rem; }
.spec th, .spec td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--display); font-weight: 600; background: var(--paper-2); }
.spec tbody tr:hover { background: rgba(0, 194, 168, .06); }
.table-scroll { overflow-x: auto; }

.owner-card { display: grid; grid-template-columns: 150px 1fr; gap: 1.7rem; align-items: center; }
@media (max-width: 620px) { .owner-card { grid-template-columns: 1fr; } }
.owner-mark {
  width: 150px; height: 150px; border-radius: 28px; overflow: hidden;
  background: var(--espresso); box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
