/* River City Concrete Products, Winona MN */
:root {
  --concrete: #d2d3d5;
  --concrete-lt: #e6e7e8;
  --steel: #23272b;
  --steel-2: #30353a;
  --steel-line: #444a50;
  --red: #d7262d;
  --red-dk: #a91c22;
  --text: #1c1f22;
  --text-soft: #4d5359;
  --page: #f3f3f2;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: "Barlow", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--red-dk); }

h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 14px;
}
h1 { font-size: clamp(40px, 6.5vw, 76px); }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 26px; }

.container { width: min(1140px, 100% - 40px); margin-inline: auto; }

/* top strip: the logo sits on its own gray */
.yard {
  background: var(--concrete);
}
.yard .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 12px;
}
.yard__logo img { width: 210px; display: block; }
.yard__call { text-align: right; }
.yard__call a {
  display: block;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--steel);
  text-decoration: none;
  line-height: 1;
}
.yard__call a:hover { color: var(--red-dk); }
.yard__call span { color: var(--text-soft); font-size: 15px; }

/* main menu */
.menu { background: var(--steel); }
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.menu a {
  display: block;
  padding: 14px 20px;
  color: #e9eaeb;
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 21px;
  font-weight: 600;
}
.menu a:hover, .menu a[aria-current="page"] { background: var(--red); color: #fff; }
.menu li:first-child a { padding-left: 0; }
.menu li:first-child a:hover, .menu li:first-child a[aria-current="page"] { padding-left: 20px; }

/* opening block */
.lead-in {
  background: var(--steel-2);
  color: #f1f1f1;
  padding: 72px 0 80px;
  border-bottom: 10px solid var(--red);
}
.lead-in h1 { max-width: 14ch; }
.lead-in p { font-size: 20px; color: #c9ccd0; max-width: 36em; margin: 0 0 30px; }
.lead-in .btn { margin-right: 14px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.btn:hover { background: var(--red-dk); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #8b9197; }
.btn--ghost:hover { background: var(--steel); }

.block { padding: 70px 0; }
.block--white { background: #fff; }
.block p.intro { max-width: 42em; color: var(--text-soft); font-size: 18px; }

/* mix tabs */
.tabs { margin-top: 26px; }
.tabs__bar { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 3px solid var(--steel); }
.tabs__bar button {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 21px;
  font-weight: 600;
  background: var(--concrete-lt);
  color: var(--steel);
  border: 0;
  padding: 11px 20px;
  cursor: pointer;
  margin-right: 3px;
}
.tabs__bar button[aria-selected="true"] { background: var(--steel); color: #fff; }
.tabs__panel { padding: 8px 0 0; }
.tabs__panel[hidden] { display: none; }
.mixlist { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 48px; }
.mixlist li { break-inside: avoid; padding: 14px 0; border-bottom: 1px solid var(--concrete); }
.mixlist b { display: block; font-size: 18px; }
.mixlist span { color: var(--text-soft); }

/* river split for delivery area */
.river {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: stretch;
  margin-top: 28px;
}
.river__side h3 { color: var(--red-dk); }
.river__side ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 4px 36px;
}
.river__side:first-child ul { justify-content: end; }
.river__water {
  background: #5f7e9b;
  border-radius: 40px;
  margin: 0 20px;
  position: relative;
}
.river__water span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  color: #e8eef4;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 18px;
  letter-spacing: .04em;
}
.river__side:first-child { text-align: right; }

.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.hours dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--text-soft); }

/* project rows */
.jobs { margin: 0 0 40px; padding: 0; list-style: none; }
.jobs li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--concrete);
}
.jobs strong { font-size: 19px; }
.jobs em { font-style: normal; color: var(--text-soft); display: block; }
.jobs time { color: var(--text-soft); white-space: nowrap; }
.town { margin-top: 36px; color: var(--red-dk); }

.map-frame { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.35); }

/* footer */
.foot { background: var(--steel); color: #b9bdc2; padding: 40px 0; font-size: 15px; }
.foot .container { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot img { width: 120px; display: block; background: var(--concrete); padding: 6px; }
.foot a { color: #fff; }
.foot b { color: #fff; }

@media (max-width: 820px) {
  .yard__logo img { width: 160px; }
  .yard__call a { font-size: 30px; }
  .menu li:first-child a { padding-left: 20px; }
  .mixlist { columns: 1; }
  .hours { grid-template-columns: 1fr; gap: 28px; }
  .river { grid-template-columns: 1fr; gap: 24px; }
  .river__water { height: 34px; margin: 0; }
  .river__water span { transform: translate(-50%, -50%); }
  .river__side:first-child { text-align: left; }
  .river__side:first-child ul { justify-content: start; }
  .foot .container { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .yard .container { flex-direction: column; align-items: flex-start; gap: 6px; }
  .yard__call { text-align: left; }
  .menu a { padding: 12px 14px; font-size: 19px; }
  .jobs li { grid-template-columns: 1fr; gap: 2px; }
}

/* quote form */
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.quote__form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 16px; }
.quote__form .wide { grid-column: 1 / -1; }
.quote__form input, .quote__form textarea {
  font: inherit; font-weight: 400; padding: 11px 12px; border: 0; border-bottom: 2px solid var(--steel-line);
  background: #fff; color: var(--text);
}
.quote__form textarea { min-height: 120px; resize: vertical; }
.quote__form input:focus, .quote__form textarea:focus { outline: none; border-bottom-color: var(--red); background: #fffdfb; }
.quote__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote__send { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.quote__send button { border: 0; cursor: pointer; }
.quote__send button:disabled { opacity: .6; cursor: wait; }
#quote-status { color: var(--text-soft); }
.quote__done { background: #fff; border-top: 6px solid var(--red); padding: 26px; }
@media (max-width: 820px) {
  .quote { grid-template-columns: 1fr; gap: 28px; }
  .quote__form { grid-template-columns: 1fr; }
}
