/*
Theme Name: Lotline
Author: Lotline
Text Domain: lotline
*/

/*
DESIGN_REFS: https://www.signs.com/yard-signs/ | https://yardsigns.com/
WOULD_LOOK_WRONG_ON: gunflint — paper contractor desk; cahaba — case jacket; the first Lotline — press ticket in the hero.
AXES: dusk lawn not concrete shop; Big Shoulders shout + IBM Plex; hero is a planted board in a street photo, form is on its own page; yards you pass not a card grid; motion is signs rising out of grass; accent lives on the boards (campaign red, listing blue, hiring yellow).
*/

:root {
  --grass: #1a3d24;
  --grass-deep: #102418;
  --sky: #3d2c3a;
  --coro: #f4f1e6;
  --ink: #141711;
  --mute: #3e4a40;
  --wire: #9aa08f;
  --well: min(1120px, calc(100% - 28px));
}
* { box-sizing: border-box; }
html { height: 100%; }
html, body { margin: 0; overflow-x: hidden; }
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--coro);
  background-image: url("textures/paper-fibers.png");
  color: var(--ink);
  font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--grass); }
h1, h2, .word, .plant-shout {
  font-family: "Big Shoulders Display", "Arial Narrow", sans-serif;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 0.35em;
}
h1 { font-size: clamp(2.35rem, 8vw, 6.4rem); max-width: 100%; }
h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); }
p { margin: 0 0 0.9em; }
.lede { font-size: 1.15rem; max-width: min(36rem, 100%); overflow-wrap: break-word; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; }
.hp { position: absolute; left: -9999px; }

.mast {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 10px 20px;
  background-color: var(--grass);
  background-image: url("textures/cardboard-flat.png");
  color: var(--coro);
}
.mast .word {
  color: var(--coro);
  text-decoration: none;
  font-size: 2rem;
  margin: 0;
  line-height: 1;
}
.nav { margin-left: auto; }
.nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: var(--coro);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  padding: 10px 12px;
}
.nav li:last-child a {
  background: #f0c43a;
  color: var(--ink);
  font-weight: 600;
}
@media (max-width: 700px) {
  .mast { padding: 8px 12px; gap: 6px 10px; }
  .mast .word { font-size: 1.55rem; }
  .nav { flex-basis: 100%; margin-left: 0; }
  .nav ul { justify-content: flex-start; }
  .nav a { padding: 7px 10px; }
}

