/* ===== v2: structure borrowed from Pixeld ===== */

/* Floating nav bar over the hero */
.float-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 40; pointer-events: none; }
.float-nav .bar { pointer-events: auto; max-width: var(--wide); margin: 0 auto; width: calc(100% - 28px); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.6rem 0.7rem 0.6rem 1.3rem; background: rgba(16, 16, 16, 0.88); backdrop-filter: blur(12px); color: var(--cream); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2); position: relative; }
.float-nav .logo img { height: 30px; width: auto; filter: invert(1) brightness(1.6); }
.float-nav nav { display: flex; align-items: center; gap: 1.5rem; }
.float-nav nav a { color: var(--cream); font-weight: 600; font-size: 15px; text-decoration: none; }
.float-nav nav a:not(.btn):hover { color: var(--lime); }
.float-nav nav .btn { padding: 0.75rem 1.1rem; font-size: 15px; }
.float-nav .menu { border-color: var(--cream); color: var(--cream); }
@media (max-width: 62rem) {
  .float-nav .menu { display: inline-flex; }
  .float-nav nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 20px 1.25rem; background: var(--ink); }
  .float-nav.open nav { display: flex; }
  .float-nav nav a:not(.btn) { padding: 0.85rem 0; border-bottom: 1px solid rgba(255, 246, 236, 0.15); font-size: 18px; }
  .float-nav nav .btn { margin-top: 1rem; justify-content: center; }
}

/* Full-bleed photo hero */
.hero2 { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; background: var(--black); }
.hero2 > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 7, 7, 0.82) 0%, rgba(7, 7, 7, 0.45) 55%, rgba(7, 7, 7, 0.1) 100%), linear-gradient(0deg, rgba(7, 7, 7, 0.55), transparent 45%); }
.hero2 .wrap { position: relative; z-index: 1; width: 100%; padding-top: 8rem; padding-bottom: 5rem; }
.hero2 .chip { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 13px var(--body); padding: 0.45rem 0.8rem; background: rgba(255, 246, 236, 0.12); border: 1px solid rgba(255, 246, 236, 0.25); }
.hero2 .chip::before { content: ""; width: 8px; height: 8px; background: var(--lime); }
.hero2 h1 { color: var(--cream); font-size: clamp(2.8rem, 6.6vw, 5.8rem); max-width: 13ch; margin-top: 1.4rem; }
.hero2 h1 em { font-style: normal; color: var(--lime); }
.hero2 .lede { color: rgba(255, 246, 236, 0.82); margin-top: 1.4rem; max-width: 34rem; }
.hero2 .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

.intro { padding-block: 5rem 1rem; }
.intro p { font: 500 clamp(1.5rem, 2.8vw, 2.25rem)/1.25 var(--display); letter-spacing: -0.015em; max-width: 52rem; }
.intro p span { color: var(--muted); }

