/* ============================================================
   TITAN FORGE — Page layouts (hero + page-specific blocks)
   ============================================================ */

/* ---------------- HERO (Editorial Split, dir A) ---------------- */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.06fr 0.94fr; min-height: min(78vh, 760px); }
.hero__left { padding: clamp(40px, 6vw, 76px) clamp(24px, 4vw, 60px); display: flex; flex-direction: column;
              max-width: 760px; margin-left: auto; width: 100%; }
.hero__h1 { font-family: var(--display); text-transform: uppercase; font-weight: 600;
            font-size: clamp(50px, 8vw, 92px); line-height: 0.9; letter-spacing: 0.005em; margin: clamp(20px,3vw,32px) 0 0; }
.hero__sub { color: var(--text-2); font-size: clamp(16px, 1.7vw, 18.5px); line-height: 1.6; max-width: 46ch; margin: 26px 0 0; }
.hero__cta { display: flex; gap: 14px; margin: 36px 0 0; flex-wrap: wrap; }
.hero__spacer { flex: 1; min-height: 30px; }
.hero__stats { display: flex; border-top: 1px solid var(--line); margin-top: 30px; }
.hero__stat { padding: 18px 26px 4px 0; margin-right: 26px; border-right: 1px solid var(--line); }
.hero__stat:last-child { border-right: none; }
.hero__stat b { font-family: var(--display); font-weight: 600; font-size: 30px; display: block; line-height: 1; }
.hero__stat span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.hero__right { border-left: 1px solid var(--line); position: relative; min-height: 360px; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__right { order: -1; min-height: 300px; border-left: none; border-bottom: 1px solid var(--line); }
  .hero__left { margin-left: 0; }
}
@media (max-width: 560px) {
  .hero__left { padding: 40px 24px 48px; }
  .hero__h1 { font-size: clamp(42px, 13vw, 56px); line-height: 0.92; }
  .hero__sub { font-size: 16px; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .hero__stats { display: grid; grid-template-columns: 1fr; }
  .hero__stat { margin-right: 0; padding: 16px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .hero__stat:last-child { border-bottom: none; }
}

/* ---------------- Positioning / trust band ---------------- */
.posband { display: grid; grid-template-columns: repeat(4, 1fr); }
.pos { padding: 38px 28px 38px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.pos:last-child { border-right: none; margin-right: 0; }
.pos__n { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--ember); }
.pos h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: 22px; margin: 18px 0 12px; line-height: 1.05; letter-spacing: 0.01em; }
.pos p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 880px) { .posband { grid-template-columns: 1fr 1fr; }
  .pos { border-right: none; border-top: 1px solid var(--line); padding: 28px 0; margin-right: 0; } }
@media (max-width: 520px) { .posband { grid-template-columns: 1fr; } }

/* ---------------- Founder proof split ---------------- */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.founder__media { position: relative; aspect-ratio: 4/5; }
.founder__compare { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.founder__compare-photo { min-height: 100%; }
.founder__labelrail { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); z-index: 5; }
.compare-label { display: block; position: static; font-family: var(--mono); font-size: 10.5px; line-height: 1;
  letter-spacing: 0.18em; text-transform: uppercase; text-align: center; color: #fff; background: #0e1013;
  border: 0; padding: 12px 10px; }
.compare-label--after { background: var(--ember); }
.founder__stat { position: absolute; left: -1px; bottom: 52px; background: var(--ember); color: #fff; padding: 18px 24px; z-index: 4; box-shadow: 0 14px 34px -18px rgba(0,0,0,0.9); }
.founder__stat b { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 0.85; display: block; }
.founder__stat span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.founder h2 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(32px,5vw,54px); line-height: 0.96; margin: 18px 0 0; }
.founder p { color: var(--text-2); font-size: 16.5px; line-height: 1.65; margin: 22px 0 0; max-width: 52ch; }
.founder__quote { border-left: 2px solid var(--ember); padding-left: 20px; margin-top: 26px; font-size: 18px; line-height: 1.55; color: var(--text); }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .founder__media { aspect-ratio: 3/2; } }
@media (max-width: 560px) {
  .founder__media { aspect-ratio: 0.84; }
  .founder__compare { aspect-ratio: auto; grid-template-rows: minmax(360px, 1fr) auto auto; }
  .founder__labelrail { order: 2; }
  .founder__stat { position: static; grid-column: 1 / -1; order: 3; padding: 14px 16px; max-width: none; box-shadow: none; }
  .founder__stat b { font-size: 34px; }
  .founder__stat span { font-size: 9.5px; letter-spacing: 0.09em; }
  .compare-label { padding: 12px 6px; font-size: 10px; letter-spacing: 0.14em; }
}

