/*
Theme Name: Fox Flooring
Theme URI: https://fox-flooring.com/
Description: Custom block theme for Fox Flooring, Omaha. Commercial-first.
Author: Fox Flooring
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: foxflooring
*/


/* Bauhaus 93 — Display Font */
@font-face {
  font-family: "Bauhaus 93";
  src: url("assets/fonts/bauhaus-93-regular.woff2") format("woff2");
  font-weight:400;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"Libre Franklin";
  src:url("assets/fonts/libre-franklin-var.woff2") format("woff2-variations");
  font-weight:400 800;
  font-style:normal;
  font-display:swap;
}

:root {
  --white: #ffffff;
  --ink: #232429;
  --ink-soft: #55575e;
  --ink-faint: #8a8c92;
  --orange: #ea7f1f; /* fills, rules, blocks. Never text on white. */
  --orange-ink: #b25e0c; /* the same hue darkened so it passes as text on white */
  --hair: #e2e1df;
  --gut: clamp(20px, 5vw, 64px);
}

* {
  box-sizing: border-box;
  border-radius: 0;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.bs {
  font-family: "Bauhaus 93", "Arial Black", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}
.lbl {
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--orange-ink);
}

a {
  color: inherit;
}
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: var(--gut);
}
.band {
  padding-block: clamp(54px, 8vw, 112px);
  background: var(--white);
}
.band.tight {
  padding-block: clamp(34px, 4.6vw, 58px);
}
.band.blaze {
  background: var(--orange);
  color: var(--ink);
}
.band.blaze .lbl {
  color: var(--ink);
  opacity: 0.6;
}
.rule-top {
  border-top: 6px solid var(--ink);
}

/* ================== HEADER ================== */
.top {
  border-bottom: 6px solid var(--ink);
  background: var(--white);
}
.top .shell {
  display: flex;
  align-items: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  padding-block: 16px;
}
.logo {
  display: block;
  line-height: 0;
  text-decoration: none;
  flex: none;
}
.logo img {
  display: block;
  height: clamp(50px, 6.4vw, 70px);
  width: auto;
  max-width: 100%;
}
footer .logo img {
  height: clamp(56px, 7vw, 82px);
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 24px;
  margin-left: auto;
}
nav a {
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  cursor: pointer;
  padding-block: 6px;
  border-bottom: 4px solid transparent;
}
nav a:hover {
  color: var(--ink);
}
nav a.on {
  color: var(--ink);
  border-bottom-color: var(--orange);
}
nav a.bld {
  color: var(--orange-ink);
}
.phonebtn {
  background: var(--orange);
  color: var(--ink);
  text-decoration: none;
  font-family: "Bauhaus 93", "Arial Black", system-ui, sans-serif;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0;
  padding: 12px 18px;
  white-space: nowrap;
  line-height: 1;
}
.phonebtn:hover {
  background: var(--ink);
  color: var(--white);
}

nav .current-menu-item > a{
  color:var(--ink);
  border-bottom-color:var(--orange);
}

/* ================== TYPE ================== */
h1 {
  font-size: clamp(36px, 7vw, 84px);
  margin: 0 0 22px;
  max-width: 19ch;
}
h2 {
  font-size: clamp(26px, 4.2vw, 50px);
  margin: 0 0 20px;
  max-width: 24ch;
}
h3 {
  font-size: clamp(19px, 2.4vw, 27px);
  margin: 0 0 8px;
}
p {
  margin: 0 0 15px;
  max-width: 60ch;
}
.lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.48;
  max-width: 46ch;
  color: var(--ink-soft);
}
.band.blaze .lead {
  color: var(--ink);
}
.lead b {
  font-weight: 700;
  color: var(--ink);
}