/* Starting points: problem first, service second */
.starts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.start { display: flex; flex-direction: column; padding: 2.2rem 2rem 2rem; min-height: 30rem; }
.start .label { font: 700 13px/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase; }
.start h3 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); margin-top: 1.1rem; }
.start .who { margin-top: auto; padding-top: 1.4rem; border-top: 1px solid rgba(16, 16, 16, 0.2); }
.start .who b { display: block; font: 700 12px var(--body); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-bottom: 0.5rem; }
.start .who strong { display: block; font: 600 19px/1.3 var(--display); margin-bottom: 0.4rem; }
.start .who p { font-size: 15.5px; line-height: 1.55; opacity: 0.85; }
.start .go { display: inline-block; margin-top: 1.5rem; font-weight: 700; text-decoration: none; }
.start .go::after { content: " →"; }
.start .go:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.start .sub { display: block; margin-top: 0.5rem; font-size: 15px; font-weight: 600; text-underline-offset: 0.2em; }
.start.s1 { background: #fff; color: var(--ink); }
.start.s2 { background: var(--lime); color: var(--ink); }
.start.s3 { background: var(--ink); color: var(--cream); }
.start.s3 h3 { color: var(--cream); }
.start.s3 .who { border-top-color: rgba(255, 246, 236, 0.25); }
@media (max-width: 60rem) { .starts { grid-template-columns: 1fr; } .start { min-height: 0; } .start .who { margin-top: 2rem; } }

/* Numbers band */
.numbers { background: var(--ink); color: var(--cream); }
.numbers h2 { color: var(--cream); font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.numbers h2 span { color: rgba(255, 246, 236, 0.45); }
.nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 4rem; }
.nums div { border-top: 1px solid rgba(255, 246, 236, 0.2); padding-top: 1.5rem; }
.nums strong { display: block; font: 600 clamp(3.4rem, 7vw, 6rem)/1 var(--display); letter-spacing: -0.03em; color: var(--cream); }
.nums div:first-child strong { color: var(--lime); }
.nums p { margin-top: 0.9rem; color: rgba(255, 246, 236, 0.7); max-width: 22rem; }
@media (max-width: 52rem) { .nums { grid-template-columns: 1fr; } }

/* Case studies that stack as you scroll */
.cases { display: grid; gap: 1.5rem; }
.case { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 30rem; text-decoration: none; box-shadow: 0 -10px 40px rgba(16, 16, 16, 0.12); }
.case:nth-child(2) { top: 112px; } .case:nth-child(3) { top: 128px; } .case:nth-child(4) { top: 144px; }
.case .pic { position: relative; overflow: hidden; background: var(--paper); min-height: 18rem; }
.case .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 7, 7, 0.7), transparent 45%); }
.case .pic img.film-still { transform: scale(1.5); object-position: center; }
.case .pic span { z-index: 1; position: absolute; left: 1.5rem; bottom: 1.3rem; color: #fff; font: 600 22px/1.2 var(--display); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.case .pic span small { display: block; font: 500 14px var(--body); opacity: 0.9; margin-top: 0.2rem; }
.case .txt { padding: 2.5rem; display: flex; flex-direction: column; }
.case .idx { font: 600 14px var(--body); opacity: 0.6; margin-bottom: auto; padding-bottom: 2rem; }
.case .big { font: 600 clamp(3.4rem, 6vw, 5rem)/1 var(--display); letter-spacing: -0.03em; }
.case .what { font: 600 22px/1.25 var(--display); margin-top: 0.5rem; }
.case .txt p.d { margin-top: 1rem; opacity: 0.85; }
.case .tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.case .tags span { font: 600 13px var(--body); padding: 0.35rem 0.7rem; border: 1px solid currentColor; }
.case .read { margin-top: 1.6rem; font-weight: 700; }
.case .read::after { content: " →"; }
.case:hover .read { text-decoration: underline; text-underline-offset: 0.25em; }
.case.c-ink { background: var(--ink); color: var(--cream); }
.case.c-lime { background: var(--lime); color: var(--ink); }
.case.c-paper { background: #fff; color: var(--ink); }
@media (max-width: 52rem) { .case { position: static; grid-template-columns: 1fr; min-height: 0; box-shadow: none; } .case .pic { aspect-ratio: 4 / 3; min-height: 0; } .case .txt { padding: 1.8rem; } }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.industry { padding: 1.8rem 1.6rem 1.8rem 0; border-bottom: 1px solid var(--line); }
.industry:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.industry:not(:nth-child(3n+1)) { padding-left: 1.6rem; }
.industry h3 { font-size: 24px; letter-spacing: -0.01em; }
.industry p { color: var(--muted); margin-top: 0.5rem; font-size: 15.5px; }
.industry .clients-of { margin-top: 0.9rem; font-size: 14px; font-weight: 600; color: var(--ink); }
@media (max-width: 60rem) { .industries { grid-template-columns: 1fr; } .industry { padding: 1.5rem 0 !important; border-right: 0 !important; } }

/* Let's talk */
.talk { background: var(--ink); color: var(--cream); }
.talk .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; align-items: start; }
.talk h2 { color: var(--cream); font-size: clamp(2.5rem, 5vw, 4.2rem); }
.talk h2 em { font-style: normal; color: var(--lime); }
.talk .lede { color: rgba(255, 246, 236, 0.72); margin-top: 1.4rem; }
.talk .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.talk .note { margin-top: 1rem; font-size: 14px; color: rgba(255, 246, 236, 0.55); }
.talk ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.talk li { counter-increment: s; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 246, 236, 0.18); }
.talk li::before { content: "0" counter(s); font: 600 15px var(--body); color: var(--lime); padding-top: 0.3rem; }
.talk li h3 { color: var(--cream); font-size: 24px; letter-spacing: -0.01em; }
.talk li p { color: rgba(255, 246, 236, 0.7); margin-top: 0.3rem; }
@media (max-width: 52rem) { .talk .wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Big footer */
.big-foot { background: var(--black); color: rgba(255, 246, 236, 0.65); padding: 4.5rem 0 2rem; font-size: 15px; }
.big-foot .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.big-foot h4 { font: 700 12px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); margin: 0 0 1rem; }
.big-foot a { display: block; color: rgba(255, 246, 236, 0.85); text-decoration: none; padding: 0.25rem 0; }
.big-foot a:hover { color: var(--lime); }
.big-foot .brand p { font: 600 28px/1.1 var(--display); color: var(--cream); max-width: 12ch; }
.big-foot .legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 246, 236, 0.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 13px; }
@media (max-width: 60rem) { .big-foot .cols { grid-template-columns: 1fr 1fr; } .big-foot .brand { grid-column: 1 / -1; } }

/* Sticky tools: a call button that follows you, and a bar on phones */
.sticky-cta { position: fixed; right: 20px; bottom: 20px; z-index: 35; display: flex; gap: 0.5rem; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
.sticky-cta .btn { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
@media (max-width: 40rem) {
  .sticky-cta { left: 0; right: 0; bottom: 0; gap: 0.5rem; padding: 0.6rem 0.6rem calc(0.6rem + env(safe-area-inset-bottom)); background: var(--ink); }
  .sticky-cta .btn { flex: 1; justify-content: center; box-shadow: none; padding: 0.9rem 0.5rem; font-size: 15px; }
  .site-end { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Green as an accent only (Tim: "gone a bit hard with the green") */
.btn.cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn.cream:hover { background: transparent; color: var(--cream); }
.hero2 h1 em { color: var(--cream); }
.start.s2 { background: var(--paper); }
.start.s1 { border-top: 4px solid var(--lime); }
.nums div:first-child strong { color: var(--cream); }
.strategy { background: var(--paper); }
.strategy .lede { color: var(--muted); }
.strategy ul { border-top-color: var(--ink); }
.strategy li { border-bottom-color: var(--line); }
.thumb::after { background-color: var(--cream); }
.quotes blockquote p mark { color: var(--ink); background: none; font-weight: 600; }
.work .tag, .example .tag { color: var(--muted); }
.contact h2 em { color: var(--cream); }
.work img.crop { transform: scale(1.62); object-position: center; }
.work a:hover img.crop { transform: scale(1.66); }
.sticky-cta .btn:not(.dark) { background: var(--cream); }
@media (max-width: 40rem) { .sticky-cta .btn:not(.dark) { border-color: var(--cream); } .sticky-cta .btn.dark { border-color: var(--cream); } }
