/* ─── Bitfinco — /technology page styles. Page-scoped (.tech-*) layout: hero, navy
   manifesto band, founder quote, alternating build/work rows, and the closing full-bleed
   image band. Loaded after base.css + site.css so it can override shared tokens. ─── */

/* Page root: full-bleed sections manage their own spacing, so no outer padding here. */
.tech{margin:0 auto;padding:0}

/* ─── HERO — editorial intro: oversized headline + full-bleed 21:9 media ─── */
.tech-hero{
  max-width:var(--container-max);margin:0 auto;
  padding:80px var(--container-x) 0;
}
.tech-hero h1{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:300;
  font-size:clamp(44px,5.6vw,84px);letter-spacing:-.025em;line-height:1.04;
  color:var(--ink);margin:0 0 24px;max-width:980px;
}
.tech-hero h1 em{font-style:italic;color:var(--gold);font-weight:400}
.tech-hero-sub{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:300;
  font-size:clamp(17px,1.5vw,20px);line-height:1.55;
  color:var(--text-dim);max-width:640px;margin:0 0 56px;letter-spacing:-.005em;
}
.tech-hero-media{
  width:100vw;margin-left:calc(50% - 50vw);
  overflow:hidden;aspect-ratio:21/9;background:var(--bg-2);
}
.tech-hero-media img{
  width:100%;height:100%;display:block;object-fit:cover;object-position:center;
}

/* ─── NAVY MANIFESTO BAND — full-bleed dark interstitial stating the engineering thesis + CTA ─── */
.tech-band{
  width:100vw;margin-left:calc(50% - 50vw);
  background:var(--navy);color:var(--bg);
  padding:clamp(64px,9vw,128px) 0;margin-top:0;
}
.tech-band-inner{
  max-width:var(--container-max);margin:0 auto;
  padding:0 var(--container-x);
}
.tech-band h2{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:300;
  font-size:clamp(28px,3.4vw,48px);letter-spacing:-.015em;line-height:1.15;
  color:var(--bg);margin:0 0 48px;max-width:980px;
}
.tech-band h2 em{font-style:italic;color:var(--gold-hi);font-weight:400}
.tech-band .pill{
  display:inline-flex;align-items:center;gap:12px;
  padding:18px 32px;background:var(--gold);color:var(--gold-on-ink);
  font-family:'Bricolage Grotesque',sans-serif;font-size:13px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;transition:background .25s,transform .25s;
}
@media (hover:hover){
  .tech-band .pill:hover{background:var(--gold-hi);transform:translateX(4px)}
}
.tech-band .text-link{
  display:inline-flex;align-items:center;gap:10px;
  margin-top:24px;font-family:'IBM Plex Mono',monospace;
  font-size:12px;letter-spacing:.18em;text-transform:uppercase;
  color:var(--footer-text);font-weight:500;
  border-bottom:1px solid var(--footer-meta-2);padding-bottom:5px;
  transition:color .2s,border-color .2s;
}
@media (hover:hover){
  .tech-band .text-link:hover{color:var(--gold-hi);border-color:var(--gold-hi)}
}
.tech-band-cta{display:flex;flex-direction:column;align-items:flex-start;gap:8px}

/* ─── FOUNDER QUOTE — centered pull-quote with attribution ─── */
.tech-quote{
  max-width:1100px;margin:0 auto;
  padding:clamp(80px,10vw,140px) var(--container-x);
}
.tech-quote blockquote{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:300;
  font-size:clamp(22px,2.6vw,34px);letter-spacing:-.015em;line-height:1.35;
  color:var(--ink);margin:0 0 40px;max-width:920px;
  text-indent:-.5ch;
}
.tech-quote blockquote em{font-style:italic;color:var(--gold);font-weight:400}
.tech-quote-attr{
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:17px;font-weight:600;color:var(--ink);
  letter-spacing:-.005em;margin-bottom:4px;
}
.tech-quote-role{
  font-family:'IBM Plex Mono',monospace;font-size:12px;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--gold);font-weight:500;
}