.hero {
  display: grid;
  height: 24rem;
  overflow: hidden;
  background-color: var(--sky);
  color: var(--coro);
}
.hero-media {
  grid-area: 1 / 1;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 125%;
  object-fit: cover;
  object-position: center 72%;
  will-change: transform;
}
.hero-ui {
  grid-area: 1 / 1;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  height: 100%;
  min-height: 0;
  padding: 16px 20px 14px;
  background-image: linear-gradient(180deg, transparent 28%, rgba(12, 16, 14, 0.58) 100%);
}
@media (max-width: 700px) {
  .hero { height: 26rem; }
  .hero-ui { grid-template-columns: 1fr; }
}
.hero-copy, .ask-copy, .wide-copy { max-width: min(38rem, 100%); box-sizing: border-box; }
.hero-copy h1 { text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55); }
.hero .lede { color: #efe6d6; overflow-wrap: break-word; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5); }
.hero .plant { align-self: end; width: 120px; flex-basis: 120px; will-change: transform; }
.hero .plant-stake { height: 32px; }
@media (max-width: 700px) {
  .hero .plant { display: none; }
}

.stage {
  display: grid;
  height: 22rem;
  overflow: hidden;
  background-color: var(--grass-deep);
  color: var(--coro);
}
.stage-media {
  grid-area: 1 / 1;
  overflow: hidden;
  height: 100%;
  min-height: 0;
}
.stage-media img {
  display: block;
  width: 100%;
  height: 125%;
  object-fit: cover;
  object-position: center 55%;
  will-change: transform;
}
.stage-ui {
  grid-area: 1 / 1;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 20px 20px 22px;
  background-image: linear-gradient(180deg, transparent 28%, rgba(12, 16, 14, 0.7) 100%);
}
@media (max-width: 700px) {
  .stage { height: 24rem; }
}
.stage-ui h1 {
  color: #f4f1e6;
  font-size: clamp(2.1rem, 5.6vw, 4.2rem);
  max-width: 18ch;
  text-shadow: 0 2px 28px rgba(0,0,0,0.55);
}
.stage-ui .lede { color: #efe6d6; max-width: 36rem; text-shadow: 0 1px 14px rgba(0,0,0,0.45); }
.facts-light { color: var(--coro); }
.facts-light dt { color: #f0c43a; letter-spacing: 0.08em; }
.facts-light a { color: #f0c43a; }

.ask-band {
  width: var(--well);
  margin: 0 auto;
  padding: 36px 0 56px;
  max-width: 720px;
}
.reach {
  width: var(--well);
  margin: 0 auto;
  padding: 36px 0 56px;
  display: grid;
  gap: 28px;
}
@media (min-width: 880px) {
  .reach { grid-template-columns: 0.7fr 1.1fr; align-items: start; }
}
.stock-row {
  display: grid;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid #d5d8c8;
  align-items: center;
}
@media (min-width: 720px) {
  .stock-row { grid-template-columns: 150px 1fr; }
}
.shift {
  overflow: hidden;
  max-height: 360px;
}
.shift img {
  display: block;
  width: 100%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}
.shift-tall { max-height: 420px; }
.shift-wide { max-height: 280px; width: 100%; }

.go {
  display: inline-block;
  background: #f0c43a;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 16px;
  box-shadow: 5px 5px 0 #0b160d;
}
.go:hover { transform: translate(-1px, -1px); }
.go-ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}

.plant {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  width: 150px;
  flex: 0 0 150px;
}
.plant-face {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  width: 100%;
  aspect-ratio: 18 / 24;
  padding: 14px 10px;
  border: 7px solid #f7f4ea;
  box-shadow: 8px 14px 0 rgba(0, 0, 0, 0.22);
}
.plant-top { font-size: 0.72rem; letter-spacing: 0.16em; }
.plant-shout { font-size: 2.2rem; margin: 0.1em 0; color: inherit; }
.plant-meta { font-size: 0.68rem; opacity: 0.85; }
.plant-stake {
  width: 22px;
  height: 52px;
  border-left: 3px solid #c5c9b8;
  border-right: 3px solid #c5c9b8;
  background: transparent;
}
.hero .plant { width: 168px; }
.hero .plant-shout { font-size: 2.6rem; }
.plant-ellen .plant-face { background: #c4122f; }
.plant-sale .plant-face { background: #163a7a; }
.plant-hire .plant-face { background: #e3a008; color: #141711; }
.plant-open .plant-face { background: #1f6b46; }
.plant-church .plant-face { background: #5b1f7a; }
.plant-arrow .plant-face { background: #d35400; }

.drive {
  overflow: hidden;
  background-color: var(--grass-deep);
  background-image: url("textures/concrete-wall.png");
  padding: 18px 0 8px;
}
.drive-label {
  width: var(--well);
  margin: 0 auto 8px;
  color: #d5e0d0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.drive-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 12px 18px 28px;
  scroll-snap-type: x mandatory;
}
.drive-row .plant { scroll-snap-align: start; }

.yards { width: var(--well); margin: 0 auto; padding: 36px 0; }
.yard {
  display: grid;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid #d5d8c8;
}
.yard .shift { width: 100%; }
@media (min-width: 840px) {
  .yard {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 36px;
  }
  .yard-flip { grid-template-columns: 1.1fr 1fr; }
  .yard-flip > div { order: 2; }
}

.shop-peek {
  display: grid;
  background-color: var(--grass);
  background-image: url("textures/cardboard-flat.png");
  color: var(--coro);
}
.shop-peek .shift-tall { width: 100%; max-height: none; height: 100%; min-height: 280px; }
.shop-peek div { padding: 28px 18px; }
@media (min-width: 840px) {
  .shop-peek { grid-template-columns: 1.2fr 0.8fr; }
  .shop-peek div { padding: 40px 32px; }
}

.wide-copy { width: var(--well); margin: 0 auto; padding: 36px 0 12px; max-width: 40rem; }
.wide-copy.wide-copy { max-width: 40rem; margin-left: max(14px, calc((100% - 1120px) / 2 + 0px)); }
.wide-copy { margin-left: auto; margin-right: auto; }

.crew {
  width: var(--well);
  margin: 0 auto 48px;
  display: grid;
  gap: 18px;
}
.crew .shift { max-height: 280px; }
.crew .shift img { object-position: center 22%; }
.crew figcaption { padding: 10px 0 0; color: var(--mute); }
@media (min-width: 800px) {
  .crew { grid-template-columns: 1.15fr 0.9fr 0.95fr; }
}

.stock {
  width: var(--well);
  margin: 0 auto 48px;
}
.stock-meta { color: var(--mute); font-size: 0.92rem; }

.ask-page {
  display: grid;
  gap: 28px;
  width: var(--well);
  margin: 0 auto;
  padding: 32px 0 56px;
}
@media (min-width: 880px) {
  .ask-page { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.plain { color: var(--mute); padding-left: 1.1rem; }
.facts { margin: 0; }
.facts > div { margin: 0 0 14px; }
.facts dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin: 4px 0 0; }

.ask, .ask-wrap {
  background-color: #fffdf6;
  background-image: url("textures/natural-paper.png");
  padding: 18px;
  border: 1px solid #d7d0b8;
}
.ask label, .barron-contact-form label {
  display: block;
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: var(--mute);
}
.ask input, .ask select, .ask textarea,
.barron-contact-form input, .barron-contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid #c9c3ae;
  background: #fff;
  font: inherit;
  color: var(--ink);
}
.ask-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ask-check { display: flex; align-items: center; gap: 8px; }
.ask-check input { width: auto; margin: 0; }
.ask-est { font-size: 1.05rem; }
.ask-est strong {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 2rem;
  color: var(--grass);
}
.ask button, .bc-submit {
  display: inline-block;
  background: var(--grass);
  color: var(--coro);
  border: 0;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.bc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.flash { background: #f7d9a0; padding: 10px 12px; }

.foot {
  margin-top: auto;
  flex-shrink: 0;
  background-color: var(--grass-deep);
  background-image: url("textures/dark-wall.png");
  color: var(--coro);
  padding: 32px 18px 12px;
}
.foot-grid {
  display: grid;
  gap: 16px;
  width: var(--well);
  margin: 0 auto;
}
.foot a { color: var(--coro); }
.foot .word { color: #f0c43a; margin: 0 0 0.35em; }
@media (min-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.bas {
  width: var(--well);
  margin: 24px auto 0;
  padding: 14px 0;
  border-top: 1px solid #2a3d2c;
  text-align: center;
  font-size: 13px;
}
.bas a { color: var(--wire); text-decoration: none; }

.page-block { width: var(--well); margin: 0 auto; padding: 36px 0; max-width: 40rem; }

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