/* Heim Built private preview */
:root {
  --char: #1b1e21;
  --steel: #2a2f34;
  --steel-2: #353b41;
  --alu-1: #e9ecef;
  --alu-2: #d5dade;
  --alu-3: #b9c0c6;
  --alu-4: #8e979f;
  --ink: #1e2226;
  --muted: #5d666e;
  --accent: #e8641b;
  --line: rgba(0, 0, 0, .14);
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--alu-1);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--head); line-height: 1.02; margin: 0; letter-spacing: .01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }

/* Banner */
.preview-banner {
  margin: 0;
  padding: 8px 16px;
  text-align: center;
  font: 600 13px/1.3 var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--char);
  border-bottom: 3px solid var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, var(--steel-2), var(--steel));
  border-bottom: 1px solid #0d0f11;
  box-shadow: 0 2px 0 rgba(255,255,255,.06) inset, 0 6px 18px rgba(0,0,0,.18);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
}
.wordmark {
  font: 800 30px/1 var(--head);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #f4f6f8;
  white-space: nowrap;
  text-shadow: 0 1px 0 #000;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.site-nav a {
  font: 600 16px/1 var(--head);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--alu-3);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; border-bottom-color: var(--accent); }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.35) 0 1px, rgba(0,0,0,.025) 1px 2px, transparent 2px 4px),
    linear-gradient(115deg, #f3f5f7 0%, #cfd5da 38%, #eef1f3 55%, #c3cad0 78%, #e4e8eb 100%);
  border-bottom: 1px solid var(--alu-4);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  height: 10px;
  background: radial-gradient(circle at 5px 5px, #9aa3ab 0 2.6px, #f7f9fa 3px, transparent 3.6px) 0 0 / 28px 10px repeat-x;
  opacity: .9;
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  font: 700 15px/1 var(--head);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); }
.hero h1 {
  font-size: clamp(44px, 6.2vw, 84px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--char);
  line-height: .98;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
  max-width: 13ch;
}
.hero-text { margin-top: 26px; max-width: 60ch; }
.hero-text p { margin: 0 0 16px; font-size: 18.5px; color: #2c3238; }
.callout {
  display: inline-flex;
  align-items: center;
  margin: 10px 0 0 !important;
  padding: 14px 22px;
  font: 700 21px/1.1 var(--head) !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(180deg, #353b41, #1f2327);
  border-radius: 4px;
  border-left: 5px solid var(--accent);
  box-shadow: 0 10px 22px rgba(20,24,28,.22), 0 1px 0 rgba(255,255,255,.1) inset;
}
.callout strong { font-weight: 700; }
.hero-photo {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 400px);
  padding: 14px;
  background: linear-gradient(160deg, #3a4046, #1f2327);
  border-radius: 6px;
  box-shadow: 0 24px 50px rgba(20, 24, 28, .32), 0 1px 0 rgba(255,255,255,.1) inset;
}
.hero-photo::before, .hero-photo::after {
  content: "";
  position: absolute;
  top: 4px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #8e979f 70%);
}
.hero-photo::before { left: 4px; }
.hero-photo::after { right: 4px; }
.hero-photo .photo {
  width: 100%;
  height: auto;
  aspect-ratio: 490 / 680;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 3px;
}

/* Placeholders that need Scott or Karl */
mark.ph {
  color: #5a3a00;
  background: #ffe7a3;
  padding: 1px 5px;
  border-radius: 3px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  font-weight: 500;
}
.steel mark.ph, .callout mark.ph, .site-footer mark.ph {
  color: #ffe3a1;
  background: rgba(255, 196, 64, .2);
  outline: 1px dashed rgba(255, 210, 120, .45);
}

/* Sections */
.section { padding: 84px 0; position: relative; }
.section p { margin: 0 0 16px; }
.section p:last-child { margin-bottom: 0; }
.section-h {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--char);
  margin-bottom: 36px;
  padding-bottom: 16px;
  position: relative;
}
.section-h::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 4px;
  background: var(--accent);
}
.intro { max-width: 70ch; margin: -12px 0 34px; font-size: 18.5px; color: #333a40; }
.parts {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.4) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #e3e7ea, #d7dce0);
}
.steel {
  color: #dfe3e7;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #2b3035, #1d2125);
  border-top: 1px solid #0f1113;
  border-bottom: 1px solid #0f1113;
}
.steel .section-h { color: #f2f4f6; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  display: flex;
  flex-direction: column;
  background: #f7f8f9;
  border: 1px solid #b3bac1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px rgba(30, 36, 42, .10);
}
.card-media { aspect-ratio: 16 / 7; position: relative; background: var(--alu-2); border-bottom: 1px solid #a9b1b8; }
.card-media.short { aspect-ratio: 16 / 5; }
.photo-wrap { overflow: hidden; }
.photo-wrap .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; }
.card-body { padding: 24px 26px 28px; flex: 1; }
.card-body p { font-size: 16.5px; color: #353c42; }
.card h3 {
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--char);
  margin-bottom: 14px;
}
.other {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.4) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #e3e7ea, #d7dce0);
}
.other .card-media { border-bottom-color: #121416; }

/* Metal panels */
.panel {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(0,0,0,.16) calc(50% - 1px) 50%, rgba(255,255,255,.6) 50% calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.45) 0 1px, rgba(0,0,0,.035) 1px 2px, transparent 2px 4px),
    linear-gradient(125deg, #f1f3f5 0%, #c6cdd3 30%, #e9ecef 48%, #b6bec5 72%, #dde2e6 100%);
}
.panel::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 1px 0 rgba(255,255,255,.65), 0 1px 0 rgba(255,255,255,.65) inset;
  border-radius: 3px;
}
.panel.dark {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, rgba(0,0,0,.08) 1px 2px, transparent 2px 4px),
    linear-gradient(125deg, #4a5157 0%, #2f353a 35%, #545c63 55%, #2b3035 80%, #3d444a 100%);
}
.panel.dark::before { border-color: rgba(0,0,0,.45); box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 1px 0 rgba(255,255,255,.08) inset; }
.panel.dark::after {
  content: "";
  position: absolute;
  left: 26px; bottom: 22px;
  width: 42px; height: 3px;
  background: var(--accent);
  opacity: .85;
}
.panel.plate {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.5) 0 1px, rgba(0,0,0,.03) 1px 2px, transparent 2px 4px),
    linear-gradient(125deg, #f4f6f7 0%, #d3d9dd 35%, #eef1f3 55%, #c9d0d5 80%, #e7eaed 100%);
  border-radius: 8px;
}
.rivet {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0, #c9cfd4 35%, #858e96 75%, #5c656c 100%);
  box-shadow: 0 1px 1.5px rgba(0,0,0,.45);
}
.r1 { top: 5px; left: 5px; }
.r2 { top: 5px; right: 5px; }
.r3 { bottom: 5px; left: 5px; }
.r4 { bottom: 5px; right: 5px; }

