/* ============================================================
   TITAN FORGE — Misc page patterns
   ============================================================ */

/* split content row (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 5/4; }
.split h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(28px,4vw,42px); line-height: 1; margin: 16px 0 0; }
.split p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 18px 0 0; max-width: 52ch; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

/* included list (2-col checks) */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 8px; }
.included li { list-style: none; padding-left: 28px; position: relative; color: var(--text); font-size: 15.5px; line-height: 1.5; }
.included li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px;
                       border-left: 1.5px solid var(--ember); border-bottom: 1.5px solid var(--ember); transform: rotate(-45deg); }
.included li span { display: block; color: var(--text-3); font-size: 13.5px; margin-top: 3px; }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

/* foundation pyramid */
.pyramid { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.tier { border: 1px solid var(--line); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between;
        background: var(--bg-2); transition: border-color .2s, background .2s; }
.tier:hover { border-color: var(--line-2); background: var(--bg-3); }
.tier b { font-family: var(--display); text-transform: uppercase; font-size: 20px; font-weight: 600; letter-spacing: 0.01em; }
.tier span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.tier--cap { background: var(--bg-inset); border-style: dashed; }
.tier--cap b { color: var(--text-3); }
.tier:nth-child(1) { margin-inline: 0; }
.tier:nth-child(2) { margin-inline: 7%; }
.tier:nth-child(3) { margin-inline: 14%; }
.tier:nth-child(4) { margin-inline: 21%; }
.tier:nth-child(5) { margin-inline: 28%; }
@media (max-width: 600px) { .tier { margin-inline: 0 !important; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 26px 0;
          display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--text);
          font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(19px,2.4vw,24px); letter-spacing: 0.01em; }
.faq__q:hover { color: var(--steel-200); }
.faq__icon { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--ember); transition: transform .25s ease; }
.faq__icon::before { left: 0; top: 10px; width: 22px; height: 2px; }
.faq__icon::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
.faq__item.open .faq__a { max-height: 320px; }
.faq__a p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 0 0 26px; max-width: 64ch; }

/* article list rows */
.arts { border-top: 1px solid var(--line); }
.art { display: grid; grid-template-columns: 64px 1fr auto; gap: 28px; align-items: center; padding: 26px 0;
       border-bottom: 1px solid var(--line); cursor: pointer; transition: background .18s; }
.art:hover { background: rgba(255,255,255,0.02); }
.art__n { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.art__main h3 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(20px,2.6vw,28px);
                margin: 0; line-height: 1.05; letter-spacing: 0.01em; transition: color .18s; }
.art:hover .art__main h3 { color: var(--ember); }
.art__meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-top: 8px; }
.art__go { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-200); white-space: nowrap; }
.art:hover .art__go { color: var(--ember); }
@media (max-width: 620px) { .art { grid-template-columns: 1fr; gap: 8px; } .art__go { display: none; } }