/* ---------------- Instagram carousel ---------------- */
.igcarousel { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.58fr);
  border: 1px solid var(--line); background: var(--bg-inset); min-height: 560px; }
.igcarousel__media { min-width: 0; border-right: 1px solid var(--line); }
.igcarousel__photo { min-height: 100%; height: 100%; }
.igcarousel__handle, .igcarousel__count { position: absolute; z-index: 4; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-100); background: rgba(14,16,19,0.68);
  border: 1px solid rgba(255,255,255,0.16); backdrop-filter: blur(6px); padding: 9px 11px; }
.igcarousel__handle { left: 18px; top: 18px; }
.igcarousel__count { right: 18px; top: 18px; }
.igcarousel__panel { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; min-width: 0; }
.igcarousel__panel h3 { font-family: var(--display); text-transform: uppercase; font-weight: 600;
  font-size: clamp(32px, 4vw, 50px); line-height: 0.94; margin: 18px 0 0; }
.igcarousel__panel p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 20px 0 0; }
.igcarousel__controls { display: flex; gap: 10px; margin-top: 30px; }
.igcarousel__controls button { width: 46px; height: 46px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--steel-100); font-size: 20px; cursor: pointer; transition: border-color .18s ease, color .18s ease, transform .18s ease; }
.igcarousel__controls button:hover { border-color: var(--ember); color: var(--ember); transform: translateY(-1px); }
.igcarousel__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin-top: auto; }
.igcarousel__thumb { position: relative; aspect-ratio: 1; border: 0; padding: 0; background: var(--bg-1); cursor: pointer; overflow: hidden; }
.igcarousel__thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.72) brightness(0.58); transition: filter .18s ease, transform .18s ease; }
.igcarousel__thumb.on::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--ember); }
.igcarousel__thumb.on img, .igcarousel__thumb:hover img { filter: saturate(0.95) brightness(0.9); transform: scale(1.03); }
@media (max-width: 900px) {
  .igcarousel { grid-template-columns: 1fr; min-height: 0; }
  .igcarousel__media { border-right: none; border-bottom: 1px solid var(--line); min-height: 520px; }
  .igcarousel__thumbs { margin-top: 34px; }
}
@media (max-width: 560px) {
  .igcarousel__media { min-height: 430px; }
  .igcarousel__panel { padding: 24px; }
  .igcarousel__controls button { width: 42px; height: 42px; }
}

.proofmedia-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line);
                   background: var(--line); margin: 0 0 34px; }
.proofmedia-card { min-height: 330px; }
@media (max-width: 980px) { .proofmedia-grid { grid-template-columns: repeat(2, 1fr); } .proofmedia-card { min-height: 360px; } }
@media (max-width: 560px) { .proofmedia-grid { grid-template-columns: 1fr; } .proofmedia-card { min-height: 430px; } }

/* ---------------- Big CTA band ---------------- */
.ctaband { position: relative; overflow: hidden; background:
  radial-gradient(120% 140% at 80% 0%, rgba(226,85,46,0.14), transparent 55%), var(--bg-inset); }
.ctaband__in { text-align: center; max-width: 780px; margin: 0 auto; position: relative; z-index: 2; }
.ctaband h2 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(40px, 7vw, 84px);
              line-height: 0.92; margin: 20px 0 0; }
.ctaband p { color: var(--text-2); font-size: 18px; line-height: 1.6; margin: 22px auto 0; max-width: 50ch; }
.ctaband__cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }

/* section intro with optional link row */
.headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.headrow .btn { flex-shrink: 0; }