/* ─── ROWS (What we build / How we work) — alternating image/copy blocks; .reverse flips the media to the right ─── */
.tech-row{
  max-width:var(--container-max);margin:0 auto;
  padding:clamp(40px,6vw,80px) var(--container-x);
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,5vw,72px);
  align-items:center;
}
.tech-row.reverse .tech-row-media{order:2}
.tech-row-media{
  aspect-ratio:4/3;overflow:hidden;background:var(--bg-2);
  border:1px solid var(--line);
}
.tech-row-media img{
  width:100%;height:100%;display:block;object-fit:cover;
}
.tech-row h2{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:400;
  font-size:clamp(30px,3.6vw,48px);letter-spacing:-.018em;line-height:1.08;
  color:var(--ink);margin:0 0 24px;
}
.tech-row h2 em{font-style:italic;color:var(--gold);font-weight:400}
.tech-row p{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:300;
  font-size:17.5px;line-height:1.7;color:var(--text);
  margin:0 0 16px;letter-spacing:-.005em;max-width:560px;
}
.tech-row p em{font-style:italic;color:var(--ink);font-weight:400}
.tech-row p:last-of-type{margin-bottom:0}

/* What-we-build disciplines: mono label rail (col 1) paired with a prose description (col 2); collapses to one column under 880px. */
.tech-disciplines{
  list-style:none;margin:28px 0 24px;padding:24px 0 0;
  border-top:1px solid var(--line);
  max-width:560px;display:flex;flex-direction:column;gap:14px;
}
.tech-disciplines li{
  margin:0;display:grid;grid-template-columns:130px 1fr;gap:20px;
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:15.5px;line-height:1.55;color:var(--text);
  align-items:baseline;
}
.tech-disciplines li > span:first-child{
  font-family:'IBM Plex Mono',monospace;font-size:11px;
  letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold);font-weight:500;
}
.tech-disciplines li > span:last-child em{color:var(--ink);font-style:italic;font-weight:400}

/* ─── CLOSING IMAGE BAND — full-bleed photo with overlaid "who thrives here" copy ─── */
.tech-close-band{
  position:relative;
  width:100vw;margin-left:calc(50% - 50vw);
  min-height:560px;overflow:hidden;background:var(--navy);
  display:flex;align-items:center;
}
/* Either a bare <img> or a <picture><img></picture> wrapper — pin to the band. */
.tech-close-band > img,
.tech-close-band > picture{
  position:absolute;inset:0;z-index:0;
  width:100%;height:100%;display:block;
}
.tech-close-band > picture img,
.tech-close-band > img{
  width:100%;height:100%;display:block;object-fit:cover;
  filter:contrast(1.05) saturate(.7);opacity:.5;
}
/* Scrim: deep on the left where the copy sits, fading out toward the right. */
.tech-close-band::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(95deg,
    rgba(15,30,58,.92) 0%,
    rgba(15,30,58,.78) 42%,
    rgba(15,30,58,.45) 75%,
    rgba(15,30,58,.5) 100%);
}
.tech-close-overlay{
  position:relative;z-index:1;
  max-width:var(--container-max);margin:0 auto;width:100%;
  padding:clamp(64px,8vw,120px) var(--container-x);
  color:var(--bg);
}
.tech-close-overlay p.lede{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:400;
  font-size:clamp(22px,2.6vw,32px);letter-spacing:-.015em;line-height:1.3;
  color:var(--bg);margin:0 0 28px;max-width:880px;
  text-shadow:0 2px 24px rgba(0,0,0,.35);
}
.tech-close-overlay p.lede em{font-style:italic;color:var(--gold-hi);font-weight:400}
.tech-close-overlay p{
  font-family:'Bricolage Grotesque',sans-serif;font-weight:300;
  font-size:16.5px;line-height:1.7;color:var(--footer-text);
  margin:0 0 16px;max-width:720px;letter-spacing:-.005em;
  text-shadow:0 1px 14px rgba(0,0,0,.4);
}
.tech-close-overlay p em{font-style:italic;color:var(--bg);font-weight:400}
.tech-close-cta{
  display:inline-flex;align-items:center;gap:12px;margin-top:24px;
  padding:16px 30px;background:var(--gold);color:var(--gold-on-ink);
  font-family:'Bricolage Grotesque',sans-serif;font-size:12.5px;font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;
  transition:background .25s,transform .25s;
}
@media (hover:hover){
  .tech-close-cta:hover{background:var(--gold-hi);transform:translateX(4px)}
}

/* Responsive — collapse to single column on tablet & below */
@media (max-width:880px){
  .tech-row{grid-template-columns:1fr;gap:32px;padding-top:48px;padding-bottom:48px}
  .tech-row.reverse .tech-row-media{order:0}
  .tech-disciplines li{grid-template-columns:1fr;gap:2px}
  .tech-close-band{min-height:0}
}