/* article pages */
.articlewrap { display: grid; grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.9fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.articlemeta { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; }
.articlemeta__box { border: 1px solid var(--line); background: var(--bg-2); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.articlemeta__box b { color: var(--steel-100); font-family: var(--display); font-size: 22px; line-height: 1; text-transform: uppercase; font-weight: 600; overflow-wrap: break-word; }
.articlemeta__box a { color: var(--text-2); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.articlemeta__box a:hover { color: var(--ember); }
.articlemeta__box--geebs { border-color: var(--line-ember); background: linear-gradient(180deg, rgba(226,85,46,0.06), transparent), var(--bg-2); }
.articlebody { max-width: 780px; }
.articlebody__lede { color: var(--steel-100); font-size: clamp(19px, 2vw, 22px); line-height: 1.55; margin: 0 0 34px; }
.articlebody section { border-top: 1px solid var(--line); padding: 34px 0; }
.articlebody h2 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(28px, 4vw, 42px); line-height: 0.98; margin: 0 0 16px; }
.articlebody p { color: var(--text-2); font-size: 17px; line-height: 1.75; margin: 0; }
.articleanswer { background: linear-gradient(180deg, rgba(226,85,46,0.06), transparent), var(--bg-2); border: 1px solid var(--line-ember); padding-inline: clamp(20px, 4vw, 34px) !important; }
.articleanswer--quiet { background: var(--bg-inset); border-color: var(--line); }
.articlechecklist { margin-top: 18px !important; }
.articlechecklist li { font-size: 16px; line-height: 1.6; }
.articleevidence, .articlefaq { background: var(--bg-inset); border: 1px solid var(--line); padding-inline: clamp(20px, 4vw, 34px) !important; }
.articleevidence ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.articleevidence li { color: var(--text-2); font-family: var(--mono); font-size: 12px; line-height: 1.45; letter-spacing: 0.04em; text-transform: uppercase; }
.articleevidence a { color: var(--steel-100); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.articleevidence a:hover { color: var(--ember); border-color: var(--ember); }
.articlefaq details { border-top: 1px solid var(--line); padding: 18px 0; }
.articlefaq details:first-of-type { margin-top: 18px; }
.articlefaq summary { cursor: pointer; color: var(--steel-100); font-family: var(--display); font-size: clamp(18px, 2vw, 24px); line-height: 1.1; text-transform: uppercase; min-height: 44px; display: flex; align-items: center; }
.articlefaq details[open] summary { color: var(--ember); }
.articlefaq details p { margin-top: 12px; font-size: 16px; }
.articlecta { border: 1px solid var(--line-ember); background: linear-gradient(180deg, rgba(226,85,46,0.07), transparent), var(--bg-2);
  padding: clamp(26px, 4vw, 42px); margin-top: 16px; }
.articlecta h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 0.96; margin: 16px 0 0; max-width: 14ch; }
.articlecta p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 18px 0 0; max-width: 58ch; }
@media (max-width: 860px) {
  .articlewrap { grid-template-columns: 1fr; }
  .articlemeta { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .articlemeta__box--geebs { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .articlemeta { grid-template-columns: 1fr; } }

/* child brand cross-link */
.brandlink { border: 1px solid var(--line); background:
  radial-gradient(120% 120% at 100% 0%, rgba(226,85,46,0.10), transparent 56%), var(--bg-2);
  padding: clamp(26px, 4vw, 42px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brandlink h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600;
  font-size: clamp(28px, 4vw, 44px); line-height: 0.98; margin: 16px 0 0; max-width: 15ch; }
.brandlink p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; margin: 18px 0 0; max-width: 64ch; }
.brandlink .btn { flex-shrink: 0; }
@media (max-width: 760px) { .brandlink { align-items: flex-start; flex-direction: column; } }
@media (max-width: 420px) { .brandlink .btn { width: 100%; } }

/* category filter chips */
.resourcesearch { border: 1px solid var(--line); background: var(--bg-2); padding: clamp(20px, 3vw, 30px); margin-bottom: 24px; }
.resourcesearch label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.resourcesearch div { display: flex; gap: 10px; }
.resourcesearch input { flex: 1; min-width: 0; background: var(--bg-1); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 15px; padding: 13px 15px; outline: none; }
.resourcesearch input:focus { border-color: var(--ember); }
.resourcesearch button { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid var(--line-2); background: var(--bg-inset); color: var(--text-2); padding: 0 15px; cursor: pointer; }
.resourcesearch button[type="submit"] { background: var(--ember); border-color: var(--ember); color: #fff; }
@media (max-width: 560px) {
  .resourcesearch div { flex-direction: column; }
  .resourcesearch button { min-height: 44px; }
}
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.chip { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 9px 16px;
        border: 1px solid var(--line-2); background: none; color: var(--text-2); cursor: pointer; transition: all .18s; }
.chip:hover { border-color: var(--steel-300); color: var(--text); }
.chip.on { background: var(--ember); border-color: var(--ember); color: #fff; }

/* shop products */
.prod { background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.prod:hover { border-color: var(--line-2); transform: translateY(-3px); }
.prod__img { aspect-ratio: 1; }
.prod__body { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.prod__cat { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.prod__name { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 22px; line-height: 1; margin: 4px 0; }
.prod__desc { color: var(--text-2); font-size: 14px; line-height: 1.5; }
.prod__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.prod__price { font-family: var(--mono); font-size: 15px; color: #fff; background: #0e1013; border: 1px solid rgba(255,255,255,0.28);
  padding: 8px 11px; line-height: 1; font-weight: 700; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.28); }
.prod__soon { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel-100); background: rgba(14,16,19,0.86); border: 1px solid rgba(255,255,255,0.24); padding: 8px 12px; }
@media (max-width: 420px) {
  .prod__foot { align-items: stretch; flex-direction: column; gap: 10px; }
  .prod__price, .prod__soon { text-align: center; min-height: 38px; display: grid; place-items: center; }
}

/* notice / banner */
.notice { border: 1px solid var(--line-ember); background: linear-gradient(180deg, rgba(226,85,46,0.06), transparent); padding: 28px 30px; display: flex; gap: 22px; align-items: flex-start; }
.notice__mark { font-family: var(--display); font-size: 30px; color: var(--ember); line-height: 1; }
.notice h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 22px; margin: 0 0 8px; }
.notice p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0; max-width: 70ch; }

/* contact form */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,70px); }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.field input, .field textarea, .field select {
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-family: var(--body); font-size: 15px;
  padding: 14px 16px; outline: none; transition: border-color .18s; border-radius: var(--r-sm); min-width: 0; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ember); }
.field textarea { resize: vertical; min-height: 120px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .field__row { grid-template-columns: 1fr; gap: 0; } }
.contact__aside h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 26px; margin: 0 0 18px; }
.contact__line { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact__line b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); min-width: 88px; }
.contact__line span, .contact__line a { color: var(--text-2); font-size: 15px; }
.contact__line a { text-decoration: none; transition: color .18s ease; }
.contact__line a:hover { color: var(--ember); }
.formdone { border: 1px solid var(--line-ember); background: linear-gradient(180deg, rgba(226,85,46,0.07), transparent); padding: 40px; text-align: center; }
.formdone h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 30px; margin: 16px 0 10px; }
.formdone p { color: var(--text-2); font-size: 16px; line-height: 1.6; margin: 0 auto; max-width: 40ch; }

