/* INTER-TOOL LLC — static draft
   Palette and typography drawn from current DS3011 / Star Wax flyers.
   Header background from the May 23, 2024 archived theme (headerBackground.png, phone removed).
   Fonts: Barlow Condensed (self-hosted, OFL) + system Helvetica/Arial for body, matching the flyer/old-site feel.
   No external trackers or third-party requests.
*/

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #F2551D;          /* flyer banner / table header */
  --orange-logo: #FF5002;     /* archived wordmark / old theme accent */
  --orange-dark: #D44516;
  --gold: #F8A018;            /* archived secondary-nav gold */
  --yellow-line: #F8D000;     /* archived yellowline.png */
  --header-bg: #050505;
  --ink: #1A1A1A;
  --text: #222222;
  --muted: #5A5A5A;
  --line: #E0E0E0;
  --row: #EDEDED;
  --paper: #FFFFFF;
  --footer: #182030;          /* Star Wax flyer footer */
  --cream: #F8F0E8;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font: 16px/1.55 "Helvetica Neue", Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
h1, h2, h3, h4, .brand-type {
  font-family: "Barlow Condensed", "Helvetica Neue Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.25rem); text-transform: none; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 0.4rem 0.7rem; z-index: 20; }

/* ----- Header: archived dark gradient + flyer typography ----- */
.site-header {
  background-color: var(--header-bg);
  background-image: url("../images/header-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 96px;
  padding: 0.85rem 0;
}
.logo img { width: 230px; height: auto; }
.header-phone {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2rem);
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.header-phone:hover { color: #fff; }

.nav-bar { background: var(--orange); }
.nav-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.25rem;
}
.nav-bar a {
  color: #fff;
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 0.95rem;
  display: inline-block;
}
.nav-bar a:hover,
.nav-bar a[aria-current="page"] {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
}

/* ----- Buttons ----- */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.25rem 0; }
.btn {
  display: inline-block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  border-radius: 2px;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  line-height: 1.2;
}
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--orange);
}
.btn-outline:hover { background: var(--orange); color: #fff; }
.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-dark:hover { background: #000; color: #fff; }
.btn-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.92;
}
.btn[aria-disabled="true"]:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ----- Hero / product banner (flyer language) ----- */
.product-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  background: var(--orange);
  color: #fff;
}
.product-banner .title-block {
  flex: 1 1 280px;
  padding: 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-banner .sku {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
}
.product-banner .tagline {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  margin: 0.25rem 0 0;
  color: #fff;
  letter-spacing: 0.01em;
}
.badge-toty {
  flex: 0 0 auto;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem 1.4rem 1rem 1.8rem;
  min-width: 180px;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
  font-family: "Barlow Condensed", sans-serif;
}
.badge-toty strong {
  font-size: 1.45rem;
  font-weight: 800;
  font-style: italic;
  display: block;
}
.badge-toty span {
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
}

.hero {
  padding: 2.2rem 0 2.6rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.hero-copy .lede {
  font-size: 1.08rem;
  max-width: 38em;
}
.hero-photo {
  text-align: center;
}
.hero-photo img {
  margin-inline: auto;
  max-height: 420px;
  width: auto;
  object-fit: contain;
}

/* ----- Sections ----- */
section { padding: 2.4rem 0; }
.section-head {
  border-bottom: 3px solid var(--orange);
  margin-bottom: 1.25rem;
  padding-bottom: 0.35rem;
}
.section-head h2 { margin: 0; }
.muted { color: var(--muted); }
.rule { height: 3px; background: var(--orange); border: 0; margin: 0 0 1rem; width: 100%; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.feat-list, .ben-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.feat-list li, .ben-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
}
.feat-list li::before, .ben-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Product pair on home */
.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.3rem 1.4rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.card img {
  margin: 0 auto 1rem;
  max-height: 240px;
  width: auto;
  object-fit: contain;
}
.card h3 { font-size: 1.6rem; margin-bottom: 0.25rem; }
.card .sub { font-family: "Barlow Condensed", sans-serif; font-weight: 600; color: var(--orange); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.7rem; }
.card p { flex: 1; }

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
blockquote {
  margin: 0;
  padding: 0;
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
}
blockquote footer {
  margin-top: 0.6rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
blockquote footer span { font-weight: 400; color: var(--muted); display: block; }

/* Specs table — flyer style */
.table-wrap { overflow-x: auto; }
table.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  max-width: 560px;
}
table.specs th, table.specs td {
  text-align: left;
  padding: 0.45rem 0.7rem;
  border: none;
}
table.specs thead th {
  background: var(--orange);
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}
table.specs tbody th { font-weight: 700; }
table.specs tbody tr:nth-child(even) { background: var(--row); }
table.specs tbody tr:nth-child(odd) { background: #f7f7f7; }

/* Photo figures */
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
figure { margin: 0; }
figcaption {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* Showcase / Concretely placeholder */
.showcase-note { max-width: 40em; }
.showcase-card {
  display: block;
  max-width: 400px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
}
.showcase-card:hover { border-color: var(--orange); color: inherit; }
.showcase-placeholder {
  height: 140px;
  background: repeating-linear-gradient(
    -45deg,
    #f3f3f3,
    #f3f3f3 10px,
    #ececec 10px,
    #ececec 20px
  );
  border: 1px dashed #c8c8c8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  text-align: center;
  padding: 0.5rem;
}
.showcase-card h3 { margin-bottom: 0.2rem; }
.ig-link {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

/* Where to buy */
.dealer-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.dealer-list li {
  border: 1px dashed #c8c8c8;
  background: #fafafa;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
}
.todo-note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

/* Cream callouts (Star Wax flyer) */
.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.4rem 0;
}
.callout {
  background: var(--cream);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
}
.callout h3 {
  border-bottom: 3px solid var(--orange);
  display: inline-block;
  padding-bottom: 0.15rem;
  margin-bottom: 0.6rem;
}
.recommend {
  background: var(--footer);
  color: #fff;
  padding: 1.2rem 1.4rem;
  border-radius: 6px;
  border-left: 6px solid var(--orange);
  margin: 1.5rem 0;
}
.recommend h3 { color: var(--orange); margin-bottom: 0.4rem; }
.recommend p { margin: 0; }

/* About quote */
.ceo-quote {
  border-left: 4px solid var(--orange);
  padding: 0.2rem 0 0.2rem 1.1rem;
  margin: 1.3rem 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
address { font-style: normal; }
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0.7rem 0 0.25rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid #ccc;
  font: inherit;
}
.contact-form textarea { min-height: 8rem; resize: vertical; }
.contact-form button { margin-top: 1rem; }

/* Footer */
.site-footer {
  background: var(--footer);
  color: #d8d8d8;
  margin-top: 2rem;
  padding: 2rem 0 1.5rem;
  border-top: 6px solid var(--orange);
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.site-footer .brand {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.site-footer .tag {
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 800px) {
  .hero-grid,
  .two-col,
  .product-cards,
  .quotes,
  .photo-row,
  .callouts,
  .contact-grid,
  .media-grid,
  .media-grid.photos,
  .media-grid.videos,
  .showcase-preview { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; min-height: 0; }
  .logo img { width: 200px; }
  .hero-photo img { max-height: 300px; }
  .badge-toty { clip-path: none; width: 100%; }
}

/* Star Wax 16 oz product photo. Filenames (star-wax-16oz.jpg, star-wax-label-old.jpg) are easy to swap when the new label ships. */
.hero-photo .product-photo,
.card .product-photo {
  border-radius: 6px;
  box-shadow: var(--shadow);
  width: auto;
  margin-inline: auto;
}
figure.label-art { margin: 1rem 0 0; }
figure.label-art img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--shadow);
}


/* Featured customer: Concretely LLC */
.credit-note {
  background: var(--cream);
  border-left: 6px solid var(--orange);
  padding: 1.1rem 1.3rem;
  margin: 0 0 1.8rem;
  max-width: 52em;
}
.credit-note p:last-child { margin-bottom: 0; }
.showcase-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: start;
}
.showcase-preview-copy h3 { font-size: 1.7rem; }
.media-grid {
  display: grid;
  gap: 1.5rem;
}
.media-grid.photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-grid.videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0 0 1rem;
  display: flex;
  flex-direction: column;
}
.media-card h3 {
  margin: 0.85rem 1rem 0.15rem;
  font-size: 1.3rem;
}
.media-frame {
  position: relative;
  background: #111;
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  background: #111;
}
.media-frame video { max-height: 72vh; object-fit: contain; }
.media-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.45rem 0.7rem;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}
.media-credit a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.media-credit a:hover { color: var(--gold); }
.media-card figcaption {
  text-align: left;
  padding: 0.65rem 1rem 0;
  color: var(--text);
  font-size: 0.92rem;
}
.media-card figcaption a { font-weight: 600; }
