/* Public (GC-facing) page styles: index, services, work, bid.
   Loaded after site.css; only adds new classes, uses site.css variables. */

/* never allow sideways scroll on public pages */
html, body { overflow-x: clip; }
main { overflow-wrap: break-word; }

/* hero additions */
.hero .phone-cta { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-weight: 700; text-decoration: none; margin-top: 1rem; }
.hero .phone-cta b { font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em; color: #fff; border-bottom: 2px solid var(--red); }
.hero-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); padding: .3rem .7rem; border-radius: var(--radius); }

/* photo placeholder (professional photos coming later) */
.photo-ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center; aspect-ratio: 4/3; width: 100%; border-radius: var(--radius); border: 2px dashed #9a9a9a; color: var(--muted); padding: 16px;
  background: repeating-linear-gradient(135deg, var(--gray-2) 0 14px, var(--gray-3) 14px 28px); }
.photo-ph .ph-label { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; color: var(--ink); background: #fff; padding: .25rem .6rem; border-left: 4px solid var(--red); }
.photo-ph .ph-sub { font-size: .85rem; background: rgba(255,255,255,.85); padding: .1rem .5rem; }
.photo-ph.wide { aspect-ratio: 16/7; }
.ph-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ph-grid { grid-template-columns: 1fr; } .photo-ph.wide { aspect-ratio: 4/3; } }

/* "why GCs pick TRM" steps */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: why; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .why { grid-template-columns: 1fr; } }
.why .card { position: relative; }
.why .card h3 { font-size: 1.35rem; }
.why .card p { margin: 0; }

/* project-type strip */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .types { grid-template-columns: 1fr; } }
.types .card { border-top-color: var(--red); }

/* big CTA band */
.cta-band { background: var(--red); color: #fff; padding: clamp(40px, 7vw, 72px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band h2 { margin: 0 0 .2em; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .cta-row { margin-top: 0; }
.cta-band .btn.ghost:hover { color: var(--red); }

/* service sections */
.svc { display: grid; grid-template-columns: 220px 1fr; gap: 12px 36px; padding: 28px 0; border-top: 1px solid var(--gray-2); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc h3 { margin: 0; }
.svc .svc-tag { display: block; font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); font-size: .9rem; margin-bottom: .3rem; }
.svc p { margin: 0 0 .7em; max-width: 680px; }
.svc .checks { margin-bottom: 0; columns: 2; column-gap: 32px; }
.svc .checks li { break-inside: avoid; }
@media (max-width: 760px) { .svc { grid-template-columns: 1fr; } .svc .checks { columns: 1; } }
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }
.svc-jump a { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.4); padding: .3rem .7rem; border-radius: var(--radius); }
.svc-jump a:hover { border-color: var(--red); background: var(--red); }
[id^="svc-"], [id^="sc-"] { scroll-margin-top: 90px; }

/* scope by TRM vs by others */
.scope-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .scope-split { grid-template-columns: 1fr; } }
.scope-col { border: 1px solid var(--gray-2); border-radius: var(--radius); padding: 22px; background: #fff; }
.scope-col.in { border-top: 6px solid var(--red); }
.scope-col.out { border-top: 6px solid var(--gray); background: var(--gray-3); }
.scope-col h3 { font-size: 1.4rem; }
.scope-col h4 { font-size: 1.05rem; letter-spacing: .06em; margin: 1.1em 0 .45em; color: var(--ink); }
.scope-col h4:first-of-type { margin-top: .4em; }
.xlist { list-style: none; padding: 0; margin: 0 0 .6em; }
.xlist li { padding-left: 26px; position: relative; margin-bottom: .5em; }
.xlist li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 12px; height: 3px; background: #8a8a8a; }
.note-box { border-left: 4px solid var(--red); background: #fff; padding: 16px 18px; border-radius: var(--radius); margin-top: 20px; }
.note-box p:last-child { margin-bottom: 0; }

/* scope table (by item) */
.stable { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
.stable th, .stable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--gray-2); vertical-align: top; }
.stable thead th { background: var(--black); color: #fff; font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.stable td.who { white-space: nowrap; font-weight: 700; }
.stable td.who.trm { color: var(--red); }
.stable td.who.oth { color: var(--muted); }
@media (max-width: 620px) {
  .stable thead { display: none; }
  .stable tr { display: block; border-bottom: 1px solid var(--gray); padding: 8px 0; }
  .stable td { display: block; border: 0; padding: 4px 4px; }
  .stable td.who { white-space: normal; }
  .stable td.empty { display: none; }
  .stable td[data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--ink); }
}

/* bid page */
.steps { list-style: none; padding: 0; margin: 0 0 1.2em; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 0 0 14px 46px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--black); color: #fff; font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steps li b { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; }
.send-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 1.2em; }
@media (max-width: 480px) { .send-list { grid-template-columns: 1fr; } }
.send-list div { background: #fff; border: 1px solid var(--gray-2); border-left: 4px solid var(--red); padding: 10px 12px; border-radius: var(--radius); }
.send-list b { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; }
.send-list span { font-size: .9rem; color: var(--muted); }
.contact-card { background: var(--black); color: #fff; padding: 20px; border-radius: var(--radius); margin-top: 8px; }
.contact-card a { color: #fff; font-weight: 700; }
.contact-card .big { font-family: var(--display); font-weight: 800; font-size: 1.6rem; letter-spacing: .03em; text-decoration: none; display: inline-block; border-bottom: 2px solid var(--red); }
.form-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: .2em; }
.form-head p { color: var(--muted); margin-bottom: 1rem; }
.bid-col { min-width: 0; }

/* Project photos (stock, picked by Nathan 11/4/26) */
.proj-photo { position: relative; margin: 0; aspect-ratio: 4/3; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--gray-3, #eee); }
.proj-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-photo figcaption { position: absolute; left: 0; bottom: 0; background: #fff; color: var(--ink); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; padding: .3rem .7rem; border-left: 4px solid var(--red); }
