/* FutureNet "Daylight field", inner pages (F-010). Loaded after daylight.css.
   Restyles the component vocabulary the inner pages were written in (hero-photo, steps,
   buylist, intake, data tables, coal bands) so page copy and generator markers stay
   untouched. Scoped to body.dl so the homepage is unaffected. */

body.dl section { padding: clamp(56px, 7vw, 92px) 0; }
body.dl section + section { border-top: 1px solid var(--line); }
body.dl h1 { font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .96; }
body.dl h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: .5rem; }
body.dl h3 { margin-bottom: .45rem; }
body.dl .prose { max-width: 68ch; }
body.dl .prose p + p { margin-top: 12px; }
body.dl .prose h2 { margin-top: 1.4em; }
body.dl .prose ul:not(.buylist), body.dl .prose ol:not(.steps) { padding-left: 1.2em; margin-top: 10px; }
body.dl .prose li + li { margin-top: 6px; }
body.dl .sub { color: var(--ink-2); font-size: 1.15rem; max-width: 60ch; }
body.dl .hint { color: var(--mute); font-size: .88rem; font-weight: 400; }
body.dl .split { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 880px) {
  body.dl .split-75 { grid-template-columns: 7fr 5fr; }
  body.dl .split-84 { grid-template-columns: 2fr 1fr; }
}
body.dl figure img, body.dl .split img { border-radius: var(--r-lg); }

/* buttons written in the old vocabulary */
body.dl .btn:not(.btn-accent):not(.btn-ghost) { border-color: var(--ink); color: var(--ink); background: transparent; }
body.dl .btn:not(.btn-accent):not(.btn-ghost):hover { background: var(--ink); color: var(--paper); }
body.dl .on-dark .btn:not(.btn-accent) { border-color: rgba(255,255,255,.6); color: #fff; }
body.dl .on-dark .btn:not(.btn-accent):hover { background: rgba(255,255,255,.14); color: #fff; }
body.dl .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 6px; }
body.dl button.btn { font-family: var(--body); cursor: pointer; }

/* ---------- page head: pages that open on text ---------- */
.phead { padding: 150px 0 clamp(48px, 6vw, 80px) !important; border-top: 0 !important;
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }
.phead h1 { max-width: 18ch; }
.phead .sub, .phead > .wrap > p { margin-top: 18px; }
.phead .kicker { margin-bottom: 18px; }
.pband { margin-top: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 21 / 8; background: var(--paper-2); }
.pband img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .phead { padding-top: 116px !important; } .pband { aspect-ratio: 4 / 3; } }

/* ---------- photo hero (old .hero-photo) ---------- */
.hero-photo { position: relative; min-height: 84vh; display: flex; align-items: flex-end;
  background-color: var(--soil); background-size: cover; background-position: center; color: #fff; }
.hero-short { min-height: 70vh; }
.hero-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23,19,15,.7) 0%, rgba(23,19,15,.4) 45%, rgba(23,19,15,.05) 80%),
    linear-gradient(0deg, rgba(23,19,15,.55) 0%, rgba(23,19,15,0) 40%),
    linear-gradient(180deg, rgba(23,19,15,.5) 0%, rgba(23,19,15,0) 160px); }