/* Product rows */
.product-rows { display: grid; gap: 28px; }
.product-row {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  background: #f7f8f9;
  border: 1px solid #b3bac1;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px rgba(30, 36, 42, .10);
}
.product-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.product-row:nth-child(even) .row-media { order: 2; border-right: 0; border-left: 1px solid #a9b1b8; }
.row-media {
  position: relative;
  min-height: 300px;
  background: var(--alu-2);
  border-right: 1px solid #a9b1b8;
}
.row-media.photo-wrap { min-height: 420px; }
.row-body { padding: 34px 38px 36px; align-self: center; }
.row-body h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--char);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}
.row-body p { font-size: 17px; color: #353c42; max-width: 68ch; }
.pos-separation .photo { object-position: center 45%; }
.pos-lift .photo { object-position: center 35%; }
.pos-backsplash .photo { object-position: center 40%; }
.pos-train .photo { object-position: center 60%; }
.card.work .card-media { aspect-ratio: 4 / 3; }
.card.work .card-body p { font-size: 17px; }
.closing {
  margin-top: 30px;
  padding: 22px 26px;
  max-width: 820px;
  font-size: 18px;
  color: #30373d;
  background: #f3f5f6;
  border: 1px solid #b3bac1;
  border-left: 4px solid var(--steel);
  border-radius: 4px;
}
.notfound { min-height: 60vh; }
.notfound a { color: var(--char); border-bottom: 2px solid var(--accent); text-decoration: none; }

/* Online shop */

.shop-in {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: 48px;
  align-items: center;
}
.shop-copy p { font-size: 18.5px; max-width: 58ch; color: #cfd5da; }
.cart-plate {
  position: relative;
  justify-self: end;
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 2px dashed #59626a;
  border-radius: 10px;
  cursor: default;
  user-select: none;
}
.cart-plate .panel { inset: 10px; }
.cart-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px; height: 132px;
  border-radius: 50%;
  color: #e9ecef;
  background: radial-gradient(circle at 35% 30%, #4b535a, #1f2327 72%);
  box-shadow: 0 12px 26px rgba(20,24,28,.3), 0 0 0 6px #c4cbd1, 0 0 0 7px #9aa3ab;
}
.cart-badge svg { width: 64px; height: 64px; margin: 0 4px 0 0; }
.cart-count {
  position: absolute;
  top: 10px; right: 6px;
  min-width: 32px; height: 32px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 16px;
  font: 700 18px/1 var(--head);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

/* How to order */
.order {
  background: linear-gradient(180deg, #d9dee2, #cfd5da);
  border-top: 1px solid #b7bec5;
}
.steps { display: grid; gap: 16px; counter-reset: none; }
.steps li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 26px;
  background: #f3f5f6;
  border: 1px solid #b3bac1;
  border-left: 4px solid var(--steel);
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(30,36,42,.07);
}
.step-num {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  font: 800 30px/1 var(--head);
  color: #f4f6f8;
  background: radial-gradient(circle at 35% 30%, #5a636b, #262b30 70%);
  box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 0 0 3px #c4cbd1;
}
.step-text { padding-top: 6px; font-size: 17.5px; color: #30373d; }

/* Rally */
.rally { padding: 72px 0; }
.rally-in {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  max-width: 980px;
}
.rally-mark { position: relative; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; box-shadow: 0 14px 28px rgba(0,0,0,.35); }
.rally-copy .section-h { margin-bottom: 24px; }
.rally-copy p { font-size: 19px; color: #cfd5da; max-width: 60ch; }

/* About */
.about-plate {
  position: relative;
  padding: 56px 60px;
  border-radius: 10px;
  box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 0 1px #0f1113;
}
.about-plate .panel { border-radius: 10px; }
.about-plate .panel .rivet { width: 12px; height: 12px; }
.about-plate .r1 { top: 14px; left: 14px; }
.about-plate .r2 { top: 14px; right: 14px; }
.about-plate .r3 { bottom: 14px; left: 14px; }
.about-plate .r4 { bottom: 14px; right: 14px; }
.about-copy { position: relative; font-size: 18px; color: #2f363c; }
.steel .about-copy .section-h { color: var(--char); }
.steel .about-copy mark.ph { color: #5a3a00; background: #ffe7a3; outline: none; }

/* Contact */
.contact {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.4) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, #e6e9ec, #d9dee2);
}
.contact-text > p { font-size: 18.5px; color: #333a40; max-width: 62ch; margin-bottom: 30px; }
.details {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.detail {
  padding: 20px 22px;
  background: #f7f8f9;
  border: 1px solid #b3bac1;
  border-left: 4px solid var(--steel);
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(30,36,42,.07);
}
.details dt {
  font: 700 15px/1 var(--head);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.details dd { margin: 0; font-size: 19px; font-weight: 500; color: var(--char); }
.details a { color: var(--char); text-decoration: none; border-bottom: 2px solid var(--accent); }
.details a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  padding: 30px 0 32px;
  background: #141619;
  border-top: 1px solid #000;
  text-align: center;
}
.footer-line {
  margin: 0 0 8px;
  font: 600 15px/1.4 var(--head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9aa3ab;
}
.footer-credit {
  margin: 0;
  font-size: 13px;
  letter-spacing: .04em;
  color: #6d767e;
}
.footer-credit a { color: #6d767e; text-decoration: none; }
.footer-credit a:hover { color: var(--alu-3); text-decoration: underline; }

/* Phones and tablets */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { justify-self: start; width: min(100%, 400px); }
  .site-nav { gap: 4px 18px; }
}
@media (max-width: 820px) {
  .card-grid.two { grid-template-columns: 1fr; }
  .product-row, .product-row:nth-child(even) { grid-template-columns: 1fr; }
  .product-row:nth-child(even) .row-media { order: 0; border-left: 0; }
  .row-media { min-height: 0; aspect-ratio: 16 / 7; border-right: 0; border-bottom: 1px solid #a9b1b8; }
  .row-media.photo-wrap { min-height: 0; aspect-ratio: 1 / 1; }
  .row-body { padding: 24px 22px 28px; }
  .shop-in { grid-template-columns: 1fr; gap: 32px; }
  .cart-plate { justify-self: start; width: min(100%, 240px); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 120px; }
  .header-in { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 0 8px; min-height: 0; }
  .wordmark { font-size: 26px; }
  .site-nav { gap: 0 16px; }
  .site-nav a { font-size: 14px; padding: 5px 0; }
  .hero { padding: 44px 0 64px; }
  .hero-text p, .intro, .shop-copy p, .contact-text > p, .rally-copy p, .about-copy { font-size: 17px; }
  .callout { font-size: 18px !important; padding: 12px 16px; }
  .hero-photo { justify-self: stretch; width: 100%; }
  .section { padding: 60px 0; }
  .section-h { margin-bottom: 28px; }
  .card-body { padding: 20px 20px 24px; }
  .card h3 { font-size: 24px; }
  .details { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 46px 1fr; gap: 16px; padding: 18px 18px; }
  .step-num { width: 46px; height: 46px; font-size: 23px; }
  .step-text { padding-top: 2px; font-size: 16.5px; }
  .rally-in { grid-template-columns: 1fr; gap: 26px; }
  .rally-mark { width: 120px; }
  .about-plate { padding: 40px 26px; }
}
@media (max-width: 480px) {
  .card-media { aspect-ratio: 16 / 8; }
  .card-media.photo-wrap { aspect-ratio: 4 / 3.4; }
  .card-media.short { aspect-ratio: 16 / 6; }
}