/* ================== HERO ================== */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 0;
  align-items: stretch;
}
.hero-type {
  padding-right: clamp(16px, 4vw, 60px);
  padding-block: clamp(8px, 2.5vw, 24px);
}
.hero-blaze {
  background: var(--orange);
  color: var(--ink);
  padding: clamp(26px, 3.6vw, 46px);
  margin-right: calc(-1 * var(--gut));
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-blaze .lead {
  max-width: 34ch;
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
  margin-top: 26px;
}
.btn {
  font-family: "Bauhaus 93", "Arial Black", system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  text-decoration: none;
  padding: 15px 26px;
  line-height: 1;
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  border: 4px solid var(--ink);
}
.btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.btn.line {
  background: transparent;
  color: var(--ink);
}
.btn.line:hover {
  background: var(--ink);
  color: var(--white);
}
.band.blaze .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--orange);
}
.band.blaze .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}
.fineprint {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.band.blaze .fineprint {
  color: var(--ink);
  opacity: 0.72;
}

/* ================== CLIENT WALL ================== */
.wall {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
  border-top: 6px solid var(--orange);
}
.wall span {
  font-family: "Bauhaus 93", "Arial Black", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 2.2vw, 26px);
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--ink);
  padding: 15px 24px 15px 0;
  margin-right: 24px;
  border-bottom: 1px solid var(--hair);
  flex: 0 0 auto;
}

/* ================== SECTOR STACK ================== */
.stack {
  margin-top: clamp(26px, 4vw, 46px);
  border-top: 6px solid var(--ink);
}
.row {
  border-bottom: 2px solid var(--ink);
  padding-block: clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 6px 48px;
  align-items: start;
}
.row:nth-child(even) {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}
.row:nth-child(even) .rn {
  order: 2;
}
.row:nth-child(even) .rd {
  order: 1;
  text-align: right;
}
.row:nth-child(even) p {
  margin-left: auto;
}
.row h3 {
  margin: 0;
}
.row p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 56ch;
}
.role {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-top: 7px;
}

/* ================== PROMISE ================== */
.promise {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  margin-top: clamp(24px, 3.5vw, 42px);
  border-top: 6px solid var(--ink);
}
.promise > div {
  padding: 28px 32px 32px 0;
  border-right: 2px solid rgba(35, 36, 41, 0.3);
}
.promise > div + div {
  padding-left: 32px;
}
.promise > div:last-child {
  border-right: none;
}
.promise h3 {
  font-size: clamp(19px, 2.1vw, 25px);
  margin-bottom: 10px;
}
.promise p {
  font-size: 16px;
  margin: 0;
  max-width: 34ch;
}


/* ================== FRAMED BLOCK ================== */
.framed {
  border: 6px solid var(--ink);
  padding: clamp(26px, 4vw, 52px);
}
.framed h2 {
  margin-top: 0;
}


/* ================== TAKEOFF ================== */
.tw {
  overflow-x: auto;
  margin-top: clamp(24px, 3.4vw, 40px);
}
table.tk {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
table.tk th {
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: left;
  padding: 0 20px 10px 0;
  border-bottom: 6px solid var(--ink);
  white-space: nowrap;
}
table.tk td {
  padding: 14px 20px 14px 0;
  border-bottom: 1px solid var(--hair);
  vertical-align: baseline;
  font-size: 16px;
}
table.tk td.pj {
  font-family: "Bauhaus 93", "Arial Black", system-ui, sans-serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0;
  line-height: 1.15;
}
table.tk td.sc {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
table.tk td.tb {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
table.tk tr:hover td {
  background: var(--orange);
  color: var(--ink);
}
table.tk tr:hover td.sc,
table.tk tr:hover td.tb {
  color: var(--ink);
}


/* ================== SLOTS ================== */
.slot {
  border: 5px solid var(--orange);
  aspect-ratio: 4/3;
  max-width: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 18px;
}
.slot span {
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-ink);
  line-height: 1.7;
}


/* ================== CONTACT ================== */
.cgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 30px 40px;
  margin-top: clamp(24px, 3.4vw, 42px);
}
.cgrid h4 {
  margin: 0 0 10px;
  padding-bottom: 9px;
  border-bottom: 5px solid var(--orange);
}
.cgrid p {
  margin: 0 0 3px;
  font-size: 16px;
}
.cgrid .big {
  font-family: "Bauhaus 93", "Arial Black", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3.4vw, 38px);
  letter-spacing: 0;
  text-decoration: none;
  display: inline-block;
  line-height: 1.05;
  margin-bottom: 10px;
}
.cgrid .big:hover {
  color: var(--orange-ink);
}
.cgrid .mid {
  font-family: "Bauhaus 93", "Arial Black", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(16px, 1.9vw, 21px);
  letter-spacing: 0;
  text-decoration: none;
  line-height: 1.25;
  display: inline-block;
}
.cgrid .mid:hover {
  color: var(--orange-ink);
}