.hero-photo .inner { position: relative; z-index: 2; width: 100%; padding: 150px 0 64px; }
.hero-photo h1 { color: #fff; max-width: 14ch; }
.hero-photo .sub { color: rgba(255,255,255,.9) !important; margin-top: 20px; }
.hero-photo .microline { font-family: var(--mono); font-size: .88rem; color: rgba(255,255,255,.75); margin-top: 22px; }
.hero-photo .credit { position: absolute; right: 14px; bottom: 10px; z-index: 2; font: .68rem var(--mono); color: rgba(255,255,255,.55); }
.hero-photo h1, .hero-photo .sub, .hero-photo .btn-row, .hero-photo .microline {
  opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero-photo.go h1, .hero-photo.go .sub, .hero-photo.go .btn-row, .hero-photo.go .microline { opacity: 1; transform: none; }
.hero-photo.go .sub { transition-delay: .1s; } .hero-photo.go .btn-row { transition-delay: .2s; }
.hero-photo.go .microline { transition-delay: .3s; }
@media (max-width: 760px) {
  .hero-photo::after { background: linear-gradient(0deg, rgba(23,19,15,.82) 0%, rgba(23,19,15,.5) 60%, rgba(23,19,15,.45) 100%); }
  .hero-photo .inner { padding-bottom: 92px; }
  .hero-photo .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}

/* old "hero flush" (thank-you pages) reads as a page head */
section.hero.flush { min-height: 70vh; display: flex; align-items: center; padding-top: 150px !important;
  background: linear-gradient(180deg, var(--paper-2), var(--paper)); color: var(--ink); overflow: visible; }
section.hero.flush::before { display: none; }
section.hero.flush .wrap { width: 100%; }
section.hero.flush .sub { color: var(--ink-2); }

/* ---------- tables ---------- */
body.dl table.data { max-width: 780px; margin-top: 16px; }
body.dl table.data th { font-family: var(--body); }
body.dl table.data tbody tr { transition: background-color .15s; }
body.dl table.data tbody tr:hover { background: var(--paper-2); }
body.dl .tablewrap, body.dl table.data { overflow-x: auto; }

/* ---------- steps (old ol.steps): fiber-coded route ---------- */
ol.steps { counter-reset: s; list-style: none; display: grid; gap: 28px; margin-top: 34px;
  grid-template-columns: repeat(3, 1fr); max-width: none; }
ol.steps.cols4 { grid-template-columns: repeat(4, 1fr); }
ol.steps li { counter-increment: s; position: relative; padding-top: 52px; color: var(--ink-2); }
ol.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 36px; height: 36px;
  border-radius: 50%; display: grid; place-items: center; font: 600 .95rem var(--mono); color: #fff;
  background: var(--f1); }
ol.steps li:nth-child(2)::before { background: var(--f2); }
ol.steps li:nth-child(3)::before { background: var(--f3); }
ol.steps li:nth-child(4)::before { background: var(--f4); }
ol.steps li:nth-child(5)::before { background: var(--f5); }
ol.steps li::after { content: ""; position: absolute; top: 17px; left: 48px; right: -16px; height: 2px; background: var(--line); }
ol.steps li:last-child::after { display: none; }
ol.steps b { display: block; font-family: var(--heads); font-weight: 600; font-size: 1.5rem; line-height: 1.12;
  color: var(--ink); margin-bottom: 8px; }
@media (max-width: 880px) {
  ol.steps, ol.steps.cols4 { grid-template-columns: 1fr; gap: 22px; }
  ol.steps li { padding: 0 0 0 54px; }
  ol.steps li::after { top: 44px; bottom: -16px; left: 17px; right: auto; width: 2px; height: auto; }
}

/* ---------- dark bands (old .coal / .glow) ---------- */
.coal { background: var(--soil); color: var(--soil-text); position: relative; overflow: hidden; }
.coal::before { content: ""; position: absolute; inset: 0; opacity: .16;
  background: url('/public/media/band-trench-poster.jpg') center / cover no-repeat; }
.coal > * { position: relative; }
.coal h2, .coal h3, .coal b { color: #fff; }
.coal p, .coal li { color: var(--soil-mute); }
.coal a { color: #fff; }
.coal a:hover { color: #FFB48F; }
.coal ol.steps li { color: var(--soil-mute); }
.coal ol.steps b { color: #fff; }
.coal ol.steps li::after { background: rgba(244,238,230,.18); }
body.dl .coal section + section { border-top-color: rgba(244,238,230,.14); }
.glow { position: relative; color: #fff; background: var(--soil) url('/public/img/gen/home-1.jpg') center / cover no-repeat; }
.glow .inner { background: linear-gradient(90deg, rgba(23,19,15,.78), rgba(23,19,15,.35)); padding: clamp(56px, 8vw, 110px) 0; }
.glow h2 { color: #fff; max-width: 22ch; }
.glow p { color: rgba(255,255,255,.88); margin-top: 12px; }
.glow a { color: #fff; }

/* ---------- trust lines, callouts, lists ---------- */
.trustline { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px;
  font-family: var(--mono); font-size: .9rem; line-height: 1.75; color: var(--ink-2); background: var(--card); }
.trustline b { font-family: var(--heads); font-size: 1.25rem; color: var(--ink); }
.coal .trustline { background: rgba(255,255,255,.04); border-color: rgba(244,238,230,.16); color: var(--soil-mute); }
.coal .trustline b { color: #fff; }
.trustline-light { background: var(--paper-2); }
.ps-band { background: var(--accent-soft); border-left: 4px solid var(--accent); border-radius: var(--r);
  padding: 18px 22px; max-width: 780px; margin: 28px 0; }
.ps-band a { font-weight: 600; }
.buylist { list-style: none; max-width: 780px; margin-top: 12px; }
.buylist li { position: relative; border-top: 1px solid var(--line); padding: 14px 0 14px 24px; }
.buylist li:last-child { border-bottom: 1px solid var(--line); }
.buylist li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--accent); }
.buylist b { font-family: var(--heads); font-weight: 600; font-size: 1.2rem; }
.coal .buylist li { border-color: rgba(244,238,230,.16); }
body.dl .faq dl { border-top: 1px solid var(--line); margin-top: 18px; }
body.dl .faq dt { font-family: var(--heads); font-weight: 600; font-size: 1.4rem; line-height: 1.15;
  padding-top: 22px; color: var(--ink); }
body.dl .faq dd { margin: 8px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--ink-2); max-width: 68ch; }

/* ---------- photo cards (old grid12 / card-p) ---------- */
.grid12 { display: grid; gap: 18px; grid-template-columns: repeat(12, 1fr); }
.card-p { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg);
  min-height: 300px; color: #fff; text-decoration: none; background: var(--soil); }
.card-p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-p:hover img { transform: scale(1.05); }
.card-p .lab { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px;
  background: linear-gradient(transparent, rgba(23,19,15,.85) 65%); }
.card-p .lab b { display: block; font-family: var(--heads); font-size: 1.6rem; }
.card-p .lab span { font-size: .92rem; color: rgba(255,255,255,.82); }
.card-p:hover { color: #fff; }
.span3 { grid-column: span 3; } .span4 { grid-column: span 4; } .span5 { grid-column: span 5; }
.span6 { grid-column: span 6; } .span7 { grid-column: span 7; } .span8 { grid-column: span 8; }
@media (max-width: 880px) { .span3, .span4, .span5, .span6, .span7, .span8 { grid-column: span 12; } }

/* ---------- forms ---------- */
form.intake { max-width: 600px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 36px); box-shadow: var(--shadow); margin-top: 18px; }
form.intake label { display: block; font-weight: 600; font-size: .95rem; margin: 18px 0 6px; }
form.intake label:first-of-type { margin-top: 0; }
form.intake input[type=text], form.intake input[type=tel], form.intake input[type=email], form.intake textarea {
  display: block; width: 100%; margin-top: 6px; font: 1rem var(--body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  transition: border-color .15s, box-shadow .15s; }
form.intake input:focus, form.intake textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,84,29,.18); }
form.intake input[type=file] { display: block; width: 100%; margin-top: 8px; padding: 14px; font-size: .95rem;
  border: 1px dashed var(--ink-2); border-radius: 10px; background: var(--paper-2); cursor: pointer; }
form.intake button { margin-top: 22px; }
.hp { position: absolute; left: -9999px; }

/* ---------- inventory ---------- */
.lot-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lot-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.lot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.lot-card img { width: 100%; height: 180px; object-fit: cover; }
.lot-card .meta { padding: 14px 16px; font: .9rem var(--mono); }
.lot-card .meta .p { font-weight: 600; }
.sold { display: inline-block; background: var(--soil); color: #fff; font: .78rem var(--mono); padding: 3px 8px; border-radius: 6px; }

/* ---------- auto reveal on inner pages ---------- */
body.dl .rva { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.dl .rva.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo h1, .hero-photo .sub, .hero-photo .btn-row, .hero-photo .microline, body.dl .rva { opacity: 1 !important; transform: none !important; }
}

/* inventory empty state ("Between loads") */
body.dl .trust.trustline-light { border: 1px dashed var(--ink-2) !important; border-radius: var(--r-lg);
  padding: 26px 28px; background: var(--paper-2); font-size: 1.05rem; max-width: 780px; }

/* ---------- media heroes (videos on inner pages) ---------- */
.hero-photo > video, .phead.media > video, .phead.media > .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-photo::after { z-index: 1; }
/* a text-first page head promoted to a full-bleed media hero */
.phead.media { position: relative; overflow: hidden; color: #fff; background: var(--soil);
  min-height: 78vh; display: flex; align-items: flex-end; padding-bottom: 64px !important; }
.phead.media::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(23,19,15,.72) 0%, rgba(23,19,15,.42) 50%, rgba(23,19,15,.08) 85%),
    linear-gradient(0deg, rgba(23,19,15,.6) 0%, rgba(23,19,15,0) 45%),
    linear-gradient(180deg, rgba(23,19,15,.5) 0%, rgba(23,19,15,0) 160px); }
.phead.media > .wrap { position: relative; z-index: 2; width: 100%; }
.phead.media h1, .phead.media h2, .phead.media b, .phead.media strong { color: #fff; }
.phead.media p, .phead.media .sub, .phead.media .mono { color: rgba(255,255,255,.88) !important; }
.phead.media a:not(.btn) { color: #fff; }
.phead.media .btn:not(.btn-accent) { border-color: rgba(255,255,255,.6) !important; color: #fff !important; }
.phead.media h1, .phead.media .wrap > * { opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease); }
.phead.media.go h1, .phead.media.go .wrap > * { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .phead.media::after { background: linear-gradient(0deg, rgba(23,19,15,.82) 0%, rgba(23,19,15,.5) 60%, rgba(23,19,15,.45) 100%); }
  .phead.media { padding-bottom: 92px !important; }
}

/* ---------- photo strip between sections ---------- */
.strip { position: relative; height: clamp(260px, 52vh, 560px); overflow: hidden; background: var(--paper-2); }
.strip .bg { position: absolute; inset: -14% 0; background-size: cover; background-position: center; will-change: transform; }
.strip figcaption { position: absolute; left: 24px; bottom: 18px; z-index: 1; font: .78rem var(--mono);
  color: #fff; background: rgba(23,19,15,.45); padding: 6px 10px; border-radius: 8px; }
body.dl .strip + section, body.dl section + .strip + section { border-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .phead.media h1, .phead.media .wrap > * { opacity: 1 !important; transform: none !important; }
  .strip .bg { transform: none !important; }
}