/* about timeline */
.tl { border-left: 1px solid var(--line); padding-left: 34px; margin-left: 8px; }
.tl__item { position: relative; padding-bottom: 38px; }
.tl__item::before { content: ""; position: absolute; left: -40px; top: 4px; width: 11px; height: 11px; background: var(--ember); }
.tl__item:last-child { padding-bottom: 0; }
.tl__yr { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--ember); }
.tl__item h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 24px; margin: 8px 0 8px; }
.tl__item p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 60ch; }

/* stat strip */
.statstrip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.statstrip > div { padding: 30px; border-right: 1px solid var(--line); }
.statstrip > div:last-child { border-right: none; }
.statstrip b { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 0.9; display: block; }
.statstrip span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
@media (max-width: 720px) { .statstrip { grid-template-columns: 1fr 1fr; } .statstrip > div:nth-child(2) { border-right: none; }
  .statstrip > div:nth-child(1), .statstrip > div:nth-child(2) { border-bottom: 1px solid var(--line); } }

/* growth/funnel route patterns */
.funnelgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr); gap: 18px; }
.funnelpanel { display: flex; flex-direction: column; gap: 18px; }
.funnelpanel h3, .freecheck__result h3, .applybridge h3 {
  font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(28px, 4vw, 44px);
  line-height: 0.98; margin: 0;
}
.funnelpanel p, .freecheck__result p, .applybridge p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 0; }
.funnelpanel--quiet { background: var(--bg-inset); }
.funnelpanel__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.comparetable { border: 1px solid var(--line); background: var(--bg-2); }
.comparetable__head, .comparetable__row { display: grid; grid-template-columns: 0.72fr 1fr 1fr; }
.comparetable__head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); background: var(--bg-inset); }
.comparetable__head span, .comparetable__row b, .comparetable__row span { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comparetable__head span:last-child, .comparetable__row span:last-child { border-right: none; }
.comparetable__row:last-child b, .comparetable__row:last-child span { border-bottom: none; }
.comparetable__row b { font-family: var(--display); text-transform: uppercase; font-size: 20px; line-height: 1; color: var(--steel-100); }
.comparetable__row span { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.freecheck { display: flex; flex-direction: column; gap: 24px; }
.freecheck__q { display: grid; grid-template-columns: minmax(160px, 0.5fr) repeat(3, minmax(0, 1fr)); gap: 10px; align-items: center; }
.freecheck__q button { min-height: 48px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--text-2); font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.freecheck__q button.on { background: var(--ember); border-color: var(--ember); color: #fff; }
.freecheck__result { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.applybridge { border: 1px solid var(--line-ember); background: linear-gradient(180deg, rgba(226,85,46,0.07), transparent), var(--bg-2); padding: clamp(24px, 4vw, 38px); }
@media (max-width: 800px) {
  .funnelgrid, .comparetable__head, .comparetable__row { grid-template-columns: 1fr; }
  .comparetable__head { display: none; }
  .comparetable__row b, .comparetable__row span { border-right: none; }
  .comparetable__row span:last-child { border-bottom: 1px solid var(--line); }
  .freecheck__q { grid-template-columns: 1fr; align-items: stretch; }
}

/* Static crawlable route body shown before React hydrates, and to no-JS crawlers. */
.crawler-page {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(76px, 10vw, 120px) 0;
  color: var(--text);
}
.crawler-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: clamp(28px, 5vw, 52px);
}
.crawler-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 18px;
}
.crawler-page h1,
.crawler-page h2 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0;
}
.crawler-page h1 {
  font-size: clamp(44px, 8vw, 92px);
  line-height: 0.92;
  max-width: 12ch;
  margin: 0;
}
.crawler-page h2 {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 0.98;
  margin: 0 0 18px;
}
.crawler-page p,
.crawler-page li,
.crawler-page summary {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.68;
}
.crawler-hero > p:last-child {
  max-width: 70ch;
  margin-top: 24px;
}
.crawler-section {
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 5vw, 52px) 0;
}
.crawler-section ul {
  margin: 0;
  padding-left: 20px;
}
.crawler-section li + li {
  margin-top: 10px;
}
.crawler-faq details {
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: 18px 20px;
}
.crawler-faq details + details {
  margin-top: 12px;
}
.crawler-faq summary {
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}
.crawler-faq p {
  margin: 12px 0 0;
}
.crawler-page a {
  color: var(--steel-100);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 560px) {
  .crawler-page {
    width: min(100% - 28px, 980px);
    padding-top: 54px;
  }
  .crawler-faq details {
    padding: 16px;
  }
}