blockquote {
  margin: 0;
  max-width: 30ch;
}
blockquote p.q {
  font-size: clamp(23px, 3.4vw, 42px);
  margin-bottom: 18px;
  line-height: 1.14;
}

/* ================== NOTES ================== */
.stripe {
  background: var(--orange);
  color: var(--ink);
  padding: 13px var(--gut);
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.notes ul {
  max-width: 66ch;
  padding-left: 20px;
}
.notes li {
  margin-bottom: 9px;
}
.notes code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86em;
  background: var(--orange);
  color: var(--ink);
  padding: 1px 6px;
  font-weight: 600;
}
.notes table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}
.notes table td {
  padding: 11px 16px 11px 0;
  border-bottom: 2px solid var(--ink);
  font-size: 15.5px;
  vertical-align: top;
}
.notes table td:first-child {
  font-weight: 700;
  white-space: nowrap;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.sw {
  width: 146px;
}
.sw i {
  display: block;
  height: 78px;
  border: 4px solid var(--ink);
}
.sw b {
  display: block;
  font-family: "Libre Franklin", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 9px;
}
.sw em {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  display: block;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-type {
    padding-right: 0;
  }
  .hero-blaze {
    margin-inline: calc(-1 * var(--gut));
    padding-inline: var(--gut);
    margin-top: 26px;
  }
  .row,
  .row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .row:nth-child(even) .rn {
    order: 1;
  }
  .row:nth-child(even) .rd {
    order: 2;
    text-align: left;
  }
  .row:nth-child(even) p {
    margin-left: 0;
  }
  .promise {
    grid-template-columns: 1fr;
  }
  .promise > div {
    border-right: none;
    border-bottom: 2px solid rgba(35, 36, 41, 0.3);
    padding: 24px 0 26px;
  }
  .promise > div + div {
    padding-left: 0;
  }
  .promise > div:last-child {
    border-bottom: none;
  }
  nav {
    margin-left: 0;
    order: 3;
    width: 100%;
    gap: 2px 18px;
  }
  .phonebtn {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}


/* ================== CLIENT LOGO GRID ================== */

.wall.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 0;
}

.wall.client-grid > .client-card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 120px;
  margin: 0;
  padding: 22px 16px;
  border-bottom: 1px solid var(--hair);
}

.wall.client-grid .client-card .wp-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.wall.client-grid .client-card .wp-block-image img {
  display: block;
  width: auto;
  height: 50px;
  max-width: 160px;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 900px) {
  .wall.client-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .wall.client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wall.client-grid > .client-card {
    min-height: 100px;
    padding: 18px 10px;
  }

  .wall.client-grid .client-card .wp-block-image img {
    height: 42px;
    max-width: 135px;
  }
}



/* ================== PROJECT PHOTOGRAPHY ================== */

.slot.project-photo {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 4 / 3;
}

.slot.project-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


/* ================== FOOTER ================== */
footer {background:var(--white);border-top:10px solid var(--orange);padding-block:42px 54px;}
footer .shell{display:flex;flex-wrap:wrap;gap:20px 48px;align-items:flex-start;}
footer .fl{font-size:14px;line-height:1.65;color:var(--ink-soft);}
footer .fl a{color:var(--ink);}
